@central-design-system/components 3.0.0-alpha.1 → 3.0.0-alpha.2

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.
Files changed (73) hide show
  1. package/dist/cds.css +1 -1
  2. package/dist/cds.d.ts +9 -3
  3. package/dist/cds.es.js +6618 -3541
  4. package/dist/cds.umd.js +1 -1
  5. package/dist/components/CdsBreadcrumbs/CdsBreadcrumbs.vue.d.ts +64 -0
  6. package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.vue.d.ts +54 -0
  7. package/dist/components/CdsBreadcrumbs/index.d.ts +2 -0
  8. package/dist/components/CdsButton/CdsButton.vue.d.ts +13 -13
  9. package/dist/components/CdsButton/index.d.ts +1 -0
  10. package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +36 -20
  11. package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +34 -12
  12. package/dist/components/CdsCheckbox/index.d.ts +2 -0
  13. package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +2454 -0
  14. package/dist/components/CdsCombobox/composable/highlight.d.ts +12 -0
  15. package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +246 -0
  16. package/dist/components/CdsDatePicker/composable/calendar.d.ts +315 -0
  17. package/dist/components/CdsDatePicker/composable/index.d.ts +1 -0
  18. package/dist/components/CdsDrawer/CdsDrawer.vue.d.ts +2 -2
  19. package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +2317 -0
  20. package/dist/components/CdsEmptyState/CdsEmptyState.vue.d.ts +54 -0
  21. package/dist/components/CdsGrid/CdsCol.vue.d.ts +1 -1
  22. package/dist/components/CdsIcon/CdsIcon.vue.d.ts +3 -3
  23. package/dist/components/CdsInput/CdsInput.vue.d.ts +21 -21
  24. package/dist/components/CdsLink/CdsLink.vue.d.ts +1 -1
  25. package/dist/components/CdsLink/index.d.ts +1 -0
  26. package/dist/components/CdsList/CdsList.vue.d.ts +9 -1
  27. package/dist/components/CdsList/CdsListGroup.vue.d.ts +8 -8
  28. package/dist/components/CdsList/CdsListItem.vue.d.ts +20 -23
  29. package/dist/components/CdsLoader/CdsLoader.vue.d.ts +1 -1
  30. package/dist/components/CdsMenu/CdsMenu.vue.d.ts +111 -22
  31. package/dist/components/CdsMenu/index.d.ts +1 -0
  32. package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +32 -19
  33. package/dist/components/CdsOverlay/index.d.ts +1 -0
  34. package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +34 -12
  35. package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +34 -12
  36. package/dist/components/CdsSelect/CdsSelect.vue.d.ts +133 -75
  37. package/dist/components/CdsSidebar/CdsSidebar.vue.d.ts +9 -14
  38. package/dist/components/CdsStages/CdsStages.vue.d.ts +2 -2
  39. package/dist/components/CdsTag/CdsTag.vue.d.ts +2 -4
  40. package/dist/components/CdsTag/index.d.ts +1 -0
  41. package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +116 -74
  42. package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +120 -60
  43. package/dist/components/CdsTextInput/index.d.ts +1 -0
  44. package/dist/components/index.d.ts +7 -1
  45. package/dist/composable/color.d.ts +4 -2
  46. package/dist/composable/datetime.d.ts +76 -0
  47. package/dist/composable/delay.d.ts +1 -1
  48. package/dist/composable/field.d.ts +4 -3
  49. package/dist/composable/filter.d.ts +52 -0
  50. package/dist/composable/form.d.ts +2 -0
  51. package/dist/composable/hidration.d.ts +2 -1
  52. package/dist/composable/icon.d.ts +2 -2
  53. package/dist/composable/index.d.ts +6 -0
  54. package/dist/composable/input.d.ts +5 -3
  55. package/dist/composable/items.d.ts +2 -0
  56. package/dist/composable/lazy.d.ts +12 -2
  57. package/dist/composable/menu.d.ts +37 -0
  58. package/dist/composable/overlay.d.ts +8 -9
  59. package/dist/composable/router.d.ts +3 -0
  60. package/dist/composable/select.d.ts +86 -0
  61. package/dist/composable/title.d.ts +21 -0
  62. package/dist/composable/validation.d.ts +0 -8
  63. package/dist/locale/index.d.ts +12 -0
  64. package/dist/locale/ru.d.ts +3 -0
  65. package/dist/transitions/index.d.ts +150 -0
  66. package/dist/utils/anchor.d.ts +1 -1
  67. package/dist/utils/cache.d.ts +4 -0
  68. package/dist/utils/date.d.ts +181 -0
  69. package/dist/utils/helpers.d.ts +68 -19
  70. package/dist/utils/index.d.ts +2 -0
  71. package/package.json +3 -2
  72. package/src/scss/modules/_transition.scss +102 -0
  73. package/src/scss/themes/index.ts +1 -1
