@central-design-system/components 3.0.0-alpha.5 → 3.0.0-alpha.7

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 (59) hide show
  1. package/dist/cds.css +1 -1
  2. package/dist/cds.d.ts +51 -48
  3. package/dist/cds.es.js +3841 -3315
  4. package/dist/cds.umd.js +1 -1
  5. package/dist/components/CdsButton/CdsButton.vue.d.ts +6 -5
  6. package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +98 -80
  7. package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +134 -54
  8. package/dist/components/CdsGrid/composable/grid.d.ts +2 -1
  9. package/dist/components/CdsInput/CdsInput.vue.d.ts +14 -0
  10. package/dist/components/CdsMenu/CdsMenu.vue.d.ts +24 -18
  11. package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +9 -13
  12. package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +3 -0
  13. package/dist/components/CdsPagination/CdsPagination.vue.d.ts +142 -0
  14. package/dist/components/CdsSelect/CdsSelect.vue.d.ts +40 -22
  15. package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +15 -3
  16. package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +64 -10
  17. package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +765 -0
  18. package/dist/components/index.d.ts +3 -1
  19. package/dist/composable/dimensions.d.ts +23 -5
  20. package/dist/composable/display.d.ts +56 -0
  21. package/dist/composable/index.d.ts +3 -0
  22. package/dist/composable/overlay.d.ts +1 -1
  23. package/dist/composable/refs.d.ts +6 -0
  24. package/dist/composable/resizeObserver.d.ts +7 -0
  25. package/dist/create.d.ts +21 -0
  26. package/dist/globals.d.ts +2 -0
  27. package/dist/utils/helpers.d.ts +2 -0
  28. package/package.json +1 -2
  29. package/src/scss/themes/index.ts +1 -1
  30. package/src/scss/utility/lists.scss +1 -0
  31. package/dist/types/CdsOptions.d.ts +0 -3
  32. package/src/utils/__test__/helper.test.ts +0 -59
  33. package/src/utils/__test__/mocks/helper.mock.ts +0 -362
  34. package/src/utils/__test__/mocks/propFactory.mock.ts +0 -88
  35. package/src/utils/__test__/propFactory.test.ts +0 -9
  36. package/src/utils/anchor.ts +0 -76
  37. package/src/utils/animation.ts +0 -62
  38. package/src/utils/box.ts +0 -39
  39. package/src/utils/cache.ts +0 -12
  40. package/src/utils/changeCase/__test__/lowerCase.test.ts +0 -12
  41. package/src/utils/changeCase/__test__/mocks/lowerCase.mock.ts +0 -80
  42. package/src/utils/changeCase/__test__/mocks/noCase.mock.ts +0 -131
  43. package/src/utils/changeCase/__test__/mocks/paramCase.mock.ts +0 -39
  44. package/src/utils/changeCase/__test__/mocks/pascalCase.mock.ts +0 -46
  45. package/src/utils/changeCase/__test__/noCase.test.ts +0 -8
  46. package/src/utils/changeCase/__test__/paramCase.test.ts +0 -8
  47. package/src/utils/changeCase/__test__/pascalCase.test.ts +0 -8
  48. package/src/utils/changeCase/lowerCase.ts +0 -56
  49. package/src/utils/changeCase/noCase.ts +0 -45
  50. package/src/utils/changeCase/paramCase.ts +0 -11
  51. package/src/utils/changeCase/pascalCase.ts +0 -24
  52. package/src/utils/date.ts +0 -1106
  53. package/src/utils/dom.ts +0 -24
  54. package/src/utils/getCurrentInstance.ts +0 -43
  55. package/src/utils/getScrollParent.ts +0 -29
  56. package/src/utils/globals.ts +0 -8
  57. package/src/utils/helpers.ts +0 -312
  58. package/src/utils/index.ts +0 -19
  59. package/src/utils/propsFactory.ts +0 -92
@@ -21,10 +21,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
21
21
  default: string;
22
22
  };
23
23
  itemChildren: {
24
- /**
25
- * Событие при фокусе
26
- * @type { boolean }
27
- */
28
24
  type: import("vue").PropType<import("../../composable").TItemKey>;
29
25
  default: string;
30
26
  };
@@ -36,6 +32,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
36
32
  type: import("vue").PropType<boolean>;
