@dialpad/dialtone-vue 3.94.0 → 3.94.2

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.
@@ -1,738 +0,0 @@
1
- import I, { sticky as L } from "/home/runner/work/dialtone-vue/dialtone-vue/node_modules/tippy.js/dist/tippy.esm.js";
2
- import { h as P, Comment as O, Text as C, openBlock as c, createBlock as N, Transition as D, mergeProps as f, withCtx as p, withDirectives as k, createElementVNode as z, normalizeProps as U, guardReactiveProps as V, renderSlot as u, createCommentVNode as m, vShow as M, resolveComponent as F, createElementBlock as h, withKeys as j, createVNode as B, toHandlers as H, createTextVNode as Y, toDisplayString as $ } from "vue";
3
- const a = {
4
- ERROR: "error",
5
- WARNING: "warning",
6
- SUCCESS: "success"
7
- }, Ue = {
8
- LARGE: "lg",
9
- EXTRA_LARGE: "xl"
10
- }, Ve = {
11
- xs: "",
12
- sm: "",
13
- md: "",
14
- lg: "d-description--lg",
15
- xl: "d-description--xl"
16
- }, Me = {
17
- xs: "d-label--xs",
18
- sm: "d-label--sm",
19
- md: "",
20
- lg: "d-label--lg",
21
- xl: "d-label--xl"
22
- }, Fe = {
23
- esc: "Esc",
24
- escape: "Escape",
25
- tab: "Tab",
26
- enter: "Enter",
27
- space: "Space",
28
- spacebar: "Spacebar",
29
- up: "Up",
30
- arrowup: "ArrowUp",
31
- left: "Left",
32
- arrowleft: "ArrowLeft",
33
- right: "Right",
34
- arrowright: "ArrowRight",
35
- down: "Down",
36
- arrowdown: "ArrowDown",
37
- home: "Home",
38
- end: "End"
39
- }, q = a.ERROR, K = "dt";
40
- let G = 0, d;
41
- const W = typeof setImmediate == "function" ? setImmediate : setTimeout;
42
- function E(e = K) {
43
- return `${e}${G++}`;
44
- }
45
- function Z(e, t) {
46
- if (t) {
47
- const n = Q(t);
48
- return e[Math.abs(n) % e.length];
49
- } else
50
- return e[g(e.length)];
51
- }
52
- function Q(e) {
53
- let t;
54
- for (let n = 0; n < e.length; n++)
55
- t = Math.imul(31, t) + e.charCodeAt(n) | 0;
56
- return t;
57
- }
58
- function g(e) {
59
- return Math.floor(Math.random() * e);
60
- }
61
- function X(e) {
62
- return e ? e.map((t) => typeof t == "string" ? {
63
- message: t,
64
- type: q
65
- } : t) : [];
66
- }
67
- function J(e) {
68
- const t = w(e);
69
- return !e || !t ? [] : e.filter((n) => !!n.message && n.type === t);
70
- }
71
- function w(e) {
72
- return e ? l(e, a.ERROR) ? a.ERROR : l(e, a.WARNING) ? a.WARNING : l(e, a.SUCCESS) ? a.SUCCESS : null : null;
73
- }
74
- function l(e, t) {
75
- return !e || !t ? !1 : e.some((n) => (n == null ? void 0 : n.type) === t);
76
- }
77
- const ee = (e) => P("div", { innerHTML: e.html }), te = () => new Promise((e) => {
78
- W(e);
79
- });
80
- function ne(e, t = {}) {
81
- return e ? e(t).some((n) => n.type === O || Array.isArray(n.children) && !n.children.length ? !1 : n.type !== C || typeof n.children == "string" && n.children.trim() !== "") : !1;
82
- }
83
- const oe = (e) => e == null ? void 0 : e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), re = (e) => {
84
- const t = Object.entries(e).filter(([n]) => n.startsWith("on"));
85
- return Object.fromEntries(t);
86
- };
87
- function se(e, t = 300) {
88
- clearTimeout(d), d = setTimeout(e, t);
89
- }
90
- function ie(e) {
91
- const t = e.getBoundingClientRect(), n = {
92
- top: t.top < 0,
93
- left: t.left < 0,
94
- bottom: t.bottom > (window.innerHeight || document.documentElement.clientHeight),
95
- right: t.right > (window.innerWidth || document.documentElement.clientWidth)
96
- };
97
- return n.any = Object.values(n).some((r) => r), n.all = Object.values(n).every((r) => r), n;
98
- }
99
- const ae = /(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/, le = new RegExp(
100
- "(?:com|ru|org|net|de|jp|uk|br|it|pl|fr|in|au|ir|info|nl|cn|es|cz|kr|ca|eu|ua|co|gr|za|ro|biz|ch|se|tw|mx|vn|hu|be|tr|at|dk|tv|me|ar|sk|no|us|fi|id|cl|xyz|io|pt|by|il|ie|nz|kz|hk|lt|cc|my|sg|club|bg|edu|рф|pk|su|top|th|hr|rs|pe|pro|si|az|lv|pw|ae|ph|online|ng|ee|ws|ve|cat)"
101
- ), ce = new RegExp(
102
- "(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])"
103
- ), y = new RegExp(
104
- "(?:" + [
105
- [
106
- ae.source,
107
- le.source
108
- ].join("+"),
109
- ce.source
110
- ].join("|") + ")"
111
- ), ue = /(?:(?:[;/][^#?<>\s]*)?)/, S = /(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/, A = new RegExp(
112
- "\\b" + [
113
- y.source,
114
- ue.source,
115
- S.source,
116
- "(?!\\w)"
117
- ].join("+")
118
- ), b = /\b[a-z\d.-]+:\/\/[^<>\s]+/, x = new RegExp(
119
- "(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@" + [
120
- y.source,
121
- S.source
122
- ].join("+") + "(?!\\w)"
123
- );
124
- function T(e = 7, t = 15) {
125
- let n = !0;
126
- try {
127
- RegExp("(?<=\\W)");
128
- } catch {
129
- n = !1;
130
- }
131
- return new RegExp(
132
- `${n ? "(?:^|(?<=\\W))" : ""}(?![\\s\\-])\\+?(?:[0-9()\\- \\t]{${e},${t}})(?=\\b)(?=\\W(?=\\W|$)|\\s|$)`
133
- );
134
- }
135
- const v = T(), he = new RegExp(
136
- [
137
- A.source,
138
- b.source,
139
- x.source,
140
- v.source
141
- ].join("|"),
142
- "gi"
143
- );
144
- function de(e) {
145
- var t;
146
- return !e || !["string", "number"].includes(typeof e) ? !1 : (e = e.toString(), ((t = v.exec(e)) == null ? void 0 : t[0]) === e);
147
- }
148
- function fe(e) {
149
- var t, n;
150
- return !e || typeof e != "string" ? !1 : ((t = A.exec(e)) == null ? void 0 : t[0]) === e || ((n = b.exec(e)) == null ? void 0 : n[0]) === e;
151
- }
152
- function pe(e) {
153
- var t;
154
- return !e || typeof e != "string" ? !1 : ((t = x.exec(e)) == null ? void 0 : t[0]) === e;
155
- }
156
- function me(e) {
157
- return e.filter((t) => !!t).join(" ");
158
- }
159
- function Ee(e, t = "en-US") {
160
- return e.replace(/^\p{CWU}/u, (n) => n.toLocaleUpperCase(t));
161
- }
162
- const je = {
163
- getUniqueString: E,
164
- getRandomElement: Z,
165
- getRandomInt: g,
166
- formatMessages: X,
167
- filterFormattedMessages: J,
168
- hasFormattedMessageOfType: l,
169
- getValidationState: w,
170
- htmlFragment: ee,
171
- flushPromises: te,
172
- kebabCaseToPascalCase: oe,
173
- extractVueListeners: re,
174
- debounce: se,
175
- isOutOfViewPort: ie,
176
- getPhoneNumberRegex: T,
177
- linkRegex: he,
178
- isEmailAddress: pe,
179
- isPhoneNumber: de,
180
- isURL: fe,
181
- safeConcatStrings: me,
182
- capitalizeFirstLetter: Ee
183
- }, R = (e, t) => {
184
- const n = e.__vccOpts || e;
185
- for (const [r, s] of t)
186
- n[r] = s;
187
- return n;
188
- }, ge = {
189
- name: "DtLazyShow",
190
- inheritAttrs: !1,
191
- /******************
192
- * PROPS *
193
- ******************/
194
- props: {
195
- /**
196
- * Whether the child slot is shown.
197
- * @values true, false
198
- */
199
- show: {
200
- type: Boolean,
201
- default: !1
202
- },
203
- /**
204
- * A valid Vue enter/leave CSS transition name.
205
- */
206
- transition: {
207
- type: String,
208
- default: null
209
- },
210
- /**
211
- * Enable/Disable transition animation
212
- * @values true, false
213
- */
214
- appear: {
215
- type: Boolean,
216
- default: !1
217
- }
218
- },
219
- /******************
220
- * DATA *
221
- ******************/
222
- data() {
223
- return {
224
- initialized: !!this.show
225
- };
226
- },
227
- computed: {
228
- /**
229
- * Set the css property to false when running tests only.
230
- * Refer to: https://vuejs.org/guide/built-ins/transition.html#javascript-hooks for details about
231
- * transition `css` property
232
- * @returns {boolean}
233
- */
234
- isCSSEnabled() {
235
- return process.env.NODE_ENV !== "test";
236
- }
237
- },
238
- /******************
239
- * WATCH *
240
- ******************/
241
- watch: {
242
- show: function(e) {
243
- !e || this.initialized || (this.initialized = !0);
244
- }
245
- }
246
- };
247
- function we(e, t, n, r, s, o) {
248
- return c(), N(D, f({
249
- name: n.transition,
250
- appear: n.appear
251
- }, e.$attrs, { css: o.isCSSEnabled }), {
252
- default: p(() => [
253
- k(z("div", U(V(e.$attrs)), [
254
- s.initialized ? u(e.$slots, "default", { key: 0 }) : m("", !0)
255
- ], 16), [
256
- [M, n.show]
257
- ])
258
- ]),
259
- _: 3
260
- }, 16, ["name", "appear", "css"]);
261
- }
262
- const ye = /* @__PURE__ */ R(ge, [["render", we]]), Se = (e) => ({
263
- name: "arrowDetected",
264
- enabled: !0,
265
- phase: "main",
266
- fn: e,
267
- requiresIfExists: ["offset"]
268
- }), Ae = [
269
- "bottom",
270
- "bottom-start",
271
- "bottom-end",
272
- "right",
273
- "right-start",
274
- "right-end",
275
- "left",
276
- "left-start",
277
- "left-end",
278
- "top",
279
- "top-start",
280
- "top-end"
281
- ], be = [!0, !1, "reference", "popper"], xe = (e, t) => {
282
- const { contentElement: n } = { ...t };
283
- return delete t.contentElement, I(e, {
284
- ...t,
285
- plugins: [L],
286
- render: () => _e(n)
287
- });
288
- }, Te = ({
289
- boundary: e = "clippingParents",
290
- fallbackPlacements: t = [],
291
- onChangePlacement: n = () => {
292
- },
293
- hasHideModifierEnabled: r = !1,
294
- // If set to false the dialog will display over top of the anchor when there is insufficient space.
295
- // if set to true it will never move from its position relative to the anchor and will clip instead.
296
- tether: s = !0
297
- } = {}) => ({
298
- modifiers: [
299
- {
300
- name: "flip",
301
- options: {
302
- fallbackPlacements: t,
303
- boundary: e
304
- }
305
- },
306
- {
307
- name: "hide",
308
- enabled: r
309
- },
310
- {
311
- name: "preventOverflow",
312
- options: {
313
- altAxis: !s,
314
- tether: s
315
- }
316
- },
317
- Se(({ state: o }) => {
318
- n(o.placement);
319
- })
320
- ]
321
- }), ve = (e) => {
322
- const t = document.createElement("span");
323
- return t.innerText = e.innerText || "", e.innerText = "", e.appendChild(t), t;
324
- }, Re = (e) => {
325
- const t = e == null ? void 0 : e.children[0];
326
- return t || ve(e);
327
- }, _e = (e) => {
328
- const t = document.createElement("div");
329
- return t.className = "tippy-box d-ps-absolute", t.appendChild(e), {
330
- popper: t
331
- };
332
- }, Ie = [
333
- ...Ae
334
- ], Le = 300, Pe = {
335
- hover: "d-tooltip--hover",
336
- show: "d-tooltip--show",
337
- inverted: "d-tooltip--inverted",
338
- hide: "d-tooltip--hide"
339
- }, Oe = [
340
- ...be
341
- ], Be = [!0, !1, "toggle"];
342
- const Ce = {
343
- // eslint-disable-next-line vue/multi-word-component-names
344
- name: "DtTooltip",
345
- components: {
346
- DtLazyShow: ye
347
- },
348
- props: {
349
- /**
350
- * The id of the tooltip
351
- */
352
- id: {
353
- type: String,
354
- default() {
355
- return E();
356
- }
357
- },
358
- /**
359
- * If the popover does not fit in the direction described by "placement",
360
- * it will attempt to change its direction to the "fallbackPlacements"
361
- * if defined, otherwise it will automatically position to a new location
362
- * as it sees best fit. See
363
- * <a
364
- * class="d-link"
365
- * href="https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements"
366
- * target="_blank"
367
- * >
368
- * Popper.js docs
369
- * </a>
370
- * */
371
- fallbackPlacements: {
372
- type: Array,
373
- default: () => ["auto"]
374
- },
375
- /**
376
- * If true, applies inverted styles to the tooltip
377
- * @values true, false
378
- */
379
- inverted: {
380
- type: Boolean,
381
- default: !1
382
- },
383
- /**
384
- * Displaces the tooltip from its reference element
385
- * by the specified number of pixels. See
386
- * <a
387
- * class="d-link"
388
- * href="https://atomiks.github.io/tippyjs/v6/all-props/#offset"
389
- * target="_blank"
390
- * >
391
- * Tippy.js docs
392
- * </a>
393
- */
394
- offset: {
395
- type: Array,
396
- default: () => [0, -4]
397
- },
398
- /**
399
- * The direction the popover displays relative to the anchor. See
400
- * <a
401
- * class="d-link"
402
- * href="https://atomiks.github.io/tippyjs/v6/all-props/#placement"
403
- * target="_blank"
404
- * >
405
- * Tippy.js docs
406
- * </a>
407
- * @values top, top-start, top-end,
408
- * right, right-start, right-end,
409
- * left, left-start, left-end,
410
- * bottom, bottom-start, bottom-end,
411
- * auto, auto-start, auto-end
412
- */
413
- placement: {
414
- type: String,
415
- default: "top",
416
- validator(e) {
417
- return Ie.includes(e);
418
- }
419
- },
420
- /**
421
- * If the tooltip sticks to the anchor. This is usually not needed, but can be needed
422
- * if the reference element's position is animating, or to automatically update the popover
423
- * position in those cases the DOM layout changes the reference element's position.
424
- * `true` enables it, `reference` only checks the "reference" rect for changes and `popper` only
425
- * checks the "popper" rect for changes. See
426
- * <a
427
- * class="d-link"
428
- * href="https://atomiks.github.io/tippyjs/v6/all-props/#sticky"
429
- * target="_blank"
430
- * >
431
- * Tippy.js docs
432
- * </a>
433
- * @values true, false, reference, popper
434
- */
435
- sticky: {
436
- type: [Boolean, String],
437
- default: !1,
438
- validator: (e) => Oe.includes(e)
439
- },
440
- /**
441
- * Additional css classes for the tooltip content element.
442
- * Can accept all of String, Object, and Array, i.e. has the
443
- * same api as Vue's built-in handling of the class attribute.
444
- */
445
- contentClass: {
446
- type: [String, Object, Array],
447
- default: ""
448
- },
449
- /**
450
- * A provided message for the tooltip content
451
- */
452
- message: {
453
- type: String,
454
- default: ""
455
- },
456
- /**
457
- * Controls whether hover/focus causes the tooltip to appear.
458
- * Cannot be combined with the show prop. show value will be ignored.
459
- * by default this is true, if you override with false, the tooltip will never show up.
460
- */
461
- enabled: {
462
- type: Boolean,
463
- default: !0
464
- },
465
- /**
466
- * Controls whether the tooltip is shown. Leaving this null will have the tooltip trigger on mouseover by default.
467
- * If you set this value, the default mouseover behavior will be disabled and you can control it as you need.
468
- * Supports .sync modifier
469
- * @values null, true, false
470
- */
471
- show: {
472
- type: Boolean,
473
- default: null
474
- },
475
- /**
476
- * Named transition when the content display is toggled.
477
- * @see DtLazyShow
478
- */
479
- transition: {
480
- type: String,
481
- default: "fade"
482
- },
483
- /**
484
- * Whether to apply transition on initial render in the content lazy show component.
485
- * @values true, false
486
- */
487
- contentAppear: {
488
- type: Boolean,
489
- default: !1
490
- },
491
- /**
492
- * Whether the tooltip will have a delay when being focused or moused over.
493
- * @values true, false
494
- */
495
- delay: {
496
- type: Boolean,
497
- default: !0
498
- },
499
- /**
500
- * External anchor id to use in those cases the anchor can't be provided via the slot.
501
- * For instance, using the combobox's input as the anchor for the popover.
502
- */
503
- externalAnchor: {
504
- type: String,
505
- default: null
506
- }
507
- },
508
- emits: [
509
- /**
510
- * Event fired to sync the show prop with the parent component
511
- * @event update:show
512
- */
513
- "update:show",
514
- /**
515
- * Emitted when tooltip is shown or hidden
516
- *
517
- * @event shown
518
- * @type {Boolean}
519
- */
520
- "shown"
521
- ],
522
- data() {
523
- return {
524
- TOOLTIP_KIND_MODIFIERS: Pe,
525
- hasSlotContent: ne,
526
- tip: null,
527
- inTimer: null,
528
- // Internal state for whether the tooltip is shown. Changing the prop
529
- // will update this.
530
- isShown: !1,
531
- // this is where the placement currently is, this can be different than
532
- // the placement prop when there is not enough available room for the tip
533
- // to display and it uses a fallback placement.
534
- currentPlacement: this.placement
535
- };
536
- },
537
- computed: {
538
- // whether the tooltip is visible or not.
539
- isVisible() {
540
- return this.isShown && this.enabled && (!!this.message.trim() || !!this.$slots.default);
541
- },
542
- tooltipListeners() {
543
- return {
544
- "after-leave": () => {
545
- this.onLeaveTransitionComplete();
546
- },
547
- "after-enter": () => {
548
- this.onEnterTransitionComplete();
549
- }
550
- };
551
- },
552
- tippyProps() {
553
- return {
554
- offset: this.offset,
555
- interactive: !1,
556
- trigger: "manual",
557
- placement: this.placement,
558
- sticky: this.sticky,
559
- popperOptions: Te({
560
- fallbackPlacements: this.fallbackPlacements,
561
- hasHideModifierEnabled: !0,
562
- onChangePlacement: this.onChangePlacement
563
- })
564
- };
565
- },
566
- anchor() {
567
- return this.externalAnchor ? document.body.querySelector(this.externalAnchor) : Re(this.$refs.anchor);
568
- }
569
- },
570
- watch: {
571
- tippyProps: {
572
- handler: "setProps",
573
- deep: !0
574
- },
575
- show: {
576
- handler: function(e) {
577
- e !== null && (this.isShown = e);
578
- },
579
- immediate: !0
580
- },
581
- isShown(e) {
582
- e ? (this.setProps(), this.tip.show()) : this.tip.hide();
583
- },
584
- sticky(e) {
585
- this.tip.setProps({
586
- sticky: e
587
- });
588
- }
589
- },
590
- mounted() {
591
- !this.enabled && this.show != null && (console.warn("Tooltip: You cannot use both the enabled and show props at the same time."), console.warn("The show prop will be ignored.")), this.externalAnchor && this.addExternalAnchorEventListeners(), this.tip = xe(this.anchor, this.initOptions()), this.isShown && this.tip.show();
592
- },
593
- beforeUnmount() {
594
- var e;
595
- this.externalAnchor && this.removeExternalAnchorEventListeners(), this.tip && ((e = this.tip) == null || e.destroy());
596
- },
597
- methods: {
598
- calculateAnchorZindex() {
599
- return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]') || // Special case because we don't have any dialtone drawer component yet. Render at 651 when
600
- // anchor of popover is within a drawer.
601
- this.$el.closest(".d-zi-drawer") ? 651 : 400;
602
- },
603
- hasVisibleFocus() {
604
- return this.anchor.matches(":focus-visible");
605
- },
606
- onEnterAnchor(e) {
607
- this.delay ? this.inTimer = setTimeout((function(t) {
608
- this.triggerShow(t);
609
- }).bind(this, e), Le) : this.triggerShow(e);
610
- },
611
- triggerShow(e) {
612
- e.type === "focusin" ? this.show === null && this.hasVisibleFocus() && (this.isShown = !0) : this.show === null && (this.isShown = !0);
613
- },
614
- onLeaveAnchor(e) {
615
- e.type === "keydown" && e.code !== "Escape" || (clearTimeout(this.inTimer), this.triggerHide());
616
- },
617
- triggerHide() {
618
- this.show === null && (this.isShown = !1);
619
- },
620
- onChangePlacement(e) {
621
- this.currentPlacement = e;
622
- },
623
- onLeaveTransitionComplete() {
624
- var e;
625
- (e = this.tip) == null || e.unmount(), this.$emit("shown", !1), this.show !== null && this.$emit("update:show", !1);
626
- },
627
- onEnterTransitionComplete() {
628
- this.$emit("shown", !0), this.show !== null && this.$emit("update:show", !0);
629
- },
630
- setProps() {
631
- this.tip && this.tip.setProps && this.tip.setProps({
632
- ...this.tippyProps,
633
- zIndex: this.calculateAnchorZindex()
634
- });
635
- },
636
- onMount() {
637
- this.setProps();
638
- },
639
- initOptions() {
640
- return {
641
- contentElement: this.$refs.content.$el,
642
- allowHTML: !0,
643
- zIndex: this.calculateAnchorZindex(),
644
- onMount: this.onMount,
645
- ...this.tippyProps
646
- };
647
- },
648
- addExternalAnchorEventListeners() {
649
- ["focusin", "mouseenter"].forEach((e) => {
650
- this.anchor.addEventListener(e, (t) => this.onEnterAnchor(t));
651
- }), ["focusout", "mouseleave", "keydown"].forEach((e) => {
652
- this.anchor.addEventListener(e, (t) => this.onLeaveAnchor(t));
653
- });
654
- },
655
- removeExternalAnchorEventListeners() {
656
- ["focusin", "mouseenter"].forEach((e) => {
657
- this.anchor.removeEventListener(e, (t) => this.onEnterAnchor(t));
658
- }), ["focusout", "mouseleave", "keydown"].forEach((e) => {
659
- this.anchor.removeEventListener(e, (t) => this.onLeaveAnchor(t));
660
- });
661
- }
662
- }
663
- }, Ne = { "data-qa": "dt-tooltip-container" };
664
- function De(e, t, n, r, s, o) {
665
- const _ = F("dt-lazy-show");
666
- return c(), h("div", Ne, [
667
- n.externalAnchor ? m("", !0) : (c(), h("span", {
668
- key: 0,
669
- ref: "anchor",
670
- "data-qa": "dt-tooltip-anchor",
671
- onFocusin: t[0] || (t[0] = (...i) => o.onEnterAnchor && o.onEnterAnchor(...i)),
672
- onFocusout: t[1] || (t[1] = (...i) => o.onLeaveAnchor && o.onLeaveAnchor(...i)),
673
- onMouseenter: t[2] || (t[2] = (...i) => o.onEnterAnchor && o.onEnterAnchor(...i)),
674
- onMouseleave: t[3] || (t[3] = (...i) => o.onLeaveAnchor && o.onLeaveAnchor(...i)),
675
- onKeydown: t[4] || (t[4] = j((...i) => o.onLeaveAnchor && o.onLeaveAnchor(...i), ["esc"]))
676
- }, [
677
- u(e.$slots, "anchor")
678
- ], 544)),
679
- B(_, f({
680
- id: n.id,
681
- ref: "content",
682
- show: o.isVisible,
683
- role: "tooltip",
684
- "aria-hidden": "false",
685
- "data-qa": "dt-tooltip",
686
- appear: n.contentAppear,
687
- transition: n.transition,
688
- class: [
689
- "d-tooltip",
690
- `d-tooltip__arrow-tippy--${s.currentPlacement}`,
691
- {
692
- [s.TOOLTIP_KIND_MODIFIERS.inverted]: n.inverted
693
- },
694
- n.contentClass
695
- ]
696
- }, H(o.tooltipListeners)), {
697
- default: p(() => [
698
- u(e.$slots, "default", {}, () => [
699
- Y($(n.message), 1)
700
- ])
701
- ]),
702
- _: 3
703
- }, 16, ["id", "show", "appear", "transition", "class"])
704
- ]);
705
- }
706
- const He = /* @__PURE__ */ R(Ce, [["render", De]]);
707
- export {
708
- He as D,
709
- Fe as E,
710
- Me as L,
711
- Ie as T,
712
- a as V,
713
- R as _,
714
- w as a,
715
- X as b,
716
- Ue as c,
717
- ye as d,
718
- re as e,
719
- J as f,
720
- E as g,
721
- ne as h,
722
- Ve as i,
723
- Ee as j,
724
- q as k,
725
- Le as l,
726
- Pe as m,
727
- Oe as n,
728
- Be as o,
729
- Z as p,
730
- be as q,
731
- ie as r,
732
- me as s,
733
- Te as t,
734
- je as u,
735
- xe as v,
736
- T as w,
737
- he as x
738
- };