@ironsource/shared-ui 2.1.8 → 2.1.9-test.1

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 (130) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_4c37736e_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_c0f71a49_lang.css +1 -0
  5. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +1 -0
  6. package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +1 -0
  7. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_9fa84b26_lang.css +1 -0
  8. package/DropdownV4.vue_vue_type_style_index_0_scoped_360883b1_lang.css +1 -0
  9. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  10. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +1 -0
  11. package/OptionV4.vue_vue_type_style_index_0_scoped_058de532_lang.css +1 -0
  12. package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +1 -0
  13. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +1 -0
  14. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +1 -0
  15. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +1 -0
  16. package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +1 -0
  17. package/components/alert/Alert.vue2.js +3 -2
  18. package/components/autocomplete/Autocomplete.vue.d.ts +1 -1
  19. package/components/autocomplete/index.d.ts +20 -20
  20. package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +65 -0
  21. package/components/button/v4/ToggleButtonGroupAB.vue.js +7 -0
  22. package/components/button/v4/ToggleButtonGroupAB.vue2.js +95 -0
  23. package/components/button/v4/index.d.ts +170 -1
  24. package/components/button/v4/index.js +10 -3
  25. package/components/chart/Chart.vue.d.ts +5 -0
  26. package/components/chart/Chart.vue.js +4 -4
  27. package/components/chart/Chart.vue2.js +51 -49
  28. package/components/chart/ChartHeader.vue.d.ts +5 -0
  29. package/components/chart/ChartHeader.vue.js +2 -2
  30. package/components/chart/ChartHeader.vue2.js +35 -22
  31. package/components/chart/ChartLegend.vue.js +3 -3
  32. package/components/chart/ChartLegend.vue2.js +35 -28
  33. package/components/chart/SettingsHeader.vue.js +3 -3
  34. package/components/chart/SettingsHeader.vue2.js +33 -26
  35. package/components/chart/index.d.ts +20 -1
  36. package/components/dateRange/v4/CalendarMonthV4.vue2.js +9 -8
  37. package/components/dateRange/v4/DateRangeV4.vue2.js +21 -20
  38. package/components/dialog/v3/Dialog.vue.d.ts +1 -1
  39. package/components/dialog/v3/index.d.ts +5 -5
  40. package/components/dialog/v4/DialogV4.vue.d.ts +1 -1
  41. package/components/dialog/v4/DialogV4.vue2.js +6 -5
  42. package/components/dialog/v4/index.d.ts +5 -5
  43. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  44. package/components/dropdown/v3/index.d.ts +51 -51
  45. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +17 -11
  46. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  47. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +17 -9
  48. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  49. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
  50. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +23 -22
  51. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +11 -0
  52. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  53. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +59 -45
  54. package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -2
  55. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  56. package/components/dropdown/v4/DropdownV4.vue2.js +121 -109
  57. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +4 -3
  58. package/components/dropdown/v4/OptionV4.vue.d.ts +6 -0
  59. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  60. package/components/dropdown/v4/OptionV4.vue2.js +83 -70
  61. package/components/dropdown/v4/index.d.ts +157 -65
  62. package/components/emptyState/v4/EmptyStateV4.vue2.js +13 -12
  63. package/components/forms/FormCard.vue2.js +13 -12
  64. package/components/includeExclude/index.d.ts +56 -56
  65. package/components/input/v3/Input.vue.d.ts +1 -1
  66. package/components/input/v3/index.d.ts +32 -32
  67. package/components/input/v4/TextField.vue.d.ts +1 -1
  68. package/components/input/v4/index.d.ts +20 -20
  69. package/components/menu/Menu.vue.d.ts +1 -1
  70. package/components/menu/index.d.ts +20 -20
  71. package/components/multibar/MultiBar.vue.d.ts +1 -1
  72. package/components/multibar/MultiBar.vue2.js +3 -2
  73. package/components/multibar/index.d.ts +9 -9
  74. package/components/popover/v3/Popover.vue.d.ts +1 -1
  75. package/components/popover/v3/index.d.ts +20 -20
  76. package/components/popover/v4/PopoverV4.vue.d.ts +7 -3
  77. package/components/popover/v4/PopoverV4.vue.js +3 -3
  78. package/components/popover/v4/PopoverV4.vue2.js +23 -20
  79. package/components/popover/v4/index.d.ts +36 -24
  80. package/components/radioButton/v3/RadioButton.vue.d.ts +1 -1
  81. package/components/radioButton/v3/RadioGroup.vue.d.ts +1 -1
  82. package/components/radioButton/v3/index.d.ts +6 -6
  83. package/components/radioButton/v4/RadioButtonV4.vue.d.ts +6 -1
  84. package/components/radioButton/v4/RadioButtonV4.vue.js +2 -2
  85. package/components/radioButton/v4/RadioButtonV4.vue2.js +59 -46
  86. package/components/radioButton/v4/RadioGroupV4.vue.d.ts +1 -1
  87. package/components/radioButton/v4/index.d.ts +26 -7
  88. package/components/snackbar/v4/SnackbarV4.vue2.js +7 -6
  89. package/components/sortableList/SortableItem.vue.d.ts +1 -1
  90. package/components/switch/v3/index.d.ts +16 -16
  91. package/components/switch/v4/SwitchV4.vue2.js +6 -5
  92. package/components/switch/v4/index.d.ts +8 -8
  93. package/components/table/v4/DataGrid.vue.d.ts +5 -0
  94. package/components/table/v4/DataGrid.vue.js +4 -4
  95. package/components/table/v4/DataGrid.vue2.js +45 -44
  96. package/components/table/v4/ExpandRowToggle.vue2.js +6 -5
  97. package/components/table/v4/MultipleDataGrid.vue.d.ts +23 -2
  98. package/components/table/v4/MultipleDataGrid.vue.js +5 -5
  99. package/components/table/v4/MultipleDataGrid.vue2.js +82 -73
  100. package/components/table/v4/index.d.ts +98 -2
  101. package/components/textArea/v4/TextAreaV4.vue.d.ts +1 -1
  102. package/components/textArea/v4/index.d.ts +9 -9
  103. package/components/toggle/v3/index.d.ts +8 -8
  104. package/components/toggle/v4/index.d.ts +16 -16
  105. package/components/typography/v4/Typography.vue.js +2 -2
  106. package/components/typography/v4/Typography.vue2.js +1 -1
  107. package/consts/configs.d.ts +1 -0
  108. package/consts/configs.js +4 -0
  109. package/index.d.ts +1392 -471
  110. package/index.js +1 -1
  111. package/mocks/options.d.ts +4 -0
  112. package/package.json +2 -2
  113. package/testids/index.d.ts +8 -1
  114. package/testids/index.js +14 -13
  115. package/utils/testIds.d.ts +1 -1
  116. package/utils/testIds.js +6 -6
  117. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_23e22560_lang.css +0 -1
  118. package/Chart.vue_vue_type_style_index_0_scoped_df85e0af_lang.css +0 -1
  119. package/ChartHeader.vue_vue_type_style_index_0_scoped_2e3de9c5_lang.css +0 -1
  120. package/ChartLegend.vue_vue_type_style_index_0_scoped_efc608f9_lang.css +0 -1
  121. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +0 -1
  122. package/DataGrid.vue_vue_type_style_index_0_scoped_d27e1304_lang.css +0 -1
  123. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css +0 -1
  124. package/DropdownV4.vue_vue_type_style_index_0_scoped_62a620ee_lang.css +0 -1
  125. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_cfedf78b_lang.css +0 -1
  126. package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +0 -1
  127. package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +0 -1
  128. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css +0 -1
  129. package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css +0 -1
  130. package/Typography.vue_vue_type_style_index_0_scoped_b00956b7_lang.css +0 -1
