@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/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,297 @@ 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: APPEARANCE;
|
|
368
|
+
validator: (appearance: string) => boolean;
|
|
369
|
+
};
|
|
370
|
+
/** Размер */
|
|
371
|
+
size: {
|
|
372
|
+
type: PropType<UiRadioSwitchProperties["size"]>;
|
|
373
|
+
default: 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: APPEARANCE;
|
|
404
|
+
validator: (appearance: string) => boolean;
|
|
405
|
+
};
|
|
406
|
+
/** Размер */
|
|
407
|
+
size: {
|
|
408
|
+
type: PropType<UiRadioSwitchProperties["size"]>;
|
|
409
|
+
default: 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" | SIZE | undefined;
|
|
422
|
+
appearance: "default" | "section" | 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<{
|
|
137
429
|
/** Атрибут id корневого элемента выпадающего списка. Должен быть уникальным на странице */
|
|
138
430
|
id: {
|
|
139
431
|
type: StringConstructor;
|
|
@@ -219,9 +511,9 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
|
|
|
219
511
|
};
|
|
220
512
|
/** Размер поля ввода */
|
|
221
513
|
textboxSize: {
|
|
222
|
-
type: PropType<
|
|
514
|
+
type: PropType<SIZE_5 | `${SIZE_5}`>;
|
|
223
515
|
validator: (size: string) => boolean;
|
|
224
|
-
default:
|
|
516
|
+
default: SIZE_5;
|
|
225
517
|
};
|
|
226
518
|
/** Наличие множественного выбора среди элементов выпадающего списка */
|
|
227
519
|
multiple: {
|
|
@@ -329,9 +621,9 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
|
|
|
329
621
|
};
|
|
330
622
|
/** Размер поля ввода */
|
|
331
623
|
textboxSize: {
|
|
332
|
-
type: PropType<
|
|
624
|
+
type: PropType<SIZE_5 | `${SIZE_5}`>;
|
|
333
625
|
validator: (size: string) => boolean;
|
|
334
|
-
default:
|
|
626
|
+
default: SIZE_5;
|
|
335
627
|
};
|
|
336
628
|
/** Наличие множественного выбора среди элементов выпадающего списка */
|
|
337
629
|
multiple: {
|
|
@@ -370,7 +662,7 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
|
|
|
370
662
|
filterable: boolean;
|
|
371
663
|
multiple: boolean;
|
|
372
664
|
placeholderOnly: boolean;
|
|
373
|
-
textboxSize: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
665
|
+
textboxSize: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_5;
|
|
374
666
|
popperFitTrigger: boolean;
|
|
375
667
|
equalsFn: (a: unknown, b: unknown) => boolean;
|
|
376
668
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
@@ -457,7 +749,7 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<{
|
|
|
457
749
|
};
|
|
458
750
|
}) | null;
|
|
459
751
|
}, any>;
|
|
460
|
-
declare const
|
|
752
|
+
declare const __VLS_component_5: DefineComponent<ExtractPropTypes<{
|
|
461
753
|
/** Значение опции */
|
|
462
754
|
value: {
|
|
463
755
|
type: PropType<unknown>;
|
|
@@ -485,9 +777,9 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
|
|
|
485
777
|
};
|
|
486
778
|
/** Размер шрифта, иконок и внутренних отступов компонента */
|
|
487
779
|
size: {
|
|
488
|
-
type: PropType<
|
|
780
|
+
type: PropType<SIZE_10>;
|
|
489
781
|
validator: (size: string) => boolean;
|
|
490
|
-
default:
|
|
782
|
+
default: SIZE_10;
|
|
491
783
|
};
|
|
492
784
|
/** Счетчик количества */
|
|
493
785
|
counter: {
|
|
@@ -528,9 +820,9 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
|
|
|
528
820
|
};
|
|
529
821
|
/** Размер шрифта, иконок и внутренних отступов компонента */
|
|
530
822
|
size: {
|
|
531
|
-
type: PropType<
|
|
823
|
+
type: PropType<SIZE_10>;
|
|
532
824
|
validator: (size: string) => boolean;
|
|
533
|
-
default:
|
|
825
|
+
default: SIZE_10;
|
|
534
826
|
};
|
|
535
827
|
/** Счетчик количества */
|
|
536
828
|
counter: {
|
|
@@ -546,12 +838,12 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<{
|
|
|
546
838
|
}>> & Readonly<{}>, {
|
|
547
839
|
description: string;
|
|
548
840
|
disabled: boolean;
|
|
549
|
-
size:
|
|
841
|
+
size: SIZE_10;
|
|
550
842
|
active: boolean;
|
|
551
843
|
accent: boolean;
|
|
552
844
|
counter: string | number | null;
|
|
553
845
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
554
|
-
declare const
|
|
846
|
+
declare const __VLS_component_6: DefineComponent<ExtractPropTypes<{
|
|
555
847
|
/** Заголовок группы опций */
|
|
556
848
|
label: {
|
|
557
849
|
type: StringConstructor;
|
|
@@ -586,6 +878,117 @@ declare function __VLS_template(): {
|
|
|
586
878
|
rootEl: any;
|
|
587
879
|
};
|
|
588
880
|
declare function __VLS_template_2(): {
|
|
881
|
+
attrs: Partial<{}>;
|
|
882
|
+
slots: {
|
|
883
|
+
addon?(_: {}): any;
|
|
884
|
+
actions?(_: {}): any;
|
|
885
|
+
};
|
|
886
|
+
refs: {
|
|
887
|
+
header: ({
|
|
888
|
+
$: ComponentInternalInstance;
|
|
889
|
+
$data: {
|
|
890
|
+
[x: string]: never;
|
|
891
|
+
};
|
|
892
|
+
$props: Partial<{}> & Omit<{
|
|
893
|
+
readonly [x: string]: any;
|
|
894
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
|
|
895
|
+
$attrs: {
|
|
896
|
+
[x: string]: unknown;
|
|
897
|
+
};
|
|
898
|
+
$refs: {
|
|
899
|
+
[x: string]: unknown;
|
|
900
|
+
};
|
|
901
|
+
$slots: Readonly<{
|
|
902
|
+
[name: string]: Slot<any> | undefined;
|
|
903
|
+
}>;
|
|
904
|
+
$root: ComponentPublicInstance | null;
|
|
905
|
+
$parent: ComponentPublicInstance | null;
|
|
906
|
+
$host: Element | null;
|
|
907
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
908
|
+
$el: any;
|
|
909
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiPageHeaderProperties>>>, {
|
|
910
|
+
[x: string]: unknown;
|
|
911
|
+
}, {
|
|
912
|
+
[x: string]: never;
|
|
913
|
+
}, {
|
|
914
|
+
[x: string]: never;
|
|
915
|
+
}, {
|
|
916
|
+
focus: () => Promise<void>;
|
|
917
|
+
blur: () => Promise<void>;
|
|
918
|
+
}, {
|
|
919
|
+
blur: (event: Event) => boolean;
|
|
920
|
+
change: (event: Event) => boolean;
|
|
921
|
+
focus: (event: FocusEvent) => boolean;
|
|
922
|
+
keydown: (event: KeyboardEvent) => boolean;
|
|
923
|
+
'update:value': (value: string | number) => boolean;
|
|
924
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
925
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
926
|
+
created?: (() => void) | (() => void)[];
|
|
927
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
928
|
+
mounted?: (() => void) | (() => void)[];
|
|
929
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
930
|
+
updated?: (() => void) | (() => void)[];
|
|
931
|
+
activated?: (() => void) | (() => void)[];
|
|
932
|
+
deactivated?: (() => void) | (() => void)[];
|
|
933
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
934
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
935
|
+
destroyed?: (() => void) | (() => void)[];
|
|
936
|
+
unmounted?: (() => void) | (() => void)[];
|
|
937
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
938
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
939
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
940
|
+
};
|
|
941
|
+
$forceUpdate: () => void;
|
|
942
|
+
$nextTick: nextTick;
|
|
943
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [
|
|
944
|
+
R,
|
|
945
|
+
R,
|
|
946
|
+
OnCleanup
|
|
947
|
+
]) => any : (...args: [
|
|
948
|
+
any,
|
|
949
|
+
any,
|
|
950
|
+
OnCleanup
|
|
951
|
+
]) => any, options?: WatchOptions): WatchStopHandle;
|
|
952
|
+
} & Readonly<{}> & Omit<Readonly<ExtractPropTypes<RemoteProperties<UiPageHeaderProperties>>>, string> & ShallowUnwrapRef<{
|
|
953
|
+
[x: string]: unknown;
|
|
954
|
+
}> & {
|
|
955
|
+
[x: string]: never;
|
|
956
|
+
} & {
|
|
957
|
+
[x: string]: unknown;
|
|
958
|
+
} & MethodOptions & {
|
|
959
|
+
focus: () => Promise<void>;
|
|
960
|
+
blur: () => Promise<void>;
|
|
961
|
+
} & ComponentCustomProperties & {} & {
|
|
962
|
+
$slots: {
|
|
963
|
+
[x: string]: never;
|
|
964
|
+
} & {
|
|
965
|
+
default?: (...args: never[]) => unknown;
|
|
966
|
+
};
|
|
967
|
+
}) | null;
|
|
968
|
+
};
|
|
969
|
+
rootEl: any;
|
|
970
|
+
};
|
|
971
|
+
declare function __VLS_template_3(): {
|
|
972
|
+
attrs: Partial<{}>;
|
|
973
|
+
slots: Readonly<{
|
|
974
|
+
/** Набор опций переключателя */
|
|
975
|
+
default?: () => VNodeChild;
|
|
976
|
+
/** Иконка опции переключателя */
|
|
977
|
+
icon?: (props: {
|
|
978
|
+
option: Option_2;
|
|
979
|
+
}) => VNodeChild;
|
|
980
|
+
}> & {
|
|
981
|
+
/** Набор опций переключателя */
|
|
982
|
+
default?: () => VNodeChild;
|
|
983
|
+
/** Иконка опции переключателя */
|
|
984
|
+
icon?: (props: {
|
|
985
|
+
option: Option_2;
|
|
986
|
+
}) => VNodeChild;
|
|
987
|
+
};
|
|
988
|
+
refs: {};
|
|
989
|
+
rootEl: any;
|
|
990
|
+
};
|
|
991
|
+
declare function __VLS_template_4(): {
|
|
589
992
|
attrs: Partial<{}>;
|
|
590
993
|
slots: {
|
|
591
994
|
default?(_: {}): any;
|
|
@@ -676,7 +1079,7 @@ declare function __VLS_template_2(): {
|
|
|
676
1079
|
};
|
|
677
1080
|
rootEl: any;
|
|
678
1081
|
};
|
|
679
|
-
declare function
|
|
1082
|
+
declare function __VLS_template_5(): {
|
|
680
1083
|
attrs: Partial<{}>;
|
|
681
1084
|
slots: {
|
|
682
1085
|
default?(_: {
|
|
@@ -696,7 +1099,7 @@ declare function __VLS_template_3(): {
|
|
|
696
1099
|
refs: {};
|
|
697
1100
|
rootEl: HTMLDivElement;
|
|
698
1101
|
};
|
|
699
|
-
declare function
|
|
1102
|
+
declare function __VLS_template_6(): {
|
|
700
1103
|
attrs: Partial<{}>;
|
|
701
1104
|
slots: {
|
|
702
1105
|
option?(_: {}): any;
|
|
@@ -713,6 +1116,8 @@ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
713
1116
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
714
1117
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
715
1118
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1119
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
1120
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
716
1121
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
717
1122
|
new (): {
|
|
718
1123
|
$slots: S;
|
|
@@ -733,6 +1138,21 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
733
1138
|
$slots: S;
|
|
734
1139
|
};
|
|
735
1140
|
};
|
|
1141
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
1142
|
+
new (): {
|
|
1143
|
+
$slots: S;
|
|
1144
|
+
};
|
|
1145
|
+
};
|
|
1146
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
1147
|
+
new (): {
|
|
1148
|
+
$slots: S;
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
1152
|
+
new (): {
|
|
1153
|
+
$slots: S;
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
736
1156
|
declare type Adaptation = 'flip' | 'shift';
|
|
737
1157
|
export declare enum ALIGN {
|
|
738
1158
|
LEFT = "left",
|
|
@@ -743,29 +1163,37 @@ declare enum ALIGN_2 {
|
|
|
743
1163
|
LEFT = "left",
|
|
744
1164
|
RIGHT = "right"
|
|
745
1165
|
}
|
|
746
|
-
declare enum APPEARANCE {
|
|
1166
|
+
export declare enum APPEARANCE {
|
|
1167
|
+
DEFAULT = "default",
|
|
1168
|
+
SECTION = "section"
|
|
1169
|
+
}
|
|
1170
|
+
declare enum APPEARANCE_2 {
|
|
747
1171
|
OUTLINED = "outlined",
|
|
748
1172
|
PRIMARY = "primary",
|
|
749
1173
|
SECONDARY = "secondary",
|
|
750
1174
|
TERTIARY = "tertiary"
|
|
751
1175
|
}
|
|
752
|
-
declare enum
|
|
1176
|
+
declare enum APPEARANCE_3 {
|
|
753
1177
|
SINGLE = "single",
|
|
754
1178
|
DOUBLE = "double"
|
|
755
1179
|
}
|
|
756
|
-
declare enum
|
|
1180
|
+
declare enum APPEARANCE_4 {
|
|
757
1181
|
BREADCRUMBS = "breadcrumbs",
|
|
758
1182
|
DEFAULT = "default",
|
|
759
1183
|
NAVIGATION = "navigation",
|
|
760
1184
|
NAVIGATION_ANCHOR = "navigation-anchor",
|
|
761
1185
|
TITLE = "title"
|
|
762
1186
|
}
|
|
763
|
-
declare enum
|
|
1187
|
+
declare enum APPEARANCE_5 {
|
|
764
1188
|
ALERT = "alert",
|
|
765
1189
|
DIALOG = "dialog",
|
|
766
1190
|
POPUP = "popup",
|
|
767
1191
|
HINT = "hint"
|
|
768
1192
|
}
|
|
1193
|
+
declare enum APPEARANCE_6 {
|
|
1194
|
+
TEXT = "text",
|
|
1195
|
+
FILLED = "filled"
|
|
1196
|
+
}
|
|
769
1197
|
export declare const asRowAttrs: <T>(value: RowAttrsGetter<T>) => RowAttrsGetter<T>;
|
|
770
1198
|
export declare const asRowClass: <T>(value: RowClassGetter<T>) => RowClassGetter<T>;
|
|
771
1199
|
export declare const byRowKey: <T, K extends keyof T>(key: K) => RowKeyGetter<T>;
|
|
@@ -847,6 +1275,7 @@ declare enum DIRECTION_3 {
|
|
|
847
1275
|
HORIZONTAL = "horizontal",
|
|
848
1276
|
VERTICAL = "vertical"
|
|
849
1277
|
}
|
|
1278
|
+
export declare type EqualPredicate = (a: unknown, b: unknown) => boolean;
|
|
850
1279
|
declare type FloatingOptions = {
|
|
851
1280
|
placement?: PlacementLiteral | PlacementOptions;
|
|
852
1281
|
offsetMainAxis?: number | string;
|
|
@@ -878,6 +1307,12 @@ declare type MODAL_SIDEBAR_ROLE = 'dialog' | 'alertdialog';
|
|
|
878
1307
|
declare type MODAL_WINDOW_ROLE = 'dialog' | 'alertdialog';
|
|
879
1308
|
export declare const mountEndpointRoot: (channel: Channel) => Promise<RemoteRoot<SchemaOf<string>>>;
|
|
880
1309
|
declare type Numeric = number | string;
|
|
1310
|
+
declare type Option_2 = {
|
|
1311
|
+
value: unknown;
|
|
1312
|
+
label: string;
|
|
1313
|
+
disabled?: boolean;
|
|
1314
|
+
};
|
|
1315
|
+
export { Option_2 as Option };
|
|
881
1316
|
declare enum PLACEMENT {
|
|
882
1317
|
TOP = "top",
|
|
883
1318
|
TOP_START = "top-start",
|
|
@@ -942,29 +1377,40 @@ declare type ShowingOptions = {
|
|
|
942
1377
|
disabled?: boolean;
|
|
943
1378
|
container?: string | null;
|
|
944
1379
|
};
|
|
945
|
-
declare enum SIZE {
|
|
1380
|
+
export declare enum SIZE {
|
|
1381
|
+
SM = "sm",
|
|
1382
|
+
MD = "md",
|
|
1383
|
+
LG = "lg"
|
|
1384
|
+
}
|
|
1385
|
+
declare enum SIZE_10 {
|
|
946
1386
|
XS = "xs",
|
|
947
1387
|
SM = "sm",
|
|
1388
|
+
MD = "md",
|
|
948
1389
|
LG = "lg"
|
|
949
1390
|
}
|
|
950
1391
|
declare enum SIZE_2 {
|
|
1392
|
+
XS = "xs",
|
|
1393
|
+
SM = "sm",
|
|
1394
|
+
LG = "lg"
|
|
1395
|
+
}
|
|
1396
|
+
declare enum SIZE_3 {
|
|
951
1397
|
LG = "lg",
|
|
952
1398
|
MD = "md",
|
|
953
1399
|
SM = "sm",
|
|
954
1400
|
XS = "xs"
|
|
955
1401
|
}
|
|
956
|
-
declare enum
|
|
1402
|
+
declare enum SIZE_4 {
|
|
957
1403
|
SM = "sm",
|
|
958
1404
|
MD = "md"
|
|
959
1405
|
}
|
|
960
|
-
declare enum
|
|
1406
|
+
declare enum SIZE_5 {
|
|
961
1407
|
XS = "xs",
|
|
962
1408
|
SM = "sm",
|
|
963
1409
|
MD = "md",
|
|
964
1410
|
LG = "lg",
|
|
965
1411
|
XL = "xl"
|
|
966
1412
|
}
|
|
967
|
-
declare enum
|
|
1413
|
+
declare enum SIZE_6 {
|
|
968
1414
|
ARTICLE = "article",
|
|
969
1415
|
BODY = "body",
|
|
970
1416
|
PARAGRAPH = "paragraph",
|
|
@@ -973,22 +1419,21 @@ declare enum SIZE_5 {
|
|
|
973
1419
|
TITLE01 = "title-01",
|
|
974
1420
|
TITLE02 = "title-02"
|
|
975
1421
|
}
|
|
976
|
-
declare enum SIZE_6 {
|
|
977
|
-
LG = "lg",
|
|
978
|
-
SM = "sm"
|
|
979
|
-
}
|
|
980
1422
|
declare enum SIZE_7 {
|
|
981
1423
|
LG = "lg",
|
|
982
|
-
|
|
983
|
-
SM = "sm",
|
|
984
|
-
XS = "xs"
|
|
1424
|
+
SM = "sm"
|
|
985
1425
|
}
|
|
986
1426
|
declare enum SIZE_8 {
|
|
987
|
-
XS = "xs",
|
|
988
1427
|
SM = "sm",
|
|
989
1428
|
MD = "md",
|
|
990
1429
|
LG = "lg"
|
|
991
1430
|
}
|
|
1431
|
+
declare enum SIZE_9 {
|
|
1432
|
+
LG = "lg",
|
|
1433
|
+
MD = "md",
|
|
1434
|
+
SM = "sm",
|
|
1435
|
+
XS = "xs"
|
|
1436
|
+
}
|
|
992
1437
|
declare enum STATUS {
|
|
993
1438
|
NONE = "",
|
|
994
1439
|
BUSY = "busy",
|
|
@@ -1000,6 +1445,22 @@ declare enum SYNCHRONIZATION {
|
|
|
1000
1445
|
INSTANT = "instant",
|
|
1001
1446
|
CONFIRMED = "confirmed"
|
|
1002
1447
|
}
|
|
1448
|
+
export declare type TabFocusDirection = 'next' | 'prev' | 'first' | 'last';
|
|
1449
|
+
export declare type TabItem = {
|
|
1450
|
+
id: string;
|
|
1451
|
+
label?: string;
|
|
1452
|
+
counter?: string | number | null;
|
|
1453
|
+
disabled?: boolean;
|
|
1454
|
+
iconOnly?: boolean;
|
|
1455
|
+
};
|
|
1456
|
+
export declare type TabLayout = {
|
|
1457
|
+
headIds: string[];
|
|
1458
|
+
menuIds: string[];
|
|
1459
|
+
};
|
|
1460
|
+
export declare type TabMoveFocusIntent = {
|
|
1461
|
+
id: string;
|
|
1462
|
+
direction: TabFocusDirection;
|
|
1463
|
+
};
|
|
1003
1464
|
declare type TimeArray = [
|
|
1004
1465
|
number,
|
|
1005
1466
|
number
|
|
@@ -1256,7 +1717,7 @@ declare type UiAvatarListProperties = {
|
|
|
1256
1717
|
src: string;
|
|
1257
1718
|
name: string;
|
|
1258
1719
|
}>;
|
|
1259
|
-
size?:
|
|
1720
|
+
size?: SIZE_2;
|
|
1260
1721
|
};
|
|
1261
1722
|
export declare const UiAvatarListType: SchemaType<"UiAvatarList", RemoteProperties<UiAvatarListProperties>>;
|
|
1262
1723
|
declare type UiAvatarProperties = {
|
|
@@ -1266,7 +1727,7 @@ declare type UiAvatarProperties = {
|
|
|
1266
1727
|
status?: STATUS;
|
|
1267
1728
|
vip?: boolean;
|
|
1268
1729
|
bad?: boolean;
|
|
1269
|
-
size?:
|
|
1730
|
+
size?: SIZE_2;
|
|
1270
1731
|
optimize?: boolean | {
|
|
1271
1732
|
resize?: Dimensions;
|
|
1272
1733
|
crop?: Dimensions;
|
|
@@ -1333,9 +1794,9 @@ declare type UiButtonMethods = {
|
|
|
1333
1794
|
declare type UiButtonProperties = {
|
|
1334
1795
|
type?: HTMLButtonElement['type'];
|
|
1335
1796
|
href?: HTMLAnchorElement['href'] | undefined;
|
|
1336
|
-
appearance?:
|
|
1797
|
+
appearance?: APPEARANCE_2 | `${APPEARANCE_2}`;
|
|
1337
1798
|
variant?: VARIANT_2 | `${VARIANT_2}`;
|
|
1338
|
-
size?:
|
|
1799
|
+
size?: SIZE_3 | `${SIZE_3}`;
|
|
1339
1800
|
active?: boolean;
|
|
1340
1801
|
disabled?: boolean;
|
|
1341
1802
|
locked?: boolean;
|
|
@@ -1397,7 +1858,7 @@ declare type UiCalendarMethods = {
|
|
|
1397
1858
|
declare type UiCalendarProperties = {
|
|
1398
1859
|
value?: null | Date | Date[];
|
|
1399
1860
|
type?: TYPE | `${TYPE}`;
|
|
1400
|
-
appearance?:
|
|
1861
|
+
appearance?: APPEARANCE_3 | `${APPEARANCE_3}`;
|
|
1401
1862
|
firstDayOfWeek?: number;
|
|
1402
1863
|
minDate?: Date | null;
|
|
1403
1864
|
maxDate?: Date | null;
|
|
@@ -1604,7 +2065,7 @@ declare type UiCollapseBoxProperties = {
|
|
|
1604
2065
|
collapseDuration?: number | string;
|
|
1605
2066
|
disabled?: boolean;
|
|
1606
2067
|
color?: COLOR_2 | `${COLOR_2}`;
|
|
1607
|
-
iconSize?:
|
|
2068
|
+
iconSize?: SIZE_4 | `${SIZE_4}`;
|
|
1608
2069
|
bordered?: boolean;
|
|
1609
2070
|
};
|
|
1610
2071
|
export declare const UiCollapseBoxType: SchemaType<"UiCollapseBox", RemoteProperties<UiCollapseBoxProperties>, RemoteCallable<UiCollapseBoxMethods>>;
|
|
@@ -1737,7 +2198,7 @@ export declare const UiCopyButton: {
|
|
|
1737
2198
|
});
|
|
1738
2199
|
declare type UiCopyButtonProperties = {
|
|
1739
2200
|
text: string;
|
|
1740
|
-
size:
|
|
2201
|
+
size: SIZE_3;
|
|
1741
2202
|
tooltipOptions?: TooltipOptions;
|
|
1742
2203
|
};
|
|
1743
2204
|
export declare const UiCopyButtonType: SchemaType<"UiCopyButton", RemoteProperties<UiCopyButtonProperties>>;
|
|
@@ -2073,8 +2534,8 @@ export declare const UiLink: {
|
|
|
2073
2534
|
declare type UiLinkProperties = {
|
|
2074
2535
|
href?: string;
|
|
2075
2536
|
external?: boolean;
|
|
2076
|
-
appearance?:
|
|
2077
|
-
size?:
|
|
2537
|
+
appearance?: APPEARANCE_4 | `${APPEARANCE_4}`;
|
|
2538
|
+
size?: SIZE_6 | `${SIZE_6}`;
|
|
2078
2539
|
light?: boolean;
|
|
2079
2540
|
accent?: boolean;
|
|
2080
2541
|
dotted?: boolean;
|
|
@@ -2244,7 +2705,7 @@ declare type UiMenuItemProperties = {
|
|
|
2244
2705
|
danger?: boolean;
|
|
2245
2706
|
ticker?: boolean;
|
|
2246
2707
|
simple?: boolean;
|
|
2247
|
-
size?: `${
|
|
2708
|
+
size?: `${SIZE_10}`;
|
|
2248
2709
|
disabled?: boolean;
|
|
2249
2710
|
};
|
|
2250
2711
|
export declare const UiMenuItemType: SchemaType<"UiMenuItem", RemoteProperties<UiMenuItemProperties>>;
|
|
@@ -2324,7 +2785,7 @@ declare type UiModalSidebarProperties = {
|
|
|
2324
2785
|
disposeTimeout?: number | string | null;
|
|
2325
2786
|
fixed?: boolean;
|
|
2326
2787
|
scrolling?: SCROLLING | `${SCROLLING}`;
|
|
2327
|
-
size?:
|
|
2788
|
+
size?: SIZE_7 | `${SIZE_7}`;
|
|
2328
2789
|
role?: MODAL_SIDEBAR_ROLE;
|
|
2329
2790
|
};
|
|
2330
2791
|
export declare const UiModalSidebarType: SchemaType<"UiModalSidebar", RemoteProperties<UiModalSidebarProperties>, Record<string, never>>;
|
|
@@ -2472,7 +2933,7 @@ declare type UiModalWindowSurfaceProperties = {
|
|
|
2472
2933
|
id?: string;
|
|
2473
2934
|
opened?: boolean;
|
|
2474
2935
|
closable?: boolean;
|
|
2475
|
-
appearance?:
|
|
2936
|
+
appearance?: APPEARANCE_5 | `${APPEARANCE_5}`;
|
|
2476
2937
|
fullscreen?: boolean;
|
|
2477
2938
|
responsive?: boolean;
|
|
2478
2939
|
disposeTimeout?: number | string | null;
|
|
@@ -2560,11 +3021,24 @@ declare type UiNumberStepperProperties = {
|
|
|
2560
3021
|
readonly?: boolean;
|
|
2561
3022
|
required?: boolean;
|
|
2562
3023
|
direction?: DIRECTION_3 | `${DIRECTION_3}`;
|
|
2563
|
-
size?:
|
|
3024
|
+
size?: SIZE_5 | `${SIZE_5}`;
|
|
2564
3025
|
outlined?: boolean;
|
|
2565
3026
|
textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
|
|
2566
3027
|
};
|
|
2567
3028
|
export declare const UiNumberStepperType: SchemaType<"UiNumberStepper", RemoteProperties<UiNumberStepperProperties>, RemoteCallable<UiNumberStepperMethods>>;
|
|
3029
|
+
export declare const UiPageHeader: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
3030
|
+
declare type UiPageHeaderProperties = {
|
|
3031
|
+
id?: string;
|
|
3032
|
+
value?: string | number | null;
|
|
3033
|
+
placeholder?: string;
|
|
3034
|
+
error?: string;
|
|
3035
|
+
editable?: boolean;
|
|
3036
|
+
autofocus?: boolean;
|
|
3037
|
+
autoselect?: boolean;
|
|
3038
|
+
readonly?: boolean;
|
|
3039
|
+
disabled?: boolean;
|
|
3040
|
+
invalid?: boolean;
|
|
3041
|
+
};
|
|
2568
3042
|
export declare const UiPopper: {
|
|
2569
3043
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiPopperProperties>>>, {
|
|
2570
3044
|
[x: string]: unknown;
|
|
@@ -2794,6 +3268,96 @@ declare type UiRadioProperties = {
|
|
|
2794
3268
|
required?: boolean;
|
|
2795
3269
|
disabled?: boolean;
|
|
2796
3270
|
};
|
|
3271
|
+
export declare const UiRadioSwitch: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
3272
|
+
export declare const UiRadioSwitchOption: __VLS_WithTemplateSlots_4<DefineComponent<ExtractPropTypes<{
|
|
3273
|
+
/** Идентификатор */
|
|
3274
|
+
id: {
|
|
3275
|
+
type: StringConstructor;
|
|
3276
|
+
default: () => string;
|
|
3277
|
+
};
|
|
3278
|
+
/** Заголовок */
|
|
3279
|
+
label: {
|
|
3280
|
+
type: StringConstructor;
|
|
3281
|
+
default: string;
|
|
3282
|
+
};
|
|
3283
|
+
/** Значение опции */
|
|
3284
|
+
value: {
|
|
3285
|
+
type: PropType<UiRadioSwitchOptionProperties["value"]>;
|
|
3286
|
+
required: true;
|
|
3287
|
+
};
|
|
3288
|
+
/** Используется только c appearance=section */
|
|
3289
|
+
description: {
|
|
3290
|
+
type: StringConstructor;
|
|
3291
|
+
default: string;
|
|
3292
|
+
};
|
|
3293
|
+
/** Индикатор, заблокирована опция или нет */
|
|
3294
|
+
disabled: {
|
|
3295
|
+
type: BooleanConstructor;
|
|
3296
|
+
default: boolean;
|
|
3297
|
+
};
|
|
3298
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3299
|
+
/** Идентификатор */
|
|
3300
|
+
id: {
|
|
3301
|
+
type: StringConstructor;
|
|
3302
|
+
default: () => string;
|
|
3303
|
+
};
|
|
3304
|
+
/** Заголовок */
|
|
3305
|
+
label: {
|
|
3306
|
+
type: StringConstructor;
|
|
3307
|
+
default: string;
|
|
3308
|
+
};
|
|
3309
|
+
/** Значение опции */
|
|
3310
|
+
value: {
|
|
3311
|
+
type: PropType<UiRadioSwitchOptionProperties["value"]>;
|
|
3312
|
+
required: true;
|
|
3313
|
+
};
|
|
3314
|
+
/** Используется только c appearance=section */
|
|
3315
|
+
description: {
|
|
3316
|
+
type: StringConstructor;
|
|
3317
|
+
default: string;
|
|
3318
|
+
};
|
|
3319
|
+
/** Индикатор, заблокирована опция или нет */
|
|
3320
|
+
disabled: {
|
|
3321
|
+
type: BooleanConstructor;
|
|
3322
|
+
default: boolean;
|
|
3323
|
+
};
|
|
3324
|
+
}>> & Readonly<{}>, {
|
|
3325
|
+
description: string;
|
|
3326
|
+
id: string;
|
|
3327
|
+
disabled: boolean;
|
|
3328
|
+
label: string;
|
|
3329
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, any, any>, any>;
|
|
3330
|
+
export declare type UiRadioSwitchOptionProperties = {
|
|
3331
|
+
id?: string;
|
|
3332
|
+
label?: string;
|
|
3333
|
+
value: unknown;
|
|
3334
|
+
description?: string;
|
|
3335
|
+
disabled?: boolean;
|
|
3336
|
+
};
|
|
3337
|
+
export declare type UiRadioSwitchOptionShellMethods = {
|
|
3338
|
+
focus(): void;
|
|
3339
|
+
blur(): void;
|
|
3340
|
+
};
|
|
3341
|
+
export declare type UiRadioSwitchOptionShellProperties = {
|
|
3342
|
+
id?: string;
|
|
3343
|
+
appearance?: APPEARANCE | `${APPEARANCE}`;
|
|
3344
|
+
size?: SIZE | `${SIZE}`;
|
|
3345
|
+
checked?: boolean;
|
|
3346
|
+
disabled?: boolean;
|
|
3347
|
+
};
|
|
3348
|
+
export declare type UiRadioSwitchProperties = {
|
|
3349
|
+
value?: unknown;
|
|
3350
|
+
options?: Option_2[];
|
|
3351
|
+
equalFn?: EqualPredicate;
|
|
3352
|
+
appearance?: APPEARANCE | `${APPEARANCE}`;
|
|
3353
|
+
size?: SIZE | `${SIZE}`;
|
|
3354
|
+
rubber?: boolean;
|
|
3355
|
+
};
|
|
3356
|
+
export declare type UiRadioSwitchRootProperties = {
|
|
3357
|
+
appearance?: APPEARANCE | `${APPEARANCE}`;
|
|
3358
|
+
size?: SIZE | `${SIZE}`;
|
|
3359
|
+
rubber?: boolean;
|
|
3360
|
+
};
|
|
2797
3361
|
export declare const UiRadioType: SchemaType<"UiRadio", RemoteProperties<UiRadioProperties>, RemoteCallable<UiRadioMethods>>;
|
|
2798
3362
|
export declare const UiScrollBox: {
|
|
2799
3363
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiScrollBoxProperties>>>, {
|
|
@@ -2862,9 +3426,9 @@ declare type UiScrollBoxProperties = {
|
|
|
2862
3426
|
showOnMac?: boolean;
|
|
2863
3427
|
};
|
|
2864
3428
|
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:
|
|
3429
|
+
export declare const UiSelect: __VLS_WithTemplateSlots_5<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
3430
|
+
export declare const UiSelectOption: __VLS_WithTemplateSlots_6<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
3431
|
+
export declare const UiSelectOptionGroup: __VLS_WithTemplateSlots_7<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2868
3432
|
declare type UiSelectPopperProperties = {
|
|
2869
3433
|
opened?: boolean;
|
|
2870
3434
|
targetTriggers?: Trigger[] | TriggerSchema;
|
|
@@ -2998,6 +3562,116 @@ declare type UiSwitchProperties = {
|
|
|
2998
3562
|
disabled?: boolean;
|
|
2999
3563
|
};
|
|
3000
3564
|
export declare const UiSwitchType: SchemaType<"UiSwitch", RemoteProperties<UiSwitchProperties>, RemoteCallable<UiSwitchMethods>>;
|
|
3565
|
+
export declare const UiTab: {
|
|
3566
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTabProperties>>>, {
|
|
3567
|
+
[x: string]: unknown;
|
|
3568
|
+
}, {
|
|
3569
|
+
[x: string]: never;
|
|
3570
|
+
}, {
|
|
3571
|
+
[x: string]: never;
|
|
3572
|
+
}, MethodOptions, never[], ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3573
|
+
P: {};
|
|
3574
|
+
B: {};
|
|
3575
|
+
D: {};
|
|
3576
|
+
C: ComputedOptions;
|
|
3577
|
+
M: MethodOptions;
|
|
3578
|
+
Defaults: {};
|
|
3579
|
+
} & {
|
|
3580
|
+
P: {};
|
|
3581
|
+
B: {};
|
|
3582
|
+
D: {};
|
|
3583
|
+
C: {};
|
|
3584
|
+
M: {};
|
|
3585
|
+
Defaults: {};
|
|
3586
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiTabProperties>>>, {
|
|
3587
|
+
[x: string]: unknown;
|
|
3588
|
+
}, {
|
|
3589
|
+
[x: string]: never;
|
|
3590
|
+
}, ComputedOptions & {
|
|
3591
|
+
[x: string]: never;
|
|
3592
|
+
}, MethodOptions, {}>;
|
|
3593
|
+
__isFragment?: never;
|
|
3594
|
+
__isTeleport?: never;
|
|
3595
|
+
__isSuspense?: never;
|
|
3596
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiTabProperties>>>, {
|
|
3597
|
+
[x: string]: unknown;
|
|
3598
|
+
}, {
|
|
3599
|
+
[x: string]: never;
|
|
3600
|
+
}, {
|
|
3601
|
+
[x: string]: never;
|
|
3602
|
+
}, MethodOptions, never[], ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3603
|
+
$slots: {
|
|
3604
|
+
[x: string]: never;
|
|
3605
|
+
} & {
|
|
3606
|
+
default?: (...args: never[]) => unknown;
|
|
3607
|
+
};
|
|
3608
|
+
});
|
|
3609
|
+
export declare const UiTabGroup: {
|
|
3610
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTabGroupProperties>>>, {
|
|
3611
|
+
[x: string]: unknown;
|
|
3612
|
+
}, {
|
|
3613
|
+
[x: string]: never;
|
|
3614
|
+
}, {
|
|
3615
|
+
[x: string]: never;
|
|
3616
|
+
}, MethodOptions, {
|
|
3617
|
+
layout: (layout: TabLayout) => boolean;
|
|
3618
|
+
change: (id: string) => boolean;
|
|
3619
|
+
'update:activeId': (id: string) => boolean;
|
|
3620
|
+
'update:focusableId': (id: string | null) => boolean;
|
|
3621
|
+
'update:menuExpanded': (expanded: boolean) => boolean;
|
|
3622
|
+
}, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
3623
|
+
P: {};
|
|
3624
|
+
B: {};
|
|
3625
|
+
D: {};
|
|
3626
|
+
C: ComputedOptions;
|
|
3627
|
+
M: MethodOptions;
|
|
3628
|
+
Defaults: {};
|
|
3629
|
+
} & {
|
|
3630
|
+
P: {};
|
|
3631
|
+
B: {};
|
|
3632
|
+
D: {};
|
|
3633
|
+
C: {};
|
|
3634
|
+
M: {};
|
|
3635
|
+
Defaults: {};
|
|
3636
|
+
}, Readonly<ExtractPropTypes<RemoteProperties<UiTabGroupProperties>>>, {
|
|
3637
|
+
[x: string]: unknown;
|
|
3638
|
+
}, {
|
|
3639
|
+
[x: string]: never;
|
|
3640
|
+
}, ComputedOptions & {
|
|
3641
|
+
[x: string]: never;
|
|
3642
|
+
}, MethodOptions, {}>;
|
|
3643
|
+
__isFragment?: never;
|
|
3644
|
+
__isTeleport?: never;
|
|
3645
|
+
__isSuspense?: never;
|
|
3646
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<RemoteProperties<UiTabGroupProperties>>>, {
|
|
3647
|
+
[x: string]: unknown;
|
|
3648
|
+
}, {
|
|
3649
|
+
[x: string]: never;
|
|
3650
|
+
}, {
|
|
3651
|
+
[x: string]: never;
|
|
3652
|
+
}, MethodOptions, {
|
|
3653
|
+
layout: (layout: TabLayout) => boolean;
|
|
3654
|
+
change: (id: string) => boolean;
|
|
3655
|
+
'update:activeId': (id: string) => boolean;
|
|
3656
|
+
'update:focusableId': (id: string | null) => boolean;
|
|
3657
|
+
'update:menuExpanded': (expanded: boolean) => boolean;
|
|
3658
|
+
}, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3659
|
+
$slots: {
|
|
3660
|
+
[x: string]: never;
|
|
3661
|
+
} & {
|
|
3662
|
+
default?: (...args: never[]) => unknown;
|
|
3663
|
+
};
|
|
3664
|
+
});
|
|
3665
|
+
export declare type UiTabGroupProperties = {
|
|
3666
|
+
activeId?: string | null;
|
|
3667
|
+
focusableId?: string | null;
|
|
3668
|
+
items?: TabItem[];
|
|
3669
|
+
menuExpanded?: boolean;
|
|
3670
|
+
size?: SIZE_8 | `${SIZE_8}`;
|
|
3671
|
+
appearance?: APPEARANCE_6 | `${APPEARANCE_6}`;
|
|
3672
|
+
overflowing?: boolean;
|
|
3673
|
+
};
|
|
3674
|
+
export declare const UiTabGroupType: SchemaType<"UiTabGroup", RemoteProperties<UiTabGroupProperties>>;
|
|
3001
3675
|
export declare const UiTable: DefineComponent<ExtractPropTypes<{
|
|
3002
3676
|
rows: {
|
|
3003
3677
|
type: PropType<readonly unknown[]>;
|
|
@@ -3516,6 +4190,13 @@ export declare const UiTableSorter: {
|
|
|
3516
4190
|
export declare type UiTableSorterProperties = {
|
|
3517
4191
|
direction?: DIRECTION | `${DIRECTION}` | null;
|
|
3518
4192
|
};
|
|
4193
|
+
export declare type UiTabProperties = {
|
|
4194
|
+
id: string;
|
|
4195
|
+
label?: string;
|
|
4196
|
+
counter?: string | number | null;
|
|
4197
|
+
disabled?: boolean;
|
|
4198
|
+
};
|
|
4199
|
+
export declare const UiTabType: SchemaType<"UiTab", RemoteProperties<UiTabProperties>>;
|
|
3519
4200
|
export declare const UiTag: {
|
|
3520
4201
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<RemoteProperties<UiTagProperties>>>, {
|
|
3521
4202
|
[x: string]: unknown;
|
|
@@ -3571,7 +4252,7 @@ export declare const UiTag: {
|
|
|
3571
4252
|
};
|
|
3572
4253
|
});
|
|
3573
4254
|
declare type UiTagProperties = {
|
|
3574
|
-
size?:
|
|
4255
|
+
size?: SIZE_9 | `${SIZE_9}`;
|
|
3575
4256
|
pinned?: boolean;
|
|
3576
4257
|
removable?: boolean;
|
|
3577
4258
|
interactive?: boolean;
|
|
@@ -3695,7 +4376,7 @@ declare type UiTextboxProperties = {
|
|
|
3695
4376
|
maxlength?: number | string;
|
|
3696
4377
|
/** Максимальное количество знаков после запятой (для inputmode="decimal"). '*' — без ограничений */
|
|
3697
4378
|
decimals?: number | `${number}` | '*';
|
|
3698
|
-
size?:
|
|
4379
|
+
size?: SIZE_5 | `${SIZE_5}`;
|
|
3699
4380
|
placeholder?: string;
|
|
3700
4381
|
prefix?: string;
|
|
3701
4382
|
suffix?: string;
|