@dialpad/dialtone-vue 3.199.1 → 3.201.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/dist/common/utils/index.js +3 -3
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +1 -1
- package/dist/dialtone-vue.js +440 -410
- package/dist/lib/avatar/avatar.js +5 -5
- package/dist/lib/editor/editor.cjs +1 -1
- package/dist/lib/editor/editor.cjs.map +1 -1
- package/dist/lib/editor/editor.js +51 -43
- package/dist/lib/editor/editor.js.map +1 -1
- package/dist/lib/rich-text-editor/rich-text-editor.cjs +4 -4
- package/dist/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/lib/rich-text-editor/rich-text-editor.js +161 -149
- package/dist/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/types/components/checkbox_group/checkbox_group.vue.d.ts +1 -1
- package/dist/types/components/combobox/combobox_empty-list.vue.d.ts +1 -1
- package/dist/types/components/combobox/combobox_loading-list.vue.d.ts +1 -1
- package/dist/types/components/emoji_picker/emoji_picker.vue.d.ts +6 -6
- package/dist/types/components/emoji_picker/modules/emoji_search.vue.d.ts +6 -6
- package/dist/types/components/notice/notice.vue.d.ts +4 -4
- package/dist/types/components/notice/notice_action.vue.d.ts +2 -2
- package/dist/types/components/pagination/pagination.vue.d.ts +1 -1
- package/dist/types/components/radio_group/radio_group.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +9 -0
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/types/components/split_button/split_button-alpha.vue.d.ts +1 -1
- package/dist/types/components/tab/tab.vue.d.ts +1 -1
- package/dist/types/components/toast/toast.vue.d.ts +14 -14
- package/dist/types/index.d.ts +2 -2
- package/dist/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +6 -6
- package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +4 -4
- package/dist/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +3 -3
- package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts +18 -0
- package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +2 -2
- package/dist/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +2 -2
- package/dist/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +2 -2
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +9 -0
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/message_input/message_input_button.vue.d.ts +2 -2
- package/dist/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +10 -10
- package/dist/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +2 -2
- package/dist/types/recipes/header/settings_menu_button/settings_menu_button.vue.d.ts +1 -1
- package/dist/types/recipes/item_layout/contact_info/contact_info.vue.d.ts +2 -2
- package/dist/types/recipes/leftbar/callbox/callbox.vue.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_PREFIX as R, DEFAULT_VALIDATION_MESSAGE_TYPE as S, VALIDATION_MESSAGE_TYPES as r } from "../constants/index.js";
|
|
2
2
|
import { configVue2StyleClassAttrs as c } from "../config/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { h as x, Comment as y, Text as C } from "vue";
|
|
4
4
|
let O = 0, s;
|
|
5
5
|
const A = "input:not([type=hidden]):not(:disabled)", T = "select:not(:disabled),textarea:not(:disabled),button:not(:disabled)", L = `${A},${T}`, _ = `a,frame,iframe,${L},*[tabindex]`, w = typeof setImmediate == "function" ? setImmediate : setTimeout;
|
|
6
6
|
function N(e = R) {
|
|
@@ -41,11 +41,11 @@ function o(e, t) {
|
|
|
41
41
|
function ie(e) {
|
|
42
42
|
return e == null ? void 0 : e.querySelector(_);
|
|
43
43
|
}
|
|
44
|
-
const D = (e) =>
|
|
44
|
+
const D = (e) => x("div", { innerHTML: e.html }), F = () => new Promise((e) => {
|
|
45
45
|
w(e);
|
|
46
46
|
});
|
|
47
47
|
function se(e, t = {}) {
|
|
48
|
-
return e ? e(t).some((n) => n.type ===
|
|
48
|
+
return e ? e(t).some((n) => n.type === y || Array.isArray(n.children) && !n.children.length ? !1 : n.type !== C || typeof n.children == "string" && n.children.trim() !== "") : !1;
|
|
49
49
|
}
|
|
50
50
|
const W = (e) => e == null ? void 0 : e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), ce = (e) => e.replace(/\.?([A-Z0-9]+)/g, (t, n) => "-" + n.toLowerCase()).replace(/^-/, ""), P = (e) => {
|
|
51
51
|
const t = Object.entries(e).filter(([n]) => n.match(/on[A-Z]/));
|