37
33
  default: boolean;
38
34
  };
35
+ size: {
36
+ type: import("vue").PropType<"xs" | "sm" | "md" | "lg" | "xl">;
37
+ default: string;
38
+ available: readonly ["xs", "sm", "md", "lg", "xl"];
39
+ validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
40
+ };
39
41
  loading: {
40
42
  type: import("vue").PropType<boolean>;
41
43
  default: boolean;
@@ -69,7 +71,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
69
71
  default: boolean;
70
72
  };
71
73
  'onClick:prepend': {
72
- type: import("vue").PropType<(...args: any[]) => any>;
74
+ type: import("vue").PropType<(...args: any[]) => any>; /**
75
+ * Событие при фокусе
76
+ * @type { boolean }
77
+ */
73
78
  default: undefined;
74
79
  };
75
80
  'onClick:append': {
@@ -141,6 +146,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
141
146
  default: null;
142
147
  };
143
148
  messages: {
149
+ /**
150
+ * Событие при фокусе
151
+ * @type { boolean }
152
+ */
144
153
  type: import("vue").PropType<string | string[]>;
145
154
  default: () => never[];
146
155
  };
@@ -225,10 +234,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
225
234
  };
226
235
  isSelectAll: {
227
236
  type: import("vue").PropType<boolean>;
228
- default: boolean; /**
229
- * Событие при изменении значения (v-model)
230
- * @type { any }
231
- */
237
+ default: boolean;
232
238
  };
233
239
  selectAllText: {
234
240
  type: import("vue").PropType<string>;
@@ -250,6 +256,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
250
256
  isFocused: import("vue").Ref<boolean>;
251
257
  externalValidationValue: import("vue").ComputedRef<any>;
252
258
  inputRef: import("vue").Ref<import("vue").DefineComponent<{
259
+ size: {
260
+ type: import("vue").PropType<"xs" | "sm" | "md" | "lg" | "xl">;
261
+ default: string;
262
+ available: readonly ["xs", "sm", "md", "lg", "xl"];
263
+ validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
264
+ };
253
265
  loading: {
254
266
  type: import("vue").PropType<boolean>;
255
267
  default: boolean;
@@ -267,7 +279,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
267
279
  default: boolean;
268
280
  };
269
281
  'onClick:prepend': {
270
- type: import("vue").PropType<(...args: any[]) => any>;
282
+ type: import("vue").PropType<(...args: any[]) => any>; /**
283
+ * Событие при фокусе
284
+ * @type { boolean }
285
+ */
271
286
  default: undefined;
272
287
  };
273
288
  'onClick:append': {
@@ -339,6 +354,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
339
354
  default: null;
340
355
  };
341
356
  messages: {
357
+ /**
358
+ * Событие при фокусе
359
+ * @type { boolean }
360
+ */
342
361
  type: import("vue").PropType<string | string[]>;
343
362
  default: () => never[];
344
363
  };
@@ -411,6 +430,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
411
430
  validationRef: import("vue").Ref<import("vue").DefineComponent<{
412
431
  'onClick:prepend': import("vue").PropType<(...args: any[]) => any>;
413
432
  'onClick:append': import("vue").PropType<(...args: any[]) => any>;
433
+ size: {
434
+ type: import("vue").PropType<"xs" | "sm" | "md" | "lg" | "xl">;
435
+ default: string;
436
+ available: readonly ["xs", "sm", "md", "lg", "xl"];
437
+ validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
438
+ };
414
439
  readonly: {
415
440
  type: import("vue").PropType<boolean>;
416
441
  default: boolean;
@@ -488,6 +513,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
488
513
  default: null;
489
514
  };
490
515
  messages: {
516
+ /**
517
+ * Событие при фокусе
518
+ * @type { boolean }
519
+ */
491
520
  type: import("vue").PropType<string | string[]>;
492
521
  default: () => never[];
493
522
  };
@@ -507,6 +536,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
507
536
  isValid: import("vue").ComputedRef<boolean | null>;
508
537
  validationClasses: import("vue").ComputedRef<Record<string, boolean>>;
509
538
  focusClasses: import("vue").ComputedRef<Record<string, boolean>>;
539
+ sizeClasses: import("vue").ComputedRef<string>;
510
540
  reset: () => void;
511
541
  resetValidation: () => void;
512
542
  validate: () => Promise<string[]>;
@@ -517,6 +547,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
517
547
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
518
548
  'onClick:prepend': import("vue").PropType<(...args: any[]) => any>;
519
549
  'onClick:append': import("vue").PropType<(...args: any[]) => any>;
550
+ size: {
551
+ type: import("vue").PropType<"xs" | "sm" | "md" | "lg" | "xl">;
552
+ default: string;
553
+ available: readonly ["xs", "sm", "md", "lg", "xl"];
554
+ validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
555
+ };
520
556
  readonly: {
521
557
  type: import("vue").PropType<boolean>;
522
558
  default: boolean;
@@ -594,6 +630,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
594
630
  default: null;
595
631
  };
596
632
  messages: {
633
+ /**
634
+ * Событие при фокусе
635
+ * @type { boolean }
636
+ */
597
637
  type: import("vue").PropType<string | string[]>;
598
638
  default: () => never[];
599
639
  };
@@ -608,6 +648,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
608
648
  description: string;
609
649
  disabled: boolean;
610
650
  value: any;
651
+ size: "xs" | "sm" | "md" | "lg" | "xl";
611
652
  error: boolean;
612
653
  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";
613
654
  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";
@@ -632,6 +673,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
632
673
  readonly type?: "number" | "text" | "password" | "email" | "tel" | "url" | undefined;
633
674
  readonly disabled?: boolean | undefined;
634
675
  readonly value?: any;
676
+ readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
635
677
  readonly error?: boolean | undefined;
636
678
  readonly readonly?: boolean | undefined;
637
679
  readonly loading?: boolean | undefined;
@@ -708,6 +750,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
708
750
  'click:control': (event: MouseEvent) => true;
709
751
  'mousedown:control': (event: MouseEvent) => true;
710
752
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
753
+ size: {
754
+ type: import("vue").PropType<"xs" | "sm" | "md" | "lg" | "xl">;
755
+ default: string;
756
+ available: readonly ["xs", "sm", "md", "lg", "xl"];
757
+ validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
758
+ };
711
759
  loading: {
712
760
  type: import("vue").PropType<boolean>;
713
761
  default: boolean;
@@ -725,7 +773,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
725
773
  default: boolean;
726
774
  };
727
775
  'onClick:prepend': {
728
- type: import("vue").PropType<(...args: any[]) => any>;
776
+ type: import("vue").PropType<(...args: any[]) => any>; /**
777
+ * Событие при фокусе
778
+ * @type { boolean }
779
+ */
729
780
  default: undefined;
730
781
  };
731
782
  'onClick:append': {
@@ -797,6 +848,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
797
848
  default: null;
798
849
  };
799
850
  messages: {
851
+ /**
852
+ * Событие при фокусе
853
+ * @type { boolean }
854
+ */
800
855
  type: import("vue").PropType<string | string[]>;
801
856
  default: () => never[];
802
857
  };
@@ -875,6 +930,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
875
930
  description: string;
876
931
  disabled: boolean;
877
932
  value: any;
933
+ size: "xs" | "sm" | "md" | "lg" | "xl";
878
934
  error: boolean;
879
935
  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";
880
936
  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";
@@ -919,6 +975,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
919
975
  type: import("vue").PropType<string | number>;
920
976
  default: string;
921
977
  };
978
+ width: {
979
+ type: import("vue").PropType<string | number>;
980
+ default: string;
981
+ };
922
982
  maxHeight: {
923
983
  type: import("vue").PropType<string | number>;
924
984
  default: string;
@@ -935,10 +995,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
935
995
  type: import("vue").PropType<string | number>;
936
996
  default: string;
937
997
  };
938
- width: {
939
- type: import("vue").PropType<string | number>;
940
- default: string;
941
- };
942
998
  eager: {
943
999
  type: import("vue").PropType<boolean>;
944
1000
  default: boolean;
@@ -956,7 +1012,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
956
1012
  updateLocation: (event: Event) => void;
957
1013
  } | undefined)>;
958
1014
  default: string;
959
- validator: (value: any) => boolean;
1015
+ validator: (value: any) => boolean; /**
1016
+ * Событие выбора всех элементов
1017
+ * @type { boolean }
1018
+ */
960
1019
  }, "default" | "type"> & {
961
1020
  type: import("vue").PropType<NonNullable<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: import("../CdsOverlay/composable").ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
962
1021
  updateLocation: (event: Event) => void;
@@ -1042,7 +1101,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1042
1101
  default: NonNullable<string | boolean>;
1043
1102
  };
1044
1103
  modelValue: {
1045
- type: import("vue").PropType<boolean>;
1104
+ type: import("vue").PropType<boolean>; /**
1105
+ * Событие выбора всех элементов
1106
+ * @type { boolean }
1107
+ */
1046
1108
  default: boolean;
1047
1109
  };
1048
1110
  closeOnBack: {
@@ -1088,7 +1150,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1088
1150
  updateLocation: (event: Event) => void;
1089
1151
  } | undefined)>;
1090
1152
  default: string;
1091
- validator: (value: any) => boolean;
1153
+ validator: (value: any) => boolean; /**
1154
+ * Событие выбора всех элементов
1155
+ * @type { boolean }
1156
+ */
1092
1157
  };
1093
1158
  location: {
1094
1159
  type: import("vue").PropType<import('../../utils').TAnchor>;
@@ -1106,6 +1171,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1106
1171
  type: import("vue").PropType<string | number>;
1107
1172
  default: string;
1108
1173
  };
1174
+ width: {
1175
+ type: import("vue").PropType<string | number>;
1176
+ default: string;
1177
+ };
1109
1178
  maxHeight: {
1110
1179
  type: import("vue").PropType<string | number>;
1111
1180
  default: string;
@@ -1122,10 +1191,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1122
1191
  type: import("vue").PropType<string | number>;
1123
1192
  default: string;
1124
1193
  };
1125
- width: {
1126
- type: import("vue").PropType<string | number>;
1127
- default: string;
1128
- };
1129
1194
  closeDelay: {
1130
1195
  type: import("vue").PropType<string | number>;
1131
1196
  default: null;
@@ -1179,7 +1244,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1179
1244
  default: boolean;
1180
1245
  };
1181
1246
  modelValue: {
1182
- type: import("vue").PropType<boolean>;
1247
+ type: import("vue").PropType<boolean>; /**
1248
+ * Событие выбора всех элементов
1249
+ * @type { boolean }
1250
+ */
1183
1251
  default: boolean;
1184
1252
  };
1185
1253
  closeOnBack: {
@@ -1234,7 +1302,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1234
1302
  updateLocation: (event: Event) => void;
1235
1303
  } | undefined)>;
1236
1304
  default: string;
1237
- validator: (value: any) => boolean;
1305
+ validator: (value: any) => boolean; /**
1306
+ * Событие выбора всех элементов
1307
+ * @type { boolean }
1308
+ */
1238
1309
  };
1239
1310
  location: {
1240
1311
  type: import("vue").PropType<import('../../utils').TAnchor>;
@@ -1252,6 +1323,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1252
1323
  type: import("vue").PropType<string | number>;
1253
1324
  default: string;
1254
1325
  };
1326
+ width: {
1327
+ type: import("vue").PropType<string | number>;
1328
+ default: string;
1329
+ };
1255
1330
  maxHeight: {
1256
1331
  type: import("vue").PropType<string | number>;
1257
1332
  default: string;
@@ -1268,10 +1343,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1268
1343
  type: import("vue").PropType<string | number>;
1269
1344
  default: string;
1270
1345
  };
1271
- width: {
1272
- type: import("vue").PropType<string | number>;
1273
- default: string;
1274
- };
1275
1346
  closeDelay: {
1276
1347
  type: import("vue").PropType<string | number>;
1277
1348
  default: null;
@@ -1325,7 +1396,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1325
1396
  default: boolean;
1326
1397
  };
1327
1398
  modelValue: {
1328
- type: import("vue").PropType<boolean>;
1399
+ type: import("vue").PropType<boolean>; /**
1400
+ * Событие выбора всех элементов
1401
+ * @type { boolean }
1402
+ */
1329
1403
  default: boolean;
1330
1404
  };
1331
1405
  closeOnBack: {
@@ -1383,11 +1457,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
1383
1457
  scrollStrategy: "none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void);
1384
1458
  eager: boolean;
1385
1459
  height: string | number;
1460
+ width: string | number;
1386
1461
  maxHeight: string | number;
1387
1462
  maxWidth: string | number;
1388
1463
  minHeight: string | number;
1389
1464
  minWidth: string | number;
1390
- width: string | number;
1391
1465
  absolute: boolean;
1392
1466
  }> | undefined>;
