@central-design-system/components 3.0.0-beta.3 → 3.0.0-beta.31

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 (229) hide show
  1. package/dist/cds.css +1 -1
  2. package/dist/cds.d.ts +6 -1
  3. package/dist/cds.es.js +17699 -13545
  4. package/dist/cds.umd.js +7 -3
  5. package/dist/components/CdsAutocomplete/CdsAutocomplete.vue.d.ts +88 -37
  6. package/dist/components/CdsBadge/CdsBadge.vue.d.ts +40 -12
  7. package/dist/components/CdsBreadcrumbs/CdsBreadcrumbs.vue.d.ts +11 -0
  8. package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.vue.d.ts +14 -3
  9. package/dist/components/CdsButton/CdsButton.vue.d.ts +37 -26
  10. package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +68 -3
  11. package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +13 -0
  12. package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +275 -114
  13. package/dist/components/CdsContainer/CdsContainer.vue.d.ts +41 -24
  14. package/dist/components/CdsContainer/context.d.ts +1 -1
  15. package/dist/components/CdsContentSwitcher/CdsContentSwitcher.vue.d.ts +66 -0
  16. package/dist/components/CdsContentSwitcher/CdsContentSwitcherItem.vue.d.ts +212 -0
  17. package/dist/components/CdsContentSwitcher/index.d.ts +2 -0
  18. package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +12 -1
  19. package/dist/components/CdsDatePicker/composable/calendar.d.ts +2 -2
  20. package/dist/components/CdsDrawer/CdsDrawer.vue.d.ts +70 -4
  21. package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +241 -113
  22. package/dist/components/CdsEmptyState/CdsEmptyState.vue.d.ts +1 -1
  23. package/dist/components/CdsExpandablePanel/CdsExpandablePanel.vue.d.ts +13 -13
  24. package/dist/components/CdsExpandablePanel/CdsExpandablePanelTitle.vue.d.ts +10 -10
  25. package/dist/components/CdsExpandablePanel/CdsExpandablePanels.vue.d.ts +16 -5
  26. package/dist/components/CdsExpandablePanel/composable/expandablePanelTitleProps.d.ts +3 -3
  27. package/dist/components/CdsFooter/CdsFooter.vue.d.ts +23 -3
  28. package/dist/components/CdsForm/CdsForm.vue.d.ts +11 -0
  29. package/dist/components/CdsGrid/composable/column.d.ts +1 -1
  30. package/dist/components/CdsGrid/composable/subgrid.d.ts +1 -1
  31. package/dist/components/CdsGrid/mode/CSSGrid.d.ts +1 -1
  32. package/dist/components/CdsGrid/mode/FlexGrid.d.ts +1 -1
  33. package/dist/components/CdsHeader/CdsHeader.vue.d.ts +23 -3
  34. package/dist/components/CdsIcon/CdsIcon.vue.d.ts +27 -3
  35. package/dist/components/CdsInput/CdsInput.vue.d.ts +26 -21
  36. package/dist/components/CdsInput/CdsInputDescription.vue.d.ts +3 -3
  37. package/dist/components/CdsInput/CdsInputLabel.vue.d.ts +3 -3
  38. package/dist/components/CdsLayout/CdsLayout.vue.d.ts +12 -1
  39. package/dist/components/CdsLayout/context.d.ts +1 -1
  40. package/dist/components/CdsLink/CdsLink.vue.d.ts +15 -3
  41. package/dist/components/CdsList/CdsList.vue.d.ts +31 -19
  42. package/dist/components/CdsList/CdsListGroup.vue.d.ts +7 -7
  43. package/dist/components/CdsList/CdsListItem.vue.d.ts +12 -12
  44. package/dist/components/CdsList/composable/list.d.ts +1 -1
  45. package/dist/components/CdsLoader/CdsLoader.vue.d.ts +12 -0
  46. package/dist/components/CdsMenu/CdsMenu.vue.d.ts +36 -7
  47. package/dist/components/CdsModal/CdsModal.vue.d.ts +38 -5
  48. package/dist/components/CdsNotification/CdsNotification.vue.d.ts +38 -27
  49. package/dist/components/CdsNotification/CdsNotificationAlert.vue.d.ts +51 -22
  50. package/dist/components/CdsNotification/composable/notification.d.ts +4 -4
  51. package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +35 -3
  52. package/dist/components/CdsOverlay/composable/activator.d.ts +19 -6
  53. package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +6 -5
  54. package/dist/components/CdsOverlay/composable/scrollStrategies.d.ts +1 -1
  55. package/dist/components/CdsOverlay/composable/teleport.d.ts +25 -1
  56. package/dist/components/CdsOverlay/constants.d.ts +2 -0
  57. package/dist/components/CdsPagination/CdsPagination.vue.d.ts +11 -0
  58. package/dist/components/CdsProgress/CdsProgress.vue.d.ts +12 -1
  59. package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +26 -11
  60. package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +13 -0
  61. package/dist/components/CdsSelect/CdsSelect.vue.d.ts +81 -61
  62. package/dist/components/CdsSidebar/CdsSidebar.vue.d.ts +30 -8
  63. package/dist/components/CdsSkeletonLoader/CdsSkeletonLoader.vue.d.ts +14 -3
  64. package/dist/components/CdsSlideGroup/CdsSlideGroup.vue.d.ts +19 -19
  65. package/dist/components/CdsStages/CdsStages.vue.d.ts +13 -1
  66. package/dist/components/CdsStatus/CdsStatus.vue.d.ts +20 -8
  67. package/dist/components/CdsSteps/CdsSteps.vue.d.ts +30 -23
  68. package/dist/components/CdsSteps/CdsStepsItem.vue.d.ts +3 -3
  69. package/dist/components/CdsSteps/context.d.ts +1 -1
  70. package/dist/components/CdsTable/CdsTable.vue.d.ts +99 -31
  71. package/dist/components/CdsTable/components/Footer/Footer.d.ts +1 -1
  72. package/dist/components/CdsTable/components/Header/DragHandle.d.ts +1 -1
  73. package/dist/components/CdsTable/components/Table/InternalTable.d.ts +89 -23
  74. package/dist/components/CdsTable/components/TableProvider.d.ts +101 -24
  75. package/dist/components/CdsTable/composable/filter.d.ts +1 -1
  76. package/dist/components/CdsTable/composable/flat.d.ts +1 -1
  77. package/dist/components/CdsTable/composable/pagination.d.ts +1 -1
  78. package/dist/components/CdsTable/composable/scroll.d.ts +4607 -0
  79. package/dist/components/CdsTable/composable/selection.d.ts +1 -1
  80. package/dist/components/CdsTable/composable/sorter.d.ts +1 -1
  81. package/dist/components/CdsTable/composable/sticky.d.ts +1 -1
  82. package/dist/components/CdsTable/composable/table.d.ts +42 -14
  83. package/dist/components/CdsTable/constants.d.ts +1 -0
  84. package/dist/components/CdsTable/context/summary.d.ts +1 -1
  85. package/dist/components/CdsTable/context/table.d.ts +1 -1
  86. package/dist/components/CdsTable/interface.d.ts +4 -7
  87. package/dist/components/CdsTable/utils/column.d.ts +1 -3
  88. package/dist/components/CdsTable/utils/index.d.ts +1 -1
  89. package/dist/components/CdsTable/utils/vnode.d.ts +10 -0
  90. package/dist/components/CdsTabs/CdsTab.vue.d.ts +13 -13
  91. package/dist/components/CdsTabs/CdsTabs.vue.d.ts +50 -39
  92. package/dist/components/CdsTag/CdsTag.vue.d.ts +15 -3
  93. package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +101 -89
  94. package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +93 -57
  95. package/dist/components/CdsTimePicker/CdsTimePicker.vue.d.ts +11 -0
  96. package/dist/components/CdsTimePicker/composable/time.d.ts +2 -2
  97. package/dist/components/CdsToggle/CdsToggle.vue.d.ts +13 -8
  98. package/dist/components/CdsToolbar/CdsToolbar.vue.d.ts +53 -0
  99. package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +39 -10
  100. package/dist/components/CdsTree/CdsTree.vue.d.ts +698 -0
  101. package/dist/components/CdsTree/CdsTreeDirectory.vue.d.ts +446 -0
  102. package/dist/components/CdsTree/CdsTreeNode.vue.d.ts +119 -0
  103. package/dist/components/CdsTree/components/DropIndicator.d.ts +9 -0
  104. package/dist/components/CdsTree/components/Indent.d.ts +10 -0
  105. package/dist/components/CdsTree/components/MotionTreeNode.d.ts +128 -0
  106. package/dist/components/CdsTree/components/NodeList.d.ts +191 -0
  107. package/dist/components/CdsTree/components/SwitcherIcon.d.ts +12 -0
  108. package/dist/components/CdsTree/components/TreeContext.d.ts +81 -0
  109. package/dist/components/CdsTree/components/TreeProvider.d.ts +619 -0
  110. package/dist/components/CdsTree/components/VirtualList/Filler.d.ts +12 -0
  111. package/dist/components/CdsTree/components/VirtualList/Item.d.ts +6 -0
  112. package/dist/components/CdsTree/components/VirtualList/ScrollBar.d.ts +33 -0
  113. package/dist/components/CdsTree/components/VirtualList/VirtualList.d.ts +84 -0
  114. package/dist/components/CdsTree/components/VirtualList/features/index.d.ts +5 -0
  115. package/dist/components/CdsTree/components/VirtualList/features/useFrameWheel.d.ts +10 -0
  116. package/dist/components/CdsTree/components/VirtualList/features/useHeights.d.ts +9 -0
  117. package/dist/components/CdsTree/components/VirtualList/features/useMobileTouchMove.d.ts +2 -0
  118. package/dist/components/CdsTree/components/VirtualList/features/useOriginScroll.d.ts +2 -0
  119. package/dist/components/CdsTree/components/VirtualList/features/useScrollTo.d.ts +4 -0
  120. package/dist/components/CdsTree/components/VirtualList/index.d.ts +2 -0
  121. package/dist/components/CdsTree/components/VirtualList/interface.d.ts +10 -0
  122. package/dist/components/CdsTree/composable/events.d.ts +133 -0
  123. package/dist/components/CdsTree/composable/index.d.ts +2 -0
  124. package/dist/components/CdsTree/composable/tree.d.ts +273 -0
  125. package/dist/components/CdsTree/composable/treeNode.d.ts +75 -0
  126. package/dist/components/CdsTree/index.d.ts +5 -0
  127. package/dist/components/CdsTree/interface.d.ts +104 -4
  128. package/dist/components/CdsTree/utils/data.d.ts +70 -0
  129. package/dist/components/CdsTree/utils/diff.d.ts +6 -0
  130. package/dist/components/CdsTree/utils/directory.d.ts +9 -0
  131. package/dist/components/CdsTree/utils/index.d.ts +2 -0
  132. package/dist/components/CdsUploader/CdsUploader.vue.d.ts +62 -41
  133. package/dist/components/CdsUploader/components/AjaxUploader.d.ts +15 -15
  134. package/dist/components/CdsUploader/components/UploadList/ListItem.d.ts +40 -22
  135. package/dist/components/CdsUploader/components/UploadList/UploadList.d.ts +39 -21
  136. package/dist/components/CdsUploader/composable/upload.d.ts +25 -15
  137. package/dist/components/CdsUploader/index.d.ts +1 -0
  138. package/dist/components/CdsUploader/interface.d.ts +1 -1
  139. package/dist/components/index.d.ts +8 -1
  140. package/dist/composable/appearance.d.ts +2 -2
  141. package/dist/composable/datetime.d.ts +4 -4
  142. package/dist/composable/delay.d.ts +3 -2
  143. package/dist/composable/direction.d.ts +1 -1
  144. package/dist/composable/display.d.ts +2 -0
  145. package/dist/composable/domObserver.d.ts +5 -0
  146. package/dist/composable/field.d.ts +7 -5
  147. package/dist/composable/filter.d.ts +30 -0
  148. package/dist/composable/form.d.ts +2 -2
  149. package/dist/composable/group.d.ts +3 -3
  150. package/dist/composable/icon.d.ts +3 -3
  151. package/dist/composable/index.d.ts +5 -1
  152. package/dist/composable/invertColor.d.ts +19 -0
  153. package/dist/composable/layout.d.ts +20 -20
  154. package/dist/composable/loading.d.ts +2 -2
  155. package/dist/composable/menu.d.ts +1 -1
  156. package/dist/composable/nested/nested.d.ts +2 -2
  157. package/dist/composable/overlay.d.ts +9 -1
  158. package/dist/{components/CdsDropdown/composable → composable}/scrolling.d.ts +2 -2
  159. package/dist/composable/select.d.ts +29 -11
  160. package/dist/composable/size.d.ts +1 -1
  161. package/dist/composable/tag.d.ts +0 -3
  162. package/dist/composable/text.d.ts +2 -2
  163. package/dist/composable/theme.d.ts +82 -0
  164. package/dist/composable/transition.d.ts +2 -0
  165. package/dist/composable/transparent.d.ts +19 -0
  166. package/dist/composable/validation.d.ts +2 -2
  167. package/dist/composable/variant.d.ts +1 -1
  168. package/dist/create.d.ts +7 -1
  169. package/dist/globals.d.ts +7 -0
  170. package/dist/locale/index.d.ts +1 -1
  171. package/dist/themes/b2b.d.ts +26 -0
  172. package/dist/themes/cds.d.ts +26 -0
  173. package/dist/themes/dark.d.ts +26 -0
  174. package/dist/themes/index.d.ts +5 -0
  175. package/dist/themes/promo.d.ts +26 -0
  176. package/dist/themes/themes.d.ts +10 -0
  177. package/dist/transitions/collapseTransition.d.ts +11 -0
  178. package/dist/transitions/index.d.ts +1 -0
  179. package/dist/utils/colors.d.ts +368 -0
  180. package/dist/utils/colorsUtils/APCA.d.ts +7 -0
  181. package/dist/utils/colorsUtils/index.d.ts +1 -0
  182. package/dist/utils/colorsUtils/transformCIELAB.d.ts +3 -0
  183. package/dist/utils/colorsUtils/transformSRGB.d.ts +3 -0
  184. package/dist/utils/colorsUtils/utils.d.ts +41 -0
  185. package/dist/utils/dom/bindProps.d.ts +2 -0
  186. package/dist/utils/dom/box.d.ts +1 -0
  187. package/dist/utils/helpers.d.ts +31 -6
  188. package/dist/utils/index.d.ts +5 -0
  189. package/dist/utils/propsFactory.d.ts +1 -1
  190. package/dist/utils/use/flattenChildren.d.ts +3 -0
  191. package/nuxt.js +2 -1
  192. package/package.json +1 -1
  193. package/src/scss/mixins/typo.scss +0 -3
  194. package/src/scss/modules/_transition.scss +31 -0
  195. package/src/scss/modules/grid/_css-grid.scss +12 -19
  196. package/src/scss/modules/grid/_flex-grid.scss +9 -5
  197. package/src/scss/modules/grid/_mixins.scss +27 -33
  198. package/src/scss/themes/b2b/tokens.json +104 -104
  199. package/src/scss/themes/cds/tokens.json +104 -104
  200. package/src/scss/themes/index.ts +1 -1
  201. package/src/scss/utility/display.scss +56 -5
  202. package/src/scss/utility/flexbox.scss +26 -28
  203. package/src/scss/utility/index.scss +1 -2
  204. package/src/scss/utility/layout.scss +65 -3
  205. package/src/scss/utility/spacing.scss +46 -86
  206. package/src/scss/utility/typography.scss +48 -1
  207. package/src/scss/utility/variables/display.scss +10 -0
  208. package/src/scss/utility/variables/exports/_display.scss +7 -0
  209. package/src/scss/utility/variables/exports/_flex.scss +13 -0
  210. package/src/scss/utility/variables/exports/_overflow.scss +7 -0
  211. package/src/scss/utility/variables/exports/_position.scss +7 -0
  212. package/src/scss/utility/variables/exports/_spacing.scss +14 -0
  213. package/src/scss/utility/variables/exports/_typography.scss +22 -0
  214. package/src/scss/utility/variables/exports/_visibility.scss +7 -0
  215. package/src/scss/utility/variables/exports/_widthHeight.scss +7 -0
  216. package/src/scss/utility/variables/flex.scss +140 -0
  217. package/src/scss/utility/variables/index.scss +12 -0
  218. package/src/scss/utility/variables/overflow.scss +6 -0
  219. package/src/scss/utility/variables/position.scss +7 -0
  220. package/src/scss/utility/variables/spacing.scss +37 -0
  221. package/src/scss/utility/{variables.scss → variables/typography.scss} +48 -71
  222. package/src/scss/utility/variables/visibility.scss +5 -0
  223. package/src/scss/utility/variables/widthHeight.scss +69 -0
  224. package/dist/components/CdsDropdown/composable/index.d.ts +0 -1
  225. package/dist/composable/dark.d.ts +0 -19
  226. package/dist/plugins/index.d.ts +0 -2
  227. package/src/scss/utility/generatedFiles/generatedStyles.json +0 -1
  228. package/src/scss/utility/generatedFiles/generatedStyles.scss +0 -300
  229. /package/dist/{components/CdsTable/utils → utils/use}/listener.d.ts +0 -0
