@dialpad/dialtone-vue 2.120.1-beta.1 → 2.122.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 +21 -2
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +3 -3
- package/dist/dialtone-vue.js +128 -79
- package/dist/message_input.cjs +1 -1
- package/dist/message_input.js +3 -3
- package/dist/{rich_text_editor-2yUIuSzw.cjs → rich_text_editor-1tgknTvv.cjs} +2 -2
- package/dist/{rich_text_editor-7r81gIkY.js → rich_text_editor-RroWBOw1.js} +860 -861
- package/dist/style.css +1 -1
- package/dist/types/components/banner/banner.vue.d.ts +20 -1
- package/dist/types/components/banner/banner.vue.d.ts.map +1 -1
- package/dist/types/components/notice/notice.vue.d.ts +34 -0
- package/dist/types/components/notice/notice.vue.d.ts.map +1 -1
- package/dist/types/components/notice/notice_action.vue.d.ts +17 -0
- package/dist/types/components/notice/notice_action.vue.d.ts.map +1 -1
- package/dist/types/components/toast/toast.vue.d.ts +34 -0
- package/dist/types/components/toast/toast.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +1 -1
- package/package.json +4 -4
package/dist/dialtone-vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as Te, c as A, M as Z, d as Zt, e as De, f as Jt, D as J, L as ye, P as ea, g as Oe, h as fe, i as Ct, a as ta, R as aa, b as na } from "./rich_text_editor-
|
|
2
|
-
import { n as tu, o as au, m as nu, j as ru, k as su, l as iu, A as ou, t as lu, u as du, q as cu, p as uu, r as fu, s as hu } from "./rich_text_editor-
|
|
1
|
+
import { S as Te, c as A, M as Z, d as Zt, e as De, f as Jt, D as J, L as ye, P as ea, g as Oe, h as fe, i as Ct, a as ta, R as aa, b as na } from "./rich_text_editor-RroWBOw1.js";
|
|
2
|
+
import { n as tu, o as au, m as nu, j as ru, k as su, l as iu, A as ou, t as lu, u as du, q as cu, p as uu, r as fu, s as hu } from "./rich_text_editor-RroWBOw1.js";
|
|
3
3
|
import { w as y, t as S, F as ra, M as sa, G as ia, H as W, J as St, K as kt, N as It, O as xt, P as Le, x as Tt, D as oa } from "./index-izsZ8Z_Y.js";
|
|
4
|
-
import { W as mu, S as gu, R as _u, Q as bu, T as vu, a1 as yu, a4 as wu, a3 as Cu, a2 as Su, z as ku, y as Iu, U as xu, I as Tu, Y as Du, X as Ou, V as Lu, C as $u, L as Eu, a9 as Au, a5 as
|
|
4
|
+
import { W as mu, S as gu, R as _u, Q as bu, T as vu, a1 as yu, a4 as wu, a3 as Cu, a2 as Su, z as ku, y as Iu, U as xu, I as Tu, Y as Du, X as Ou, V as Lu, C as $u, L as Eu, a9 as Au, a5 as Mu, a6 as Ru, a8 as Bu, a7 as Pu, a0 as Nu, $ as Fu, Z as qu, _ as Hu } from "./index-izsZ8Z_Y.js";
|
|
5
5
|
import { n as c, u as E, g as T, e as $e, l as he, E as C, T as Qe, v as la, h as da, b as Xe, a as Se, L as ca, w as ua, D as ee, i as fa, x as Ee, y as ha } from "./tooltip-88U5vFMA.js";
|
|
6
6
|
import { z as Vu, c as Uu, A as ju, m as Yu, k as Ku, P as zu, j as Gu, F as Qu, B as Xu, C as Zu, V as Ju, f as ef } from "./tooltip-88U5vFMA.js";
|
|
7
7
|
import pe, { reactive as pa } from "vue";
|
|
@@ -161,7 +161,7 @@ var ga = function() {
|
|
|
161
161
|
null,
|
|
162
162
|
null
|
|
163
163
|
);
|
|
164
|
-
const
|
|
164
|
+
const Me = ba.exports, te = ["base", "error", "info", "success", "warning"], va = ["alert", "alertdialog", "status"], ya = /* @__PURE__ */ new Map([
|
|
165
165
|
["info", "info"],
|
|
166
166
|
["success", "check-circle"],
|
|
167
167
|
["warning", "alert-triangle"],
|
|
@@ -206,7 +206,7 @@ var Ca = function() {
|
|
|
206
206
|
null,
|
|
207
207
|
null
|
|
208
208
|
);
|
|
209
|
-
const
|
|
209
|
+
const Re = ka.exports, Ia = {
|
|
210
210
|
name: "DtNoticeContent",
|
|
211
211
|
props: {
|
|
212
212
|
/**
|
|
@@ -272,6 +272,14 @@ const Be = Da.exports, Oa = {
|
|
|
272
272
|
hideClose: {
|
|
273
273
|
type: Boolean,
|
|
274
274
|
default: !1
|
|
275
|
+
},
|
|
276
|
+
/**
|
|
277
|
+
* Hides the action from the notice
|
|
278
|
+
* @values true, false
|
|
279
|
+
*/
|
|
280
|
+
hideAction: {
|
|
281
|
+
type: Boolean,
|
|
282
|
+
default: !1
|
|
275
283
|
}
|
|
276
284
|
},
|
|
277
285
|
emits: [
|
|
@@ -310,7 +318,7 @@ const Be = Da.exports, Oa = {
|
|
|
310
318
|
};
|
|
311
319
|
var La = function() {
|
|
312
320
|
var e = this, a = e._self._c;
|
|
313
|
-
return a("div", { staticClass: "d-notice__actions", attrs: { "data-qa": "notice-content-actions" } }, [e._t("default"), e.hideClose ? e._e() : a("dt-button", e._g(e._b({ ref: "closeButton", attrs: { "data-qa": "dt-notice-action-close-button", size: "sm", importance: "clear", circle: "", "aria-label": e.closeButtonProps.ariaLabel ? e.closeButtonProps.ariaLabel : "Close" }, scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
321
|
+
return a("div", { staticClass: "d-notice__actions", attrs: { "data-qa": "notice-content-actions" } }, [e.hideAction ? e._e() : e._t("default"), e.hideClose ? e._e() : a("dt-button", e._g(e._b({ ref: "closeButton", attrs: { "data-qa": "dt-notice-action-close-button", size: "sm", importance: "clear", circle: "", "aria-label": e.closeButtonProps.ariaLabel ? e.closeButtonProps.ariaLabel : "Close" }, scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
314
322
|
return [a("dt-icon", { attrs: { name: "close", size: "200" } })];
|
|
315
323
|
}, proxy: !0 }], null, !1, 1154370889) }, "dt-button", e.closeButtonProps, !1), e.noticeActionListeners)), e.showVisuallyHiddenClose ? a("sr-only-close-button", { attrs: { "visually-hidden-close-label": e.visuallyHiddenCloseLabel }, on: { close: e.close } }) : e._e()], 2);
|
|
316
324
|
}, $a = [], Ea = /* @__PURE__ */ c(
|
|
@@ -326,7 +334,7 @@ var La = function() {
|
|
|
326
334
|
const Pe = Ea.exports, Aa = {
|
|
327
335
|
name: "DtNotice",
|
|
328
336
|
components: {
|
|
329
|
-
DtNoticeIcon:
|
|
337
|
+
DtNoticeIcon: Re,
|
|
330
338
|
DtNoticeContent: Be,
|
|
331
339
|
DtNoticeAction: Pe
|
|
332
340
|
},
|
|
@@ -402,6 +410,22 @@ const Pe = Ea.exports, Aa = {
|
|
|
402
410
|
hideClose: {
|
|
403
411
|
type: Boolean,
|
|
404
412
|
default: !1
|
|
413
|
+
},
|
|
414
|
+
/**
|
|
415
|
+
* Hides the icon from the notice
|
|
416
|
+
* @values true, false
|
|
417
|
+
*/
|
|
418
|
+
hideIcon: {
|
|
419
|
+
type: Boolean,
|
|
420
|
+
default: !1
|
|
421
|
+
},
|
|
422
|
+
/**
|
|
423
|
+
* Hides the action from the notice
|
|
424
|
+
* @values true, false
|
|
425
|
+
*/
|
|
426
|
+
hideAction: {
|
|
427
|
+
type: Boolean,
|
|
428
|
+
default: !1
|
|
405
429
|
}
|
|
406
430
|
},
|
|
407
431
|
emits: [
|
|
@@ -428,15 +452,15 @@ const Pe = Ea.exports, Aa = {
|
|
|
428
452
|
}
|
|
429
453
|
}
|
|
430
454
|
};
|
|
431
|
-
var
|
|
455
|
+
var Ma = function() {
|
|
432
456
|
var e = this, a = e._self._c;
|
|
433
|
-
return a("aside", { class: e.noticeClass, attrs: { "data-qa": "notice" } }, [a("dt-notice-icon", { attrs: { kind: e.kind } }, [e._t("icon")], 2), a("dt-notice-content", e._g({ attrs: { "title-id": e.titleId, "content-id": e.contentId, title: e.title, role: e.role }, scopedSlots: e._u([{ key: "titleOverride", fn: function() {
|
|
457
|
+
return a("aside", { class: e.noticeClass, attrs: { "data-qa": "notice" } }, [e.hideIcon ? e._e() : a("dt-notice-icon", { attrs: { kind: e.kind } }, [e._t("icon")], 2), a("dt-notice-content", e._g({ attrs: { "title-id": e.titleId, "content-id": e.contentId, title: e.title, role: e.role }, scopedSlots: e._u([{ key: "titleOverride", fn: function() {
|
|
434
458
|
return [e._t("titleOverride")];
|
|
435
|
-
}, proxy: !0 }], null, !0) }, e.$listeners), [e._t("default")], 2), a("dt-notice-action", e._g({ attrs: { "hide-close": e.hideClose, "close-button-props": e.closeButtonProps, "visually-hidden-close": e.visuallyHiddenClose, "visually-hidden-close-label": e.visuallyHiddenCloseLabel } }, e.$listeners), [e._t("action")], 2)], 1);
|
|
436
|
-
},
|
|
459
|
+
}, proxy: !0 }], null, !0) }, e.$listeners), [e._t("default")], 2), a("dt-notice-action", e._g({ attrs: { "hide-action": e.hideAction, "hide-close": e.hideClose, "close-button-props": e.closeButtonProps, "visually-hidden-close": e.visuallyHiddenClose, "visually-hidden-close-label": e.visuallyHiddenCloseLabel } }, e.$listeners), [e._t("action")], 2)], 1);
|
|
460
|
+
}, Ra = [], Ba = /* @__PURE__ */ c(
|
|
437
461
|
Aa,
|
|
438
|
-
Ra,
|
|
439
462
|
Ma,
|
|
463
|
+
Ra,
|
|
440
464
|
!1,
|
|
441
465
|
null,
|
|
442
466
|
null,
|
|
@@ -446,7 +470,7 @@ var Ra = function() {
|
|
|
446
470
|
const nc = Ba.exports, Pa = {
|
|
447
471
|
name: "DtBanner",
|
|
448
472
|
components: {
|
|
449
|
-
DtNoticeIcon:
|
|
473
|
+
DtNoticeIcon: Re,
|
|
450
474
|
DtNoticeContent: Be,
|
|
451
475
|
DtNoticeAction: Pe
|
|
452
476
|
},
|
|
@@ -517,6 +541,7 @@ const nc = Ba.exports, Pa = {
|
|
|
517
541
|
},
|
|
518
542
|
/**
|
|
519
543
|
* Hides the close button from the notice
|
|
544
|
+
* @values true, false
|
|
520
545
|
*/
|
|
521
546
|
hideClose: {
|
|
522
547
|
type: Boolean,
|
|
@@ -530,6 +555,14 @@ const nc = Ba.exports, Pa = {
|
|
|
530
555
|
type: Boolean,
|
|
531
556
|
default: !1
|
|
532
557
|
},
|
|
558
|
+
/**
|
|
559
|
+
* Hides the action from the notice
|
|
560
|
+
* @values true, false
|
|
561
|
+
*/
|
|
562
|
+
hideAction: {
|
|
563
|
+
type: Boolean,
|
|
564
|
+
default: !1
|
|
565
|
+
},
|
|
533
566
|
/**
|
|
534
567
|
* Inner dialog class
|
|
535
568
|
*/
|
|
@@ -603,7 +636,7 @@ var Na = function() {
|
|
|
603
636
|
return !n.type.indexOf("key") && e._k(n.keyCode, "tab", 9, n.key, "Tab") ? null : e.trapFocus.apply(null, arguments);
|
|
604
637
|
} } }, [a("div", { staticClass: "d-banner__dialog", class: e.dialogClass, attrs: { role: e.role, "aria-labelledby": e.titleId, "aria-describedby": e.contentId } }, [e.hideIcon ? e._e() : a("dt-notice-icon", e._g({ attrs: { kind: e.kind } }, e.$listeners), [e._t("icon")], 2), a("dt-notice-content", e._g({ attrs: { "title-id": e.titleId, "content-id": e.contentId, title: e.title }, scopedSlots: e._u([{ key: "titleOverride", fn: function() {
|
|
605
638
|
return [e._t("titleOverride")];
|
|
606
|
-
}, proxy: !0 }], null, !0) }, e.$listeners), [e._t("default")], 2), a("dt-notice-action", e._g({ attrs: { "hide-close": e.hideClose, "close-button-props": e.closeButtonProps, "visually-hidden-close": e.visuallyHiddenClose, "visually-hidden-close-label": e.visuallyHiddenCloseLabel } }, e.$listeners), [e._t("action")], 2)], 1)]);
|
|
639
|
+
}, proxy: !0 }], null, !0) }, e.$listeners), [e._t("default")], 2), a("dt-notice-action", e._g({ attrs: { "hide-action": e.hideAction, "hide-close": e.hideClose, "close-button-props": e.closeButtonProps, "visually-hidden-close": e.visuallyHiddenClose, "visually-hidden-close-label": e.visuallyHiddenCloseLabel } }, e.$listeners), [e._t("action")], 2)], 1)]);
|
|
607
640
|
}, Fa = [], qa = /* @__PURE__ */ c(
|
|
608
641
|
Pa,
|
|
609
642
|
Na,
|
|
@@ -1702,17 +1735,17 @@ var An = function() {
|
|
|
1702
1735
|
"max-height": e.maxHeight,
|
|
1703
1736
|
"max-width": e.maxWidth
|
|
1704
1737
|
}, attrs: { id: e.id, "aria-hidden": `${!e.isOpen}`, "aria-labelledby": e.labelledBy, "aria-label": e.ariaLabel, show: e.isOpen, "element-type": e.contentElementType, "data-qa": "dt-collapsible--content", tabindex: "-1", appear: "" }, on: { "after-leave": e.onLeaveTransitionComplete, "after-enter": e.onEnterTransitionComplete } }, e.$listeners), [e._t("content")], 2)], 1);
|
|
1705
|
-
},
|
|
1738
|
+
}, Mn = [], Rn = /* @__PURE__ */ c(
|
|
1706
1739
|
En,
|
|
1707
1740
|
An,
|
|
1708
|
-
|
|
1741
|
+
Mn,
|
|
1709
1742
|
!1,
|
|
1710
1743
|
null,
|
|
1711
1744
|
null,
|
|
1712
1745
|
null,
|
|
1713
1746
|
null
|
|
1714
1747
|
);
|
|
1715
|
-
const Bn =
|
|
1748
|
+
const Bn = Rn.exports, Pn = ["row", "column"], Nn = (t) => t.term ? typeof t.term == "string" : !1, Fn = (t) => t.description ? typeof t.description == "string" : !1, qn = (t) => Array.isArray(t) ? t.every((e) => !(typeof e != "object" || !Nn(e) || !Fn(e))) : !1, Hn = {
|
|
1716
1749
|
name: "DtDescriptionList",
|
|
1717
1750
|
props: {
|
|
1718
1751
|
/**
|
|
@@ -3335,18 +3368,18 @@ const pc = $r.exports, Er = {
|
|
|
3335
3368
|
return `radio-group-message-${t}-${e}-${this.id}`;
|
|
3336
3369
|
}
|
|
3337
3370
|
}
|
|
3338
|
-
}, Ar = null,
|
|
3339
|
-
var
|
|
3371
|
+
}, Ar = null, Mr = null;
|
|
3372
|
+
var Rr = /* @__PURE__ */ c(
|
|
3340
3373
|
Er,
|
|
3341
3374
|
Ar,
|
|
3342
|
-
|
|
3375
|
+
Mr,
|
|
3343
3376
|
!1,
|
|
3344
3377
|
null,
|
|
3345
3378
|
null,
|
|
3346
3379
|
null,
|
|
3347
3380
|
null
|
|
3348
3381
|
);
|
|
3349
|
-
const mc =
|
|
3382
|
+
const mc = Rr.exports, Br = {
|
|
3350
3383
|
name: "DtTabPanel",
|
|
3351
3384
|
mixins: [Z],
|
|
3352
3385
|
inject: ["groupContext"],
|
|
@@ -4030,7 +4063,7 @@ var os = function() {
|
|
|
4030
4063
|
const vc = ds.exports, cs = ["status", "alert"], ot = 6e3, us = {
|
|
4031
4064
|
name: "DtToast",
|
|
4032
4065
|
components: {
|
|
4033
|
-
DtNoticeIcon:
|
|
4066
|
+
DtNoticeIcon: Re,
|
|
4034
4067
|
DtNoticeContent: Be,
|
|
4035
4068
|
DtNoticeAction: Pe
|
|
4036
4069
|
},
|
|
@@ -4123,6 +4156,22 @@ const vc = ds.exports, cs = ["status", "alert"], ot = 6e3, us = {
|
|
|
4123
4156
|
type: Boolean,
|
|
4124
4157
|
default: !1
|
|
4125
4158
|
},
|
|
4159
|
+
/**
|
|
4160
|
+
* Hides the icon from the notice
|
|
4161
|
+
* @values true, false
|
|
4162
|
+
*/
|
|
4163
|
+
hideIcon: {
|
|
4164
|
+
type: Boolean,
|
|
4165
|
+
default: !1
|
|
4166
|
+
},
|
|
4167
|
+
/**
|
|
4168
|
+
* Hides the action from the notice
|
|
4169
|
+
* @values true, false
|
|
4170
|
+
*/
|
|
4171
|
+
hideAction: {
|
|
4172
|
+
type: Boolean,
|
|
4173
|
+
default: !1
|
|
4174
|
+
},
|
|
4126
4175
|
/**
|
|
4127
4176
|
* The duration in ms the toast will display before disappearing.
|
|
4128
4177
|
* The toast won't disappear if the duration is not provided.
|
|
@@ -4201,11 +4250,11 @@ var fs = function() {
|
|
|
4201
4250
|
"d-toast",
|
|
4202
4251
|
e.kindClass,
|
|
4203
4252
|
{ "d-toast--important": e.important }
|
|
4204
|
-
], attrs: { "data-qa": "dt-toast", "aria-hidden": (!e.isShown).toString() } }, [a("div", { staticClass: "d-toast__dialog" }, [a("dt-notice-icon", e._g({ attrs: { kind: e.kind } }, e.$listeners), [e._t("icon")], 2), a("dt-notice-content", e._g({ attrs: { "title-id": e.titleId, "content-id": e.contentId, title: e.title, role: e.role }, scopedSlots: e._u([{ key: "titleOverride", fn: function() {
|
|
4253
|
+
], attrs: { "data-qa": "dt-toast", "aria-hidden": (!e.isShown).toString() } }, [a("div", { staticClass: "d-toast__dialog" }, [e.hideIcon ? e._e() : a("dt-notice-icon", e._g({ attrs: { kind: e.kind } }, e.$listeners), [e._t("icon")], 2), a("dt-notice-content", e._g({ attrs: { "title-id": e.titleId, "content-id": e.contentId, title: e.title, role: e.role }, scopedSlots: e._u([{ key: "titleOverride", fn: function() {
|
|
4205
4254
|
return [e._t("titleOverride")];
|
|
4206
4255
|
}, proxy: !0 }], null, !0) }, e.$listeners), [e._t("default", function() {
|
|
4207
4256
|
return [e._v(" " + e._s(e.message) + " ")];
|
|
4208
|
-
})], 2), a("dt-notice-action", e._g({ attrs: { "hide-close": e.hideClose, "close-button-props": e.closeButtonProps, "visually-hidden-close": e.visuallyHiddenClose, "visually-hidden-close-label": e.visuallyHiddenCloseLabel } }, e.noticeActionListeners), [e._t("action")], 2)], 1)]) : e._e();
|
|
4257
|
+
})], 2), a("dt-notice-action", e._g({ attrs: { "hide-action": e.hideAction, "hide-close": e.hideClose, "close-button-props": e.closeButtonProps, "visually-hidden-close": e.visuallyHiddenClose, "visually-hidden-close-label": e.visuallyHiddenCloseLabel } }, e.noticeActionListeners), [e._t("action")], 2)], 1)]) : e._e();
|
|
4209
4258
|
}, hs = [], ps = /* @__PURE__ */ c(
|
|
4210
4259
|
us,
|
|
4211
4260
|
fs,
|
|
@@ -4664,8 +4713,8 @@ function B(t, e) {
|
|
|
4664
4713
|
var a = h(t), n = h(e), r = a.getTime() - n.getTime();
|
|
4665
4714
|
return r < 0 ? -1 : r > 0 ? 1 : r;
|
|
4666
4715
|
}
|
|
4667
|
-
var
|
|
4668
|
-
function
|
|
4716
|
+
var Ms = 6e4, Rs = 36e5;
|
|
4717
|
+
function Mt(t, e) {
|
|
4669
4718
|
f(2, arguments);
|
|
4670
4719
|
var a = oe(t), n = oe(e);
|
|
4671
4720
|
return a.getTime() === n.getTime();
|
|
@@ -4717,12 +4766,12 @@ function Fe(t) {
|
|
|
4717
4766
|
}
|
|
4718
4767
|
function Ws(t, e, a) {
|
|
4719
4768
|
f(2, arguments);
|
|
4720
|
-
var n = Ne(t, e) /
|
|
4769
|
+
var n = Ne(t, e) / Rs;
|
|
4721
4770
|
return Fe(a == null ? void 0 : a.roundingMethod)(n);
|
|
4722
4771
|
}
|
|
4723
4772
|
function Vs(t, e, a) {
|
|
4724
4773
|
f(2, arguments);
|
|
4725
|
-
var n = Ne(t, e) /
|
|
4774
|
+
var n = Ne(t, e) / Ms;
|
|
4726
4775
|
return Fe(a == null ? void 0 : a.roundingMethod)(n);
|
|
4727
4776
|
}
|
|
4728
4777
|
function Us(t) {
|
|
@@ -4730,7 +4779,7 @@ function Us(t) {
|
|
|
4730
4779
|
var e = h(t);
|
|
4731
4780
|
return e.setHours(23, 59, 59, 999), e;
|
|
4732
4781
|
}
|
|
4733
|
-
function
|
|
4782
|
+
function Rt(t) {
|
|
4734
4783
|
f(1, arguments);
|
|
4735
4784
|
var e = h(t), a = e.getMonth();
|
|
4736
4785
|
return e.setFullYear(e.getFullYear(), a + 1, 0), e.setHours(23, 59, 59, 999), e;
|
|
@@ -4738,7 +4787,7 @@ function Mt(t) {
|
|
|
4738
4787
|
function js(t) {
|
|
4739
4788
|
f(1, arguments);
|
|
4740
4789
|
var e = h(t);
|
|
4741
|
-
return Us(e).getTime() ===
|
|
4790
|
+
return Us(e).getTime() === Rt(e).getTime();
|
|
4742
4791
|
}
|
|
4743
4792
|
function Bt(t, e) {
|
|
4744
4793
|
f(2, arguments);
|
|
@@ -5390,11 +5439,11 @@ var q = {
|
|
|
5390
5439
|
return ht(i);
|
|
5391
5440
|
case "XXXX":
|
|
5392
5441
|
case "XX":
|
|
5393
|
-
return
|
|
5442
|
+
return R(i);
|
|
5394
5443
|
case "XXXXX":
|
|
5395
5444
|
case "XXX":
|
|
5396
5445
|
default:
|
|
5397
|
-
return
|
|
5446
|
+
return R(i, ":");
|
|
5398
5447
|
}
|
|
5399
5448
|
},
|
|
5400
5449
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -5405,11 +5454,11 @@ var q = {
|
|
|
5405
5454
|
return ht(i);
|
|
5406
5455
|
case "xxxx":
|
|
5407
5456
|
case "xx":
|
|
5408
|
-
return
|
|
5457
|
+
return R(i);
|
|
5409
5458
|
case "xxxxx":
|
|
5410
5459
|
case "xxx":
|
|
5411
5460
|
default:
|
|
5412
|
-
return
|
|
5461
|
+
return R(i, ":");
|
|
5413
5462
|
}
|
|
5414
5463
|
},
|
|
5415
5464
|
// Timezone (GMT)
|
|
@@ -5422,7 +5471,7 @@ var q = {
|
|
|
5422
5471
|
return "GMT" + ft(i, ":");
|
|
5423
5472
|
case "OOOO":
|
|
5424
5473
|
default:
|
|
5425
|
-
return "GMT" +
|
|
5474
|
+
return "GMT" + R(i, ":");
|
|
5426
5475
|
}
|
|
5427
5476
|
},
|
|
5428
5477
|
// Timezone (specific non-location)
|
|
@@ -5435,7 +5484,7 @@ var q = {
|
|
|
5435
5484
|
return "GMT" + ft(i, ":");
|
|
5436
5485
|
case "zzzz":
|
|
5437
5486
|
default:
|
|
5438
|
-
return "GMT" +
|
|
5487
|
+
return "GMT" + R(i, ":");
|
|
5439
5488
|
}
|
|
5440
5489
|
},
|
|
5441
5490
|
// Seconds timestamp
|
|
@@ -5461,9 +5510,9 @@ function ht(t, e) {
|
|
|
5461
5510
|
var a = t > 0 ? "-" : "+";
|
|
5462
5511
|
return a + b(Math.abs(t) / 60, 2);
|
|
5463
5512
|
}
|
|
5464
|
-
return
|
|
5513
|
+
return R(t, e);
|
|
5465
5514
|
}
|
|
5466
|
-
function
|
|
5515
|
+
function R(t, e) {
|
|
5467
5516
|
var a = e || "", n = t > 0 ? "-" : "+", r = Math.abs(t), s = b(Math.floor(r / 60), 2), i = b(r % 60, 2);
|
|
5468
5517
|
return n + s + a + i;
|
|
5469
5518
|
}
|
|
@@ -5812,7 +5861,7 @@ function z(t) {
|
|
|
5812
5861
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.width, r = n && t.matchPatterns[n] || t.matchPatterns[t.defaultMatchWidth], s = e.match(r);
|
|
5813
5862
|
if (!s)
|
|
5814
5863
|
return null;
|
|
5815
|
-
var i = s[0], o = n && t.parsePatterns[n] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(o) ?
|
|
5864
|
+
var i = s[0], o = n && t.parsePatterns[n] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(o) ? Mi(o, function(l) {
|
|
5816
5865
|
return l.test(i);
|
|
5817
5866
|
}) : Ai(o, function(l) {
|
|
5818
5867
|
return l.test(i);
|
|
@@ -5830,12 +5879,12 @@ function Ai(t, e) {
|
|
|
5830
5879
|
if (t.hasOwnProperty(a) && e(t[a]))
|
|
5831
5880
|
return a;
|
|
5832
5881
|
}
|
|
5833
|
-
function
|
|
5882
|
+
function Mi(t, e) {
|
|
5834
5883
|
for (var a = 0; a < t.length; a++)
|
|
5835
5884
|
if (e(t[a]))
|
|
5836
5885
|
return a;
|
|
5837
5886
|
}
|
|
5838
|
-
function
|
|
5887
|
+
function Ri(t) {
|
|
5839
5888
|
return function(e) {
|
|
5840
5889
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = e.match(t.matchPattern);
|
|
5841
5890
|
if (!n)
|
|
@@ -5894,7 +5943,7 @@ var Bi = /^(\d+)(th|st|nd|rd)?/i, Pi = /\d+/i, Ni = {
|
|
|
5894
5943
|
night: /night/i
|
|
5895
5944
|
}
|
|
5896
5945
|
}, zi = {
|
|
5897
|
-
ordinalNumber:
|
|
5946
|
+
ordinalNumber: Ri({
|
|
5898
5947
|
matchPattern: Bi,
|
|
5899
5948
|
parsePattern: Pi,
|
|
5900
5949
|
valueCallback: function(e) {
|
|
@@ -5951,12 +6000,12 @@ var Qi = {
|
|
|
5951
6000
|
const qe = Qi;
|
|
5952
6001
|
var Xi = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Zi = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ji = /^'([^]*?)'?$/, eo = /''/g, to = /[a-zA-Z]/;
|
|
5953
6002
|
function Ht(t, e, a) {
|
|
5954
|
-
var n, r, s, i, o, d, u, g, l, m, p, _, I, k, D, F,
|
|
6003
|
+
var n, r, s, i, o, d, u, g, l, m, p, _, I, k, D, F, M, _e;
|
|
5955
6004
|
f(2, arguments);
|
|
5956
6005
|
var Kt = String(e), U = N(), j = (n = (r = a == null ? void 0 : a.locale) !== null && r !== void 0 ? r : U.locale) !== null && n !== void 0 ? n : qe, be = v((s = (i = (o = (d = a == null ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : a == null || (u = a.locale) === null || u === void 0 || (g = u.options) === null || g === void 0 ? void 0 : g.firstWeekContainsDate) !== null && o !== void 0 ? o : U.firstWeekContainsDate) !== null && i !== void 0 ? i : (l = U.locale) === null || l === void 0 || (m = l.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && s !== void 0 ? s : 1);
|
|
5957
6006
|
if (!(be >= 1 && be <= 7))
|
|
5958
6007
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
5959
|
-
var ve = v((p = (_ = (I = (k = a == null ? void 0 : a.weekStartsOn) !== null && k !== void 0 ? k : a == null || (D = a.locale) === null || D === void 0 || (F = D.options) === null || F === void 0 ? void 0 : F.weekStartsOn) !== null && I !== void 0 ? I : U.weekStartsOn) !== null && _ !== void 0 ? _ : (
|
|
6008
|
+
var ve = v((p = (_ = (I = (k = a == null ? void 0 : a.weekStartsOn) !== null && k !== void 0 ? k : a == null || (D = a.locale) === null || D === void 0 || (F = D.options) === null || F === void 0 ? void 0 : F.weekStartsOn) !== null && I !== void 0 ? I : U.weekStartsOn) !== null && _ !== void 0 ? _ : (M = U.locale) === null || M === void 0 || (_e = M.options) === null || _e === void 0 ? void 0 : _e.weekStartsOn) !== null && p !== void 0 ? p : 0);
|
|
5960
6009
|
if (!(ve >= 0 && ve <= 6))
|
|
5961
6010
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
5962
6011
|
if (!j.localize)
|
|
@@ -6045,8 +6094,8 @@ function io(t, e, a) {
|
|
|
6045
6094
|
var D = Math.round(p / Ce);
|
|
6046
6095
|
return i.formatDistance("xMonths", D, d);
|
|
6047
6096
|
} else {
|
|
6048
|
-
var F = _ % 12,
|
|
6049
|
-
return F < 3 ? i.formatDistance("aboutXYears",
|
|
6097
|
+
var F = _ % 12, M = Math.floor(_ / 12);
|
|
6098
|
+
return F < 3 ? i.formatDistance("aboutXYears", M, d) : F < 9 ? i.formatDistance("overXYears", M, d) : i.formatDistance("almostXYears", M + 1, d);
|
|
6050
6099
|
}
|
|
6051
6100
|
}
|
|
6052
6101
|
var oo = ["years", "months", "weeks", "days", "hours", "minutes", "seconds"];
|
|
@@ -6140,7 +6189,7 @@ function go(t) {
|
|
|
6140
6189
|
return f(1, arguments), po(t, Date.now());
|
|
6141
6190
|
}
|
|
6142
6191
|
function _o(t) {
|
|
6143
|
-
return f(1, arguments),
|
|
6192
|
+
return f(1, arguments), Mt(t, Date.now());
|
|
6144
6193
|
}
|
|
6145
6194
|
function bo(t, e) {
|
|
6146
6195
|
f(2, arguments);
|
|
@@ -6148,7 +6197,7 @@ function bo(t, e) {
|
|
|
6148
6197
|
return V(t, -a);
|
|
6149
6198
|
}
|
|
6150
6199
|
function vo(t) {
|
|
6151
|
-
return f(1, arguments),
|
|
6200
|
+
return f(1, arguments), Mt(t, bo(Date.now(), 1));
|
|
6152
6201
|
}
|
|
6153
6202
|
function yo(t, e) {
|
|
6154
6203
|
f(2, arguments);
|
|
@@ -6201,7 +6250,7 @@ const Ut = 0, Co = "MMMM", So = "long", xe = (t) => t ? new Date(t) : /* @__PURE
|
|
|
6201
6250
|
return He(o);
|
|
6202
6251
|
}, Lo = (t) => {
|
|
6203
6252
|
const e = new Date(t), a = ce(e);
|
|
6204
|
-
let r =
|
|
6253
|
+
let r = Rt(Vt(e, 1));
|
|
6205
6254
|
for (; ce(r) !== a; )
|
|
6206
6255
|
r = V(r, -1);
|
|
6207
6256
|
return He(r);
|
|
@@ -6374,7 +6423,7 @@ var Eo = function() {
|
|
|
6374
6423
|
return e.handleKeyDown(n);
|
|
6375
6424
|
} } }, [a("dt-icon", { attrs: { name: "chevrons-right", size: "200" } })], 1)];
|
|
6376
6425
|
}, proxy: !0 }]) })], 1)], 1);
|
|
6377
|
-
}, Ao = [],
|
|
6426
|
+
}, Ao = [], Mo = /* @__PURE__ */ c(
|
|
6378
6427
|
$o,
|
|
6379
6428
|
Eo,
|
|
6380
6429
|
Ao,
|
|
@@ -6384,7 +6433,7 @@ var Eo = function() {
|
|
|
6384
6433
|
null,
|
|
6385
6434
|
null
|
|
6386
6435
|
);
|
|
6387
|
-
const
|
|
6436
|
+
const Ro = Mo.exports, Bo = {
|
|
6388
6437
|
name: "DtDatepickerCalendar",
|
|
6389
6438
|
components: { DtButton: S },
|
|
6390
6439
|
props: {
|
|
@@ -6517,10 +6566,10 @@ var Po = function() {
|
|
|
6517
6566
|
return a("th", { key: n, staticClass: "d-datepicker__cell d-datepicker__cell--header", attrs: { scope: "col" } }, [a("span", { staticClass: "d-datepicker__weekday", attrs: { title: n, "aria-label": n } }, [e._v(" " + e._s(n))])]);
|
|
6518
6567
|
}), 0)]), a("tbody", e._l(e.calendarDays, function(n, r) {
|
|
6519
6568
|
return a("tr", { key: r }, e._l(n.days, function(s, i) {
|
|
6520
|
-
return a("td", { key: r + i, staticClass: "d-datepicker__cell" }, [a("dt-button", { ref: `buttonRef_${r}_${i}`, refInFor: !0, staticClass: "d-datepicker__day", class: {
|
|
6569
|
+
return a("td", { key: r + i, staticClass: "d-datepicker__cell", attrs: { role: "listbox" } }, [a("dt-button", { ref: `buttonRef_${r}_${i}`, refInFor: !0, staticClass: "d-datepicker__day", class: {
|
|
6521
6570
|
"d-datepicker__day--disabled": !s.currentMonth,
|
|
6522
6571
|
"d-datepicker__day--selected": e.selectedDay ? s.text === e.selectedDay && s.currentMonth : s.selected
|
|
6523
|
-
}, attrs: { circle: !0, size: "sm", importance: "clear", disabled: !s.currentMonth, type: "button", "aria-selected": e.selectedDay ? s.text === e.selectedDay && s.currentMonth : s.selected, "aria-label": e.dayAriaLabel(s) }, on: { click: function(o) {
|
|
6572
|
+
}, attrs: { circle: !0, size: "sm", importance: "clear", disabled: !s.currentMonth, type: "button", "aria-selected": e.selectedDay ? s.text === e.selectedDay && s.currentMonth : s.selected, "aria-label": e.dayAriaLabel(s), role: "option" }, on: { click: function(o) {
|
|
6524
6573
|
return e.selectDay(s);
|
|
6525
6574
|
}, keydown: function(o) {
|
|
6526
6575
|
return e.handleKeyDown(o);
|
|
@@ -6539,7 +6588,7 @@ var Po = function() {
|
|
|
6539
6588
|
);
|
|
6540
6589
|
const qo = Fo.exports, Ho = {
|
|
6541
6590
|
name: "DtDatepicker",
|
|
6542
|
-
components: { DtStack: Oe, MonthYearPicker:
|
|
6591
|
+
components: { DtStack: Oe, MonthYearPicker: Ro, Calendar: qo },
|
|
6543
6592
|
props: {
|
|
6544
6593
|
/**
|
|
6545
6594
|
* Label for the previous month button
|
|
@@ -7950,7 +7999,7 @@ var bl = function() {
|
|
|
7950
7999
|
null,
|
|
7951
8000
|
null
|
|
7952
8001
|
);
|
|
7953
|
-
const
|
|
8002
|
+
const Mc = yl.exports, We = "promptmenu", Ve = "promptcollect", Ue = "promptplay", je = "gotoexpert", ge = "goto", Ye = "branch", Ke = "transfer", ze = "hangup", wl = {
|
|
7954
8003
|
[We]: "keypad",
|
|
7955
8004
|
[Ve]: "dialer",
|
|
7956
8005
|
[Ue]: "volume-2",
|
|
@@ -7959,7 +8008,7 @@ const Rc = yl.exports, We = "promptmenu", Ve = "promptcollect", Ue = "promptplay
|
|
|
7959
8008
|
[ge]: "call-merge",
|
|
7960
8009
|
[Ke]: "transfer",
|
|
7961
8010
|
[ze]: "phone-hang-up"
|
|
7962
|
-
},
|
|
8011
|
+
}, Rc = {
|
|
7963
8012
|
[We]: "Menu",
|
|
7964
8013
|
[Ve]: "Collect",
|
|
7965
8014
|
[Ue]: "Play",
|
|
@@ -8176,7 +8225,7 @@ var El = function() {
|
|
|
8176
8225
|
}, proxy: !0 }], null, !1, 3418040308) }, e.$listeners), [e._t("default")], 2) : a("dt-button", e._g({ staticClass: "settings-menu-button", attrs: { importance: "clear", kind: "inverted", "aria-label": e.ariaLabel }, scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
8177
8226
|
return [a("dt-icon", { attrs: { name: "more-vertical", size: "300" } })];
|
|
8178
8227
|
}, proxy: !0 }]) }, e.$listeners));
|
|
8179
|
-
}, Al = [],
|
|
8228
|
+
}, Al = [], Ml = /* @__PURE__ */ c(
|
|
8180
8229
|
$l,
|
|
8181
8230
|
El,
|
|
8182
8231
|
Al,
|
|
@@ -8186,7 +8235,7 @@ var El = function() {
|
|
|
8186
8235
|
null,
|
|
8187
8236
|
null
|
|
8188
8237
|
);
|
|
8189
|
-
const Nc =
|
|
8238
|
+
const Nc = Ml.exports, w = {
|
|
8190
8239
|
INBOX: "inbox",
|
|
8191
8240
|
CONTACTS: "contacts",
|
|
8192
8241
|
CHANNELS: "channels",
|
|
@@ -8199,7 +8248,7 @@ const Nc = Rl.exports, w = {
|
|
|
8199
8248
|
DIALBOT: "dialbot",
|
|
8200
8249
|
ASSIGNED: "assigned",
|
|
8201
8250
|
DIGITAL: "digital"
|
|
8202
|
-
},
|
|
8251
|
+
}, Rl = {
|
|
8203
8252
|
[w.INBOX]: "inbox",
|
|
8204
8253
|
[w.CONTACTS]: "contacts",
|
|
8205
8254
|
[w.CHANNELS]: "hash",
|
|
@@ -8255,7 +8304,7 @@ const Nc = Rl.exports, w = {
|
|
|
8255
8304
|
return this.type === w.DIALBOT;
|
|
8256
8305
|
},
|
|
8257
8306
|
getIconName() {
|
|
8258
|
-
return
|
|
8307
|
+
return Rl[this.type];
|
|
8259
8308
|
},
|
|
8260
8309
|
contactCenterIconClasses() {
|
|
8261
8310
|
return [
|
|
@@ -8289,7 +8338,7 @@ const Wl = Hl.exports, Vl = {
|
|
|
8289
8338
|
name: "DtRecipeGeneralRow",
|
|
8290
8339
|
components: {
|
|
8291
8340
|
DtEmojiTextWrapper: Ae,
|
|
8292
|
-
DtBadge:
|
|
8341
|
+
DtBadge: Me,
|
|
8293
8342
|
DtIcon: y,
|
|
8294
8343
|
DtButton: S,
|
|
8295
8344
|
DtTooltip: ee,
|
|
@@ -8855,7 +8904,7 @@ const Hc = id.exports, _t = {
|
|
|
8855
8904
|
DtAvatar: fe,
|
|
8856
8905
|
DtLazyShow: $e,
|
|
8857
8906
|
DtListItem: De,
|
|
8858
|
-
DtBadge:
|
|
8907
|
+
DtBadge: Me
|
|
8859
8908
|
},
|
|
8860
8909
|
mixins: [Z],
|
|
8861
8910
|
inheritAttrs: !1,
|
|
@@ -9017,14 +9066,14 @@ var ld = function() {
|
|
|
9017
9066
|
return [e.$slots.reactions ? a("div", { staticClass: "dt-feed-item-row__reactions", attrs: { "data-qa": "dt-feed-item-row--reactions" } }, [e._t("reactions")], 2) : e._e(), e.$slots.threading ? a("div", { staticClass: "dt-feed-item-row__threading" }, [e._t("threading")], 2) : e._e()];
|
|
9018
9067
|
}, proxy: !0 }, { key: "right", fn: function() {
|
|
9019
9068
|
return [a("div", { directives: [{ name: "show", rawName: "v-show", value: e.isActive, expression: "isActive" }], staticClass: "dt-feed-item-row__menu", attrs: { "data-qa": "dt-feed-item-row--menu" } }, [a("dt-lazy-show", { attrs: { appear: !0, transition: "fade", show: e.isActive } }, [e._t("menu")], 2)], 1)];
|
|
9020
|
-
}, proxy: !0 }], null, !0) }, "dt-list-item", e.$attrs, !1), e.feedListeners), [a("article", { staticClass: "dt-feed-item-row__content" }, [e.showHeader ? a("div", { staticClass: "dt-feed-item-row__header", attrs: { "data-qa": "dt-feed-item-row--header" } }, [a("p", { staticClass: "dt-feed-item-row__header__name" }, [e._v(" " + e._s(e.displayName) + " ")]), a("time", { staticClass: "dt-feed-item-row__header__time" }, [e._v(" " + e._s(e.time) + " ")]), e.labelText ? a("dt-badge", { attrs: { text: e.labelText } }) : e._e()], 1) : e._e(), a("span", { attrs: { "data-qa": "dt-feed-item-row--content" } }, [e._t("default")], 2)])]);
|
|
9069
|
+
}, proxy: !0 }], null, !0) }, "dt-list-item", e.$attrs, !1), e.feedListeners), [a("article", { staticClass: "dt-feed-item-row__content" }, [e.showHeader ? a("div", { staticClass: "dt-feed-item-row__header", attrs: { "data-qa": "dt-feed-item-row--header" } }, [a("p", { staticClass: "dt-feed-item-row__header__name" }, [e._v(" " + e._s(e.displayName) + " ")]), a("time", { staticClass: "dt-feed-item-row__header__time" }, [e._v(" " + e._s(e.time) + " ")]), e.labelText ? a("dt-badge", { attrs: { text: e.labelText } }) : e._e()], 1) : e._e(), a("span", { attrs: { "data-qa": "dt-feed-item-row--content" } }, [e._t("default")], 2), e.$slots.attachment ? a("div", { staticClass: "dt-feed-item-row__attachment", attrs: { "data-qa": "dt-feed-item-row--attachment" } }, [e._t("attachment")], 2) : e._e()])]);
|
|
9021
9070
|
}, dd = [], cd = /* @__PURE__ */ c(
|
|
9022
9071
|
od,
|
|
9023
9072
|
ld,
|
|
9024
9073
|
dd,
|
|
9025
9074
|
!1,
|
|
9026
9075
|
null,
|
|
9027
|
-
"
|
|
9076
|
+
"4122e742",
|
|
9028
9077
|
null,
|
|
9029
9078
|
null
|
|
9030
9079
|
);
|
|
@@ -9349,7 +9398,7 @@ var Ld = function() {
|
|
|
9349
9398
|
null,
|
|
9350
9399
|
null
|
|
9351
9400
|
);
|
|
9352
|
-
const Ad = Ed.exports,
|
|
9401
|
+
const Ad = Ed.exports, Md = 64, Rd = {
|
|
9353
9402
|
name: "DtRecipeAttachmentCarousel",
|
|
9354
9403
|
components: {
|
|
9355
9404
|
DtButton: S,
|
|
@@ -9435,7 +9484,7 @@ const Ad = Ed.exports, Rd = 64, Md = {
|
|
|
9435
9484
|
}
|
|
9436
9485
|
},
|
|
9437
9486
|
removeMediaItem(t) {
|
|
9438
|
-
this.showRightArrow = this.$refs.carousel.scrollWidth > this.$refs.carousel.clientWidth +
|
|
9487
|
+
this.showRightArrow = this.$refs.carousel.scrollWidth > this.$refs.carousel.clientWidth + Md, this.$emit("remove-media", t);
|
|
9439
9488
|
},
|
|
9440
9489
|
closeButton(t, e) {
|
|
9441
9490
|
this.showCloseButton[e] = t;
|
|
@@ -9470,7 +9519,7 @@ var Bd = function() {
|
|
|
9470
9519
|
return [a("dt-icon", { attrs: { name: "arrow-right", size: "100" } })];
|
|
9471
9520
|
}, proxy: !0 }]) })], 1);
|
|
9472
9521
|
}, Pd = [], Nd = /* @__PURE__ */ c(
|
|
9473
|
-
|
|
9522
|
+
Rd,
|
|
9474
9523
|
Bd,
|
|
9475
9524
|
Pd,
|
|
9476
9525
|
!1,
|
|
@@ -9894,7 +9943,7 @@ var Wd = function() {
|
|
|
9894
9943
|
return a("dt-stack", { key: n.key, attrs: { direction: "row", gap: "300" } }, [e._l(n.buttonGroup, function(r) {
|
|
9895
9944
|
return a("dt-tooltip", { key: `${n.key}-${JSON.stringify(r.selector)}`, attrs: { message: r.tooltipMessage, placement: "top" }, scopedSlots: e._u([{ key: "anchor", fn: function() {
|
|
9896
9945
|
var s, i;
|
|
9897
|
-
return [a("dt-button", { attrs: { "data-qa": r.dataQA, importance: "clear", kind: "muted", active: (i = (s = e.$refs.richTextEditor) == null ? void 0 : s.editor) == null ? void 0 : i.isActive(r.selector), size: "xs" }, on: { click: function(o) {
|
|
9946
|
+
return [a("dt-button", { attrs: { "data-qa": r.dataQA, importance: "clear", kind: "muted", active: (i = (s = e.$refs.richTextEditor) == null ? void 0 : s.editor) == null ? void 0 : i.isActive(r.selector), size: "xs", "aria-label": r.tooltipMessage }, on: { click: function(o) {
|
|
9898
9947
|
return r.onClick();
|
|
9899
9948
|
} }, scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
9900
9949
|
return [a("dt-icon", { staticClass: "d-fw-bold", attrs: { name: r.iconName, size: "200" } })];
|
|
@@ -9908,12 +9957,12 @@ var Wd = function() {
|
|
|
9908
9957
|
} }, scopedSlots: e._u([{ key: "anchor", fn: function() {
|
|
9909
9958
|
return [a("dt-tooltip", { key: e.linkButton.key, attrs: { message: e.linkButton.tooltipMessage, placement: "top" }, scopedSlots: e._u([{ key: "anchor", fn: function() {
|
|
9910
9959
|
var n, r;
|
|
9911
|
-
return [a("dt-button", { staticClass: "d-ol-none", attrs: { "data-qa": e.linkButton.dataQA, importance: "clear", kind: "muted", active: (r = (n = e.$refs.richTextEditor) == null ? void 0 : n.editor) == null ? void 0 : r.isActive(e.linkButton.selector), size: "xs" }, on: { click: function(s) {
|
|
9960
|
+
return [a("dt-button", { staticClass: "d-ol-none", attrs: { "data-qa": e.linkButton.dataQA, importance: "clear", kind: "muted", active: (r = (n = e.$refs.richTextEditor) == null ? void 0 : n.editor) == null ? void 0 : r.isActive(e.linkButton.selector), size: "xs", "aria-label": e.linkButton.tooltipMessage }, on: { click: function(s) {
|
|
9912
9961
|
return e.linkButton.onClick();
|
|
9913
9962
|
} }, scopedSlots: e._u([{ key: "icon", fn: function() {
|
|
9914
9963
|
return [a("dt-icon", { staticClass: "d-fw-bold", attrs: { name: e.linkButton.iconName, size: "200" } })];
|
|
9915
9964
|
}, proxy: !0 }], null, !1, 540616731) })];
|
|
9916
|
-
}, proxy: !0 }], null, !1,
|
|
9965
|
+
}, proxy: !0 }], null, !1, 2091397100) })];
|
|
9917
9966
|
}, proxy: !0 }, { key: "content", fn: function() {
|
|
9918
9967
|
return [e.showAddLink.setLinkTitle.length > 0 ? a("span", [e._v(" " + e._s(e.showAddLink.setLinkTitle) + " ")]) : e._e(), a("dt-input", { attrs: { "input-aria-label": e.showAddLink.setLinkInputAriaLabel, "data-qa": "dt-editor-link-input", placeholder: e.setLinkPlaceholder, "input-wrapper-class": "d-bgc-black-100 d-mt6 d-bar5 d-ba d-baw1 d-bc-black-300 d-py2 d-ol-none" }, on: { click: e.onInputFocus, focus: e.onInputFocus, keydown: function(n) {
|
|
9919
9968
|
return !n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter") ? null : e.setLink.apply(null, arguments);
|
|
@@ -9924,7 +9973,7 @@ var Wd = function() {
|
|
|
9924
9973
|
}, expression: "linkInput" } })];
|
|
9925
9974
|
}, proxy: !0 }, { key: "footerContent", fn: function() {
|
|
9926
9975
|
return [a("div", { staticClass: "d-ml8 d-mr12" }, [a("dt-button", { staticClass: "d-mx2", attrs: { "aria-label": e.removeLinkButton.ariaLabel, importance: "clear", kind: "muted", size: "sm", "data-qa": "dt-editor-remove-link-btn" }, on: { click: e.removeLink } }, [e._v(" " + e._s(e.removeLinkButton.label) + " ")]), a("dt-button", { staticClass: "d-mx2", attrs: { "aria-label": e.cancelSetLinkButton.ariaLabel, importance: "clear", kind: "muted", size: "sm", "data-qa": "dt-editor-set-link-cancel-btn" }, on: { click: e.closeLinkInput } }, [e._v(" " + e._s(e.cancelSetLinkButton.label) + " ")]), a("dt-button", { staticClass: "d-mx2", attrs: { size: "sm", "aria-label": e.confirmSetLinkButton.ariaLabel, "data-qa": "dt-editor-set-link-confirm-btn" }, on: { click: e.setLink } }, [e._v(" " + e._s(e.confirmSetLinkButton.label) + " ")])], 1)];
|
|
9927
|
-
}, proxy: !0 }], null, !1,
|
|
9976
|
+
}, proxy: !0 }], null, !1, 1792797475) })], 1) : e._e()], 2), a("div", { staticClass: "d-of-auto d-mx16 d-mt8 d-mb16 d-c-text", style: { "max-height": e.maxHeight } }, [a("dt-rich-text-editor", e._b({ ref: "richTextEditor", attrs: { "data-qa": "dt-rich-text-editor", editable: e.editable, "input-aria-label": e.inputAriaLabel, "input-class": `${e.inputClass} d-ol-none d-my6`, "output-format": e.htmlOutputFormat, "auto-focus": e.autoFocus, placeholder: e.placeholder, "allow-line-breaks": !0, link: !1 }, on: { focus: e.onFocus, blur: e.onBlur, input: function(n) {
|
|
9928
9977
|
return e.onInput(n);
|
|
9929
9978
|
} }, model: { value: e.internalInputValue, callback: function(n) {
|
|
9930
9979
|
e.internalInputValue = n;
|
|
@@ -9947,7 +9996,7 @@ const Kc = Ud.exports, vt = {
|
|
|
9947
9996
|
critical: "dt-recipe-callbox--border-critical"
|
|
9948
9997
|
}, jd = {
|
|
9949
9998
|
name: "DtRecipeCallbox",
|
|
9950
|
-
components: { DtBadge:
|
|
9999
|
+
components: { DtBadge: Me, DtAvatar: fe },
|
|
9951
10000
|
inheritAttrs: !1,
|
|
9952
10001
|
props: {
|
|
9953
10002
|
/**
|
|
@@ -10146,7 +10195,7 @@ export {
|
|
|
10146
10195
|
Jt as DT_STACK_GAP,
|
|
10147
10196
|
du as DT_STACK_RESPONSIVE_BREAKPOINTS,
|
|
10148
10197
|
fe as DtAvatar,
|
|
10149
|
-
|
|
10198
|
+
Me as DtBadge,
|
|
10150
10199
|
rc as DtBanner,
|
|
10151
10200
|
Ka as DtBreadcrumbItem,
|
|
10152
10201
|
sc as DtBreadcrumbs,
|
|
@@ -10183,7 +10232,7 @@ export {
|
|
|
10183
10232
|
nc as DtNotice,
|
|
10184
10233
|
Pe as DtNoticeAction,
|
|
10185
10234
|
Be as DtNoticeContent,
|
|
10186
|
-
|
|
10235
|
+
Re as DtNoticeIcon,
|
|
10187
10236
|
hc as DtPagination,
|
|
10188
10237
|
J as DtPopover,
|
|
10189
10238
|
cu as DtPresence,
|
|
@@ -10207,7 +10256,7 @@ export {
|
|
|
10207
10256
|
Bc as DtRecipeIvrNode,
|
|
10208
10257
|
Nc as DtRecipeSettingsMenuButton,
|
|
10209
10258
|
Uc as DtRecipeTimePill,
|
|
10210
|
-
|
|
10259
|
+
Mc as DtRecipeTopBannerInfo,
|
|
10211
10260
|
Hc as DtRecipeUnreadPill,
|
|
10212
10261
|
kc as DtRootLayout,
|
|
10213
10262
|
vc as DtSelectMenu,
|
|
@@ -10236,7 +10285,7 @@ export {
|
|
|
10236
10285
|
ge as IVR_NODE_GO_TO,
|
|
10237
10286
|
ze as IVR_NODE_HANGUP,
|
|
10238
10287
|
wl as IVR_NODE_ICON_TYPES,
|
|
10239
|
-
|
|
10288
|
+
Rc as IVR_NODE_LABELS,
|
|
10240
10289
|
Ve as IVR_NODE_PROMPT_COLLECT,
|
|
10241
10290
|
We as IVR_NODE_PROMPT_MENU,
|
|
10242
10291
|
Ue as IVR_NODE_PROMPT_PLAY,
|
|
@@ -10244,7 +10293,7 @@ export {
|
|
|
10244
10293
|
$t as LABEL_SIZES,
|
|
10245
10294
|
ue as LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS,
|
|
10246
10295
|
Bl as LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR,
|
|
10247
|
-
|
|
10296
|
+
Rl as LEFTBAR_GENERAL_ROW_ICON_MAPPING,
|
|
10248
10297
|
Pl as LEFTBAR_GENERAL_ROW_ICON_SIZES,
|
|
10249
10298
|
w as LEFTBAR_GENERAL_ROW_TYPES,
|
|
10250
10299
|
$u as LINK_KIND_MODIFIERS,
|
|
@@ -10277,8 +10326,8 @@ export {
|
|
|
10277
10326
|
G as SHORTCUTS_ICON_ALIASES,
|
|
10278
10327
|
ys as SHORTCUTS_ICON_SEPARATOR,
|
|
10279
10328
|
Au as SKELETON_HEADING_HEIGHTS,
|
|
10280
|
-
|
|
10281
|
-
|
|
10329
|
+
Mu as SKELETON_RIPPLE_DURATION,
|
|
10330
|
+
Ru as SKELETON_SHAPES,
|
|
10282
10331
|
Bu as SKELETON_SHAPE_SIZES,
|
|
10283
10332
|
Pu as SKELETON_TEXT_TYPES,
|
|
10284
10333
|
Nu as TAB_IMPORTANCE_MODIFIERS,
|