@dialpad/dialtone 9.91.1 → 9.93.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 (220) hide show
  1. package/dist/css/dialtone-default-theme.css +204 -22
  2. package/dist/css/dialtone-default-theme.min.css +1 -1
  3. package/dist/css/dialtone.css +204 -22
  4. package/dist/css/dialtone.min.css +1 -1
  5. package/dist/tokens/doc.json +23187 -23187
  6. package/dist/vue2/component-documentation.json +1 -1
  7. package/dist/vue2/components/hovercard/hovercard.vue.cjs +32 -12
  8. package/dist/vue2/components/hovercard/hovercard.vue.cjs.map +1 -1
  9. package/dist/vue2/components/hovercard/hovercard.vue.js +33 -13
  10. package/dist/vue2/components/hovercard/hovercard.vue.js.map +1 -1
  11. package/dist/vue2/components/popover/popover.vue.cjs +21 -43
  12. package/dist/vue2/components/popover/popover.vue.cjs.map +1 -1
  13. package/dist/vue2/components/popover/popover.vue.js +21 -43
  14. package/dist/vue2/components/popover/popover.vue.js.map +1 -1
  15. package/dist/vue2/components/rich_text_editor/extensions/image/image.cjs +30 -0
  16. package/dist/vue2/components/rich_text_editor/extensions/image/image.cjs.map +1 -0
  17. package/dist/vue2/components/rich_text_editor/extensions/image/image.js +30 -0
  18. package/dist/vue2/components/rich_text_editor/extensions/image/image.js.map +1 -0
  19. package/dist/vue2/components/rich_text_editor/extensions/image/index.cjs +5 -0
  20. package/dist/vue2/components/rich_text_editor/extensions/image/index.cjs.map +1 -0
  21. package/dist/vue2/components/rich_text_editor/extensions/image/index.js +5 -0
  22. package/dist/vue2/components/rich_text_editor/extensions/image/index.js.map +1 -0
  23. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.cjs +2 -2
  24. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -1
  25. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.js +2 -2
  26. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.js.map +1 -1
  27. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.cjs +2 -4
  28. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -1
  29. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.js +2 -4
  30. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -1
  31. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +1 -1
  32. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -1
  33. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +1 -1
  34. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -1
  35. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.cjs +6 -14
  36. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -1
  37. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.js +7 -15
  38. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -1
  39. package/dist/vue2/recipes/cards/ivr_node/ivr_node_constants.cjs +18 -18
  40. package/dist/vue2/recipes/cards/ivr_node/ivr_node_constants.cjs.map +1 -1
  41. package/dist/vue2/recipes/cards/ivr_node/ivr_node_constants.js +18 -18
  42. package/dist/vue2/recipes/cards/ivr_node/ivr_node_constants.js.map +1 -1
  43. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.cjs +2 -2
  44. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -1
  45. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.js +2 -2
  46. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -1
  47. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +6 -1
  48. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -1
  49. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +6 -1
  50. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -1
  51. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs +127 -28
  52. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  53. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js +127 -28
  54. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  55. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +1 -1
  56. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -1
  57. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.js +1 -1
  58. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -1
  59. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +1 -1
  60. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +1 -1
  61. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +1 -1
  62. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +1 -1
  63. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.cjs +1 -1
  64. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  65. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.js +1 -1
  66. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  67. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.cjs +6 -1
  68. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
  69. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.js +6 -1
  70. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
  71. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.cjs +8 -12
  72. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -1
  73. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.js +8 -12
  74. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -1
  75. package/dist/vue2/recipes/leftbar/general_row/general_row_constants.cjs +11 -11
  76. package/dist/vue2/recipes/leftbar/general_row/general_row_constants.cjs.map +1 -1
  77. package/dist/vue2/recipes/leftbar/general_row/general_row_constants.js +11 -11
  78. package/dist/vue2/recipes/leftbar/general_row/general_row_constants.js.map +1 -1
  79. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +1 -8
  80. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -1
  81. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +1 -8
  82. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -1
  83. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.cjs +8 -8
  84. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -1
  85. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.js +8 -8
  86. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -1
  87. package/dist/vue2/types/components/hovercard/hovercard.vue.d.ts.map +1 -1
  88. package/dist/vue2/types/components/rich_text_editor/extensions/image/image.d.ts +2 -0
  89. package/dist/vue2/types/components/rich_text_editor/extensions/image/image.d.ts.map +1 -0
  90. package/dist/vue2/types/components/rich_text_editor/extensions/image/index.d.ts +3 -0
  91. package/dist/vue2/types/components/rich_text_editor/extensions/image/index.d.ts.map +1 -0
  92. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  93. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +1 -1
  94. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  95. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +11 -11
  96. package/dist/vue2/types/recipes/chips/grouped_chip/grouped_chip.vue.d.ts.map +1 -1
  97. package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  98. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  99. package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +1 -1
  100. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  101. package/dist/vue2/types/recipes/item_layout/contact_info/contact_info.vue.d.ts.map +1 -1
  102. package/dist/vue2/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +1 -1
  103. package/dist/vue2/types/recipes/leftbar/general_row/general_row_constants.d.ts +6 -6
  104. package/dist/vue2/types/recipes/leftbar/general_row/leftbar_general_row_icon.vue.d.ts +0 -1
  105. package/dist/vue3/component-documentation.json +1 -1
  106. package/dist/vue3/components/hovercard/hovercard.vue.cjs +30 -4
  107. package/dist/vue3/components/hovercard/hovercard.vue.cjs.map +1 -1
  108. package/dist/vue3/components/hovercard/hovercard.vue.js +32 -6
  109. package/dist/vue3/components/hovercard/hovercard.vue.js.map +1 -1
  110. package/dist/vue3/components/popover/popover.vue.cjs +23 -45
  111. package/dist/vue3/components/popover/popover.vue.cjs.map +1 -1
  112. package/dist/vue3/components/popover/popover.vue.js +23 -45
  113. package/dist/vue3/components/popover/popover.vue.js.map +1 -1
  114. package/dist/vue3/components/rich_text_editor/extensions/image/image.cjs +30 -0
  115. package/dist/vue3/components/rich_text_editor/extensions/image/image.cjs.map +1 -0
  116. package/dist/vue3/components/rich_text_editor/extensions/image/image.js +30 -0
  117. package/dist/vue3/components/rich_text_editor/extensions/image/image.js.map +1 -0
  118. package/dist/vue3/components/rich_text_editor/extensions/image/index.cjs +5 -0
  119. package/dist/vue3/components/rich_text_editor/extensions/image/index.cjs.map +1 -0
  120. package/dist/vue3/components/rich_text_editor/extensions/image/index.js +5 -0
  121. package/dist/vue3/components/rich_text_editor/extensions/image/index.js.map +1 -0
  122. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.cjs +2 -2
  123. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -1
  124. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.js +2 -2
  125. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.js.map +1 -1
  126. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.cjs +2 -4
  127. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -1
  128. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.js +2 -4
  129. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -1
  130. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +1 -2
  131. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -1
  132. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +1 -2
  133. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -1
  134. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.cjs +10 -20
  135. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -1
  136. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.js +11 -21
  137. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -1
  138. package/dist/vue3/recipes/cards/ivr_node/ivr_node_constants.cjs +18 -18
  139. package/dist/vue3/recipes/cards/ivr_node/ivr_node_constants.cjs.map +1 -1
  140. package/dist/vue3/recipes/cards/ivr_node/ivr_node_constants.js +18 -18
  141. package/dist/vue3/recipes/cards/ivr_node/ivr_node_constants.js.map +1 -1
  142. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.cjs +1 -3
  143. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -1
  144. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.js +1 -3
  145. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -1
  146. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +6 -1
  147. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -1
  148. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +6 -1
  149. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -1
  150. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs +94 -96
  151. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  152. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js +95 -97
  153. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  154. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +1 -1
  155. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -1
  156. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.js +1 -1
  157. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -1
  158. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +1 -1
  159. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +1 -1
  160. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +1 -1
  161. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +1 -1
  162. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.cjs +1 -1
  163. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  164. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.js +1 -1
  165. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  166. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.cjs +6 -1
  167. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
  168. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.js +6 -1
  169. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
  170. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.cjs +8 -12
  171. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -1
  172. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.js +8 -12
  173. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -1
  174. package/dist/vue3/recipes/leftbar/general_row/general_row_constants.cjs +11 -11
  175. package/dist/vue3/recipes/leftbar/general_row/general_row_constants.cjs.map +1 -1
  176. package/dist/vue3/recipes/leftbar/general_row/general_row_constants.js +11 -11
  177. package/dist/vue3/recipes/leftbar/general_row/general_row_constants.js.map +1 -1
  178. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +7 -13
  179. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -1
  180. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +7 -13
  181. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -1
  182. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.cjs +8 -8
  183. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -1
  184. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.js +8 -8
  185. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -1
  186. package/dist/vue3/types/components/hovercard/hovercard.vue.d.ts.map +1 -1
  187. package/dist/vue3/types/components/rich_text_editor/extensions/image/image.d.ts +2 -0
  188. package/dist/vue3/types/components/rich_text_editor/extensions/image/image.d.ts.map +1 -0
  189. package/dist/vue3/types/components/rich_text_editor/extensions/image/index.d.ts +3 -0
  190. package/dist/vue3/types/components/rich_text_editor/extensions/image/index.d.ts.map +1 -0
  191. package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  192. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +1 -1
  193. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  194. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +11 -11
  195. package/dist/vue3/types/recipes/chips/grouped_chip/grouped_chip.vue.d.ts.map +1 -1
  196. package/dist/vue3/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  197. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  198. package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +1 -1
  199. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  200. package/dist/vue3/types/recipes/item_layout/contact_info/contact_info.vue.d.ts.map +1 -1
  201. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +1 -1
  202. package/dist/vue3/types/recipes/leftbar/general_row/general_row_constants.d.ts +6 -6
  203. package/dist/vue3/types/recipes/leftbar/general_row/leftbar_general_row_icon.vue.d.ts +0 -1
  204. package/package.json +3 -3
  205. package/dist/vue2/components/hovercard/timer.cjs +0 -59
  206. package/dist/vue2/components/hovercard/timer.cjs.map +0 -1
  207. package/dist/vue2/components/hovercard/timer.js +0 -59
  208. package/dist/vue2/components/hovercard/timer.js.map +0 -1
  209. package/dist/vue2/types/components/hovercard/timer.d.ts +0 -3
  210. package/dist/vue2/types/components/hovercard/timer.d.ts.map +0 -1
  211. package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel_constants.d.ts +0 -6
  212. package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel_constants.d.ts.map +0 -1
  213. package/dist/vue3/components/hovercard/timer.cjs +0 -60
  214. package/dist/vue3/components/hovercard/timer.cjs.map +0 -1
  215. package/dist/vue3/components/hovercard/timer.js +0 -60
  216. package/dist/vue3/components/hovercard/timer.js.map +0 -1
  217. package/dist/vue3/types/components/hovercard/timer.d.ts +0 -3
  218. package/dist/vue3/types/components/hovercard/timer.d.ts.map +0 -1
  219. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel_constants.d.ts +0 -6
  220. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel_constants.d.ts.map +0 -1
