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

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 (194) hide show
  1. package/dist/cds.css +1 -1
  2. package/dist/cds.d.ts +54 -41
  3. package/dist/cds.es.js +11775 -4017
  4. package/dist/cds.umd.js +18 -1
  5. package/dist/components/CdsBadge/index.d.ts +1 -0
  6. package/dist/components/CdsBreadcrumbs/CdsBreadcrumbs.vue.d.ts +64 -0
  7. package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.vue.d.ts +54 -0
  8. package/dist/components/CdsBreadcrumbs/index.d.ts +2 -0
  9. package/dist/components/CdsButton/CdsButton.vue.d.ts +28 -18
  10. package/dist/components/CdsButton/index.d.ts +1 -0
  11. package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +68 -36
  12. package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +51 -29
  13. package/dist/components/CdsCheckbox/index.d.ts +2 -0
  14. package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +2457 -0
  15. package/dist/components/CdsCombobox/composable/highlight.d.ts +12 -0
  16. package/dist/components/CdsCombobox/index.d.ts +1 -0
  17. package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +249 -0
  18. package/dist/components/CdsDatePicker/composable/calendar.d.ts +317 -0
  19. package/dist/components/CdsDatePicker/composable/index.d.ts +1 -0
  20. package/dist/components/CdsDatePicker/index.d.ts +1 -0
  21. package/dist/components/CdsDrawer/CdsDrawer.vue.d.ts +22 -6
  22. package/dist/components/CdsDrawer/index.d.ts +1 -0
  23. package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +2413 -0
  24. package/dist/components/CdsDropdown/index.d.ts +1 -0
  25. package/dist/components/CdsEmptyState/CdsEmptyState.vue.d.ts +54 -0
  26. package/dist/components/CdsEmptyState/index.d.ts +1 -0
  27. package/dist/components/CdsForm/CdsForm.vue.d.ts +14 -4
  28. package/dist/components/CdsForm/index.d.ts +1 -0
  29. package/dist/components/CdsGrid/CdsCol.vue.d.ts +1 -1
  30. package/dist/components/CdsGrid/composable/grid.d.ts +2 -1
  31. package/dist/components/CdsGrid/index.d.ts +3 -0
  32. package/dist/components/CdsIcon/CdsIcon.vue.d.ts +3 -3
  33. package/dist/components/CdsInput/CdsInput.vue.d.ts +54 -34
  34. package/dist/components/CdsLink/CdsLink.vue.d.ts +10 -3
  35. package/dist/components/CdsLink/index.d.ts +1 -0
  36. package/dist/components/CdsList/CdsList.vue.d.ts +47 -6
  37. package/dist/components/CdsList/CdsListGroup.vue.d.ts +8 -8
  38. package/dist/components/CdsList/CdsListItem.vue.d.ts +28 -25
  39. package/dist/components/CdsLoader/CdsLoader.vue.d.ts +1 -1
  40. package/dist/components/CdsMenu/CdsMenu.vue.d.ts +142 -37
  41. package/dist/components/CdsMenu/index.d.ts +1 -0
  42. package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +49 -30
  43. package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +3 -0
  44. package/dist/components/CdsOverlay/index.d.ts +1 -0
  45. package/dist/components/CdsPagination/CdsPagination.vue.d.ts +142 -0
  46. package/dist/components/CdsPagination/index.d.ts +1 -0
  47. package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +60 -31
  48. package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +59 -31
  49. package/dist/components/CdsRadioButton/index.d.ts +2 -0
  50. package/dist/components/CdsSelect/CdsSelect.vue.d.ts +227 -116
  51. package/dist/components/CdsSelect/index.d.ts +1 -0
  52. package/dist/components/CdsSidebar/CdsSidebar.vue.d.ts +23 -18
  53. package/dist/components/CdsSidebar/index.d.ts +1 -0
  54. package/dist/components/CdsStages/CdsStages.vue.d.ts +2 -2
  55. package/dist/components/CdsStages/index.d.ts +1 -0
  56. package/dist/components/CdsStatus/index.d.ts +1 -0
  57. package/dist/components/CdsTable/CdsTable.vue.d.ts +1147 -0
  58. package/dist/components/CdsTable/CdsTableColumn.vue.d.ts +10 -0
  59. package/dist/components/CdsTable/CdsTableColumnGroup.vue.d.ts +10 -0
  60. package/dist/components/CdsTable/components/Body/Body.d.ts +12 -0
  61. package/dist/components/CdsTable/components/Body/BodyRow.d.ts +22 -0
  62. package/dist/components/CdsTable/components/Body/ExpandedRow.d.ts +13 -0
  63. package/dist/components/CdsTable/components/Body/index.d.ts +1 -0
  64. package/dist/components/CdsTable/components/Cell/Cell.d.ts +34 -0
  65. package/dist/components/CdsTable/components/Cell/MeasureCell.d.ts +7 -0
  66. package/dist/components/CdsTable/components/Cell/index.d.ts +2 -0
  67. package/dist/components/CdsTable/components/ColGroup/ColGroup.d.ts +8 -0
  68. package/dist/components/CdsTable/components/ColGroup/index.d.ts +1 -0
  69. package/dist/components/CdsTable/components/Filter/FilterDropdown.d.ts +14 -0
  70. package/dist/components/CdsTable/components/Filter/FilterSearch.d.ts +9 -0
  71. package/dist/components/CdsTable/components/Filter/FilterWrapper.d.ts +4 -0
  72. package/dist/components/CdsTable/components/Filter/index.d.ts +1 -0
  73. package/dist/components/CdsTable/components/FixedHolder/FixedHolder.d.ts +21 -0
  74. package/dist/components/CdsTable/components/FixedHolder/index.d.ts +1 -0
  75. package/dist/components/CdsTable/components/Footer/Footer.d.ts +8 -0
  76. package/dist/components/CdsTable/components/Footer/index.d.ts +1 -0
  77. package/dist/components/CdsTable/components/Header/DragHandle.d.ts +44 -0
  78. package/dist/components/CdsTable/components/Header/Header.d.ts +11 -0
  79. package/dist/components/CdsTable/components/Header/HeaderRow.d.ts +15 -0
  80. package/dist/components/CdsTable/components/Header/index.d.ts +1 -0
  81. package/dist/components/CdsTable/components/Icons/ExpandIcon.d.ts +12 -0
  82. package/dist/components/CdsTable/components/Panel/Panel.d.ts +4 -0
  83. package/dist/components/CdsTable/components/Panel/index.d.ts +1 -0
  84. package/dist/components/CdsTable/components/ResizeObserver/ResizeObserver.d.ts +11 -0
  85. package/dist/components/CdsTable/components/ResizeObserver/index.d.ts +1 -0
  86. package/dist/components/CdsTable/components/StickyScrollbar/StickyScrollbar.d.ts +15 -0
  87. package/dist/components/CdsTable/components/StickyScrollbar/index.d.ts +1 -0
  88. package/dist/components/CdsTable/components/Table/InternalTable.d.ts +1139 -0
  89. package/dist/components/CdsTable/components/TableProvider.d.ts +1132 -0
  90. package/dist/components/CdsTable/composable/columns.d.ts +28 -0
  91. package/dist/components/CdsTable/composable/filter.d.ts +16 -0
  92. package/dist/components/CdsTable/composable/flat.d.ts +17 -0
  93. package/dist/components/CdsTable/composable/frame.d.ts +6 -0
  94. package/dist/components/CdsTable/composable/index.d.ts +10 -0
  95. package/dist/components/CdsTable/composable/pagination.d.ts +18 -0
  96. package/dist/components/CdsTable/composable/selection.d.ts +23 -0
  97. package/dist/components/CdsTable/composable/sorter.d.ts +21 -0
  98. package/dist/components/CdsTable/composable/sticky.d.ts +12 -0
  99. package/dist/components/CdsTable/composable/table.d.ts +640 -0
  100. package/dist/components/CdsTable/constants.d.ts +2 -0
  101. package/dist/components/CdsTable/context/body.d.ts +19 -0
  102. package/dist/components/CdsTable/context/expandedRow.d.ts +10 -0
  103. package/dist/components/CdsTable/context/hover.d.ts +9 -0
  104. package/dist/components/CdsTable/context/index.d.ts +8 -0
  105. package/dist/components/CdsTable/context/resize.d.ts +9 -0
  106. package/dist/components/CdsTable/context/slots.d.ts +17 -0
  107. package/dist/components/CdsTable/context/sticky.d.ts +2 -0
  108. package/dist/components/CdsTable/context/summary.d.ts +14 -0
  109. package/dist/components/CdsTable/context/table.d.ts +20 -0
  110. package/dist/components/CdsTable/index.d.ts +6 -0
  111. package/dist/components/CdsTable/interface.d.ts +323 -0
  112. package/dist/components/CdsTable/utils/column.d.ts +7 -0
  113. package/dist/components/CdsTable/utils/expand.d.ts +2 -0
  114. package/dist/components/CdsTable/utils/fixed.d.ts +13 -0
  115. package/dist/components/CdsTable/utils/index.d.ts +5 -0
  116. package/dist/components/CdsTable/utils/listener.d.ts +5 -0
  117. package/dist/components/CdsTable/utils/value.d.ts +10 -0
  118. package/dist/components/CdsTag/CdsTag.vue.d.ts +11 -6
  119. package/dist/components/CdsTag/index.d.ts +1 -0
  120. package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +224 -123
  121. package/dist/components/CdsTextArea/index.d.ts +1 -0
  122. package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +239 -104
  123. package/dist/components/CdsTextInput/index.d.ts +1 -0
  124. package/dist/components/CdsTimePicker/CdsTimePicker.vue.d.ts +144 -0
  125. package/dist/components/CdsTimePicker/composable/index.d.ts +1 -0
  126. package/dist/components/CdsTimePicker/composable/time.d.ts +134 -0
  127. package/dist/components/CdsTimePicker/index.d.ts +1 -0
  128. package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +765 -0
  129. package/dist/components/CdsTooltip/index.d.ts +1 -0
  130. package/dist/components/CdsTree/composable/index.d.ts +1 -0
  131. package/dist/components/CdsTree/composable/tree.d.ts +6 -0
  132. package/dist/components/CdsTree/interface.d.ts +60 -0
  133. package/dist/components/CdsTree/utils/conduct.d.ts +11 -0
  134. package/dist/components/CdsTree/utils/data.d.ts +36 -0
  135. package/dist/components/CdsTree/utils/index.d.ts +2 -0
  136. package/dist/components/index.d.ts +43 -1
  137. package/dist/composable/color.d.ts +4 -2
  138. package/dist/composable/datetime.d.ts +45 -0
  139. package/dist/composable/delay.d.ts +1 -1
  140. package/dist/composable/dimensions.d.ts +23 -5
  141. package/dist/composable/display.d.ts +59 -0
  142. package/dist/composable/field.d.ts +4 -3
  143. package/dist/composable/filter.d.ts +52 -0
  144. package/dist/composable/form.d.ts +2 -0
  145. package/dist/composable/hidration.d.ts +2 -1
  146. package/dist/composable/icon.d.ts +2 -2
  147. package/dist/composable/index.d.ts +12 -0
  148. package/dist/composable/input.d.ts +6 -4
  149. package/dist/composable/items.d.ts +2 -0
  150. package/dist/composable/lazy.d.ts +12 -2
  151. package/dist/composable/locale.d.ts +18 -0
  152. package/dist/composable/menu.d.ts +37 -0
  153. package/dist/composable/overlay.d.ts +9 -10
  154. package/dist/composable/readonly.d.ts +19 -0
  155. package/dist/composable/refs.d.ts +6 -0
  156. package/dist/composable/resizeObserver.d.ts +7 -0
  157. package/dist/composable/router.d.ts +3 -0
  158. package/dist/composable/select.d.ts +86 -0
  159. package/dist/composable/state.d.ts +13 -0
  160. package/dist/composable/title.d.ts +21 -0
  161. package/dist/composable/validation.d.ts +0 -24
  162. package/dist/create.d.ts +23 -0
  163. package/dist/globals.d.ts +2 -0
  164. package/dist/locale/en.d.ts +3 -0
  165. package/dist/locale/index.d.ts +13 -0
  166. package/dist/locale/ru.d.ts +3 -0
  167. package/dist/transitions/index.d.ts +150 -0
  168. package/dist/utils/date/date.d.ts +190 -0
  169. package/dist/utils/{anchor.d.ts → dom/anchor.d.ts} +2 -2
  170. package/dist/utils/dom/classNames.d.ts +1 -0
  171. package/dist/utils/dom/dom.d.ts +10 -0
  172. package/dist/utils/dom/getScrollParent.d.ts +12 -0
  173. package/dist/utils/dom/scrollTo.d.ts +10 -0
  174. package/dist/utils/dom/warn.d.ts +1 -0
  175. package/dist/utils/dom/wrapperRaf.d.ts +4 -0
  176. package/dist/utils/helpers.d.ts +109 -20
  177. package/dist/utils/index.d.ts +16 -7
  178. package/dist/utils/use/cache.d.ts +4 -0
  179. package/dist/utils/use/eagerComputed.d.ts +3 -0
  180. package/dist/utils/use/pickAttrs.d.ts +11 -0
  181. package/dist/utils/use/reactiveComputed.d.ts +4 -0
  182. package/dist/utils/use/reactivePick.d.ts +8 -0
  183. package/dist/utils/use/toReactive.d.ts +8 -0
  184. package/dist/utils/use/toValue.d.ts +5 -0
  185. package/package.json +7 -4
  186. package/src/scss/modules/_transition.scss +102 -0
  187. package/src/scss/themes/index.ts +1 -1
  188. package/src/scss/utility/lists.scss +1 -0
  189. package/dist/types/CdsOptions.d.ts +0 -3
  190. package/dist/utils/dom.d.ts +0 -6
  191. package/dist/utils/getScrollParent.d.ts +0 -3
  192. /package/dist/utils/{animation.d.ts → dom/animation.d.ts} +0 -0
  193. /package/dist/utils/{box.d.ts → dom/box.d.ts} +0 -0
  194. /package/dist/utils/{globals.d.ts → dom/globals.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ export { default as CdsDropdown } from './CdsDropdown.vue';
@@ -0,0 +1,54 @@
1
+ import type { PropType } from 'vue';
2
+ import type { TCdsIllustrationsName } from '@central-design-system/illustrations';
3
+ export declare const componentName = "CdsEmptyState";
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ title: {
6
+ type: PropType<string>;
7
+ default: string;
8
+ };
9
+ /**
10
+ * Описание
11
+ */
12
+ description: {
13
+ type: PropType<string>;
14
+ default: string;
15
+ };
16
+ /**
17
+ * Иллюстрация
18
+ */
19
+ illustration: {
20
+ type: PropType<"actives-rise-rub" | "bank-rub" | "book-building" | "book-chat" | "book-finger" | "books-apple-hat" | "calendar-watch" | "car-boxes" | "chip" | "chocholate-menu" | "display-analytics" | "display-demo" | "display-user-profile" | "doc-laptop" | "finger-click-rub" | "hammer-buildings" | "hand-card-rub" | "hand-gear" | "hand-glass" | "hand-money" | "handshake-rub" | "key" | "like-display-click" | "like-profile-rub" | "mail-opened" | "man-laptop-world" | "man-spyglass" | "phone-in-hand" | "rocket" | "sandwatch-rub" | "search-interface" | "support" | "user-analytics" | "woman-chat">;
21
+ default: undefined;
22
+ validator: (value: TCdsIllustrationsName) => boolean;
23
+ };
24
+ }, {
25
+ illustrationComponent: import("vue").ComputedRef<string>;
26
+ hasIllustrationSlot: import("vue").ComputedRef<boolean>;
27
+ hasTitleSlot: import("vue").ComputedRef<boolean>;
28
+ hasDescriptionSlot: import("vue").ComputedRef<boolean>;
29
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ title: {
31
+ type: PropType<string>;
32
+ default: string;
33
+ };
34
+ /**
35
+ * Описание
36
+ */
37
+ description: {
38
+ type: PropType<string>;
39
+ default: string;
40
+ };
41
+ /**
42
+ * Иллюстрация
43
+ */
44
+ illustration: {
45
+ type: PropType<"actives-rise-rub" | "bank-rub" | "book-building" | "book-chat" | "book-finger" | "books-apple-hat" | "calendar-watch" | "car-boxes" | "chip" | "chocholate-menu" | "display-analytics" | "display-demo" | "display-user-profile" | "doc-laptop" | "finger-click-rub" | "hammer-buildings" | "hand-card-rub" | "hand-gear" | "hand-glass" | "hand-money" | "handshake-rub" | "key" | "like-display-click" | "like-profile-rub" | "mail-opened" | "man-laptop-world" | "man-spyglass" | "phone-in-hand" | "rocket" | "sandwatch-rub" | "search-interface" | "support" | "user-analytics" | "woman-chat">;
46
+ default: undefined;
47
+ validator: (value: TCdsIllustrationsName) => boolean;
48
+ };
49
+ }>>, {
50
+ description: string;
51
+ title: string;
52
+ illustration: "actives-rise-rub" | "bank-rub" | "book-building" | "book-chat" | "book-finger" | "books-apple-hat" | "calendar-watch" | "car-boxes" | "chip" | "chocholate-menu" | "display-analytics" | "display-demo" | "display-user-profile" | "doc-laptop" | "finger-click-rub" | "hammer-buildings" | "hand-card-rub" | "hand-gear" | "hand-glass" | "hand-money" | "handshake-rub" | "key" | "like-display-click" | "like-profile-rub" | "mail-opened" | "man-laptop-world" | "man-spyglass" | "phone-in-hand" | "rocket" | "sandwatch-rub" | "search-interface" | "support" | "user-analytics" | "woman-chat";
53
+ }>;
54
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ export { default as CdsEmptyState } from './CdsEmptyState.vue';
@@ -1,3 +1,4 @@
1
+ import { SubmitEventPromise } from '../../composable';
1
2
  export declare const componentName = "CdsForm";
