@ironsource/shared-ui 2.2.0-rc.43 → 2.2.0-rc.48

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 (156) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
  3. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
  4. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_5a645cc9_lang.css +1 -0
  5. package/DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css +1 -0
  6. package/DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css +1 -0
  7. package/DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css +1 -0
  8. package/DropdownV4.vue_vue_type_style_index_0_scoped_f44f2402_lang.css +1 -0
  9. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  10. package/FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css +1 -0
  11. package/HelpText.vue_vue_type_style_index_0_scoped_b5caf7cd_lang.css +1 -0
  12. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css +1 -0
  13. package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -1
  14. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -1
  15. package/InlineCopy.vue_vue_type_style_index_0_scoped_8cb01c9d_lang.css +1 -0
  16. package/Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css +1 -0
  17. package/Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css +1 -0
  18. package/Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css +1 -0
  19. package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
  20. package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
  21. package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +1 -0
  22. package/PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css +1 -0
  23. package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -1
  24. package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +1 -0
  25. package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
  26. package/TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css +1 -0
  27. package/TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css +1 -0
  28. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
  29. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  30. package/ToggleV4.vue_vue_type_style_index_0_scoped_fbbae882_lang.css +1 -0
  31. package/TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css +1 -0
  32. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  33. package/components/ThemeWrapper/ThemeStrore.d.ts +1 -2
  34. package/components/ThemeWrapper/ThemeStrore.js +11 -14
  35. package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
  36. package/components/ThemeWrapper/ThemeWrapper.vue2.js +11 -8
  37. package/components/ThemeWrapper/index.d.ts +1 -2
  38. package/components/ThemeWrapper/index.js +2 -4
  39. package/components/alert/Alert.vue.js +4 -4
  40. package/components/alert/Alert.vue2.js +1 -1
  41. package/components/autocomplete/index.d.ts +16 -16
  42. package/components/button/v3/ButtonBase.vue.d.ts +1 -1
  43. package/components/button/v4/ButtonV4.vue.js +3 -3
  44. package/components/button/v4/ButtonV4.vue2.js +1 -1
  45. package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
  46. package/components/columnPicker/index.d.ts +20 -20
  47. package/components/datePicker/v4/DatePickerV4.vue.js +2 -2
  48. package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
  49. package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
  50. package/components/dateRange/v4/CalendarMonthV4.vue2.js +1 -1
  51. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  52. package/components/dateRange/v4/DateRangeV4.vue2.js +28 -27
  53. package/components/dropdown/common/Dropdown.common.js +351 -274
  54. package/components/dropdown/v3/Dropdown.vue.d.ts +6 -6
  55. package/components/dropdown/v3/index.d.ts +88 -88
  56. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  57. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +38 -32
  58. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +1 -1
  59. package/components/dropdown/v4/DropdownV4.vue.d.ts +50 -41
  60. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  61. package/components/dropdown/v4/DropdownV4.vue2.js +239 -224
  62. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +5 -0
  63. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +3 -3
  64. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -9
  65. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  66. package/components/dropdown/v4/OptionV4.vue2.js +12 -12
  67. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  68. package/components/dropdown/v4/index.d.ts +2377 -2349
  69. package/components/helpText/HelpText.vue.js +3 -3
  70. package/components/helpText/HelpText.vue2.js +11 -10
  71. package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
  72. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
  73. package/components/includeExclude/index.d.ts +54 -54
  74. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  75. package/components/inlineCopy/InlineCopy.vue.js +3 -3
  76. package/components/inlineCopy/InlineCopy.vue2.js +54 -53
  77. package/components/inlineCopy/index.d.ts +9 -0
  78. package/components/input/v4/TextField.vue.d.ts +5 -0
  79. package/components/input/v4/TextField.vue.js +2 -2
  80. package/components/input/v4/TextField.vue2.js +22 -19
  81. package/components/input/v4/index.d.ts +20 -1
  82. package/components/link/Link.vue.js +5 -5
  83. package/components/link/Link.vue2.js +30 -21
  84. package/components/loader/v4/Loader.vue.js +3 -3
  85. package/components/loader/v4/Loader.vue2.js +1 -1
  86. package/components/menu/Menu.vue.js +3 -3
  87. package/components/menu/Menu.vue2.js +30 -33
  88. package/components/multibar/MultiBar.vue.js +3 -3
  89. package/components/multibar/MultiBar.vue2.js +50 -51
  90. package/components/popover/v4/PopoverV4.vue.js +2 -2
  91. package/components/popover/v4/PopoverV4.vue2.js +21 -22
  92. package/components/search/v4/SearchV4.vue.d.ts +5 -0
  93. package/components/search/v4/SearchV4.vue.js +5 -5
  94. package/components/search/v4/SearchV4.vue2.js +23 -18
  95. package/components/search/v4/index.d.ts +9 -0
  96. package/components/shared/FieldLabel.vue.js +3 -3
  97. package/components/shared/FieldLabel.vue2.js +9 -8
  98. package/components/snackbar/v4/SnackbarV4.vue.js +3 -3
  99. package/components/snackbar/v4/SnackbarV4.vue2.js +1 -1
  100. package/components/table/v4/DataGridMenu.vue.d.ts +5 -0
  101. package/components/table/v4/DataGridMenu.vue.js +5 -5
  102. package/components/table/v4/DataGridMenu.vue2.js +28 -22
  103. package/components/table/v4/index.d.ts +9 -0
  104. package/components/tabs/v4/TabsV4.vue.d.ts +5 -0
  105. package/components/tabs/v4/TabsV4.vue.js +3 -3
  106. package/components/tabs/v4/TabsV4.vue2.js +74 -43
  107. package/components/tabs/v4/index.d.ts +20 -1
  108. package/components/toggle/v4/ToggleV4.vue.d.ts +5 -0
  109. package/components/toggle/v4/ToggleV4.vue.js +3 -3
  110. package/components/toggle/v4/ToggleV4.vue2.js +50 -41
  111. package/components/toggle/v4/index.d.ts +20 -1
  112. package/components/tooltip/v3/Tooltip.vue.d.ts +1 -1
  113. package/components/tooltip/v3/index.d.ts +20 -20
  114. package/components/tooltip/v4/TooltipV4.vue.d.ts +15 -2
  115. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  116. package/components/tooltip/v4/TooltipV4.vue2.js +85 -63
  117. package/components/tooltip/v4/index.d.ts +70 -23
  118. package/design-foundation.stories/colors/ColorsData.d.ts +0 -114
  119. package/design-foundation.stories/colors/ColorsStoryWrapper.vue.d.ts +1 -28
  120. package/index.d.ts +3013 -2696
  121. package/index.js +1 -1
  122. package/package.json +5 -1
  123. package/style/v4/border-radius.scss +2 -2
  124. package/style/v4/colors.scss +0 -105
  125. package/style/v4/elevations.scss +0 -11
  126. package/style/v4/grid.css +1 -17
  127. package/style/v4/grid.css.map +1 -1
  128. package/style/v4/grid.scss +1 -1
  129. package/style/v4/spacings.scss +1 -1
  130. package/style/v4/styleguideV4.scss +0 -1
  131. package/styleguide.scss +2 -2
  132. package/Alert.vue_vue_type_style_index_0_scoped_1036ab1d_lang.css +0 -1
  133. package/ButtonV4.vue_vue_type_style_index_0_scoped_6f05dc63_lang.css +0 -1
  134. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_73af6757_lang.css +0 -1
  135. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +0 -1
  136. package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +0 -1
  137. package/DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css +0 -1
  138. package/DateRangeV4.vue_vue_type_style_index_0_scoped_5545bc01_lang.css +0 -1
  139. package/DropdownV4.vue_vue_type_style_index_0_scoped_b2d0a4d2_lang.css +0 -1
  140. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +0 -1
  141. package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +0 -1
  142. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +0 -1
  143. package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +0 -1
  144. package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +0 -1
  145. package/Loader.vue_vue_type_style_index_0_scoped_94c3c850_lang.css +0 -1
  146. package/Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css +0 -1
  147. package/MultiBar.vue_vue_type_style_index_0_scoped_7c2477ad_lang.css +0 -1
  148. package/OptionV4.vue_vue_type_style_index_0_scoped_7e70c643_lang.css +0 -1
  149. package/PopoverV4.vue_vue_type_style_index_0_scoped_ea1a3e8c_lang.css +0 -1
  150. package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_lang.css +0 -1
  151. package/SnackbarV4.vue_vue_type_style_index_0_scoped_f19e742c_lang.css +0 -1
  152. package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +0 -1
  153. package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +0 -1
  154. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_8eef6574_lang.css +0 -1
  155. package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +0 -1
  156. package/TooltipV4.vue_vue_type_style_index_0_scoped_f88fbece_lang.css +0 -1
