@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
@@ -1,40 +1,41 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_62a620ee_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ce, computed as H, openBlock as i, createElementBlock as a, mergeProps as c, unref as t, renderSlot as b, createElementVNode as m, createVNode as n, withCtx as u, Transition as ye, normalizeClass as K, normalizeStyle as fe, isRef as me, createCommentVNode as r, createTextVNode as p, toDisplayString as G, withModifiers as U, Fragment as pe, renderList as ge, toRaw as w, createBlock as W, resolveDynamicComponent as Te } from "vue";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_360883b1_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ce, computed as G, openBlock as i, createElementBlock as a, mergeProps as c, unref as t, renderSlot as T, createElementVNode as m, createVNode as n, withCtx as s, Transition as ye, normalizeClass as K, normalizeStyle as fe, createTextVNode as p, createCommentVNode as d, isRef as me, toDisplayString as U, withModifiers as W, Fragment as pe, renderList as ge, toRaw as I, createBlock as M, resolveDynamicComponent as Te } from "vue";
2
2
  import L from "../../button/v4/ButtonV4.vue.js";
3
3
  import "../../button/v4/IconButtonV4.vue.js";
4
4
  import "../../button/v4/ButtonGroup.vue.js";
5
+ import "../../button/v4/ToggleButtonGroupAB.vue.js";
5
6
  import "./DropdownV4.vue.js";
6
7
  import ke from "./DefaultDropdownTrigger.vue.js";
7
8
  import be from "./IconButtonDropdownTrigger.vue.js";
8
9
  import he from "./ChipDropdownTrigger.vue.js";
9
- import Ie from "./AppDropdownTrigger.vue.js";
10
+ import we from "./AppDropdownTrigger.vue.js";
10
11
  import "./ButtonDropdownTrigger.vue.js";
11
12
  import "./ButtonFilterDropdownTrigger.vue.js";
12
13
  import "./TreeDropdown.vue.js";
13
- import M from "./OptionV4.vue.js";
14
- import we from "../../search/v4/SearchV4.vue.js";
15
- import X from "../../typography/v4/Typography.vue.js";
14
+ import X from "./OptionV4.vue.js";
15
+ import Ie from "../../search/v4/SearchV4.vue.js";
16
+ import O from "../../typography/v4/Typography.vue.js";
16
17
  import { Dropdown as ve } from "floating-vue";
17
18
  import { DropdownTestIdModifiers as y } from "../../../testids/index.js";
18
19
  import { dropdownCommon as Ce } from "../common/Dropdown.common.js";
19
20
  import Se from "../../loader/v4/Loader.vue.js";
20
21
  import { useTestIdAttrs as Ae } from "../../../utils/testIds.js";
21
- import { TRIGGERS as g } from "./Dropdown.types.js";
22
+ import { TRIGGERS as k } from "./Dropdown.types.js";
22
23
  import { useElementSize as Ke } from "@vueuse/core";
23
24
  import Le from "../../shared/FieldHelpText.vue.js";
24
25
  import Oe from "./GroupOption.vue.js";
