@ironsource/shared-ui 2.1.9-test.0 → 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 (106) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +1 -0
  2. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +1 -0
  3. package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +1 -0
  4. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_9fa84b26_lang.css +1 -0
  5. package/DropdownV4.vue_vue_type_style_index_0_scoped_360883b1_lang.css +1 -0
  6. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +1 -0
  7. package/OptionV4.vue_vue_type_style_index_0_scoped_058de532_lang.css +1 -0
  8. package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +1 -0
  9. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +1 -0
  10. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +1 -0
  11. package/components/alert/Alert.vue2.js +3 -2
  12. package/components/autocomplete/Autocomplete.vue.d.ts +1 -1
  13. package/components/autocomplete/index.d.ts +20 -20
  14. package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +65 -0
  15. package/components/button/v4/ToggleButtonGroupAB.vue.js +7 -0
  16. package/components/button/v4/ToggleButtonGroupAB.vue2.js +95 -0
  17. package/components/button/v4/index.d.ts +170 -1
  18. package/components/button/v4/index.js +10 -3
  19. package/components/dateRange/v4/CalendarMonthV4.vue2.js +9 -8
  20. package/components/dateRange/v4/DateRangeV4.vue2.js +21 -20
  21. package/components/dialog/v3/Dialog.vue.d.ts +1 -1
  22. package/components/dialog/v3/index.d.ts +5 -5
  23. package/components/dialog/v4/DialogV4.vue.d.ts +1 -1
  24. package/components/dialog/v4/DialogV4.vue2.js +6 -5
  25. package/components/dialog/v4/index.d.ts +5 -5
  26. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  27. package/components/dropdown/v3/index.d.ts +51 -51
  28. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +17 -11
  29. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  30. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +17 -9
  31. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  32. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
  33. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +23 -22
  34. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +11 -0
  35. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  36. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +59 -45
  37. package/components/dropdown/v4/DropdownV4.vue.d.ts +2 -2
  38. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  39. package/components/dropdown/v4/DropdownV4.vue2.js +6 -5
  40. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +4 -3
  41. package/components/dropdown/v4/OptionV4.vue.d.ts +6 -0
  42. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  43. package/components/dropdown/v4/OptionV4.vue2.js +83 -70
  44. package/components/dropdown/v4/index.d.ts +133 -65
  45. package/components/emptyState/v4/EmptyStateV4.vue2.js +13 -12
  46. package/components/forms/FormCard.vue2.js +13 -12
  47. package/components/includeExclude/index.d.ts +56 -56
  48. package/components/input/v3/Input.vue.d.ts +1 -1
  49. package/components/input/v3/index.d.ts +32 -32
  50. package/components/input/v4/TextField.vue.d.ts +1 -1
  51. package/components/input/v4/index.d.ts +20 -20
  52. package/components/menu/Menu.vue.d.ts +1 -1
  53. package/components/menu/index.d.ts +20 -20
  54. package/components/multibar/MultiBar.vue.d.ts +1 -1
  55. package/components/multibar/MultiBar.vue2.js +3 -2
  56. package/components/multibar/index.d.ts +9 -9
  57. package/components/popover/v3/Popover.vue.d.ts +1 -1
  58. package/components/popover/v3/index.d.ts +20 -20
  59. package/components/popover/v4/PopoverV4.vue.d.ts +7 -3
  60. package/components/popover/v4/PopoverV4.vue.js +3 -3
  61. package/components/popover/v4/PopoverV4.vue2.js +23 -20
  62. package/components/popover/v4/index.d.ts +36 -24
  63. package/components/radioButton/v3/RadioButton.vue.d.ts +1 -1
  64. package/components/radioButton/v3/RadioGroup.vue.d.ts +1 -1
  65. package/components/radioButton/v3/index.d.ts +6 -6
  66. package/components/radioButton/v4/RadioButtonV4.vue.d.ts +6 -1
  67. package/components/radioButton/v4/RadioButtonV4.vue.js +2 -2
  68. package/components/radioButton/v4/RadioButtonV4.vue2.js +59 -46
  69. package/components/radioButton/v4/RadioGroupV4.vue.d.ts +1 -1
  70. package/components/radioButton/v4/index.d.ts +26 -7
  71. package/components/snackbar/v4/SnackbarV4.vue2.js +7 -6
  72. package/components/sortableList/SortableItem.vue.d.ts +1 -1
  73. package/components/switch/v3/index.d.ts +16 -16
  74. package/components/switch/v4/SwitchV4.vue2.js +6 -5
  75. package/components/switch/v4/index.d.ts +8 -8
  76. package/components/table/v4/DataGrid.vue.d.ts +5 -0
  77. package/components/table/v4/DataGrid.vue.js +4 -4
  78. package/components/table/v4/DataGrid.vue2.js +45 -44
  79. package/components/table/v4/ExpandRowToggle.vue2.js +6 -5
  80. package/components/table/v4/MultipleDataGrid.vue.d.ts +23 -2
  81. package/components/table/v4/MultipleDataGrid.vue.js +5 -5
  82. package/components/table/v4/MultipleDataGrid.vue2.js +82 -73
  83. package/components/table/v4/index.d.ts +98 -2
  84. package/components/textArea/v4/TextAreaV4.vue.d.ts +1 -1
  85. package/components/textArea/v4/index.d.ts +9 -9
  86. package/components/toggle/v3/index.d.ts +8 -8
  87. package/components/toggle/v4/index.d.ts +16 -16
  88. package/consts/configs.d.ts +1 -0
  89. package/consts/configs.js +4 -0
  90. package/index.d.ts +1320 -447
  91. package/index.js +1 -1
  92. package/mocks/options.d.ts +4 -0
  93. package/package.json +2 -2
  94. package/testids/index.d.ts +8 -1
  95. package/testids/index.js +14 -13
  96. package/utils/testIds.d.ts +1 -1
  97. package/utils/testIds.js +6 -6
  98. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_23e22560_lang.css +0 -1
  99. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +0 -1
  100. package/DataGrid.vue_vue_type_style_index_0_scoped_d27e1304_lang.css +0 -1
  101. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css +0 -1
  102. package/DropdownV4.vue_vue_type_style_index_0_scoped_119e4bc3_lang.css +0 -1
  103. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_cfedf78b_lang.css +0 -1
  104. package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +0 -1
  105. package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +0 -1
  106. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css +0 -1