@@ -1,4 +1,4 @@
1
- import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_6f05dc63_lang.css"; import { defineComponent as N, computed as h, openBlock as n, createElementBlock as s, normalizeClass as c, createElementVNode as r, createBlock as f, unref as t, createCommentVNode as o, createVNode as u, withCtx as m, renderSlot as d, createTextVNode as z, toDisplayString as b } from "vue";
1
+ import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css"; import { defineComponent as N, computed as h, openBlock as n, createElementBlock as s, normalizeClass as c, createElementVNode as r, createBlock as f, unref as t, createCommentVNode as o, createVNode as u, withCtx as m, renderSlot as d, createTextVNode as z, toDisplayString as b } from "vue";
2
2
  import I from "../../typography/v4/Typography.vue.js";
3
3
  import y from "../../icon/v4/IconV4.vue.js";
4
4
  import "../../icon/v4/IconFlag.vue.js";
@@ -76,8 +76,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
76
76
  testId: string;
77
77
  selected: unknown[];
78
78
  options: Record<string, unknown>[];
79
- minSelections: number;
80
79
  noResultsText: string;
80
+ minSelections: number;
81
81
  searchAutoFocus: boolean;
82
82
  searchPlaceholder: string;
83
83
  headerText: string;
@@ -7,8 +7,8 @@ declare const ColumnPickerTypes: () => ({
7
7
  testId: string;
8
8
  selected: unknown[];
9
9
  options: Record<string, unknown>[];
10
- minSelections: number;
11
10
  noResultsText: string;
11
+ minSelections: number;
12
12
  searchAutoFocus: boolean;
13
13
  searchPlaceholder: string;
14
14
  headerText: string;
@@ -36,14 +36,14 @@ declare const ColumnPickerTypes: () => ({
36
36
  required: true;
37
37
  default: () => any[];
38
38
  };
39
- minSelections: {
40
- type: import("vue").PropType<number>;
41
- default: number;
42
- };
43
39
  noResultsText: {
44
40
  type: import("vue").PropType<string>;
45
41
  default: string;
46
42
  };
43
+ minSelections: {
44
+ type: import("vue").PropType<number>;
45
+ default: number;
46
+ };
47
47
  searchAutoFocus: {
48
48
  type: import("vue").PropType<boolean>;
49
49
  default: boolean;
@@ -91,7 +91,7 @@ declare const ColumnPickerTypes: () => ({
91
91
  }>> & {
92
92
  "onUpdate:selected"?: (value: unknown[]) => any;
93
93
  onTrackUserActivity?: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => any;
94
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "selected" | "options" | "minSelections" | "noResultsText" | "searchAutoFocus" | "searchPlaceholder" | "headerText" | "appendToBody" | "defaultSelection" | "inlineGroupIds" | "idKey" | "displayKey" | "childrenKey" | "disabledKey" | "minSelectionsTooltipMessage">;
94
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "selected" | "options" | "noResultsText" | "minSelections" | "searchAutoFocus" | "searchPlaceholder" | "headerText" | "appendToBody" | "defaultSelection" | "inlineGroupIds" | "idKey" | "displayKey" | "childrenKey" | "disabledKey" | "minSelectionsTooltipMessage">;
95
95
  $attrs: {
96
96
  [x: string]: unknown;
97
97
  };
@@ -121,14 +121,14 @@ declare const ColumnPickerTypes: () => ({
121
121
  required: true;
122
122
  default: () => any[];
123
123
  };
124
- minSelections: {
125
- type: import("vue").PropType<number>;
126
- default: number;
127
- };
128
124
  noResultsText: {
129
125
  type: import("vue").PropType<string>;
130
126
  default: string;
131
127
  };
128
+ minSelections: {
129
+ type: import("vue").PropType<number>;
130
+ default: number;
131
+ };
132
132
  searchAutoFocus: {
133
133
  type: import("vue").PropType<boolean>;
134
134
  default: boolean;
@@ -183,8 +183,8 @@ declare const ColumnPickerTypes: () => ({
183
183
  testId: string;
184
184
  selected: unknown[];
185
185
  options: Record<string, unknown>[];
186
- minSelections: number;
187
186
  noResultsText: string;
187
+ minSelections: number;
188
188
  searchAutoFocus: boolean;
189
189
  searchPlaceholder: string;
190
190
  headerText: string;
@@ -232,14 +232,14 @@ declare const ColumnPickerTypes: () => ({
232
232
  required: true;
233
233
  default: () => any[];
234
234
  };
235
- minSelections: {
236
- type: import("vue").PropType<number>;
237
- default: number;
238
- };
239
235
  noResultsText: {
240
236
  type: import("vue").PropType<string>;
241
237
  default: string;
242
238
  };
239
+ minSelections: {
240
+ type: import("vue").PropType<number>;
241
+ default: number;
242
+ };
243
243
  searchAutoFocus: {
244
244
  type: import("vue").PropType<boolean>;
245
245
  default: boolean;
@@ -307,14 +307,14 @@ declare const ColumnPickerTypes: () => ({
307
307
  required: true;
308
308
  default: () => any[];
309
309
  };
310
- minSelections: {
311
- type: import("vue").PropType<number>;
312
- default: number;
313
- };
314
310
  noResultsText: {
315
311
  type: import("vue").PropType<string>;
316
312
  default: string;
317
313
  };
314
+ minSelections: {
315
+ type: import("vue").PropType<number>;
316
+ default: number;
317
+ };
318
318
  searchAutoFocus: {
319
319
  type: import("vue").PropType<boolean>;
320
320
  default: boolean;
@@ -369,8 +369,8 @@ declare const ColumnPickerTypes: () => ({
369
369
  testId: string;
370
370
  selected: unknown[];
371
371
  options: Record<string, unknown>[];
372
- minSelections: number;
373
372
  noResultsText: string;
373
+ minSelections: number;
374
374
  searchAutoFocus: boolean;
375
375
  searchPlaceholder: string;
376
376
  headerText: string;
@@ -1,7 +1,7 @@
1
1
  import e from "./DatePickerV4.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-bb0041c1"]]);
3
+ // import "../../../DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-39e6c10c"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css"; import { defineComponent as g, openBlock as r, createElementBlock as i, unref as e, createElementVNode as D, renderSlot as v, createVNode as n, normalizeClass as I, createCommentVNode as P } from "vue";
1
+ import "../../../DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css"; import { defineComponent as g, openBlock as r, createElementBlock as i, unref as e, createElementVNode as D, renderSlot as v, createVNode as n, normalizeClass as I, createCommentVNode as P } from "vue";
2
2
  import y from "./DatePickerMonthV4.vue.js";
3
3
  import { DatePickerTestIdModifiers as m } from "../../../testids/index.js";
4
4
  import { dataPickerCommon as h } from "../common/DatePicker.common.js";
@@ -1,7 +1,7 @@
1
- import o from "./CalendarMonthV4.vue2.js";
2
- /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../CalendarMonthV4.vue_vue_type_style_index_0_scoped_73af6757_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-73af6757"]]);
1
+ import e from "./CalendarMonthV4.vue2.js";
2
+ /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-6eae923a"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../CalendarMonthV4.vue_vue_type_style_index_0_scoped_73af6757_lang.css"; import { defineComponent as V, openBlock as n, createElementBlock as l, unref as t, createElementVNode as s, createBlock as c, createCommentVNode as D, createVNode as E, withCtx as m, createTextVNode as v, toDisplayString as o, Fragment as f, renderList as $, normalizeClass as C } from "vue";
1
+ import "../../../CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css"; import { defineComponent as V, openBlock as n, createElementBlock as l, unref as t, createElementVNode as s, createBlock as c, createCommentVNode as D, createVNode as E, withCtx as m, createTextVNode as v, toDisplayString as o, Fragment as f, renderList as $, normalizeClass as C } from "vue";
2
2
  import { navigatePrev as I, navigateNext as A } from "../common/consts.common.js";
3
3
  import { calendarMonthCommon as B } from "../common/CalendarMonth.common.js";
4
4
  import "../../button/v4/ButtonV4.vue.js";
@@ -1,7 +1,7 @@
1
1
  import e from "./DateRangeV4.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_5545bc01_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-5545bc01"]]);
3
+ // import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css"; //*');
4
+ const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-bb44cdf8"]]);
5
5
  export {
6
6
  a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_5545bc01_lang.css"; import { defineComponent as Q, watch as X, openBlock as n, createElementBlock as i, unref as e, normalizeClass as r, createElementVNode as d, renderSlot as x, createVNode as s, withDirectives as v, Fragment as k, renderList as C, withCtx as o, createTextVNode as m, toDisplayString as g, createCommentVNode as A, vShow as $, normalizeStyle as Z, setBlockTracking as E } from "vue";
1
+ import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css"; import { defineComponent as Q, watch as X, openBlock as n, createElementBlock as i, unref as e, normalizeClass as r, createElementVNode as d, renderSlot as x, createVNode as s, withDirectives as v, Fragment as k, renderList as C, withCtx as l, createTextVNode as m, toDisplayString as g, createCommentVNode as A, vShow as $, normalizeStyle as Z, setBlockTracking as E } from "vue";
2
2
  import _ from "./CalendarMonthV4.vue.js";
3
3
  import { typeToName as ee, messagePerType as te } from "../common/consts.common.js";
4
4
  import R from "../../button/v4/ButtonV4.vue.js";
@@ -15,10 +15,10 @@ import ae from "../../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
15
15
  import "../../dropdown/v4/TreeDropdown.vue.js";
16
16
  import "../../dropdown/v4/OptionV4.vue.js";
17
17
  import "../../dropdown/v4/ConditionalDropdown.vue.js";
18
- import { DateRangeTestIdModifiers as l, DatePickerTestIdModifiers as de } from "../../../testids/index.js";
18
+ import { DateRangeTestIdModifiers as o, DatePickerTestIdModifiers as de } from "../../../testids/index.js";
19
19
  import { dateRangeCommon as ne } from "../common/DateRange.common.js";
20
20
  import p from "../../typography/v4/Typography.vue.js";
21
- const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid"], oe = {
21
+ const ie = ["id", "data-testid"], se = ["data-testid"], oe = ["id", "data-testid"], le = {
22
22
  key: 0,
23
23
  class: "type-picker"
24
24
  }, re = ["onClick"], ue = ["data-testid"], ce = ["id"], me = ["id"], pe = ["onClick"], ye = { class: "dropdown-rightTriangle" }, ge = ["data-testid"], fe = { class: "date-picker-calendar left-box" }, he = { class: "buttons-cover" }, ve = { class: "range" }, ke = { class: "text-container" }, ze = /* @__PURE__ */ Q({
@@ -66,8 +66,8 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
66
66
  isOpen: h,
67
67
  popup: G,
68
68
  currentMonths: y,
69
- displayedMonthsKeys: D,
70
- changeType: b,
69
+ displayedMonthsKeys: b,
70
+ changeType: D,
71
71
  presetChanged: K,
72
72
  apply: W,
73
73
  getNavigation: Y,
@@ -79,18 +79,18 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
79
79
  return X(
80
80
  () => w.datePresetList,
81
81
  () => {
82
- b("date", !1);
82
+ D("date", !1);
83
83
  }
84
84
  ), (N, u) => (n(), i("div", {
85
85
  id: e(S),
86
86
  ref_key: "datePicker",
87
87
  ref: B,
88
88
  class: r(["relative-wrap", { "date-range-disabled": t.disabled }]),
89
- "data-testid": `${t.testId}-${e(l).WRAPPER}`
89
+ "data-testid": `${t.testId}-${e(o).WRAPPER}`
90
90
  }, [
91
91
  d("div", {
92
92
  class: "date-range-field",
93
- "data-testid": `${t.testId}-${e(l).TRIGGER}`,
93
+ "data-testid": `${t.testId}-${e(o).TRIGGER}`,
94
94
  onClick: u[0] || (u[0] = (a) => e(P)())
95
95
  }, [
96
96
  x(N.$slots, "field", {
@@ -115,16 +115,16 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
115
115
  t.openOnTop ? "open-on-top" : "",
116
116
  t.showPresets ? "" : "hide-presets"
117
117
  ]]),
118
- "data-testid": `${t.testId}-${e(l).CONTAINER}`
118
+ "data-testid": `${t.testId}-${e(o).CONTAINER}`
119
119
  }, [
120
- t.types.length > 1 ? (n(), i("div", oe, [
120
+ t.types.length > 1 ? (n(), i("div", le, [
121
121
  (n(!0), i(k, null, C(t.types, (a) => (n(), i("span", {
122
122
  key: a,
123
123
  class: r(["range-type", { "selected-range-type": e(f) === a }]),
124
- onClick: (c) => e(b)(a, !0)
124
+ onClick: (c) => e(D)(a, !0)
125
125
  }, [
126
126
  s(e(p), { variant: "h1" }, {
127
- default: o(() => [
127
+ default: l(() => [
128
128
  m(g(e(ee)[a]), 1)
129
129
  ]),
130
130
  _: 2
@@ -137,7 +137,7 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
137
137
  t.showPresets ? (n(), i("div", {
138
138
  key: 0,
139
139
  class: "date-picker-menu",
140
- "data-testid": `${t.testId}-${e(l).MENU}`
140
+ "data-testid": `${t.testId}-${e(o).MENU}`
141
141
  }, [
142
142
  d("div", {
143
143
  id: "presets" + t.uniqueId,
@@ -152,15 +152,16 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
152
152
  "selected-preset-container": e(I) === a.id
153
153
  })
154
154
  }, [
155
- d("div", {
155
+ d("button", {
156
+ type: "button",
156
157
  class: r([{ "selected-preset": e(I) === a.id }, "preset-element"]),
157
158
  onClick: (c) => e(K)(a)
158
159
  }, [
159
160
  s(e(p), {
160
161
  variant: "body2",
161
- "data-testid": `${t.testId}-${e(l).MENU}-${a.id}`
162
+ "data-testid": `${t.testId}-${e(o).MENU}-${a.id}`
162
163
  }, {
163
- default: o(() => [
164
+ default: l(() => [
164
165
  m(g(a.name), 1)
165
166
  ]),
166
167
  _: 2
@@ -174,7 +175,7 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
174
175
  ], 8, ce),
175
176
  d("div", {
176
177
  class: "type-message",
177
- "data-testid": `${t.testId}-${e(l).MESSAGE}`
178
+ "data-testid": `${t.testId}-${e(o).MESSAGE}`
178
179
  }, g(e(te)[e(f)]), 9, ge)
179
180
  ], 8, ue)) : A("", !0),
180
181
  d("div", {
@@ -182,12 +183,12 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
182
183
  style: Z({ height: e(J) ? "336px" : "372px" })
183
184
  }, [
184
185
  d("div", fe, [
185
- (n(!0), i(k, null, C(e(D), (a, c) => (n(), i("div", { key: a }, [
186
+ (n(!0), i(k, null, C(e(b), (a, c) => (n(), i("div", { key: a }, [
186
187
  s(_, {
187
188
  id: t.uniqueId,
188
189
  navigation: e(Y)(
189
190
  c === 0,
190
- c === e(D).length - 1
191
+ c === e(b).length - 1
191
192
  ),
192
193
  year: e(y)[a].parsedMonth.year,
193
194
  days: e(y)[a].parsedMonth.days,
@@ -209,7 +210,7 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
209
210
  ]),
210
211
  d("div", ke, [
211
212
  s(e(p), { variant: "body2" }, {
212
- default: o(() => [
213
+ default: l(() => [
213
214
  m("All dates are in UTC")
214
215
  ]),
215
216
  _: 1
@@ -224,12 +225,12 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
224
225
  size: "small",
225
226
  class: "button",
226
227
  color: "primary",
227
- "data-testid": `${t.testId}-${e(l).ACTION_APPLY}`,
228
+ "data-testid": `${t.testId}-${e(o).ACTION_APPLY}`,
228
229
  onClick: (a) => e(W)()
229
230
  }, {
230
- default: o(() => [
231
+ default: l(() => [
231
232
  s(e(p), { variant: "button" }, {
232
- default: o(() => [
233
+ default: l(() => [
233
234
  m("Apply")
234
235
  ]),
235
236
  _: 1
@@ -244,12 +245,12 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
244
245
  color: "default",
245
246
  variant: "outlined",
246
247
  class: "button",
247
- "data-testid": `${t.testId}-${e(l).ACTION_CANCEL}`,
248
+ "data-testid": `${t.testId}-${e(o).ACTION_CANCEL}`,
248
249
  onClick: (a) => e(P)()
249
250
  }, {
250
- default: o(() => [
251
+ default: l(() => [
251
252
  s(e(p), { variant: "button" }, {
252
- default: o(() => [
253
+ default: l(() => [
253
254
  m(" Cancel ")
254
255
  ]),
255
256
  _: 1
@@ -262,7 +263,7 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
262
263
  ])
263
264
  ], 4)
264
265
  ], 2)
265
- ], 10, le), [
266
+ ], 10, oe), [
266
267
  [$, e(h)]
267
268
  ])
268
269
  ], 10, ie));