25
26
  const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve = { key: 1 }, Fe = { key: 2 }, De = {
26
27
  key: 0,
27
28
  class: "inline-search-wrapper"
28
- }, Pe = {
29
+ }, Pe = { class: "dropdown-conditions" }, Re = {
29
30
  key: 0,
30
31
  class: "no-result-container"
31
- }, Re = {
32
+ }, ze = {
32
33
  key: 1,
33
34
  class: "loader"
34
- }, ze = { key: 2 }, xe = ["aria-selected", "aria-disabled", "onClick"], $e = {
35
+ }, xe = { key: 2 }, $e = ["aria-selected", "aria-disabled", "onClick"], He = {
35
36
  key: 1,
36
37
  class: "actions-wrapper"
37
- }, He = { class: "actions-clear-all" }, Ge = { class: "actions-apply-cancel" }, mt = /* @__PURE__ */ ce({
38
+ }, Ge = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" }, gt = /* @__PURE__ */ ce({
38
39
  __name: "DropdownV4",
39
40
  props: {
40
41
  modelValue: { default: null },
@@ -66,7 +67,7 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
66
67
  triggerShowAllSelectedText: { type: Boolean, default: !0 },
67
68
  size: { default: "medium" },
68
69
  mandatory: { type: Boolean, default: !1 },
69
- predefinedTrigger: { default: g.DEFAULT },
70
+ predefinedTrigger: { default: k.DEFAULT },
70
71
  inlineSearch: { type: Boolean, default: !1 },
71
72
  inlineSearchPlaceholder: { default: "Search" },
72
73
  onSearch: { type: Function, default: null },
@@ -90,11 +91,12 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
90
91
  optionsListWidth: { default: null },
91
92
  statusType: { default: null },
92
93
  disableVirtualScroll: { type: Boolean, default: !1 },
93
- overrideOptionCountCalculation: { type: Function, default: null }
94
+ overrideOptionCountCalculation: { type: Function, default: null },
95
+ withConditions: { type: Boolean, default: !1 }
94
96
  },
95
97
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch"],
96
- setup(e, { expose: q, emit: O }) {
97
- const d = e, E = {
98
+ setup(e, { expose: q, emit: E }) {
99
+ const r = e, B = {
98
100
  MULTILINE_LIST_HEIGHT: 48,
99
101
  LIST_HEIGHT: 32 + 4,
100
102
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -103,42 +105,42 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
103
105
  VERSION: 4
104
106
  }, {
105
107
  onKeydown: h,
106
- open: s,
108
+ open: u,
107
109
  toggleMenu: v,
108
- onButtonKeydown: B,
110
+ onButtonKeydown: N,
109
111
  query: C,
110
112
  containerProps: Y,
111
113
  calculateTableHeight: j,
112
114
  wrapperProps: J,
113
115
  filteredOptions: Q,
114
- allSelected: N,
116
+ allSelected: V,
115
117
  isIndeterminate: Z,
116
118
  onSelectAll: _,
117
- virtualOptions: V,
119
+ virtualOptions: F,
118
120
  isSelected: S,
119
- selectedOption: T,
121
+ selectedOption: b,
120
122
  selectedOptionPrevious: A,
121
123
  selectedValue: ee,
122
- onSelect: F,
123
- activeIndex: D,
124
+ onSelect: D,
125
+ activeIndex: P,
124
126
  onCancel: te,
125
127
  onApply: oe,
126
128
  scrollTo: le,
127
129
  listRef: ie,
128
- buttonRef: P,
130
+ buttonRef: R,
129
131
  apply: ne,
130
132
  cancel: ae,
131
133
  el: de,
132
- onClearAllSelections: R,
134
+ onClearAllSelections: z,
133
135
  clearAll: re,
134
136
  isGroup: se
135
- } = Ce(d, O, E), f = Ae(d.testId, y), z = H(() => !d.predefinedTrigger || d.predefinedTrigger === g.DEFAULT ? ke : d.predefinedTrigger === g.APP ? Ie : null), { width: x } = Ke(P), ue = H(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === g.DEFAULT || d.predefinedTrigger === g.APP ? x.value - 2 > 240 ? `${x.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), $ = () => {
137
+ } = Ce(r, E, B), f = Ae(r.testId, y), x = G(() => !r.predefinedTrigger || r.predefinedTrigger === k.DEFAULT ? ke : r.predefinedTrigger === k.APP ? we : null), { width: $ } = Ke(R), ue = G(() => r.optionsListWidth ? r.optionsListWidth : !r.predefinedTrigger || r.predefinedTrigger === k.DEFAULT || r.predefinedTrigger === k.APP ? $.value - 2 > 240 ? `${$.value - 2}px` : `${B.DROPLIST_MIN_WIDTH}px` : "auto"), H = () => {
136
138
  v();
137
139
  };
138
140
  return q({
139
- selectItem: F,
141
+ selectItem: D,
140
142
  scrollTo: le
141
- }), (k, l) => (i(), a("div", c({
143
+ }), (g, l) => (i(), a("div", c({
142
144
  ref_key: "el",
143
145
  ref: de,
144
146
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
@@ -147,7 +149,7 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
147
149
  onKeydown: l[8] || (l[8] = //@ts-ignore
148
150
  (...o) => t(h) && t(h)(...o))
149
151
  }), [
150
- b(k.$slots, "label", {}, void 0, !0),
152
+ T(g.$slots, "label", {}, void 0, !0),
151
153
  m("div", Be, [
152
154
  n(t(ve), c({
153
155
  theme: e.theme,
@@ -162,15 +164,15 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
162
164
  distance: e.distance,
163
165
  flip: e.flip,
164
166
  triggers: [],
165
- shown: !!t(s),
167
+ shown: !!t(u),
166
168
  "auto-hide": !1,
167
169
  container: e.container,
168
170
  "auto-size": e.autoSize
169
171
  }, t(f)[t(y).TRIGGER]), {
170
- popper: u(() => [
172
+ popper: s(() => [
171
173
  n(ye, null, {
172
- default: u(() => [
173
- t(s) ? (i(), a("div", {
174
+ default: s(() => [
175
+ t(u) ? (i(), a("div", {
174
176
  key: 0,
175
177
  ref_key: "listRef",
176
178
  ref: ie,
@@ -180,15 +182,25 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
180
182
  }]),
181
183
  style: fe({ width: t(ue) })
182
184
  }, [
183
- t(s) ? (i(), a("div", {
185
+ t(u) ? (i(), a("div", {
184
186
  key: 0,
185
187
  class: K(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
186
188
  onKeydown: l[7] || (l[7] = //@ts-ignore
187
189
  (...o) => t(h) && t(h)(...o))
188
190
  }, [
189
- t(s) && e.inlineSearch ? (i(), a("div", De, [
190
- b(k.$slots, "inline-search", {}, () => [
191
- n(t(we), {
191
+ t(u) && (e.inlineSearch || e.withConditions) ? (i(), a("div", De, [
192
+ e.withConditions ? T(g.$slots, "dropdown-conditions", { key: 0 }, () => [
193
+ m("div", Pe, [
194
+ n(t(O), { variant: "body2" }, {
195
+ default: s(() => [
196
+ p("Conditions")
197
+ ]),
198
+ _: 1
199
+ })
200
+ ])
201
+ ], !0) : d("", !0),
202
+ T(g.$slots, "inline-search", {}, () => [
203
+ n(t(Ie), {
192
204
  modelValue: t(C),
193
205
  "onUpdate:modelValue": [
194
206
  l[4] || (l[4] = (o) => me(C) ? C.value = o : null),
@@ -202,8 +214,8 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
202
214
  onKeydown: t(h)
203
215
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
204
216
  ], !0)
205
- ])) : r("", !0),
206
- b(k.$slots, "input-list", { open: t(s) }, void 0, !0),
217
+ ])) : d("", !0),
218
+ T(g.$slots, "input-list", { open: t(u) }, void 0, !0),
207
219
  m("div", c({
208
220
  class: ["list-container", { "list-container--multi": e.multi }],
209
221
  style: { height: `${t(j)}rem` }
@@ -215,69 +227,69 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
215
227
  role: "listbox",
216
228
  class: ["list", { "list--multi": e.multi }]
217
229
  }), [
218
- !t(Q).length && !e.loading ? (i(), a("li", Pe, [
219
- n(t(X), c({ variant: "body2" }, t(f)[t(y).NO_RESULT]), {
220
- default: u(() => [
221
- p(G(e.noResultsText), 1)
230
+ !t(Q).length && !e.loading ? (i(), a("li", Re, [
231
+ n(t(O), c({ variant: "body2" }, t(f)[t(y).NO_RESULT]), {
232
+ default: s(() => [
233
+ p(U(e.noResultsText), 1)
222
234
  ]),
223
235
  _: 1
224
236
  }, 16)
225
- ])) : r("", !0),
226
- e.loading ? (i(), a("li", Re, [
237
+ ])) : d("", !0),
238
+ e.loading ? (i(), a("li", ze, [
227
239
  n(t(Se)),
228
- n(t(X), null, {
229
- default: u(() => [
240
+ n(t(O), null, {
241
+ default: s(() => [
230
242
  p("Loading...")
231
243
  ]),
232
244
  _: 1
233
245
  })
234
- ])) : r("", !0),
235
- e.showSelectAll !== !1 && e.multi && !t(C) ? (i(), a("li", ze, [
236
- n(t(M), c(
246
+ ])) : d("", !0),
247
+ e.showSelectAll !== !1 && e.multi && !t(C) ? (i(), a("li", xe, [
248
+ n(t(X), c(
237
249
  {
238
- "aria-selected": t(N),
250
+ "aria-selected": t(V),
239
251
  "aria-disabled": !!e.disabled,
240
- "selected-prop": t(N),
252
+ "selected-prop": t(V),
241
253
  "is-indeterminate": t(Z),
242
254
  "select-all-option": ""
243
255
  },
244
256
  t(f)[t(y).SELECT_ALL],
245
257
  {
246
- onClick: l[5] || (l[5] = U((o) => t(_)(), ["stop"]))
258
+ onClick: l[5] || (l[5] = W((o) => t(_)(), ["stop"]))
247
259
  }
248
260
  ), {
249
- default: u(() => [
250
- p("Select all ")
261
+ default: s(() => [
262
+ p(" Select all ")
251
263
  ]),
252
264
  _: 1
253
265
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
254
- ])) : r("", !0),
255
- t(V).length && !e.loading ? (i(!0), a(pe, { key: 3 }, ge(t(V), ({ data: o, index: I }) => (i(), a("li", {
256
- key: I,
257
- "aria-selected": t(S)(w(t(T)), o),
266
+ ])) : d("", !0),
267
+ t(F).length && !e.loading ? (i(!0), a(pe, { key: 3 }, ge(t(F), ({ data: o, index: w }) => (i(), a("li", {
268
+ key: w,
269
+ "aria-selected": t(S)(I(t(b)), o),
258
270
  "aria-disabled": !!e.disabled,
259
- onClick: U(() => t(F)(o, I), ["stop"])
271
+ onClick: W(() => t(D)(o, w), ["stop"])
260
272
  }, [
261
- e.groupedOptions && t(se)(o) ? b(k.$slots, "group-option", { key: 0 }, () => [
273
+ e.groupedOptions && t(se)(o) ? T(g.$slots, "group-option", { key: 0 }, () => [
262
274
  n(Oe, null, {
263
- default: u(() => [
264
- p(G(e.displayValue(o) || o[e.optionNameKey]), 1)
275
+ default: s(() => [
276
+ p(U(e.displayValue(o) || o[e.optionNameKey]), 1)
265
277
  ]),
266
278
  _: 2
267
279
  }, 1024)
268
- ], !0) : b(k.$slots, "default", {
280
+ ], !0) : T(g.$slots, "default", {
269
281
  key: 1,
270
282
  option: o,
271
- index: I,
272
- selected: t(S)(w(t(T)), o),
273
- active: w(t(D)) === I,
274
- disabled: o[d.disabledOptionKey]
283
+ index: w,
284
+ selected: t(S)(I(t(b)), o),
285
+ active: I(t(P)) === w,
286
+ disabled: o[r.disabledOptionKey]
275
287
  }, () => [
276
- n(t(M), {
288
+ n(t(X), {
277
289
  option: o,
278
- "selected-prop": t(S)(w(t(T)), o),
279
- active: w(t(D)) === I,
280
- disabled: o[d.disabledOptionKey],
290
+ "selected-prop": t(S)(I(t(b)), o),
291
+ active: I(t(P)) === w,
292
+ disabled: o[r.disabledOptionKey],
281
293
  "name-key": e.optionNameKey,
282
294
  "image-key": e.optionImageKey,
283
295
  "icon-key": e.optionIconKey,
@@ -288,11 +300,11 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
288
300
  "option-two-lines-key": e.optionTwoLinesKey
289
301
  }, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "option-two-lines-variant", "option-two-lines-key"])
290
302
  ], !0)
291
- ], 8, xe))), 128)) : r("", !0)
303
+ ], 8, $e))), 128)) : d("", !0)
292
304
  ], 16)
293
305
  ], 16),
294
- e.multi ? (i(), a("div", $e, [
295
- m("div", He, [
306
+ e.multi ? (i(), a("div", He, [
307
+ m("div", Ge, [
296
308
  n(t(L), c(
297
309
  {
298
310
  ref_key: "clearAll",
@@ -303,16 +315,16 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
303
315
  },
304
316
  t(f)[t(y).ACTION_CLEAR_ALL],
305
317
  {
306
- onClick: l[6] || (l[6] = () => t(R)(!1))
318
+ onClick: l[6] || (l[6] = () => t(z)(!1))
307
319
  }
308
320
  ), {
309
- default: u(() => [
321
+ default: s(() => [
310
322
  p(" Clear all ")
311
323
  ]),
312
324
  _: 1
313
325
  }, 16)
314
326
  ]),
315
- m("div", Ge, [
327
+ m("div", Ue, [
316
328
  n(t(L), c(
317
329
  {
318
330
  ref_key: "cancel",
@@ -324,7 +336,7 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
324
336
  t(f)[t(y).ACTION_CANCEL],
325
337
  { onClick: t(te) }
326
338
  ), {
327
- default: u(() => [
339
+ default: s(() => [
328
340
  p(" Cancel ")
329
341
  ]),
330
342
  _: 1
@@ -336,48 +348,48 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
336
348
  size: "small",
337
349
  class: "apply-button"
338
350
  }, t(f)[t(y).ACTION_APPLY], { onClick: t(oe) }), {
339
- default: u(() => [
340
- p("Apply ")
351
+ default: s(() => [
352
+ p(" Apply ")
341
353
  ]),
342
354
  _: 1
343
355
  }, 16, ["onClick"])
344
356
  ])
345
- ])) : r("", !0)
346
- ], 34)) : r("", !0)
347
- ], 6)) : r("", !0)
357
+ ])) : d("", !0)
358
+ ], 34)) : d("", !0)
359
+ ], 6)) : d("", !0)
348
360
  ]),
349
361
  _: 3
350
362
  })
351
363
  ]),
352
- default: u(() => [
364
+ default: s(() => [
353
365
  m("div", {
354
366
  class: K(["button__container", {
355
- "button__container--open": !!t(s),
367
+ "button__container--open": !!t(u),
356
368
  [`button__container--${e.size}`]: !0,
357
369
  "button__container--disabled": e.disabled
358
370
  }])
359
371
  }, [
360
372
  m("div", {
361
373
  ref_key: "buttonRef",
362
- ref: P
374
+ ref: R
363
375
  }, [
364
- b(k.$slots, "dropdown-trigger", {
376
+ T(g.$slots, "dropdown-trigger", {
365
377
  buttonTriggerProps: {
366
- open: t(s),
378
+ open: t(u),
367
379
  disabled: e.disabled,
368
380
  label: t(ee) || e.placeholder,
369
381
  onClick: () => t(v)()
370
382
  },
371
383
  defaultTriggerProps: {
372
384
  placeholder: e.placeholder,
373
- open: t(s),
385
+ open: t(u),
374
386
  label: e.triggerLabel,
375
387
  showFeedbackIcon: e.triggerFeedbackShowIcon,
376
388
  mandatory: e.mandatory,
377
389
  testId: e.testId,
378
390
  multi: e.multi,
379
391
  disabled: e.disabled,
380
- selectedOption: e.multi ? t(A) : t(T),
392
+ selectedOption: e.multi ? t(A) : t(b),
381
393
  displayValue: e.displayValue,
382
394
  options: e.options,
383
395
  optionNameKey: e.optionNameKey,
@@ -391,21 +403,21 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
391
403
  statusDotType: e.statusType,
392
404
  size: e.size,
393
405
  showAllSelectedText: e.triggerShowAllSelectedText,
394
- onKeydown: t(B),
395
- onClick: $
406
+ onKeydown: t(N),
407
+ onClick: H
396
408
  }
397
409
  }, () => [
398
- t(z) ? (i(), a("div", Ne, [
399
- (i(), W(Te(t(z)), {
410
+ t(x) ? (i(), a("div", Ne, [
411
+ (i(), M(Te(t(x)), {
400
412
  placeholder: e.placeholder,
401
- open: t(s),
413
+ open: t(u),
402
414
  label: e.triggerLabel,
403
415
  "show-feedback-icon": e.triggerFeedbackShowIcon,
404
416
  mandatory: e.mandatory,
405
417
  "test-id": e.testId,
406
418
  multi: e.multi,
407
419
  disabled: e.disabled,
408
- "selected-option": e.multi ? t(A) : t(T),
420
+ "selected-option": e.multi ? t(A) : t(b),
409
421
  "display-value": e.displayValue,
410
422
  options: e.options,
411
423
  "option-name-key": e.optionNameKey,
@@ -419,47 +431,47 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
419
431
  "status-dot-type": e.statusType,
420
432
  size: e.size,
421
433
  "show-all-selected-text": e.triggerShowAllSelectedText,
422
- onKeydown: t(B),
423
- onClick: $,
424
- onCopyToClipboard: l[0] || (l[0] = (o) => O("copyToClipboard"))
434
+ onKeydown: t(N),
435
+ onClick: H,
436
+ onCopyToClipboard: l[0] || (l[0] = (o) => E("copyToClipboard"))
425
437
  }, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "option-end-icon-key", "option-end-icon-type", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "onKeydown"]))
426
- ])) : r("", !0),
427
- e.predefinedTrigger === t(g).ICON_BUTTON ? (i(), a("div", Ve, [
438
+ ])) : d("", !0),
439
+ e.predefinedTrigger === t(k).ICON_BUTTON ? (i(), a("div", Ve, [
428
440
  n(t(be), {
429
441
  onClick: l[1] || (l[1] = (o) => t(v)())
430
442
  })
431
- ])) : r("", !0),
432
- e.predefinedTrigger === t(g).CHIP ? (i(), a("div", Fe, [
443
+ ])) : d("", !0),
444
+ e.predefinedTrigger === t(k).CHIP ? (i(), a("div", Fe, [
433
445
  n(t(he), {
434
- open: t(s),
446
+ open: t(u),
435
447
  label: e.placeholder,
436
448
  "test-id": e.testId,
437
449
  options: e.options,
438
- "selected-option": e.multi ? t(A) : t(T),
450
+ "selected-option": e.multi ? t(A) : t(b),
439
451
  "display-value": e.displayValue,
440
452
  multi: e.multi,
441
453
  onClick: l[2] || (l[2] = (o) => t(v)()),
442
- onClear: l[3] || (l[3] = (o) => t(R)())
454
+ onClear: l[3] || (l[3] = (o) => t(z)())
443
455
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
444
- ])) : r("", !0)
456
+ ])) : d("", !0)
445
457
  ], !0)
446
458
  ], 512)
447
459
  ], 2)
448
460
  ]),
449
461
  _: 3
450
462
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
451
- e.triggerFeedbackText ? (i(), W(Le, {
463
+ e.triggerFeedbackText ? (i(), M(Le, {
452
464
  key: 0,
453
465
  text: e.triggerFeedbackText,
454
466
  variant: e.triggerFeedbackVariant,
455
467
  "show-icon": e.triggerFeedbackShowIcon,
456
468
  "test-id": e.testId,
457
469
  class: "dropdown-field-help-text"
458
- }, null, 8, ["text", "variant", "show-icon", "test-id"])) : r("", !0)
470
+ }, null, 8, ["text", "variant", "show-icon", "test-id"])) : d("", !0)
459
471
  ])
460
472
  ], 16, Ee));
461
473
  }
462
474
  });
463
475
  export {
464
- mt as default
476
+ gt as default
465
477
  };
@@ -2,19 +2,20 @@
2
2
  import "../../button/v4/ButtonV4.vue.js";
3
3
  import m from "../../button/v4/IconButtonV4.vue.js";
4
4
  import "../../button/v4/ButtonGroup.vue.js";
5
- const l = /* @__PURE__ */ e({
5
+ import "../../button/v4/ToggleButtonGroupAB.vue.js";
6
+ const _ = /* @__PURE__ */ e({
6
7
  __name: "IconButtonDropdownTrigger",
7
8
  props: {
8
9
  testId: { default: "" }
9
10
  },
10
11
  setup(o) {
11
12
  const t = o;
12
- return (s, u) => (r(), n(p(m), c({
13
+ return (s, i) => (r(), n(p(m), c({
13
14
  "icon-name": "dots-three",
14
15
  type: "bold"
15
16
  }, t), null, 16));
16
17
  }
17
18
  });
18
19
  export {
19
- l as default
20
+ _ as default
20
21
  };
@@ -19,6 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
19
19
  optionTwoLinesVariant?: "horizontal" | "vertical";
20
20
  optionTwoLinesKey?: string;
21
21
  treeChildShown?: boolean;
22
+ optionFlagKey?: string;
22
23
  }>, {
23
24
  subtitle: string;
24
25
  disabled: boolean;
@@ -39,6 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
40
  optionTwoLinesVariant: any;
40
41
  optionTwoLinesKey: any;
41
42
  treeChildShown: boolean;
43
+ optionFlagKey: any;
42
44
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
45
  toggleTreeCollapse: (option: unknown) => void;
44
46
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -62,6 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
62
64
  optionTwoLinesVariant?: "horizontal" | "vertical";
63
65
  optionTwoLinesKey?: string;
64
66
  treeChildShown?: boolean;
67
+ optionFlagKey?: string;
65
68
  }>, {
66
69
  subtitle: string;
67
70
  disabled: boolean;
@@ -82,6 +85,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
82
85
  optionTwoLinesVariant: any;
83
86
  optionTwoLinesKey: any;
84
87
  treeChildShown: boolean;
88
+ optionFlagKey: any;
85
89
  }>>> & {
86
90
  onToggleTreeCollapse?: (option: unknown) => any;
87
91
  }, {
@@ -92,6 +96,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
92
96
  optionTwoLinesVariant: "horizontal" | "vertical";
93
97
  optionTwoLinesKey: string;
94
98
  isIndeterminate: boolean;
99
+ optionFlagKey: string;
95
100
  subtitle: string;
96
101
  selectAllOption: boolean;
97
102
  nameKey: string;
@@ -106,6 +111,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
106
111
  treeChildShown: boolean;
107
112
  }>, {
108
113
  image?(_: {}): any;
114
+ flag?(_: {}): any;
109
115
  "icon-start"?(_: {}): any;
110
116
  default?(_: {}): any;
111
117
  "icon-end"?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./OptionV4.vue2.js";
2
- /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css"; //*');
4
- const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-77509f61"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_058de532_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-058de532"]]);
5
5
  export {
6
6
  s as default
7
7
  };