1393
1467
  openChildren: import("vue").Ref<number>;
@@ -1405,6 +1479,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1405
1479
  type: import("vue").PropType<string | number>;
1406
1480
  default: string;
1407
1481
  };
1482
+ width: {
1483
+ type: import("vue").PropType<string | number>;
1484
+ default: string;
1485
+ };
1408
1486
  maxHeight: {
1409
1487
  type: import("vue").PropType<string | number>;
1410
1488
  default: string;
@@ -1421,10 +1499,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1421
1499
  type: import("vue").PropType<string | number>;
1422
1500
  default: string;
1423
1501
  };
1424
- width: {
1425
- type: import("vue").PropType<string | number>;
1426
- default: string;
1427
- };
1428
1502
  eager: {
1429
1503
  type: import("vue").PropType<boolean>;
1430
1504
  default: boolean;
@@ -1442,7 +1516,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1442
1516
  updateLocation: (event: Event) => void;
1443
1517
  } | undefined)>;
1444
1518
  default: string;
1445
- validator: (value: any) => boolean;
1519
+ validator: (value: any) => boolean; /**
1520
+ * Событие выбора всех элементов
1521
+ * @type { boolean }
1522
+ */
1446
1523
  }, "default" | "type"> & {
1447
1524
  type: import("vue").PropType<NonNullable<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: import("../CdsOverlay/composable").ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
1448
1525
  updateLocation: (event: Event) => void;
@@ -1528,7 +1605,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1528
1605
  default: NonNullable<string | boolean>;
1529
1606
  };
1530
1607
  modelValue: {
1531
- type: import("vue").PropType<boolean>;
1608
+ type: import("vue").PropType<boolean>; /**
1609
+ * Событие выбора всех элементов
1610
+ * @type { boolean }
1611
+ */
1532
1612
  default: boolean;
1533
1613
  };
1534
1614
  closeOnBack: {
@@ -1585,11 +1665,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
1585
1665
  scrollStrategy: NonNullable<"none" | "close" | "block" | "reposition" | ((data: import("../CdsOverlay/composable").IScrollStrategyData, props: import("../CdsOverlay/composable").IScrollStrategyProps, scope: import("vue").EffectScope) => void)>;
1586
1666
  eager: boolean;
1587
1667
  height: string | number;
1668
+ width: string | number;
1588
1669
  maxHeight: string | number;
1589
1670
  maxWidth: string | number;
1590
1671
  minHeight: string | number;
1591
1672
  minWidth: string | number;
1592
- width: string | number;
1593
1673
  }> | undefined>;
1594
1674
  listRef: import("vue").Ref<import("vue").DefineComponent<{
1595
1675
  selectStrategy: {
@@ -1638,10 +1718,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1638
1718
  default: string;
1639
1719
  };
1640
1720
  itemChildren: {
1641
- /**
1642
- * Событие при фокусе
1643
- * @type { boolean }
1644
- */
1645
1721
  type: import("vue").PropType<import("../../composable").TItemKey>;
1646
1722
  default: string;
1647
1723
  };
@@ -1723,10 +1799,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
1723
1799
  default: string;
1724
1800
  };
1725
1801
  itemChildren: {
1726
- /**
1727
- * Событие при фокусе
1728
- * @type { boolean }
1729
- */
1730
1802
  type: import("vue").PropType<import("../../composable").TItemKey>;
1731
1803
  default: string;
1732
1804
  };
@@ -1783,6 +1855,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
1783
1855
  readonly itemChildren?: import("../../composable").TItemKey | undefined;
1784
1856
  readonly itemProps?: import("../../composable").TItemKey | undefined;
1785
1857
  readonly returnObject?: boolean | undefined;
1858
+ readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1786
1859
  readonly error?: boolean | undefined;
1787
1860
  readonly readonly?: boolean | undefined;
1788
1861
  readonly loading?: boolean | undefined;
@@ -2054,10 +2127,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
2054
2127
  default: string;
2055
2128
  };
