@central-design-system/components 3.0.0-beta.7 → 3.0.0-beta.8
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/dist/cds.css +1 -1
- package/dist/cds.es.js +3248 -3208
- package/dist/cds.umd.js +2 -2
- package/dist/components/CdsAutocomplete/CdsAutocomplete.vue.d.ts +29 -12
- package/dist/components/CdsBadge/CdsBadge.vue.d.ts +5 -7
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +64 -41
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +18 -6
- package/dist/components/CdsProgress/CdsProgress.vue.d.ts +1 -1
- package/dist/components/CdsSelect/CdsSelect.vue.d.ts +2 -2
- package/dist/components/CdsSidebar/CdsSidebar.vue.d.ts +22 -8
- package/dist/components/CdsTable/composable/scroll.d.ts +4607 -0
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +2 -2
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +2 -2
- package/dist/components/CdsUploader/components/UploadList/ListItem.d.ts +6 -6
- package/dist/components/CdsUploader/components/UploadList/UploadList.d.ts +6 -6
- package/dist/components/CdsUploader/composable/upload.d.ts +2 -2
- package/dist/composable/select.d.ts +17 -8
- package/package.json +1 -1
- package/src/scss/themes/index.ts +1 -1
- package/src/scss/utility/variables/flex.scss +42 -1
|
@@ -442,9 +442,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
442
442
|
readonly value?: any;
|
|
443
443
|
readonly disabled?: boolean | undefined;
|
|
444
444
|
readonly type?: "number" | "password" | "text" | "email" | "tel" | "url" | undefined;
|
|
445
|
+
readonly error?: boolean | undefined;
|
|
445
446
|
readonly active?: boolean | undefined;
|
|
446
447
|
readonly autofocus?: boolean | undefined;
|
|
447
|
-
readonly error?: boolean | undefined;
|
|
448
448
|
readonly counter?: boolean | undefined;
|
|
449
449
|
readonly clearable?: boolean | undefined;
|
|
450
450
|
readonly persistentClearable?: boolean | undefined;
|
|
@@ -756,12 +756,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
756
756
|
type: "number" | "password" | "text" | "email" | "tel" | "url";
|
|
757
757
|
name: string | undefined;
|
|
758
758
|
id: string;
|
|
759
|
+
error: boolean;
|
|
759
760
|
active: boolean;
|
|
760
761
|
autofocus: boolean;
|
|
761
762
|
prefix: string;
|
|
762
763
|
suffix: string;
|
|
763
764
|
prependInnerIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
764
|
-
error: boolean;
|
|
765
765
|
appendInnerIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
766
766
|
role: string;
|
|
767
767
|
placeholder: string;
|
|
@@ -399,9 +399,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
399
399
|
readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
400
400
|
readonly disabled?: boolean | undefined;
|
|
401
401
|
readonly type?: "number" | "password" | "text" | "email" | "tel" | "url" | undefined;
|
|
402
|
+
readonly error?: boolean | undefined;
|
|
402
403
|
readonly active?: boolean | undefined;
|
|
403
404
|
readonly autofocus?: boolean | undefined;
|
|
404
|
-
readonly error?: boolean | undefined;
|
|
405
405
|
readonly counter?: boolean | undefined;
|
|
406
406
|
readonly clearable?: boolean | undefined;
|
|
407
407
|
readonly persistentClearable?: boolean | undefined;
|
|
@@ -705,12 +705,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
705
705
|
type: "number" | "password" | "text" | "email" | "tel" | "url";
|
|
706
706
|
name: string | undefined;
|
|
707
707
|
id: string;
|
|
708
|
+
error: boolean;
|
|
708
709
|
active: boolean;
|
|
709
710
|
autofocus: boolean;
|
|
710
711
|
prefix: string;
|
|
711
712
|
suffix: string;
|
|
712
713
|
prependInnerIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
713
|
-
error: boolean;
|
|
714
714
|
appendInnerIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
715
715
|
role: string;
|
|
716
716
|
placeholder: string;
|
|
@@ -57,8 +57,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
tag: string;
|
|
58
58
|
reverse: boolean;
|
|
59
59
|
indeterminate: boolean;
|
|
60
|
-
active: boolean;
|
|
61
60
|
location: NonNullable<import('../../../../utils').TAnchor>;
|
|
61
|
+
active: boolean;
|
|
62
62
|
modelValue: string | number;
|
|
63
63
|
max: string | number;
|
|
64
64
|
height: string | number;
|
|
@@ -131,7 +131,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
131
|
};
|
|
132
132
|
}>> & {
|
|
133
133
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
134
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "
|
|
134
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "location" | "active" | "modelValue" | "max" | "height" | "absolute" | "bgColor" | "bgOpacity" | "bufferValue" | "clickable" | "stream">, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>>;
|
|
135
135
|
default: undefined;
|
|
136
136
|
};
|
|
137
137
|
onDownload: {
|
|
@@ -207,8 +207,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
207
207
|
tag: string;
|
|
208
208
|
reverse: boolean;
|
|
209
209
|
indeterminate: boolean;
|
|
210
|
-
active: boolean;
|
|
211
210
|
location: NonNullable<import('../../../../utils').TAnchor>;
|
|
211
|
+
active: boolean;
|
|
212
212
|
modelValue: string | number;
|
|
213
213
|
max: string | number;
|
|
214
214
|
height: string | number;
|
|
@@ -281,7 +281,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
281
281
|
};
|
|
282
282
|
}>> & {
|
|
283
283
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
284
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "
|
|
284
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "location" | "active" | "modelValue" | "max" | "height" | "absolute" | "bgColor" | "bgOpacity" | "bufferValue" | "clickable" | "stream">, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>>;
|
|
285
285
|
default: undefined;
|
|
286
286
|
};
|
|
287
287
|
onDownload: {
|
|
@@ -308,8 +308,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
308
308
|
tag: string;
|
|
309
309
|
reverse: boolean;
|
|
310
310
|
indeterminate: boolean;
|
|
311
|
-
active: boolean;
|
|
312
311
|
location: NonNullable<import('../../../../utils').TAnchor>;
|
|
312
|
+
active: boolean;
|
|
313
313
|
modelValue: string | number;
|
|
314
314
|
max: string | number;
|
|
315
315
|
height: string | number;
|
|
@@ -382,7 +382,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
382
382
|
};
|
|
383
383
|
}>> & {
|
|
384
384
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
385
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "
|
|
385
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "location" | "active" | "modelValue" | "max" | "height" | "absolute" | "bgColor" | "bgOpacity" | "bufferValue" | "clickable" | "stream">, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>;
|
|
386
386
|
itemRender: NUploader.TItemRender<any>;
|
|
387
387
|
listType: NUploader.TUploadListType;
|
|
388
388
|
isImageUrl: (file: NUploader.IUploadFile<any>) => boolean;
|
|
@@ -57,8 +57,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
tag: string;
|
|
58
58
|
reverse: boolean;
|
|
59
59
|
indeterminate: boolean;
|
|
60
|
-
active: boolean;
|
|
61
60
|
location: NonNullable<import('../../../../utils').TAnchor>;
|
|
61
|
+
active: boolean;
|
|
62
62
|
modelValue: string | number;
|
|
63
63
|
max: string | number;
|
|
64
64
|
height: string | number;
|
|
@@ -131,7 +131,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
131
|
};
|
|
132
132
|
}>> & {
|
|
133
133
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
134
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "
|
|
134
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "location" | "active" | "modelValue" | "max" | "height" | "absolute" | "bgColor" | "bgOpacity" | "bufferValue" | "clickable" | "stream">, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>>;
|
|
135
135
|
default: undefined;
|
|
136
136
|
};
|
|
137
137
|
onDownload: {
|
|
@@ -210,8 +210,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
210
210
|
tag: string;
|
|
211
211
|
reverse: boolean;
|
|
212
212
|
indeterminate: boolean;
|
|
213
|
-
active: boolean;
|
|
214
213
|
location: NonNullable<import('../../../../utils').TAnchor>;
|
|
214
|
+
active: boolean;
|
|
215
215
|
modelValue: string | number;
|
|
216
216
|
max: string | number;
|
|
217
217
|
height: string | number;
|
|
@@ -284,7 +284,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
284
284
|
};
|
|
285
285
|
}>> & {
|
|
286
286
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
287
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "
|
|
287
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "location" | "active" | "modelValue" | "max" | "height" | "absolute" | "bgColor" | "bgOpacity" | "bufferValue" | "clickable" | "stream">, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>>;
|
|
288
288
|
default: undefined;
|
|
289
289
|
};
|
|
290
290
|
onDownload: {
|
|
@@ -311,8 +311,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
311
311
|
tag: string;
|
|
312
312
|
reverse: boolean;
|
|
313
313
|
indeterminate: boolean;
|
|
314
|
-
active: boolean;
|
|
315
314
|
location: NonNullable<import('../../../../utils').TAnchor>;
|
|
315
|
+
active: boolean;
|
|
316
316
|
modelValue: string | number;
|
|
317
317
|
max: string | number;
|
|
318
318
|
height: string | number;
|
|
@@ -385,7 +385,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
385
385
|
};
|
|
386
386
|
}>> & {
|
|
387
387
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
388
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "
|
|
388
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "location" | "active" | "modelValue" | "max" | "height" | "absolute" | "bgColor" | "bgOpacity" | "bufferValue" | "clickable" | "stream">, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>;
|
|
389
389
|
itemRender: NUploader.TItemRender<any>;
|
|
390
390
|
listType: NUploader.TUploadListType;
|
|
391
391
|
isImageUrl: (file: NUploader.IUploadFile<any>) => boolean;
|
|
@@ -266,8 +266,8 @@ export declare const makeUploadListProps: <Defaults extends {
|
|
|
266
266
|
tag: string;
|
|
267
267
|
reverse: boolean;
|
|
268
268
|
indeterminate: boolean;
|
|
269
|
-
active: boolean;
|
|
270
269
|
location: NonNullable<import('../../../utils').TAnchor>;
|
|
270
|
+
active: boolean;
|
|
271
271
|
modelValue: string | number;
|
|
272
272
|
max: string | number;
|
|
273
273
|
height: string | number;
|
|
@@ -342,7 +342,7 @@ export declare const makeUploadListProps: <Defaults extends {
|
|
|
342
342
|
};
|
|
343
343
|
}>> & {
|
|
344
344
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
345
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "
|
|
345
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tag" | "reverse" | "indeterminate" | "location" | "active" | "modelValue" | "max" | "height" | "absolute" | "bgColor" | "bgOpacity" | "bufferValue" | "clickable" | "stream">, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>>;
|
|
346
346
|
default: undefined;
|
|
347
347
|
};
|
|
348
348
|
onDownload: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MaybePick } from '../utils';
|
|
2
2
|
import type { PropType, ComputedRef, Ref } from 'vue';
|
|
3
3
|
import type { IInternalItem, IUseItems } from './items';
|
|
4
|
+
import type { TCdsIconsName } from '@central-design-system/icons';
|
|
4
5
|
export interface ISelectProps {
|
|
5
6
|
multiple: boolean;
|
|
6
7
|
openOnClear: boolean;
|
|
@@ -17,6 +18,7 @@ export declare const makeSelectProps: <Defaults extends {
|
|
|
17
18
|
isSelectAll?: unknown;
|
|
18
19
|
ellipsis?: unknown;
|
|
19
20
|
listProps?: unknown;
|
|
21
|
+
menuIcon?: unknown;
|
|
20
22
|
} = {}>(defaults?: Defaults | undefined) => import('../utils').AppendDefault<{
|
|
21
23
|
/**
|
|
22
24
|
* Множественный выбор элементов
|
|
@@ -105,7 +107,9 @@ export declare const makeSelectProps: <Defaults extends {
|
|
|
105
107
|
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
106
108
|
validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
|
|
107
109
|
}, "default" | "type"> & {
|
|
108
|
-
type: PropType<NonNullable<"xs" | "sm" | "md" | "lg" | "xl">>;
|
|
110
|
+
type: PropType<NonNullable<"xs" | "sm" | "md" | "lg" | "xl">>; /**
|
|
111
|
+
* Иконка выпадающего меню
|
|
112
|
+
*/
|
|
109
113
|
default: NonNullable<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
110
114
|
};
|
|
111
115
|
tag: {
|
|
@@ -122,9 +126,6 @@ export declare const makeSelectProps: <Defaults extends {
|
|
|
122
126
|
default: string;
|
|
123
127
|
};
|
|
124
128
|
itemValue: {
|
|
125
|
-
/**
|
|
126
|
-
* Отображать элементы выбранного списка в одну строку
|
|
127
|
-
*/
|
|
128
129
|
type: PropType<import("./items").TItemKey>;
|
|
129
130
|
default: string;
|
|
130
131
|
};
|
|
@@ -149,21 +150,29 @@ export declare const makeSelectProps: <Defaults extends {
|
|
|
149
150
|
"onUpdate:opened"?: ((value: unknown[]) => any) | undefined;
|
|
150
151
|
"onClick:open"?: ((value: {
|
|
151
152
|
id: unknown;
|
|
152
|
-
value: boolean;
|
|
153
|
-
* Свойства для списка
|
|
154
|
-
*/
|
|
153
|
+
value: boolean;
|
|
155
154
|
path: unknown[];
|
|
156
155
|
event: Event;
|
|
157
156
|
}) => any) | undefined;
|
|
158
157
|
"onClick:select"?: ((value: {
|
|
159
158
|
id: unknown;
|
|
160
|
-
value: boolean;
|
|
159
|
+
value: boolean; /**
|
|
160
|
+
* Иконка выпадающего меню
|
|
161
|
+
*/
|
|
161
162
|
path: unknown[];
|
|
162
163
|
event: Event;
|
|
163
164
|
}) => any) | undefined;
|
|
164
165
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "items" | "itemTitle" | "itemValue" | "itemChildren" | "itemProps" | "returnObject" | "tag" | "size" | "disabled" | "dark" | "required" | "selectStrategy" | "openStrategy" | "lines">, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>>;
|
|
165
166
|
default: undefined;
|
|
166
167
|
};
|
|
168
|
+
/**
|
|
169
|
+
* Иконка выпадающего меню
|
|
170
|
+
*/
|
|
171
|
+
menuIcon: {
|
|
172
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
173
|
+
default: string;
|
|
174
|
+
validator: (value: TCdsIconsName) => boolean;
|
|
175
|
+
};
|
|
167
176
|
}, Defaults>;
|
|
168
177
|
export declare function useSelect(props: ISelectProps, items: ComputedRef<IInternalItem[]> | Ref<IInternalItem[]>, transformIn: IUseItems['transformIn'], transformOut: IUseItems['transformOut']): {
|
|
169
178
|
model: Ref<readonly IInternalItem<any>[]> & {
|
package/package.json
CHANGED
package/src/scss/themes/index.ts
CHANGED
|
@@ -85,6 +85,44 @@ $order: (
|
|
|
85
85
|
'last': 999
|
|
86
86
|
);
|
|
87
87
|
|
|
88
|
+
$gap-sizes: (
|
|
89
|
+
'0': 0,
|
|
90
|
+
'px': 1px,
|
|
91
|
+
'0\\.5': 0.125rem, // 2px
|
|
92
|
+
'1': 0.25rem, // 4px
|
|
93
|
+
'1\\.5': 0.375rem, // 6px
|
|
94
|
+
'2': 0.5rem, // 8px
|
|
95
|
+
'2\\.5': 0.625rem, // 10px
|
|
96
|
+
'3': 0.75rem, // 12px
|
|
97
|
+
'3\\.5': 0.875rem, // 14px
|
|
98
|
+
'4': 1rem, // 16px
|
|
99
|
+
'5': 1.25rem, // 20px
|
|
100
|
+
'6': 1.5rem, // 24px
|
|
101
|
+
'7': 1.75rem, // 28px
|
|
102
|
+
'8': 2rem, // 32px
|
|
103
|
+
'9': 2.25rem, // 36px
|
|
104
|
+
'10': 2.5rem, // 40px
|
|
105
|
+
'11': 2.75rem, // 44px
|
|
106
|
+
'12': 3rem, // 48px
|
|
107
|
+
'14': 3.5rem, // 56px
|
|
108
|
+
'16': 4rem, // 64px
|
|
109
|
+
'20': 5rem, // 80px
|
|
110
|
+
'24': 6rem, // 96px
|
|
111
|
+
'28': 7rem, // 112px
|
|
112
|
+
'32': 8rem, // 128px
|
|
113
|
+
'36': 9rem, // 144px
|
|
114
|
+
'40': 10rem, // 160px
|
|
115
|
+
'44': 11rem, // 176px
|
|
116
|
+
'48': 12rem, // 192px
|
|
117
|
+
'52': 13rem, // 208px
|
|
118
|
+
'56': 14rem, // 224px
|
|
119
|
+
'60': 15rem, // 240px
|
|
120
|
+
'64': 16rem, // 256px
|
|
121
|
+
'72': 18rem, // 288px
|
|
122
|
+
'80': 20rem, // 320px
|
|
123
|
+
'96': 24rem // 384px
|
|
124
|
+
);
|
|
125
|
+
|
|
88
126
|
$flex-properties: (
|
|
89
127
|
'direction': ('name': '', 'map': $flex-direction, 'property': 'flex-direction'),
|
|
90
128
|
'justify': ('name': 'justify-', 'map': $justify-content, 'property': 'justify-content'),
|
|
@@ -95,5 +133,8 @@ $flex-properties: (
|
|
|
95
133
|
'grow': ('name': 'grow-', 'map': $flex-grow, 'property': 'flex-grow'),
|
|
96
134
|
'shrink': ('name': 'shrink-', 'map': $flex-shrink, 'property': 'flex-shrink'),
|
|
97
135
|
'basis': ('name': 'basis-', 'map': $flex-basis, 'property': 'flex-basis'),
|
|
98
|
-
'order': ('name': 'order-', 'map': $order, 'property': 'order')
|
|
136
|
+
'order': ('name': 'order-', 'map': $order, 'property': 'order'),
|
|
137
|
+
'gap': ('name': 'gap-', 'map': $gap-sizes, 'property': 'gap'),
|
|
138
|
+
'gap-y': ('name': 'gap-y-', 'map': $gap-sizes, 'property': 'row-gap'),
|
|
139
|
+
'gap-x': ('name': 'gap-x-', 'map': $gap-sizes, 'property': 'column-gap'),
|
|
99
140
|
);
|