@dialpad/dialtone-vue 3.94.2 → 3.95.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./tooltip-4736031b.cjs"),n=require("vue"),m={name:"dt-tooltip-directive",install(d){const l=document.createElement("div");document.body.appendChild(l);const s="top",r=n.createApp({name:"DtTooltipDirectiveApp",components:{DtTooltip:i.DtTooltip},data(){return{tooltips:[]}},methods:{addTooltip(t,e,o){this.tooltips.push({id:t,message:e,placement:o})},removeTooltip(t){this.tooltips=this.tooltips.filter(e=>e.id!==t)}},render(){return n.h("div",this.tooltips.map(({id:t,message:e,placement:o})=>n.h(i.DtTooltip,{key:t,message:e,placement:o,delay:process.env.NODE_ENV!=="test",externalAnchor:`[data-dt-tooltip-id="${t}"]`})))}});r.mount(l);const c=t=>typeof t=="string"&&(t==null?void 0:t.trim()),a=t=>t===void 0||i.TOOLTIP_DIRECTIONS.includes(t);d.directive("dt-tooltip",{beforeMount(t,e){var p;if(!c(e.value)){console.warn("Missing value for v-dt-tooltip directive on: ",t,"received value: ",e.value);return}if(!a(e.arg)){console.warn("Wrong placement value provided for v-dt-tooltip directive on: ",t,"received value: ",e.arg);return}const o=i.getUniqueString(),u=e.value,v=e.arg||s;t.setAttribute("data-dt-tooltip-id",o),(p=r._instance)==null||p.ctx.addTooltip(o,u,v)},unmounted(t){var e;(e=r._instance)==null||e.ctx.removeTooltip(t.getAttribute("data-dt-tooltip-id"))}})}};exports.DtTooltipDirective=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./tooltip_constants-mcMQGvF_.cjs"),r=require("vue"),m={name:"dt-tooltip-directive",install(p){const l=document.createElement("div");document.body.appendChild(l);const d="top",n=r.createApp({name:"DtTooltipDirectiveApp",components:{DtTooltip:i.DtTooltip},data(){return{tooltips:[]}},methods:{addTooltip(t,e,o){this.tooltips.push({id:t,message:e,placement:o})},removeTooltip(t){this.tooltips=this.tooltips.filter(e=>e.id!==t)}},render(){return r.h("div",this.tooltips.map(({id:t,message:e,placement:o})=>r.h(i.DtTooltip,{key:t,message:e,placement:o,delay:process.env.NODE_ENV!=="test",externalAnchor:`[data-dt-tooltip-id="${t}"]`})))}});n.mount(l);const c=t=>typeof t=="string"&&(t==null?void 0:t.trim()),a=t=>t===void 0||i.TOOLTIP_DIRECTIONS.includes(t);p.directive("dt-tooltip",{beforeMount(t,e){var s;if(!c(e.value)){console.warn("Missing value for v-dt-tooltip directive on: ",t,"received value: ",e.value);return}if(!a(e.arg)){console.warn("Wrong placement value provided for v-dt-tooltip directive on: ",t,"received value: ",e.arg);return}const o=i.getUniqueString(),u=e.value,v=e.arg||d;t.setAttribute("data-dt-tooltip-id",o),(s=n._instance)==null||s.ctx.addTooltip(o,u,v)},unmounted(t){var e;(e=n._instance)==null||e.ctx.removeTooltip(t.getAttribute("data-dt-tooltip-id"))}})}};exports.DtTooltipDirective=m;
@@ -1,4 +1,4 @@
1
- import { D as p, g as v, T } from "./tooltip-e2013b2a.js";
1
+ import { D as p, g as v, T } from "./tooltip_constants-pAtd8bjI.js";
2
2
  import { createApp as D, h as s } from "vue";
3
3
  const A = {
4
4
  name: "dt-tooltip-directive",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as n, createElementVNode as e, createStaticVNode as s, createBlock as G, resolveDynamicComponent as Nd, normalizeClass as M, createCommentVNode as z, warn as ye, mergeProps as I, toHandlers as de, renderSlot as U, normalizeStyle as he, resolveComponent as q, Fragment as J, renderList as W, createVNode as O, toDisplayString as N, createTextVNode as we, withKeys as F, withCtx as X, ref as $, onMounted as Ce, withModifiers as Ae, createSlots as Kd, computed as Y, toRefs as Jd, watch as ee, nextTick as ue, onUnmounted as Wd, withDirectives as oe, unref as T, vShow as ne, watchEffect as je } from "vue";
2
- import { _ as L, g as ke, h as Se, V as le, k as Yd, b as Oe, f as Xd, i as Qd, D as eu } from "./tooltip-e2013b2a.js";
2
+ import { _ as L, g as ke, h as Se, V as le, k as Yd, b as Oe, f as Xd, i as Qd, D as eu } from "./tooltip_constants-pAtd8bjI.js";
3
3
  const au = {
4
4
  "aria-hidden": "true",
5
5
  role: "img",
@@ -14446,8 +14446,7 @@ function Nae(a, t, r, i, d, c) {
14446
14446
  ])
14447
14447
  ], 2);
14448
14448
  }
14449
- const Kae = /* @__PURE__ */ L(Uae, [["render", Nae]]);
14450
- const Jae = {
14449
+ const Kae = /* @__PURE__ */ L(Uae, [["render", Nae]]), Jae = {
14451
14450
  name: "DtSkeleton",
14452
14451
  components: {
14453
14452
  DtSkeletonText: Md,