@retailcrm/embed-ui-v1-components 0.9.15 → 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/assets/sprites/map-and-places/navigate.svg +3 -0
- package/dist/host.cjs +993 -516
- package/dist/host.css +261 -0
- package/dist/host.d.ts +222 -112
- package/dist/host.js +993 -516
- package/dist/remote.cjs +446 -60
- package/dist/remote.d.ts +573 -81
- package/dist/remote.js +447 -61
- package/docs/COMPONENTS.md +3 -0
- package/docs/FORMAT.md +19 -0
- package/docs/PROFILES.md +2 -0
- package/docs/profiles/UiAddButton.yml +12 -0
- package/docs/profiles/UiAlert.yml +12 -0
- package/docs/profiles/UiAvatar.yml +12 -0
- package/docs/profiles/UiAvatarList.yml +12 -0
- package/docs/profiles/UiButton.yml +8 -0
- package/docs/profiles/UiCalendar.yml +12 -0
- package/docs/profiles/UiCheckbox.yml +12 -0
- package/docs/profiles/UiCollapse.yml +12 -0
- package/docs/profiles/UiCollapseBox.yml +12 -0
- package/docs/profiles/UiCollapseGroup.yml +12 -0
- package/docs/profiles/UiCopyButton.yml +12 -0
- package/docs/profiles/UiDate.yml +12 -0
- package/docs/profiles/UiDatePicker.yml +12 -0
- package/docs/profiles/UiError.yml +12 -0
- package/docs/profiles/UiField.yml +5 -1
- package/docs/profiles/UiImage.yml +12 -0
- package/docs/profiles/UiInfobox.yml +12 -0
- package/docs/profiles/UiLink.yml +12 -0
- package/docs/profiles/UiLoader.yml +12 -0
- package/docs/profiles/UiMenuItem.yml +12 -0
- package/docs/profiles/UiMenuItemGroup.yml +12 -0
- package/docs/profiles/UiModalSidebar.yml +12 -0
- package/docs/profiles/UiModalWindow.yml +12 -0
- package/docs/profiles/UiModalWindowSurface.yml +12 -0
- package/docs/profiles/UiNumberStepper.yml +12 -0
- package/docs/profiles/UiPageHeader.yml +5 -1
- package/docs/profiles/UiPopper.yml +5 -1
- package/docs/profiles/UiPopperConnector.yml +6 -0
- package/docs/profiles/UiPopperTarget.yml +6 -0
- package/docs/profiles/UiRadio.yml +12 -0
- package/docs/profiles/UiRadioSwitch.yml +7 -0
- package/docs/profiles/UiRadioSwitchOption.yml +8 -0
- package/docs/profiles/UiScrollBox.yml +12 -0
- package/docs/profiles/UiSelect.yml +9 -0
- package/docs/profiles/UiSelectOption.yml +12 -0
- package/docs/profiles/UiSelectOptionGroup.yml +12 -0
- package/docs/profiles/UiSlider.yml +12 -0
- package/docs/profiles/UiSwitch.yml +12 -0
- package/docs/profiles/UiTab.yml +5 -0
- package/docs/profiles/UiTabGroup.yml +5 -0
- package/docs/profiles/UiTable.yml +5 -1
- package/docs/profiles/UiTableBodyCell.yml +12 -0
- package/docs/profiles/UiTableColumn.yml +12 -0
- package/docs/profiles/UiTableFooterButton.yml +12 -0
- package/docs/profiles/UiTableFooterSection.yml +12 -0
- package/docs/profiles/UiTableHeadCell.yml +12 -0
- package/docs/profiles/UiTableSorter.yml +12 -0
- package/docs/profiles/UiTag.yml +12 -0
- package/docs/profiles/UiTextbox.yml +5 -1
- package/docs/profiles/UiTimePicker.yml +12 -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 +12 -0
- package/docs/profiles/UiToolbarLink.yml +12 -0
- package/docs/profiles/UiTooltip.yml +12 -0
- package/docs/profiles/UiTransition.yml +12 -0
- package/docs/profiles/UiYandexMap.yml +12 -0
- package/package.json +2 -2
package/dist/host.d.ts
CHANGED
|
@@ -57,9 +57,9 @@ declare const __VLS_component: DefineComponent_2<ExtractPropTypes<{
|
|
|
57
57
|
};
|
|
58
58
|
/** Внешний вид: алерт, диалог, popup, hint */
|
|
59
59
|
appearance: {
|
|
60
|
-
type: PropType<
|
|
60
|
+
type: PropType<APPEARANCE_4>;
|
|
61
61
|
validator: (value: string) => boolean;
|
|
62
|
-
default:
|
|
62
|
+
default: APPEARANCE_4;
|
|
63
63
|
};
|
|
64
64
|
/** Время, через которое плавающий элемент удаляется со страницы, если был скрыт */
|
|
65
65
|
disposeTimeout: {
|
|
@@ -125,9 +125,9 @@ declare const __VLS_component: DefineComponent_2<ExtractPropTypes<{
|
|
|
125
125
|
};
|
|
126
126
|
/** Внешний вид: алерт, диалог, popup, hint */
|
|
127
127
|
appearance: {
|
|
128
|
-
type: PropType<
|
|
128
|
+
type: PropType<APPEARANCE_4>;
|
|
129
129
|
validator: (value: string) => boolean;
|
|
130
|
-
default:
|
|
130
|
+
default: APPEARANCE_4;
|
|
131
131
|
};
|
|
132
132
|
/** Время, через которое плавающий элемент удаляется со страницы, если был скрыт */
|
|
133
133
|
disposeTimeout: {
|
|
@@ -176,7 +176,7 @@ declare const __VLS_component: DefineComponent_2<ExtractPropTypes<{
|
|
|
176
176
|
closable: boolean;
|
|
177
177
|
id: string;
|
|
178
178
|
role: MODAL_WINDOW_ROLE;
|
|
179
|
-
appearance:
|
|
179
|
+
appearance: APPEARANCE_4;
|
|
180
180
|
disposeTimeout: string | number | null;
|
|
181
181
|
opened: boolean;
|
|
182
182
|
scrolling: SCROLLING_2;
|
|
@@ -390,7 +390,7 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
390
390
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
391
391
|
invalid: boolean;
|
|
392
392
|
placeholder: string;
|
|
393
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
393
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
394
394
|
id: string | undefined;
|
|
395
395
|
max: number | `${number}`;
|
|
396
396
|
min: number | `${number}`;
|
|
@@ -419,7 +419,7 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
419
419
|
readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
420
420
|
readonly invalid: boolean;
|
|
421
421
|
readonly placeholder: string;
|
|
422
|
-
readonly size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
422
|
+
readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
423
423
|
readonly max: number | `${number}`;
|
|
424
424
|
readonly min: number | `${number}`;
|
|
425
425
|
readonly step: number | `${number}` | "any";
|
|
@@ -521,8 +521,8 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
521
521
|
default: "*";
|
|
522
522
|
};
|
|
523
523
|
size: {
|
|
524
|
-
type: PropType<
|
|
525
|
-
default:
|
|
524
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
525
|
+
default: SIZE_4;
|
|
526
526
|
};
|
|
527
527
|
placeholder: {
|
|
528
528
|
type: StringConstructor;
|
|
@@ -627,7 +627,7 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
627
627
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
628
628
|
invalid: boolean;
|
|
629
629
|
placeholder: string;
|
|
630
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
630
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
631
631
|
id: string | undefined;
|
|
632
632
|
max: number | `${number}`;
|
|
633
633
|
min: number | `${number}`;
|
|
@@ -684,7 +684,7 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
684
684
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
685
685
|
invalid: boolean;
|
|
686
686
|
placeholder: string;
|
|
687
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
687
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
688
688
|
id: string | undefined;
|
|
689
689
|
max: number | `${number}`;
|
|
690
690
|
min: number | `${number}`;
|
|
@@ -758,8 +758,8 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
758
758
|
default: "*";
|
|
759
759
|
};
|
|
760
760
|
size: {
|
|
761
|
-
type: PropType<
|
|
762
|
-
default:
|
|
761
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
762
|
+
default: SIZE_4;
|
|
763
763
|
};
|
|
764
764
|
placeholder: {
|
|
765
765
|
type: StringConstructor;
|
|
@@ -932,16 +932,16 @@ declare const __VLS_component_2: DefineComponent_2<ExtractPropTypes<{
|
|
|
932
932
|
declare const __VLS_component_3: DefineComponent_2<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
933
933
|
declare const __VLS_component_4: DefineComponent_2<ExtractPropTypes<{
|
|
934
934
|
size: {
|
|
935
|
-
type: PropType<
|
|
936
|
-
default:
|
|
935
|
+
type: PropType<SIZE_10 | `${SIZE_10}`>;
|
|
936
|
+
default: SIZE_10;
|
|
937
937
|
};
|
|
938
938
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
939
939
|
size: {
|
|
940
|
-
type: PropType<
|
|
941
|
-
default:
|
|
940
|
+
type: PropType<SIZE_10 | `${SIZE_10}`>;
|
|
941
|
+
default: SIZE_10;
|
|
942
942
|
};
|
|
943
943
|
}>> & Readonly<{}>, {
|
|
944
|
-
size: "sm" | "md" |
|
|
944
|
+
size: "sm" | "md" | SIZE_10;
|
|
945
945
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
946
946
|
declare function __VLS_template(): {
|
|
947
947
|
attrs: Partial<{}>;
|
|
@@ -1051,7 +1051,7 @@ declare function __VLS_template_2(): {
|
|
|
1051
1051
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1052
1052
|
invalid: boolean;
|
|
1053
1053
|
placeholder: string;
|
|
1054
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
1054
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
1055
1055
|
id: string | undefined;
|
|
1056
1056
|
max: number | `${number}`;
|
|
1057
1057
|
min: number | `${number}`;
|
|
@@ -1080,7 +1080,7 @@ declare function __VLS_template_2(): {
|
|
|
1080
1080
|
readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1081
1081
|
readonly invalid: boolean;
|
|
1082
1082
|
readonly placeholder: string;
|
|
1083
|
-
readonly size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
1083
|
+
readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
1084
1084
|
readonly max: number | `${number}`;
|
|
1085
1085
|
readonly min: number | `${number}`;
|
|
1086
1086
|
readonly step: number | `${number}` | "any";
|
|
@@ -1182,8 +1182,8 @@ declare function __VLS_template_2(): {
|
|
|
1182
1182
|
default: "*";
|
|
1183
1183
|
};
|
|
1184
1184
|
size: {
|
|
1185
|
-
type: PropType<
|
|
1186
|
-
default:
|
|
1185
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
1186
|
+
default: SIZE_4;
|
|
1187
1187
|
};
|
|
1188
1188
|
placeholder: {
|
|
1189
1189
|
type: StringConstructor;
|
|
@@ -1288,7 +1288,7 @@ declare function __VLS_template_2(): {
|
|
|
1288
1288
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1289
1289
|
invalid: boolean;
|
|
1290
1290
|
placeholder: string;
|
|
1291
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
1291
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
1292
1292
|
id: string | undefined;
|
|
1293
1293
|
max: number | `${number}`;
|
|
1294
1294
|
min: number | `${number}`;
|
|
@@ -1345,7 +1345,7 @@ declare function __VLS_template_2(): {
|
|
|
1345
1345
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
1346
1346
|
invalid: boolean;
|
|
1347
1347
|
placeholder: string;
|
|
1348
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
1348
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
1349
1349
|
id: string | undefined;
|
|
1350
1350
|
max: number | `${number}`;
|
|
1351
1351
|
min: number | `${number}`;
|
|
@@ -1419,8 +1419,8 @@ declare function __VLS_template_2(): {
|
|
|
1419
1419
|
default: "*";
|
|
1420
1420
|
};
|
|
1421
1421
|
size: {
|
|
1422
|
-
type: PropType<
|
|
1423
|
-
default:
|
|
1422
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
1423
|
+
default: SIZE_4;
|
|
1424
1424
|
};
|
|
1425
1425
|
placeholder: {
|
|
1426
1426
|
type: StringConstructor;
|
|
@@ -1642,37 +1642,29 @@ declare enum ALIGN_2 {
|
|
|
1642
1642
|
LEFT = "left",
|
|
1643
1643
|
RIGHT = "right"
|
|
1644
1644
|
}
|
|
1645
|
-
|
|
1646
|
-
DEFAULT = "default",
|
|
1647
|
-
SECTION = "section"
|
|
1648
|
-
}
|
|
1649
|
-
declare enum APPEARANCE_2 {
|
|
1645
|
+
declare enum APPEARANCE {
|
|
1650
1646
|
OUTLINED = "outlined",
|
|
1651
1647
|
PRIMARY = "primary",
|
|
1652
1648
|
SECONDARY = "secondary",
|
|
1653
1649
|
TERTIARY = "tertiary"
|
|
1654
1650
|
}
|
|
1655
|
-
declare enum
|
|
1651
|
+
declare enum APPEARANCE_2 {
|
|
1656
1652
|
SINGLE = "single",
|
|
1657
1653
|
DOUBLE = "double"
|
|
1658
1654
|
}
|
|
1659
|
-
declare enum
|
|
1655
|
+
declare enum APPEARANCE_3 {
|
|
1660
1656
|
BREADCRUMBS = "breadcrumbs",
|
|
1661
1657
|
DEFAULT = "default",
|
|
1662
1658
|
NAVIGATION = "navigation",
|
|
1663
1659
|
NAVIGATION_ANCHOR = "navigation-anchor",
|
|
1664
1660
|
TITLE = "title"
|
|
1665
1661
|
}
|
|
1666
|
-
declare enum
|
|
1662
|
+
declare enum APPEARANCE_4 {
|
|
1667
1663
|
ALERT = "alert",
|
|
1668
1664
|
DIALOG = "dialog",
|
|
1669
1665
|
POPUP = "popup",
|
|
1670
1666
|
HINT = "hint"
|
|
1671
1667
|
}
|
|
1672
|
-
declare enum APPEARANCE_6 {
|
|
1673
|
-
TEXT = "text",
|
|
1674
|
-
FILLED = "filled"
|
|
1675
|
-
}
|
|
1676
1668
|
export declare const asRowAttrs: <T>(value: RowAttrsGetter<T>) => RowAttrsGetter<T>;
|
|
1677
1669
|
export declare const asRowClass: <T>(value: RowClassGetter<T>) => RowClassGetter<T>;
|
|
1678
1670
|
export declare const byRowKey: <T, K extends keyof T>(key: K) => RowKeyGetter<T>;
|
|
@@ -1810,6 +1802,15 @@ declare type QuickOption = {
|
|
|
1810
1802
|
label: string;
|
|
1811
1803
|
value: Exclude<QuickDate, null>;
|
|
1812
1804
|
};
|
|
1805
|
+
export declare enum RADIO_SWITCH_APPEARANCE {
|
|
1806
|
+
DEFAULT = "default",
|
|
1807
|
+
SECTION = "section"
|
|
1808
|
+
}
|
|
1809
|
+
export declare enum RADIO_SWITCH_SIZE {
|
|
1810
|
+
SM = "sm",
|
|
1811
|
+
MD = "md",
|
|
1812
|
+
LG = "lg"
|
|
1813
|
+
}
|
|
1813
1814
|
declare type ResolveProps<PropsOrPropOptions, E extends EmitsOptions> = Readonly<PropsOrPropOptions extends ComponentPropsOptions ? ExtractPropTypes<PropsOrPropOptions> : PropsOrPropOptions> & (Record<string, never> extends E ? Record<string, never> : EmitsToProps<E>);
|
|
1814
1815
|
export declare type RowAttrs = Record<string, string | number | boolean | undefined> & {
|
|
1815
1816
|
class?: CssClass;
|
|
@@ -1849,49 +1850,33 @@ declare type ShowingOptions = {
|
|
|
1849
1850
|
disabled?: boolean;
|
|
1850
1851
|
container?: string | null;
|
|
1851
1852
|
};
|
|
1852
|
-
|
|
1853
|
+
declare enum SIZE {
|
|
1854
|
+
XS = "xs",
|
|
1853
1855
|
SM = "sm",
|
|
1854
|
-
MD = "md",
|
|
1855
1856
|
LG = "lg"
|
|
1856
1857
|
}
|
|
1857
1858
|
declare enum SIZE_10 {
|
|
1858
|
-
SM = "sm",
|
|
1859
|
-
MD = "md",
|
|
1860
|
-
LG = "lg"
|
|
1861
|
-
}
|
|
1862
|
-
declare enum SIZE_11 {
|
|
1863
|
-
LG = "lg",
|
|
1864
|
-
MD = "md",
|
|
1865
|
-
SM = "sm",
|
|
1866
|
-
XS = "xs"
|
|
1867
|
-
}
|
|
1868
|
-
declare enum SIZE_12 {
|
|
1869
1859
|
SM = "sm",
|
|
1870
1860
|
MD = "md"
|
|
1871
1861
|
}
|
|
1872
1862
|
declare enum SIZE_2 {
|
|
1873
|
-
XS = "xs",
|
|
1874
|
-
SM = "sm",
|
|
1875
|
-
LG = "lg"
|
|
1876
|
-
}
|
|
1877
|
-
declare enum SIZE_3 {
|
|
1878
1863
|
LG = "lg",
|
|
1879
1864
|
MD = "md",
|
|
1880
1865
|
SM = "sm",
|
|
1881
1866
|
XS = "xs"
|
|
1882
1867
|
}
|
|
1883
|
-
declare enum
|
|
1868
|
+
declare enum SIZE_3 {
|
|
1884
1869
|
SM = "sm",
|
|
1885
1870
|
MD = "md"
|
|
1886
1871
|
}
|
|
1887
|
-
declare enum
|
|
1872
|
+
declare enum SIZE_4 {
|
|
1888
1873
|
XS = "xs",
|
|
1889
1874
|
SM = "sm",
|
|
1890
1875
|
MD = "md",
|
|
1891
1876
|
LG = "lg",
|
|
1892
1877
|
XL = "xl"
|
|
1893
1878
|
}
|
|
1894
|
-
declare enum
|
|
1879
|
+
declare enum SIZE_5 {
|
|
1895
1880
|
ARTICLE = "article",
|
|
1896
1881
|
BODY = "body",
|
|
1897
1882
|
PARAGRAPH = "paragraph",
|
|
@@ -1900,21 +1885,27 @@ declare enum SIZE_6 {
|
|
|
1900
1885
|
TITLE01 = "title-01",
|
|
1901
1886
|
TITLE02 = "title-02"
|
|
1902
1887
|
}
|
|
1903
|
-
declare enum
|
|
1888
|
+
declare enum SIZE_6 {
|
|
1904
1889
|
XS = "xs",
|
|
1905
1890
|
SM = "sm",
|
|
1906
1891
|
MD = "md",
|
|
1907
1892
|
LG = "lg"
|
|
1908
1893
|
}
|
|
1909
|
-
declare enum
|
|
1894
|
+
declare enum SIZE_7 {
|
|
1910
1895
|
LG = "lg",
|
|
1911
1896
|
SM = "sm"
|
|
1912
1897
|
}
|
|
1913
|
-
declare enum
|
|
1898
|
+
declare enum SIZE_8 {
|
|
1914
1899
|
XS = "xs",
|
|
1915
1900
|
SM = "sm",
|
|
1916
1901
|
XL = "xl"
|
|
1917
1902
|
}
|
|
1903
|
+
declare enum SIZE_9 {
|
|
1904
|
+
LG = "lg",
|
|
1905
|
+
MD = "md",
|
|
1906
|
+
SM = "sm",
|
|
1907
|
+
XS = "xs"
|
|
1908
|
+
}
|
|
1918
1909
|
declare enum STATUS {
|
|
1919
1910
|
NONE = "",
|
|
1920
1911
|
BUSY = "busy",
|
|
@@ -1926,6 +1917,15 @@ declare enum SYNCHRONIZATION {
|
|
|
1926
1917
|
INSTANT = "instant",
|
|
1927
1918
|
CONFIRMED = "confirmed"
|
|
1928
1919
|
}
|
|
1920
|
+
export declare enum TAB_APPEARANCE {
|
|
1921
|
+
TEXT = "text",
|
|
1922
|
+
FILLED = "filled"
|
|
1923
|
+
}
|
|
1924
|
+
export declare enum TAB_SIZE {
|
|
1925
|
+
SM = "sm",
|
|
1926
|
+
MD = "md",
|
|
1927
|
+
LG = "lg"
|
|
1928
|
+
}
|
|
1929
1929
|
export declare type TabFocusDirection = 'next' | 'prev' | 'first' | 'last';
|
|
1930
1930
|
export declare type TabItem = {
|
|
1931
1931
|
id: string;
|
|
@@ -1998,7 +1998,7 @@ declare type UiAvatarListProperties = {
|
|
|
1998
1998
|
src: string;
|
|
1999
1999
|
name: string;
|
|
2000
2000
|
}>;
|
|
2001
|
-
size?:
|
|
2001
|
+
size?: SIZE;
|
|
2002
2002
|
};
|
|
2003
2003
|
declare type UiAvatarProperties = {
|
|
2004
2004
|
src?: string;
|
|
@@ -2007,7 +2007,7 @@ declare type UiAvatarProperties = {
|
|
|
2007
2007
|
status?: STATUS;
|
|
2008
2008
|
vip?: boolean;
|
|
2009
2009
|
bad?: boolean;
|
|
2010
|
-
size?:
|
|
2010
|
+
size?: SIZE;
|
|
2011
2011
|
optimize?: boolean | {
|
|
2012
2012
|
resize?: Dimensions;
|
|
2013
2013
|
crop?: Dimensions;
|
|
@@ -2022,9 +2022,9 @@ declare type UiButtonMethods = {
|
|
|
2022
2022
|
declare type UiButtonProperties = {
|
|
2023
2023
|
type?: HTMLButtonElement['type'];
|
|
2024
2024
|
href?: HTMLAnchorElement['href'] | undefined;
|
|
2025
|
-
appearance?:
|
|
2025
|
+
appearance?: APPEARANCE | `${APPEARANCE}`;
|
|
2026
2026
|
variant?: VARIANT_2 | `${VARIANT_2}`;
|
|
2027
|
-
size?:
|
|
2027
|
+
size?: SIZE_2 | `${SIZE_2}`;
|
|
2028
2028
|
active?: boolean;
|
|
2029
2029
|
disabled?: boolean;
|
|
2030
2030
|
locked?: boolean;
|
|
@@ -2036,7 +2036,7 @@ declare type UiCalendarMethods = {
|
|
|
2036
2036
|
declare type UiCalendarProperties = {
|
|
2037
2037
|
value?: null | Date | Date[];
|
|
2038
2038
|
type?: TYPE | `${TYPE}`;
|
|
2039
|
-
appearance?:
|
|
2039
|
+
appearance?: APPEARANCE_2 | `${APPEARANCE_2}`;
|
|
2040
2040
|
firstDayOfWeek?: number;
|
|
2041
2041
|
minDate?: Date | null;
|
|
2042
2042
|
maxDate?: Date | null;
|
|
@@ -2080,7 +2080,7 @@ declare type UiCollapseBoxProperties = {
|
|
|
2080
2080
|
collapseDuration?: number | string;
|
|
2081
2081
|
disabled?: boolean;
|
|
2082
2082
|
color?: COLOR_2 | `${COLOR_2}`;
|
|
2083
|
-
iconSize?:
|
|
2083
|
+
iconSize?: SIZE_3 | `${SIZE_3}`;
|
|
2084
2084
|
bordered?: boolean;
|
|
2085
2085
|
};
|
|
2086
2086
|
export declare const UiCollapseGroup: DefineComponent<UiCollapseGroupProperties, UiCollapseGroupMethods>;
|
|
@@ -2102,7 +2102,7 @@ declare type UiCollapseProperties = {
|
|
|
2102
2102
|
export declare const UiCopyButton: DefineComponent<UiCopyButtonProperties>;
|
|
2103
2103
|
declare type UiCopyButtonProperties = {
|
|
2104
2104
|
text: string;
|
|
2105
|
-
size:
|
|
2105
|
+
size: SIZE_2;
|
|
2106
2106
|
tooltipOptions?: TooltipOptions;
|
|
2107
2107
|
};
|
|
2108
2108
|
export declare const UiDate: DefineComponent<UiDateProperties>;
|
|
@@ -2174,8 +2174,8 @@ export declare const UiLink: DefineComponent<UiLinkProperties>;
|
|
|
2174
2174
|
declare type UiLinkProperties = {
|
|
2175
2175
|
href?: string;
|
|
2176
2176
|
external?: boolean;
|
|
2177
|
-
appearance?:
|
|
2178
|
-
size?:
|
|
2177
|
+
appearance?: APPEARANCE_3 | `${APPEARANCE_3}`;
|
|
2178
|
+
size?: SIZE_5 | `${SIZE_5}`;
|
|
2179
2179
|
light?: boolean;
|
|
2180
2180
|
accent?: boolean;
|
|
2181
2181
|
dotted?: boolean;
|
|
@@ -2199,7 +2199,7 @@ declare type UiMenuItemProperties = {
|
|
|
2199
2199
|
danger?: boolean;
|
|
2200
2200
|
ticker?: boolean;
|
|
2201
2201
|
simple?: boolean;
|
|
2202
|
-
size?: `${
|
|
2202
|
+
size?: `${SIZE_6}`;
|
|
2203
2203
|
disabled?: boolean;
|
|
2204
2204
|
};
|
|
2205
2205
|
export declare const UiModalSidebar: DefineComponent<UiModalSidebarProperties>;
|
|
@@ -2211,7 +2211,7 @@ declare type UiModalSidebarProperties = {
|
|
|
2211
2211
|
disposeTimeout?: number | string | null;
|
|
2212
2212
|
fixed?: boolean;
|
|
2213
2213
|
scrolling?: SCROLLING | `${SCROLLING}`;
|
|
2214
|
-
size?:
|
|
2214
|
+
size?: SIZE_7 | `${SIZE_7}`;
|
|
2215
2215
|
role?: MODAL_SIDEBAR_ROLE;
|
|
2216
2216
|
};
|
|
2217
2217
|
export declare const UiModalWindow: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -2224,7 +2224,7 @@ declare type UiModalWindowSurfaceProperties = {
|
|
|
2224
2224
|
id?: string;
|
|
2225
2225
|
opened?: boolean;
|
|
2226
2226
|
closable?: boolean;
|
|
2227
|
-
appearance?:
|
|
2227
|
+
appearance?: APPEARANCE_4 | `${APPEARANCE_4}`;
|
|
2228
2228
|
fullscreen?: boolean;
|
|
2229
2229
|
responsive?: boolean;
|
|
2230
2230
|
disposeTimeout?: number | string | null;
|
|
@@ -2251,7 +2251,7 @@ declare type UiNumberStepperProperties = {
|
|
|
2251
2251
|
readonly?: boolean;
|
|
2252
2252
|
required?: boolean;
|
|
2253
2253
|
direction?: DIRECTION_3 | `${DIRECTION_3}`;
|
|
2254
|
-
size?:
|
|
2254
|
+
size?: SIZE_4 | `${SIZE_4}`;
|
|
2255
2255
|
outlined?: boolean;
|
|
2256
2256
|
textboxOptions?: Partial<Omit<UiTextboxProperties, 'id' | 'value' | 'type' | 'min' | 'max' | 'step' | 'decimals' | 'clearable' | 'disabled' | 'readonly' | 'required' | 'size' | 'outlined' | 'autofit' | 'inputAttributes'>>;
|
|
2257
2257
|
};
|
|
@@ -2411,7 +2411,7 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2411
2411
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2412
2412
|
invalid: boolean;
|
|
2413
2413
|
placeholder: string;
|
|
2414
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
2414
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
2415
2415
|
id: string | undefined;
|
|
2416
2416
|
max: number | `${number}`;
|
|
2417
2417
|
min: number | `${number}`;
|
|
@@ -2440,7 +2440,7 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2440
2440
|
readonly type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2441
2441
|
readonly invalid: boolean;
|
|
2442
2442
|
readonly placeholder: string;
|
|
2443
|
-
readonly size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
2443
|
+
readonly size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
2444
2444
|
readonly max: number | `${number}`;
|
|
2445
2445
|
readonly min: number | `${number}`;
|
|
2446
2446
|
readonly step: number | `${number}` | "any";
|
|
@@ -2542,8 +2542,8 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2542
2542
|
default: "*";
|
|
2543
2543
|
};
|
|
2544
2544
|
size: {
|
|
2545
|
-
type: PropType<
|
|
2546
|
-
default:
|
|
2545
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
2546
|
+
default: SIZE_4;
|
|
2547
2547
|
};
|
|
2548
2548
|
placeholder: {
|
|
2549
2549
|
type: StringConstructor;
|
|
@@ -2648,7 +2648,7 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2648
2648
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2649
2649
|
invalid: boolean;
|
|
2650
2650
|
placeholder: string;
|
|
2651
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
2651
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
2652
2652
|
id: string | undefined;
|
|
2653
2653
|
max: number | `${number}`;
|
|
2654
2654
|
min: number | `${number}`;
|
|
@@ -2705,7 +2705,7 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2705
2705
|
type: "text" | "url" | "search" | "email" | "password" | "tel" | TYPE_2;
|
|
2706
2706
|
invalid: boolean;
|
|
2707
2707
|
placeholder: string;
|
|
2708
|
-
size: "xs" | "sm" | "lg" | "md" | "xl" |
|
|
2708
|
+
size: "xs" | "sm" | "lg" | "md" | "xl" | SIZE_4;
|
|
2709
2709
|
id: string | undefined;
|
|
2710
2710
|
max: number | `${number}`;
|
|
2711
2711
|
min: number | `${number}`;
|
|
@@ -2779,8 +2779,8 @@ export declare const UiPageHeaderTitle: DefineComponent_2<ExtractPropTypes<{
|
|
|
2779
2779
|
default: "*";
|
|
2780
2780
|
};
|
|
2781
2781
|
size: {
|
|
2782
|
-
type: PropType<
|
|
2783
|
-
default:
|
|
2782
|
+
type: PropType<SIZE_4 | `${SIZE_4}`>;
|
|
2783
|
+
default: SIZE_4;
|
|
2784
2784
|
};
|
|
2785
2785
|
placeholder: {
|
|
2786
2786
|
type: StringConstructor;
|
|
@@ -2924,12 +2924,12 @@ export declare const UiRadioSwitchOptionShell: DefineComponent_2<ExtractPropType
|
|
|
2924
2924
|
};
|
|
2925
2925
|
appearance: {
|
|
2926
2926
|
type: PropType<UiRadioSwitchOptionShellProperties["appearance"]>;
|
|
2927
|
-
default:
|
|
2927
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
2928
2928
|
validator: (appearance: string) => boolean;
|
|
2929
2929
|
};
|
|
2930
2930
|
size: {
|
|
2931
2931
|
type: PropType<UiRadioSwitchOptionShellProperties["size"]>;
|
|
2932
|
-
default:
|
|
2932
|
+
default: RADIO_SWITCH_SIZE;
|
|
2933
2933
|
validator: (size: string) => boolean;
|
|
2934
2934
|
};
|
|
2935
2935
|
checked: {
|
|
@@ -2949,12 +2949,12 @@ export declare const UiRadioSwitchOptionShell: DefineComponent_2<ExtractPropType
|
|
|
2949
2949
|
};
|
|
2950
2950
|
appearance: {
|
|
2951
2951
|
type: PropType<UiRadioSwitchOptionShellProperties["appearance"]>;
|
|
2952
|
-
default:
|
|
2952
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
2953
2953
|
validator: (appearance: string) => boolean;
|
|
2954
2954
|
};
|
|
2955
2955
|
size: {
|
|
2956
2956
|
type: PropType<UiRadioSwitchOptionShellProperties["size"]>;
|
|
2957
|
-
default:
|
|
2957
|
+
default: RADIO_SWITCH_SIZE;
|
|
2958
2958
|
validator: (size: string) => boolean;
|
|
2959
2959
|
};
|
|
2960
2960
|
checked: {
|
|
@@ -2966,10 +2966,10 @@ export declare const UiRadioSwitchOptionShell: DefineComponent_2<ExtractPropType
|
|
|
2966
2966
|
default: boolean;
|
|
2967
2967
|
};
|
|
2968
2968
|
}>> & Readonly<{}>, {
|
|
2969
|
-
size: "sm" | "lg" | "md" |
|
|
2969
|
+
size: "sm" | "lg" | "md" | RADIO_SWITCH_SIZE | undefined;
|
|
2970
2970
|
id: string;
|
|
2971
2971
|
disabled: boolean;
|
|
2972
|
-
appearance: "default" | "section" |
|
|
2972
|
+
appearance: "default" | "section" | RADIO_SWITCH_APPEARANCE | undefined;
|
|
2973
2973
|
checked: boolean;
|
|
2974
2974
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2975
2975
|
export declare type UiRadioSwitchOptionShellMethods = {
|
|
@@ -2978,8 +2978,8 @@ export declare type UiRadioSwitchOptionShellMethods = {
|
|
|
2978
2978
|
};
|
|
2979
2979
|
export declare type UiRadioSwitchOptionShellProperties = {
|
|
2980
2980
|
id?: string;
|
|
2981
|
-
appearance?:
|
|
2982
|
-
size?:
|
|
2981
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
2982
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
2983
2983
|
checked?: boolean;
|
|
2984
2984
|
disabled?: boolean;
|
|
2985
2985
|
};
|
|
@@ -2987,19 +2987,19 @@ export declare type UiRadioSwitchProperties = {
|
|
|
2987
2987
|
value?: unknown;
|
|
2988
2988
|
options?: Option_2[];
|
|
2989
2989
|
equalFn?: EqualPredicate;
|
|
2990
|
-
appearance?:
|
|
2991
|
-
size?:
|
|
2990
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
2991
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
2992
2992
|
rubber?: boolean;
|
|
2993
2993
|
};
|
|
2994
2994
|
export declare const UiRadioSwitchRoot: DefineComponent_2<ExtractPropTypes<{
|
|
2995
2995
|
appearance: {
|
|
2996
2996
|
type: PropType<UiRadioSwitchRootProperties["appearance"]>;
|
|
2997
|
-
default:
|
|
2997
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
2998
2998
|
validator: (appearance: string) => boolean;
|
|
2999
2999
|
};
|
|
3000
3000
|
size: {
|
|
3001
3001
|
type: PropType<UiRadioSwitchRootProperties["size"]>;
|
|
3002
|
-
default:
|
|
3002
|
+
default: RADIO_SWITCH_SIZE;
|
|
3003
3003
|
validator: (size: string) => boolean;
|
|
3004
3004
|
};
|
|
3005
3005
|
rubber: {
|
|
@@ -3011,12 +3011,12 @@ export declare const UiRadioSwitchRoot: DefineComponent_2<ExtractPropTypes<{
|
|
|
3011
3011
|
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3012
3012
|
appearance: {
|
|
3013
3013
|
type: PropType<UiRadioSwitchRootProperties["appearance"]>;
|
|
3014
|
-
default:
|
|
3014
|
+
default: RADIO_SWITCH_APPEARANCE;
|
|
3015
3015
|
validator: (appearance: string) => boolean;
|
|
3016
3016
|
};
|
|
3017
3017
|
size: {
|
|
3018
3018
|
type: PropType<UiRadioSwitchRootProperties["size"]>;
|
|
3019
|
-
default:
|
|
3019
|
+
default: RADIO_SWITCH_SIZE;
|
|
3020
3020
|
validator: (size: string) => boolean;
|
|
3021
3021
|
};
|
|
3022
3022
|
rubber: {
|
|
@@ -3024,13 +3024,13 @@ export declare const UiRadioSwitchRoot: DefineComponent_2<ExtractPropTypes<{
|
|
|
3024
3024
|
default: boolean;
|
|
3025
3025
|
};
|
|
3026
3026
|
}>> & Readonly<{}>, {
|
|
3027
|
-
size: "sm" | "lg" | "md" |
|
|
3028
|
-
appearance: "default" | "section" |
|
|
3027
|
+
size: "sm" | "lg" | "md" | RADIO_SWITCH_SIZE | undefined;
|
|
3028
|
+
appearance: "default" | "section" | RADIO_SWITCH_APPEARANCE | undefined;
|
|
3029
3029
|
rubber: boolean;
|
|
3030
3030
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3031
3031
|
export declare type UiRadioSwitchRootProperties = {
|
|
3032
|
-
appearance?:
|
|
3033
|
-
size?:
|
|
3032
|
+
appearance?: RADIO_SWITCH_APPEARANCE | `${RADIO_SWITCH_APPEARANCE}`;
|
|
3033
|
+
size?: RADIO_SWITCH_SIZE | `${RADIO_SWITCH_SIZE}`;
|
|
3034
3034
|
rubber?: boolean;
|
|
3035
3035
|
};
|
|
3036
3036
|
export declare const UiScrollBox: DefineComponent<UiScrollBoxProperties, UiScrollBoxMethods>;
|
|
@@ -3090,7 +3090,7 @@ declare type UiSelectTriggerProperties = {
|
|
|
3090
3090
|
placeholderOnly?: boolean;
|
|
3091
3091
|
readonly?: boolean;
|
|
3092
3092
|
disabled?: boolean;
|
|
3093
|
-
textboxSize?:
|
|
3093
|
+
textboxSize?: SIZE_8 | `${SIZE_8}`;
|
|
3094
3094
|
};
|
|
3095
3095
|
export declare const UiSlider: DefineComponent<UiSliderProperties>;
|
|
3096
3096
|
declare type UiSliderProperties = {
|
|
@@ -3174,12 +3174,12 @@ export declare const UiTabGroup: DefineComponent_2<ExtractPropTypes<{
|
|
|
3174
3174
|
};
|
|
3175
3175
|
size: {
|
|
3176
3176
|
type: PropType<UiTabGroupProperties["size"]>;
|
|
3177
|
-
default:
|
|
3177
|
+
default: TAB_SIZE;
|
|
3178
3178
|
validator: (size: string) => boolean;
|
|
3179
3179
|
};
|
|
3180
3180
|
appearance: {
|
|
3181
3181
|
type: PropType<UiTabGroupProperties["appearance"]>;
|
|
3182
|
-
default:
|
|
3182
|
+
default: TAB_APPEARANCE;
|
|
3183
3183
|
validator: (appearance: string) => boolean;
|
|
3184
3184
|
};
|
|
3185
3185
|
}>, () => VNode<RendererNode, RendererElement, {
|
|
@@ -3213,12 +3213,12 @@ export declare const UiTabGroup: DefineComponent_2<ExtractPropTypes<{
|
|
|
3213
3213
|
};
|
|
3214
3214
|
size: {
|
|
3215
3215
|
type: PropType<UiTabGroupProperties["size"]>;
|
|
3216
|
-
default:
|
|
3216
|
+
default: TAB_SIZE;
|
|
3217
3217
|
validator: (size: string) => boolean;
|
|
3218
3218
|
};
|
|
3219
3219
|
appearance: {
|
|
3220
3220
|
type: PropType<UiTabGroupProperties["appearance"]>;
|
|
3221
|
-
default:
|
|
3221
|
+
default: TAB_APPEARANCE;
|
|
3222
3222
|
validator: (appearance: string) => boolean;
|
|
3223
3223
|
};
|
|
3224
3224
|
}>> & Readonly<{
|
|
@@ -3228,8 +3228,8 @@ export declare const UiTabGroup: DefineComponent_2<ExtractPropTypes<{
|
|
|
3228
3228
|
"onUpdate:activeId"?: ((id: string) => any) | undefined;
|
|
3229
3229
|
"onUpdate:focusableId"?: ((id: string | null) => any) | undefined;
|
|
3230
3230
|
}>, {
|
|
3231
|
-
size: "sm" | "lg" | "md" |
|
|
3232
|
-
appearance: "text" | "filled" |
|
|
3231
|
+
size: "sm" | "lg" | "md" | TAB_SIZE | undefined;
|
|
3232
|
+
appearance: "text" | "filled" | TAB_APPEARANCE | undefined;
|
|
3233
3233
|
items: TabItem[] | undefined;
|
|
3234
3234
|
activeId: string | null | undefined;
|
|
3235
3235
|
focusableId: string | null | undefined;
|
|
@@ -3241,8 +3241,8 @@ export declare type UiTabGroupProperties = {
|
|
|
3241
3241
|
focusableId?: string | null;
|
|
3242
3242
|
items?: TabItem[];
|
|
3243
3243
|
menuExpanded?: boolean;
|
|
3244
|
-
size?:
|
|
3245
|
-
appearance?:
|
|
3244
|
+
size?: TAB_SIZE | `${TAB_SIZE}`;
|
|
3245
|
+
appearance?: TAB_APPEARANCE | `${TAB_APPEARANCE}`;
|
|
3246
3246
|
overflowing?: boolean;
|
|
3247
3247
|
};
|
|
3248
3248
|
export declare const UiTableBodyCell: DefineComponent<UiTableBodyCellProperties>;
|
|
@@ -3351,7 +3351,7 @@ export declare type UiTabProperties = {
|
|
|
3351
3351
|
};
|
|
3352
3352
|
export declare const UiTag: DefineComponent<UiTagProperties>;
|
|
3353
3353
|
declare type UiTagProperties = {
|
|
3354
|
-
size?:
|
|
3354
|
+
size?: SIZE_9 | `${SIZE_9}`;
|
|
3355
3355
|
pinned?: boolean;
|
|
3356
3356
|
removable?: boolean;
|
|
3357
3357
|
interactive?: boolean;
|
|
@@ -3384,7 +3384,7 @@ declare type UiTextboxProperties = {
|
|
|
3384
3384
|
maxlength?: number | string;
|
|
3385
3385
|
/** Максимальное количество знаков после запятой (для inputmode="decimal"). '*' — без ограничений */
|
|
3386
3386
|
decimals?: number | `${number}` | '*';
|
|
3387
|
-
size?:
|
|
3387
|
+
size?: SIZE_4 | `${SIZE_4}`;
|
|
3388
3388
|
placeholder?: string;
|
|
3389
3389
|
prefix?: string;
|
|
3390
3390
|
suffix?: string;
|
|
@@ -3421,6 +3421,107 @@ declare type UiTimePickerProperties = {
|
|
|
3421
3421
|
minTime?: TimeArray | null;
|
|
3422
3422
|
maxTime?: TimeArray | null;
|
|
3423
3423
|
};
|
|
3424
|
+
export declare const UiToggleButton: DefineComponent<UiToggleButtonProperties, UiToggleButtonMethods>;
|
|
3425
|
+
declare type UiToggleButtonMethods = {
|
|
3426
|
+
click(): void;
|
|
3427
|
+
focus(): void;
|
|
3428
|
+
blur(): void;
|
|
3429
|
+
};
|
|
3430
|
+
declare type UiToggleButtonProperties = {
|
|
3431
|
+
id?: string;
|
|
3432
|
+
type?: HTMLButtonElement['type'];
|
|
3433
|
+
pressed?: boolean;
|
|
3434
|
+
disabled?: boolean;
|
|
3435
|
+
focused?: boolean;
|
|
3436
|
+
grouped?: boolean;
|
|
3437
|
+
size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
|
|
3438
|
+
};
|
|
3439
|
+
declare enum UiToggleButtonSize {
|
|
3440
|
+
LG = "lg",
|
|
3441
|
+
MD = "md",
|
|
3442
|
+
SM = "sm",
|
|
3443
|
+
XS = "xs"
|
|
3444
|
+
}
|
|
3445
|
+
export declare const UiToggleGroupRoot: DefineComponent_2<ExtractPropTypes<{
|
|
3446
|
+
size: {
|
|
3447
|
+
type: PropType<UiToggleGroupRootProperties["size"]>;
|
|
3448
|
+
default: UiToggleButtonSize;
|
|
3449
|
+
validator: (size: string) => boolean;
|
|
3450
|
+
};
|
|
3451
|
+
rubber: {
|
|
3452
|
+
type: BooleanConstructor;
|
|
3453
|
+
default: boolean;
|
|
3454
|
+
};
|
|
3455
|
+
disabled: {
|
|
3456
|
+
type: BooleanConstructor;
|
|
3457
|
+
default: boolean;
|
|
3458
|
+
};
|
|
3459
|
+
ariaLabel: {
|
|
3460
|
+
type: StringConstructor;
|
|
3461
|
+
default: undefined;
|
|
3462
|
+
};
|
|
3463
|
+
ariaLabelledby: {
|
|
3464
|
+
type: StringConstructor;
|
|
3465
|
+
default: undefined;
|
|
3466
|
+
};
|
|
3467
|
+
ariaDescribedby: {
|
|
3468
|
+
type: StringConstructor;
|
|
3469
|
+
default: undefined;
|
|
3470
|
+
};
|
|
3471
|
+
ariaOrientation: {
|
|
3472
|
+
type: PropType<UiToggleGroupRootProperties["ariaOrientation"]>;
|
|
3473
|
+
default: string;
|
|
3474
|
+
};
|
|
3475
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
3476
|
+
[key: string]: any;
|
|
3477
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
3478
|
+
size: {
|
|
3479
|
+
type: PropType<UiToggleGroupRootProperties["size"]>;
|
|
3480
|
+
default: UiToggleButtonSize;
|
|
3481
|
+
validator: (size: string) => boolean;
|
|
3482
|
+
};
|
|
3483
|
+
rubber: {
|
|
3484
|
+
type: BooleanConstructor;
|
|
3485
|
+
default: boolean;
|
|
3486
|
+
};
|
|
3487
|
+
disabled: {
|
|
3488
|
+
type: BooleanConstructor;
|
|
3489
|
+
default: boolean;
|
|
3490
|
+
};
|
|
3491
|
+
ariaLabel: {
|
|
3492
|
+
type: StringConstructor;
|
|
3493
|
+
default: undefined;
|
|
3494
|
+
};
|
|
3495
|
+
ariaLabelledby: {
|
|
3496
|
+
type: StringConstructor;
|
|
3497
|
+
default: undefined;
|
|
3498
|
+
};
|
|
3499
|
+
ariaDescribedby: {
|
|
3500
|
+
type: StringConstructor;
|
|
3501
|
+
default: undefined;
|
|
3502
|
+
};
|
|
3503
|
+
ariaOrientation: {
|
|
3504
|
+
type: PropType<UiToggleGroupRootProperties["ariaOrientation"]>;
|
|
3505
|
+
default: string;
|
|
3506
|
+
};
|
|
3507
|
+
}>> & Readonly<{}>, {
|
|
3508
|
+
size: "xs" | "sm" | "lg" | "md" | UiToggleButtonSize | undefined;
|
|
3509
|
+
disabled: boolean;
|
|
3510
|
+
rubber: boolean;
|
|
3511
|
+
ariaOrientation: "horizontal" | "vertical" | undefined;
|
|
3512
|
+
ariaLabel: string;
|
|
3513
|
+
ariaLabelledby: string;
|
|
3514
|
+
ariaDescribedby: string;
|
|
3515
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3516
|
+
declare type UiToggleGroupRootProperties = {
|
|
3517
|
+
size?: UiToggleButtonSize | `${UiToggleButtonSize}`;
|
|
3518
|
+
rubber?: boolean;
|
|
3519
|
+
disabled?: boolean;
|
|
3520
|
+
ariaLabel?: string;
|
|
3521
|
+
ariaLabelledby?: string;
|
|
3522
|
+
ariaDescribedby?: string;
|
|
3523
|
+
ariaOrientation?: 'horizontal' | 'vertical';
|
|
3524
|
+
};
|
|
3424
3525
|
export declare const UiToolbar: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
3425
3526
|
export declare const UiToolbarButton: DefineComponent<UiToolbarButtonProperties, UiButtonMethods>;
|
|
3426
3527
|
declare type UiToolbarButtonProperties = Omit<UiButtonProperties, 'appearance' | 'size' | 'type'>;
|
|
@@ -3438,6 +3539,7 @@ export declare const UiYandexMap: DefineComponent<UiYandexMapProperties>;
|
|
|
3438
3539
|
declare type UiYandexMapProperties = {
|
|
3439
3540
|
apiKey: string;
|
|
3440
3541
|
address?: string;
|
|
3542
|
+
plugins?: YandexMapPlugin[];
|
|
3441
3543
|
};
|
|
3442
3544
|
export declare enum VALIGN {
|
|
3443
3545
|
TOP = "top",
|
|
@@ -3461,5 +3563,13 @@ export declare class VueI18n {
|
|
|
3461
3563
|
get locale(): Locale | undefined;
|
|
3462
3564
|
set locale(locale: Locale | undefined);
|
|
3463
3565
|
}
|
|
3566
|
+
declare const YANDEX_MAP_PLUGIN: {
|
|
3567
|
+
readonly LOCATOR: "locator";
|
|
3568
|
+
};
|
|
3569
|
+
declare type YandexMapLocatorPlugin = {
|
|
3570
|
+
type: typeof YANDEX_MAP_PLUGIN.LOCATOR;
|
|
3571
|
+
url: string;
|
|
3572
|
+
};
|
|
3573
|
+
declare type YandexMapPlugin = YandexMapLocatorPlugin;
|
|
3464
3574
|
export {};
|
|
3465
3575
|
|