@db-ux/v-core-components 1.0.1 → 1.1.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.
- package/README.md +6 -1
- package/dist/components/accordion/accordion.vue.d.ts +1 -5
- package/dist/components/accordion-item/accordion-item.vue.d.ts +1 -5
- package/dist/components/badge/badge.vue.d.ts +1 -5
- package/dist/components/brand/brand.vue.d.ts +1 -5
- package/dist/components/button/button.vue.d.ts +1 -5
- package/dist/components/card/card.vue.d.ts +1 -5
- package/dist/components/checkbox/checkbox.vue.d.ts +1 -5
- package/dist/components/divider/divider.vue.d.ts +1 -5
- package/dist/components/drawer/drawer.vue.d.ts +1 -6
- package/dist/components/header/header.vue.d.ts +1 -5
- package/dist/components/icon/icon.vue.d.ts +1 -5
- package/dist/components/infotext/infotext.vue.d.ts +1 -5
- package/dist/components/input/input.vue.d.ts +2 -5
- package/dist/components/input/model.d.ts +2 -2
- package/dist/components/link/link.vue.d.ts +4 -8
- package/dist/components/navigation/navigation.vue.d.ts +1 -5
- package/dist/components/navigation-item/model.d.ts +3 -2
- package/dist/components/navigation-item/navigation-item.vue.d.ts +1 -5
- package/dist/components/notification/notification.vue.d.ts +1 -5
- package/dist/components/page/page.vue.d.ts +1 -5
- package/dist/components/popover/popover.vue.d.ts +1 -5
- package/dist/components/radio/radio.vue.d.ts +3 -7
- package/dist/components/section/section.vue.d.ts +1 -5
- package/dist/components/select/model.d.ts +2 -2
- package/dist/components/select/select.vue.d.ts +2 -5
- package/dist/components/stack/stack.vue.d.ts +1 -5
- package/dist/components/switch/model.d.ts +2 -2
- package/dist/components/switch/switch.vue.d.ts +2 -5
- package/dist/components/tab-item/tab-item.vue.d.ts +1 -5
- package/dist/components/tab-list/tab-list.vue.d.ts +1 -5
- package/dist/components/tab-panel/tab-panel.vue.d.ts +2 -6
- package/dist/components/tabs/model.d.ts +9 -0
- package/dist/components/tabs/tabs.vue.d.ts +3 -5
- package/dist/components/tag/tag.vue.d.ts +1 -5
- package/dist/components/textarea/textarea.vue.d.ts +2 -6
- package/dist/components/tooltip/tooltip.vue.d.ts +1 -5
- package/dist/db-ux.es.js +895 -870
- package/dist/db-ux.umd.js +1 -1
- package/dist/shared/model.d.ts +6 -0
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/react.d.ts +7 -0
- package/package.json +6 -6
package/dist/db-ux.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var j = (t, n, d) =>
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
const
|
|
1
|
+
var ge = Object.defineProperty;
|
|
2
|
+
var ye = (t, n, d) => n in t ? ge(t, n, { enumerable: !0, configurable: !0, writable: !0, value: d }) : t[n] = d;
|
|
3
|
+
var j = (t, n, d) => ye(t, typeof n != "symbol" ? n + "" : n, d);
|
|
4
|
+
import { defineComponent as E, ref as u, createElementBlock as g, openBlock as m, unref as v, normalizeClass as N, renderSlot as w, Fragment as C, createTextVNode as L, toDisplayString as k, createCommentVNode as M, createElementVNode as I, createBlock as X, withCtx as R, onMounted as U, watch as z, createVNode as O, renderList as te, onUnmounted as Be } from "vue";
|
|
5
|
+
const G = () => {
|
|
6
6
|
var t, n;
|
|
7
7
|
if (typeof window < "u") {
|
|
8
8
|
if ((t = window.crypto) != null && t.randomUUID)
|
|
@@ -16,7 +16,7 @@ const V = () => {
|
|
|
16
16
|
Object.values(d).forEach((e) => {
|
|
17
17
|
e.setAttribute(n.key, n.value), e.children.length > 0 && re(e, n);
|
|
18
18
|
});
|
|
19
|
-
},
|
|
19
|
+
}, A = (...t) => {
|
|
20
20
|
let n = "";
|
|
21
21
|
for (const d of t)
|
|
22
22
|
if (d)
|
|
@@ -26,13 +26,7 @@ const V = () => {
|
|
|
26
26
|
for (const e in d)
|
|
27
27
|
d[e] && (n += `${e} `);
|
|
28
28
|
return n.trim();
|
|
29
|
-
},
|
|
30
|
-
...d,
|
|
31
|
-
[e]: t[e]
|
|
32
|
-
}), {}), vn = (t, n) => Object.keys(t).filter((d) => n.includes(d)).reduce((d, e) => ({
|
|
33
|
-
...d,
|
|
34
|
-
[e]: t[e]
|
|
35
|
-
}), {}), pn = (t) => {
|
|
29
|
+
}, fn = (t) => {
|
|
36
30
|
const {
|
|
37
31
|
left: n,
|
|
38
32
|
right: d
|
|
@@ -40,7 +34,7 @@ const V = () => {
|
|
|
40
34
|
innerWidth: e
|
|
41
35
|
} = window;
|
|
42
36
|
return n >= 0 && d <= e;
|
|
43
|
-
},
|
|
37
|
+
}, cn = (t) => {
|
|
44
38
|
const {
|
|
45
39
|
top: n,
|
|
46
40
|
bottom: d
|
|
@@ -49,20 +43,20 @@ const V = () => {
|
|
|
49
43
|
} = window;
|
|
50
44
|
return n >= 0 && d <= e;
|
|
51
45
|
}, ke = (t) => {
|
|
52
|
-
var
|
|
46
|
+
var _;
|
|
53
47
|
const {
|
|
54
48
|
top: n,
|
|
55
49
|
bottom: d,
|
|
56
50
|
left: e,
|
|
57
51
|
right: a
|
|
58
52
|
} = t.getBoundingClientRect(), {
|
|
59
|
-
innerHeight:
|
|
53
|
+
innerHeight: c,
|
|
60
54
|
innerWidth: l
|
|
61
55
|
} = window;
|
|
62
|
-
let
|
|
63
|
-
const B = t.hasAttribute("data-outside-vy"),
|
|
64
|
-
return
|
|
65
|
-
outTop:
|
|
56
|
+
let p = n < 0, i = d > c, h = e < 0, s = a > l;
|
|
57
|
+
const B = t.hasAttribute("data-outside-vy"), $ = t.hasAttribute("data-outside-vx"), D = (_ = t == null ? void 0 : t.parentElement) == null ? void 0 : _.getBoundingClientRect();
|
|
58
|
+
return D && (B && (t.getAttribute("data-outside-vy") === "top" ? p = D.top - (d - D.bottom) < 0 : i = D.bottom + (D.top - n) > c), $ && (t.getAttribute("data-outside-vx") === "left" ? h = D.left - (a - D.right) < 0 : s = D.right + (D.left - e) > l)), {
|
|
59
|
+
outTop: p,
|
|
66
60
|
outBottom: i,
|
|
67
61
|
outLeft: h,
|
|
68
62
|
outRight: s
|
|
@@ -74,17 +68,17 @@ const V = () => {
|
|
|
74
68
|
outLeft: e,
|
|
75
69
|
outRight: a
|
|
76
70
|
} = ke(t);
|
|
77
|
-
let
|
|
78
|
-
return n || d ? (
|
|
71
|
+
let c = {};
|
|
72
|
+
return n || d ? (c = {
|
|
79
73
|
vy: n ? "top" : "bottom"
|
|
80
|
-
}, t.setAttribute("data-outside-vy",
|
|
81
|
-
...
|
|
74
|
+
}, t.setAttribute("data-outside-vy", c.vy)) : t.removeAttribute("data-outside-vy"), e || a ? (c = {
|
|
75
|
+
...c,
|
|
82
76
|
vx: a ? "right" : "left"
|
|
83
|
-
}, t.setAttribute("data-outside-vx",
|
|
84
|
-
}, we = (t) => Array.isArray(t) && t.every((n) => typeof n == "string"), Ie = ["Mac", "iPhone", "iPad", "iPod"], Y = () => typeof window < "u" && Ie.some((t) => window.navigator.userAgent.includes(t)), H = (t, n) => new Promise(() => setTimeout(t, n)),
|
|
77
|
+
}, t.setAttribute("data-outside-vx", c.vx)) : t.removeAttribute("data-outside-vx"), c;
|
|
78
|
+
}, we = (t) => Array.isArray(t) && t.every((n) => typeof n == "string"), Ie = ["Mac", "iPhone", "iPad", "iPod"], Y = () => typeof window < "u" && Ie.some((t) => window.navigator.userAgent.includes(t)), H = (t, n) => new Promise(() => setTimeout(t, n)), V = (t) => t && String(t), P = (t) => {
|
|
85
79
|
if (t != null)
|
|
86
|
-
return
|
|
87
|
-
}, q = (t, n) => n === void 0 ? !!t : n && t, _e = ["id", "type", "disabled", "aria-label", "data-icon", "data-hide-icon", "data-size", "data-state", "data-width", "data-variant", "data-no-text", "name", "value", "aria-describedby", "aria-expanded", "aria-pressed"],
|
|
80
|
+
return V(!t);
|
|
81
|
+
}, q = (t, n) => n === void 0 ? !!t : n && t, _e = ["id", "type", "disabled", "aria-label", "data-icon", "data-hide-icon", "data-size", "data-state", "data-width", "data-variant", "data-no-text", "name", "value", "aria-describedby", "aria-expanded", "aria-pressed"], de = /* @__PURE__ */ E({
|
|
88
82
|
__name: "button",
|
|
89
83
|
props: {
|
|
90
84
|
ariaexpanded: { type: Boolean, default: void 0 },
|
|
@@ -111,50 +105,50 @@ const V = () => {
|
|
|
111
105
|
text: { default: void 0 }
|
|
112
106
|
},
|
|
113
107
|
setup(t) {
|
|
114
|
-
const n = t, d =
|
|
108
|
+
const n = t, d = u(null);
|
|
115
109
|
function e(a) {
|
|
116
110
|
n.onClick && n.onClick(a);
|
|
117
111
|
}
|
|
118
|
-
return (a,
|
|
112
|
+
return (a, c) => (m(), g("button", {
|
|
119
113
|
ref_key: "_ref",
|
|
120
114
|
ref: d,
|
|
121
115
|
id: a.id,
|
|
122
|
-
class: N(
|
|
116
|
+
class: N(v(A)("db-button", n.class)),
|
|
123
117
|
type: a.type || "button",
|
|
124
118
|
disabled: a.disabled,
|
|
125
119
|
"aria-label": a.label,
|
|
126
120
|
"data-icon": a.icon,
|
|
127
|
-
"data-hide-icon":
|
|
121
|
+
"data-hide-icon": v(P)(a.showIcon),
|
|
128
122
|
"data-size": a.size,
|
|
129
123
|
"data-state": a.state,
|
|
130
124
|
"data-width": a.width,
|
|
131
125
|
"data-variant": a.variant,
|
|
132
|
-
"data-no-text":
|
|
126
|
+
"data-no-text": v(V)(a.noText),
|
|
133
127
|
name: a.name,
|
|
134
128
|
value: a.value,
|
|
135
129
|
"aria-describedby": a.describedbyid,
|
|
136
130
|
"aria-expanded": a.ariaexpanded,
|
|
137
131
|
"aria-pressed": a.ariapressed,
|
|
138
|
-
onClick:
|
|
132
|
+
onClick: c[0] || (c[0] = async (l) => e(l))
|
|
139
133
|
}, [
|
|
140
|
-
a.text ? (m(), g(
|
|
141
|
-
|
|
142
|
-
], 64)) :
|
|
134
|
+
a.text ? (m(), g(C, { key: 0 }, [
|
|
135
|
+
L(k(a.text), 1)
|
|
136
|
+
], 64)) : w(a.$slots, "default", { key: 1 })
|
|
143
137
|
], 10, _e));
|
|
144
138
|
}
|
|
145
|
-
}), ee = "OVERWRITE_DEFAULT_ID", le = "LABEL SHOULD BE SET", fe = " ", K = "-message", J = "-valid-message", Q = "-invalid-message", oe = "-placeholder", ue = "-datalist", Z = "TODO: Add a validMessage", x = "TODO: Add an invalidMessage", $e = "Back", Le = "BurgerMenu", Ee = "brand",
|
|
139
|
+
}), ee = "OVERWRITE_DEFAULT_ID", le = "LABEL SHOULD BE SET", fe = " ", K = "-message", J = "-valid-message", Q = "-invalid-message", oe = "-placeholder", ue = "-datalist", Z = "TODO: Add a validMessage", x = "TODO: Add an invalidMessage", $e = "Back", Le = "BurgerMenu", Ee = "brand", Ne = 4, ce = "Close Button", vn = "density", pn = "color";
|
|
146
140
|
var ve = /* @__PURE__ */ ((t) => (t.FUNCTIONAL = "functional", t.REGULAR = "regular", t.EXPRESSIVE = "expressive", t))(ve || {});
|
|
147
|
-
const
|
|
141
|
+
const hn = Object.entries(ve).map(([, t]) => t);
|
|
148
142
|
var pe = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t))(pe || {}), he = /* @__PURE__ */ ((t) => (t.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", t.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", t.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", t.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", t.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", t.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", t.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", t.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", t.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", t.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", t.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", t.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", t.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", t.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", t.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", t.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", t.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", t.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", t.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", t.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", t.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", t.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", t.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", t.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", t.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", t.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", t.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", t.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", t.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", t.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", t))(he || {});
|
|
149
|
-
const
|
|
143
|
+
const mn = Object.entries(he).map(([, t]) => t), bn = Object.entries(pe).map(([, t]) => t);
|
|
150
144
|
var me = /* @__PURE__ */ ((t) => (t.CRITICAL = "critical", t.INFORMATIONAL = "informational", t.WARNING = "warning", t.SUCCESSFUL = "successful", t))(me || {});
|
|
151
|
-
const
|
|
145
|
+
const gn = Object.entries(me).map(([, t]) => t), Ae = {
|
|
152
146
|
width: 390,
|
|
153
147
|
height: 884
|
|
154
148
|
}, Fe = {
|
|
155
149
|
width: 1920,
|
|
156
150
|
height: 1280
|
|
157
|
-
},
|
|
151
|
+
}, yn = [{
|
|
158
152
|
name: "desktop",
|
|
159
153
|
...Fe
|
|
160
154
|
}, {
|
|
@@ -163,8 +157,8 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
163
157
|
height: 1024
|
|
164
158
|
}, {
|
|
165
159
|
name: "mobile",
|
|
166
|
-
...
|
|
167
|
-
}], Te = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-hide-icon", "data-link-variant"], Se = { key: 0 }, Ce = { key: 1 },
|
|
160
|
+
...Ae
|
|
161
|
+
}], Te = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-hide-icon", "data-link-variant"], Se = { key: 0 }, Ce = { key: 1 }, Bn = /* @__PURE__ */ E({
|
|
168
162
|
__name: "notification",
|
|
169
163
|
props: {
|
|
170
164
|
ariaLive: { default: void 0 },
|
|
@@ -195,32 +189,32 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
195
189
|
text: { default: void 0 }
|
|
196
190
|
},
|
|
197
191
|
setup(t) {
|
|
198
|
-
const n = t, d =
|
|
192
|
+
const n = t, d = u(null);
|
|
199
193
|
function e(a) {
|
|
200
194
|
n.onClose && n.onClose();
|
|
201
195
|
}
|
|
202
|
-
return (a,
|
|
196
|
+
return (a, c) => (m(), g("article", {
|
|
203
197
|
ref_key: "_ref",
|
|
204
198
|
ref: d,
|
|
205
199
|
id: a.id,
|
|
206
|
-
class: N(
|
|
200
|
+
class: N(v(A)("db-notification", n.class)),
|
|
207
201
|
"aria-live": a.ariaLive,
|
|
208
202
|
"data-semantic": a.semantic,
|
|
209
203
|
"data-variant": a.variant,
|
|
210
204
|
"data-icon": a.icon,
|
|
211
|
-
"data-hide-icon":
|
|
205
|
+
"data-hide-icon": v(P)(a.showIcon),
|
|
212
206
|
"data-link-variant": a.linkVariant
|
|
213
207
|
}, [
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
a.text ? (m(), g(
|
|
218
|
-
|
|
219
|
-
], 64)) :
|
|
208
|
+
w(a.$slots, "image"),
|
|
209
|
+
v(q)(a.headline, a.showHeadline) ? (m(), g("header", Se, k(a.headline), 1)) : M("", !0),
|
|
210
|
+
I("p", null, [
|
|
211
|
+
a.text ? (m(), g(C, { key: 0 }, [
|
|
212
|
+
L(k(a.text), 1)
|
|
213
|
+
], 64)) : w(a.$slots, "default", { key: 1 })
|
|
220
214
|
]),
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
a.closeable ? (m(), X(
|
|
215
|
+
v(q)(a.timestamp, a.showTimestamp) ? (m(), g("span", Ce, k(a.timestamp), 1)) : M("", !0),
|
|
216
|
+
w(a.$slots, "link"),
|
|
217
|
+
a.closeable ? (m(), X(de, {
|
|
224
218
|
key: 2,
|
|
225
219
|
icon: "cross",
|
|
226
220
|
variant: "ghost",
|
|
@@ -229,14 +223,14 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
229
223
|
noText: !0,
|
|
230
224
|
onClick: (l) => e()
|
|
231
225
|
}, {
|
|
232
|
-
default:
|
|
233
|
-
|
|
226
|
+
default: R(() => [
|
|
227
|
+
L(k(a.closeButtonText ?? v(ce)), 1)
|
|
234
228
|
]),
|
|
235
229
|
_: 1
|
|
236
|
-
}, 8, ["id", "onClick"])) :
|
|
230
|
+
}, 8, ["id", "onClick"])) : M("", !0)
|
|
237
231
|
], 10, Te));
|
|
238
232
|
}
|
|
239
|
-
}), De = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"],
|
|
233
|
+
}), De = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], kn = /* @__PURE__ */ E({
|
|
240
234
|
__name: "badge",
|
|
241
235
|
props: {
|
|
242
236
|
placement: { default: void 0 },
|
|
@@ -253,42 +247,42 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
253
247
|
text: { default: void 0 }
|
|
254
248
|
},
|
|
255
249
|
setup(t) {
|
|
256
|
-
const n = t, d =
|
|
250
|
+
const n = t, d = u(!1), e = u(null);
|
|
257
251
|
return U(() => {
|
|
258
252
|
d.value = !0;
|
|
259
|
-
}),
|
|
253
|
+
}), z(
|
|
260
254
|
() => [e.value, d.value],
|
|
261
255
|
() => {
|
|
262
256
|
var a;
|
|
263
257
|
if (e.value && d.value && (a = n.placement) != null && a.startsWith("corner")) {
|
|
264
|
-
let
|
|
265
|
-
|
|
258
|
+
let c = e.value.parentElement;
|
|
259
|
+
c && c.localName.includes("badge") && (c = c.parentElement), c && c.setAttribute("data-has-badge", "true");
|
|
266
260
|
}
|
|
267
261
|
},
|
|
268
262
|
{
|
|
269
263
|
immediate: !0,
|
|
270
264
|
flush: "post"
|
|
271
265
|
}
|
|
272
|
-
), (a,
|
|
266
|
+
), (a, c) => {
|
|
273
267
|
var l;
|
|
274
268
|
return m(), g("span", {
|
|
275
269
|
ref_key: "_ref",
|
|
276
270
|
ref: e,
|
|
277
271
|
id: a.id,
|
|
278
|
-
class: N(
|
|
272
|
+
class: N(v(A)("db-badge", n.class)),
|
|
279
273
|
"data-semantic": a.semantic,
|
|
280
274
|
"data-size": a.size,
|
|
281
275
|
"data-emphasis": a.emphasis,
|
|
282
276
|
"data-placement": a.placement,
|
|
283
|
-
"data-label": ((l = a.placement) == null ? void 0 : l.startsWith("corner")) && (a.label ??
|
|
277
|
+
"data-label": ((l = a.placement) == null ? void 0 : l.startsWith("corner")) && (a.label ?? v(le))
|
|
284
278
|
}, [
|
|
285
|
-
a.text ? (m(), g(
|
|
286
|
-
|
|
287
|
-
], 64)) :
|
|
279
|
+
a.text ? (m(), g(C, { key: 0 }, [
|
|
280
|
+
L(k(a.text), 1)
|
|
281
|
+
], 64)) : w(a.$slots, "default", { key: 1 })
|
|
288
282
|
], 10, De);
|
|
289
283
|
};
|
|
290
284
|
}
|
|
291
|
-
}), Me = ["data-icon", "data-hide-icon", "id"],
|
|
285
|
+
}), Me = ["data-icon", "data-hide-icon", "id"], wn = /* @__PURE__ */ E({
|
|
292
286
|
__name: "brand",
|
|
293
287
|
props: {
|
|
294
288
|
hideLogo: { type: Boolean, default: void 0 },
|
|
@@ -303,21 +297,21 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
303
297
|
text: { default: void 0 }
|
|
304
298
|
},
|
|
305
299
|
setup(t) {
|
|
306
|
-
const n = t, d =
|
|
300
|
+
const n = t, d = u(null);
|
|
307
301
|
return (e, a) => (m(), g("div", {
|
|
308
302
|
ref_key: "_ref",
|
|
309
303
|
ref: d,
|
|
310
|
-
"data-icon": e.hideLogo ? "none" : e.icon ??
|
|
311
|
-
"data-hide-icon":
|
|
304
|
+
"data-icon": e.hideLogo ? "none" : e.icon ?? v(Ee),
|
|
305
|
+
"data-hide-icon": v(P)(e.showIcon),
|
|
312
306
|
id: e.id,
|
|
313
|
-
class: N(
|
|
307
|
+
class: N(v(A)("db-brand", n.class))
|
|
314
308
|
}, [
|
|
315
|
-
e.text ? (m(), g(
|
|
316
|
-
|
|
317
|
-
], 64)) :
|
|
309
|
+
e.text ? (m(), g(C, { key: 0 }, [
|
|
310
|
+
L(k(e.text), 1)
|
|
311
|
+
], 64)) : w(e.$slots, "default", { key: 1 })
|
|
318
312
|
], 10, Me));
|
|
319
313
|
}
|
|
320
|
-
}),
|
|
314
|
+
}), ze = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], In = /* @__PURE__ */ E({
|
|
321
315
|
__name: "card",
|
|
322
316
|
props: {
|
|
323
317
|
behavior: { default: void 0 },
|
|
@@ -332,28 +326,28 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
332
326
|
spacing: { default: void 0 }
|
|
333
327
|
},
|
|
334
328
|
setup(t) {
|
|
335
|
-
const n = t, d =
|
|
329
|
+
const n = t, d = u(null);
|
|
336
330
|
function e(a) {
|
|
337
331
|
n.onClick && n.onClick(a);
|
|
338
332
|
}
|
|
339
|
-
return (a,
|
|
333
|
+
return (a, c) => (m(), g("div", {
|
|
340
334
|
ref_key: "_ref",
|
|
341
335
|
ref: d,
|
|
342
336
|
id: a.id,
|
|
343
|
-
class: N(
|
|
337
|
+
class: N(v(A)("db-card", n.class)),
|
|
344
338
|
"data-behavior": a.behavior,
|
|
345
339
|
"data-elevation-level": a.elevationLevel,
|
|
346
340
|
"data-spacing": a.spacing,
|
|
347
341
|
role: a.behavior === "interactive" ? "button" : void 0,
|
|
348
342
|
tabIndex: a.behavior === "interactive" ? 0 : void 0,
|
|
349
|
-
onClick:
|
|
343
|
+
onClick: c[0] || (c[0] = async (l) => e(l))
|
|
350
344
|
}, [
|
|
351
|
-
|
|
352
|
-
], 10,
|
|
345
|
+
w(a.$slots, "default")
|
|
346
|
+
], 10, ze));
|
|
353
347
|
}
|
|
354
348
|
}), ae = (t, n, d = "value") => {
|
|
355
349
|
t(`update:${d}`, n.target[d]);
|
|
356
|
-
},
|
|
350
|
+
}, Re = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], W = /* @__PURE__ */ E({
|
|
357
351
|
__name: "infotext",
|
|
358
352
|
props: {
|
|
359
353
|
children: { default: void 0 },
|
|
@@ -369,26 +363,26 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
369
363
|
text: { default: void 0 }
|
|
370
364
|
},
|
|
371
365
|
setup(t) {
|
|
372
|
-
const n = t, d =
|
|
366
|
+
const n = t, d = u(null);
|
|
373
367
|
return (e, a) => (m(), g("span", {
|
|
374
368
|
ref_key: "_ref",
|
|
375
369
|
ref: d,
|
|
376
370
|
id: e.id,
|
|
377
|
-
class: N(
|
|
371
|
+
class: N(v(A)("db-infotext", n.class)),
|
|
378
372
|
"data-icon": e.icon,
|
|
379
373
|
"data-semantic": e.semantic,
|
|
380
374
|
"data-size": e.size,
|
|
381
|
-
"data-hide-icon-before":
|
|
375
|
+
"data-hide-icon-before": v(P)(e.showIcon ?? !0)
|
|
382
376
|
}, [
|
|
383
|
-
e.text ? (m(), g(
|
|
384
|
-
|
|
385
|
-
], 64)) :
|
|
386
|
-
], 10,
|
|
377
|
+
e.text ? (m(), g(C, { key: 0 }, [
|
|
378
|
+
L(k(e.text), 1)
|
|
379
|
+
], 64)) : w(e.$slots, "default", { key: 1 })
|
|
380
|
+
], 10, Re));
|
|
387
381
|
}
|
|
388
|
-
}), Ue = ["data-size", "data-hide-label"], Pe = ["for"],
|
|
382
|
+
}), Ue = ["data-size", "data-hide-label"], Pe = ["for"], Ve = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Ge = {
|
|
389
383
|
"data-visually-hidden": "true",
|
|
390
384
|
role: "status"
|
|
391
|
-
},
|
|
385
|
+
}, _n = /* @__PURE__ */ E({
|
|
392
386
|
__name: "checkbox",
|
|
393
387
|
props: {
|
|
394
388
|
indeterminate: { type: Boolean, default: void 0 },
|
|
@@ -425,113 +419,117 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
425
419
|
},
|
|
426
420
|
emits: ["update:checked"],
|
|
427
421
|
setup(t, { emit: n }) {
|
|
428
|
-
const d = n, e = t, a =
|
|
422
|
+
const d = n, e = t, a = u(!1), c = u(void 0), l = u(void 0), p = u(void 0), i = u(void 0), h = u(""), s = u(""), B = u(null);
|
|
429
423
|
U(() => {
|
|
430
424
|
a.value = !0;
|
|
431
|
-
const
|
|
432
|
-
|
|
433
|
-
}),
|
|
434
|
-
() => [
|
|
425
|
+
const f = e.id ?? `checkbox-${G()}`;
|
|
426
|
+
c.value = f, l.value = f + K, p.value = f + J, i.value = f + Q;
|
|
427
|
+
}), z(
|
|
428
|
+
() => [c.value],
|
|
435
429
|
() => {
|
|
436
|
-
if (
|
|
437
|
-
const
|
|
438
|
-
l.value =
|
|
430
|
+
if (c.value) {
|
|
431
|
+
const f = c.value + K;
|
|
432
|
+
l.value = f, p.value = c.value + J, i.value = c.value + Q, q(e.message, e.showMessage) && (h.value = f);
|
|
439
433
|
}
|
|
440
434
|
},
|
|
441
435
|
{
|
|
442
436
|
immediate: !0,
|
|
443
437
|
flush: "post"
|
|
444
438
|
}
|
|
445
|
-
),
|
|
446
|
-
() => [a.value,
|
|
439
|
+
), z(
|
|
440
|
+
() => [a.value, B.value, e.indeterminate],
|
|
447
441
|
() => {
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
442
|
+
B.value && e.indeterminate !== void 0 && (B.value.indeterminate = e.indeterminate);
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
immediate: !0,
|
|
446
|
+
flush: "post"
|
|
447
|
+
}
|
|
448
|
+
), z(
|
|
449
|
+
() => [a.value, B.value, e.checked],
|
|
450
|
+
() => {
|
|
451
|
+
a.value && B.value && (e.checked != null && (B.value.checked = e.checked), a.value = !1);
|
|
454
452
|
},
|
|
455
453
|
{
|
|
456
454
|
immediate: !0,
|
|
457
455
|
flush: "post"
|
|
458
456
|
}
|
|
459
457
|
);
|
|
460
|
-
function
|
|
461
|
-
var
|
|
462
|
-
e.onChange && e.onChange(
|
|
458
|
+
function $(f) {
|
|
459
|
+
var o, y, r;
|
|
460
|
+
e.onChange && e.onChange(f), e.change && e.change(f), ae(d, f, "checked"), !((o = B.value) != null && o.validity.valid) || e.validation === "invalid" ? (h.value = i.value, Y() && (s.value = e.invalidMessage ?? ((y = B.value) == null ? void 0 : y.validationMessage) ?? x, H(() => s.value = "", 1e3))) : e.validation === "valid" || (r = B.value) != null && r.validity.valid && e.required ? (h.value = p.value, Y() && (s.value = e.validMessage ?? Z, H(() => s.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = l.value : h.value = "";
|
|
463
461
|
}
|
|
464
|
-
function
|
|
465
|
-
e.onBlur && e.onBlur(
|
|
462
|
+
function D(f) {
|
|
463
|
+
e.onBlur && e.onBlur(f), e.blur && e.blur(f);
|
|
466
464
|
}
|
|
467
|
-
function
|
|
468
|
-
e.onFocus && e.onFocus(
|
|
465
|
+
function _(f) {
|
|
466
|
+
e.onFocus && e.onFocus(f), e.focus && e.focus(f);
|
|
469
467
|
}
|
|
470
|
-
return (
|
|
471
|
-
class: N(
|
|
472
|
-
"data-size":
|
|
473
|
-
"data-hide-label":
|
|
468
|
+
return (f, o) => (m(), g("div", {
|
|
469
|
+
class: N(v(A)("db-checkbox", e.class)),
|
|
470
|
+
"data-size": f.size,
|
|
471
|
+
"data-hide-label": v(P)(f.showLabel)
|
|
474
472
|
}, [
|
|
475
|
-
|
|
476
|
-
|
|
473
|
+
I("label", { for: c.value }, [
|
|
474
|
+
I("input", {
|
|
477
475
|
type: "checkbox",
|
|
478
|
-
"aria-invalid":
|
|
479
|
-
"data-custom-validity":
|
|
476
|
+
"aria-invalid": f.validation === "invalid",
|
|
477
|
+
"data-custom-validity": f.validation,
|
|
480
478
|
ref_key: "_ref",
|
|
481
479
|
ref: B,
|
|
482
|
-
id:
|
|
483
|
-
name:
|
|
484
|
-
checked:
|
|
485
|
-
disabled:
|
|
486
|
-
value:
|
|
487
|
-
required:
|
|
488
|
-
onChange:
|
|
489
|
-
onBlur:
|
|
490
|
-
onFocus:
|
|
480
|
+
id: c.value,
|
|
481
|
+
name: f.name,
|
|
482
|
+
checked: f.checked,
|
|
483
|
+
disabled: f.disabled,
|
|
484
|
+
value: f.value,
|
|
485
|
+
required: f.required,
|
|
486
|
+
onChange: o[0] || (o[0] = async (y) => $(y)),
|
|
487
|
+
onBlur: o[1] || (o[1] = async (y) => D(y)),
|
|
488
|
+
onFocus: o[2] || (o[2] = async (y) => _(y)),
|
|
491
489
|
"aria-describedby": h.value
|
|
492
|
-
}, null, 40,
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
], 64)) :
|
|
490
|
+
}, null, 40, Ve),
|
|
491
|
+
f.label ? (m(), g(C, { key: 0 }, [
|
|
492
|
+
L(k(f.label), 1)
|
|
493
|
+
], 64)) : w(f.$slots, "default", { key: 1 })
|
|
496
494
|
], 8, Pe),
|
|
497
|
-
|
|
495
|
+
v(q)(f.message, f.showMessage) ? (m(), X(W, {
|
|
498
496
|
key: 0,
|
|
499
497
|
size: "small",
|
|
500
|
-
icon:
|
|
498
|
+
icon: f.messageIcon,
|
|
501
499
|
id: l.value
|
|
502
500
|
}, {
|
|
503
|
-
default:
|
|
504
|
-
|
|
501
|
+
default: R(() => [
|
|
502
|
+
L(k(f.message), 1)
|
|
505
503
|
]),
|
|
506
504
|
_: 1
|
|
507
|
-
}, 8, ["icon", "id"])) :
|
|
508
|
-
W
|
|
505
|
+
}, 8, ["icon", "id"])) : M("", !0),
|
|
506
|
+
O(W, {
|
|
509
507
|
size: "small",
|
|
510
508
|
semantic: "successful",
|
|
511
|
-
id:
|
|
509
|
+
id: p.value
|
|
512
510
|
}, {
|
|
513
|
-
default:
|
|
514
|
-
|
|
511
|
+
default: R(() => [
|
|
512
|
+
L(k(f.validMessage ?? v(Z)), 1)
|
|
515
513
|
]),
|
|
516
514
|
_: 1
|
|
517
515
|
}, 8, ["id"]),
|
|
518
|
-
W
|
|
516
|
+
O(W, {
|
|
519
517
|
size: "small",
|
|
520
518
|
semantic: "critical",
|
|
521
519
|
id: i.value
|
|
522
520
|
}, {
|
|
523
|
-
default:
|
|
524
|
-
var
|
|
521
|
+
default: R(() => {
|
|
522
|
+
var y;
|
|
525
523
|
return [
|
|
526
|
-
|
|
524
|
+
L(k(f.invalidMessage ?? ((y = B.value) == null ? void 0 : y.validationMessage) ?? v(x)), 1)
|
|
527
525
|
];
|
|
528
526
|
}),
|
|
529
527
|
_: 1
|
|
530
528
|
}, 8, ["id"]),
|
|
531
|
-
|
|
529
|
+
I("span", Ge, k(s.value), 1)
|
|
532
530
|
], 10, Ue));
|
|
533
531
|
}
|
|
534
|
-
}), qe = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"],
|
|
532
|
+
}), qe = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], $n = /* @__PURE__ */ E({
|
|
535
533
|
__name: "divider",
|
|
536
534
|
props: {
|
|
537
535
|
margin: { default: void 0 },
|
|
@@ -546,7 +544,7 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
546
544
|
width: { default: void 0 }
|
|
547
545
|
},
|
|
548
546
|
setup(t) {
|
|
549
|
-
const n = t, d =
|
|
547
|
+
const n = t, d = u(null);
|
|
550
548
|
return (e, a) => (m(), g("div", {
|
|
551
549
|
ref_key: "_ref",
|
|
552
550
|
ref: d,
|
|
@@ -555,10 +553,10 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
555
553
|
"data-variant": e.variant,
|
|
556
554
|
"data-emphasis": e.emphasis,
|
|
557
555
|
"data-width": e.width,
|
|
558
|
-
class: N(
|
|
556
|
+
class: N(v(A)("db-divider", n.class))
|
|
559
557
|
}, null, 10, qe));
|
|
560
558
|
}
|
|
561
|
-
}),
|
|
559
|
+
}), Oe = ["id", "data-backdrop", "data-variant"], We = ["data-spacing", "data-width", "data-direction", "data-rounded"], Xe = { class: "db-drawer-header" }, He = { class: "db-drawer-header-text" }, je = { class: "db-drawer-content" }, Ye = /* @__PURE__ */ E({
|
|
562
560
|
__name: "drawer",
|
|
563
561
|
props: {
|
|
564
562
|
backdrop: { default: void 0 },
|
|
@@ -580,13 +578,13 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
580
578
|
spacing: { default: void 0 }
|
|
581
579
|
},
|
|
582
580
|
setup(t) {
|
|
583
|
-
const n = t, d =
|
|
581
|
+
const n = t, d = u(null), e = u(null);
|
|
584
582
|
U(() => {
|
|
585
|
-
|
|
586
|
-
}),
|
|
583
|
+
c();
|
|
584
|
+
}), z(
|
|
587
585
|
() => [n.open],
|
|
588
586
|
() => {
|
|
589
|
-
|
|
587
|
+
c();
|
|
590
588
|
},
|
|
591
589
|
{
|
|
592
590
|
immediate: !0,
|
|
@@ -596,38 +594,38 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
596
594
|
function a(l) {
|
|
597
595
|
l.key === "Escape" && l.preventDefault(), (l === "close" || l.key === "Escape" || l.target.nodeName === "DIALOG" && l.type === "click" && n.backdrop !== "none") && n.onClose && n.onClose(l);
|
|
598
596
|
}
|
|
599
|
-
function
|
|
597
|
+
function c() {
|
|
600
598
|
d.value && (n.open && !d.value.open && (e.value && (e.value.hidden = !1), n.backdrop === "none" || n.variant === "inside" ? d.value.show() : d.value.showModal()), !n.open && d.value.open && (e.value && (e.value.hidden = !0), H(() => {
|
|
601
599
|
var l;
|
|
602
600
|
e.value && (e.value.hidden = !1), (l = d.value) == null || l.close();
|
|
603
601
|
}, 401)));
|
|
604
602
|
}
|
|
605
|
-
return (l,
|
|
603
|
+
return (l, p) => (m(), g("dialog", {
|
|
606
604
|
class: "db-drawer",
|
|
607
605
|
id: l.id,
|
|
608
606
|
ref_key: "_ref",
|
|
609
607
|
ref: d,
|
|
610
|
-
onClick:
|
|
608
|
+
onClick: p[0] || (p[0] = async (i) => {
|
|
611
609
|
a(i);
|
|
612
610
|
}),
|
|
613
|
-
onKeydown:
|
|
611
|
+
onKeydown: p[1] || (p[1] = async (i) => a(i)),
|
|
614
612
|
"data-backdrop": l.backdrop,
|
|
615
613
|
"data-variant": l.variant
|
|
616
614
|
}, [
|
|
617
|
-
|
|
615
|
+
I("article", {
|
|
618
616
|
ref_key: "dialogContainerRef",
|
|
619
617
|
ref: e,
|
|
620
|
-
class: N(
|
|
618
|
+
class: N(v(A)("db-drawer-container", n.class)),
|
|
621
619
|
"data-spacing": l.spacing,
|
|
622
620
|
"data-width": l.width,
|
|
623
621
|
"data-direction": l.direction,
|
|
624
622
|
"data-rounded": l.rounded
|
|
625
623
|
}, [
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
624
|
+
I("header", Xe, [
|
|
625
|
+
I("div", He, [
|
|
626
|
+
w(l.$slots, "drawer-header")
|
|
629
627
|
]),
|
|
630
|
-
|
|
628
|
+
O(de, {
|
|
631
629
|
class: "button-close-drawer",
|
|
632
630
|
icon: "cross",
|
|
633
631
|
variant: "ghost",
|
|
@@ -635,26 +633,26 @@ const kn = Object.entries(me).map(([, t]) => t), Ne = {
|
|
|
635
633
|
noText: !0,
|
|
636
634
|
onClick: (i) => a("close")
|
|
637
635
|
}, {
|
|
638
|
-
default:
|
|
639
|
-
|
|
636
|
+
default: R(() => [
|
|
637
|
+
L(k(l.closeButtonText ?? v(ce)), 1)
|
|
640
638
|
]),
|
|
641
639
|
_: 1
|
|
642
640
|
}, 8, ["id", "onClick"])
|
|
643
641
|
]),
|
|
644
|
-
|
|
645
|
-
|
|
642
|
+
I("div", je, [
|
|
643
|
+
w(l.$slots, "default")
|
|
646
644
|
])
|
|
647
|
-
], 10,
|
|
648
|
-
], 40,
|
|
645
|
+
], 10, We)
|
|
646
|
+
], 40, Oe));
|
|
649
647
|
}
|
|
650
|
-
}),
|
|
648
|
+
}), be = (t) => {
|
|
651
649
|
var d, e;
|
|
652
650
|
const {
|
|
653
651
|
target: n
|
|
654
652
|
} = t;
|
|
655
653
|
return !!(!((d = n == null ? void 0 : n.classList) != null && d.contains("db-navigation-item-expand-button")) && ((e = n == null ? void 0 : n.parentElement) != null && e.classList.contains("db-navigation-item")));
|
|
656
654
|
};
|
|
657
|
-
class
|
|
655
|
+
class Ke {
|
|
658
656
|
constructor(n, d) {
|
|
659
657
|
j(this, "element");
|
|
660
658
|
j(this, "subNavigation");
|
|
@@ -706,18 +704,18 @@ class Je {
|
|
|
706
704
|
if (!this.triangleData)
|
|
707
705
|
return;
|
|
708
706
|
if (n === "fill-gap") {
|
|
709
|
-
const l = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`,
|
|
707
|
+
const l = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, p = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
|
|
710
708
|
return {
|
|
711
|
-
lb: `${
|
|
712
|
-
lt: `${
|
|
709
|
+
lb: `${p} ${l}`,
|
|
710
|
+
lt: `${p} 0`,
|
|
713
711
|
rt: "100% 0",
|
|
714
712
|
rb: `100% ${l}`
|
|
715
713
|
};
|
|
716
714
|
}
|
|
717
|
-
const d = this.getTriangleTipX(), e = this.getTriangleTipY(), a = `${d}px ${e}px`,
|
|
715
|
+
const d = this.getTriangleTipX(), e = this.getTriangleTipY(), a = `${d}px ${e}px`, c = `${d}px ${e}px`;
|
|
718
716
|
return {
|
|
719
717
|
lb: a,
|
|
720
|
-
lt:
|
|
718
|
+
lt: c,
|
|
721
719
|
rt: "100% 0",
|
|
722
720
|
rb: "100% 100%"
|
|
723
721
|
};
|
|
@@ -730,7 +728,7 @@ class Je {
|
|
|
730
728
|
e && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${e.lb}, ${e.lt}, ${e.rt}, ${e.rb})`), d && (this.triangleData = void 0));
|
|
731
729
|
}
|
|
732
730
|
}
|
|
733
|
-
const
|
|
731
|
+
const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-header-drawer-navigation" }, Ze = { class: "db-header-meta-navigation" }, xe = { class: "db-header-secondary-action" }, ea = { class: "db-header-meta-navigation" }, aa = { class: "db-header-navigation-bar" }, na = { class: "db-header-brand-container" }, ta = { class: "db-header-navigation-container" }, da = { class: "db-header-navigation" }, ia = { class: "db-header-primary-action" }, la = { class: "db-header-action-container" }, sa = { class: "db-header-burger-menu-container" }, oa = { class: "db-header-secondary-action" }, Ln = /* @__PURE__ */ E({
|
|
734
732
|
__name: "header",
|
|
735
733
|
props: {
|
|
736
734
|
brand: {},
|
|
@@ -750,10 +748,10 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
750
748
|
width: { default: void 0 }
|
|
751
749
|
},
|
|
752
750
|
setup(t) {
|
|
753
|
-
const n = t, d =
|
|
751
|
+
const n = t, d = u(ee), e = u(!1), a = u(!1), c = u(null);
|
|
754
752
|
U(() => {
|
|
755
|
-
e.value = !0, d.value = n.id || "header-" +
|
|
756
|
-
}),
|
|
753
|
+
e.value = !0, d.value = n.id || "header-" + G();
|
|
754
|
+
}), z(
|
|
757
755
|
() => [e.value],
|
|
758
756
|
() => {
|
|
759
757
|
if (e.value && document && d.value && n.forceMobile) {
|
|
@@ -772,80 +770,80 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
772
770
|
function l() {
|
|
773
771
|
n.onToggle && n.onToggle(!n.drawerOpen);
|
|
774
772
|
}
|
|
775
|
-
function
|
|
776
|
-
|
|
773
|
+
function p(i) {
|
|
774
|
+
be(i) && l();
|
|
777
775
|
}
|
|
778
776
|
return (i, h) => (m(), g("header", {
|
|
779
777
|
ref_key: "_ref",
|
|
780
|
-
ref:
|
|
781
|
-
class: N(
|
|
778
|
+
ref: c,
|
|
779
|
+
class: N(v(A)("db-header", n.class)),
|
|
782
780
|
id: d.value,
|
|
783
781
|
"data-width": i.width,
|
|
784
782
|
"data-on-forcing-mobile": i.forceMobile && !a.value
|
|
785
783
|
}, [
|
|
786
|
-
|
|
784
|
+
O(Ye, {
|
|
787
785
|
class: "db-header-drawer",
|
|
788
786
|
spacing: "small",
|
|
789
787
|
rounded: !0,
|
|
790
788
|
open: i.drawerOpen,
|
|
791
789
|
onClose: () => l()
|
|
792
790
|
}, {
|
|
793
|
-
default:
|
|
794
|
-
|
|
795
|
-
|
|
791
|
+
default: R(() => [
|
|
792
|
+
I("div", Qe, [
|
|
793
|
+
I("div", {
|
|
796
794
|
class: "db-header-navigation",
|
|
797
|
-
onClick: h[0] || (h[0] = async (s) =>
|
|
795
|
+
onClick: h[0] || (h[0] = async (s) => p(s))
|
|
798
796
|
}, [
|
|
799
|
-
|
|
797
|
+
w(i.$slots, "default")
|
|
800
798
|
]),
|
|
801
|
-
|
|
802
|
-
|
|
799
|
+
I("div", Ze, [
|
|
800
|
+
w(i.$slots, "meta-navigation")
|
|
803
801
|
])
|
|
804
802
|
]),
|
|
805
|
-
|
|
806
|
-
|
|
803
|
+
I("div", xe, [
|
|
804
|
+
w(i.$slots, "secondary-action")
|
|
807
805
|
])
|
|
808
806
|
]),
|
|
809
807
|
_: 3
|
|
810
808
|
}, 8, ["open", "onClose"]),
|
|
811
|
-
|
|
812
|
-
|
|
809
|
+
I("div", ea, [
|
|
810
|
+
w(i.$slots, "meta-navigation")
|
|
813
811
|
]),
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
812
|
+
I("div", aa, [
|
|
813
|
+
I("div", na, [
|
|
814
|
+
w(i.$slots, "brand")
|
|
817
815
|
]),
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
816
|
+
I("div", ta, [
|
|
817
|
+
I("div", da, [
|
|
818
|
+
w(i.$slots, "default")
|
|
821
819
|
]),
|
|
822
|
-
|
|
823
|
-
|
|
820
|
+
I("div", ia, [
|
|
821
|
+
w(i.$slots, "primary-action")
|
|
824
822
|
])
|
|
825
823
|
]),
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
824
|
+
I("div", la, [
|
|
825
|
+
I("div", sa, [
|
|
826
|
+
O(de, {
|
|
829
827
|
icon: "menu",
|
|
830
828
|
variant: "ghost",
|
|
831
829
|
id: d.value + "-burger-menu",
|
|
832
830
|
noText: !0,
|
|
833
831
|
onClick: () => l()
|
|
834
832
|
}, {
|
|
835
|
-
default:
|
|
836
|
-
|
|
833
|
+
default: R(() => [
|
|
834
|
+
L(k(i.burgerMenuLabel ?? v(Le)), 1)
|
|
837
835
|
]),
|
|
838
836
|
_: 1
|
|
839
837
|
}, 8, ["id", "onClick"])
|
|
840
838
|
]),
|
|
841
|
-
|
|
842
|
-
|
|
839
|
+
I("div", oa, [
|
|
840
|
+
w(i.$slots, "secondary-action")
|
|
843
841
|
])
|
|
844
842
|
])
|
|
845
843
|
])
|
|
846
|
-
], 10,
|
|
844
|
+
], 10, Je));
|
|
847
845
|
}
|
|
848
|
-
}),
|
|
846
|
+
}), ua = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], En = /* @__PURE__ */ E({
|
|
849
847
|
__name: "icon",
|
|
850
848
|
props: {
|
|
851
849
|
variant: { default: void 0 },
|
|
@@ -860,26 +858,26 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
860
858
|
text: { default: void 0 }
|
|
861
859
|
},
|
|
862
860
|
setup(t) {
|
|
863
|
-
const n = t, d =
|
|
861
|
+
const n = t, d = u(null);
|
|
864
862
|
return (e, a) => (m(), g("span", {
|
|
865
863
|
"aria-hidden": "true",
|
|
866
864
|
ref_key: "_ref",
|
|
867
865
|
ref: d,
|
|
868
866
|
id: e.id,
|
|
869
|
-
class: N(
|
|
867
|
+
class: N(v(A)("db-icon", n.class)),
|
|
870
868
|
"data-icon": e.icon,
|
|
871
869
|
"data-icon-weight": e.weight,
|
|
872
870
|
"data-icon-variant": e.variant
|
|
873
871
|
}, [
|
|
874
|
-
e.text ? (m(), g(
|
|
875
|
-
|
|
876
|
-
], 64)) :
|
|
877
|
-
], 10,
|
|
872
|
+
e.text ? (m(), g(C, { key: 0 }, [
|
|
873
|
+
L(k(e.text), 1)
|
|
874
|
+
], 64)) : w(e.$slots, "default", { key: 1 })
|
|
875
|
+
], 10, ua));
|
|
878
876
|
}
|
|
879
|
-
}),
|
|
877
|
+
}), ra = ["data-variant", "data-hide-label", "data-hide-icon", "data-icon", "data-icon-after", "data-hide-icon-after"], fa = ["for"], ca = ["aria-invalid", "data-custom-validity", "id", "name", "type", "placeholder", "disabled", "required", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "list", "aria-describedby"], va = ["id"], pa = ["value"], ha = {
|
|
880
878
|
"data-visually-hidden": "true",
|
|
881
879
|
role: "status"
|
|
882
|
-
},
|
|
880
|
+
}, Nn = /* @__PURE__ */ E({
|
|
883
881
|
__name: "input",
|
|
884
882
|
props: {
|
|
885
883
|
dataList: { default: void 0 },
|
|
@@ -924,27 +922,28 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
924
922
|
messageIcon: { default: void 0 },
|
|
925
923
|
autocomplete: { default: void 0 },
|
|
926
924
|
showMessage: { type: Boolean, default: void 0 },
|
|
927
|
-
showIcon: { type: Boolean, default: void 0 }
|
|
925
|
+
showIcon: { type: Boolean, default: void 0 },
|
|
926
|
+
size: { default: void 0 }
|
|
928
927
|
},
|
|
929
928
|
emits: ["update:value"],
|
|
930
929
|
setup(t, { emit: n }) {
|
|
931
|
-
const d = n, e = t, a =
|
|
930
|
+
const d = n, e = t, a = u(void 0), c = u(void 0), l = u(void 0), p = u(void 0), i = u(void 0), h = u(""), s = u(""), B = u(""), $ = u(null);
|
|
932
931
|
U(() => {
|
|
933
|
-
const
|
|
934
|
-
a.value =
|
|
935
|
-
}),
|
|
932
|
+
const r = e.id ?? `input-${G()}`;
|
|
933
|
+
a.value = r, c.value = r + K, l.value = r + J, p.value = r + Q, i.value = r + ue;
|
|
934
|
+
}), z(
|
|
936
935
|
() => [a.value],
|
|
937
936
|
() => {
|
|
938
937
|
if (a.value) {
|
|
939
|
-
const
|
|
940
|
-
|
|
938
|
+
const r = a.value + K;
|
|
939
|
+
c.value = r, l.value = a.value + J, p.value = a.value + Q, i.value = e.dataListId ?? a.value + ue, q(e.message, e.showMessage) && (h.value = r);
|
|
941
940
|
}
|
|
942
941
|
},
|
|
943
942
|
{
|
|
944
943
|
immediate: !0,
|
|
945
944
|
flush: "post"
|
|
946
945
|
}
|
|
947
|
-
),
|
|
946
|
+
), z(
|
|
948
947
|
() => [e.value],
|
|
949
948
|
() => {
|
|
950
949
|
s.value = e.value;
|
|
@@ -954,114 +953,115 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
954
953
|
flush: "post"
|
|
955
954
|
}
|
|
956
955
|
);
|
|
957
|
-
function
|
|
958
|
-
s.value =
|
|
956
|
+
function D(r) {
|
|
957
|
+
s.value = r.target.value, e.onInput && e.onInput(r), e.input && e.input(r);
|
|
959
958
|
}
|
|
960
|
-
function
|
|
961
|
-
var
|
|
962
|
-
e.onChange && e.onChange(
|
|
959
|
+
function _(r) {
|
|
960
|
+
var T, b, S;
|
|
961
|
+
e.onChange && e.onChange(r), e.change && e.change(r), ae(d, r), !((T = $.value) != null && T.validity.valid) || e.validation === "invalid" ? (h.value = p.value, Y() && (B.value = e.invalidMessage ?? ((b = $.value) == null ? void 0 : b.validationMessage) ?? x, H(() => B.value = "", 1e3))) : e.validation === "valid" || (S = $.value) != null && S.validity.valid && (e.required || e.minLength || e.maxLength || e.pattern) ? (h.value = l.value, Y() && (B.value = e.validMessage ?? Z, H(() => B.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = c.value : h.value = "";
|
|
963
962
|
}
|
|
964
|
-
function
|
|
965
|
-
e.onBlur && e.onBlur(
|
|
963
|
+
function f(r) {
|
|
964
|
+
e.onBlur && e.onBlur(r), e.blur && e.blur(r);
|
|
966
965
|
}
|
|
967
|
-
function
|
|
968
|
-
e.onFocus && e.onFocus(
|
|
966
|
+
function o(r) {
|
|
967
|
+
e.onFocus && e.onFocus(r), e.focus && e.focus(r);
|
|
969
968
|
}
|
|
970
|
-
function
|
|
969
|
+
function y(r) {
|
|
971
970
|
return Array.from(
|
|
972
|
-
(we(
|
|
973
|
-
value:
|
|
971
|
+
(we(r) ? r.map((T) => ({
|
|
972
|
+
value: T,
|
|
974
973
|
label: void 0
|
|
975
|
-
})) :
|
|
974
|
+
})) : r) || []
|
|
976
975
|
);
|
|
977
976
|
}
|
|
978
|
-
return (
|
|
979
|
-
class: N(
|
|
980
|
-
"data-variant":
|
|
981
|
-
"data-hide-label":
|
|
982
|
-
"data-hide-icon":
|
|
983
|
-
"data-icon":
|
|
984
|
-
"data-icon-after":
|
|
985
|
-
"data-hide-icon-after":
|
|
977
|
+
return (r, T) => (m(), g("div", {
|
|
978
|
+
class: N(v(A)("db-input", e.class)),
|
|
979
|
+
"data-variant": r.variant,
|
|
980
|
+
"data-hide-label": v(P)(r.showLabel),
|
|
981
|
+
"data-hide-icon": v(P)(r.showIcon),
|
|
982
|
+
"data-icon": r.icon,
|
|
983
|
+
"data-icon-after": r.iconAfter,
|
|
984
|
+
"data-hide-icon-after": v(P)(r.showIcon)
|
|
986
985
|
}, [
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
"aria-invalid":
|
|
990
|
-
"data-custom-validity":
|
|
986
|
+
I("label", { for: a.value }, k(r.label ?? v(le)), 9, fa),
|
|
987
|
+
I("input", {
|
|
988
|
+
"aria-invalid": r.validation === "invalid",
|
|
989
|
+
"data-custom-validity": r.validation,
|
|
991
990
|
ref_key: "_ref",
|
|
992
|
-
ref:
|
|
991
|
+
ref: $,
|
|
993
992
|
id: a.value,
|
|
994
|
-
name:
|
|
995
|
-
type:
|
|
996
|
-
placeholder:
|
|
997
|
-
disabled:
|
|
998
|
-
required:
|
|
999
|
-
step:
|
|
1000
|
-
value:
|
|
1001
|
-
maxLength:
|
|
1002
|
-
minLength:
|
|
1003
|
-
max:
|
|
1004
|
-
min:
|
|
1005
|
-
readOnly:
|
|
1006
|
-
form:
|
|
1007
|
-
pattern:
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
993
|
+
name: r.name,
|
|
994
|
+
type: r.type || "text",
|
|
995
|
+
placeholder: r.placeholder ?? v(fe),
|
|
996
|
+
disabled: r.disabled,
|
|
997
|
+
required: r.required,
|
|
998
|
+
step: r.step,
|
|
999
|
+
value: r.value ?? s.value,
|
|
1000
|
+
maxLength: r.maxLength,
|
|
1001
|
+
minLength: r.minLength,
|
|
1002
|
+
max: r.max,
|
|
1003
|
+
min: r.min,
|
|
1004
|
+
readOnly: r.readOnly,
|
|
1005
|
+
form: r.form,
|
|
1006
|
+
pattern: r.pattern,
|
|
1007
|
+
size: r.size,
|
|
1008
|
+
autoComplete: r.autocomplete,
|
|
1009
|
+
autoFocus: r.autofocus,
|
|
1010
|
+
onInput: T[0] || (T[0] = async (b) => D(b)),
|
|
1011
|
+
onChange: T[1] || (T[1] = async (b) => _(b)),
|
|
1012
|
+
onBlur: T[2] || (T[2] = async (b) => f(b)),
|
|
1013
|
+
onFocus: T[3] || (T[3] = async (b) => o(b)),
|
|
1014
|
+
list: r.dataList && i.value,
|
|
1015
1015
|
"aria-describedby": h.value
|
|
1016
|
-
}, null, 40,
|
|
1017
|
-
|
|
1016
|
+
}, null, 40, ca),
|
|
1017
|
+
r.dataList ? (m(), g("datalist", {
|
|
1018
1018
|
key: 0,
|
|
1019
1019
|
id: i.value
|
|
1020
1020
|
}, [
|
|
1021
|
-
(m(!0), g(
|
|
1021
|
+
(m(!0), g(C, null, te(y(r.dataList), (b) => (m(), g("option", {
|
|
1022
1022
|
key: i.value + "-option-" + b.value,
|
|
1023
1023
|
value: b.value
|
|
1024
|
-
},
|
|
1025
|
-
], 8,
|
|
1026
|
-
|
|
1027
|
-
|
|
1024
|
+
}, k(b.label), 9, pa))), 128))
|
|
1025
|
+
], 8, va)) : M("", !0),
|
|
1026
|
+
w(r.$slots, "default"),
|
|
1027
|
+
v(q)(r.message, r.showMessage) ? (m(), X(W, {
|
|
1028
1028
|
key: 1,
|
|
1029
1029
|
size: "small",
|
|
1030
|
-
icon:
|
|
1031
|
-
id:
|
|
1030
|
+
icon: r.messageIcon,
|
|
1031
|
+
id: c.value
|
|
1032
1032
|
}, {
|
|
1033
|
-
default:
|
|
1034
|
-
|
|
1033
|
+
default: R(() => [
|
|
1034
|
+
L(k(r.message), 1)
|
|
1035
1035
|
]),
|
|
1036
1036
|
_: 1
|
|
1037
|
-
}, 8, ["icon", "id"])) :
|
|
1038
|
-
W
|
|
1037
|
+
}, 8, ["icon", "id"])) : M("", !0),
|
|
1038
|
+
O(W, {
|
|
1039
1039
|
size: "small",
|
|
1040
1040
|
semantic: "successful",
|
|
1041
1041
|
id: l.value
|
|
1042
1042
|
}, {
|
|
1043
|
-
default:
|
|
1044
|
-
|
|
1043
|
+
default: R(() => [
|
|
1044
|
+
L(k(r.validMessage ?? v(Z)), 1)
|
|
1045
1045
|
]),
|
|
1046
1046
|
_: 1
|
|
1047
1047
|
}, 8, ["id"]),
|
|
1048
|
-
W
|
|
1048
|
+
O(W, {
|
|
1049
1049
|
size: "small",
|
|
1050
1050
|
semantic: "critical",
|
|
1051
|
-
id:
|
|
1051
|
+
id: p.value
|
|
1052
1052
|
}, {
|
|
1053
|
-
default:
|
|
1053
|
+
default: R(() => {
|
|
1054
1054
|
var b;
|
|
1055
1055
|
return [
|
|
1056
|
-
|
|
1056
|
+
L(k(r.invalidMessage ?? ((b = $.value) == null ? void 0 : b.validationMessage) ?? v(x)), 1)
|
|
1057
1057
|
];
|
|
1058
1058
|
}),
|
|
1059
1059
|
_: 1
|
|
1060
1060
|
}, 8, ["id"]),
|
|
1061
|
-
|
|
1062
|
-
], 10,
|
|
1061
|
+
I("span", ha, k(B.value), 1)
|
|
1062
|
+
], 10, ra));
|
|
1063
1063
|
}
|
|
1064
|
-
}),
|
|
1064
|
+
}), ma = ["id", "href", "target", "rel", "role", "hrefLang", "aria-disabled", "tabIndex", "aria-selected", "aria-label", "aria-current", "data-size", "data-hide-icon-after", "data-variant", "data-content"], An = /* @__PURE__ */ E({
|
|
1065
1065
|
__name: "link",
|
|
1066
1066
|
props: {
|
|
1067
1067
|
content: { default: void 0 },
|
|
@@ -1088,37 +1088,37 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1088
1088
|
text: { default: void 0 }
|
|
1089
1089
|
},
|
|
1090
1090
|
setup(t) {
|
|
1091
|
-
const n = t, d =
|
|
1091
|
+
const n = t, d = u(null);
|
|
1092
1092
|
function e(a) {
|
|
1093
1093
|
n.onClick && n.onClick(a);
|
|
1094
1094
|
}
|
|
1095
|
-
return (a,
|
|
1095
|
+
return (a, c) => (m(), g("a", {
|
|
1096
1096
|
ref_key: "_ref",
|
|
1097
1097
|
ref: d,
|
|
1098
1098
|
id: a.id,
|
|
1099
|
-
class: N(
|
|
1099
|
+
class: N(v(A)("db-link", n.class)),
|
|
1100
1100
|
href: a.href,
|
|
1101
1101
|
target: a.target,
|
|
1102
1102
|
rel: a.rel,
|
|
1103
1103
|
role: a.role,
|
|
1104
1104
|
hrefLang: a.hreflang,
|
|
1105
|
-
"aria-disabled":
|
|
1105
|
+
"aria-disabled": v(V)(a.disabled),
|
|
1106
1106
|
tabIndex: a.disabled ? -1 : 0,
|
|
1107
1107
|
"aria-selected": a.selected,
|
|
1108
1108
|
"aria-label": a.label,
|
|
1109
1109
|
"aria-current": a.current,
|
|
1110
1110
|
"data-size": a.size,
|
|
1111
|
-
"data-hide-icon-after":
|
|
1111
|
+
"data-hide-icon-after": v(P)(a.showIcon ?? !0),
|
|
1112
1112
|
"data-variant": a.variant,
|
|
1113
1113
|
"data-content": a.content || "internal",
|
|
1114
|
-
onClick:
|
|
1114
|
+
onClick: c[0] || (c[0] = async (l) => e(l))
|
|
1115
1115
|
}, [
|
|
1116
|
-
a.text ? (m(), g(
|
|
1117
|
-
|
|
1118
|
-
], 64)) :
|
|
1119
|
-
], 10,
|
|
1116
|
+
a.text ? (m(), g(C, { key: 0 }, [
|
|
1117
|
+
L(k(a.text), 1)
|
|
1118
|
+
], 64)) : w(a.$slots, "default", { key: 1 })
|
|
1119
|
+
], 10, ma));
|
|
1120
1120
|
}
|
|
1121
|
-
}),
|
|
1121
|
+
}), ba = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], ga = { class: "db-main" }, Fn = /* @__PURE__ */ E({
|
|
1122
1122
|
__name: "page",
|
|
1123
1123
|
props: {
|
|
1124
1124
|
documentOverflow: { default: void 0 },
|
|
@@ -1134,30 +1134,30 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1134
1134
|
autofocus: { type: Boolean }
|
|
1135
1135
|
},
|
|
1136
1136
|
setup(t) {
|
|
1137
|
-
const n = t, d =
|
|
1137
|
+
const n = t, d = u(!1), e = u(null);
|
|
1138
1138
|
return typeof window < "u" && document && (n.documentOverflow === "hidden" || n.variant === "fixed" && n.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), U(() => {
|
|
1139
1139
|
d.value = !n.fadeIn, document && n.fadeIn ? document.fonts.ready.then(() => {
|
|
1140
1140
|
d.value = !0;
|
|
1141
1141
|
}) : d.value = !0;
|
|
1142
|
-
}),
|
|
1142
|
+
}), Be(() => {
|
|
1143
1143
|
typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
|
|
1144
|
-
}), (a,
|
|
1144
|
+
}), (a, c) => (m(), g("div", {
|
|
1145
1145
|
ref_key: "_ref",
|
|
1146
1146
|
ref: e,
|
|
1147
1147
|
id: a.id,
|
|
1148
|
-
class: N(
|
|
1148
|
+
class: N(v(A)("db-page", n.class)),
|
|
1149
1149
|
"data-variant": a.variant,
|
|
1150
1150
|
"data-fade-in": a.fadeIn,
|
|
1151
|
-
"data-fonts-loaded":
|
|
1151
|
+
"data-fonts-loaded": v(V)(d.value)
|
|
1152
1152
|
}, [
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1153
|
+
w(a.$slots, "header"),
|
|
1154
|
+
I("main", ga, [
|
|
1155
|
+
w(a.$slots, "default")
|
|
1156
1156
|
]),
|
|
1157
|
-
|
|
1158
|
-
], 10,
|
|
1157
|
+
w(a.$slots, "footer")
|
|
1158
|
+
], 10, ba));
|
|
1159
1159
|
}
|
|
1160
|
-
}),
|
|
1160
|
+
}), ya = ["data-size", "data-hide-label", "for"], Ba = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "aria-describedby", "value", "required"], Tn = /* @__PURE__ */ E({
|
|
1161
1161
|
__name: "radio",
|
|
1162
1162
|
props: {
|
|
1163
1163
|
describedbyid: { default: void 0 },
|
|
@@ -1183,28 +1183,23 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1183
1183
|
checked: { type: Boolean, default: void 0 },
|
|
1184
1184
|
size: { default: void 0 }
|
|
1185
1185
|
},
|
|
1186
|
-
emits: ["update:
|
|
1186
|
+
emits: ["update:value"],
|
|
1187
1187
|
setup(t, { emit: n }) {
|
|
1188
|
-
const d = n, e = t, a =
|
|
1188
|
+
const d = n, e = t, a = u(!1), c = u(void 0), l = u(null);
|
|
1189
1189
|
U(() => {
|
|
1190
|
-
a.value = !0,
|
|
1191
|
-
}),
|
|
1192
|
-
() => [a.value, e.checked],
|
|
1190
|
+
a.value = !0, c.value = e.id ?? `radio-${G()}`;
|
|
1191
|
+
}), z(
|
|
1192
|
+
() => [a.value, l.value, e.checked],
|
|
1193
1193
|
() => {
|
|
1194
|
-
|
|
1195
|
-
const s = document == null ? void 0 : document.getElementById(
|
|
1196
|
-
u.value
|
|
1197
|
-
);
|
|
1198
|
-
s && e.checked != null && (s.checked = !0);
|
|
1199
|
-
}
|
|
1194
|
+
e.checked && a.value && l.value && (l.value.checked = !0);
|
|
1200
1195
|
},
|
|
1201
1196
|
{
|
|
1202
1197
|
immediate: !0,
|
|
1203
1198
|
flush: "post"
|
|
1204
1199
|
}
|
|
1205
1200
|
);
|
|
1206
|
-
function
|
|
1207
|
-
e.onChange && e.onChange(s), e.change && e.change(s), ae(d, s
|
|
1201
|
+
function p(s) {
|
|
1202
|
+
e.onChange && e.onChange(s), e.change && e.change(s), ae(d, s);
|
|
1208
1203
|
}
|
|
1209
1204
|
function i(s) {
|
|
1210
1205
|
e.onBlur && e.onBlur(s), e.blur && e.blur(s);
|
|
@@ -1214,33 +1209,33 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1214
1209
|
}
|
|
1215
1210
|
return (s, B) => (m(), g("label", {
|
|
1216
1211
|
"data-size": s.size,
|
|
1217
|
-
"data-hide-label":
|
|
1218
|
-
class: N(
|
|
1219
|
-
for:
|
|
1212
|
+
"data-hide-label": v(P)(s.showLabel),
|
|
1213
|
+
class: N(v(A)("db-radio", e.class)),
|
|
1214
|
+
for: c.value
|
|
1220
1215
|
}, [
|
|
1221
|
-
|
|
1216
|
+
I("input", {
|
|
1222
1217
|
type: "radio",
|
|
1223
1218
|
"aria-invalid": s.validation === "invalid",
|
|
1224
1219
|
"data-custom-validity": s.validation,
|
|
1225
1220
|
ref_key: "_ref",
|
|
1226
1221
|
ref: l,
|
|
1227
|
-
id:
|
|
1222
|
+
id: c.value,
|
|
1228
1223
|
name: s.name,
|
|
1229
1224
|
checked: s.checked,
|
|
1230
1225
|
disabled: s.disabled,
|
|
1231
1226
|
"aria-describedby": s.describedbyid,
|
|
1232
1227
|
value: s.value,
|
|
1233
1228
|
required: s.required,
|
|
1234
|
-
onChange: B[0] || (B[0] = async (
|
|
1235
|
-
onBlur: B[1] || (B[1] = async (
|
|
1236
|
-
onFocus: B[2] || (B[2] = async (
|
|
1237
|
-
}, null, 40,
|
|
1238
|
-
s.label ? (m(), g(
|
|
1239
|
-
|
|
1240
|
-
], 64)) :
|
|
1241
|
-
], 10,
|
|
1229
|
+
onChange: B[0] || (B[0] = async ($) => p($)),
|
|
1230
|
+
onBlur: B[1] || (B[1] = async ($) => i($)),
|
|
1231
|
+
onFocus: B[2] || (B[2] = async ($) => h($))
|
|
1232
|
+
}, null, 40, Ba),
|
|
1233
|
+
s.label ? (m(), g(C, { key: 0 }, [
|
|
1234
|
+
L(k(s.label), 1)
|
|
1235
|
+
], 64)) : w(s.$slots, "default", { key: 1 })
|
|
1236
|
+
], 10, ya));
|
|
1242
1237
|
}
|
|
1243
|
-
}),
|
|
1238
|
+
}), ka = ["id", "data-spacing", "data-width"], Sn = /* @__PURE__ */ E({
|
|
1244
1239
|
__name: "section",
|
|
1245
1240
|
props: {
|
|
1246
1241
|
children: { default: void 0 },
|
|
@@ -1253,24 +1248,24 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1253
1248
|
width: { default: void 0 }
|
|
1254
1249
|
},
|
|
1255
1250
|
setup(t) {
|
|
1256
|
-
const n = t, d =
|
|
1251
|
+
const n = t, d = u(ee), e = u(null);
|
|
1257
1252
|
return U(() => {
|
|
1258
|
-
d.value = n.id || "section-" +
|
|
1259
|
-
}), (a,
|
|
1253
|
+
d.value = n.id || "section-" + G();
|
|
1254
|
+
}), (a, c) => (m(), g("section", {
|
|
1260
1255
|
ref_key: "_ref",
|
|
1261
1256
|
ref: e,
|
|
1262
1257
|
id: d.value,
|
|
1263
|
-
class: N(
|
|
1258
|
+
class: N(v(A)("db-section", n.class)),
|
|
1264
1259
|
"data-spacing": a.spacing || "medium",
|
|
1265
1260
|
"data-width": a.width
|
|
1266
1261
|
}, [
|
|
1267
|
-
|
|
1268
|
-
], 10,
|
|
1262
|
+
w(a.$slots, "default")
|
|
1263
|
+
], 10, ka));
|
|
1269
1264
|
}
|
|
1270
|
-
}),
|
|
1265
|
+
}), wa = ["data-variant", "data-hide-label", "data-icon", "data-hide-icon"], Ia = ["for"], _a = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "aria-describedby"], $a = ["label"], La = ["value", "selected", "disabled"], Ea = ["value", "disabled", "selected"], Na = ["id"], Aa = {
|
|
1271
1266
|
"data-visually-hidden": "true",
|
|
1272
1267
|
role: "status"
|
|
1273
|
-
},
|
|
1268
|
+
}, Cn = /* @__PURE__ */ E({
|
|
1274
1269
|
__name: "select",
|
|
1275
1270
|
props: {
|
|
1276
1271
|
description: {},
|
|
@@ -1307,28 +1302,29 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1307
1302
|
messageIcon: { default: void 0 },
|
|
1308
1303
|
autocomplete: { default: void 0 },
|
|
1309
1304
|
showMessage: { type: Boolean, default: void 0 },
|
|
1310
|
-
showIcon: { type: Boolean, default: void 0 }
|
|
1305
|
+
showIcon: { type: Boolean, default: void 0 },
|
|
1306
|
+
size: { default: void 0 }
|
|
1311
1307
|
},
|
|
1312
1308
|
emits: ["update:value"],
|
|
1313
1309
|
setup(t, { emit: n }) {
|
|
1314
|
-
const d = n, e = t, a =
|
|
1310
|
+
const d = n, e = t, a = u(void 0), c = u(void 0), l = u(void 0), p = u(void 0), i = u(""), h = u(""), s = u(""), B = u(!1), $ = u(""), D = u(null);
|
|
1315
1311
|
U(() => {
|
|
1316
1312
|
B.value = !0;
|
|
1317
|
-
const b = e.id ?? `select-${
|
|
1318
|
-
a.value = b,
|
|
1319
|
-
}),
|
|
1313
|
+
const b = e.id ?? `select-${G()}`;
|
|
1314
|
+
a.value = b, c.value = b + K, l.value = b + J, p.value = b + Q, i.value = b + oe;
|
|
1315
|
+
}), z(
|
|
1320
1316
|
() => [a.value, B.value],
|
|
1321
1317
|
() => {
|
|
1322
1318
|
if (a.value && B.value) {
|
|
1323
1319
|
const b = a.value + K, S = a.value + oe;
|
|
1324
|
-
|
|
1320
|
+
c.value = b, l.value = a.value + J, p.value = a.value + Q, i.value = S, q(e.message, e.showMessage) ? h.value = b : h.value = S, B.value = !1;
|
|
1325
1321
|
}
|
|
1326
1322
|
},
|
|
1327
1323
|
{
|
|
1328
1324
|
immediate: !0,
|
|
1329
1325
|
flush: "post"
|
|
1330
1326
|
}
|
|
1331
|
-
),
|
|
1327
|
+
), z(
|
|
1332
1328
|
() => [e.value],
|
|
1333
1329
|
() => {
|
|
1334
1330
|
s.value = e.value;
|
|
@@ -1338,112 +1334,113 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1338
1334
|
flush: "post"
|
|
1339
1335
|
}
|
|
1340
1336
|
);
|
|
1341
|
-
function
|
|
1337
|
+
function _(b) {
|
|
1342
1338
|
e.onClick && e.onClick(b);
|
|
1343
1339
|
}
|
|
1344
|
-
function
|
|
1340
|
+
function f(b) {
|
|
1345
1341
|
s.value = b.target.value, e.onInput && e.onInput(b), e.input && e.input(b);
|
|
1346
1342
|
}
|
|
1347
|
-
function
|
|
1348
|
-
var S,
|
|
1349
|
-
e.onChange && e.onChange(b), e.change && e.change(b), ae(d, b), !((S =
|
|
1343
|
+
function o(b) {
|
|
1344
|
+
var S, F, ne;
|
|
1345
|
+
e.onChange && e.onChange(b), e.change && e.change(b), ae(d, b), !((S = D.value) != null && S.validity.valid) || e.validation === "invalid" ? (h.value = p.value, Y() && ($.value = e.invalidMessage ?? ((F = D.value) == null ? void 0 : F.validationMessage) ?? x, H(() => $.value = "", 1e3))) : e.validation === "valid" || (ne = D.value) != null && ne.validity.valid && e.required ? (h.value = l.value, Y() && ($.value = e.validMessage ?? Z, H(() => $.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = c.value : h.value = i.value;
|
|
1350
1346
|
}
|
|
1351
|
-
function
|
|
1347
|
+
function y(b) {
|
|
1352
1348
|
e.onBlur && e.onBlur(b), e.blur && e.blur(b);
|
|
1353
1349
|
}
|
|
1354
|
-
function
|
|
1350
|
+
function r(b) {
|
|
1355
1351
|
e.onFocus && e.onFocus(b), e.focus && e.focus(b);
|
|
1356
1352
|
}
|
|
1357
|
-
function
|
|
1353
|
+
function T(b) {
|
|
1358
1354
|
return b.label ?? b.value.toString();
|
|
1359
1355
|
}
|
|
1360
1356
|
return (b, S) => (m(), g("div", {
|
|
1361
|
-
class: N(
|
|
1357
|
+
class: N(v(A)("db-select", e.class)),
|
|
1362
1358
|
"data-variant": b.variant,
|
|
1363
|
-
"data-hide-label":
|
|
1359
|
+
"data-hide-label": v(P)(b.showLabel),
|
|
1364
1360
|
"data-icon": b.icon,
|
|
1365
|
-
"data-hide-icon":
|
|
1361
|
+
"data-hide-icon": v(P)(b.showIcon)
|
|
1366
1362
|
}, [
|
|
1367
|
-
|
|
1368
|
-
|
|
1363
|
+
I("label", { for: a.value }, k(b.label ?? v(le)), 9, Ia),
|
|
1364
|
+
I("select", {
|
|
1369
1365
|
"aria-invalid": b.validation === "invalid",
|
|
1370
1366
|
"data-custom-validity": b.validation,
|
|
1371
1367
|
ref_key: "_ref",
|
|
1372
|
-
ref:
|
|
1368
|
+
ref: D,
|
|
1373
1369
|
required: b.required,
|
|
1374
1370
|
disabled: b.disabled,
|
|
1375
1371
|
id: a.value,
|
|
1376
1372
|
name: b.name,
|
|
1373
|
+
size: b.size,
|
|
1377
1374
|
value: b.value ?? s.value,
|
|
1378
1375
|
autocomplete: b.autocomplete,
|
|
1379
|
-
onInput: S[0] || (S[0] = async (
|
|
1380
|
-
onClick: S[1] || (S[1] = async (
|
|
1381
|
-
onChange: S[2] || (S[2] = async (
|
|
1382
|
-
onBlur: S[3] || (S[3] = async (
|
|
1383
|
-
onFocus: S[4] || (S[4] = async (
|
|
1376
|
+
onInput: S[0] || (S[0] = async (F) => f(F)),
|
|
1377
|
+
onClick: S[1] || (S[1] = async (F) => _(F)),
|
|
1378
|
+
onChange: S[2] || (S[2] = async (F) => o(F)),
|
|
1379
|
+
onBlur: S[3] || (S[3] = async (F) => y(F)),
|
|
1380
|
+
onFocus: S[4] || (S[4] = async (F) => r(F)),
|
|
1384
1381
|
"aria-describedby": h.value
|
|
1385
1382
|
}, [
|
|
1386
|
-
S[5] || (S[5] =
|
|
1387
|
-
b.options ? (m(!0), g(
|
|
1388
|
-
|
|
1383
|
+
S[5] || (S[5] = I("option", { hidden: !0 }, null, -1)),
|
|
1384
|
+
b.options ? (m(!0), g(C, { key: 0 }, te(b.options, (F, ne) => (m(), g(C, { key: ne }, [
|
|
1385
|
+
F.options ? (m(), g("optgroup", {
|
|
1389
1386
|
key: 0,
|
|
1390
|
-
label:
|
|
1387
|
+
label: T(F)
|
|
1391
1388
|
}, [
|
|
1392
|
-
(m(!0), g(
|
|
1393
|
-
key:
|
|
1394
|
-
value:
|
|
1395
|
-
selected:
|
|
1396
|
-
disabled:
|
|
1397
|
-
},
|
|
1398
|
-
], 8,
|
|
1399
|
-
|
|
1389
|
+
(m(!0), g(C, null, te(F.options, (ie, on) => (m(), g("option", {
|
|
1390
|
+
key: ie.value.toString(),
|
|
1391
|
+
value: ie.value,
|
|
1392
|
+
selected: ie.selected,
|
|
1393
|
+
disabled: ie.disabled
|
|
1394
|
+
}, k(T(ie)), 9, La))), 128))
|
|
1395
|
+
], 8, $a)) : M("", !0),
|
|
1396
|
+
F.options ? M("", !0) : (m(), g("option", {
|
|
1400
1397
|
key: 1,
|
|
1401
|
-
value:
|
|
1402
|
-
disabled:
|
|
1403
|
-
selected:
|
|
1404
|
-
},
|
|
1405
|
-
], 64))), 128)) :
|
|
1406
|
-
|
|
1407
|
-
], 40,
|
|
1408
|
-
|
|
1409
|
-
|
|
1398
|
+
value: F.value,
|
|
1399
|
+
disabled: F.disabled,
|
|
1400
|
+
selected: F.selected
|
|
1401
|
+
}, k(T(F)), 9, Ea))
|
|
1402
|
+
], 64))), 128)) : M("", !0),
|
|
1403
|
+
w(b.$slots, "default")
|
|
1404
|
+
], 40, _a),
|
|
1405
|
+
I("span", { id: i.value }, k(b.placeholder ?? b.label), 9, Na),
|
|
1406
|
+
v(q)(b.message, b.showMessage) ? (m(), X(W, {
|
|
1410
1407
|
key: 0,
|
|
1411
1408
|
size: "small",
|
|
1412
1409
|
icon: b.messageIcon,
|
|
1413
|
-
id:
|
|
1410
|
+
id: c.value
|
|
1414
1411
|
}, {
|
|
1415
|
-
default:
|
|
1416
|
-
|
|
1412
|
+
default: R(() => [
|
|
1413
|
+
L(k(b.message), 1)
|
|
1417
1414
|
]),
|
|
1418
1415
|
_: 1
|
|
1419
|
-
}, 8, ["icon", "id"])) :
|
|
1420
|
-
W
|
|
1416
|
+
}, 8, ["icon", "id"])) : M("", !0),
|
|
1417
|
+
O(W, {
|
|
1421
1418
|
size: "small",
|
|
1422
1419
|
semantic: "successful",
|
|
1423
1420
|
id: l.value
|
|
1424
1421
|
}, {
|
|
1425
|
-
default:
|
|
1426
|
-
|
|
1422
|
+
default: R(() => [
|
|
1423
|
+
L(k(b.validMessage ?? v(Z)), 1)
|
|
1427
1424
|
]),
|
|
1428
1425
|
_: 1
|
|
1429
1426
|
}, 8, ["id"]),
|
|
1430
|
-
W
|
|
1427
|
+
O(W, {
|
|
1431
1428
|
size: "small",
|
|
1432
1429
|
semantic: "critical",
|
|
1433
|
-
id:
|
|
1430
|
+
id: p.value
|
|
1434
1431
|
}, {
|
|
1435
|
-
default:
|
|
1436
|
-
var
|
|
1432
|
+
default: R(() => {
|
|
1433
|
+
var F;
|
|
1437
1434
|
return [
|
|
1438
|
-
|
|
1435
|
+
L(k(b.invalidMessage ?? ((F = D.value) == null ? void 0 : F.validationMessage) ?? v(x)), 1)
|
|
1439
1436
|
];
|
|
1440
1437
|
}),
|
|
1441
1438
|
_: 1
|
|
1442
1439
|
}, 8, ["id"]),
|
|
1443
|
-
|
|
1444
|
-
], 10,
|
|
1440
|
+
I("span", Aa, k($.value), 1)
|
|
1441
|
+
], 10, wa));
|
|
1445
1442
|
}
|
|
1446
|
-
}),
|
|
1443
|
+
}), Fa = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for"], Ta = ["id", "aria-checked", "checked", "value", "disabled", "aria-describedby", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-after"], Dn = /* @__PURE__ */ E({
|
|
1447
1444
|
__name: "switch",
|
|
1448
1445
|
props: {
|
|
1449
1446
|
visualAid: { type: Boolean, default: void 0 },
|
|
@@ -1466,7 +1463,7 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1466
1463
|
name: { default: void 0 },
|
|
1467
1464
|
required: { type: Boolean, default: void 0 },
|
|
1468
1465
|
showLabel: { type: Boolean, default: void 0 },
|
|
1469
|
-
value: {},
|
|
1466
|
+
value: { default: void 0 },
|
|
1470
1467
|
checked: { type: Boolean, default: void 0 },
|
|
1471
1468
|
emphasis: { default: void 0 },
|
|
1472
1469
|
size: { default: void 0 },
|
|
@@ -1475,15 +1472,22 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1475
1472
|
},
|
|
1476
1473
|
emits: ["update:checked"],
|
|
1477
1474
|
setup(t, { emit: n }) {
|
|
1478
|
-
const d = n, e = t, a =
|
|
1479
|
-
o(!1);
|
|
1480
|
-
const l = o(null);
|
|
1475
|
+
const d = n, e = t, a = u(void 0), c = u(!1), l = u(null);
|
|
1481
1476
|
U(() => {
|
|
1482
|
-
a.value = e.id ?? `switch-${
|
|
1483
|
-
})
|
|
1484
|
-
|
|
1477
|
+
a.value = e.id ?? `switch-${G()}`;
|
|
1478
|
+
}), z(
|
|
1479
|
+
() => [e.checked],
|
|
1480
|
+
() => {
|
|
1481
|
+
e.checked !== void 0 && e.checked !== null && (c.value = !!e.checked);
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
immediate: !0,
|
|
1485
|
+
flush: "post"
|
|
1486
|
+
}
|
|
1487
|
+
);
|
|
1488
|
+
function p(s) {
|
|
1485
1489
|
var B;
|
|
1486
|
-
e.onChange && e.onChange(s), e.change && e.change(s),
|
|
1490
|
+
e.onChange && e.onChange(s), e.change && e.change(s), c.value = (B = s.target) == null ? void 0 : B.checked, ae(d, s, "checked");
|
|
1487
1491
|
}
|
|
1488
1492
|
function i(s) {
|
|
1489
1493
|
e.onBlur && e.onBlur(s), e.blur && e.blur(s);
|
|
@@ -1492,21 +1496,22 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1492
1496
|
e.onFocus && e.onFocus(s), e.focus && e.focus(s);
|
|
1493
1497
|
}
|
|
1494
1498
|
return (s, B) => (m(), g("label", {
|
|
1495
|
-
"data-visual-aid":
|
|
1499
|
+
"data-visual-aid": v(V)(s.visualAid),
|
|
1496
1500
|
"data-size": s.size,
|
|
1497
|
-
"data-hide-label":
|
|
1501
|
+
"data-hide-label": v(P)(s.showLabel),
|
|
1498
1502
|
"data-emphasis": s.emphasis,
|
|
1499
1503
|
for: a.value,
|
|
1500
|
-
class: N(
|
|
1504
|
+
class: N(v(A)("db-switch", e.class))
|
|
1501
1505
|
}, [
|
|
1502
|
-
|
|
1506
|
+
I("input", {
|
|
1503
1507
|
type: "checkbox",
|
|
1504
1508
|
role: "switch",
|
|
1505
1509
|
id: a.value,
|
|
1506
|
-
"aria-checked":
|
|
1510
|
+
"aria-checked": v(V)(c.value),
|
|
1507
1511
|
ref_key: "_ref",
|
|
1508
1512
|
ref: l,
|
|
1509
1513
|
checked: s.checked,
|
|
1514
|
+
value: s.value,
|
|
1510
1515
|
disabled: s.disabled,
|
|
1511
1516
|
"aria-describedby": s.describedbyid,
|
|
1512
1517
|
"aria-invalid": s.validation === "invalid",
|
|
@@ -1515,16 +1520,16 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1515
1520
|
required: s.required,
|
|
1516
1521
|
"data-aid-icon": s.icon,
|
|
1517
1522
|
"data-aid-icon-after": s.iconAfter,
|
|
1518
|
-
onChange: B[0] || (B[0] = async (
|
|
1519
|
-
onBlur: B[1] || (B[1] = async (
|
|
1520
|
-
onFocus: B[2] || (B[2] = async (
|
|
1521
|
-
}, null, 40,
|
|
1522
|
-
s.label ? (m(), g(
|
|
1523
|
-
|
|
1524
|
-
], 64)) :
|
|
1525
|
-
], 10,
|
|
1523
|
+
onChange: B[0] || (B[0] = async ($) => p($)),
|
|
1524
|
+
onBlur: B[1] || (B[1] = async ($) => i($)),
|
|
1525
|
+
onFocus: B[2] || (B[2] = async ($) => h($))
|
|
1526
|
+
}, null, 40, Ta),
|
|
1527
|
+
s.label ? (m(), g(C, { key: 0 }, [
|
|
1528
|
+
L(k(s.label), 1)
|
|
1529
|
+
], 64)) : w(s.$slots, "default", { key: 1 })
|
|
1530
|
+
], 10, Fa));
|
|
1526
1531
|
}
|
|
1527
|
-
}),
|
|
1532
|
+
}), Sa = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Ca = ["disabled", "aria-selected", "aria-controls", "checked", "id"], Da = /* @__PURE__ */ E({
|
|
1528
1533
|
__name: "tab-item",
|
|
1529
1534
|
props: {
|
|
1530
1535
|
children: { default: void 0 },
|
|
@@ -1547,10 +1552,10 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1547
1552
|
},
|
|
1548
1553
|
emits: ["update:checked"],
|
|
1549
1554
|
setup(t, { emit: n }) {
|
|
1550
|
-
const d = n, e = t, a =
|
|
1555
|
+
const d = n, e = t, a = u(!1), c = u(!1), l = u(null);
|
|
1551
1556
|
U(() => {
|
|
1552
1557
|
a.value = !0;
|
|
1553
|
-
}),
|
|
1558
|
+
}), z(
|
|
1554
1559
|
() => [l.value, a.value],
|
|
1555
1560
|
() => {
|
|
1556
1561
|
e.active && a.value && l.value && (l.value.click(), a.value = !1);
|
|
@@ -1560,42 +1565,42 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1560
1565
|
flush: "post"
|
|
1561
1566
|
}
|
|
1562
1567
|
);
|
|
1563
|
-
function
|
|
1568
|
+
function p(i) {
|
|
1564
1569
|
var h;
|
|
1565
|
-
e.onChange && e.onChange(i), e.change && e.change(i),
|
|
1570
|
+
e.onChange && e.onChange(i), e.change && e.change(i), c.value = (h = i.target) == null ? void 0 : h.checked, ae(d, i, "checked");
|
|
1566
1571
|
}
|
|
1567
1572
|
return (i, h) => (m(), g("li", {
|
|
1568
1573
|
role: "none",
|
|
1569
|
-
class: N(
|
|
1574
|
+
class: N(v(A)("db-tab-item", e.class))
|
|
1570
1575
|
}, [
|
|
1571
|
-
|
|
1576
|
+
I("label", {
|
|
1572
1577
|
for: i.id,
|
|
1573
1578
|
"data-icon": i.icon,
|
|
1574
1579
|
"data-icon-after": i.iconAfter,
|
|
1575
|
-
"data-hide-icon":
|
|
1576
|
-
"data-hide-icon-after":
|
|
1580
|
+
"data-hide-icon": v(P)(i.showIcon),
|
|
1581
|
+
"data-hide-icon-after": v(P)(i.showIcon),
|
|
1577
1582
|
"data-no-text": i.noText
|
|
1578
1583
|
}, [
|
|
1579
|
-
|
|
1584
|
+
I("input", {
|
|
1580
1585
|
type: "radio",
|
|
1581
1586
|
role: "tab",
|
|
1582
1587
|
disabled: i.disabled,
|
|
1583
|
-
"aria-selected":
|
|
1588
|
+
"aria-selected": c.value,
|
|
1584
1589
|
"aria-controls": i.controls,
|
|
1585
1590
|
checked: i.checked,
|
|
1586
1591
|
ref_key: "_ref",
|
|
1587
1592
|
ref: l,
|
|
1588
1593
|
id: i.id,
|
|
1589
|
-
|
|
1590
|
-
}, null, 40,
|
|
1591
|
-
i.label ? (m(), g(
|
|
1592
|
-
|
|
1593
|
-
], 64)) :
|
|
1594
|
-
|
|
1595
|
-
], 8,
|
|
1594
|
+
onInput: h[0] || (h[0] = async (s) => p(s))
|
|
1595
|
+
}, null, 40, Ca),
|
|
1596
|
+
i.label ? (m(), g(C, { key: 0 }, [
|
|
1597
|
+
L(k(i.label), 1)
|
|
1598
|
+
], 64)) : M("", !0),
|
|
1599
|
+
w(i.$slots, "default")
|
|
1600
|
+
], 8, Sa)
|
|
1596
1601
|
], 2));
|
|
1597
1602
|
}
|
|
1598
|
-
}),
|
|
1603
|
+
}), Ma = ["id", "data-disabled", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-hide-icon", "data-no-text", "data-overflow"], za = ["title"], Mn = /* @__PURE__ */ E({
|
|
1599
1604
|
__name: "tag",
|
|
1600
1605
|
props: {
|
|
1601
1606
|
behavior: { default: void 0 },
|
|
@@ -1620,15 +1625,15 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1620
1625
|
content: {}
|
|
1621
1626
|
},
|
|
1622
1627
|
setup(t) {
|
|
1623
|
-
const n = t, d =
|
|
1624
|
-
d.value = !0,
|
|
1628
|
+
const n = t, d = u(!1), e = u(null);
|
|
1629
|
+
d.value = !0, z(
|
|
1625
1630
|
() => [d.value, n.disabled, e.value],
|
|
1626
1631
|
() => {
|
|
1627
|
-
var l,
|
|
1632
|
+
var l, p;
|
|
1628
1633
|
if (d.value && e.value && n.disabled !== void 0) {
|
|
1629
1634
|
const i = (l = e.value) == null ? void 0 : l.querySelector(
|
|
1630
1635
|
"button:not(.db-tab-remove-button)"
|
|
1631
|
-
), h = (
|
|
1636
|
+
), h = (p = e.value) == null ? void 0 : p.querySelector("input");
|
|
1632
1637
|
for (const s of [i, h])
|
|
1633
1638
|
s && (s.disabled = n.disabled);
|
|
1634
1639
|
}
|
|
@@ -1641,28 +1646,28 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1641
1646
|
function a() {
|
|
1642
1647
|
n.onRemove && n.onRemove();
|
|
1643
1648
|
}
|
|
1644
|
-
function
|
|
1649
|
+
function c() {
|
|
1645
1650
|
return n.removeButton ? n.removeButton : "Remove tag";
|
|
1646
1651
|
}
|
|
1647
|
-
return (l,
|
|
1652
|
+
return (l, p) => (m(), g("div", {
|
|
1648
1653
|
ref_key: "_ref",
|
|
1649
1654
|
ref: e,
|
|
1650
1655
|
id: l.id,
|
|
1651
|
-
class: N(
|
|
1652
|
-
"data-disabled":
|
|
1656
|
+
class: N(v(A)("db-tag", n.class)),
|
|
1657
|
+
"data-disabled": v(V)(l.disabled),
|
|
1653
1658
|
"data-semantic": l.semantic,
|
|
1654
1659
|
"data-emphasis": l.emphasis,
|
|
1655
1660
|
"data-icon": l.icon,
|
|
1656
|
-
"data-show-check-state":
|
|
1657
|
-
"data-hide-icon":
|
|
1658
|
-
"data-no-text":
|
|
1659
|
-
"data-overflow":
|
|
1661
|
+
"data-show-check-state": v(V)(l.showCheckState ?? !0),
|
|
1662
|
+
"data-hide-icon": v(P)(l.showIcon),
|
|
1663
|
+
"data-no-text": v(V)(l.noText),
|
|
1664
|
+
"data-overflow": v(V)(l.overflow)
|
|
1660
1665
|
}, [
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
l.text ? (m(), g(
|
|
1664
|
-
|
|
1665
|
-
], 64)) :
|
|
1666
|
+
w(l.$slots, "content"),
|
|
1667
|
+
w(l.$slots, "default"),
|
|
1668
|
+
l.text ? (m(), g(C, { key: 0 }, [
|
|
1669
|
+
L(k(l.text), 1)
|
|
1670
|
+
], 64)) : M("", !0),
|
|
1666
1671
|
l.behavior === "removable" ? (m(), g("button", {
|
|
1667
1672
|
key: 1,
|
|
1668
1673
|
class: "db-button db-tab-remove-button",
|
|
@@ -1670,15 +1675,15 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1670
1675
|
"data-size": "small",
|
|
1671
1676
|
"data-no-text": "true",
|
|
1672
1677
|
"data-variant": "ghost",
|
|
1673
|
-
onClick:
|
|
1674
|
-
title:
|
|
1675
|
-
},
|
|
1676
|
-
], 10,
|
|
1678
|
+
onClick: p[0] || (p[0] = async (i) => a()),
|
|
1679
|
+
title: c()
|
|
1680
|
+
}, k(c()), 9, za)) : M("", !0)
|
|
1681
|
+
], 10, Ma));
|
|
1677
1682
|
}
|
|
1678
|
-
}),
|
|
1683
|
+
}), Ra = ["data-variant", "data-hide-label"], Ua = ["for"], Pa = ["aria-invalid", "data-custom-validity", "id", "data-resize", "disabled", "required", "readOnly", "form", "maxLength", "minLength", "name", "wrap", "spellcheck", "autocomplete", "value", "aria-describedby", "placeholder", "rows", "cols"], Va = {
|
|
1679
1684
|
"data-visually-hidden": "true",
|
|
1680
1685
|
role: "status"
|
|
1681
|
-
},
|
|
1686
|
+
}, zn = /* @__PURE__ */ E({
|
|
1682
1687
|
__name: "textarea",
|
|
1683
1688
|
props: {
|
|
1684
1689
|
cols: { default: void 0 },
|
|
@@ -1722,23 +1727,23 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1722
1727
|
},
|
|
1723
1728
|
emits: ["update:value"],
|
|
1724
1729
|
setup(t, { emit: n }) {
|
|
1725
|
-
const d = n, e = t, a =
|
|
1730
|
+
const d = n, e = t, a = u(void 0), c = u(void 0), l = u(void 0), p = u(void 0), i = u(""), h = u(""), s = u(""), B = u(null);
|
|
1726
1731
|
U(() => {
|
|
1727
|
-
const
|
|
1728
|
-
a.value =
|
|
1729
|
-
}),
|
|
1732
|
+
const o = e.id ?? `textarea-${G()}`;
|
|
1733
|
+
a.value = o, c.value = o + K, l.value = o + J, p.value = o + Q;
|
|
1734
|
+
}), z(
|
|
1730
1735
|
() => [a.value],
|
|
1731
1736
|
() => {
|
|
1732
1737
|
if (a.value) {
|
|
1733
|
-
const
|
|
1734
|
-
|
|
1738
|
+
const o = a.value + K;
|
|
1739
|
+
c.value = o, l.value = a.value + J, p.value = a.value + Q, q(e.message, e.showMessage) && (i.value = o);
|
|
1735
1740
|
}
|
|
1736
1741
|
},
|
|
1737
1742
|
{
|
|
1738
1743
|
immediate: !0,
|
|
1739
1744
|
flush: "post"
|
|
1740
1745
|
}
|
|
1741
|
-
),
|
|
1746
|
+
), z(
|
|
1742
1747
|
() => [e.value],
|
|
1743
1748
|
() => {
|
|
1744
1749
|
h.value = e.value;
|
|
@@ -1748,93 +1753,93 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1748
1753
|
flush: "post"
|
|
1749
1754
|
}
|
|
1750
1755
|
);
|
|
1751
|
-
function
|
|
1752
|
-
h.value =
|
|
1756
|
+
function $(o) {
|
|
1757
|
+
h.value = o.target.value, e.onInput && e.onInput(o), e.input && e.input(o);
|
|
1753
1758
|
}
|
|
1754
|
-
function
|
|
1755
|
-
var
|
|
1756
|
-
e.onChange && e.onChange(
|
|
1759
|
+
function D(o) {
|
|
1760
|
+
var y, r, T;
|
|
1761
|
+
e.onChange && e.onChange(o), e.change && e.change(o), ae(d, o), !((y = B.value) != null && y.validity.valid) || e.validation === "invalid" ? (i.value = p.value, Y() && (s.value = e.invalidMessage ?? ((r = B.value) == null ? void 0 : r.validationMessage) ?? x, H(() => s.value = "", 1e3))) : e.validation === "valid" || (T = B.value) != null && T.validity.valid && (e.required || e.minLength || e.maxLength) ? (i.value = l.value, Y() && (s.value = e.validMessage ?? Z, H(() => s.value = "", 1e3))) : q(e.message, e.showMessage) ? i.value = c.value : i.value = "";
|
|
1757
1762
|
}
|
|
1758
|
-
function
|
|
1759
|
-
e.onBlur && e.onBlur(
|
|
1763
|
+
function _(o) {
|
|
1764
|
+
e.onBlur && e.onBlur(o), e.blur && e.blur(o);
|
|
1760
1765
|
}
|
|
1761
|
-
function
|
|
1762
|
-
e.onFocus && e.onFocus(
|
|
1766
|
+
function f(o) {
|
|
1767
|
+
e.onFocus && e.onFocus(o), e.focus && e.focus(o);
|
|
1763
1768
|
}
|
|
1764
|
-
return (
|
|
1765
|
-
class: N(
|
|
1766
|
-
"data-variant":
|
|
1767
|
-
"data-hide-label":
|
|
1769
|
+
return (o, y) => (m(), g("div", {
|
|
1770
|
+
class: N(v(A)("db-textarea", e.class)),
|
|
1771
|
+
"data-variant": o.variant,
|
|
1772
|
+
"data-hide-label": v(P)(o.showLabel)
|
|
1768
1773
|
}, [
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
"aria-invalid":
|
|
1772
|
-
"data-custom-validity":
|
|
1774
|
+
I("label", { for: a.value }, k(o.label ?? v(le)), 9, Ua),
|
|
1775
|
+
I("textarea", {
|
|
1776
|
+
"aria-invalid": o.validation === "invalid",
|
|
1777
|
+
"data-custom-validity": o.validation,
|
|
1773
1778
|
ref_key: "_ref",
|
|
1774
1779
|
ref: B,
|
|
1775
1780
|
id: a.value,
|
|
1776
|
-
"data-resize":
|
|
1777
|
-
disabled:
|
|
1778
|
-
required:
|
|
1779
|
-
readOnly:
|
|
1780
|
-
form:
|
|
1781
|
-
maxLength:
|
|
1782
|
-
minLength:
|
|
1783
|
-
name:
|
|
1784
|
-
wrap:
|
|
1785
|
-
spellcheck:
|
|
1786
|
-
autocomplete:
|
|
1787
|
-
onInput:
|
|
1788
|
-
onChange:
|
|
1789
|
-
onBlur:
|
|
1790
|
-
onFocus:
|
|
1791
|
-
value:
|
|
1781
|
+
"data-resize": o.resize,
|
|
1782
|
+
disabled: o.disabled,
|
|
1783
|
+
required: o.required,
|
|
1784
|
+
readOnly: o.readOnly,
|
|
1785
|
+
form: o.form,
|
|
1786
|
+
maxLength: o.maxLength,
|
|
1787
|
+
minLength: o.minLength,
|
|
1788
|
+
name: o.name,
|
|
1789
|
+
wrap: o.wrap,
|
|
1790
|
+
spellcheck: o.spellCheck,
|
|
1791
|
+
autocomplete: o.autocomplete,
|
|
1792
|
+
onInput: y[0] || (y[0] = async (r) => $(r)),
|
|
1793
|
+
onChange: y[1] || (y[1] = async (r) => D(r)),
|
|
1794
|
+
onBlur: y[2] || (y[2] = async (r) => _(r)),
|
|
1795
|
+
onFocus: y[3] || (y[3] = async (r) => f(r)),
|
|
1796
|
+
value: o.value ?? h.value,
|
|
1792
1797
|
"aria-describedby": i.value,
|
|
1793
|
-
placeholder:
|
|
1794
|
-
rows:
|
|
1795
|
-
cols:
|
|
1796
|
-
}, null, 40,
|
|
1797
|
-
|
|
1798
|
+
placeholder: o.placeholder ?? v(fe),
|
|
1799
|
+
rows: o.rows ?? v(Ne),
|
|
1800
|
+
cols: o.cols
|
|
1801
|
+
}, null, 40, Pa),
|
|
1802
|
+
v(q)(o.message, o.showMessage) ? (m(), X(W, {
|
|
1798
1803
|
key: 0,
|
|
1799
1804
|
size: "small",
|
|
1800
|
-
icon:
|
|
1801
|
-
id:
|
|
1805
|
+
icon: o.messageIcon,
|
|
1806
|
+
id: c.value
|
|
1802
1807
|
}, {
|
|
1803
|
-
default:
|
|
1804
|
-
|
|
1808
|
+
default: R(() => [
|
|
1809
|
+
L(k(o.message), 1)
|
|
1805
1810
|
]),
|
|
1806
1811
|
_: 1
|
|
1807
|
-
}, 8, ["icon", "id"])) :
|
|
1808
|
-
W
|
|
1812
|
+
}, 8, ["icon", "id"])) : M("", !0),
|
|
1813
|
+
O(W, {
|
|
1809
1814
|
size: "small",
|
|
1810
1815
|
semantic: "successful",
|
|
1811
1816
|
id: l.value
|
|
1812
1817
|
}, {
|
|
1813
|
-
default:
|
|
1814
|
-
|
|
1818
|
+
default: R(() => [
|
|
1819
|
+
L(k(o.validMessage ?? v(Z)), 1)
|
|
1815
1820
|
]),
|
|
1816
1821
|
_: 1
|
|
1817
1822
|
}, 8, ["id"]),
|
|
1818
|
-
W
|
|
1823
|
+
O(W, {
|
|
1819
1824
|
size: "small",
|
|
1820
1825
|
semantic: "critical",
|
|
1821
|
-
id:
|
|
1826
|
+
id: p.value
|
|
1822
1827
|
}, {
|
|
1823
|
-
default:
|
|
1824
|
-
var
|
|
1828
|
+
default: R(() => {
|
|
1829
|
+
var r;
|
|
1825
1830
|
return [
|
|
1826
|
-
|
|
1831
|
+
L(k(o.invalidMessage ?? ((r = B.value) == null ? void 0 : r.validationMessage) ?? v(x)), 1)
|
|
1827
1832
|
];
|
|
1828
1833
|
}),
|
|
1829
1834
|
_: 1
|
|
1830
1835
|
}, 8, ["id"]),
|
|
1831
|
-
|
|
1832
|
-
], 10,
|
|
1836
|
+
I("span", Va, k(s.value), 1)
|
|
1837
|
+
], 10, Ra));
|
|
1833
1838
|
}
|
|
1834
|
-
}),
|
|
1839
|
+
}), Ga = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "aria-disabled"], qa = ["aria-haspopup", "aria-expanded", "disabled"], Oa = ["data-auto-close", "id"], Wa = {
|
|
1835
1840
|
key: 0,
|
|
1836
1841
|
class: "db-mobile-navigation-back"
|
|
1837
|
-
},
|
|
1842
|
+
}, Rn = /* @__PURE__ */ E({
|
|
1838
1843
|
__name: "navigation-item",
|
|
1839
1844
|
props: {
|
|
1840
1845
|
active: { type: Boolean, default: void 0 },
|
|
@@ -1856,111 +1861,118 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1856
1861
|
text: { default: void 0 }
|
|
1857
1862
|
},
|
|
1858
1863
|
setup(t) {
|
|
1859
|
-
const n = t, d =
|
|
1860
|
-
"sub-navigation-" +
|
|
1861
|
-
),
|
|
1864
|
+
const n = t, d = u(!1), e = u(!1), a = u(!0), c = u(!1), l = u(!1), p = u(
|
|
1865
|
+
"sub-navigation-" + G()
|
|
1866
|
+
), i = u(void 0), h = u(null);
|
|
1862
1867
|
U(() => {
|
|
1863
1868
|
d.value = !0;
|
|
1864
|
-
}),
|
|
1869
|
+
}), z(
|
|
1865
1870
|
() => [n.subNavigationExpanded],
|
|
1866
1871
|
() => {
|
|
1867
|
-
n.subNavigationExpanded !== void 0 && (
|
|
1872
|
+
n.subNavigationExpanded !== void 0 && (c.value = !!n.subNavigationExpanded);
|
|
1868
1873
|
},
|
|
1869
1874
|
{
|
|
1870
1875
|
immediate: !0,
|
|
1871
1876
|
flush: "post"
|
|
1872
1877
|
}
|
|
1873
|
-
),
|
|
1878
|
+
), z(
|
|
1874
1879
|
() => [d.value],
|
|
1875
1880
|
() => {
|
|
1876
|
-
|
|
1881
|
+
D();
|
|
1877
1882
|
},
|
|
1878
1883
|
{
|
|
1879
1884
|
immediate: !0,
|
|
1880
1885
|
flush: "post"
|
|
1881
1886
|
}
|
|
1882
1887
|
);
|
|
1883
|
-
function
|
|
1884
|
-
|
|
1888
|
+
function s(_) {
|
|
1889
|
+
be(_) && (l.value = !0, H(() => {
|
|
1890
|
+
l.value = !1;
|
|
1891
|
+
}, 300));
|
|
1885
1892
|
}
|
|
1886
|
-
function
|
|
1887
|
-
|
|
1893
|
+
function B(_) {
|
|
1894
|
+
n.onClick && n.onClick(_), e.value && (c.value = !0);
|
|
1888
1895
|
}
|
|
1889
|
-
function
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1896
|
+
function $(_) {
|
|
1897
|
+
_.stopPropagation(), c.value = !1;
|
|
1898
|
+
}
|
|
1899
|
+
function D() {
|
|
1900
|
+
var _;
|
|
1901
|
+
if (d.value && document && p.value) {
|
|
1902
|
+
const f = document == null ? void 0 : document.getElementById(
|
|
1903
|
+
p.value
|
|
1894
1904
|
);
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1905
|
+
f && (((_ = f.children) == null ? void 0 : _.length) > 0 ? (e.value = !0, i.value || (i.value = new Ke(
|
|
1906
|
+
h.value,
|
|
1907
|
+
f
|
|
1898
1908
|
))) : a.value = !1);
|
|
1899
1909
|
}
|
|
1900
1910
|
}
|
|
1901
|
-
return (
|
|
1911
|
+
return (_, f) => (m(), g("li", {
|
|
1902
1912
|
ref_key: "_ref",
|
|
1903
|
-
ref:
|
|
1904
|
-
id:
|
|
1905
|
-
onMouseover:
|
|
1906
|
-
var
|
|
1907
|
-
return (
|
|
1913
|
+
ref: h,
|
|
1914
|
+
id: _.id,
|
|
1915
|
+
onMouseover: f[2] || (f[2] = async (o) => {
|
|
1916
|
+
var y;
|
|
1917
|
+
return (y = i.value) == null ? void 0 : y.enableFollow();
|
|
1908
1918
|
}),
|
|
1909
|
-
onMouseleave:
|
|
1910
|
-
var
|
|
1911
|
-
return (
|
|
1919
|
+
onMouseleave: f[3] || (f[3] = async (o) => {
|
|
1920
|
+
var y;
|
|
1921
|
+
return (y = i.value) == null ? void 0 : y.disableFollow();
|
|
1912
1922
|
}),
|
|
1913
|
-
onMousemove:
|
|
1914
|
-
var
|
|
1915
|
-
return (
|
|
1923
|
+
onMousemove: f[4] || (f[4] = async (o) => {
|
|
1924
|
+
var y;
|
|
1925
|
+
return (y = i.value) == null ? void 0 : y.followByMouseEvent(o);
|
|
1916
1926
|
}),
|
|
1917
|
-
class: N(
|
|
1918
|
-
"data-width":
|
|
1919
|
-
"data-icon":
|
|
1920
|
-
"data-hide-icon":
|
|
1921
|
-
"data-active":
|
|
1922
|
-
"aria-disabled":
|
|
1927
|
+
class: N(v(A)("db-navigation-item", n.class)),
|
|
1928
|
+
"data-width": _.width,
|
|
1929
|
+
"data-icon": _.icon,
|
|
1930
|
+
"data-hide-icon": v(P)(_.showIcon),
|
|
1931
|
+
"data-active": _.active,
|
|
1932
|
+
"aria-disabled": v(V)(_.disabled)
|
|
1923
1933
|
}, [
|
|
1924
|
-
a.value ?
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
], 64)) :
|
|
1934
|
+
a.value ? M("", !0) : (m(), g(C, { key: 0 }, [
|
|
1935
|
+
_.text ? (m(), g(C, { key: 0 }, [
|
|
1936
|
+
L(k(_.text), 1)
|
|
1937
|
+
], 64)) : w(_.$slots, "default", { key: 1 })
|
|
1928
1938
|
], 64)),
|
|
1929
|
-
a.value ? (m(), g(
|
|
1930
|
-
|
|
1939
|
+
a.value ? (m(), g(C, { key: 1 }, [
|
|
1940
|
+
I("button", {
|
|
1931
1941
|
class: "db-navigation-item-expand-button",
|
|
1932
1942
|
"aria-haspopup": e.value,
|
|
1933
|
-
"aria-expanded":
|
|
1934
|
-
disabled:
|
|
1935
|
-
onClick:
|
|
1943
|
+
"aria-expanded": c.value,
|
|
1944
|
+
disabled: _.disabled,
|
|
1945
|
+
onClick: f[0] || (f[0] = async (o) => B(o))
|
|
1936
1946
|
}, [
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
], 64)) :
|
|
1940
|
-
], 8,
|
|
1941
|
-
|
|
1947
|
+
_.text ? (m(), g(C, { key: 0 }, [
|
|
1948
|
+
L(k(_.text), 1)
|
|
1949
|
+
], 64)) : w(_.$slots, "default", { key: 1 })
|
|
1950
|
+
], 8, qa),
|
|
1951
|
+
I("menu", {
|
|
1942
1952
|
class: "db-sub-navigation",
|
|
1943
|
-
|
|
1953
|
+
"data-auto-close": l.value,
|
|
1954
|
+
id: p.value,
|
|
1955
|
+
onClick: f[1] || (f[1] = async (o) => s(o))
|
|
1944
1956
|
}, [
|
|
1945
|
-
e.value ? (m(), g("div",
|
|
1946
|
-
|
|
1957
|
+
e.value ? (m(), g("div", Wa, [
|
|
1958
|
+
O(de, {
|
|
1947
1959
|
icon: "arrow_left",
|
|
1948
1960
|
variant: "ghost",
|
|
1949
|
-
id:
|
|
1950
|
-
onClick: (
|
|
1961
|
+
id: _.backButtonId,
|
|
1962
|
+
onClick: (o) => $(o)
|
|
1951
1963
|
}, {
|
|
1952
|
-
default:
|
|
1953
|
-
|
|
1964
|
+
default: R(() => [
|
|
1965
|
+
L(k(_.backButtonText ?? v($e)), 1)
|
|
1954
1966
|
]),
|
|
1955
1967
|
_: 1
|
|
1956
1968
|
}, 8, ["id", "onClick"])
|
|
1957
|
-
])) :
|
|
1958
|
-
|
|
1969
|
+
])) : M("", !0),
|
|
1970
|
+
w(_.$slots, "sub-navigation")
|
|
1959
1971
|
], 8, Oa)
|
|
1960
|
-
], 64)) :
|
|
1961
|
-
], 42,
|
|
1972
|
+
], 64)) : M("", !0)
|
|
1973
|
+
], 42, Ga));
|
|
1962
1974
|
}
|
|
1963
|
-
}),
|
|
1975
|
+
}), Xa = ["id"], Ha = ["aria-disabled", "open"], ja = /* @__PURE__ */ E({
|
|
1964
1976
|
__name: "accordion-item",
|
|
1965
1977
|
props: {
|
|
1966
1978
|
defaultOpen: { type: Boolean, default: void 0 },
|
|
@@ -1977,42 +1989,42 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
1977
1989
|
onToggle: { type: Function, default: void 0 }
|
|
1978
1990
|
},
|
|
1979
1991
|
setup(t) {
|
|
1980
|
-
const n = t, d =
|
|
1992
|
+
const n = t, d = u(ee), e = u(!1), a = u(null);
|
|
1981
1993
|
U(() => {
|
|
1982
|
-
d.value = n.id || "accordion-item-" +
|
|
1994
|
+
d.value = n.id || "accordion-item-" + G(), n.defaultOpen && (e.value = n.defaultOpen);
|
|
1983
1995
|
});
|
|
1984
|
-
function
|
|
1996
|
+
function c(l) {
|
|
1985
1997
|
l == null || l.preventDefault();
|
|
1986
|
-
const
|
|
1987
|
-
n.onToggle && n.onToggle(
|
|
1998
|
+
const p = !e.value;
|
|
1999
|
+
n.onToggle && n.onToggle(p), e.value = p;
|
|
1988
2000
|
}
|
|
1989
|
-
return (l,
|
|
2001
|
+
return (l, p) => (m(), g("li", {
|
|
1990
2002
|
id: d.value,
|
|
1991
|
-
class: N(
|
|
2003
|
+
class: N(v(A)("db-accordion-item", n.class))
|
|
1992
2004
|
}, [
|
|
1993
|
-
|
|
1994
|
-
"aria-disabled":
|
|
2005
|
+
I("details", {
|
|
2006
|
+
"aria-disabled": v(V)(l.disabled),
|
|
1995
2007
|
ref_key: "_ref",
|
|
1996
2008
|
ref: a,
|
|
1997
2009
|
open: e.value
|
|
1998
2010
|
}, [
|
|
1999
|
-
|
|
2000
|
-
onClick:
|
|
2011
|
+
I("summary", {
|
|
2012
|
+
onClick: p[0] || (p[0] = async (i) => c(i))
|
|
2001
2013
|
}, [
|
|
2002
|
-
l.headlinePlain ? (m(), g(
|
|
2003
|
-
|
|
2004
|
-
], 64)) :
|
|
2005
|
-
l.headlinePlain ?
|
|
2014
|
+
l.headlinePlain ? (m(), g(C, { key: 0 }, [
|
|
2015
|
+
L(k(l.headlinePlain), 1)
|
|
2016
|
+
], 64)) : M("", !0),
|
|
2017
|
+
l.headlinePlain ? M("", !0) : w(l.$slots, "headline", { key: 1 })
|
|
2006
2018
|
]),
|
|
2007
|
-
|
|
2008
|
-
l.text ? (m(), g(
|
|
2009
|
-
|
|
2010
|
-
], 64)) :
|
|
2019
|
+
I("div", null, [
|
|
2020
|
+
l.text ? (m(), g(C, { key: 0 }, [
|
|
2021
|
+
L(k(l.text), 1)
|
|
2022
|
+
], 64)) : w(l.$slots, "default", { key: 1 })
|
|
2011
2023
|
])
|
|
2012
|
-
], 8,
|
|
2013
|
-
], 10,
|
|
2024
|
+
], 8, Ha)
|
|
2025
|
+
], 10, Xa));
|
|
2014
2026
|
}
|
|
2015
|
-
}),
|
|
2027
|
+
}), Ya = ["id", "data-variant"], Un = /* @__PURE__ */ E({
|
|
2016
2028
|
__name: "accordion",
|
|
2017
2029
|
props: {
|
|
2018
2030
|
behavior: { default: void 0 },
|
|
@@ -2029,10 +2041,10 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2029
2041
|
autofocus: { type: Boolean }
|
|
2030
2042
|
},
|
|
2031
2043
|
setup(t) {
|
|
2032
|
-
const n = t, d =
|
|
2044
|
+
const n = t, d = u(ee), e = u(""), a = u(!1), c = u(!1), l = u(null);
|
|
2033
2045
|
U(() => {
|
|
2034
|
-
d.value = n.id || "accordion-" +
|
|
2035
|
-
}),
|
|
2046
|
+
d.value = n.id || "accordion-" + G(), a.value = !0, c.value = !0;
|
|
2047
|
+
}), z(
|
|
2036
2048
|
() => [a.value, n.name, n.behavior, d.value],
|
|
2037
2049
|
() => {
|
|
2038
2050
|
a.value && (n.behavior === "single" ? n.name ? e.value !== n.name && (e.value = n.name) : e.value !== d.value && d.value && (e.value = d.value) : e.value = "");
|
|
@@ -2041,7 +2053,7 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2041
2053
|
immediate: !0,
|
|
2042
2054
|
flush: "post"
|
|
2043
2055
|
}
|
|
2044
|
-
),
|
|
2056
|
+
), z(
|
|
2045
2057
|
() => [l.value, e.value],
|
|
2046
2058
|
() => {
|
|
2047
2059
|
if (l.value) {
|
|
@@ -2055,23 +2067,23 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2055
2067
|
immediate: !0,
|
|
2056
2068
|
flush: "post"
|
|
2057
2069
|
}
|
|
2058
|
-
),
|
|
2059
|
-
() => [l.value,
|
|
2070
|
+
), z(
|
|
2071
|
+
() => [l.value, c.value, n.initOpenIndex],
|
|
2060
2072
|
() => {
|
|
2061
2073
|
var i;
|
|
2062
|
-
if (l.value &&
|
|
2074
|
+
if (l.value && c.value) {
|
|
2063
2075
|
if (n.initOpenIndex && ((i = n.initOpenIndex) == null ? void 0 : i.length) > 0) {
|
|
2064
2076
|
const h = l.value.getElementsByTagName("details");
|
|
2065
2077
|
if (h) {
|
|
2066
2078
|
const s = n.behavior === "single" && n.initOpenIndex.length > 1 ? [n.initOpenIndex[0]] : n.initOpenIndex;
|
|
2067
2079
|
Array.from(h).forEach(
|
|
2068
|
-
(B,
|
|
2069
|
-
s.includes(
|
|
2080
|
+
(B, $) => {
|
|
2081
|
+
s.includes($) && (B.open = !0);
|
|
2070
2082
|
}
|
|
2071
2083
|
);
|
|
2072
2084
|
}
|
|
2073
2085
|
}
|
|
2074
|
-
|
|
2086
|
+
c.value = !1;
|
|
2075
2087
|
}
|
|
2076
2088
|
},
|
|
2077
2089
|
{
|
|
@@ -2079,7 +2091,7 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2079
2091
|
flush: "post"
|
|
2080
2092
|
}
|
|
2081
2093
|
);
|
|
2082
|
-
function
|
|
2094
|
+
function p(i) {
|
|
2083
2095
|
try {
|
|
2084
2096
|
return typeof i == "string" ? JSON.parse(i) : i;
|
|
2085
2097
|
} catch (h) {
|
|
@@ -2091,19 +2103,19 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2091
2103
|
ref_key: "_ref",
|
|
2092
2104
|
ref: l,
|
|
2093
2105
|
id: d.value,
|
|
2094
|
-
class: N(
|
|
2106
|
+
class: N(v(A)("db-accordion", n.class)),
|
|
2095
2107
|
"data-variant": i.variant
|
|
2096
2108
|
}, [
|
|
2097
|
-
i.items ?
|
|
2098
|
-
i.items ? (m(!0), g(
|
|
2109
|
+
i.items ? M("", !0) : w(i.$slots, "default", { key: 0 }),
|
|
2110
|
+
i.items ? (m(!0), g(C, { key: 1 }, te(p(i.items), (s, B) => (m(), X(ja, {
|
|
2099
2111
|
key: `accordion-item-${B}`,
|
|
2100
2112
|
headlinePlain: s.headlinePlain,
|
|
2101
2113
|
disabled: s.disabled,
|
|
2102
2114
|
text: s.text
|
|
2103
|
-
}, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) :
|
|
2104
|
-
], 10,
|
|
2115
|
+
}, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : M("", !0)
|
|
2116
|
+
], 10, Ya));
|
|
2105
2117
|
}
|
|
2106
|
-
}),
|
|
2118
|
+
}), Ka = ["id", "aria-labelledby"], Pn = /* @__PURE__ */ E({
|
|
2107
2119
|
__name: "navigation",
|
|
2108
2120
|
props: {
|
|
2109
2121
|
children: { default: void 0 },
|
|
@@ -2115,22 +2127,22 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2115
2127
|
labelledBy: { default: void 0 }
|
|
2116
2128
|
},
|
|
2117
2129
|
setup(t) {
|
|
2118
|
-
const n = t, d =
|
|
2130
|
+
const n = t, d = u(ee), e = u(null);
|
|
2119
2131
|
return U(() => {
|
|
2120
|
-
d.value = n.id || "navigation-" +
|
|
2121
|
-
}), (a,
|
|
2132
|
+
d.value = n.id || "navigation-" + G();
|
|
2133
|
+
}), (a, c) => (m(), g("nav", {
|
|
2122
2134
|
ref_key: "_ref",
|
|
2123
2135
|
ref: e,
|
|
2124
2136
|
id: d.value,
|
|
2125
2137
|
"aria-labelledby": a.labelledBy,
|
|
2126
|
-
class: N(
|
|
2138
|
+
class: N(v(A)("db-navigation", n.class))
|
|
2127
2139
|
}, [
|
|
2128
|
-
|
|
2129
|
-
|
|
2140
|
+
I("menu", null, [
|
|
2141
|
+
w(a.$slots, "default")
|
|
2130
2142
|
])
|
|
2131
|
-
], 10,
|
|
2143
|
+
], 10, Ka));
|
|
2132
2144
|
}
|
|
2133
|
-
}),
|
|
2145
|
+
}), Ja = ["id"], Qa = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], Vn = /* @__PURE__ */ E({
|
|
2134
2146
|
__name: "popover",
|
|
2135
2147
|
props: {
|
|
2136
2148
|
open: { type: Boolean, default: void 0 },
|
|
@@ -2149,14 +2161,14 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2149
2161
|
width: { default: void 0 }
|
|
2150
2162
|
},
|
|
2151
2163
|
setup(t) {
|
|
2152
|
-
const n = t, d =
|
|
2164
|
+
const n = t, d = u(!1), e = u(!1), a = u(null);
|
|
2153
2165
|
U(() => {
|
|
2154
2166
|
d.value = !0;
|
|
2155
|
-
}),
|
|
2167
|
+
}), z(
|
|
2156
2168
|
() => [a.value, d.value],
|
|
2157
2169
|
() => {
|
|
2158
2170
|
if (a.value && d.value) {
|
|
2159
|
-
const i =
|
|
2171
|
+
const i = p();
|
|
2160
2172
|
i && (i.ariaHasPopup = "true"), d.value = !1;
|
|
2161
2173
|
}
|
|
2162
2174
|
},
|
|
@@ -2164,11 +2176,11 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2164
2176
|
immediate: !0,
|
|
2165
2177
|
flush: "post"
|
|
2166
2178
|
}
|
|
2167
|
-
),
|
|
2179
|
+
), z(
|
|
2168
2180
|
() => [a.value, e.value],
|
|
2169
2181
|
() => {
|
|
2170
2182
|
if (a.value) {
|
|
2171
|
-
const i =
|
|
2183
|
+
const i = p();
|
|
2172
2184
|
i && (i.ariaExpanded = (!!e.value).toString());
|
|
2173
2185
|
}
|
|
2174
2186
|
},
|
|
@@ -2177,7 +2189,7 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2177
2189
|
flush: "post"
|
|
2178
2190
|
}
|
|
2179
2191
|
);
|
|
2180
|
-
function
|
|
2192
|
+
function c() {
|
|
2181
2193
|
if (e.value = !0, !a.value) return;
|
|
2182
2194
|
const i = a.value.querySelector("article");
|
|
2183
2195
|
i && se(i);
|
|
@@ -2186,7 +2198,7 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2186
2198
|
const h = i.target;
|
|
2187
2199
|
(!h.parentNode || h.parentNode.querySelector(":focus") !== h && h.parentNode.querySelector(":focus-within") !== h && h.parentNode.querySelector(":hover") !== h) && (e.value = !1);
|
|
2188
2200
|
}
|
|
2189
|
-
function
|
|
2201
|
+
function p() {
|
|
2190
2202
|
var i;
|
|
2191
2203
|
if (a.value) {
|
|
2192
2204
|
const h = Array.from(a.value.children);
|
|
@@ -2201,28 +2213,28 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2201
2213
|
ref_key: "_ref",
|
|
2202
2214
|
ref: a,
|
|
2203
2215
|
id: i.id,
|
|
2204
|
-
class: N(
|
|
2205
|
-
onFocus: h[0] || (h[0] = async (s) =>
|
|
2216
|
+
class: N(v(A)("db-popover", n.class)),
|
|
2217
|
+
onFocus: h[0] || (h[0] = async (s) => c()),
|
|
2206
2218
|
onBlur: h[1] || (h[1] = async (s) => l(s)),
|
|
2207
|
-
onMouseenter: h[2] || (h[2] = async (s) =>
|
|
2219
|
+
onMouseenter: h[2] || (h[2] = async (s) => c()),
|
|
2208
2220
|
onMouseleave: h[3] || (h[3] = async (s) => l(s))
|
|
2209
2221
|
}, [
|
|
2210
|
-
|
|
2211
|
-
|
|
2222
|
+
w(i.$slots, "trigger"),
|
|
2223
|
+
I("article", {
|
|
2212
2224
|
class: "db-popover-content",
|
|
2213
2225
|
"data-spacing": i.spacing,
|
|
2214
|
-
"data-gap":
|
|
2215
|
-
"data-animation":
|
|
2226
|
+
"data-gap": v(V)(i.gap),
|
|
2227
|
+
"data-animation": v(V)(i.animation ?? !0),
|
|
2216
2228
|
"data-open": i.open,
|
|
2217
2229
|
"data-delay": i.delay,
|
|
2218
2230
|
"data-width": i.width,
|
|
2219
2231
|
"data-placement": i.placement
|
|
2220
2232
|
}, [
|
|
2221
|
-
|
|
2222
|
-
], 8,
|
|
2223
|
-
], 42,
|
|
2233
|
+
w(i.$slots, "default")
|
|
2234
|
+
], 8, Qa)
|
|
2235
|
+
], 42, Ja));
|
|
2224
2236
|
}
|
|
2225
|
-
}),
|
|
2237
|
+
}), Za = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], Gn = /* @__PURE__ */ E({
|
|
2226
2238
|
__name: "tooltip",
|
|
2227
2239
|
props: {
|
|
2228
2240
|
showArrow: { type: Boolean, default: void 0 },
|
|
@@ -2239,17 +2251,17 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2239
2251
|
width: { default: void 0 }
|
|
2240
2252
|
},
|
|
2241
2253
|
setup(t) {
|
|
2242
|
-
const n = t, d =
|
|
2254
|
+
const n = t, d = u(ee), e = u(!1), a = u(null);
|
|
2243
2255
|
U(() => {
|
|
2244
|
-
d.value = n.id || "tooltip-" +
|
|
2245
|
-
}),
|
|
2256
|
+
d.value = n.id || "tooltip-" + G(), e.value = !0;
|
|
2257
|
+
}), z(
|
|
2246
2258
|
() => [a.value, e.value],
|
|
2247
2259
|
() => {
|
|
2248
2260
|
if (a.value && e.value && d.value) {
|
|
2249
|
-
let
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
}),
|
|
2261
|
+
let p = a.value.parentElement;
|
|
2262
|
+
p && p.localName.includes("tooltip") && (p = p.parentElement), p && (["mouseenter", "focus"].forEach((i) => {
|
|
2263
|
+
p.addEventListener(i, () => l());
|
|
2264
|
+
}), p.setAttribute("data-has-tooltip", "true"), p.setAttribute("aria-describedby", d.value)), e.value = !1;
|
|
2253
2265
|
}
|
|
2254
2266
|
},
|
|
2255
2267
|
{
|
|
@@ -2257,32 +2269,32 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2257
2269
|
flush: "post"
|
|
2258
2270
|
}
|
|
2259
2271
|
);
|
|
2260
|
-
function
|
|
2261
|
-
|
|
2272
|
+
function c(p) {
|
|
2273
|
+
p.stopPropagation();
|
|
2262
2274
|
}
|
|
2263
2275
|
function l() {
|
|
2264
2276
|
a.value && se(a.value);
|
|
2265
2277
|
}
|
|
2266
|
-
return (
|
|
2278
|
+
return (p, i) => (m(), g("i", {
|
|
2267
2279
|
role: "tooltip",
|
|
2268
2280
|
"aria-hidden": "true",
|
|
2269
2281
|
"data-gap": "true",
|
|
2270
2282
|
ref_key: "_ref",
|
|
2271
2283
|
ref: a,
|
|
2272
|
-
class: N(
|
|
2284
|
+
class: N(v(A)("db-tooltip", n.class)),
|
|
2273
2285
|
id: d.value,
|
|
2274
|
-
"data-emphasis":
|
|
2275
|
-
"data-animation":
|
|
2276
|
-
"data-delay":
|
|
2277
|
-
"data-width":
|
|
2278
|
-
"data-show-arrow":
|
|
2279
|
-
"data-placement":
|
|
2280
|
-
onClick: i[0] || (i[0] = async (h) =>
|
|
2286
|
+
"data-emphasis": p.emphasis,
|
|
2287
|
+
"data-animation": v(V)(p.animation ?? !0),
|
|
2288
|
+
"data-delay": p.delay,
|
|
2289
|
+
"data-width": p.width,
|
|
2290
|
+
"data-show-arrow": v(V)(p.showArrow ?? !0),
|
|
2291
|
+
"data-placement": p.placement,
|
|
2292
|
+
onClick: i[0] || (i[0] = async (h) => c(h))
|
|
2281
2293
|
}, [
|
|
2282
|
-
|
|
2283
|
-
], 10,
|
|
2294
|
+
w(p.$slots, "default")
|
|
2295
|
+
], 10, Za));
|
|
2284
2296
|
}
|
|
2285
|
-
}),
|
|
2297
|
+
}), xa = ["id"], en = { role: "tablist" }, an = /* @__PURE__ */ E({
|
|
2286
2298
|
__name: "tab-list",
|
|
2287
2299
|
props: {
|
|
2288
2300
|
children: { default: void 0 },
|
|
@@ -2293,21 +2305,21 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2293
2305
|
autofocus: { type: Boolean }
|
|
2294
2306
|
},
|
|
2295
2307
|
setup(t) {
|
|
2296
|
-
const n = t, d =
|
|
2308
|
+
const n = t, d = u(ee), e = u(null);
|
|
2297
2309
|
return U(() => {
|
|
2298
|
-
d.value = n.id || "tab-list-" +
|
|
2299
|
-
}), (a,
|
|
2310
|
+
d.value = n.id || "tab-list-" + G();
|
|
2311
|
+
}), (a, c) => (m(), g("div", {
|
|
2300
2312
|
ref_key: "_ref",
|
|
2301
2313
|
ref: e,
|
|
2302
2314
|
id: d.value,
|
|
2303
|
-
class: N(
|
|
2315
|
+
class: N(v(A)("db-tab-list", n.class))
|
|
2304
2316
|
}, [
|
|
2305
|
-
|
|
2306
|
-
|
|
2317
|
+
I("ul", en, [
|
|
2318
|
+
w(a.$slots, "default")
|
|
2307
2319
|
])
|
|
2308
|
-
], 10,
|
|
2320
|
+
], 10, xa));
|
|
2309
2321
|
}
|
|
2310
|
-
}),
|
|
2322
|
+
}), nn = ["id", "aria-labelledby"], tn = /* @__PURE__ */ E({
|
|
2311
2323
|
__name: "tab-panel",
|
|
2312
2324
|
props: {
|
|
2313
2325
|
content: { default: void 0 },
|
|
@@ -2320,23 +2332,23 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2320
2332
|
labelledBy: { default: void 0 }
|
|
2321
2333
|
},
|
|
2322
2334
|
setup(t) {
|
|
2323
|
-
const n = t, d =
|
|
2335
|
+
const n = t, d = u(null);
|
|
2324
2336
|
return U(() => {
|
|
2325
2337
|
}), (e, a) => (m(), g("section", {
|
|
2326
2338
|
role: "tabpanel",
|
|
2327
2339
|
ref_key: "_ref",
|
|
2328
2340
|
ref: d,
|
|
2329
|
-
class: N(
|
|
2341
|
+
class: N(v(A)("db-tab-panel", n.class)),
|
|
2330
2342
|
id: e.id,
|
|
2331
2343
|
"aria-labelledby": e.labelledBy
|
|
2332
2344
|
}, [
|
|
2333
|
-
e.content ? (m(), g(
|
|
2334
|
-
|
|
2335
|
-
], 64)) :
|
|
2336
|
-
|
|
2337
|
-
], 10,
|
|
2345
|
+
e.content ? (m(), g(C, { key: 0 }, [
|
|
2346
|
+
L(k(e.content), 1)
|
|
2347
|
+
], 64)) : M("", !0),
|
|
2348
|
+
w(e.$slots, "default")
|
|
2349
|
+
], 10, nn));
|
|
2338
2350
|
}
|
|
2339
|
-
}),
|
|
2351
|
+
}), dn = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], qn = /* @__PURE__ */ E({
|
|
2340
2352
|
__name: "tabs",
|
|
2341
2353
|
props: {
|
|
2342
2354
|
arrowScrollDistance: { default: void 0 },
|
|
@@ -2344,6 +2356,8 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2344
2356
|
initialSelectedIndex: { default: void 0 },
|
|
2345
2357
|
initialSelectedMode: { default: void 0 },
|
|
2346
2358
|
name: { default: void 0 },
|
|
2359
|
+
onIndexChange: { type: Function, default: void 0 },
|
|
2360
|
+
onTabSelect: { type: Function, default: void 0 },
|
|
2347
2361
|
tabs: { default: void 0 },
|
|
2348
2362
|
children: { default: void 0 },
|
|
2349
2363
|
className: { default: void 0 },
|
|
@@ -2356,20 +2370,20 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2356
2370
|
alignment: { default: void 0 }
|
|
2357
2371
|
},
|
|
2358
2372
|
setup(t) {
|
|
2359
|
-
const n = t, d =
|
|
2373
|
+
const n = t, d = u("tabs-" + G()), e = u(""), a = u(!1), c = u(!1), l = u(!1), p = u(null), i = u(null);
|
|
2360
2374
|
U(() => {
|
|
2361
|
-
d.value = n.id || d.value, e.value = `tabs-${n.name ||
|
|
2362
|
-
}),
|
|
2375
|
+
d.value = n.id || d.value, e.value = `tabs-${n.name || G()}`, a.value = !0;
|
|
2376
|
+
}), z(
|
|
2363
2377
|
() => [i.value, a.value],
|
|
2364
2378
|
() => {
|
|
2365
2379
|
if (i.value && a.value) {
|
|
2366
|
-
|
|
2367
|
-
const
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
(
|
|
2380
|
+
$(), D(!0);
|
|
2381
|
+
const f = i.value.querySelector(".db-tab-list");
|
|
2382
|
+
f && new MutationObserver((y) => {
|
|
2383
|
+
y.forEach((r) => {
|
|
2384
|
+
(r.removedNodes.length || r.addedNodes.length) && ($(), D());
|
|
2371
2385
|
});
|
|
2372
|
-
}).observe(
|
|
2386
|
+
}).observe(f, {
|
|
2373
2387
|
childList: !0,
|
|
2374
2388
|
subtree: !0
|
|
2375
2389
|
}), a.value = !1;
|
|
@@ -2380,138 +2394,151 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2380
2394
|
flush: "post"
|
|
2381
2395
|
}
|
|
2382
2396
|
);
|
|
2383
|
-
function h(
|
|
2397
|
+
function h(f) {
|
|
2384
2398
|
try {
|
|
2385
|
-
return typeof
|
|
2386
|
-
} catch (
|
|
2387
|
-
console.error(
|
|
2399
|
+
return typeof f == "string" ? JSON.parse(f) : f;
|
|
2400
|
+
} catch (o) {
|
|
2401
|
+
console.error(o);
|
|
2388
2402
|
}
|
|
2389
2403
|
return [];
|
|
2390
2404
|
}
|
|
2391
|
-
function s(
|
|
2392
|
-
const
|
|
2393
|
-
|
|
2405
|
+
function s(f) {
|
|
2406
|
+
const o = f.scrollWidth > f.clientWidth;
|
|
2407
|
+
c.value = o && f.scrollLeft > 1, l.value = o && f.scrollLeft < f.scrollWidth - f.clientWidth;
|
|
2394
2408
|
}
|
|
2395
|
-
function B(
|
|
2396
|
-
var
|
|
2397
|
-
let
|
|
2398
|
-
|
|
2409
|
+
function B(f) {
|
|
2410
|
+
var y;
|
|
2411
|
+
let o = n.arrowScrollDistance || 100;
|
|
2412
|
+
f && (o *= -1), (y = p.value) == null || y.scrollBy({
|
|
2399
2413
|
top: 0,
|
|
2400
|
-
left:
|
|
2414
|
+
left: o,
|
|
2401
2415
|
behavior: "smooth"
|
|
2402
2416
|
});
|
|
2403
2417
|
}
|
|
2404
|
-
function
|
|
2418
|
+
function $() {
|
|
2405
2419
|
if (i.value) {
|
|
2406
|
-
const
|
|
2407
|
-
if (
|
|
2408
|
-
const
|
|
2409
|
-
|
|
2420
|
+
const f = i.value.querySelector(".db-tab-list");
|
|
2421
|
+
if (f) {
|
|
2422
|
+
const o = f.querySelector('[role="tablist"]');
|
|
2423
|
+
o && (o.setAttribute(
|
|
2410
2424
|
"aria-orientation",
|
|
2411
2425
|
n.orientation || "horizontal"
|
|
2412
|
-
), n.behavior === "arrows" && (
|
|
2413
|
-
s(
|
|
2426
|
+
), n.behavior === "arrows" && (p.value = o, s(o), o.addEventListener("scroll", () => {
|
|
2427
|
+
s(o);
|
|
2414
2428
|
})));
|
|
2415
2429
|
}
|
|
2416
2430
|
}
|
|
2417
2431
|
}
|
|
2418
|
-
function
|
|
2432
|
+
function D(f) {
|
|
2419
2433
|
if (i.value) {
|
|
2420
|
-
const
|
|
2434
|
+
const o = Array.from(
|
|
2421
2435
|
i.value.getElementsByClassName("db-tab-item")
|
|
2422
2436
|
);
|
|
2423
|
-
for (const
|
|
2424
|
-
const
|
|
2425
|
-
if (
|
|
2426
|
-
if (!
|
|
2427
|
-
const
|
|
2428
|
-
|
|
2437
|
+
for (const r of o) {
|
|
2438
|
+
const T = o.indexOf(r), b = r.querySelector("label"), S = r.querySelector("input");
|
|
2439
|
+
if (S && b) {
|
|
2440
|
+
if (!S.id) {
|
|
2441
|
+
const F = `${e.value}-tab-${T}`;
|
|
2442
|
+
b.setAttribute("for", F), S.setAttribute(
|
|
2429
2443
|
"aria-controls",
|
|
2430
|
-
`${e.value}-tab-panel-${
|
|
2431
|
-
),
|
|
2444
|
+
`${e.value}-tab-panel-${T}`
|
|
2445
|
+
), S.id = F, S.setAttribute("name", e.value);
|
|
2432
2446
|
}
|
|
2433
|
-
if (
|
|
2434
|
-
const
|
|
2435
|
-
|
|
2447
|
+
if (f) {
|
|
2448
|
+
const F = !n.initialSelectedMode || n.initialSelectedMode === "auto", ne = n.initialSelectedIndex == null && T === 0 || n.initialSelectedIndex === T;
|
|
2449
|
+
F && ne && S.click();
|
|
2436
2450
|
}
|
|
2437
2451
|
}
|
|
2438
2452
|
}
|
|
2439
|
-
const
|
|
2453
|
+
const y = Array.from(
|
|
2440
2454
|
i.value.querySelectorAll(
|
|
2441
2455
|
":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"
|
|
2442
2456
|
)
|
|
2443
2457
|
);
|
|
2444
|
-
for (const
|
|
2445
|
-
if (
|
|
2446
|
-
const
|
|
2447
|
-
|
|
2458
|
+
for (const r of y) {
|
|
2459
|
+
if (r.id) continue;
|
|
2460
|
+
const T = y.indexOf(r);
|
|
2461
|
+
r.id = `${e.value}-tab-panel-${T}`, r.setAttribute("aria-labelledby", `${e.value}-tab-${T}`);
|
|
2448
2462
|
}
|
|
2449
2463
|
}
|
|
2450
2464
|
}
|
|
2451
|
-
|
|
2465
|
+
function _(f) {
|
|
2466
|
+
if (n.onIndexChange && f.target) {
|
|
2467
|
+
const o = f.target.closest("ul"), y = (
|
|
2468
|
+
// db-tab-item for angular and stencil wrapping elements
|
|
2469
|
+
f.target.closest("db-tab-item") ?? f.target.closest("li")
|
|
2470
|
+
);
|
|
2471
|
+
o !== null && y !== null && n.onIndexChange(Array.from(o.childNodes).indexOf(y));
|
|
2472
|
+
}
|
|
2473
|
+
n.onTabSelect && n.onTabSelect(f);
|
|
2474
|
+
}
|
|
2475
|
+
return (f, o) => (m(), g("div", {
|
|
2452
2476
|
ref_key: "_ref",
|
|
2453
2477
|
ref: i,
|
|
2454
2478
|
id: d.value,
|
|
2455
|
-
class: N(
|
|
2456
|
-
"data-orientation":
|
|
2457
|
-
"data-scroll-behavior":
|
|
2458
|
-
"data-alignment":
|
|
2459
|
-
"data-width":
|
|
2479
|
+
class: N(v(A)("db-tabs", n.class)),
|
|
2480
|
+
"data-orientation": f.orientation,
|
|
2481
|
+
"data-scroll-behavior": f.behavior,
|
|
2482
|
+
"data-alignment": f.alignment ?? "start",
|
|
2483
|
+
"data-width": f.width ?? "auto",
|
|
2484
|
+
onInput: o[0] || (o[0] = async (y) => _(y))
|
|
2460
2485
|
}, [
|
|
2461
|
-
|
|
2486
|
+
c.value ? (m(), X(de, {
|
|
2462
2487
|
key: 0,
|
|
2463
2488
|
class: "tabs-scroll-left",
|
|
2464
2489
|
variant: "ghost",
|
|
2465
2490
|
icon: "chevron_left",
|
|
2491
|
+
type: "button",
|
|
2466
2492
|
noText: !0,
|
|
2467
|
-
onClick: (
|
|
2493
|
+
onClick: (y) => B(!0)
|
|
2468
2494
|
}, {
|
|
2469
|
-
default:
|
|
2470
|
-
|
|
2495
|
+
default: R(() => o[1] || (o[1] = [
|
|
2496
|
+
L(" Scroll left ")
|
|
2471
2497
|
])),
|
|
2472
2498
|
_: 1
|
|
2473
|
-
}, 8, ["onClick"])) :
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
default:
|
|
2477
|
-
(m(!0), g(
|
|
2478
|
-
key:
|
|
2479
|
-
active:
|
|
2480
|
-
label:
|
|
2481
|
-
iconAfter:
|
|
2482
|
-
icon:
|
|
2483
|
-
noText:
|
|
2499
|
+
}, 8, ["onClick"])) : M("", !0),
|
|
2500
|
+
f.tabs ? (m(), g(C, { key: 1 }, [
|
|
2501
|
+
O(an, null, {
|
|
2502
|
+
default: R(() => [
|
|
2503
|
+
(m(!0), g(C, null, te(h(f.tabs), (y, r) => (m(), X(Da, {
|
|
2504
|
+
key: f.name + "tab-item" + r,
|
|
2505
|
+
active: y.active,
|
|
2506
|
+
label: y.label,
|
|
2507
|
+
iconAfter: y.iconAfter,
|
|
2508
|
+
icon: y.icon,
|
|
2509
|
+
noText: y.noText
|
|
2484
2510
|
}, null, 8, ["active", "label", "iconAfter", "icon", "noText"]))), 128))
|
|
2485
2511
|
]),
|
|
2486
2512
|
_: 1
|
|
2487
2513
|
}),
|
|
2488
|
-
(m(!0), g(
|
|
2489
|
-
key:
|
|
2490
|
-
content:
|
|
2514
|
+
(m(!0), g(C, null, te(h(f.tabs), (y, r) => (m(), X(tn, {
|
|
2515
|
+
key: f.name + "tab-panel" + r,
|
|
2516
|
+
content: y.content
|
|
2491
2517
|
}, {
|
|
2492
|
-
default:
|
|
2493
|
-
|
|
2518
|
+
default: R(() => [
|
|
2519
|
+
L(k(y.children), 1)
|
|
2494
2520
|
]),
|
|
2495
2521
|
_: 2
|
|
2496
2522
|
}, 1032, ["content"]))), 128))
|
|
2497
|
-
], 64)) :
|
|
2498
|
-
l.value ? (m(), X(
|
|
2523
|
+
], 64)) : M("", !0),
|
|
2524
|
+
l.value ? (m(), X(de, {
|
|
2499
2525
|
key: 2,
|
|
2500
2526
|
class: "tabs-scroll-right",
|
|
2501
2527
|
variant: "ghost",
|
|
2502
2528
|
icon: "chevron_right",
|
|
2529
|
+
type: "button",
|
|
2503
2530
|
noText: !0,
|
|
2504
|
-
onClick: (
|
|
2531
|
+
onClick: (y) => B()
|
|
2505
2532
|
}, {
|
|
2506
|
-
default:
|
|
2507
|
-
|
|
2533
|
+
default: R(() => o[2] || (o[2] = [
|
|
2534
|
+
L(" Scroll right ")
|
|
2508
2535
|
])),
|
|
2509
2536
|
_: 1
|
|
2510
|
-
}, 8, ["onClick"])) :
|
|
2511
|
-
|
|
2512
|
-
],
|
|
2537
|
+
}, 8, ["onClick"])) : M("", !0),
|
|
2538
|
+
w(f.$slots, "default")
|
|
2539
|
+
], 42, dn));
|
|
2513
2540
|
}
|
|
2514
|
-
}),
|
|
2541
|
+
}), On = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], Wn = ["medium", "small", "large", "none"], Xn = ["medium", "small", "large", "none"], Hn = ["left", "right", "top", "bottom", "left-start", "left-end", "right-start", "right-end", "top-start", "top-end", "bottom-start", "bottom-end"], jn = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], Yn = ["horizontal", "vertical"], Kn = ["full", "auto"], Jn = ["full", "medium", "large", "small"], Qn = ["none", "slow", "fast"], Zn = ["auto", "fixed"], xn = ["small", "medium"], ln = ["weak", "strong"], et = [...ln, "origin"], at = ["invalid", "valid", "no-validation"], nt = ["above", "floating"], tt = ["off", "on", "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "email", "username", "new-password", "current-password", "one-time-code", "organization-title", "organization", "street-address", "shipping", "billing", "address-line1", "address-line2", "address-line3", "address-level4", "address-level3", "address-level2", "address-level1", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "transaction-currency", "transaction-amount", "language", "bday", "bday-day", "bday-month", "bday-year", "sex", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-extension", "impp", "url", "photo", "webauthn"], dt = ["time", "true", "false", "date", "page", "step", "location"], it = ["_self", "_blank", "_parent", "_top"], lt = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], st = ["start", "center"], sn = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], ot = /* @__PURE__ */ E({
|
|
2515
2542
|
__name: "stack",
|
|
2516
2543
|
props: {
|
|
2517
2544
|
variant: { default: void 0 },
|
|
@@ -2528,62 +2555,62 @@ const Qe = ["id", "data-width", "data-on-forcing-mobile"], Ze = { class: "db-hea
|
|
|
2528
2555
|
gap: { default: void 0 }
|
|
2529
2556
|
},
|
|
2530
2557
|
setup(t) {
|
|
2531
|
-
const n = t, d =
|
|
2558
|
+
const n = t, d = u(null);
|
|
2532
2559
|
return (e, a) => (m(), g("div", {
|
|
2533
2560
|
ref_key: "_ref",
|
|
2534
2561
|
ref: d,
|
|
2535
2562
|
id: e.id,
|
|
2536
|
-
class: N(
|
|
2563
|
+
class: N(v(A)("db-stack", n.class)),
|
|
2537
2564
|
"data-gap": e.gap,
|
|
2538
2565
|
"data-variant": e.variant,
|
|
2539
2566
|
"data-direction": e.direction,
|
|
2540
2567
|
"data-alignment": e.alignment,
|
|
2541
2568
|
"data-justify-content": e.justifyContent,
|
|
2542
|
-
"data-wrap":
|
|
2569
|
+
"data-wrap": v(V)(e.wrap)
|
|
2543
2570
|
}, [
|
|
2544
|
-
|
|
2545
|
-
], 10,
|
|
2571
|
+
w(e.$slots, "default")
|
|
2572
|
+
], 10, sn));
|
|
2546
2573
|
}
|
|
2547
2574
|
});
|
|
2548
2575
|
export {
|
|
2549
|
-
|
|
2550
|
-
|
|
2576
|
+
st as AlignmentList,
|
|
2577
|
+
tt as AutoCompleteList,
|
|
2551
2578
|
he as COLOR,
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2579
|
+
mn as COLORS,
|
|
2580
|
+
bn as COLORS_SIMPLE,
|
|
2581
|
+
pn as COLOR_CONST,
|
|
2555
2582
|
pe as COLOR_SIMPLE,
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2583
|
+
Un as DBAccordion,
|
|
2584
|
+
ja as DBAccordionItem,
|
|
2585
|
+
kn as DBBadge,
|
|
2586
|
+
wn as DBBrand,
|
|
2587
|
+
de as DBButton,
|
|
2588
|
+
In as DBCard,
|
|
2589
|
+
_n as DBCheckbox,
|
|
2590
|
+
$n as DBDivider,
|
|
2564
2591
|
Ye as DBDrawer,
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2592
|
+
Ln as DBHeader,
|
|
2593
|
+
En as DBIcon,
|
|
2594
|
+
W as DBInfotext,
|
|
2595
|
+
Nn as DBInput,
|
|
2596
|
+
An as DBLink,
|
|
2597
|
+
Pn as DBNavigation,
|
|
2598
|
+
Rn as DBNavigationItem,
|
|
2599
|
+
Bn as DBNotification,
|
|
2600
|
+
Fn as DBPage,
|
|
2601
|
+
Vn as DBPopover,
|
|
2602
|
+
Tn as DBRadio,
|
|
2603
|
+
Sn as DBSection,
|
|
2604
|
+
Cn as DBSelect,
|
|
2605
|
+
ot as DBStack,
|
|
2606
|
+
Dn as DBSwitch,
|
|
2607
|
+
Da as DBTabItem,
|
|
2608
|
+
an as DBTabList,
|
|
2609
|
+
tn as DBTabPanel,
|
|
2610
|
+
qn as DBTabs,
|
|
2611
|
+
Mn as DBTag,
|
|
2612
|
+
zn as DBTextarea,
|
|
2613
|
+
Gn as DBTooltip,
|
|
2587
2614
|
$e as DEFAULT_BACK,
|
|
2588
2615
|
Le as DEFAULT_BURGER_MENU,
|
|
2589
2616
|
ce as DEFAULT_CLOSE_BUTTON,
|
|
@@ -2596,50 +2623,48 @@ export {
|
|
|
2596
2623
|
K as DEFAULT_MESSAGE_ID_SUFFIX,
|
|
2597
2624
|
fe as DEFAULT_PLACEHOLDER,
|
|
2598
2625
|
oe as DEFAULT_PLACEHOLDER_ID_SUFFIX,
|
|
2599
|
-
|
|
2626
|
+
Ne as DEFAULT_ROWS,
|
|
2600
2627
|
Z as DEFAULT_VALID_MESSAGE,
|
|
2601
2628
|
J as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
|
|
2602
|
-
|
|
2603
|
-
|
|
2629
|
+
Ae as DEFAULT_VIEWPORT,
|
|
2630
|
+
hn as DENSITIES,
|
|
2604
2631
|
ve as DENSITY,
|
|
2605
|
-
|
|
2632
|
+
vn as DENSITY_CONST,
|
|
2606
2633
|
Fe as DESKTOP_VIEWPORT,
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2634
|
+
ln as EmphasisList,
|
|
2635
|
+
jn as GapSpacingList,
|
|
2636
|
+
nt as LabelVariantList,
|
|
2637
|
+
dt as LinkCurrentList,
|
|
2638
|
+
lt as LinkReferrerPolicyList,
|
|
2639
|
+
it as LinkTargetList,
|
|
2640
|
+
Xn as MarginList,
|
|
2641
|
+
Jn as MaxWidthList,
|
|
2642
|
+
Ke as NavigationItemSafeTriangle,
|
|
2643
|
+
Yn as OrientationList,
|
|
2644
|
+
Hn as PlacementList,
|
|
2645
|
+
Qn as PopoverDelayList,
|
|
2646
|
+
Zn as PopoverWidthList,
|
|
2620
2647
|
me as SEMANTIC,
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2648
|
+
gn as SEMANTICS,
|
|
2649
|
+
On as SemanticList,
|
|
2650
|
+
xn as SizeList,
|
|
2651
|
+
Wn as SpacingList,
|
|
2652
|
+
yn as TESTING_VIEWPORTS,
|
|
2653
|
+
et as TagEmphasisList,
|
|
2654
|
+
at as ValidationList,
|
|
2655
|
+
Kn as WidthList,
|
|
2629
2656
|
re as addAttributeToChildren,
|
|
2630
|
-
|
|
2657
|
+
A as cls,
|
|
2631
2658
|
H as delay,
|
|
2632
|
-
|
|
2633
|
-
G as getBooleanAsString,
|
|
2659
|
+
V as getBooleanAsString,
|
|
2634
2660
|
P as getHideProp,
|
|
2635
|
-
vn as getRootProps,
|
|
2636
2661
|
se as handleDataOutside,
|
|
2637
2662
|
Y as hasVoiceOver,
|
|
2638
2663
|
we as isArrayOfStrings,
|
|
2639
|
-
|
|
2664
|
+
be as isEventTargetNavigationItem,
|
|
2640
2665
|
ke as isInView,
|
|
2641
2666
|
q as stringPropVisible,
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2667
|
+
G as uuid,
|
|
2668
|
+
fn as visibleInVX,
|
|
2669
|
+
cn as visibleInVY
|
|
2645
2670
|
};
|