@dialpad/dialtone-vue 3.82.2 → 3.83.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 +8 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +6 -6
- package/dist/dialtone-vue.js +1588 -1824
- package/dist/{emoji-6ff734c2.js → emoji-3ed8aeab.js} +8 -7
- package/dist/{emoji-fa330d0d.cjs → emoji-9b6e4b5a.cjs} +6 -6
- package/dist/emoji.cjs +1 -1
- package/dist/emoji.js +2 -2
- package/dist/{emoji_text_wrapper-956eed8d.js → emoji_text_wrapper-4fc20727.js} +1 -1
- package/dist/{emoji_text_wrapper-7c6ae8f6.cjs → emoji_text_wrapper-b1235087.cjs} +1 -1
- package/dist/message_input.cjs +17 -17
- package/dist/message_input.js +2231 -1970
- package/dist/notice-119b7aa6.cjs +2 -0
- package/dist/{notice-094fcb05.js → notice-702ad033.js} +448 -189
- package/dist/style.css +1 -1
- package/dist/types/components/emoji/emoji.vue.d.ts +2 -3
- package/dist/types/components/rich_text_editor/extensions/emoji/EmojiList.vue.d.ts +31 -0
- package/dist/types/components/rich_text_editor/extensions/emoji/EmojiList.vue.d.ts.map +1 -0
- package/dist/types/components/rich_text_editor/extensions/emoji/emoji.d.ts +2 -0
- package/dist/types/components/rich_text_editor/extensions/emoji/emoji.d.ts.map +1 -1
- package/dist/types/components/rich_text_editor/extensions/emoji/suggestion.d.ts +18 -0
- package/dist/types/components/rich_text_editor/extensions/emoji/suggestion.d.ts.map +1 -0
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +1 -0
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill.vue.d.ts +123 -0
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill.vue.d.ts.map +1 -0
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill_constants.d.ts +11 -0
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill_constants.d.ts.map +1 -0
- package/dist/types/recipes/conversation_view/feed_pill/index.d.ts +3 -0
- package/dist/types/recipes/conversation_view/feed_pill/index.d.ts.map +1 -0
- package/dist/types/recipes/leftbar/callbox/callbox.vue.d.ts +2 -2
- package/dist/types/recipes/list_items/contact_info/contact_info.vue.d.ts +1 -1
- package/package.json +3 -1
- package/dist/notice-87d36255.cjs +0 -2
package/dist/emoji.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./emoji-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./emoji-9b6e4b5a.cjs"),o=require("./emoji_text_wrapper-b1235087.cjs");require("vue");exports.CDN_URL=e.CDN_URL;exports.DtEmoji=e.DtEmoji;exports.DtEmojiPicker=e._sfc_main;exports.EMOJIS_PER_ROW=e.EMOJIS_PER_ROW;exports.EMOJI_CATEGORIES=e.EMOJI_CATEGORIES;exports.EMOJI_SKIN_TONE_MODIFIERS=e.EMOJI_SKIN_TONE_MODIFIERS;exports.codeToEmojiData=e.codeToEmojiData;Object.defineProperty(exports,"customEmojiAssetUrl",{enumerable:!0,get:()=>e.customEmojiAssetUrl});exports.defaultEmojiAssetUrl=e.defaultEmojiAssetUrl;Object.defineProperty(exports,"emojiFileExtensionLarge",{enumerable:!0,get:()=>e.emojiFileExtensionLarge});Object.defineProperty(exports,"emojiFileExtensionSmall",{enumerable:!0,get:()=>e.emojiFileExtensionSmall});Object.defineProperty(exports,"emojiImageUrlLarge",{enumerable:!0,get:()=>e.emojiImageUrlLarge});Object.defineProperty(exports,"emojiImageUrlSmall",{enumerable:!0,get:()=>e.emojiImageUrlSmall});exports.emojiJson=e.emojiJson;exports.emojiVersion=e.emojiVersion;exports.filterValidShortCodes=e.filterValidShortCodes;exports.findEmojis=e.findEmojis;exports.findShortCodes=e.findShortCodes;exports.getEmojiData=e.getEmojiData;exports.setCustomEmojiJson=e.setCustomEmojiJson;exports.setCustomEmojiUrl=e.setCustomEmojiUrl;exports.setEmojiAssetUrlLarge=e.setEmojiAssetUrlLarge;exports.setEmojiAssetUrlSmall=e.setEmojiAssetUrlSmall;exports.shortcodeToEmojiData=e.shortcodeToEmojiData;exports.stringToUnicode=e.stringToUnicode;exports.unicodeToString=e.unicodeToString;exports.validateCustomEmojiJson=e.validateCustomEmojiJson;exports.DtEmojiTextWrapper=o._sfc_main;
|
package/dist/emoji.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a5 as e, x as i, a4 as t, a6 as m, a8 as r, a7 as E, aq as j, ab as l, aa as n, af as d, ad as S, ae as g, ac as I, ag as U, a9 as D, as as _, at as c, ar as f, ah as C, al as O, ak as T, aj as p, ai as u, an as x, ap as J, ao as A, am as R } from "./emoji-
|
|
2
|
-
import { _ as L } from "./emoji_text_wrapper-
|
|
1
|
+
import { a5 as e, x as i, a4 as t, a6 as m, a8 as r, a7 as E, aq as j, ab as l, aa as n, af as d, ad as S, ae as g, ac as I, ag as U, a9 as D, as as _, at as c, ar as f, ah as C, al as O, ak as T, aj as p, ai as u, an as x, ap as J, ao as A, am as R } from "./emoji-3ed8aeab.js";
|
|
2
|
+
import { _ as L } from "./emoji_text_wrapper-4fc20727.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
export {
|
|
5
5
|
e as CDN_URL,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./emoji-
|
|
1
|
+
"use strict";const i=require("./emoji-9b6e4b5a.cjs"),o=require("vue"),a={name:"DtEmojiTextWrapper",components:{DtEmoji:i.DtEmoji},inheritAttrs:!1,props:{elementType:{type:String,default:"div"},size:{type:String,default:"500",validator:s=>Object.keys(i.ICON_SIZE_MODIFIERS).includes(s)}},data(){return{loadingEmojiJson:!0}},async created(){this.loadingEmojiJson=!1},methods:{replaceDtEmojis(s,e){const t=new RegExp(`(${s.join("|")})`,"g");return e.split(t).map(n=>s.includes(n)?o.h(i.DtEmoji,{...this.$attrs,class:"d-mx4 d-d-inline-block",size:this.size,code:n}):n)},searchVNodes(s){var t;if(typeof s=="string")return this.searchCodes(s);if(typeof s.type=="symbol")return this.searchCodes(s.children);if((t=s.props)!=null&&t.innerHTML)return this.searchVNodes(s.props.innerHTML);const e=Array.isArray(s.children)?s.children:[s.children];return o.h(s.type,s.props,e.map(r=>this.searchVNodes(r)))},replaceVueComponentVNodeContent(s){},searchCodes(s){const e=i.findShortCodes(s),t=i.findEmojis(s),r=[...e,...t];return r.length===0?s:this.replaceDtEmojis(r,s)}},render(){const s=this.$slots.default?this.$slots.default():[];return o.h(this.elementType,{"data-qa":"emoji-text-wrapper",class:this.$attrs.class},this.loadingEmojiJson?s:s.map(e=>this.searchVNodes(e)))}};exports._sfc_main=a;
|