@retailcrm/embed-ui-v1-components 0.9.14 → 0.9.16
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/sprites/map-and-places/navigate.svg +3 -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 +2443 -657
- package/dist/host.css +920 -6
- package/dist/host.d.ts +2440 -6
- package/dist/host.js +2444 -658
- package/dist/remote.cjs +1009 -46
- package/dist/remote.d.ts +1240 -67
- package/dist/remote.js +1011 -48
- package/docs/AI.md +106 -0
- package/docs/COMPONENTS.md +99 -0
- package/docs/FORMAT.md +267 -0
- package/docs/PROFILES.md +66 -0
- package/docs/README.md +65 -0
- package/docs/STYLING.md +156 -0
- package/docs/profiles/UiAddButton.yml +57 -0
- package/docs/profiles/UiAlert.yml +48 -0
- package/docs/profiles/UiAvatar.yml +48 -0
- package/docs/profiles/UiAvatarList.yml +42 -0
- package/docs/profiles/UiButton.yml +229 -0
- package/docs/profiles/UiCalendar.yml +48 -0
- package/docs/profiles/UiCheckbox.yml +53 -0
- package/docs/profiles/UiCollapse.yml +40 -0
- package/docs/profiles/UiCollapseBox.yml +51 -0
- package/docs/profiles/UiCollapseGroup.yml +39 -0
- package/docs/profiles/UiCopyButton.yml +52 -0
- package/docs/profiles/UiDate.yml +38 -0
- package/docs/profiles/UiDatePicker.yml +59 -0
- package/docs/profiles/UiError.yml +32 -0
- package/docs/profiles/UiField.yml +233 -0
- package/docs/profiles/UiImage.yml +39 -0
- package/docs/profiles/UiInfobox.yml +45 -0
- package/docs/profiles/UiLink.yml +51 -0
- package/docs/profiles/UiLoader.yml +38 -0
- package/docs/profiles/UiMenuItem.yml +57 -0
- package/docs/profiles/UiMenuItemGroup.yml +50 -0
- package/docs/profiles/UiModalSidebar.yml +46 -0
- package/docs/profiles/UiModalWindow.yml +44 -0
- package/docs/profiles/UiModalWindowSurface.yml +41 -0
- package/docs/profiles/UiNumberStepper.yml +52 -0
- package/docs/profiles/UiPageHeader.yml +244 -0
- package/docs/profiles/UiPopper.yml +201 -0
- package/docs/profiles/UiPopperConnector.yml +115 -0
- package/docs/profiles/UiPopperTarget.yml +118 -0
- package/docs/profiles/UiRadio.yml +38 -0
- package/docs/profiles/UiRadioSwitch.yml +231 -0
- package/docs/profiles/UiRadioSwitchOption.yml +121 -0
- package/docs/profiles/UiScrollBox.yml +31 -0
- package/docs/profiles/UiSelect.yml +327 -0
- package/docs/profiles/UiSelectOption.yml +44 -0
- package/docs/profiles/UiSelectOptionGroup.yml +38 -0
- package/docs/profiles/UiSlider.yml +38 -0
- package/docs/profiles/UiSwitch.yml +37 -0
- package/docs/profiles/UiTab.yml +119 -0
- package/docs/profiles/UiTabGroup.yml +238 -0
- package/docs/profiles/UiTable.yml +152 -0
- package/docs/profiles/UiTableBodyCell.yml +47 -0
- package/docs/profiles/UiTableColumn.yml +50 -0
- package/docs/profiles/UiTableFooterButton.yml +44 -0
- package/docs/profiles/UiTableFooterSection.yml +38 -0
- package/docs/profiles/UiTableHeadCell.yml +44 -0
- package/docs/profiles/UiTableSorter.yml +45 -0
- package/docs/profiles/UiTag.yml +41 -0
- package/docs/profiles/UiTextbox.yml +392 -0
- package/docs/profiles/UiTimePicker.yml +46 -0
- package/docs/profiles/UiToggleButton.yml +211 -0
- package/docs/profiles/UiToggleGroup.yml +211 -0
- package/docs/profiles/UiToggleGroupOption.yml +116 -0
- package/docs/profiles/UiToolbarButton.yml +37 -0
- package/docs/profiles/UiToolbarLink.yml +32 -0
- package/docs/profiles/UiTooltip.yml +43 -0
- package/docs/profiles/UiTransition.yml +27 -0
- package/docs/profiles/UiYandexMap.yml +29 -0
- package/package.json +8 -3
package/dist/remote.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ import { Side } from '@floating-ui/dom';
|
|
|
39
39
|
import { Slot } from 'vue';
|
|
40
40
|
import { Strategy } from '@floating-ui/dom';
|
|
41
41
|
import { VNode } from 'vue';
|
|
42
|
+
import { VNodeChild } from 'vue';
|
|
42
43
|
import { VNodeProps } from 'vue';
|
|
43
44
|
import { WatchOptions } from 'vue';
|
|
44
45
|
import { WatchStopHandle } from 'vue';
|
|
@@ -134,6 +135,399 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
134
135
|
hintAriaLabel: string;
|
|
135
136
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
136
137
|
declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
|
|
138
|
+
/** Уникальный идентификатор корневого элемента */
|
|
139
|
+
id: {
|
|
140
|
+
type: PropType<UiPageHeaderProperties["id"]>;
|
|
141
|
+
default: undefined;
|
|
142
|
+
};
|
|
143
|
+
/** Текст заголовка */
|
|
144
|
+
value: {
|
|
145
|
+
type: PropType<UiPageHeaderProperties["value"]>;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
/** Плейсхолдер, отображаемый при отсутствии текста */
|
|
149
|
+
placeholder: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
/** Текст ошибки для tooltip при пустом невалидном заголовке */
|
|
154
|
+
error: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
/** Разрешает перейти в режим редактирования по клику */
|
|
159
|
+
editable: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
/** Автоматически переводит фокус во встроенный UiTextbox при входе в режим редактирования */
|
|
164
|
+
autofocus: {
|
|
165
|
+
type: BooleanConstructor;
|
|
166
|
+
default: boolean;
|
|
167
|
+
};
|
|
168
|
+
/** Автоматически выделяет текст заголовка при фокусе на встроенном поле */
|
|
169
|
+
autoselect: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
/** Делает встроенное поле только для чтения */
|
|
174
|
+
readonly: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default: boolean;
|
|
177
|
+
};
|
|
178
|
+
/** Полностью отключает заголовок */
|
|
179
|
+
disabled: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: boolean;
|
|
182
|
+
};
|
|
183
|
+
/** Помечает встроенное поле как невалидное */
|
|
184
|
+
invalid: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
188
|
+
}>, {
|
|
189
|
+
focus(): void;
|
|
190
|
+
blur(): void;
|
|
191
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
192
|
+
focus: (event: FocusEvent) => any;
|
|
193
|
+
blur: (event: Event) => any;
|
|
194
|
+
change: (event: Event) => any;
|
|
195
|
+
"update:value": (value: string | number) => any;
|
|
196
|
+
keydown: (event: KeyboardEvent) => any;
|
|
197
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
198
|
+
/** Уникальный идентификатор корневого элемента */
|
|
199
|
+
id: {
|
|
200
|
+
type: PropType<UiPageHeaderProperties["id"]>;
|
|
201
|
+
default: undefined;
|
|
202
|
+
};
|
|
203
|
+
/** Текст заголовка */
|
|
204
|
+
value: {
|
|
205
|
+
type: PropType<UiPageHeaderProperties["value"]>;
|
|
206
|
+
default: string;
|
|
207
|
+
};
|
|
208
|
+
/** Плейсхолдер, отображаемый при отсутствии текста */
|
|
209
|
+
placeholder: {
|
|
210
|
+
type: StringConstructor;
|
|
211
|
+
default: string;
|
|
212
|
+
};
|
|
213
|
+
/** Текст ошибки для tooltip при пустом невалидном заголовке */
|
|
214
|
+
error: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: string;
|
|
217
|
+
};
|
|
218
|
+
/** Разрешает перейти в режим редактирования по клику */
|
|
219
|
+
editable: {
|
|
220
|
+
type: BooleanConstructor;
|
|
221
|
+
default: boolean;
|
|
222
|
+
};
|
|
223
|
+
/** Автоматически переводит фокус во встроенный UiTextbox при входе в режим редактирования */
|
|
224
|
+
autofocus: {
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
228
|
+
/** Автоматически выделяет текст заголовка при фокусе на встроенном поле */
|
|
229
|
+
autoselect: {
|
|
230
|
+
type: BooleanConstructor;
|
|
231
|
+
default: boolean;
|
|
232
|
+
};
|
|
233
|
+
/** Делает встроенное поле только для чтения */
|
|
234
|
+
readonly: {
|
|
235
|
+
type: BooleanConstructor;
|
|
236
|
+
default: boolean;
|
|
237
|
+
};
|
|
238
|
+
/** Полностью отключает заголовок */
|
|
239
|
+
disabled: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
default: boolean;
|
|
242
|
+
};
|
|
243
|
+
/** Помечает встроенное поле как невалидное */
|
|
244
|
+
invalid: {
|
|
245
|
+
type: BooleanConstructor;
|
|
246
|
+
default: boolean;
|
|
247
|
+
};
|
|
248
|
+
}>> & Readonly<{
|
|
249
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
250
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
251
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
252
|
+
"onUpdate:value"?: ((value: string | number) => any) | undefined;
|
|
253
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
254
|
+
}>, {
|
|
255
|
+
id: string | undefined;
|
|
256
|
+
placeholder: string;
|
|
257
|
+
disabled: boolean;
|
|
258
|
+
value: string | number | null | undefined;
|
|
259
|
+
readonly: boolean;
|
|
260
|
+
autofocus: boolean;
|
|
261
|
+
autoselect: boolean;
|
|
262
|
+
invalid: boolean;
|
|
263
|
+
error: string;
|
|
264
|
+
editable: boolean;
|
|
265
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
266
|
+
header: ({
|
|
267
|
+
$: ComponentInternalInstance;
|
|
268
|
+
$data: {
|
|
269
|
+
[x: string]: never;
|
|
270
|
+
};
|
|
271
|
+
$props: Partial<{}> & Omit<{
|
|
272
|
+
readonly [x: string]: any;
|
|
273
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
274
|
+
$attrs: {
|
|
275
|
+
[x: string]: unknown;
|
|
276
|
+
};
|
|
277
|
+
$refs: {
|
|
278
|
+
[x: string]: unknown;
|
|
279
|
+
};
|
|
280
|
+
$slots: Readonly<{
|
|
281
|
+
[name: string]: Slot<any> | undefined;
|
|
282
|
+
}>;
|
|
283
|
+
$root: ComponentPublicInstance | null;
|
|
284
|
+
$parent: ComponentPublicInstance | null;
|
|
285
|
+
$host: Element | null;
|
|
286
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
287
|
+
$el: any;
|
|
288
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiPageHeaderProperties>>>, {
|
|
289
|
+
[x: string]: unknown;
|
|
290
|
+
}, {
|
|
291
|
+
[x: string]: never;
|
|
292
|
+
}, {
|
|
293
|
+
[x: string]: never;
|
|
294
|
+
}, {
|
|
295
|
+
focus: () => Promise<void>;
|
|
296
|
+
blur: () => Promise<void>;
|
|
297
|
+
}, {
|
|
298
|
+
blur: (event: Event) => boolean;
|
|
299
|
+
change: (event: Event) => boolean;
|
|
300
|
+
focus: (event: FocusEvent) => boolean;
|
|
301
|
+
keydown: (event: KeyboardEvent) => boolean;
|
|
302
|
+
'update:value': (value: string | number) => boolean;
|
|
303
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
304
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
305
|
+
created?: (() => void) | (() => void)[];
|
|
306
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
307
|
+
mounted?: (() => void) | (() => void)[];
|
|
308
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
309
|
+
updated?: (() => void) | (() => void)[];
|
|
310
|
+
activated?: (() => void) | (() => void)[];
|
|
311
|
+
deactivated?: (() => void) | (() => void)[];
|
|
312
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
313
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
314
|
+
destroyed?: (() => void) | (() => void)[];
|
|
315
|
+
unmounted?: (() => void) | (() => void)[];
|
|
316
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
317
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
318
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
319
|
+
};
|
|
320
|
+
$forceUpdate: () => void;
|
|
321
|
+
$nextTick: nextTick;
|
|
322
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
323
|
+
R,
|
|
324
|
+
R,
|
|
325
|
+
OnCleanup
|
|
326
|
+
]) => any : (...args: [
|
|
327
|
+
any,
|
|
328
|
+
any,
|
|
329
|
+
OnCleanup
|
|
330
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
331
|
+
} & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiPageHeaderProperties>>>, string> & ShallowUnwrapRef<{
|
|
332
|
+
[x: string]: unknown;
|
|
333
|
+
}> & {
|
|
334
|
+
[x: string]: never;
|
|
335
|
+
} & {
|
|
336
|
+
[x: string]: unknown;
|
|
337
|
+
} & MethodOptions & {
|
|
338
|
+
focus: () => Promise<void>;
|
|
339
|
+
blur: () => Promise<void>;
|
|
340
|
+
} & ComponentCustomProperties & {} & {
|
|
341
|
+
$slots: {
|
|
342
|
+
[x: string]: never;
|
|
343
|
+
} & {
|
|
344
|
+
default?: (...args: never[]) => unknown;
|
|
345
|
+
};
|
|
346
|
+
}) | null;
|
|
347
|
+
}, any>;
|
|
348
|
+
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
|
|
349
|
+
/** Выбранное значение */
|
|
350
|
+
value: {
|
|
351
|
+
type: PropType<UiRadioSwitchProperties["value"]>;
|
|
352
|
+
default: null;
|
|
353
|
+
};
|
|
354
|
+
/** Список опций */
|
|
355
|
+
options: {
|
|
356
|
+
type: PropType<Option_2[]>;
|
|
357
|
+
default: () => never[];
|
|
358
|
+
};
|
|
359
|
+
/** Предикат равенства */
|
|
360
|
+
equalFn: {
|
|
361
|
+
type: PropType<EqualPredicate>;
|
|
362
|
+
default: (a: unknown, b: unknown) => boolean;
|
|
363
|
+
};
|
|
364
|
+
/** Внешний вид */
|
|
365
|
+
appearance: {
|
|
366
|
+
type: PropType<UiRadioSwitchProperties["appearance"]>;
|
|
367
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
368
|
+
validator: (appearance: string) => boolean;
|
|
369
|
+
};
|
|
370
|
+
/** Размер */
|
|
371
|
+
size: {
|
|
372
|
+
type: PropType<UiRadioSwitchProperties["size"]>;
|
|
373
|
+
default: RADIO_SWITCH_SIZE;
|
|
374
|
+
validator: (size: string) => boolean;
|
|
375
|
+
};
|
|
376
|
+
/** Растягивание контейнера в зависимости от контента */
|
|
377
|
+
rubber: {
|
|
378
|
+
type: BooleanConstructor;
|
|
379
|
+
default: boolean;
|
|
380
|
+
};
|
|
381
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
382
|
+
change: (value: unknown) => any;
|
|
383
|
+
"update:value": (value: unknown) => any;
|
|
384
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
385
|
+
/** Выбранное значение */
|
|
386
|
+
value: {
|
|
387
|
+
type: PropType<UiRadioSwitchProperties["value"]>;
|
|
388
|
+
default: null;
|
|
389
|
+
};
|
|
390
|
+
/** Список опций */
|
|
391
|
+
options: {
|
|
392
|
+
type: PropType<Option_2[]>;
|
|
393
|
+
default: () => never[];
|
|
394
|
+
};
|
|
395
|
+
/** Предикат равенства */
|
|
396
|
+
equalFn: {
|
|
397
|
+
type: PropType<EqualPredicate>;
|
|
398
|
+
default: (a: unknown, b: unknown) => boolean;
|
|
399
|
+
};
|
|
400
|
+
/** Внешний вид */
|
|
401
|
+
appearance: {
|
|
402
|
+
type: PropType<UiRadioSwitchProperties["appearance"]>;
|
|
403
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
404
|
+
validator: (appearance: string) => boolean;
|
|
405
|
+
};
|
|
406
|
+
/** Размер */
|
|
407
|
+
size: {
|
|
408
|
+
type: PropType<UiRadioSwitchProperties["size"]>;
|
|
409
|
+
default: RADIO_SWITCH_SIZE;
|
|
410
|
+
validator: (size: string) => boolean;
|
|
411
|
+
};
|
|
412
|
+
/** Растягивание контейнера в зависимости от контента */
|
|
413
|
+
rubber: {
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
default: boolean;
|
|
416
|
+
};
|
|
417
|
+
}>> & Readonly<{
|
|
418
|
+
onChange?: ((value: unknown) => any) | undefined;
|
|
419
|
+
"onUpdate:value"?: ((value: unknown) => any) | undefined;
|
|
420
|
+
}>, {
|
|
421
|
+
size: "sm" | "lg" | "md" | RADIO_SWITCH_SIZE | undefined;
|
|
422
|
+
appearance: "default" | "section" | RADIO_SWITCH_APPEARANCE | undefined;
|
|
423
|
+
value: null;
|
|
424
|
+
options: Option_2[];
|
|
425
|
+
rubber: boolean;
|
|
426
|
+
equalFn: EqualPredicate;
|
|
427
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
428
|
+
declare const __VLS_component_4: DefineComponent<ExtractPropTypes<{
|
|
429
|
+
model: {
|
|
430
|
+
type: PropType<UiToggleGroupProperties["model"]>;
|
|
431
|
+
default: () => never[];
|
|
432
|
+
};
|
|
433
|
+
options: {
|
|
434
|
+
type: PropType<UiToggleGroupItem[]>;
|
|
435
|
+
default: () => never[];
|
|
436
|
+
};
|
|
437
|
+
equalFn: {
|
|
438
|
+
type: PropType<UiToggleGroupEqualPredicate>;
|
|
439
|
+
default: (a: unknown, b: unknown) => boolean;
|
|
440
|
+
};
|
|
441
|
+
size: {
|
|
442
|
+
type: PropType<UiToggleGroupProperties["size"]>;
|
|
443
|
+
default: UiToggleButtonSize;
|
|
444
|
+
validator: (size: string) => boolean;
|
|
445
|
+
};
|
|
446
|
+
rubber: {
|
|
447
|
+
type: BooleanConstructor;
|
|
448
|
+
default: boolean;
|
|
449
|
+
};
|
|
450
|
+
disabled: {
|
|
451
|
+
type: BooleanConstructor;
|
|
452
|
+
default: boolean;
|
|
453
|
+
};
|
|
454
|
+
ariaLabel: {
|
|
455
|
+
type: StringConstructor;
|
|
456
|
+
default: undefined;
|
|
457
|
+
};
|
|
458
|
+
ariaLabelledby: {
|
|
459
|
+
type: StringConstructor;
|
|
460
|
+
default: undefined;
|
|
461
|
+
};
|
|
462
|
+
ariaDescribedby: {
|
|
463
|
+
type: StringConstructor;
|
|
464
|
+
default: undefined;
|
|
465
|
+
};
|
|
466
|
+
ariaOrientation: {
|
|
467
|
+
type: PropType<UiToggleGroupProperties["ariaOrientation"]>;
|
|
468
|
+
default: string;
|
|
469
|
+
};
|
|
470
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
471
|
+
change: (value: unknown[]) => any;
|
|
472
|
+
"update:model": (value: unknown[]) => any;
|
|
473
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
474
|
+
model: {
|
|
475
|
+
type: PropType<UiToggleGroupProperties["model"]>;
|
|
476
|
+
default: () => never[];
|
|
477
|
+
};
|
|
478
|
+
options: {
|
|
479
|
+
type: PropType<UiToggleGroupItem[]>;
|
|
480
|
+
default: () => never[];
|
|
481
|
+
};
|
|
482
|
+
equalFn: {
|
|
483
|
+
type: PropType<UiToggleGroupEqualPredicate>;
|
|
484
|
+
default: (a: unknown, b: unknown) => boolean;
|
|
485
|
+
};
|
|
486
|
+
size: {
|
|
487
|
+
type: PropType<UiToggleGroupProperties["size"]>;
|
|
488
|
+
default: UiToggleButtonSize;
|
|
489
|
+
validator: (size: string) => boolean;
|
|
490
|
+
};
|
|
491
|
+
rubber: {
|
|
492
|
+
type: BooleanConstructor;
|
|
493
|
+
default: boolean;
|
|
494
|
+
};
|
|
495
|
+
disabled: {
|
|
496
|
+
type: BooleanConstructor;
|
|
497
|
+
default: boolean;
|
|
498
|
+
};
|
|
499
|
+
ariaLabel: {
|
|
500
|
+
type: StringConstructor;
|
|
501
|
+
default: undefined;
|
|
502
|
+
};
|
|
503
|
+
ariaLabelledby: {
|
|
504
|
+
type: StringConstructor;
|
|
505
|
+
default: undefined;
|
|
506
|
+
};
|
|
507
|
+
ariaDescribedby: {
|
|
508
|
+
type: StringConstructor;
|
|
509
|
+
default: undefined;
|
|
510
|
+
};
|
|
511
|
+
ariaOrientation: {
|
|
512
|
+
type: PropType<UiToggleGroupProperties["ariaOrientation"]>;
|
|
513
|
+
default: string;
|
|
514
|
+
};
|
|
515
|
+
}>> & Readonly<{
|
|
516
|
+
onChange?: ((value: unknown[]) => any) | undefined;
|
|
517
|
+
"onUpdate:model"?: ((value: unknown[]) => any) | undefined;
|
|
518
|
+
}>, {
|
|
519
|
+
disabled: boolean;
|
|
520
|
+
size: "xs" | "sm" | "lg" | "md" | UiToggleButtonSize | undefined;
|
|
521
|
+
model: unknown[] | undefined;
|
|
522
|
+
options: UiToggleGroupItem[];
|
|
523
|
+
rubber: boolean;
|
|
524
|
+
equalFn: UiToggleGroupEqualPredicate;
|
|
525
|
+
ariaLabel: string;
|
|
526
|
+
ariaLabelledby: string;
|
|
527
|
+
ariaDescribedby: string;
|
|
528
|
+
ariaOrientation: "horizontal" | "vertical" | undefined;
|
|
529
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
530
|
+
declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
|
|
137
531
|
/** Атрибут id корневого элемента выпадающего списка. Должен быть уникальным на странице */
|
|
138
532
|
id: {
|
|
139
533
|
type: StringConstructor;
|
|
@@ -457,7 +851,7 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
|
|
|
457
851
|
};
|
|
458
852
|
}) | null;
|
|
459
853
|
}, any>;
|
|
460
|
-
declare const
|
|
854
|
+
declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
|
|
461
855
|
/** Значение опции */
|
|
462
856
|
value: {
|
|
463
857
|
type: PropType<unknown>;
|
|
@@ -551,7 +945,7 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
|
|
|
551
945
|
accent: boolean;
|
|
552
946
|
counter: string | number | null;
|
|
553
947
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
554
|
-
declare const
|
|
948
|
+
declare const __VLS_component_7: DefineComponent<ExtractPropTypes<{
|
|
555
949
|
/** Заголовок группы опций */
|
|
556
950
|
label: {
|
|
557
951
|
type: StringConstructor;
|
|
@@ -588,10 +982,11 @@ declare function __VLS_template(): {
|
|
|
588
982
|
declare function __VLS_template_2(): {
|
|
589
983
|
attrs: Partial<{}>;
|
|
590
984
|
slots: {
|
|
591
|
-
|
|
985
|
+
addon?(_: {}): any;
|
|
986
|
+
actions?(_: {}): any;
|
|
592
987
|
};
|
|
593
988
|
refs: {
|
|
594
|
-
|
|
989
|
+
header: ({
|
|
595
990
|
$: ComponentInternalInstance;
|
|
596
991
|
$data: {
|
|
597
992
|
[x: string]: never;
|
|
@@ -613,20 +1008,146 @@ declare function __VLS_template_2(): {
|
|
|
613
1008
|
$host: Element | null;
|
|
614
1009
|
$emit: (event: string, ...args: any[]) => void;
|
|
615
1010
|
$el: any;
|
|
616
|
-
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<
|
|
1011
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiPageHeaderProperties>>>, {
|
|
617
1012
|
[x: string]: unknown;
|
|
618
1013
|
}, {
|
|
619
1014
|
[x: string]: never;
|
|
620
1015
|
}, {
|
|
621
1016
|
[x: string]: never;
|
|
622
1017
|
}, {
|
|
623
|
-
|
|
624
|
-
|
|
1018
|
+
focus: () => Promise<void>;
|
|
1019
|
+
blur: () => Promise<void>;
|
|
625
1020
|
}, {
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
1021
|
+
blur: (event: Event) => boolean;
|
|
1022
|
+
change: (event: Event) => boolean;
|
|
1023
|
+
focus: (event: FocusEvent) => boolean;
|
|
1024
|
+
keydown: (event: KeyboardEvent) => boolean;
|
|
1025
|
+
'update:value': (value: string | number) => boolean;
|
|
1026
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1027
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1028
|
+
created?: (() => void) | (() => void)[];
|
|
1029
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1030
|
+
mounted?: (() => void) | (() => void)[];
|
|
1031
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1032
|
+
updated?: (() => void) | (() => void)[];
|
|
1033
|
+
activated?: (() => void) | (() => void)[];
|
|
1034
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1035
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1036
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1037
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1038
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1039
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1040
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1041
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1042
|
+
};
|
|
1043
|
+
$forceUpdate: () => void;
|
|
1044
|
+
$nextTick: nextTick;
|
|
1045
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
1046
|
+
R,
|
|
1047
|
+
R,
|
|
1048
|
+
OnCleanup
|
|
1049
|
+
]) => any : (...args: [
|
|
1050
|
+
any,
|
|
1051
|
+
any,
|
|
1052
|
+
OnCleanup
|
|
1053
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1054
|
+
} & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiPageHeaderProperties>>>, string> & ShallowUnwrapRef<{
|
|
1055
|
+
[x: string]: unknown;
|
|
1056
|
+
}> & {
|
|
1057
|
+
[x: string]: never;
|
|
1058
|
+
} & {
|
|
1059
|
+
[x: string]: unknown;
|
|
1060
|
+
} & MethodOptions & {
|
|
1061
|
+
focus: () => Promise<void>;
|
|
1062
|
+
blur: () => Promise<void>;
|
|
1063
|
+
} & ComponentCustomProperties & {} & {
|
|
1064
|
+
$slots: {
|
|
1065
|
+
[x: string]: never;
|
|
1066
|
+
} & {
|
|
1067
|
+
default?: (...args: never[]) => unknown;
|
|
1068
|
+
};
|
|
1069
|
+
}) | null;
|
|
1070
|
+
};
|
|
1071
|
+
rootEl: any;
|
|
1072
|
+
};
|
|
1073
|
+
declare function __VLS_template_3(): {
|
|
1074
|
+
attrs: Partial<{}>;
|
|
1075
|
+
slots: Readonly<{
|
|
1076
|
+
/** Набор опций переключателя */
|
|
1077
|
+
default?: () => VNodeChild;
|
|
1078
|
+
/** Иконка опции переключателя */
|
|
1079
|
+
icon?: (props: {
|
|
1080
|
+
option: Option_2;
|
|
1081
|
+
}) => VNodeChild;
|
|
1082
|
+
}> & {
|
|
1083
|
+
/** Набор опций переключателя */
|
|
1084
|
+
default?: () => VNodeChild;
|
|
1085
|
+
/** Иконка опции переключателя */
|
|
1086
|
+
icon?: (props: {
|
|
1087
|
+
option: Option_2;
|
|
1088
|
+
}) => VNodeChild;
|
|
1089
|
+
};
|
|
1090
|
+
refs: {};
|
|
1091
|
+
rootEl: any;
|
|
1092
|
+
};
|
|
1093
|
+
declare function __VLS_template_4(): {
|
|
1094
|
+
attrs: Partial<{}>;
|
|
1095
|
+
slots: Readonly<{
|
|
1096
|
+
default?: () => VNodeChild;
|
|
1097
|
+
icon?: (props: {
|
|
1098
|
+
option: UiToggleGroupItem;
|
|
1099
|
+
}) => VNodeChild;
|
|
1100
|
+
}> & {
|
|
1101
|
+
default?: () => VNodeChild;
|
|
1102
|
+
icon?: (props: {
|
|
1103
|
+
option: UiToggleGroupItem;
|
|
1104
|
+
}) => VNodeChild;
|
|
1105
|
+
};
|
|
1106
|
+
refs: {};
|
|
1107
|
+
rootEl: any;
|
|
1108
|
+
};
|
|
1109
|
+
declare function __VLS_template_5(): {
|
|
1110
|
+
attrs: Partial<{}>;
|
|
1111
|
+
slots: {
|
|
1112
|
+
default?(_: {}): any;
|
|
1113
|
+
};
|
|
1114
|
+
refs: {
|
|
1115
|
+
popper: ({
|
|
1116
|
+
$: ComponentInternalInstance;
|
|
1117
|
+
$data: {
|
|
1118
|
+
[x: string]: never;
|
|
1119
|
+
};
|
|
1120
|
+
$props: Partial<{}> & Omit<{
|
|
1121
|
+
readonly [x: string]: any;
|
|
1122
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
1123
|
+
$attrs: {
|
|
1124
|
+
[x: string]: unknown;
|
|
1125
|
+
};
|
|
1126
|
+
$refs: {
|
|
1127
|
+
[x: string]: unknown;
|
|
1128
|
+
};
|
|
1129
|
+
$slots: Readonly<{
|
|
1130
|
+
[name: string]: Slot<any> | undefined;
|
|
1131
|
+
}>;
|
|
1132
|
+
$root: ComponentPublicInstance | null;
|
|
1133
|
+
$parent: ComponentPublicInstance | null;
|
|
1134
|
+
$host: Element | null;
|
|
1135
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1136
|
+
$el: any;
|
|
1137
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiSelectPopperProperties>>>, {
|
|
1138
|
+
[x: string]: unknown;
|
|
1139
|
+
}, {
|
|
1140
|
+
[x: string]: never;
|
|
1141
|
+
}, {
|
|
1142
|
+
[x: string]: never;
|
|
1143
|
+
}, {
|
|
1144
|
+
autoScroll: () => Promise<void>;
|
|
1145
|
+
updateWidth: () => Promise<void>;
|
|
1146
|
+
}, {
|
|
1147
|
+
'update:visible': (visible: boolean) => boolean;
|
|
1148
|
+
show: () => boolean;
|
|
1149
|
+
hide: () => boolean;
|
|
1150
|
+
shown: () => boolean;
|
|
630
1151
|
hidden: () => boolean;
|
|
631
1152
|
dispose: () => boolean;
|
|
632
1153
|
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
@@ -676,7 +1197,7 @@ declare function __VLS_template_2(): {
|
|
|
676
1197
|
};
|
|
677
1198
|
rootEl: any;
|
|
678
1199
|
};
|
|
679
|
-
declare function
|
|
1200
|
+
declare function __VLS_template_6(): {
|
|
680
1201
|
attrs: Partial<{}>;
|
|
681
1202
|
slots: {
|
|
682
1203
|
default?(_: {
|
|
@@ -696,7 +1217,7 @@ declare function __VLS_template_3(): {
|
|
|
696
1217
|
refs: {};
|
|
697
1218
|
rootEl: HTMLDivElement;
|
|
698
1219
|
};
|
|
699
|
-
declare function
|
|
1220
|
+
declare function __VLS_template_7(): {
|
|
700
1221
|
attrs: Partial<{}>;
|
|
701
1222
|
slots: {
|
|
702
1223
|
option?(_: {}): any;
|
|
@@ -713,6 +1234,9 @@ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
713
1234
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
714
1235
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
715
1236
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1237
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
1238
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
1239
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
716
1240
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
717
1241
|
new (): {
|
|
718
1242
|
$slots: S;
|
|
@@ -733,6 +1257,31 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
733
1257
|
$slots: S;
|
|
734
1258
|
};
|
|
735
1259
|
};
|
|
1260
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
1261
|
+
new (): {
|
|
1262
|
+
$slots: S;
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
1266
|
+
new (): {
|
|
1267
|
+
$slots: S;
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
1271
|
+
new (): {
|
|
1272
|
+
$slots: S;
|
|
1273
|
+
};
|
|
1274
|
+
};
|
|
1275
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
1276
|
+
new (): {
|
|
1277
|
+
$slots: S;
|
|
1278
|
+
};
|
|
1279
|
+
};
|
|
1280
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
1281
|
+
new (): {
|
|
1282
|
+
$slots: S;
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
736
1285
|
declare type Adaptation = 'flip' | 'shift';
|
|
737
1286
|
export declare enum ALIGN {
|
|
738
1287
|
LEFT = "left",
|
|
@@ -847,6 +1396,7 @@ declare enum DIRECTION_3 {
|
|
|
847
1396
|
HORIZONTAL = "horizontal",
|
|
848
1397
|
VERTICAL = "vertical"
|
|
849
1398
|
}
|
|
1399
|
+
export declare type EqualPredicate = (a: unknown, b: unknown) => boolean;
|
|
850
1400
|
declare type FloatingOptions = {
|
|
851
1401
|
placement?: PlacementLiteral | PlacementOptions;
|
|
852
1402
|
offsetMainAxis?: number | string;
|
|
@@ -878,6 +1428,12 @@ declare type MODAL_SIDEBAR_ROLE = 'dialog' | 'alertdialog';
|
|
|
878
1428
|
declare type MODAL_WINDOW_ROLE = 'dialog' | 'alertdialog';
|
|
879
1429
|
export declare const mountEndpointRoot: (channel: Channel) => Promise<RemoteRoot<SchemaOf<string>>>;
|
|
880
1430
|
declare type Numeric = number | string;
|
|
1431
|
+
declare type Option_2 = {
|
|
1432
|
+
value: unknown;
|
|
1433
|
+
label: string;
|
|
1434
|
+
disabled?: boolean;
|
|
1435
|
+
};
|
|
1436
|
+
export { Option_2 as Option };
|
|
881
1437
|
declare enum PLACEMENT {
|
|
882
1438
|
TOP = "top",
|
|
883
1439
|
TOP_START = "top-start",
|
|
@@ -900,6 +1456,15 @@ declare type QuickOption = {
|
|
|
900
1456
|
label: string;
|
|
901
1457
|
value: Exclude<QuickDate, null>;
|
|
902
1458
|
};
|
|
1459
|
+
export declare enum RADIO_SWITCH_APPEARANCE {
|
|
1460
|
+
DEFAULT = "default",
|
|
1461
|
+
SECTION = "section"
|
|
1462
|
+
}
|
|
1463
|
+
export declare enum RADIO_SWITCH_SIZE {
|
|
1464
|
+
SM = "sm",
|
|
1465
|
+
MD = "md",
|
|
1466
|
+
LG = "lg"
|
|
1467
|
+
}
|
|
903
1468
|
declare type RemoteProperties<T> = HTMLAttributes & T & Record<string, never>;
|
|
904
1469
|
export declare type RowAttrs = Record<string, string | number | boolean | undefined> & {
|
|
905
1470
|
class?: CssClass;
|
|
@@ -1000,6 +1565,31 @@ declare enum SYNCHRONIZATION {
|
|
|
1000
1565
|
INSTANT = "instant",
|
|
1001
1566
|
CONFIRMED = "confirmed"
|
|
1002
1567
|
}
|
|
1568
|
+
export declare enum TAB_APPEARANCE {
|
|
1569
|
+
TEXT = "text",
|
|
1570
|
+
FILLED = "filled"
|
|
1571
|
+
}
|
|
1572
|
+
export declare enum TAB_SIZE {
|
|
1573
|
+
SM = "sm",
|
|
1574
|
+
MD = "md",
|
|
1575
|
+
LG = "lg"
|
|
1576
|
+
}
|
|
1577
|
+
export declare type TabFocusDirection = 'next' | 'prev' | 'first' | 'last';
|
|
1578
|
+
export declare type TabItem = {
|
|
1579
|
+
id: string;
|
|
1580
|
+
label?: string;
|
|
1581
|
+
counter?: string | number | null;
|
|
1582
|
+
disabled?: boolean;
|
|
1583
|
+
iconOnly?: boolean;
|
|
1584
|
+
};
|
|
1585
|
+
export declare type TabLayout = {
|
|
1586
|
+
headIds: string[];
|
|
1587
|
+
menuIds: string[];
|
|
1588
|
+
};
|
|
1589
|
+
export declare type TabMoveFocusIntent = {
|
|
1590
|
+
id: string;
|
|
1591
|
+
direction: TabFocusDirection;
|
|
1592
|
+
};
|
|
1003
1593
|
declare type TimeArray = [
|
|
1004
1594
|
number,
|
|
1005
1595
|
number
|
|
@@ -2565,6 +3155,19 @@ declare type UiNumberStepperProperties = {
|
|
|
2565
3155
|
textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
|
|
2566
3156
|
};
|
|
2567
3157
|
export declare const UiNumberStepperType: SchemaType<"UiNumberStepper", RemoteProperties<UiNumberStepperProperties>, RemoteCallable<UiNumberStepperMethods>>;
|
|
3158
|
+
export declare const UiPageHeader: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
3159
|
+
declare type UiPageHeaderProperties = {
|
|
3160
|
+
id?: string;
|
|
3161
|
+
value?: string | number | null;
|
|
3162
|
+
placeholder?: string;
|
|
3163
|
+
error?: string;
|
|
3164
|
+
editable?: boolean;
|
|
3165
|
+
autofocus?: boolean;
|
|
3166
|
+
autoselect?: boolean;
|
|
3167
|
+
readonly?: boolean;
|
|
3168
|
+
disabled?: boolean;
|
|
3169
|
+
invalid?: boolean;
|
|
3170
|
+
};
|
|
2568
3171
|
export declare const UiPopper: {
|
|
2569
3172
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiPopperProperties>>>, {
|
|
2570
3173
|
[x: string]: unknown;
|
|
@@ -2794,6 +3397,199 @@ declare type UiRadioProperties = {
|
|
|
2794
3397
|
required?: boolean;
|
|
2795
3398
|
disabled?: boolean;
|
|
2796
3399
|
};
|
|
3400
|
+
export declare const UiRadioSwitch: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
3401
|
+
export declare const UiRadioSwitchOption: __VLS_WithTemplateSlots_4<DefineComponent<ExtractPropTypes<{
|
|
3402
|
+
/** Идентификатор */
|
|
3403
|
+
id: {
|
|
3404
|
+
type: StringConstructor;
|
|
3405
|
+
default: () => string;
|
|
3406
|
+
};
|
|
3407
|
+
/** Заголовок */
|
|
3408
|
+
label: {
|
|
3409
|
+
type: StringConstructor;
|
|
3410
|
+
default: string;
|
|
3411
|
+
};
|
|
3412
|
+
/** Значение опции */
|
|
3413
|
+
value: {
|
|
3414
|
+
type: PropType<UiRadioSwitchOptionProperties["value"]>;
|
|
3415
|
+
required: true;
|
|
3416
|
+
};
|
|
3417
|
+
/** Используется только c appearance=section */
|
|
3418
|
+
description: {
|
|
3419
|
+
type: StringConstructor;
|
|
3420
|
+
default: string;
|
|
3421
|
+
};
|
|
3422
|
+
/** Индикатор, заблокирована опция или нет */
|
|
3423
|
+
disabled: {
|
|
3424
|
+
type: BooleanConstructor;
|
|
3425
|
+
default: boolean;
|
|
3426
|
+
};
|
|
3427
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3428
|
+
/** Идентификатор */
|
|
3429
|
+
id: {
|
|
3430
|
+
type: StringConstructor;
|
|
3431
|
+
default: () => string;
|
|
3432
|
+
};
|
|
3433
|
+
/** Заголовок */
|
|
3434
|
+
label: {
|
|
3435
|
+
type: StringConstructor;
|
|
3436
|
+
default: string;
|
|
3437
|
+
};
|
|
3438
|
+
/** Значение опции */
|
|
3439
|
+
value: {
|
|
3440
|
+
type: PropType<UiRadioSwitchOptionProperties["value"]>;
|
|
3441
|
+
required: true;
|
|
3442
|
+
};
|
|
3443
|
+
/** Используется только c appearance=section */
|
|
3444
|
+
description: {
|
|
3445
|
+
type: StringConstructor;
|
|
3446
|
+
default: string;
|
|
3447
|
+
};
|
|
3448
|
+
/** Индикатор, заблокирована опция или нет */
|
|
3449
|
+
disabled: {
|
|
3450
|
+
type: BooleanConstructor;
|
|
3451
|
+
default: boolean;
|
|
3452
|
+
};
|
|
3453
|
+
}>> & Readonly<{}>, {
|
|
3454
|
+
description: string;
|
|
3455
|
+
id: string;
|
|
3456
|
+
disabled: boolean;
|
|
3457
|
+
label: string;
|
|
3458
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
3459
|
+
shell: ({
|
|
3460
|
+
$: ComponentInternalInstance;
|
|
3461
|
+
$data: {
|
|
3462
|
+
[x: string]: never;
|
|
3463
|
+
};
|
|
3464
|
+
$props: Partial<{}> & Omit<{
|
|
3465
|
+
readonly [x: string]: any;
|
|
3466
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
3467
|
+
$attrs: {
|
|
3468
|
+
[x: string]: unknown;
|
|
3469
|
+
};
|
|
3470
|
+
$refs: {
|
|
3471
|
+
[x: string]: unknown;
|
|
3472
|
+
};
|
|
3473
|
+
$slots: Readonly<{
|
|
3474
|
+
[name: string]: Slot<any> | undefined;
|
|
3475
|
+
}>;
|
|
3476
|
+
$root: ComponentPublicInstance | null;
|
|
3477
|
+
$parent: ComponentPublicInstance | null;
|
|
3478
|
+
$host: Element | null;
|
|
3479
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
3480
|
+
$el: any;
|
|
3481
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiRadioSwitchOptionShellProperties>>>, {
|
|
3482
|
+
[x: string]: unknown;
|
|
3483
|
+
}, {
|
|
3484
|
+
[x: string]: never;
|
|
3485
|
+
}, {
|
|
3486
|
+
[x: string]: never;
|
|
3487
|
+
}, {
|
|
3488
|
+
focus: () => Promise<void>;
|
|
3489
|
+
blur: () => Promise<void>;
|
|
3490
|
+
}, {
|
|
3491
|
+
click: (event: SerializedEvent) => boolean;
|
|
3492
|
+
focus: (event: SerializedFocusEvent) => boolean;
|
|
3493
|
+
blur: (event: SerializedEvent) => boolean;
|
|
3494
|
+
keydown: (event: SerializedKeyboardEvent) => boolean;
|
|
3495
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
3496
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
3497
|
+
created?: (() => void) | (() => void)[];
|
|
3498
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
3499
|
+
mounted?: (() => void) | (() => void)[];
|
|
3500
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
3501
|
+
updated?: (() => void) | (() => void)[];
|
|
3502
|
+
activated?: (() => void) | (() => void)[];
|
|
3503
|
+
deactivated?: (() => void) | (() => void)[];
|
|
3504
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
3505
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
3506
|
+
destroyed?: (() => void) | (() => void)[];
|
|
3507
|
+
unmounted?: (() => void) | (() => void)[];
|
|
3508
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
3509
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
3510
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3511
|
+
};
|
|
3512
|
+
$forceUpdate: () => void;
|
|
3513
|
+
$nextTick: nextTick;
|
|
3514
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
3515
|
+
R,
|
|
3516
|
+
R,
|
|
3517
|
+
OnCleanup
|
|
3518
|
+
]) => any : (...args: [
|
|
3519
|
+
any,
|
|
3520
|
+
any,
|
|
3521
|
+
OnCleanup
|
|
3522
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
3523
|
+
} & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiRadioSwitchOptionShellProperties>>>, string> & ShallowUnwrapRef<{
|
|
3524
|
+
[x: string]: unknown;
|
|
3525
|
+
}> & {
|
|
3526
|
+
[x: string]: never;
|
|
3527
|
+
} & {
|
|
3528
|
+
[x: string]: unknown;
|
|
3529
|
+
} & MethodOptions & {
|
|
3530
|
+
focus: () => Promise<void>;
|
|
3531
|
+
blur: () => Promise<void>;
|
|
3532
|
+
} & ComponentCustomProperties & {} & {
|
|
3533
|
+
$slots: {
|
|
3534
|
+
[x: string]: never;
|
|
3535
|
+
} & {
|
|
3536
|
+
default?: (...args: never[]) => unknown;
|
|
3537
|
+
};
|
|
3538
|
+
}) | null;
|
|
3539
|
+
}, any>, Readonly<{
|
|
3540
|
+
/** Полный пользовательский шаблон опции */
|
|
3541
|
+
default?: () => VNodeChild;
|
|
3542
|
+
/** Иконка опции */
|
|
3543
|
+
icon?: () => VNodeChild;
|
|
3544
|
+
/** Заголовок опции */
|
|
3545
|
+
label?: () => VNodeChild;
|
|
3546
|
+
/** Дополнительное описание опции */
|
|
3547
|
+
description?: () => VNodeChild;
|
|
3548
|
+
/** Иконка выбранного состояния */
|
|
3549
|
+
checkmark?: () => VNodeChild;
|
|
3550
|
+
}> & {
|
|
3551
|
+
/** Полный пользовательский шаблон опции */
|
|
3552
|
+
default?: () => VNodeChild;
|
|
3553
|
+
/** Иконка опции */
|
|
3554
|
+
icon?: () => VNodeChild;
|
|
3555
|
+
/** Заголовок опции */
|
|
3556
|
+
label?: () => VNodeChild;
|
|
3557
|
+
/** Дополнительное описание опции */
|
|
3558
|
+
description?: () => VNodeChild;
|
|
3559
|
+
/** Иконка выбранного состояния */
|
|
3560
|
+
checkmark?: () => VNodeChild;
|
|
3561
|
+
}>;
|
|
3562
|
+
export declare type UiRadioSwitchOptionProperties = {
|
|
3563
|
+
id?: string;
|
|
3564
|
+
label?: string;
|
|
3565
|
+
value: unknown;
|
|
3566
|
+
description?: string;
|
|
3567
|
+
disabled?: boolean;
|
|
3568
|
+
};
|
|
3569
|
+
export declare type UiRadioSwitchOptionShellMethods = {
|
|
3570
|
+
focus(): void;
|
|
3571
|
+
blur(): void;
|
|
3572
|
+
};
|
|
3573
|
+
export declare type UiRadioSwitchOptionShellProperties = {
|
|
3574
|
+
id?: string;
|
|
3575
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
3576
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
3577
|
+
checked?: boolean;
|
|
3578
|
+
disabled?: boolean;
|
|
3579
|
+
};
|
|
3580
|
+
export declare type UiRadioSwitchProperties = {
|
|
3581
|
+
value?: unknown;
|
|
3582
|
+
options?: Option_2[];
|
|
3583
|
+
equalFn?: EqualPredicate;
|
|
3584
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
3585
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
3586
|
+
rubber?: boolean;
|
|
3587
|
+
};
|
|
3588
|
+
export declare type UiRadioSwitchRootProperties = {
|
|
3589
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
3590
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
3591
|
+
rubber?: boolean;
|
|
3592
|
+
};
|
|
2797
3593
|
export declare const UiRadioType: SchemaType<"UiRadio", RemoteProperties<UiRadioProperties>, RemoteCallable<UiRadioMethods>>;
|
|
2798
3594
|
export declare const UiScrollBox: {
|
|
2799
3595
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiScrollBoxProperties>>>, {
|
|
@@ -2861,33 +3657,151 @@ declare type UiScrollBoxProperties = {
|
|
|
2861
3657
|
showOnHover?: boolean;
|
|
2862
3658
|
showOnMac?: boolean;
|
|
2863
3659
|
};
|
|
2864
|
-
export declare const UiScrollBoxType: SchemaType<"UiScrollBox", RemoteProperties<UiScrollBoxProperties>, RemoteCallable<UiScrollBoxMethods & Record<string, never>>>;
|
|
2865
|
-
export declare const UiSelect:
|
|
2866
|
-
export declare const UiSelectOption:
|
|
2867
|
-
export declare const UiSelectOptionGroup:
|
|
2868
|
-
declare type UiSelectPopperProperties = {
|
|
2869
|
-
opened?: boolean;
|
|
2870
|
-
targetTriggers?: Trigger[] | TriggerSchema;
|
|
2871
|
-
popperTriggers?: Trigger[] | TriggerSchema;
|
|
2872
|
-
popperFitTrigger?: boolean;
|
|
2873
|
-
placement?: Side | `${Side}-${Alignment}` | PlacementOptions;
|
|
2874
|
-
popperClass?: string;
|
|
2875
|
-
popperOptions?: Omit<UiPopperProperties, 'placement' | 'shown' | 'target' | 'triggers'>;
|
|
3660
|
+
export declare const UiScrollBoxType: SchemaType<"UiScrollBox", RemoteProperties<UiScrollBoxProperties>, RemoteCallable<UiScrollBoxMethods & Record<string, never>>>;
|
|
3661
|
+
export declare const UiSelect: __VLS_WithTemplateSlots_7<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
3662
|
+
export declare const UiSelectOption: __VLS_WithTemplateSlots_8<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
3663
|
+
export declare const UiSelectOptionGroup: __VLS_WithTemplateSlots_9<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
3664
|
+
declare type UiSelectPopperProperties = {
|
|
3665
|
+
opened?: boolean;
|
|
3666
|
+
targetTriggers?: Trigger[] | TriggerSchema;
|
|
3667
|
+
popperTriggers?: Trigger[] | TriggerSchema;
|
|
3668
|
+
popperFitTrigger?: boolean;
|
|
3669
|
+
placement?: Side | `${Side}-${Alignment}` | PlacementOptions;
|
|
3670
|
+
popperClass?: string;
|
|
3671
|
+
popperOptions?: Omit<UiPopperProperties, 'placement' | 'shown' | 'target' | 'triggers'>;
|
|
3672
|
+
disabled?: boolean;
|
|
3673
|
+
readonly?: boolean;
|
|
3674
|
+
multiple?: boolean;
|
|
3675
|
+
ticker?: boolean;
|
|
3676
|
+
};
|
|
3677
|
+
export declare const UiSlider: {
|
|
3678
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiSliderProperties>>>, {
|
|
3679
|
+
[x: string]: unknown;
|
|
3680
|
+
}, {
|
|
3681
|
+
[x: string]: never;
|
|
3682
|
+
}, {
|
|
3683
|
+
[x: string]: never;
|
|
3684
|
+
}, MethodOptions, {
|
|
3685
|
+
'update:value': (value: number | number[]) => boolean;
|
|
3686
|
+
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3687
|
+
P: {};
|
|
3688
|
+
B: {};
|
|
3689
|
+
D: {};
|
|
3690
|
+
C: ComputedOptions;
|
|
3691
|
+
M: MethodOptions;
|
|
3692
|
+
Defaults: {};
|
|
3693
|
+
} & {
|
|
3694
|
+
P: {};
|
|
3695
|
+
B: {};
|
|
3696
|
+
D: {};
|
|
3697
|
+
C: {};
|
|
3698
|
+
M: {};
|
|
3699
|
+
Defaults: {};
|
|
3700
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiSliderProperties>>>, {
|
|
3701
|
+
[x: string]: unknown;
|
|
3702
|
+
}, {
|
|
3703
|
+
[x: string]: never;
|
|
3704
|
+
}, ComputedOptions & {
|
|
3705
|
+
[x: string]: never;
|
|
3706
|
+
}, MethodOptions, {}>;
|
|
3707
|
+
__isFragment?: never;
|
|
3708
|
+
__isTeleport?: never;
|
|
3709
|
+
__isSuspense?: never;
|
|
3710
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiSliderProperties>>>, {
|
|
3711
|
+
[x: string]: unknown;
|
|
3712
|
+
}, {
|
|
3713
|
+
[x: string]: never;
|
|
3714
|
+
}, {
|
|
3715
|
+
[x: string]: never;
|
|
3716
|
+
}, MethodOptions, {
|
|
3717
|
+
'update:value': (value: number | number[]) => boolean;
|
|
3718
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3719
|
+
$slots: {
|
|
3720
|
+
[x: string]: never;
|
|
3721
|
+
} & {
|
|
3722
|
+
default?: (...args: never[]) => unknown;
|
|
3723
|
+
};
|
|
3724
|
+
});
|
|
3725
|
+
declare type UiSliderProperties = {
|
|
3726
|
+
type?: TYPE_3 | `${TYPE_3}`;
|
|
3727
|
+
value?: number | number[];
|
|
3728
|
+
min?: number;
|
|
3729
|
+
max?: number;
|
|
3730
|
+
labelled?: boolean;
|
|
3731
|
+
};
|
|
3732
|
+
export declare const UiSliderType: SchemaType<"UiSlider", RemoteProperties<UiSliderProperties>, Record<string, never>>;
|
|
3733
|
+
export declare const UiSwitch: {
|
|
3734
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiSwitchProperties>>>, {
|
|
3735
|
+
[x: string]: unknown;
|
|
3736
|
+
}, {
|
|
3737
|
+
[x: string]: never;
|
|
3738
|
+
}, {
|
|
3739
|
+
[x: string]: never;
|
|
3740
|
+
}, MethodOptions, {
|
|
3741
|
+
click: (event: SerializedEvent) => boolean;
|
|
3742
|
+
focus: (event: SerializedFocusEvent) => boolean;
|
|
3743
|
+
blur: (event: SerializedEvent) => boolean;
|
|
3744
|
+
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3745
|
+
P: {};
|
|
3746
|
+
B: {};
|
|
3747
|
+
D: {};
|
|
3748
|
+
C: ComputedOptions;
|
|
3749
|
+
M: MethodOptions;
|
|
3750
|
+
Defaults: {};
|
|
3751
|
+
} & {
|
|
3752
|
+
P: {};
|
|
3753
|
+
B: {};
|
|
3754
|
+
D: {};
|
|
3755
|
+
C: {};
|
|
3756
|
+
M: {};
|
|
3757
|
+
Defaults: {};
|
|
3758
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiSwitchProperties>>>, {
|
|
3759
|
+
[x: string]: unknown;
|
|
3760
|
+
}, {
|
|
3761
|
+
[x: string]: never;
|
|
3762
|
+
}, ComputedOptions & {
|
|
3763
|
+
[x: string]: never;
|
|
3764
|
+
}, MethodOptions, {}>;
|
|
3765
|
+
__isFragment?: never;
|
|
3766
|
+
__isTeleport?: never;
|
|
3767
|
+
__isSuspense?: never;
|
|
3768
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiSwitchProperties>>>, {
|
|
3769
|
+
[x: string]: unknown;
|
|
3770
|
+
}, {
|
|
3771
|
+
[x: string]: never;
|
|
3772
|
+
}, {
|
|
3773
|
+
[x: string]: never;
|
|
3774
|
+
}, MethodOptions, {
|
|
3775
|
+
click: (event: SerializedEvent) => boolean;
|
|
3776
|
+
focus: (event: SerializedFocusEvent) => boolean;
|
|
3777
|
+
blur: (event: SerializedEvent) => boolean;
|
|
3778
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3779
|
+
$slots: {
|
|
3780
|
+
[x: string]: never;
|
|
3781
|
+
} & {
|
|
3782
|
+
default?: (...args: never[]) => unknown;
|
|
3783
|
+
};
|
|
3784
|
+
});
|
|
3785
|
+
declare type UiSwitchMethods = {
|
|
3786
|
+
click(): void;
|
|
3787
|
+
focus(): void;
|
|
3788
|
+
blur(): void;
|
|
3789
|
+
};
|
|
3790
|
+
declare type UiSwitchProperties = {
|
|
3791
|
+
id?: string | undefined;
|
|
3792
|
+
value?: boolean;
|
|
3793
|
+
square?: boolean;
|
|
2876
3794
|
disabled?: boolean;
|
|
2877
|
-
readonly?: boolean;
|
|
2878
|
-
multiple?: boolean;
|
|
2879
|
-
ticker?: boolean;
|
|
2880
3795
|
};
|
|
2881
|
-
export declare const
|
|
2882
|
-
|
|
3796
|
+
export declare const UiSwitchType: SchemaType<"UiSwitch", RemoteProperties<UiSwitchProperties>, RemoteCallable<UiSwitchMethods>>;
|
|
3797
|
+
export declare const UiTab: {
|
|
3798
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTabProperties>>>, {
|
|
2883
3799
|
[x: string]: unknown;
|
|
2884
3800
|
}, {
|
|
2885
3801
|
[x: string]: never;
|
|
2886
3802
|
}, {
|
|
2887
3803
|
[x: string]: never;
|
|
2888
|
-
}, MethodOptions, {
|
|
2889
|
-
'update:value': (value: number | number[]) => boolean;
|
|
2890
|
-
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3804
|
+
}, MethodOptions, never[], ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
2891
3805
|
P: {};
|
|
2892
3806
|
B: {};
|
|
2893
3807
|
D: {};
|
|
@@ -2901,7 +3815,7 @@ export declare const UiSlider: {
|
|
|
2901
3815
|
C: {};
|
|
2902
3816
|
M: {};
|
|
2903
3817
|
Defaults: {};
|
|
2904
|
-
}, Readonly<ExtractPropTypes<RemoteProperties<
|
|
3818
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiTabProperties>>>, {
|
|
2905
3819
|
[x: string]: unknown;
|
|
2906
3820
|
}, {
|
|
2907
3821
|
[x: string]: never;
|
|
@@ -2911,40 +3825,32 @@ export declare const UiSlider: {
|
|
|
2911
3825
|
__isFragment?: never;
|
|
2912
3826
|
__isTeleport?: never;
|
|
2913
3827
|
__isSuspense?: never;
|
|
2914
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<
|
|
3828
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiTabProperties>>>, {
|
|
2915
3829
|
[x: string]: unknown;
|
|
2916
3830
|
}, {
|
|
2917
3831
|
[x: string]: never;
|
|
2918
3832
|
}, {
|
|
2919
3833
|
[x: string]: never;
|
|
2920
|
-
}, MethodOptions, {
|
|
2921
|
-
'update:value': (value: number | number[]) => boolean;
|
|
2922
|
-
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3834
|
+
}, MethodOptions, never[], ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2923
3835
|
$slots: {
|
|
2924
3836
|
[x: string]: never;
|
|
2925
3837
|
} & {
|
|
2926
3838
|
default?: (...args: never[]) => unknown;
|
|
2927
3839
|
};
|
|
2928
3840
|
});
|
|
2929
|
-
declare
|
|
2930
|
-
|
|
2931
|
-
value?: number | number[];
|
|
2932
|
-
min?: number;
|
|
2933
|
-
max?: number;
|
|
2934
|
-
labelled?: boolean;
|
|
2935
|
-
};
|
|
2936
|
-
export declare const UiSliderType: SchemaType<"UiSlider", RemoteProperties<UiSliderProperties>, Record<string, never>>;
|
|
2937
|
-
export declare const UiSwitch: {
|
|
2938
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiSwitchProperties>>>, {
|
|
3841
|
+
export declare const UiTabGroup: {
|
|
3842
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTabGroupProperties>>>, {
|
|
2939
3843
|
[x: string]: unknown;
|
|
2940
3844
|
}, {
|
|
2941
3845
|
[x: string]: never;
|
|
2942
3846
|
}, {
|
|
2943
3847
|
[x: string]: never;
|
|
2944
3848
|
}, MethodOptions, {
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
3849
|
+
layout: (layout: TabLayout) => boolean;
|
|
3850
|
+
change: (id: string) => boolean;
|
|
3851
|
+
'update:activeId': (id: string) => boolean;
|
|
3852
|
+
'update:focusableId': (id: string | null) => boolean;
|
|
3853
|
+
'update:menuExpanded': (expanded: boolean) => boolean;
|
|
2948
3854
|
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
2949
3855
|
P: {};
|
|
2950
3856
|
B: {};
|
|
@@ -2959,7 +3865,7 @@ export declare const UiSwitch: {
|
|
|
2959
3865
|
C: {};
|
|
2960
3866
|
M: {};
|
|
2961
3867
|
Defaults: {};
|
|
2962
|
-
}, Readonly<ExtractPropTypes<RemoteProperties<
|
|
3868
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiTabGroupProperties>>>, {
|
|
2963
3869
|
[x: string]: unknown;
|
|
2964
3870
|
}, {
|
|
2965
3871
|
[x: string]: never;
|
|
@@ -2969,16 +3875,18 @@ export declare const UiSwitch: {
|
|
|
2969
3875
|
__isFragment?: never;
|
|
2970
3876
|
__isTeleport?: never;
|
|
2971
3877
|
__isSuspense?: never;
|
|
2972
|
-
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<
|
|
3878
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiTabGroupProperties>>>, {
|
|
2973
3879
|
[x: string]: unknown;
|
|
2974
3880
|
}, {
|
|
2975
3881
|
[x: string]: never;
|
|
2976
3882
|
}, {
|
|
2977
3883
|
[x: string]: never;
|
|
2978
3884
|
}, MethodOptions, {
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
3885
|
+
layout: (layout: TabLayout) => boolean;
|
|
3886
|
+
change: (id: string) => boolean;
|
|
3887
|
+
'update:activeId': (id: string) => boolean;
|
|
3888
|
+
'update:focusableId': (id: string | null) => boolean;
|
|
3889
|
+
'update:menuExpanded': (expanded: boolean) => boolean;
|
|
2982
3890
|
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
2983
3891
|
$slots: {
|
|
2984
3892
|
[x: string]: never;
|
|
@@ -2986,18 +3894,16 @@ export declare const UiSwitch: {
|
|
|
2986
3894
|
default?: (...args: never[]) => unknown;
|
|
2987
3895
|
};
|
|
2988
3896
|
});
|
|
2989
|
-
declare type
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
square?: boolean;
|
|
2998
|
-
disabled?: boolean;
|
|
3897
|
+
export declare type UiTabGroupProperties = {
|
|
3898
|
+
activeId?: string | null;
|
|
3899
|
+
focusableId?: string | null;
|
|
3900
|
+
items?: TabItem[];
|
|
3901
|
+
menuExpanded?: boolean;
|
|
3902
|
+
size?: TAB_SIZE | `${TAB_SIZE}`;
|
|
3903
|
+
appearance?: TAB_APPEARANCE | `${TAB_APPEARANCE}`;
|
|
3904
|
+
overflowing?: boolean;
|
|
2999
3905
|
};
|
|
3000
|
-
export declare const
|
|
3906
|
+
export declare const UiTabGroupType: SchemaType<"UiTabGroup", RemoteProperties<UiTabGroupProperties>>;
|
|
3001
3907
|
export declare const UiTable: DefineComponent<ExtractPropTypes<{
|
|
3002
3908
|
rows: {
|
|
3003
3909
|
type: PropType<readonly unknown[]>;
|
|
@@ -3516,6 +4422,13 @@ export declare const UiTableSorter: {
|
|
|
3516
4422
|
export declare type UiTableSorterProperties = {
|
|
3517
4423
|
direction?: DIRECTION | `${DIRECTION}` | null;
|
|
3518
4424
|
};
|
|
4425
|
+
export declare type UiTabProperties = {
|
|
4426
|
+
id: string;
|
|
4427
|
+
label?: string;
|
|
4428
|
+
counter?: string | number | null;
|
|
4429
|
+
disabled?: boolean;
|
|
4430
|
+
};
|
|
4431
|
+
export declare const UiTabType: SchemaType<"UiTab", RemoteProperties<UiTabProperties>>;
|
|
3519
4432
|
export declare const UiTag: {
|
|
3520
4433
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTagProperties>>>, {
|
|
3521
4434
|
[x: string]: unknown;
|
|
@@ -3799,6 +4712,257 @@ declare type UiTimePickerProperties = {
|
|
|
3799
4712
|
maxTime?: TimeArray | null;
|
|
3800
4713
|
};
|
|
3801
4714
|
export declare const UiTimePickerType: SchemaType<"UiTimePicker", RemoteProperties<UiTimePickerProperties>, RemoteCallable<UiTimePickerMethods>>;
|
|
4715
|
+
export declare const UiToggleButton: {
|
|
4716
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
|
|
4717
|
+
[x: string]: unknown;
|
|
4718
|
+
}, {
|
|
4719
|
+
[x: string]: never;
|
|
4720
|
+
}, {
|
|
4721
|
+
[x: string]: never;
|
|
4722
|
+
}, {
|
|
4723
|
+
focus: () => Promise<void>;
|
|
4724
|
+
blur: () => Promise<void>;
|
|
4725
|
+
click: () => Promise<void>;
|
|
4726
|
+
}, {
|
|
4727
|
+
click: (event: SerializedEvent) => boolean;
|
|
4728
|
+
focus: (event: SerializedFocusEvent) => boolean;
|
|
4729
|
+
blur: (event: SerializedEvent) => boolean;
|
|
4730
|
+
keydown: (event: SerializedKeyboardEvent) => boolean;
|
|
4731
|
+
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
4732
|
+
P: {};
|
|
4733
|
+
B: {};
|
|
4734
|
+
D: {};
|
|
4735
|
+
C: ComputedOptions;
|
|
4736
|
+
M: MethodOptions;
|
|
4737
|
+
Defaults: {};
|
|
4738
|
+
} & {
|
|
4739
|
+
P: {};
|
|
4740
|
+
B: {};
|
|
4741
|
+
D: {};
|
|
4742
|
+
C: {};
|
|
4743
|
+
M: {};
|
|
4744
|
+
Defaults: {};
|
|
4745
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
|
|
4746
|
+
[x: string]: unknown;
|
|
4747
|
+
}, {
|
|
4748
|
+
[x: string]: never;
|
|
4749
|
+
}, ComputedOptions & {
|
|
4750
|
+
[x: string]: never;
|
|
4751
|
+
}, MethodOptions & {
|
|
4752
|
+
focus: () => Promise<void>;
|
|
4753
|
+
blur: () => Promise<void>;
|
|
4754
|
+
click: () => Promise<void>;
|
|
4755
|
+
}, {}>;
|
|
4756
|
+
__isFragment?: never;
|
|
4757
|
+
__isTeleport?: never;
|
|
4758
|
+
__isSuspense?: never;
|
|
4759
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
|
|
4760
|
+
[x: string]: unknown;
|
|
4761
|
+
}, {
|
|
4762
|
+
[x: string]: never;
|
|
4763
|
+
}, {
|
|
4764
|
+
[x: string]: never;
|
|
4765
|
+
}, {
|
|
4766
|
+
focus: () => Promise<void>;
|
|
4767
|
+
blur: () => Promise<void>;
|
|
4768
|
+
click: () => Promise<void>;
|
|
4769
|
+
}, {
|
|
4770
|
+
click: (event: SerializedEvent) => boolean;
|
|
4771
|
+
focus: (event: SerializedFocusEvent) => boolean;
|
|
4772
|
+
blur: (event: SerializedEvent) => boolean;
|
|
4773
|
+
keydown: (event: SerializedKeyboardEvent) => boolean;
|
|
4774
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
4775
|
+
$slots: {
|
|
4776
|
+
[x: string]: never;
|
|
4777
|
+
} & {
|
|
4778
|
+
default?: (...args: never[]) => unknown;
|
|
4779
|
+
};
|
|
4780
|
+
});
|
|
4781
|
+
export declare type UiToggleButtonMethods = {
|
|
4782
|
+
click(): void;
|
|
4783
|
+
focus(): void;
|
|
4784
|
+
blur(): void;
|
|
4785
|
+
};
|
|
4786
|
+
export declare type UiToggleButtonProperties = {
|
|
4787
|
+
id?: string;
|
|
4788
|
+
type?: HTMLButtonElement['type'];
|
|
4789
|
+
pressed?: boolean;
|
|
4790
|
+
disabled?: boolean;
|
|
4791
|
+
focused?: boolean;
|
|
4792
|
+
grouped?: boolean;
|
|
4793
|
+
size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
|
|
4794
|
+
};
|
|
4795
|
+
export declare enum UiToggleButtonSize {
|
|
4796
|
+
LG = "lg",
|
|
4797
|
+
MD = "md",
|
|
4798
|
+
SM = "sm",
|
|
4799
|
+
XS = "xs"
|
|
4800
|
+
}
|
|
4801
|
+
export declare const UiToggleButtonType: SchemaType<"UiToggleButton", RemoteProperties<UiToggleButtonProperties>, RemoteCallable<UiToggleButtonMethods>>;
|
|
4802
|
+
export declare const UiToggleGroup: __VLS_WithTemplateSlots_5<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
4803
|
+
export declare type UiToggleGroupEqualPredicate = (a: unknown, b: unknown) => boolean;
|
|
4804
|
+
export declare type UiToggleGroupItem = {
|
|
4805
|
+
value: unknown;
|
|
4806
|
+
label: string;
|
|
4807
|
+
disabled?: boolean;
|
|
4808
|
+
};
|
|
4809
|
+
export declare const UiToggleGroupOption: __VLS_WithTemplateSlots_6<DefineComponent<ExtractPropTypes<{
|
|
4810
|
+
id: {
|
|
4811
|
+
type: StringConstructor;
|
|
4812
|
+
default: () => string;
|
|
4813
|
+
};
|
|
4814
|
+
label: {
|
|
4815
|
+
type: StringConstructor;
|
|
4816
|
+
default: string;
|
|
4817
|
+
};
|
|
4818
|
+
value: {
|
|
4819
|
+
type: PropType<UiToggleGroupOptionProperties["value"]>;
|
|
4820
|
+
required: true;
|
|
4821
|
+
};
|
|
4822
|
+
disabled: {
|
|
4823
|
+
type: BooleanConstructor;
|
|
4824
|
+
default: boolean;
|
|
4825
|
+
};
|
|
4826
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
4827
|
+
id: {
|
|
4828
|
+
type: StringConstructor;
|
|
4829
|
+
default: () => string;
|
|
4830
|
+
};
|
|
4831
|
+
label: {
|
|
4832
|
+
type: StringConstructor;
|
|
4833
|
+
default: string;
|
|
4834
|
+
};
|
|
4835
|
+
value: {
|
|
4836
|
+
type: PropType<UiToggleGroupOptionProperties["value"]>;
|
|
4837
|
+
required: true;
|
|
4838
|
+
};
|
|
4839
|
+
disabled: {
|
|
4840
|
+
type: BooleanConstructor;
|
|
4841
|
+
default: boolean;
|
|
4842
|
+
};
|
|
4843
|
+
}>> & Readonly<{}>, {
|
|
4844
|
+
id: string;
|
|
4845
|
+
disabled: boolean;
|
|
4846
|
+
label: string;
|
|
4847
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
4848
|
+
button: ({
|
|
4849
|
+
$: ComponentInternalInstance;
|
|
4850
|
+
$data: {
|
|
4851
|
+
[x: string]: never;
|
|
4852
|
+
};
|
|
4853
|
+
$props: Partial<{}> & Omit<{
|
|
4854
|
+
readonly [x: string]: any;
|
|
4855
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
4856
|
+
$attrs: {
|
|
4857
|
+
[x: string]: unknown;
|
|
4858
|
+
};
|
|
4859
|
+
$refs: {
|
|
4860
|
+
[x: string]: unknown;
|
|
4861
|
+
};
|
|
4862
|
+
$slots: Readonly<{
|
|
4863
|
+
[name: string]: Slot<any> | undefined;
|
|
4864
|
+
}>;
|
|
4865
|
+
$root: ComponentPublicInstance | null;
|
|
4866
|
+
$parent: ComponentPublicInstance | null;
|
|
4867
|
+
$host: Element | null;
|
|
4868
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
4869
|
+
$el: any;
|
|
4870
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, {
|
|
4871
|
+
[x: string]: unknown;
|
|
4872
|
+
}, {
|
|
4873
|
+
[x: string]: never;
|
|
4874
|
+
}, {
|
|
4875
|
+
[x: string]: never;
|
|
4876
|
+
}, {
|
|
4877
|
+
focus: () => Promise<void>;
|
|
4878
|
+
blur: () => Promise<void>;
|
|
4879
|
+
click: () => Promise<void>;
|
|
4880
|
+
}, {
|
|
4881
|
+
click: (event: SerializedEvent) => boolean;
|
|
4882
|
+
focus: (event: SerializedFocusEvent) => boolean;
|
|
4883
|
+
blur: (event: SerializedEvent) => boolean;
|
|
4884
|
+
keydown: (event: SerializedKeyboardEvent) => boolean;
|
|
4885
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
4886
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
4887
|
+
created?: (() => void) | (() => void)[];
|
|
4888
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
4889
|
+
mounted?: (() => void) | (() => void)[];
|
|
4890
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
4891
|
+
updated?: (() => void) | (() => void)[];
|
|
4892
|
+
activated?: (() => void) | (() => void)[];
|
|
4893
|
+
deactivated?: (() => void) | (() => void)[];
|
|
4894
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
4895
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
4896
|
+
destroyed?: (() => void) | (() => void)[];
|
|
4897
|
+
unmounted?: (() => void) | (() => void)[];
|
|
4898
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
4899
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
4900
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
4901
|
+
};
|
|
4902
|
+
$forceUpdate: () => void;
|
|
4903
|
+
$nextTick: nextTick;
|
|
4904
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
4905
|
+
R,
|
|
4906
|
+
R,
|
|
4907
|
+
OnCleanup
|
|
4908
|
+
]) => any : (...args: [
|
|
4909
|
+
any,
|
|
4910
|
+
any,
|
|
4911
|
+
OnCleanup
|
|
4912
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
4913
|
+
} & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiToggleButtonProperties>>>, string> & ShallowUnwrapRef<{
|
|
4914
|
+
[x: string]: unknown;
|
|
4915
|
+
}> & {
|
|
4916
|
+
[x: string]: never;
|
|
4917
|
+
} & {
|
|
4918
|
+
[x: string]: unknown;
|
|
4919
|
+
} & MethodOptions & {
|
|
4920
|
+
focus: () => Promise<void>;
|
|
4921
|
+
blur: () => Promise<void>;
|
|
4922
|
+
click: () => Promise<void>;
|
|
4923
|
+
} & ComponentCustomProperties & {} & {
|
|
4924
|
+
$slots: {
|
|
4925
|
+
[x: string]: never;
|
|
4926
|
+
} & {
|
|
4927
|
+
default?: (...args: never[]) => unknown;
|
|
4928
|
+
};
|
|
4929
|
+
}) | null;
|
|
4930
|
+
}, any>, Readonly<{
|
|
4931
|
+
default?: () => VNodeChild;
|
|
4932
|
+
icon?: () => VNodeChild;
|
|
4933
|
+
label?: () => VNodeChild;
|
|
4934
|
+
}> & {
|
|
4935
|
+
default?: () => VNodeChild;
|
|
4936
|
+
icon?: () => VNodeChild;
|
|
4937
|
+
label?: () => VNodeChild;
|
|
4938
|
+
}>;
|
|
4939
|
+
export declare type UiToggleGroupOptionProperties = {
|
|
4940
|
+
id?: string;
|
|
4941
|
+
label?: string;
|
|
4942
|
+
value: unknown;
|
|
4943
|
+
disabled?: boolean;
|
|
4944
|
+
};
|
|
4945
|
+
export declare type UiToggleGroupProperties = {
|
|
4946
|
+
model?: unknown[];
|
|
4947
|
+
options?: UiToggleGroupItem[];
|
|
4948
|
+
equalFn?: UiToggleGroupEqualPredicate;
|
|
4949
|
+
size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
|
|
4950
|
+
rubber?: boolean;
|
|
4951
|
+
disabled?: boolean;
|
|
4952
|
+
ariaLabel?: string;
|
|
4953
|
+
ariaLabelledby?: string;
|
|
4954
|
+
ariaDescribedby?: string;
|
|
4955
|
+
ariaOrientation?: 'horizontal' | 'vertical';
|
|
4956
|
+
};
|
|
4957
|
+
export declare type UiToggleGroupRootProperties = {
|
|
4958
|
+
size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
|
|
4959
|
+
rubber?: boolean;
|
|
4960
|
+
disabled?: boolean;
|
|
4961
|
+
ariaLabel?: string;
|
|
4962
|
+
ariaLabelledby?: string;
|
|
4963
|
+
ariaDescribedby?: string;
|
|
4964
|
+
ariaOrientation?: 'horizontal' | 'vertical';
|
|
4965
|
+
};
|
|
3802
4966
|
export declare const UiToolbarButton: {
|
|
3803
4967
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiToolbarButtonProperties>>>, {
|
|
3804
4968
|
[x: string]: unknown;
|
|
@@ -4062,6 +5226,7 @@ export declare const UiYandexMap: {
|
|
|
4062
5226
|
declare type UiYandexMapProperties = {
|
|
4063
5227
|
apiKey: string;
|
|
4064
5228
|
address?: string;
|
|
5229
|
+
plugins?: YandexMapPlugin[];
|
|
4065
5230
|
};
|
|
4066
5231
|
export declare const UiYandexMapType: SchemaType<"UiYandexMap", RemoteProperties<UiYandexMapProperties>, Record<string, never>>;
|
|
4067
5232
|
export declare const usePreview: (workers?: Ref<string[]>) => {
|
|
@@ -4093,5 +5258,13 @@ declare type ViolationPayload = {
|
|
|
4093
5258
|
value: number | null;
|
|
4094
5259
|
codes: VIOLATION[];
|
|
4095
5260
|
};
|
|
5261
|
+
declare const YANDEX_MAP_PLUGIN: {
|
|
5262
|
+
readonly LOCATOR: "locator";
|
|
5263
|
+
};
|
|
5264
|
+
declare type YandexMapLocatorPlugin = {
|
|
5265
|
+
type: typeof YANDEX_MAP_PLUGIN.LOCATOR;
|
|
5266
|
+
url: string;
|
|
5267
|
+
};
|
|
5268
|
+
declare type YandexMapPlugin = YandexMapLocatorPlugin;
|
|
4096
5269
|
export {};
|
|
4097
5270
|
|