@central-design-system/components 3.0.0-alpha.4 → 3.0.0-alpha.6

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 (72) hide show
  1. package/dist/cds.css +1 -1
  2. package/dist/cds.d.ts +51 -47
  3. package/dist/cds.es.js +4479 -3571
  4. package/dist/cds.umd.js +1 -1
  5. package/dist/components/CdsButton/CdsButton.vue.d.ts +10 -0
  6. package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +11 -11
  7. package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +18 -18
  8. package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +127 -185
  9. package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +17 -17
  10. package/dist/components/CdsDatePicker/composable/calendar.d.ts +3 -1
  11. package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +94 -95
  12. package/dist/components/CdsForm/CdsForm.vue.d.ts +1 -1
  13. package/dist/components/CdsGrid/composable/grid.d.ts +2 -1
  14. package/dist/components/CdsInput/CdsInput.vue.d.ts +11 -11
  15. package/dist/components/CdsMenu/CdsMenu.vue.d.ts +24 -18
  16. package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +9 -13
  17. package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +3 -0
  18. package/dist/components/CdsPagination/CdsPagination.vue.d.ts +142 -0
  19. package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +18 -18
  20. package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +18 -18
  21. package/dist/components/CdsSelect/CdsSelect.vue.d.ts +51 -33
  22. package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +83 -62
  23. package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +37 -73
  24. package/dist/components/CdsTimePicker/CdsTimePicker.vue.d.ts +171 -0
  25. package/dist/components/CdsTimePicker/composable/index.d.ts +1 -0
  26. package/dist/components/CdsTimePicker/composable/time.d.ts +134 -0
  27. package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +765 -0
  28. package/dist/components/index.d.ts +4 -1
  29. package/dist/composable/datetime.d.ts +2 -17
  30. package/dist/composable/dimensions.d.ts +23 -5
  31. package/dist/composable/display.d.ts +56 -0
  32. package/dist/composable/index.d.ts +4 -0
  33. package/dist/composable/overlay.d.ts +1 -1
  34. package/dist/composable/readonly.d.ts +19 -0
  35. package/dist/composable/refs.d.ts +6 -0
  36. package/dist/composable/resizeObserver.d.ts +7 -0
  37. package/dist/composable/validation.d.ts +0 -16
  38. package/dist/create.d.ts +21 -0
  39. package/dist/globals.d.ts +2 -0
  40. package/dist/utils/date.d.ts +2 -1
  41. package/dist/utils/helpers.d.ts +3 -0
  42. package/package.json +1 -2
  43. package/src/scss/themes/index.ts +1 -1
  44. package/dist/types/CdsOptions.d.ts +0 -3
  45. package/src/utils/__test__/helper.test.ts +0 -59
  46. package/src/utils/__test__/mocks/helper.mock.ts +0 -362
  47. package/src/utils/__test__/mocks/propFactory.mock.ts +0 -88
  48. package/src/utils/__test__/propFactory.test.ts +0 -9
  49. package/src/utils/anchor.ts +0 -76
  50. package/src/utils/animation.ts +0 -62
  51. package/src/utils/box.ts +0 -39
  52. package/src/utils/cache.ts +0 -12
  53. package/src/utils/changeCase/__test__/lowerCase.test.ts +0 -12
  54. package/src/utils/changeCase/__test__/mocks/lowerCase.mock.ts +0 -80
  55. package/src/utils/changeCase/__test__/mocks/noCase.mock.ts +0 -131
  56. package/src/utils/changeCase/__test__/mocks/paramCase.mock.ts +0 -39
  57. package/src/utils/changeCase/__test__/mocks/pascalCase.mock.ts +0 -46
  58. package/src/utils/changeCase/__test__/noCase.test.ts +0 -8
  59. package/src/utils/changeCase/__test__/paramCase.test.ts +0 -8
  60. package/src/utils/changeCase/__test__/pascalCase.test.ts +0 -8
  61. package/src/utils/changeCase/lowerCase.ts +0 -56
  62. package/src/utils/changeCase/noCase.ts +0 -45
  63. package/src/utils/changeCase/paramCase.ts +0 -11
  64. package/src/utils/changeCase/pascalCase.ts +0 -24
  65. package/src/utils/date.ts +0 -1100
  66. package/src/utils/dom.ts +0 -24
  67. package/src/utils/getCurrentInstance.ts +0 -43
  68. package/src/utils/getScrollParent.ts +0 -29
  69. package/src/utils/globals.ts +0 -8
  70. package/src/utils/helpers.ts +0 -311
  71. package/src/utils/index.ts +0 -19
  72. package/src/utils/propsFactory.ts +0 -92