@@ -0,0 +1,64 @@
1
+ export declare const componentName = "CdsBreadcrumbs";
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ items: {
4
+ type: import("vue").PropType<any[]>;
5
+ default: () => never[];
6
+ };
7
+ itemTitle: {
8
+ type: import("vue").PropType<import("../../composable").TItemKey>;
9
+ default: string;
10
+ };
11
+ itemValue: {
12
+ type: import("vue").PropType<import("../../composable").TItemKey>;
13
+ default: string;
14
+ };
15
+ itemChildren: {
16
+ type: import("vue").PropType<import("../../composable").TItemKey>;
17
+ default: string;
18
+ };
19
+ itemProps: {
20
+ type: import("vue").PropType<import("../../composable").TItemKey>;
21
+ default: string;
22
+ };
23
+ returnObject: {
24
+ type: import("vue").PropType<boolean>;
25
+ default: boolean;
26
+ };
27
+ }, {
28
+ items: import("vue").ComputedRef<import("../../composable").IInternalItem<any>[]>;
29
+ hasSlot: import("vue").ComputedRef<boolean>;
30
+ isLastItem: (index: number) => boolean;
31
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ items: {
33
+ type: import("vue").PropType<any[]>;
34
+ default: () => never[];
35
+ };
36
+ itemTitle: {
37
+ type: import("vue").PropType<import("../../composable").TItemKey>;
38
+ default: string;
39
+ };
40
+ itemValue: {
41
+ type: import("vue").PropType<import("../../composable").TItemKey>;
42
+ default: string;
43
+ };
44
+ itemChildren: {
45
+ type: import("vue").PropType<import("../../composable").TItemKey>;
46
+ default: string;
47
+ };
48
+ itemProps: {
49
+ type: import("vue").PropType<import("../../composable").TItemKey>;
50
+ default: string;
51
+ };
52
+ returnObject: {
53
+ type: import("vue").PropType<boolean>;
54
+ default: boolean;
55
+ };
56
+ }>>, {
57
+ items: any[];
58
+ itemTitle: import("../../composable").TItemKey;
59
+ itemValue: import("../../composable").TItemKey;
60
+ itemChildren: import("../../composable").TItemKey;
61
+ itemProps: import("../../composable").TItemKey;
62
+ returnObject: boolean;
63
+ }>;
64
+ export default _sfc_main;
@@ -0,0 +1,54 @@
1
+ import type { PropType } from 'vue';
2
+ export declare const componentName = "CdsBreadcrumbsItem";
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ href: {
5
+ type: PropType<string>;
6
+ default: undefined;
7
+ };
8
+ to: {
9
+ type: PropType<import("vue-router").RouteLocationRaw>;
10
+ default: undefined;
11
+ };
12
+ text: {
13
+ type: PropType<string>;
14
+ default: undefined;
15
+ };
16
+ /**
17
+ * Является ли элемент текущей страницей
18
+ */
19
+ currentPage: {
20
+ type: PropType<boolean>;
21
+ default: boolean;
22
+ };
23
+ }, {
24
+ isInternalLink: boolean;
25
+ to: import("vue").ComputedRef<import("vue-router").RouteLocationRaw | undefined>;
26
+ href: import("vue").ComputedRef<string | undefined>;
27
+ title: string | undefined;
28
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ href: {
30
+ type: PropType<string>;
31
+ default: undefined;
32
+ };
33
+ to: {
34
+ type: PropType<import("vue-router").RouteLocationRaw>;
35
+ default: undefined;
36
+ };
37
+ text: {
38
+ type: PropType<string>;
39
+ default: undefined;
40
+ };
41
+ /**
42
+ * Является ли элемент текущей страницей
43
+ */
44
+ currentPage: {
45
+ type: PropType<boolean>;
46
+ default: boolean;
47
+ };
48
+ }>>, {
49
+ text: string;
50
+ href: string;
51
+ to: import("vue-router").RouteLocationRaw;
52
+ currentPage: boolean;
53
+ }>;
54
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ export { default as CdsBreadcrumbs } from './CdsBreadcrumbs.vue';
2
+ export { default as CdsBreadcrumbsItem } from './CdsBreadcrumbsItem.vue';
@@ -22,14 +22,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
22
22
  default: boolean;
23
23
  };