@@ -1,5 +1,5 @@
1
- import type { Ref, ComputedRef } from 'vue';
2
1
  import type { NTable } from '../interface';
2
+ import type { Ref, ComputedRef } from 'vue';
3
3
  export declare const SELECTION_COLUMN: {};
4
4
  export declare const SELECTION_ALL: "SELECT_ALL";
5
5
  export declare const SELECTION_INVERT: "SELECT_INVERT";
@@ -1,7 +1,7 @@
1
1
  import { CdsTooltip } from '../../CdsTooltip';
2
- import type { Ref, ComputedRef } from 'vue';
3
2
  import type { NTable } from '../interface';
4
3
  import type { ComponentProps } from '../../../utils';
4
+ import type { Ref, ComputedRef } from 'vue';
5
5
  export declare const ASCEND = "ascend";
6
6
  export declare const DESCEND = "descend";
7
7
  export interface ISorterOptions<RecordType> {
@@ -1,5 +1,5 @@
1
- import type { ComputedRef, Ref } from 'vue';
2
1
  import type { NTable } from '../interface';
2
+ import type { ComputedRef, Ref } from 'vue';
3
3
  export interface IUseSticky {
4
4
  isSticky: boolean;
5
5
  offsetHeader: number;
@@ -1,7 +1,7 @@
1
1
  import { CdsTooltip } from '../../CdsTooltip';
2
- import type { PropType, Ref } from 'vue';
3
- import type { ComponentProps } from '../../../utils';
4
2
  import type { NTable } from '../interface';
3
+ import type { ComponentProps } from '../../../utils';
4
+ import type { PropType, Ref } from 'vue';
5
5
  export interface ITableProps<RecordType = NTable.TDefaultRecord> {
6
6
  id?: string;
7
7
  data?: RecordType[];
@@ -115,6 +115,8 @@ export declare const makeTableProps: <Defaults extends {
115
115
  getPopupContainer?: unknown;
116
116
  onChange?: unknown;
117
117
  onResizeColumn?: unknown;
118
+ onExpand?: unknown;
119
+ onExpandedRowsChange?: unknown;
118
120
  } = {}>(defaults?: Defaults | undefined) => import('../../../utils').AppendDefault<{
119
121
  /**
120
122
  * Идентификатор таблицы
@@ -264,9 +266,10 @@ export declare const makeTableProps: <Defaults extends {
264
266
  showSorterTooltip: {
265
267
  type: PropType<boolean | Omit<Partial<{
266
268
  disabled: boolean;
269
+ theme: string;
267
270
  id: string;
268
271
  location: NonNullable<import('../../../utils').TAnchor>;
269
- text: string;
272
+ text: string | number;
270
273
  modelValue: boolean;
271
274
  eager: boolean;
272
275
  transition: NonNullable<string | boolean | (import("vue").TransitionProps & {
@@ -281,8 +284,10 @@ export declare const makeTableProps: <Defaults extends {
281
284
  contentClasses: string | string[] | Record<string, boolean>;
282
285
  contentProps: Record<string, unknown>;
283
286
  noClickAnimation: boolean;
287
+ opacity: string | number;
284
288
  activator: string | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element;
285
289
  activatorProps: Record<string, any>;
290
+ target: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element | "parent" | "cursor" | (string & {}) | [x: number, y: number] | undefined;
286
291
  openOnClick: NonNullable<boolean | undefined>;
287
292
  openOnHover: boolean;
288
293
  openOnFocus: boolean | undefined;
@@ -290,7 +295,7 @@ export declare const makeTableProps: <Defaults extends {
290
295
  closeDelay: string | number;
291
296
  openDelay: string | number;
292
297
  locationStrategy: NonNullable<"static" | "connected" | ((data: import("../../CdsOverlay/composable").ILocationStrategyData, props: import("../../CdsOverlay/composable").ILocationStrategyProps, contentStyles: Ref<Record<string, string>>) => {
293
- updateLocation: (event: Event) => void;
298
+ updateLocation: (event: Event | HTMLElement[]) => void;
294
299
  } | undefined)>;
295
300
  origin: NonNullable<import('../../../utils').TAnchor | "auto" | "overlap">;
296
301
  offset: NonNullable<string | number | number[]>;
@@ -369,16 +374,16 @@ export declare const makeTableProps: <Defaults extends {
369
374
  };
370
375
  locationStrategy: Omit<{
371
376
  type: PropType<"static" | "connected" | ((data: import("../../CdsOverlay/composable").ILocationStrategyData, props: import("../../CdsOverlay/composable").ILocationStrategyProps, contentStyles: Ref<Record<string, string>>) => {
372
- updateLocation: (event: Event) => void;
377
+ updateLocation: (event: Event | HTMLElement[]) => void;
373
378
  } | undefined)>;
374
379
  default: string;
375
380
  validator: (value: any) => boolean;
376
381
  }, "default" | "type"> & {
377
382
  type: PropType<NonNullable<"static" | "connected" | ((data: import("../../CdsOverlay/composable").ILocationStrategyData, props: import("../../CdsOverlay/composable").ILocationStrategyProps, contentStyles: Ref<Record<string, string>>) => {
378
- updateLocation: (event: Event) => void;
383
+ updateLocation: (event: Event | HTMLElement[]) => void;
379
384
  } | undefined)>>;
380
385
  default: NonNullable<"static" | "connected" | ((data: import("../../CdsOverlay/composable").ILocationStrategyData, props: import("../../CdsOverlay/composable").ILocationStrategyProps, contentStyles: Ref<Record<string, string>>) => {
381
- updateLocation: (event: Event) => void;
386
+ updateLocation: (event: Event | HTMLElement[]) => void;
382
387
  } | undefined)>;
383
388
  };
384
389
  location: Omit<{
@@ -410,6 +415,10 @@ export declare const makeTableProps: <Defaults extends {
410
415
  type: PropType<Record<string, any>>;
411
416
  default: () => {};
412
417
  };
418
+ target: {
419
+ type: PropType<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | Element | "parent" | "cursor" | (string & {}) | [x: number, y: number] | undefined>;
420
+ default: undefined;
421
+ };
413
422
  openOnClick: Omit<{
414
423
  type: PropType<boolean | undefined>;
415
424
  default: undefined;
@@ -480,14 +489,19 @@ export declare const makeTableProps: <Defaults extends {
480
489
  };
481
490
  noClickAnimation: {
482
491
  type: PropType<boolean>;
483
- default: boolean; /**
484
- * @private Internal usage, may remove by refactor. Should always use `columns` instead.
485
- *
486
- * !!! DO NOT USE IN PRODUCTION ENVIRONMENT !!!
487
- */
492
+ default: boolean;
488
493
  };
489
- text: {
494
+ opacity: {
495
+ type: PropType<string | number>;
496
+ default: undefined;
497
+ };
498
+ theme: {
490
499
  type: PropType<string>;
500
+ available: readonly ["cds", "b2b", "promo", "dark"];
501
+ default: undefined;
502
+ };
503
+ text: {
504
+ type: PropType<string | number>;
491
505
  default: undefined;
492
506
  };
493
507
  id: {
@@ -500,7 +514,7 @@ export declare const makeTableProps: <Defaults extends {
500
514
  };
501
515
  }>> & {
502
516
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
503
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "id" | "location" | "text" | "modelValue" | "eager" | "transition" | "attach" | "contained" | "persistent" | "scrim" | "closeOnBack" | "zIndex" | "contentClasses" | "contentProps" | "noClickAnimation" | "activator" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeDelay" | "openDelay" | "locationStrategy" | "origin" | "offset" | "scrollStrategy" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "hideArrow">, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>>;
517
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "theme" | "id" | "location" | "text" | "modelValue" | "eager" | "transition" | "attach" | "contained" | "persistent" | "scrim" | "closeOnBack" | "zIndex" | "contentClasses" | "contentProps" | "noClickAnimation" | "opacity" | "activator" | "activatorProps" | "target" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeDelay" | "openDelay" | "locationStrategy" | "origin" | "offset" | "scrollStrategy" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "hideArrow">, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps>>;
504
518
  default: boolean;
505
519
  };
506
520
  /**
@@ -643,6 +657,20 @@ export declare const makeTableProps: <Defaults extends {
643
657
  type: PropType<(width: number, column: NTable.NColumn.IColumn) => void>;
644
658
  default: undefined;
645
659
  };
660
+ /**
661
+ * Событие при раскрытии строки
662
+ */
663
+ onExpand: {
664
+ type: PropType<(expanded: boolean, record: NTable.TDefaultRecord) => void>;
665
+ default: undefined;
666
+ };
667
+ /**
668
+ * Событие при изменении раскрытых строк
669
+ */
670
+ onExpandedRowsChange: {
671
+ type: PropType<(expandedKeys: NTable.TKey[]) => void>;
672
+ default: undefined;
673
+ };
646
674
  }, Defaults>;
647
675
  export declare function useLazyKVMap<RecordType>(dataRef: Ref<readonly RecordType[]>, childrenColumnNameRef: Ref<string>, getRowKeyRef: Ref<NTable.NRow.TGetRowKey<RecordType>>): {
648
676
  getRecordByKey: (key: NTable.TKey) => NonNullable<RecordType>;
@@ -1,2 +1,3 @@
1
1
  export declare const INTERNAL_COL_DEFINE = "CDS_TABLE_INTERNAL_COL_DEFINE";
2
2
  export declare const INTERNAL_HOOKS = "CDS_TABLE_INTERNAL_HOOK";
3
+ export declare const TABLE_INDENT_SIZE = 32;
@@ -1,5 +1,5 @@
1
- import type { InjectionKey } from 'vue';
2
1
  import type { NTable } from '../interface';
2
+ import type { InjectionKey } from 'vue';
3
3
  export declare type TSummaryFlattenColumns<RecordType> = readonly (NTable.NColumn.IColumn<RecordType> & {
4
4
  scrollbar?: boolean;
5
5
  })[];
@@ -1,6 +1,6 @@
1
- import type { InjectionKey } from 'vue';
2
1
  import type { NTable } from '../interface';
3
2
  import type { IFixedInfo } from '../utils';
3
+ import type { InjectionKey } from 'vue';
4
4
  export interface ITableContextProps {
5
5
  getComponent: NTable.NCustomize.TGetComponent;
6
6
  scrollbarSize: number;
@@ -1,12 +1,10 @@
1
- import { INTERNAL_SELECTION_ITEM } from './composable';
2
- import { CdsTooltip } from '../CdsTooltip';
3
1
  import { CdsCheckbox } from '../CdsCheckbox';
4
2
  import { CdsPagination } from '../CdsPagination';
5
- import type { CSSProperties, Ref, TdHTMLAttributes, VNode } from 'vue';
6
- import type { ComponentProps } from '../../utils';
3
+ import { CdsTooltip } from '../CdsTooltip';
4
+ import { INTERNAL_SELECTION_ITEM } from './composable';
7
5
  import type { TBreakpoint, TBreakpointUpDown } from '../../composable';
8
- declare type VNodeChildAtom = VNode | string | number | boolean | null | undefined | void;
9
- export declare type VueNode = VNodeChildAtom | VNodeChildAtom[] | JSX.Element;
6
+ import type { ComponentProps, VueNode } from '../../utils';
7
+ import type { CSSProperties, Ref, TdHTMLAttributes } from 'vue';
10
8
  export declare namespace NTable {
11
9
  type TDefaultRecord = any;
12
10
  type TKey = string | number;
@@ -320,4 +318,3 @@ export declare namespace NTable {
320
318
  }
321
319
  }
322
320
  }
323
- export {};
@@ -2,6 +2,4 @@ import type { NTable } from '../interface';
2
2
  export declare function convertChildrenToColumn<RecordType>(elements?: any[]): NTable.NColumn.TColumns<RecordType>;
3
3
  export declare function getColumnKey<RecordType>(column: NTable.NColumn.IColumn<RecordType>, defaultKey: string): NTable.TKey;
4
4
  export declare function getColumnPos(index: number, pos?: string): string;
5
- export declare function renderColumnTitle<RecordType>(title: NTable.NColumn.TTitle<RecordType>, props: NTable.NColumn.ITitleProps<RecordType>): import("../interface").VueNode;
6
- export declare function flattenChildren(children?: any[], filterEmpty?: boolean): any[];
7
- export declare function isEmptyElement(c: Record<string, any>): boolean | undefined;
5
+ export declare function renderColumnTitle<RecordType>(title: NTable.NColumn.TTitle<RecordType>, props: NTable.NColumn.ITitleProps<RecordType>): import('../../../utils').VueNode;
@@ -2,4 +2,4 @@ export * from './value';
2
2
  export * from './column';
3
3
  export * from './expand';
4
4
  export * from './fixed';
5
- export * from './listener';
5
+ export * from './vnode';
@@ -0,0 +1,10 @@
1
+ import { VNode } from 'vue';
2
+ import type { Slots, VNodeArrayChildren } from 'vue';
3
+ /**
4
+ * Render slot with props and fallback (Instead of renderSlot function from Vue 3)
5
+ * @param slots
6
+ * @param name
7
+ * @param props
8
+ * @param fallback
9
+ */
10
+ export declare function customRenderSlot(slots: Slots, name: string, props: Record<string, unknown>, fallback?: () => VNodeArrayChildren): VNode;
@@ -20,14 +20,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
20
20
  validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
21
21
  };
22
22
  prependIcon: {
23
- type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
23
+ type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
24
24
  default: undefined;
25
- validator: (value: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
25
+ validator: (value: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
26
26
  };
27
27
  appendIcon: {
28
- type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
28
+ type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
29
29
  default: undefined;
30
- validator: (value: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
30
+ validator: (value: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
31
31
  };
32
32
  direction: {
33
33
  type: PropType<"horizontal" | "vertical">;
@@ -36,7 +36,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
36
36
  validator: (value: "horizontal" | "vertical") => boolean;
37
37
  };
38
38
  text: {
39
- type: PropType<string>;
39
+ type: PropType<string | number>;
40
40
  default: undefined;
41
41
  };
42
42
  value: {
@@ -78,14 +78,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
78
78
  validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
79
79
  };
80
80
  prependIcon: {
81
- type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
81
+ type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
82
82
  default: undefined;
83
- validator: (value: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
83
+ validator: (value: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
84
84
  };
85
85
  appendIcon: {
86
- type: PropType<"search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
86
+ type: PropType<"search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
87
87
  default: undefined;
88
- validator: (value: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
88
+ validator: (value: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
89
89
  };
90
90
  direction: {
91
91
  type: PropType<"horizontal" | "vertical">;
@@ -94,7 +94,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
94
94
  validator: (value: "horizontal" | "vertical") => boolean;
95
95
  };
96
96
  text: {
97
- type: PropType<string>;
97
+ type: PropType<string | number>;
98
98
  default: undefined;
99
99
  };
100
100
  value: {
@@ -120,9 +120,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
120
120
  value: any;
121
121
  size: "xs" | "sm" | "md" | "lg" | "xl";
122
122
  disabled: boolean;
123
- text: string;
124
- prependIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
125
- appendIcon: "search" | "link" | "list" | "filters" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
123
+ text: string | number;
124
+ prependIcon: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
125
+ appendIcon: "search" | "link" | "list" | "filters" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
126
126
  loading: boolean;
127
127
  readonly: boolean;
128
128
  selectedClass: string;