@@ -1,7 +1,15 @@
1
- import { TDatetimeValueRange } from '../../composable';
2
1
  import type { IRawDate } from '../../utils';
2
+ import type { TDatetimeValueRange } from '../../composable';
3
3
  export declare const componentName = "CdsDatePicker";
4
4
  declare const _sfc_main: import("vue").DefineComponent<{
5
+ readonly: {
6
+ type: import("vue").PropType<boolean>;
7
+ default: boolean;
8
+ };
9
+ disabled: {
10
+ type: import("vue").PropType<boolean>;
11
+ default: boolean;
12
+ };
5
13
  modelValue: {
6
14
  type: import("vue").PropType<string | TDatetimeValueRange | (string | TDatetimeValueRange)[]>;
7
15
  default: null;
@@ -23,14 +31,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
23
31
  }>;
24
32
  default: null;
25
33
  };
26
- readonly: {
27
- type: import("vue").PropType<boolean>;
28
- default: boolean;
29
- };
30
- disabled: {
31
- type: import("vue").PropType<boolean>;
32
- default: boolean;
33
- };
34
34
  title: {
35
35
  type: import("vue").PropType<string>;
36
36
  default: undefined;
@@ -132,6 +132,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
132
132
  to: Partial<IRawDate>;
133
133
  }) => true;
134
134
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
135
+ readonly: {
136
+ type: import("vue").PropType<boolean>;
137
+ default: boolean;
138
+ };
139
+ disabled: {
140
+ type: import("vue").PropType<boolean>;
141
+ default: boolean;
142
+ };
135
143
  modelValue: {
136
144
  type: import("vue").PropType<string | TDatetimeValueRange | (string | TDatetimeValueRange)[]>;
137
145
  default: null;
@@ -153,14 +161,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
153
161
  }>;
154
162
  default: null;
155
163
  };
