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