2
3
  declare const _sfc_main: import("vue").DefineComponent<{
3
4
  label: {
@@ -55,7 +56,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
55
56
  hasDescription: import("vue").ComputedRef<boolean>;
56
57
  onReset: (event: Event) => void;
57
58
  onSubmit: (_event: Event) => void;
58
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "update:modelValue")[], "submit" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
60
+ /**
61
+ * Событие при изменении значения (v-model)
62
+ */
63
+ 'update:modelValue': (value: boolean | null) => true;
64
+ /**
65
+ * Событие при отправке формы
66
+ */
67
+ submit: (event: SubmitEventPromise) => true;
68
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
69
  label: {
60
70
  type: import("vue").PropType<string>;
61
71
  default: string;
@@ -85,13 +95,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
85
95
  default: string;
86
96
  };
87
97
  }>> & {
88
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
89
- onSubmit?: ((...args: any[]) => any) | undefined;
98
+ "onUpdate:modelValue"?: ((value: boolean | null) => any) | undefined;
99
+ onSubmit?: ((event: SubmitEventPromise) => any) | undefined;
90
100
  }, {
91
101
  description: string;
92
102
  disabled: boolean;
93
- label: string;
94
103
  readonly: boolean;
104
+ label: string;
95
105
  modelValue: boolean | null;
96
106
  validateOn: "input" | "blur" | "submit" | undefined;
97
107
  firstFail: boolean;
@@ -0,0 +1 @@
1
+ export { default as CdsForm } from './CdsForm.vue';
@@ -62,12 +62,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
62
62
  description: string;
63
63
  };