@@ -38,27 +38,27 @@ export namespace IVR_NODE_LABELS {
38
38
  let assign_1: string;
39
39
  export { assign_1 as assign };
40
40
  }
41
- export namespace IVR_NODE_COLOR_MAPPING {
42
- import promptmenu_2 = IVR_NODE_COLORS.PROMPT;
41
+ export namespace IVR_NODE_CLASS_MAPPING {
42
+ import promptmenu_2 = IVR_NODE_CLASSES.PROMPT;
43
43
  export { promptmenu_2 as promptmenu };
44
- import promptcollect_2 = IVR_NODE_COLORS.PROMPT;
44
+ import promptcollect_2 = IVR_NODE_CLASSES.PROMPT;
45
45
  export { promptcollect_2 as promptcollect };
46
- import promptplay_2 = IVR_NODE_COLORS.PROMPT;
46
+ import promptplay_2 = IVR_NODE_CLASSES.PROMPT;
47
47
  export { promptplay_2 as promptplay };
48
- import gotoexpert_2 = IVR_NODE_COLORS.LOGIC;
48
+ import gotoexpert_2 = IVR_NODE_CLASSES.LOGIC;
49
49
  export { gotoexpert_2 as gotoexpert };
50
- import branch_2 = IVR_NODE_COLORS.LOGIC;
50
+ import branch_2 = IVR_NODE_CLASSES.LOGIC;
51
51
  export { branch_2 as branch };
52
- import goto_2 = IVR_NODE_COLORS.LOGIC;
52
+ import goto_2 = IVR_NODE_CLASSES.LOGIC;
53
53
  export { goto_2 as goto };
54
- import assign_2 = IVR_NODE_COLORS.LOGIC;
54
+ import assign_2 = IVR_NODE_CLASSES.LOGIC;
55
55
  export { assign_2 as assign };
56
- import transfer_2 = IVR_NODE_COLORS.TERMINAL;
56
+ import transfer_2 = IVR_NODE_CLASSES.TERMINAL;
57
57
  export { transfer_2 as transfer };
58
- import hangup_2 = IVR_NODE_COLORS.TERMINAL;
58
+ import hangup_2 = IVR_NODE_CLASSES.TERMINAL;
59
59
  export { hangup_2 as hangup };
60
60
  }
61
- declare namespace IVR_NODE_COLORS {
61
+ declare namespace IVR_NODE_CLASSES {
62
62
  namespace PROMPT {
63
63
  let normal: string;
64
64
  let selected: string;
@@ -1 +1 @@
1
- {"version":3,"file":"grouped_chip.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/chips/grouped_chip/grouped_chip.vue"],"names":[],"mappings":"AAkEA;;;;;+BAwF+B,gBAAgB"}
1
+ {"version":3,"file":"grouped_chip.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/chips/grouped_chip/grouped_chip.vue"],"names":[],"mappings":"AAgEA;;;;;+BAsF+B,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"combobox_multi_select.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue"],"names":[],"mappings":"AAiHA;"}
1
+ {"version":3,"file":"combobox_multi_select.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue"],"names":[],"mappings":"AAoHA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"editor.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/editor/editor.vue"],"names":[],"mappings":"AAiLA;"}
1
+ {"version":3,"file":"editor.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/editor/editor.vue"],"names":[],"mappings":"AAkLA;"}
@@ -63,7 +63,7 @@ declare const _default: import('vue').DefineComponent<{
63
63
  ariaLabel: string;
64
64
  }, {}>;
65
65
  showChevronIcon(): any;
66
- toggleableClass(): "" | "d-c-pointer";
66
+ toggleableClass(): "" | "d-recipe-feed-item-pill--toggleable";
67
67
  borderClass(): any;
68
68
  }, {
69
69
  onClick(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue"],"names":[],"mappings":"AA4NA;"}
1
+ {"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue"],"names":[],"mappings":"AA2NA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"contact_info.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/item_layout/contact_info/contact_info.vue"],"names":[],"mappings":"AAyGA;"}
1
+ {"version":3,"file":"contact_info.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/item_layout/contact_info/contact_info.vue"],"names":[],"mappings":"AA8GA;"}
@@ -64,7 +64,7 @@ declare const _default: import('vue').DefineComponent<{
64
64
  default: string;
65
65
  };
66
66
  }, any, any, {
67
- presenceColorClass(): "d-fc-success" | "d-fc-critical" | "d-fc-warning" | undefined;
67
+ presenceFontColorClass(): any;
68
68
  contactRowListeners(): {
69
69
  [k: string]: any;
70
70
  };
@@ -15,16 +15,16 @@ export namespace LEFTBAR_GENERAL_ROW_TYPES {
15
15
  let SCHEDULED: string;
16
16
  }
17
17
  export const LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS: {
18
+ 'magenta-100': string;
18
19
  'magenta-200': string;
19
- 'green-200': string;
20
- 'gold-300': string;
21
- 'purple-600': string;
22
20
  'magenta-300': string;
23
- 'purple-300': string;
21
+ 'magenta-400': string;
22
+ 'green-200': string;
24
23
  'green-500': string;
24
+ 'gold-300': string;
25
25
  'purple-100': string;
26
- 'magenta-400': string;
27
- 'magenta-100': string;
26
+ 'purple-300': string;
27
+ 'purple-600': string;
28
28
  'black-300': string;
29
29
  };
30
30
  export const LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR: string;
@@ -46,7 +46,6 @@ declare const _default: import('vue').DefineComponent<{
46
46
  ariaLabel: string;
47
47
  }, {}> | undefined;
48
48
  contactCenterIconClasses(): any[];
49
- dialbotClasses(): string[];
50
49
  }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
51
50
  type: {
52
51
  type: StringConstructor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone",
3
- "version": "9.91.1",
3
+ "version": "9.93.0",
4
4
  "description": "Dialpad's Dialtone design system monorepo",
5
5
  "files": [
6
6
  "dist"
@@ -74,8 +74,8 @@
74
74
  "regex-combined-emojis": "1.6.0",
75
75
  "tippy.js": "6.3.7",
76
76
  "@dialpad/dialtone-emojis": "1.1.0",
77
- "@dialpad/dialtone-icons": "4.32.0",
78
- "@dialpad/dialtone-tokens": "1.38.0"
77
+ "@dialpad/dialtone-tokens": "1.38.0",
78
+ "@dialpad/dialtone-icons": "4.32.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@commitlint/cli": "^18.4.3",
@@ -1,59 +0,0 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const tooltip_constants = require("../tooltip/tooltip_constants.cjs");
4
- const useTimer = /* @__PURE__ */ function() {
5
- const current = { value: null };
6
- let timerLeave, timerEnter;
7
- let start = null;
8
- let prevCard = null;
9
- function enter(id) {
10
- if (prevCard) {
11
- const time = Date.now() - start + 100;
12
- if (timerLeave) clearTimeout(timerLeave);
13
- if (prevCard !== id) {
14
- timerLeave = setTimeout(
15
- () => {
16
- if (current.value !== null) {
17
- start = Date.now();
18
- }
19
- current.value = null;
20
- },
21
- time
22
- );
23
- if (timerEnter) clearTimeout(timerEnter);
24
- timerEnter = setTimeout(
25
- () => {
26
- current.value = id;
27
- prevCard = id;
28
- },
29
- time
30
- );
31
- }
32
- } else {
33
- timerEnter = setTimeout(() => {
34
- current.value = id;
35
- prevCard = id;
36
- }, tooltip_constants.TOOLTIP_DELAY_MS);
37
- }
38
- }
39
- function leave() {
40
- if (timerEnter) {
41
- clearTimeout(timerEnter);
42
- timerEnter = null;
43
- }
44
- start = Date.now();
45
- timerLeave = setTimeout(() => {
46
- current.value = null;
47
- prevCard = null;
48
- }, tooltip_constants.TOOLTIP_DELAY_MS);
49
- }
50
- let instance = null;
51
- return () => {
52
- if (instance === null) {
53
- instance = { current, enter, leave };
54
- }
55
- return instance;
56
- };
57
- }();
58
- exports.default = useTimer;
59
- //# sourceMappingURL=timer.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timer.cjs","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":["TOOLTIP_DELAY_MS"],"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,GAAEA,kBAAgB,gBAAA;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,GAAEA,kBAAgB,gBAAA;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,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"}
@@ -1,60 +0,0 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
4
- const tooltip_constants = require("../tooltip/tooltip_constants.cjs");
5
- const useTimer = function() {
6
- const current = vue.ref(null);
7
- let timerLeave, timerEnter;
8
- let start = null;
9
- let prevCard = null;
10
- function enter(id) {
11
- if (prevCard) {
12
- const time = Date.now() - start + 100;
13
- if (timerLeave) clearTimeout(timerLeave);
14
- if (prevCard !== id) {
15
- timerLeave = setTimeout(
16
- () => {
17
- if (current.value !== null) {
18
- start = Date.now();
19
- }
20
- current.value = null;
21
- },
22
- time
23
- );
24
- if (timerEnter) clearTimeout(timerEnter);
25
- timerEnter = setTimeout(
26
- () => {
27
- current.value = id;
28
- prevCard = id;
29
- },
30
- time
31
- );
32
- }
33
- } else {
34
- timerEnter = setTimeout(() => {
35
- current.value = id;
36
- prevCard = id;
37
- }, tooltip_constants.TOOLTIP_DELAY_MS);
38
- }
39
- }
40
- function leave() {
41
- if (timerEnter) {
42
- clearTimeout(timerEnter);
43
- timerEnter = null;
44
- }
45
- start = Date.now();
46
- timerLeave = setTimeout(() => {
47
- current.value = null;
48
- prevCard = null;
49
- }, tooltip_constants.TOOLTIP_DELAY_MS);
50
- }
51
- let instance = null;
52
- return () => {
53
- if (instance === null) {
54
- instance = { current, enter, leave };
55
- }
56
- return instance;
57
- };
58
- }();
59
- exports.default = useTimer;
60
- //# sourceMappingURL=timer.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timer.cjs","sources":["../../../components/hovercard/timer.js"],"sourcesContent":["import { ref } from 'vue';\nimport { TOOLTIP_DELAY_MS } from '@/components/tooltip/index.js';\n\nexport default (function () {\n const current = ref(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":["ref","TOOLTIP_DELAY_MS"],"mappings":";;;;AAGA,MAAA,WAAgB,WAAY;AAC1B,QAAM,UAAUA,QAAI,IAAI;AACxB,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,GAAEC,kBAAgB,gBAAA;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,GAAEA,kBAAgB,gBAAA;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,60 +0,0 @@
1
- import { ref } from "vue";
2
- import { TOOLTIP_DELAY_MS } from "../tooltip/tooltip_constants.js";
3
- const useTimer = function() {
4
- const current = ref(null);
5
- let timerLeave, timerEnter;
6
- let start = null;
7
- let prevCard = null;
8
- function enter(id) {
9
- if (prevCard) {
10
- const time = Date.now() - start + 100;
11
- if (timerLeave) clearTimeout(timerLeave);
12
- if (prevCard !== id) {
13
- timerLeave = setTimeout(
14
- () => {
15
- if (current.value !== null) {
16
- start = Date.now();
17
- }
18
- current.value = null;
19
- },
20
- time
21
- );
22
- if (timerEnter) clearTimeout(timerEnter);
23
- timerEnter = setTimeout(
24
- () => {
25
- current.value = id;
26
- prevCard = id;
27
- },
28
- time
29
- );
30
- }
31
- } else {
32
- timerEnter = setTimeout(() => {
33
- current.value = id;
34
- prevCard = id;
35
- }, TOOLTIP_DELAY_MS);
36
- }
37
- }
38
- function leave() {
39
- if (timerEnter) {
40
- clearTimeout(timerEnter);
41
- timerEnter = null;
42
- }
43
- start = Date.now();
44
- timerLeave = setTimeout(() => {
45
- current.value = null;
46
- prevCard = null;
47
- }, TOOLTIP_DELAY_MS);
48
- }
49
- let instance = null;
50
- return () => {
51
- if (instance === null) {
52
- instance = { current, enter, leave };
53
- }
54
- return instance;
55
- };
56
- }();
57
- export {
58
- useTimer as default
59
- };
60
- //# sourceMappingURL=timer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timer.js","sources":["../../../components/hovercard/timer.js"],"sourcesContent":["import { ref } from 'vue';\nimport { TOOLTIP_DELAY_MS } from '@/components/tooltip/index.js';\n\nexport default (function () {\n const current = ref(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":";;AAGA,MAAA,WAAgB,WAAY;AAC1B,QAAM,UAAU,IAAI,IAAI;AACxB,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":"AA6DS,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"}