@dialpad/dialtone-vue 3.69.3 → 3.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +15 -0
- package/dist/dialtone-vue.cjs +5 -5
- package/dist/dialtone-vue.js +136 -128
- package/dist/emoji.cjs +1 -1
- package/dist/emoji.js +487 -285
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dialtone-vue.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { openBlock as a, createElementBlock as l, toDisplayString as I, createCommentVNode as p, createElementVNode as _, normalizeClass as y, warn as we, resolveComponent as f, renderSlot as d, createBlock as S, mergeProps as C, createVNode as m, createTextVNode as P, withKeys as V, withModifiers as
|
|
2
|
-
import { _ as v, D as x, g as
|
|
3
|
-
import { z as Pd, y as xd, X as Rd, $ as Bd, Z as $d, Y as Nd, J as zd, H as Md, a5 as Hd, F as Vd, B as
|
|
1
|
+
import { openBlock as a, createElementBlock as l, toDisplayString as I, createCommentVNode as p, createElementVNode as _, normalizeClass as y, warn as we, resolveComponent as f, renderSlot as d, createBlock as S, mergeProps as C, createVNode as m, createTextVNode as P, withKeys as V, withModifiers as U, withCtx as c, normalizeStyle as re, Fragment as Y, renderList as ee, resolveDynamicComponent as X, toHandlers as M, createSlots as ke, normalizeProps as Ee, Transition as Ue, withDirectives as Se, guardReactiveProps as We, vShow as Ce, Teleport as jt, reactive as kt, ref as pe, computed as Re, watch as Gt, onMounted as Ss, nextTick as Cs, unref as Ut, markRaw as Is, shallowReactive as ws, h as ks, provide as Es, createStaticVNode as Os } from "vue";
|
|
2
|
+
import { _ as v, D as x, g as q, a as Ls, h as $, b as K, u as J, L as Ts, c as As, I as Ds, M as Ps, d as xs, e as $e, f as Ze, T as Rs, i as Bs, j as $s, k as Ns, E as H, l as me, v as Wt, m as Et, n as Ge, o as Zt, C as Yt, G as Qt, p as Ye, q as zs, r as Ms, s as Hs, t as Qe, w as Xe, x as Vs } from "./emoji_text_wrapper-a6cf0407.js";
|
|
3
|
+
import { z as Pd, y as xd, X as Rd, $ as Bd, Z as $d, Y as Nd, J as zd, H as Md, a5 as Hd, F as Vd, B as Fd, a4 as qd, a0 as Kd, a1 as jd, a3 as Gd, a2 as Ud, P as Wd, O as Zd, K as Yd, N as Qd, R as Xd, Q as Jd, W as ec, S as tc, U as sc, V as ic, A as nc } from "./emoji_text_wrapper-a6cf0407.js";
|
|
4
4
|
const be = {
|
|
5
5
|
BUSY: "busy",
|
|
6
6
|
AWAY: "away",
|
|
7
7
|
OFFLINE: "offline",
|
|
8
8
|
ACTIVE: "active"
|
|
9
|
-
},
|
|
9
|
+
}, Fs = [
|
|
10
10
|
be.BUSY,
|
|
11
11
|
be.AWAY,
|
|
12
12
|
be.OFFLINE,
|
|
13
13
|
be.ACTIVE
|
|
14
|
-
],
|
|
14
|
+
], qs = {
|
|
15
15
|
name: "DtPresence",
|
|
16
16
|
props: {
|
|
17
17
|
/**
|
|
@@ -22,7 +22,7 @@ const be = {
|
|
|
22
22
|
presence: {
|
|
23
23
|
type: String,
|
|
24
24
|
default: be.ACTIVE,
|
|
25
|
-
validator: (e) =>
|
|
25
|
+
validator: (e) => Fs.includes(e)
|
|
26
26
|
},
|
|
27
27
|
/**
|
|
28
28
|
* Since Presence is a visual element, we need SRs to read out any state changes
|
|
@@ -57,7 +57,7 @@ function Gs(e, s, t, o, n, i) {
|
|
|
57
57
|
}, null, 2)
|
|
58
58
|
], 8, Ks);
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const Us = /* @__PURE__ */ v(qs, [["render", Gs]]), Ke = {
|
|
61
61
|
xs: "d-avatar--xs",
|
|
62
62
|
sm: "d-avatar--sm",
|
|
63
63
|
md: "d-avatar--md",
|
|
@@ -67,7 +67,7 @@ const Ws = /* @__PURE__ */ v(Fs, [["render", Gs]]), Ke = {
|
|
|
67
67
|
default: "",
|
|
68
68
|
icon: "d-avatar__icon",
|
|
69
69
|
initials: "d-avatar__initials"
|
|
70
|
-
},
|
|
70
|
+
}, Ws = {
|
|
71
71
|
md: "d-avatar__presence--md",
|
|
72
72
|
lg: "d-avatar__presence--lg"
|
|
73
73
|
}, Lt = {
|
|
@@ -105,7 +105,7 @@ const Ws = /* @__PURE__ */ v(Fs, [["render", Gs]]), Ke = {
|
|
|
105
105
|
], Tt = (e) => e > 1;
|
|
106
106
|
const Ys = {
|
|
107
107
|
name: "DtAvatar",
|
|
108
|
-
components: { DtPresence:
|
|
108
|
+
components: { DtPresence: Us, DtIcon: x },
|
|
109
109
|
inheritAttrs: !1,
|
|
110
110
|
props: {
|
|
111
111
|
/**
|
|
@@ -114,7 +114,7 @@ const Ys = {
|
|
|
114
114
|
id: {
|
|
115
115
|
type: String,
|
|
116
116
|
default() {
|
|
117
|
-
return
|
|
117
|
+
return q();
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
/**
|
|
@@ -219,7 +219,7 @@ const Ys = {
|
|
|
219
219
|
kind: null,
|
|
220
220
|
AVATAR_SIZE_MODIFIERS: Ke,
|
|
221
221
|
AVATAR_KIND_MODIFIERS: Ot,
|
|
222
|
-
AVATAR_PRESENCE_SIZE_MODIFIERS:
|
|
222
|
+
AVATAR_PRESENCE_SIZE_MODIFIERS: Ws,
|
|
223
223
|
imageLoadedSuccessfully: null,
|
|
224
224
|
slottedInitials: "",
|
|
225
225
|
formattedInitials: "",
|
|
@@ -721,7 +721,7 @@ function yi(e, s, t, o, n, i) {
|
|
|
721
721
|
class: "d-vi-visible-sr",
|
|
722
722
|
"aria-label": t.visuallyHiddenCloseLabel,
|
|
723
723
|
onClick: i.close,
|
|
724
|
-
onKeydown: V(
|
|
724
|
+
onKeydown: V(U(i.close, ["prevent", "stop"]), ["space"])
|
|
725
725
|
}, {
|
|
726
726
|
default: c(() => [
|
|
727
727
|
m(r, { name: "close" })
|
|
@@ -1274,7 +1274,7 @@ function Hi(e, s, t, o, n, i) {
|
|
|
1274
1274
|
d(e.$slots, "default")
|
|
1275
1275
|
], 2);
|
|
1276
1276
|
}
|
|
1277
|
-
const
|
|
1277
|
+
const Ur = /* @__PURE__ */ v(Mi, [["render", Hi]]), Vi = {
|
|
1278
1278
|
name: "DtCard",
|
|
1279
1279
|
props: {
|
|
1280
1280
|
/**
|
|
@@ -1320,7 +1320,7 @@ const Wr = /* @__PURE__ */ v(Mi, [["render", Hi]]), Vi = {
|
|
|
1320
1320
|
};
|
|
1321
1321
|
}
|
|
1322
1322
|
};
|
|
1323
|
-
function
|
|
1323
|
+
function Fi(e, s, t, o, n, i) {
|
|
1324
1324
|
return a(), l("div", {
|
|
1325
1325
|
class: y([
|
|
1326
1326
|
"d-card",
|
|
@@ -1357,7 +1357,7 @@ function qi(e, s, t, o, n, i) {
|
|
|
1357
1357
|
], 2)) : p("", !0)
|
|
1358
1358
|
], 2);
|
|
1359
1359
|
}
|
|
1360
|
-
const
|
|
1360
|
+
const qi = /* @__PURE__ */ v(Vi, [["render", Fi]]), Ki = {
|
|
1361
1361
|
name: "DtCodeblock",
|
|
1362
1362
|
props: {
|
|
1363
1363
|
text: {
|
|
@@ -1374,7 +1374,7 @@ function Gi(e, s, t, o, n, i) {
|
|
|
1374
1374
|
`)
|
|
1375
1375
|
]);
|
|
1376
1376
|
}
|
|
1377
|
-
const
|
|
1377
|
+
const Wr = /* @__PURE__ */ v(Ki, [["render", Gi]]), Ui = {
|
|
1378
1378
|
methods: {
|
|
1379
1379
|
/**
|
|
1380
1380
|
* Scroll an element into view if it is not fully visible in its nearest scrollable ancestor.
|
|
@@ -1446,7 +1446,7 @@ const Ur = /* @__PURE__ */ v(Ki, [["render", Gi]]), Wi = {
|
|
|
1446
1446
|
return s <= t.bottom + 3 * o / 4 && e >= t.top - o / 4;
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
|
-
},
|
|
1449
|
+
}, Wi = "listElementKey is required or the referenced element doesn't exist. Received listElement: ", Jt = ({
|
|
1450
1450
|
// Role of the list items in the component. This is used to identify the list items
|
|
1451
1451
|
// so you must update this if the role of your list items is anything other than 'option'
|
|
1452
1452
|
listItemRole: e = "option",
|
|
@@ -1471,7 +1471,7 @@ const Ur = /* @__PURE__ */ v(Ki, [["render", Gi]]), Wi = {
|
|
|
1471
1471
|
// Focus the active element on keyboard navigation.
|
|
1472
1472
|
focusOnKeyboardNavigation: w = !1
|
|
1473
1473
|
} = {}) => ({
|
|
1474
|
-
mixins: [
|
|
1474
|
+
mixins: [Ui],
|
|
1475
1475
|
data() {
|
|
1476
1476
|
return {
|
|
1477
1477
|
[s]: -1,
|
|
@@ -1502,7 +1502,7 @@ const Ur = /* @__PURE__ */ v(Ki, [["render", Gi]]), Wi = {
|
|
|
1502
1502
|
// Gets all the list item nodes within the list element
|
|
1503
1503
|
_getListItemNodes() {
|
|
1504
1504
|
const b = this._getListElement();
|
|
1505
|
-
return b ? Array.from(b.querySelectorAll(`[role="${e}"], #sr-only-close-button`)) : (console.error(
|
|
1505
|
+
return b ? Array.from(b.querySelectorAll(`[role="${e}"], #sr-only-close-button`)) : (console.error(Wi, b), null);
|
|
1506
1506
|
},
|
|
1507
1507
|
onUpKey() {
|
|
1508
1508
|
i && this[i](!0), this[s] > 0 ? this.setHighlightIndex(this[s] - 1) : h && this[h](), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
|
|
@@ -1940,7 +1940,7 @@ const ts = /* @__PURE__ */ v(dn, [["render", un]]), ss = {
|
|
|
1940
1940
|
listId: {
|
|
1941
1941
|
type: String,
|
|
1942
1942
|
default() {
|
|
1943
|
-
return
|
|
1943
|
+
return q();
|
|
1944
1944
|
}
|
|
1945
1945
|
},
|
|
1946
1946
|
/**
|
|
@@ -2159,12 +2159,12 @@ function pn(e, s, t, o, n, i) {
|
|
|
2159
2159
|
const r = f("combobox-loading-list"), h = f("combobox-empty-list");
|
|
2160
2160
|
return a(), l("div", {
|
|
2161
2161
|
onKeydown: [
|
|
2162
|
-
s[3] || (s[3] = V(
|
|
2163
|
-
s[4] || (s[4] = V(
|
|
2164
|
-
s[5] || (s[5] = V(
|
|
2165
|
-
s[6] || (s[6] = V(
|
|
2166
|
-
s[7] || (s[7] = V(
|
|
2167
|
-
s[8] || (s[8] = V(
|
|
2162
|
+
s[3] || (s[3] = V(U((u) => i.onKeyValidation(u, "onEscapeKey"), ["stop"]), ["esc"])),
|
|
2163
|
+
s[4] || (s[4] = V(U((u) => i.onKeyValidation(u, "onEnterKey"), ["exact"]), ["enter"])),
|
|
2164
|
+
s[5] || (s[5] = V(U((u) => i.onKeyValidation(u, "onUpKey"), ["stop", "prevent"]), ["up"])),
|
|
2165
|
+
s[6] || (s[6] = V(U((u) => i.onKeyValidation(u, "onDownKey"), ["stop", "prevent"]), ["down"])),
|
|
2166
|
+
s[7] || (s[7] = V(U((u) => i.onKeyValidation(u, "onHomeKey"), ["stop", "prevent"]), ["home"])),
|
|
2167
|
+
s[8] || (s[8] = V(U((u) => i.onKeyValidation(u, "onEndKey"), ["stop", "prevent"]), ["end"]))
|
|
2168
2168
|
]
|
|
2169
2169
|
}, [
|
|
2170
2170
|
_("div", fn, [
|
|
@@ -2307,7 +2307,7 @@ const gn = {
|
|
|
2307
2307
|
}
|
|
2308
2308
|
};
|
|
2309
2309
|
function _n(e, s, t, o, n, i) {
|
|
2310
|
-
return a(), S(
|
|
2310
|
+
return a(), S(Ue, C({
|
|
2311
2311
|
appear: t.appear,
|
|
2312
2312
|
"enter-active-class": "enter-active",
|
|
2313
2313
|
"leave-active-class": "leave-active"
|
|
@@ -2321,7 +2321,7 @@ function _n(e, s, t, o, n, i) {
|
|
|
2321
2321
|
onAfterLeave: i.afterLeave
|
|
2322
2322
|
}), {
|
|
2323
2323
|
default: c(() => [
|
|
2324
|
-
Se((a(), S(X(t.elementType), Ee(
|
|
2324
|
+
Se((a(), S(X(t.elementType), Ee(We(e.$attrs)), {
|
|
2325
2325
|
default: c(() => [
|
|
2326
2326
|
n.initialized ? d(e.$slots, "default", { key: 0 }) : p("", !0)
|
|
2327
2327
|
]),
|
|
@@ -2367,7 +2367,7 @@ const bn = /* @__PURE__ */ v(gn, [["render", _n]]), yn = {
|
|
|
2367
2367
|
id: {
|
|
2368
2368
|
type: String,
|
|
2369
2369
|
default() {
|
|
2370
|
-
return
|
|
2370
|
+
return q();
|
|
2371
2371
|
}
|
|
2372
2372
|
},
|
|
2373
2373
|
/**
|
|
@@ -2451,7 +2451,7 @@ const bn = /* @__PURE__ */ v(gn, [["render", _n]]), yn = {
|
|
|
2451
2451
|
},
|
|
2452
2452
|
computed: {
|
|
2453
2453
|
labelledBy() {
|
|
2454
|
-
return this.ariaLabelledBy || !this.ariaLabel &&
|
|
2454
|
+
return this.ariaLabelledBy || !this.ariaLabel && q("DtCollapsible__anchor");
|
|
2455
2455
|
},
|
|
2456
2456
|
collapsibleListeners() {
|
|
2457
2457
|
return Ze(this.$attrs);
|
|
@@ -2807,7 +2807,7 @@ const An = {
|
|
|
2807
2807
|
id: {
|
|
2808
2808
|
type: String,
|
|
2809
2809
|
default() {
|
|
2810
|
-
return
|
|
2810
|
+
return q();
|
|
2811
2811
|
}
|
|
2812
2812
|
},
|
|
2813
2813
|
/**
|
|
@@ -3043,7 +3043,7 @@ const An = {
|
|
|
3043
3043
|
return this.isOutsideViewport && this.modal ? "calc(100vh - var(--space-300))" : this.maxHeight;
|
|
3044
3044
|
},
|
|
3045
3045
|
labelledBy() {
|
|
3046
|
-
return this.ariaLabelledby || !this.ariaLabel &&
|
|
3046
|
+
return this.ariaLabelledby || !this.ariaLabel && q("DtPopover__anchor");
|
|
3047
3047
|
}
|
|
3048
3048
|
},
|
|
3049
3049
|
watch: {
|
|
@@ -3270,7 +3270,7 @@ function xn(e, s, t, o, n, i) {
|
|
|
3270
3270
|
_("div", {
|
|
3271
3271
|
class: "d-modal--transparent",
|
|
3272
3272
|
"aria-hidden": t.modal && n.isOpen ? "false" : "true",
|
|
3273
|
-
onClick: s[0] || (s[0] =
|
|
3273
|
+
onClick: s[0] || (s[0] = U(() => {
|
|
3274
3274
|
}, ["prevent", "stop"]))
|
|
3275
3275
|
}, null, 8, Dn)
|
|
3276
3276
|
])) : p("", !0),
|
|
@@ -3288,8 +3288,8 @@ function xn(e, s, t, o, n, i) {
|
|
|
3288
3288
|
onClickCapture: s[1] || (s[1] = (...g) => i.defaultToggleOpen && i.defaultToggleOpen(...g)),
|
|
3289
3289
|
onContextmenu: s[2] || (s[2] = (...g) => i.onContext && i.onContext(...g)),
|
|
3290
3290
|
onKeydown: [
|
|
3291
|
-
s[3] || (s[3] = V(
|
|
3292
|
-
s[4] || (s[4] = V(
|
|
3291
|
+
s[3] || (s[3] = V(U((...g) => i.onArrowKeyPress && i.onArrowKeyPress(...g), ["prevent"]), ["up"])),
|
|
3292
|
+
s[4] || (s[4] = V(U((...g) => i.onArrowKeyPress && i.onArrowKeyPress(...g), ["prevent"]), ["down"])),
|
|
3293
3293
|
s[6] || (s[6] = V((g) => e.$emit("keydown", g), ["enter"])),
|
|
3294
3294
|
s[7] || (s[7] = V((g) => e.$emit("keydown", g), ["space"]))
|
|
3295
3295
|
],
|
|
@@ -3468,7 +3468,7 @@ const Rn = {
|
|
|
3468
3468
|
listId: {
|
|
3469
3469
|
type: String,
|
|
3470
3470
|
default() {
|
|
3471
|
-
return
|
|
3471
|
+
return q();
|
|
3472
3472
|
}
|
|
3473
3473
|
},
|
|
3474
3474
|
/**
|
|
@@ -3901,7 +3901,7 @@ const Yr = /* @__PURE__ */ v(zn, [["render", Hn]]), Vn = {
|
|
|
3901
3901
|
this.isOpen && this.focusTrappedTabPress(e);
|
|
3902
3902
|
}
|
|
3903
3903
|
}
|
|
3904
|
-
},
|
|
3904
|
+
}, Fn = ["src", "alt"], qn = ["aria-hidden"], Kn = {
|
|
3905
3905
|
"data-qa": "dt-image-viewer-full",
|
|
3906
3906
|
class: "d-p0 d-bar0 d-wmx80p d-hmx80p",
|
|
3907
3907
|
role: "dialog",
|
|
@@ -3922,7 +3922,7 @@ function Gn(e, s, t, o, n, i) {
|
|
|
3922
3922
|
class: y(t.imageButtonClass),
|
|
3923
3923
|
src: t.imageSrc,
|
|
3924
3924
|
alt: t.imageAlt
|
|
3925
|
-
}, null, 10,
|
|
3925
|
+
}, null, 10, Fn)
|
|
3926
3926
|
]),
|
|
3927
3927
|
_: 1
|
|
3928
3928
|
}, 8, ["aria-label", "onClick"]),
|
|
@@ -3947,7 +3947,7 @@ function Gn(e, s, t, o, n, i) {
|
|
|
3947
3947
|
alt: t.imageAlt
|
|
3948
3948
|
}, null, 8, jn)
|
|
3949
3949
|
]),
|
|
3950
|
-
m(
|
|
3950
|
+
m(Ue, { name: "fade" }, {
|
|
3951
3951
|
default: c(() => [
|
|
3952
3952
|
n.showCloseButton ? (a(), S(r, {
|
|
3953
3953
|
key: 0,
|
|
@@ -3972,11 +3972,11 @@ function Gn(e, s, t, o, n, i) {
|
|
|
3972
3972
|
]),
|
|
3973
3973
|
_: 1
|
|
3974
3974
|
})
|
|
3975
|
-
], 16,
|
|
3975
|
+
], 16, qn)
|
|
3976
3976
|
])) : p("", !0)
|
|
3977
3977
|
]);
|
|
3978
3978
|
}
|
|
3979
|
-
const Qr = /* @__PURE__ */ v(Vn, [["render", Gn]]),
|
|
3979
|
+
const Qr = /* @__PURE__ */ v(Vn, [["render", Gn]]), Un = {
|
|
3980
3980
|
components: { DtValidationMessages: me },
|
|
3981
3981
|
// provide data to slotted components
|
|
3982
3982
|
provide() {
|
|
@@ -3992,7 +3992,7 @@ const Qr = /* @__PURE__ */ v(Vn, [["render", Gn]]), Wn = {
|
|
|
3992
3992
|
id: {
|
|
3993
3993
|
type: String,
|
|
3994
3994
|
default() {
|
|
3995
|
-
return
|
|
3995
|
+
return q();
|
|
3996
3996
|
}
|
|
3997
3997
|
},
|
|
3998
3998
|
/**
|
|
@@ -4030,7 +4030,7 @@ const Qr = /* @__PURE__ */ v(Vn, [["render", Gn]]), Wn = {
|
|
|
4030
4030
|
messages: {
|
|
4031
4031
|
type: Array,
|
|
4032
4032
|
default: () => [],
|
|
4033
|
-
validator: (e) =>
|
|
4033
|
+
validator: (e) => Wt(e)
|
|
4034
4034
|
},
|
|
4035
4035
|
/**
|
|
4036
4036
|
* Show validation messages
|
|
@@ -4117,10 +4117,10 @@ const Qr = /* @__PURE__ */ v(Vn, [["render", Gn]]), Wn = {
|
|
|
4117
4117
|
mounted() {
|
|
4118
4118
|
!this.legend && !this.$slots.legend && !this.$attrs["aria-label"] && we("It is expected that an aria-label is provided when there is no legend.", this);
|
|
4119
4119
|
}
|
|
4120
|
-
},
|
|
4120
|
+
}, Wn = {
|
|
4121
4121
|
name: "DtInputGroup",
|
|
4122
4122
|
components: { DtValidationMessages: me },
|
|
4123
|
-
mixins: [
|
|
4123
|
+
mixins: [Un],
|
|
4124
4124
|
props: {
|
|
4125
4125
|
/**
|
|
4126
4126
|
* A data qa tag for the input group
|
|
@@ -4192,7 +4192,7 @@ function Qn(e, s, t, o, n, i) {
|
|
|
4192
4192
|
}, e.messagesChildProps), null, 16, ["validation-messages", "show-messages", "class", "data-qa"])
|
|
4193
4193
|
], 8, Zn);
|
|
4194
4194
|
}
|
|
4195
|
-
const ns = /* @__PURE__ */ v(
|
|
4195
|
+
const ns = /* @__PURE__ */ v(Wn, [["render", Qn]]), $t = {
|
|
4196
4196
|
default: "",
|
|
4197
4197
|
danger: "d-modal--danger"
|
|
4198
4198
|
}, Nt = {
|
|
@@ -4397,7 +4397,7 @@ const Xr = /* @__PURE__ */ v(Xn, [["render", Jn]]), ea = {
|
|
|
4397
4397
|
labelledById: {
|
|
4398
4398
|
type: String,
|
|
4399
4399
|
default: function() {
|
|
4400
|
-
return
|
|
4400
|
+
return q();
|
|
4401
4401
|
}
|
|
4402
4402
|
},
|
|
4403
4403
|
/**
|
|
@@ -4642,7 +4642,7 @@ function aa(e, s, t, o, n, i) {
|
|
|
4642
4642
|
P(I(t.bannerTitle), 1)
|
|
4643
4643
|
])
|
|
4644
4644
|
], 2)) : p("", !0),
|
|
4645
|
-
m(
|
|
4645
|
+
m(Ue, {
|
|
4646
4646
|
appear: "",
|
|
4647
4647
|
name: "d-modal__dialog"
|
|
4648
4648
|
}, {
|
|
@@ -4857,7 +4857,7 @@ const ed = /* @__PURE__ */ v(oa, [["render", ha]]), fa = {
|
|
|
4857
4857
|
id: {
|
|
4858
4858
|
type: String,
|
|
4859
4859
|
default() {
|
|
4860
|
-
return
|
|
4860
|
+
return q();
|
|
4861
4861
|
}
|
|
4862
4862
|
},
|
|
4863
4863
|
/**
|
|
@@ -5026,7 +5026,7 @@ function va(e, s, t, o, n, i) {
|
|
|
5026
5026
|
class: y(["d-px8", i.isFirstPage ? "d-fc-black-300 d-bgc-transparent" : "d-fc-tertiary"]),
|
|
5027
5027
|
"data-qa": "dt-pagination-prev",
|
|
5028
5028
|
"aria-label": t.prevAriaLabel,
|
|
5029
|
-
kind: "muted",
|
|
5029
|
+
kind: i.isFirstPage ? "default" : "muted",
|
|
5030
5030
|
importance: i.isFirstPage ? "primary" : "clear",
|
|
5031
5031
|
disabled: i.isFirstPage,
|
|
5032
5032
|
onClick: s[0] || (s[0] = (u) => i.changePage(n.currentPage - 1))
|
|
@@ -5038,7 +5038,7 @@ function va(e, s, t, o, n, i) {
|
|
|
5038
5038
|
})
|
|
5039
5039
|
]),
|
|
5040
5040
|
_: 1
|
|
5041
|
-
}, 8, ["aria-label", "importance", "disabled", "class"]),
|
|
5041
|
+
}, 8, ["aria-label", "kind", "importance", "disabled", "class"]),
|
|
5042
5042
|
(a(!0), l(Y, null, ee(i.pages, (u, g) => (a(), l("div", {
|
|
5043
5043
|
key: `page-${u}-${g}`,
|
|
5044
5044
|
class: y({ "d-as-flex-end": isNaN(Number(u)) })
|
|
@@ -5663,7 +5663,7 @@ const od = /* @__PURE__ */ v(Da, [["render", Ba]]), ld = {
|
|
|
5663
5663
|
id: {
|
|
5664
5664
|
type: String,
|
|
5665
5665
|
default: function() {
|
|
5666
|
-
return
|
|
5666
|
+
return q();
|
|
5667
5667
|
}
|
|
5668
5668
|
},
|
|
5669
5669
|
/**
|
|
@@ -5758,8 +5758,8 @@ const od = /* @__PURE__ */ v(Da, [["render", Ba]]), ld = {
|
|
|
5758
5758
|
}, Va = {
|
|
5759
5759
|
key: 1,
|
|
5760
5760
|
"data-qa": "dt-chip-avatar"
|
|
5761
|
-
},
|
|
5762
|
-
function
|
|
5761
|
+
}, Fa = ["id"];
|
|
5762
|
+
function qa(e, s, t, o, n, i) {
|
|
5763
5763
|
const r = f("dt-icon"), h = f("dt-button");
|
|
5764
5764
|
return a(), l("span", Ma, [
|
|
5765
5765
|
(a(), S(X(t.interactive ? "button" : "span"), C({
|
|
@@ -5783,7 +5783,7 @@ function Fa(e, s, t, o, n, i) {
|
|
|
5783
5783
|
class: y(["d-truncate", "d-chip__text", t.contentClass])
|
|
5784
5784
|
}, [
|
|
5785
5785
|
d(e.$slots, "default")
|
|
5786
|
-
], 10,
|
|
5786
|
+
], 10, Fa)) : p("", !0)
|
|
5787
5787
|
]),
|
|
5788
5788
|
_: 3
|
|
5789
5789
|
}, 16, ["id", "type", "class", "aria-labelledby", "aria-label"])),
|
|
@@ -5803,7 +5803,7 @@ function Fa(e, s, t, o, n, i) {
|
|
|
5803
5803
|
}, 16, ["class", "aria-label"]))
|
|
5804
5804
|
]);
|
|
5805
5805
|
}
|
|
5806
|
-
const as = /* @__PURE__ */ v(za, [["render",
|
|
5806
|
+
const as = /* @__PURE__ */ v(za, [["render", qa]]), Ht = {
|
|
5807
5807
|
xs: "d-select--xs",
|
|
5808
5808
|
sm: "d-select--sm",
|
|
5809
5809
|
md: "",
|
|
@@ -5813,7 +5813,7 @@ const as = /* @__PURE__ */ v(za, [["render", Fa]]), Ht = {
|
|
|
5813
5813
|
error: "d-select__input--error",
|
|
5814
5814
|
warning: "d-select__input--warning",
|
|
5815
5815
|
success: "d-select__input--success"
|
|
5816
|
-
}, ja = (e) => !e.index || typeof e.index == "number", Ga = (e) => e.value ? typeof e.value == "string" || typeof e.value == "number" : !1,
|
|
5816
|
+
}, ja = (e) => !e.index || typeof e.index == "number", Ga = (e) => e.value ? typeof e.value == "string" || typeof e.value == "number" : !1, Ua = (e) => e.label ? typeof e.label == "string" : !1, Wa = (e) => e ? e.every((s) => !(!ja(s) || !Ga(s) || !Ua(s))) : !0, Za = {
|
|
5817
5817
|
name: "DtSelectMenu",
|
|
5818
5818
|
components: { DtValidationMessages: me },
|
|
5819
5819
|
mixins: [Ye],
|
|
@@ -5844,7 +5844,7 @@ const as = /* @__PURE__ */ v(za, [["render", Fa]]), Ht = {
|
|
|
5844
5844
|
options: {
|
|
5845
5845
|
type: Array,
|
|
5846
5846
|
default: () => [],
|
|
5847
|
-
validator: (e) =>
|
|
5847
|
+
validator: (e) => Wa(e)
|
|
5848
5848
|
},
|
|
5849
5849
|
/**
|
|
5850
5850
|
* Controls the size of the select
|
|
@@ -5955,7 +5955,7 @@ const as = /* @__PURE__ */ v(za, [["render", Fa]]), Ht = {
|
|
|
5955
5955
|
return Ge(this.formattedMessages);
|
|
5956
5956
|
},
|
|
5957
5957
|
selectKey() {
|
|
5958
|
-
return
|
|
5958
|
+
return q();
|
|
5959
5959
|
},
|
|
5960
5960
|
descriptionKey() {
|
|
5961
5961
|
return `select-${this.selectKey}-description`;
|
|
@@ -6268,7 +6268,7 @@ function ao(e, s, t, o, n, i) {
|
|
|
6268
6268
|
])
|
|
6269
6269
|
], 10, io)) : p("", !0);
|
|
6270
6270
|
}
|
|
6271
|
-
const dd = /* @__PURE__ */ v(so, [["render", ao]]),
|
|
6271
|
+
const dd = /* @__PURE__ */ v(so, [["render", ao]]), Ft = {
|
|
6272
6272
|
sm: "d-toggle--small",
|
|
6273
6273
|
md: ""
|
|
6274
6274
|
}, oo = [!1, !0, "mixed"], lo = {
|
|
@@ -6285,7 +6285,7 @@ const dd = /* @__PURE__ */ v(so, [["render", ao]]), qt = {
|
|
|
6285
6285
|
id: {
|
|
6286
6286
|
type: String,
|
|
6287
6287
|
default() {
|
|
6288
|
-
return
|
|
6288
|
+
return q();
|
|
6289
6289
|
}
|
|
6290
6290
|
},
|
|
6291
6291
|
/**
|
|
@@ -6322,7 +6322,7 @@ const dd = /* @__PURE__ */ v(so, [["render", ao]]), qt = {
|
|
|
6322
6322
|
size: {
|
|
6323
6323
|
type: String,
|
|
6324
6324
|
default: "md",
|
|
6325
|
-
validator: (e) => Object.keys(
|
|
6325
|
+
validator: (e) => Object.keys(Ft).includes(e)
|
|
6326
6326
|
},
|
|
6327
6327
|
/**
|
|
6328
6328
|
* Shows the icon
|
|
@@ -6379,7 +6379,7 @@ const dd = /* @__PURE__ */ v(so, [["render", ao]]), qt = {
|
|
|
6379
6379
|
toggleClasses() {
|
|
6380
6380
|
return [
|
|
6381
6381
|
"d-toggle",
|
|
6382
|
-
|
|
6382
|
+
Ft[this.size],
|
|
6383
6383
|
{
|
|
6384
6384
|
"d-toggle--checked": this.internalChecked === !0,
|
|
6385
6385
|
"d-toggle--disabled": this.disabled,
|
|
@@ -6806,15 +6806,15 @@ const fd = /* @__PURE__ */ v(Io, [["render", wo]]), ue = {
|
|
|
6806
6806
|
"row-reverse": "row-reverse",
|
|
6807
6807
|
"column-reverse": "column-reverse"
|
|
6808
6808
|
}, ls = ["sm", "md", "lg", "xl"], nt = ["0", "100", "200", "300", "400", "500", "600"];
|
|
6809
|
-
function
|
|
6809
|
+
function qt(e) {
|
|
6810
6810
|
return e === ue.default;
|
|
6811
6811
|
}
|
|
6812
6812
|
function Kt(e) {
|
|
6813
6813
|
if (Ie(e) === "string")
|
|
6814
|
-
return
|
|
6814
|
+
return qt(e) ? null : ue[e];
|
|
6815
6815
|
if (Ie(e) === "object") {
|
|
6816
6816
|
const { default: s } = e;
|
|
6817
|
-
return
|
|
6817
|
+
return qt(s) ? null : ue[s];
|
|
6818
6818
|
} else
|
|
6819
6819
|
return null;
|
|
6820
6820
|
}
|
|
@@ -7005,15 +7005,15 @@ const rs = {
|
|
|
7005
7005
|
setup(e, { expose: s, emit: t }) {
|
|
7006
7006
|
const o = e, n = kt(/* @__PURE__ */ new Map()), i = kt(/* @__PURE__ */ new Map()), r = pe([]), h = pe(null), u = pe(!1), g = pe(null), w = pe("top");
|
|
7007
7007
|
let b = 0, L = 0, B = !1, de = 0, he = null, fe = null, Ve = 0, us = 0;
|
|
7008
|
-
const
|
|
7008
|
+
const Fe = Re(() => {
|
|
7009
7009
|
if (o.itemSize === null) {
|
|
7010
7010
|
const O = {
|
|
7011
7011
|
"-1": { accumulator: 0 }
|
|
7012
7012
|
}, A = o.items, k = o.sizeField, Q = o.minItemSize;
|
|
7013
|
-
let
|
|
7013
|
+
let F = 1e4, ne = 0, D;
|
|
7014
7014
|
for (let j = 0, ge = A.length; j < ge; j++)
|
|
7015
|
-
D = A[j][k] || Q, D <
|
|
7016
|
-
return fe =
|
|
7015
|
+
D = A[j][k] || Q, D < F && (F = D), ne += D, O[j] = { accumulator: ne, size: D };
|
|
7016
|
+
return fe = F, O;
|
|
7017
7017
|
}
|
|
7018
7018
|
return [];
|
|
7019
7019
|
}), hs = Re(() => o.items.length && typeof o.items[0] != "object"), fs = Re(() => {
|
|
@@ -7022,30 +7022,30 @@ const rs = {
|
|
|
7022
7022
|
O[o.items[A][o.keyField]] = A;
|
|
7023
7023
|
return O;
|
|
7024
7024
|
});
|
|
7025
|
-
Gt(
|
|
7025
|
+
Gt(Fe, () => {
|
|
7026
7026
|
Te(!1);
|
|
7027
7027
|
}, { deep: !0 }), Ss(() => {
|
|
7028
7028
|
Cs(() => {
|
|
7029
7029
|
Te(!0), u.value = !0;
|
|
7030
7030
|
});
|
|
7031
7031
|
});
|
|
7032
|
-
const ht = (O, A, k, Q,
|
|
7032
|
+
const ht = (O, A, k, Q, F) => {
|
|
7033
7033
|
const ne = Is({
|
|
7034
7034
|
id: us++,
|
|
7035
7035
|
index: A,
|
|
7036
7036
|
used: !0,
|
|
7037
7037
|
key: Q,
|
|
7038
|
-
type:
|
|
7038
|
+
type: F
|
|
7039
7039
|
}), D = ws({
|
|
7040
7040
|
item: k,
|
|
7041
7041
|
position: 0,
|
|
7042
7042
|
nr: ne
|
|
7043
7043
|
});
|
|
7044
7044
|
return O.value.push(D), D;
|
|
7045
|
-
},
|
|
7045
|
+
}, qe = (O, A = !1) => {
|
|
7046
7046
|
const k = i, Q = O.nr.type;
|
|
7047
|
-
let
|
|
7048
|
-
|
|
7047
|
+
let F = k.get(Q);
|
|
7048
|
+
F || (F = [], k.set(Q, F)), F.push(O), A || (O.nr.used = !1, O.position = -9999);
|
|
7049
7049
|
}, ps = () => {
|
|
7050
7050
|
const O = o.direction === "vertical";
|
|
7051
7051
|
let A;
|
|
@@ -7064,7 +7064,7 @@ const rs = {
|
|
|
7064
7064
|
r.value.sort((O, A) => O.nr.index - A.nr.index);
|
|
7065
7065
|
}, Te = (O, A = !1) => {
|
|
7066
7066
|
var mt, gt, _t, bt, yt, vt, St, Ct;
|
|
7067
|
-
const k = o.itemSize, Q = fe,
|
|
7067
|
+
const k = o.itemSize, Q = fe, F = hs.value ? null : o.keyField, ne = o.items, D = ne.length, j = Fe.value, ge = n, ft = i, Ae = r, vs = fs;
|
|
7068
7068
|
let G, N, De, te, ae;
|
|
7069
7069
|
if (!D)
|
|
7070
7070
|
G = N = te = ae = De = 0;
|
|
@@ -7078,8 +7078,8 @@ const rs = {
|
|
|
7078
7078
|
};
|
|
7079
7079
|
}
|
|
7080
7080
|
de = T.start;
|
|
7081
|
-
const
|
|
7082
|
-
if (T.start -=
|
|
7081
|
+
const W = o.buffer;
|
|
7082
|
+
if (T.start -= W, T.end += W, k === null) {
|
|
7083
7083
|
let R, _e = 0, It = D - 1, Z = ~~(D / 2), wt;
|
|
7084
7084
|
do
|
|
7085
7085
|
wt = Z, R = (mt = j[Z]) == null ? void 0 : mt.accumulator, R < T.start ? _e = Z : Z < D - 1 && ((gt = j[Z + 1]) == null ? void 0 : gt.accumulator) > T.start && (It = Z), Z = ~~((_e + It) / 2);
|
|
@@ -7100,23 +7100,23 @@ const rs = {
|
|
|
7100
7100
|
let E;
|
|
7101
7101
|
const Pe = G <= L && N >= G;
|
|
7102
7102
|
if (Pe)
|
|
7103
|
-
for (let T = 0,
|
|
7104
|
-
E = Ae.value[T], E != null && E.nr.used && (O && (E.nr.index = vs[E.item[
|
|
7103
|
+
for (let T = 0, W = Ae.value.length; T < W; T++)
|
|
7104
|
+
E = Ae.value[T], E != null && E.nr.used && (O && (E.nr.index = vs[E.item[F]]), (E.nr.index == null || E.nr.index < G || E.nr.index >= N) && qe(E));
|
|
7105
7105
|
const pt = Pe ? null : /* @__PURE__ */ new Map();
|
|
7106
7106
|
let se, oe, xe;
|
|
7107
7107
|
for (let T = G; T < N; T++) {
|
|
7108
7108
|
se = ne[T];
|
|
7109
|
-
const
|
|
7110
|
-
if (
|
|
7111
|
-
throw new Error(`Key is ${
|
|
7112
|
-
if (E = ge.get(
|
|
7113
|
-
E &&
|
|
7109
|
+
const W = F ? se == null ? void 0 : se[F] : se;
|
|
7110
|
+
if (W == null)
|
|
7111
|
+
throw new Error(`Key is ${W} on item (keyField is '${F}')`);
|
|
7112
|
+
if (E = ge.get(W), !k && !((St = j[T]) != null && St.size)) {
|
|
7113
|
+
E && qe(E);
|
|
7114
7114
|
continue;
|
|
7115
7115
|
}
|
|
7116
7116
|
oe = se.type;
|
|
7117
7117
|
let R = ft.get(oe);
|
|
7118
7118
|
if (!E)
|
|
7119
|
-
Pe ? R && R.length ? E = R.pop() : E = ht(Ae, T, se,
|
|
7119
|
+
Pe ? R && R.length ? E = R.pop() : E = ht(Ae, T, se, W, oe) : (xe = pt.get(oe) || 0, (!R || xe >= R.length) && (E = ht(Ae, T, se, W, oe), qe(E, !0), R = ft.get(oe)), E = R[xe], pt.set(oe, xe + 1)), ge.delete(E.nr.key), E.nr.used = !0, E.nr.index = T, E.nr.key = W, E.nr.type = oe, ge.set(W, E);
|
|
7120
7120
|
else if (!E.nr.used && (E.nr.used = !0, R)) {
|
|
7121
7121
|
const _e = R.indexOf(E);
|
|
7122
7122
|
_e !== -1 && R.splice(_e, 1);
|
|
@@ -7132,7 +7132,7 @@ const rs = {
|
|
|
7132
7132
|
}, bs = (O) => {
|
|
7133
7133
|
var k;
|
|
7134
7134
|
let A;
|
|
7135
|
-
o.itemSize === null ? A = O > 0 ? (k =
|
|
7135
|
+
o.itemSize === null ? A = O > 0 ? (k = Fe.value[O - 1]) == null ? void 0 : k.accumulator : 0 : A = Math.floor(O) * o.itemSize, _s(A);
|
|
7136
7136
|
}, ys = () => {
|
|
7137
7137
|
const O = g.value;
|
|
7138
7138
|
w.value !== "middle" && (w.value = "middle", t("user-position", "middle")), O.scrollTop === 0 && (w.value = "top", t("user-position", "top")), O.scrollTop + O.clientHeight === O.scrollHeight && (w.value = "bottom", t("user-position", "bottom")), B || (B = !0, requestAnimationFrame(() => {
|
|
@@ -7153,7 +7153,7 @@ const rs = {
|
|
|
7153
7153
|
}, [
|
|
7154
7154
|
(a(), S(X(e.listTag), {
|
|
7155
7155
|
ref: "wrapper",
|
|
7156
|
-
style: re({ [e.direction === "vertical" ? "minHeight" : "minWidth"]: `${
|
|
7156
|
+
style: re({ [e.direction === "vertical" ? "minHeight" : "minWidth"]: `${Ut(Ve)}px` }),
|
|
7157
7157
|
class: y(["vue-recycle-scroller__item-wrapper", e.listClass])
|
|
7158
7158
|
}, {
|
|
7159
7159
|
default: c(() => [
|
|
@@ -7455,6 +7455,14 @@ const rs = {
|
|
|
7455
7455
|
this.vscrollData.active = !1;
|
|
7456
7456
|
},
|
|
7457
7457
|
methods: {
|
|
7458
|
+
dynamicScrollerUpdateItems() {
|
|
7459
|
+
const e = this.$refs.scroller;
|
|
7460
|
+
e && e._updateVisibleItems(!0);
|
|
7461
|
+
},
|
|
7462
|
+
dynamicScrollerUpdateItemsFromBottom() {
|
|
7463
|
+
const e = this.$refs.scroller;
|
|
7464
|
+
e && e._updateVisibleItems(!1, !0);
|
|
7465
|
+
},
|
|
7458
7466
|
scrollToItem(e) {
|
|
7459
7467
|
const s = this.$refs.scroller;
|
|
7460
7468
|
s && s.scrollToItem(e);
|
|
@@ -7497,7 +7505,7 @@ function Ro(e, s, t, o, n, i) {
|
|
|
7497
7505
|
"data-index": g
|
|
7498
7506
|
}, {
|
|
7499
7507
|
default: c(() => [
|
|
7500
|
-
d(e.$slots, "default", Ee(
|
|
7508
|
+
d(e.$slots, "default", Ee(We({
|
|
7501
7509
|
item: u.item,
|
|
7502
7510
|
index: g,
|
|
7503
7511
|
active: w,
|
|
@@ -7627,10 +7635,10 @@ const Bo = /* @__PURE__ */ v(xo, [["render", Ro]]), md = {
|
|
|
7627
7635
|
n.value && n.value.scrollToItem(b);
|
|
7628
7636
|
}
|
|
7629
7637
|
function u() {
|
|
7630
|
-
n.value && n.value._updateVisibleItems(!0);
|
|
7638
|
+
n.value && (o.dynamic ? n.value.dynamicScrollerUpdateItems() : n.value._updateVisibleItems(!0));
|
|
7631
7639
|
}
|
|
7632
7640
|
function g() {
|
|
7633
|
-
n.value && n.value._updateVisibleItems(!1, !0);
|
|
7641
|
+
n.value && (o.dynamic ? n.value.dynamicScrollerUpdateItemsFromBottom() : n.value._updateVisibleItems(!1, !0));
|
|
7634
7642
|
}
|
|
7635
7643
|
function w() {
|
|
7636
7644
|
o.dynamic && !o.minItemSize && console.error("DtScroller error: 'minItemSize' is required on 'dynamic' mode."), !o.dynamic && !o.itemSize && console.error("DtScroller error: 'itemSize' is required.");
|
|
@@ -7651,12 +7659,12 @@ const Bo = /* @__PURE__ */ v(xo, [["render", Ro]]), md = {
|
|
|
7651
7659
|
"key-field": e.keyField,
|
|
7652
7660
|
"list-tag": e.listTag,
|
|
7653
7661
|
"item-tag": e.itemTag,
|
|
7654
|
-
style: re(
|
|
7662
|
+
style: re(Ut(i)),
|
|
7655
7663
|
tabindex: "0",
|
|
7656
7664
|
onUserPosition: L[0] || (L[0] = (B) => b.$emit("user-position", B))
|
|
7657
7665
|
}, {
|
|
7658
7666
|
default: c(({ item: B, index: de, active: he }) => [
|
|
7659
|
-
d(b.$slots, "default", Ee(
|
|
7667
|
+
d(b.$slots, "default", Ee(We({
|
|
7660
7668
|
item: B,
|
|
7661
7669
|
index: de,
|
|
7662
7670
|
active: he
|
|
@@ -7723,7 +7731,7 @@ const Bo = /* @__PURE__ */ v(xo, [["render", Ro]]), md = {
|
|
|
7723
7731
|
listId: {
|
|
7724
7732
|
type: String,
|
|
7725
7733
|
default() {
|
|
7726
|
-
return
|
|
7734
|
+
return q();
|
|
7727
7735
|
}
|
|
7728
7736
|
},
|
|
7729
7737
|
/**
|
|
@@ -7886,7 +7894,7 @@ const Bo = /* @__PURE__ */ v(xo, [["render", Ro]]), md = {
|
|
|
7886
7894
|
isListShown: !1,
|
|
7887
7895
|
isInputFocused: !1,
|
|
7888
7896
|
isListFocused: !1,
|
|
7889
|
-
externalAnchor:
|
|
7897
|
+
externalAnchor: q(),
|
|
7890
7898
|
hasSlotContent: $
|
|
7891
7899
|
};
|
|
7892
7900
|
},
|
|
@@ -8045,7 +8053,7 @@ function Vo(e, s, t, o, n, i) {
|
|
|
8045
8053
|
_: 3
|
|
8046
8054
|
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id"]);
|
|
8047
8055
|
}
|
|
8048
|
-
const
|
|
8056
|
+
const Fo = /* @__PURE__ */ v($o, [["render", Vo]]), qo = {
|
|
8049
8057
|
// Chip has no 'lg' and 'xl' size. So we don't support that in multi-select.
|
|
8050
8058
|
EXTRA_SMALL: "xs",
|
|
8051
8059
|
SMALL: "sm",
|
|
@@ -8061,7 +8069,7 @@ const qo = /* @__PURE__ */ v($o, [["render", Vo]]), Fo = {
|
|
|
8061
8069
|
}, Go = {
|
|
8062
8070
|
name: "DtRecipeComboboxMultiSelect",
|
|
8063
8071
|
components: {
|
|
8064
|
-
DtRecipeComboboxWithPopover:
|
|
8072
|
+
DtRecipeComboboxWithPopover: Fo,
|
|
8065
8073
|
DtInput: Hs,
|
|
8066
8074
|
DtChip: as,
|
|
8067
8075
|
DtValidationMessages: me
|
|
@@ -8103,7 +8111,7 @@ const qo = /* @__PURE__ */ v($o, [["render", Vo]]), Fo = {
|
|
|
8103
8111
|
inputMessages: {
|
|
8104
8112
|
type: Array,
|
|
8105
8113
|
default: () => [],
|
|
8106
|
-
validator: (e) =>
|
|
8114
|
+
validator: (e) => Wt(e)
|
|
8107
8115
|
},
|
|
8108
8116
|
/**
|
|
8109
8117
|
* Show input validation message
|
|
@@ -8190,7 +8198,7 @@ const qo = /* @__PURE__ */ v($o, [["render", Vo]]), Fo = {
|
|
|
8190
8198
|
size: {
|
|
8191
8199
|
type: String,
|
|
8192
8200
|
default: "md",
|
|
8193
|
-
validator: (e) => Object.values(
|
|
8201
|
+
validator: (e) => Object.values(qo).includes(e)
|
|
8194
8202
|
},
|
|
8195
8203
|
/**
|
|
8196
8204
|
* Sets the element to which the popover is going to append to.
|
|
@@ -8407,10 +8415,10 @@ const qo = /* @__PURE__ */ v($o, [["render", Vo]]), Fo = {
|
|
|
8407
8415
|
this.maxSelected !== 0 && (this.selectedItems.length > this.maxSelected ? (this.showValidationMessages = !0, this.$emit("max-selected")) : this.showValidationMessages = !1);
|
|
8408
8416
|
}
|
|
8409
8417
|
}
|
|
8410
|
-
},
|
|
8418
|
+
}, Uo = {
|
|
8411
8419
|
ref: "inputSlotWrapper",
|
|
8412
8420
|
class: "d-ps-relative d-d-block"
|
|
8413
|
-
},
|
|
8421
|
+
}, Wo = {
|
|
8414
8422
|
ref: "chipsWrapper",
|
|
8415
8423
|
class: "d-ps-absolute d-mx2 d-pl1"
|
|
8416
8424
|
}, Zo = { ref: "header" }, Yo = {
|
|
@@ -8434,8 +8442,8 @@ function Xo(e, s, t, o, n, i) {
|
|
|
8434
8442
|
onSelect: i.onComboboxSelect
|
|
8435
8443
|
}, ke({
|
|
8436
8444
|
input: c(({ onInput: w }) => [
|
|
8437
|
-
_("span",
|
|
8438
|
-
_("span",
|
|
8445
|
+
_("span", Uo, [
|
|
8446
|
+
_("span", Wo, [
|
|
8439
8447
|
(a(!0), l(Y, null, ee(t.selectedItems, (b) => (a(), S(r, C({
|
|
8440
8448
|
ref_for: !0,
|
|
8441
8449
|
ref: "chips",
|
|
@@ -8476,7 +8484,7 @@ function Xo(e, s, t, o, n, i) {
|
|
|
8476
8484
|
list: c(() => [
|
|
8477
8485
|
_("div", {
|
|
8478
8486
|
ref: "list",
|
|
8479
|
-
onMousedown: s[1] || (s[1] =
|
|
8487
|
+
onMousedown: s[1] || (s[1] = U(() => {
|
|
8480
8488
|
}, ["prevent"]))
|
|
8481
8489
|
}, [
|
|
8482
8490
|
t.loading ? (a(), l("div", Yo, I(t.loadingMessage), 1)) : d(e.$slots, "list", { key: 0 })
|
|
@@ -9211,7 +9219,7 @@ const yd = /* @__PURE__ */ v(bl, [["render", Cl]]), at = "promptmenu", ot = "pro
|
|
|
9211
9219
|
const kl = {
|
|
9212
9220
|
name: "DtRecipeIvrNode",
|
|
9213
9221
|
components: {
|
|
9214
|
-
DtCard:
|
|
9222
|
+
DtCard: qi,
|
|
9215
9223
|
DtButton: K,
|
|
9216
9224
|
DtDropdown: Nn,
|
|
9217
9225
|
DtIcon: x
|
|
@@ -9352,7 +9360,7 @@ function Tl(e, s, t, o, n, i) {
|
|
|
9352
9360
|
importance: "clear",
|
|
9353
9361
|
kind: "muted",
|
|
9354
9362
|
"aria-label": t.menuButtonAriaLabel,
|
|
9355
|
-
onClick:
|
|
9363
|
+
onClick: U(i.openMenu, ["stop", "prevent"])
|
|
9356
9364
|
}, {
|
|
9357
9365
|
icon: c(() => [
|
|
9358
9366
|
m(r, {
|
|
@@ -9559,7 +9567,7 @@ const Id = /* @__PURE__ */ v(Nl, [["render", zl], ["__scopeId", "data-v-7712e6e1
|
|
|
9559
9567
|
}, Hl = "If type is contact center, color must be oneof the following:" + Object.keys(Be).join(", "), Vl = [
|
|
9560
9568
|
"300",
|
|
9561
9569
|
"200"
|
|
9562
|
-
],
|
|
9570
|
+
], Fl = {}, ql = {
|
|
9563
9571
|
"aria-hidden": "true",
|
|
9564
9572
|
focusable: "false",
|
|
9565
9573
|
"aria-label": "Dialbot",
|
|
@@ -9572,11 +9580,11 @@ const Id = /* @__PURE__ */ v(Nl, [["render", zl], ["__scopeId", "data-v-7712e6e1
|
|
|
9572
9580
|
Kl
|
|
9573
9581
|
];
|
|
9574
9582
|
function Gl(e, s) {
|
|
9575
|
-
return a(), l("svg",
|
|
9583
|
+
return a(), l("svg", ql, jl);
|
|
9576
9584
|
}
|
|
9577
|
-
const
|
|
9585
|
+
const Ul = /* @__PURE__ */ v(Fl, [["render", Gl]]), Wl = {
|
|
9578
9586
|
name: "DtRecipeLeftbarGeneralRowIcon",
|
|
9579
|
-
components: { DtIcon: x, IconDialbot:
|
|
9587
|
+
components: { DtIcon: x, IconDialbot: Ul },
|
|
9580
9588
|
props: {
|
|
9581
9589
|
type: {
|
|
9582
9590
|
type: String,
|
|
@@ -9638,7 +9646,7 @@ function Zl(e, s, t, o, n, i) {
|
|
|
9638
9646
|
m(h, { class: "d-svg--size24" })
|
|
9639
9647
|
], 2)) : p("", !0);
|
|
9640
9648
|
}
|
|
9641
|
-
const Yl = /* @__PURE__ */ v(
|
|
9649
|
+
const Yl = /* @__PURE__ */ v(Wl, [["render", Zl]]);
|
|
9642
9650
|
const Ql = {
|
|
9643
9651
|
name: "DtRecipeGeneralRow",
|
|
9644
9652
|
components: {
|
|
@@ -9937,7 +9945,7 @@ function cr(e, s, t, o, n, i) {
|
|
|
9937
9945
|
onFocus: s[0] || (s[0] = (L) => n.actionFocused = !0),
|
|
9938
9946
|
onBlur: s[1] || (s[1] = (L) => n.actionFocused = !1),
|
|
9939
9947
|
onMouseleave: s[2] || (s[2] = (L) => n.actionFocused = !1),
|
|
9940
|
-
onClick: s[3] || (s[3] =
|
|
9948
|
+
onClick: s[3] || (s[3] = U((L) => e.$emit("call", L), ["stop"]))
|
|
9941
9949
|
}, {
|
|
9942
9950
|
icon: c(() => [
|
|
9943
9951
|
m(g, {
|
|
@@ -10638,7 +10646,7 @@ export {
|
|
|
10638
10646
|
Tt as AVATAR_GROUP_VALIDATOR,
|
|
10639
10647
|
Kr as AVATAR_ICON_SIZES,
|
|
10640
10648
|
Ot as AVATAR_KIND_MODIFIERS,
|
|
10641
|
-
|
|
10649
|
+
Ws as AVATAR_PRESENCE_SIZE_MODIFIERS,
|
|
10642
10650
|
Lt as AVATAR_PRESENCE_STATES,
|
|
10643
10651
|
Ke as AVATAR_SIZE_MODIFIERS,
|
|
10644
10652
|
Pt as BADGE_DECORATION_MODIFIERS,
|
|
@@ -10658,13 +10666,13 @@ export {
|
|
|
10658
10666
|
Bi as DtBreadcrumbItem,
|
|
10659
10667
|
Gr as DtBreadcrumbs,
|
|
10660
10668
|
K as DtButton,
|
|
10661
|
-
|
|
10662
|
-
|
|
10669
|
+
Ur as DtButtonGroup,
|
|
10670
|
+
qi as DtCard,
|
|
10663
10671
|
Yt as DtCheckableInputMixin,
|
|
10664
10672
|
od as DtCheckbox,
|
|
10665
10673
|
ld as DtCheckboxGroup,
|
|
10666
10674
|
as as DtChip,
|
|
10667
|
-
|
|
10675
|
+
Wr as DtCodeblock,
|
|
10668
10676
|
Zr as DtCollapsible,
|
|
10669
10677
|
mn as DtCombobox,
|
|
10670
10678
|
Nn as DtDropdown,
|
|
@@ -10674,7 +10682,7 @@ export {
|
|
|
10674
10682
|
Qr as DtImageViewer,
|
|
10675
10683
|
Hs as DtInput,
|
|
10676
10684
|
ns as DtInputGroup,
|
|
10677
|
-
|
|
10685
|
+
Un as DtInputGroupMixin,
|
|
10678
10686
|
Zt as DtInputMixin,
|
|
10679
10687
|
Jt as DtKeyboardListNavigationMixin,
|
|
10680
10688
|
hd as DtKeyboardShortcut,
|
|
@@ -10687,13 +10695,13 @@ export {
|
|
|
10687
10695
|
Xr as DtNotice,
|
|
10688
10696
|
sd as DtPagination,
|
|
10689
10697
|
it as DtPopover,
|
|
10690
|
-
|
|
10698
|
+
Us as DtPresence,
|
|
10691
10699
|
id as DtRadio,
|
|
10692
10700
|
nd as DtRadioGroup,
|
|
10693
10701
|
tl as DtRecipeCallbarButton,
|
|
10694
10702
|
_d as DtRecipeCallbarButtonWithPopover,
|
|
10695
10703
|
gd as DtRecipeComboboxMultiSelect,
|
|
10696
|
-
|
|
10704
|
+
Fo as DtRecipeComboboxWithPopover,
|
|
10697
10705
|
bd as DtRecipeContactInfo,
|
|
10698
10706
|
kd as DtRecipeContactRow,
|
|
10699
10707
|
Td as DtRecipeEmojiRow,
|
|
@@ -10724,7 +10732,7 @@ export {
|
|
|
10724
10732
|
me as DtValidationMessages,
|
|
10725
10733
|
Hd as ICON_SIZE_MODIFIERS,
|
|
10726
10734
|
Vd as INPUT_SIZES,
|
|
10727
|
-
|
|
10735
|
+
Fd as INPUT_TYPES,
|
|
10728
10736
|
dt as IVR_NODE_BRANCH,
|
|
10729
10737
|
rt as IVR_NODE_EXPERT,
|
|
10730
10738
|
He as IVR_NODE_GO_TO,
|
|
@@ -10744,7 +10752,7 @@ export {
|
|
|
10744
10752
|
Ts as LINK_VARIANTS,
|
|
10745
10753
|
$t as MODAL_KIND_MODIFIERS,
|
|
10746
10754
|
Nt as MODAL_SIZE_MODIFIERS,
|
|
10747
|
-
|
|
10755
|
+
qo as MULTI_SELECT_SIZES,
|
|
10748
10756
|
Oe as NOTICE_KINDS,
|
|
10749
10757
|
is as POPOVER_CONTENT_WIDTHS,
|
|
10750
10758
|
In as POPOVER_HEADER_FOOTER_PADDING_CLASSES,
|
|
@@ -10752,7 +10760,7 @@ export {
|
|
|
10752
10760
|
Bt as POPOVER_PADDING_CLASSES,
|
|
10753
10761
|
wn as POPOVER_ROLES,
|
|
10754
10762
|
be as PRESENCE_STATES,
|
|
10755
|
-
|
|
10763
|
+
Fs as PRESENCE_STATES_LIST,
|
|
10756
10764
|
Rr as REACTIONS_ATTRIBUTES,
|
|
10757
10765
|
yo as ROOT_LAYOUT_RESPONSIVE_BREAKPOINTS,
|
|
10758
10766
|
os as ROOT_LAYOUT_SIDEBAR_POSITIONS,
|
|
@@ -10761,12 +10769,12 @@ export {
|
|
|
10761
10769
|
ud as SHORTCUTS_ALIASES_LIST,
|
|
10762
10770
|
ye as SHORTCUTS_ICON_ALIASES,
|
|
10763
10771
|
po as SHORTCUTS_ICON_SEPARATOR,
|
|
10764
|
-
|
|
10772
|
+
qd as SKELETON_HEADING_HEIGHTS,
|
|
10765
10773
|
Kd as SKELETON_RIPPLE_DURATION,
|
|
10766
10774
|
jd as SKELETON_SHAPES,
|
|
10767
10775
|
Gd as SKELETON_SHAPE_SIZES,
|
|
10768
|
-
|
|
10769
|
-
|
|
10776
|
+
Ud as SKELETON_TEXT_TYPES,
|
|
10777
|
+
Wd as TAB_IMPORTANCE_MODIFIERS,
|
|
10770
10778
|
Zd as TAB_LIST_IMPORTANCE_MODIFIERS,
|
|
10771
10779
|
Yd as TAB_LIST_KIND_MODIFIERS,
|
|
10772
10780
|
Qd as TAB_LIST_SIZES,
|
|
@@ -10781,7 +10789,7 @@ export {
|
|
|
10781
10789
|
ic as VALIDATION_MESSAGE_TYPES,
|
|
10782
10790
|
nc as filterFormattedMessages,
|
|
10783
10791
|
Et as formatMessages,
|
|
10784
|
-
|
|
10792
|
+
q as getUniqueString,
|
|
10785
10793
|
Ge as getValidationState,
|
|
10786
|
-
|
|
10794
|
+
Wt as validationMessageValidator
|
|
10787
10795
|
};
|