@retailcrm/embed-ui-v1-components 0.9.14 → 0.9.15
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/AGENTS.md +126 -0
- package/README.md +24 -0
- package/assets/stylesheets/palette.less +11 -6
- package/bin/embed-ui-v1-components.mjs +209 -0
- package/bin/postinstall.mjs +37 -0
- package/dist/host.cjs +1899 -590
- package/dist/host.css +659 -6
- package/dist/host.d.ts +2374 -50
- package/dist/host.js +1900 -591
- package/dist/remote.cjs +610 -33
- package/dist/remote.d.ts +729 -48
- package/dist/remote.js +612 -35
- package/docs/AI.md +106 -0
- package/docs/COMPONENTS.md +96 -0
- package/docs/FORMAT.md +248 -0
- package/docs/PROFILES.md +64 -0
- package/docs/README.md +65 -0
- package/docs/STYLING.md +156 -0
- package/docs/profiles/UiAddButton.yml +45 -0
- package/docs/profiles/UiAlert.yml +36 -0
- package/docs/profiles/UiAvatar.yml +36 -0
- package/docs/profiles/UiAvatarList.yml +30 -0
- package/docs/profiles/UiButton.yml +221 -0
- package/docs/profiles/UiCalendar.yml +36 -0
- package/docs/profiles/UiCheckbox.yml +41 -0
- package/docs/profiles/UiCollapse.yml +28 -0
- package/docs/profiles/UiCollapseBox.yml +39 -0
- package/docs/profiles/UiCollapseGroup.yml +27 -0
- package/docs/profiles/UiCopyButton.yml +40 -0
- package/docs/profiles/UiDate.yml +26 -0
- package/docs/profiles/UiDatePicker.yml +47 -0
- package/docs/profiles/UiError.yml +20 -0
- package/docs/profiles/UiField.yml +229 -0
- package/docs/profiles/UiImage.yml +27 -0
- package/docs/profiles/UiInfobox.yml +33 -0
- package/docs/profiles/UiLink.yml +39 -0
- package/docs/profiles/UiLoader.yml +26 -0
- package/docs/profiles/UiMenuItem.yml +45 -0
- package/docs/profiles/UiMenuItemGroup.yml +38 -0
- package/docs/profiles/UiModalSidebar.yml +34 -0
- package/docs/profiles/UiModalWindow.yml +32 -0
- package/docs/profiles/UiModalWindowSurface.yml +29 -0
- package/docs/profiles/UiNumberStepper.yml +40 -0
- package/docs/profiles/UiPageHeader.yml +240 -0
- package/docs/profiles/UiPopper.yml +197 -0
- package/docs/profiles/UiPopperConnector.yml +109 -0
- package/docs/profiles/UiPopperTarget.yml +112 -0
- package/docs/profiles/UiRadio.yml +26 -0
- package/docs/profiles/UiRadioSwitch.yml +224 -0
- package/docs/profiles/UiRadioSwitchOption.yml +113 -0
- package/docs/profiles/UiScrollBox.yml +19 -0
- package/docs/profiles/UiSelect.yml +318 -0
- package/docs/profiles/UiSelectOption.yml +32 -0
- package/docs/profiles/UiSelectOptionGroup.yml +26 -0
- package/docs/profiles/UiSlider.yml +26 -0
- package/docs/profiles/UiSwitch.yml +25 -0
- package/docs/profiles/UiTab.yml +114 -0
- package/docs/profiles/UiTabGroup.yml +233 -0
- package/docs/profiles/UiTable.yml +148 -0
- package/docs/profiles/UiTableBodyCell.yml +35 -0
- package/docs/profiles/UiTableColumn.yml +38 -0
- package/docs/profiles/UiTableFooterButton.yml +32 -0
- package/docs/profiles/UiTableFooterSection.yml +26 -0
- package/docs/profiles/UiTableHeadCell.yml +32 -0
- package/docs/profiles/UiTableSorter.yml +33 -0
- package/docs/profiles/UiTag.yml +29 -0
- package/docs/profiles/UiTextbox.yml +388 -0
- package/docs/profiles/UiTimePicker.yml +34 -0
- package/docs/profiles/UiToolbarButton.yml +25 -0
- package/docs/profiles/UiToolbarLink.yml +20 -0
- package/docs/profiles/UiTooltip.yml +31 -0
- package/docs/profiles/UiTransition.yml +15 -0
- package/docs/profiles/UiYandexMap.yml +17 -0
- package/package.json +7 -2
package/dist/host.d.ts
CHANGED
|
@@ -1,24 +1,44 @@
|
|
|
1
1
|
import { Alignment } from '@floating-ui/dom';
|
|
2
|
+
import { AllowedComponentProps } from 'vue';
|
|
2
3
|
import { Component } from 'vue';
|
|
4
|
+
import { ComponentCustomProperties } from 'vue';
|
|
5
|
+
import { ComponentCustomProps } from 'vue';
|
|
6
|
+
import { ComponentInternalInstance } from 'vue';
|
|
7
|
+
import { ComponentOptionsBase } from 'vue';
|
|
3
8
|
import { ComponentOptionsMixin } from 'vue';
|
|
4
9
|
import { ComponentPropsOptions } from 'vue';
|
|
5
10
|
import { ComponentProvideOptions } from 'vue';
|
|
11
|
+
import { ComponentPublicInstance } from 'vue';
|
|
12
|
+
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
13
|
+
import { DebuggerEvent } from 'vue';
|
|
6
14
|
import { DefineComponent as DefineComponent_2 } from 'vue';
|
|
7
15
|
import { Directive } from 'vue';
|
|
8
16
|
import { EmitsOptions } from 'vue';
|
|
9
17
|
import { EmitsToProps } from 'vue';
|
|
10
18
|
import { ExtractDefaultPropTypes } from 'vue';
|
|
11
19
|
import { ExtractPropTypes } from 'vue';
|
|
20
|
+
import { GlobalComponents } from 'vue';
|
|
21
|
+
import { GlobalDirectives } from 'vue';
|
|
12
22
|
import { InjectionKey } from 'vue';
|
|
13
23
|
import { MethodOptions } from 'vue';
|
|
24
|
+
import { nextTick } from 'vue';
|
|
25
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
14
26
|
import { Plugin as Plugin_2 } from 'vue';
|
|
15
27
|
import { PropType } from 'vue';
|
|
16
28
|
import { PublicProps } from 'vue';
|
|
17
29
|
import { Ref } from 'vue';
|
|
30
|
+
import { RendererElement } from 'vue';
|
|
31
|
+
import { RendererNode } from 'vue';
|
|
18
32
|
import { SerializedEvent } from '@omnicajs/vue-remote/types/events';
|
|
33
|
+
import { ShallowUnwrapRef } from 'vue';
|
|
19
34
|
import { Side } from '@floating-ui/dom';
|
|
35
|
+
import { Slot } from 'vue';
|
|
20
36
|
import { SlotsType } from 'vue';
|
|
21
37
|
import { Strategy } from '@floating-ui/dom';
|
|
38
|
+
import { VNode } from 'vue';
|
|
39
|
+
import { VNodeProps } from 'vue';
|
|
40
|
+
import { WatchOptions } from 'vue';
|
|
41
|
+
import { WatchStopHandle } from 'vue';
|
|
22
42
|
declare const __VLS_component: DefineComponent_2<ExtractPropTypes<{
|
|
23
43
|
/** Атрибут id корневого элемента модального окна. Должен быть уникальным на странице */
|
|
24
44
|
id: {
|
|
@@ -37,9 +57,9 @@ declare const __VLS_component: DefineComponent_2<ExtractPropTypes<{
|
|
|
37
57
|
};
|
|
38
58
|
/** Внешний вид: алерт, диалог, popup, hint */
|
|
39
59
|
appearance: {
|
|
40
|
-
type: PropType<
|
|
60
|
+
type: PropType<APPEARANCE_5>;
|
|
41
61
|
validator: (value: string) => boolean;
|
|
42
|
-
default:
|
|
62
|
+
default: APPEARANCE_5;
|
|
43
63
|
};
|
|
44
64
|
/** Время, через которое плавающий элемент удаляется со страницы, если был скрыт */
|
|
45
65
|
disposeTimeout: {
|
|
@@ -105,9 +125,9 @@ declare const __VLS_component: DefineComponent_2<ExtractPropTypes<{
|
|
|
105
125
|
};
|
|
106
126
|
/** Внешний вид: алерт, диалог, popup, hint */
|
|
107
127
|
appearance: {
|
|
108
|
-
type: PropType<
|
|
128
|
+
type: PropType<APPEARANCE_5>;
|
|
109
129
|
validator: (value: string) => boolean;
|
|
110
|
-
default:
|
|
130
|
+
default: APPEARANCE_5;
|
|
111
131
|
};
|
|
112
132
|
/** Время, через которое плавающий элемент удаляется со страницы, если был скрыт */
|
|
113
133
|
disposeTimeout: {
|
|
@@ -156,26 +176,772 @@ declare const __VLS_component: DefineComponent_2<ExtractPropTypes<{
|
|
|
156
176
|
closable: boolean;
|
|
157
177
|
id: string;
|
|
158
178
|
role: MODAL_WINDOW_ROLE;
|
|
159
|
-
appearance:
|
|
179
|
+
appearance: APPEARANCE_5;
|
|
160
180
|
disposeTimeout: string | number | null;
|
|
161
181
|
opened: boolean;
|
|
162
182
|
scrolling: SCROLLING_2;
|
|
163
183
|
fullscreen: boolean;
|
|
164
184
|
responsive: boolean;
|
|
165
185
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
166
|
-
declare const __VLS_component_2: DefineComponent_2<
|
|
167
|
-
|
|
186
|
+
declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
187
|
+
/** Уникальный идентификатор корневого элемента */
|
|
188
|
+
id: {
|
|
189
|
+
type: PropType<UiPageHeaderProperties["id"]>;
|
|
190
|
+
validator: (id: unknown) => boolean;
|
|
191
|
+
default: undefined;
|
|
192
|
+
};
|
|
193
|
+
/** Текст заголовка */
|
|
194
|
+
value: {
|
|
195
|
+
type: PropType<UiPageHeaderProperties["value"]>;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
/** Плейсхолдер, отображаемый при отсутствии текста */
|
|
199
|
+
placeholder: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
/** Текст ошибки для tooltip при пустом невалидном заголовке */
|
|
204
|
+
error: {
|
|
205
|
+
type: StringConstructor;
|
|
206
|
+
default: string;
|
|
207
|
+
};
|
|
208
|
+
/** Разрешает перейти в режим редактирования по клику */
|
|
209
|
+
editable: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
/** Автоматически переводит фокус во встроенный UiTextbox при монтировании */
|
|
214
|
+
autofocus: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
default: boolean;
|
|
217
|
+
};
|
|
218
|
+
/** Автоматически выделяет текст заголовка при фокусе на встроенном поле */
|
|
219
|
+
autoselect: {
|
|
220
|
+
type: BooleanConstructor;
|
|
221
|
+
default: boolean;
|
|
222
|
+
};
|
|
223
|
+
/** Делает встроенное поле только для чтения */
|
|
224
|
+
readonly: {
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
228
|
+
/** Полностью отключает заголовок */
|
|
229
|
+
disabled: {
|
|
230
|
+
type: BooleanConstructor;
|
|
231
|
+
default: boolean;
|
|
232
|
+
};
|
|
233
|
+
/** Помечает встроенное поле как невалидное */
|
|
234
|
+
invalid: {
|
|
235
|
+
type: BooleanConstructor;
|
|
236
|
+
default: boolean;
|
|
237
|
+
};
|
|
238
|
+
}>, {
|
|
239
|
+
focus(): void;
|
|
240
|
+
blur(): void;
|
|
241
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
242
|
+
blur: (event: Event) => any;
|
|
243
|
+
change: (event: Event) => any;
|
|
244
|
+
focus: (event: FocusEvent) => any;
|
|
245
|
+
keydown: (event: KeyboardEvent) => any;
|
|
246
|
+
"update:value": (value: string | number) => any;
|
|
247
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
248
|
+
/** Уникальный идентификатор корневого элемента */
|
|
249
|
+
id: {
|
|
250
|
+
type: PropType<UiPageHeaderProperties["id"]>;
|
|
251
|
+
validator: (id: unknown) => boolean;
|
|
252
|
+
default: undefined;
|
|
253
|
+
};
|
|
254
|
+
/** Текст заголовка */
|
|
255
|
+
value: {
|
|
256
|
+
type: PropType<UiPageHeaderProperties["value"]>;
|
|
257
|
+
default: string;
|
|
258
|
+
};
|
|
259
|
+
/** Плейсхолдер, отображаемый при отсутствии текста */
|
|
260
|
+
placeholder: {
|
|
261
|
+
type: StringConstructor;
|
|
262
|
+
default: string;
|
|
263
|
+
};
|
|
264
|
+
/** Текст ошибки для tooltip при пустом невалидном заголовке */
|
|
265
|
+
error: {
|
|
266
|
+
type: StringConstructor;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
/** Разрешает перейти в режим редактирования по клику */
|
|
270
|
+
editable: {
|
|
271
|
+
type: BooleanConstructor;
|
|
272
|
+
default: boolean;
|
|
273
|
+
};
|
|
274
|
+
/** Автоматически переводит фокус во встроенный UiTextbox при монтировании */
|
|
275
|
+
autofocus: {
|
|
276
|
+
type: BooleanConstructor;
|
|
277
|
+
default: boolean;
|
|
278
|
+
};
|
|
279
|
+
/** Автоматически выделяет текст заголовка при фокусе на встроенном поле */
|
|
280
|
+
autoselect: {
|
|
281
|
+
type: BooleanConstructor;
|
|
282
|
+
default: boolean;
|
|
283
|
+
};
|
|
284
|
+
/** Делает встроенное поле только для чтения */
|
|
285
|
+
readonly: {
|
|
286
|
+
type: BooleanConstructor;
|
|
287
|
+
default: boolean;
|
|
288
|
+
};
|
|
289
|
+
/** Полностью отключает заголовок */
|
|
290
|
+
disabled: {
|
|
291
|
+
type: BooleanConstructor;
|
|
292
|
+
default: boolean;
|
|
293
|
+
};
|
|
294
|
+
/** Помечает встроенное поле как невалидное */
|
|
295
|
+
invalid: {
|
|
296
|
+
type: BooleanConstructor;
|
|
297
|
+
default: boolean;
|
|
298
|
+
};
|
|
299
|
+
}>> & Readonly<{
|
|
300
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
301
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
302
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
303
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
304
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
305
|
+
}>, {
|
|
306
|
+
error: string;
|
|
307
|
+
invalid: boolean;
|
|
308
|
+
placeholder: string;
|
|
309
|
+
id: string | undefined;
|
|
310
|
+
disabled: boolean;
|
|
311
|
+
value: string | number | null | undefined;
|
|
312
|
+
readonly: boolean;
|
|
313
|
+
autofocus: boolean;
|
|
314
|
+
autoselect: boolean;
|
|
315
|
+
editable: boolean;
|
|
316
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
317
|
+
main: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{
|
|
318
|
+
id: {
|
|
319
|
+
type: PropType<UiPageHeaderProperties["id"]>;
|
|
320
|
+
validator: (id: unknown) => boolean;
|
|
321
|
+
default: undefined;
|
|
322
|
+
};
|
|
323
|
+
value: {
|
|
324
|
+
type: PropType<UiPageHeaderProperties["value"]>;
|
|
325
|
+
default: string;
|
|
326
|
+
};
|
|
327
|
+
placeholder: {
|
|
328
|
+
type: StringConstructor;
|
|
329
|
+
default: string;
|
|
330
|
+
};
|
|
331
|
+
error: {
|
|
332
|
+
type: StringConstructor;
|
|
333
|
+
default: string;
|
|
334
|
+
};
|
|
335
|
+
editable: {
|
|
336
|
+
type: BooleanConstructor;
|
|
337
|
+
default: boolean;
|
|
338
|
+
};
|
|
339
|
+
autofocus: {
|
|
340
|
+
type: BooleanConstructor;
|
|
341
|
+
default: boolean;
|
|
342
|
+
};
|
|
343
|
+
autoselect: {
|
|
344
|
+
type: BooleanConstructor;
|
|
345
|
+
default: boolean;
|
|
346
|
+
};
|
|
347
|
+
readonly: {
|
|
348
|
+
type: BooleanConstructor;
|
|
349
|
+
default: boolean;
|
|
350
|
+
};
|
|
351
|
+
disabled: {
|
|
352
|
+
type: BooleanConstructor;
|
|
353
|
+
default: boolean;
|
|
354
|
+
};
|
|
355
|
+
invalid: {
|
|
356
|
+
type: BooleanConstructor;
|
|
357
|
+
default: boolean;
|
|
358
|
+
};
|
|
359
|
+
}>> & Readonly<{
|
|
360
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
361
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
362
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
363
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
364
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
365
|
+
}>, {
|
|
366
|
+
focus(): void;
|
|
367
|
+
blur(): void;
|
|
368
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
369
|
+
blur: (event: Event) => any;
|
|
370
|
+
change: (event: Event) => any;
|
|
371
|
+
focus: (event: FocusEvent) => any;
|
|
372
|
+
keydown: (event: KeyboardEvent) => any;
|
|
373
|
+
"update:value": (value: string | number) => any;
|
|
374
|
+
}, PublicProps, {
|
|
375
|
+
error: string;
|
|
376
|
+
invalid: boolean;
|
|
377
|
+
placeholder: string;
|
|
378
|
+
id: string | undefined;
|
|
379
|
+
disabled: boolean;
|
|
380
|
+
value: string | number | null | undefined;
|
|
381
|
+
readonly: boolean;
|
|
382
|
+
autofocus: boolean;
|
|
383
|
+
autoselect: boolean;
|
|
384
|
+
editable: boolean;
|
|
385
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
386
|
+
textbox: ({
|
|
387
|
+
$: ComponentInternalInstance;
|
|
388
|
+
$data: {};
|
|
389
|
+
$props: Partial<{
|
|
390
|
+
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
391
|
+
invalid: boolean;
|
|
392
|
+
placeholder: string;
|
|
393
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
394
|
+
id: string | undefined;
|
|
395
|
+
max: number | `${number}`;
|
|
396
|
+
min: number | `${number}`;
|
|
397
|
+
step: number | `${number}` | "any";
|
|
398
|
+
disabled: boolean;
|
|
399
|
+
outlined: boolean;
|
|
400
|
+
active: boolean;
|
|
401
|
+
value: string | number | null;
|
|
402
|
+
required: boolean;
|
|
403
|
+
clearable: boolean;
|
|
404
|
+
readonly: boolean;
|
|
405
|
+
autocomplete: "off" | "on";
|
|
406
|
+
inputmode: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE;
|
|
407
|
+
maxlength: string | number;
|
|
408
|
+
decimals: number | `${number}` | "*";
|
|
409
|
+
prefix: string;
|
|
410
|
+
suffix: string;
|
|
411
|
+
autofocus: boolean;
|
|
412
|
+
autoselect: boolean;
|
|
413
|
+
multiline: boolean;
|
|
414
|
+
rows: string | number;
|
|
415
|
+
cols: string | number;
|
|
416
|
+
autofit: boolean;
|
|
417
|
+
inputAttributes: UiTextboxInputAttributes;
|
|
418
|
+
}> & Omit<{
|
|
419
|
+
readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
420
|
+
readonly invalid: boolean;
|
|
421
|
+
readonly placeholder: string;
|
|
422
|
+
readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
423
|
+
readonly max: number | `${number}`;
|
|
424
|
+
readonly min: number | `${number}`;
|
|
425
|
+
readonly step: number | `${number}` | "any";
|
|
426
|
+
readonly disabled: boolean;
|
|
427
|
+
readonly outlined: boolean;
|
|
428
|
+
readonly active: boolean;
|
|
429
|
+
readonly value: string | number | null;
|
|
430
|
+
readonly required: boolean;
|
|
431
|
+
readonly clearable: boolean;
|
|
432
|
+
readonly readonly: boolean;
|
|
433
|
+
readonly autocomplete: "off" | "on";
|
|
434
|
+
readonly decimals: number | `${number}` | "*";
|
|
435
|
+
readonly prefix: string;
|
|
436
|
+
readonly suffix: string;
|
|
437
|
+
readonly autofocus: boolean;
|
|
438
|
+
readonly autoselect: boolean;
|
|
439
|
+
readonly multiline: boolean;
|
|
440
|
+
readonly rows: string | number;
|
|
441
|
+
readonly cols: string | number;
|
|
442
|
+
readonly autofit: boolean;
|
|
443
|
+
readonly inputAttributes: UiTextboxInputAttributes;
|
|
444
|
+
readonly id?: string | undefined;
|
|
445
|
+
readonly inputmode?: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE | undefined;
|
|
446
|
+
readonly maxlength?: string | number | undefined;
|
|
447
|
+
readonly onBlur?: ((args_0: Event) => any) | undefined;
|
|
448
|
+
readonly onChange?: ((args_0: Event) => any) | undefined;
|
|
449
|
+
readonly onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
450
|
+
readonly onInput?: ((args_0: Event) => any) | undefined;
|
|
451
|
+
readonly onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
452
|
+
readonly onPaste?: ((args_0: ClipboardEvent) => any) | undefined;
|
|
453
|
+
readonly onClear?: (() => any) | undefined;
|
|
454
|
+
readonly "onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
455
|
+
readonly "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
456
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
|
|
457
|
+
$attrs: {
|
|
458
|
+
[x: string]: unknown;
|
|
459
|
+
};
|
|
460
|
+
$refs: {
|
|
461
|
+
[x: string]: unknown;
|
|
462
|
+
} & {
|
|
463
|
+
root: HTMLSpanElement;
|
|
464
|
+
textbox: HTMLTextAreaElement;
|
|
465
|
+
placeholderRef: HTMLSpanElement;
|
|
466
|
+
};
|
|
467
|
+
$slots: Readonly<{
|
|
468
|
+
[name: string]: Slot<any> | undefined;
|
|
469
|
+
}>;
|
|
470
|
+
$root: ComponentPublicInstance | null;
|
|
471
|
+
$parent: ComponentPublicInstance | null;
|
|
472
|
+
$host: Element | null;
|
|
473
|
+
$emit: ((event: "blur", args_0: Event) => void) & ((event: "change", args_0: Event) => void) & ((event: "focus", args_0: FocusEvent) => void) & ((event: "input", args_0: Event) => void) & ((event: "keydown", args_0: KeyboardEvent) => void) & ((event: "paste", args_0: ClipboardEvent) => void) & ((event: "clear") => void) & ((event: "update:value", value: string | number) => void) & ((event: "update:focused", focused: boolean) => void);
|
|
474
|
+
$el: HTMLSpanElement;
|
|
475
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
476
|
+
id: {
|
|
477
|
+
type: PropType<string | undefined>;
|
|
478
|
+
validator: (id: unknown) => boolean;
|
|
479
|
+
default: undefined;
|
|
480
|
+
};
|
|
481
|
+
type: {
|
|
482
|
+
type: PropType<TYPE_2 | `${TYPE_2}`>;
|
|
483
|
+
validator: (value: string) => boolean;
|
|
484
|
+
default: TYPE_2;
|
|
485
|
+
};
|
|
486
|
+
value: {
|
|
487
|
+
type: PropType<string | number | null>;
|
|
488
|
+
default: null;
|
|
489
|
+
};
|
|
490
|
+
max: {
|
|
491
|
+
type: PropType<number | `${number}`>;
|
|
492
|
+
validator: (value: unknown) => boolean;
|
|
493
|
+
default: number;
|
|
494
|
+
};
|
|
495
|
+
min: {
|
|
496
|
+
type: PropType<number | `${number}`>;
|
|
497
|
+
validator: (value: unknown) => boolean;
|
|
498
|
+
default: number;
|
|
499
|
+
};
|
|
500
|
+
step: {
|
|
501
|
+
type: PropType<number | `${number}` | "any">;
|
|
502
|
+
validator: (value: unknown) => boolean;
|
|
503
|
+
default: number;
|
|
504
|
+
};
|
|
505
|
+
autocomplete: {
|
|
506
|
+
type: PropType<"on" | "off">;
|
|
507
|
+
validator: (value: string) => boolean;
|
|
508
|
+
default: string;
|
|
509
|
+
};
|
|
510
|
+
inputmode: {
|
|
511
|
+
type: PropType<INPUTMODE | `${INPUTMODE}`>;
|
|
512
|
+
default: undefined;
|
|
513
|
+
};
|
|
514
|
+
maxlength: {
|
|
515
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
516
|
+
default: undefined;
|
|
517
|
+
};
|
|
518
|
+
decimals: {
|
|
519
|
+
type: PropType<number | `${number}` | "*">;
|
|
520
|
+
validator: (value: unknown) => boolean;
|
|
521
|
+
default: "*";
|
|
522
|
+
};
|
|
523
|
+
size: {
|
|
524
|
+
type: PropType<SIZE_5 | `${SIZE_5}`>;
|
|
525
|
+
default: SIZE_5;
|
|
526
|
+
};
|
|
527
|
+
placeholder: {
|
|
528
|
+
type: StringConstructor;
|
|
529
|
+
default: string;
|
|
530
|
+
};
|
|
531
|
+
prefix: {
|
|
532
|
+
type: StringConstructor;
|
|
533
|
+
default: string;
|
|
534
|
+
};
|
|
535
|
+
suffix: {
|
|
536
|
+
type: StringConstructor;
|
|
537
|
+
default: string;
|
|
538
|
+
};
|
|
539
|
+
active: {
|
|
540
|
+
type: BooleanConstructor;
|
|
541
|
+
default: boolean;
|
|
542
|
+
};
|
|
543
|
+
autofocus: {
|
|
544
|
+
type: BooleanConstructor;
|
|
545
|
+
default: boolean;
|
|
546
|
+
};
|
|
547
|
+
autoselect: {
|
|
548
|
+
type: BooleanConstructor;
|
|
549
|
+
default: boolean;
|
|
550
|
+
};
|
|
551
|
+
clearable: {
|
|
552
|
+
type: BooleanConstructor;
|
|
553
|
+
default: boolean;
|
|
554
|
+
};
|
|
555
|
+
readonly: {
|
|
556
|
+
type: BooleanConstructor;
|
|
557
|
+
default: boolean;
|
|
558
|
+
};
|
|
559
|
+
required: {
|
|
560
|
+
type: BooleanConstructor;
|
|
561
|
+
default: boolean;
|
|
562
|
+
};
|
|
563
|
+
disabled: {
|
|
564
|
+
type: BooleanConstructor;
|
|
565
|
+
default: boolean;
|
|
566
|
+
};
|
|
567
|
+
invalid: {
|
|
568
|
+
type: BooleanConstructor;
|
|
569
|
+
default: boolean;
|
|
570
|
+
};
|
|
571
|
+
multiline: {
|
|
572
|
+
type: BooleanConstructor;
|
|
573
|
+
default: boolean;
|
|
574
|
+
};
|
|
575
|
+
rows: {
|
|
576
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
577
|
+
validator: (value: unknown) => boolean;
|
|
578
|
+
default: number;
|
|
579
|
+
};
|
|
580
|
+
cols: {
|
|
581
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
582
|
+
validator: (value: unknown) => boolean;
|
|
583
|
+
default: number;
|
|
584
|
+
};
|
|
585
|
+
outlined: {
|
|
586
|
+
type: BooleanConstructor;
|
|
587
|
+
default: boolean;
|
|
588
|
+
};
|
|
589
|
+
autofit: {
|
|
590
|
+
type: BooleanConstructor;
|
|
591
|
+
default: boolean;
|
|
592
|
+
};
|
|
593
|
+
inputAttributes: {
|
|
594
|
+
type: PropType<UiTextboxInputAttributes>;
|
|
595
|
+
default: () => {};
|
|
596
|
+
};
|
|
597
|
+
}>> & Readonly<{
|
|
598
|
+
onBlur?: ((args_0: Event) => any) | undefined;
|
|
599
|
+
onChange?: ((args_0: Event) => any) | undefined;
|
|
600
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
601
|
+
onInput?: ((args_0: Event) => any) | undefined;
|
|
602
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
603
|
+
onPaste?: ((args_0: ClipboardEvent) => any) | undefined;
|
|
604
|
+
onClear?: (() => any) | undefined;
|
|
605
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
606
|
+
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
607
|
+
}>, {
|
|
608
|
+
getSelectionStart(): number | null;
|
|
609
|
+
getSelectionEnd(): number | null;
|
|
610
|
+
setSelectionRange(start: number, end: number): void;
|
|
611
|
+
focus(): void;
|
|
612
|
+
blur(): void;
|
|
613
|
+
select(): void;
|
|
614
|
+
insert(value: string): Promise<void>;
|
|
615
|
+
clear(): void;
|
|
616
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
617
|
+
blur: (args_0: Event) => any;
|
|
618
|
+
change: (args_0: Event) => any;
|
|
619
|
+
focus: (args_0: FocusEvent) => any;
|
|
620
|
+
input: (args_0: Event) => any;
|
|
621
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
622
|
+
paste: (args_0: ClipboardEvent) => any;
|
|
623
|
+
clear: () => any;
|
|
624
|
+
"update:value": (value: string | number) => any;
|
|
625
|
+
"update:focused": (focused: boolean) => any;
|
|
626
|
+
}, string, {
|
|
627
|
+
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
628
|
+
invalid: boolean;
|
|
629
|
+
placeholder: string;
|
|
630
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
631
|
+
id: string | undefined;
|
|
632
|
+
max: number | `${number}`;
|
|
633
|
+
min: number | `${number}`;
|
|
634
|
+
step: number | `${number}` | "any";
|
|
635
|
+
disabled: boolean;
|
|
636
|
+
outlined: boolean;
|
|
637
|
+
active: boolean;
|
|
638
|
+
value: string | number | null;
|
|
639
|
+
required: boolean;
|
|
640
|
+
clearable: boolean;
|
|
641
|
+
readonly: boolean;
|
|
642
|
+
autocomplete: "off" | "on";
|
|
643
|
+
inputmode: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE;
|
|
644
|
+
maxlength: string | number;
|
|
645
|
+
decimals: number | `${number}` | "*";
|
|
646
|
+
prefix: string;
|
|
647
|
+
suffix: string;
|
|
648
|
+
autofocus: boolean;
|
|
649
|
+
autoselect: boolean;
|
|
650
|
+
multiline: boolean;
|
|
651
|
+
rows: string | number;
|
|
652
|
+
cols: string | number;
|
|
653
|
+
autofit: boolean;
|
|
654
|
+
inputAttributes: UiTextboxInputAttributes;
|
|
655
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
656
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
657
|
+
created?: (() => void) | (() => void)[];
|
|
658
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
659
|
+
mounted?: (() => void) | (() => void)[];
|
|
660
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
661
|
+
updated?: (() => void) | (() => void)[];
|
|
662
|
+
activated?: (() => void) | (() => void)[];
|
|
663
|
+
deactivated?: (() => void) | (() => void)[];
|
|
664
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
665
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
666
|
+
destroyed?: (() => void) | (() => void)[];
|
|
667
|
+
unmounted?: (() => void) | (() => void)[];
|
|
668
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
669
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
670
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
671
|
+
};
|
|
672
|
+
$forceUpdate: () => void;
|
|
673
|
+
$nextTick: nextTick;
|
|
674
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
675
|
+
R,
|
|
676
|
+
R,
|
|
677
|
+
OnCleanup
|
|
678
|
+
]) => any : (...args: [
|
|
679
|
+
any,
|
|
680
|
+
any,
|
|
681
|
+
OnCleanup
|
|
682
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
683
|
+
} & Readonly<{
|
|
684
|
+
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
685
|
+
invalid: boolean;
|
|
686
|
+
placeholder: string;
|
|
687
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
688
|
+
id: string | undefined;
|
|
689
|
+
max: number | `${number}`;
|
|
690
|
+
min: number | `${number}`;
|
|
691
|
+
step: number | `${number}` | "any";
|
|
692
|
+
disabled: boolean;
|
|
693
|
+
outlined: boolean;
|
|
694
|
+
active: boolean;
|
|
695
|
+
value: string | number | null;
|
|
696
|
+
required: boolean;
|
|
697
|
+
clearable: boolean;
|
|
698
|
+
readonly: boolean;
|
|
699
|
+
autocomplete: "off" | "on";
|
|
700
|
+
inputmode: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE;
|
|
701
|
+
maxlength: string | number;
|
|
702
|
+
decimals: number | `${number}` | "*";
|
|
703
|
+
prefix: string;
|
|
704
|
+
suffix: string;
|
|
705
|
+
autofocus: boolean;
|
|
706
|
+
autoselect: boolean;
|
|
707
|
+
multiline: boolean;
|
|
708
|
+
rows: string | number;
|
|
709
|
+
cols: string | number;
|
|
710
|
+
autofit: boolean;
|
|
711
|
+
inputAttributes: UiTextboxInputAttributes;
|
|
712
|
+
}> & Omit<Readonly<ExtractPropTypes<{
|
|
713
|
+
id: {
|
|
714
|
+
type: PropType<string | undefined>;
|
|
715
|
+
validator: (id: unknown) => boolean;
|
|
716
|
+
default: undefined;
|
|
717
|
+
};
|
|
718
|
+
type: {
|
|
719
|
+
type: PropType<TYPE_2 | `${TYPE_2}`>;
|
|
720
|
+
validator: (value: string) => boolean;
|
|
721
|
+
default: TYPE_2;
|
|
722
|
+
};
|
|
723
|
+
value: {
|
|
724
|
+
type: PropType<string | number | null>;
|
|
725
|
+
default: null;
|
|
726
|
+
};
|
|
727
|
+
max: {
|
|
728
|
+
type: PropType<number | `${number}`>;
|
|
729
|
+
validator: (value: unknown) => boolean;
|
|
730
|
+
default: number;
|
|
731
|
+
};
|
|
732
|
+
min: {
|
|
733
|
+
type: PropType<number | `${number}`>;
|
|
734
|
+
validator: (value: unknown) => boolean;
|
|
735
|
+
default: number;
|
|
736
|
+
};
|
|
737
|
+
step: {
|
|
738
|
+
type: PropType<number | `${number}` | "any">;
|
|
739
|
+
validator: (value: unknown) => boolean;
|
|
740
|
+
default: number;
|
|
741
|
+
};
|
|
742
|
+
autocomplete: {
|
|
743
|
+
type: PropType<"on" | "off">;
|
|
744
|
+
validator: (value: string) => boolean;
|
|
745
|
+
default: string;
|
|
746
|
+
};
|
|
747
|
+
inputmode: {
|
|
748
|
+
type: PropType<INPUTMODE | `${INPUTMODE}`>;
|
|
749
|
+
default: undefined;
|
|
750
|
+
};
|
|
751
|
+
maxlength: {
|
|
752
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
753
|
+
default: undefined;
|
|
754
|
+
};
|
|
755
|
+
decimals: {
|
|
756
|
+
type: PropType<number | `${number}` | "*">;
|
|
757
|
+
validator: (value: unknown) => boolean;
|
|
758
|
+
default: "*";
|
|
759
|
+
};
|
|
760
|
+
size: {
|
|
761
|
+
type: PropType<SIZE_5 | `${SIZE_5}`>;
|
|
762
|
+
default: SIZE_5;
|
|
763
|
+
};
|
|
764
|
+
placeholder: {
|
|
765
|
+
type: StringConstructor;
|
|
766
|
+
default: string;
|
|
767
|
+
};
|
|
768
|
+
prefix: {
|
|
769
|
+
type: StringConstructor;
|
|
770
|
+
default: string;
|
|
771
|
+
};
|
|
772
|
+
suffix: {
|
|
773
|
+
type: StringConstructor;
|
|
774
|
+
default: string;
|
|
775
|
+
};
|
|
776
|
+
active: {
|
|
777
|
+
type: BooleanConstructor;
|
|
778
|
+
default: boolean;
|
|
779
|
+
};
|
|
780
|
+
autofocus: {
|
|
781
|
+
type: BooleanConstructor;
|
|
782
|
+
default: boolean;
|
|
783
|
+
};
|
|
784
|
+
autoselect: {
|
|
785
|
+
type: BooleanConstructor;
|
|
786
|
+
default: boolean;
|
|
787
|
+
};
|
|
788
|
+
clearable: {
|
|
789
|
+
type: BooleanConstructor;
|
|
790
|
+
default: boolean;
|
|
791
|
+
};
|
|
792
|
+
readonly: {
|
|
793
|
+
type: BooleanConstructor;
|
|
794
|
+
default: boolean;
|
|
795
|
+
};
|
|
796
|
+
required: {
|
|
797
|
+
type: BooleanConstructor;
|
|
798
|
+
default: boolean;
|
|
799
|
+
};
|
|
800
|
+
disabled: {
|
|
801
|
+
type: BooleanConstructor;
|
|
802
|
+
default: boolean;
|
|
803
|
+
};
|
|
804
|
+
invalid: {
|
|
805
|
+
type: BooleanConstructor;
|
|
806
|
+
default: boolean;
|
|
807
|
+
};
|
|
808
|
+
multiline: {
|
|
809
|
+
type: BooleanConstructor;
|
|
810
|
+
default: boolean;
|
|
811
|
+
};
|
|
812
|
+
rows: {
|
|
813
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
814
|
+
validator: (value: unknown) => boolean;
|
|
815
|
+
default: number;
|
|
816
|
+
};
|
|
817
|
+
cols: {
|
|
818
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
819
|
+
validator: (value: unknown) => boolean;
|
|
820
|
+
default: number;
|
|
821
|
+
};
|
|
822
|
+
outlined: {
|
|
823
|
+
type: BooleanConstructor;
|
|
824
|
+
default: boolean;
|
|
825
|
+
};
|
|
826
|
+
autofit: {
|
|
827
|
+
type: BooleanConstructor;
|
|
828
|
+
default: boolean;
|
|
829
|
+
};
|
|
830
|
+
inputAttributes: {
|
|
831
|
+
type: PropType<UiTextboxInputAttributes>;
|
|
832
|
+
default: () => {};
|
|
833
|
+
};
|
|
834
|
+
}>> & Readonly<{
|
|
835
|
+
onBlur?: ((args_0: Event) => any) | undefined;
|
|
836
|
+
onChange?: ((args_0: Event) => any) | undefined;
|
|
837
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
838
|
+
onInput?: ((args_0: Event) => any) | undefined;
|
|
839
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
840
|
+
onPaste?: ((args_0: ClipboardEvent) => any) | undefined;
|
|
841
|
+
onClear?: (() => any) | undefined;
|
|
842
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
843
|
+
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
844
|
+
}>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
|
|
845
|
+
getSelectionStart(): number | null;
|
|
846
|
+
getSelectionEnd(): number | null;
|
|
847
|
+
setSelectionRange(start: number, end: number): void;
|
|
848
|
+
focus(): void;
|
|
849
|
+
blur(): void;
|
|
850
|
+
select(): void;
|
|
851
|
+
insert(value: string): Promise<void>;
|
|
852
|
+
clear(): void;
|
|
853
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
854
|
+
$slots: {
|
|
855
|
+
prefix?(_: {}): any;
|
|
856
|
+
'leading-icon'?(_: {}): any;
|
|
857
|
+
'trailing-icon'?(_: {}): any;
|
|
858
|
+
suffix?(_: {}): any;
|
|
859
|
+
};
|
|
860
|
+
}) | null;
|
|
861
|
+
}, any, ComponentProvideOptions, {
|
|
862
|
+
P: {};
|
|
863
|
+
B: {};
|
|
864
|
+
D: {};
|
|
865
|
+
C: {};
|
|
866
|
+
M: {};
|
|
867
|
+
Defaults: {};
|
|
868
|
+
}, Readonly<ExtractPropTypes<{
|
|
869
|
+
id: {
|
|
870
|
+
type: PropType<UiPageHeaderProperties["id"]>;
|
|
871
|
+
validator: (id: unknown) => boolean;
|
|
872
|
+
default: undefined;
|
|
873
|
+
};
|
|
874
|
+
value: {
|
|
875
|
+
type: PropType<UiPageHeaderProperties["value"]>;
|
|
876
|
+
default: string;
|
|
877
|
+
};
|
|
878
|
+
placeholder: {
|
|
879
|
+
type: StringConstructor;
|
|
880
|
+
default: string;
|
|
881
|
+
};
|
|
882
|
+
error: {
|
|
883
|
+
type: StringConstructor;
|
|
884
|
+
default: string;
|
|
885
|
+
};
|
|
886
|
+
editable: {
|
|
887
|
+
type: BooleanConstructor;
|
|
888
|
+
default: boolean;
|
|
889
|
+
};
|
|
890
|
+
autofocus: {
|
|
891
|
+
type: BooleanConstructor;
|
|
892
|
+
default: boolean;
|
|
893
|
+
};
|
|
894
|
+
autoselect: {
|
|
895
|
+
type: BooleanConstructor;
|
|
896
|
+
default: boolean;
|
|
897
|
+
};
|
|
898
|
+
readonly: {
|
|
899
|
+
type: BooleanConstructor;
|
|
900
|
+
default: boolean;
|
|
901
|
+
};
|
|
902
|
+
disabled: {
|
|
903
|
+
type: BooleanConstructor;
|
|
904
|
+
default: boolean;
|
|
905
|
+
};
|
|
906
|
+
invalid: {
|
|
907
|
+
type: BooleanConstructor;
|
|
908
|
+
default: boolean;
|
|
909
|
+
};
|
|
910
|
+
}>> & Readonly<{
|
|
911
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
912
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
913
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
914
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
915
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
916
|
+
}>, {
|
|
917
|
+
focus(): void;
|
|
918
|
+
blur(): void;
|
|
919
|
+
}, {}, {}, {}, {
|
|
920
|
+
error: string;
|
|
921
|
+
invalid: boolean;
|
|
922
|
+
placeholder: string;
|
|
923
|
+
id: string | undefined;
|
|
924
|
+
disabled: boolean;
|
|
925
|
+
value: string | number | null | undefined;
|
|
926
|
+
readonly: boolean;
|
|
927
|
+
autofocus: boolean;
|
|
928
|
+
autoselect: boolean;
|
|
929
|
+
editable: boolean;
|
|
930
|
+
}> | null;
|
|
931
|
+
}, any>;
|
|
932
|
+
declare const __VLS_component_3: DefineComponent_2<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
933
|
+
declare const __VLS_component_4: DefineComponent_2<ExtractPropTypes<{
|
|
168
934
|
size: {
|
|
169
|
-
type: PropType<
|
|
170
|
-
default:
|
|
935
|
+
type: PropType<SIZE_12 | `${SIZE_12}`>;
|
|
936
|
+
default: SIZE_12;
|
|
171
937
|
};
|
|
172
938
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
173
939
|
size: {
|
|
174
|
-
type: PropType<
|
|
175
|
-
default:
|
|
940
|
+
type: PropType<SIZE_12 | `${SIZE_12}`>;
|
|
941
|
+
default: SIZE_12;
|
|
176
942
|
};
|
|
177
943
|
}>> & Readonly<{}>, {
|
|
178
|
-
size: "sm" | "md" |
|
|
944
|
+
size: "sm" | "md" | SIZE_12;
|
|
179
945
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
180
946
|
declare function __VLS_template(): {
|
|
181
947
|
attrs: Partial<{}>;
|
|
@@ -203,6 +969,630 @@ declare function __VLS_template(): {
|
|
|
203
969
|
rootEl: any;
|
|
204
970
|
};
|
|
205
971
|
declare function __VLS_template_2(): {
|
|
972
|
+
attrs: Partial<{}>;
|
|
973
|
+
slots: {
|
|
974
|
+
addon?(_: {}): any;
|
|
975
|
+
actions?(_: {}): any;
|
|
976
|
+
};
|
|
977
|
+
refs: {
|
|
978
|
+
main: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{
|
|
979
|
+
id: {
|
|
980
|
+
type: PropType<UiPageHeaderProperties["id"]>;
|
|
981
|
+
validator: (id: unknown) => boolean;
|
|
982
|
+
default: undefined;
|
|
983
|
+
};
|
|
984
|
+
value: {
|
|
985
|
+
type: PropType<UiPageHeaderProperties["value"]>;
|
|
986
|
+
default: string;
|
|
987
|
+
};
|
|
988
|
+
placeholder: {
|
|
989
|
+
type: StringConstructor;
|
|
990
|
+
default: string;
|
|
991
|
+
};
|
|
992
|
+
error: {
|
|
993
|
+
type: StringConstructor;
|
|
994
|
+
default: string;
|
|
995
|
+
};
|
|
996
|
+
editable: {
|
|
997
|
+
type: BooleanConstructor;
|
|
998
|
+
default: boolean;
|
|
999
|
+
};
|
|
1000
|
+
autofocus: {
|
|
1001
|
+
type: BooleanConstructor;
|
|
1002
|
+
default: boolean;
|
|
1003
|
+
};
|
|
1004
|
+
autoselect: {
|
|
1005
|
+
type: BooleanConstructor;
|
|
1006
|
+
default: boolean;
|
|
1007
|
+
};
|
|
1008
|
+
readonly: {
|
|
1009
|
+
type: BooleanConstructor;
|
|
1010
|
+
default: boolean;
|
|
1011
|
+
};
|
|
1012
|
+
disabled: {
|
|
1013
|
+
type: BooleanConstructor;
|
|
1014
|
+
default: boolean;
|
|
1015
|
+
};
|
|
1016
|
+
invalid: {
|
|
1017
|
+
type: BooleanConstructor;
|
|
1018
|
+
default: boolean;
|
|
1019
|
+
};
|
|
1020
|
+
}>> & Readonly<{
|
|
1021
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
1022
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
1023
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1024
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1025
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
1026
|
+
}>, {
|
|
1027
|
+
focus(): void;
|
|
1028
|
+
blur(): void;
|
|
1029
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1030
|
+
blur: (event: Event) => any;
|
|
1031
|
+
change: (event: Event) => any;
|
|
1032
|
+
focus: (event: FocusEvent) => any;
|
|
1033
|
+
keydown: (event: KeyboardEvent) => any;
|
|
1034
|
+
"update:value": (value: string | number) => any;
|
|
1035
|
+
}, PublicProps, {
|
|
1036
|
+
error: string;
|
|
1037
|
+
invalid: boolean;
|
|
1038
|
+
placeholder: string;
|
|
1039
|
+
id: string | undefined;
|
|
1040
|
+
disabled: boolean;
|
|
1041
|
+
value: string | number | null | undefined;
|
|
1042
|
+
readonly: boolean;
|
|
1043
|
+
autofocus: boolean;
|
|
1044
|
+
autoselect: boolean;
|
|
1045
|
+
editable: boolean;
|
|
1046
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1047
|
+
textbox: ({
|
|
1048
|
+
$: ComponentInternalInstance;
|
|
1049
|
+
$data: {};
|
|
1050
|
+
$props: Partial<{
|
|
1051
|
+
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1052
|
+
invalid: boolean;
|
|
1053
|
+
placeholder: string;
|
|
1054
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
1055
|
+
id: string | undefined;
|
|
1056
|
+
max: number | `${number}`;
|
|
1057
|
+
min: number | `${number}`;
|
|
1058
|
+
step: number | `${number}` | "any";
|
|
1059
|
+
disabled: boolean;
|
|
1060
|
+
outlined: boolean;
|
|
1061
|
+
active: boolean;
|
|
1062
|
+
value: string | number | null;
|
|
1063
|
+
required: boolean;
|
|
1064
|
+
clearable: boolean;
|
|
1065
|
+
readonly: boolean;
|
|
1066
|
+
autocomplete: "off" | "on";
|
|
1067
|
+
inputmode: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE;
|
|
1068
|
+
maxlength: string | number;
|
|
1069
|
+
decimals: number | `${number}` | "*";
|
|
1070
|
+
prefix: string;
|
|
1071
|
+
suffix: string;
|
|
1072
|
+
autofocus: boolean;
|
|
1073
|
+
autoselect: boolean;
|
|
1074
|
+
multiline: boolean;
|
|
1075
|
+
rows: string | number;
|
|
1076
|
+
cols: string | number;
|
|
1077
|
+
autofit: boolean;
|
|
1078
|
+
inputAttributes: UiTextboxInputAttributes;
|
|
1079
|
+
}> & Omit<{
|
|
1080
|
+
readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1081
|
+
readonly invalid: boolean;
|
|
1082
|
+
readonly placeholder: string;
|
|
1083
|
+
readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
1084
|
+
readonly max: number | `${number}`;
|
|
1085
|
+
readonly min: number | `${number}`;
|
|
1086
|
+
readonly step: number | `${number}` | "any";
|
|
1087
|
+
readonly disabled: boolean;
|
|
1088
|
+
readonly outlined: boolean;
|
|
1089
|
+
readonly active: boolean;
|
|
1090
|
+
readonly value: string | number | null;
|
|
1091
|
+
readonly required: boolean;
|
|
1092
|
+
readonly clearable: boolean;
|
|
1093
|
+
readonly readonly: boolean;
|
|
1094
|
+
readonly autocomplete: "off" | "on";
|
|
1095
|
+
readonly decimals: number | `${number}` | "*";
|
|
1096
|
+
readonly prefix: string;
|
|
1097
|
+
readonly suffix: string;
|
|
1098
|
+
readonly autofocus: boolean;
|
|
1099
|
+
readonly autoselect: boolean;
|
|
1100
|
+
readonly multiline: boolean;
|
|
1101
|
+
readonly rows: string | number;
|
|
1102
|
+
readonly cols: string | number;
|
|
1103
|
+
readonly autofit: boolean;
|
|
1104
|
+
readonly inputAttributes: UiTextboxInputAttributes;
|
|
1105
|
+
readonly id?: string | undefined;
|
|
1106
|
+
readonly inputmode?: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE | undefined;
|
|
1107
|
+
readonly maxlength?: string | number | undefined;
|
|
1108
|
+
readonly onBlur?: ((args_0: Event) => any) | undefined;
|
|
1109
|
+
readonly onChange?: ((args_0: Event) => any) | undefined;
|
|
1110
|
+
readonly onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
1111
|
+
readonly onInput?: ((args_0: Event) => any) | undefined;
|
|
1112
|
+
readonly onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
1113
|
+
readonly onPaste?: ((args_0: ClipboardEvent) => any) | undefined;
|
|
1114
|
+
readonly onClear?: (() => any) | undefined;
|
|
1115
|
+
readonly "onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
1116
|
+
readonly "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
1117
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
|
|
1118
|
+
$attrs: {
|
|
1119
|
+
[x: string]: unknown;
|
|
1120
|
+
};
|
|
1121
|
+
$refs: {
|
|
1122
|
+
[x: string]: unknown;
|
|
1123
|
+
} & {
|
|
1124
|
+
root: HTMLSpanElement;
|
|
1125
|
+
textbox: HTMLTextAreaElement;
|
|
1126
|
+
placeholderRef: HTMLSpanElement;
|
|
1127
|
+
};
|
|
1128
|
+
$slots: Readonly<{
|
|
1129
|
+
[name: string]: Slot<any> | undefined;
|
|
1130
|
+
}>;
|
|
1131
|
+
$root: ComponentPublicInstance | null;
|
|
1132
|
+
$parent: ComponentPublicInstance | null;
|
|
1133
|
+
$host: Element | null;
|
|
1134
|
+
$emit: ((event: "blur", args_0: Event) => void) & ((event: "change", args_0: Event) => void) & ((event: "focus", args_0: FocusEvent) => void) & ((event: "input", args_0: Event) => void) & ((event: "keydown", args_0: KeyboardEvent) => void) & ((event: "paste", args_0: ClipboardEvent) => void) & ((event: "clear") => void) & ((event: "update:value", value: string | number) => void) & ((event: "update:focused", focused: boolean) => void);
|
|
1135
|
+
$el: HTMLSpanElement;
|
|
1136
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
1137
|
+
id: {
|
|
1138
|
+
type: PropType<string | undefined>;
|
|
1139
|
+
validator: (id: unknown) => boolean;
|
|
1140
|
+
default: undefined;
|
|
1141
|
+
};
|
|
1142
|
+
type: {
|
|
1143
|
+
type: PropType<TYPE_2 | `${TYPE_2}`>;
|
|
1144
|
+
validator: (value: string) => boolean;
|
|
1145
|
+
default: TYPE_2;
|
|
1146
|
+
};
|
|
1147
|
+
value: {
|
|
1148
|
+
type: PropType<string | number | null>;
|
|
1149
|
+
default: null;
|
|
1150
|
+
};
|
|
1151
|
+
max: {
|
|
1152
|
+
type: PropType<number | `${number}`>;
|
|
1153
|
+
validator: (value: unknown) => boolean;
|
|
1154
|
+
default: number;
|
|
1155
|
+
};
|
|
1156
|
+
min: {
|
|
1157
|
+
type: PropType<number | `${number}`>;
|
|
1158
|
+
validator: (value: unknown) => boolean;
|
|
1159
|
+
default: number;
|
|
1160
|
+
};
|
|
1161
|
+
step: {
|
|
1162
|
+
type: PropType<number | `${number}` | "any">;
|
|
1163
|
+
validator: (value: unknown) => boolean;
|
|
1164
|
+
default: number;
|
|
1165
|
+
};
|
|
1166
|
+
autocomplete: {
|
|
1167
|
+
type: PropType<"on" | "off">;
|
|
1168
|
+
validator: (value: string) => boolean;
|
|
1169
|
+
default: string;
|
|
1170
|
+
};
|
|
1171
|
+
inputmode: {
|
|
1172
|
+
type: PropType<INPUTMODE | `${INPUTMODE}`>;
|
|
1173
|
+
default: undefined;
|
|
1174
|
+
};
|
|
1175
|
+
maxlength: {
|
|
1176
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1177
|
+
default: undefined;
|
|
1178
|
+
};
|
|
1179
|
+
decimals: {
|
|
1180
|
+
type: PropType<number | `${number}` | "*">;
|
|
1181
|
+
validator: (value: unknown) => boolean;
|
|
1182
|
+
default: "*";
|
|
1183
|
+
};
|
|
1184
|
+
size: {
|
|
1185
|
+
type: PropType<SIZE_5 | `${SIZE_5}`>;
|
|
1186
|
+
default: SIZE_5;
|
|
1187
|
+
};
|
|
1188
|
+
placeholder: {
|
|
1189
|
+
type: StringConstructor;
|
|
1190
|
+
default: string;
|
|
1191
|
+
};
|
|
1192
|
+
prefix: {
|
|
1193
|
+
type: StringConstructor;
|
|
1194
|
+
default: string;
|
|
1195
|
+
};
|
|
1196
|
+
suffix: {
|
|
1197
|
+
type: StringConstructor;
|
|
1198
|
+
default: string;
|
|
1199
|
+
};
|
|
1200
|
+
active: {
|
|
1201
|
+
type: BooleanConstructor;
|
|
1202
|
+
default: boolean;
|
|
1203
|
+
};
|
|
1204
|
+
autofocus: {
|
|
1205
|
+
type: BooleanConstructor;
|
|
1206
|
+
default: boolean;
|
|
1207
|
+
};
|
|
1208
|
+
autoselect: {
|
|
1209
|
+
type: BooleanConstructor;
|
|
1210
|
+
default: boolean;
|
|
1211
|
+
};
|
|
1212
|
+
clearable: {
|
|
1213
|
+
type: BooleanConstructor;
|
|
1214
|
+
default: boolean;
|
|
1215
|
+
};
|
|
1216
|
+
readonly: {
|
|
1217
|
+
type: BooleanConstructor;
|
|
1218
|
+
default: boolean;
|
|
1219
|
+
};
|
|
1220
|
+
required: {
|
|
1221
|
+
type: BooleanConstructor;
|
|
1222
|
+
default: boolean;
|
|
1223
|
+
};
|
|
1224
|
+
disabled: {
|
|
1225
|
+
type: BooleanConstructor;
|
|
1226
|
+
default: boolean;
|
|
1227
|
+
};
|
|
1228
|
+
invalid: {
|
|
1229
|
+
type: BooleanConstructor;
|
|
1230
|
+
default: boolean;
|
|
1231
|
+
};
|
|
1232
|
+
multiline: {
|
|
1233
|
+
type: BooleanConstructor;
|
|
1234
|
+
default: boolean;
|
|
1235
|
+
};
|
|
1236
|
+
rows: {
|
|
1237
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1238
|
+
validator: (value: unknown) => boolean;
|
|
1239
|
+
default: number;
|
|
1240
|
+
};
|
|
1241
|
+
cols: {
|
|
1242
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1243
|
+
validator: (value: unknown) => boolean;
|
|
1244
|
+
default: number;
|
|
1245
|
+
};
|
|
1246
|
+
outlined: {
|
|
1247
|
+
type: BooleanConstructor;
|
|
1248
|
+
default: boolean;
|
|
1249
|
+
};
|
|
1250
|
+
autofit: {
|
|
1251
|
+
type: BooleanConstructor;
|
|
1252
|
+
default: boolean;
|
|
1253
|
+
};
|
|
1254
|
+
inputAttributes: {
|
|
1255
|
+
type: PropType<UiTextboxInputAttributes>;
|
|
1256
|
+
default: () => {};
|
|
1257
|
+
};
|
|
1258
|
+
}>> & Readonly<{
|
|
1259
|
+
onBlur?: ((args_0: Event) => any) | undefined;
|
|
1260
|
+
onChange?: ((args_0: Event) => any) | undefined;
|
|
1261
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
1262
|
+
onInput?: ((args_0: Event) => any) | undefined;
|
|
1263
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
1264
|
+
onPaste?: ((args_0: ClipboardEvent) => any) | undefined;
|
|
1265
|
+
onClear?: (() => any) | undefined;
|
|
1266
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
1267
|
+
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
1268
|
+
}>, {
|
|
1269
|
+
getSelectionStart(): number | null;
|
|
1270
|
+
getSelectionEnd(): number | null;
|
|
1271
|
+
setSelectionRange(start: number, end: number): void;
|
|
1272
|
+
focus(): void;
|
|
1273
|
+
blur(): void;
|
|
1274
|
+
select(): void;
|
|
1275
|
+
insert(value: string): Promise<void>;
|
|
1276
|
+
clear(): void;
|
|
1277
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1278
|
+
blur: (args_0: Event) => any;
|
|
1279
|
+
change: (args_0: Event) => any;
|
|
1280
|
+
focus: (args_0: FocusEvent) => any;
|
|
1281
|
+
input: (args_0: Event) => any;
|
|
1282
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
1283
|
+
paste: (args_0: ClipboardEvent) => any;
|
|
1284
|
+
clear: () => any;
|
|
1285
|
+
"update:value": (value: string | number) => any;
|
|
1286
|
+
"update:focused": (focused: boolean) => any;
|
|
1287
|
+
}, string, {
|
|
1288
|
+
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1289
|
+
invalid: boolean;
|
|
1290
|
+
placeholder: string;
|
|
1291
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
1292
|
+
id: string | undefined;
|
|
1293
|
+
max: number | `${number}`;
|
|
1294
|
+
min: number | `${number}`;
|
|
1295
|
+
step: number | `${number}` | "any";
|
|
1296
|
+
disabled: boolean;
|
|
1297
|
+
outlined: boolean;
|
|
1298
|
+
active: boolean;
|
|
1299
|
+
value: string | number | null;
|
|
1300
|
+
required: boolean;
|
|
1301
|
+
clearable: boolean;
|
|
1302
|
+
readonly: boolean;
|
|
1303
|
+
autocomplete: "off" | "on";
|
|
1304
|
+
inputmode: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE;
|
|
1305
|
+
maxlength: string | number;
|
|
1306
|
+
decimals: number | `${number}` | "*";
|
|
1307
|
+
prefix: string;
|
|
1308
|
+
suffix: string;
|
|
1309
|
+
autofocus: boolean;
|
|
1310
|
+
autoselect: boolean;
|
|
1311
|
+
multiline: boolean;
|
|
1312
|
+
rows: string | number;
|
|
1313
|
+
cols: string | number;
|
|
1314
|
+
autofit: boolean;
|
|
1315
|
+
inputAttributes: UiTextboxInputAttributes;
|
|
1316
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1317
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1318
|
+
created?: (() => void) | (() => void)[];
|
|
1319
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1320
|
+
mounted?: (() => void) | (() => void)[];
|
|
1321
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1322
|
+
updated?: (() => void) | (() => void)[];
|
|
1323
|
+
activated?: (() => void) | (() => void)[];
|
|
1324
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1325
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1326
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1327
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1328
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1329
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1330
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1331
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1332
|
+
};
|
|
1333
|
+
$forceUpdate: () => void;
|
|
1334
|
+
$nextTick: nextTick;
|
|
1335
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
1336
|
+
R,
|
|
1337
|
+
R,
|
|
1338
|
+
OnCleanup
|
|
1339
|
+
]) => any : (...args: [
|
|
1340
|
+
any,
|
|
1341
|
+
any,
|
|
1342
|
+
OnCleanup
|
|
1343
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1344
|
+
} & Readonly<{
|
|
1345
|
+
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1346
|
+
invalid: boolean;
|
|
1347
|
+
placeholder: string;
|
|
1348
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
1349
|
+
id: string | undefined;
|
|
1350
|
+
max: number | `${number}`;
|
|
1351
|
+
min: number | `${number}`;
|
|
1352
|
+
step: number | `${number}` | "any";
|
|
1353
|
+
disabled: boolean;
|
|
1354
|
+
outlined: boolean;
|
|
1355
|
+
active: boolean;
|
|
1356
|
+
value: string | number | null;
|
|
1357
|
+
required: boolean;
|
|
1358
|
+
clearable: boolean;
|
|
1359
|
+
readonly: boolean;
|
|
1360
|
+
autocomplete: "off" | "on";
|
|
1361
|
+
inputmode: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE;
|
|
1362
|
+
maxlength: string | number;
|
|
1363
|
+
decimals: number | `${number}` | "*";
|
|
1364
|
+
prefix: string;
|
|
1365
|
+
suffix: string;
|
|
1366
|
+
autofocus: boolean;
|
|
1367
|
+
autoselect: boolean;
|
|
1368
|
+
multiline: boolean;
|
|
1369
|
+
rows: string | number;
|
|
1370
|
+
cols: string | number;
|
|
1371
|
+
autofit: boolean;
|
|
1372
|
+
inputAttributes: UiTextboxInputAttributes;
|
|
1373
|
+
}> & Omit<Readonly<ExtractPropTypes<{
|
|
1374
|
+
id: {
|
|
1375
|
+
type: PropType<string | undefined>;
|
|
1376
|
+
validator: (id: unknown) => boolean;
|
|
1377
|
+
default: undefined;
|
|
1378
|
+
};
|
|
1379
|
+
type: {
|
|
1380
|
+
type: PropType<TYPE_2 | `${TYPE_2}`>;
|
|
1381
|
+
validator: (value: string) => boolean;
|
|
1382
|
+
default: TYPE_2;
|
|
1383
|
+
};
|
|
1384
|
+
value: {
|
|
1385
|
+
type: PropType<string | number | null>;
|
|
1386
|
+
default: null;
|
|
1387
|
+
};
|
|
1388
|
+
max: {
|
|
1389
|
+
type: PropType<number | `${number}`>;
|
|
1390
|
+
validator: (value: unknown) => boolean;
|
|
1391
|
+
default: number;
|
|
1392
|
+
};
|
|
1393
|
+
min: {
|
|
1394
|
+
type: PropType<number | `${number}`>;
|
|
1395
|
+
validator: (value: unknown) => boolean;
|
|
1396
|
+
default: number;
|
|
1397
|
+
};
|
|
1398
|
+
step: {
|
|
1399
|
+
type: PropType<number | `${number}` | "any">;
|
|
1400
|
+
validator: (value: unknown) => boolean;
|
|
1401
|
+
default: number;
|
|
1402
|
+
};
|
|
1403
|
+
autocomplete: {
|
|
1404
|
+
type: PropType<"on" | "off">;
|
|
1405
|
+
validator: (value: string) => boolean;
|
|
1406
|
+
default: string;
|
|
1407
|
+
};
|
|
1408
|
+
inputmode: {
|
|
1409
|
+
type: PropType<INPUTMODE | `${INPUTMODE}`>;
|
|
1410
|
+
default: undefined;
|
|
1411
|
+
};
|
|
1412
|
+
maxlength: {
|
|
1413
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1414
|
+
default: undefined;
|
|
1415
|
+
};
|
|
1416
|
+
decimals: {
|
|
1417
|
+
type: PropType<number | `${number}` | "*">;
|
|
1418
|
+
validator: (value: unknown) => boolean;
|
|
1419
|
+
default: "*";
|
|
1420
|
+
};
|
|
1421
|
+
size: {
|
|
1422
|
+
type: PropType<SIZE_5 | `${SIZE_5}`>;
|
|
1423
|
+
default: SIZE_5;
|
|
1424
|
+
};
|
|
1425
|
+
placeholder: {
|
|
1426
|
+
type: StringConstructor;
|
|
1427
|
+
default: string;
|
|
1428
|
+
};
|
|
1429
|
+
prefix: {
|
|
1430
|
+
type: StringConstructor;
|
|
1431
|
+
default: string;
|
|
1432
|
+
};
|
|
1433
|
+
suffix: {
|
|
1434
|
+
type: StringConstructor;
|
|
1435
|
+
default: string;
|
|
1436
|
+
};
|
|
1437
|
+
active: {
|
|
1438
|
+
type: BooleanConstructor;
|
|
1439
|
+
default: boolean;
|
|
1440
|
+
};
|
|
1441
|
+
autofocus: {
|
|
1442
|
+
type: BooleanConstructor;
|
|
1443
|
+
default: boolean;
|
|
1444
|
+
};
|
|
1445
|
+
autoselect: {
|
|
1446
|
+
type: BooleanConstructor;
|
|
1447
|
+
default: boolean;
|
|
1448
|
+
};
|
|
1449
|
+
clearable: {
|
|
1450
|
+
type: BooleanConstructor;
|
|
1451
|
+
default: boolean;
|
|
1452
|
+
};
|
|
1453
|
+
readonly: {
|
|
1454
|
+
type: BooleanConstructor;
|
|
1455
|
+
default: boolean;
|
|
1456
|
+
};
|
|
1457
|
+
required: {
|
|
1458
|
+
type: BooleanConstructor;
|
|
1459
|
+
default: boolean;
|
|
1460
|
+
};
|
|
1461
|
+
disabled: {
|
|
1462
|
+
type: BooleanConstructor;
|
|
1463
|
+
default: boolean;
|
|
1464
|
+
};
|
|
1465
|
+
invalid: {
|
|
1466
|
+
type: BooleanConstructor;
|
|
1467
|
+
default: boolean;
|
|
1468
|
+
};
|
|
1469
|
+
multiline: {
|
|
1470
|
+
type: BooleanConstructor;
|
|
1471
|
+
default: boolean;
|
|
1472
|
+
};
|
|
1473
|
+
rows: {
|
|
1474
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1475
|
+
validator: (value: unknown) => boolean;
|
|
1476
|
+
default: number;
|
|
1477
|
+
};
|
|
1478
|
+
cols: {
|
|
1479
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1480
|
+
validator: (value: unknown) => boolean;
|
|
1481
|
+
default: number;
|
|
1482
|
+
};
|
|
1483
|
+
outlined: {
|
|
1484
|
+
type: BooleanConstructor;
|
|
1485
|
+
default: boolean;
|
|
1486
|
+
};
|
|
1487
|
+
autofit: {
|
|
1488
|
+
type: BooleanConstructor;
|
|
1489
|
+
default: boolean;
|
|
1490
|
+
};
|
|
1491
|
+
inputAttributes: {
|
|
1492
|
+
type: PropType<UiTextboxInputAttributes>;
|
|
1493
|
+
default: () => {};
|
|
1494
|
+
};
|
|
1495
|
+
}>> & Readonly<{
|
|
1496
|
+
onBlur?: ((args_0: Event) => any) | undefined;
|
|
1497
|
+
onChange?: ((args_0: Event) => any) | undefined;
|
|
1498
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
1499
|
+
onInput?: ((args_0: Event) => any) | undefined;
|
|
1500
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
1501
|
+
onPaste?: ((args_0: ClipboardEvent) => any) | undefined;
|
|
1502
|
+
onClear?: (() => any) | undefined;
|
|
1503
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
1504
|
+
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
1505
|
+
}>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
|
|
1506
|
+
getSelectionStart(): number | null;
|
|
1507
|
+
getSelectionEnd(): number | null;
|
|
1508
|
+
setSelectionRange(start: number, end: number): void;
|
|
1509
|
+
focus(): void;
|
|
1510
|
+
blur(): void;
|
|
1511
|
+
select(): void;
|
|
1512
|
+
insert(value: string): Promise<void>;
|
|
1513
|
+
clear(): void;
|
|
1514
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1515
|
+
$slots: {
|
|
1516
|
+
prefix?(_: {}): any;
|
|
1517
|
+
'leading-icon'?(_: {}): any;
|
|
1518
|
+
'trailing-icon'?(_: {}): any;
|
|
1519
|
+
suffix?(_: {}): any;
|
|
1520
|
+
};
|
|
1521
|
+
}) | null;
|
|
1522
|
+
}, any, ComponentProvideOptions, {
|
|
1523
|
+
P: {};
|
|
1524
|
+
B: {};
|
|
1525
|
+
D: {};
|
|
1526
|
+
C: {};
|
|
1527
|
+
M: {};
|
|
1528
|
+
Defaults: {};
|
|
1529
|
+
}, Readonly<ExtractPropTypes<{
|
|
1530
|
+
id: {
|
|
1531
|
+
type: PropType<UiPageHeaderProperties["id"]>;
|
|
1532
|
+
validator: (id: unknown) => boolean;
|
|
1533
|
+
default: undefined;
|
|
1534
|
+
};
|
|
1535
|
+
value: {
|
|
1536
|
+
type: PropType<UiPageHeaderProperties["value"]>;
|
|
1537
|
+
default: string;
|
|
1538
|
+
};
|
|
1539
|
+
placeholder: {
|
|
1540
|
+
type: StringConstructor;
|
|
1541
|
+
default: string;
|
|
1542
|
+
};
|
|
1543
|
+
error: {
|
|
1544
|
+
type: StringConstructor;
|
|
1545
|
+
default: string;
|
|
1546
|
+
};
|
|
1547
|
+
editable: {
|
|
1548
|
+
type: BooleanConstructor;
|
|
1549
|
+
default: boolean;
|
|
1550
|
+
};
|
|
1551
|
+
autofocus: {
|
|
1552
|
+
type: BooleanConstructor;
|
|
1553
|
+
default: boolean;
|
|
1554
|
+
};
|
|
1555
|
+
autoselect: {
|
|
1556
|
+
type: BooleanConstructor;
|
|
1557
|
+
default: boolean;
|
|
1558
|
+
};
|
|
1559
|
+
readonly: {
|
|
1560
|
+
type: BooleanConstructor;
|
|
1561
|
+
default: boolean;
|
|
1562
|
+
};
|
|
1563
|
+
disabled: {
|
|
1564
|
+
type: BooleanConstructor;
|
|
1565
|
+
default: boolean;
|
|
1566
|
+
};
|
|
1567
|
+
invalid: {
|
|
1568
|
+
type: BooleanConstructor;
|
|
1569
|
+
default: boolean;
|
|
1570
|
+
};
|
|
1571
|
+
}>> & Readonly<{
|
|
1572
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
1573
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
1574
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1575
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1576
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
1577
|
+
}>, {
|
|
1578
|
+
focus(): void;
|
|
1579
|
+
blur(): void;
|
|
1580
|
+
}, {}, {}, {}, {
|
|
1581
|
+
error: string;
|
|
1582
|
+
invalid: boolean;
|
|
1583
|
+
placeholder: string;
|
|
1584
|
+
id: string | undefined;
|
|
1585
|
+
disabled: boolean;
|
|
1586
|
+
value: string | number | null | undefined;
|
|
1587
|
+
readonly: boolean;
|
|
1588
|
+
autofocus: boolean;
|
|
1589
|
+
autoselect: boolean;
|
|
1590
|
+
editable: boolean;
|
|
1591
|
+
}> | null;
|
|
1592
|
+
};
|
|
1593
|
+
rootEl: any;
|
|
1594
|
+
};
|
|
1595
|
+
declare function __VLS_template_3(): {
|
|
206
1596
|
attrs: Partial<{}>;
|
|
207
1597
|
slots: {
|
|
208
1598
|
default?(_: {}): any;
|
|
@@ -210,7 +1600,7 @@ declare function __VLS_template_2(): {
|
|
|
210
1600
|
refs: {};
|
|
211
1601
|
rootEl: any;
|
|
212
1602
|
};
|
|
213
|
-
declare function
|
|
1603
|
+
declare function __VLS_template_4(): {
|
|
214
1604
|
attrs: Partial<{}>;
|
|
215
1605
|
slots: {
|
|
216
1606
|
default?(_: {}): any;
|
|
@@ -221,6 +1611,7 @@ declare function __VLS_template_3(): {
|
|
|
221
1611
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
222
1612
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
223
1613
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
1614
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
224
1615
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
225
1616
|
new (): {
|
|
226
1617
|
$slots: S;
|
|
@@ -236,6 +1627,11 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
|
236
1627
|
$slots: S;
|
|
237
1628
|
};
|
|
238
1629
|
};
|
|
1630
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1631
|
+
new (): {
|
|
1632
|
+
$slots: S;
|
|
1633
|
+
};
|
|
1634
|
+
};
|
|
239
1635
|
declare type Adaptation = 'flip' | 'shift';
|
|
240
1636
|
export declare enum ALIGN {
|
|
241
1637
|
LEFT = "left",
|
|
@@ -246,29 +1642,37 @@ declare enum ALIGN_2 {
|
|
|
246
1642
|
LEFT = "left",
|
|
247
1643
|
RIGHT = "right"
|
|
248
1644
|
}
|
|
249
|
-
declare enum APPEARANCE {
|
|
1645
|
+
export declare enum APPEARANCE {
|
|
1646
|
+
DEFAULT = "default",
|
|
1647
|
+
SECTION = "section"
|
|
1648
|
+
}
|
|
1649
|
+
declare enum APPEARANCE_2 {
|
|
250
1650
|
OUTLINED = "outlined",
|
|
251
1651
|
PRIMARY = "primary",
|
|
252
1652
|
SECONDARY = "secondary",
|
|
253
1653
|
TERTIARY = "tertiary"
|
|
254
1654
|
}
|
|
255
|
-
declare enum
|
|
1655
|
+
declare enum APPEARANCE_3 {
|
|
256
1656
|
SINGLE = "single",
|
|
257
1657
|
DOUBLE = "double"
|
|
258
1658
|
}
|
|
259
|
-
declare enum
|
|
1659
|
+
declare enum APPEARANCE_4 {
|
|
260
1660
|
BREADCRUMBS = "breadcrumbs",
|
|
261
1661
|
DEFAULT = "default",
|
|
262
1662
|
NAVIGATION = "navigation",
|
|
263
1663
|
NAVIGATION_ANCHOR = "navigation-anchor",
|
|
264
1664
|
TITLE = "title"
|
|
265
1665
|
}
|
|
266
|
-
declare enum
|
|
1666
|
+
declare enum APPEARANCE_5 {
|
|
267
1667
|
ALERT = "alert",
|
|
268
1668
|
DIALOG = "dialog",
|
|
269
1669
|
POPUP = "popup",
|
|
270
1670
|
HINT = "hint"
|
|
271
1671
|
}
|
|
1672
|
+
declare enum APPEARANCE_6 {
|
|
1673
|
+
TEXT = "text",
|
|
1674
|
+
FILLED = "filled"
|
|
1675
|
+
}
|
|
272
1676
|
export declare const asRowAttrs: <T>(value: RowAttrsGetter<T>) => RowAttrsGetter<T>;
|
|
273
1677
|
export declare const asRowClass: <T>(value: RowClassGetter<T>) => RowClassGetter<T>;
|
|
274
1678
|
export declare const byRowKey: <T, K extends keyof T>(key: K) => RowKeyGetter<T>;
|
|
@@ -346,6 +1750,7 @@ declare enum DIRECTION_3 {
|
|
|
346
1750
|
HORIZONTAL = "horizontal",
|
|
347
1751
|
VERTICAL = "vertical"
|
|
348
1752
|
}
|
|
1753
|
+
export declare type EqualPredicate = (a: unknown, b: unknown) => boolean;
|
|
349
1754
|
declare type FloatingOptions = {
|
|
350
1755
|
placement?: PlacementLiteral | PlacementOptions;
|
|
351
1756
|
offsetMainAxis?: number | string;
|
|
@@ -377,6 +1782,12 @@ declare type MODAL_WINDOW_ROLE = 'dialog' | 'alertdialog';
|
|
|
377
1782
|
export declare const ModalPlugin: Plugin_2;
|
|
378
1783
|
declare type Numeric = number | string;
|
|
379
1784
|
declare type Option_2 = {
|
|
1785
|
+
value: unknown;
|
|
1786
|
+
label: string;
|
|
1787
|
+
disabled?: boolean;
|
|
1788
|
+
};
|
|
1789
|
+
export { Option_2 as Option };
|
|
1790
|
+
declare type Option_3 = {
|
|
380
1791
|
id: string;
|
|
381
1792
|
value: unknown;
|
|
382
1793
|
label: string;
|
|
@@ -438,33 +1849,49 @@ declare type ShowingOptions = {
|
|
|
438
1849
|
disabled?: boolean;
|
|
439
1850
|
container?: string | null;
|
|
440
1851
|
};
|
|
441
|
-
declare enum SIZE {
|
|
442
|
-
XS = "xs",
|
|
1852
|
+
export declare enum SIZE {
|
|
443
1853
|
SM = "sm",
|
|
1854
|
+
MD = "md",
|
|
444
1855
|
LG = "lg"
|
|
445
1856
|
}
|
|
446
1857
|
declare enum SIZE_10 {
|
|
1858
|
+
SM = "sm",
|
|
1859
|
+
MD = "md",
|
|
1860
|
+
LG = "lg"
|
|
1861
|
+
}
|
|
1862
|
+
declare enum SIZE_11 {
|
|
1863
|
+
LG = "lg",
|
|
1864
|
+
MD = "md",
|
|
1865
|
+
SM = "sm",
|
|
1866
|
+
XS = "xs"
|
|
1867
|
+
}
|
|
1868
|
+
declare enum SIZE_12 {
|
|
447
1869
|
SM = "sm",
|
|
448
1870
|
MD = "md"
|
|
449
1871
|
}
|
|
450
1872
|
declare enum SIZE_2 {
|
|
1873
|
+
XS = "xs",
|
|
1874
|
+
SM = "sm",
|
|
1875
|
+
LG = "lg"
|
|
1876
|
+
}
|
|
1877
|
+
declare enum SIZE_3 {
|
|
451
1878
|
LG = "lg",
|
|
452
1879
|
MD = "md",
|
|
453
1880
|
SM = "sm",
|
|
454
1881
|
XS = "xs"
|
|
455
1882
|
}
|
|
456
|
-
declare enum
|
|
1883
|
+
declare enum SIZE_4 {
|
|
457
1884
|
SM = "sm",
|
|
458
1885
|
MD = "md"
|
|
459
1886
|
}
|
|
460
|
-
declare enum
|
|
1887
|
+
declare enum SIZE_5 {
|
|
461
1888
|
XS = "xs",
|
|
462
1889
|
SM = "sm",
|
|
463
1890
|
MD = "md",
|
|
464
1891
|
LG = "lg",
|
|
465
1892
|
XL = "xl"
|
|
466
1893
|
}
|
|
467
|
-
declare enum
|
|
1894
|
+
declare enum SIZE_6 {
|
|
468
1895
|
ARTICLE = "article",
|
|
469
1896
|
BODY = "body",
|
|
470
1897
|
PARAGRAPH = "paragraph",
|
|
@@ -473,27 +1900,21 @@ declare enum SIZE_5 {
|
|
|
473
1900
|
TITLE01 = "title-01",
|
|
474
1901
|
TITLE02 = "title-02"
|
|
475
1902
|
}
|
|
476
|
-
declare enum
|
|
1903
|
+
declare enum SIZE_7 {
|
|
477
1904
|
XS = "xs",
|
|
478
1905
|
SM = "sm",
|
|
479
1906
|
MD = "md",
|
|
480
1907
|
LG = "lg"
|
|
481
1908
|
}
|
|
482
|
-
declare enum
|
|
1909
|
+
declare enum SIZE_8 {
|
|
483
1910
|
LG = "lg",
|
|
484
1911
|
SM = "sm"
|
|
485
1912
|
}
|
|
486
|
-
declare enum
|
|
1913
|
+
declare enum SIZE_9 {
|
|
487
1914
|
XS = "xs",
|
|
488
1915
|
SM = "sm",
|
|
489
1916
|
XL = "xl"
|
|
490
1917
|
}
|
|
491
|
-
declare enum SIZE_9 {
|
|
492
|
-
LG = "lg",
|
|
493
|
-
MD = "md",
|
|
494
|
-
SM = "sm",
|
|
495
|
-
XS = "xs"
|
|
496
|
-
}
|
|
497
1918
|
declare enum STATUS {
|
|
498
1919
|
NONE = "",
|
|
499
1920
|
BUSY = "busy",
|
|
@@ -505,6 +1926,22 @@ declare enum SYNCHRONIZATION {
|
|
|
505
1926
|
INSTANT = "instant",
|
|
506
1927
|
CONFIRMED = "confirmed"
|
|
507
1928
|
}
|
|
1929
|
+
export declare type TabFocusDirection = 'next' | 'prev' | 'first' | 'last';
|
|
1930
|
+
export declare type TabItem = {
|
|
1931
|
+
id: string;
|
|
1932
|
+
label?: string;
|
|
1933
|
+
counter?: string | number | null;
|
|
1934
|
+
disabled?: boolean;
|
|
1935
|
+
iconOnly?: boolean;
|
|
1936
|
+
};
|
|
1937
|
+
export declare type TabLayout = {
|
|
1938
|
+
headIds: string[];
|
|
1939
|
+
menuIds: string[];
|
|
1940
|
+
};
|
|
1941
|
+
export declare type TabMoveFocusIntent = {
|
|
1942
|
+
id: string;
|
|
1943
|
+
direction: TabFocusDirection;
|
|
1944
|
+
};
|
|
508
1945
|
declare type TimeArray = [
|
|
509
1946
|
number,
|
|
510
1947
|
number
|
|
@@ -561,7 +1998,7 @@ declare type UiAvatarListProperties = {
|
|
|
561
1998
|
src: string;
|
|
562
1999
|
name: string;
|
|
563
2000
|
}>;
|
|
564
|
-
size?:
|
|
2001
|
+
size?: SIZE_2;
|
|
565
2002
|
};
|
|
566
2003
|
declare type UiAvatarProperties = {
|
|
567
2004
|
src?: string;
|
|
@@ -570,7 +2007,7 @@ declare type UiAvatarProperties = {
|
|
|
570
2007
|
status?: STATUS;
|
|
571
2008
|
vip?: boolean;
|
|
572
2009
|
bad?: boolean;
|
|
573
|
-
size?:
|
|
2010
|
+
size?: SIZE_2;
|
|
574
2011
|
optimize?: boolean | {
|
|
575
2012
|
resize?: Dimensions;
|
|
576
2013
|
crop?: Dimensions;
|
|
@@ -585,9 +2022,9 @@ declare type UiButtonMethods = {
|
|
|
585
2022
|
declare type UiButtonProperties = {
|
|
586
2023
|
type?: HTMLButtonElement['type'];
|
|
587
2024
|
href?: HTMLAnchorElement['href'] | undefined;
|
|
588
|
-
appearance?:
|
|
2025
|
+
appearance?: APPEARANCE_2 | `${APPEARANCE_2}`;
|
|
589
2026
|
variant?: VARIANT_2 | `${VARIANT_2}`;
|
|
590
|
-
size?:
|
|
2027
|
+
size?: SIZE_3 | `${SIZE_3}`;
|
|
591
2028
|
active?: boolean;
|
|
592
2029
|
disabled?: boolean;
|
|
593
2030
|
locked?: boolean;
|
|
@@ -599,7 +2036,7 @@ declare type UiCalendarMethods = {
|
|
|
599
2036
|
declare type UiCalendarProperties = {
|
|
600
2037
|
value?: null | Date | Date[];
|
|
601
2038
|
type?: TYPE | `${TYPE}`;
|
|
602
|
-
appearance?:
|
|
2039
|
+
appearance?: APPEARANCE_3 | `${APPEARANCE_3}`;
|
|
603
2040
|
firstDayOfWeek?: number;
|
|
604
2041
|
minDate?: Date | null;
|
|
605
2042
|
maxDate?: Date | null;
|
|
@@ -643,7 +2080,7 @@ declare type UiCollapseBoxProperties = {
|
|
|
643
2080
|
collapseDuration?: number | string;
|
|
644
2081
|
disabled?: boolean;
|
|
645
2082
|
color?: COLOR_2 | `${COLOR_2}`;
|
|
646
|
-
iconSize?:
|
|
2083
|
+
iconSize?: SIZE_4 | `${SIZE_4}`;
|
|
647
2084
|
bordered?: boolean;
|
|
648
2085
|
};
|
|
649
2086
|
export declare const UiCollapseGroup: DefineComponent<UiCollapseGroupProperties, UiCollapseGroupMethods>;
|
|
@@ -665,7 +2102,7 @@ declare type UiCollapseProperties = {
|
|
|
665
2102
|
export declare const UiCopyButton: DefineComponent<UiCopyButtonProperties>;
|
|
666
2103
|
declare type UiCopyButtonProperties = {
|
|
667
2104
|
text: string;
|
|
668
|
-
size:
|
|
2105
|
+
size: SIZE_3;
|
|
669
2106
|
tooltipOptions?: TooltipOptions;
|
|
670
2107
|
};
|
|
671
2108
|
export declare const UiDate: DefineComponent<UiDateProperties>;
|
|
@@ -737,8 +2174,8 @@ export declare const UiLink: DefineComponent<UiLinkProperties>;
|
|
|
737
2174
|
declare type UiLinkProperties = {
|
|
738
2175
|
href?: string;
|
|
739
2176
|
external?: boolean;
|
|
740
|
-
appearance?:
|
|
741
|
-
size?:
|
|
2177
|
+
appearance?: APPEARANCE_4 | `${APPEARANCE_4}`;
|
|
2178
|
+
size?: SIZE_6 | `${SIZE_6}`;
|
|
742
2179
|
light?: boolean;
|
|
743
2180
|
accent?: boolean;
|
|
744
2181
|
dotted?: boolean;
|
|
@@ -762,7 +2199,7 @@ declare type UiMenuItemProperties = {
|
|
|
762
2199
|
danger?: boolean;
|
|
763
2200
|
ticker?: boolean;
|
|
764
2201
|
simple?: boolean;
|
|
765
|
-
size?: `${
|
|
2202
|
+
size?: `${SIZE_7}`;
|
|
766
2203
|
disabled?: boolean;
|
|
767
2204
|
};
|
|
768
2205
|
export declare const UiModalSidebar: DefineComponent<UiModalSidebarProperties>;
|
|
@@ -774,7 +2211,7 @@ declare type UiModalSidebarProperties = {
|
|
|
774
2211
|
disposeTimeout?: number | string | null;
|
|
775
2212
|
fixed?: boolean;
|
|
776
2213
|
scrolling?: SCROLLING | `${SCROLLING}`;
|
|
777
|
-
size?:
|
|
2214
|
+
size?: SIZE_8 | `${SIZE_8}`;
|
|
778
2215
|
role?: MODAL_SIDEBAR_ROLE;
|
|
779
2216
|
};
|
|
780
2217
|
export declare const UiModalWindow: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -787,7 +2224,7 @@ declare type UiModalWindowSurfaceProperties = {
|
|
|
787
2224
|
id?: string;
|
|
788
2225
|
opened?: boolean;
|
|
789
2226
|
closable?: boolean;
|
|
790
|
-
appearance?:
|
|
2227
|
+
appearance?: APPEARANCE_5 | `${APPEARANCE_5}`;
|
|
791
2228
|
fullscreen?: boolean;
|
|
792
2229
|
responsive?: boolean;
|
|
793
2230
|
disposeTimeout?: number | string | null;
|
|
@@ -814,14 +2251,639 @@ declare type UiNumberStepperProperties = {
|
|
|
814
2251
|
readonly?: boolean;
|
|
815
2252
|
required?: boolean;
|
|
816
2253
|
direction?: DIRECTION_3 | `${DIRECTION_3}`;
|
|
817
|
-
size?:
|
|
2254
|
+
size?: SIZE_5 | `${SIZE_5}`;
|
|
818
2255
|
outlined?: boolean;
|
|
819
2256
|
textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
|
|
820
2257
|
};
|
|
2258
|
+
export declare const UiPageHeader: DefineComponent<UiPageHeaderProperties, UiPageHeaderMethods>;
|
|
2259
|
+
export declare const UiPageHeaderLayout: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2260
|
+
declare type UiPageHeaderMethods = {
|
|
2261
|
+
focus(): void;
|
|
2262
|
+
blur(): void;
|
|
2263
|
+
};
|
|
2264
|
+
declare type UiPageHeaderProperties = {
|
|
2265
|
+
id?: string;
|
|
2266
|
+
value?: string | number | null;
|
|
2267
|
+
placeholder?: string;
|
|
2268
|
+
error?: string;
|
|
2269
|
+
editable?: boolean;
|
|
2270
|
+
autofocus?: boolean;
|
|
2271
|
+
autoselect?: boolean;
|
|
2272
|
+
readonly?: boolean;
|
|
2273
|
+
disabled?: boolean;
|
|
2274
|
+
invalid?: boolean;
|
|
2275
|
+
};
|
|
2276
|
+
export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
2277
|
+
/** Уникальный идентификатор корневого элемента */
|
|
2278
|
+
id: {
|
|
2279
|
+
type: PropType<UiPageHeaderProperties["id"]>;
|
|
2280
|
+
validator: (id: unknown) => boolean;
|
|
2281
|
+
default: undefined;
|
|
2282
|
+
};
|
|
2283
|
+
/** Текст заголовка */
|
|
2284
|
+
value: {
|
|
2285
|
+
type: PropType<UiPageHeaderProperties["value"]>;
|
|
2286
|
+
default: string;
|
|
2287
|
+
};
|
|
2288
|
+
/** Плейсхолдер, отображаемый при отсутствии текста */
|
|
2289
|
+
placeholder: {
|
|
2290
|
+
type: StringConstructor;
|
|
2291
|
+
default: string;
|
|
2292
|
+
};
|
|
2293
|
+
/** Текст ошибки для tooltip при пустом невалидном заголовке */
|
|
2294
|
+
error: {
|
|
2295
|
+
type: StringConstructor;
|
|
2296
|
+
default: string;
|
|
2297
|
+
};
|
|
2298
|
+
/** Разрешает перейти в режим редактирования по клику */
|
|
2299
|
+
editable: {
|
|
2300
|
+
type: BooleanConstructor;
|
|
2301
|
+
default: boolean;
|
|
2302
|
+
};
|
|
2303
|
+
/** Автоматически переводит фокус во встроенный UiTextbox при монтировании */
|
|
2304
|
+
autofocus: {
|
|
2305
|
+
type: BooleanConstructor;
|
|
2306
|
+
default: boolean;
|
|
2307
|
+
};
|
|
2308
|
+
/** Автоматически выделяет текст заголовка при фокусе на встроенном поле */
|
|
2309
|
+
autoselect: {
|
|
2310
|
+
type: BooleanConstructor;
|
|
2311
|
+
default: boolean;
|
|
2312
|
+
};
|
|
2313
|
+
/** Делает встроенное поле только для чтения */
|
|
2314
|
+
readonly: {
|
|
2315
|
+
type: BooleanConstructor;
|
|
2316
|
+
default: boolean;
|
|
2317
|
+
};
|
|
2318
|
+
/** Полностью отключает заголовок */
|
|
2319
|
+
disabled: {
|
|
2320
|
+
type: BooleanConstructor;
|
|
2321
|
+
default: boolean;
|
|
2322
|
+
};
|
|
2323
|
+
/** Помечает встроенное поле как невалидное */
|
|
2324
|
+
invalid: {
|
|
2325
|
+
type: BooleanConstructor;
|
|
2326
|
+
default: boolean;
|
|
2327
|
+
};
|
|
2328
|
+
}>, {
|
|
2329
|
+
focus(): void;
|
|
2330
|
+
blur(): void;
|
|
2331
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2332
|
+
blur: (event: Event) => any;
|
|
2333
|
+
change: (event: Event) => any;
|
|
2334
|
+
focus: (event: FocusEvent) => any;
|
|
2335
|
+
keydown: (event: KeyboardEvent) => any;
|
|
2336
|
+
"update:value": (value: string | number) => any;
|
|
2337
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
2338
|
+
/** Уникальный идентификатор корневого элемента */
|
|
2339
|
+
id: {
|
|
2340
|
+
type: PropType<UiPageHeaderProperties["id"]>;
|
|
2341
|
+
validator: (id: unknown) => boolean;
|
|
2342
|
+
default: undefined;
|
|
2343
|
+
};
|
|
2344
|
+
/** Текст заголовка */
|
|
2345
|
+
value: {
|
|
2346
|
+
type: PropType<UiPageHeaderProperties["value"]>;
|
|
2347
|
+
default: string;
|
|
2348
|
+
};
|
|
2349
|
+
/** Плейсхолдер, отображаемый при отсутствии текста */
|
|
2350
|
+
placeholder: {
|
|
2351
|
+
type: StringConstructor;
|
|
2352
|
+
default: string;
|
|
2353
|
+
};
|
|
2354
|
+
/** Текст ошибки для tooltip при пустом невалидном заголовке */
|
|
2355
|
+
error: {
|
|
2356
|
+
type: StringConstructor;
|
|
2357
|
+
default: string;
|
|
2358
|
+
};
|
|
2359
|
+
/** Разрешает перейти в режим редактирования по клику */
|
|
2360
|
+
editable: {
|
|
2361
|
+
type: BooleanConstructor;
|
|
2362
|
+
default: boolean;
|
|
2363
|
+
};
|
|
2364
|
+
/** Автоматически переводит фокус во встроенный UiTextbox при монтировании */
|
|
2365
|
+
autofocus: {
|
|
2366
|
+
type: BooleanConstructor;
|
|
2367
|
+
default: boolean;
|
|
2368
|
+
};
|
|
2369
|
+
/** Автоматически выделяет текст заголовка при фокусе на встроенном поле */
|
|
2370
|
+
autoselect: {
|
|
2371
|
+
type: BooleanConstructor;
|
|
2372
|
+
default: boolean;
|
|
2373
|
+
};
|
|
2374
|
+
/** Делает встроенное поле только для чтения */
|
|
2375
|
+
readonly: {
|
|
2376
|
+
type: BooleanConstructor;
|
|
2377
|
+
default: boolean;
|
|
2378
|
+
};
|
|
2379
|
+
/** Полностью отключает заголовок */
|
|
2380
|
+
disabled: {
|
|
2381
|
+
type: BooleanConstructor;
|
|
2382
|
+
default: boolean;
|
|
2383
|
+
};
|
|
2384
|
+
/** Помечает встроенное поле как невалидное */
|
|
2385
|
+
invalid: {
|
|
2386
|
+
type: BooleanConstructor;
|
|
2387
|
+
default: boolean;
|
|
2388
|
+
};
|
|
2389
|
+
}>> & Readonly<{
|
|
2390
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
2391
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
2392
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
2393
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
2394
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
2395
|
+
}>, {
|
|
2396
|
+
error: string;
|
|
2397
|
+
invalid: boolean;
|
|
2398
|
+
placeholder: string;
|
|
2399
|
+
id: string | undefined;
|
|
2400
|
+
disabled: boolean;
|
|
2401
|
+
value: string | number | null | undefined;
|
|
2402
|
+
readonly: boolean;
|
|
2403
|
+
autofocus: boolean;
|
|
2404
|
+
autoselect: boolean;
|
|
2405
|
+
editable: boolean;
|
|
2406
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
2407
|
+
textbox: ({
|
|
2408
|
+
$: ComponentInternalInstance;
|
|
2409
|
+
$data: {};
|
|
2410
|
+
$props: Partial<{
|
|
2411
|
+
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2412
|
+
invalid: boolean;
|
|
2413
|
+
placeholder: string;
|
|
2414
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
2415
|
+
id: string | undefined;
|
|
2416
|
+
max: number | `${number}`;
|
|
2417
|
+
min: number | `${number}`;
|
|
2418
|
+
step: number | `${number}` | "any";
|
|
2419
|
+
disabled: boolean;
|
|
2420
|
+
outlined: boolean;
|
|
2421
|
+
active: boolean;
|
|
2422
|
+
value: string | number | null;
|
|
2423
|
+
required: boolean;
|
|
2424
|
+
clearable: boolean;
|
|
2425
|
+
readonly: boolean;
|
|
2426
|
+
autocomplete: "off" | "on";
|
|
2427
|
+
inputmode: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE;
|
|
2428
|
+
maxlength: string | number;
|
|
2429
|
+
decimals: number | `${number}` | "*";
|
|
2430
|
+
prefix: string;
|
|
2431
|
+
suffix: string;
|
|
2432
|
+
autofocus: boolean;
|
|
2433
|
+
autoselect: boolean;
|
|
2434
|
+
multiline: boolean;
|
|
2435
|
+
rows: string | number;
|
|
2436
|
+
cols: string | number;
|
|
2437
|
+
autofit: boolean;
|
|
2438
|
+
inputAttributes: UiTextboxInputAttributes;
|
|
2439
|
+
}> & Omit<{
|
|
2440
|
+
readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2441
|
+
readonly invalid: boolean;
|
|
2442
|
+
readonly placeholder: string;
|
|
2443
|
+
readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
2444
|
+
readonly max: number | `${number}`;
|
|
2445
|
+
readonly min: number | `${number}`;
|
|
2446
|
+
readonly step: number | `${number}` | "any";
|
|
2447
|
+
readonly disabled: boolean;
|
|
2448
|
+
readonly outlined: boolean;
|
|
2449
|
+
readonly active: boolean;
|
|
2450
|
+
readonly value: string | number | null;
|
|
2451
|
+
readonly required: boolean;
|
|
2452
|
+
readonly clearable: boolean;
|
|
2453
|
+
readonly readonly: boolean;
|
|
2454
|
+
readonly autocomplete: "off" | "on";
|
|
2455
|
+
readonly decimals: number | `${number}` | "*";
|
|
2456
|
+
readonly prefix: string;
|
|
2457
|
+
readonly suffix: string;
|
|
2458
|
+
readonly autofocus: boolean;
|
|
2459
|
+
readonly autoselect: boolean;
|
|
2460
|
+
readonly multiline: boolean;
|
|
2461
|
+
readonly rows: string | number;
|
|
2462
|
+
readonly cols: string | number;
|
|
2463
|
+
readonly autofit: boolean;
|
|
2464
|
+
readonly inputAttributes: UiTextboxInputAttributes;
|
|
2465
|
+
readonly id?: string | undefined;
|
|
2466
|
+
readonly inputmode?: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE | undefined;
|
|
2467
|
+
readonly maxlength?: string | number | undefined;
|
|
2468
|
+
readonly onBlur?: ((args_0: Event) => any) | undefined;
|
|
2469
|
+
readonly onChange?: ((args_0: Event) => any) | undefined;
|
|
2470
|
+
readonly onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
2471
|
+
readonly onInput?: ((args_0: Event) => any) | undefined;
|
|
2472
|
+
readonly onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
2473
|
+
readonly onPaste?: ((args_0: ClipboardEvent) => any) | undefined;
|
|
2474
|
+
readonly onClear?: (() => any) | undefined;
|
|
2475
|
+
readonly "onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
2476
|
+
readonly "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
2477
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes">;
|
|
2478
|
+
$attrs: {
|
|
2479
|
+
[x: string]: unknown;
|
|
2480
|
+
};
|
|
2481
|
+
$refs: {
|
|
2482
|
+
[x: string]: unknown;
|
|
2483
|
+
} & {
|
|
2484
|
+
root: HTMLSpanElement;
|
|
2485
|
+
textbox: HTMLTextAreaElement;
|
|
2486
|
+
placeholderRef: HTMLSpanElement;
|
|
2487
|
+
};
|
|
2488
|
+
$slots: Readonly<{
|
|
2489
|
+
[name: string]: Slot<any> | undefined;
|
|
2490
|
+
}>;
|
|
2491
|
+
$root: ComponentPublicInstance | null;
|
|
2492
|
+
$parent: ComponentPublicInstance | null;
|
|
2493
|
+
$host: Element | null;
|
|
2494
|
+
$emit: ((event: "blur", args_0: Event) => void) & ((event: "change", args_0: Event) => void) & ((event: "focus", args_0: FocusEvent) => void) & ((event: "input", args_0: Event) => void) & ((event: "keydown", args_0: KeyboardEvent) => void) & ((event: "paste", args_0: ClipboardEvent) => void) & ((event: "clear") => void) & ((event: "update:value", value: string | number) => void) & ((event: "update:focused", focused: boolean) => void);
|
|
2495
|
+
$el: HTMLSpanElement;
|
|
2496
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
2497
|
+
id: {
|
|
2498
|
+
type: PropType<string | undefined>;
|
|
2499
|
+
validator: (id: unknown) => boolean;
|
|
2500
|
+
default: undefined;
|
|
2501
|
+
};
|
|
2502
|
+
type: {
|
|
2503
|
+
type: PropType<TYPE_2 | `${TYPE_2}`>;
|
|
2504
|
+
validator: (value: string) => boolean;
|
|
2505
|
+
default: TYPE_2;
|
|
2506
|
+
};
|
|
2507
|
+
value: {
|
|
2508
|
+
type: PropType<string | number | null>;
|
|
2509
|
+
default: null;
|
|
2510
|
+
};
|
|
2511
|
+
max: {
|
|
2512
|
+
type: PropType<number | `${number}`>;
|
|
2513
|
+
validator: (value: unknown) => boolean;
|
|
2514
|
+
default: number;
|
|
2515
|
+
};
|
|
2516
|
+
min: {
|
|
2517
|
+
type: PropType<number | `${number}`>;
|
|
2518
|
+
validator: (value: unknown) => boolean;
|
|
2519
|
+
default: number;
|
|
2520
|
+
};
|
|
2521
|
+
step: {
|
|
2522
|
+
type: PropType<number | `${number}` | "any">;
|
|
2523
|
+
validator: (value: unknown) => boolean;
|
|
2524
|
+
default: number;
|
|
2525
|
+
};
|
|
2526
|
+
autocomplete: {
|
|
2527
|
+
type: PropType<"on" | "off">;
|
|
2528
|
+
validator: (value: string) => boolean;
|
|
2529
|
+
default: string;
|
|
2530
|
+
};
|
|
2531
|
+
inputmode: {
|
|
2532
|
+
type: PropType<INPUTMODE | `${INPUTMODE}`>;
|
|
2533
|
+
default: undefined;
|
|
2534
|
+
};
|
|
2535
|
+
maxlength: {
|
|
2536
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2537
|
+
default: undefined;
|
|
2538
|
+
};
|
|
2539
|
+
decimals: {
|
|
2540
|
+
type: PropType<number | `${number}` | "*">;
|
|
2541
|
+
validator: (value: unknown) => boolean;
|
|
2542
|
+
default: "*";
|
|
2543
|
+
};
|
|
2544
|
+
size: {
|
|
2545
|
+
type: PropType<SIZE_5 | `${SIZE_5}`>;
|
|
2546
|
+
default: SIZE_5;
|
|
2547
|
+
};
|
|
2548
|
+
placeholder: {
|
|
2549
|
+
type: StringConstructor;
|
|
2550
|
+
default: string;
|
|
2551
|
+
};
|
|
2552
|
+
prefix: {
|
|
2553
|
+
type: StringConstructor;
|
|
2554
|
+
default: string;
|
|
2555
|
+
};
|
|
2556
|
+
suffix: {
|
|
2557
|
+
type: StringConstructor;
|
|
2558
|
+
default: string;
|
|
2559
|
+
};
|
|
2560
|
+
active: {
|
|
2561
|
+
type: BooleanConstructor;
|
|
2562
|
+
default: boolean;
|
|
2563
|
+
};
|
|
2564
|
+
autofocus: {
|
|
2565
|
+
type: BooleanConstructor;
|
|
2566
|
+
default: boolean;
|
|
2567
|
+
};
|
|
2568
|
+
autoselect: {
|
|
2569
|
+
type: BooleanConstructor;
|
|
2570
|
+
default: boolean;
|
|
2571
|
+
};
|
|
2572
|
+
clearable: {
|
|
2573
|
+
type: BooleanConstructor;
|
|
2574
|
+
default: boolean;
|
|
2575
|
+
};
|
|
2576
|
+
readonly: {
|
|
2577
|
+
type: BooleanConstructor;
|
|
2578
|
+
default: boolean;
|
|
2579
|
+
};
|
|
2580
|
+
required: {
|
|
2581
|
+
type: BooleanConstructor;
|
|
2582
|
+
default: boolean;
|
|
2583
|
+
};
|
|
2584
|
+
disabled: {
|
|
2585
|
+
type: BooleanConstructor;
|
|
2586
|
+
default: boolean;
|
|
2587
|
+
};
|
|
2588
|
+
invalid: {
|
|
2589
|
+
type: BooleanConstructor;
|
|
2590
|
+
default: boolean;
|
|
2591
|
+
};
|
|
2592
|
+
multiline: {
|
|
2593
|
+
type: BooleanConstructor;
|
|
2594
|
+
default: boolean;
|
|
2595
|
+
};
|
|
2596
|
+
rows: {
|
|
2597
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2598
|
+
validator: (value: unknown) => boolean;
|
|
2599
|
+
default: number;
|
|
2600
|
+
};
|
|
2601
|
+
cols: {
|
|
2602
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2603
|
+
validator: (value: unknown) => boolean;
|
|
2604
|
+
default: number;
|
|
2605
|
+
};
|
|
2606
|
+
outlined: {
|
|
2607
|
+
type: BooleanConstructor;
|
|
2608
|
+
default: boolean;
|
|
2609
|
+
};
|
|
2610
|
+
autofit: {
|
|
2611
|
+
type: BooleanConstructor;
|
|
2612
|
+
default: boolean;
|
|
2613
|
+
};
|
|
2614
|
+
inputAttributes: {
|
|
2615
|
+
type: PropType<UiTextboxInputAttributes>;
|
|
2616
|
+
default: () => {};
|
|
2617
|
+
};
|
|
2618
|
+
}>> & Readonly<{
|
|
2619
|
+
onBlur?: ((args_0: Event) => any) | undefined;
|
|
2620
|
+
onChange?: ((args_0: Event) => any) | undefined;
|
|
2621
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
2622
|
+
onInput?: ((args_0: Event) => any) | undefined;
|
|
2623
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
2624
|
+
onPaste?: ((args_0: ClipboardEvent) => any) | undefined;
|
|
2625
|
+
onClear?: (() => any) | undefined;
|
|
2626
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
2627
|
+
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
2628
|
+
}>, {
|
|
2629
|
+
getSelectionStart(): number | null;
|
|
2630
|
+
getSelectionEnd(): number | null;
|
|
2631
|
+
setSelectionRange(start: number, end: number): void;
|
|
2632
|
+
focus(): void;
|
|
2633
|
+
blur(): void;
|
|
2634
|
+
select(): void;
|
|
2635
|
+
insert(value: string): Promise<void>;
|
|
2636
|
+
clear(): void;
|
|
2637
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2638
|
+
blur: (args_0: Event) => any;
|
|
2639
|
+
change: (args_0: Event) => any;
|
|
2640
|
+
focus: (args_0: FocusEvent) => any;
|
|
2641
|
+
input: (args_0: Event) => any;
|
|
2642
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
2643
|
+
paste: (args_0: ClipboardEvent) => any;
|
|
2644
|
+
clear: () => any;
|
|
2645
|
+
"update:value": (value: string | number) => any;
|
|
2646
|
+
"update:focused": (focused: boolean) => any;
|
|
2647
|
+
}, string, {
|
|
2648
|
+
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2649
|
+
invalid: boolean;
|
|
2650
|
+
placeholder: string;
|
|
2651
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
2652
|
+
id: string | undefined;
|
|
2653
|
+
max: number | `${number}`;
|
|
2654
|
+
min: number | `${number}`;
|
|
2655
|
+
step: number | `${number}` | "any";
|
|
2656
|
+
disabled: boolean;
|
|
2657
|
+
outlined: boolean;
|
|
2658
|
+
active: boolean;
|
|
2659
|
+
value: string | number | null;
|
|
2660
|
+
required: boolean;
|
|
2661
|
+
clearable: boolean;
|
|
2662
|
+
readonly: boolean;
|
|
2663
|
+
autocomplete: "off" | "on";
|
|
2664
|
+
inputmode: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE;
|
|
2665
|
+
maxlength: string | number;
|
|
2666
|
+
decimals: number | `${number}` | "*";
|
|
2667
|
+
prefix: string;
|
|
2668
|
+
suffix: string;
|
|
2669
|
+
autofocus: boolean;
|
|
2670
|
+
autoselect: boolean;
|
|
2671
|
+
multiline: boolean;
|
|
2672
|
+
rows: string | number;
|
|
2673
|
+
cols: string | number;
|
|
2674
|
+
autofit: boolean;
|
|
2675
|
+
inputAttributes: UiTextboxInputAttributes;
|
|
2676
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2677
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2678
|
+
created?: (() => void) | (() => void)[];
|
|
2679
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2680
|
+
mounted?: (() => void) | (() => void)[];
|
|
2681
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2682
|
+
updated?: (() => void) | (() => void)[];
|
|
2683
|
+
activated?: (() => void) | (() => void)[];
|
|
2684
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2685
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2686
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2687
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2688
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2689
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2690
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2691
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2692
|
+
};
|
|
2693
|
+
$forceUpdate: () => void;
|
|
2694
|
+
$nextTick: typeof nextTick;
|
|
2695
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
2696
|
+
R,
|
|
2697
|
+
R,
|
|
2698
|
+
OnCleanup
|
|
2699
|
+
]) => any : (...args: [
|
|
2700
|
+
any,
|
|
2701
|
+
any,
|
|
2702
|
+
OnCleanup
|
|
2703
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2704
|
+
} & Readonly<{
|
|
2705
|
+
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2706
|
+
invalid: boolean;
|
|
2707
|
+
placeholder: string;
|
|
2708
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
2709
|
+
id: string | undefined;
|
|
2710
|
+
max: number | `${number}`;
|
|
2711
|
+
min: number | `${number}`;
|
|
2712
|
+
step: number | `${number}` | "any";
|
|
2713
|
+
disabled: boolean;
|
|
2714
|
+
outlined: boolean;
|
|
2715
|
+
active: boolean;
|
|
2716
|
+
value: string | number | null;
|
|
2717
|
+
required: boolean;
|
|
2718
|
+
clearable: boolean;
|
|
2719
|
+
readonly: boolean;
|
|
2720
|
+
autocomplete: "off" | "on";
|
|
2721
|
+
inputmode: "text" | "none" | "url" | "search" | "numeric" | "email" | "tel" | "decimal" | INPUTMODE;
|
|
2722
|
+
maxlength: string | number;
|
|
2723
|
+
decimals: number | `${number}` | "*";
|
|
2724
|
+
prefix: string;
|
|
2725
|
+
suffix: string;
|
|
2726
|
+
autofocus: boolean;
|
|
2727
|
+
autoselect: boolean;
|
|
2728
|
+
multiline: boolean;
|
|
2729
|
+
rows: string | number;
|
|
2730
|
+
cols: string | number;
|
|
2731
|
+
autofit: boolean;
|
|
2732
|
+
inputAttributes: UiTextboxInputAttributes;
|
|
2733
|
+
}> & Omit<Readonly<ExtractPropTypes<{
|
|
2734
|
+
id: {
|
|
2735
|
+
type: PropType<string | undefined>;
|
|
2736
|
+
validator: (id: unknown) => boolean;
|
|
2737
|
+
default: undefined;
|
|
2738
|
+
};
|
|
2739
|
+
type: {
|
|
2740
|
+
type: PropType<TYPE_2 | `${TYPE_2}`>;
|
|
2741
|
+
validator: (value: string) => boolean;
|
|
2742
|
+
default: TYPE_2;
|
|
2743
|
+
};
|
|
2744
|
+
value: {
|
|
2745
|
+
type: PropType<string | number | null>;
|
|
2746
|
+
default: null;
|
|
2747
|
+
};
|
|
2748
|
+
max: {
|
|
2749
|
+
type: PropType<number | `${number}`>;
|
|
2750
|
+
validator: (value: unknown) => boolean;
|
|
2751
|
+
default: number;
|
|
2752
|
+
};
|
|
2753
|
+
min: {
|
|
2754
|
+
type: PropType<number | `${number}`>;
|
|
2755
|
+
validator: (value: unknown) => boolean;
|
|
2756
|
+
default: number;
|
|
2757
|
+
};
|
|
2758
|
+
step: {
|
|
2759
|
+
type: PropType<number | `${number}` | "any">;
|
|
2760
|
+
validator: (value: unknown) => boolean;
|
|
2761
|
+
default: number;
|
|
2762
|
+
};
|
|
2763
|
+
autocomplete: {
|
|
2764
|
+
type: PropType<"on" | "off">;
|
|
2765
|
+
validator: (value: string) => boolean;
|
|
2766
|
+
default: string;
|
|
2767
|
+
};
|
|
2768
|
+
inputmode: {
|
|
2769
|
+
type: PropType<INPUTMODE | `${INPUTMODE}`>;
|
|
2770
|
+
default: undefined;
|
|
2771
|
+
};
|
|
2772
|
+
maxlength: {
|
|
2773
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2774
|
+
default: undefined;
|
|
2775
|
+
};
|
|
2776
|
+
decimals: {
|
|
2777
|
+
type: PropType<number | `${number}` | "*">;
|
|
2778
|
+
validator: (value: unknown) => boolean;
|
|
2779
|
+
default: "*";
|
|
2780
|
+
};
|
|
2781
|
+
size: {
|
|
2782
|
+
type: PropType<SIZE_5 | `${SIZE_5}`>;
|
|
2783
|
+
default: SIZE_5;
|
|
2784
|
+
};
|
|
2785
|
+
placeholder: {
|
|
2786
|
+
type: StringConstructor;
|
|
2787
|
+
default: string;
|
|
2788
|
+
};
|
|
2789
|
+
prefix: {
|
|
2790
|
+
type: StringConstructor;
|
|
2791
|
+
default: string;
|
|
2792
|
+
};
|
|
2793
|
+
suffix: {
|
|
2794
|
+
type: StringConstructor;
|
|
2795
|
+
default: string;
|
|
2796
|
+
};
|
|
2797
|
+
active: {
|
|
2798
|
+
type: BooleanConstructor;
|
|
2799
|
+
default: boolean;
|
|
2800
|
+
};
|
|
2801
|
+
autofocus: {
|
|
2802
|
+
type: BooleanConstructor;
|
|
2803
|
+
default: boolean;
|
|
2804
|
+
};
|
|
2805
|
+
autoselect: {
|
|
2806
|
+
type: BooleanConstructor;
|
|
2807
|
+
default: boolean;
|
|
2808
|
+
};
|
|
2809
|
+
clearable: {
|
|
2810
|
+
type: BooleanConstructor;
|
|
2811
|
+
default: boolean;
|
|
2812
|
+
};
|
|
2813
|
+
readonly: {
|
|
2814
|
+
type: BooleanConstructor;
|
|
2815
|
+
default: boolean;
|
|
2816
|
+
};
|
|
2817
|
+
required: {
|
|
2818
|
+
type: BooleanConstructor;
|
|
2819
|
+
default: boolean;
|
|
2820
|
+
};
|
|
2821
|
+
disabled: {
|
|
2822
|
+
type: BooleanConstructor;
|
|
2823
|
+
default: boolean;
|
|
2824
|
+
};
|
|
2825
|
+
invalid: {
|
|
2826
|
+
type: BooleanConstructor;
|
|
2827
|
+
default: boolean;
|
|
2828
|
+
};
|
|
2829
|
+
multiline: {
|
|
2830
|
+
type: BooleanConstructor;
|
|
2831
|
+
default: boolean;
|
|
2832
|
+
};
|
|
2833
|
+
rows: {
|
|
2834
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2835
|
+
validator: (value: unknown) => boolean;
|
|
2836
|
+
default: number;
|
|
2837
|
+
};
|
|
2838
|
+
cols: {
|
|
2839
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2840
|
+
validator: (value: unknown) => boolean;
|
|
2841
|
+
default: number;
|
|
2842
|
+
};
|
|
2843
|
+
outlined: {
|
|
2844
|
+
type: BooleanConstructor;
|
|
2845
|
+
default: boolean;
|
|
2846
|
+
};
|
|
2847
|
+
autofit: {
|
|
2848
|
+
type: BooleanConstructor;
|
|
2849
|
+
default: boolean;
|
|
2850
|
+
};
|
|
2851
|
+
inputAttributes: {
|
|
2852
|
+
type: PropType<UiTextboxInputAttributes>;
|
|
2853
|
+
default: () => {};
|
|
2854
|
+
};
|
|
2855
|
+
}>> & Readonly<{
|
|
2856
|
+
onBlur?: ((args_0: Event) => any) | undefined;
|
|
2857
|
+
onChange?: ((args_0: Event) => any) | undefined;
|
|
2858
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
2859
|
+
onInput?: ((args_0: Event) => any) | undefined;
|
|
2860
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
2861
|
+
onPaste?: ((args_0: ClipboardEvent) => any) | undefined;
|
|
2862
|
+
onClear?: (() => any) | undefined;
|
|
2863
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
2864
|
+
"onUpdate:focused"?: ((focused: boolean) => any) | undefined;
|
|
2865
|
+
}>, "insert" | "blur" | "focus" | "select" | "clear" | "getSelectionStart" | "getSelectionEnd" | "setSelectionRange" | ("type" | "invalid" | "placeholder" | "size" | "id" | "max" | "min" | "step" | "disabled" | "outlined" | "active" | "value" | "required" | "clearable" | "readonly" | "autocomplete" | "inputmode" | "maxlength" | "decimals" | "prefix" | "suffix" | "autofocus" | "autoselect" | "multiline" | "rows" | "cols" | "autofit" | "inputAttributes")> & ShallowUnwrapRef<{
|
|
2866
|
+
getSelectionStart(): number | null;
|
|
2867
|
+
getSelectionEnd(): number | null;
|
|
2868
|
+
setSelectionRange(start: number, end: number): void;
|
|
2869
|
+
focus(): void;
|
|
2870
|
+
blur(): void;
|
|
2871
|
+
select(): void;
|
|
2872
|
+
insert(value: string): Promise<void>;
|
|
2873
|
+
clear(): void;
|
|
2874
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
2875
|
+
$slots: {
|
|
2876
|
+
prefix?(_: {}): any;
|
|
2877
|
+
'leading-icon'?(_: {}): any;
|
|
2878
|
+
'trailing-icon'?(_: {}): any;
|
|
2879
|
+
suffix?(_: {}): any;
|
|
2880
|
+
};
|
|
2881
|
+
}) | null;
|
|
2882
|
+
}, any>;
|
|
821
2883
|
export declare const UiPopper: DefineComponent<UiPopperProperties & {
|
|
822
2884
|
target: Ref<HTMLElement | null>;
|
|
823
2885
|
}, UiPopperMethods>;
|
|
824
|
-
export declare const UiPopperConnector:
|
|
2886
|
+
export declare const UiPopperConnector: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
825
2887
|
declare type UiPopperMethods = {
|
|
826
2888
|
adjust(): Promise<void>;
|
|
827
2889
|
dispose(): void;
|
|
@@ -848,6 +2910,129 @@ declare type UiRadioProperties = {
|
|
|
848
2910
|
required?: boolean;
|
|
849
2911
|
disabled?: boolean;
|
|
850
2912
|
};
|
|
2913
|
+
export declare type UiRadioSwitchOptionProperties = {
|
|
2914
|
+
id?: string;
|
|
2915
|
+
label?: string;
|
|
2916
|
+
value: unknown;
|
|
2917
|
+
description?: string;
|
|
2918
|
+
disabled?: boolean;
|
|
2919
|
+
};
|
|
2920
|
+
export declare const UiRadioSwitchOptionShell: DefineComponent_2<ExtractPropTypes<{
|
|
2921
|
+
id: {
|
|
2922
|
+
type: StringConstructor;
|
|
2923
|
+
default: undefined;
|
|
2924
|
+
};
|
|
2925
|
+
appearance: {
|
|
2926
|
+
type: PropType<UiRadioSwitchOptionShellProperties["appearance"]>;
|
|
2927
|
+
default: APPEARANCE;
|
|
2928
|
+
validator: (appearance: string) => boolean;
|
|
2929
|
+
};
|
|
2930
|
+
size: {
|
|
2931
|
+
type: PropType<UiRadioSwitchOptionShellProperties["size"]>;
|
|
2932
|
+
default: SIZE;
|
|
2933
|
+
validator: (size: string) => boolean;
|
|
2934
|
+
};
|
|
2935
|
+
checked: {
|
|
2936
|
+
type: BooleanConstructor;
|
|
2937
|
+
default: boolean;
|
|
2938
|
+
};
|
|
2939
|
+
disabled: {
|
|
2940
|
+
type: BooleanConstructor;
|
|
2941
|
+
default: boolean;
|
|
2942
|
+
};
|
|
2943
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
2944
|
+
[key: string]: any;
|
|
2945
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
2946
|
+
id: {
|
|
2947
|
+
type: StringConstructor;
|
|
2948
|
+
default: undefined;
|
|
2949
|
+
};
|
|
2950
|
+
appearance: {
|
|
2951
|
+
type: PropType<UiRadioSwitchOptionShellProperties["appearance"]>;
|
|
2952
|
+
default: APPEARANCE;
|
|
2953
|
+
validator: (appearance: string) => boolean;
|
|
2954
|
+
};
|
|
2955
|
+
size: {
|
|
2956
|
+
type: PropType<UiRadioSwitchOptionShellProperties["size"]>;
|
|
2957
|
+
default: SIZE;
|
|
2958
|
+
validator: (size: string) => boolean;
|
|
2959
|
+
};
|
|
2960
|
+
checked: {
|
|
2961
|
+
type: BooleanConstructor;
|
|
2962
|
+
default: boolean;
|
|
2963
|
+
};
|
|
2964
|
+
disabled: {
|
|
2965
|
+
type: BooleanConstructor;
|
|
2966
|
+
default: boolean;
|
|
2967
|
+
};
|
|
2968
|
+
}>> & Readonly<{}>, {
|
|
2969
|
+
size: "sm" | "lg" | "md" | SIZE | undefined;
|
|
2970
|
+
id: string;
|
|
2971
|
+
disabled: boolean;
|
|
2972
|
+
appearance: "default" | "section" | APPEARANCE | undefined;
|
|
2973
|
+
checked: boolean;
|
|
2974
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2975
|
+
export declare type UiRadioSwitchOptionShellMethods = {
|
|
2976
|
+
focus(): void;
|
|
2977
|
+
blur(): void;
|
|
2978
|
+
};
|
|
2979
|
+
export declare type UiRadioSwitchOptionShellProperties = {
|
|
2980
|
+
id?: string;
|
|
2981
|
+
appearance?: APPEARANCE | `${APPEARANCE}`;
|
|
2982
|
+
size?: SIZE | `${SIZE}`;
|
|
2983
|
+
checked?: boolean;
|
|
2984
|
+
disabled?: boolean;
|
|
2985
|
+
};
|
|
2986
|
+
export declare type UiRadioSwitchProperties = {
|
|
2987
|
+
value?: unknown;
|
|
2988
|
+
options?: Option_2[];
|
|
2989
|
+
equalFn?: EqualPredicate;
|
|
2990
|
+
appearance?: APPEARANCE | `${APPEARANCE}`;
|
|
2991
|
+
size?: SIZE | `${SIZE}`;
|
|
2992
|
+
rubber?: boolean;
|
|
2993
|
+
};
|
|
2994
|
+
export declare const UiRadioSwitchRoot: DefineComponent_2<ExtractPropTypes<{
|
|
2995
|
+
appearance: {
|
|
2996
|
+
type: PropType<UiRadioSwitchRootProperties["appearance"]>;
|
|
2997
|
+
default: APPEARANCE;
|
|
2998
|
+
validator: (appearance: string) => boolean;
|
|
2999
|
+
};
|
|
3000
|
+
size: {
|
|
3001
|
+
type: PropType<UiRadioSwitchRootProperties["size"]>;
|
|
3002
|
+
default: SIZE;
|
|
3003
|
+
validator: (size: string) => boolean;
|
|
3004
|
+
};
|
|
3005
|
+
rubber: {
|
|
3006
|
+
type: BooleanConstructor;
|
|
3007
|
+
default: boolean;
|
|
3008
|
+
};
|
|
3009
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
3010
|
+
[key: string]: any;
|
|
3011
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3012
|
+
appearance: {
|
|
3013
|
+
type: PropType<UiRadioSwitchRootProperties["appearance"]>;
|
|
3014
|
+
default: APPEARANCE;
|
|
3015
|
+
validator: (appearance: string) => boolean;
|
|
3016
|
+
};
|
|
3017
|
+
size: {
|
|
3018
|
+
type: PropType<UiRadioSwitchRootProperties["size"]>;
|
|
3019
|
+
default: SIZE;
|
|
3020
|
+
validator: (size: string) => boolean;
|
|
3021
|
+
};
|
|
3022
|
+
rubber: {
|
|
3023
|
+
type: BooleanConstructor;
|
|
3024
|
+
default: boolean;
|
|
3025
|
+
};
|
|
3026
|
+
}>> & Readonly<{}>, {
|
|
3027
|
+
size: "sm" | "lg" | "md" | SIZE | undefined;
|
|
3028
|
+
appearance: "default" | "section" | APPEARANCE | undefined;
|
|
3029
|
+
rubber: boolean;
|
|
3030
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3031
|
+
export declare type UiRadioSwitchRootProperties = {
|
|
3032
|
+
appearance?: APPEARANCE | `${APPEARANCE}`;
|
|
3033
|
+
size?: SIZE | `${SIZE}`;
|
|
3034
|
+
rubber?: boolean;
|
|
3035
|
+
};
|
|
851
3036
|
export declare const UiScrollBox: DefineComponent<UiScrollBoxProperties, UiScrollBoxMethods>;
|
|
852
3037
|
declare type UiScrollBoxMethods = {
|
|
853
3038
|
scroll(y: number): void;
|
|
@@ -893,7 +3078,7 @@ declare type UiSelectTriggerMethods = {
|
|
|
893
3078
|
declare type UiSelectTriggerProperties = {
|
|
894
3079
|
id?: string;
|
|
895
3080
|
value?: unknown | unknown[];
|
|
896
|
-
selection?:
|
|
3081
|
+
selection?: Option_3[];
|
|
897
3082
|
clearable?: boolean;
|
|
898
3083
|
filter?: string;
|
|
899
3084
|
filterable?: boolean;
|
|
@@ -905,7 +3090,7 @@ declare type UiSelectTriggerProperties = {
|
|
|
905
3090
|
placeholderOnly?: boolean;
|
|
906
3091
|
readonly?: boolean;
|
|
907
3092
|
disabled?: boolean;
|
|
908
|
-
textboxSize?:
|
|
3093
|
+
textboxSize?: SIZE_9 | `${SIZE_9}`;
|
|
909
3094
|
};
|
|
910
3095
|
export declare const UiSlider: DefineComponent<UiSliderProperties>;
|
|
911
3096
|
declare type UiSliderProperties = {
|
|
@@ -927,6 +3112,139 @@ declare type UiSwitchProperties = {
|
|
|
927
3112
|
square?: boolean;
|
|
928
3113
|
disabled?: boolean;
|
|
929
3114
|
};
|
|
3115
|
+
export declare const UiTab: DefineComponent_2<ExtractPropTypes<{
|
|
3116
|
+
id: {
|
|
3117
|
+
type: PropType<UiTabProperties["id"]>;
|
|
3118
|
+
required: true;
|
|
3119
|
+
};
|
|
3120
|
+
label: {
|
|
3121
|
+
type: PropType<UiTabProperties["label"]>;
|
|
3122
|
+
default: string;
|
|
3123
|
+
};
|
|
3124
|
+
counter: {
|
|
3125
|
+
type: PropType<UiTabProperties["counter"]>;
|
|
3126
|
+
default: null;
|
|
3127
|
+
};
|
|
3128
|
+
disabled: {
|
|
3129
|
+
type: PropType<UiTabProperties["disabled"]>;
|
|
3130
|
+
default: boolean;
|
|
3131
|
+
};
|
|
3132
|
+
}>, () => null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3133
|
+
id: {
|
|
3134
|
+
type: PropType<UiTabProperties["id"]>;
|
|
3135
|
+
required: true;
|
|
3136
|
+
};
|
|
3137
|
+
label: {
|
|
3138
|
+
type: PropType<UiTabProperties["label"]>;
|
|
3139
|
+
default: string;
|
|
3140
|
+
};
|
|
3141
|
+
counter: {
|
|
3142
|
+
type: PropType<UiTabProperties["counter"]>;
|
|
3143
|
+
default: null;
|
|
3144
|
+
};
|
|
3145
|
+
disabled: {
|
|
3146
|
+
type: PropType<UiTabProperties["disabled"]>;
|
|
3147
|
+
default: boolean;
|
|
3148
|
+
};
|
|
3149
|
+
}>> & Readonly<{}>, {
|
|
3150
|
+
label: string | undefined;
|
|
3151
|
+
disabled: boolean | undefined;
|
|
3152
|
+
counter: string | number | null | undefined;
|
|
3153
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3154
|
+
export declare const UiTabGroup: DefineComponent_2<ExtractPropTypes<{
|
|
3155
|
+
items: {
|
|
3156
|
+
type: PropType<UiTabGroupProperties["items"]>;
|
|
3157
|
+
default: () => never[];
|
|
3158
|
+
};
|
|
3159
|
+
activeId: {
|
|
3160
|
+
type: PropType<UiTabGroupProperties["activeId"]>;
|
|
3161
|
+
default: null;
|
|
3162
|
+
};
|
|
3163
|
+
focusableId: {
|
|
3164
|
+
type: PropType<UiTabGroupProperties["focusableId"]>;
|
|
3165
|
+
default: undefined;
|
|
3166
|
+
};
|
|
3167
|
+
menuExpanded: {
|
|
3168
|
+
type: PropType<UiTabGroupProperties["menuExpanded"]>;
|
|
3169
|
+
default: undefined;
|
|
3170
|
+
};
|
|
3171
|
+
overflowing: {
|
|
3172
|
+
type: BooleanConstructor;
|
|
3173
|
+
default: boolean;
|
|
3174
|
+
};
|
|
3175
|
+
size: {
|
|
3176
|
+
type: PropType<UiTabGroupProperties["size"]>;
|
|
3177
|
+
default: SIZE_10;
|
|
3178
|
+
validator: (size: string) => boolean;
|
|
3179
|
+
};
|
|
3180
|
+
appearance: {
|
|
3181
|
+
type: PropType<UiTabGroupProperties["appearance"]>;
|
|
3182
|
+
default: APPEARANCE_6;
|
|
3183
|
+
validator: (appearance: string) => boolean;
|
|
3184
|
+
};
|
|
3185
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
3186
|
+
[key: string]: any;
|
|
3187
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3188
|
+
layout: (layout: TabLayout) => true;
|
|
3189
|
+
change: (id: string) => true;
|
|
3190
|
+
'update:activeId': (id: string) => true;
|
|
3191
|
+
'update:focusableId': (id: string | null) => true;
|
|
3192
|
+
'update:menuExpanded': (expanded: boolean) => true;
|
|
3193
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3194
|
+
items: {
|
|
3195
|
+
type: PropType<UiTabGroupProperties["items"]>;
|
|
3196
|
+
default: () => never[];
|
|
3197
|
+
};
|
|
3198
|
+
activeId: {
|
|
3199
|
+
type: PropType<UiTabGroupProperties["activeId"]>;
|
|
3200
|
+
default: null;
|
|
3201
|
+
};
|
|
3202
|
+
focusableId: {
|
|
3203
|
+
type: PropType<UiTabGroupProperties["focusableId"]>;
|
|
3204
|
+
default: undefined;
|
|
3205
|
+
};
|
|
3206
|
+
menuExpanded: {
|
|
3207
|
+
type: PropType<UiTabGroupProperties["menuExpanded"]>;
|
|
3208
|
+
default: undefined;
|
|
3209
|
+
};
|
|
3210
|
+
overflowing: {
|
|
3211
|
+
type: BooleanConstructor;
|
|
3212
|
+
default: boolean;
|
|
3213
|
+
};
|
|
3214
|
+
size: {
|
|
3215
|
+
type: PropType<UiTabGroupProperties["size"]>;
|
|
3216
|
+
default: SIZE_10;
|
|
3217
|
+
validator: (size: string) => boolean;
|
|
3218
|
+
};
|
|
3219
|
+
appearance: {
|
|
3220
|
+
type: PropType<UiTabGroupProperties["appearance"]>;
|
|
3221
|
+
default: APPEARANCE_6;
|
|
3222
|
+
validator: (appearance: string) => boolean;
|
|
3223
|
+
};
|
|
3224
|
+
}>> & Readonly<{
|
|
3225
|
+
onChange?: ((id: string) => any) | undefined;
|
|
3226
|
+
"onUpdate:menuExpanded"?: ((expanded: boolean) => any) | undefined;
|
|
3227
|
+
onLayout?: ((layout: TabLayout) => any) | undefined;
|
|
3228
|
+
"onUpdate:activeId"?: ((id: string) => any) | undefined;
|
|
3229
|
+
"onUpdate:focusableId"?: ((id: string | null) => any) | undefined;
|
|
3230
|
+
}>, {
|
|
3231
|
+
size: "sm" | "lg" | "md" | SIZE_10 | undefined;
|
|
3232
|
+
appearance: "text" | "filled" | APPEARANCE_6 | undefined;
|
|
3233
|
+
items: TabItem[] | undefined;
|
|
3234
|
+
activeId: string | null | undefined;
|
|
3235
|
+
focusableId: string | null | undefined;
|
|
3236
|
+
menuExpanded: boolean | undefined;
|
|
3237
|
+
overflowing: boolean;
|
|
3238
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3239
|
+
export declare type UiTabGroupProperties = {
|
|
3240
|
+
activeId?: string | null;
|
|
3241
|
+
focusableId?: string | null;
|
|
3242
|
+
items?: TabItem[];
|
|
3243
|
+
menuExpanded?: boolean;
|
|
3244
|
+
size?: SIZE_10 | `${SIZE_10}`;
|
|
3245
|
+
appearance?: APPEARANCE_6 | `${APPEARANCE_6}`;
|
|
3246
|
+
overflowing?: boolean;
|
|
3247
|
+
};
|
|
930
3248
|
export declare const UiTableBodyCell: DefineComponent<UiTableBodyCellProperties>;
|
|
931
3249
|
export declare type UiTableBodyCellProperties = {
|
|
932
3250
|
align?: ALIGN | `${ALIGN}`;
|
|
@@ -1025,9 +3343,15 @@ export declare const UiTableSorter: DefineComponent_2<UiTableSorterProperties>;
|
|
|
1025
3343
|
export declare type UiTableSorterProperties = {
|
|
1026
3344
|
direction?: DIRECTION | `${DIRECTION}` | null;
|
|
1027
3345
|
};
|
|
3346
|
+
export declare type UiTabProperties = {
|
|
3347
|
+
id: string;
|
|
3348
|
+
label?: string;
|
|
3349
|
+
counter?: string | number | null;
|
|
3350
|
+
disabled?: boolean;
|
|
3351
|
+
};
|
|
1028
3352
|
export declare const UiTag: DefineComponent<UiTagProperties>;
|
|
1029
3353
|
declare type UiTagProperties = {
|
|
1030
|
-
size?:
|
|
3354
|
+
size?: SIZE_11 | `${SIZE_11}`;
|
|
1031
3355
|
pinned?: boolean;
|
|
1032
3356
|
removable?: boolean;
|
|
1033
3357
|
interactive?: boolean;
|
|
@@ -1060,7 +3384,7 @@ declare type UiTextboxProperties = {
|
|
|
1060
3384
|
maxlength?: number | string;
|
|
1061
3385
|
/** Максимальное количество знаков после запятой (для inputmode="decimal"). '*' — без ограничений */
|
|
1062
3386
|
decimals?: number | `${number}` | '*';
|
|
1063
|
-
size?:
|
|
3387
|
+
size?: SIZE_5 | `${SIZE_5}`;
|
|
1064
3388
|
placeholder?: string;
|
|
1065
3389
|
prefix?: string;
|
|
1066
3390
|
suffix?: string;
|
|
@@ -1097,7 +3421,7 @@ declare type UiTimePickerProperties = {
|
|
|
1097
3421
|
minTime?: TimeArray | null;
|
|
1098
3422
|
maxTime?: TimeArray | null;
|
|
1099
3423
|
};
|
|
1100
|
-
export declare const UiToolbar:
|
|
3424
|
+
export declare const UiToolbar: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1101
3425
|
export declare const UiToolbarButton: DefineComponent<UiToolbarButtonProperties, UiButtonMethods>;
|
|
1102
3426
|
declare type UiToolbarButtonProperties = Omit<UiButtonProperties, 'appearance' | 'size' | 'type'>;
|
|
1103
3427
|
export declare const UiToolbarLink: DefineComponent<UiToolbarLinkProperties>;
|