@@ -10,8 +10,8 @@ declare const PopoverTypes: () => ({
10
10
  distance: number;
11
11
  popperClass: string;
12
12
  autoHide: boolean;
13
- skidding: number;
14
13
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
14
+ skidding: number;
15
15
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
16
16
  testId: {
17
17
  type: import("vue").PropType<string>;
@@ -37,15 +37,17 @@ declare const PopoverTypes: () => ({
37
37
  type: import("vue").PropType<boolean>;
38
38
  default: boolean;
39
39
  };
40
- skidding: {
41
- type: import("vue").PropType<number>;
42
- default: number;
43
- };
44
40
  trigger: {
45
41
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
46
42
  default: string;
47
43
  };
48
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "popperClass" | "autoHide" | "skidding" | "trigger">;
44
+ skidding: {
45
+ type: import("vue").PropType<number>;
46
+ default: number;
47
+ };
48
+ }>> & {
49
+ onIsOpen?: (value: boolean) => any;
50
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "popperClass" | "autoHide" | "trigger" | "skidding">;
49
51
  $attrs: {
50
52
  [x: string]: unknown;
51
53
  };
@@ -57,7 +59,7 @@ declare const PopoverTypes: () => ({
57
59
  }>;
58
60
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
59
61
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
60
- $emit: (event: string, ...args: any[]) => void;
62
+ $emit: (event: "isOpen", value: boolean) => void;
61
63
  $el: any;
62
64
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
63
65
  testId: {
@@ -84,23 +86,27 @@ declare const PopoverTypes: () => ({
84
86
  type: import("vue").PropType<boolean>;
85
87
  default: boolean;
86
88
  };
87
- skidding: {
88
- type: import("vue").PropType<number>;
89
- default: number;
90
- };
91
89
  trigger: {
92
90
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
93
91
  default: string;
94
92
  };
95
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
93
+ skidding: {
94
+ type: import("vue").PropType<number>;
95
+ default: number;
96
+ };
97
+ }>> & {
98
+ onIsOpen?: (value: boolean) => any;
99
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
100
+ isOpen: (value: boolean) => void;
101
+ }, string, {
96
102
  testId: string;
97
103
  placement: import("floating-vue").Placement;
98
104
  disabled: boolean;
99
105
  distance: number;
100
106
  popperClass: string;
101
107
  autoHide: boolean;
102
- skidding: number;
103
108
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
109
+ skidding: number;
104
110
  }, {}, string> & {
105
111
  beforeCreate?: (() => void) | (() => void)[];
106
112
  created?: (() => void) | (() => void)[];
@@ -146,15 +152,17 @@ declare const PopoverTypes: () => ({
146
152
  type: import("vue").PropType<boolean>;
147
153
  default: boolean;
148
154
  };
149
- skidding: {
150
- type: import("vue").PropType<number>;
151
- default: number;
152
- };
153
155
  trigger: {
154
156
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
155
157
  default: string;
156
158
  };
157
- }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
159
+ skidding: {
160
+ type: import("vue").PropType<number>;
161
+ default: number;
162
+ };
163
+ }>> & {
164
+ onIsOpen?: (value: boolean) => any;
165
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
158
166
  __isFragment?: never;
159
167
  __isTeleport?: never;
160
168
  __isSuspense?: never;
@@ -183,23 +191,27 @@ declare const PopoverTypes: () => ({
183
191
  type: import("vue").PropType<boolean>;
184
192
  default: boolean;
185
193
  };
186
- skidding: {
187
- type: import("vue").PropType<number>;
188
- default: number;
189
- };
190
194
  trigger: {
191
195
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
192
196
  default: string;
193
197
  };
194
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
198
+ skidding: {
199
+ type: import("vue").PropType<number>;
200
+ default: number;
201
+ };
202
+ }>> & {
203
+ onIsOpen?: (value: boolean) => any;
204
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
205
+ isOpen: (value: boolean) => void;
206
+ }, string, {
195
207
  testId: string;
196
208
  placement: import("floating-vue").Placement;
197
209
  disabled: boolean;
198
210
  distance: number;
199
211
  popperClass: string;
200
212
  autoHide: boolean;
201
- skidding: number;
202
213
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
214
+ skidding: number;
203
215
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
204
216
  $slots: {
205
217
  trigger?(_: {}): any;
@@ -13,8 +13,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
13
13
  modelValue: any;
14
14
  testId: string;
15
15
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- change: (...args: any[]) => void;
17
16
  "update:modelValue": (...args: any[]) => void;
17
+ change: (...args: any[]) => void;
18
18
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
19
  label: string;
20
20
  name?: string;
@@ -11,8 +11,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  row: boolean;
12
12
  testId: string;
13
13
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- change: (...args: any[]) => void;
15
14
  "update:modelValue": (...args: any[]) => void;
15
+ change: (...args: any[]) => void;
16
16
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
17
  name?: string;
18
18
  disabled?: boolean;
@@ -52,7 +52,7 @@ declare const RadioButtonTypes: () => (({
52
52
  }>;
53
53
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
54
54
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
55
- $emit: ((event: "change", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void);
55
+ $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void);
56
56
  $el: any;
57
57
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
58
58
  name: {
@@ -84,8 +84,8 @@ declare const RadioButtonTypes: () => (({
84
84
  onChange?: (...args: any[]) => any;
85
85
  "onUpdate:modelValue"?: (...args: any[]) => any;
86
86
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
87
- change: (...args: any[]) => void;
88
87
  "update:modelValue": (...args: any[]) => void;
88
+ change: (...args: any[]) => void;
89
89
  }, string, {
90
90
  name: string;
91
91
  label: string;
@@ -176,8 +176,8 @@ declare const RadioButtonTypes: () => (({
176
176
  onChange?: (...args: any[]) => any;
177
177
  "onUpdate:modelValue"?: (...args: any[]) => any;
178
178
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
179
- change: (...args: any[]) => void;
180
179
  "update:modelValue": (...args: any[]) => void;
180
+ change: (...args: any[]) => void;
181
181
  }, string, {
182
182
  name: string;
183
183
  label: string;
@@ -234,7 +234,7 @@ declare const RadioButtonTypes: () => (({
234
234
  }>;
235
235
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
236
236
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
237
- $emit: ((event: "change", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void);
237
+ $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void);
238
238
  $el: any;
239
239
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
240
240
  name: {
@@ -261,8 +261,8 @@ declare const RadioButtonTypes: () => (({
261
261
  onChange?: (...args: any[]) => any;
262
262
  "onUpdate:modelValue"?: (...args: any[]) => any;
263
263
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
264
- change: (...args: any[]) => void;
265
264
  "update:modelValue": (...args: any[]) => void;
265
+ change: (...args: any[]) => void;
266
266
  }, string, {
267
267
  name: string;
268
268
  testId: string;
@@ -341,8 +341,8 @@ declare const RadioButtonTypes: () => (({
341
341
  onChange?: (...args: any[]) => any;
342
342
  "onUpdate:modelValue"?: (...args: any[]) => any;
343
343
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
344
- change: (...args: any[]) => void;
345
344
  "update:modelValue": (...args: any[]) => void;
345
+ change: (...args: any[]) => void;
346
346
  }, string, {
347
347
  name: string;
348
348
  testId: string;
@@ -4,25 +4,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
4
4
  name?: string;
5
5
  modelValue?: string;
6
6
  testId?: string;
7
+ labelDescription?: string;
7
8
  }>, {
8
9
  label: string;
9
10
  name: string;
10
11
  modelValue: any;
11
12
  testId: string;
13
+ labelDescription: string;
12
14
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- change: (...args: any[]) => void;
14
15
  "update:modelValue": (...args: any[]) => void;
16
+ change: (...args: any[]) => void;
15
17
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
18
  value: unknown;
17
19
  label: string;
18
20
  name?: string;
19
21
  modelValue?: string;
20
22
  testId?: string;
23
+ labelDescription?: string;
21
24
  }>, {
22
25
  label: string;
23
26
  name: string;
24
27
  modelValue: any;
25
28
  testId: string;
29
+ labelDescription: string;
26
30
  }>>> & {
27
31
  onChange?: (...args: any[]) => any;
28
32
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -31,6 +35,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
31
35
  label: string;
32
36
  testId: string;
33
37
  modelValue: string;
38
+ labelDescription: string;
34
39
  }>, {
35
40
  default?(_: {}): any;
36
41
  }>;
@@ -1,7 +1,7 @@
1
1
  import o from "./RadioButtonV4.vue2.js";
2
2
  /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css"; //*');
4
- const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cb3a12c6"]]);
3
+ // import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css"; //*');
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-05c7bca2"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,67 +1,80 @@
1
- import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css"; import { defineComponent as h, ref as y, inject as g, computed as n, openBlock as I, createElementBlock as R, normalizeClass as p, unref as e, createElementVNode as r, withDirectives as E, mergeProps as v, isRef as k, vModelRadio as B, renderSlot as T, createVNode as w, withCtx as x, createTextVNode as A, toDisplayString as C } from "vue";
2
- import D from "../../typography/v4/Typography.vue.js";
1
+ import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css"; import { defineComponent as R, ref as g, inject as k, computed as c, openBlock as b, createElementBlock as B, normalizeClass as v, unref as e, createElementVNode as l, withDirectives as w, mergeProps as m, isRef as C, vModelRadio as L, renderSlot as N, createVNode as T, withCtx as V, createTextVNode as h, toDisplayString as y, createBlock as A, createCommentVNode as x } from "vue";
2
+ import I from "../../typography/v4/Typography.vue.js";
3
3
  import { radioGroupKey as G } from "../common/useRadio.js";
4
- import { RadioTestIdModifiers as u } from "../../../testids/index.js";
5
- import { useTestIdAttrs as L } from "../../../utils/testIds.js";
6
- const N = { class: "wrapper" }, M = ["value", "name", "disabled"], P = /* @__PURE__ */ h({
4
+ import { RadioTestIdModifiers as r } from "../../../testids/index.js";
5
+ import { useTestIdAttrs as S } from "../../../utils/testIds.js";
6
+ const M = { class: "wrapper-with-description" }, P = { class: "wrapper" }, j = ["value", "name", "disabled"], _ = /* @__PURE__ */ R({
7
7
  __name: "RadioButtonV4",
8
8
  props: {
9
9
  value: null,
10
10
  label: { default: "" },
11
11
  name: { default: "" },
12
12
  modelValue: { default: void 0 },
13
- testId: { default: "" }
13
+ testId: { default: "" },
14
+ labelDescription: { default: "" }
14
15
  },
15
16
  emits: ["update:modelValue", "change"],
16
- setup(t, { emit: b }) {
17
- const l = t, c = L(l.testId, u), i = y(), a = g(G, void 0), m = n(() => !!a), o = n(() => a?.disabled), d = n({
17
+ setup(t, { emit: D }) {
18
+ const o = t, n = S(o.testId, r), u = g(), a = k(G, void 0), p = c(() => !!a), d = c(() => a?.disabled), s = c({
18
19
  get() {
19
- return m.value ? a?.modelValue : l.modelValue;
20
+ return p.value ? a?.modelValue : o.modelValue;
20
21
  },
21
- set(s) {
22
- m.value ? a?.changeEvent(s) : b("update:modelValue", s), i.value && (i.value.checked = l.modelValue === l.value);
22
+ set(i) {
23
+ p.value ? a?.changeEvent(i) : D("update:modelValue", i), u.value && (u.value.checked = o.modelValue === o.value);
23
24
  }
24
25
  });
25
- return (s, f) => (I(), R("label", {
26
- class: p(["radio-button", { "radio-button--disabled": e(o) }])
26
+ return (i, f) => (b(), B("label", {
27
+ class: v(["radio-button", { "radio-button--disabled": e(d) }])
27
28
  }, [
28
- r("span", N, [
29
- E(r("input", v({
30
- ref_key: "radioRef",
31
- ref: i,
32
- "onUpdate:modelValue": f[0] || (f[0] = (V) => k(d) ? d.value = V : null),
33
- value: t.value,
34
- name: t.name || e(a)?.name,
35
- type: "radio",
36
- disabled: e(o)
37
- }, e(c)[e(u).FIELD]), null, 16, M), [
38
- [B, e(d)]
29
+ l("span", M, [
30
+ l("span", P, [
31
+ w(l("input", m({
32
+ ref_key: "radioRef",
33
+ ref: u,
34
+ "onUpdate:modelValue": f[0] || (f[0] = (E) => C(s) ? s.value = E : null),
35
+ value: t.value,
36
+ name: t.name || e(a)?.name,
37
+ type: "radio",
38
+ disabled: e(d)
39
+ }, e(n)[e(r).FIELD]), null, 16, j), [
40
+ [L, e(s)]
41
+ ]),
42
+ l("span", {
43
+ class: v(["circle", {
44
+ "circle--selected": e(s) === t.value,
45
+ "circle--disabled": e(d)
46
+ }])
47
+ }, null, 2)
39
48
  ]),
40
- r("span", {
41
- class: p(["circle", {
42
- "circle--selected": e(d) === t.value,
43
- "circle--disabled": e(o)
44
- }])
45
- }, null, 2)
49
+ l("span", m({
50
+ class: ["label", { "label--disabled": e(d) }]
51
+ }, e(n)[e(r).LABEL]), [
52
+ N(i.$slots, "default", {}, () => [
53
+ T(e(I), {
54
+ variant: "body2",
55
+ "is-truncated": ""
56
+ }, {
57
+ default: V(() => [
58
+ h(y(t.label), 1)
59
+ ]),
60
+ _: 1
61
+ })
62
+ ], !0)
63
+ ], 16)
46
64
  ]),
47
- r("span", v({
48
- class: ["label", { "label--disabled": e(o) }]
49
- }, e(c)[e(u).LABEL]), [
50
- T(s.$slots, "default", {}, () => [
51
- w(e(D), {
52
- variant: "body2",
53
- "is-truncated": ""
54
- }, {
55
- default: x(() => [
56
- A(C(t.label), 1)
57
- ]),
58
- _: 1
59
- })
60
- ], !0)
61
- ], 16)
65
+ t.labelDescription ? (b(), A(e(I), m({
66
+ key: 0,
67
+ variant: "body2",
68
+ class: "label-description"
69
+ }, e(n)[e(r).LABEL_DESCRIPTION]), {
70
+ default: V(() => [
71
+ h(y(t.labelDescription), 1)
72
+ ]),
73
+ _: 1
74
+ }, 16)) : x("", !0)
62
75
  ], 2));
63
76
  }
64
77
  });
65
78
  export {
66
- P as default
79
+ _ as default
67
80
  };
@@ -11,8 +11,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  row: boolean;
12
12
  testId: string;
13
13
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- change: (...args: any[]) => void;
15
14
  "update:modelValue": (...args: any[]) => void;
15
+ change: (...args: any[]) => void;
16
16
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
17
  name?: string;
18
18
  disabled?: boolean;
@@ -9,6 +9,7 @@ declare const RadioButtonTypes: () => (({
9
9
  label: string;
10
10
  testId: string;
11
11
  modelValue: string;
12
+ labelDescription: string;
12
13
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
13
14
  value: {
14
15
  type: import("vue").PropType<unknown>;
@@ -31,10 +32,14 @@ declare const RadioButtonTypes: () => (({
31
32
  type: import("vue").PropType<string>;
32
33
  default: any;
33
34
  };
35
+ labelDescription: {
36
+ type: import("vue").PropType<string>;
37
+ default: string;
38
+ };
34
39
  }>> & {
35
40
  onChange?: (...args: any[]) => any;
36
41
  "onUpdate:modelValue"?: (...args: any[]) => any;
37
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "name" | "label" | "testId" | "modelValue">;
42
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "name" | "label" | "testId" | "modelValue" | "labelDescription">;
38
43
  $attrs: {
39
44
  [x: string]: unknown;
40
45
  };
@@ -46,7 +51,7 @@ declare const RadioButtonTypes: () => (({
46
51
  }>;
47
52
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
48
53
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
49
- $emit: ((event: "change", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void);
54
+ $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void);
50
55
  $el: any;
51
56
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
52
57
  value: {
@@ -70,17 +75,22 @@ declare const RadioButtonTypes: () => (({
70
75
  type: import("vue").PropType<string>;
71
76
  default: any;
72
77
  };
78
+ labelDescription: {
79
+ type: import("vue").PropType<string>;
80
+ default: string;
81
+ };
73
82
  }>> & {
74
83
  onChange?: (...args: any[]) => any;
75
84
  "onUpdate:modelValue"?: (...args: any[]) => any;
76
85
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
77
- change: (...args: any[]) => void;
78
86
  "update:modelValue": (...args: any[]) => void;
87
+ change: (...args: any[]) => void;
79
88
  }, string, {
80
89
  name: string;
81
90
  label: string;
82
91
  testId: string;
83
92
  modelValue: string;
93
+ labelDescription: string;
84
94
  }, {}, string> & {
85
95
  beforeCreate?: (() => void) | (() => void)[];
86
96
  created?: (() => void) | (() => void)[];
@@ -123,6 +133,10 @@ declare const RadioButtonTypes: () => (({
123
133
  type: import("vue").PropType<string>;
124
134
  default: any;
125
135
  };
136
+ labelDescription: {
137
+ type: import("vue").PropType<string>;
138
+ default: string;
139
+ };
126
140
  }>> & {
127
141
  onChange?: (...args: any[]) => any;
128
142
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -152,17 +166,22 @@ declare const RadioButtonTypes: () => (({
152
166
  type: import("vue").PropType<string>;
153
167
  default: any;
154
168
  };
169
+ labelDescription: {
170
+ type: import("vue").PropType<string>;
171
+ default: string;
172
+ };
155
173
  }>> & {
156
174
  onChange?: (...args: any[]) => any;
157
175
  "onUpdate:modelValue"?: (...args: any[]) => any;
158
176
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
159
- change: (...args: any[]) => void;
160
177
  "update:modelValue": (...args: any[]) => void;
178
+ change: (...args: any[]) => void;
161
179
  }, string, {
162
180
  name: string;
163
181
  label: string;
164
182
  testId: string;
165
183
  modelValue: string;
184
+ labelDescription: string;
166
185
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
167
186
  $slots: {
168
187
  default?(_: {}): any;
@@ -212,7 +231,7 @@ declare const RadioButtonTypes: () => (({
212
231
  }>;
213
232
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
214
233
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
215
- $emit: ((event: "change", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void);
234
+ $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void);
216
235
  $el: any;
217
236
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
218
237
  name: {
@@ -239,8 +258,8 @@ declare const RadioButtonTypes: () => (({
239
258
  onChange?: (...args: any[]) => any;
240
259
  "onUpdate:modelValue"?: (...args: any[]) => any;
241
260
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
242
- change: (...args: any[]) => void;
243
261
  "update:modelValue": (...args: any[]) => void;
262
+ change: (...args: any[]) => void;
244
263
  }, string, {
245
264
  name: string;
246
265
  testId: string;
@@ -319,8 +338,8 @@ declare const RadioButtonTypes: () => (({
319
338
  onChange?: (...args: any[]) => any;
320
339
  "onUpdate:modelValue"?: (...args: any[]) => any;
321
340
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
322
- change: (...args: any[]) => void;
323
341
  "update:modelValue": (...args: any[]) => void;
342
+ change: (...args: any[]) => void;
324
343
  }, string, {
325
344
  name: string;
326
345
  testId: string;
@@ -4,6 +4,7 @@ import "../../icon/v4/IconFlag.vue.js";
4
4
  import D from "../../button/v4/ButtonV4.vue.js";
5
5
  import H from "../../button/v4/IconButtonV4.vue.js";
6
6
  import "../../button/v4/ButtonGroup.vue.js";
7
+ import "../../button/v4/ToggleButtonGroupAB.vue.js";
7
8
  import S from "../../typography/v4/Typography.vue.js";
8
9
  import { snackbarCommon as F } from "../common/snackbar.common.js";
9
10
  import { useTestIdAttrs as G } from "../../../utils/testIds.js";
@@ -11,7 +12,7 @@ import { SnackbarTestIdModifiers as i } from "../../../testids/index.js";
11
12
  const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { class: "message" }, J = { class: "action-wrapper" }, K = {
12
13
  key: 0,
13
14
  class: "actions"
14
- }, Q = { class: "close-button-wrapper" }, ie = /* @__PURE__ */ M({
15
+ }, Q = { class: "close-button-wrapper" }, ae = /* @__PURE__ */ M({
15
16
  __name: "SnackbarV4",
16
17
  props: {
17
18
  customClass: null,
@@ -34,8 +35,8 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
34
35
  setup(t) {
35
36
  const u = t, {
36
37
  visible: b,
37
- horizontalClass: w,
38
- positionStyle: p,
38
+ horizontalClass: p,
39
+ positionStyle: w,
39
40
  clearTimer: k,
40
41
  startTimer: C,
41
42
  close: L
@@ -61,8 +62,8 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
61
62
  default: f(() => [
62
63
  g(a("div", l({
63
64
  id: t.id,
64
- class: ["snackbar light-theme-v4", [t.customClass, e(w)]],
65
- style: e(p),
65
+ class: ["snackbar light-theme-v4", [t.customClass, e(p)]],
66
+ style: e(w),
66
67
  role: "alert"
67
68
  }, e(r)[e(i).CONTAINER], {
68
69
  onMouseenter: o[0] || (o[0] = //@ts-ignore
@@ -136,5 +137,5 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
136
137
  }
137
138
  });
138
139
  export {
139
- ie as default
140
+ ae as default
140
141
  };
@@ -42,8 +42,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
42
42
  onToggle?: (value: boolean) => any;
43
43
  onSelectChild?: (childItem: SortableListItem) => any;
44
44
  }, {
45
- index: number;
46
45
  isOpen: boolean;
46
+ index: number;
47
47
  isSelected: boolean;
48
48
  searchQuery: string;
49
49
  selectedChildId: string | number;
@@ -14,14 +14,14 @@ declare const SwitchTypes: () => ({
14
14
  type: import("vue").PropType<"sm" | "lg">;
15
15
  default: string;
16
16
  };
17
- options: {
18
- type: import("vue").PropType<string[]>;
19
- required: true;
20
- };
21
17
  modelValue: {
22
18
  type: import("vue").PropType<string>;
23
19
  required: true;
24
20
  };
21
+ options: {
22
+ type: import("vue").PropType<string[]>;
23
+ required: true;
24
+ };
25
25
  }>> & {
26
26
  "onUpdate:modelValue"?: (...args: any[]) => any;
27
27
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "size">;
@@ -47,14 +47,14 @@ declare const SwitchTypes: () => ({
47
47
  type: import("vue").PropType<"sm" | "lg">;
48
48
  default: string;
49
49
  };
50
- options: {
51
- type: import("vue").PropType<string[]>;
52
- required: true;
53
- };
54
50
  modelValue: {
55
51
  type: import("vue").PropType<string>;
56
52
  required: true;
57
53
  };
54
+ options: {
55
+ type: import("vue").PropType<string[]>;
56
+ required: true;
57
+ };
58
58
  }>> & {
59
59
  "onUpdate:modelValue"?: (...args: any[]) => any;
60
60
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -91,14 +91,14 @@ declare const SwitchTypes: () => ({
91
91
  type: import("vue").PropType<"sm" | "lg">;
92
92
  default: string;
93
93
  };
94
- options: {
95
- type: import("vue").PropType<string[]>;
96
- required: true;
97
- };
98
94
  modelValue: {
99
95
  type: import("vue").PropType<string>;
100
96
  required: true;
101
97
  };
98
+ options: {
99
+ type: import("vue").PropType<string[]>;
100
+ required: true;
101
+ };
102
102
  }>> & {
103
103
  "onUpdate:modelValue"?: (...args: any[]) => any;
104
104
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
@@ -114,14 +114,14 @@ declare const SwitchTypes: () => ({
114
114
  type: import("vue").PropType<"sm" | "lg">;
115
115
  default: string;
116
116
  };
117
- options: {
118
- type: import("vue").PropType<string[]>;
119
- required: true;
120
- };
121
117
  modelValue: {
122
118
  type: import("vue").PropType<string>;
123
119
  required: true;
124
120
  };
121
+ options: {
122
+ type: import("vue").PropType<string[]>;
123
+ required: true;
124
+ };
125
125
  }>> & {
126
126
  "onUpdate:modelValue"?: (...args: any[]) => any;
127
127
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {