@dialpad/dialtone 9.86.1 → 9.86.2

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 (586) hide show
  1. package/README.md +0 -16
  2. package/dist/css/dialtone-default-theme.css +1151 -4
  3. package/dist/css/dialtone-default-theme.min.css +1 -1
  4. package/dist/css/dialtone.css +1151 -4
  5. package/dist/css/dialtone.min.css +1 -1
  6. package/dist/tokens/doc.json +14952 -14952
  7. package/dist/vue2/_virtual/_plugin-vue2_normalizer.cjs +0 -3
  8. package/dist/vue2/_virtual/_plugin-vue2_normalizer.cjs.map +1 -1
  9. package/dist/vue2/_virtual/_plugin-vue2_normalizer.js +0 -3
  10. package/dist/vue2/_virtual/_plugin-vue2_normalizer.js.map +1 -1
  11. package/dist/vue2/common/sr_only_close_button.vue.cjs +1 -4
  12. package/dist/vue2/common/sr_only_close_button.vue.cjs.map +1 -1
  13. package/dist/vue2/common/sr_only_close_button.vue.js +1 -4
  14. package/dist/vue2/common/sr_only_close_button.vue.js.map +1 -1
  15. package/dist/vue2/components/avatar/avatar.vue.cjs +1 -4
  16. package/dist/vue2/components/avatar/avatar.vue.cjs.map +1 -1
  17. package/dist/vue2/components/avatar/avatar.vue.js +1 -4
  18. package/dist/vue2/components/avatar/avatar.vue.js.map +1 -1
  19. package/dist/vue2/components/badge/badge.vue.cjs +1 -4
  20. package/dist/vue2/components/badge/badge.vue.cjs.map +1 -1
  21. package/dist/vue2/components/badge/badge.vue.js +1 -4
  22. package/dist/vue2/components/badge/badge.vue.js.map +1 -1
  23. package/dist/vue2/components/banner/banner.vue.cjs +1 -4
  24. package/dist/vue2/components/banner/banner.vue.cjs.map +1 -1
  25. package/dist/vue2/components/banner/banner.vue.js +1 -4
  26. package/dist/vue2/components/banner/banner.vue.js.map +1 -1
  27. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.cjs +1 -4
  28. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.cjs.map +1 -1
  29. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.js +1 -4
  30. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.js.map +1 -1
  31. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.cjs +1 -4
  32. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.cjs.map +1 -1
  33. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.js +1 -4
  34. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.js.map +1 -1
  35. package/dist/vue2/components/button/button.vue.cjs +1 -4
  36. package/dist/vue2/components/button/button.vue.cjs.map +1 -1
  37. package/dist/vue2/components/button/button.vue.js +1 -4
  38. package/dist/vue2/components/button/button.vue.js.map +1 -1
  39. package/dist/vue2/components/button_group/button_group.vue.cjs +1 -4
  40. package/dist/vue2/components/button_group/button_group.vue.cjs.map +1 -1
  41. package/dist/vue2/components/button_group/button_group.vue.js +1 -4
  42. package/dist/vue2/components/button_group/button_group.vue.js.map +1 -1
  43. package/dist/vue2/components/card/card.vue.cjs +1 -4
  44. package/dist/vue2/components/card/card.vue.cjs.map +1 -1
  45. package/dist/vue2/components/card/card.vue.js +1 -4
  46. package/dist/vue2/components/card/card.vue.js.map +1 -1
  47. package/dist/vue2/components/checkbox/checkbox.vue.cjs +1 -4
  48. package/dist/vue2/components/checkbox/checkbox.vue.cjs.map +1 -1
  49. package/dist/vue2/components/checkbox/checkbox.vue.js +1 -4
  50. package/dist/vue2/components/checkbox/checkbox.vue.js.map +1 -1
  51. package/dist/vue2/components/checkbox_group/checkbox_group.vue.cjs +1 -4
  52. package/dist/vue2/components/checkbox_group/checkbox_group.vue.cjs.map +1 -1
  53. package/dist/vue2/components/checkbox_group/checkbox_group.vue.js +1 -4
  54. package/dist/vue2/components/checkbox_group/checkbox_group.vue.js.map +1 -1
  55. package/dist/vue2/components/chip/chip.vue.cjs +1 -4
  56. package/dist/vue2/components/chip/chip.vue.cjs.map +1 -1
  57. package/dist/vue2/components/chip/chip.vue.js +1 -4
  58. package/dist/vue2/components/chip/chip.vue.js.map +1 -1
  59. package/dist/vue2/components/codeblock/codeblock.vue.cjs +1 -4
  60. package/dist/vue2/components/codeblock/codeblock.vue.cjs.map +1 -1
  61. package/dist/vue2/components/codeblock/codeblock.vue.js +1 -4
  62. package/dist/vue2/components/codeblock/codeblock.vue.js.map +1 -1
  63. package/dist/vue2/components/collapsible/collapsible.vue.cjs +1 -4
  64. package/dist/vue2/components/collapsible/collapsible.vue.cjs.map +1 -1
  65. package/dist/vue2/components/collapsible/collapsible.vue.js +1 -4
  66. package/dist/vue2/components/collapsible/collapsible.vue.js.map +1 -1
  67. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.cjs +1 -4
  68. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.cjs.map +1 -1
  69. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.js +1 -4
  70. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.js.map +1 -1
  71. package/dist/vue2/components/combobox/combobox.vue.cjs +1 -4
  72. package/dist/vue2/components/combobox/combobox.vue.cjs.map +1 -1
  73. package/dist/vue2/components/combobox/combobox.vue.js +1 -4
  74. package/dist/vue2/components/combobox/combobox.vue.js.map +1 -1
  75. package/dist/vue2/components/combobox/combobox_empty-list.vue.cjs +1 -4
  76. package/dist/vue2/components/combobox/combobox_empty-list.vue.cjs.map +1 -1
  77. package/dist/vue2/components/combobox/combobox_empty-list.vue.js +1 -4
  78. package/dist/vue2/components/combobox/combobox_empty-list.vue.js.map +1 -1
  79. package/dist/vue2/components/combobox/combobox_loading-list.vue.cjs +1 -4
  80. package/dist/vue2/components/combobox/combobox_loading-list.vue.cjs.map +1 -1
  81. package/dist/vue2/components/combobox/combobox_loading-list.vue.js +1 -4
  82. package/dist/vue2/components/combobox/combobox_loading-list.vue.js.map +1 -1
  83. package/dist/vue2/components/datepicker/datepicker.vue.cjs +1 -4
  84. package/dist/vue2/components/datepicker/datepicker.vue.cjs.map +1 -1
  85. package/dist/vue2/components/datepicker/datepicker.vue.js +1 -4
  86. package/dist/vue2/components/datepicker/datepicker.vue.js.map +1 -1
  87. package/dist/vue2/components/datepicker/modules/calendar.vue.cjs +1 -4
  88. package/dist/vue2/components/datepicker/modules/calendar.vue.cjs.map +1 -1
  89. package/dist/vue2/components/datepicker/modules/calendar.vue.js +1 -4
  90. package/dist/vue2/components/datepicker/modules/calendar.vue.js.map +1 -1
  91. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.cjs +1 -4
  92. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.cjs.map +1 -1
  93. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.js +1 -4
  94. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.js.map +1 -1
  95. package/dist/vue2/components/description_list/description_list.vue.cjs +1 -4
  96. package/dist/vue2/components/description_list/description_list.vue.cjs.map +1 -1
  97. package/dist/vue2/components/description_list/description_list.vue.js +1 -4
  98. package/dist/vue2/components/description_list/description_list.vue.js.map +1 -1
  99. package/dist/vue2/components/dropdown/dropdown.vue.cjs +1 -4
  100. package/dist/vue2/components/dropdown/dropdown.vue.cjs.map +1 -1
  101. package/dist/vue2/components/dropdown/dropdown.vue.js +1 -4
  102. package/dist/vue2/components/dropdown/dropdown.vue.js.map +1 -1
  103. package/dist/vue2/components/dropdown/dropdown_separator.vue.cjs +1 -4
  104. package/dist/vue2/components/dropdown/dropdown_separator.vue.cjs.map +1 -1
  105. package/dist/vue2/components/dropdown/dropdown_separator.vue.js +1 -4
  106. package/dist/vue2/components/dropdown/dropdown_separator.vue.js.map +1 -1
  107. package/dist/vue2/components/emoji/emoji.vue.cjs +1 -4
  108. package/dist/vue2/components/emoji/emoji.vue.cjs.map +1 -1
  109. package/dist/vue2/components/emoji/emoji.vue.js +1 -4
  110. package/dist/vue2/components/emoji/emoji.vue.js.map +1 -1
  111. package/dist/vue2/components/emoji_picker/emoji_picker.vue.cjs +1 -4
  112. package/dist/vue2/components/emoji_picker/emoji_picker.vue.cjs.map +1 -1
  113. package/dist/vue2/components/emoji_picker/emoji_picker.vue.js +1 -4
  114. package/dist/vue2/components/emoji_picker/emoji_picker.vue.js.map +1 -1
  115. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.cjs +1 -4
  116. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.cjs.map +1 -1
  117. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.js +1 -4
  118. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.js.map +1 -1
  119. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.cjs +1 -4
  120. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.cjs.map +1 -1
  121. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.js +1 -4
  122. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.js.map +1 -1
  123. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.cjs +1 -4
  124. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.cjs.map +1 -1
  125. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.js +1 -4
  126. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.js.map +1 -1
  127. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.cjs +1 -4
  128. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.cjs.map +1 -1
  129. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.js +1 -4
  130. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.js.map +1 -1
  131. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.cjs +1 -4
  132. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.cjs.map +1 -1
  133. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.js +1 -4
  134. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.js.map +1 -1
  135. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs +1 -4
  136. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs.map +1 -1
  137. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.js +1 -4
  138. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.js.map +1 -1
  139. package/dist/vue2/components/empty_state/empty_state.vue.cjs +1 -4
  140. package/dist/vue2/components/empty_state/empty_state.vue.cjs.map +1 -1
  141. package/dist/vue2/components/empty_state/empty_state.vue.js +1 -4
  142. package/dist/vue2/components/empty_state/empty_state.vue.js.map +1 -1
  143. package/dist/vue2/components/hovercard/hovercard.vue.cjs +1 -4
  144. package/dist/vue2/components/hovercard/hovercard.vue.cjs.map +1 -1
  145. package/dist/vue2/components/hovercard/hovercard.vue.js +1 -4
  146. package/dist/vue2/components/hovercard/hovercard.vue.js.map +1 -1
  147. package/dist/vue2/components/icon/icon.vue.cjs +1 -4
  148. package/dist/vue2/components/icon/icon.vue.cjs.map +1 -1
  149. package/dist/vue2/components/icon/icon.vue.js +1 -4
  150. package/dist/vue2/components/icon/icon.vue.js.map +1 -1
  151. package/dist/vue2/components/illustration/illustration.vue.cjs +1 -4
  152. package/dist/vue2/components/illustration/illustration.vue.cjs.map +1 -1
  153. package/dist/vue2/components/illustration/illustration.vue.js +1 -4
  154. package/dist/vue2/components/illustration/illustration.vue.js.map +1 -1
  155. package/dist/vue2/components/image_viewer/image_viewer.vue.cjs +1 -4
  156. package/dist/vue2/components/image_viewer/image_viewer.vue.cjs.map +1 -1
  157. package/dist/vue2/components/image_viewer/image_viewer.vue.js +1 -4
  158. package/dist/vue2/components/image_viewer/image_viewer.vue.js.map +1 -1
  159. package/dist/vue2/components/input/input.vue.cjs +1 -4
  160. package/dist/vue2/components/input/input.vue.cjs.map +1 -1
  161. package/dist/vue2/components/input/input.vue.js +1 -4
  162. package/dist/vue2/components/input/input.vue.js.map +1 -1
  163. package/dist/vue2/components/input_group/input_group.vue.cjs +1 -4
  164. package/dist/vue2/components/input_group/input_group.vue.cjs.map +1 -1
  165. package/dist/vue2/components/input_group/input_group.vue.js +1 -4
  166. package/dist/vue2/components/input_group/input_group.vue.js.map +1 -1
  167. package/dist/vue2/components/item_layout/item_layout.vue.cjs +1 -4
  168. package/dist/vue2/components/item_layout/item_layout.vue.cjs.map +1 -1
  169. package/dist/vue2/components/item_layout/item_layout.vue.js +1 -4
  170. package/dist/vue2/components/item_layout/item_layout.vue.js.map +1 -1
  171. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.cjs +1 -4
  172. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.cjs.map +1 -1
  173. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.js +1 -4
  174. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.js.map +1 -1
  175. package/dist/vue2/components/lazy_show/lazy_show.vue.cjs +1 -4
  176. package/dist/vue2/components/lazy_show/lazy_show.vue.cjs.map +1 -1
  177. package/dist/vue2/components/lazy_show/lazy_show.vue.js +1 -4
  178. package/dist/vue2/components/lazy_show/lazy_show.vue.js.map +1 -1
  179. package/dist/vue2/components/link/link.vue.cjs +1 -4
  180. package/dist/vue2/components/link/link.vue.cjs.map +1 -1
  181. package/dist/vue2/components/link/link.vue.js +1 -4
  182. package/dist/vue2/components/link/link.vue.js.map +1 -1
  183. package/dist/vue2/components/list_item/list_item.vue.cjs +1 -4
  184. package/dist/vue2/components/list_item/list_item.vue.cjs.map +1 -1
  185. package/dist/vue2/components/list_item/list_item.vue.js +1 -4
  186. package/dist/vue2/components/list_item/list_item.vue.js.map +1 -1
  187. package/dist/vue2/components/list_item_group/list_item_group.vue.cjs +1 -4
  188. package/dist/vue2/components/list_item_group/list_item_group.vue.cjs.map +1 -1
  189. package/dist/vue2/components/list_item_group/list_item_group.vue.js +1 -4
  190. package/dist/vue2/components/list_item_group/list_item_group.vue.js.map +1 -1
  191. package/dist/vue2/components/modal/modal.vue.cjs +1 -4
  192. package/dist/vue2/components/modal/modal.vue.cjs.map +1 -1
  193. package/dist/vue2/components/modal/modal.vue.js +1 -4
  194. package/dist/vue2/components/modal/modal.vue.js.map +1 -1
  195. package/dist/vue2/components/notice/notice.vue.cjs +1 -4
  196. package/dist/vue2/components/notice/notice.vue.cjs.map +1 -1
  197. package/dist/vue2/components/notice/notice.vue.js +1 -4
  198. package/dist/vue2/components/notice/notice.vue.js.map +1 -1
  199. package/dist/vue2/components/notice/notice_action.vue.cjs +1 -4
  200. package/dist/vue2/components/notice/notice_action.vue.cjs.map +1 -1
  201. package/dist/vue2/components/notice/notice_action.vue.js +1 -4
  202. package/dist/vue2/components/notice/notice_action.vue.js.map +1 -1
  203. package/dist/vue2/components/notice/notice_content.vue.cjs +1 -4
  204. package/dist/vue2/components/notice/notice_content.vue.cjs.map +1 -1
  205. package/dist/vue2/components/notice/notice_content.vue.js +1 -4
  206. package/dist/vue2/components/notice/notice_content.vue.js.map +1 -1
  207. package/dist/vue2/components/notice/notice_icon.vue.cjs +1 -4
  208. package/dist/vue2/components/notice/notice_icon.vue.cjs.map +1 -1
  209. package/dist/vue2/components/notice/notice_icon.vue.js +1 -4
  210. package/dist/vue2/components/notice/notice_icon.vue.js.map +1 -1
  211. package/dist/vue2/components/pagination/pagination.vue.cjs +1 -4
  212. package/dist/vue2/components/pagination/pagination.vue.cjs.map +1 -1
  213. package/dist/vue2/components/pagination/pagination.vue.js +1 -4
  214. package/dist/vue2/components/pagination/pagination.vue.js.map +1 -1
  215. package/dist/vue2/components/popover/popover.vue.cjs +1 -4
  216. package/dist/vue2/components/popover/popover.vue.cjs.map +1 -1
  217. package/dist/vue2/components/popover/popover.vue.js +1 -4
  218. package/dist/vue2/components/popover/popover.vue.js.map +1 -1
  219. package/dist/vue2/components/popover/popover_header_footer.vue.cjs +1 -4
  220. package/dist/vue2/components/popover/popover_header_footer.vue.cjs.map +1 -1
  221. package/dist/vue2/components/popover/popover_header_footer.vue.js +1 -4
  222. package/dist/vue2/components/popover/popover_header_footer.vue.js.map +1 -1
  223. package/dist/vue2/components/presence/presence.vue.cjs +1 -4
  224. package/dist/vue2/components/presence/presence.vue.cjs.map +1 -1
  225. package/dist/vue2/components/presence/presence.vue.js +1 -4
  226. package/dist/vue2/components/presence/presence.vue.js.map +1 -1
  227. package/dist/vue2/components/radio/radio.vue.cjs +1 -4
  228. package/dist/vue2/components/radio/radio.vue.cjs.map +1 -1
  229. package/dist/vue2/components/radio/radio.vue.js +1 -4
  230. package/dist/vue2/components/radio/radio.vue.js.map +1 -1
  231. package/dist/vue2/components/radio_group/radio_group.vue.cjs +1 -4
  232. package/dist/vue2/components/radio_group/radio_group.vue.cjs.map +1 -1
  233. package/dist/vue2/components/radio_group/radio_group.vue.js +1 -4
  234. package/dist/vue2/components/radio_group/radio_group.vue.js.map +1 -1
  235. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs +1 -4
  236. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs.map +1 -1
  237. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js +1 -4
  238. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js.map +1 -1
  239. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs +1 -4
  240. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs.map +1 -1
  241. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js +1 -4
  242. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js.map +1 -1
  243. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs +1 -4
  244. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs.map +1 -1
  245. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js +1 -4
  246. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js.map +1 -1
  247. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs +1 -4
  248. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs.map +1 -1
  249. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js +1 -4
  250. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js.map +1 -1
  251. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs +1 -4
  252. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs.map +1 -1
  253. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js +1 -4
  254. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js.map +1 -1
  255. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs +1 -4
  256. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs.map +1 -1
  257. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js +1 -4
  258. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js.map +1 -1
  259. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs +1 -4
  260. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs.map +1 -1
  261. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js +1 -4
  262. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js.map +1 -1
  263. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs +1 -4
  264. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs.map +1 -1
  265. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js +1 -4
  266. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js.map +1 -1
  267. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs +1 -4
  268. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs.map +1 -1
  269. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js +1 -4
  270. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js.map +1 -1
  271. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.cjs +1 -4
  272. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -1
  273. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.js +1 -4
  274. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.js.map +1 -1
  275. package/dist/vue2/components/root_layout/root_layout.vue.cjs +1 -4
  276. package/dist/vue2/components/root_layout/root_layout.vue.cjs.map +1 -1
  277. package/dist/vue2/components/root_layout/root_layout.vue.js +1 -4
  278. package/dist/vue2/components/root_layout/root_layout.vue.js.map +1 -1
  279. package/dist/vue2/components/select_menu/select_menu.vue.cjs +1 -4
  280. package/dist/vue2/components/select_menu/select_menu.vue.cjs.map +1 -1
  281. package/dist/vue2/components/select_menu/select_menu.vue.js +1 -4
  282. package/dist/vue2/components/select_menu/select_menu.vue.js.map +1 -1
  283. package/dist/vue2/components/skeleton/skeleton-list-item.vue.cjs +1 -4
  284. package/dist/vue2/components/skeleton/skeleton-list-item.vue.cjs.map +1 -1
  285. package/dist/vue2/components/skeleton/skeleton-list-item.vue.js +1 -4
  286. package/dist/vue2/components/skeleton/skeleton-list-item.vue.js.map +1 -1
  287. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.cjs +1 -4
  288. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.cjs.map +1 -1
  289. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.js +1 -4
  290. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.js.map +1 -1
  291. package/dist/vue2/components/skeleton/skeleton-shape.vue.cjs +1 -4
  292. package/dist/vue2/components/skeleton/skeleton-shape.vue.cjs.map +1 -1
  293. package/dist/vue2/components/skeleton/skeleton-shape.vue.js +1 -4
  294. package/dist/vue2/components/skeleton/skeleton-shape.vue.js.map +1 -1
  295. package/dist/vue2/components/skeleton/skeleton-text.vue.cjs +1 -4
  296. package/dist/vue2/components/skeleton/skeleton-text.vue.cjs.map +1 -1
  297. package/dist/vue2/components/skeleton/skeleton-text.vue.js +1 -4
  298. package/dist/vue2/components/skeleton/skeleton-text.vue.js.map +1 -1
  299. package/dist/vue2/components/skeleton/skeleton.vue.cjs +1 -4
  300. package/dist/vue2/components/skeleton/skeleton.vue.cjs.map +1 -1
  301. package/dist/vue2/components/skeleton/skeleton.vue.js +1 -4
  302. package/dist/vue2/components/skeleton/skeleton.vue.js.map +1 -1
  303. package/dist/vue2/components/split_button/split_button-alpha.vue.cjs +1 -4
  304. package/dist/vue2/components/split_button/split_button-alpha.vue.cjs.map +1 -1
  305. package/dist/vue2/components/split_button/split_button-alpha.vue.js +1 -4
  306. package/dist/vue2/components/split_button/split_button-alpha.vue.js.map +1 -1
  307. package/dist/vue2/components/split_button/split_button-omega.vue.cjs +1 -4
  308. package/dist/vue2/components/split_button/split_button-omega.vue.cjs.map +1 -1
  309. package/dist/vue2/components/split_button/split_button-omega.vue.js +1 -4
  310. package/dist/vue2/components/split_button/split_button-omega.vue.js.map +1 -1
  311. package/dist/vue2/components/split_button/split_button.vue.cjs +1 -4
  312. package/dist/vue2/components/split_button/split_button.vue.cjs.map +1 -1
  313. package/dist/vue2/components/split_button/split_button.vue.js +1 -4
  314. package/dist/vue2/components/split_button/split_button.vue.js.map +1 -1
  315. package/dist/vue2/components/stack/stack.vue.cjs +1 -4
  316. package/dist/vue2/components/stack/stack.vue.cjs.map +1 -1
  317. package/dist/vue2/components/stack/stack.vue.js +1 -4
  318. package/dist/vue2/components/stack/stack.vue.js.map +1 -1
  319. package/dist/vue2/components/tab/tab.vue.cjs +1 -4
  320. package/dist/vue2/components/tab/tab.vue.cjs.map +1 -1
  321. package/dist/vue2/components/tab/tab.vue.js +1 -4
  322. package/dist/vue2/components/tab/tab.vue.js.map +1 -1
  323. package/dist/vue2/components/tab/tab_group.vue.cjs +1 -4
  324. package/dist/vue2/components/tab/tab_group.vue.cjs.map +1 -1
  325. package/dist/vue2/components/tab/tab_group.vue.js +1 -4
  326. package/dist/vue2/components/tab/tab_group.vue.js.map +1 -1
  327. package/dist/vue2/components/tab/tab_panel.vue.cjs +1 -4
  328. package/dist/vue2/components/tab/tab_panel.vue.cjs.map +1 -1
  329. package/dist/vue2/components/tab/tab_panel.vue.js +1 -4
  330. package/dist/vue2/components/tab/tab_panel.vue.js.map +1 -1
  331. package/dist/vue2/components/toast/toast.vue.cjs +1 -4
  332. package/dist/vue2/components/toast/toast.vue.cjs.map +1 -1
  333. package/dist/vue2/components/toast/toast.vue.js +1 -4
  334. package/dist/vue2/components/toast/toast.vue.js.map +1 -1
  335. package/dist/vue2/components/toggle/toggle.vue.cjs +1 -4
  336. package/dist/vue2/components/toggle/toggle.vue.cjs.map +1 -1
  337. package/dist/vue2/components/toggle/toggle.vue.js +1 -4
  338. package/dist/vue2/components/toggle/toggle.vue.js.map +1 -1
  339. package/dist/vue2/components/tooltip/tooltip.vue.cjs +1 -4
  340. package/dist/vue2/components/tooltip/tooltip.vue.cjs.map +1 -1
  341. package/dist/vue2/components/tooltip/tooltip.vue.js +1 -4
  342. package/dist/vue2/components/tooltip/tooltip.vue.js.map +1 -1
  343. package/dist/vue2/components/validation_messages/validation_messages.vue.cjs +1 -4
  344. package/dist/vue2/components/validation_messages/validation_messages.vue.cjs.map +1 -1
  345. package/dist/vue2/components/validation_messages/validation_messages.vue.js +1 -4
  346. package/dist/vue2/components/validation_messages/validation_messages.vue.js.map +1 -1
  347. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.cjs +1 -5
  348. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -1
  349. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.js +1 -5
  350. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -1
  351. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +7 -11
  352. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -1
  353. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +7 -11
  354. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -1
  355. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.cjs +6 -10
  356. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -1
  357. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.js +6 -10
  358. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -1
  359. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.cjs +3 -7
  360. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -1
  361. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.js +3 -7
  362. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -1
  363. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +9 -10
  364. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -1
  365. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +9 -10
  366. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -1
  367. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs +1 -4
  368. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs.map +1 -1
  369. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js +1 -4
  370. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js.map +1 -1
  371. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs +4 -8
  372. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs.map +1 -1
  373. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js +4 -8
  374. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js.map +1 -1
  375. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs +2 -6
  376. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs.map +1 -1
  377. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js +2 -6
  378. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js.map +1 -1
  379. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs +2 -6
  380. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs.map +1 -1
  381. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js +2 -6
  382. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js.map +1 -1
  383. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs +22 -26
  384. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  385. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js +22 -26
  386. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  387. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +8 -9
  388. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -1
  389. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.js +8 -9
  390. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -1
  391. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +1 -5
  392. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +1 -1
  393. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +1 -5
  394. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +1 -1
  395. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs +3 -3
  396. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs.map +1 -1
  397. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js +3 -3
  398. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js.map +1 -1
  399. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +10 -14
  400. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -1
  401. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +10 -14
  402. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -1
  403. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs +2 -2
  404. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs.map +1 -1
  405. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.js +2 -2
  406. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.js.map +1 -1
  407. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs +4 -8
  408. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs.map +1 -1
  409. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js +4 -8
  410. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js.map +1 -1
  411. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.cjs +13 -17
  412. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  413. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.js +13 -17
  414. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  415. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.cjs +2 -6
  416. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.cjs.map +1 -1
  417. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.js +2 -6
  418. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.js.map +1 -1
  419. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.cjs +3 -7
  420. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.cjs.map +1 -1
  421. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.js +3 -7
  422. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.js.map +1 -1
  423. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.cjs +3 -7
  424. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
  425. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.js +3 -7
  426. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
  427. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.cjs +4 -8
  428. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.cjs.map +1 -1
  429. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.js +4 -8
  430. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.js.map +1 -1
  431. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.cjs +3 -3
  432. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.cjs.map +1 -1
  433. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.js +3 -3
  434. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.js.map +1 -1
  435. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs +12 -16
  436. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs.map +1 -1
  437. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js +12 -16
  438. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js.map +1 -1
  439. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.cjs +2 -5
  440. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -1
  441. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.js +2 -5
  442. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -1
  443. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.cjs +28 -32
  444. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.cjs.map +1 -1
  445. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.js +28 -32
  446. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.js.map +1 -1
  447. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +2 -5
  448. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -1
  449. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +2 -5
  450. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -1
  451. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.cjs +1 -4
  452. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.cjs.map +1 -1
  453. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.js +1 -4
  454. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.js.map +1 -1
  455. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.cjs +2 -6
  456. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.cjs.map +1 -1
  457. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.js +2 -6
  458. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.js.map +1 -1
  459. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.cjs +2 -6
  460. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -1
  461. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.js +2 -6
  462. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -1
  463. package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  464. package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  465. package/dist/vue2/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +4 -4
  466. package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +2 -2
  467. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +6 -6
  468. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  469. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.cjs +0 -1
  470. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -1
  471. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.js +0 -1
  472. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -1
  473. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +7 -8
  474. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -1
  475. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +7 -8
  476. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -1
  477. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.cjs +7 -8
  478. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -1
  479. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.js +7 -8
  480. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -1
  481. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.cjs +3 -4
  482. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -1
  483. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.js +3 -4
  484. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -1
  485. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +13 -11
  486. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -1
  487. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +13 -11
  488. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -1
  489. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs +4 -5
  490. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs.map +1 -1
  491. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js +4 -5
  492. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js.map +1 -1
  493. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs +5 -6
  494. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs.map +1 -1
  495. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js +5 -6
  496. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js.map +1 -1
  497. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs +3 -4
  498. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs.map +1 -1
  499. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js +3 -4
  500. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js.map +1 -1
  501. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs +22 -23
  502. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  503. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js +22 -23
  504. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  505. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +8 -6
  506. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -1
  507. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.js +8 -6
  508. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -1
  509. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +7 -8
  510. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +1 -1
  511. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +7 -8
  512. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +1 -1
  513. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs +3 -3
  514. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs.map +1 -1
  515. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js +3 -3
  516. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js.map +1 -1
  517. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +28 -29
  518. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -1
  519. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +28 -29
  520. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -1
  521. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs +2 -2
  522. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs.map +1 -1
  523. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.js +2 -2
  524. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.js.map +1 -1
  525. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs +4 -5
  526. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs.map +1 -1
  527. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js +4 -5
  528. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js.map +1 -1
  529. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.cjs +21 -22
  530. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  531. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.js +21 -22
  532. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  533. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.cjs +2 -3
  534. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.cjs.map +1 -1
  535. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.js +2 -3
  536. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.js.map +1 -1
  537. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.cjs +4 -5
  538. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.cjs.map +1 -1
  539. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.js +4 -5
  540. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.js.map +1 -1
  541. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.cjs +10 -11
  542. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
  543. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.js +10 -11
  544. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
  545. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.cjs +23 -24
  546. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.cjs.map +1 -1
  547. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.js +23 -24
  548. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.js.map +1 -1
  549. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.cjs +3 -3
  550. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.cjs.map +1 -1
  551. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.js +3 -3
  552. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.js.map +1 -1
  553. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs +26 -27
  554. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs.map +1 -1
  555. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js +26 -27
  556. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js.map +1 -1
  557. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.cjs +7 -7
  558. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -1
  559. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.js +7 -7
  560. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -1
  561. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.cjs +41 -43
  562. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.cjs.map +1 -1
  563. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.js +42 -44
  564. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.js.map +1 -1
  565. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +1 -1
  566. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -1
  567. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +1 -1
  568. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -1
  569. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.cjs +3 -4
  570. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.cjs.map +1 -1
  571. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.js +3 -4
  572. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.js.map +1 -1
  573. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.cjs +4 -5
  574. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -1
  575. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.js +4 -5
  576. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -1
  577. package/dist/vue3/types/recipes/chips/grouped_chip/grouped_chip.vue.d.ts.map +1 -1
  578. package/dist/vue3/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  579. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  580. package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +4 -4
  581. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +2 -2
  582. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +6 -6
  583. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  584. package/package.json +4 -6
  585. package/dist/vue2/style.css +0 -1424
  586. package/dist/vue3/style.css +0 -1427
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button.vue.js","sources":["../../../../recipes/buttons/callbar_button/callbar_button.vue"],"sourcesContent":["<template>\n <dt-tooltip\n :id=\"id\"\n :offset=\"[0, 24]\"\n >\n <template #anchor>\n <span\n :class=\"{ 'dt-recipe-callbar-button--disabled': disabled }\"\n >\n <dt-button\n :importance=\"buttonImportance\"\n kind=\"muted\"\n icon-position=\"top\"\n :aria-disabled=\"disabled\"\n :aria-label=\"ariaLabel\"\n :label-class=\"callbarButtonTextClass\"\n :width=\"buttonWidth\"\n :class=\"callbarButtonClass\"\n v-bind=\"$attrs\"\n v-on=\"callbarButtonListeners\"\n >\n <slot />\n <template #icon>\n <slot name=\"icon\" />\n </template>\n </dt-button>\n </span>\n </template>\n <slot name=\"tooltip\" />\n </dt-tooltip>\n</template>\n\n<script>\nimport { CALLBAR_BUTTON_VALID_WIDTH_SIZE } from './callbar_button_constants';\nimport { DtButton } from '@/components/button';\nimport { DtTooltip } from '@/components/tooltip';\nimport utils, { extractVueListeners } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButton',\n\n components: { DtButton, DtTooltip },\n\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the button is a circle or not.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n circle: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * The fill and outline of the button associated with its visual importance.\n * @values clear, outlined, primary\n */\n importance: {\n type: String,\n default: '',\n },\n\n },\n\n emits: [\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n ],\n\n computed: {\n callbarButtonClass () {\n return [\n this.buttonClass,\n 'dt-recipe-callbar-button',\n 'd-px0',\n {\n 'dt-recipe-callbar-button--circle': this.circle,\n 'dt-recipe-callbar-button--active': this.active,\n 'dt-recipe-callbar-button--danger': this.danger,\n 'd-btn--disabled d-bgc-transparent': this.disabled,\n 'd-fc-primary': !this.disabled,\n }];\n },\n\n callbarButtonTextClass () {\n return [\n 'd-fs-100 lg:d-d-none md:d-d-none sm:d-d-none',\n this.textClass,\n ];\n },\n\n buttonWidth () {\n switch (this.buttonWidthSize) {\n case 'sm':\n return '4.5rem';\n case 'md':\n return '6rem';\n default:\n return '8.4rem';\n }\n },\n\n buttonImportance () {\n if (this.importance) {\n return this.importance;\n }\n return this.circle ? 'outlined' : 'clear';\n },\n\n callbarButtonListeners () {\n return {\n ...extractVueListeners(this.$attrs),\n click: (event) => this.$emit('click', event),\n };\n },\n },\n};\n</script>\n\n<style lang=\"less\">\n.dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle) {\n line-height: var(--dt-font-line-height-300);\n}\n\n.dt-recipe-callbar-button--circle {\n border-radius: var(--dt-size-radius-circle);\n}\n\n.dt-recipe-callbar-button.d-btn[disabled] {\n background-color: unset;\n opacity: .5;\n}\n\n.dt-recipe-callbar-button--circle.d-btn[disabled] {\n border-color: unset;\n}\n\n.dt-recipe-callbar-button--active,\n.dt-recipe-callbar-button--active:hover {\n .base-button__icon {\n color: var(--primary-color);\n }\n}\n\n.dt-recipe-callbar-button--disabled {\n cursor: not-allowed;\n}\n</style>\n"],"names":["this","_createBlock","_createElementVNode","_normalizeClass","_createVNode","_mergeProps","_toHandlers","_renderSlot","_withCtx"],"mappings":";;;;;;;AAsCA,MAAK,YAAU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A,CAAA,GAAA;AAAA,UAGjB,cACT,MAAoB;AAAA,YAApBC,WAAoB,KAAA,QAAA,MAAA;AAAA;UAvBhC,SAAAC,QAqBU,MAAQ;AAAA,YAARD,WAAQ,KAAA,QAAA,SAAA;AAAA;UArBlB,GAAA;AAAA;;;IAAA,SAAAC,QA4BI,MAAuB;AAAA,MAAvBD,WAAuB,KAAA,QAAA,SAAA;AAAA;IA5B3B,GAAA;AAAA;;;"}
1
+ {"version":3,"file":"callbar_button.vue.js","sources":["../../../../recipes/buttons/callbar_button/callbar_button.vue"],"sourcesContent":["<template>\n <dt-tooltip\n :id=\"id\"\n :offset=\"[0, 24]\"\n >\n <template #anchor>\n <span\n :class=\"{ 'dt-recipe-callbar-button--disabled': disabled }\"\n >\n <dt-button\n :importance=\"buttonImportance\"\n kind=\"muted\"\n icon-position=\"top\"\n :aria-disabled=\"disabled\"\n :aria-label=\"ariaLabel\"\n :label-class=\"callbarButtonTextClass\"\n :width=\"buttonWidth\"\n :class=\"callbarButtonClass\"\n v-bind=\"$attrs\"\n v-on=\"callbarButtonListeners\"\n >\n <slot />\n <template #icon>\n <slot name=\"icon\" />\n </template>\n </dt-button>\n </span>\n </template>\n <slot name=\"tooltip\" />\n </dt-tooltip>\n</template>\n\n<script>\nimport { CALLBAR_BUTTON_VALID_WIDTH_SIZE } from './callbar_button_constants';\nimport { DtButton } from '@/components/button';\nimport { DtTooltip } from '@/components/tooltip';\nimport utils, { extractVueListeners } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButton',\n\n components: { DtButton, DtTooltip },\n\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the button is a circle or not.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n circle: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * The fill and outline of the button associated with its visual importance.\n * @values clear, outlined, primary\n */\n importance: {\n type: String,\n default: '',\n },\n\n },\n\n emits: [\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n ],\n\n computed: {\n callbarButtonClass () {\n return [\n this.buttonClass,\n 'dt-recipe-callbar-button',\n 'd-px0',\n {\n 'dt-recipe-callbar-button--circle': this.circle,\n 'dt-recipe-callbar-button--active': this.active,\n 'dt-recipe-callbar-button--danger': this.danger,\n 'd-btn--disabled d-bgc-transparent': this.disabled,\n 'd-fc-primary': !this.disabled,\n }];\n },\n\n callbarButtonTextClass () {\n return [\n 'd-fs-100 lg:d-d-none md:d-d-none sm:d-d-none',\n this.textClass,\n ];\n },\n\n buttonWidth () {\n switch (this.buttonWidthSize) {\n case 'sm':\n return '4.5rem';\n case 'md':\n return '6rem';\n default:\n return '8.4rem';\n }\n },\n\n buttonImportance () {\n if (this.importance) {\n return this.importance;\n }\n return this.circle ? 'outlined' : 'clear';\n },\n\n callbarButtonListeners () {\n return {\n ...extractVueListeners(this.$attrs),\n click: (event) => this.$emit('click', event),\n };\n },\n },\n};\n</script>\n"],"names":["this","_createBlock","_createElementVNode","_normalizeClass","_createVNode","_mergeProps","_toHandlers","_renderSlot","_withCtx"],"mappings":";;;;;;AAsCA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAE,UAAU,UAAW;AAAA,EAEnC,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AACT,eAAO,MAAM;MACd;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,UAAU;AACpB,eAAO,SAASA,SAAK,OAAO;AAAA,MAC7B;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,aAAa;AAAA,MACX,MAAM,CAAC,QAAQ,OAAO,MAAM;AAAA,MAC5B,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACT,MAAM,CAAC,QAAQ,OAAO,MAAM;AAAA,MAC5B,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,UAAQ,gCAAg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A,UACL,iBAAc;AAAA,UACb,iBAAe,OAAQ;AAAA,UACvB,cAAY,OAAS;AAAA,UACrB,eAAa,SAAsB;AAAA,UACnC,OAAO,SAAW;AAAA,UAClB,OAAO,SAAkB;AAAA,WAClB,KAAM,QACdC,WAAM,SAAsB,sBAAA,CAAA,GAAA;AAAA,UAGjB,cACT,MAAoB;AAAA,YAApBC,WAAoB,KAAA,QAAA,MAAA;AAAA;UAvBhC,SAAAC,QAqBU,MAAQ;AAAA,YAARD,WAAQ,KAAA,QAAA,SAAA;AAAA;UArBlB,GAAA;AAAA;;;IAAA,SAAAC,QA4BI,MAAuB;AAAA,MAAvBD,WAAuB,KAAA,QAAA,SAAA;AAAA;IA5B3B,GAAA;AAAA;;;"}
@@ -3,7 +3,6 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue3 = require("@dialpad/dialtone-icons/vue3");
4
4
  const common_utils = require("../../../common/utils.cjs");
5
5
  const vue = require("vue");
6
- ;/* empty css */
7
6
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.cjs");
8
7
  const callbar_button = require("../callbar_button/callbar_button.vue.cjs");
9
8
  const popover = require("../../../components/popover/popover.vue.cjs");
@@ -244,7 +243,7 @@ const _sfc_main = {
244
243
  }
245
244
  }
246
245
  };
247
- const _hoisted_1 = { class: "dt-recipe--callbar-button-with-popover" };
246
+ const _hoisted_1 = { class: "dt-recipe-callbar-button-with-popover" };
248
247
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
249
248
  const _component_dt_recipe_callbar_button = vue.resolveComponent("dt-recipe-callbar-button");
250
249
  const _component_dt_icon_chevron_up = vue.resolveComponent("dt-icon-chevron-up");
@@ -259,7 +258,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
259
258
  "button-class": $props.buttonClass,
260
259
  "button-width-size": $props.buttonWidthSize,
261
260
  "text-class": $props.textClass,
262
- class: "dt-recipe--callbar-button-with-popover--main-button",
261
+ class: "dt-recipe-callbar-button-with-popover--main-button",
263
262
  onClick: $options.buttonClick
264
263
  }, {
265
264
  icon: vue.withCtx(() => [
@@ -283,8 +282,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
283
282
  "show-close-button": $props.showCloseButton,
284
283
  offset: $props.offset,
285
284
  padding: "none",
286
- class: "dt-recipe--callbar-button-with-popover--popover-wrapper",
287
- "dialog-class": ["dt-recipe--callbar-button-with-popover--popover", $props.contentClass],
285
+ class: "dt-recipe-callbar-button-with-popover__popover-wrapper",
286
+ "dialog-class": ["dt-recipe-callbar-button-with-popover__popover", $props.contentClass],
288
287
  "header-class": "d-d-flex d-ai-center d-fw-normal d-px12"
289
288
  }, _ctx.$attrs, {
290
289
  "open-popover": $options.showPopover,
@@ -296,8 +295,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
296
295
  importance: "clear",
297
296
  size: "lg",
298
297
  class: vue.normalizeClass([
299
- "dt-recipe--callbar-button-with-popover--arrow",
300
- { "dt-recipe--callbar-button-with-popover--arrow--large": !$options.isCompactMode }
298
+ "dt-recipe-callbar-button-with-popover__arrow",
299
+ { "dt-recipe-callbar-button-with-popover__arrow--large": !$options.isCompactMode }
301
300
  ]),
302
301
  width: "2rem",
303
302
  "aria-label": $props.arrowButtonLabel,
@@ -306,7 +305,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
306
305
  }, {
307
306
  icon: vue.withCtx(() => [
308
307
  vue.createVNode(_component_dt_icon_chevron_up, {
309
- class: "dt-recipe--callbar-button-with-popover--arrow__icon",
308
+ class: "dt-recipe-callbar-button-with-popover__arrow-icon",
310
309
  size: "200"
311
310
  })
312
311
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button_with_popover.vue.cjs","sources":["../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe--callbar-button-with-popover\"\n >\n <dt-recipe-callbar-button\n :aria-label=\"ariaLabel\"\n :disabled=\"disabled\"\n :active=\"active\"\n :danger=\"danger\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :text-class=\"textClass\"\n class=\"dt-recipe--callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <template #icon>\n <slot name=\"icon\" />\n </template>\n <template #tooltip>\n <slot name=\"tooltip\" />\n </template>\n <slot />\n </dt-recipe-callbar-button>\n <dt-popover\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :open=\"open\"\n :placement=\"placement\"\n :initial-focus-element=\"initialFocusElement\"\n :show-close-button=\"showCloseButton\"\n :offset=\"offset\"\n padding=\"none\"\n class=\"dt-recipe--callbar-button-with-popover--popover-wrapper\"\n :dialog-class=\"['dt-recipe--callbar-button-with-popover--popover', contentClass]\"\n header-class=\"d-d-flex d-ai-center d-fw-normal d-px12\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n circle\n importance=\"clear\"\n size=\"lg\"\n :class=\"['dt-recipe--callbar-button-with-popover--arrow',\n { 'dt-recipe--callbar-button-with-popover--arrow--large': !isCompactMode }]\"\n width=\"2rem\"\n :aria-label=\"arrowButtonLabel\"\n :active=\"open\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"dt-recipe--callbar-button-with-popover--arrow__icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtPopover } from '@/components/popover';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue3';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithPopover',\n\n components: { DtRecipeCallbarButton, DtPopover, DtButton, DtIconChevronUp },\n\n /* inheritAttrs: false is generally an option we want to set on library\n components. This allows any attributes passed in that are not recognized\n as props to be passed down to another element or component using v-bind:$attrs\n more info: https://vuejs.org/v2/api/#inheritAttrs */\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Aria label for the arrow. Cannot be empty.\n */\n arrowButtonLabel: {\n type: String,\n required: true,\n validator: (label) => {\n return !!label;\n },\n },\n\n /**\n * The direction the popover displays relative to the anchor.\n * @values 'bottom', 'bottom-start', 'bottom-end',\n * 'right', 'right-start', 'right-end',\n * 'left', 'left-start', 'left-end',\n * 'top', 'top-start', 'top-end'\n * @default 'top'\n */\n placement: {\n type: String,\n default: 'top',\n },\n\n /**\n * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The element that is focused when the popover is opened. This can be an\n * HTMLElement within the popover, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: String,\n default: 'first',\n },\n\n /**\n * Determines visibility for close button\n */\n showCloseButton: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Forces showing the arrow, even if the button is disabled.\n * default is false\n * @values true, false\n */\n forceShowArrow: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * We need this declaration because of how Vue3 informs the component about a listener.\n * Spoiler alert: it doesn't.\n * Vue3 intends to work as a real pub-sub, meaning the publisher has not a clue of who the subscribers are.\n * This makes it impossible from the regular declaration (emits: ['click']) to check whether\n * we actually have a click handler or not.\n * We're hacking it by adding an onClick prop: https://github.com/vuejs/core/issues/5220\n */\n /* eslint-disable-next-line vue/no-unused-properties */\n onClick: {\n type: Function,\n default: null,\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * Additional class name for the popover content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * To auto open the modal popover.\n */\n openPopover: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Emitted when the arrow is clicked\n */\n 'arrow-click',\n\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Emitted when modal popover is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n };\n },\n\n computed: {\n showArrowButton () {\n return this.forceShowArrow || !this.disabled;\n },\n\n isCompactMode () {\n return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';\n },\n\n showPopover () {\n if (!this.openPopover || this.open) {\n this.syncOpenState();\n return false;\n }\n\n return this.toggleOpen();\n },\n },\n\n mounted () {\n warnIfUnmounted(this.$el, this.$options.name);\n },\n\n methods: {\n arrowClick (ev) {\n this.$emit('arrow-click', ev);\n return this.toggleOpen();\n },\n\n toggleOpen () {\n return (this.open = !this.open);\n },\n\n syncOpenState () {\n this.open = this.openPopover;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the popover\n // the same as if the arrow was clicked.\n if (!this.$props.onClick) {\n this.arrowClick(ev);\n } else {\n this.$emit('click', ev);\n }\n },\n\n onModalIsOpened (isOpened) {\n this.open = isOpened;\n this.$emit('opened', isOpened);\n },\n },\n\n};\n</script>\n\n<style lang=\"less\">\n.dt-recipe--callbar-button-with-popover--arrow {\n margin-top: var(--dt-space-450);\n margin-left: calc(var(--dt-space-300-negative) * 5);\n width: var(--dt-size-500);\n height: var(--dt-size-500);\n padding: var(--dt-space-400);\n border-radius: var(--dt-size-300);\n\n &.d-btn--active {\n background: var(--dt-color-surface-moderate-opaque);\n }\n\n &--large {\n margin-left: var(--dt-space-550-negative);\n }\n\n &__icon {\n color: var(--dt-color-black-800);\n }\n}\n\n.dt-recipe--callbar-button-with-popover--popover {\n .d-popover__header {\n background: var(--dt-color-surface-contrast);\n color: var(--dt-color-foreground-primary-inverted);\n\n .d-btn {\n color: var(--dt-color-foreground-primary-inverted);\n }\n }\n}\n\n.dt-recipe--callbar-button-with-popover--button .d-tab--selected::after,\n.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover::after {\n --tab--bgc: var(--dt-color-surface-contrast);\n}\n.dt-recipe--callbar-button-with-popover--button .tab-group {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.dt-recipe--callbar-button-with-popover--button .tab-content {\n flex: 1 1 100%;\n overflow-y: auto;\n}\n\n.dt-recipe--callbar-button-with-popover {\n display: flex;\n align-items: flex-start;\n}\n</style>\n"],"names":["DtRecipeCallbarButton","DtPopover","DtButton","DtIconChevronUp","utils","this","CALLBAR_BUTTON_VALID_WIDTH_SIZE","warnIfUnmounted","_openBlock","_createElementBlock","_createVNode","_renderSlot","_withCtx","_createBlock","_mergeProps","_normalizeClass","_createCommentVNode"],"mappings":";;;;;;;;;;;AAgFA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAA,uBAAEA,eAAqB,SAAA,WAAEC,iBAAWC,UAAAA,OAAAA,SAAUC,iBAAAA,KAAAA,gBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,EAM3E,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AACT,eAAOC,aAAAA,QAAM;MACd;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,UAAU;AACpB,eAAO,SAASC,SAAK,OAAO;AAAA,MAC7B;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,kBAAkB;AAAA,MAChB,MAAM;AAAA,MACN,UAAU;AAAA,MACV,WAAW,CAAC,UAAU;AACpB,eAAO,CAAC,CAAC;AAAA,MACV;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAaD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS,MAAM,CAAC,GAAG,EAAE;AAAA,IACtB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASD,qBAAqB;AAAA,MACnB,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;A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IAAAK,IAAA,mBAAA,IAAA,IAAA;AAAA;;;;"}
1
+ {"version":3,"file":"callbar_button_with_popover.vue.cjs","sources":["../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe-callbar-button-with-popover\"\n >\n <dt-recipe-callbar-button\n :aria-label=\"ariaLabel\"\n :disabled=\"disabled\"\n :active=\"active\"\n :danger=\"danger\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :text-class=\"textClass\"\n class=\"dt-recipe-callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <template #icon>\n <slot name=\"icon\" />\n </template>\n <template #tooltip>\n <slot name=\"tooltip\" />\n </template>\n <slot />\n </dt-recipe-callbar-button>\n <dt-popover\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :open=\"open\"\n :placement=\"placement\"\n :initial-focus-element=\"initialFocusElement\"\n :show-close-button=\"showCloseButton\"\n :offset=\"offset\"\n padding=\"none\"\n class=\"dt-recipe-callbar-button-with-popover__popover-wrapper\"\n :dialog-class=\"['dt-recipe-callbar-button-with-popover__popover', contentClass]\"\n header-class=\"d-d-flex d-ai-center d-fw-normal d-px12\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n circle\n importance=\"clear\"\n size=\"lg\"\n :class=\"['dt-recipe-callbar-button-with-popover__arrow',\n { 'dt-recipe-callbar-button-with-popover__arrow--large': !isCompactMode }]\"\n width=\"2rem\"\n :aria-label=\"arrowButtonLabel\"\n :active=\"open\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"dt-recipe-callbar-button-with-popover__arrow-icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtPopover } from '@/components/popover';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue3';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithPopover',\n\n components: { DtRecipeCallbarButton, DtPopover, DtButton, DtIconChevronUp },\n\n /* inheritAttrs: false is generally an option we want to set on library\n components. This allows any attributes passed in that are not recognized\n as props to be passed down to another element or component using v-bind:$attrs\n more info: https://vuejs.org/v2/api/#inheritAttrs */\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Aria label for the arrow. Cannot be empty.\n */\n arrowButtonLabel: {\n type: String,\n required: true,\n validator: (label) => {\n return !!label;\n },\n },\n\n /**\n * The direction the popover displays relative to the anchor.\n * @values 'bottom', 'bottom-start', 'bottom-end',\n * 'right', 'right-start', 'right-end',\n * 'left', 'left-start', 'left-end',\n * 'top', 'top-start', 'top-end'\n * @default 'top'\n */\n placement: {\n type: String,\n default: 'top',\n },\n\n /**\n * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The element that is focused when the popover is opened. This can be an\n * HTMLElement within the popover, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: String,\n default: 'first',\n },\n\n /**\n * Determines visibility for close button\n */\n showCloseButton: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Forces showing the arrow, even if the button is disabled.\n * default is false\n * @values true, false\n */\n forceShowArrow: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * We need this declaration because of how Vue3 informs the component about a listener.\n * Spoiler alert: it doesn't.\n * Vue3 intends to work as a real pub-sub, meaning the publisher has not a clue of who the subscribers are.\n * This makes it impossible from the regular declaration (emits: ['click']) to check whether\n * we actually have a click handler or not.\n * We're hacking it by adding an onClick prop: https://github.com/vuejs/core/issues/5220\n */\n /* eslint-disable-next-line vue/no-unused-properties */\n onClick: {\n type: Function,\n default: null,\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * Additional class name for the popover content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * To auto open the modal popover.\n */\n openPopover: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Emitted when the arrow is clicked\n */\n 'arrow-click',\n\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Emitted when modal popover is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n };\n },\n\n computed: {\n showArrowButton () {\n return this.forceShowArrow || !this.disabled;\n },\n\n isCompactMode () {\n return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';\n },\n\n showPopover () {\n if (!this.openPopover || this.open) {\n this.syncOpenState();\n return false;\n }\n\n return this.toggleOpen();\n },\n },\n\n mounted () {\n warnIfUnmounted(this.$el, this.$options.name);\n },\n\n methods: {\n arrowClick (ev) {\n this.$emit('arrow-click', ev);\n return this.toggleOpen();\n },\n\n toggleOpen () {\n return (this.open = !this.open);\n },\n\n syncOpenState () {\n this.open = this.openPopover;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the popover\n // the same as if the arrow was clicked.\n if (!this.$props.onClick) {\n this.arrowClick(ev);\n } else {\n this.$emit('click', ev);\n }\n },\n\n onModalIsOpened (isOpened) {\n this.open = isOpened;\n this.$emit('opened', isOpened);\n },\n },\n\n};\n</script>\n"],"names":["DtRecipeCallbarButton","DtPopover","DtButton","DtIconChevronUp","utils","this","CALLBAR_BUTTON_VALID_WIDTH_SIZE","warnIfUnmounted","_openBlock","_createElementBlock","_createVNode","_renderSlot","_withCtx","_createBlock","_mergeProps","_normalizeClass","_createCommentVNode"],"mappings":";;;;;;;;;;AAgFA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAA,uBAAEA,eAAqB,SAAA,WAAEC,iBAAWC,UAAAA,OAAAA,SAAUC,iBAAAA,KAAAA,gBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,EAM3E,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AACT,eAAOC,aAAAA,QAAM;MACd;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW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,QAAA;AAAA,MACb,gBAAc,SAAW;AAAA,MACzB,UAAQ,SAAe;AAAA;MAEb,oBACT,MAiBY;AAAA,QAjBZJ,IAAAA,YAiBY,sBAAA;AAAA,UAhBV,QAAA;AAAA,UACA,YAAW;AAAA,UACX,MAAK;AAAA,UACJ,OA7CXK,IAAA,eAAA;AAAA,YAAA;AAAA,sEA6CgJ,SAAa,cAAA;AAAA,UAAA,CAAA;AAAA,UAEnJ,OAAM;AAAA,UACL,cAAY,OAAgB;AAAA,UAC5B,QAAQ,MAAI;AAAA,UACZ,SAAO,SAAU;AAAA;UAEP,kBACT,MAGE;AAAA,YAHFL,IAAAA,YAGE,+BAAA;AAAA,cAFA,OAAM;AAAA,cACN,MAAK;AAAA;;UAvDnB,GAAA;AAAA;;MA4DiB,qBACT,MAAuB;AAAA,QAAvBC,eAAuB,KAAA,QAAA,SAAA;AAAA;MAEd,2BACT,MAA6B;AAAA,QAA7BA,eAA6B,KAAA,QAAA,eAAA;AAAA;MAEpB,2BACT,MAA6B;AAAA,QAA7BA,eAA6B,KAAA,QAAA,eAAA;AAAA;MAnErC,GAAA;AAAA,+IAAAK,IAAA,mBAAA,IAAA,IAAA;AAAA;;;;"}
@@ -1,7 +1,6 @@
1
1
  import { DtIconChevronUp } from "@dialpad/dialtone-icons/vue3";
2
2
  import utils, { warnIfUnmounted } from "../../../common/utils.js";
3
3
  import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, renderSlot, createBlock, mergeProps, normalizeClass, createCommentVNode } from "vue";
4
- /* empty css */
5
4
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
6
5
  import DtRecipeCallbarButton from "../callbar_button/callbar_button.vue.js";
7
6
  import DtPopover from "../../../components/popover/popover.vue.js";
@@ -242,7 +241,7 @@ const _sfc_main = {
242
241
  }
243
242
  }
244
243
  };
245
- const _hoisted_1 = { class: "dt-recipe--callbar-button-with-popover" };
244
+ const _hoisted_1 = { class: "dt-recipe-callbar-button-with-popover" };
246
245
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
247
246
  const _component_dt_recipe_callbar_button = resolveComponent("dt-recipe-callbar-button");
248
247
  const _component_dt_icon_chevron_up = resolveComponent("dt-icon-chevron-up");
@@ -257,7 +256,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
257
256
  "button-class": $props.buttonClass,
258
257
  "button-width-size": $props.buttonWidthSize,
259
258
  "text-class": $props.textClass,
260
- class: "dt-recipe--callbar-button-with-popover--main-button",
259
+ class: "dt-recipe-callbar-button-with-popover--main-button",
261
260
  onClick: $options.buttonClick
262
261
  }, {
263
262
  icon: withCtx(() => [
@@ -281,8 +280,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
281
280
  "show-close-button": $props.showCloseButton,
282
281
  offset: $props.offset,
283
282
  padding: "none",
284
- class: "dt-recipe--callbar-button-with-popover--popover-wrapper",
285
- "dialog-class": ["dt-recipe--callbar-button-with-popover--popover", $props.contentClass],
283
+ class: "dt-recipe-callbar-button-with-popover__popover-wrapper",
284
+ "dialog-class": ["dt-recipe-callbar-button-with-popover__popover", $props.contentClass],
286
285
  "header-class": "d-d-flex d-ai-center d-fw-normal d-px12"
287
286
  }, _ctx.$attrs, {
288
287
  "open-popover": $options.showPopover,
@@ -294,8 +293,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
294
293
  importance: "clear",
295
294
  size: "lg",
296
295
  class: normalizeClass([
297
- "dt-recipe--callbar-button-with-popover--arrow",
298
- { "dt-recipe--callbar-button-with-popover--arrow--large": !$options.isCompactMode }
296
+ "dt-recipe-callbar-button-with-popover__arrow",
297
+ { "dt-recipe-callbar-button-with-popover__arrow--large": !$options.isCompactMode }
299
298
  ]),
300
299
  width: "2rem",
301
300
  "aria-label": $props.arrowButtonLabel,
@@ -304,7 +303,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
304
303
  }, {
305
304
  icon: withCtx(() => [
306
305
  createVNode(_component_dt_icon_chevron_up, {
307
- class: "dt-recipe--callbar-button-with-popover--arrow__icon",
306
+ class: "dt-recipe-callbar-button-with-popover__arrow-icon",
308
307
  size: "200"
309
308
  })
310
309
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button_with_popover.vue.js","sources":["../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe--callbar-button-with-popover\"\n >\n <dt-recipe-callbar-button\n :aria-label=\"ariaLabel\"\n :disabled=\"disabled\"\n :active=\"active\"\n :danger=\"danger\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :text-class=\"textClass\"\n class=\"dt-recipe--callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <template #icon>\n <slot name=\"icon\" />\n </template>\n <template #tooltip>\n <slot name=\"tooltip\" />\n </template>\n <slot />\n </dt-recipe-callbar-button>\n <dt-popover\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :open=\"open\"\n :placement=\"placement\"\n :initial-focus-element=\"initialFocusElement\"\n :show-close-button=\"showCloseButton\"\n :offset=\"offset\"\n padding=\"none\"\n class=\"dt-recipe--callbar-button-with-popover--popover-wrapper\"\n :dialog-class=\"['dt-recipe--callbar-button-with-popover--popover', contentClass]\"\n header-class=\"d-d-flex d-ai-center d-fw-normal d-px12\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n circle\n importance=\"clear\"\n size=\"lg\"\n :class=\"['dt-recipe--callbar-button-with-popover--arrow',\n { 'dt-recipe--callbar-button-with-popover--arrow--large': !isCompactMode }]\"\n width=\"2rem\"\n :aria-label=\"arrowButtonLabel\"\n :active=\"open\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"dt-recipe--callbar-button-with-popover--arrow__icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtPopover } from '@/components/popover';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue3';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithPopover',\n\n components: { DtRecipeCallbarButton, DtPopover, DtButton, DtIconChevronUp },\n\n /* inheritAttrs: false is generally an option we want to set on library\n components. This allows any attributes passed in that are not recognized\n as props to be passed down to another element or component using v-bind:$attrs\n more info: https://vuejs.org/v2/api/#inheritAttrs */\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Aria label for the arrow. Cannot be empty.\n */\n arrowButtonLabel: {\n type: String,\n required: true,\n validator: (label) => {\n return !!label;\n },\n },\n\n /**\n * The direction the popover displays relative to the anchor.\n * @values 'bottom', 'bottom-start', 'bottom-end',\n * 'right', 'right-start', 'right-end',\n * 'left', 'left-start', 'left-end',\n * 'top', 'top-start', 'top-end'\n * @default 'top'\n */\n placement: {\n type: String,\n default: 'top',\n },\n\n /**\n * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The element that is focused when the popover is opened. This can be an\n * HTMLElement within the popover, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: String,\n default: 'first',\n },\n\n /**\n * Determines visibility for close button\n */\n showCloseButton: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Forces showing the arrow, even if the button is disabled.\n * default is false\n * @values true, false\n */\n forceShowArrow: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * We need this declaration because of how Vue3 informs the component about a listener.\n * Spoiler alert: it doesn't.\n * Vue3 intends to work as a real pub-sub, meaning the publisher has not a clue of who the subscribers are.\n * This makes it impossible from the regular declaration (emits: ['click']) to check whether\n * we actually have a click handler or not.\n * We're hacking it by adding an onClick prop: https://github.com/vuejs/core/issues/5220\n */\n /* eslint-disable-next-line vue/no-unused-properties */\n onClick: {\n type: Function,\n default: null,\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * Additional class name for the popover content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * To auto open the modal popover.\n */\n openPopover: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Emitted when the arrow is clicked\n */\n 'arrow-click',\n\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Emitted when modal popover is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n };\n },\n\n computed: {\n showArrowButton () {\n return this.forceShowArrow || !this.disabled;\n },\n\n isCompactMode () {\n return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';\n },\n\n showPopover () {\n if (!this.openPopover || this.open) {\n this.syncOpenState();\n return false;\n }\n\n return this.toggleOpen();\n },\n },\n\n mounted () {\n warnIfUnmounted(this.$el, this.$options.name);\n },\n\n methods: {\n arrowClick (ev) {\n this.$emit('arrow-click', ev);\n return this.toggleOpen();\n },\n\n toggleOpen () {\n return (this.open = !this.open);\n },\n\n syncOpenState () {\n this.open = this.openPopover;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the popover\n // the same as if the arrow was clicked.\n if (!this.$props.onClick) {\n this.arrowClick(ev);\n } else {\n this.$emit('click', ev);\n }\n },\n\n onModalIsOpened (isOpened) {\n this.open = isOpened;\n this.$emit('opened', isOpened);\n },\n },\n\n};\n</script>\n\n<style lang=\"less\">\n.dt-recipe--callbar-button-with-popover--arrow {\n margin-top: var(--dt-space-450);\n margin-left: calc(var(--dt-space-300-negative) * 5);\n width: var(--dt-size-500);\n height: var(--dt-size-500);\n padding: var(--dt-space-400);\n border-radius: var(--dt-size-300);\n\n &.d-btn--active {\n background: var(--dt-color-surface-moderate-opaque);\n }\n\n &--large {\n margin-left: var(--dt-space-550-negative);\n }\n\n &__icon {\n color: var(--dt-color-black-800);\n }\n}\n\n.dt-recipe--callbar-button-with-popover--popover {\n .d-popover__header {\n background: var(--dt-color-surface-contrast);\n color: var(--dt-color-foreground-primary-inverted);\n\n .d-btn {\n color: var(--dt-color-foreground-primary-inverted);\n }\n }\n}\n\n.dt-recipe--callbar-button-with-popover--button .d-tab--selected::after,\n.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover::after {\n --tab--bgc: var(--dt-color-surface-contrast);\n}\n.dt-recipe--callbar-button-with-popover--button .tab-group {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.dt-recipe--callbar-button-with-popover--button .tab-content {\n flex: 1 1 100%;\n overflow-y: auto;\n}\n\n.dt-recipe--callbar-button-with-popover {\n display: flex;\n align-items: flex-start;\n}\n</style>\n"],"names":["this","_openBlock","_createElementBlock","_createVNode","_renderSlot","_withCtx","_createBlock","_mergeProps","_normalizeClass","_createCommentVNode"],"mappings":";;;;;;;;;AAgFA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAE,uBAAuB,WAAW,UAAU,gBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,EAM3E,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AACT,eAAO,MAAM;MACd;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,UAAU;AACpB,eAAO,SAASA,SAAK,OAAO;AAAA,MAC7B;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,kBAAkB;AAAA,MAChB,MAAM;AAAA,MACN,UAAU;AAAA,MACV,WAAW,CAAC,UAAU;AACpB,eAAO,CAAC,CAAC;AAAA,MACV;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAaD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS,MAAM,CAAC,GAAG,EAAE;AAAA,IACtB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASD,qBAAqB;AAAA,MACn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MAEpB,uBACT,MAA6B;AAAA,QAA7BA,WAA6B,KAAA,QAAA,eAAA;AAAA;MAnErC,GAAA;AAAA,+IAAAK,mBAAA,IAAA,IAAA;AAAA;;;"}
1
+ {"version":3,"file":"callbar_button_with_popover.vue.js","sources":["../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe-callbar-button-with-popover\"\n >\n <dt-recipe-callbar-button\n :aria-label=\"ariaLabel\"\n :disabled=\"disabled\"\n :active=\"active\"\n :danger=\"danger\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :text-class=\"textClass\"\n class=\"dt-recipe-callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <template #icon>\n <slot name=\"icon\" />\n </template>\n <template #tooltip>\n <slot name=\"tooltip\" />\n </template>\n <slot />\n </dt-recipe-callbar-button>\n <dt-popover\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :open=\"open\"\n :placement=\"placement\"\n :initial-focus-element=\"initialFocusElement\"\n :show-close-button=\"showCloseButton\"\n :offset=\"offset\"\n padding=\"none\"\n class=\"dt-recipe-callbar-button-with-popover__popover-wrapper\"\n :dialog-class=\"['dt-recipe-callbar-button-with-popover__popover', contentClass]\"\n header-class=\"d-d-flex d-ai-center d-fw-normal d-px12\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n circle\n importance=\"clear\"\n size=\"lg\"\n :class=\"['dt-recipe-callbar-button-with-popover__arrow',\n { 'dt-recipe-callbar-button-with-popover__arrow--large': !isCompactMode }]\"\n width=\"2rem\"\n :aria-label=\"arrowButtonLabel\"\n :active=\"open\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"dt-recipe-callbar-button-with-popover__arrow-icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtPopover } from '@/components/popover';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue3';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithPopover',\n\n components: { DtRecipeCallbarButton, DtPopover, DtButton, DtIconChevronUp },\n\n /* inheritAttrs: false is generally an option we want to set on library\n components. This allows any attributes passed in that are not recognized\n as props to be passed down to another element or component using v-bind:$attrs\n more info: https://vuejs.org/v2/api/#inheritAttrs */\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Aria label for the arrow. Cannot be empty.\n */\n arrowButtonLabel: {\n type: String,\n required: true,\n validator: (label) => {\n return !!label;\n },\n },\n\n /**\n * The direction the popover displays relative to the anchor.\n * @values 'bottom', 'bottom-start', 'bottom-end',\n * 'right', 'right-start', 'right-end',\n * 'left', 'left-start', 'left-end',\n * 'top', 'top-start', 'top-end'\n * @default 'top'\n */\n placement: {\n type: String,\n default: 'top',\n },\n\n /**\n * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The element that is focused when the popover is opened. This can be an\n * HTMLElement within the popover, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: String,\n default: 'first',\n },\n\n /**\n * Determines visibility for close button\n */\n showCloseButton: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Forces showing the arrow, even if the button is disabled.\n * default is false\n * @values true, false\n */\n forceShowArrow: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * We need this declaration because of how Vue3 informs the component about a listener.\n * Spoiler alert: it doesn't.\n * Vue3 intends to work as a real pub-sub, meaning the publisher has not a clue of who the subscribers are.\n * This makes it impossible from the regular declaration (emits: ['click']) to check whether\n * we actually have a click handler or not.\n * We're hacking it by adding an onClick prop: https://github.com/vuejs/core/issues/5220\n */\n /* eslint-disable-next-line vue/no-unused-properties */\n onClick: {\n type: Function,\n default: null,\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * Additional class name for the popover content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * To auto open the modal popover.\n */\n openPopover: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Emitted when the arrow is clicked\n */\n 'arrow-click',\n\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Emitted when modal popover is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n };\n },\n\n computed: {\n showArrowButton () {\n return this.forceShowArrow || !this.disabled;\n },\n\n isCompactMode () {\n return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';\n },\n\n showPopover () {\n if (!this.openPopover || this.open) {\n this.syncOpenState();\n return false;\n }\n\n return this.toggleOpen();\n },\n },\n\n mounted () {\n warnIfUnmounted(this.$el, this.$options.name);\n },\n\n methods: {\n arrowClick (ev) {\n this.$emit('arrow-click', ev);\n return this.toggleOpen();\n },\n\n toggleOpen () {\n return (this.open = !this.open);\n },\n\n syncOpenState () {\n this.open = this.openPopover;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the popover\n // the same as if the arrow was clicked.\n if (!this.$props.onClick) {\n this.arrowClick(ev);\n } else {\n this.$emit('click', ev);\n }\n },\n\n onModalIsOpened (isOpened) {\n this.open = isOpened;\n this.$emit('opened', isOpened);\n },\n },\n\n};\n</script>\n"],"names":["this","_openBlock","_createElementBlock","_createVNode","_renderSlot","_withCtx","_createBlock","_mergeProps","_normalizeClass","_createCommentVNode"],"mappings":";;;;;;;;AAgFA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAE,uBAAuB,WAAW,UAAU,gBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,EAM3E,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AACT,eAAO,MAAM;MACd;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,UAAU;AACpB,eAAO,SAASA,SAAK,OAAO;AAAA,MAC7B;AAAA,IACF;AAAA;AAAA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AA,UAhBV,QAAA;AAAA,UACA,YAAW;AAAA,UACX,MAAK;AAAA,UACJ,OA7CXK,eAAA;AAAA,YAAA;AAAA,sEA6CgJ,SAAa,cAAA;AAAA,UAAA,CAAA;AAAA,UAEnJ,OAAM;AAAA,UACL,cAAY,OAAgB;AAAA,UAC5B,QAAQ,MAAI;AAAA,UACZ,SAAO,SAAU;AAAA;UAEP,cACT,MAGE;AAAA,YAHFL,YAGE,+BAAA;AAAA,cAFA,OAAM;AAAA,cACN,MAAK;AAAA;;UAvDnB,GAAA;AAAA;;MA4DiB,iBACT,MAAuB;AAAA,QAAvBC,WAAuB,KAAA,QAAA,SAAA;AAAA;MAEd,uBACT,MAA6B;AAAA,QAA7BA,WAA6B,KAAA,QAAA,eAAA;AAAA;MAEpB,uBACT,MAA6B;AAAA,QAA7BA,WAA6B,KAAA,QAAA,eAAA;AAAA;MAnErC,GAAA;AAAA,+IAAAK,mBAAA,IAAA,IAAA;AAAA;;;"}
@@ -3,7 +3,6 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue3 = require("@dialpad/dialtone-icons/vue3");
4
4
  const ivr_node_constants = require("./ivr_node_constants.cjs");
5
5
  const vue = require("vue");
6
- ;/* empty css */
7
6
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.cjs");
8
7
  const card = require("../../../components/card/card.vue.cjs");
9
8
  const button = require("../../../components/button/button.vue.cjs");
@@ -110,28 +109,28 @@ const _sfc_main = {
110
109
  }
111
110
  }
112
111
  };
113
- const _hoisted_1 = { class: "ivr_node__header-left" };
112
+ const _hoisted_1 = { class: "dt-recipe-ivr-node__header-left" };
114
113
  const _hoisted_2 = {
115
- class: "ivr_node__label",
114
+ class: "dt-recipe-ivr-node__label",
116
115
  "data-qa": "ivr-node-label"
117
116
  };
118
- const _hoisted_3 = { class: "ivr_node__dropdown-list" };
117
+ const _hoisted_3 = { class: "dt-recipe-ivr-node__dropdown-list" };
119
118
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
120
119
  const _component_dt_button = vue.resolveComponent("dt-button");
121
120
  const _component_dt_icon_more_vertical = vue.resolveComponent("dt-icon-more-vertical");
122
121
  const _component_dt_dropdown = vue.resolveComponent("dt-dropdown");
123
122
  const _component_dt_card = vue.resolveComponent("dt-card");
124
- return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "ivr_node" }, vue.toHandlers($options.nodeListeners, true)), [
123
+ return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "dt-recipe-ivr-node" }, vue.toHandlers($options.nodeListeners, true)), [
125
124
  $props.dtmfKey ? (vue.openBlock(), vue.createElementBlock("div", {
126
125
  key: 0,
127
126
  "data-qa": "dt-top-connector-dtmf",
128
- class: vue.normalizeClass(["ivr-connector ivr-connector--dtmf", { "ivr-connector--dtmf--selected": $props.isSelected }])
127
+ class: vue.normalizeClass(["dt-recipe-ivr-node__connector dt-recipe-ivr-node__connector-dtmf", { "dt-recipe-ivr-node__connector-dtmf--selected": $props.isSelected }])
129
128
  }, vue.toDisplayString($props.dtmfKey), 3)) : vue.createCommentVNode("", true),
130
129
  _ctx.$slots.connector ? vue.renderSlot(_ctx.$slots, "connector", { key: 1 }) : vue.createCommentVNode("", true),
131
130
  !$props.dtmfKey && !_ctx.$slots.connector ? (vue.openBlock(), vue.createElementBlock("div", {
132
131
  key: 2,
133
132
  "data-qa": "dt-top-connector",
134
- class: vue.normalizeClass(["ivr-connector", { "ivr-connector--selected": $props.isSelected }])
133
+ class: vue.normalizeClass(["dt-recipe-ivr-node__connector", { "dt-recipe-ivr-node__connector--selected": $props.isSelected }])
135
134
  }, null, 2)) : vue.createCommentVNode("", true),
136
135
  vue.createVNode(_component_dt_card, {
137
136
  "content-class": "d-bt d-bc-black-300 d-px12 d-pt8 d-pb12",
@@ -160,7 +159,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
160
159
  icon: vue.withCtx(() => [
161
160
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($options.nodeIcon), {
162
161
  size: "200",
163
- class: vue.normalizeClass(["", { "ivr_node__goto_icon": $options.isGotoNode }])
162
+ class: vue.normalizeClass(["", { "dt-recipe-ivr-node__goto-icon": $options.isGotoNode }])
164
163
  }, null, 8, ["class"]))
165
164
  ]),
166
165
  _: 1
@@ -1 +1 @@
1
- {"version":3,"file":"ivr_node.vue.cjs","sources":["../../../../recipes/cards/ivr_node/ivr_node.vue"],"sourcesContent":["<template>\n <div\n class=\"ivr_node\"\n v-on=\"nodeListeners\"\n >\n <div\n v-if=\"dtmfKey\"\n data-qa=\"dt-top-connector-dtmf\"\n class=\"ivr-connector ivr-connector--dtmf\"\n :class=\"{ 'ivr-connector--dtmf--selected': isSelected }\"\n >\n {{ dtmfKey }}\n </div>\n <slot\n v-if=\"$slots.connector\"\n name=\"connector\"\n />\n <div\n v-if=\"!dtmfKey && !$slots.connector\"\n data-qa=\"dt-top-connector\"\n class=\"ivr-connector\"\n :class=\"{ 'ivr-connector--selected': isSelected }\"\n />\n <dt-card\n content-class=\"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12\"\n :container-class=\"[\n 'd-w100p',\n { 'd-ba d-bar8 d-baw4': isSelected },\n headerColor,\n ]\"\n :header-class=\"[\n 'd-mtn1',\n 'd-bt',\n 'd-btw4',\n 'd-p0',\n headerColor,\n { 'd-btr4': !isSelected },\n ]\"\n >\n <template #header>\n <!-- node label and icon section on left of the header -->\n <div class=\"ivr_node__header-left\">\n <dt-button\n :aria-label=\"nodeType\"\n importance=\"clear\"\n kind=\"muted\"\n data-qa=\"dt-ivr-node-icon\"\n >\n <template #icon>\n <component\n :is=\"nodeIcon\"\n size=\"200\"\n :class=\"['', { 'ivr_node__goto_icon': isGotoNode }]\"\n />\n </template>\n </dt-button>\n <p\n class=\"ivr_node__label\"\n data-qa=\"ivr-node-label\"\n >\n {{ nodeLabel }}\n </p>\n </div>\n <!-- node menu for actions like edit, copy, delete -->\n <dt-dropdown\n v-model:open=\"isOpen\"\n placement=\"bottom\"\n >\n <template #anchor>\n <dt-button\n importance=\"clear\"\n kind=\"muted\"\n :aria-label=\"menuButtonAriaLabel\"\n @click.stop.prevent=\"openMenu\"\n >\n <template #icon>\n <dt-icon-more-vertical size=\"200\" />\n </template>\n </dt-button>\n </template>\n <template #list=\"{ close }\">\n <div class=\"ivr_node__dropdown-list\">\n <slot\n name=\"menuItems\"\n :close=\"close\"\n />\n </div>\n </template>\n </dt-dropdown>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n </dt-card>\n </div>\n</template>\n\n<script>\nimport { DtCard } from '@/components/card';\nimport { DtButton } from '@/components/button';\nimport { DtDropdown } from '@/components/dropdown';\nimport {\n DtIconKeypad,\n DtIconDialer,\n DtIconVolume2,\n DtIconExpertNode,\n DtIconBranch,\n DtIconCallMerge,\n DtIconChevronsRight,\n DtIconTransfer,\n DtIconPhoneHangUp,\n DtIconMoreVertical,\n} from '@dialpad/dialtone-icons/vue3';\nimport {\n IVR_NODE_COLOR_MAPPING,\n IVR_NODE_PROMPT_MENU,\n IVR_NODE_PROMPT_COLLECT,\n IVR_NODE_PROMPT_PLAY,\n IVR_NODE_EXPERT,\n IVR_NODE_BRANCH,\n IVR_NODE_GO_TO,\n IVR_NODE_ASSIGN,\n IVR_NODE_TRANSFER,\n IVR_NODE_HANGUP,\n} from './ivr_node_constants';\n\nconst typeToIcon = new Map([\n [IVR_NODE_PROMPT_MENU, DtIconKeypad],\n [IVR_NODE_PROMPT_COLLECT, DtIconDialer],\n [IVR_NODE_PROMPT_PLAY, DtIconVolume2],\n [IVR_NODE_EXPERT, DtIconExpertNode],\n [IVR_NODE_BRANCH, DtIconBranch],\n [IVR_NODE_GO_TO, DtIconCallMerge],\n [IVR_NODE_ASSIGN, DtIconChevronsRight],\n [IVR_NODE_TRANSFER, DtIconTransfer],\n [IVR_NODE_HANGUP, DtIconPhoneHangUp],\n]);\n\nexport default {\n name: 'DtRecipeIvrNode',\n\n components: {\n DtCard,\n DtButton,\n DtDropdown,\n DtIconKeypad,\n DtIconDialer,\n DtIconVolume2,\n DtIconExpertNode,\n DtIconBranch,\n DtIconCallMerge,\n DtIconChevronsRight,\n DtIconTransfer,\n DtIconPhoneHangUp,\n DtIconMoreVertical,\n },\n\n props: {\n\n /**\n * type of IVR Node.\n */\n nodeType: {\n type: String,\n required: true,\n },\n\n /**\n * Descriptive label for the node name.\n */\n\n nodeLabel: {\n type: String,\n required: true,\n },\n\n /**\n * Selected state of the node\n */\n isSelected: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Translated aria-label for header menu button\n */\n menuButtonAriaLabel: {\n type: String,\n required: true,\n },\n\n /**\n * DTMF input\n */\n dtmfKey: {\n type: String,\n default: null,\n },\n },\n\n emits: [\n /**\n * Add node click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n ],\n\n data () {\n return {\n isOpen: false,\n };\n },\n\n computed: {\n nodeListeners () {\n return {\n click: (e) => this.$emit('click', e),\n };\n },\n\n nodeIcon () {\n return typeToIcon.get(this.nodeType);\n },\n\n headerColor () {\n const { normal, selected } = IVR_NODE_COLOR_MAPPING[this.nodeType];\n return this.isSelected ? selected : normal;\n },\n\n isGotoNode () {\n return this.nodeType === IVR_NODE_GO_TO;\n },\n },\n\n methods: {\n openMenu () {\n this.isOpen = true;\n },\n },\n};\n</script>\n\n<style lang=\"less\">\n.ivr_node {\n width: 280px;\n display: flex;\n flex-direction: column;\n align-items: center;\n cursor: pointer;\n\n &__header-left {\n display: flex;\n align-items: center;\n }\n\n &__label {\n font-size: var(--dt-font-size-200);\n font-weight: var(--dt-font-weight-bold);\n }\n\n &__dropdown-list {\n width: var(--dt-size-825);\n }\n}\n\n.ivr_node__goto_icon {\n transform: rotate(90deg);\n}\n\n.ivr-connector {\n z-index: var(--zi-base);\n display: flex;\n justify-content: center;\n align-items: center;\n border-color: var(--dt-color-purple-600);\n background-color: var(--dt-color-purple-600);\n width: var(--dt-size-400);\n height: var(--dt-size-400);\n border-radius: var(--dt-size-radius-circle);\n margin-bottom: var(--dt-space-300-negative);\n\n &--selected {\n margin-bottom: var(--dt-space-400-negative);\n }\n\n &.ivr-connector--dtmf {\n width: var(--dt-size-550);\n height: var(--dt-size-550);\n margin-bottom: var(--dt-space-450-negative);\n color: var(--dt-color-neutral-white);\n font-size: var(--dt-font-size-200);\n\n &--selected {\n margin-bottom: var(--dt-space-500-negative);\n }\n }\n}\n</style>\n"],"names":["IVR_NODE_PROMPT_MENU","DtIconKeypad","IVR_NODE_PROMPT_COLLECT","DtIconDialer","IVR_NODE_PROMPT_PLAY","DtIconVolume2","IVR_NODE_EXPERT","DtIconExpertNode","IVR_NODE_BRANCH","DtIconBranch","IVR_NODE_GO_TO","DtIconCallMerge","IVR_NODE_ASSIGN","DtIconChevronsRight","IVR_NODE_TRANSFER","DtIconTransfer","IVR_NODE_HANGUP","DtIconPhoneHangUp","DtCard","DtButton","DtDropdown","DtIconMoreVertical","IVR_NODE_COLOR_MAPPING","_createElementBlock","_mergeProps","_toHandlers","_normalizeClass","_createCommentVNode","_renderSlot","_createVNode","_createElementVNode","_createBlock","_resolveDynamicComponent","_toDisplayString","_withModifiers","_withCtx"],"mappings":";;;;;;;;;;AA8HA,MAAM,aAAa,oBAAI,IAAI;AAAA,EACzB,CAACA,mBAAAA,sBAAsBC,KAAAA,YAAY;AAAA,EACnC,CAACC,mBAAAA,yBAAyBC,KAAAA,YAAY;AAAA,EACtC,CAACC,mBAAAA,sBAAsBC,KAAAA,aAAa;AAAA,EACpC,CAACC,mBAAAA,iBAAiBC,KAAAA,gBAAgB;AAAA,EAClC,CAACC,mBAAAA,iBAAiBC,KAAAA,YAAY;AAAA,EAC9B,CAACC,mBAAAA,gBAAgBC,KAAAA,eAAe;AAAA,EAChC,CAACC,mBAAAA,iBAAiBC,KAAAA,mBAAmB;AAAA,EACrC,CAACC,mBAAAA,mBAAmBC,KAAAA,cAAc;AAAA,EAClC,CAACC,mBAAAA,iBAAiBC,KAAAA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,UApBJD,IAAAA,YAaY,sBAAA;AAAA,YAZT,cAAY,OAAQ;AAAA,YACrB,YAAW;AAAA,YACX,MAAK;AAAA,YACL,WAAQ;AAAA;YAEG,kBACT,MAIE;AAAA,gCAJFE,IAIE,YArDhBC,4BAkDqB,SAAQ,QAAA,GAAA;AAAA,gBACb,MAAK;AAAA,gBACJ,OApDjBN,iDAoDsD,SAAU,WAAA,CAAA,CAAA;AAAA;;YApDhE,GAAA;AAAA;UAwDUI,IAKI,mBAAA,KALJ,YAKIG,IAAAA,gBADC,OAAS,SAAA,GAAA,CAAA;AAAA;QAIhBJ,IAAAA,YAwBc,wBAAA;AAAA,UAvBJ,MAAM,MAAM;AAAA,UAjE9B,iBAAA,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA,YAiEwB,MAAM,SAAA;AAAA,UACpB,WAAU;AAAA;UAEC,oBACT,MASY;AAAA,YATZA,IAAAA,YASY,sBAAA;AAAA,cARV,YAAW;AAAA,cACX,MAAK;AAAA,cACJ,cAAY,OAAmB;AAAA,cAC/B,SAzEfK,kBAyEmC,SAAQ,UAAA,CAAA,QAAA,SAAA,CAAA;AAAA;cAElB,kBACT,MAAoC;AAAA,gBAApCL,IAAAA,YAAoC,kCAAA,EAAb,MAAK,MAAK,CAAA;AAAA;cA5EjD,GAAA;AAAA;;UAgFqB,MAAIM,IAAA,QACb,CAKM,EANW,YAAK;AAAA,YACtBL,IAAA,mBAKM,OALN,YAKM;AAAA,cAJJF,IAGE,WAAA,KAAA,QAAA,aAAA,EADC,OAAY;AAAA;;UApF7B,GAAA;AAAA;;MA0FiB,qBACT,MAAuB;AAAA,QAAvBA,eAAuB,KAAA,QAAA,SAAA;AAAA;MA3F/B,GAAA;AAAA;;;;;"}
1
+ {"version":3,"file":"ivr_node.vue.cjs","sources":["../../../../recipes/cards/ivr_node/ivr_node.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe-ivr-node\"\n v-on=\"nodeListeners\"\n >\n <div\n v-if=\"dtmfKey\"\n data-qa=\"dt-top-connector-dtmf\"\n class=\"dt-recipe-ivr-node__connector dt-recipe-ivr-node__connector-dtmf\"\n :class=\"{ 'dt-recipe-ivr-node__connector-dtmf--selected': isSelected }\"\n >\n {{ dtmfKey }}\n </div>\n <slot\n v-if=\"$slots.connector\"\n name=\"connector\"\n />\n <div\n v-if=\"!dtmfKey && !$slots.connector\"\n data-qa=\"dt-top-connector\"\n class=\"dt-recipe-ivr-node__connector\"\n :class=\"{ 'dt-recipe-ivr-node__connector--selected': isSelected }\"\n />\n <dt-card\n content-class=\"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12\"\n :container-class=\"[\n 'd-w100p',\n { 'd-ba d-bar8 d-baw4': isSelected },\n headerColor,\n ]\"\n :header-class=\"[\n 'd-mtn1',\n 'd-bt',\n 'd-btw4',\n 'd-p0',\n headerColor,\n { 'd-btr4': !isSelected },\n ]\"\n >\n <template #header>\n <!-- node label and icon section on left of the header -->\n <div class=\"dt-recipe-ivr-node__header-left\">\n <dt-button\n :aria-label=\"nodeType\"\n importance=\"clear\"\n kind=\"muted\"\n data-qa=\"dt-ivr-node-icon\"\n >\n <template #icon>\n <component\n :is=\"nodeIcon\"\n size=\"200\"\n :class=\"['', { 'dt-recipe-ivr-node__goto-icon': isGotoNode }]\"\n />\n </template>\n </dt-button>\n <p\n class=\"dt-recipe-ivr-node__label\"\n data-qa=\"ivr-node-label\"\n >\n {{ nodeLabel }}\n </p>\n </div>\n <!-- node menu for actions like edit, copy, delete -->\n <dt-dropdown\n v-model:open=\"isOpen\"\n placement=\"bottom\"\n >\n <template #anchor>\n <dt-button\n importance=\"clear\"\n kind=\"muted\"\n :aria-label=\"menuButtonAriaLabel\"\n @click.stop.prevent=\"openMenu\"\n >\n <template #icon>\n <dt-icon-more-vertical size=\"200\" />\n </template>\n </dt-button>\n </template>\n <template #list=\"{ close }\">\n <div class=\"dt-recipe-ivr-node__dropdown-list\">\n <slot\n name=\"menuItems\"\n :close=\"close\"\n />\n </div>\n </template>\n </dt-dropdown>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n </dt-card>\n </div>\n</template>\n\n<script>\nimport { DtCard } from '@/components/card';\nimport { DtButton } from '@/components/button';\nimport { DtDropdown } from '@/components/dropdown';\nimport {\n DtIconKeypad,\n DtIconDialer,\n DtIconVolume2,\n DtIconExpertNode,\n DtIconBranch,\n DtIconCallMerge,\n DtIconChevronsRight,\n DtIconTransfer,\n DtIconPhoneHangUp,\n DtIconMoreVertical,\n} from '@dialpad/dialtone-icons/vue3';\nimport {\n IVR_NODE_COLOR_MAPPING,\n IVR_NODE_PROMPT_MENU,\n IVR_NODE_PROMPT_COLLECT,\n IVR_NODE_PROMPT_PLAY,\n IVR_NODE_EXPERT,\n IVR_NODE_BRANCH,\n IVR_NODE_GO_TO,\n IVR_NODE_ASSIGN,\n IVR_NODE_TRANSFER,\n IVR_NODE_HANGUP,\n} from './ivr_node_constants';\n\nconst typeToIcon = new Map([\n [IVR_NODE_PROMPT_MENU, DtIconKeypad],\n [IVR_NODE_PROMPT_COLLECT, DtIconDialer],\n [IVR_NODE_PROMPT_PLAY, DtIconVolume2],\n [IVR_NODE_EXPERT, DtIconExpertNode],\n [IVR_NODE_BRANCH, DtIconBranch],\n [IVR_NODE_GO_TO, DtIconCallMerge],\n [IVR_NODE_ASSIGN, DtIconChevronsRight],\n [IVR_NODE_TRANSFER, DtIconTransfer],\n [IVR_NODE_HANGUP, DtIconPhoneHangUp],\n]);\n\nexport default {\n name: 'DtRecipeIvrNode',\n\n components: {\n DtCard,\n DtButton,\n DtDropdown,\n DtIconKeypad,\n DtIconDialer,\n DtIconVolume2,\n DtIconExpertNode,\n DtIconBranch,\n DtIconCallMerge,\n DtIconChevronsRight,\n DtIconTransfer,\n DtIconPhoneHangUp,\n DtIconMoreVertical,\n },\n\n props: {\n\n /**\n * type of IVR Node.\n */\n nodeType: {\n type: String,\n required: true,\n },\n\n /**\n * Descriptive label for the node name.\n */\n\n nodeLabel: {\n type: String,\n required: true,\n },\n\n /**\n * Selected state of the node\n */\n isSelected: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Translated aria-label for header menu button\n */\n menuButtonAriaLabel: {\n type: String,\n required: true,\n },\n\n /**\n * DTMF input\n */\n dtmfKey: {\n type: String,\n default: null,\n },\n },\n\n emits: [\n /**\n * Add node click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n ],\n\n data () {\n return {\n isOpen: false,\n };\n },\n\n computed: {\n nodeListeners () {\n return {\n click: (e) => this.$emit('click', e),\n };\n },\n\n nodeIcon () {\n return typeToIcon.get(this.nodeType);\n },\n\n headerColor () {\n const { normal, selected } = IVR_NODE_COLOR_MAPPING[this.nodeType];\n return this.isSelected ? selected : normal;\n },\n\n isGotoNode () {\n return this.nodeType === IVR_NODE_GO_TO;\n },\n },\n\n methods: {\n openMenu () {\n this.isOpen = true;\n },\n },\n};\n</script>\n"],"names":["IVR_NODE_PROMPT_MENU","DtIconKeypad","IVR_NODE_PROMPT_COLLECT","DtIconDialer","IVR_NODE_PROMPT_PLAY","DtIconVolume2","IVR_NODE_EXPERT","DtIconExpertNode","IVR_NODE_BRANCH","DtIconBranch","IVR_NODE_GO_TO","DtIconCallMerge","IVR_NODE_ASSIGN","DtIconChevronsRight","IVR_NODE_TRANSFER","DtIconTransfer","IVR_NODE_HANGUP","DtIconPhoneHangUp","DtCard","DtButton","DtDropdown","DtIconMoreVertical","IVR_NODE_COLOR_MAPPING","_createElementBlock","_mergeProps","_toHandlers","_normalizeClass","_createCommentVNode","_renderSlot","_createVNode","_createElementVNode","_createBlock","_resolveDynamicComponent","_toDisplayString","_withModifiers","_withCtx"],"mappings":";;;;;;;;;AA8HA,MAAM,aAAa,oBAAI,IAAI;AAAA,EACzB,CAACA,mBAAAA,sBAAsBC,KAAAA,YAAY;AAAA,EACnC,CAACC,mBAAAA,yBAAyBC,KAAAA,YAAY;AAAA,EACtC,CAACC,mBAAAA,sBAAsBC,KAAAA,aAAa;AAAA,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,EADC,OAAY;AAAA;;UApF7B,GAAA;AAAA;;MA0FiB,qBACT,MAAuB;AAAA,QAAvBA,eAAuB,KAAA,QAAA,SAAA;AAAA;MA3F/B,GAAA;AAAA;;;;;"}
@@ -1,7 +1,6 @@
1
1
  import { DtIconKeypad, DtIconDialer, DtIconVolume2, DtIconExpertNode, DtIconBranch, DtIconCallMerge, DtIconChevronsRight, DtIconTransfer, DtIconPhoneHangUp, DtIconMoreVertical } from "@dialpad/dialtone-icons/vue3";
2
2
  import { IVR_NODE_GO_TO, IVR_NODE_PROMPT_MENU, IVR_NODE_PROMPT_COLLECT, IVR_NODE_PROMPT_PLAY, IVR_NODE_EXPERT, IVR_NODE_BRANCH, IVR_NODE_ASSIGN, IVR_NODE_TRANSFER, IVR_NODE_HANGUP, IVR_NODE_COLOR_MAPPING } from "./ivr_node_constants.js";
3
3
  import { resolveComponent, openBlock, createElementBlock, mergeProps, toHandlers, normalizeClass, toDisplayString, createCommentVNode, renderSlot, createVNode, withCtx, createElementVNode, createBlock, resolveDynamicComponent, withModifiers } from "vue";
4
- /* empty css */
5
4
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
6
5
  import DtCard from "../../../components/card/card.vue.js";
7
6
  import DtButton from "../../../components/button/button.vue.js";
@@ -108,28 +107,28 @@ const _sfc_main = {
108
107
  }
109
108
  }
110
109
  };
