@rhino-design/vue 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +3 -5
- package/dist/components/XAffix.vue.d.ts +1 -1
- package/dist/components/XAnchor.vue.d.ts +2 -2
- package/dist/components/XAutoComplete.vue.d.ts +649 -15
- package/dist/components/XAvatar.vue.d.ts +2 -2
- package/dist/components/XBackTop.vue.d.ts +23 -7
- package/dist/components/XBadge.vue.d.ts +3 -3
- package/dist/components/XBaseMenu.vue.d.ts +5 -5
- package/dist/components/XBreadcrumb.vue.d.ts +24 -4
- package/dist/components/XBreadcrumbItem.vue.d.ts +14 -2
- package/dist/components/XButton.vue.d.ts +4 -4
- package/dist/components/XButtonG.vue.d.ts +2 -2
- package/dist/components/XButtonGroup.vue.d.ts +1 -1
- package/dist/components/XCalendar.vue.d.ts +5 -2
- package/dist/components/XCard.vue.d.ts +1 -1
- package/dist/components/XCarousel.vue.d.ts +2 -2
- package/dist/components/XCascader.vue.d.ts +19 -19
- package/dist/components/XCascaderPanel.vue.d.ts +6 -6
- package/dist/components/XChatInput.vue.d.ts +5 -5
- package/dist/components/XCheckbox.vue.d.ts +14 -8
- package/dist/components/XCheckboxGroup.vue.d.ts +36 -13
- package/dist/components/XCollapse.vue.d.ts +14 -7
- package/dist/components/XCollapseItem.vue.d.ts +16 -4
- package/dist/components/XColorGroup.vue.d.ts +1 -1
- package/dist/components/XConfigProvider.vue.d.ts +17 -4
- package/dist/components/XCountdown.vue.d.ts +2 -2
- package/dist/components/XCropper.vue.d.ts +2 -2
- package/dist/components/XDatePicker.vue.d.ts +17 -17
- package/dist/components/XDescriptions.vue.d.ts +4 -4
- package/dist/components/XDescriptionsItem.vue.d.ts +2 -1
- package/dist/components/{XScrollbar.vue.d.ts → XDgroup.vue.d.ts} +4 -4
- package/dist/components/XDoption.vue.d.ts +38 -0
- package/dist/components/XDrawer.vue.d.ts +7 -7
- package/dist/components/XDropdown.vue.d.ts +38 -13
- package/dist/components/XDropdownButton.vue.d.ts +65 -0
- package/dist/components/XDropdownItem.vue.d.ts +29 -0
- package/dist/components/XDropdownPanel.vue.d.ts +33 -0
- package/dist/components/XDsubmenu.vue.d.ts +48 -0
- package/dist/components/XEmpty.vue.d.ts +2 -2
- package/dist/components/XForm.vue.d.ts +2 -2
- package/dist/components/XFormItem.vue.d.ts +21 -5
- package/dist/components/XGrid.vue.d.ts +1 -1
- package/dist/components/XGridItem.vue.d.ts +3 -3
- package/dist/components/XGridLayoutItem.vue.d.ts +1 -1
- package/dist/components/XIcon.d.ts +1 -1
- package/dist/components/XIconLite.d.ts +1 -1
- package/dist/components/XImage.vue.d.ts +7 -3
- package/dist/components/XInput.vue.d.ts +5 -5
- package/dist/components/XInputComposite.vue.d.ts +12 -12
- package/dist/components/XInputNumber.vue.d.ts +9 -9
- package/dist/components/XInputPassword.vue.d.ts +24 -24
- package/dist/components/XInputSearch.vue.d.ts +26 -26
- package/dist/components/XInputTag.vue.d.ts +10 -10
- package/dist/components/XLink.vue.d.ts +1 -1
- package/dist/components/XList.vue.d.ts +8 -5
- package/dist/components/XListItem.vue.d.ts +2 -3
- package/dist/components/XMention.vue.d.ts +899 -0
- package/dist/components/XMenu.vue.d.ts +7 -7
- package/dist/components/XMenuItem.vue.d.ts +43 -43
- package/dist/components/XMessage.vue.d.ts +1 -1
- package/dist/components/XMessageList.d.ts +1 -1
- package/dist/components/XMessageService.d.ts +2 -0
- package/dist/components/XModal.vue.d.ts +8 -8
- package/dist/components/XModalService.d.ts +2 -0
- package/dist/components/XNotification.vue.d.ts +31 -20
- package/dist/components/XNotificationList.d.ts +39 -0
- package/dist/components/XNotificationService.d.ts +54 -15
- package/dist/components/XOptgroup.vue.d.ts +1 -0
- package/dist/components/XOption.vue.d.ts +1 -0
- package/dist/components/XOverflowList.vue.d.ts +38 -8
- package/dist/components/XPageHeader.vue.d.ts +11 -5
- package/dist/components/XPopconfirm.vue.d.ts +82 -77
- package/dist/components/XPopover.vue.d.ts +3 -3
- package/dist/components/XProgress.vue.d.ts +2 -2
- package/dist/components/XQRCode.vue.d.ts +3 -3
- package/dist/components/XRadio.vue.d.ts +1 -1
- package/dist/components/XRadioButton.vue.d.ts +1 -1
- package/dist/components/XRadioGroup.vue.d.ts +3 -3
- package/dist/components/XRangePicker.vue.d.ts +45 -0
- package/dist/components/XRate.vue.d.ts +3 -3
- package/dist/components/XResizeBox.vue.d.ts +41 -9
- package/dist/components/XRichTextEditor.vue.d.ts +2 -2
- package/dist/components/XScrollbarThumb.vue.d.ts +26 -0
- package/dist/components/XSelect.vue.d.ts +27 -27
- package/dist/components/XSkeleton.vue.d.ts +100 -29
- package/dist/components/XSkeletonLine.vue.d.ts +15 -0
- package/dist/components/XSkeletonShape.vue.d.ts +9 -0
- package/dist/components/XSlider.vue.d.ts +86 -86
- package/dist/components/XSpace.vue.d.ts +59 -28
- package/dist/components/XSplit.vue.d.ts +3 -3
- package/dist/components/XStatistic.vue.d.ts +5 -5
- package/dist/components/XStep.vue.d.ts +3 -3
- package/dist/components/XSteps.vue.d.ts +2 -2
- package/dist/components/XSubMenu.vue.d.ts +30 -30
- package/dist/components/XSubMenuPop.vue.d.ts +29 -29
- package/dist/components/XSwitch.vue.d.ts +5 -5
- package/dist/components/XTabPane.vue.d.ts +4 -4
- package/dist/components/XTable.vue.d.ts +5 -5
- package/dist/components/XTabs.vue.d.ts +53 -25
- package/dist/components/XTag.vue.d.ts +5 -3
- package/dist/components/XTextarea.vue.d.ts +9 -9
- package/dist/components/XTimePicker.vue.d.ts +13 -13
- package/dist/components/XTimeline.vue.d.ts +2 -2
- package/dist/components/XTimelineItem.vue.d.ts +3 -3
- package/dist/components/XTooltip.vue.d.ts +76 -76
- package/dist/components/XTree.vue.d.ts +3 -1
- package/dist/components/XTreeSelect.vue.d.ts +175 -29
- package/dist/components/XTrigger.vue.d.ts +6 -6
- package/dist/components/XTypography.vue.d.ts +4 -4
- package/dist/components/XTypographyParagraph.vue.d.ts +2 -2
- package/dist/components/XTypographyText.vue.d.ts +3 -3
- package/dist/components/XTypographyTitle.vue.d.ts +2 -2
- package/dist/components/XUpload.vue.d.ts +7 -5
- package/dist/components/XVerificationCode.vue.d.ts +3 -3
- package/dist/components/XWatermark.vue.d.ts +30 -4
- package/dist/components/__tests__/XAutoComplete.test.d.ts +1 -0
- package/dist/components/__tests__/XBackTop.test.d.ts +1 -0
- package/dist/components/__tests__/XBreadcrumb.test.d.ts +1 -0
- package/dist/components/__tests__/XCheckbox.test.d.ts +1 -0
- package/dist/components/__tests__/XCollapse.test.d.ts +1 -0
- package/dist/components/__tests__/XComplexTriggerTheme.test.d.ts +1 -0
- package/dist/components/__tests__/XDropdown.test.d.ts +1 -0
- package/dist/components/__tests__/XImage.test.d.ts +1 -0
- package/dist/components/__tests__/XOverflowList.test.d.ts +1 -0
- package/dist/components/__tests__/XOverlayServiceTheme.test.d.ts +1 -0
- package/dist/components/__tests__/XPageHeader.test.d.ts +1 -0
- package/dist/components/__tests__/XRadioGroup.test.d.ts +1 -0
- package/dist/components/__tests__/XResizeBox.test.d.ts +1 -0
- package/dist/components/__tests__/XSkeleton.test.d.ts +1 -0
- package/dist/components/__tests__/XSteps.test.d.ts +1 -0
- package/dist/components/__tests__/XTabs.test.d.ts +1 -0
- package/dist/components/__tests__/XThemeAttrAllComponentsSmoke.test.d.ts +1 -0
- package/dist/components/__tests__/XThemeAttrsForwarding.test.d.ts +1 -0
- package/dist/components/__tests__/XTour.test.d.ts +1 -0
- package/dist/components/__tests__/XTreeSelect.test.d.ts +1 -0
- package/dist/components/__tests__/XTriggerWrappersTheme.test.d.ts +1 -0
- package/dist/components/__tests__/XWatermark.test.d.ts +1 -0
- package/dist/components/index.d.ts +500 -1
- package/dist/components/x-breadcrumb-context.d.ts +9 -0
- package/dist/components/x-checkbox-context.d.ts +19 -0
- package/dist/components/x-dropdown-context.d.ts +7 -0
- package/dist/components/x-icon-shared.d.ts +1 -1
- package/dist/components/x-list-shared.d.ts +20 -8
- package/dist/composables/collapse.d.ts +8 -5
- package/dist/composables/config-provider.d.ts +29 -0
- package/dist/composables/i18n.d.ts +4 -2
- package/dist/composables/scrollbar-visibility.d.ts +1 -0
- package/dist/composables/steps.d.ts +1 -0
- package/dist/composables/tabs.d.ts +19 -8
- package/dist/composables/theme-context.d.ts +9 -0
- package/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21426 -17973
- package/dist/index.js.map +1 -1
- package/dist/locales/da-DK.d.ts +381 -0
- package/dist/locales/nl-NL.d.ts +381 -0
- package/dist/style.css +1 -1
- package/package.json +2 -1
|
@@ -1,26 +1,660 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
interface XAutoCompleteOptionData {
|
|
3
|
+
value?: string | number;
|
|
4
|
+
label?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
interface XAutoCompleteOptionGroup {
|
|
9
|
+
isGroup?: boolean;
|
|
10
|
+
label?: string;
|
|
11
|
+
options?: Array<string | number | XAutoCompleteOptionData>;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
interface XAutoCompleteVirtualListProps {
|
|
15
|
+
height?: number | string;
|
|
16
|
+
threshold?: number;
|
|
17
|
+
fixedSize?: boolean;
|
|
18
|
+
estimatedSize?: number;
|
|
19
|
+
buffer?: number;
|
|
20
|
+
}
|
|
21
|
+
type XAutoCompleteOptionLike = string | number | XAutoCompleteOptionData | XAutoCompleteOptionGroup;
|
|
22
|
+
type XAutoCompleteFilterOption = boolean | ((inputValue: string, option: XAutoCompleteOptionData) => boolean);
|
|
23
|
+
interface XAutoCompleteOptionInfo {
|
|
24
|
+
key: string;
|
|
25
|
+
index: number;
|
|
26
|
+
value: string;
|
|
27
|
+
label: string;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
groupLabel?: string;
|
|
30
|
+
raw: XAutoCompleteOptionData;
|
|
31
|
+
}
|
|
1
32
|
type __VLS_Props = {
|
|
2
33
|
modelValue?: string;
|
|
3
|
-
|
|
4
|
-
label: string;
|
|
5
|
-
value: string;
|
|
6
|
-
}>;
|
|
7
|
-
placeholder?: string;
|
|
34
|
+
defaultValue?: string;
|
|
8
35
|
disabled?: boolean;
|
|
36
|
+
data?: XAutoCompleteOptionLike[];
|
|
37
|
+
popupContainer?: string | HTMLElement | null;
|
|
38
|
+
strict?: boolean;
|
|
39
|
+
filterOption?: XAutoCompleteFilterOption;
|
|
40
|
+
triggerProps?: Record<string, any>;
|
|
41
|
+
allowClear?: boolean;
|
|
42
|
+
virtualListProps?: XAutoCompleteVirtualListProps;
|
|
9
43
|
};
|
|
10
|
-
declare
|
|
11
|
-
|
|
44
|
+
declare function focus(): void;
|
|
45
|
+
declare function blur(): void;
|
|
46
|
+
declare function __VLS_template(): {
|
|
47
|
+
attrs: Partial<{}>;
|
|
48
|
+
slots: {
|
|
49
|
+
prepend?(_: {}): any;
|
|
50
|
+
prefix?(_: {}): any;
|
|
51
|
+
suffix?(_: {}): any;
|
|
52
|
+
append?(_: {}): any;
|
|
53
|
+
'clear-icon'?(_: {}): any;
|
|
54
|
+
option?(_: {
|
|
55
|
+
data: XAutoCompleteOptionInfo;
|
|
56
|
+
}): any;
|
|
57
|
+
option?(_: {
|
|
58
|
+
data: XAutoCompleteOptionInfo;
|
|
59
|
+
}): any;
|
|
60
|
+
footer?(_: {}): any;
|
|
61
|
+
};
|
|
62
|
+
refs: {
|
|
63
|
+
inputRef: ({
|
|
64
|
+
$: import('vue').ComponentInternalInstance;
|
|
65
|
+
$data: {};
|
|
66
|
+
$props: {
|
|
67
|
+
readonly modelValue?: string | number | undefined;
|
|
68
|
+
readonly defaultValue?: string | number | undefined;
|
|
69
|
+
readonly placeholder?: string | undefined;
|
|
70
|
+
readonly size?: import('..').XSize | undefined;
|
|
71
|
+
readonly disabled?: boolean | undefined;
|
|
72
|
+
readonly clearable?: boolean | undefined;
|
|
73
|
+
readonly allowClear?: boolean | undefined;
|
|
74
|
+
readonly error?: boolean | undefined;
|
|
75
|
+
readonly status?: ("error" | "success" | "warning") | undefined;
|
|
76
|
+
readonly maxLength?: number | {
|
|
77
|
+
length: number;
|
|
78
|
+
errorOnly?: boolean;
|
|
79
|
+
} | undefined;
|
|
80
|
+
readonly type?: string | undefined;
|
|
81
|
+
readonly readonly?: boolean | undefined;
|
|
82
|
+
readonly showWordLimit?: boolean | undefined;
|
|
83
|
+
readonly wordLength?: ((value: string) => number) | undefined;
|
|
84
|
+
readonly wordSlice?: ((value: string, maxLength: number) => string) | undefined;
|
|
85
|
+
readonly prepend?: string | undefined;
|
|
86
|
+
readonly append?: string | undefined;
|
|
87
|
+
readonly listData?: {
|
|
88
|
+
[x: string]: unknown;
|
|
89
|
+
}[] | undefined;
|
|
90
|
+
readonly keyworld?: (string | string[]) | undefined;
|
|
91
|
+
readonly rowKey?: string | undefined;
|
|
92
|
+
readonly btnValue?: string | undefined;
|
|
93
|
+
readonly isClera?: boolean | undefined;
|
|
94
|
+
readonly speechRecognition?: boolean | undefined;
|
|
95
|
+
readonly speechRecognitionLang?: string | undefined;
|
|
96
|
+
readonly speechRecognitionContinuous?: boolean | undefined;
|
|
97
|
+
readonly speechRecognitionInterimResults?: boolean | undefined;
|
|
98
|
+
readonly onInput?: ((value: string, event: Event) => any) | undefined;
|
|
99
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
100
|
+
readonly onChange?: ((value: string, event: Event) => any) | undefined;
|
|
101
|
+
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
102
|
+
readonly onClear?: ((event: MouseEvent) => any) | undefined;
|
|
103
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
104
|
+
readonly onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
105
|
+
readonly onCaptureItem?: ((item: {
|
|
106
|
+
[x: string]: unknown;
|
|
107
|
+
}) => any) | undefined;
|
|
108
|
+
readonly onSentWord?: ((word: string) => any) | undefined;
|
|
109
|
+
readonly onClickUseAppend?: (() => any) | undefined;
|
|
110
|
+
readonly onChangename?: ((name: string) => any) | undefined;
|
|
111
|
+
readonly onSpeechStart?: (() => any) | undefined;
|
|
112
|
+
readonly onSpeechEnd?: ((result: string, value: string) => any) | undefined;
|
|
113
|
+
readonly onSpeechResult?: ((result: string, value: string) => any) | undefined;
|
|
114
|
+
readonly onSpeechError?: ((message: string, code?: string | undefined) => any) | undefined;
|
|
115
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
116
|
+
$attrs: import('vue').Attrs;
|
|
117
|
+
$refs: {
|
|
118
|
+
[x: string]: unknown;
|
|
119
|
+
} & {
|
|
120
|
+
rootRef: HTMLDivElement;
|
|
121
|
+
inputRef: HTMLInputElement;
|
|
122
|
+
};
|
|
123
|
+
$slots: Readonly<{
|
|
124
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
125
|
+
}>;
|
|
126
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
127
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
128
|
+
$host: Element | null;
|
|
129
|
+
$emit: ((event: "input", value: string, event: Event) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "change", value: string, event: Event) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "clear", event: MouseEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", event: KeyboardEvent) => void) & ((event: "captureItem", item: {
|
|
130
|
+
[x: string]: unknown;
|
|
131
|
+
}) => void) & ((event: "sentWord", word: string) => void) & ((event: "clickUseAppend") => void) & ((event: "changename", name: string) => void) & ((event: "speechStart") => void) & ((event: "speechEnd", result: string, value: string) => void) & ((event: "speechResult", result: string, value: string) => void) & ((event: "speechError", message: string, code?: string | undefined) => void);
|
|
132
|
+
$el: HTMLDivElement;
|
|
133
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
134
|
+
modelValue?: string | number;
|
|
135
|
+
defaultValue?: string | number;
|
|
136
|
+
placeholder?: string;
|
|
137
|
+
size?: import('..').XSize;
|
|
138
|
+
disabled?: boolean;
|
|
139
|
+
clearable?: boolean;
|
|
140
|
+
allowClear?: boolean;
|
|
141
|
+
error?: boolean;
|
|
142
|
+
status?: "error" | "success" | "warning";
|
|
143
|
+
maxLength?: number | {
|
|
144
|
+
length: number;
|
|
145
|
+
errorOnly?: boolean;
|
|
146
|
+
};
|
|
147
|
+
type?: string;
|
|
148
|
+
readonly?: boolean;
|
|
149
|
+
showWordLimit?: boolean;
|
|
150
|
+
wordLength?: (value: string) => number;
|
|
151
|
+
wordSlice?: (value: string, maxLength: number) => string;
|
|
152
|
+
prepend?: string;
|
|
153
|
+
append?: string;
|
|
154
|
+
listData?: {
|
|
155
|
+
[x: string]: unknown;
|
|
156
|
+
}[];
|
|
157
|
+
keyworld?: string | string[];
|
|
158
|
+
rowKey?: string;
|
|
159
|
+
btnValue?: string;
|
|
160
|
+
isClera?: boolean;
|
|
161
|
+
speechRecognition?: boolean;
|
|
162
|
+
speechRecognitionLang?: string;
|
|
163
|
+
speechRecognitionContinuous?: boolean;
|
|
164
|
+
speechRecognitionInterimResults?: boolean;
|
|
165
|
+
}> & Readonly<{
|
|
166
|
+
onInput?: ((value: string, event: Event) => any) | undefined;
|
|
167
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
168
|
+
onChange?: ((value: string, event: Event) => any) | undefined;
|
|
169
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
170
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
171
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
172
|
+
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
173
|
+
onCaptureItem?: ((item: {
|
|
174
|
+
[x: string]: unknown;
|
|
175
|
+
}) => any) | undefined;
|
|
176
|
+
onSentWord?: ((word: string) => any) | undefined;
|
|
177
|
+
onClickUseAppend?: (() => any) | undefined;
|
|
178
|
+
onChangename?: ((name: string) => any) | undefined;
|
|
179
|
+
onSpeechStart?: (() => any) | undefined;
|
|
180
|
+
onSpeechEnd?: ((result: string, value: string) => any) | undefined;
|
|
181
|
+
onSpeechResult?: ((result: string, value: string) => any) | undefined;
|
|
182
|
+
onSpeechError?: ((message: string, code?: string | undefined) => any) | undefined;
|
|
183
|
+
}>, {
|
|
184
|
+
focus: () => void;
|
|
185
|
+
blur: () => void;
|
|
186
|
+
select: () => void;
|
|
187
|
+
openCompositeTrigger: () => void;
|
|
188
|
+
closeCompositeTrigger: () => void;
|
|
189
|
+
toggleCompositeTrigger: () => void;
|
|
190
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
191
|
+
input: (value: string, event: Event) => any;
|
|
192
|
+
blur: (event: FocusEvent) => any;
|
|
193
|
+
change: (value: string, event: Event) => any;
|
|
194
|
+
focus: (event: FocusEvent) => any;
|
|
195
|
+
clear: (event: MouseEvent) => any;
|
|
196
|
+
"update:modelValue": (value: string) => any;
|
|
197
|
+
pressEnter: (event: KeyboardEvent) => any;
|
|
198
|
+
captureItem: (item: {
|
|
199
|
+
[x: string]: unknown;
|
|
200
|
+
}) => any;
|
|
201
|
+
sentWord: (word: string) => any;
|
|
202
|
+
clickUseAppend: () => any;
|
|
203
|
+
changename: (name: string) => any;
|
|
204
|
+
speechStart: () => any;
|
|
205
|
+
speechEnd: (result: string, value: string) => any;
|
|
206
|
+
speechResult: (result: string, value: string) => any;
|
|
207
|
+
speechError: (message: string, code?: string | undefined) => any;
|
|
208
|
+
}, string, {
|
|
209
|
+
error: boolean;
|
|
210
|
+
type: string;
|
|
211
|
+
status: "error" | "success" | "warning";
|
|
212
|
+
defaultValue: string | number;
|
|
213
|
+
clearable: boolean;
|
|
214
|
+
allowClear: boolean;
|
|
215
|
+
readonly: boolean;
|
|
216
|
+
showWordLimit: boolean;
|
|
217
|
+
prepend: string;
|
|
218
|
+
append: string;
|
|
219
|
+
listData: {
|
|
220
|
+
[x: string]: unknown;
|
|
221
|
+
}[];
|
|
222
|
+
keyworld: string | string[];
|
|
223
|
+
rowKey: string;
|
|
224
|
+
btnValue: string;
|
|
225
|
+
isClera: boolean;
|
|
226
|
+
speechRecognition: boolean;
|
|
227
|
+
speechRecognitionLang: string;
|
|
228
|
+
speechRecognitionContinuous: boolean;
|
|
229
|
+
speechRecognitionInterimResults: boolean;
|
|
230
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
231
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
232
|
+
created?: (() => void) | (() => void)[];
|
|
233
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
234
|
+
mounted?: (() => void) | (() => void)[];
|
|
235
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
236
|
+
updated?: (() => void) | (() => void)[];
|
|
237
|
+
activated?: (() => void) | (() => void)[];
|
|
238
|
+
deactivated?: (() => void) | (() => void)[];
|
|
239
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
240
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
241
|
+
destroyed?: (() => void) | (() => void)[];
|
|
242
|
+
unmounted?: (() => void) | (() => void)[];
|
|
243
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
244
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
245
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
246
|
+
};
|
|
247
|
+
$forceUpdate: () => void;
|
|
248
|
+
$nextTick: typeof nextTick;
|
|
249
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
250
|
+
} & Readonly<{
|
|
251
|
+
error: boolean;
|
|
252
|
+
type: string;
|
|
253
|
+
status: "error" | "success" | "warning";
|
|
254
|
+
defaultValue: string | number;
|
|
255
|
+
clearable: boolean;
|
|
256
|
+
allowClear: boolean;
|
|
257
|
+
readonly: boolean;
|
|
258
|
+
showWordLimit: boolean;
|
|
259
|
+
prepend: string;
|
|
260
|
+
append: string;
|
|
261
|
+
listData: {
|
|
262
|
+
[x: string]: unknown;
|
|
263
|
+
}[];
|
|
264
|
+
keyworld: string | string[];
|
|
265
|
+
rowKey: string;
|
|
266
|
+
btnValue: string;
|
|
267
|
+
isClera: boolean;
|
|
268
|
+
speechRecognition: boolean;
|
|
269
|
+
speechRecognitionLang: string;
|
|
270
|
+
speechRecognitionContinuous: boolean;
|
|
271
|
+
speechRecognitionInterimResults: boolean;
|
|
272
|
+
}> & Omit<Readonly<{
|
|
273
|
+
modelValue?: string | number;
|
|
274
|
+
defaultValue?: string | number;
|
|
275
|
+
placeholder?: string;
|
|
276
|
+
size?: import('..').XSize;
|
|
277
|
+
disabled?: boolean;
|
|
278
|
+
clearable?: boolean;
|
|
279
|
+
allowClear?: boolean;
|
|
280
|
+
error?: boolean;
|
|
281
|
+
status?: "error" | "success" | "warning";
|
|
282
|
+
maxLength?: number | {
|
|
283
|
+
length: number;
|
|
284
|
+
errorOnly?: boolean;
|
|
285
|
+
};
|
|
286
|
+
type?: string;
|
|
287
|
+
readonly?: boolean;
|
|
288
|
+
showWordLimit?: boolean;
|
|
289
|
+
wordLength?: (value: string) => number;
|
|
290
|
+
wordSlice?: (value: string, maxLength: number) => string;
|
|
291
|
+
prepend?: string;
|
|
292
|
+
append?: string;
|
|
293
|
+
listData?: {
|
|
294
|
+
[x: string]: unknown;
|
|
295
|
+
}[];
|
|
296
|
+
keyworld?: string | string[];
|
|
297
|
+
rowKey?: string;
|
|
298
|
+
btnValue?: string;
|
|
299
|
+
isClera?: boolean;
|
|
300
|
+
speechRecognition?: boolean;
|
|
301
|
+
speechRecognitionLang?: string;
|
|
302
|
+
speechRecognitionContinuous?: boolean;
|
|
303
|
+
speechRecognitionInterimResults?: boolean;
|
|
304
|
+
}> & Readonly<{
|
|
305
|
+
onInput?: ((value: string, event: Event) => any) | undefined;
|
|
306
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
307
|
+
onChange?: ((value: string, event: Event) => any) | undefined;
|
|
308
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
309
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
310
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
311
|
+
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
312
|
+
onCaptureItem?: ((item: {
|
|
313
|
+
[x: string]: unknown;
|
|
314
|
+
}) => any) | undefined;
|
|
315
|
+
onSentWord?: ((word: string) => any) | undefined;
|
|
316
|
+
onClickUseAppend?: (() => any) | undefined;
|
|
317
|
+
onChangename?: ((name: string) => any) | undefined;
|
|
318
|
+
onSpeechStart?: (() => any) | undefined;
|
|
319
|
+
onSpeechEnd?: ((result: string, value: string) => any) | undefined;
|
|
320
|
+
onSpeechResult?: ((result: string, value: string) => any) | undefined;
|
|
321
|
+
onSpeechError?: ((message: string, code?: string | undefined) => any) | undefined;
|
|
322
|
+
}>, "select" | "blur" | "focus" | "openCompositeTrigger" | "closeCompositeTrigger" | "toggleCompositeTrigger" | ("error" | "type" | "status" | "defaultValue" | "clearable" | "allowClear" | "readonly" | "showWordLimit" | "prepend" | "append" | "listData" | "keyworld" | "rowKey" | "btnValue" | "isClera" | "speechRecognition" | "speechRecognitionLang" | "speechRecognitionContinuous" | "speechRecognitionInterimResults")> & import('vue').ShallowUnwrapRef<{
|
|
323
|
+
focus: () => void;
|
|
324
|
+
blur: () => void;
|
|
325
|
+
select: () => void;
|
|
326
|
+
openCompositeTrigger: () => void;
|
|
327
|
+
closeCompositeTrigger: () => void;
|
|
328
|
+
toggleCompositeTrigger: () => void;
|
|
329
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
330
|
+
$slots: {
|
|
331
|
+
prepend?(_: {}): any;
|
|
332
|
+
prefix?(_: {}): any;
|
|
333
|
+
'clear-icon'?(_: {}): any;
|
|
334
|
+
suffix?(_: {}): any;
|
|
335
|
+
append?(_: {}): any;
|
|
336
|
+
};
|
|
337
|
+
}) | null;
|
|
338
|
+
dropdownRef: HTMLDivElement;
|
|
339
|
+
};
|
|
340
|
+
rootEl: any;
|
|
341
|
+
};
|
|
342
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
343
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
344
|
+
focus: typeof focus;
|
|
345
|
+
blur: typeof blur;
|
|
346
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
347
|
+
search: (value: string) => any;
|
|
12
348
|
select: (value: string) => any;
|
|
349
|
+
change: (value: string) => any;
|
|
350
|
+
clear: (ev: Event) => any;
|
|
13
351
|
"update:modelValue": (value: string) => any;
|
|
352
|
+
dropdownScroll: (ev: Event) => any;
|
|
353
|
+
"dropdown-scroll": (ev: Event) => any;
|
|
354
|
+
dropdownReachBottom: (ev: Event) => any;
|
|
355
|
+
"dropdown-reach-bottom": (ev: Event) => any;
|
|
14
356
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
|
|
357
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
16
358
|
onSelect?: ((value: string) => any) | undefined;
|
|
359
|
+
onChange?: ((value: string) => any) | undefined;
|
|
360
|
+
onClear?: ((ev: Event) => any) | undefined;
|
|
17
361
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
362
|
+
onDropdownScroll?: ((ev: Event) => any) | undefined;
|
|
363
|
+
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
|
364
|
+
onDropdownReachBottom?: ((ev: Event) => any) | undefined;
|
|
365
|
+
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
|
18
366
|
}>, {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
367
|
+
data: XAutoCompleteOptionLike[];
|
|
368
|
+
disabled: boolean;
|
|
369
|
+
strict: boolean;
|
|
370
|
+
popupContainer: string | HTMLElement | null;
|
|
371
|
+
defaultValue: string;
|
|
372
|
+
allowClear: boolean;
|
|
373
|
+
filterOption: XAutoCompleteFilterOption;
|
|
374
|
+
triggerProps: Record<string, any>;
|
|
375
|
+
virtualListProps: XAutoCompleteVirtualListProps;
|
|
376
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
377
|
+
inputRef: ({
|
|
378
|
+
$: import('vue').ComponentInternalInstance;
|
|
379
|
+
$data: {};
|
|
380
|
+
$props: {
|
|
381
|
+
readonly modelValue?: string | number | undefined;
|
|
382
|
+
readonly defaultValue?: string | number | undefined;
|
|
383
|
+
readonly placeholder?: string | undefined;
|
|
384
|
+
readonly size?: import('..').XSize | undefined;
|
|
385
|
+
readonly disabled?: boolean | undefined;
|
|
386
|
+
readonly clearable?: boolean | undefined;
|
|
387
|
+
readonly allowClear?: boolean | undefined;
|
|
388
|
+
readonly error?: boolean | undefined;
|
|
389
|
+
readonly status?: ("error" | "success" | "warning") | undefined;
|
|
390
|
+
readonly maxLength?: number | {
|
|
391
|
+
length: number;
|
|
392
|
+
errorOnly?: boolean;
|
|
393
|
+
} | undefined;
|
|
394
|
+
readonly type?: string | undefined;
|
|
395
|
+
readonly readonly?: boolean | undefined;
|
|
396
|
+
readonly showWordLimit?: boolean | undefined;
|
|
397
|
+
readonly wordLength?: ((value: string) => number) | undefined;
|
|
398
|
+
readonly wordSlice?: ((value: string, maxLength: number) => string) | undefined;
|
|
399
|
+
readonly prepend?: string | undefined;
|
|
400
|
+
readonly append?: string | undefined;
|
|
401
|
+
readonly listData?: {
|
|
402
|
+
[x: string]: unknown;
|
|
403
|
+
}[] | undefined;
|
|
404
|
+
readonly keyworld?: (string | string[]) | undefined;
|
|
405
|
+
readonly rowKey?: string | undefined;
|
|
406
|
+
readonly btnValue?: string | undefined;
|
|
407
|
+
readonly isClera?: boolean | undefined;
|
|
408
|
+
readonly speechRecognition?: boolean | undefined;
|
|
409
|
+
readonly speechRecognitionLang?: string | undefined;
|
|
410
|
+
readonly speechRecognitionContinuous?: boolean | undefined;
|
|
411
|
+
readonly speechRecognitionInterimResults?: boolean | undefined;
|
|
412
|
+
readonly onInput?: ((value: string, event: Event) => any) | undefined;
|
|
413
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
414
|
+
readonly onChange?: ((value: string, event: Event) => any) | undefined;
|
|
415
|
+
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
416
|
+
readonly onClear?: ((event: MouseEvent) => any) | undefined;
|
|
417
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
418
|
+
readonly onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
419
|
+
readonly onCaptureItem?: ((item: {
|
|
420
|
+
[x: string]: unknown;
|
|
421
|
+
}) => any) | undefined;
|
|
422
|
+
readonly onSentWord?: ((word: string) => any) | undefined;
|
|
423
|
+
readonly onClickUseAppend?: (() => any) | undefined;
|
|
424
|
+
readonly onChangename?: ((name: string) => any) | undefined;
|
|
425
|
+
readonly onSpeechStart?: (() => any) | undefined;
|
|
426
|
+
readonly onSpeechEnd?: ((result: string, value: string) => any) | undefined;
|
|
427
|
+
readonly onSpeechResult?: ((result: string, value: string) => any) | undefined;
|
|
428
|
+
readonly onSpeechError?: ((message: string, code?: string | undefined) => any) | undefined;
|
|
429
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
430
|
+
$attrs: import('vue').Attrs;
|
|
431
|
+
$refs: {
|
|
432
|
+
[x: string]: unknown;
|
|
433
|
+
} & {
|
|
434
|
+
rootRef: HTMLDivElement;
|
|
435
|
+
inputRef: HTMLInputElement;
|
|
436
|
+
};
|
|
437
|
+
$slots: Readonly<{
|
|
438
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
439
|
+
}>;
|
|
440
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
441
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
442
|
+
$host: Element | null;
|
|
443
|
+
$emit: ((event: "input", value: string, event: Event) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "change", value: string, event: Event) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "clear", event: MouseEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", event: KeyboardEvent) => void) & ((event: "captureItem", item: {
|
|
444
|
+
[x: string]: unknown;
|
|
445
|
+
}) => void) & ((event: "sentWord", word: string) => void) & ((event: "clickUseAppend") => void) & ((event: "changename", name: string) => void) & ((event: "speechStart") => void) & ((event: "speechEnd", result: string, value: string) => void) & ((event: "speechResult", result: string, value: string) => void) & ((event: "speechError", message: string, code?: string | undefined) => void);
|
|
446
|
+
$el: HTMLDivElement;
|
|
447
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
448
|
+
modelValue?: string | number;
|
|
449
|
+
defaultValue?: string | number;
|
|
450
|
+
placeholder?: string;
|
|
451
|
+
size?: import('..').XSize;
|
|
452
|
+
disabled?: boolean;
|
|
453
|
+
clearable?: boolean;
|
|
454
|
+
allowClear?: boolean;
|
|
455
|
+
error?: boolean;
|
|
456
|
+
status?: "error" | "success" | "warning";
|
|
457
|
+
maxLength?: number | {
|
|
458
|
+
length: number;
|
|
459
|
+
errorOnly?: boolean;
|
|
460
|
+
};
|
|
461
|
+
type?: string;
|
|
462
|
+
readonly?: boolean;
|
|
463
|
+
showWordLimit?: boolean;
|
|
464
|
+
wordLength?: (value: string) => number;
|
|
465
|
+
wordSlice?: (value: string, maxLength: number) => string;
|
|
466
|
+
prepend?: string;
|
|
467
|
+
append?: string;
|
|
468
|
+
listData?: {
|
|
469
|
+
[x: string]: unknown;
|
|
470
|
+
}[];
|
|
471
|
+
keyworld?: string | string[];
|
|
472
|
+
rowKey?: string;
|
|
473
|
+
btnValue?: string;
|
|
474
|
+
isClera?: boolean;
|
|
475
|
+
speechRecognition?: boolean;
|
|
476
|
+
speechRecognitionLang?: string;
|
|
477
|
+
speechRecognitionContinuous?: boolean;
|
|
478
|
+
speechRecognitionInterimResults?: boolean;
|
|
479
|
+
}> & Readonly<{
|
|
480
|
+
onInput?: ((value: string, event: Event) => any) | undefined;
|
|
481
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
482
|
+
onChange?: ((value: string, event: Event) => any) | undefined;
|
|
483
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
484
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
485
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
486
|
+
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
487
|
+
onCaptureItem?: ((item: {
|
|
488
|
+
[x: string]: unknown;
|
|
489
|
+
}) => any) | undefined;
|
|
490
|
+
onSentWord?: ((word: string) => any) | undefined;
|
|
491
|
+
onClickUseAppend?: (() => any) | undefined;
|
|
492
|
+
onChangename?: ((name: string) => any) | undefined;
|
|
493
|
+
onSpeechStart?: (() => any) | undefined;
|
|
494
|
+
onSpeechEnd?: ((result: string, value: string) => any) | undefined;
|
|
495
|
+
onSpeechResult?: ((result: string, value: string) => any) | undefined;
|
|
496
|
+
onSpeechError?: ((message: string, code?: string | undefined) => any) | undefined;
|
|
497
|
+
}>, {
|
|
498
|
+
focus: () => void;
|
|
499
|
+
blur: () => void;
|
|
500
|
+
select: () => void;
|
|
501
|
+
openCompositeTrigger: () => void;
|
|
502
|
+
closeCompositeTrigger: () => void;
|
|
503
|
+
toggleCompositeTrigger: () => void;
|
|
504
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
505
|
+
input: (value: string, event: Event) => any;
|
|
506
|
+
blur: (event: FocusEvent) => any;
|
|
507
|
+
change: (value: string, event: Event) => any;
|
|
508
|
+
focus: (event: FocusEvent) => any;
|
|
509
|
+
clear: (event: MouseEvent) => any;
|
|
510
|
+
"update:modelValue": (value: string) => any;
|
|
511
|
+
pressEnter: (event: KeyboardEvent) => any;
|
|
512
|
+
captureItem: (item: {
|
|
513
|
+
[x: string]: unknown;
|
|
514
|
+
}) => any;
|
|
515
|
+
sentWord: (word: string) => any;
|
|
516
|
+
clickUseAppend: () => any;
|
|
517
|
+
changename: (name: string) => any;
|
|
518
|
+
speechStart: () => any;
|
|
519
|
+
speechEnd: (result: string, value: string) => any;
|
|
520
|
+
speechResult: (result: string, value: string) => any;
|
|
521
|
+
speechError: (message: string, code?: string | undefined) => any;
|
|
522
|
+
}, string, {
|
|
523
|
+
error: boolean;
|
|
524
|
+
type: string;
|
|
525
|
+
status: "error" | "success" | "warning";
|
|
526
|
+
defaultValue: string | number;
|
|
527
|
+
clearable: boolean;
|
|
528
|
+
allowClear: boolean;
|
|
529
|
+
readonly: boolean;
|
|
530
|
+
showWordLimit: boolean;
|
|
531
|
+
prepend: string;
|
|
532
|
+
append: string;
|
|
533
|
+
listData: {
|
|
534
|
+
[x: string]: unknown;
|
|
535
|
+
}[];
|
|
536
|
+
keyworld: string | string[];
|
|
537
|
+
rowKey: string;
|
|
538
|
+
btnValue: string;
|
|
539
|
+
isClera: boolean;
|
|
540
|
+
speechRecognition: boolean;
|
|
541
|
+
speechRecognitionLang: string;
|
|
542
|
+
speechRecognitionContinuous: boolean;
|
|
543
|
+
speechRecognitionInterimResults: boolean;
|
|
544
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
545
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
546
|
+
created?: (() => void) | (() => void)[];
|
|
547
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
548
|
+
mounted?: (() => void) | (() => void)[];
|
|
549
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
550
|
+
updated?: (() => void) | (() => void)[];
|
|
551
|
+
activated?: (() => void) | (() => void)[];
|
|
552
|
+
deactivated?: (() => void) | (() => void)[];
|
|
553
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
554
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
555
|
+
destroyed?: (() => void) | (() => void)[];
|
|
556
|
+
unmounted?: (() => void) | (() => void)[];
|
|
557
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
558
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
559
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
560
|
+
};
|
|
561
|
+
$forceUpdate: () => void;
|
|
562
|
+
$nextTick: typeof nextTick;
|
|
563
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
564
|
+
} & Readonly<{
|
|
565
|
+
error: boolean;
|
|
566
|
+
type: string;
|
|
567
|
+
status: "error" | "success" | "warning";
|
|
568
|
+
defaultValue: string | number;
|
|
569
|
+
clearable: boolean;
|
|
570
|
+
allowClear: boolean;
|
|
571
|
+
readonly: boolean;
|
|
572
|
+
showWordLimit: boolean;
|
|
573
|
+
prepend: string;
|
|
574
|
+
append: string;
|
|
575
|
+
listData: {
|
|
576
|
+
[x: string]: unknown;
|
|
577
|
+
}[];
|
|
578
|
+
keyworld: string | string[];
|
|
579
|
+
rowKey: string;
|
|
580
|
+
btnValue: string;
|
|
581
|
+
isClera: boolean;
|
|
582
|
+
speechRecognition: boolean;
|
|
583
|
+
speechRecognitionLang: string;
|
|
584
|
+
speechRecognitionContinuous: boolean;
|
|
585
|
+
speechRecognitionInterimResults: boolean;
|
|
586
|
+
}> & Omit<Readonly<{
|
|
587
|
+
modelValue?: string | number;
|
|
588
|
+
defaultValue?: string | number;
|
|
589
|
+
placeholder?: string;
|
|
590
|
+
size?: import('..').XSize;
|
|
591
|
+
disabled?: boolean;
|
|
592
|
+
clearable?: boolean;
|
|
593
|
+
allowClear?: boolean;
|
|
594
|
+
error?: boolean;
|
|
595
|
+
status?: "error" | "success" | "warning";
|
|
596
|
+
maxLength?: number | {
|
|
597
|
+
length: number;
|
|
598
|
+
errorOnly?: boolean;
|
|
599
|
+
};
|
|
600
|
+
type?: string;
|
|
601
|
+
readonly?: boolean;
|
|
602
|
+
showWordLimit?: boolean;
|
|
603
|
+
wordLength?: (value: string) => number;
|
|
604
|
+
wordSlice?: (value: string, maxLength: number) => string;
|
|
605
|
+
prepend?: string;
|
|
606
|
+
append?: string;
|
|
607
|
+
listData?: {
|
|
608
|
+
[x: string]: unknown;
|
|
609
|
+
}[];
|
|
610
|
+
keyworld?: string | string[];
|
|
611
|
+
rowKey?: string;
|
|
612
|
+
btnValue?: string;
|
|
613
|
+
isClera?: boolean;
|
|
614
|
+
speechRecognition?: boolean;
|
|
615
|
+
speechRecognitionLang?: string;
|
|
616
|
+
speechRecognitionContinuous?: boolean;
|
|
617
|
+
speechRecognitionInterimResults?: boolean;
|
|
618
|
+
}> & Readonly<{
|
|
619
|
+
onInput?: ((value: string, event: Event) => any) | undefined;
|
|
620
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
621
|
+
onChange?: ((value: string, event: Event) => any) | undefined;
|
|
622
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
623
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
624
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
625
|
+
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
626
|
+
onCaptureItem?: ((item: {
|
|
627
|
+
[x: string]: unknown;
|
|
628
|
+
}) => any) | undefined;
|
|
629
|
+
onSentWord?: ((word: string) => any) | undefined;
|
|
630
|
+
onClickUseAppend?: (() => any) | undefined;
|
|
631
|
+
onChangename?: ((name: string) => any) | undefined;
|
|
632
|
+
onSpeechStart?: (() => any) | undefined;
|
|
633
|
+
onSpeechEnd?: ((result: string, value: string) => any) | undefined;
|
|
634
|
+
onSpeechResult?: ((result: string, value: string) => any) | undefined;
|
|
635
|
+
onSpeechError?: ((message: string, code?: string | undefined) => any) | undefined;
|
|
636
|
+
}>, "select" | "blur" | "focus" | "openCompositeTrigger" | "closeCompositeTrigger" | "toggleCompositeTrigger" | ("error" | "type" | "status" | "defaultValue" | "clearable" | "allowClear" | "readonly" | "showWordLimit" | "prepend" | "append" | "listData" | "keyworld" | "rowKey" | "btnValue" | "isClera" | "speechRecognition" | "speechRecognitionLang" | "speechRecognitionContinuous" | "speechRecognitionInterimResults")> & import('vue').ShallowUnwrapRef<{
|
|
637
|
+
focus: () => void;
|
|
638
|
+
blur: () => void;
|
|
639
|
+
select: () => void;
|
|
640
|
+
openCompositeTrigger: () => void;
|
|
641
|
+
closeCompositeTrigger: () => void;
|
|
642
|
+
toggleCompositeTrigger: () => void;
|
|
643
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
644
|
+
$slots: {
|
|
645
|
+
prepend?(_: {}): any;
|
|
646
|
+
prefix?(_: {}): any;
|
|
647
|
+
'clear-icon'?(_: {}): any;
|
|
648
|
+
suffix?(_: {}): any;
|
|
649
|
+
append?(_: {}): any;
|
|
650
|
+
};
|
|
651
|
+
}) | null;
|
|
652
|
+
dropdownRef: HTMLDivElement;
|
|
653
|
+
}, any>;
|
|
654
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
655
|
export default _default;
|
|
656
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
657
|
+
new (): {
|
|
658
|
+
$slots: S;
|
|
659
|
+
};
|
|
660
|
+
};
|