@ironsource/shared-ui 2.1.9-test.0 → 2.1.9-test.2
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.
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_9fa84b26_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_cf64ca64_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_058de532_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +1 -0
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +1 -0
- package/components/alert/Alert.vue2.js +3 -2
- package/components/autocomplete/Autocomplete.vue.d.ts +1 -1
- package/components/autocomplete/index.d.ts +20 -20
- package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +65 -0
- package/components/button/v4/ToggleButtonGroupAB.vue.js +7 -0
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +95 -0
- package/components/button/v4/index.d.ts +170 -1
- package/components/button/v4/index.js +10 -3
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +9 -8
- package/components/dateRange/v4/DateRangeV4.vue2.js +21 -20
- package/components/dialog/v3/Dialog.vue.d.ts +1 -1
- package/components/dialog/v3/index.d.ts +5 -5
- package/components/dialog/v4/DialogV4.vue.d.ts +1 -1
- package/components/dialog/v4/DialogV4.vue2.js +6 -5
- package/components/dialog/v4/index.d.ts +5 -5
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +165 -158
- package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/v3/index.d.ts +51 -51
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +17 -11
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +17 -9
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +23 -22
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +59 -45
- package/components/dropdown/v4/DropdownV4.vue.d.ts +19 -7
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +165 -158
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +4 -3
- package/components/dropdown/v4/OptionV4.vue.d.ts +6 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +83 -70
- package/components/dropdown/v4/index.d.ts +196 -88
- package/components/emptyState/v4/EmptyStateV4.vue2.js +13 -12
- package/components/forms/FormCard.vue2.js +13 -12
- package/components/includeExclude/index.d.ts +56 -56
- package/components/input/v3/Input.vue.d.ts +1 -1
- package/components/input/v3/index.d.ts +32 -32
- package/components/input/v4/TextField.vue.d.ts +1 -1
- package/components/input/v4/index.d.ts +20 -20
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/index.d.ts +20 -20
- package/components/multibar/MultiBar.vue.d.ts +1 -1
- package/components/multibar/MultiBar.vue2.js +3 -2
- package/components/multibar/index.d.ts +9 -9
- package/components/popover/v3/Popover.vue.d.ts +1 -1
- package/components/popover/v3/index.d.ts +20 -20
- package/components/popover/v4/PopoverV4.vue.d.ts +7 -3
- package/components/popover/v4/PopoverV4.vue.js +3 -3
- package/components/popover/v4/PopoverV4.vue2.js +23 -20
- package/components/popover/v4/index.d.ts +36 -24
- package/components/radioButton/v3/RadioButton.vue.d.ts +1 -1
- package/components/radioButton/v3/RadioGroup.vue.d.ts +1 -1
- package/components/radioButton/v3/index.d.ts +6 -6
- package/components/radioButton/v4/RadioButtonV4.vue.d.ts +6 -1
- package/components/radioButton/v4/RadioButtonV4.vue.js +2 -2
- package/components/radioButton/v4/RadioButtonV4.vue2.js +59 -46
- package/components/radioButton/v4/RadioGroupV4.vue.d.ts +1 -1
- package/components/radioButton/v4/index.d.ts +26 -7
- package/components/snackbar/v4/SnackbarV4.vue2.js +7 -6
- package/components/sortableList/SortableItem.vue.d.ts +1 -1
- package/components/switch/v3/index.d.ts +16 -16
- package/components/switch/v4/SwitchV4.vue2.js +6 -5
- package/components/switch/v4/index.d.ts +8 -8
- package/components/table/v4/DataGrid.vue.d.ts +5 -0
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +45 -44
- package/components/table/v4/ExpandRowToggle.vue2.js +6 -5
- package/components/table/v4/MultipleDataGrid.vue.d.ts +23 -2
- package/components/table/v4/MultipleDataGrid.vue.js +5 -5
- package/components/table/v4/MultipleDataGrid.vue2.js +82 -73
- package/components/table/v4/index.d.ts +98 -2
- package/components/textArea/v4/TextAreaV4.vue.d.ts +1 -1
- package/components/textArea/v4/index.d.ts +9 -9
- package/components/toggle/v3/index.d.ts +8 -8
- package/components/toggle/v4/index.d.ts +16 -16
- package/consts/configs.d.ts +1 -0
- package/consts/configs.js +4 -0
- package/index.d.ts +1614 -661
- package/index.js +1 -1
- package/mocks/options.d.ts +4 -0
- package/package.json +2 -2
- package/testids/index.d.ts +8 -1
- package/testids/index.js +14 -13
- package/utils/testIds.d.ts +1 -1
- package/utils/testIds.js +6 -6
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_23e22560_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_d27e1304_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_119e4bc3_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_cfedf78b_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +0 -1
- 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
|
|
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"],
|
|
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:
|
|
26
|
-
const
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
-
|
|
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
|
|
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"],
|
|
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" },
|
|
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(),
|
|
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
|
-
|
|
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(),
|
|
113
|
-
(n(!0),
|
|
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
|
-
|
|
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(),
|
|
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),
|
|
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
|
-
|
|
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),
|
|
178
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
257
|
+
], 10, ie), [
|
|
257
258
|
[$, e(h)]
|
|
258
259
|
])
|
|
259
260
|
], 10, de));
|
|
260
261
|
}
|
|
261
262
|
});
|
|
262
263
|
export {
|
|
263
|
-
|
|
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: "
|
|
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
|
|
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
|
-
},
|
|
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(
|
|
53
|
+
return (r, n) => (o(), c(p, {
|
|
53
54
|
to: "body",
|
|
54
55
|
disabled: !t.appendToBody
|
|
55
56
|
}, [
|
|
56
|
-
b(
|
|
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
|
-
|
|
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: "
|
|
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;
|
|
@@ -23,6 +23,7 @@ export declare const dropdownCommon: (props: any, emit: any, commonOptions: any)
|
|
|
23
23
|
}>;
|
|
24
24
|
filteredOptions: import("vue").ComputedRef<any>;
|
|
25
25
|
allSelected: import("vue").ComputedRef<boolean>;
|
|
26
|
+
allSelectedApplied: Ref<boolean>;
|
|
26
27
|
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
27
28
|
onSelectAll: () => void;
|
|
28
29
|
virtualOptions: Ref<UseVirtualListItem<unknown>[]>;
|