111
- const _hoisted_1 = { class: "ivr_node__header-left" };
110
+ const _hoisted_1 = { class: "dt-recipe-ivr-node__header-left" };
112
111
  const _hoisted_2 = {
113
- class: "ivr_node__label",
112
+ class: "dt-recipe-ivr-node__label",
114
113
  "data-qa": "ivr-node-label"
115
114
  };
116
- const _hoisted_3 = { class: "ivr_node__dropdown-list" };
115
+ const _hoisted_3 = { class: "dt-recipe-ivr-node__dropdown-list" };
117
116
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
118
117
  const _component_dt_button = resolveComponent("dt-button");
119
118
  const _component_dt_icon_more_vertical = resolveComponent("dt-icon-more-vertical");
120
119
  const _component_dt_dropdown = resolveComponent("dt-dropdown");
121
120
  const _component_dt_card = resolveComponent("dt-card");
122
- return openBlock(), createElementBlock("div", mergeProps({ class: "ivr_node" }, toHandlers($options.nodeListeners, true)), [
121
+ return openBlock(), createElementBlock("div", mergeProps({ class: "dt-recipe-ivr-node" }, toHandlers($options.nodeListeners, true)), [
123
122
  $props.dtmfKey ? (openBlock(), createElementBlock("div", {
124
123
  key: 0,
125
124
  "data-qa": "dt-top-connector-dtmf",
126
- class: normalizeClass(["ivr-connector ivr-connector--dtmf", { "ivr-connector--dtmf--selected": $props.isSelected }])
125
+ class: normalizeClass(["dt-recipe-ivr-node__connector dt-recipe-ivr-node__connector-dtmf", { "dt-recipe-ivr-node__connector-dtmf--selected": $props.isSelected }])
127
126
  }, toDisplayString($props.dtmfKey), 3)) : createCommentVNode("", true),
128
127
  _ctx.$slots.connector ? renderSlot(_ctx.$slots, "connector", { key: 1 }) : createCommentVNode("", true),
129
128
  !$props.dtmfKey && !_ctx.$slots.connector ? (openBlock(), createElementBlock("div", {
130
129
  key: 2,
131
130
  "data-qa": "dt-top-connector",
132
- class: normalizeClass(["ivr-connector", { "ivr-connector--selected": $props.isSelected }])
131
+ class: normalizeClass(["dt-recipe-ivr-node__connector", { "dt-recipe-ivr-node__connector--selected": $props.isSelected }])
133
132
  }, null, 2)) : createCommentVNode("", true),
134
133
  createVNode(_component_dt_card, {
135
134
  "content-class": "d-bt d-bc-black-300 d-px12 d-pt8 d-pb12",
@@ -158,7 +157,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
158
157
  icon: withCtx(() => [
159
158
  (openBlock(), createBlock(resolveDynamicComponent($options.nodeIcon), {
160
159
  size: "200",
161
- class: normalizeClass(["", { "ivr_node__goto_icon": $options.isGotoNode }])
160
+ class: normalizeClass(["", { "dt-recipe-ivr-node__goto-icon": $options.isGotoNode }])
162
161
  }, null, 8, ["class"]))
163
162
  ]),
164
163
  _: 1
@@ -1 +1 @@
1
- {"version":3,"file":"ivr_node.vue.js","sources":["../../../../recipes/cards/ivr_node/ivr_node.vue"],"sourcesContent":["<template>\n <div\n class=\"ivr_node\"\n v-on=\"nodeListeners\"\n >\n <div\n v-if=\"dtmfKey\"\n data-qa=\"dt-top-connector-dtmf\"\n class=\"ivr-connector ivr-connector--dtmf\"\n :class=\"{ 'ivr-connector--dtmf--selected': isSelected }\"\n >\n {{ dtmfKey }}\n </div>\n <slot\n v-if=\"$slots.connector\"\n name=\"connector\"\n />\n <div\n v-if=\"!dtmfKey && !$slots.connector\"\n data-qa=\"dt-top-connector\"\n class=\"ivr-connector\"\n :class=\"{ 'ivr-connector--selected': isSelected }\"\n />\n <dt-card\n content-class=\"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12\"\n :container-class=\"[\n 'd-w100p',\n { 'd-ba d-bar8 d-baw4': isSelected },\n headerColor,\n ]\"\n :header-class=\"[\n 'd-mtn1',\n 'd-bt',\n 'd-btw4',\n 'd-p0',\n headerColor,\n { 'd-btr4': !isSelected },\n ]\"\n >\n <template #header>\n <!-- node label and icon section on left of the header -->\n <div class=\"ivr_node__header-left\">\n <dt-button\n :aria-label=\"nodeType\"\n importance=\"clear\"\n kind=\"muted\"\n data-qa=\"dt-ivr-node-icon\"\n >\n <template #icon>\n <component\n :is=\"nodeIcon\"\n size=\"200\"\n :class=\"['', { 'ivr_node__goto_icon': isGotoNode }]\"\n />\n </template>\n </dt-button>\n <p\n class=\"ivr_node__label\"\n data-qa=\"ivr-node-label\"\n >\n {{ nodeLabel }}\n </p>\n </div>\n <!-- node menu for actions like edit, copy, delete -->\n <dt-dropdown\n v-model:open=\"isOpen\"\n placement=\"bottom\"\n >\n <template #anchor>\n <dt-button\n importance=\"clear\"\n kind=\"muted\"\n :aria-label=\"menuButtonAriaLabel\"\n @click.stop.prevent=\"openMenu\"\n >\n <template #icon>\n <dt-icon-more-vertical size=\"200\" />\n </template>\n </dt-button>\n </template>\n <template #list=\"{ close }\">\n <div class=\"ivr_node__dropdown-list\">\n <slot\n name=\"menuItems\"\n :close=\"close\"\n />\n </div>\n </template>\n </dt-dropdown>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n </dt-card>\n </div>\n</template>\n\n<script>\nimport { DtCard } from '@/components/card';\nimport { DtButton } from '@/components/button';\nimport { DtDropdown } from '@/components/dropdown';\nimport {\n DtIconKeypad,\n DtIconDialer,\n DtIconVolume2,\n DtIconExpertNode,\n DtIconBranch,\n DtIconCallMerge,\n DtIconChevronsRight,\n DtIconTransfer,\n DtIconPhoneHangUp,\n DtIconMoreVertical,\n} from '@dialpad/dialtone-icons/vue3';\nimport {\n IVR_NODE_COLOR_MAPPING,\n IVR_NODE_PROMPT_MENU,\n IVR_NODE_PROMPT_COLLECT,\n IVR_NODE_PROMPT_PLAY,\n IVR_NODE_EXPERT,\n IVR_NODE_BRANCH,\n IVR_NODE_GO_TO,\n IVR_NODE_ASSIGN,\n IVR_NODE_TRANSFER,\n IVR_NODE_HANGUP,\n} from './ivr_node_constants';\n\nconst typeToIcon = new Map([\n [IVR_NODE_PROMPT_MENU, DtIconKeypad],\n [IVR_NODE_PROMPT_COLLECT, DtIconDialer],\n [IVR_NODE_PROMPT_PLAY, DtIconVolume2],\n [IVR_NODE_EXPERT, DtIconExpertNode],\n [IVR_NODE_BRANCH, DtIconBranch],\n [IVR_NODE_GO_TO, DtIconCallMerge],\n [IVR_NODE_ASSIGN, DtIconChevronsRight],\n [IVR_NODE_TRANSFER, DtIconTransfer],\n [IVR_NODE_HANGUP, DtIconPhoneHangUp],\n]);\n\nexport default {\n name: 'DtRecipeIvrNode',\n\n components: {\n DtCard,\n DtButton,\n DtDropdown,\n DtIconKeypad,\n DtIconDialer,\n DtIconVolume2,\n DtIconExpertNode,\n DtIconBranch,\n DtIconCallMerge,\n DtIconChevronsRight,\n DtIconTransfer,\n DtIconPhoneHangUp,\n DtIconMoreVertical,\n },\n\n props: {\n\n /**\n * type of IVR Node.\n */\n nodeType: {\n type: String,\n required: true,\n },\n\n /**\n * Descriptive label for the node name.\n */\n\n nodeLabel: {\n type: String,\n required: true,\n },\n\n /**\n * Selected state of the node\n */\n isSelected: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Translated aria-label for header menu button\n */\n menuButtonAriaLabel: {\n type: String,\n required: true,\n },\n\n /**\n * DTMF input\n */\n dtmfKey: {\n type: String,\n default: null,\n },\n },\n\n emits: [\n /**\n * Add node click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n ],\n\n data () {\n return {\n isOpen: false,\n };\n },\n\n computed: {\n nodeListeners () {\n return {\n click: (e) => this.$emit('click', e),\n };\n },\n\n nodeIcon () {\n return typeToIcon.get(this.nodeType);\n },\n\n headerColor () {\n const { normal, selected } = IVR_NODE_COLOR_MAPPING[this.nodeType];\n return this.isSelected ? selected : normal;\n },\n\n isGotoNode () {\n return this.nodeType === IVR_NODE_GO_TO;\n },\n },\n\n methods: {\n openMenu () {\n this.isOpen = true;\n },\n },\n};\n</script>\n\n<style lang=\"less\">\n.ivr_node {\n width: 280px;\n display: flex;\n flex-direction: column;\n align-items: center;\n cursor: pointer;\n\n &__header-left {\n display: flex;\n align-items: center;\n }\n\n &__label {\n font-size: var(--dt-font-size-200);\n font-weight: var(--dt-font-weight-bold);\n }\n\n &__dropdown-list {\n width: var(--dt-size-825);\n }\n}\n\n.ivr_node__goto_icon {\n transform: rotate(90deg);\n}\n\n.ivr-connector {\n z-index: var(--zi-base);\n display: flex;\n justify-content: center;\n align-items: center;\n border-color: var(--dt-color-purple-600);\n background-color: var(--dt-color-purple-600);\n width: var(--dt-size-400);\n height: var(--dt-size-400);\n border-radius: var(--dt-size-radius-circle);\n margin-bottom: var(--dt-space-300-negative);\n\n &--selected {\n margin-bottom: var(--dt-space-400-negative);\n }\n\n &.ivr-connector--dtmf {\n width: var(--dt-size-550);\n height: var(--dt-size-550);\n margin-bottom: var(--dt-space-450-negative);\n color: var(--dt-color-neutral-white);\n font-size: var(--dt-font-size-200);\n\n &--selected {\n margin-bottom: var(--dt-space-500-negative);\n }\n }\n}\n</style>\n"],"names":["_createElementBlock","_mergeProps","_toHandlers","_normalizeClass","_createCommentVNode","_renderSlot","_createVNode","_createElementVNode","_createBlock","_resolveDynamicComponent","_toDisplayString","_withModifiers","_withCtx"],"mappings":";;;;;;;;AA8HA,MAAM,aAAa,oBAAI,IAAI;AAAA,EACzB,CAAC,sBAAsB,YAAY;AAAA,EACnC,CAAC,yBAAyB,YAAY;AAAA,EACtC,CAAC,sBAAsB,aAAa;AAAA,EACpC,CAAC,iBAAiB,gBAAgB;AAAA,EAClC,CAAC,iBAAiB,YAAY;AAAA,EAC9B,CAAC,gBAAgB,eAAe;AAAA,EAChC,CAAC,iBAAiB,mBAAmB;AAAA,EACrC,CAAC,mBAAmB,cAAc;AAAA,EAClC,CAAC,iBAAiB,iBAAiB;AACrC,CAAC;AAED,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AAAA,EAED,OAAO;AAAA;AAAA;AAAA;AAAA,IAKL,UAAU;AAAA,MACR,MAAM;AAAA,MACN,UAAU;AAAA,IACX;AAAA;AAAA;AAAA;AAAA,IAMD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,UAAU;AAAA,IACX;AAAA;AAAA;AAAA;AAAA,IAKD,YAAY;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,qBAAqB;AAAA,MACnB,MAAM;AAAA,MACN,UAAU;AAAA,IACX;AAAA;AAAA;AAAA;AAAA,IAKD,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACF;AAAA,EAED,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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SAAA;AAAA;MA3F/B,GAAA;AAAA;;;;"}
1
+ {"version":3,"file":"ivr_node.vue.js","sources":["../../../../recipes/cards/ivr_node/ivr_node.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe-ivr-node\"\n v-on=\"nodeListeners\"\n >\n <div\n v-if=\"dtmfKey\"\n data-qa=\"dt-top-connector-dtmf\"\n class=\"dt-recipe-ivr-node__connector dt-recipe-ivr-node__connector-dtmf\"\n :class=\"{ 'dt-recipe-ivr-node__connector-dtmf--selected': isSelected }\"\n >\n {{ dtmfKey }}\n </div>\n <slot\n v-if=\"$slots.connector\"\n name=\"connector\"\n />\n <div\n v-if=\"!dtmfKey && !$slots.connector\"\n data-qa=\"dt-top-connector\"\n class=\"dt-recipe-ivr-node__connector\"\n :class=\"{ 'dt-recipe-ivr-node__connector--selected': isSelected }\"\n />\n <dt-card\n content-class=\"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12\"\n :container-class=\"[\n 'd-w100p',\n { 'd-ba d-bar8 d-baw4': isSelected },\n headerColor,\n ]\"\n :header-class=\"[\n 'd-mtn1',\n 'd-bt',\n 'd-btw4',\n 'd-p0',\n headerColor,\n { 'd-btr4': !isSelected },\n ]\"\n >\n <template #header>\n <!-- node label and icon section on left of the header -->\n <div class=\"dt-recipe-ivr-node__header-left\">\n <dt-button\n :aria-label=\"nodeType\"\n importance=\"clear\"\n kind=\"muted\"\n data-qa=\"dt-ivr-node-icon\"\n >\n <template #icon>\n <component\n :is=\"nodeIcon\"\n size=\"200\"\n :class=\"['', { 'dt-recipe-ivr-node__goto-icon': isGotoNode }]\"\n />\n </template>\n </dt-button>\n <p\n class=\"dt-recipe-ivr-node__label\"\n data-qa=\"ivr-node-label\"\n >\n {{ nodeLabel }}\n </p>\n </div>\n <!-- node menu for actions like edit, copy, delete -->\n <dt-dropdown\n v-model:open=\"isOpen\"\n placement=\"bottom\"\n >\n <template #anchor>\n <dt-button\n importance=\"clear\"\n kind=\"muted\"\n :aria-label=\"menuButtonAriaLabel\"\n @click.stop.prevent=\"openMenu\"\n >\n <template #icon>\n <dt-icon-more-vertical size=\"200\" />\n </template>\n </dt-button>\n </template>\n <template #list=\"{ close }\">\n <div class=\"dt-recipe-ivr-node__dropdown-list\">\n <slot\n name=\"menuItems\"\n :close=\"close\"\n />\n </div>\n </template>\n </dt-dropdown>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n </dt-card>\n </div>\n</template>\n\n<script>\nimport { DtCard } from '@/components/card';\nimport { DtButton } from '@/components/button';\nimport { DtDropdown } from '@/components/dropdown';\nimport {\n DtIconKeypad,\n DtIconDialer,\n DtIconVolume2,\n DtIconExpertNode,\n DtIconBranch,\n DtIconCallMerge,\n DtIconChevronsRight,\n DtIconTransfer,\n DtIconPhoneHangUp,\n DtIconMoreVertical,\n} from '@dialpad/dialtone-icons/vue3';\nimport {\n IVR_NODE_COLOR_MAPPING,\n IVR_NODE_PROMPT_MENU,\n IVR_NODE_PROMPT_COLLECT,\n IVR_NODE_PROMPT_PLAY,\n IVR_NODE_EXPERT,\n IVR_NODE_BRANCH,\n IVR_NODE_GO_TO,\n IVR_NODE_ASSIGN,\n IVR_NODE_TRANSFER,\n IVR_NODE_HANGUP,\n} from './ivr_node_constants';\n\nconst typeToIcon = new Map([\n [IVR_NODE_PROMPT_MENU, DtIconKeypad],\n [IVR_NODE_PROMPT_COLLECT, DtIconDialer],\n [IVR_NODE_PROMPT_PLAY, DtIconVolume2],\n [IVR_NODE_EXPERT, DtIconExpertNode],\n [IVR_NODE_BRANCH, DtIconBranch],\n [IVR_NODE_GO_TO, DtIconCallMerge],\n [IVR_NODE_ASSIGN, DtIconChevronsRight],\n [IVR_NODE_TRANSFER, DtIconTransfer],\n [IVR_NODE_HANGUP, DtIconPhoneHangUp],\n]);\n\nexport default {\n name: 'DtRecipeIvrNode',\n\n components: {\n DtCard,\n DtButton,\n DtDropdown,\n DtIconKeypad,\n DtIconDialer,\n DtIconVolume2,\n DtIconExpertNode,\n DtIconBranch,\n DtIconCallMerge,\n DtIconChevronsRight,\n DtIconTransfer,\n DtIconPhoneHangUp,\n DtIconMoreVertical,\n },\n\n props: {\n\n /**\n * type of IVR Node.\n */\n nodeType: {\n type: String,\n required: true,\n },\n\n /**\n * Descriptive label for the node name.\n */\n\n nodeLabel: {\n type: String,\n required: true,\n },\n\n /**\n * Selected state of the node\n */\n isSelected: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Translated aria-label for header menu button\n */\n menuButtonAriaLabel: {\n type: String,\n required: true,\n },\n\n /**\n * DTMF input\n */\n dtmfKey: {\n type: String,\n default: null,\n },\n },\n\n emits: [\n /**\n * Add node click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n ],\n\n data () {\n return {\n isOpen: false,\n };\n },\n\n computed: {\n nodeListeners () {\n return {\n click: (e) => this.$emit('click', e),\n };\n },\n\n nodeIcon () {\n return typeToIcon.get(this.nodeType);\n },\n\n headerColor () {\n const { normal, selected } = IVR_NODE_COLOR_MAPPING[this.nodeType];\n return this.isSelected ? selected : normal;\n },\n\n isGotoNode () {\n return this.nodeType === IVR_NODE_GO_TO;\n },\n },\n\n methods: {\n openMenu () {\n this.isOpen = true;\n },\n },\n};\n</script>\n"],"names":["_createElementBlock","_mergeProps","_toHandlers","_normalizeClass","_createCommentVNode","_renderSlot","_createVNode","_createElementVNode","_createBlock","_resolveDynamicComponent","_toDisplayString","_withModifiers","_withCtx"],"mappings":";;;;;;;AA8HA,MAAM,aAAa,oBAAI,IAAI;AAAA,EACzB,CAAC,sBAAsB,YAAY;AAAA,EACnC,CAAC,yBAAyB,YAAY;AAAA,EACtC,CAAC,sBAAsB,aAAa;AAAA,EACpC,CAAC,iBAAiB,gBAAgB;AAAA,EAClC,CAAC,iBAAiB,YAAY;AAAA,EAC9B,CAAC,gBAAgB,eAAe;AAAA,EAChC,CAAC,iBAAiB,mBAAmB;AAAA,EACrC,CAAC,mBAAmB,cAAc;AAAA,EAClC,CAAC,iBAAiB,iB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AAA;;YApD1E,GAAA;AAAA;UAwDUI,mBAKI,KALJ,YAKIG,gBADC,OAAS,SAAA,GAAA,CAAA;AAAA;QAIhBJ,YAwBc,wBAAA;AAAA,UAvBJ,MAAM,MAAM;AAAA,UAjE9B,iBAAA,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA,YAiEwB,MAAM,SAAA;AAAA,UACpB,WAAU;AAAA;UAEC,gBACT,MASY;AAAA,YATZA,YASY,sBAAA;AAAA,cARV,YAAW;AAAA,cACX,MAAK;AAAA,cACJ,cAAY,OAAmB;AAAA,cAC/B,SAzEfK,cAyEmC,SAAQ,UAAA,CAAA,QAAA,SAAA,CAAA;AAAA;cAElB,cACT,MAAoC;AAAA,gBAApCL,YAAoC,kCAAA,EAAb,MAAK,MAAK,CAAA;AAAA;cA5EjD,GAAA;AAAA;;UAgFqB,MAAIM,QACb,CAKM,EANW,YAAK;AAAA,YACtBL,mBAKM,OALN,YAKM;AAAA,cAJJF,WAGE,KAAA,QAAA,aAAA,EADC,OAAY;AAAA;;UApF7B,GAAA;AAAA;;MA0FiB,iBACT,MAAuB;AAAA,QAAvBA,WAAuB,KAAA,QAAA,SAAA;AAAA;MA3F/B,GAAA;AAAA;;;;"}
@@ -2,7 +2,6 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const common_utils = require("../../../common/utils.cjs");
4
4
  const vue = require("vue");
5
- ;/* empty css */
6
5
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.cjs");
7
6
  const chip = require("../../../components/chip/chip.vue.cjs");
8
7
  const _sfc_main = {
@@ -18,7 +17,7 @@ const _sfc_main = {
18
17
  };
19
18
  const _hoisted_1 = {
20
19
  "data-qa": "grouped-chip",
21
- class: "dt-grouped-chip"
20
+ class: "dt-recipe-grouped-chip"
22
21
  };
23
22
  const _hoisted_2 = {
24
23
  key: 0,
@@ -45,7 +44,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
45
44
  "content-class": "d-fs100",
46
45
  size: "xs",
47
46
  "grouped-chip": true,
48
- class: "dt-chip-content dt-chip-content--left"
47
+ class: "dt-recipe-grouped-chip__content dt-recipe-grouped-chip__content-left"
49
48
  }, vue.createSlots({
50
49
  default: vue.withCtx(() => [
51
50
  $data.hasSlotContent(_ctx.$slots.leftContent) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
@@ -70,7 +69,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
70
69
  "content-class": "d-fs100",
71
70
  size: "xs",
72
71
  "grouped-chip": true,
73
- class: "dt-chip-content dt-chip-content--right"
72
+ class: "dt-recipe-grouped-chip__content dt-recipe-grouped-chip__content-right"
74
73
  }, {
75
74
  icon: vue.withCtx(() => [
76
75
  $data.hasSlotContent(_ctx.$slots.rightIcon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
@@ -1 +1 @@
1
- {"version":3,"file":"grouped_chip.vue.cjs","sources":["../../../../recipes/chips/grouped_chip/grouped_chip.vue"],"sourcesContent":["<template>\n <div\n data-qa=\"grouped-chip\"\n class=\"dt-grouped-chip\"\n >\n <dt-chip\n :hide-close=\"true\"\n :interactive=\"false\"\n content-class=\"d-fs100\"\n size=\"xs\"\n :grouped-chip=\"true\"\n class=\"dt-chip-content dt-chip-content--left\"\n >\n <template\n v-if=\"hasSlotContent($slots.leftIcon)\"\n #icon\n >\n <!-- @slot Slot for left chip icon information -->\n <div\n v-if=\"hasSlotContent($slots.leftIcon)\"\n data-qa=\"left-grouped-chip-icon\"\n >\n <slot name=\"leftIcon\" />\n </div>\n </template>\n <template #default>\n <div\n v-if=\"hasSlotContent($slots.leftContent)\"\n data-qa=\"left-grouped-chip-content\"\n >\n <!-- @slot Slot for left chip content information -->\n <slot name=\"leftContent\" />\n </div>\n </template>\n </dt-chip>\n\n <!-- Right side split chip -->\n <dt-chip\n :hide-close=\"true\"\n :interactive=\"false\"\n content-class=\"d-fs100\"\n size=\"xs\"\n :grouped-chip=\"true\"\n class=\"dt-chip-content dt-chip-content--right\"\n >\n <template #icon>\n <div\n v-if=\"hasSlotContent($slots.rightIcon)\"\n data-qa=\"right-grouped-chip-icon\"\n >\n <!-- @slot Slot for right chip content information -->\n <slot name=\"rightIcon\" />\n </div>\n </template>\n <template #default>\n <div\n v-if=\"hasSlotContent($slots.rightContent)\"\n data-qa=\"right-grouped-chip-content\"\n >\n <!-- @slot Slot for right chip content information -->\n <slot name=\"rightContent\" />\n </div>\n </template>\n </dt-chip>\n </div>\n</template>\n\n<script>\nimport { DtChip } from '@/components/chip';\nimport { hasSlotContent } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeGroupedChip',\n\n components: {\n DtChip,\n },\n\n data () {\n return {\n hasSlotContent,\n };\n },\n};\n</script>\n\n<style lang=\"less\">\n.dt-grouped-chip {\n display: inline-flex;\n white-space: nowrap;\n background-color: unset;\n background-image: unset;\n}\n\n.dt-chip-content {\n font-variant-numeric: tabular-nums;\n\n &--left {\n border-top-left-radius: var(--dt-size-radius-pill);\n border-bottom-left-radius: var(--dt-size-radius-pill);\n background-color: var(--dt-color-surface-moderate-opaque);\n max-width: var(--dt-size-730);\n }\n\n &--right {\n border-top-right-radius: var(--dt-size-radius-pill);\n border-bottom-right-radius: var(--dt-size-radius-pill);\n background-color: var(--dt-color-purple-200);\n max-width: var(--dt-size-730);\n }\n}\n</style>\n"],"names":["DtChip","hasSlotContent","_openBlock","_createElementBlock","_createVNode","_createSlots","_renderSlot","_createCommentVNode","_withCtx"],"mappings":";;;;;;;AAuEA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY;AAAA,IACV,QAAAA,KAAM;AAAA,EACP;AAAA,EAED,OAAQ;AACN,WAAO;AAAA,MACL,gBAAAC,aAAc;AAAA;EAEjB;AACH;;EAjFI,WAAQ;AAAA,EACR,OAAM;;;EAHV,KAAA;AAAA,EAoBU,WAAQ;;;EApBlB,KAAA;AAAA,EA4BU,WAAQ;;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IAAAA,mBAMM,OANN,YAMM;AAAA,UADJG,eAA4B,KAAA,QAAA,cAAA;AAAA,cA5DtCC,IAAA,mBAAA,IAAA,IAAA;AAAA;MAAA,GAAA;AAAA;;;;;"}
1
+ {"version":3,"file":"grouped_chip.vue.cjs","sources":["../../../../recipes/chips/grouped_chip/grouped_chip.vue"],"sourcesContent":["<template>\n <div\n data-qa=\"grouped-chip\"\n class=\"dt-recipe-grouped-chip\"\n >\n <dt-chip\n :hide-close=\"true\"\n :interactive=\"false\"\n content-class=\"d-fs100\"\n size=\"xs\"\n :grouped-chip=\"true\"\n class=\"dt-recipe-grouped-chip__content dt-recipe-grouped-chip__content-left\"\n >\n <template\n v-if=\"hasSlotContent($slots.leftIcon)\"\n #icon\n >\n <!-- @slot Slot for left chip icon information -->\n <div\n v-if=\"hasSlotContent($slots.leftIcon)\"\n data-qa=\"left-grouped-chip-icon\"\n >\n <slot name=\"leftIcon\" />\n </div>\n </template>\n <template #default>\n <div\n v-if=\"hasSlotContent($slots.leftContent)\"\n data-qa=\"left-grouped-chip-content\"\n >\n <!-- @slot Slot for left chip content information -->\n <slot name=\"leftContent\" />\n </div>\n </template>\n </dt-chip>\n\n <!-- Right side split chip -->\n <dt-chip\n :hide-close=\"true\"\n :interactive=\"false\"\n content-class=\"d-fs100\"\n size=\"xs\"\n :grouped-chip=\"true\"\n class=\"dt-recipe-grouped-chip__content dt-recipe-grouped-chip__content-right\"\n >\n <template #icon>\n <div\n v-if=\"hasSlotContent($slots.rightIcon)\"\n data-qa=\"right-grouped-chip-icon\"\n >\n <!-- @slot Slot for right chip content information -->\n <slot name=\"rightIcon\" />\n </div>\n </template>\n <template #default>\n <div\n v-if=\"hasSlotContent($slots.rightContent)\"\n data-qa=\"right-grouped-chip-content\"\n >\n <!-- @slot Slot for right chip content information -->\n <slot name=\"rightContent\" />\n </div>\n </template>\n </dt-chip>\n </div>\n</template>\n\n<script>\nimport { DtChip } from '@/components/chip';\nimport { hasSlotContent } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeGroupedChip',\n\n components: {\n DtChip,\n },\n\n data () {\n return {\n hasSlotContent,\n };\n },\n};\n</script>\n"],"names":["DtChip","hasSlotContent","_openBlock","_createElementBlock","_createVNode","_createSlots","_renderSlot","_createCommentVNode","_withCtx"],"mappings":";;;;;;AAuEA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY;AAAA,IACV,QAAAA,KAAM;AAAA,EACP;AAAA,EAED,OAAQ;AACN,WAAO;AAAA,MACL,gBAAAC,aAAc;AAAA;EAEjB;AACH;;EAjFI,WAAQ;AAAA,EACR,OAAM;;;EAHV,KAAA;AAAA,EAoBU,WAAQ;;;EApBlB,KAAA;AAAA,EA4BU,WAAQ;;;EA5BlB,KAAA;AAAA,EAgDU,WAAQ;;;EAhDlB,KAAA;AAAA,EAyDU,WAAQ;;;;AAxDhB,SAAAC,cAAA,GAAAC,uBA+DM,OA/DN,YA+DM;AAAA,IA3DJC,IAAAA,YA6BU,oBAAA;AAAA,MA5BP,cAAY;AAAA,MACZ,aAAa;AAAA,MACd,iBAAc;AAAA,MACd,MAAK;AAAA,MACJ,gBAAc;AAAA,MACf,OAAM;AAAA,IAXZ,GAAAC,gBAAA;AAAA,MAyBiB,qBACT,MAMM;AAAA,QALE,MAAc,eAAC,KAAM,OAAC,WAAW,KADzCH,IAAAA,aAAAC,IAAAA,mBAMM,OANN,YAMM;AAAA,UADJG,eAA2B,KAAA,QAAA,aAAA;AAAA,cA/BrCC,IAAA,mBAAA,IAAA,IAAA;AAAA;MAAA,GAAA;AAAA;MAcc,MAAc,eAAC,KAAM,OAAC,QAAQ;QAd5C,MAeS;AAAA,QAfT,IAAAC,IAAA,QAkBQ,MAKM;AAAA,UAJE,MAAc,eAAC,KAAM,OAAC,QAAQ,KADtCN,IAAAA,aAAAC,IAAAA,mBAKM,OALN,YAKM;AAAA,YADJG,eAAwB,KAAA,QAAA,UAAA;AAAA,gBAtBlCC,IAAA,mBAAA,IAAA,IAA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