64
64
  }>>, {
65
+ tag: string;
65
66
  xs: import("./types").TColumnBreakpoint<import("./types").TColumnGridBreakpoint | import("./types").TColumnFlexBreakpoint>;
66
67
  sm: import("./types").TColumnBreakpoint<import("./types").TColumnGridBreakpoint | import("./types").TColumnFlexBreakpoint>;
67
68
  md: import("./types").TColumnBreakpoint<import("./types").TColumnGridBreakpoint | import("./types").TColumnFlexBreakpoint>;
68
69
  lg: import("./types").TColumnBreakpoint<import("./types").TColumnGridBreakpoint | import("./types").TColumnFlexBreakpoint>;
69
70
  xl: import("./types").TColumnBreakpoint<import("./types").TColumnGridBreakpoint | import("./types").TColumnFlexBreakpoint>;
70
- tag: string;
71
71
  span: string | number | import("./types").TColumnSpanType;
72
72
  }>;
73
73
  export default _sfc_main;
@@ -1,4 +1,5 @@
1
- import type { PropType } from 'vue';
1
+ import type { InjectionKey, PropType } from 'vue';
2
+ export declare const CssGridSymbol: InjectionKey<boolean>;
2
3
  export interface IUseGrid {
3
4
  prefix: string;
4
5
  }