24
24
  prependIcon: {
25
- type: PropType<"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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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
+ type: 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" | "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" | "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">;
26
26
  default: undefined;
27
- validator: (value: "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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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;
27
+ 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" | "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" | "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;
28
28
  };
29
29
  appendIcon: {
30
- type: PropType<"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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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">;
30
+ type: 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" | "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" | "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">;
31
31
  default: undefined;
32
- validator: (value: "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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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;
32
+ 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" | "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" | "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;
33
33
  };
34
34
  size: {
35
35
  type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
@@ -92,14 +92,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
92
92
  default: boolean;
93
93
  };
94
94
  prependIcon: {
95
- type: PropType<"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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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">;
95
+ type: 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" | "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" | "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">;
96
96
  default: undefined;
97
- validator: (value: "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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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;
97
+ 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" | "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" | "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;
98
98
  };
99
99
  appendIcon: {
100
- type: PropType<"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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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">;
100
+ type: 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" | "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" | "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">;
101
101
  default: undefined;
102
- validator: (value: "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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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;
102
+ 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" | "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" | "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;
103
103
  };
104
104
  size: {
105
105
  type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
@@ -126,14 +126,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
126
126
  };
127
127
  }>>, {
128
128
  dark: boolean;
129
- size: "xs" | "sm" | "md" | "lg" | "xl";
130
129
  text: string;
131
- appearance: "primary" | "secondary" | "transparent";
132
- prependIcon: "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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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";
133
- appendIcon: "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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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";
134
- disabled: boolean;
135
130
  href: string;
136
131
  to: import("vue-router").RouteLocationRaw;
132
+ disabled: boolean;
133
+ size: "xs" | "sm" | "md" | "lg" | "xl";
134
+ appearance: "primary" | "secondary" | "transparent";
135
+ prependIcon: "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" | "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" | "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";
136
+ 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" | "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" | "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";
137
137
  loading: boolean;
138
138
  iconOnly: boolean;
139
139
  }>;
@@ -0,0 +1 @@
1
+ export { default as CdsButton } from './CdsButton.vue';
@@ -25,10 +25,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
25
25
  type: PropType<string | undefined>;
26
26
  default: undefined;
27
27
  };
28
- label: {
29
- type: PropType<string | undefined>;
30
- default: undefined;
31
- };
32
28
  readonly: {
33
29
  type: PropType<boolean>;
34
30
  default: boolean;
@@ -57,10 +53,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
57
53
  };
58
54
  id: {
59
55
  type: PropType<string>;
60
- default: undefined; /**
61
- * Событие при фокусе
62
- * @type { boolean }
63
- */
56
+ default: undefined;
57
+ };
58
+ label: {
59
+ type: PropType<string>;
60
+ default: undefined;
64
61
  };
65
62
  description: {
66
63
  type: PropType<string>;
@@ -91,7 +88,29 @@ declare const _sfc_main: import("vue").DefineComponent<{
91
88
  readonly externalValue: any;
92
89
  };
93
90
  hasDescription: import("vue").ComputedRef<boolean>;
94
- inputProps: import("vue").Ref<{}>;
91
+ inputProps: import("vue").Ref<{
92
+ [x: string]: unknown;
93
+ id?: string | undefined;
94
+ label?: string | undefined;
95
+ description?: string | undefined;
96
+ value?: any;
97
+ messages?: string | string[] | undefined;
98
+ persistentMessages?: boolean | undefined;
99
+ disabled?: boolean | undefined;
100
+ error?: boolean | undefined;
101
+ errorMessages?: string | string[] | undefined;
102
+ focused?: boolean | undefined;
103
+ maxErrors?: string | number | undefined;
104
+ name?: string | undefined;
105
+ readonly?: boolean | undefined;
106
+ rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
107
+ then: <TResult1 = import("../../composable").TValidationResult, TResult2 = never>(onfulfilled?: ((value: import("../../composable").TValidationResult) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => PromiseLike<TResult1 | TResult2>;
108
+ })[] | undefined;
109
+ modelValue?: any;
110
+ validateOn?: "input" | "blur" | "submit" | undefined;
111
+ validationValue?: any;
112
+ hideMessages?: boolean | undefined;
113
+ }>;
95
114
  rootAttrs: import("vue").Ref<{}>;
96
115
  inputAttrs: import("vue").Ref<{}>;
97
116
  isFocused: import("vue").Ref<boolean>;
@@ -134,10 +153,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
134
153
  type: PropType<string | undefined>;
135
154
  default: undefined;
136
155
  };
137
- label: {
138
- type: PropType<string | undefined>;
139
- default: undefined;
140
- };
141
156
  readonly: {
142
157
  type: PropType<boolean>;
143
158
  default: boolean;
@@ -166,10 +181,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
166
181
  };
167
182
  id: {
168
183
  type: PropType<string>;
169
- default: undefined; /**
170
- * Событие при фокусе
171
- * @type { boolean }
172
- */
184
+ default: undefined;
185
+ };
186
+ label: {
187
+ type: PropType<string>;
188
+ default: undefined;
173
189
  };
174
190
  description: {
175
191
  type: PropType<string>;
@@ -201,12 +217,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
201
217
  }, {
202
218
  name: string | undefined;
203
219
  description: string;
204
- error: boolean;
205
220
  disabled: boolean;
221
+ value: any;
222
+ error: boolean;
206
223
  messages: string | string[];
207
224
  id: string;
208
- label: string | undefined;
209
- value: any;
225
+ label: string;
210
226
  persistentMessages: boolean;
211
227
  errorMessages: string | string[];
212
228
  maxErrors: string | number;
@@ -45,10 +45,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
45
45
  type: import("vue").PropType<string | undefined>;
46
46
  default: undefined;
47
47
  };
48
- label: {
49
- type: import("vue").PropType<string | undefined>;
50
- default: undefined;
51
- };
52
48
  readonly: {
53
49
  type: import("vue").PropType<boolean>;
54
50
  default: boolean;
@@ -79,6 +75,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
79
75
  type: import("vue").PropType<string>;
80
76
  default: undefined;
81
77
  };
78
+ label: {
79
+ type: import("vue").PropType<string>;
80
+ default: undefined;
81
+ };
82
82
  description: {
83
83
  type: import("vue").PropType<string>;
84
84
  default: undefined;
@@ -96,7 +96,29 @@ declare const _sfc_main: import("vue").DefineComponent<{
96
96
  default: boolean;
97
97
  };
98
98
  }, {
99
- inputProps: Ref<{}>;
99
+ inputProps: Ref<{
100
+ readonly disabled?: boolean | undefined;
101
+ readonly value?: any;
102
+ readonly error?: boolean | undefined;
103
+ readonly messages?: string | string[] | undefined;
104
+ readonly persistentMessages?: boolean | undefined;
105
+ readonly errorMessages?: string | string[] | undefined;
106
+ readonly maxErrors?: string | number | undefined;
107
+ readonly readonly?: boolean | undefined;
108
+ readonly rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
109
+ then: <TResult1 = import("../../composable").TValidationResult, TResult2 = never>(onfulfilled?: ((value: import("../../composable").TValidationResult) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => PromiseLike<TResult1 | TResult2>;
110
+ })[] | undefined;
111
+ readonly modelValue?: any;
112
+ readonly validateOn?: "input" | "blur" | "submit" | undefined;
113
+ readonly hideMessages?: boolean | undefined;
114
+ readonly direction?: NonNullable<"horizontal" | "vertical"> | undefined;
115
+ readonly name?: string | undefined;
116
+ readonly description?: string | undefined;
117
+ readonly id?: string | undefined;
118
+ readonly label?: string | undefined;
119
+ readonly validationValue?: any;
120
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
121
+ }>;
100
122
  hasLabel: import("vue").ComputedRef<boolean>;
101
123
  hasDescription: import("vue").ComputedRef<boolean>;
102
124
  directionClasses: import("vue").ComputedRef<string>;
@@ -130,10 +152,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
130
152
  type: import("vue").PropType<string | undefined>;
131
153
  default: undefined;
132
154
  };
133
- label: {
134
- type: import("vue").PropType<string | undefined>;
135
- default: undefined;
136
- };
137
155
  readonly: {
138
156
  type: import("vue").PropType<boolean>;
139
157
  default: boolean;
@@ -164,6 +182,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
164
182
  type: import("vue").PropType<string>;
165
183
  default: undefined;
166
184
  };
185
+ label: {
186
+ type: import("vue").PropType<string>;
187
+ default: undefined;
188
+ };
167
189
  description: {
168
190
  type: import("vue").PropType<string>;
169
191
  default: undefined;
@@ -185,12 +207,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
185
207
  }, {
186
208
  name: string | undefined;
187
209
  description: string;
188
- error: boolean;
189
210
  disabled: boolean;
211
+ value: any;
212
+ error: boolean;
190
213
  messages: string | string[];
191
214
  id: string;
192
- label: string | undefined;
193
- value: any;
215
+ label: string;
194
216
  persistentMessages: boolean;
195
217
  errorMessages: string | string[];
196
218
  maxErrors: string | number;
@@ -0,0 +1,2 @@
1
+ export { default as CdsCheckbox } from './CdsCheckbox.vue';
2
+ export { default as CdsCheckboxGroup } from './CdsCheckboxGroup.vue';