@central-design-system/components 3.0.0-alpha.12 → 3.0.0-alpha.13
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.d.ts +10 -1
- package/dist/cds.es.js +7041 -6131
- package/dist/cds.umd.js +3 -3
- package/dist/components/CdsButton/CdsButton.vue.d.ts +70 -19
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +1 -1
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +4 -4
- package/dist/components/CdsContainer/CdsContainer.vue.d.ts +45 -46
- package/dist/components/CdsContainer/CdsContainerItem.vue.d.ts +3 -3
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +4 -4
- package/dist/components/CdsExpandablePanel/CdsExpandablePanel.vue.d.ts +119 -0
- package/dist/components/CdsExpandablePanel/CdsExpandablePanelContent.vue.d.ts +15 -0
- package/dist/components/CdsExpandablePanel/CdsExpandablePanelTitle.vue.d.ts +55 -0
- package/dist/components/CdsExpandablePanel/CdsExpandablePanels.vue.d.ts +115 -0
- package/dist/components/CdsExpandablePanel/composable/expandablePanelTitleProps.d.ts +31 -0
- package/dist/components/CdsExpandablePanel/composable/expandablePanels.d.ts +16 -0
- package/dist/components/CdsExpandablePanel/composable/index.d.ts +1 -0
- package/dist/components/CdsExpandablePanel/index.d.ts +4 -0
- package/dist/components/CdsList/CdsListGroup.vue.d.ts +1 -1
- package/dist/components/CdsModal/CdsModal.vue.d.ts +781 -0
- package/dist/components/CdsModal/index.d.ts +1 -0
- package/dist/components/CdsSelect/CdsSelect.vue.d.ts +2 -2
- package/dist/components/CdsSlideGroup/CdsSlideGroup.vue.d.ts +162 -0
- package/dist/components/CdsSlideGroup/CdsSlideGroupItem.vue.d.ts +43 -0
- package/dist/components/CdsSlideGroup/index.d.ts +2 -0
- package/dist/components/CdsSlideGroup/utils/calculate.d.ts +14 -0
- package/dist/components/CdsSlideGroup/utils/index.d.ts +1 -0
- package/dist/components/CdsTable/CdsTable.vue.d.ts +1 -1
- package/dist/components/CdsTable/components/Table/InternalTable.d.ts +1 -1
- package/dist/components/CdsTable/components/TableProvider.d.ts +1 -1
- package/dist/components/CdsTable/composable/scroll.d.ts +4608 -0
- package/dist/components/CdsTabs/CdsTab.vue.d.ts +132 -0
- package/dist/components/CdsTabs/CdsTabs.vue.d.ts +216 -0
- package/dist/components/CdsTabs/index.d.ts +2 -0
- package/dist/components/CdsTabs/shared.d.ts +3 -0
- package/dist/components/CdsTabs/utils/helpers.d.ts +2 -0
- package/dist/components/CdsTabs/utils/index.d.ts +1 -0
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +2 -2
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +2 -2
- package/dist/components/index.d.ts +14 -1
- package/dist/composable/align.d.ts +17 -0
- package/dist/composable/group.d.ts +31 -5
- package/dist/composable/index.d.ts +1 -0
- package/dist/composable/resizeObserver.d.ts +1 -1
- package/dist/transitions/index.d.ts +61 -0
- package/dist/transitions/modalTransition.d.ts +8 -0
- package/dist/utils/helpers.d.ts +3 -1
- package/package.json +3 -3
- package/src/scss/modules/_reset.scss +5 -0
- package/src/scss/modules/_transition.scss +48 -1
- package/src/scss/themes/index.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CdsModal } from './CdsModal.vue';
|
|
@@ -446,8 +446,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
446
446
|
readonly error?: boolean | undefined;
|
|
447
447
|
readonly readonly?: boolean | undefined;
|
|
448
448
|
readonly loading?: boolean | undefined;
|
|
449
|
-
readonly messages?: string | string[] | undefined;
|
|
450
449
|
readonly active?: boolean | undefined;
|
|
450
|
+
readonly messages?: string | string[] | undefined;
|
|
451
451
|
readonly persistentMessages?: boolean | undefined;
|
|
452
452
|
readonly errorMessages?: string | string[] | undefined;
|
|
453
453
|
readonly maxErrors?: string | number | undefined;
|
|
@@ -745,8 +745,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
745
745
|
appendIcon: "link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
746
746
|
readonly: boolean;
|
|
747
747
|
loading: boolean;
|
|
748
|
-
messages: string | string[];
|
|
749
748
|
active: boolean;
|
|
749
|
+
messages: string | string[];
|
|
750
750
|
id: string;
|
|
751
751
|
label: string;
|
|
752
752
|
persistentMessages: boolean;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import type { InjectionKey } from 'vue';
|
|
2
|
+
import type { IGroupProvide } from '../../composable';
|
|
3
|
+
export declare const CdsSlideGroupSymbol: InjectionKey<IGroupProvide>;
|
|
4
|
+
export declare const componentName = "CdsSlideGroup";
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
6
|
+
symbol: {
|
|
7
|
+
type: null;
|
|
8
|
+
default: InjectionKey<IGroupProvide>;
|
|
9
|
+
};
|
|
10
|
+
prependIcon: Omit<{
|
|
11
|
+
type: import("vue").PropType<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
12
|
+
default: undefined;
|
|
13
|
+
validator: (value: "link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
14
|
+
}, "default" | "type"> & {
|
|
15
|
+
type: import("vue").PropType<NonNullable<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">>;
|
|
16
|
+
default: NonNullable<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
17
|
+
};
|
|
18
|
+
appendIcon: Omit<{
|
|
19
|
+
type: import("vue").PropType<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
20
|
+
default: undefined;
|
|
21
|
+
validator: (value: "link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
22
|
+
}, "default" | "type"> & {
|
|
23
|
+
type: import("vue").PropType<NonNullable<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">>;
|
|
24
|
+
default: NonNullable<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
25
|
+
};
|
|
26
|
+
modelValue: {
|
|
27
|
+
type: null;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
multiple: {
|
|
31
|
+
type: import("vue").PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
required: {
|
|
35
|
+
type: import("vue").PropType<boolean | "force">;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
max: {
|
|
39
|
+
type: import("vue").PropType<number>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
selectedClass: Omit<{
|
|
43
|
+
type: import("vue").PropType<string>;
|
|
44
|
+
default: undefined;
|
|
45
|
+
}, "default" | "type"> & {
|
|
46
|
+
type: import("vue").PropType<string>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
centerActive: {
|
|
50
|
+
type: import("vue").PropType<boolean>;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
showArrows: {
|
|
54
|
+
type: import("vue").PropType<string | boolean>;
|
|
55
|
+
validator: (value: any) => boolean;
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
type: import("vue").PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
direction: {
|
|
62
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
63
|
+
default: string;
|
|
64
|
+
available: readonly ["horizontal", "vertical"];
|
|
65
|
+
validator: (value: "horizontal" | "vertical") => boolean;
|
|
66
|
+
};
|
|
67
|
+
tag: {
|
|
68
|
+
type: import("vue").PropType<string>;
|
|
69
|
+
default: string;
|
|
70
|
+
description: string;
|
|
71
|
+
};
|
|
72
|
+
}, {
|
|
73
|
+
selected: import("vue").Ref<readonly number[]>;
|
|
74
|
+
scrollTo: (location: 'prev' | 'next') => void;
|
|
75
|
+
scrollOffset: import("vue").ShallowRef<number>;
|
|
76
|
+
focus: (location?: 'next' | 'prev' | 'first' | 'last') => void;
|
|
77
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
78
|
+
'update:modelValue': (value: any) => boolean;
|
|
79
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
+
symbol: {
|
|
81
|
+
type: null;
|
|
82
|
+
default: InjectionKey<IGroupProvide>;
|
|
83
|
+
};
|
|
84
|
+
prependIcon: Omit<{
|
|
85
|
+
type: import("vue").PropType<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
86
|
+
default: undefined;
|
|
87
|
+
validator: (value: "link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
88
|
+
}, "default" | "type"> & {
|
|
89
|
+
type: import("vue").PropType<NonNullable<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">>;
|
|
90
|
+
default: NonNullable<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
91
|
+
};
|
|
92
|
+
appendIcon: Omit<{
|
|
93
|
+
type: import("vue").PropType<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
94
|
+
default: undefined;
|
|
95
|
+
validator: (value: "link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
96
|
+
}, "default" | "type"> & {
|
|
97
|
+
type: import("vue").PropType<NonNullable<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">>;
|
|
98
|
+
default: NonNullable<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
99
|
+
};
|
|
100
|
+
modelValue: {
|
|
101
|
+
type: null;
|
|
102
|
+
default: undefined;
|
|
103
|
+
};
|
|
104
|
+
multiple: {
|
|
105
|
+
type: import("vue").PropType<boolean>;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
required: {
|
|
109
|
+
type: import("vue").PropType<boolean | "force">;
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
max: {
|
|
113
|
+
type: import("vue").PropType<number>;
|
|
114
|
+
default: undefined;
|
|
115
|
+
};
|
|
116
|
+
selectedClass: Omit<{
|
|
117
|
+
type: import("vue").PropType<string>;
|
|
118
|
+
default: undefined;
|
|
119
|
+
}, "default" | "type"> & {
|
|
120
|
+
type: import("vue").PropType<string>;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
centerActive: {
|
|
124
|
+
type: import("vue").PropType<boolean>;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
showArrows: {
|
|
128
|
+
type: import("vue").PropType<string | boolean>;
|
|
129
|
+
validator: (value: any) => boolean;
|
|
130
|
+
};
|
|
131
|
+
disabled: {
|
|
132
|
+
type: import("vue").PropType<boolean>;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
direction: {
|
|
136
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
137
|
+
default: string;
|
|
138
|
+
available: readonly ["horizontal", "vertical"];
|
|
139
|
+
validator: (value: "horizontal" | "vertical") => boolean;
|
|
140
|
+
};
|
|
141
|
+
tag: {
|
|
142
|
+
type: import("vue").PropType<string>;
|
|
143
|
+
default: string;
|
|
144
|
+
description: string;
|
|
145
|
+
};
|
|
146
|
+
}>> & {
|
|
147
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
148
|
+
}, {
|
|
149
|
+
symbol: any;
|
|
150
|
+
required: boolean | "force";
|
|
151
|
+
disabled: boolean;
|
|
152
|
+
tag: string;
|
|
153
|
+
prependIcon: NonNullable<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
154
|
+
appendIcon: NonNullable<"link" | "filters" | "search" | "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" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
155
|
+
selectedClass: string;
|
|
156
|
+
modelValue: any;
|
|
157
|
+
direction: "horizontal" | "vertical";
|
|
158
|
+
max: number;
|
|
159
|
+
multiple: boolean;
|
|
160
|
+
centerActive: boolean;
|
|
161
|
+
}>;
|
|
162
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const componentName = "CdsSlideGroupItem";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
disabled: {
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
value: {
|
|
8
|
+
type: null;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
selectedClass: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
'group:selected': (value: {
|
|
19
|
+
value: boolean;
|
|
20
|
+
}) => true;
|
|
21
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
disabled: {
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
value: {
|
|
27
|
+
type: null;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
selectedClass: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
}>> & {
|
|
35
|
+
"onGroup:selected"?: ((value: {
|
|
36
|
+
value: boolean;
|
|
37
|
+
}) => any) | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
value: any;
|
|
41
|
+
selectedClass: string;
|
|
42
|
+
}>;
|
|
43
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare function bias(value: number): number;
|
|
2
|
+
export declare function calculateUpdatedOffset({ selectedElement, containerSize, contentSize, currentScrollOffset, isHorizontal }: {
|
|
3
|
+
selectedElement: HTMLElement;
|
|
4
|
+
containerSize: number;
|
|
5
|
+
contentSize: number;
|
|
6
|
+
currentScrollOffset: number;
|
|
7
|
+
isHorizontal: boolean;
|
|
8
|
+
}): number;
|
|
9
|
+
export declare function calculateCenteredOffset({ selectedElement, containerSize, contentSize, isHorizontal }: {
|
|
10
|
+
selectedElement: HTMLElement;
|
|
11
|
+
containerSize: number;
|
|
12
|
+
contentSize: number;
|
|
13
|
+
isHorizontal: boolean;
|
|
14
|
+
}): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './calculate';
|
|
@@ -874,8 +874,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
874
874
|
onChange: (pagination: NTable.NPagination.IProps, filters: Record<string, NTable.TFilterValue | null>, sorters: NTable.ISorterResult<any> | NTable.ISorterResult<any>[], extra: NTable.ICurrentData<any>) => void;
|
|
875
875
|
locale: "ru" | "en" | import("../../locale").ILocale;
|
|
876
876
|
header: NTable.NRender.TPanelRender<any>;
|
|
877
|
-
columns: NTable.NColumn.TColumns<any>;
|
|
878
877
|
expandIcon: NTable.NExpand.TRenderExpandIcon<any>;
|
|
878
|
+
columns: NTable.NColumn.TColumns<any>;
|
|
879
879
|
rowKey: string | NTable.NRow.TGetRowKey<any>;
|
|
880
880
|
rowClassName: string | NTable.NRow.TClassName<any>;
|
|
881
881
|
tableLayout: NTable.TLayout;
|
|
@@ -869,8 +869,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
869
869
|
onChange: (pagination: NTable.NPagination.IProps, filters: Record<string, NTable.TFilterValue | null>, sorters: NTable.ISorterResult<any> | NTable.ISorterResult<any>[], extra: NTable.ICurrentData<any>) => void;
|
|
870
870
|
locale: "ru" | "en" | import("../../../../locale").ILocale;
|
|
871
871
|
header: NTable.NRender.TPanelRender<any>;
|
|
872
|
-
columns: NTable.NColumn.TColumns<any>;
|
|
873
872
|
expandIcon: NTable.NExpand.TRenderExpandIcon<any>;
|
|
873
|
+
columns: NTable.NColumn.TColumns<any>;
|
|
874
874
|
rowKey: string | NTable.NRow.TGetRowKey<any>;
|
|
875
875
|
rowClassName: string | NTable.NRow.TClassName<any>;
|
|
876
876
|
tableLayout: NTable.TLayout;
|
|
@@ -862,8 +862,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
862
862
|
onChange: (pagination: NTable.NPagination.IProps, filters: Record<string, NTable.TFilterValue | null>, sorters: NTable.ISorterResult<any> | NTable.ISorterResult<any>[], extra: NTable.ICurrentData<any>) => void;
|
|
863
863
|
locale: "ru" | "en" | import("../../../locale").ILocale;
|
|
864
864
|
header: NTable.NRender.TPanelRender<any>;
|
|
865
|
-
columns: NTable.NColumn.TColumns<any>;
|
|
866
865
|
expandIcon: NTable.NExpand.TRenderExpandIcon<any>;
|
|
866
|
+
columns: NTable.NColumn.TColumns<any>;
|
|
867
867
|
rowKey: string | NTable.NRow.TGetRowKey<any>;
|
|
868
868
|
rowClassName: string | NTable.NRow.TClassName<any>;
|
|
869
869
|
tableLayout: NTable.TLayout;
|