mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { EditableTextBase as EditableTextBaseDefinition, KeyboardType, ReturnKeyType, UpdateTextTrigger, AutocapitalizationType } from '.';
|
||||
import { EditableTextBase as EditableTextBaseDefinition, ReturnKeyType, UpdateTextTrigger, AutocapitalizationType } from '.';
|
||||
import { TextBase } from '../text-base';
|
||||
import { Property, CssProperty, makeValidator, makeParser } from '../core/properties';
|
||||
import { PseudoClassHandler } from '../core/view';
|
||||
import { booleanConverter } from '../core/view-base';
|
||||
import { Style } from '../styling/style';
|
||||
import { Color } from '../../color';
|
||||
import { KeyboardType } from '../enums';
|
||||
|
||||
export abstract class EditableTextBase extends TextBase implements EditableTextBaseDefinition {
|
||||
public static blurEvent = 'blur';
|
||||
|
||||
@@ -3,6 +3,7 @@ import { Color } from '../../color';
|
||||
import { FormattedString } from '../text-base/formatted-string';
|
||||
import { Style } from '../styling/style';
|
||||
import { Property, CssProperty } from '../core/properties';
|
||||
import { KeyboardType } from '../enums';
|
||||
|
||||
/**
|
||||
* Represents the base class for all editable text views.
|
||||
@@ -65,7 +66,6 @@ export class EditableTextBase extends TextBase {
|
||||
//@endprivate
|
||||
}
|
||||
|
||||
export type KeyboardType = 'datetime' | 'phone' | 'number' | 'url' | 'email' | 'integer';
|
||||
export type ReturnKeyType = 'done' | 'next' | 'go' | 'search' | 'send';
|
||||
export type UpdateTextTrigger = 'focusLost' | 'textChanged';
|
||||
export type AutocapitalizationType = 'none' | 'words' | 'sentences' | 'allcharacters';
|
||||
@@ -86,5 +86,3 @@ export const maxLengthProperty: Property<EditableTextBase, number>;
|
||||
*/
|
||||
export function _updateCharactersInRangeReplacementString(formattedText: FormattedString, rangeLocation: number, rangeLength: number, replacementString: string): void;
|
||||
//@endprivate
|
||||
|
||||
export * from '../text-base';
|
||||
|
||||
Reference in New Issue
Block a user