@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.
Files changed (47) hide show
  1. package/dist/common/utils/index.js +3 -3
  2. package/dist/component-documentation.json +1 -1
  3. package/dist/dialtone-vue.cjs +1 -1
  4. package/dist/dialtone-vue.js +440 -410
  5. package/dist/lib/avatar/avatar.js +5 -5
  6. package/dist/lib/editor/editor.cjs +1 -1
  7. package/dist/lib/editor/editor.cjs.map +1 -1
  8. package/dist/lib/editor/editor.js +51 -43
  9. package/dist/lib/editor/editor.js.map +1 -1
  10. package/dist/lib/rich-text-editor/rich-text-editor.cjs +4 -4
  11. package/dist/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  12. package/dist/lib/rich-text-editor/rich-text-editor.js +161 -149
  13. package/dist/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  14. package/dist/types/components/checkbox_group/checkbox_group.vue.d.ts +1 -1
  15. package/dist/types/components/combobox/combobox_empty-list.vue.d.ts +1 -1
  16. package/dist/types/components/combobox/combobox_loading-list.vue.d.ts +1 -1
  17. package/dist/types/components/emoji_picker/emoji_picker.vue.d.ts +6 -6
  18. package/dist/types/components/emoji_picker/modules/emoji_search.vue.d.ts +6 -6
  19. package/dist/types/components/notice/notice.vue.d.ts +4 -4
  20. package/dist/types/components/notice/notice_action.vue.d.ts +2 -2
  21. package/dist/types/components/pagination/pagination.vue.d.ts +1 -1
  22. package/dist/types/components/radio_group/radio_group.vue.d.ts +1 -1
  23. package/dist/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts +1 -1
  24. package/dist/types/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.d.ts +1 -1
  25. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +9 -0
  26. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  27. package/dist/types/components/split_button/split_button-alpha.vue.d.ts +1 -1
  28. package/dist/types/components/tab/tab.vue.d.ts +1 -1
  29. package/dist/types/components/toast/toast.vue.d.ts +14 -14
  30. package/dist/types/index.d.ts +2 -2
  31. package/dist/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +6 -6
  32. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +4 -4
  33. package/dist/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +3 -3
  34. package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts +18 -0
  35. package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  36. package/dist/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +2 -2
  37. package/dist/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +2 -2
  38. package/dist/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +2 -2
  39. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +9 -0
  40. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  41. package/dist/types/recipes/conversation_view/message_input/message_input_button.vue.d.ts +2 -2
  42. package/dist/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +10 -10
  43. package/dist/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +2 -2
  44. package/dist/types/recipes/header/settings_menu_button/settings_menu_button.vue.d.ts +1 -1
  45. package/dist/types/recipes/item_layout/contact_info/contact_info.vue.d.ts +2 -2
  46. package/dist/types/recipes/leftbar/callbox/callbox.vue.d.ts +1 -1
  47. 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 { Comment as x, Text as y, h as C } from "vue";
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) => C("div", { innerHTML: e.html }), F = () => new Promise((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 === x || Array.isArray(n.children) && !n.children.length ? !1 : n.type !== y || typeof n.children == "string" && n.children.trim() !== "") : !1;
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]/));