@@ -0,0 +1,3 @@
1
+ export { default as CdsGrid } from './CdsGrid.vue';
2
+ export { default as CdsRow } from './CdsRow.vue';
3
+ export { default as CdsCol } from './CdsCol.vue';
@@ -12,7 +12,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
12
12
  /**
13
13
  * Название иконки
14
14
  */
15
- 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">;
15
+ 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" | "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
16
  default: undefined;
17
17
  validator: (value: TCdsIconsName) => boolean;
18
18
  };
@@ -33,12 +33,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
33
33
  /**
34
34
  * Название иконки
35
35
  */
36
- 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">;
36
+ 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" | "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">;
37
37
  default: undefined;
38
38
  validator: (value: TCdsIconsName) => boolean;
39
39
  };
40
40
  }>> & {}, {
41
- name: "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";
41
+ name: "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" | "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";
42
42
  size: "xs" | "sm" | "md" | "lg" | "xl";
43
43
  }>;
44
44
  export default _sfc_main;
@@ -4,7 +4,13 @@ export declare const componentName = "CdsInput";
4
4
  declare const _sfc_main: import("vue").DefineComponent<{
5
5
  'onClick:prepend': PropType<(...args: any[]) => any>;
6
6
  'onClick:append': PropType<(...args: any[]) => any>;
7
- focused: {
7
+ size: {
8
+ type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
9
+ default: string;
10
+ available: readonly ["xs", "sm", "md", "lg", "xl"];
11
+ validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
12
+ };
13
+ readonly: {
8
14
  type: PropType<boolean>;
9
15
  default: boolean;
10
16
  };
@@ -12,6 +18,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
12
18
  type: PropType<boolean>;
13
19
  default: boolean;
14
20
  };
21
+ focused: {
22
+ type: PropType<boolean>;
23
+ default: boolean;
24
+ };
15
25
  error: {
16
26
  type: PropType<boolean>;
17
27
  default: boolean;
@@ -28,14 +38,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
28
38
  type: PropType<string | undefined>;
29
39
  default: undefined;
30
40
  };
31
- label: {
32
- type: PropType<string | undefined>;
33
- default: undefined;
34
- };
35
- readonly: {
36
- type: PropType<boolean>;
37
- default: boolean;
38
- };
39
41
  rules: {
40
42
  type: PropType<import("../../composable").TValidationRule[]>;
41
43
  default: () => never[];
@@ -59,19 +61,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
59
61
  default: boolean;
60
62
  };
61
63
  prependIcon: {
62
- 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">;
64
+ 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" | "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">;
63
65
  default: undefined;
64
- 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;
66
+ 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" | "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;
65
67
  };
66
68
  appendIcon: {
67
- 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">;
69
+ 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" | "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">;
68
70
  default: undefined;
69
- 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;
71
+ 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" | "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;
70
72
  };
71
73
  id: {
72
74
  type: PropType<string>;
73
75
  default: undefined;
74
76
  };
77
+ label: {
78
+ type: PropType<string>;
79
+ default: undefined;
80
+ };
75
81
  description: {
76
82
  type: PropType<string>;
77
83
  default: undefined;
@@ -100,15 +106,28 @@ declare const _sfc_main: import("vue").DefineComponent<{
100
106
  isValid: import("vue").ComputedRef<boolean | null>;
101
107
  validationClasses: import("vue").ComputedRef<Record<string, boolean>>;
102
108
  focusClasses: import("vue").ComputedRef<Record<string, boolean>>;
109
+ sizeClasses: import("vue").ComputedRef<string>;
103
110
  reset: () => void;
104
111
  resetValidation: () => void;
105
112
  validate: () => Promise<string[]>;
106
113
  handleClickPrepend: (event: MouseEvent) => void;
107
114
  handleClickAppend: (event: MouseEvent) => void;
108
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
115
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
116
+ /**
117
+ * Событие изменения v-model
118
+ * @type { any }
119
+ */
120
+ 'update:modelValue': (value: any) => boolean;
121
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
109
122
  'onClick:prepend': PropType<(...args: any[]) => any>;
110
123
  'onClick:append': PropType<(...args: any[]) => any>;
111
- focused: {
124
+ size: {
125
+ type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
126
+ default: string;
127
+ available: readonly ["xs", "sm", "md", "lg", "xl"];
128
+ validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
129
+ };
130
+ readonly: {
112
131
  type: PropType<boolean>;
113
132
  default: boolean;
114
133
  };
@@ -116,6 +135,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
116
135
  type: PropType<boolean>;
117
136
  default: boolean;
118
137
  };
138
+ focused: {
139
+ type: PropType<boolean>;
140
+ default: boolean;
141
+ };
119
142
  error: {
120
143
  type: PropType<boolean>;
121
144
  default: boolean;
@@ -132,14 +155,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
132
155
  type: PropType<string | undefined>;
133
156
  default: undefined;
134
157
  };
135
- label: {
136
- type: PropType<string | undefined>;
137
- default: undefined;
138
- };
139
- readonly: {
140
- type: PropType<boolean>;
141
- default: boolean;
142
- };
143
158
  rules: {
144
159
  type: PropType<import("../../composable").TValidationRule[]>;
145
160
  default: () => never[];
@@ -163,19 +178,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
163
178
  default: boolean;
164
179
  };
165
180
  prependIcon: {
166
- 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">;
181
+ 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" | "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">;
167
182
  default: undefined;
168
- 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;
183
+ 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" | "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;
169
184
  };
170
185
  appendIcon: {
171
- 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">;
186
+ 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" | "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">;
172
187
  default: undefined;
173
- 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;
188
+ 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" | "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;
174
189
  };
175
190
  id: {
176
191
  type: PropType<string>;
177
192
  default: undefined;
178
193
  };
194
+ label: {
195
+ type: PropType<string>;
196
+ default: undefined;
197
+ };
179
198
  description: {
180
199
  type: PropType<string>;
181
200
  default: undefined;
@@ -193,22 +212,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
193
212
  default: boolean;
194
213
  };
195
214
  }>> & {
196
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
215
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
197
216
  }, {
198
217
  name: string | undefined;
199
218
  description: string;
200
- error: boolean;
201
- 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";
202
- 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";
203
219
  disabled: boolean;
220
+ value: any;
221
+ size: "xs" | "sm" | "md" | "lg" | "xl";
222
+ error: boolean;
223
+ 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" | "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";
224
+ 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" | "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";
225
+ readonly: boolean;
204
226
  messages: string | string[];
205
227
  id: string;
206
- label: string | undefined;
207
- value: any;
228
+ label: string;
208
229
  persistentMessages: boolean;
209
230
  errorMessages: string | string[];
210
231
  maxErrors: string | number;
211
- readonly: boolean;
212
232
  rules: import("../../composable").TValidationRule[];
213
233
  modelValue: any;
214
234
  validateOn: "input" | "blur" | "submit";
@@ -22,7 +22,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
22
22
  href: import("vue").ComputedRef<string | undefined>;
23
23
  disabledClasses: import("vue").ComputedRef<string | undefined>;
24
24
  handleClick: (event: MouseEvent) => void;
25
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ /**
27
+ * Событие клика
28
+ *
29
+ * @event click
30
+ */
31
+ click: (event: MouseEvent) => true;
32
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
33
  disabled: {
27
34
  type: import("vue").PropType<boolean>;
28
35
  default: boolean;
@@ -40,11 +47,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
40
47
  default: undefined;
41
48
  };
42
49
  }>> & {
43
- onClick?: ((...args: any[]) => any) | undefined;
50
+ onClick?: ((event: MouseEvent) => any) | undefined;
44
51
  }, {
45
52
  text: string;
46
- disabled: boolean;
47
53
  href: string;
48
54
  to: import("vue-router").RouteLocationRaw;
55
+ disabled: boolean;
49
56
  }>;
50
57
  export default _sfc_main;
@@ -0,0 +1 @@
1
+ export { default as CdsLink } from './CdsLink.vue';
@@ -69,7 +69,38 @@ declare const _sfc_main: import("vue").DefineComponent<{
69
69
  open: (id: unknown, value: boolean, event?: Event | undefined) => void;
70
70
  select: (id: unknown, value: boolean, event?: Event | undefined) => void;
71
71
  focus: (location?: import("./composable").TFocusLocation | undefined) => void;
72
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "update:opened" | "click:open" | "click:select")[], "update:selected" | "update:opened" | "click:open" | "click:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
72
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
+ /**
74
+ * Событие выбора элемента списка, возвращает массив id выбранных элементов списка
75
+ * @type { unknown[] } value
76
+ */
77
+ 'update:selected': (value: unknown[]) => boolean;
78
+ /**
79
+ * Событие открытия элемента списка, возвращает массив id открытых элементов списка
80
+ * @type { unknown[] }
81
+ */
82
+ 'update:opened': (value: unknown[]) => boolean;
83
+ /**
84
+ * Событие открытия элемента списка по клику, возвращает id элемента и его состояние
85
+ * @type {{ id: unknown; value: boolean; path: unknown[], event: Event }}
86
+ */
87
+ 'click:open': (value: {
88
+ id: unknown;
89
+ value: boolean;
90
+ path: unknown[];
91
+ event: Event;
92
+ }) => boolean;
93
+ /**
94
+ * Событие выбора элемента списка по клику, возвращает id элемента и его состояние
95
+ * @type {{ id: unknown; value: boolean; path: unknown[], event: Event }}
96
+ */
97
+ 'click:select': (value: {
98
+ id: unknown;
99
+ value: boolean;
100
+ path: unknown[];
101
+ event: Event;
102
+ }) => boolean;
103
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
73
104
  selectStrategy: {
74
105
  type: PropType<NonNullable<import("../../composable/nested/selectStrategies").TSelectStrategyProp>>;
75
106
  default: NonNullable<import("../../composable/nested/selectStrategies").TSelectStrategyProp>;
@@ -135,14 +166,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
135
166
  default: string;
136
167
  };
137
168
  }>> & {
138
- "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
139
- "onUpdate:opened"?: ((...args: any[]) => any) | undefined;
140
- "onClick:open"?: ((...args: any[]) => any) | undefined;
141
- "onClick:select"?: ((...args: any[]) => any) | undefined;
169
+ "onUpdate:selected"?: ((value: unknown[]) => any) | undefined;
170
+ "onUpdate:opened"?: ((value: unknown[]) => any) | undefined;
171
+ "onClick:open"?: ((value: {
172
+ id: unknown;
173
+ value: boolean;
174
+ path: unknown[];
175
+ event: Event;
176
+ }) => any) | undefined;
177
+ "onClick:select"?: ((value: {
178
+ id: unknown;
179
+ value: boolean;
180
+ path: unknown[];
181
+ event: Event;
182
+ }) => any) | undefined;
142
183
  }, {
143
184
  dark: boolean;
144
185
  required: boolean;
145
- size: NonNullable<"xs" | "sm" | "md" | "lg" | "xl">;
146
186
  disabled: boolean;
147
187
  tag: string;
148
188
  items: any[];
@@ -151,6 +191,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
151
191
  itemChildren: import("../../composable").TItemKey;
152
192
  itemProps: import("../../composable").TItemKey;
153
193
  returnObject: boolean;
194
+ size: NonNullable<"xs" | "sm" | "md" | "lg" | "xl">;
154
195
  selectStrategy: NonNullable<import("../../composable/nested/selectStrategies").TSelectStrategyProp>;
155
196
  openStrategy: NonNullable<import("../../composable/nested/openStrategies").TOpenStrategyProp>;
156
197
  lines: false | "one" | "two" | "three";