2056
2129
  itemChildren: {
2057
- /**
2058
- * Событие при фокусе
2059
- * @type { boolean }
2060
- */
2061
2130
  type: import("vue").PropType<import("../../composable").TItemKey>;
2062
2131
  default: string;
2063
2132
  };
@@ -2069,6 +2138,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
2069
2138
  type: import("vue").PropType<boolean>;
2070
2139
  default: boolean;
2071
2140
  };
2141
+ size: {
2142
+ type: import("vue").PropType<"xs" | "sm" | "md" | "lg" | "xl">;
2143
+ default: string;
2144
+ available: readonly ["xs", "sm", "md", "lg", "xl"];
2145
+ validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
2146
+ };
2072
2147
  loading: {
2073
2148
  type: import("vue").PropType<boolean>;
2074
2149
  default: boolean;
@@ -2102,7 +2177,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
2102
2177
  default: boolean;
2103
2178
  };
2104
2179
  'onClick:prepend': {
2105
- type: import("vue").PropType<(...args: any[]) => any>;
2180
+ type: import("vue").PropType<(...args: any[]) => any>; /**
2181
+ * Событие при фокусе
2182
+ * @type { boolean }
2183
+ */
2106
2184
  default: undefined;
2107
2185
  };
2108
2186
  'onClick:append': {
@@ -2174,6 +2252,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
2174
2252
  default: null;
2175
2253
  };
2176
2254
  messages: {
2255
+ /**
2256
+ * Событие при фокусе
2257
+ * @type { boolean }
2258
+ */
2177
2259
  type: import("vue").PropType<string | string[]>;
2178
2260
  default: () => never[];
2179
2261
  };
@@ -2258,10 +2340,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2258
2340
  };
2259
2341
  isSelectAll: {
2260
2342
  type: import("vue").PropType<boolean>;
2261
- default: boolean; /**
2262
- * Событие при изменении значения (v-model)
2263
- * @type { any }
2264
- */
2343
+ default: boolean;
2265
2344
  };
2266
2345
  selectAllText: {
2267
2346
  type: import("vue").PropType<string>;
@@ -2284,6 +2363,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
2284
2363
  itemChildren: import("../../composable").TItemKey;
2285
2364
  itemProps: import("../../composable").TItemKey;
2286
2365
  returnObject: boolean;
2366
+ size: "xs" | "sm" | "md" | "lg" | "xl";
2287
2367
  error: boolean;
2288
2368
  menu: boolean | undefined;
2289
2369
  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";
@@ -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
  }
@@ -4,6 +4,12 @@ export declare const componentName = "CdsInput";
4
4
  declare const _sfc_main: import("vue").DefineComponent<{
5
5
  'onClick:prepend': PropType<(...args: any[]) => any>;
6
6
  'onClick:append': PropType<(...args: any[]) => any>;
7
+ size: {
8
+ type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
9
+ default: string;
10
+ available: readonly ["xs", "sm", "md", "lg", "xl"];
11
+ validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
12
+ };
7
13
  readonly: {
8
14
  type: PropType<boolean>;
9
15
  default: boolean;
@@ -100,6 +106,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
100
106
  isValid: import("vue").ComputedRef<boolean | null>;
101
107
  validationClasses: import("vue").ComputedRef<Record<string, boolean>>;
102
108
  focusClasses: import("vue").ComputedRef<Record<string, boolean>>;
109
+ sizeClasses: import("vue").ComputedRef<string>;
103
110
  reset: () => void;
104
111
  resetValidation: () => void;
105
112
  validate: () => Promise<string[]>;
@@ -114,6 +121,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
114
121
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
115
122
  'onClick:prepend': PropType<(...args: any[]) => any>;
116
123
  'onClick:append': PropType<(...args: any[]) => any>;
124
+ size: {
125
+ type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
126
+ default: string;
127
+ available: readonly ["xs", "sm", "md", "lg", "xl"];
128
+ validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
129
+ };
117
130
  readonly: {
118
131
  type: PropType<boolean>;
119
132
  default: boolean;
@@ -205,6 +218,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
205
218
  description: string;
206
219
  disabled: boolean;
207
220
  value: any;
221
+ size: "xs" | "sm" | "md" | "lg" | "xl";
208
222
  error: boolean;
209
223
  prependIcon: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "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";
210
224
  appendIcon: "link" | "filters" | "search" | "add" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "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";