@adyen/bento-vue2 1.76.2 → 1.77.0
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/dist/@types/index.d.ts +300 -35
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown-tag.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/input-field-phone-number.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/payment-method.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{checkbox-group.CtNVRcmP.js → checkbox-group.C3RH5Gcg.js} +2 -2
- package/dist/chunks/{checkbox-group.CtNVRcmP.js.map → checkbox-group.C3RH5Gcg.js.map} +1 -1
- package/dist/chunks/{checkbox.nyUc0gLb.js → checkbox.itbBlXev.js} +3 -3
- package/dist/chunks/{checkbox.nyUc0gLb.js.map → checkbox.itbBlXev.js.map} +1 -1
- package/dist/chunks/{code-snippet.DFf3KMSi.js → code-snippet.BEbA1bIn.js} +2 -2
- package/dist/chunks/{code-snippet.DFf3KMSi.js.map → code-snippet.BEbA1bIn.js.map} +1 -1
- package/dist/chunks/{currency.AvvbekWO.js → currency.Cwhzzxw2.js} +2 -2
- package/dist/chunks/{currency.AvvbekWO.js.map → currency.Cwhzzxw2.js.map} +1 -1
- package/dist/chunks/{data-grid.C07AmPwV.js → data-grid.B-kBw540.js} +7 -7
- package/dist/chunks/{data-grid.C07AmPwV.js.map → data-grid.B-kBw540.js.map} +1 -1
- package/dist/chunks/date-picker.CKaQJcPa.js +168 -0
- package/dist/chunks/date-picker.CKaQJcPa.js.map +1 -0
- package/dist/chunks/date-picker.types.Ckt7zxGy.js +5 -0
- package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -0
- package/dist/chunks/date-range-picker.BtPxkPN0.js +942 -0
- package/dist/chunks/date-range-picker.BtPxkPN0.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.yLeN0E2z.js → dropdown-default-textbox.BCOVaw-a.js} +10 -10
- package/dist/chunks/dropdown-default-textbox.BCOVaw-a.js.map +1 -0
- package/dist/chunks/dropdown-tag.BXMgDH3v.js +294 -0
- package/dist/chunks/dropdown-tag.BXMgDH3v.js.map +1 -0
- package/dist/chunks/{dropdown.RxD2TqnP.js → dropdown.-3x2IBDg.js} +305 -297
- package/dist/chunks/{dropdown.RxD2TqnP.js.map → dropdown.-3x2IBDg.js.map} +1 -1
- package/dist/chunks/es6.MoTTyETW.js.map +1 -1
- package/dist/chunks/{file-uploader.BGoCYrnw.js → file-uploader.BkTtqgvQ.js} +296 -295
- package/dist/chunks/{file-uploader.BGoCYrnw.js.map → file-uploader.BkTtqgvQ.js.map} +1 -1
- package/dist/chunks/{filter-bar.DVqgwt2p.js → filter-bar.BLnSnOlj.js} +201 -201
- package/dist/chunks/filter-bar.BLnSnOlj.js.map +1 -0
- package/dist/chunks/form-field.BBqLu-vs.js +10 -0
- package/dist/chunks/form-field.BBqLu-vs.js.map +1 -0
- package/dist/chunks/get-slot-text.Bjb9dTSV.js +12 -0
- package/dist/chunks/get-slot-text.Bjb9dTSV.js.map +1 -0
- package/dist/chunks/{header-with-views.jnhILkoQ.js → header-with-views.C6Y7mAkq.js} +3 -3
- package/dist/chunks/{header-with-views.jnhILkoQ.js.map → header-with-views.C6Y7mAkq.js.map} +1 -1
- package/dist/chunks/{input-field-password.CHn2GUcL.js → input-field-password.sthICA2L.js} +3 -3
- package/dist/chunks/{input-field-password.CHn2GUcL.js.map → input-field-password.sthICA2L.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.CpnfVw6w.js → input-field-phone-number.BjinuvOl.js} +5 -5
- package/dist/chunks/{input-field-phone-number.CpnfVw6w.js.map → input-field-phone-number.BjinuvOl.js.map} +1 -1
- package/dist/chunks/{input-field.sGmuIXiw.js → input-field.CwKD3p3q.js} +34 -34
- package/dist/chunks/input-field.CwKD3p3q.js.map +1 -0
- package/dist/chunks/link.D8qpqg3W.js.map +1 -1
- package/dist/chunks/{listbox-option-tag.Dl8GwHLT.js → listbox-option-tag.DkPz3wPc.js} +2 -2
- package/dist/chunks/{listbox-option-tag.Dl8GwHLT.js.map → listbox-option-tag.DkPz3wPc.js.map} +1 -1
- package/dist/chunks/{pagination.C0YW_A_o.js → pagination.BzyyZJy6.js} +7 -7
- package/dist/chunks/pagination.BzyyZJy6.js.map +1 -0
- package/dist/chunks/{payment-method.DtvfUnit.js → payment-method.CcASYR3B.js} +12 -12
- package/dist/chunks/payment-method.CcASYR3B.js.map +1 -0
- package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
- package/dist/chunks/{radio-group.AcYMFudv.js → radio-group.B8ukv-pw.js} +3 -3
- package/dist/chunks/{radio-group.AcYMFudv.js.map → radio-group.B8ukv-pw.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.eYW8X_YP.js → rich-text-editor.DzH-Z5oi.js} +2 -2
- package/dist/chunks/{rich-text-editor.eYW8X_YP.js.map → rich-text-editor.DzH-Z5oi.js.map} +1 -1
- package/dist/chunks/{search-bar.D8SJsbze.js → search-bar.CgzPXP8r.js} +3 -3
- package/dist/chunks/{search-bar.D8SJsbze.js.map → search-bar.CgzPXP8r.js.map} +1 -1
- package/dist/chunks/{secondary-nav.BFiTQaag.js → secondary-nav.3eZKyb8K.js} +4 -4
- package/dist/chunks/secondary-nav.3eZKyb8K.js.map +1 -0
- package/dist/chunks/{summary-grid.types.B80533d1.js → summary-grid.types.CaYrtyVO.js} +2 -2
- package/dist/chunks/{summary-grid.types.B80533d1.js.map → summary-grid.types.CaYrtyVO.js.map} +1 -1
- package/dist/chunks/tag.BltIbSh3.js +44 -0
- package/dist/chunks/tag.BltIbSh3.js.map +1 -0
- package/dist/chunks/textarea.h-WF62HP.js +173 -0
- package/dist/chunks/textarea.h-WF62HP.js.map +1 -0
- package/dist/chunks/{timeline-item.CZBuknZ_.js → timeline-item.BLhS7uNF.js} +5 -5
- package/dist/chunks/timeline-item.BLhS7uNF.js.map +1 -0
- package/dist/chunks/{toggle.BJMXpHRu.js → toggle.D2wmNu7m.js} +2 -2
- package/dist/chunks/{toggle.BJMXpHRu.js.map → toggle.D2wmNu7m.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +7 -6
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +1 -1
- package/dist/dropdown.js +3 -3
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/index.js +247 -246
- package/dist/index.js.map +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/internal.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/styles/bento-dark.css +4 -0
- package/dist/styles/bento-light.css +4 -0
- package/dist/styles/bento.css +4 -0
- package/dist/styles/legacy.css +4 -0
- package/dist/styles/styleguide.css +4 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/web-types.json +144 -6
- package/package.json +6 -6
- package/dist/chunks/date-picker.DImAYvoM.js +0 -158
- package/dist/chunks/date-picker.DImAYvoM.js.map +0 -1
- package/dist/chunks/date-range-picker.NAG_5i8I.js +0 -914
- package/dist/chunks/date-range-picker.NAG_5i8I.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.yLeN0E2z.js.map +0 -1
- package/dist/chunks/dropdown-tag.CpvU8eSZ.js +0 -260
- package/dist/chunks/dropdown-tag.CpvU8eSZ.js.map +0 -1
- package/dist/chunks/filter-bar.DVqgwt2p.js.map +0 -1
- package/dist/chunks/get-slot-text.BQS5Olxm.js +0 -12
- package/dist/chunks/get-slot-text.BQS5Olxm.js.map +0 -1
- package/dist/chunks/input-field.sGmuIXiw.js.map +0 -1
- package/dist/chunks/pagination.C0YW_A_o.js.map +0 -1
- package/dist/chunks/payment-method.DtvfUnit.js.map +0 -1
- package/dist/chunks/secondary-nav.BFiTQaag.js.map +0 -1
- package/dist/chunks/tag.BwKc2d2E.js +0 -44
- package/dist/chunks/tag.BwKc2d2E.js.map +0 -1
- package/dist/chunks/textarea.CIQuLWQ8.js +0 -165
- package/dist/chunks/textarea.CIQuLWQ8.js.map +0 -1
- package/dist/chunks/timeline-item.CZBuknZ_.js.map +0 -1
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { defineComponent as u, computed as w, toRefs as g, ref as v, watch as V } from "vue";
|
|
2
|
+
import { B as D } from "./avatar.CeDqq2Z-.js";
|
|
3
|
+
import { B as p, u as C } from "./dropdown.-3x2IBDg.js";
|
|
4
|
+
import { u as _ } from "./form-field.BBqLu-vs.js";
|
|
5
|
+
import { d as i, B as b } from "./typography.hlOAxsEn.js";
|
|
6
|
+
import { n as f } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
7
|
+
import { u as M } from "./use-country-items.B3Cd3Tdo.js";
|
|
8
|
+
import { B as h } from "./country.types.C0Q_hhgJ.js";
|
|
9
|
+
import { L as $ } from "./listbox-option-tag.DkPz3wPc.js";
|
|
10
|
+
import { B as T } from "./payment-method.CcASYR3B.js";
|
|
11
|
+
import "../assets/dropdown-tag.css";
|
|
12
|
+
const U = u({
|
|
13
|
+
name: "bento-dropdown-avatar",
|
|
14
|
+
model: { prop: "modelValue" }
|
|
15
|
+
}), x = /* @__PURE__ */ u({
|
|
16
|
+
...U,
|
|
17
|
+
props: {
|
|
18
|
+
...p.props,
|
|
19
|
+
/**
|
|
20
|
+
* The option elements to populate the avatar dropdown with.
|
|
21
|
+
* It must be an array of {@see BentoAvatarListboxOptions }
|
|
22
|
+
* @property {string} value.label - Text to be displayed in the option.
|
|
23
|
+
* @property {string | number} value.value - Value of the option.
|
|
24
|
+
* @property {string} value.src - Image source of the avatar image.
|
|
25
|
+
*/
|
|
26
|
+
items: {
|
|
27
|
+
type: Array,
|
|
28
|
+
default: () => []
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
emits: ["input", "update:model-value", "show-more", "open"],
|
|
32
|
+
setup(a, { emit: o }) {
|
|
33
|
+
const t = a, { emitValue: e } = _(o), n = (s) => e(s), r = w(() => t.items.map(({ value: s, label: d, src: l }) => ({ value: s, label: d, data: l })));
|
|
34
|
+
return t.value && i(
|
|
35
|
+
'BentoDropdownAvatar "value" property',
|
|
36
|
+
`The use of "value" prop in "BentoDropdownAvatar" is no longer supported.
|
|
37
|
+
Use the "v-model" or "model-value" property instead.`,
|
|
38
|
+
"2.0.0"
|
|
39
|
+
), { __sfc: !0, props: t, emit: o, emitValue: e, onUpdateModelValue: n, dropdownItems: r, BentoAvatar: D, BentoDropdown: p };
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
var P = function() {
|
|
43
|
+
var o = this, t = o._self._c, e = o._self._setupProxy;
|
|
44
|
+
return t("div", [t(e.BentoDropdown, o._b({ attrs: { items: e.dropdownItems }, on: { "update:model-value": e.onUpdateModelValue, "show-more": function(n) {
|
|
45
|
+
return e.emit("show-more");
|
|
46
|
+
}, open: function(n) {
|
|
47
|
+
return e.emit("open");
|
|
48
|
+
} }, scopedSlots: o._u([{ key: "default", fn: function({ label: n, data: r }) {
|
|
49
|
+
return [t(e.BentoAvatar, { attrs: { username: n, src: r } })];
|
|
50
|
+
} }]) }, "bento-dropdown", o.$props, !1))], 1);
|
|
51
|
+
}, A = [], I = /* @__PURE__ */ f(
|
|
52
|
+
x,
|
|
53
|
+
P,
|
|
54
|
+
A,
|
|
55
|
+
!1,
|
|
56
|
+
null,
|
|
57
|
+
null
|
|
58
|
+
);
|
|
59
|
+
const le = I.exports, F = u({
|
|
60
|
+
name: "b-dropdown-country",
|
|
61
|
+
model: { prop: "modelValue" }
|
|
62
|
+
}), S = /* @__PURE__ */ u({
|
|
63
|
+
...F,
|
|
64
|
+
props: {
|
|
65
|
+
...p.props,
|
|
66
|
+
/**
|
|
67
|
+
* The option elements to populate the country dropdown with.
|
|
68
|
+
* It must be an array of {@see BentoCountryListboxOptions }
|
|
69
|
+
* * @deprecated {string} value.label - Use BentoDropdown instead of custom labels
|
|
70
|
+
* * @property {BentoCountryCode | string} value.value - Country code of the option
|
|
71
|
+
*/
|
|
72
|
+
items: {
|
|
73
|
+
type: Array,
|
|
74
|
+
default: () => []
|
|
75
|
+
},
|
|
76
|
+
/**
|
|
77
|
+
* Which label variant to display.
|
|
78
|
+
* @values iso, name, phone_code, capital
|
|
79
|
+
*/
|
|
80
|
+
variant: {
|
|
81
|
+
type: String,
|
|
82
|
+
default: h.CUSTOM,
|
|
83
|
+
validator: (a) => Object.values(h).includes(a)
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
emits: ["input", "update:model-value", "show-more", "open"],
|
|
87
|
+
setup(a, { emit: o }) {
|
|
88
|
+
const t = a, { emitValue: e } = _(o), n = (l) => e(l), { variant: r, items: s } = g(t), d = M(r, s);
|
|
89
|
+
return (r.value === "custom" || s.value.some((l) => l.label)) && i(
|
|
90
|
+
'BentoDropdownCountry "custom" variant and "items" prop "label" key',
|
|
91
|
+
"Use any of the other BentoDropdownCountry variants instead OR use BentoDropdown component for custom labels",
|
|
92
|
+
"2.0.0"
|
|
93
|
+
), t.value && i(
|
|
94
|
+
'BentoDropdownCountry "value" property',
|
|
95
|
+
`The use of "value" prop in "BentoDropdownCountry" is no longer supported.
|
|
96
|
+
Use the "v-model" or "model-value" property instead.`,
|
|
97
|
+
"2.0.0"
|
|
98
|
+
), { __sfc: !0, props: t, emit: o, emitValue: e, onUpdateModelValue: n, variant: r, items: s, countryItems: d, BentoTypography: b, BentoDropdown: p };
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
var k = function() {
|
|
102
|
+
var o = this, t = o._self._c, e = o._self._setupProxy;
|
|
103
|
+
return t("div", [t(e.BentoDropdown, o._b({ attrs: { items: e.countryItems }, on: { "update:model-value": e.onUpdateModelValue, "show-more": function(n) {
|
|
104
|
+
return e.emit("show-more");
|
|
105
|
+
}, open: function(n) {
|
|
106
|
+
return e.emit("open");
|
|
107
|
+
} }, scopedSlots: o._u([{ key: "default", fn: function({ label: n }) {
|
|
108
|
+
return [t(e.BentoTypography, { attrs: { el: "span" } }, [o._v(o._s(n))])];
|
|
109
|
+
} }]) }, "bento-dropdown", o.$props, !1))], 1);
|
|
110
|
+
}, R = [], O = /* @__PURE__ */ f(
|
|
111
|
+
S,
|
|
112
|
+
k,
|
|
113
|
+
R,
|
|
114
|
+
!1,
|
|
115
|
+
null,
|
|
116
|
+
null
|
|
117
|
+
);
|
|
118
|
+
const me = O.exports, L = u({
|
|
119
|
+
name: "b-dropdown-currency",
|
|
120
|
+
model: { prop: "modelValue" }
|
|
121
|
+
}), E = /* @__PURE__ */ u({
|
|
122
|
+
...L,
|
|
123
|
+
props: {
|
|
124
|
+
...p.props,
|
|
125
|
+
/**
|
|
126
|
+
* The option elements to populate the currency dropdown with.
|
|
127
|
+
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
128
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
129
|
+
* @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
130
|
+
*/
|
|
131
|
+
items: {
|
|
132
|
+
type: Array,
|
|
133
|
+
default: () => []
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
emits: ["input", "update:model-value", "show-more", "open"],
|
|
137
|
+
setup(a, { emit: o }) {
|
|
138
|
+
const t = a, { emitValue: e } = _(o), n = (d) => e(d), r = v([]);
|
|
139
|
+
V(
|
|
140
|
+
() => t.items,
|
|
141
|
+
() => r.value = t.items,
|
|
142
|
+
{ immediate: !0 }
|
|
143
|
+
);
|
|
144
|
+
const s = t.search ? t.search : {
|
|
145
|
+
debounceTime: 500,
|
|
146
|
+
searchEvent: async (d) => {
|
|
147
|
+
var y;
|
|
148
|
+
const l = t.items.map((m) => ({
|
|
149
|
+
...m,
|
|
150
|
+
label: `${m.value} ${m.label}`
|
|
151
|
+
})), c = C(
|
|
152
|
+
v(d),
|
|
153
|
+
v(l),
|
|
154
|
+
(y = t == null ? void 0 : t.search) == null ? void 0 : y.searchEvent,
|
|
155
|
+
v(!1)
|
|
156
|
+
).value, B = c == null ? void 0 : c.map((m) => ({
|
|
157
|
+
...m,
|
|
158
|
+
label: m.label.substring(m.value.length + 1)
|
|
159
|
+
}));
|
|
160
|
+
r.value = B;
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
return t.value && i(
|
|
164
|
+
'BentoDropdownCurrency "value" property',
|
|
165
|
+
`The use of "value" prop in "BentoDropdownCurrency" is no longer supported.
|
|
166
|
+
Use the "v-model" or "model-value" property instead.`,
|
|
167
|
+
"2.0.0"
|
|
168
|
+
), { __sfc: !0, props: t, emit: o, emitValue: e, onUpdateModelValue: n, filteredItems: r, search: s, ListboxOptionTag: $, BentoDropdown: p };
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
var z = function() {
|
|
172
|
+
var o = this, t = o._self._c, e = o._self._setupProxy;
|
|
173
|
+
return t(e.BentoDropdown, o._b({ attrs: { search: e.search, items: e.filteredItems }, on: { "update:model-value": e.onUpdateModelValue, "show-more": function(n) {
|
|
174
|
+
return e.emit("show-more");
|
|
175
|
+
}, open: function(n) {
|
|
176
|
+
return e.emit("open");
|
|
177
|
+
} }, scopedSlots: o._u([{ key: "default", fn: function(n) {
|
|
178
|
+
return [t(e.ListboxOptionTag, { attrs: { option: n } })];
|
|
179
|
+
} }]) }, "bento-dropdown", o.$props, !1));
|
|
180
|
+
}, j = [], q = /* @__PURE__ */ f(
|
|
181
|
+
E,
|
|
182
|
+
z,
|
|
183
|
+
j,
|
|
184
|
+
!1,
|
|
185
|
+
null,
|
|
186
|
+
null
|
|
187
|
+
);
|
|
188
|
+
const ie = q.exports, G = u({
|
|
189
|
+
name: "bento-dropdown-payment-method",
|
|
190
|
+
model: { prop: "modelValue" }
|
|
191
|
+
}), H = /* @__PURE__ */ u({
|
|
192
|
+
...G,
|
|
193
|
+
props: {
|
|
194
|
+
...p.props,
|
|
195
|
+
/**
|
|
196
|
+
* The option elements to populate the payment method dropdown with.
|
|
197
|
+
* It must be an array of {@see BentoPaymentMethodListboxOptions }
|
|
198
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
199
|
+
* @property {string} value.value - Payment type code that translates to a payment icon name {@see https://adyen-ui-assets.netlify.app/?path=/story/packages-ui-assets-payment-method-icons--icons}
|
|
200
|
+
*/
|
|
201
|
+
items: {
|
|
202
|
+
type: Array,
|
|
203
|
+
default: () => []
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
emits: ["input", "update:model-value", "show-more", "open"],
|
|
207
|
+
setup(a, { emit: o }) {
|
|
208
|
+
const t = a, { emitValue: e } = _(o), n = (r) => e(r);
|
|
209
|
+
return t.value && i(
|
|
210
|
+
'BentoDropdownPaymentMethod "value" property',
|
|
211
|
+
`The use of "value" prop in "BentoDropdownPaymentMethod" is no longer supported.
|
|
212
|
+
Use the "v-model" or "model-value" property instead.`,
|
|
213
|
+
"2.0.0"
|
|
214
|
+
), { __sfc: !0, props: t, emit: o, emitValue: e, onUpdateModelValue: n, BentoPaymentMethod: T, BentoTypography: b, BentoDropdown: p };
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
var J = function() {
|
|
218
|
+
var o = this, t = o._self._c, e = o._self._setupProxy;
|
|
219
|
+
return t("div", [t(e.BentoDropdown, o._b({ staticClass: "b-dropdown-payment-method", on: { "update:model-value": e.onUpdateModelValue, "show-more": function(n) {
|
|
220
|
+
return e.emit("show-more");
|
|
221
|
+
}, open: function(n) {
|
|
222
|
+
return e.emit("open");
|
|
223
|
+
} }, scopedSlots: o._u([{ key: "display-value", fn: function({ label: n, value: r }) {
|
|
224
|
+
return [t(e.BentoPaymentMethod, { attrs: { type: r, label: n } })];
|
|
225
|
+
} }, { key: "default", fn: function({ value: n, label: r, description: s }) {
|
|
226
|
+
return [t("div", { staticClass: "b-dropdown-payment-method__item" }, [t(e.BentoPaymentMethod, { attrs: { type: n, label: s ? void 0 : r } }), s ? t("div", { staticClass: "b-dropdown-payment-method__text" }, [t(e.BentoTypography, { attrs: { el: "span" } }, [o._v(o._s(r))]), t(e.BentoTypography, { staticClass: "b-dropdown-payment-method__description", attrs: { el: "span" } }, [o._v(o._s(s))])], 1) : o._e()], 1)];
|
|
227
|
+
} }]) }, "bento-dropdown", o.$props, !1))], 1);
|
|
228
|
+
}, K = [], N = /* @__PURE__ */ f(
|
|
229
|
+
H,
|
|
230
|
+
J,
|
|
231
|
+
K,
|
|
232
|
+
!1,
|
|
233
|
+
null,
|
|
234
|
+
"c6f45dc2"
|
|
235
|
+
);
|
|
236
|
+
const ce = N.exports, Q = u({
|
|
237
|
+
name: "bento-dropdown-tag",
|
|
238
|
+
model: { prop: "modelValue" }
|
|
239
|
+
}), W = /* @__PURE__ */ u({
|
|
240
|
+
...Q,
|
|
241
|
+
props: {
|
|
242
|
+
...p.props,
|
|
243
|
+
/**
|
|
244
|
+
* The option elements to populate the tag dropdown with.
|
|
245
|
+
* It must be an array of {@see BentoTagListboxOptions }
|
|
246
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
247
|
+
* @property {string | number} value.value - Value of the option
|
|
248
|
+
* @property {string} value.variant - The BentTag variant shown for the option.
|
|
249
|
+
*/
|
|
250
|
+
items: {
|
|
251
|
+
type: Array,
|
|
252
|
+
default: () => []
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
emits: ["input", "update:model-value", "show-more", "open"],
|
|
256
|
+
setup(a, { emit: o }) {
|
|
257
|
+
const t = a, { emitValue: e } = _(o), n = (s) => e(s), r = w(() => {
|
|
258
|
+
var s;
|
|
259
|
+
return (s = t.items) == null ? void 0 : s.map(({ label: d, value: l, variant: c }) => ({ label: d, value: l, data: c }));
|
|
260
|
+
});
|
|
261
|
+
return t.value && i(
|
|
262
|
+
'BentoDropdownTag "value" property',
|
|
263
|
+
`The use of "value" prop in "BentoDropdownTag" is no longer supported.
|
|
264
|
+
Use the "v-model" or "model-value" property instead.`,
|
|
265
|
+
"2.0.0"
|
|
266
|
+
), { __sfc: !0, props: t, emit: o, emitValue: e, onUpdateModelValue: n, tagItems: r, ListboxOptionTag: $, BentoDropdown: p };
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
var X = function() {
|
|
270
|
+
var o = this, t = o._self._c, e = o._self._setupProxy;
|
|
271
|
+
return t(e.BentoDropdown, o._b({ staticClass: "b-dropdown-tag", attrs: { items: e.tagItems, "show-slot-content-in-multiple": "" }, on: { "update:model-value": e.onUpdateModelValue, "show-more": function(n) {
|
|
272
|
+
return e.emit("show-more");
|
|
273
|
+
}, open: function(n) {
|
|
274
|
+
return e.emit("open");
|
|
275
|
+
} }, scopedSlots: o._u([{ key: "default", fn: function({ label: n, data: r }) {
|
|
276
|
+
return [t(e.ListboxOptionTag, { attrs: { option: { value: n, data: r, label: "" } } })];
|
|
277
|
+
} }]) }, "bento-dropdown", o.$props, !1));
|
|
278
|
+
}, Y = [], Z = /* @__PURE__ */ f(
|
|
279
|
+
W,
|
|
280
|
+
X,
|
|
281
|
+
Y,
|
|
282
|
+
!1,
|
|
283
|
+
null,
|
|
284
|
+
"7be81426"
|
|
285
|
+
);
|
|
286
|
+
const _e = Z.exports;
|
|
287
|
+
export {
|
|
288
|
+
me as a,
|
|
289
|
+
ie as b,
|
|
290
|
+
ce as c,
|
|
291
|
+
le as d,
|
|
292
|
+
_e as e
|
|
293
|
+
};
|
|
294
|
+
//# sourceMappingURL=dropdown-tag.BXMgDH3v.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-tag.BXMgDH3v.js","sources":["../../src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue","../../src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue","../../src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue","../../src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue","../../src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue"],"sourcesContent":["<template>\n <div>\n <bento-dropdown\n v-slot=\"{ label, data }\"\n v-bind=\"$props\"\n :items=\"dropdownItems\"\n @update:model-value=\"onUpdateModelValue\"\n @show-more=\"emit('show-more')\"\n @open=\"emit('open')\"\n >\n <bento-avatar :username=\"label\" :src=\"data\" />\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, type PropType } from 'vue';\n import { type BentoListboxSelectedValue } from '@/types/listbox';\n import { type BentoAvatarListboxOptions } from './dropdown-avatar.types';\n import { BentoAvatar } from '@/components/avatar';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n import { useFormFieldEmits } from '@/utils/ts/form-field/form-field';\n import { deprecate } from '@/utils/ts/deprecate';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the avatar dropdown with.\n * It must be an array of {@see BentoAvatarListboxOptions }\n * @property {string} value.label - Text to be displayed in the option.\n * @property {string | number} value.value - Value of the option.\n * @property {string} value.src - Image source of the avatar image.\n */\n items: {\n type: Array as PropType<BentoAvatarListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits([\"input\", \"update:model-value\", \"show-more\", \"open\"]);\n\n const { emitValue } = useFormFieldEmits<BentoListboxSelectedValue>(emit);\n\n const onUpdateModelValue = (selectedValue: BentoListboxSelectedValue) => emitValue(selectedValue);\n\n const dropdownItems = computed(() => props.items.map(({ value, label, src }) => ({ value, label, data: src })));\n\n if (props.value) {\n deprecate(\n 'BentoDropdownAvatar \"value\" property',\n `The use of \"value\" prop in \"BentoDropdownAvatar\" is no longer supported.\n Use the \"v-model\" or \"model-value\" property instead.`,\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * A Avatar Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownAvatar } from '@adyen/bento-vue2';\n * import type { BentoAvatarListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownAvatar },\n * template: `\n * <bento-dropdown-avatar\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('user-id-1') // Default value\n * const options: BentoAvatarListboxOptions = [\n * { label: 'User 1', value: 'user-id-1' },\n * { label: 'User 2', value: 'user-id-2', src: 'image-source.jpeg' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-avatar',\n model: { prop: 'modelValue' },\n });\n</script>\n","<template>\n <div>\n <bento-dropdown\n v-slot=\"{ label }\"\n v-bind=\"$props\"\n :items=\"countryItems\"\n @update:model-value=\"onUpdateModelValue\"\n @show-more=\"emit('show-more')\"\n @open=\"emit('open')\"\n >\n <bento-typography el=\"span\">{{ label }}</bento-typography>\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, type PropType, toRefs } from 'vue';\n import { type BentoCountryListboxOptions } from './dropdown-country.types';\n import { type BentoListboxSelectedValue } from '@/types/listbox';\n import { BentoTypography } from '@/components/typography';\n import { useCountryItems } from './composables/use-country-items';\n import { useFormFieldEmits } from '@/utils/ts/form-field/form-field';\n import { deprecate } from '@/utils/ts/deprecate';\n import { BentoCountryVariant } from '@/components/country';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the country dropdown with.\n * It must be an array of {@see BentoCountryListboxOptions }\n * * @deprecated {string} value.label - Use BentoDropdown instead of custom labels\n * * @property {BentoCountryCode | string} value.value - Country code of the option\n */\n items: {\n type: Array as PropType<BentoCountryListboxOptions>,\n default: () => [],\n },\n\n /**\n * Which label variant to display.\n * @values iso, name, phone_code, capital\n */\n variant: {\n type: String as PropType<BentoCountryVariant | `${BentoCountryVariant}`>,\n default: BentoCountryVariant.CUSTOM,\n validator: (value: BentoCountryVariant) => Object.values(BentoCountryVariant).includes(value),\n },\n });\n\n const emit = defineEmits([\"input\", \"update:model-value\", \"show-more\", \"open\"]);\n\n const { emitValue } = useFormFieldEmits<BentoListboxSelectedValue>(emit);\n\n const onUpdateModelValue = (selectedValue: BentoListboxSelectedValue) => emitValue(selectedValue);\n\n const { variant, items } = toRefs(props);\n const countryItems = useCountryItems(variant, items);\n\n if (variant.value === 'custom' || items.value.some(item => item.label)) {\n deprecate(\n 'BentoDropdownCountry \"custom\" variant and \"items\" prop \"label\" key',\n 'Use any of the other BentoDropdownCountry variants instead OR use BentoDropdown component for custom labels',\n '2.0.0'\n );\n }\n\n if (props.value) {\n deprecate(\n 'BentoDropdownCountry \"value\" property',\n `The use of \"value\" prop in \"BentoDropdownCountry\" is no longer supported.\n Use the \"v-model\" or \"model-value\" property instead.`,\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * A Country Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';\n * import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdown },\n * template: `\n * <bento-dropdown-country\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref(BentoCountryCode.NL) // Default value\n * const options: BentoCountryListboxOptions = [\n * { label: 'Option 1', value: BentoCountryCode.NL },\n * { label: 'Option 2', value: BentoCountryCode.BE },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'b-dropdown-country',\n model: { prop: 'modelValue' },\n });\n</script>\n","<template>\n <bento-dropdown\n v-slot=\"slotProps\"\n v-bind=\"$props\"\n :search=\"search\"\n :items=\"filteredItems\"\n @update:model-value=\"onUpdateModelValue\"\n @show-more=\"emit('show-more')\"\n @open=\"emit('open')\"\n >\n <listbox-option-tag :option=\"slotProps\" />\n </bento-dropdown>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, type PropType, ref, watch } from 'vue';\n import type { BentoCurrencyListboxOptions } from './dropdown-currency.types';\n import type { BentoListboxSelectedValue } from '@/types/listbox';\n import { ListboxOptionTag } from '@/internal/listbox/';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n import { useSearchBarFilter } from '@/components/search-bar/useSearchBarDataFilter';\n import { useFormFieldEmits } from '@/utils/ts/form-field/form-field';\n import { deprecate } from '@/utils/ts/deprecate';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the currency dropdown with.\n * It must be an array of {@see BentoCurrencyListboxOptions }\n * @property {string} value.label - Text to be displayed in the option\n * @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option\n */\n items: {\n type: Array as PropType<BentoCurrencyListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits([\"input\", \"update:model-value\", \"show-more\", \"open\"]);\n\n const { emitValue } = useFormFieldEmits<BentoListboxSelectedValue>(emit);\n\n const onUpdateModelValue = (selectedValue: BentoListboxSelectedValue) => emitValue(selectedValue);\n\n const filteredItems = ref<BentoCurrencyListboxOptions>([]);\n\n watch(\n () => props.items,\n () => (filteredItems.value = props.items),\n { immediate: true }\n );\n\n const search = props.search\n ? props.search\n : {\n debounceTime: 500,\n searchEvent: async (searchTerm: string) => {\n // Combine value and label to be able to search by the currency code\n const searchableItems = props.items.map(item => ({\n ...item,\n label: `${item.value} ${item.label}`,\n }));\n\n const searchResults = useSearchBarFilter(\n ref(searchTerm),\n ref<BentoCurrencyListboxOptions>(searchableItems),\n props?.search?.searchEvent,\n ref(false)\n ).value;\n\n // Restore original labels by removing the prepended value\n const normalizedResults = searchResults?.map(result => ({\n ...result,\n label: result.label.substring(result.value.length + 1),\n }));\n\n filteredItems.value = normalizedResults;\n },\n };\n\n if (props.value) {\n deprecate(\n 'BentoDropdownCurrency \"value\" property',\n `The use of \"value\" prop in \"BentoDropdownCurrency\" is no longer supported.\n Use the \"v-model\" or \"model-value\" property instead.`,\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * A Currency Dropdown showing a selectable list of currencies.\n *\n * @example\n * import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';\n * import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdown },\n * template: `\n * <bento-dropdown-currency\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref(BentoCountryCode.NL) // Default value\n * const options: BentoCountryListboxOptions = [\n * { label: 'Option 1', value: BentoCountryCode.NL },\n * { label: 'Option 2', value: BentoCountryCode.BE },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'b-dropdown-currency',\n model: { prop: 'modelValue' },\n });\n</script>\n","<template>\n <div>\n <bento-dropdown\n class=\"b-dropdown-payment-method\"\n v-bind=\"$props\"\n @update:model-value=\"onUpdateModelValue\"\n @show-more=\"emit('show-more')\"\n @open=\"emit('open')\"\n >\n <template #display-value=\"{ label, value }\">\n <bento-payment-method :type=\"value\" :label=\"label\" />\n </template>\n\n <template #default=\"{ value, label, description }\">\n <div class=\"b-dropdown-payment-method__item\">\n <bento-payment-method :type=\"value\" :label=\"description ? undefined : label\" />\n\n <div v-if=\"description\" class=\"b-dropdown-payment-method__text\">\n <bento-typography el=\"span\">{{ label }}</bento-typography>\n <bento-typography el=\"span\" class=\"b-dropdown-payment-method__description\">{{\n description\n }}</bento-typography>\n </div>\n </div>\n </template>\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, type PropType } from 'vue';\n import { BentoPaymentMethod } from '@/components/payment-method';\n import { BentoTypography } from '@/components/typography';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n import { type BentoPaymentMethodListboxOptions } from './dropdown-payment-method.types';\n import { type BentoListboxSelectedValue } from '@/types/listbox';\n import { useFormFieldEmits } from '@/utils/ts/form-field/form-field';\n import { deprecate } from '@/utils/ts/deprecate';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the payment method dropdown with.\n * It must be an array of {@see BentoPaymentMethodListboxOptions }\n * @property {string} value.label - Text to be displayed in the option\n * @property {string} value.value - Payment type code that translates to a payment icon name {@see https://adyen-ui-assets.netlify.app/?path=/story/packages-ui-assets-payment-method-icons--icons}\n */\n items: {\n type: Array as PropType<BentoPaymentMethodListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits([\"input\", \"update:model-value\", \"show-more\", \"open\"]);\n\n const { emitValue } = useFormFieldEmits<BentoListboxSelectedValue>(emit);\n\n const onUpdateModelValue = (selectedValue: BentoListboxSelectedValue) => emitValue(selectedValue);\n\n if (props.value) {\n deprecate(\n 'BentoDropdownPaymentMethod \"value\" property',\n `The use of \"value\" prop in \"BentoDropdownPaymentMethod\" is no longer supported.\n Use the \"v-model\" or \"model-value\" property instead.`,\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * A Payment method Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownPaymentMethod } from '@adyen/bento-vue2';\n * import type { BentoPaymentMethodListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownPaymentMethod },\n * template: `\n * <bento-dropdown-payment-method\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 'Visa'\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('ideal') // Default value\n * const options: BentoPaymentMethodListboxOptions = [\n * { label: 'Option 1', value: 'ideal' },\n * { label: 'Option 2', value: 'visa' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-payment-method',\n model: { prop: 'modelValue' },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./dropdown-payment-method.scss\" />\n","<template>\n <bento-dropdown\n v-slot=\"{ label, data }\"\n v-bind=\"$props\"\n class=\"b-dropdown-tag\"\n :items=\"tagItems\"\n show-slot-content-in-multiple\n @update:model-value=\"onUpdateModelValue\"\n @show-more=\"emit('show-more')\"\n @open=\"emit('open')\"\n >\n <listbox-option-tag :option=\"{ value: label, data, label: '' }\" />\n </bento-dropdown>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, type PropType } from 'vue';\n import type { BentoTagListboxOptions } from './dropdown-tag.types';\n import type { BentoListboxSelectedValue } from '@/types/listbox';\n import { ListboxOptionTag } from '../../../../internal';\n import BentoDropdown from '../../../dropdown.vue';\n import { useFormFieldEmits } from '@/utils/ts/form-field/form-field';\n import { deprecate } from '@/utils/ts/deprecate';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the tag dropdown with.\n * It must be an array of {@see BentoTagListboxOptions }\n * @property {string} value.label - Text to be displayed in the option\n * @property {string | number} value.value - Value of the option\n * @property {string} value.variant - The BentTag variant shown for the option.\n */\n items: {\n type: Array as PropType<BentoTagListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits([\"input\", \"update:model-value\", \"show-more\", \"open\"]);\n\n const { emitValue } = useFormFieldEmits<BentoListboxSelectedValue>(emit);\n\n const onUpdateModelValue = (selectedValue: BentoListboxSelectedValue) => emitValue(selectedValue);\n\n const tagItems = computed(() => props.items?.map(({ label, value, variant }) => ({ label, value, data: variant })));\n\n if (props.value) {\n deprecate(\n 'BentoDropdownTag \"value\" property',\n `The use of \"value\" prop in \"BentoDropdownTag\" is no longer supported.\n Use the \"v-model\" or \"model-value\" property instead.`,\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * A Tag Dropdown showing a selectable list of tags.\n *\n * @example\n * import { BentoDropdownTag } from '@adyen/bento-vue2';\n * import type { BentoTagListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownTag },\n * template: `\n * <bento-dropdown-tag\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('unique-id-1') // Default value\n * const options: BentoTagListboxOptions = [\n * { label: 'Offline', value: 'unique-id-1', variant: 'red' },\n * { label: 'Online', value: 'unique-id-2', variant: 'green' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-tag',\n model: { prop: 'modelValue' },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./dropdown-tag.scss\" />\n"],"names":["__default__$4","defineComponent","emitValue","useFormFieldEmits","emit","onUpdateModelValue","selectedValue","dropdownItems","computed","props","value","label","src","deprecate","__default__$3","variant","items","toRefs","countryItems","useCountryItems","item","__default__$2","filteredItems","ref","watch","search","searchTerm","searchableItems","searchResults","useSearchBarFilter","_a","normalizedResults","result","__default__$1","__default__","tagItems"],"mappings":";;;;;;;;;;;AAsFI,MAAAA,I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