@dialpad/dialtone-vue 2.169.1 → 2.171.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 (108) hide show
  1. package/dist/component-documentation.json +1 -1
  2. package/dist/components/hovercard/hovercard.vue.cjs +32 -12
  3. package/dist/components/hovercard/hovercard.vue.cjs.map +1 -1
  4. package/dist/components/hovercard/hovercard.vue.js +33 -13
  5. package/dist/components/hovercard/hovercard.vue.js.map +1 -1
  6. package/dist/components/popover/popover.vue.cjs +21 -43
  7. package/dist/components/popover/popover.vue.cjs.map +1 -1
  8. package/dist/components/popover/popover.vue.js +21 -43
  9. package/dist/components/popover/popover.vue.js.map +1 -1
  10. package/dist/components/rich_text_editor/extensions/image/image.cjs +30 -0
  11. package/dist/components/rich_text_editor/extensions/image/image.cjs.map +1 -0
  12. package/dist/components/rich_text_editor/extensions/image/image.js +30 -0
  13. package/dist/components/rich_text_editor/extensions/image/image.js.map +1 -0
  14. package/dist/components/rich_text_editor/extensions/image/index.cjs +5 -0
  15. package/dist/components/rich_text_editor/extensions/image/index.cjs.map +1 -0
  16. package/dist/components/rich_text_editor/extensions/image/index.js +5 -0
  17. package/dist/components/rich_text_editor/extensions/image/index.js.map +1 -0
  18. package/dist/components/rich_text_editor/rich_text_editor.vue.cjs +2 -2
  19. package/dist/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -1
  20. package/dist/components/rich_text_editor/rich_text_editor.vue.js +2 -2
  21. package/dist/components/rich_text_editor/rich_text_editor.vue.js.map +1 -1
  22. package/dist/recipes/buttons/callbar_button/callbar_button.vue.cjs +2 -4
  23. package/dist/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -1
  24. package/dist/recipes/buttons/callbar_button/callbar_button.vue.js +2 -4
  25. package/dist/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -1
  26. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +1 -1
  27. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -1
  28. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +1 -1
  29. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -1
  30. package/dist/recipes/cards/ivr_node/ivr_node.vue.cjs +6 -14
  31. package/dist/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -1
  32. package/dist/recipes/cards/ivr_node/ivr_node.vue.js +7 -15
  33. package/dist/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -1
  34. package/dist/recipes/cards/ivr_node/ivr_node_constants.cjs +18 -18
  35. package/dist/recipes/cards/ivr_node/ivr_node_constants.cjs.map +1 -1
  36. package/dist/recipes/cards/ivr_node/ivr_node_constants.js +18 -18
  37. package/dist/recipes/cards/ivr_node/ivr_node_constants.js.map +1 -1
  38. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.cjs +2 -2
  39. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -1
  40. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.js +2 -2
  41. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -1
  42. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +6 -1
  43. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -1
  44. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +6 -1
  45. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -1
  46. package/dist/recipes/conversation_view/editor/editor.vue.cjs +127 -28
  47. package/dist/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  48. package/dist/recipes/conversation_view/editor/editor.vue.js +127 -28
  49. package/dist/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  50. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +1 -1
  51. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -1
  52. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.js +1 -1
  53. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -1
  54. package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +1 -1
  55. package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +1 -1
  56. package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +1 -1
  57. package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +1 -1
  58. package/dist/recipes/conversation_view/message_input/message_input.vue.cjs +1 -1
  59. package/dist/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  60. package/dist/recipes/conversation_view/message_input/message_input.vue.js +1 -1
  61. package/dist/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  62. package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs +6 -1
  63. package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
  64. package/dist/recipes/item_layout/contact_info/contact_info.vue.js +6 -1
  65. package/dist/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
  66. package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs +8 -12
  67. package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -1
  68. package/dist/recipes/leftbar/contact_row/contact_row.vue.js +8 -12
  69. package/dist/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -1
  70. package/dist/recipes/leftbar/general_row/general_row_constants.cjs +11 -11
  71. package/dist/recipes/leftbar/general_row/general_row_constants.cjs.map +1 -1
  72. package/dist/recipes/leftbar/general_row/general_row_constants.js +11 -11
  73. package/dist/recipes/leftbar/general_row/general_row_constants.js.map +1 -1
  74. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +1 -8
  75. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -1
  76. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +1 -8
  77. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -1
  78. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.cjs +8 -8
  79. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -1
  80. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.js +8 -8
  81. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -1
  82. package/dist/types/components/hovercard/hovercard.vue.d.ts.map +1 -1
  83. package/dist/types/components/rich_text_editor/extensions/image/image.d.ts +2 -0
  84. package/dist/types/components/rich_text_editor/extensions/image/image.d.ts.map +1 -0
  85. package/dist/types/components/rich_text_editor/extensions/image/index.d.ts +3 -0
  86. package/dist/types/components/rich_text_editor/extensions/image/index.d.ts.map +1 -0
  87. package/dist/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  88. package/dist/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +1 -1
  89. package/dist/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  90. package/dist/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +11 -11
  91. package/dist/types/recipes/chips/grouped_chip/grouped_chip.vue.d.ts.map +1 -1
  92. package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  93. package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  94. package/dist/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +1 -1
  95. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  96. package/dist/types/recipes/item_layout/contact_info/contact_info.vue.d.ts.map +1 -1
  97. package/dist/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +1 -1
  98. package/dist/types/recipes/leftbar/general_row/general_row_constants.d.ts +6 -6
  99. package/dist/types/recipes/leftbar/general_row/leftbar_general_row_icon.vue.d.ts +0 -1
  100. package/package.json +7 -3
  101. package/dist/components/hovercard/timer.cjs +0 -59
  102. package/dist/components/hovercard/timer.cjs.map +0 -1
  103. package/dist/components/hovercard/timer.js +0 -59
  104. package/dist/components/hovercard/timer.js.map +0 -1
  105. package/dist/types/components/hovercard/timer.d.ts +0 -3
  106. package/dist/types/components/hovercard/timer.d.ts.map +0 -1
  107. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel_constants.d.ts +0 -6
  108. package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel_constants.d.ts.map +0 -1