156
- readonly: {
157
- type: import("vue").PropType<boolean>;
158
- default: boolean;
159
- };
160
- disabled: {
161
- type: import("vue").PropType<boolean>;
162
- default: boolean;
163
- };
164
164
  title: {
165
165
  type: import("vue").PropType<string>;
166
166
  default: undefined;
@@ -188,6 +188,7 @@ export declare function useCalendar(props: ICalendarProps, model: Ref<readonly (
188
188
  dateHash?: string | undefined;
189
189
  timeHash?: string | undefined;
190
190
  date?: number | undefined;
191
+ changed?: boolean | undefined;
191
192
  } | null;
192
193
  initHash: number;
193
194
  final: {
@@ -202,6 +203,7 @@ export declare function useCalendar(props: ICalendarProps, model: Ref<readonly (
202
203
  dateHash?: string | undefined;
203
204
  timeHash?: string | undefined;
204
205
  date?: number | undefined;
206
+ changed?: boolean | undefined;
205
207
  } | null;
206
208
  finalHash: number;
207
209
  } | null>;
@@ -222,6 +224,7 @@ export declare function useCalendar(props: ICalendarProps, model: Ref<readonly (
222
224
  dateHash?: string | undefined;
223
225
  timeHash?: string | undefined;
224
226
  date?: number | undefined;
227
+ changed?: boolean | undefined;
225
228
  }>;
226
229
  daysModel: import("vue").ComputedRef<IRawDate[]>;
227
230
  rangeModel: import("vue").ComputedRef<{
@@ -312,4 +315,3 @@ export declare function useCalendar(props: ICalendarProps, model: Ref<readonly (
312
315
  } | undefined;
313
316
  };
314
317
  export declare function getMonthHash(date: IRawDate): string;
315
- export declare function getDayHash(date: IRawDate): string;
@@ -21,6 +21,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
21
21
  default: string;
22
22
  };
23
23
  itemChildren: {
24
+ /**
25
+ * Событие при фокусе
26
+ * @type { boolean }
27
+ */
24
28
  type: import("vue").PropType<import("../../composable").TItemKey>;
25
29
  default: string;
26
30
  };
@@ -36,6 +40,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
36
40
  type: import("vue").PropType<boolean>;
37
41
  default: boolean;
38
42
  };
43
+ readonly: {
44
+ type: import("vue").PropType<boolean>;
45
+ default: boolean;
46
+ };
47
+ disabled: {
48
+ type: import("vue").PropType<boolean>;
49
+ default: boolean;
50
+ };
39
51
  focused: {
40
52
  type: import("vue").PropType<boolean>;
41
53
  default: boolean;
@@ -74,10 +86,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
74
86
  default: undefined;
75
87
  validator: (value: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
76
88
  };
77
- disabled: {
78
- type: import("vue").PropType<boolean>;
79
- default: boolean;
80
- };
81
89
  error: {
82
90
  type: import("vue").PropType<boolean>;
83
91
  default: boolean;
@@ -94,10 +102,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
94
102
  type: import("vue").PropType<string | undefined>;
95
103
  default: undefined;
96
104
  };
97
- readonly: {
98
- type: import("vue").PropType<boolean>;
99
- default: boolean;
100
- };
101
105
  rules: {
102
106
  type: import("vue").PropType<import("../../composable").TValidationRule[]>;
103
107
  default: () => never[];
@@ -216,22 +220,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
216
220
  default: string;
217
221
  };
218
222
  hideNoData: {
219
- type: import("vue").PropType<boolean>; /**
220
- * Событие при фокусе
221
- * @type { boolean }
222
- */
223
+ type: import("vue").PropType<boolean>;
223
224
  default: boolean;
224
225
  };
225
226
  isSelectAll: {
226
227
  type: import("vue").PropType<boolean>;
227
- default: boolean;
228
+ default: boolean; /**
229
+ * Событие при изменении значения (v-model)
230
+ * @type { any }
231
+ */
228
232
  };
229
233
  selectAllText: {
230
234
  type: import("vue").PropType<string>;
231
- default: string; /**
232
- * Событие выбора всех элементов
233
- * @type { boolean }
234
- */
235
+ default: string;
235
236
  };
236
237
  }, {
237
238
  model: import("vue").Ref<readonly IInternalItem<any>[]> & {
@@ -253,6 +254,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
253
254
  type: import("vue").PropType<boolean>;
254
255
  default: boolean;
255
256
  };
257
+ readonly: {
258
+ type: import("vue").PropType<boolean>;
259
+ default: boolean;
260
+ };
261
+ disabled: {
262
+ type: import("vue").PropType<boolean>;
263
+ default: boolean;
264
+ };
256
265
  focused: {
257
266
  type: import("vue").PropType<boolean>;
258
267
  default: boolean;
@@ -275,10 +284,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
275
284
  default: undefined;
276
285
  validator: (value: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
277
286
  };
278
- disabled: {
279
- type: import("vue").PropType<boolean>;
280
- default: boolean;
281
- };
282
287
  error: {
283
288
  type: import("vue").PropType<boolean>;
284
289
  default: boolean;
@@ -295,10 +300,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
295
300
  type: import("vue").PropType<string | undefined>;
296
301
  default: undefined;
297
302
  };
298
- readonly: {
299
- type: import("vue").PropType<boolean>;
300
- default: boolean;
301
- };
302
303
  rules: {
303
304
  type: import("vue").PropType<import("../../composable").TValidationRule[]>;
304
305
  default: () => never[];
@@ -410,7 +411,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
410
411
  validationRef: import("vue").Ref<import("vue").DefineComponent<{
411
412
  'onClick:prepend': import("vue").PropType<(...args: any[]) => any>;
412
413
  'onClick:append': import("vue").PropType<(...args: any[]) => any>;
413
- focused: {
414
+ readonly: {
414
415
  type: import("vue").PropType<boolean>;
415
416
  default: boolean;
416
417
  };
@@ -418,6 +419,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
418
419
  type: import("vue").PropType<boolean>;
419
420
  default: boolean;
420
421
  };
422
+ focused: {
423
+ type: import("vue").PropType<boolean>;
424
+ default: boolean;
425
+ };
421
426
  error: {
422
427
  type: import("vue").PropType<boolean>;
423
428
  default: boolean;
@@ -434,10 +439,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
434
439
  type: import("vue").PropType<string | undefined>;
435
440
  default: undefined;
436
441
  };
437
- readonly: {
438
- type: import("vue").PropType<boolean>;
439
- default: boolean;
440
- };
441
442
  rules: {
442
443
  type: import("vue").PropType<import("../../composable").TValidationRule[]>;
443
444
  default: () => never[];
@@ -516,7 +517,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
516
517
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
517
518
  'onClick:prepend': import("vue").PropType<(...args: any[]) => any>;
518
519
  'onClick:append': import("vue").PropType<(...args: any[]) => any>;
519
- focused: {
520
+ readonly: {
520
521
  type: import("vue").PropType<boolean>;
521
522
  default: boolean;
522
523
  };
@@ -524,6 +525,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
524
525
  type: import("vue").PropType<boolean>;
525
526
  default: boolean;
526
527
  };
528
+ focused: {
529
+ type: import("vue").PropType<boolean>;
530
+ default: boolean;
531
+ };
527
532
  error: {
528
533
  type: import("vue").PropType<boolean>;
529
534
  default: boolean;
@@ -540,10 +545,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
540
545
  type: import("vue").PropType<string | undefined>;
541
546
  default: undefined;
542
547
  };
543
- readonly: {
544
- type: import("vue").PropType<boolean>;
545
- default: boolean;
546
- };
547
548
  rules: {
548
549
  type: import("vue").PropType<import("../../composable").TValidationRule[]>;
549
550
  default: () => never[];
@@ -610,13 +611,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
610
611
  error: boolean;
611
612
  prependIcon: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
612
613
  appendIcon: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
614
+ readonly: boolean;
613
615
  messages: string | string[];
614
616
  id: string;
615
617
  label: string;
616
618
  persistentMessages: boolean;
617
619
  errorMessages: string | string[];
618
620
  maxErrors: string | number;
619
- readonly: boolean;
620
621
  rules: import("../../composable").TValidationRule[];
621
622
  modelValue: any;
622
623
  validateOn: "input" | "blur" | "submit";
@@ -632,13 +633,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
632
633
  readonly disabled?: boolean | undefined;
633
634
  readonly value?: any;
634
635
  readonly error?: boolean | undefined;
636
+ readonly readonly?: boolean | undefined;
635
637
  readonly loading?: boolean | undefined;
636
638
  readonly messages?: string | string[] | undefined;
637
639
  readonly active?: boolean | undefined;
638
640
  readonly persistentMessages?: boolean | undefined;
639
641
  readonly errorMessages?: string | string[] | undefined;
640
642
  readonly maxErrors?: string | number | undefined;
641
- readonly readonly?: boolean | undefined;
642
643
  readonly rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
643
644
  then: <TResult1 = import("../../composable").TValidationResult, TResult2 = never>(onfulfilled?: ((value: import("../../composable").TValidationResult) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => PromiseLike<TResult1 | TResult2>;
644
645
  })[] | undefined;
@@ -711,6 +712,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
711
712
  type: import("vue").PropType<boolean>;
712
713
  default: boolean;
713
714
  };
715
+ readonly: {
716
+ type: import("vue").PropType<boolean>;
717
+ default: boolean;
718
+ };
719
+ disabled: {
720
+ type: import("vue").PropType<boolean>;
721
+ default: boolean;
722
+ };
714
723
  focused: {
715
724
  type: import("vue").PropType<boolean>;
716
725
  default: boolean;
@@ -733,10 +742,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
733
742
  default: undefined;
734
743
  validator: (value: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
735
744
  };
736
- disabled: {
737
- type: import("vue").PropType<boolean>;
738
- default: boolean;
739
- };
740
745
  error: {
741
746
  type: import("vue").PropType<boolean>;
742
747
  default: boolean;
@@ -753,10 +758,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
753
758
  type: import("vue").PropType<string | undefined>;
754
759
  default: undefined;
755
760
  };
756
- readonly: {
757
- type: import("vue").PropType<boolean>;
758
- default: boolean;
759
- };
760
761
  rules: {
761
762
  type: import("vue").PropType<import("../../composable").TValidationRule[]>;
762
763
  default: () => never[];
@@ -877,6 +878,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
877
878
  error: boolean;
878
879
  prependIcon: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
879
880
  appendIcon: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
881
+ readonly: boolean;
880
882
  loading: boolean;
881
883
  messages: string | string[];
882
884
  active: boolean;
@@ -885,7 +887,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
885
887
  persistentMessages: boolean;
886
888
  errorMessages: string | string[];
887
889
  maxErrors: string | number;
888
- readonly: boolean;
889
890
  rules: import("../../composable").TValidationRule[];
890
891
  modelValue: any;
891
892
  validateOn: "input" | "blur" | "submit";
@@ -918,6 +919,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
918
919
  type: import("vue").PropType<string | number>;
919
920
  default: string;
920
921
  };
922
+ width: {
923
+ type: import("vue").PropType<string | number>;
924
+ default: string;
925
+ };
921
926
  maxHeight: {
922
927
  type: import("vue").PropType<string | number>;
923
928
  default: string;
@@ -934,10 +939,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
934
939
  type: import("vue").PropType<string | number>;
935
940
  default: string;
936
941
  };
937
- width: {
938
- type: import("vue").PropType<string | number>;
939
- default: string;
940
- };
941
942
  eager: {
942
943
  type: import("vue").PropType<boolean>;
943
944
  default: boolean;
@@ -1105,6 +1106,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1105
1106
  type: import("vue").PropType<string | number>;
1106
1107
  default: string;
1107
1108
  };
1109
+ width: {
1110
+ type: import("vue").PropType<string | number>;
1111
+ default: string;
1112
+ };
1108
1113
  maxHeight: {
1109
1114
  type: import("vue").PropType<string | number>;
1110
1115
  default: string;
@@ -1121,10 +1126,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1121
1126
  type: import("vue").PropType<string | number>;
1122
1127
  default: string;
1123
1128
  };
1124
- width: {
1125
- type: import("vue").PropType<string | number>;
1126
- default: string;
1127
- };
1128
1129
  closeDelay: {
1129
1130
  type: import("vue").PropType<string | number>;
1130
1131
  default: null;
@@ -1251,6 +1252,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1251
1252
  type: import("vue").PropType<string | number>;
1252
1253
  default: string;
1253
1254
  };
1255
+ width: {
1256
+ type: import("vue").PropType<string | number>;
1257
+ default: string;
1258
+ };
1254
1259
  maxHeight: {
1255
1260
  type: import("vue").PropType<string | number>;
1256
1261
  default: string;
@@ -1267,10 +1272,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1267
1272
  type: import("vue").PropType<string | number>;
1268
1273
  default: string;
1269
1274
  };
1270
- width: {
1271
- type: import("vue").PropType<string | number>;
1272
- default: string;
1273
- };
1274
1275
  closeDelay: {
1275
1276
  type: import("vue").PropType<string | number>;
1276
1277
  default: null;
@@ -1382,19 +1383,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
1382
1383
  scrollStrategy: "none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void);
1383
1384
  eager: boolean;
1384
1385
  height: string | number;
1386
+ width: string | number;
1385
1387
  maxHeight: string | number;
1386
1388
  maxWidth: string | number;
1387
1389
  minHeight: string | number;
1388
1390
  minWidth: string | number;
1389
- width: string | number;
1390
1391
  absolute: boolean;
1391
1392
  }> | undefined>;
1392
1393
  openChildren: import("vue").Ref<number>;
1393
1394
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1394
- 'update:modelValue': (value: boolean) => true; /**
1395
- * Событие при изменении значения (v-model)
1396
- * @type { any }
1397
- */
1395
+ 'update:modelValue': (value: boolean) => true;
1398
1396
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1399
1397
  transition: {
1400
1398
  type: import("vue").PropType<string | boolean | (import("vue").TransitionProps & {
@@ -1407,6 +1405,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1407
1405
  type: import("vue").PropType<string | number>;
1408
1406
  default: string;
1409
1407
  };
1408
+ width: {
1409
+ type: import("vue").PropType<string | number>;
1410
+ default: string;
1411
+ };
1410
1412
  maxHeight: {
1411
1413
  type: import("vue").PropType<string | number>;
1412
1414
  default: string;
@@ -1423,10 +1425,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1423
1425
  type: import("vue").PropType<string | number>;
1424
1426
  default: string;
1425
1427
  };
1426
- width: {
1427
- type: import("vue").PropType<string | number>;
1428
- default: string;
1429
- };
1430
1428
  eager: {
1431
1429
  type: import("vue").PropType<boolean>;
1432
1430
  default: boolean;
@@ -1587,11 +1585,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
1587
1585
  scrollStrategy: NonNullable<"none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void)>;
1588
1586
  eager: boolean;
1589
1587
  height: string | number;
1588
+ width: string | number;
1590
1589
  maxHeight: string | number;
1591
1590
  maxWidth: string | number;
1592
1591
  minHeight: string | number;
1593
1592
  minWidth: string | number;
1594
- width: string | number;
1595
1593
  }> | undefined>;
1596
1594
  listRef: import("vue").Ref<import("vue").DefineComponent<{
1597
1595
  selectStrategy: {
@@ -1640,6 +1638,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1640
1638
  default: string;
1641
1639
  };
1642
1640
  itemChildren: {
1641
+ /**
1642
+ * Событие при фокусе
1643
+ * @type { boolean }
1644
+ */
1643
1645
  type: import("vue").PropType<import("../../composable").TItemKey>;
1644
1646
  default: string;
1645
1647
  };
@@ -1664,10 +1666,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1664
1666
  'update:opened': (value: unknown[]) => boolean;
1665
1667
  'click:open': (value: {
1666
1668
  id: unknown;
1667
- /**
1668
- * Событие открытия меню
1669
- * @type { boolean }
1670
- */
1671
1669
  value: boolean;
1672
1670
  path: unknown[];
1673
1671
  event: Event;
@@ -1725,6 +1723,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1725
1723
  default: string;
1726
1724
  };
1727
1725
  itemChildren: {
1726
+ /**
1727
+ * Событие при фокусе
1728
+ * @type { boolean }
1729
+ */
1728
1730
  type: import("vue").PropType<import("../../composable").TItemKey>;
1729
1731
  default: string;
1730
1732
  };
@@ -1745,10 +1747,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1745
1747
  "onUpdate:opened"?: ((value: unknown[]) => any) | undefined;
1746
1748
  "onClick:open"?: ((value: {
1747
1749
  id: unknown;
1748
- /**
1749
- * Событие открытия меню
1750
- * @type { boolean }
1751
- */
1752
1750
  value: boolean;
1753
1751
  path: unknown[];
1754
1752
  event: Event;
@@ -1786,6 +1784,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
1786
1784
  readonly itemProps?: import("../../composable").TItemKey | undefined;
1787
1785
  readonly returnObject?: boolean | undefined;
1788
1786
  readonly error?: boolean | undefined;
1787
+ readonly readonly?: boolean | undefined;
1789
1788
  readonly loading?: boolean | undefined;
1790
1789
  readonly transition?: string | boolean | {
1791
1790
  name?: string | undefined;
@@ -1946,7 +1945,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1946
1945
  readonly persistentMessages?: boolean | undefined;
1947
1946
  readonly errorMessages?: string | string[] | undefined;
1948
1947
  readonly maxErrors?: string | number | undefined;
1949
- readonly readonly?: boolean | undefined;
1950
1948
  readonly rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
1951
1949
  then: <TResult1 = import("../../composable").TValidationResult, TResult2 = never>(onfulfilled?: ((value: import("../../composable").TValidationResult) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => PromiseLike<TResult1 | TResult2>;
1952
1950
  })[] | undefined;
@@ -2056,6 +2054,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
2056
2054
  default: string;
2057
2055
  };
2058
2056
  itemChildren: {
2057
+ /**
2058
+ * Событие при фокусе
2059
+ * @type { boolean }
2060
+ */
2059
2061
  type: import("vue").PropType<import("../../composable").TItemKey>;
2060
2062
  default: string;
2061
2063
  };
@@ -2071,6 +2073,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
2071
2073
  type: import("vue").PropType<boolean>;
2072
2074
  default: boolean;
2073
2075
  };
2076
+ readonly: {
2077
+ type: import("vue").PropType<boolean>;
2078
+ default: boolean;
2079
+ };
2080
+ disabled: {
2081
+ type: import("vue").PropType<boolean>;
2082
+ default: boolean;
2083
+ };
2074
2084
  focused: {
2075
2085
  type: import("vue").PropType<boolean>;
2076
2086
  default: boolean;
@@ -2109,10 +2119,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
2109
2119
  default: undefined;
2110
2120
  validator: (value: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
2111
2121
  };
2112
- disabled: {
2113
- type: import("vue").PropType<boolean>;
2114
- default: boolean;
2115
- };
2116
2122
  error: {
2117
2123
  type: import("vue").PropType<boolean>;
2118
2124
  default: boolean;
@@ -2129,10 +2135,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
2129
2135
  type: import("vue").PropType<string | undefined>;
2130
2136
  default: undefined;
2131
2137
  };
2132
- readonly: {
2133
- type: import("vue").PropType<boolean>;
2134
- default: boolean;
2135
- };
2136
2138
  rules: {
2137
2139
  type: import("vue").PropType<import("../../composable").TValidationRule[]>;
2138
2140
  default: () => never[];
@@ -2251,22 +2253,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
2251
2253
  default: string;
2252
2254
  };
2253
2255
  hideNoData: {
2254
- type: import("vue").PropType<boolean>; /**
2255
- * Событие при фокусе
2256
- * @type { boolean }
2257
- */
2256
+ type: import("vue").PropType<boolean>;
2258
2257
  default: boolean;
2259
2258
  };
2260
2259
  isSelectAll: {
2261
2260
  type: import("vue").PropType<boolean>;
2262
- default: boolean;
2261
+ default: boolean; /**
2262
+ * Событие при изменении значения (v-model)
2263
+ * @type { any }
2264
+ */
2263
2265
  };
2264
2266
  selectAllText: {
2265
2267
  type: import("vue").PropType<string>;
2266
- default: string; /**
2267
- * Событие выбора всех элементов
2268
- * @type { boolean }
2269
- */
2268
+ default: string;
2270
2269
  };
2271
2270
  }>> & {
2272
2271
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
@@ -2289,6 +2288,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2289
2288
  menu: boolean | undefined;
2290
2289
  prependIcon: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
2291
2290
  appendIcon: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
2291
+ readonly: boolean;
2292
2292
  loading: boolean;
2293
2293
  transition: string | boolean | (import("vue").TransitionProps & {
2294
2294
  component?: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
@@ -2300,7 +2300,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
2300
2300
  persistentMessages: boolean;
2301
2301
  errorMessages: string | string[];
2302
2302
  maxErrors: string | number;
2303
- readonly: boolean;
2304
2303
  rules: import("../../composable").TValidationRule[];
2305
2304
  modelValue: any;
2306
2305
  validateOn: "input" | "blur" | "submit";
@@ -100,8 +100,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
100
100
  }, {
101
101
  description: string;
102
102
  disabled: boolean;
103
- label: string;
104
103
  readonly: boolean;
104
+ label: string;
105
105
  modelValue: boolean | null;
106
106
  validateOn: "input" | "blur" | "submit" | undefined;
107
107
  firstFail: boolean;
@@ -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
  }