@dialpad/dialtone-vue 2.104.3 → 2.105.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-7199e960.cjs");require("vue");require("./_plugin-vue2_normalizer-d59b995e.cjs");const u={name:"dt-tooltip-directive",install(l){const p=document.createElement("div");document.body.appendChild(p);const n="top",r=new l({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(t){return t("div",{domProps:{id:"dt-tooltip-directive-app"}},[this.tooltips.map(({id:e,message:o,placement:d})=>t(i.DtTooltip,{key:e,props:{message:o,placement:d,delay:process.env.NODE_ENV!=="test",externalAnchor:`[data-dt-tooltip-id="${e}"]`}}))])}});r.$mount(p);const s=t=>typeof t=="string"&&(t==null?void 0:t.trim()),a=t=>t===void 0||i.TOOLTIP_DIRECTIONS.includes(t);l.directive("dt-tooltip",{bind(t,e){if(!s(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(),d=e.value,c=e.arg||n;t.setAttribute("data-dt-tooltip-id",o),r.addTooltip(o,d,c)},unbind(t){r.removeTooltip(t.getAttribute("data-dt-tooltip-id"))}})}};exports.DtTooltipDirective=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./tooltip_constants-eQzi1S-l.cjs");require("vue");require("./_plugin-vue2_normalizer-1P4G3Z0k.cjs");const u={name:"dt-tooltip-directive",install(d){const l=document.createElement("div");document.body.appendChild(l);const p="top",r=new d({name:"DtTooltipDirectiveApp",components:{DtTooltip:i.DtTooltip},data(){return{tooltips:[]}},methods:{addTooltip(t,o,e){this.tooltips.push({id:t,message:o,placement:e})},removeTooltip(t){this.tooltips=this.tooltips.filter(o=>o.id!==t)}},render(t){return t("div",{domProps:{id:"dt-tooltip-directive-app"}},[this.tooltips.map(({id:o,message:e,placement:n})=>t(i.DtTooltip,{key:o,props:{message:e,placement:n,delay:process.env.NODE_ENV!=="test",externalAnchor:`[data-dt-tooltip-id="${o}"]`}}))])}});r.$mount(l);const s=t=>typeof t=="string"&&(t==null?void 0:t.trim()),a=t=>t===void 0||i.TOOLTIP_DIRECTIONS.includes(t);d.directive("dt-tooltip",{bind(t,o){if(!s(o.value)){console.warn("Missing value for v-dt-tooltip directive on: ",t,"received value: ",o.value);return}if(!a(o.arg)){console.warn("Wrong placement value provided for v-dt-tooltip directive on: ",t,"received value: ",o.arg);return}const e=i.getUniqueString(),n=o.value,c=o.arg||p;t.setAttribute("data-dt-tooltip-id",e),r.addTooltip(e,n,c)},unbind(t){r.removeTooltip(t.getAttribute("data-dt-tooltip-id"))}})}};exports.DtTooltipDirective=u;
@@ -1,6 +1,6 @@
1
- import { D as n, g as m, T as v } from "./tooltip-4c644605.js";
1
+ import { D as n, g as m, T as v } from "./tooltip_constants-IjzmwQZI.js";
2
2
  import "vue";
3
- import "./_plugin-vue2_normalizer-71e2aa87.js";
3
+ import "./_plugin-vue2_normalizer-u6G_3nkj.js";
4
4
  const f = {
5
5
  name: "dt-tooltip-directive",
6
6
  install(p) {
@@ -1,4 +1,4 @@
1
- import { n as f } from "./_plugin-vue2_normalizer-71e2aa87.js";
1
+ import { n as f } from "./_plugin-vue2_normalizer-u6G_3nkj.js";
2
2
  const _ = {
3
3
  100: "d-icon--size-100",
4
4
  200: "d-icon--size-200",
@@ -457,8 +457,7 @@ var $ = function() {
457
457
  null,
458
458
  null
459
459
  );
460
- const W = U.exports;
461
- const V = {
460
+ const W = U.exports, V = {
462
461
  name: "DtSkeleton",
463
462
  components: {
464
463
  DtSkeletonText: g,