@dialpad/dialtone-vue 3.97.0 → 3.98.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 +12 -0
- package/README.md +13 -15
- package/dist/dialtone-vue.cjs +5 -5
- package/dist/dialtone-vue.js +2327 -1988
- package/dist/emoji.cjs +1 -1
- package/dist/emoji.js +1 -1
- package/dist/{emoji_picker-Mxqzrrbr.js → emoji_picker-_P3IH5Mx.js} +245 -237
- package/dist/emoji_picker-x6wk4x21.cjs +1 -0
- package/dist/message_input.cjs +13 -13
- package/dist/message_input.js +2121 -2244
- package/dist/stack-2vhLbADY.cjs +2 -0
- package/dist/{stack-q9VLdD1J.js → stack-FkIoaXcJ.js} +394 -739
- package/dist/style.css +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_selector.vue.d.ts +3 -1
- package/dist/types/components/emoji_picker/modules/emoji_selector.vue.d.ts.map +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_skin_selector.vue.d.ts +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_skin_selector.vue.d.ts.map +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +67 -203
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/emoji_picker-o0hHRpcs.cjs +0 -1
- package/dist/stack-_FIkvuMY.cjs +0 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as y, g as
|
|
2
|
-
import { openBlock as
|
|
3
|
-
import { w, I as
|
|
4
|
-
const
|
|
1
|
+
import { _ as y, g as N, a as G, u as $, b as U, B as Y, h as q, c as Z, i as X, d as J, e as Q } from "./tooltip-H27s49LR.js";
|
|
2
|
+
import { openBlock as n, createElementBlock as l, toDisplayString as O, createCommentVNode as r, createElementVNode as _, normalizeClass as c, resolveComponent as m, createBlock as u, resolveDynamicComponent as k, withCtx as p, mergeProps as A, renderSlot as d, withKeys as b, withModifiers as I, createVNode as T, toHandlers as j, createSlots as ee, renderList as te, Teleport as se } from "vue";
|
|
3
|
+
import { w as P, I as oe, L as ae, A as ne, B as M } from "./emoji-64scMQZS.js";
|
|
4
|
+
const S = {
|
|
5
5
|
BUSY: "busy",
|
|
6
6
|
AWAY: "away",
|
|
7
7
|
OFFLINE: "offline",
|
|
8
8
|
ACTIVE: "active"
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
],
|
|
9
|
+
}, ie = [
|
|
10
|
+
S.BUSY,
|
|
11
|
+
S.AWAY,
|
|
12
|
+
S.OFFLINE,
|
|
13
|
+
S.ACTIVE
|
|
14
|
+
], le = {
|
|
15
15
|
name: "DtPresence",
|
|
16
16
|
props: {
|
|
17
17
|
/**
|
|
@@ -21,8 +21,8 @@ const C = {
|
|
|
21
21
|
*/
|
|
22
22
|
presence: {
|
|
23
23
|
type: String,
|
|
24
|
-
default:
|
|
25
|
-
validator: (e) =>
|
|
24
|
+
default: S.ACTIVE,
|
|
25
|
+
validator: (e) => ie.includes(e)
|
|
26
26
|
},
|
|
27
27
|
/**
|
|
28
28
|
* Since Presence is a visual element, we need SRs to read out any state changes
|
|
@@ -34,55 +34,55 @@ const C = {
|
|
|
34
34
|
default: null
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
},
|
|
37
|
+
}, re = ["aria-live"], de = {
|
|
38
38
|
key: 0,
|
|
39
39
|
"data-qa": "dt-presence-sr-text",
|
|
40
40
|
class: "sr-only"
|
|
41
41
|
};
|
|
42
|
-
function
|
|
43
|
-
return
|
|
42
|
+
function ce(e, t, s, i, a, o) {
|
|
43
|
+
return n(), l("div", {
|
|
44
44
|
class: "d-presence",
|
|
45
45
|
"data-qa": "dt-presence",
|
|
46
46
|
role: "status",
|
|
47
47
|
"aria-live": e.$attrs.ariaLive || "off"
|
|
48
48
|
}, [
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
class:
|
|
52
|
-
"d-presence__inner--active":
|
|
53
|
-
"d-presence__inner--away":
|
|
54
|
-
"d-presence__inner--busy":
|
|
55
|
-
"d-presence__inner--offline":
|
|
49
|
+
s.srText ? (n(), l("span", de, O(s.srText), 1)) : r("", !0),
|
|
50
|
+
_("div", {
|
|
51
|
+
class: c(["d-presence__inner", {
|
|
52
|
+
"d-presence__inner--active": s.presence === "active",
|
|
53
|
+
"d-presence__inner--away": s.presence === "away",
|
|
54
|
+
"d-presence__inner--busy": s.presence === "busy",
|
|
55
|
+
"d-presence__inner--offline": s.presence === "offline"
|
|
56
56
|
}])
|
|
57
57
|
}, null, 2)
|
|
58
|
-
], 8,
|
|
58
|
+
], 8, re);
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const ue = /* @__PURE__ */ y(le, [["render", ce]]), L = {
|
|
61
61
|
xs: "d-avatar--xs",
|
|
62
62
|
sm: "d-avatar--sm",
|
|
63
63
|
md: "d-avatar--md",
|
|
64
64
|
lg: "d-avatar--lg",
|
|
65
65
|
xl: "d-avatar--xl"
|
|
66
|
-
},
|
|
66
|
+
}, he = {
|
|
67
67
|
default: "",
|
|
68
68
|
icon: "d-avatar__icon",
|
|
69
69
|
initials: "d-avatar__initials"
|
|
70
|
-
},
|
|
70
|
+
}, pe = {
|
|
71
71
|
md: "d-avatar__presence--md",
|
|
72
72
|
lg: "d-avatar__presence--lg"
|
|
73
|
-
},
|
|
73
|
+
}, x = {
|
|
74
74
|
NONE: "",
|
|
75
75
|
BUSY: "busy",
|
|
76
76
|
AWAY: "away",
|
|
77
77
|
OFFLINE: "offline",
|
|
78
78
|
ACTIVE: "active"
|
|
79
|
-
},
|
|
79
|
+
}, fe = {
|
|
80
80
|
xs: "100",
|
|
81
81
|
sm: "200",
|
|
82
82
|
md: "300",
|
|
83
83
|
lg: "500",
|
|
84
84
|
xl: "600"
|
|
85
|
-
},
|
|
85
|
+
}, me = [
|
|
86
86
|
"100",
|
|
87
87
|
"200",
|
|
88
88
|
"300",
|
|
@@ -101,7 +101,7 @@ const me = /* @__PURE__ */ y(ue, [["render", fe]]), N = {
|
|
|
101
101
|
"1600",
|
|
102
102
|
"1700",
|
|
103
103
|
"1800"
|
|
104
|
-
],
|
|
104
|
+
], F = (e) => e > 1, ye = [
|
|
105
105
|
"accessibility",
|
|
106
106
|
"activity",
|
|
107
107
|
"add-task",
|
|
@@ -635,17 +635,17 @@ const me = /* @__PURE__ */ y(ue, [["render", fe]]), N = {
|
|
|
635
635
|
"zoom-logo",
|
|
636
636
|
"zoom-out"
|
|
637
637
|
];
|
|
638
|
-
function
|
|
639
|
-
return [void 0, ...
|
|
638
|
+
function ge() {
|
|
639
|
+
return [void 0, ...ye];
|
|
640
640
|
}
|
|
641
|
-
const
|
|
641
|
+
const ve = (e) => {
|
|
642
642
|
if (typeof e != "string" || !e.trim())
|
|
643
643
|
return "";
|
|
644
|
-
const
|
|
645
|
-
return
|
|
646
|
-
},
|
|
644
|
+
const t = e.trim().split(/\s+/g);
|
|
645
|
+
return t.length === 1 ? t.join("").substring(0, 2) : t.filter((s, i) => i === 0 || i === t.length - 1).map((s) => s.slice(0, 1).toUpperCase()).join("");
|
|
646
|
+
}, be = ge(), _e = {
|
|
647
647
|
name: "DtAvatar",
|
|
648
|
-
components: { DtPresence:
|
|
648
|
+
components: { DtPresence: ue, DtIcon: P },
|
|
649
649
|
inheritAttrs: !1,
|
|
650
650
|
props: {
|
|
651
651
|
/**
|
|
@@ -654,7 +654,7 @@ const Se = (e) => {
|
|
|
654
654
|
id: {
|
|
655
655
|
type: String,
|
|
656
656
|
default() {
|
|
657
|
-
return
|
|
657
|
+
return N();
|
|
658
658
|
}
|
|
659
659
|
},
|
|
660
660
|
/**
|
|
@@ -680,7 +680,7 @@ const Se = (e) => {
|
|
|
680
680
|
size: {
|
|
681
681
|
type: String,
|
|
682
682
|
default: "md",
|
|
683
|
-
validator: (e) => Object.keys(
|
|
683
|
+
validator: (e) => Object.keys(L).includes(e)
|
|
684
684
|
},
|
|
685
685
|
/**
|
|
686
686
|
* Used to customize the avatar container
|
|
@@ -711,8 +711,8 @@ const Se = (e) => {
|
|
|
711
711
|
*/
|
|
712
712
|
presence: {
|
|
713
713
|
type: String,
|
|
714
|
-
default:
|
|
715
|
-
validator: (e) => Object.values(
|
|
714
|
+
default: x.NONE,
|
|
715
|
+
validator: (e) => Object.values(x).includes(e)
|
|
716
716
|
},
|
|
717
717
|
/**
|
|
718
718
|
* A set of props to be passed into the presence component.
|
|
@@ -729,7 +729,7 @@ const Se = (e) => {
|
|
|
729
729
|
group: {
|
|
730
730
|
type: Number,
|
|
731
731
|
default: void 0,
|
|
732
|
-
validator: (e) =>
|
|
732
|
+
validator: (e) => F(e)
|
|
733
733
|
},
|
|
734
734
|
/**
|
|
735
735
|
* The icon that overlays the avatar
|
|
@@ -773,7 +773,7 @@ const Se = (e) => {
|
|
|
773
773
|
iconName: {
|
|
774
774
|
type: String,
|
|
775
775
|
default: void 0,
|
|
776
|
-
validator: (e) =>
|
|
776
|
+
validator: (e) => be.includes(e)
|
|
777
777
|
},
|
|
778
778
|
/**
|
|
779
779
|
* Icon size to be displayed on the avatar
|
|
@@ -782,7 +782,7 @@ const Se = (e) => {
|
|
|
782
782
|
iconSize: {
|
|
783
783
|
type: String,
|
|
784
784
|
default: "",
|
|
785
|
-
validator: (e) => !e || Object.keys(
|
|
785
|
+
validator: (e) => !e || Object.keys(oe).includes(e)
|
|
786
786
|
},
|
|
787
787
|
/**
|
|
788
788
|
* Full name used to extract initials and set alt attribute.
|
|
@@ -811,10 +811,10 @@ const Se = (e) => {
|
|
|
811
811
|
],
|
|
812
812
|
data() {
|
|
813
813
|
return {
|
|
814
|
-
AVATAR_SIZE_MODIFIERS:
|
|
815
|
-
AVATAR_KIND_MODIFIERS:
|
|
816
|
-
AVATAR_PRESENCE_SIZE_MODIFIERS:
|
|
817
|
-
AVATAR_ICON_SIZES:
|
|
814
|
+
AVATAR_SIZE_MODIFIERS: L,
|
|
815
|
+
AVATAR_KIND_MODIFIERS: he,
|
|
816
|
+
AVATAR_PRESENCE_SIZE_MODIFIERS: pe,
|
|
817
|
+
AVATAR_ICON_SIZES: fe,
|
|
818
818
|
imageLoadedSuccessfully: null,
|
|
819
819
|
formattedInitials: "",
|
|
820
820
|
initializing: !1
|
|
@@ -827,7 +827,7 @@ const Se = (e) => {
|
|
|
827
827
|
avatarClasses() {
|
|
828
828
|
return [
|
|
829
829
|
"d-avatar",
|
|
830
|
-
|
|
830
|
+
L[this.validatedSize],
|
|
831
831
|
this.avatarClass,
|
|
832
832
|
{
|
|
833
833
|
"d-avatar--group": this.showGroup,
|
|
@@ -843,7 +843,7 @@ const Se = (e) => {
|
|
|
843
843
|
];
|
|
844
844
|
},
|
|
845
845
|
showGroup() {
|
|
846
|
-
return
|
|
846
|
+
return F(this.group);
|
|
847
847
|
},
|
|
848
848
|
formattedGroup() {
|
|
849
849
|
return this.group > 99 ? "99+" : this.group;
|
|
@@ -880,11 +880,11 @@ const Se = (e) => {
|
|
|
880
880
|
e && (e.addEventListener("load", () => this._loadedImageEventHandler(e), { once: !0 }), e.addEventListener("error", () => this._erroredImageEventHandler(e), { once: !0 }));
|
|
881
881
|
},
|
|
882
882
|
formatInitials(e) {
|
|
883
|
-
const
|
|
884
|
-
this.validatedSize === "xs" ? this.formattedInitials = "" : this.validatedSize === "sm" ? this.formattedInitials =
|
|
883
|
+
const t = ve(e);
|
|
884
|
+
this.validatedSize === "xs" ? this.formattedInitials = "" : this.validatedSize === "sm" ? this.formattedInitials = t[0] : this.formattedInitials = t;
|
|
885
885
|
},
|
|
886
886
|
getColor() {
|
|
887
|
-
return this.color ??
|
|
887
|
+
return this.color ?? G(me, this.seed);
|
|
888
888
|
},
|
|
889
889
|
_loadedImageEventHandler(e) {
|
|
890
890
|
this.imageLoadedSuccessfully = !0, e.classList.remove("d-d-none");
|
|
@@ -900,181 +900,74 @@ const Se = (e) => {
|
|
|
900
900
|
this.clickable && this.$emit("click", e);
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
|
-
},
|
|
903
|
+
}, ke = ["src", "alt"], Ee = {
|
|
904
904
|
key: 1,
|
|
905
905
|
class: "d-avatar__overlay-text"
|
|
906
|
-
},
|
|
906
|
+
}, Se = {
|
|
907
907
|
key: 1,
|
|
908
908
|
class: "d-avatar__count",
|
|
909
909
|
"data-qa": "dt-avatar-count"
|
|
910
910
|
};
|
|
911
|
-
function
|
|
912
|
-
const
|
|
913
|
-
return
|
|
914
|
-
id:
|
|
915
|
-
class:
|
|
911
|
+
function we(e, t, s, i, a, o) {
|
|
912
|
+
const f = m("dt-icon"), g = m("dt-presence");
|
|
913
|
+
return n(), u(k(s.clickable ? "button" : "div"), {
|
|
914
|
+
id: s.id,
|
|
915
|
+
class: c(o.avatarClasses),
|
|
916
916
|
"data-qa": "dt-avatar",
|
|
917
917
|
"aria-label": o.buttonAriaLabel,
|
|
918
918
|
onClick: o.handleClick
|
|
919
919
|
}, {
|
|
920
|
-
default:
|
|
921
|
-
|
|
920
|
+
default: p(() => [
|
|
921
|
+
_("div", {
|
|
922
922
|
ref: "canvas",
|
|
923
|
-
class:
|
|
924
|
-
|
|
923
|
+
class: c([
|
|
924
|
+
s.canvasClass,
|
|
925
925
|
"d-avatar__canvas",
|
|
926
|
-
{ "d-avatar--image-loaded":
|
|
926
|
+
{ "d-avatar--image-loaded": a.imageLoadedSuccessfully }
|
|
927
927
|
])
|
|
928
928
|
}, [
|
|
929
|
-
o.showImage ? (
|
|
929
|
+
o.showImage ? (n(), l("img", {
|
|
930
930
|
key: 0,
|
|
931
931
|
ref: "avatarImage",
|
|
932
932
|
class: "d-avatar__image",
|
|
933
933
|
"data-qa": "dt-avatar-image",
|
|
934
|
-
src:
|
|
935
|
-
alt:
|
|
936
|
-
}, null, 8,
|
|
934
|
+
src: s.imageSrc,
|
|
935
|
+
alt: s.imageAlt || s.fullName
|
|
936
|
+
}, null, 8, ke)) : s.iconName ? (n(), u(f, {
|
|
937
937
|
key: 1,
|
|
938
|
-
name:
|
|
939
|
-
size:
|
|
940
|
-
class:
|
|
938
|
+
name: s.iconName,
|
|
939
|
+
size: s.iconSize || a.AVATAR_ICON_SIZES[s.size],
|
|
940
|
+
class: c([s.iconClass, a.AVATAR_KIND_MODIFIERS.icon]),
|
|
941
941
|
"data-qa": "dt-avatar-icon"
|
|
942
|
-
}, null, 8, ["name", "size", "class"])) : (
|
|
942
|
+
}, null, 8, ["name", "size", "class"])) : (n(), l("span", {
|
|
943
943
|
key: 2,
|
|
944
|
-
class:
|
|
945
|
-
},
|
|
944
|
+
class: c([a.AVATAR_KIND_MODIFIERS.initials])
|
|
945
|
+
}, O(a.formattedInitials), 3))
|
|
946
946
|
], 2),
|
|
947
|
-
|
|
947
|
+
s.overlayIcon || s.overlayText ? (n(), l("div", {
|
|
948
948
|
key: 0,
|
|
949
|
-
class:
|
|
949
|
+
class: c(o.overlayClasses)
|
|
950
950
|
}, [
|
|
951
|
-
|
|
951
|
+
s.overlayIcon ? (n(), u(f, {
|
|
952
952
|
key: 0,
|
|
953
953
|
class: "d-avatar__overlay-icon",
|
|
954
|
-
name:
|
|
955
|
-
}, null, 8, ["name"])) :
|
|
956
|
-
], 2)) :
|
|
957
|
-
o.showGroup ? (
|
|
958
|
-
|
|
954
|
+
name: s.overlayIcon
|
|
955
|
+
}, null, 8, ["name"])) : s.overlayText ? (n(), l("p", Ee, O(s.overlayText), 1)) : r("", !0)
|
|
956
|
+
], 2)) : r("", !0),
|
|
957
|
+
o.showGroup ? (n(), l("span", Se, O(o.formattedGroup), 1)) : r("", !0),
|
|
958
|
+
s.presence && !o.showGroup ? (n(), u(g, A({
|
|
959
959
|
key: 2,
|
|
960
|
-
presence:
|
|
960
|
+
presence: s.presence,
|
|
961
961
|
class: [
|
|
962
962
|
"d-avatar__presence",
|
|
963
|
-
|
|
963
|
+
a.AVATAR_PRESENCE_SIZE_MODIFIERS[s.size]
|
|
964
964
|
]
|
|
965
|
-
},
|
|
965
|
+
}, s.presenceProps, { "data-qa": "dt-presence" }), null, 16, ["presence", "class"])) : r("", !0)
|
|
966
966
|
]),
|
|
967
967
|
_: 1
|
|
968
968
|
}, 8, ["id", "class", "aria-label", "onClick"]);
|
|
969
969
|
}
|
|
970
|
-
const
|
|
971
|
-
["info", "info"],
|
|
972
|
-
["success", "check-circle"],
|
|
973
|
-
["warning", "alert-triangle"],
|
|
974
|
-
["error", "alert-circle"],
|
|
975
|
-
["base", "bell"]
|
|
976
|
-
]), Le = {
|
|
977
|
-
name: "DtNoticeIcon",
|
|
978
|
-
components: {
|
|
979
|
-
DtIcon: w
|
|
980
|
-
},
|
|
981
|
-
props: {
|
|
982
|
-
/**
|
|
983
|
-
* Kind of icon
|
|
984
|
-
* @values base, error, info, success, warning
|
|
985
|
-
*/
|
|
986
|
-
kind: {
|
|
987
|
-
type: String,
|
|
988
|
-
default: "base",
|
|
989
|
-
validate(e) {
|
|
990
|
-
return M.includes(e);
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
},
|
|
994
|
-
data() {
|
|
995
|
-
return {
|
|
996
|
-
hasSlotContent: L
|
|
997
|
-
};
|
|
998
|
-
},
|
|
999
|
-
computed: {
|
|
1000
|
-
defaultIcon() {
|
|
1001
|
-
return Pe.get(this.kind);
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
}, Ne = {
|
|
1005
|
-
key: 0,
|
|
1006
|
-
"aria-hidden": "true",
|
|
1007
|
-
class: "d-notice__icon"
|
|
1008
|
-
};
|
|
1009
|
-
function De(e, s, t, i, n, o) {
|
|
1010
|
-
const c = p("dt-icon");
|
|
1011
|
-
return o.defaultIcon || n.hasSlotContent(e.$slots.default) ? (a(), r("div", Ne, [
|
|
1012
|
-
l(e.$slots, "default", {}, () => [
|
|
1013
|
-
_(c, {
|
|
1014
|
-
name: o.defaultIcon,
|
|
1015
|
-
size: "400"
|
|
1016
|
-
}, null, 8, ["name"])
|
|
1017
|
-
])
|
|
1018
|
-
])) : d("", !0);
|
|
1019
|
-
}
|
|
1020
|
-
const Re = /* @__PURE__ */ y(Le, [["render", De]]), Fe = {
|
|
1021
|
-
name: "DtNoticeContent",
|
|
1022
|
-
props: {
|
|
1023
|
-
/**
|
|
1024
|
-
* Title header of the notice. This can be left blank to remove the title from the notice entirely.
|
|
1025
|
-
*/
|
|
1026
|
-
title: {
|
|
1027
|
-
type: String,
|
|
1028
|
-
default: ""
|
|
1029
|
-
},
|
|
1030
|
-
/**
|
|
1031
|
-
* ID for the title element of the component. Useful for aria-describedby
|
|
1032
|
-
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
1033
|
-
*/
|
|
1034
|
-
titleId: {
|
|
1035
|
-
type: String,
|
|
1036
|
-
default: void 0
|
|
1037
|
-
},
|
|
1038
|
-
/**
|
|
1039
|
-
* ID for the content element of the component. Useful for aria-describedby
|
|
1040
|
-
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
1041
|
-
*/
|
|
1042
|
-
contentId: {
|
|
1043
|
-
type: String,
|
|
1044
|
-
default: void 0
|
|
1045
|
-
}
|
|
1046
|
-
},
|
|
1047
|
-
data() {
|
|
1048
|
-
return {
|
|
1049
|
-
hasSlotContent: L
|
|
1050
|
-
};
|
|
1051
|
-
}
|
|
1052
|
-
}, Be = {
|
|
1053
|
-
class: "d-notice__content",
|
|
1054
|
-
"data-qa": "notice-content"
|
|
1055
|
-
}, xe = ["id"], ze = ["id"];
|
|
1056
|
-
function He(e, s, t, i, n, o) {
|
|
1057
|
-
return a(), r("div", Be, [
|
|
1058
|
-
t.title || n.hasSlotContent(e.$slots.titleOverride) ? (a(), r("p", {
|
|
1059
|
-
key: 0,
|
|
1060
|
-
id: t.titleId,
|
|
1061
|
-
class: "d-notice__title",
|
|
1062
|
-
"data-qa": "notice-content-title"
|
|
1063
|
-
}, [
|
|
1064
|
-
l(e.$slots, "titleOverride", {}, () => [
|
|
1065
|
-
oe(I(t.title), 1)
|
|
1066
|
-
])
|
|
1067
|
-
], 8, xe)) : d("", !0),
|
|
1068
|
-
b("p", {
|
|
1069
|
-
id: t.contentId,
|
|
1070
|
-
class: "d-notice__message",
|
|
1071
|
-
"data-qa": "notice-content-message"
|
|
1072
|
-
}, [
|
|
1073
|
-
l(e.$slots, "default")
|
|
1074
|
-
], 8, ze)
|
|
1075
|
-
]);
|
|
1076
|
-
}
|
|
1077
|
-
const Ve = /* @__PURE__ */ y(Fe, [["render", He]]), qe = {
|
|
970
|
+
const ft = /* @__PURE__ */ y(_e, [["render", we]]), Ce = {
|
|
1078
971
|
name: "DtLink",
|
|
1079
972
|
props: {
|
|
1080
973
|
/**
|
|
@@ -1085,29 +978,29 @@ const Ve = /* @__PURE__ */ y(Fe, [["render", He]]), qe = {
|
|
|
1085
978
|
type: String,
|
|
1086
979
|
default: "",
|
|
1087
980
|
validator(e) {
|
|
1088
|
-
return
|
|
981
|
+
return ae.includes(e);
|
|
1089
982
|
}
|
|
1090
983
|
}
|
|
1091
984
|
},
|
|
1092
985
|
data() {
|
|
1093
986
|
return {
|
|
1094
|
-
LINK_KIND_MODIFIERS:
|
|
987
|
+
LINK_KIND_MODIFIERS: ne
|
|
1095
988
|
};
|
|
1096
989
|
}
|
|
1097
|
-
},
|
|
1098
|
-
function
|
|
1099
|
-
return
|
|
1100
|
-
class:
|
|
990
|
+
}, Oe = ["href"];
|
|
991
|
+
function Ie(e, t, s, i, a, o) {
|
|
992
|
+
return n(), l("a", {
|
|
993
|
+
class: c([
|
|
1101
994
|
"d-link",
|
|
1102
|
-
|
|
995
|
+
a.LINK_KIND_MODIFIERS[s.kind]
|
|
1103
996
|
]),
|
|
1104
997
|
"data-qa": "dt-link",
|
|
1105
998
|
href: "href" in e.$attrs ? e.$attrs.href : "javascript:void(0)"
|
|
1106
999
|
}, [
|
|
1107
|
-
|
|
1108
|
-
], 10,
|
|
1000
|
+
d(e.$slots, "default")
|
|
1001
|
+
], 10, Oe);
|
|
1109
1002
|
}
|
|
1110
|
-
const
|
|
1003
|
+
const mt = /* @__PURE__ */ y(Ce, [["render", Ie]]), Ae = {
|
|
1111
1004
|
props: {
|
|
1112
1005
|
/**
|
|
1113
1006
|
* If true, a hidden close button is included for screen readers
|
|
@@ -1146,11 +1039,11 @@ const Ft = /* @__PURE__ */ y(qe, [["render", je]]), B = {
|
|
|
1146
1039
|
a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.`);
|
|
1147
1040
|
}
|
|
1148
1041
|
}
|
|
1149
|
-
},
|
|
1042
|
+
}, Te = {
|
|
1150
1043
|
name: "SrOnlyCloseButton",
|
|
1151
1044
|
components: {
|
|
1152
|
-
DtIcon:
|
|
1153
|
-
DtButton:
|
|
1045
|
+
DtIcon: P,
|
|
1046
|
+
DtButton: M
|
|
1154
1047
|
},
|
|
1155
1048
|
props: {
|
|
1156
1049
|
/**
|
|
@@ -1169,255 +1062,23 @@ const Ft = /* @__PURE__ */ y(qe, [["render", je]]), B = {
|
|
|
1169
1062
|
}
|
|
1170
1063
|
}
|
|
1171
1064
|
};
|
|
1172
|
-
function
|
|
1173
|
-
const
|
|
1174
|
-
return
|
|
1065
|
+
function Pe(e, t, s, i, a, o) {
|
|
1066
|
+
const f = m("dt-icon"), g = m("dt-button");
|
|
1067
|
+
return n(), u(g, {
|
|
1175
1068
|
id: "sr-only-close-button",
|
|
1176
1069
|
"data-qa": "dt-sr-only-close-button",
|
|
1177
1070
|
class: "d-vi-visible-sr",
|
|
1178
|
-
"aria-label":
|
|
1071
|
+
"aria-label": s.visuallyHiddenCloseLabel,
|
|
1179
1072
|
onClick: o.close,
|
|
1180
|
-
onKeydown:
|
|
1073
|
+
onKeydown: b(I(o.close, ["prevent", "stop"]), ["space"])
|
|
1181
1074
|
}, {
|
|
1182
|
-
default:
|
|
1183
|
-
|
|
1075
|
+
default: p(() => [
|
|
1076
|
+
T(f, { name: "close" })
|
|
1184
1077
|
]),
|
|
1185
1078
|
_: 1
|
|
1186
1079
|
}, 8, ["aria-label", "onClick", "onKeydown"]);
|
|
1187
1080
|
}
|
|
1188
|
-
const
|
|
1189
|
-
name: "DtNoticeAction",
|
|
1190
|
-
components: {
|
|
1191
|
-
DtIcon: w,
|
|
1192
|
-
DtButton: F,
|
|
1193
|
-
SrOnlyCloseButton: G
|
|
1194
|
-
},
|
|
1195
|
-
mixins: [B],
|
|
1196
|
-
props: {
|
|
1197
|
-
/**
|
|
1198
|
-
* Props for the notice close button.
|
|
1199
|
-
*/
|
|
1200
|
-
closeButtonProps: {
|
|
1201
|
-
type: Object,
|
|
1202
|
-
default: () => ({})
|
|
1203
|
-
},
|
|
1204
|
-
/**
|
|
1205
|
-
* Hides the close button from the notice
|
|
1206
|
-
* @values true, false
|
|
1207
|
-
*/
|
|
1208
|
-
hideClose: {
|
|
1209
|
-
type: Boolean,
|
|
1210
|
-
default: !1
|
|
1211
|
-
}
|
|
1212
|
-
},
|
|
1213
|
-
emits: [
|
|
1214
|
-
/**
|
|
1215
|
-
* Close button click event
|
|
1216
|
-
*
|
|
1217
|
-
* @event close
|
|
1218
|
-
*/
|
|
1219
|
-
"close"
|
|
1220
|
-
],
|
|
1221
|
-
created() {
|
|
1222
|
-
!this.hideClose && !this.closeButtonProps.ariaLabel && console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.");
|
|
1223
|
-
},
|
|
1224
|
-
mounted() {
|
|
1225
|
-
this.hideClose || (this.lastFocusedElement = document.activeElement);
|
|
1226
|
-
},
|
|
1227
|
-
beforeUnmount() {
|
|
1228
|
-
var e;
|
|
1229
|
-
(e = this.lastFocusedElement) == null || e.focus();
|
|
1230
|
-
},
|
|
1231
|
-
methods: {
|
|
1232
|
-
close() {
|
|
1233
|
-
this.$emit("close");
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
}, We = {
|
|
1237
|
-
class: "d-notice__actions",
|
|
1238
|
-
"data-qa": "notice-content-actions"
|
|
1239
|
-
};
|
|
1240
|
-
function Ue(e, s, t, i, n, o) {
|
|
1241
|
-
const c = p("dt-icon"), g = p("dt-button"), v = p("sr-only-close-button");
|
|
1242
|
-
return a(), r("div", We, [
|
|
1243
|
-
l(e.$slots, "default"),
|
|
1244
|
-
t.hideClose ? d("", !0) : (a(), u(g, A({
|
|
1245
|
-
key: 0,
|
|
1246
|
-
ref: "closeButton",
|
|
1247
|
-
"data-qa": "dt-notice-action-close-button",
|
|
1248
|
-
size: "sm",
|
|
1249
|
-
importance: "clear",
|
|
1250
|
-
circle: "",
|
|
1251
|
-
"aria-label": t.closeButtonProps.ariaLabel ? t.closeButtonProps.ariaLabel : "Close"
|
|
1252
|
-
}, t.closeButtonProps, { onClick: o.close }), {
|
|
1253
|
-
icon: h(() => [
|
|
1254
|
-
_(c, {
|
|
1255
|
-
name: "close",
|
|
1256
|
-
size: "200"
|
|
1257
|
-
})
|
|
1258
|
-
]),
|
|
1259
|
-
_: 1
|
|
1260
|
-
}, 16, ["aria-label", "onClick"])),
|
|
1261
|
-
e.showVisuallyHiddenClose ? (a(), u(v, {
|
|
1262
|
-
key: 1,
|
|
1263
|
-
"visually-hidden-close-label": e.visuallyHiddenCloseLabel,
|
|
1264
|
-
onClose: o.close
|
|
1265
|
-
}, null, 8, ["visually-hidden-close-label", "onClose"])) : d("", !0)
|
|
1266
|
-
]);
|
|
1267
|
-
}
|
|
1268
|
-
const Ye = /* @__PURE__ */ y(Ge, [["render", Ue]]), Ze = {
|
|
1269
|
-
name: "DtNotice",
|
|
1270
|
-
components: {
|
|
1271
|
-
DtNoticeIcon: Re,
|
|
1272
|
-
DtNoticeContent: Ve,
|
|
1273
|
-
DtNoticeAction: Ye
|
|
1274
|
-
},
|
|
1275
|
-
mixins: [B],
|
|
1276
|
-
props: {
|
|
1277
|
-
/**
|
|
1278
|
-
* Sets an ID on the title element of the component. Useful for aria-describedby
|
|
1279
|
-
* or aria-labelledby or any other reason you may need an id to refer to the title.
|
|
1280
|
-
*/
|
|
1281
|
-
titleId: {
|
|
1282
|
-
type: String,
|
|
1283
|
-
default: void 0
|
|
1284
|
-
},
|
|
1285
|
-
/**
|
|
1286
|
-
* Sets an ID on the content element of the component. Useful for aria-describedby
|
|
1287
|
-
* or aria-labelledby or any other reason you may need an id to refer to the content.
|
|
1288
|
-
*/
|
|
1289
|
-
contentId: {
|
|
1290
|
-
type: String,
|
|
1291
|
-
default: void 0
|
|
1292
|
-
},
|
|
1293
|
-
/**
|
|
1294
|
-
* Title header of the notice. This can be left blank to remove the title from the notice entirely.
|
|
1295
|
-
*/
|
|
1296
|
-
title: {
|
|
1297
|
-
type: String,
|
|
1298
|
-
default: ""
|
|
1299
|
-
},
|
|
1300
|
-
/**
|
|
1301
|
-
* Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an
|
|
1302
|
-
* important message that does not contain any interactive elements. 'alertdialog' is used to communicate an
|
|
1303
|
-
* important message that does contain interactive elements.
|
|
1304
|
-
* @values alert, alertdialog, status
|
|
1305
|
-
*/
|
|
1306
|
-
role: {
|
|
1307
|
-
type: String,
|
|
1308
|
-
default: "status",
|
|
1309
|
-
validate(e) {
|
|
1310
|
-
return Te.includes(e);
|
|
1311
|
-
}
|
|
1312
|
-
},
|
|
1313
|
-
/**
|
|
1314
|
-
* Used in scenarios where the message needs to visually dominate the screen.
|
|
1315
|
-
* This will also change the aria role from status to alert.
|
|
1316
|
-
* @values true, false
|
|
1317
|
-
*/
|
|
1318
|
-
important: {
|
|
1319
|
-
type: Boolean,
|
|
1320
|
-
default: !1
|
|
1321
|
-
},
|
|
1322
|
-
/**
|
|
1323
|
-
* Severity level of the notice, sets the icon and background
|
|
1324
|
-
* @values base, error, info, success, warning
|
|
1325
|
-
*/
|
|
1326
|
-
kind: {
|
|
1327
|
-
type: String,
|
|
1328
|
-
default: "base",
|
|
1329
|
-
validate(e) {
|
|
1330
|
-
return M.includes(e);
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1333
|
-
/**
|
|
1334
|
-
* Props for the notice close button.
|
|
1335
|
-
*/
|
|
1336
|
-
closeButtonProps: {
|
|
1337
|
-
type: Object,
|
|
1338
|
-
default: () => ({})
|
|
1339
|
-
},
|
|
1340
|
-
/**
|
|
1341
|
-
* Hides the close button from the notice
|
|
1342
|
-
* @values true, false
|
|
1343
|
-
*/
|
|
1344
|
-
hideClose: {
|
|
1345
|
-
type: Boolean,
|
|
1346
|
-
default: !1
|
|
1347
|
-
}
|
|
1348
|
-
},
|
|
1349
|
-
emits: [
|
|
1350
|
-
/**
|
|
1351
|
-
* Close button click event
|
|
1352
|
-
*
|
|
1353
|
-
* @event close
|
|
1354
|
-
*/
|
|
1355
|
-
"close",
|
|
1356
|
-
/**
|
|
1357
|
-
* Native button click event
|
|
1358
|
-
*
|
|
1359
|
-
* @event click
|
|
1360
|
-
* @type {PointerEvent | KeyboardEvent}
|
|
1361
|
-
*/
|
|
1362
|
-
"click"
|
|
1363
|
-
],
|
|
1364
|
-
computed: {
|
|
1365
|
-
noticeClass() {
|
|
1366
|
-
return [
|
|
1367
|
-
"d-notice",
|
|
1368
|
-
{
|
|
1369
|
-
error: "d-notice--error",
|
|
1370
|
-
info: "d-notice--info",
|
|
1371
|
-
success: "d-notice--success",
|
|
1372
|
-
warning: "d-notice--warning",
|
|
1373
|
-
base: "d-notice--base"
|
|
1374
|
-
}[this.kind],
|
|
1375
|
-
{ "d-notice--important": this.important }
|
|
1376
|
-
];
|
|
1377
|
-
}
|
|
1378
|
-
}
|
|
1379
|
-
};
|
|
1380
|
-
function Xe(e, s, t, i, n, o) {
|
|
1381
|
-
const c = p("dt-notice-icon"), g = p("dt-notice-content"), v = p("dt-notice-action");
|
|
1382
|
-
return a(), r("aside", {
|
|
1383
|
-
class: f(o.noticeClass),
|
|
1384
|
-
"data-qa": "notice"
|
|
1385
|
-
}, [
|
|
1386
|
-
_(c, { kind: t.kind }, {
|
|
1387
|
-
default: h(() => [
|
|
1388
|
-
l(e.$slots, "icon")
|
|
1389
|
-
]),
|
|
1390
|
-
_: 3
|
|
1391
|
-
}, 8, ["kind"]),
|
|
1392
|
-
_(g, {
|
|
1393
|
-
"title-id": t.titleId,
|
|
1394
|
-
"content-id": t.contentId,
|
|
1395
|
-
title: t.title,
|
|
1396
|
-
role: t.role
|
|
1397
|
-
}, {
|
|
1398
|
-
titleOverride: h(() => [
|
|
1399
|
-
l(e.$slots, "titleOverride")
|
|
1400
|
-
]),
|
|
1401
|
-
default: h(() => [
|
|
1402
|
-
l(e.$slots, "default")
|
|
1403
|
-
]),
|
|
1404
|
-
_: 3
|
|
1405
|
-
}, 8, ["title-id", "content-id", "title", "role"]),
|
|
1406
|
-
_(v, {
|
|
1407
|
-
"hide-close": t.hideClose,
|
|
1408
|
-
"close-button-props": t.closeButtonProps,
|
|
1409
|
-
"visually-hidden-close": e.visuallyHiddenClose,
|
|
1410
|
-
"visually-hidden-close-label": e.visuallyHiddenCloseLabel,
|
|
1411
|
-
onClose: s[0] || (s[0] = (m) => e.$emit("close"))
|
|
1412
|
-
}, {
|
|
1413
|
-
default: h(() => [
|
|
1414
|
-
l(e.$slots, "action")
|
|
1415
|
-
]),
|
|
1416
|
-
_: 3
|
|
1417
|
-
}, 8, ["hide-close", "close-button-props", "visually-hidden-close", "visually-hidden-close-label"])
|
|
1418
|
-
], 2);
|
|
1419
|
-
}
|
|
1420
|
-
const Bt = /* @__PURE__ */ y(Ze, [["render", Xe]]), W = ':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])', Je = `${W}:not([tabindex="-1"])`, Qe = "button,[href],input,select,textarea,details,[tabindex]", et = {
|
|
1081
|
+
const Le = /* @__PURE__ */ y(Te, [["render", Pe]]), K = ':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])', De = `${K}:not([tabindex="-1"])`, Ne = "button,[href],input,select,textarea,details,[tabindex]", Re = {
|
|
1421
1082
|
methods: {
|
|
1422
1083
|
/**
|
|
1423
1084
|
* get the first focusable element in your component, includes tabindex="-1".
|
|
@@ -1426,8 +1087,8 @@ const Bt = /* @__PURE__ */ y(Ze, [["render", Xe]]), W = ':not(:disabled):not([ar
|
|
|
1426
1087
|
*/
|
|
1427
1088
|
async getFirstFocusableElement(e) {
|
|
1428
1089
|
await this.$nextTick();
|
|
1429
|
-
const
|
|
1430
|
-
return this._getFirstFocusElement(
|
|
1090
|
+
const t = this._getFocusableElements(e, !0);
|
|
1091
|
+
return this._getFirstFocusElement(t);
|
|
1431
1092
|
},
|
|
1432
1093
|
/**
|
|
1433
1094
|
* set focus to the first focusable element in your component, includes tabindex="-1".
|
|
@@ -1435,8 +1096,8 @@ const Bt = /* @__PURE__ */ y(Ze, [["render", Xe]]), W = ':not(:disabled):not([ar
|
|
|
1435
1096
|
* will default to the root node of the vue component
|
|
1436
1097
|
*/
|
|
1437
1098
|
async focusFirstElement(e) {
|
|
1438
|
-
const
|
|
1439
|
-
|
|
1099
|
+
const t = await this.getFirstFocusableElement(e);
|
|
1100
|
+
t == null || t.focus({ preventScroll: !0 });
|
|
1440
1101
|
},
|
|
1441
1102
|
/**
|
|
1442
1103
|
* internal use only.
|
|
@@ -1448,8 +1109,8 @@ const Bt = /* @__PURE__ */ y(Ze, [["render", Xe]]), W = ':not(:disabled):not([ar
|
|
|
1448
1109
|
_getFirstFocusElement(e) {
|
|
1449
1110
|
if (!e.length)
|
|
1450
1111
|
return;
|
|
1451
|
-
let
|
|
1452
|
-
return
|
|
1112
|
+
let t = e[0];
|
|
1113
|
+
return t.matches('[type="radio"]:not(:checked)') && (t = e.find((s) => s.checked && s.name === t.name) || t), t;
|
|
1453
1114
|
},
|
|
1454
1115
|
/**
|
|
1455
1116
|
* internal use only.
|
|
@@ -1460,10 +1121,10 @@ const Bt = /* @__PURE__ */ y(Ze, [["render", Xe]]), W = ':not(:disabled):not([ar
|
|
|
1460
1121
|
* @param {object} el - the root dom element to find focusable elements in.
|
|
1461
1122
|
* @param {bool} includeNegativeTabIndex - will include tabindex="-1" in the list of focusable elements.
|
|
1462
1123
|
*/
|
|
1463
|
-
_getFocusableElements(e = this.$el,
|
|
1464
|
-
return e ? [...e.querySelectorAll(
|
|
1465
|
-
const
|
|
1466
|
-
return
|
|
1124
|
+
_getFocusableElements(e = this.$el, t = !1) {
|
|
1125
|
+
return e ? [...e.querySelectorAll(Ne)].filter((i) => {
|
|
1126
|
+
const a = window.getComputedStyle(i);
|
|
1127
|
+
return a.getPropertyValue("display") !== "none" && a.getPropertyValue("visibility") !== "hidden" && i.matches(t ? K : De);
|
|
1467
1128
|
}) : [];
|
|
1468
1129
|
},
|
|
1469
1130
|
/**
|
|
@@ -1472,26 +1133,26 @@ const Bt = /* @__PURE__ */ y(Ze, [["render", Xe]]), W = ':not(:disabled):not([ar
|
|
|
1472
1133
|
* @param {object} el - optional - ref of dom element to trap focus on.
|
|
1473
1134
|
* will default to the root node of the vue component
|
|
1474
1135
|
*/
|
|
1475
|
-
focusTrappedTabPress(e,
|
|
1136
|
+
focusTrappedTabPress(e, t) {
|
|
1476
1137
|
if (!(e.key === "Tab"))
|
|
1477
1138
|
return;
|
|
1478
|
-
const i = this._getFocusableElements(
|
|
1139
|
+
const i = this._getFocusableElements(t);
|
|
1479
1140
|
if (!i.length) {
|
|
1480
1141
|
e.preventDefault();
|
|
1481
1142
|
return;
|
|
1482
1143
|
}
|
|
1483
|
-
const
|
|
1484
|
-
e.shiftKey ? document.activeElement ===
|
|
1144
|
+
const a = this._getFirstFocusElement(i), o = i[i.length - 1];
|
|
1145
|
+
e.shiftKey ? document.activeElement === a && (o.focus(), e.preventDefault()) : document.activeElement === o && (a.focus(), e.preventDefault());
|
|
1485
1146
|
}
|
|
1486
1147
|
}
|
|
1487
1148
|
}, D = {
|
|
1488
1149
|
DEFAULT: "default",
|
|
1489
1150
|
CUSTOM: "custom"
|
|
1490
|
-
},
|
|
1151
|
+
}, C = {
|
|
1491
1152
|
ARROW_KEYS: "arrow-keys",
|
|
1492
1153
|
TAB: "tab",
|
|
1493
1154
|
NONE: "none"
|
|
1494
|
-
},
|
|
1155
|
+
}, xe = {
|
|
1495
1156
|
name: "DtItemLayout",
|
|
1496
1157
|
props: {
|
|
1497
1158
|
/**
|
|
@@ -1502,66 +1163,66 @@ const Bt = /* @__PURE__ */ y(Ze, [["render", Xe]]), W = ':not(:disabled):not([ar
|
|
|
1502
1163
|
default: "div"
|
|
1503
1164
|
}
|
|
1504
1165
|
}
|
|
1505
|
-
},
|
|
1166
|
+
}, Fe = {
|
|
1506
1167
|
key: 0,
|
|
1507
1168
|
"data-qa": "dt-item-layout-left-wrapper",
|
|
1508
1169
|
class: "dt-item-layout--left"
|
|
1509
|
-
},
|
|
1170
|
+
}, ze = {
|
|
1510
1171
|
"data-qa": "dt-item-layout-content-wrapper",
|
|
1511
1172
|
class: "dt-item-layout--content"
|
|
1512
|
-
},
|
|
1173
|
+
}, Ve = {
|
|
1513
1174
|
key: 0,
|
|
1514
1175
|
"data-qa": "dt-item-layout-title-wrapper",
|
|
1515
1176
|
class: "dt-item-layout--title"
|
|
1516
|
-
},
|
|
1177
|
+
}, He = {
|
|
1517
1178
|
key: 2,
|
|
1518
1179
|
"data-qa": "dt-item-layout-bottom-wrapper",
|
|
1519
1180
|
class: "dt-item-layout--bottom"
|
|
1520
|
-
},
|
|
1181
|
+
}, Be = {
|
|
1521
1182
|
key: 1,
|
|
1522
1183
|
"data-qa": "dt-item-layout-right-wrapper",
|
|
1523
1184
|
class: "dt-item-layout--right"
|
|
1524
|
-
},
|
|
1185
|
+
}, qe = {
|
|
1525
1186
|
key: 2,
|
|
1526
1187
|
"data-qa": "dt-item-layout-selected-wrapper",
|
|
1527
1188
|
class: "dt-item-layout--selected"
|
|
1528
1189
|
};
|
|
1529
|
-
function
|
|
1530
|
-
return
|
|
1531
|
-
default:
|
|
1532
|
-
e.$slots.left ? (
|
|
1533
|
-
|
|
1534
|
-
])) :
|
|
1535
|
-
|
|
1536
|
-
e.$slots.default ? (
|
|
1537
|
-
|
|
1538
|
-
])) :
|
|
1539
|
-
e.$slots.subtitle ? (
|
|
1190
|
+
function je(e, t, s, i, a, o) {
|
|
1191
|
+
return n(), u(k(s.as), { class: "dt-item-layout" }, {
|
|
1192
|
+
default: p(() => [
|
|
1193
|
+
e.$slots.left ? (n(), l("section", Fe, [
|
|
1194
|
+
d(e.$slots, "left", {}, void 0, !0)
|
|
1195
|
+
])) : r("", !0),
|
|
1196
|
+
_("section", ze, [
|
|
1197
|
+
e.$slots.default ? (n(), l("div", Ve, [
|
|
1198
|
+
d(e.$slots, "default", {}, void 0, !0)
|
|
1199
|
+
])) : r("", !0),
|
|
1200
|
+
e.$slots.subtitle ? (n(), l("div", {
|
|
1540
1201
|
key: 1,
|
|
1541
1202
|
"data-qa": "dt-item-layout-subtitle-wrapper",
|
|
1542
|
-
class:
|
|
1203
|
+
class: c(["dt-item-layout--subtitle", { "dt-item-layout--subtitle--with-title": e.$slots.default }])
|
|
1543
1204
|
}, [
|
|
1544
|
-
|
|
1545
|
-
], 2)) :
|
|
1546
|
-
e.$slots.bottom ? (
|
|
1547
|
-
|
|
1548
|
-
])) :
|
|
1205
|
+
d(e.$slots, "subtitle", {}, void 0, !0)
|
|
1206
|
+
], 2)) : r("", !0),
|
|
1207
|
+
e.$slots.bottom ? (n(), l("div", He, [
|
|
1208
|
+
d(e.$slots, "bottom", {}, void 0, !0)
|
|
1209
|
+
])) : r("", !0)
|
|
1549
1210
|
]),
|
|
1550
|
-
e.$slots.right ? (
|
|
1551
|
-
|
|
1552
|
-
])) :
|
|
1553
|
-
e.$slots.selected ? (
|
|
1554
|
-
|
|
1555
|
-
])) :
|
|
1211
|
+
e.$slots.right ? (n(), l("section", Be, [
|
|
1212
|
+
d(e.$slots, "right", {}, void 0, !0)
|
|
1213
|
+
])) : r("", !0),
|
|
1214
|
+
e.$slots.selected ? (n(), l("section", qe, [
|
|
1215
|
+
d(e.$slots, "selected", {}, void 0, !0)
|
|
1216
|
+
])) : r("", !0)
|
|
1556
1217
|
]),
|
|
1557
1218
|
_: 3
|
|
1558
1219
|
});
|
|
1559
1220
|
}
|
|
1560
|
-
const
|
|
1221
|
+
const z = /* @__PURE__ */ y(xe, [["render", je], ["__scopeId", "data-v-c04dbbaa"]]), Me = {
|
|
1561
1222
|
name: "DtListItem",
|
|
1562
1223
|
components: {
|
|
1563
|
-
DtItemLayout:
|
|
1564
|
-
DtIcon:
|
|
1224
|
+
DtItemLayout: z,
|
|
1225
|
+
DtIcon: P
|
|
1565
1226
|
},
|
|
1566
1227
|
/**
|
|
1567
1228
|
* Value provided from keyboard_list_navigation.js using id prop.
|
|
@@ -1576,7 +1237,7 @@ const V = /* @__PURE__ */ y(tt, [["render", rt], ["__scopeId", "data-v-c04dbbaa"
|
|
|
1576
1237
|
id: {
|
|
1577
1238
|
type: String,
|
|
1578
1239
|
default() {
|
|
1579
|
-
return
|
|
1240
|
+
return $.getUniqueString();
|
|
1580
1241
|
}
|
|
1581
1242
|
},
|
|
1582
1243
|
/**
|
|
@@ -1611,8 +1272,8 @@ const V = /* @__PURE__ */ y(tt, [["render", rt], ["__scopeId", "data-v-c04dbbaa"
|
|
|
1611
1272
|
*/
|
|
1612
1273
|
navigationType: {
|
|
1613
1274
|
type: String,
|
|
1614
|
-
default:
|
|
1615
|
-
validator: (e) => Object.values(
|
|
1275
|
+
default: C.NONE,
|
|
1276
|
+
validator: (e) => Object.values(C).includes(e)
|
|
1616
1277
|
},
|
|
1617
1278
|
/**
|
|
1618
1279
|
* Applies selected styles to the list item
|
|
@@ -1661,7 +1322,7 @@ const V = /* @__PURE__ */ y(tt, [["render", rt], ["__scopeId", "data-v-c04dbbaa"
|
|
|
1661
1322
|
listItemType() {
|
|
1662
1323
|
switch (this.type) {
|
|
1663
1324
|
case D.DEFAULT:
|
|
1664
|
-
return
|
|
1325
|
+
return z;
|
|
1665
1326
|
default:
|
|
1666
1327
|
return null;
|
|
1667
1328
|
}
|
|
@@ -1687,13 +1348,13 @@ const V = /* @__PURE__ */ y(tt, [["render", rt], ["__scopeId", "data-v-c04dbbaa"
|
|
|
1687
1348
|
return this.isHoverable ? this.highlightId && this.highlightId() ? this.id === this.highlightId() : this.mouseHighlighted : !1;
|
|
1688
1349
|
},
|
|
1689
1350
|
isFocusable() {
|
|
1690
|
-
return this.navigationType ===
|
|
1351
|
+
return this.navigationType === C.TAB;
|
|
1691
1352
|
},
|
|
1692
1353
|
/**
|
|
1693
1354
|
* Whether to apply hover styles.
|
|
1694
1355
|
*/
|
|
1695
1356
|
isHoverable() {
|
|
1696
|
-
return this.navigationType !==
|
|
1357
|
+
return this.navigationType !== C.NONE;
|
|
1697
1358
|
}
|
|
1698
1359
|
},
|
|
1699
1360
|
methods: {
|
|
@@ -1708,31 +1369,31 @@ const V = /* @__PURE__ */ y(tt, [["render", rt], ["__scopeId", "data-v-c04dbbaa"
|
|
|
1708
1369
|
}
|
|
1709
1370
|
}
|
|
1710
1371
|
};
|
|
1711
|
-
function
|
|
1712
|
-
const
|
|
1713
|
-
return
|
|
1714
|
-
id:
|
|
1372
|
+
function Ke(e, t, s, i, a, o) {
|
|
1373
|
+
const f = m("dt-icon");
|
|
1374
|
+
return n(), u(k(s.elementType), A({
|
|
1375
|
+
id: s.id,
|
|
1715
1376
|
class: ["dt-list-item", {
|
|
1716
1377
|
"dt-list-item--focusable": o.isFocusable,
|
|
1717
1378
|
"dt-list-item--highlighted": o.isHighlighted,
|
|
1718
1379
|
"dt-list-item--static": !o.isHoverable
|
|
1719
1380
|
}],
|
|
1720
1381
|
tabindex: o.isFocusable ? 0 : -1,
|
|
1721
|
-
role:
|
|
1382
|
+
role: s.role,
|
|
1722
1383
|
"aria-selected": o.isHighlighted
|
|
1723
|
-
},
|
|
1724
|
-
default:
|
|
1725
|
-
o.listItemType ? (
|
|
1726
|
-
|
|
1727
|
-
name:
|
|
1728
|
-
fn:
|
|
1729
|
-
|
|
1384
|
+
}, j(o.listItemListeners)), {
|
|
1385
|
+
default: p(() => [
|
|
1386
|
+
o.listItemType ? (n(), u(k(o.listItemType), { key: 0 }, ee({ _: 2 }, [
|
|
1387
|
+
te(e.$slots, (g, E) => ({
|
|
1388
|
+
name: E,
|
|
1389
|
+
fn: p(() => [
|
|
1390
|
+
d(e.$slots, E)
|
|
1730
1391
|
])
|
|
1731
1392
|
})),
|
|
1732
|
-
|
|
1393
|
+
s.selected ? {
|
|
1733
1394
|
name: "selected",
|
|
1734
|
-
fn:
|
|
1735
|
-
|
|
1395
|
+
fn: p(() => [
|
|
1396
|
+
T(f, {
|
|
1736
1397
|
name: "check",
|
|
1737
1398
|
size: "400",
|
|
1738
1399
|
class: "dt-list-item--selected-icon"
|
|
@@ -1740,36 +1401,36 @@ function ct(e, s, t, i, n, o) {
|
|
|
1740
1401
|
]),
|
|
1741
1402
|
key: "0"
|
|
1742
1403
|
} : void 0
|
|
1743
|
-
]), 1024)) :
|
|
1404
|
+
]), 1024)) : d(e.$slots, "default", { key: 1 })
|
|
1744
1405
|
]),
|
|
1745
1406
|
_: 3
|
|
1746
1407
|
}, 16, ["id", "class", "tabindex", "role", "aria-selected"]);
|
|
1747
1408
|
}
|
|
1748
|
-
const
|
|
1409
|
+
const yt = /* @__PURE__ */ y(Me, [["render", Ke]]), v = {
|
|
1749
1410
|
default: "column",
|
|
1750
1411
|
column: "column",
|
|
1751
1412
|
row: "row",
|
|
1752
1413
|
"row-reverse": "row-reverse",
|
|
1753
1414
|
"column-reverse": "column-reverse"
|
|
1754
|
-
},
|
|
1415
|
+
}, W = ["sm", "md", "lg", "xl"], R = ["0", "100", "200", "300", "400", "500", "600"], V = {
|
|
1755
1416
|
none: void 0,
|
|
1756
1417
|
small: "d-p4",
|
|
1757
1418
|
medium: "d-p8",
|
|
1758
1419
|
large: "d-p16"
|
|
1759
|
-
},
|
|
1420
|
+
}, We = {
|
|
1760
1421
|
none: void 0,
|
|
1761
1422
|
small: "d-pl4",
|
|
1762
1423
|
medium: "d-pl8",
|
|
1763
1424
|
large: "d-pl16"
|
|
1764
|
-
},
|
|
1765
|
-
...
|
|
1766
|
-
],
|
|
1767
|
-
...
|
|
1768
|
-
],
|
|
1425
|
+
}, Ge = ["dialog", "menu", "listbox", "tree", "grid"], $e = ["", "anchor"], Ue = ["none", "dialog", "first"], Ye = ["parent", "body"], Ze = [
|
|
1426
|
+
...U
|
|
1427
|
+
], gt = [
|
|
1428
|
+
...Y
|
|
1429
|
+
], Xe = {
|
|
1769
1430
|
name: "PopoverHeaderFooter",
|
|
1770
1431
|
components: {
|
|
1771
|
-
DtButton:
|
|
1772
|
-
DtIcon:
|
|
1432
|
+
DtButton: M,
|
|
1433
|
+
DtIcon: P
|
|
1773
1434
|
},
|
|
1774
1435
|
props: {
|
|
1775
1436
|
// eslint-disable-next-line vue/require-default-prop
|
|
@@ -1815,71 +1476,71 @@ const xt = /* @__PURE__ */ y(dt, [["render", ct]]), k = {
|
|
|
1815
1476
|
],
|
|
1816
1477
|
data() {
|
|
1817
1478
|
return {
|
|
1818
|
-
hasSlotContent:
|
|
1479
|
+
hasSlotContent: q
|
|
1819
1480
|
};
|
|
1820
1481
|
},
|
|
1821
1482
|
methods: {
|
|
1822
1483
|
focusCloseButton() {
|
|
1823
|
-
var
|
|
1824
|
-
const e = (
|
|
1484
|
+
var t;
|
|
1485
|
+
const e = (t = this.$refs["popover__close-button"]) == null ? void 0 : t.$el;
|
|
1825
1486
|
e == null || e.focus();
|
|
1826
1487
|
}
|
|
1827
1488
|
}
|
|
1828
1489
|
};
|
|
1829
|
-
function
|
|
1830
|
-
const
|
|
1831
|
-
return
|
|
1490
|
+
function Je(e, t, s, i, a, o) {
|
|
1491
|
+
const f = m("dt-icon"), g = m("dt-button");
|
|
1492
|
+
return n(), l("div", {
|
|
1832
1493
|
"data-qa": "dt-popover-header-footer",
|
|
1833
|
-
class:
|
|
1834
|
-
"d-popover__header":
|
|
1835
|
-
"d-popover__footer":
|
|
1494
|
+
class: c({
|
|
1495
|
+
"d-popover__header": s.type === "header",
|
|
1496
|
+
"d-popover__footer": s.type === "footer"
|
|
1836
1497
|
})
|
|
1837
1498
|
}, [
|
|
1838
|
-
|
|
1499
|
+
a.hasSlotContent(e.$slots.content) ? (n(), l("div", {
|
|
1839
1500
|
key: 0,
|
|
1840
1501
|
"data-qa": "dt-popover-header-footer-content",
|
|
1841
|
-
class:
|
|
1842
|
-
"d-popover__header__content":
|
|
1843
|
-
"d-popover__footer__content":
|
|
1844
|
-
},
|
|
1502
|
+
class: c([{
|
|
1503
|
+
"d-popover__header__content": s.type === "header",
|
|
1504
|
+
"d-popover__footer__content": s.type === "footer"
|
|
1505
|
+
}, s.contentClass])
|
|
1845
1506
|
}, [
|
|
1846
|
-
|
|
1847
|
-
], 2)) :
|
|
1848
|
-
|
|
1507
|
+
d(e.$slots, "content")
|
|
1508
|
+
], 2)) : r("", !0),
|
|
1509
|
+
s.showCloseButton ? (n(), u(g, A({
|
|
1849
1510
|
key: 1,
|
|
1850
1511
|
ref: "popover__close-button",
|
|
1851
1512
|
"data-qa": "dt-popover-close",
|
|
1852
1513
|
class: {
|
|
1853
|
-
"d-popover__header__close-button":
|
|
1854
|
-
"d-popover__footer__close-button":
|
|
1514
|
+
"d-popover__header__close-button": s.type === "header",
|
|
1515
|
+
"d-popover__footer__close-button": s.type === "footer"
|
|
1855
1516
|
},
|
|
1856
1517
|
importance: "outlined",
|
|
1857
1518
|
kind: "muted",
|
|
1858
1519
|
circle: ""
|
|
1859
|
-
},
|
|
1860
|
-
onClick:
|
|
1520
|
+
}, s.closeButtonProps, {
|
|
1521
|
+
onClick: t[0] || (t[0] = (E) => e.$emit("close"))
|
|
1861
1522
|
}), {
|
|
1862
|
-
icon:
|
|
1863
|
-
|
|
1523
|
+
icon: p(() => [
|
|
1524
|
+
T(f, {
|
|
1864
1525
|
name: "close",
|
|
1865
1526
|
size: "300"
|
|
1866
1527
|
})
|
|
1867
1528
|
]),
|
|
1868
1529
|
_: 1
|
|
1869
|
-
}, 16, ["class"])) :
|
|
1530
|
+
}, 16, ["class"])) : r("", !0)
|
|
1870
1531
|
], 2);
|
|
1871
1532
|
}
|
|
1872
|
-
const
|
|
1533
|
+
const Qe = /* @__PURE__ */ y(Xe, [["render", Je]]), et = {
|
|
1873
1534
|
name: "DtPopover",
|
|
1874
1535
|
/********************
|
|
1875
1536
|
* CHILD COMPONENTS *
|
|
1876
1537
|
********************/
|
|
1877
1538
|
components: {
|
|
1878
|
-
SrOnlyCloseButton:
|
|
1879
|
-
DtLazyShow:
|
|
1880
|
-
PopoverHeaderFooter:
|
|
1539
|
+
SrOnlyCloseButton: Le,
|
|
1540
|
+
DtLazyShow: Z,
|
|
1541
|
+
PopoverHeaderFooter: Qe
|
|
1881
1542
|
},
|
|
1882
|
-
mixins: [
|
|
1543
|
+
mixins: [Re, Ae],
|
|
1883
1544
|
props: {
|
|
1884
1545
|
/**
|
|
1885
1546
|
* Controls whether the popover is shown. Leaving this null will have the popover trigger on click by default.
|
|
@@ -1922,7 +1583,7 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
1922
1583
|
role: {
|
|
1923
1584
|
type: String,
|
|
1924
1585
|
default: "dialog",
|
|
1925
|
-
validator: (e) =>
|
|
1586
|
+
validator: (e) => Ge.includes(e)
|
|
1926
1587
|
},
|
|
1927
1588
|
/**
|
|
1928
1589
|
* ID of the element that serves as the label for the popover content.
|
|
@@ -1958,7 +1619,7 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
1958
1619
|
padding: {
|
|
1959
1620
|
type: String,
|
|
1960
1621
|
default: "large",
|
|
1961
|
-
validator: (e) => Object.keys(
|
|
1622
|
+
validator: (e) => Object.keys(V).some((t) => t === e)
|
|
1962
1623
|
},
|
|
1963
1624
|
/**
|
|
1964
1625
|
* Additional class name for the content wrapper element.
|
|
@@ -1975,7 +1636,7 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
1975
1636
|
contentWidth: {
|
|
1976
1637
|
type: String,
|
|
1977
1638
|
default: "",
|
|
1978
|
-
validator: (e) =>
|
|
1639
|
+
validator: (e) => $e.includes(e)
|
|
1979
1640
|
},
|
|
1980
1641
|
/**
|
|
1981
1642
|
* Whether to apply transition on initial render in the content lazy show component.
|
|
@@ -2005,7 +1666,7 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2005
1666
|
id: {
|
|
2006
1667
|
type: String,
|
|
2007
1668
|
default() {
|
|
2008
|
-
return
|
|
1669
|
+
return N();
|
|
2009
1670
|
}
|
|
2010
1671
|
},
|
|
2011
1672
|
/**
|
|
@@ -2109,7 +1770,7 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2109
1770
|
sticky: {
|
|
2110
1771
|
type: [Boolean, String],
|
|
2111
1772
|
default: !1,
|
|
2112
|
-
validator: (e) =>
|
|
1773
|
+
validator: (e) => Ze.includes(e)
|
|
2113
1774
|
},
|
|
2114
1775
|
/**
|
|
2115
1776
|
* Determines maximum height for the popover before overflow.
|
|
@@ -2167,7 +1828,7 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2167
1828
|
initialFocusElement: {
|
|
2168
1829
|
type: [String, HTMLElement],
|
|
2169
1830
|
default: "first",
|
|
2170
|
-
validator: (e) =>
|
|
1831
|
+
validator: (e) => Ue.includes(e) || e instanceof HTMLElement || e.startsWith("#")
|
|
2171
1832
|
},
|
|
2172
1833
|
/**
|
|
2173
1834
|
* If the popover should open pressing up or down arrow key on the anchor element.
|
|
@@ -2186,7 +1847,7 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2186
1847
|
appendTo: {
|
|
2187
1848
|
type: [HTMLElement, String],
|
|
2188
1849
|
default: "body",
|
|
2189
|
-
validator: (e) =>
|
|
1850
|
+
validator: (e) => Ye.includes(e) || e instanceof HTMLElement
|
|
2190
1851
|
}
|
|
2191
1852
|
},
|
|
2192
1853
|
emits: [
|
|
@@ -2212,15 +1873,15 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2212
1873
|
],
|
|
2213
1874
|
data() {
|
|
2214
1875
|
return {
|
|
2215
|
-
POPOVER_PADDING_CLASSES:
|
|
2216
|
-
POPOVER_HEADER_FOOTER_PADDING_CLASSES:
|
|
1876
|
+
POPOVER_PADDING_CLASSES: V,
|
|
1877
|
+
POPOVER_HEADER_FOOTER_PADDING_CLASSES: We,
|
|
2217
1878
|
intersectionObserver: null,
|
|
2218
1879
|
isOutsideViewport: !1,
|
|
2219
1880
|
isOpen: !1,
|
|
2220
1881
|
toAppear: !1,
|
|
2221
1882
|
anchorEl: null,
|
|
2222
1883
|
popoverContentEl: null,
|
|
2223
|
-
hasSlotContent:
|
|
1884
|
+
hasSlotContent: q
|
|
2224
1885
|
};
|
|
2225
1886
|
},
|
|
2226
1887
|
computed: {
|
|
@@ -2241,7 +1902,7 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2241
1902
|
return this.isOutsideViewport && this.modal ? "calc(100vh - var(--dt-space-300))" : this.maxHeight;
|
|
2242
1903
|
},
|
|
2243
1904
|
labelledBy() {
|
|
2244
|
-
return this.ariaLabelledby || !this.ariaLabel &&
|
|
1905
|
+
return this.ariaLabelledby || !this.ariaLabel && N("DtPopover__anchor");
|
|
2245
1906
|
}
|
|
2246
1907
|
},
|
|
2247
1908
|
watch: {
|
|
@@ -2253,20 +1914,20 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2253
1914
|
}
|
|
2254
1915
|
},
|
|
2255
1916
|
modal(e) {
|
|
2256
|
-
var
|
|
2257
|
-
(
|
|
1917
|
+
var t;
|
|
1918
|
+
(t = this.tip) == null || t.setProps({
|
|
2258
1919
|
zIndex: e ? 650 : this.calculateAnchorZindex()
|
|
2259
1920
|
});
|
|
2260
1921
|
},
|
|
2261
1922
|
offset(e) {
|
|
2262
|
-
var
|
|
2263
|
-
(
|
|
1923
|
+
var t;
|
|
1924
|
+
(t = this.tip) == null || t.setProps({
|
|
2264
1925
|
offset: e
|
|
2265
1926
|
});
|
|
2266
1927
|
},
|
|
2267
1928
|
sticky(e) {
|
|
2268
|
-
var
|
|
2269
|
-
(
|
|
1929
|
+
var t;
|
|
1930
|
+
(t = this.tip) == null || t.setProps({
|
|
2270
1931
|
sticky: e
|
|
2271
1932
|
});
|
|
2272
1933
|
},
|
|
@@ -2283,8 +1944,8 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2283
1944
|
});
|
|
2284
1945
|
},
|
|
2285
1946
|
placement(e) {
|
|
2286
|
-
var
|
|
2287
|
-
(
|
|
1947
|
+
var t;
|
|
1948
|
+
(t = this.tip) == null || t.setProps({
|
|
2288
1949
|
placement: e
|
|
2289
1950
|
});
|
|
2290
1951
|
},
|
|
@@ -2299,8 +1960,8 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2299
1960
|
e !== null && (this.toAppear = e);
|
|
2300
1961
|
}
|
|
2301
1962
|
},
|
|
2302
|
-
isOpen(e,
|
|
2303
|
-
e ? (this.initTippyInstance(), this.tip.show()) : !e &&
|
|
1963
|
+
isOpen(e, t) {
|
|
1964
|
+
e ? (this.initTippyInstance(), this.tip.show()) : !e && t !== e && (this.removeEventListeners(), this.tip.hide());
|
|
2304
1965
|
}
|
|
2305
1966
|
},
|
|
2306
1967
|
mounted() {
|
|
@@ -2317,14 +1978,14 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2317
1978
|
methods: {
|
|
2318
1979
|
hasIntersectedViewport(e) {
|
|
2319
1980
|
var i;
|
|
2320
|
-
const
|
|
2321
|
-
if (!
|
|
1981
|
+
const t = (i = e == null ? void 0 : e[0]) == null ? void 0 : i.target;
|
|
1982
|
+
if (!t)
|
|
2322
1983
|
return;
|
|
2323
|
-
const
|
|
2324
|
-
this.isOutsideViewport =
|
|
1984
|
+
const s = X(t);
|
|
1985
|
+
this.isOutsideViewport = s.bottom || s.top;
|
|
2325
1986
|
},
|
|
2326
1987
|
popperOptions() {
|
|
2327
|
-
return
|
|
1988
|
+
return J({
|
|
2328
1989
|
fallbackPlacements: this.fallbackPlacements,
|
|
2329
1990
|
tether: this.tether,
|
|
2330
1991
|
hasHideModifierEnabled: !0
|
|
@@ -2340,9 +2001,9 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2340
2001
|
(e = this.anchorEl) != null && e.closest(".d-zi-drawer") ? 650 : 300;
|
|
2341
2002
|
},
|
|
2342
2003
|
defaultToggleOpen(e) {
|
|
2343
|
-
var
|
|
2004
|
+
var t, s, i;
|
|
2344
2005
|
if (!this.openOnContext && (this.open === null || this.open === void 0)) {
|
|
2345
|
-
if (!((
|
|
2006
|
+
if (!((t = this.anchorEl) != null && t.contains(e.target)) && !((s = this.anchorEl) != null && s.isEqualNode(e.target)) || (i = this.anchorEl) != null && i.disabled)
|
|
2346
2007
|
return;
|
|
2347
2008
|
this.toggleOpen();
|
|
2348
2009
|
}
|
|
@@ -2364,8 +2025,8 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2364
2025
|
this.isOpen = !this.isOpen;
|
|
2365
2026
|
},
|
|
2366
2027
|
onArrowKeyPress(e) {
|
|
2367
|
-
var
|
|
2368
|
-
this.open === null && (this.openWithArrowKeys && ((
|
|
2028
|
+
var t;
|
|
2029
|
+
this.open === null && (this.openWithArrowKeys && ((t = this.anchorEl) != null && t.contains(e.target)) && (this.isOpen || (this.isOpen = !0)), this.$emit("keydown", e));
|
|
2369
2030
|
},
|
|
2370
2031
|
addEventListeners() {
|
|
2371
2032
|
window.addEventListener("dt-popover-close", this.closePopover), this.contentWidth === "anchor" && window.addEventListener("resize", this.onResize);
|
|
@@ -2385,17 +2046,17 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2385
2046
|
preventScrolling() {
|
|
2386
2047
|
var e;
|
|
2387
2048
|
if (this.modal) {
|
|
2388
|
-
const
|
|
2389
|
-
|
|
2049
|
+
const t = (e = this.anchorEl) == null ? void 0 : e.closest("body, .tippy-box");
|
|
2050
|
+
t.tagName.toLowerCase() === "body" ? (t.classList.add("d-of-hidden"), this.tip.setProps({ offset: this.offset })) : t.classList.add("d-zi-popover");
|
|
2390
2051
|
}
|
|
2391
2052
|
},
|
|
2392
2053
|
/*
|
|
2393
2054
|
* Resets the prevent scrolling properties set in preventScrolling() back to normal.
|
|
2394
2055
|
**/
|
|
2395
2056
|
enableScrolling() {
|
|
2396
|
-
var
|
|
2397
|
-
const e = (
|
|
2398
|
-
e && (((
|
|
2057
|
+
var t, s;
|
|
2058
|
+
const e = (t = this.anchorEl) == null ? void 0 : t.closest("body, .tippy-box");
|
|
2059
|
+
e && (((s = e.tagName) == null ? void 0 : s.toLowerCase()) === "body" ? (e.classList.remove("d-of-hidden"), this.tip.setProps({ offset: this.offset })) : e.classList.remove("d-zi-popover"));
|
|
2399
2060
|
},
|
|
2400
2061
|
removeReferences() {
|
|
2401
2062
|
this.anchorEl = null, this.popoverContentEl = null, this.tip = null;
|
|
@@ -2414,8 +2075,8 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2414
2075
|
this.initialFocusElement === "dialog" && this.$refs.content.$el.focus(), this.initialFocusElement.startsWith("#") && this.focusInitialElementById(), this.initialFocusElement === "first" && this.focusFirstElementIfNeeded(this.$refs.popover__content), this.initialFocusElement instanceof HTMLElement && this.initialFocusElement.focus();
|
|
2415
2076
|
},
|
|
2416
2077
|
focusInitialElementById() {
|
|
2417
|
-
var
|
|
2418
|
-
const e = (
|
|
2078
|
+
var t, s, i;
|
|
2079
|
+
const e = (s = (t = this.$refs.content) == null ? void 0 : t.$el) == null ? void 0 : s.querySelector(this.initialFocusElement);
|
|
2419
2080
|
e ? e.focus() : console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'), e ? e.focus() : (i = this.$refs.content) == null || i.$el.focus();
|
|
2420
2081
|
},
|
|
2421
2082
|
onResize() {
|
|
@@ -2434,18 +2095,18 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2434
2095
|
await this.$nextTick(), this.popoverContentEl.style.width = `${(e = this.anchorEl) == null ? void 0 : e.clientWidth}px`;
|
|
2435
2096
|
},
|
|
2436
2097
|
focusFirstElementIfNeeded(e) {
|
|
2437
|
-
var
|
|
2438
|
-
this._getFocusableElements(e, !0).length !== 0 ? this.focusFirstElement(e) : this.showCloseButton ? (
|
|
2098
|
+
var s, i;
|
|
2099
|
+
this._getFocusableElements(e, !0).length !== 0 ? this.focusFirstElement(e) : this.showCloseButton ? (s = this.$refs.popover__header) == null || s.focusCloseButton() : (i = this.$refs.content) == null || i.$el.focus();
|
|
2439
2100
|
},
|
|
2440
2101
|
initTippyInstance() {
|
|
2441
|
-
var e,
|
|
2442
|
-
this.tip =
|
|
2102
|
+
var e, t;
|
|
2103
|
+
this.tip = Q(this.anchorEl, {
|
|
2443
2104
|
popperOptions: this.popperOptions(),
|
|
2444
2105
|
contentElement: this.popoverContentEl,
|
|
2445
2106
|
placement: this.placement,
|
|
2446
2107
|
offset: this.offset,
|
|
2447
2108
|
sticky: this.sticky,
|
|
2448
|
-
appendTo: this.appendTo === "body" ? (
|
|
2109
|
+
appendTo: this.appendTo === "body" ? (t = (e = this.anchorEl) == null ? void 0 : e.getRootNode()) == null ? void 0 : t.querySelector("body") : this.appendTo,
|
|
2449
2110
|
interactive: !0,
|
|
2450
2111
|
trigger: "manual",
|
|
2451
2112
|
// We have to manage hideOnClick functionality manually to handle
|
|
@@ -2457,114 +2118,114 @@ const _t = /* @__PURE__ */ y(gt, [["render", vt]]), bt = {
|
|
|
2457
2118
|
});
|
|
2458
2119
|
}
|
|
2459
2120
|
}
|
|
2460
|
-
},
|
|
2461
|
-
function
|
|
2462
|
-
const
|
|
2463
|
-
return
|
|
2464
|
-
|
|
2121
|
+
}, tt = ["aria-hidden"], st = ["id", "tabindex"];
|
|
2122
|
+
function ot(e, t, s, i, a, o) {
|
|
2123
|
+
const f = m("popover-header-footer"), g = m("sr-only-close-button"), E = m("dt-lazy-show");
|
|
2124
|
+
return n(), l("div", null, [
|
|
2125
|
+
s.modal && a.isOpen ? (n(), u(se, {
|
|
2465
2126
|
key: 0,
|
|
2466
2127
|
to: "body"
|
|
2467
2128
|
}, [
|
|
2468
|
-
|
|
2129
|
+
_("div", {
|
|
2469
2130
|
class: "d-modal--transparent",
|
|
2470
|
-
"aria-hidden":
|
|
2471
|
-
onClick:
|
|
2131
|
+
"aria-hidden": s.modal && a.isOpen ? "false" : "true",
|
|
2132
|
+
onClick: t[0] || (t[0] = I(() => {
|
|
2472
2133
|
}, ["prevent", "stop"]))
|
|
2473
|
-
}, null, 8,
|
|
2474
|
-
])) :
|
|
2475
|
-
(
|
|
2134
|
+
}, null, 8, tt)
|
|
2135
|
+
])) : r("", !0),
|
|
2136
|
+
(n(), u(k(s.elementType), {
|
|
2476
2137
|
ref: "popover",
|
|
2477
|
-
class:
|
|
2138
|
+
class: c(["d-popover", { "d-popover__anchor--opened": a.isOpen }]),
|
|
2478
2139
|
"data-qa": "dt-popover-container"
|
|
2479
2140
|
}, {
|
|
2480
|
-
default:
|
|
2481
|
-
|
|
2482
|
-
id: !
|
|
2141
|
+
default: p(() => [
|
|
2142
|
+
_("div", {
|
|
2143
|
+
id: !s.ariaLabelledby && o.labelledBy,
|
|
2483
2144
|
ref: "anchor",
|
|
2484
2145
|
"data-qa": "dt-popover-anchor",
|
|
2485
|
-
tabindex:
|
|
2486
|
-
onClickCapture:
|
|
2487
|
-
onContextmenu:
|
|
2146
|
+
tabindex: s.openOnContext ? 0 : void 0,
|
|
2147
|
+
onClickCapture: t[1] || (t[1] = (...h) => o.defaultToggleOpen && o.defaultToggleOpen(...h)),
|
|
2148
|
+
onContextmenu: t[2] || (t[2] = (...h) => o.onContext && o.onContext(...h)),
|
|
2488
2149
|
onKeydown: [
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2150
|
+
t[3] || (t[3] = b(I((...h) => o.onArrowKeyPress && o.onArrowKeyPress(...h), ["prevent"]), ["up"])),
|
|
2151
|
+
t[4] || (t[4] = b(I((...h) => o.onArrowKeyPress && o.onArrowKeyPress(...h), ["prevent"]), ["down"])),
|
|
2152
|
+
t[6] || (t[6] = b((h) => e.$emit("keydown", h), ["enter"])),
|
|
2153
|
+
t[7] || (t[7] = b((h) => e.$emit("keydown", h), ["space"]))
|
|
2493
2154
|
],
|
|
2494
|
-
onKeydownCapture:
|
|
2155
|
+
onKeydownCapture: t[5] || (t[5] = b((...h) => o.closePopover && o.closePopover(...h), ["escape"]))
|
|
2495
2156
|
}, [
|
|
2496
|
-
|
|
2157
|
+
d(e.$slots, "anchor", {
|
|
2497
2158
|
attrs: {
|
|
2498
|
-
"aria-expanded":
|
|
2499
|
-
"aria-controls":
|
|
2500
|
-
"aria-haspopup":
|
|
2159
|
+
"aria-expanded": a.isOpen.toString(),
|
|
2160
|
+
"aria-controls": s.id,
|
|
2161
|
+
"aria-haspopup": s.role
|
|
2501
2162
|
}
|
|
2502
2163
|
})
|
|
2503
|
-
], 40,
|
|
2504
|
-
|
|
2505
|
-
id:
|
|
2164
|
+
], 40, st),
|
|
2165
|
+
T(E, A({
|
|
2166
|
+
id: s.id,
|
|
2506
2167
|
ref: "content",
|
|
2507
|
-
role:
|
|
2168
|
+
role: s.role,
|
|
2508
2169
|
"data-qa": "dt-popover",
|
|
2509
|
-
"aria-hidden": `${!
|
|
2170
|
+
"aria-hidden": `${!a.isOpen}`,
|
|
2510
2171
|
"aria-labelledby": o.labelledBy,
|
|
2511
|
-
"aria-label":
|
|
2512
|
-
"aria-modal": `${!
|
|
2513
|
-
transition:
|
|
2514
|
-
show:
|
|
2515
|
-
appear:
|
|
2516
|
-
class: ["d-popover__dialog", { "d-popover__dialog--modal":
|
|
2172
|
+
"aria-label": s.ariaLabel,
|
|
2173
|
+
"aria-modal": `${!s.modal}`,
|
|
2174
|
+
transition: s.transition,
|
|
2175
|
+
show: a.isOpen,
|
|
2176
|
+
appear: a.toAppear,
|
|
2177
|
+
class: ["d-popover__dialog", { "d-popover__dialog--modal": s.modal }, s.dialogClass],
|
|
2517
2178
|
style: {
|
|
2518
2179
|
"max-height": o.calculatedMaxHeight,
|
|
2519
|
-
"max-width":
|
|
2180
|
+
"max-width": s.maxWidth
|
|
2520
2181
|
},
|
|
2521
2182
|
css: e.$attrs.css,
|
|
2522
|
-
tabindex:
|
|
2523
|
-
},
|
|
2524
|
-
default:
|
|
2525
|
-
|
|
2183
|
+
tabindex: s.contentTabindex
|
|
2184
|
+
}, j(o.popoverListeners)), {
|
|
2185
|
+
default: p(() => [
|
|
2186
|
+
a.hasSlotContent(e.$slots.headerContent) || s.showCloseButton ? (n(), u(f, {
|
|
2526
2187
|
key: 0,
|
|
2527
2188
|
ref: "popover__header",
|
|
2528
|
-
class:
|
|
2529
|
-
"content-class":
|
|
2189
|
+
class: c(a.POPOVER_HEADER_FOOTER_PADDING_CLASSES[s.padding]),
|
|
2190
|
+
"content-class": s.headerClass,
|
|
2530
2191
|
type: "header",
|
|
2531
|
-
"show-close-button":
|
|
2532
|
-
"close-button-props":
|
|
2192
|
+
"show-close-button": s.showCloseButton,
|
|
2193
|
+
"close-button-props": s.closeButtonProps,
|
|
2533
2194
|
onClose: o.closePopover
|
|
2534
2195
|
}, {
|
|
2535
|
-
content:
|
|
2536
|
-
|
|
2196
|
+
content: p(() => [
|
|
2197
|
+
d(e.$slots, "headerContent", { close: o.closePopover })
|
|
2537
2198
|
]),
|
|
2538
2199
|
_: 3
|
|
2539
|
-
}, 8, ["class", "content-class", "show-close-button", "close-button-props", "onClose"])) :
|
|
2540
|
-
|
|
2200
|
+
}, 8, ["class", "content-class", "show-close-button", "close-button-props", "onClose"])) : r("", !0),
|
|
2201
|
+
_("div", {
|
|
2541
2202
|
ref: "popover__content",
|
|
2542
2203
|
"data-qa": "dt-popover-content",
|
|
2543
|
-
class:
|
|
2204
|
+
class: c([
|
|
2544
2205
|
"d-popover__content",
|
|
2545
|
-
|
|
2546
|
-
|
|
2206
|
+
a.POPOVER_PADDING_CLASSES[s.padding],
|
|
2207
|
+
s.contentClass
|
|
2547
2208
|
])
|
|
2548
2209
|
}, [
|
|
2549
|
-
|
|
2210
|
+
d(e.$slots, "content", { close: o.closePopover })
|
|
2550
2211
|
], 2),
|
|
2551
|
-
|
|
2212
|
+
a.hasSlotContent(e.$slots.footerContent) ? (n(), u(f, {
|
|
2552
2213
|
key: 1,
|
|
2553
2214
|
ref: "popover__footer",
|
|
2554
2215
|
type: "footer",
|
|
2555
|
-
class:
|
|
2556
|
-
"content-class":
|
|
2216
|
+
class: c(a.POPOVER_HEADER_FOOTER_PADDING_CLASSES[s.padding]),
|
|
2217
|
+
"content-class": s.footerClass
|
|
2557
2218
|
}, {
|
|
2558
|
-
content:
|
|
2559
|
-
|
|
2219
|
+
content: p(() => [
|
|
2220
|
+
d(e.$slots, "footerContent", { close: o.closePopover })
|
|
2560
2221
|
]),
|
|
2561
2222
|
_: 3
|
|
2562
|
-
}, 8, ["class", "content-class"])) :
|
|
2563
|
-
e.showVisuallyHiddenClose ? (
|
|
2223
|
+
}, 8, ["class", "content-class"])) : r("", !0),
|
|
2224
|
+
e.showVisuallyHiddenClose ? (n(), u(g, {
|
|
2564
2225
|
key: 2,
|
|
2565
2226
|
"visually-hidden-close-label": e.visuallyHiddenCloseLabel,
|
|
2566
2227
|
onClose: o.closePopover
|
|
2567
|
-
}, null, 8, ["visually-hidden-close-label", "onClose"])) :
|
|
2228
|
+
}, null, 8, ["visually-hidden-close-label", "onClose"])) : r("", !0)
|
|
2568
2229
|
]),
|
|
2569
2230
|
_: 3
|
|
2570
2231
|
}, 16, ["id", "role", "aria-hidden", "aria-labelledby", "aria-label", "aria-modal", "transition", "show", "appear", "class", "style", "css", "tabindex"])
|
|
@@ -2573,46 +2234,46 @@ function Et(e, s, t, i, n, o) {
|
|
|
2573
2234
|
}, 8, ["class"]))
|
|
2574
2235
|
]);
|
|
2575
2236
|
}
|
|
2576
|
-
const
|
|
2577
|
-
function
|
|
2578
|
-
return e ===
|
|
2237
|
+
const vt = /* @__PURE__ */ y(et, [["render", ot]]);
|
|
2238
|
+
function H(e) {
|
|
2239
|
+
return e === v.default;
|
|
2579
2240
|
}
|
|
2580
|
-
function
|
|
2581
|
-
if (
|
|
2582
|
-
return
|
|
2583
|
-
if (
|
|
2584
|
-
const { default:
|
|
2585
|
-
return
|
|
2241
|
+
function B(e) {
|
|
2242
|
+
if (w(e) === "string")
|
|
2243
|
+
return H(e) ? null : v[e];
|
|
2244
|
+
if (w(e) === "object") {
|
|
2245
|
+
const { default: t } = e;
|
|
2246
|
+
return H(t) ? null : v[t];
|
|
2586
2247
|
} else
|
|
2587
2248
|
return null;
|
|
2588
2249
|
}
|
|
2589
|
-
function
|
|
2250
|
+
function w(e) {
|
|
2590
2251
|
return typeof e;
|
|
2591
2252
|
}
|
|
2592
|
-
function
|
|
2593
|
-
return
|
|
2253
|
+
function at(e) {
|
|
2254
|
+
return B(e) ? `d-stack--${v[B(e)]}` : null;
|
|
2594
2255
|
}
|
|
2595
|
-
function
|
|
2596
|
-
return
|
|
2597
|
-
...
|
|
2256
|
+
function nt(e) {
|
|
2257
|
+
return w(e) === "object" ? [
|
|
2258
|
+
...W.map((t) => e[t] ? `d-stack--${t}--${e[t]}` : null)
|
|
2598
2259
|
] : null;
|
|
2599
2260
|
}
|
|
2600
|
-
function
|
|
2601
|
-
return
|
|
2261
|
+
function it(e) {
|
|
2262
|
+
return R.includes(e) ? `d-stack--gap-${e}` : null;
|
|
2602
2263
|
}
|
|
2603
|
-
function
|
|
2604
|
-
if (
|
|
2605
|
-
return Object.keys(
|
|
2606
|
-
if (
|
|
2607
|
-
const { default:
|
|
2608
|
-
return Object.keys(
|
|
2264
|
+
function lt(e) {
|
|
2265
|
+
if (w(e) === "string")
|
|
2266
|
+
return Object.keys(v).includes(e);
|
|
2267
|
+
if (w(e) === "object") {
|
|
2268
|
+
const { default: t } = e;
|
|
2269
|
+
return Object.keys(v).includes(t);
|
|
2609
2270
|
} else
|
|
2610
2271
|
return null;
|
|
2611
2272
|
}
|
|
2612
|
-
function
|
|
2613
|
-
return
|
|
2273
|
+
function rt(e) {
|
|
2274
|
+
return R.includes(e);
|
|
2614
2275
|
}
|
|
2615
|
-
const
|
|
2276
|
+
const dt = {
|
|
2616
2277
|
name: "DtStack",
|
|
2617
2278
|
props: {
|
|
2618
2279
|
/**
|
|
@@ -2626,7 +2287,7 @@ const Tt = {
|
|
|
2626
2287
|
direction: {
|
|
2627
2288
|
type: [String, Object],
|
|
2628
2289
|
default: "column",
|
|
2629
|
-
validator: (e) =>
|
|
2290
|
+
validator: (e) => lt(e)
|
|
2630
2291
|
},
|
|
2631
2292
|
/**
|
|
2632
2293
|
* Set this prop to render stack as a specific HTML element.
|
|
@@ -2642,81 +2303,75 @@ const Tt = {
|
|
|
2642
2303
|
gap: {
|
|
2643
2304
|
type: String,
|
|
2644
2305
|
default: "0",
|
|
2645
|
-
validator: (e) =>
|
|
2306
|
+
validator: (e) => rt(e)
|
|
2646
2307
|
}
|
|
2647
2308
|
},
|
|
2648
2309
|
data() {
|
|
2649
2310
|
return {
|
|
2650
|
-
DT_STACK_DIRECTION:
|
|
2651
|
-
DT_STACK_GAP:
|
|
2652
|
-
DT_STACK_RESPONSIVE_BREAKPOINTS:
|
|
2311
|
+
DT_STACK_DIRECTION: v,
|
|
2312
|
+
DT_STACK_GAP: R,
|
|
2313
|
+
DT_STACK_RESPONSIVE_BREAKPOINTS: W
|
|
2653
2314
|
};
|
|
2654
2315
|
},
|
|
2655
2316
|
computed: {
|
|
2656
2317
|
stackGap() {
|
|
2657
|
-
return
|
|
2318
|
+
return it(this.gap);
|
|
2658
2319
|
},
|
|
2659
2320
|
defaultDirection() {
|
|
2660
|
-
return
|
|
2321
|
+
return at(this.direction);
|
|
2661
2322
|
},
|
|
2662
2323
|
stackResponsive() {
|
|
2663
|
-
return
|
|
2324
|
+
return nt(this.direction);
|
|
2664
2325
|
}
|
|
2665
2326
|
}
|
|
2666
2327
|
};
|
|
2667
|
-
function
|
|
2668
|
-
return
|
|
2669
|
-
class:
|
|
2328
|
+
function ct(e, t, s, i, a, o) {
|
|
2329
|
+
return n(), u(k(s.as), {
|
|
2330
|
+
class: c([
|
|
2670
2331
|
"d-stack",
|
|
2671
2332
|
o.defaultDirection,
|
|
2672
2333
|
o.stackResponsive,
|
|
2673
2334
|
o.stackGap
|
|
2674
2335
|
])
|
|
2675
2336
|
}, {
|
|
2676
|
-
default:
|
|
2677
|
-
|
|
2337
|
+
default: p(() => [
|
|
2338
|
+
d(e.$slots, "default")
|
|
2678
2339
|
]),
|
|
2679
2340
|
_: 3
|
|
2680
2341
|
}, 8, ["class"]);
|
|
2681
2342
|
}
|
|
2682
|
-
const
|
|
2343
|
+
const bt = /* @__PURE__ */ y(dt, [["render", ct]]);
|
|
2683
2344
|
export {
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
C,
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
q as u,
|
|
2717
|
-
ut as v,
|
|
2718
|
-
ht as w,
|
|
2719
|
-
ft as x,
|
|
2720
|
-
yt as y,
|
|
2721
|
-
zt as z
|
|
2345
|
+
L as A,
|
|
2346
|
+
yt as D,
|
|
2347
|
+
C as L,
|
|
2348
|
+
Re as M,
|
|
2349
|
+
Ye as P,
|
|
2350
|
+
Le as S,
|
|
2351
|
+
bt as a,
|
|
2352
|
+
mt as b,
|
|
2353
|
+
ft as c,
|
|
2354
|
+
vt as d,
|
|
2355
|
+
Ae as e,
|
|
2356
|
+
R as f,
|
|
2357
|
+
$e as g,
|
|
2358
|
+
z as h,
|
|
2359
|
+
he as i,
|
|
2360
|
+
pe as j,
|
|
2361
|
+
x as k,
|
|
2362
|
+
fe as l,
|
|
2363
|
+
me as m,
|
|
2364
|
+
F as n,
|
|
2365
|
+
D as o,
|
|
2366
|
+
V as p,
|
|
2367
|
+
We as q,
|
|
2368
|
+
Ge as r,
|
|
2369
|
+
Ue as s,
|
|
2370
|
+
Ze as t,
|
|
2371
|
+
gt as u,
|
|
2372
|
+
ue as v,
|
|
2373
|
+
S as w,
|
|
2374
|
+
ie as x,
|
|
2375
|
+
v as y,
|
|
2376
|
+
W as z
|
|
2722
2377
|
};
|