@@ -1,59 +0,0 @@
1
- import { TOOLTIP_DELAY_MS } from "../tooltip/tooltip_constants.js";
2
- const useTimer = /* @__PURE__ */ function() {
3
- const current = { value: null };
4
- let timerLeave, timerEnter;
5
- let start = null;
6
- let prevCard = null;
7
- function enter(id) {
8
- if (prevCard) {
9
- const time = Date.now() - start + 100;
10
- if (timerLeave) clearTimeout(timerLeave);
11
- if (prevCard !== id) {
12
- timerLeave = setTimeout(
13
- () => {
14
- if (current.value !== null) {
15
- start = Date.now();
16
- }
17
- current.value = null;
18
- },
19
- time
20
- );
21
- if (timerEnter) clearTimeout(timerEnter);
22
- timerEnter = setTimeout(
23
- () => {
24
- current.value = id;
25
- prevCard = id;
26
- },
27
- time
28
- );
29
- }
30
- } else {
31
- timerEnter = setTimeout(() => {
32
- current.value = id;
33
- prevCard = id;
34
- }, TOOLTIP_DELAY_MS);
35
- }
36
- }
37
- function leave() {
38
- if (timerEnter) {
39
- clearTimeout(timerEnter);
40
- timerEnter = null;
41
- }
42
- start = Date.now();
43
- timerLeave = setTimeout(() => {
44
- current.value = null;
45
- prevCard = null;
46
- }, TOOLTIP_DELAY_MS);
47
- }
48
- let instance = null;
49
- return () => {
50
- if (instance === null) {
51
- instance = { current, enter, leave };
52
- }
53
- return instance;
54
- };
55
- }();
56
- export {
57
- useTimer as default
58
- };
59
- //# sourceMappingURL=timer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timer.js","sources":["../../../components/hovercard/timer.js"],"sourcesContent":["import { TOOLTIP_DELAY_MS } from '@/components/tooltip/index.js';\n\nexport default (function () {\n const current = { value: null };\n let timerLeave, timerEnter;\n let start = null;\n let prevCard = null;\n\n // Handles the timer for when the event that opens the hovercard\n // is triggered.\n // If no hovercard is active, it sets a delay of TOOLTIP_DELAY_MS.\n // If there was an active hovercard, the delay depends on the time it takes\n // to move from one anchor to the other.\n function enter (id) {\n if (prevCard) {\n const time = Date.now() - start + 100;\n if (timerLeave) clearTimeout(timerLeave);\n if (prevCard !== id) {\n timerLeave = setTimeout(\n () => {\n if (current.value !== null) {\n start = Date.now();\n }\n current.value = null;\n },\n time,\n );\n if (timerEnter) clearTimeout(timerEnter);\n timerEnter = setTimeout(\n () => {\n current.value = id;\n prevCard = id;\n },\n time,\n );\n }\n } else {\n timerEnter = setTimeout(() => {\n current.value = id;\n prevCard = id;\n }, TOOLTIP_DELAY_MS);\n }\n }\n\n // Handles the timer for when the event that closes the hovercard\n // is triggered.\n function leave () {\n if (timerEnter) {\n clearTimeout(timerEnter);\n timerEnter = null;\n }\n start = Date.now();\n timerLeave = setTimeout(() => {\n current.value = null;\n prevCard = null;\n }, TOOLTIP_DELAY_MS);\n }\n\n let instance = null;\n\n return () => {\n if (instance === null) {\n instance = { current, enter, leave };\n }\n return instance;\n };\n})();\n"],"names":[],"mappings":";AAEA,MAAA,WAAgB,2BAAY;AAC1B,QAAM,UAAU,EAAE,OAAO;AACzB,MAAI,YAAY;AAChB,MAAI,QAAQ;AACZ,MAAI,WAAW;AAOf,WAAS,MAAO,IAAI;AAClB,QAAI,UAAU;AACZ,YAAM,OAAO,KAAK,IAAG,IAAK,QAAQ;AAClC,UAAI,WAAY,cAAa,UAAU;AACvC,UAAI,aAAa,IAAI;AACnB,qBAAa;AAAA,UACX,MAAM;AACJ,gBAAI,QAAQ,UAAU,MAAM;AAC1B,sBAAQ,KAAK;YACd;AACD,oBAAQ,QAAQ;AAAA,UACjB;AAAA,UACD;AAAA,QACV;AACQ,YAAI,WAAY,cAAa,UAAU;AACvC,qBAAa;AAAA,UACX,MAAM;AACJ,oBAAQ,QAAQ;AAChB,uBAAW;AAAA,UACZ;AAAA,UACD;AAAA,QACV;AAAA,MACO;AAAA,IACP,OAAW;AACL,mBAAa,WAAW,MAAM;AAC5B,gBAAQ,QAAQ;AAChB,mBAAW;AAAA,MACZ,GAAE,gBAAgB;AAAA,IACpB;AAAA,EACF;AAID,WAAS,QAAS;AAChB,QAAI,YAAY;AACd,mBAAa,UAAU;AACvB,mBAAa;AAAA,IACd;AACD,YAAQ,KAAK;AACb,iBAAa,WAAW,MAAM;AAC5B,cAAQ,QAAQ;AAChB,iBAAW;AAAA,IACZ,GAAE,gBAAgB;AAAA,EACpB;AAED,MAAI,WAAW;AAEf,SAAO,MAAM;AACX,QAAI,aAAa,MAAM;AACrB,iBAAW,EAAE,SAAS,OAAO,MAAK;AAAA,IACnC;AACD,WAAO;AAAA,EACX;AACA,EAAI;"}
@@ -1,3 +0,0 @@
1
- declare function _default(): any;
2
- export default _default;
3
- //# sourceMappingURL=timer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timer.d.ts","sourceRoot":"","sources":["../../../../components/hovercard/timer.js"],"names":[],"mappings":"AA4DS,iCAKN"}
@@ -1,6 +0,0 @@
1
- export const DEFAULT_CONSTANTS: null;
2
- declare namespace _default {
3
- export { DEFAULT_CONSTANTS };
4
- }
5
- export default _default;
6
- //# sourceMappingURL=attachment_carousel_constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment_carousel_constants.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/attachment_carousel/attachment_carousel_constants.js"],"names":[],"mappings":"AAAA,qCAAsC"}