@@ -2,11 +2,12 @@
2
2
  import { navigatePrev as I, navigateNext as N } from "../common/consts.common.js";
3
3
  import { calendarMonthCommon as B } from "../common/CalendarMonth.common.js";
4
4
  import "../../button/v4/ButtonV4.vue.js";
5
- import A from "../../button/v4/IconButtonV4.vue.js";
5
+ import p from "../../button/v4/IconButtonV4.vue.js";
6
6
  import "../../button/v4/ButtonGroup.vue.js";
7
+ import "../../button/v4/ToggleButtonGroupAB.vue.js";
7
8
  import y from "../../typography/v4/Typography.vue.js";
8
9
  import { CalendarMonthTestIdModifiers as d } from "../../../testids/index.js";
9
- const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = ["data-testid"], K = /* @__PURE__ */ V({
10
+ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = ["data-testid"], Q = /* @__PURE__ */ V({
10
11
  __name: "CalendarMonthV4",
11
12
  props: {
12
13
  year: null,
@@ -22,8 +23,8 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
22
23
  testId: { default: "" }
23
24
  },
24
25
  emits: ["selectionChanged", "navigation"],
25
- setup(e, { emit: T }) {
26
- const p = e, {
26
+ setup(e, { emit: A }) {
27
+ const T = e, {
27
28
  isEndDay: k,
28
29
  isStartDay: g,
29
30
  navigate: h,
@@ -32,7 +33,7 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
32
33
  dayNames: x,
33
34
  selectedDaysMap: w,
34
35
  inBetweenMap: b
35
- } = B(p, T);
36
+ } = B(T, A);
36
37
  return (O, r) => (n(), l("div", {
37
38
  id: "datepickerCalendar" + e.id,
38
39
  class: "calendar-month",
@@ -41,7 +42,7 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
41
42
  s("span", {
42
43
  onClick: r[0] || (r[0] = (i) => t(h)(t(I)))
43
44
  }, [
44
- e.navigation === t(I) || e.navigation === "all" ? (n(), c(t(A), {
45
+ e.navigation === t(I) || e.navigation === "all" ? (n(), c(t(p), {
45
46
  key: 0,
46
47
  size: "small",
47
48
  class: "previous",
@@ -52,7 +53,7 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
52
53
  s("span", {
53
54
  onClick: r[1] || (r[1] = (i) => t(h)(t(N)))
54
55
  }, [
55
- e.navigation === t(N) || e.navigation === "all" ? (n(), c(t(A), {
56
+ e.navigation === t(N) || e.navigation === "all" ? (n(), c(t(p), {
56
57
  key: 0,
57
58
  class: "next",
58
59
  size: "small",
@@ -129,5 +130,5 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
129
130
  }
130
131
  });
131
132
  export {
132
- K as default
133
+ Q as default
133
134
  };
@@ -1,9 +1,10 @@
1
- import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css"; import { defineComponent as J, openBlock as n, createElementBlock as s, unref as e, normalizeClass as r, createElementVNode as d, renderSlot as N, createVNode as i, withDirectives as v, Fragment as k, renderList as C, withCtx as l, createTextVNode as m, toDisplayString as g, createCommentVNode as P, vShow as $, normalizeStyle as Q, setBlockTracking as x } from "vue";
1
+ import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css"; import { defineComponent as J, openBlock as n, createElementBlock as i, unref as e, normalizeClass as r, createElementVNode as d, renderSlot as N, createVNode as s, withDirectives as v, Fragment as k, renderList as C, withCtx as l, createTextVNode as m, toDisplayString as g, createCommentVNode as P, vShow as $, normalizeStyle as Q, setBlockTracking as x } from "vue";
2
2
  import X from "./CalendarMonthV4.vue.js";
3
3
  import { typeToName as Z, messagePerType as _ } from "../common/consts.common.js";
4
4
  import R from "../../button/v4/ButtonV4.vue.js";
5
5
  import "../../button/v4/IconButtonV4.vue.js";
6
6
  import "../../button/v4/ButtonGroup.vue.js";
7
+ import "../../button/v4/ToggleButtonGroupAB.vue.js";
7
8
  import "../../dropdown/v4/DropdownV4.vue.js";
8
9
  import "../../dropdown/v4/DefaultDropdownTrigger.vue.js";
9
10
  import "../../dropdown/v4/IconButtonDropdownTrigger.vue.js";
@@ -16,10 +17,10 @@ import "../../dropdown/v4/OptionV4.vue.js";
16
17
  import { DateRangeTestIdModifiers as o, DatePickerTestIdModifiers as te } from "../../../testids/index.js";
17
18
  import { dateRangeCommon as ae } from "../common/DateRange.common.js";
18
19
  import p from "../../typography/v4/Typography.vue.js";
19
- const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid"], ie = {
20
+ const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid"], se = {
20
21
  key: 0,
21
22
  class: "type-picker"
22
- }, oe = ["onClick"], le = ["data-testid"], re = ["id"], ue = ["id"], ce = ["onClick"], me = { class: "dropdown-rightTriangle" }, pe = ["data-testid"], ye = { class: "date-picker-calendar left-box" }, ge = { class: "buttons-cover" }, fe = { class: "range" }, he = { class: "text-container" }, qe = /* @__PURE__ */ J({
23
+ }, oe = ["onClick"], le = ["data-testid"], re = ["id"], ue = ["id"], ce = ["onClick"], me = { class: "dropdown-rightTriangle" }, pe = ["data-testid"], ye = { class: "date-picker-calendar left-box" }, ge = { class: "buttons-cover" }, fe = { class: "range" }, he = { class: "text-container" }, Oe = /* @__PURE__ */ J({
23
24
  __name: "DateRangeV4",
24
25
  props: {
25
26
  range: null,
@@ -72,7 +73,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
72
73
  toggle: b,
73
74
  isCompact: H
74
75
  } = ae(A, E);
75
- return (D, u) => (n(), s("div", {
76
+ return (D, u) => (n(), i("div", {
76
77
  id: e(M),
77
78
  ref_key: "datePicker",
78
79
  ref: B,
@@ -88,7 +89,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
88
89
  currentDate: e(w),
89
90
  isOpen: e(h)
90
91
  }, () => [
91
- i(e(ee), {
92
+ s(e(ee), {
92
93
  label: e(w),
93
94
  "start-icon-name": "calendar-blank",
94
95
  variant: "outlined",
@@ -109,13 +110,13 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
109
110
  ]]),
110
111
  "data-testid": `${t.testId}-${e(o).CONTAINER}`
111
112
  }, [
112
- t.types.length > 1 ? (n(), s("div", ie, [
113
- (n(!0), s(k, null, C(t.types, (a) => (n(), s("span", {
113
+ t.types.length > 1 ? (n(), i("div", se, [
114
+ (n(!0), i(k, null, C(t.types, (a) => (n(), i("span", {
114
115
  key: a,
115
116
  class: r(["range-type", { "selected-range-type": e(f) === a }]),
116
117
  onClick: (c) => e(F)(a, !0)
117
118
  }, [
118
- i(e(p), { variant: "h1" }, {
119
+ s(e(p), { variant: "h1" }, {
119
120
  default: l(() => [
120
121
  m(g(e(Z)[a]), 1)
121
122
  ]),
@@ -126,7 +127,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
126
127
  d("div", {
127
128
  class: r(["flex", { "pop-up-content": t.types.length > 1 }])
128
129
  }, [
129
- t.showPresets ? (n(), s("div", {
130
+ t.showPresets ? (n(), i("div", {
130
131
  key: 0,
131
132
  class: "date-picker-menu",
132
133
  "data-testid": `${t.testId}-${e(o).MENU}`
@@ -138,7 +139,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
138
139
  d("ul", {
139
140
  id: "customDropDownList" + t.uniqueId
140
141
  }, [
141
- (n(!0), s(k, null, C(e(z), (a) => (n(), s("li", {
142
+ (n(!0), i(k, null, C(e(z), (a) => (n(), i("li", {
142
143
  key: a.id,
143
144
  class: r({
144
145
  "selected-preset-container": e(I) === a.id
@@ -148,7 +149,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
148
149
  class: r([{ "selected-preset": e(I) === a.id }, "preset-element"]),
149
150
  onClick: (c) => e(G)(a)
150
151
  }, [
151
- i(e(p), {
152
+ s(e(p), {
152
153
  variant: "body2",
153
154
  "data-testid": `${t.testId}-${e(o).MENU}-${a.id}`
154
155
  }, {
@@ -174,8 +175,8 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
174
175
  style: Q({ height: e(H) ? "336px" : "372px" })
175
176
  }, [
176
177
  d("div", ye, [
177
- (n(!0), s(k, null, C(e(T), (a, c) => (n(), s("div", { key: a }, [
178
- i(X, {
178
+ (n(!0), i(k, null, C(e(T), (a, c) => (n(), i("div", { key: a }, [
179
+ s(X, {
179
180
  id: t.uniqueId,
180
181
  navigation: e(W)(
181
182
  c === 0,
@@ -199,7 +200,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
199
200
  N(D.$slots, "footer", {}, void 0, !0)
200
201
  ]),
201
202
  d("div", he, [
202
- i(e(p), { variant: "body2" }, {
203
+ s(e(p), { variant: "body2" }, {
203
204
  default: l(() => [
204
205
  m("All dates are in UTC")
205
206
  ]),
@@ -210,7 +211,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
210
211
  [$, e(q)]
211
212
  ]),
212
213
  u[1] || (x(-1), u[1] = d("div", { class: "buttons" }, [
213
- i(e(R), {
214
+ s(e(R), {
214
215
  id: "button-ok" + t.uniqueId,
215
216
  size: "small",
216
217
  class: "button",
@@ -219,7 +220,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
219
220
  onClick: (a) => e(K)()
220
221
  }, {
221
222
  default: l(() => [
222
- i(e(p), { variant: "button" }, {
223
+ s(e(p), { variant: "button" }, {
223
224
  default: l(() => [
224
225
  m("Apply")
225
226
  ]),
@@ -228,7 +229,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
228
229
  ]),
229
230
  _: 1
230
231
  }, 8, ["id", "data-testid", "onClick"]),
231
- i(e(R), {
232
+ s(e(R), {
232
233
  id: "button-cancel" + t.uniqueId,
233
234
  size: "small",
234
235
  theme: "third",
@@ -239,7 +240,7 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
239
240
  onClick: (a) => e(b)()
240
241
  }, {
241
242
  default: l(() => [
242
- i(e(p), { variant: "button" }, {
243
+ s(e(p), { variant: "button" }, {
243
244
  default: l(() => [
244
245
  m(" Cancel ")
245
246
  ]),
@@ -253,12 +254,12 @@ const de = ["id", "data-testid"], ne = ["data-testid"], se = ["id", "data-testid
253
254
  ])
254
255
  ], 4)
255
256
  ], 2)
256
- ], 10, se), [
257
+ ], 10, ie), [
257
258
  [$, e(h)]
258
259
  ])
259
260
  ], 10, de));
260
261
  }
261
262
  });
262
263
  export {
263
- qe as default
264
+ Oe as default
264
265
  };
@@ -66,8 +66,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
66
66
  themeClass: string;
67
67
  testId: string;
68
68
  }>>> & {
69
- onClose?: (reason: Reason) => any;
70
69
  "onUpdate:modelValue"?: (value: boolean) => any;
70
+ onClose?: (reason: Reason) => any;
71
71
  onOpen?: () => any;
72
72
  }, {
73
73
  title: string;
@@ -79,8 +79,8 @@ declare const DialogTypes: () => ({
79
79
  default: boolean;
80
80
  };
81
81
  }>> & {
82
- onClose?: (reason: import("../common/Reason").Reason) => any;
83
82
  "onUpdate:modelValue"?: (value: boolean) => any;
83
+ onClose?: (reason: import("../common/Reason").Reason) => any;
84
84
  onOpen?: () => any;
85
85
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "themeClass" | "testId" | "width" | "content" | "appendToBody" | "closeDelay" | "openDelay" | "escapeToClose" | "showBackdrop" | "headerBorder" | "closeOnClickOutside" | "beforeClose" | "showCloseButton">;
86
86
  $attrs: {
@@ -94,7 +94,7 @@ declare const DialogTypes: () => ({
94
94
  }>;
95
95
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
96
96
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
97
- $emit: ((event: "open") => void) & ((event: "close", reason: import("../common/Reason").Reason) => void) & ((event: "update:modelValue", value: boolean) => void);
97
+ $emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close", reason: import("../common/Reason").Reason) => void);
98
98
  $el: any;
99
99
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
100
100
  title: {
@@ -158,8 +158,8 @@ declare const DialogTypes: () => ({
158
158
  default: boolean;
159
159
  };
160
160
  }>> & {
161
- onClose?: (reason: import("../common/Reason").Reason) => any;
162
161
  "onUpdate:modelValue"?: (value: boolean) => any;
162
+ onClose?: (reason: import("../common/Reason").Reason) => any;
163
163
  onOpen?: () => any;
164
164
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
165
165
  "update:modelValue": (value: boolean) => void;
@@ -262,8 +262,8 @@ declare const DialogTypes: () => ({
262
262
  default: boolean;
263
263
  };
264
264
  }>> & {
265
- onClose?: (reason: import("../common/Reason").Reason) => any;
266
265
  "onUpdate:modelValue"?: (value: boolean) => any;
266
+ onClose?: (reason: import("../common/Reason").Reason) => any;
267
267
  onOpen?: () => any;
268
268
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
269
269
  __isFragment?: never;
@@ -331,8 +331,8 @@ declare const DialogTypes: () => ({
331
331
  default: boolean;
332
332
  };
333
333
  }>> & {
334
- onClose?: (reason: import("../common/Reason").Reason) => any;
335
334
  "onUpdate:modelValue"?: (value: boolean) => any;
335
+ onClose?: (reason: import("../common/Reason").Reason) => any;
336
336
  onOpen?: () => any;
337
337
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
338
338
  "update:modelValue": (value: boolean) => void;
@@ -88,8 +88,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
88
88
  cancelButtonColor: string;
89
89
  testId: string;
90
90
  }>>> & {
91
- onClose?: (reason: Reason) => any;
92
91
  "onUpdate:modelValue"?: (value: boolean) => any;
92
+ onClose?: (reason: Reason) => any;
93
93
  onCancel?: () => any;
94
94
  onOpen?: () => any;
95
95
  onSave?: () => any;
@@ -1,9 +1,10 @@
1
- import "../../../DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css"; import { defineComponent as A, openBlock as o, createBlock as c, Teleport as w, createVNode as b, Transition as p, withCtx as u, unref as e, createElementBlock as m, createElementVNode as C, mergeProps as s, renderSlot as k, createTextVNode as f, toDisplayString as B, createCommentVNode as d } from "vue";
1
+ import "../../../DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css"; import { defineComponent as A, openBlock as o, createBlock as c, Teleport as p, createVNode as b, Transition as w, withCtx as u, unref as e, createElementBlock as m, createElementVNode as C, mergeProps as s, renderSlot as k, createTextVNode as f, toDisplayString as B, createCommentVNode as d } from "vue";
2
2
  import { NOOP as I } from "@vue/shared";
3
3
  import T from "../../typography/v4/Typography.vue.js";
4
4
  import N from "../../button/v4/ButtonV4.vue.js";
5
5
  import V from "../../button/v4/IconButtonV4.vue.js";
6
6
  import "../../button/v4/ButtonGroup.vue.js";
7
+ import "../../button/v4/ToggleButtonGroupAB.vue.js";
7
8
  import { Reason as g } from "../common/Reason.js";
8
9
  import { dialogCommon as D } from "../common/Dialog.common.js";
9
10
  import { DialogTestIdModifiers as l } from "../../../testids/index.js";
@@ -15,7 +16,7 @@ const S = {
15
16
  }, F = { class: "title" }, U = {
16
17
  key: 1,
17
18
  class: "footer"
18
- }, X = /* @__PURE__ */ A({
19
+ }, Y = /* @__PURE__ */ A({
19
20
  __name: "DialogV4",
20
21
  props: {
21
22
  modelValue: { type: Boolean },
@@ -49,11 +50,11 @@ const S = {
49
50
  const { closeOnClickOutside: r, saveButtonLoading: n } = i;
50
51
  r && !n ? y(g.Backdrop) : I();
51
52
  };
52
- return (r, n) => (o(), c(w, {
53
+ return (r, n) => (o(), c(p, {
53
54
  to: "body",
54
55
  disabled: !t.appendToBody
55
56
  }, [
56
- b(p, null, {
57
+ b(w, null, {
57
58
  default: u(() => [
58
59
  e(h) ? (o(), m("div", S, [
59
60
  C("div", s({
@@ -152,5 +153,5 @@ const S = {
152
153
  }
153
154
  });
154
155
  export {
155
- X as default
156
+ Y as default
156
157
  };
@@ -105,8 +105,8 @@ declare const DialogTypes: () => ({
105
105
  default: string;
106
106
  };
107
107
  }>> & {
108
- onClose?: (reason: import("../v3").Reason) => any;
109
108
  "onUpdate:modelValue"?: (value: boolean) => any;
109
+ onClose?: (reason: import("../v3").Reason) => any;
110
110
  onCancel?: () => any;
111
111
  onOpen?: () => any;
112
112
  onSave?: () => any;
@@ -122,7 +122,7 @@ declare const DialogTypes: () => ({
122
122
  }>;
123
123
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
124
124
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
125
- $emit: ((event: "open") => void) & ((event: "close", reason: import("../v3").Reason) => void) & ((event: "cancel") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "save") => void);
125
+ $emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close", reason: import("../v3").Reason) => void) & ((event: "cancel") => void) & ((event: "save") => void);
126
126
  $el: any;
127
127
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
128
128
  title: {
@@ -206,8 +206,8 @@ declare const DialogTypes: () => ({
206
206
  default: string;
207
207
  };
208
208
  }>> & {
209
- onClose?: (reason: import("../v3").Reason) => any;
210
209
  "onUpdate:modelValue"?: (value: boolean) => any;
210
+ onClose?: (reason: import("../v3").Reason) => any;
211
211
  onCancel?: () => any;
212
212
  onOpen?: () => any;
213
213
  onSave?: () => any;
@@ -339,8 +339,8 @@ declare const DialogTypes: () => ({
339
339
  default: string;
340
340
  };
341
341
  }>> & {
342
- onClose?: (reason: import("../v3").Reason) => any;
343
342
  "onUpdate:modelValue"?: (value: boolean) => any;
343
+ onClose?: (reason: import("../v3").Reason) => any;
344
344
  onCancel?: () => any;
345
345
  onOpen?: () => any;
346
346
  onSave?: () => any;
@@ -430,8 +430,8 @@ declare const DialogTypes: () => ({
430
430
  default: string;
431
431
  };
432
432
  }>> & {
433
- onClose?: (reason: import("../v3").Reason) => any;
434
433
  "onUpdate:modelValue"?: (value: boolean) => any;
434
+ onClose?: (reason: import("../v3").Reason) => any;
435
435
  onCancel?: () => any;
436
436
  onOpen?: () => any;
437
437
  onSave?: () => any;
@@ -183,8 +183,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
183
183
  flip: boolean;
184
184
  mandatory: boolean;
185
185
  error: string;
186
- selected: any;
186
+ skidding: number;
187
187
  modelValue: any;
188
+ selected: any;
188
189
  placeholder: string;
189
190
  autoFocus: boolean;
190
191
  multi: boolean;
@@ -193,7 +194,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
193
194
  autoSize: boolean;
194
195
  disableKeyboardEvents: boolean;
195
196
  isOnTop: boolean;
196
- skidding: number;
197
197
  inlineSearch: boolean;
198
198
  onSearch: (option: any, term: string) => boolean;
199
199
  noResultsText: string;
@@ -19,8 +19,9 @@ declare const DropdownTypes: () => (({
19
19
  flip: boolean;
20
20
  mandatory: boolean;
21
21
  error: string;
22
- selected: any;
22
+ skidding: number;
23
23
  modelValue: any;
24
+ selected: any;
24
25
  placeholder: string;
25
26
  autoFocus: boolean;
26
27
  multi: boolean;
@@ -29,7 +30,6 @@ declare const DropdownTypes: () => (({
29
30
  autoSize: boolean;
30
31
  disableKeyboardEvents: boolean;
31
32
  isOnTop: boolean;
32
- skidding: number;
33
33
  inlineSearch: boolean;
34
34
  onSearch: (option: any, term: string) => boolean;
35
35
  noResultsText: string;
@@ -93,6 +93,17 @@ declare const DropdownTypes: () => (({
93
93
  type: import("vue").PropType<string>;
94
94
  default: string;
95
95
  };
96
+ skidding: {
97
+ type: import("vue").PropType<number>;
98
+ default: number;
99
+ };
100
+ isOpen: {
101
+ type: import("vue").PropType<boolean>;
102
+ };
103
+ modelValue: {
104
+ type: import("vue").PropType<unknown>;
105
+ default: any;
106
+ };
96
107
  selected: {
97
108
  type: import("vue").PropType<unknown>;
98
109
  default: any;
@@ -101,10 +112,6 @@ declare const DropdownTypes: () => (({
101
112
  type: import("vue").PropType<any[]>;
102
113
  required: true;
103
114
  };
104
- modelValue: {
105
- type: import("vue").PropType<unknown>;
106
- default: any;
107
- };
108
115
  placeholder: {
109
116
  type: import("vue").PropType<string>;
110
117
  default: string;
@@ -117,9 +124,6 @@ declare const DropdownTypes: () => (({
117
124
  type: import("vue").PropType<boolean>;
118
125
  default: boolean;
119
126
  };
120
- isOpen: {
121
- type: import("vue").PropType<boolean>;
122
- };
123
127
  showSelectAll: {
124
128
  type: import("vue").PropType<boolean>;
125
129
  };
@@ -143,10 +147,6 @@ declare const DropdownTypes: () => (({
143
147
  type: import("vue").PropType<boolean>;
144
148
  default: boolean;
145
149
  };
146
- skidding: {
147
- type: import("vue").PropType<number>;
148
- default: number;
149
- };
150
150
  inlineSearch: {
151
151
  type: import("vue").PropType<boolean>;
152
152
  default: boolean;
@@ -203,7 +203,7 @@ declare const DropdownTypes: () => (({
203
203
  "onUpdate:isOpen"?: (value: unknown) => any;
204
204
  onOpened?: () => any;
205
205
  onClosed?: () => any;
206
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "selected" | "modelValue" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "inlineSearch" | "onSearch" | "noResultsText" | "valueToCopy" | "helperText" | "searchPlaceholder" | "showButtonOnOpen" | "clearable" | "multiOptionsPlaceholderPrefix" | "multiOptionsPlaceholderSuffix" | "darkTheme">;
206
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "selected" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "inlineSearch" | "onSearch" | "noResultsText" | "valueToCopy" | "helperText" | "searchPlaceholder" | "showButtonOnOpen" | "clearable" | "multiOptionsPlaceholderPrefix" | "multiOptionsPlaceholderSuffix" | "darkTheme">;
207
207
  $attrs: {
208
208
  [x: string]: unknown;
209
209
  };
@@ -269,6 +269,17 @@ declare const DropdownTypes: () => (({
269
269
  type: import("vue").PropType<string>;
270
270
  default: string;
271
271
  };
272
+ skidding: {
273
+ type: import("vue").PropType<number>;
274
+ default: number;
275
+ };
276
+ isOpen: {
277
+ type: import("vue").PropType<boolean>;
278
+ };
279
+ modelValue: {
280
+ type: import("vue").PropType<unknown>;
281
+ default: any;
282
+ };
272
283
  selected: {
273
284
  type: import("vue").PropType<unknown>;
274
285
  default: any;
@@ -277,10 +288,6 @@ declare const DropdownTypes: () => (({
277
288
  type: import("vue").PropType<any[]>;
278
289
  required: true;
279
290
  };
280
- modelValue: {
281
- type: import("vue").PropType<unknown>;
282
- default: any;
283
- };
284
291
  placeholder: {
285
292
  type: import("vue").PropType<string>;
286
293
  default: string;
@@ -293,9 +300,6 @@ declare const DropdownTypes: () => (({
293
300
  type: import("vue").PropType<boolean>;
294
301
  default: boolean;
295
302
  };
296
- isOpen: {
297
- type: import("vue").PropType<boolean>;
298
- };
299
303
  showSelectAll: {
300
304
  type: import("vue").PropType<boolean>;
301
305
  };
@@ -319,10 +323,6 @@ declare const DropdownTypes: () => (({
319
323
  type: import("vue").PropType<boolean>;
320
324
  default: boolean;
321
325
  };
322
- skidding: {
323
- type: import("vue").PropType<number>;
324
- default: number;
325
- };
326
326
  inlineSearch: {
327
327
  type: import("vue").PropType<boolean>;
328
328
  default: boolean;
@@ -403,8 +403,9 @@ declare const DropdownTypes: () => (({
403
403
  flip: boolean;
404
404
  mandatory: boolean;
405
405
  error: string;
406
- selected: any;
406
+ skidding: number;
407
407
  modelValue: any;
408
+ selected: any;
408
409
  placeholder: string;
409
410
  autoFocus: boolean;
410
411
  multi: boolean;
@@ -413,7 +414,6 @@ declare const DropdownTypes: () => (({
413
414
  autoSize: boolean;
414
415
  disableKeyboardEvents: boolean;
415
416
  isOnTop: boolean;
416
- skidding: number;
417
417
  inlineSearch: boolean;
418
418
  onSearch: (option: any, term: string) => boolean;
419
419
  noResultsText: string;
@@ -497,6 +497,17 @@ declare const DropdownTypes: () => (({
497
497
  type: import("vue").PropType<string>;
498
498
  default: string;
499
499
  };
500
+ skidding: {
501
+ type: import("vue").PropType<number>;
502
+ default: number;
503
+ };
504
+ isOpen: {
505
+ type: import("vue").PropType<boolean>;
506
+ };
507
+ modelValue: {
508
+ type: import("vue").PropType<unknown>;
509
+ default: any;
510
+ };
500
511
  selected: {
501
512
  type: import("vue").PropType<unknown>;
502
513
  default: any;
@@ -505,10 +516,6 @@ declare const DropdownTypes: () => (({
505
516
  type: import("vue").PropType<any[]>;
506
517
  required: true;
507
518
  };
508
- modelValue: {
509
- type: import("vue").PropType<unknown>;
510
- default: any;
511
- };
512
519
  placeholder: {
513
520
  type: import("vue").PropType<string>;
514
521
  default: string;
@@ -521,9 +528,6 @@ declare const DropdownTypes: () => (({
521
528
  type: import("vue").PropType<boolean>;
522
529
  default: boolean;
523
530
  };
524
- isOpen: {
525
- type: import("vue").PropType<boolean>;
526
- };
527
531
  showSelectAll: {
528
532
  type: import("vue").PropType<boolean>;
529
533
  };
@@ -547,10 +551,6 @@ declare const DropdownTypes: () => (({
547
551
  type: import("vue").PropType<boolean>;
548
552
  default: boolean;
549
553
  };
550
- skidding: {
551
- type: import("vue").PropType<number>;
552
- default: number;
553
- };
554
554
  inlineSearch: {
555
555
  type: import("vue").PropType<boolean>;
556
556
  default: boolean;
@@ -666,6 +666,17 @@ declare const DropdownTypes: () => (({
666
666
  type: import("vue").PropType<string>;
667
667
  default: string;
668
668
  };
669
+ skidding: {
670
+ type: import("vue").PropType<number>;
671
+ default: number;
672
+ };
673
+ isOpen: {
674
+ type: import("vue").PropType<boolean>;
675
+ };
676
+ modelValue: {
677
+ type: import("vue").PropType<unknown>;
678
+ default: any;
679
+ };
669
680
  selected: {
670
681
  type: import("vue").PropType<unknown>;
671
682
  default: any;
@@ -674,10 +685,6 @@ declare const DropdownTypes: () => (({
674
685
  type: import("vue").PropType<any[]>;
675
686
  required: true;
676
687
  };
677
- modelValue: {
678
- type: import("vue").PropType<unknown>;
679
- default: any;
680
- };
681
688
  placeholder: {
682
689
  type: import("vue").PropType<string>;
683
690
  default: string;
@@ -690,9 +697,6 @@ declare const DropdownTypes: () => (({
690
697
  type: import("vue").PropType<boolean>;
691
698
  default: boolean;
692
699
  };
693
- isOpen: {
694
- type: import("vue").PropType<boolean>;
695
- };
696
700
  showSelectAll: {
697
701
  type: import("vue").PropType<boolean>;
698
702
  };
@@ -716,10 +720,6 @@ declare const DropdownTypes: () => (({
716
720
  type: import("vue").PropType<boolean>;
717
721
  default: boolean;
718
722
  };
719
- skidding: {
720
- type: import("vue").PropType<number>;
721
- default: number;
722
- };
723
723
  inlineSearch: {
724
724
  type: import("vue").PropType<boolean>;
725
725
  default: boolean;
@@ -800,8 +800,9 @@ declare const DropdownTypes: () => (({
800
800
  flip: boolean;
801
801
  mandatory: boolean;
802
802
  error: string;
803
- selected: any;
803
+ skidding: number;
804
804
  modelValue: any;
805
+ selected: any;
805
806
  placeholder: string;
806
807
  autoFocus: boolean;
807
808
  multi: boolean;
@@ -810,7 +811,6 @@ declare const DropdownTypes: () => (({
810
811
  autoSize: boolean;
811
812
  disableKeyboardEvents: boolean;
812
813
  isOnTop: boolean;
813
- skidding: number;
814
814
  inlineSearch: boolean;
815
815
  onSearch: (option: any, term: string) => boolean;
816
816
  noResultsText: string;