@dialpad/dialtone-vue 3.112.0 → 3.114.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 +25 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +5 -5
- package/dist/dialtone-vue.js +291 -280
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +1 -1
- package/dist/{emoji-acqIsOA0.js → emoji-ifbDMGtx.js} +1 -1
- package/dist/{emoji-gFUvTgzf.cjs → emoji-q4ZpxDOX.cjs} +1 -1
- package/dist/emoji.cjs +1 -1
- package/dist/emoji.js +4 -4
- package/dist/{emoji_picker-7KBwg94e.js → emoji_picker-G6QLC4uN.js} +2 -2
- package/dist/{emoji_picker-XmAzvsvD.cjs → emoji_picker-i3y8jyyY.cjs} +1 -1
- package/dist/{emoji_text_wrapper-Cr15_VcH.cjs → emoji_text_wrapper-spWldgj4.cjs} +1 -1
- package/dist/{emoji_text_wrapper-TK25xXF3.js → emoji_text_wrapper-vQeoLfQ4.js} +1 -1
- package/dist/message_input.cjs +1 -1
- package/dist/message_input.js +78 -78
- package/dist/{rich_text_editor-BgXaC2KF.js → rich_text_editor-PlDAAo2K.js} +772 -794
- package/dist/{rich_text_editor-mAENLkE_.cjs → rich_text_editor-m8DM-vOU.cjs} +20 -20
- package/dist/style.css +1 -1
- package/dist/{tooltip-Od71Luh6.js → tooltip-FcHJcgMd.js} +503 -470
- package/dist/tooltip-px-Nxl4C.cjs +21 -0
- package/dist/types/components/tooltip/tooltip.vue.d.ts +30 -0
- package/dist/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +1 -1
- package/package.json +3 -3
- package/dist/tooltip-8utqWHHH.cjs +0 -21
package/dist/directives.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./tooltip-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./tooltip-px-Nxl4C.cjs"),d=require("vue"),m={name:"dt-tooltip-directive",install(c){const n=document.createElement("div");document.body.appendChild(n);const u="top",p=d.createApp({name:"DtTooltipDirectiveApp",components:{DtTooltip:s.DtTooltip},data(){return{tooltips:[]}},methods:{addOrUpdateTooltip(o,t,e){const i=this.tooltips.findIndex(l=>l.id===o);i!==-1?(this.tooltips[i].message=t,this.tooltips[i].placement=e):this.tooltips.push({id:o,message:t,placement:e})},removeTooltip(o){this.tooltips=this.tooltips.filter(t=>t.id!==o)}},render(){return d.h("div",this.tooltips.map(({id:o,message:t,placement:e})=>d.h(s.DtTooltip,{key:o,message:t,placement:e,delay:process.env.NODE_ENV!=="test",externalAnchor:`[data-dt-tooltip-id="${o}"]`})))}});p.mount(n),c.directive("dt-tooltip",{beforeMount(o,t){r(o,t)},updated(o,t){t.value!==t.oldValue&&r(o,t)},unmounted(o){var t;(t=p._instance)==null||t.ctx.removeTooltip(o.getAttribute("data-dt-tooltip-id"))}});function r(o,t){var a;const e=o.getAttribute("data-dt-tooltip-id")||s.getUniqueString(),i=t.value,l=t.arg||u;o.setAttribute("data-dt-tooltip-id",e),(a=p._instance)==null||a.ctx.addOrUpdateTooltip(e,i,l)}}};exports.DtTooltipDirective=m;
|
package/dist/directives.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _, g as E, h as R, V as j, f as ue, a as N, b as se, c as de } from "./tooltip-
|
|
1
|
+
import { _, g as E, h as R, V as j, f as ue, a as N, b as se, c as de } from "./tooltip-FcHJcgMd.js";
|
|
2
2
|
import { openBlock as i, createElementBlock as u, createElementVNode as e, createStaticVNode as h, createBlock as b, resolveDynamicComponent as le, normalizeClass as f, createCommentVNode as g, warn as q, mergeProps as y, toHandlers as A, renderSlot as k, normalizeStyle as L, resolveComponent as w, Fragment as K, renderList as J, createVNode as F, toDisplayString as B, createTextVNode as me, withKeys as D, withCtx as fe, withDirectives as S, vShow as O } from "vue";
|
|
3
3
|
const I = {
|
|
4
4
|
100: "d-icon--size-100",
|