@dialpad/dialtone 9.130.0 → 9.131.1

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 (1131) hide show
  1. package/dist/css/dialtone-default-theme.css +8 -2
  2. package/dist/css/dialtone-default-theme.min.css +1 -1
  3. package/dist/css/dialtone-docs.json +1 -1
  4. package/dist/css/dialtone.css +8 -2
  5. package/dist/css/dialtone.min.css +1 -1
  6. package/dist/css/tokens-docs.json +1 -1
  7. package/dist/tokens/css/tokens-dp-dark.css +104 -265
  8. package/dist/tokens/css/tokens-expressive-dark.css +104 -265
  9. package/dist/tokens/css/tokens-expressive-sm-dark.css +104 -265
  10. package/dist/tokens/css/tokens-tmo-dark.css +104 -265
  11. package/dist/tokens/doc.json +43289 -45313
  12. package/dist/tokens/themes/dp-dark.cjs +1 -1
  13. package/dist/tokens/themes/dp-dark.js +1 -1
  14. package/dist/tokens/themes/expressive-dark.cjs +1 -1
  15. package/dist/tokens/themes/expressive-dark.js +1 -1
  16. package/dist/tokens/themes/expressive-sm-dark.cjs +1 -1
  17. package/dist/tokens/themes/expressive-sm-dark.js +1 -1
  18. package/dist/tokens/themes/tmo-dark.cjs +1 -1
  19. package/dist/tokens/themes/tmo-dark.js +1 -1
  20. package/dist/tokens/tokens-dp-dark.json +11 -34
  21. package/dist/tokens/tokens-expressive-dark.json +11 -34
  22. package/dist/tokens/tokens-expressive-sm-dark.json +11 -34
  23. package/dist/tokens/tokens-tmo-dark.json +11 -34
  24. package/dist/vue2/common/constants/index.cjs.map +1 -1
  25. package/dist/vue2/common/constants/index.js.map +1 -1
  26. package/dist/vue2/common/dates/index.cjs.map +1 -1
  27. package/dist/vue2/common/dates/index.js +3 -3
  28. package/dist/vue2/common/dates/index.js.map +1 -1
  29. package/dist/vue2/common/emoji/index.cjs.map +1 -1
  30. package/dist/vue2/common/emoji/index.js.map +1 -1
  31. package/dist/vue2/common/mixins/dom.cjs.map +1 -1
  32. package/dist/vue2/common/mixins/dom.js.map +1 -1
  33. package/dist/vue2/common/mixins/input-group.cjs.map +1 -1
  34. package/dist/vue2/common/mixins/input-group.js +5 -5
  35. package/dist/vue2/common/mixins/input-group.js.map +1 -1
  36. package/dist/vue2/common/mixins/input.cjs.map +1 -1
  37. package/dist/vue2/common/mixins/input.js.map +1 -1
  38. package/dist/vue2/common/mixins/keyboard-list-navigation.cjs.map +1 -1
  39. package/dist/vue2/common/mixins/keyboard-list-navigation.js.map +1 -1
  40. package/dist/vue2/common/mixins/modal.cjs.map +1 -1
  41. package/dist/vue2/common/mixins/modal.js.map +1 -1
  42. package/dist/vue2/common/mixins/skeleton.cjs.map +1 -1
  43. package/dist/vue2/common/mixins/skeleton.js.map +1 -1
  44. package/dist/vue2/common/utils/index.cjs.map +1 -1
  45. package/dist/vue2/common/utils/index.js +0 -1
  46. package/dist/vue2/common/utils/index.js.map +1 -1
  47. package/dist/vue2/common/validators/index.cjs.map +1 -1
  48. package/dist/vue2/common/validators/index.js.map +1 -1
  49. package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs +1 -1
  50. package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
  51. package/dist/vue2/lib/attachment-carousel/attachment-carousel.js +4 -4
  52. package/dist/vue2/lib/avatar/avatar-constants.cjs.map +1 -1
  53. package/dist/vue2/lib/avatar/avatar-constants.js.map +1 -1
  54. package/dist/vue2/lib/avatar/avatar.cjs.map +1 -1
  55. package/dist/vue2/lib/avatar/avatar.js +11 -11
  56. package/dist/vue2/lib/avatar/avatar.js.map +1 -1
  57. package/dist/vue2/lib/avatar/utils.cjs.map +1 -1
  58. package/dist/vue2/lib/avatar/utils.js.map +1 -1
  59. package/dist/vue2/lib/badge/badge.cjs.map +1 -1
  60. package/dist/vue2/lib/badge/badge.js +7 -7
  61. package/dist/vue2/lib/badge/badge.js.map +1 -1
  62. package/dist/vue2/lib/banner/banner.cjs +1 -1
  63. package/dist/vue2/lib/banner/banner.cjs.map +1 -1
  64. package/dist/vue2/lib/banner/banner.js +4 -4
  65. package/dist/vue2/lib/breadcrumbs/breadcrumb-item.cjs.map +1 -1
  66. package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
  67. package/dist/vue2/lib/button/button-constants.cjs.map +1 -1
  68. package/dist/vue2/lib/button/button-constants.js.map +1 -1
  69. package/dist/vue2/lib/button/button.cjs +1 -1
  70. package/dist/vue2/lib/button/button.cjs.map +1 -1
  71. package/dist/vue2/lib/button/button.js +14 -14
  72. package/dist/vue2/lib/button/button.js.map +1 -1
  73. package/dist/vue2/lib/button-group/button-group.cjs.map +1 -1
  74. package/dist/vue2/lib/button-group/buttons-decorator.cjs.map +1 -1
  75. package/dist/vue2/lib/callbar-button/callbar-button-constants.cjs.map +1 -1
  76. package/dist/vue2/lib/callbar-button/callbar-button-constants.js.map +1 -1
  77. package/dist/vue2/lib/callbar-button/callbar-button.cjs +1 -1
  78. package/dist/vue2/lib/callbar-button/callbar-button.cjs.map +1 -1
  79. package/dist/vue2/lib/callbar-button/callbar-button.js +3 -3
  80. package/dist/vue2/lib/callbar-button/callbar-button.js.map +1 -1
  81. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  82. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  83. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +6 -6
  84. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  85. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  86. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  87. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +6 -6
  88. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  89. package/dist/vue2/lib/callbox/callbox-constants.cjs.map +1 -1
  90. package/dist/vue2/lib/callbox/callbox-constants.js.map +1 -1
  91. package/dist/vue2/lib/callbox/callbox.cjs.map +1 -1
  92. package/dist/vue2/lib/callbox/callbox.js +5 -5
  93. package/dist/vue2/lib/checkbox/checkbox-constants.cjs.map +1 -1
  94. package/dist/vue2/lib/checkbox/checkbox-constants.js.map +1 -1
  95. package/dist/vue2/lib/checkbox/checkbox.cjs.map +1 -1
  96. package/dist/vue2/lib/checkbox-group/checkbox-group.cjs.map +1 -1
  97. package/dist/vue2/lib/checkbox-group/checkbox-group.js.map +1 -1
  98. package/dist/vue2/lib/checkbox-group/checkboxes-decorator.cjs.map +1 -1
  99. package/dist/vue2/lib/chip/chip-constants.cjs.map +1 -1
  100. package/dist/vue2/lib/chip/chip-constants.js.map +1 -1
  101. package/dist/vue2/lib/chip/chip.cjs.map +1 -1
  102. package/dist/vue2/lib/chip/chip.js +3 -3
  103. package/dist/vue2/lib/collapsible/collapsible.cjs +1 -1
  104. package/dist/vue2/lib/collapsible/collapsible.cjs.map +1 -1
  105. package/dist/vue2/lib/collapsible/collapsible.js +7 -7
  106. package/dist/vue2/lib/combobox/combobox-constants.cjs.map +1 -1
  107. package/dist/vue2/lib/combobox/combobox-constants.js.map +1 -1
  108. package/dist/vue2/lib/combobox/combobox-empty-list.cjs.map +1 -1
  109. package/dist/vue2/lib/combobox/combobox-loading-list.cjs +1 -1
  110. package/dist/vue2/lib/combobox/combobox-loading-list.cjs.map +1 -1
  111. package/dist/vue2/lib/combobox/combobox-loading-list.js +3 -3
  112. package/dist/vue2/lib/combobox/combobox.cjs +1 -1
  113. package/dist/vue2/lib/combobox/combobox.cjs.map +1 -1
  114. package/dist/vue2/lib/combobox/combobox.js +1 -1
  115. package/dist/vue2/lib/combobox/combobox.js.map +1 -1
  116. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select-constants.cjs.map +1 -1
  117. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select-constants.js.map +1 -1
  118. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select-story-constants.cjs.map +1 -1
  119. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select-story-constants.js.map +1 -1
  120. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
  121. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
  122. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js +4 -4
  123. package/dist/vue2/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
  124. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
  125. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
  126. package/dist/vue2/lib/combobox-with-popover/combobox-with-popover.js +9 -9
  127. package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs +1 -1
  128. package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
  129. package/dist/vue2/lib/contact-centers-row/contact-centers-row.js +7 -7
  130. package/dist/vue2/lib/contact-centers-row/contact-centers-row.js.map +1 -1
  131. package/dist/vue2/lib/contact-info/contact-info.cjs.map +1 -1
  132. package/dist/vue2/lib/contact-row/contact-row.cjs +1 -1
  133. package/dist/vue2/lib/contact-row/contact-row.cjs.map +1 -1
  134. package/dist/vue2/lib/contact-row/contact-row.js +4 -4
  135. package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
  136. package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
  137. package/dist/vue2/lib/datepicker/datepicker.js +83 -83
  138. package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
  139. package/dist/vue2/lib/datepicker/formatUtils.cjs.map +1 -1
  140. package/dist/vue2/lib/datepicker/formatUtils.js.map +1 -1
  141. package/dist/vue2/lib/datepicker/utils.cjs.map +1 -1
  142. package/dist/vue2/lib/datepicker/utils.js.map +1 -1
  143. package/dist/vue2/lib/description-list/description-list.cjs.map +1 -1
  144. package/dist/vue2/lib/dropdown/dropdown-constants.cjs.map +1 -1
  145. package/dist/vue2/lib/dropdown/dropdown-constants.js.map +1 -1
  146. package/dist/vue2/lib/dropdown/dropdown-story-constants.cjs.map +1 -1
  147. package/dist/vue2/lib/dropdown/dropdown-story-constants.js.map +1 -1
  148. package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
  149. package/dist/vue2/lib/dropdown/dropdown.cjs.map +1 -1
  150. package/dist/vue2/lib/dropdown/dropdown.js +1 -1
  151. package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
  152. package/dist/vue2/lib/editor/editor-constants.cjs.map +1 -1
  153. package/dist/vue2/lib/editor/editor-constants.js.map +1 -1
  154. package/dist/vue2/lib/editor/editor.cjs +1 -1
  155. package/dist/vue2/lib/editor/editor.cjs.map +1 -1
  156. package/dist/vue2/lib/editor/editor.js +44 -44
  157. package/dist/vue2/lib/editor/editor.js.map +1 -1
  158. package/dist/vue2/lib/emoji/emoji.cjs.map +1 -1
  159. package/dist/vue2/lib/emoji/emoji.js +4 -4
  160. package/dist/vue2/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
  161. package/dist/vue2/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
  162. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs +1 -1
  163. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  164. package/dist/vue2/lib/emoji-picker/emoji-picker.js +9 -9
  165. package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
  166. package/dist/vue2/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
  167. package/dist/vue2/lib/emoji-row/emoji-row-constants.js.map +1 -1
  168. package/dist/vue2/lib/emoji-row/emoji-row.cjs +1 -1
  169. package/dist/vue2/lib/emoji-row/emoji-row.cjs.map +1 -1
  170. package/dist/vue2/lib/emoji-row/emoji-row.js +5 -5
  171. package/dist/vue2/lib/emoji-row/emoji-row.js.map +1 -1
  172. package/dist/vue2/lib/emoji-text-wrapper/emoji-text-wrapper.cjs +1 -1
  173. package/dist/vue2/lib/emoji-text-wrapper/emoji-text-wrapper.cjs.map +1 -1
  174. package/dist/vue2/lib/emoji-text-wrapper/emoji-text-wrapper.js +1 -1
  175. package/dist/vue2/lib/emoji-text-wrapper/emoji-text-wrapper.js.map +1 -1
  176. package/dist/vue2/lib/empty-state/empty-state-constants.cjs.map +1 -1
  177. package/dist/vue2/lib/empty-state/empty-state-constants.js.map +1 -1
  178. package/dist/vue2/lib/empty-state/empty-state.cjs.map +1 -1
  179. package/dist/vue2/lib/empty-state/empty-state.js +3 -3
  180. package/dist/vue2/lib/empty-state/empty-state.js.map +1 -1
  181. package/dist/vue2/lib/feed-item-pill/feed-item-pill-constants.cjs.map +1 -1
  182. package/dist/vue2/lib/feed-item-pill/feed-item-pill-constants.js.map +1 -1
  183. package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs +1 -1
  184. package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
  185. package/dist/vue2/lib/feed-item-pill/feed-item-pill.js +3 -3
  186. package/dist/vue2/lib/feed-item-row/feed-item-row-constants.cjs.map +1 -1
  187. package/dist/vue2/lib/feed-item-row/feed-item-row-constants.js.map +1 -1
  188. package/dist/vue2/lib/feed-item-row/feed-item-row.cjs +1 -1
  189. package/dist/vue2/lib/feed-item-row/feed-item-row.cjs.map +1 -1
  190. package/dist/vue2/lib/feed-item-row/feed-item-row.js +9 -9
  191. package/dist/vue2/lib/feed-item-row/feed-item-row.js.map +1 -1
  192. package/dist/vue2/lib/general-row/general-row-constants.cjs.map +1 -1
  193. package/dist/vue2/lib/general-row/general-row-constants.js.map +1 -1
  194. package/dist/vue2/lib/general-row/general-row.cjs +1 -1
  195. package/dist/vue2/lib/general-row/general-row.cjs.map +1 -1
  196. package/dist/vue2/lib/general-row/general-row.js +14 -14
  197. package/dist/vue2/lib/general-row/general-row.js.map +1 -1
  198. package/dist/vue2/lib/general-row/leftbar-general-row-icon.cjs.map +1 -1
  199. package/dist/vue2/lib/general-row/leftbar-general-row-icon.js +30 -30
  200. package/dist/vue2/lib/group-row/group-row.cjs.map +1 -1
  201. package/dist/vue2/lib/grouped-chip/grouped-chip.cjs.map +1 -1
  202. package/dist/vue2/lib/hovercard/hovercard.cjs +1 -1
  203. package/dist/vue2/lib/hovercard/hovercard.cjs.map +1 -1
  204. package/dist/vue2/lib/hovercard/hovercard.js +7 -7
  205. package/dist/vue2/lib/hovercard/hovercard.js.map +1 -1
  206. package/dist/vue2/lib/icon/icon-constants.cjs.map +1 -1
  207. package/dist/vue2/lib/icon/icon-constants.js.map +1 -1
  208. package/dist/vue2/lib/icon/icon.js +3 -3
  209. package/dist/vue2/lib/illustration/illustration-constants.cjs.map +1 -1
  210. package/dist/vue2/lib/illustration/illustration-constants.js.map +1 -1
  211. package/dist/vue2/lib/image-viewer/image-viewer.cjs.map +1 -1
  212. package/dist/vue2/lib/image-viewer/image-viewer.js.map +1 -1
  213. package/dist/vue2/lib/input/input-constants.cjs.map +1 -1
  214. package/dist/vue2/lib/input/input-constants.js.map +1 -1
  215. package/dist/vue2/lib/input/input.cjs.map +1 -1
  216. package/dist/vue2/lib/input/input.js +8 -8
  217. package/dist/vue2/lib/input/input.js.map +1 -1
  218. package/dist/vue2/lib/input-group/input-group.cjs.map +1 -1
  219. package/dist/vue2/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
  220. package/dist/vue2/lib/ivr-node/ivr-node-constants.js.map +1 -1
  221. package/dist/vue2/lib/ivr-node/ivr-node.cjs +1 -1
  222. package/dist/vue2/lib/ivr-node/ivr-node.cjs.map +1 -1
  223. package/dist/vue2/lib/ivr-node/ivr-node.js +27 -27
  224. package/dist/vue2/lib/keyboard-shortcut/keyboard-shortcut.cjs.map +1 -1
  225. package/dist/vue2/lib/keyboard-shortcut/keyboard-shortcut.js +13 -13
  226. package/dist/vue2/lib/link/link-constants.cjs.map +1 -1
  227. package/dist/vue2/lib/link/link-constants.js.map +1 -1
  228. package/dist/vue2/lib/link/link.cjs.map +1 -1
  229. package/dist/vue2/lib/link/link.js +3 -3
  230. package/dist/vue2/lib/list-item/list-item-constants.cjs.map +1 -1
  231. package/dist/vue2/lib/list-item/list-item-constants.js.map +1 -1
  232. package/dist/vue2/lib/list-item/list-item.cjs.map +1 -1
  233. package/dist/vue2/lib/list-item/list-item.js +1 -1
  234. package/dist/vue2/lib/list-item/list-item.js.map +1 -1
  235. package/dist/vue2/lib/list-item-group/list-item-group-constants.cjs.map +1 -1
  236. package/dist/vue2/lib/list-item-group/list-item-group-constants.js.map +1 -1
  237. package/dist/vue2/lib/list-item-group/list-item-group.cjs.map +1 -1
  238. package/dist/vue2/lib/loader/loader.cjs.map +1 -1
  239. package/dist/vue2/lib/message-input/last-active-nodes.cjs +1 -1
  240. package/dist/vue2/lib/message-input/last-active-nodes.cjs.map +1 -1
  241. package/dist/vue2/lib/message-input/last-active-nodes.js +22 -22
  242. package/dist/vue2/lib/message-input/last-active-nodes.js.map +1 -1
  243. package/dist/vue2/lib/message-input/message-input-button.cjs +1 -1
  244. package/dist/vue2/lib/message-input/message-input-button.cjs.map +1 -1
  245. package/dist/vue2/lib/message-input/message-input-button.js +8 -8
  246. package/dist/vue2/lib/message-input/message-input-constants.cjs.map +1 -1
  247. package/dist/vue2/lib/message-input/message-input-constants.js.map +1 -1
  248. package/dist/vue2/lib/message-input/message-input-link.cjs +1 -1
  249. package/dist/vue2/lib/message-input/message-input-link.cjs.map +1 -1
  250. package/dist/vue2/lib/message-input/message-input-link.js +8 -8
  251. package/dist/vue2/lib/message-input/message-input-topbar.cjs.map +1 -1
  252. package/dist/vue2/lib/message-input/message-input-topbar.js +9 -9
  253. package/dist/vue2/lib/message-input/message-input.cjs +1 -1
  254. package/dist/vue2/lib/message-input/message-input.cjs.map +1 -1
  255. package/dist/vue2/lib/message-input/message-input.js +28 -28
  256. package/dist/vue2/lib/message-input/message-input.js.map +1 -1
  257. package/dist/vue2/lib/modal/modal.cjs +1 -1
  258. package/dist/vue2/lib/modal/modal.cjs.map +1 -1
  259. package/dist/vue2/lib/modal/modal.js +12 -12
  260. package/dist/vue2/lib/modal/modal.js.map +1 -1
  261. package/dist/vue2/lib/notice/notice-action.cjs.map +1 -1
  262. package/dist/vue2/lib/notice/notice-constants.cjs.map +1 -1
  263. package/dist/vue2/lib/notice/notice-constants.js.map +1 -1
  264. package/dist/vue2/lib/notice/notice-icon.cjs.map +1 -1
  265. package/dist/vue2/lib/notice/notice-icon.js +9 -9
  266. package/dist/vue2/lib/notice/notice.cjs.map +1 -1
  267. package/dist/vue2/lib/notice/notice.js +3 -3
  268. package/dist/vue2/lib/pagination/pagination.cjs.map +1 -1
  269. package/dist/vue2/lib/pagination/pagination.js +3 -3
  270. package/dist/vue2/lib/pagination/pagination.js.map +1 -1
  271. package/dist/vue2/lib/popover/popover-constants.cjs.map +1 -1
  272. package/dist/vue2/lib/popover/popover-constants.js.map +1 -1
  273. package/dist/vue2/lib/popover/popover-header-footer.cjs.map +1 -1
  274. package/dist/vue2/lib/popover/popover.cjs +1 -1
  275. package/dist/vue2/lib/popover/popover.cjs.map +1 -1
  276. package/dist/vue2/lib/popover/popover.js +16 -16
  277. package/dist/vue2/lib/popover/popover.js.map +1 -1
  278. package/dist/vue2/lib/popover/tippy-utils.cjs +1 -1
  279. package/dist/vue2/lib/popover/tippy-utils.cjs.map +1 -1
  280. package/dist/vue2/lib/popover/tippy-utils.js +16 -18
  281. package/dist/vue2/lib/popover/tippy-utils.js.map +1 -1
  282. package/dist/vue2/lib/presence/presence.cjs.map +1 -1
  283. package/dist/vue2/lib/radio/radio-constants.cjs.map +1 -1
  284. package/dist/vue2/lib/radio/radio-constants.js.map +1 -1
  285. package/dist/vue2/lib/radio/radio.cjs.map +1 -1
  286. package/dist/vue2/lib/radio-group/radio-group.cjs.map +1 -1
  287. package/dist/vue2/lib/radio-group/radios-decorator.cjs.map +1 -1
  288. package/dist/vue2/lib/recipes/eslint.config.cjs +2 -0
  289. package/dist/vue2/lib/recipes/eslint.config.cjs.map +1 -0
  290. package/dist/vue2/lib/recipes/eslint.config.js +12 -0
  291. package/dist/vue2/lib/recipes/eslint.config.js.map +1 -0
  292. package/dist/vue2/lib/rich-text-editor/channel-suggestion.cjs.map +1 -1
  293. package/dist/vue2/lib/rich-text-editor/channel-suggestion.js.map +1 -1
  294. package/dist/vue2/lib/rich-text-editor/mention-suggestion.cjs.map +1 -1
  295. package/dist/vue2/lib/rich-text-editor/mention-suggestion.js.map +1 -1
  296. package/dist/vue2/lib/rich-text-editor/rich-text-editor-constants.cjs.map +1 -1
  297. package/dist/vue2/lib/rich-text-editor/rich-text-editor-constants.js.map +1 -1
  298. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +2 -2
  299. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  300. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +72 -65
  301. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  302. package/dist/vue2/lib/rich-text-editor/slash-command-suggestion.cjs.map +1 -1
  303. package/dist/vue2/lib/rich-text-editor/slash-command-suggestion.js.map +1 -1
  304. package/dist/vue2/lib/root-layout/root-layout-constants.cjs.map +1 -1
  305. package/dist/vue2/lib/root-layout/root-layout-constants.js.map +1 -1
  306. package/dist/vue2/lib/root-layout/root-layout.cjs.map +1 -1
  307. package/dist/vue2/lib/root-layout/root-layout.js +1 -1
  308. package/dist/vue2/lib/scrollbar-directive/scrollbar.cjs.map +1 -1
  309. package/dist/vue2/lib/scrollbar-directive/scrollbar.js.map +1 -1
  310. package/dist/vue2/lib/select-menu/select-menu-constants.cjs.map +1 -1
  311. package/dist/vue2/lib/select-menu/select-menu-constants.js.map +1 -1
  312. package/dist/vue2/lib/select-menu/select-menu.cjs.map +1 -1
  313. package/dist/vue2/lib/select-menu/select-menu.js +7 -7
  314. package/dist/vue2/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
  315. package/dist/vue2/lib/skeleton/skeleton-constants.cjs.map +1 -1
  316. package/dist/vue2/lib/skeleton/skeleton-constants.js.map +1 -1
  317. package/dist/vue2/lib/skeleton/skeleton-list-item.cjs.map +1 -1
  318. package/dist/vue2/lib/skeleton/skeleton-paragraph.cjs.map +1 -1
  319. package/dist/vue2/lib/skeleton/skeleton-paragraph.js.map +1 -1
  320. package/dist/vue2/lib/skeleton/skeleton-shape.cjs.map +1 -1
  321. package/dist/vue2/lib/skeleton/skeleton-shape.js +1 -1
  322. package/dist/vue2/lib/skeleton/skeleton-text.cjs.map +1 -1
  323. package/dist/vue2/lib/skeleton/skeleton.cjs +1 -1
  324. package/dist/vue2/lib/skeleton/skeleton.cjs.map +1 -1
  325. package/dist/vue2/lib/skeleton/skeleton.js +1 -1
  326. package/dist/vue2/lib/skeleton/skeleton.js.map +1 -1
  327. package/dist/vue2/lib/split-button/split-button-alpha.cjs.map +1 -1
  328. package/dist/vue2/lib/split-button/split-button-constants.cjs.map +1 -1
  329. package/dist/vue2/lib/split-button/split-button-constants.js.map +1 -1
  330. package/dist/vue2/lib/split-button/split-button-omega.cjs.map +1 -1
  331. package/dist/vue2/lib/split-button/split-button.cjs.map +1 -1
  332. package/dist/vue2/lib/split-button/split-button.js +5 -5
  333. package/dist/vue2/lib/split-button/split-button.js.map +1 -1
  334. package/dist/vue2/lib/stack/stack-constants.cjs.map +1 -1
  335. package/dist/vue2/lib/stack/stack-constants.js.map +1 -1
  336. package/dist/vue2/lib/stack/stack.cjs.map +1 -1
  337. package/dist/vue2/lib/stack/stack.js +9 -9
  338. package/dist/vue2/lib/stack/utils.cjs.map +1 -1
  339. package/dist/vue2/lib/stack/utils.js.map +1 -1
  340. package/dist/vue2/lib/stack/validators.cjs.map +1 -1
  341. package/dist/vue2/lib/stack/validators.js.map +1 -1
  342. package/dist/vue2/lib/tab/tab-group.cjs.map +1 -1
  343. package/dist/vue2/lib/tab/tab-group.js +5 -5
  344. package/dist/vue2/lib/tab/tab-group.js.map +1 -1
  345. package/dist/vue2/lib/tab/tab.cjs.map +1 -1
  346. package/dist/vue2/lib/toast/toast-constants.cjs.map +1 -1
  347. package/dist/vue2/lib/toast/toast-constants.js.map +1 -1
  348. package/dist/vue2/lib/toast/toast.cjs +1 -1
  349. package/dist/vue2/lib/toast/toast.cjs.map +1 -1
  350. package/dist/vue2/lib/toast/toast.js +11 -11
  351. package/dist/vue2/lib/toggle/toggle-constants.cjs.map +1 -1
  352. package/dist/vue2/lib/toggle/toggle-constants.js.map +1 -1
  353. package/dist/vue2/lib/toggle/toggle.cjs +1 -1
  354. package/dist/vue2/lib/toggle/toggle.cjs.map +1 -1
  355. package/dist/vue2/lib/toggle/toggle.js +1 -1
  356. package/dist/vue2/lib/toggle/toggle.js.map +1 -1
  357. package/dist/vue2/lib/tooltip/tooltip-constants.cjs.map +1 -1
  358. package/dist/vue2/lib/tooltip/tooltip-constants.js.map +1 -1
  359. package/dist/vue2/lib/tooltip/tooltip.cjs +1 -1
  360. package/dist/vue2/lib/tooltip/tooltip.cjs.map +1 -1
  361. package/dist/vue2/lib/tooltip/tooltip.js +63 -64
  362. package/dist/vue2/lib/tooltip/tooltip.js.map +1 -1
  363. package/dist/vue2/lib/tooltip-directive/tooltip.cjs.map +1 -1
  364. package/dist/vue2/lib/tooltip-directive/tooltip.js.map +1 -1
  365. package/dist/vue2/lib/top-banner-info/top-banner-info-constants.cjs.map +1 -1
  366. package/dist/vue2/lib/top-banner-info/top-banner-info-constants.js.map +1 -1
  367. package/dist/vue2/lib/top-banner-info/top-banner-info.cjs.map +1 -1
  368. package/dist/vue2/lib/unread-pill/unread-pill-constants.cjs.map +1 -1
  369. package/dist/vue2/lib/unread-pill/unread-pill-constants.js.map +1 -1
  370. package/dist/vue2/lib/unread-pill/unread-pill.cjs.map +1 -1
  371. package/dist/vue2/lib/unread-pill/unread-pill.js +6 -6
  372. package/dist/vue2/lib/validation-messages/validation-messages.cjs.map +1 -1
  373. package/dist/vue2/lib/validation-messages/validation-messages.js +3 -3
  374. package/dist/vue2/localization/de-DE.cjs.map +1 -1
  375. package/dist/vue2/localization/de-DE.js.map +1 -1
  376. package/dist/vue2/localization/en-US.cjs.map +1 -1
  377. package/dist/vue2/localization/en-US.js.map +1 -1
  378. package/dist/vue2/localization/es-LA.cjs.map +1 -1
  379. package/dist/vue2/localization/es-LA.js.map +1 -1
  380. package/dist/vue2/localization/fr-FR.cjs.map +1 -1
  381. package/dist/vue2/localization/fr-FR.js.map +1 -1
  382. package/dist/vue2/localization/index.cjs.map +1 -1
  383. package/dist/vue2/localization/index.js.map +1 -1
  384. package/dist/vue2/localization/it-IT.cjs.map +1 -1
  385. package/dist/vue2/localization/it-IT.js.map +1 -1
  386. package/dist/vue2/localization/ja-JP.cjs.map +1 -1
  387. package/dist/vue2/localization/ja-JP.js.map +1 -1
  388. package/dist/vue2/localization/nl-NL.cjs.map +1 -1
  389. package/dist/vue2/localization/nl-NL.js.map +1 -1
  390. package/dist/vue2/localization/pt-BR.cjs.map +1 -1
  391. package/dist/vue2/localization/pt-BR.js.map +1 -1
  392. package/dist/vue2/localization/ru-RU.cjs.map +1 -1
  393. package/dist/vue2/localization/ru-RU.js.map +1 -1
  394. package/dist/vue2/localization/zh-CN.cjs.map +1 -1
  395. package/dist/vue2/localization/zh-CN.js.map +1 -1
  396. package/dist/vue2/node_modules/@linusborg/vue-simple-portal.cjs.map +1 -1
  397. package/dist/vue2/node_modules/@linusborg/vue-simple-portal.js.map +1 -1
  398. package/dist/vue2/node_modules/@tiptap/vue-2.cjs.map +1 -1
  399. package/dist/vue2/node_modules/@tiptap/vue-2.js.map +1 -1
  400. package/dist/vue2/shared/sr_only_close_button.cjs.map +1 -1
  401. package/dist/vue2/types/common/constants/index.d.ts.map +1 -1
  402. package/dist/vue2/types/common/dates/index.d.ts.map +1 -1
  403. package/dist/vue2/types/common/emoji/index.d.ts.map +1 -1
  404. package/dist/vue2/types/common/mixins/dom.d.ts.map +1 -1
  405. package/dist/vue2/types/common/mixins/input.d.ts +7 -7
  406. package/dist/vue2/types/common/mixins/input.d.ts.map +1 -1
  407. package/dist/vue2/types/common/mixins/input_group.d.ts +3 -3
  408. package/dist/vue2/types/common/mixins/modal.d.ts.map +1 -1
  409. package/dist/vue2/types/common/utils/index.d.ts.map +1 -1
  410. package/dist/vue2/types/components/avatar/avatar.vue.d.ts +8 -8
  411. package/dist/vue2/types/components/badge/badge.vue.d.ts +3 -3
  412. package/dist/vue2/types/components/banner/banner.vue.d.ts +2 -2
  413. package/dist/vue2/types/components/banner/banner.vue.d.ts.map +1 -1
  414. package/dist/vue2/types/components/breadcrumbs/breadcrumbs.vue.d.ts +1 -1
  415. package/dist/vue2/types/components/breadcrumbs/breadcrumbs_constants.d.ts.map +1 -1
  416. package/dist/vue2/types/components/button/button.vue.d.ts +2 -2
  417. package/dist/vue2/types/components/button/button_constants.d.ts.map +1 -1
  418. package/dist/vue2/types/components/card/card.vue.d.ts +8 -8
  419. package/dist/vue2/types/components/checkbox/checkbox.vue.d.ts +7 -7
  420. package/dist/vue2/types/components/checkbox_group/checkbox_group.vue.d.ts +3 -3
  421. package/dist/vue2/types/components/chip/chip.vue.d.ts +5 -5
  422. package/dist/vue2/types/components/collapsible/collapsible.vue.d.ts +4 -4
  423. package/dist/vue2/types/components/combobox/combobox.vue.d.ts +3 -3
  424. package/dist/vue2/types/components/combobox/combobox_empty-list.vue.d.ts +2 -2
  425. package/dist/vue2/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
  426. package/dist/vue2/types/components/datepicker/formatUtils.d.ts +5 -5
  427. package/dist/vue2/types/components/datepicker/formatUtils.d.ts.map +1 -1
  428. package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts +1 -1
  429. package/dist/vue2/types/components/description_list/description_list.vue.d.ts +4 -4
  430. package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts +8 -8
  431. package/dist/vue2/types/components/emoji/emoji.vue.d.ts +2 -2
  432. package/dist/vue2/types/components/emoji_picker/emoji_picker_constants.d.ts.map +1 -1
  433. package/dist/vue2/types/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts +1 -1
  434. package/dist/vue2/types/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts.map +1 -1
  435. package/dist/vue2/types/components/eslint.config.d.ts +8 -0
  436. package/dist/vue2/types/components/eslint.config.d.ts.map +1 -0
  437. package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  438. package/dist/vue2/types/components/input/input.vue.d.ts +7 -7
  439. package/dist/vue2/types/components/input_group/input_group.vue.d.ts +3 -3
  440. package/dist/vue2/types/components/item_layout/item_layout.vue.d.ts +1 -1
  441. package/dist/vue2/types/components/link/link_constants.d.ts.map +1 -1
  442. package/dist/vue2/types/components/list_item/list_item.vue.d.ts +2 -2
  443. package/dist/vue2/types/components/list_item_group/list_item_group.vue.d.ts +4 -4
  444. package/dist/vue2/types/components/modal/modal.vue.d.ts +13 -13
  445. package/dist/vue2/types/components/modal/modal.vue.d.ts.map +1 -1
  446. package/dist/vue2/types/components/notice/notice.vue.d.ts +2 -2
  447. package/dist/vue2/types/components/popover/popover.vue.d.ts +22 -22
  448. package/dist/vue2/types/components/popover/popover.vue.d.ts.map +1 -1
  449. package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts +2 -2
  450. package/dist/vue2/types/components/popover/tippy_utils.d.ts +2 -3
  451. package/dist/vue2/types/components/popover/tippy_utils.d.ts.map +1 -1
  452. package/dist/vue2/types/components/radio/radio.vue.d.ts +7 -7
  453. package/dist/vue2/types/components/radio_group/radio_group.vue.d.ts +3 -3
  454. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts +1 -1
  455. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts.map +1 -1
  456. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +12 -17
  457. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  458. package/dist/vue2/types/components/root_layout/root_layout.vue.d.ts +8 -8
  459. package/dist/vue2/types/components/select_menu/select_menu.vue.d.ts +10 -10
  460. package/dist/vue2/types/components/skeleton/skeleton-list-item.vue.d.ts +1 -1
  461. package/dist/vue2/types/components/skeleton/skeleton-paragraph.vue.d.ts +1 -1
  462. package/dist/vue2/types/components/skeleton/skeleton-shape.vue.d.ts +3 -3
  463. package/dist/vue2/types/components/skeleton/skeleton-text.vue.d.ts +1 -1
  464. package/dist/vue2/types/components/skeleton/skeleton.vue.d.ts +7 -7
  465. package/dist/vue2/types/components/skeleton/skeleton_constants.d.ts.map +1 -1
  466. package/dist/vue2/types/components/split_button/split_button-alpha.vue.d.ts +3 -3
  467. package/dist/vue2/types/components/split_button/split_button-omega.vue.d.ts +1 -1
  468. package/dist/vue2/types/components/split_button/split_button.vue.d.ts +2 -2
  469. package/dist/vue2/types/components/tab/tab.vue.d.ts +2 -2
  470. package/dist/vue2/types/components/tab/tab_group.vue.d.ts +2 -2
  471. package/dist/vue2/types/components/tab/tab_panel.vue.d.ts +2 -2
  472. package/dist/vue2/types/components/tab/tab_panel.vue.d.ts.map +1 -1
  473. package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +2 -2
  474. package/dist/vue2/types/components/toast/layouts/toast_layout_default.vue.d.ts +2 -2
  475. package/dist/vue2/types/components/toast/toast.vue.d.ts +7 -7
  476. package/dist/vue2/types/components/toast/toast_constants.d.ts.map +1 -1
  477. package/dist/vue2/types/components/toggle/toggle.vue.d.ts +5 -5
  478. package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts +8 -8
  479. package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  480. package/dist/vue2/types/components/tooltip/tooltip_constants.d.ts.map +1 -1
  481. package/dist/vue2/types/components/validation_messages/validation_messages.vue.d.ts +0 -1
  482. package/dist/vue2/types/components/validation_messages/validation_messages.vue.d.ts.map +1 -1
  483. package/dist/vue2/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts +6 -6
  484. package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +5 -5
  485. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +6 -6
  486. package/dist/vue2/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
  487. package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +1 -1
  488. package/dist/vue2/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +7 -7
  489. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts +3 -3
  490. package/dist/vue2/types/recipes/conversation_view/editor/editor_constants.d.ts.map +1 -1
  491. package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +4 -4
  492. package/dist/vue2/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
  493. package/dist/vue2/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts.map +1 -1
  494. package/dist/vue2/types/recipes/conversation_view/feed_item_row/feed_item_row_constants.d.ts.map +1 -1
  495. package/dist/vue2/types/recipes/conversation_view/message_input/last_active_nodes.d.ts.map +1 -1
  496. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +15 -15
  497. package/dist/vue2/types/recipes/eslint.config.d.ts +8 -0
  498. package/dist/vue2/types/recipes/eslint.config.d.ts.map +1 -0
  499. package/dist/vue2/types/recipes/item_layout/contact_info/contact_info.vue.d.ts +1 -1
  500. package/dist/vue2/types/recipes/leftbar/callbox/callbox.vue.d.ts +1 -1
  501. package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +1 -1
  502. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +1 -1
  503. package/dist/vue3/common/constants/index.cjs.map +1 -1
  504. package/dist/vue3/common/constants/index.js.map +1 -1
  505. package/dist/vue3/common/dates/index.cjs.map +1 -1
  506. package/dist/vue3/common/dates/index.js +3 -3
  507. package/dist/vue3/common/dates/index.js.map +1 -1
  508. package/dist/vue3/common/emoji/index.cjs.map +1 -1
  509. package/dist/vue3/common/emoji/index.js.map +1 -1
  510. package/dist/vue3/common/mixins/dom.cjs.map +1 -1
  511. package/dist/vue3/common/mixins/dom.js.map +1 -1
  512. package/dist/vue3/common/mixins/input-group.cjs.map +1 -1
  513. package/dist/vue3/common/mixins/input-group.js +5 -5
  514. package/dist/vue3/common/mixins/input-group.js.map +1 -1
  515. package/dist/vue3/common/mixins/input.cjs.map +1 -1
  516. package/dist/vue3/common/mixins/input.js.map +1 -1
  517. package/dist/vue3/common/mixins/keyboard-list-navigation.cjs.map +1 -1
  518. package/dist/vue3/common/mixins/keyboard-list-navigation.js.map +1 -1
  519. package/dist/vue3/common/mixins/modal.cjs.map +1 -1
  520. package/dist/vue3/common/mixins/modal.js.map +1 -1
  521. package/dist/vue3/common/mixins/skeleton.cjs.map +1 -1
  522. package/dist/vue3/common/mixins/skeleton.js.map +1 -1
  523. package/dist/vue3/common/utils/index.cjs.map +1 -1
  524. package/dist/vue3/common/utils/index.js +3 -3
  525. package/dist/vue3/common/utils/index.js.map +1 -1
  526. package/dist/vue3/common/validators/index.cjs.map +1 -1
  527. package/dist/vue3/common/validators/index.js.map +1 -1
  528. package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs +1 -1
  529. package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
  530. package/dist/vue3/lib/attachment-carousel/attachment-carousel.js +5 -5
  531. package/dist/vue3/lib/attachment-carousel/attachment-carousel.js.map +1 -1
  532. package/dist/vue3/lib/avatar/avatar-constants.cjs.map +1 -1
  533. package/dist/vue3/lib/avatar/avatar-constants.js.map +1 -1
  534. package/dist/vue3/lib/avatar/avatar.cjs.map +1 -1
  535. package/dist/vue3/lib/avatar/avatar.js +11 -11
  536. package/dist/vue3/lib/avatar/avatar.js.map +1 -1
  537. package/dist/vue3/lib/avatar/utils.cjs.map +1 -1
  538. package/dist/vue3/lib/avatar/utils.js.map +1 -1
  539. package/dist/vue3/lib/badge/badge.cjs.map +1 -1
  540. package/dist/vue3/lib/badge/badge.js +12 -12
  541. package/dist/vue3/lib/badge/badge.js.map +1 -1
  542. package/dist/vue3/lib/banner/banner.cjs +1 -1
  543. package/dist/vue3/lib/banner/banner.cjs.map +1 -1
  544. package/dist/vue3/lib/banner/banner.js +7 -7
  545. package/dist/vue3/lib/banner/banner.js.map +1 -1
  546. package/dist/vue3/lib/breadcrumbs/breadcrumb-item.cjs.map +1 -1
  547. package/dist/vue3/lib/breadcrumbs/breadcrumb-item.js +5 -5
  548. package/dist/vue3/lib/breadcrumbs/breadcrumb-item.js.map +1 -1
  549. package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
  550. package/dist/vue3/lib/breadcrumbs/breadcrumbs.js +1 -1
  551. package/dist/vue3/lib/breadcrumbs/breadcrumbs.js.map +1 -1
  552. package/dist/vue3/lib/button/button-constants.cjs.map +1 -1
  553. package/dist/vue3/lib/button/button-constants.js.map +1 -1
  554. package/dist/vue3/lib/button/button.cjs.map +1 -1
  555. package/dist/vue3/lib/button/button.js +22 -22
  556. package/dist/vue3/lib/button/button.js.map +1 -1
  557. package/dist/vue3/lib/button-group/button-group.cjs.map +1 -1
  558. package/dist/vue3/lib/button-group/button-group.js +2 -2
  559. package/dist/vue3/lib/button-group/button-group.js.map +1 -1
  560. package/dist/vue3/lib/button-group/buttons-decorator.cjs.map +1 -1
  561. package/dist/vue3/lib/button-group/buttons-decorator.js +2 -2
  562. package/dist/vue3/lib/button-group/buttons-decorator.js.map +1 -1
  563. package/dist/vue3/lib/callbar-button/callbar-button-constants.cjs.map +1 -1
  564. package/dist/vue3/lib/callbar-button/callbar-button-constants.js.map +1 -1
  565. package/dist/vue3/lib/callbar-button/callbar-button.cjs +1 -1
  566. package/dist/vue3/lib/callbar-button/callbar-button.cjs.map +1 -1
  567. package/dist/vue3/lib/callbar-button/callbar-button.js +13 -13
  568. package/dist/vue3/lib/callbar-button/callbar-button.js.map +1 -1
  569. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  570. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  571. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +13 -13
  572. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  573. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  574. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  575. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js +13 -13
  576. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  577. package/dist/vue3/lib/callbox/callbox-constants.cjs.map +1 -1
  578. package/dist/vue3/lib/callbox/callbox-constants.js.map +1 -1
  579. package/dist/vue3/lib/callbox/callbox.cjs.map +1 -1
  580. package/dist/vue3/lib/callbox/callbox.js +6 -6
  581. package/dist/vue3/lib/callbox/callbox.js.map +1 -1
  582. package/dist/vue3/lib/card/card.cjs.map +1 -1
  583. package/dist/vue3/lib/card/card.js +4 -4
  584. package/dist/vue3/lib/card/card.js.map +1 -1
  585. package/dist/vue3/lib/checkbox/checkbox-constants.cjs.map +1 -1
  586. package/dist/vue3/lib/checkbox/checkbox-constants.js.map +1 -1
  587. package/dist/vue3/lib/checkbox/checkbox.cjs.map +1 -1
  588. package/dist/vue3/lib/checkbox/checkbox.js +8 -8
  589. package/dist/vue3/lib/checkbox/checkbox.js.map +1 -1
  590. package/dist/vue3/lib/checkbox-group/checkbox-group.cjs.map +1 -1
  591. package/dist/vue3/lib/checkbox-group/checkbox-group.js.map +1 -1
  592. package/dist/vue3/lib/checkbox-group/checkboxes-decorator.cjs.map +1 -1
  593. package/dist/vue3/lib/checkbox-group/checkboxes-decorator.js +1 -1
  594. package/dist/vue3/lib/checkbox-group/checkboxes-decorator.js.map +1 -1
  595. package/dist/vue3/lib/chip/chip-constants.cjs.map +1 -1
  596. package/dist/vue3/lib/chip/chip-constants.js.map +1 -1
  597. package/dist/vue3/lib/chip/chip.cjs.map +1 -1
  598. package/dist/vue3/lib/chip/chip.js +13 -13
  599. package/dist/vue3/lib/chip/chip.js.map +1 -1
  600. package/dist/vue3/lib/codeblock/codeblock.cjs.map +1 -1
  601. package/dist/vue3/lib/codeblock/codeblock.js +2 -2
  602. package/dist/vue3/lib/codeblock/codeblock.js.map +1 -1
  603. package/dist/vue3/lib/collapsible/collapsible-lazy-show.cjs.map +1 -1
  604. package/dist/vue3/lib/collapsible/collapsible-lazy-show.js +3 -3
  605. package/dist/vue3/lib/collapsible/collapsible-lazy-show.js.map +1 -1
  606. package/dist/vue3/lib/collapsible/collapsible.cjs +1 -1
  607. package/dist/vue3/lib/collapsible/collapsible.cjs.map +1 -1
  608. package/dist/vue3/lib/collapsible/collapsible.js +18 -18
  609. package/dist/vue3/lib/collapsible/collapsible.js.map +1 -1
  610. package/dist/vue3/lib/combobox/combobox-constants.cjs.map +1 -1
  611. package/dist/vue3/lib/combobox/combobox-constants.js.map +1 -1
  612. package/dist/vue3/lib/combobox/combobox-empty-list.cjs.map +1 -1
  613. package/dist/vue3/lib/combobox/combobox-empty-list.js +2 -2
  614. package/dist/vue3/lib/combobox/combobox-empty-list.js.map +1 -1
  615. package/dist/vue3/lib/combobox/combobox-loading-list.cjs +1 -1
  616. package/dist/vue3/lib/combobox/combobox-loading-list.cjs.map +1 -1
  617. package/dist/vue3/lib/combobox/combobox-loading-list.js +6 -6
  618. package/dist/vue3/lib/combobox/combobox-loading-list.js.map +1 -1
  619. package/dist/vue3/lib/combobox/combobox.cjs +1 -1
  620. package/dist/vue3/lib/combobox/combobox.cjs.map +1 -1
  621. package/dist/vue3/lib/combobox/combobox.js +8 -8
  622. package/dist/vue3/lib/combobox/combobox.js.map +1 -1
  623. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select-constants.cjs.map +1 -1
  624. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select-constants.js.map +1 -1
  625. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select-story-constants.cjs.map +1 -1
  626. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select-story-constants.js.map +1 -1
  627. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
  628. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
  629. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js +16 -16
  630. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
  631. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
  632. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
  633. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js +13 -13
  634. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
  635. package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs +1 -1
  636. package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
  637. package/dist/vue3/lib/contact-centers-row/contact-centers-row.js +19 -19
  638. package/dist/vue3/lib/contact-centers-row/contact-centers-row.js.map +1 -1
  639. package/dist/vue3/lib/contact-info/contact-info.cjs.map +1 -1
  640. package/dist/vue3/lib/contact-info/contact-info.js +1 -1
  641. package/dist/vue3/lib/contact-info/contact-info.js.map +1 -1
  642. package/dist/vue3/lib/contact-row/contact-row.cjs +1 -1
  643. package/dist/vue3/lib/contact-row/contact-row.cjs.map +1 -1
  644. package/dist/vue3/lib/contact-row/contact-row.js +12 -12
  645. package/dist/vue3/lib/contact-row/contact-row.js.map +1 -1
  646. package/dist/vue3/lib/datepicker/datepicker.cjs +1 -1
  647. package/dist/vue3/lib/datepicker/datepicker.cjs.map +1 -1
  648. package/dist/vue3/lib/datepicker/datepicker.js +139 -139
  649. package/dist/vue3/lib/datepicker/datepicker.js.map +1 -1
  650. package/dist/vue3/lib/datepicker/formatUtils.cjs.map +1 -1
  651. package/dist/vue3/lib/datepicker/formatUtils.js.map +1 -1
  652. package/dist/vue3/lib/datepicker/utils.cjs.map +1 -1
  653. package/dist/vue3/lib/datepicker/utils.js.map +1 -1
  654. package/dist/vue3/lib/description-list/description-list.cjs.map +1 -1
  655. package/dist/vue3/lib/description-list/description-list.js +3 -3
  656. package/dist/vue3/lib/description-list/description-list.js.map +1 -1
  657. package/dist/vue3/lib/dropdown/dropdown-constants.cjs.map +1 -1
  658. package/dist/vue3/lib/dropdown/dropdown-constants.js.map +1 -1
  659. package/dist/vue3/lib/dropdown/dropdown-list.cjs.map +1 -1
  660. package/dist/vue3/lib/dropdown/dropdown-list.js +5 -5
  661. package/dist/vue3/lib/dropdown/dropdown-list.js.map +1 -1
  662. package/dist/vue3/lib/dropdown/dropdown-separator.cjs.map +1 -1
  663. package/dist/vue3/lib/dropdown/dropdown-separator.js +2 -2
  664. package/dist/vue3/lib/dropdown/dropdown-separator.js.map +1 -1
  665. package/dist/vue3/lib/dropdown/dropdown-story-constants.cjs.map +1 -1
  666. package/dist/vue3/lib/dropdown/dropdown-story-constants.js.map +1 -1
  667. package/dist/vue3/lib/dropdown/dropdown.cjs +1 -1
  668. package/dist/vue3/lib/dropdown/dropdown.cjs.map +1 -1
  669. package/dist/vue3/lib/dropdown/dropdown.js +3 -3
  670. package/dist/vue3/lib/dropdown/dropdown.js.map +1 -1
  671. package/dist/vue3/lib/editor/editor-constants.cjs.map +1 -1
  672. package/dist/vue3/lib/editor/editor-constants.js.map +1 -1
  673. package/dist/vue3/lib/editor/editor.cjs +1 -1
  674. package/dist/vue3/lib/editor/editor.cjs.map +1 -1
  675. package/dist/vue3/lib/editor/editor.js +48 -48
  676. package/dist/vue3/lib/editor/editor.js.map +1 -1
  677. package/dist/vue3/lib/emoji/emoji.cjs.map +1 -1
  678. package/dist/vue3/lib/emoji/emoji.js +6 -6
  679. package/dist/vue3/lib/emoji/emoji.js.map +1 -1
  680. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
  681. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
  682. package/dist/vue3/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  683. package/dist/vue3/lib/emoji-picker/emoji-picker.js +2 -2
  684. package/dist/vue3/lib/emoji-picker/emoji-picker.js.map +1 -1
  685. package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
  686. package/dist/vue3/lib/emoji-row/emoji-row-constants.js.map +1 -1
  687. package/dist/vue3/lib/emoji-row/emoji-row.cjs +1 -1
  688. package/dist/vue3/lib/emoji-row/emoji-row.cjs.map +1 -1
  689. package/dist/vue3/lib/emoji-row/emoji-row.js +10 -10
  690. package/dist/vue3/lib/emoji-row/emoji-row.js.map +1 -1
  691. package/dist/vue3/lib/emoji-text-wrapper/emoji-text-wrapper.cjs +1 -1
  692. package/dist/vue3/lib/emoji-text-wrapper/emoji-text-wrapper.cjs.map +1 -1
  693. package/dist/vue3/lib/emoji-text-wrapper/emoji-text-wrapper.js +1 -1
  694. package/dist/vue3/lib/emoji-text-wrapper/emoji-text-wrapper.js.map +1 -1
  695. package/dist/vue3/lib/empty-state/empty-state-constants.cjs.map +1 -1
  696. package/dist/vue3/lib/empty-state/empty-state-constants.js.map +1 -1
  697. package/dist/vue3/lib/empty-state/empty-state.cjs.map +1 -1
  698. package/dist/vue3/lib/empty-state/empty-state.js +7 -7
  699. package/dist/vue3/lib/feed-item-pill/feed-item-pill-constants.cjs.map +1 -1
  700. package/dist/vue3/lib/feed-item-pill/feed-item-pill-constants.js.map +1 -1
  701. package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs +1 -1
  702. package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
  703. package/dist/vue3/lib/feed-item-pill/feed-item-pill.js +6 -6
  704. package/dist/vue3/lib/feed-item-pill/feed-item-pill.js.map +1 -1
  705. package/dist/vue3/lib/feed-item-row/feed-item-row-constants.cjs.map +1 -1
  706. package/dist/vue3/lib/feed-item-row/feed-item-row-constants.js.map +1 -1
  707. package/dist/vue3/lib/feed-item-row/feed-item-row.cjs +1 -1
  708. package/dist/vue3/lib/feed-item-row/feed-item-row.cjs.map +1 -1
  709. package/dist/vue3/lib/feed-item-row/feed-item-row.js +56 -56
  710. package/dist/vue3/lib/feed-item-row/feed-item-row.js.map +1 -1
  711. package/dist/vue3/lib/general-row/general-row-constants.cjs.map +1 -1
  712. package/dist/vue3/lib/general-row/general-row-constants.js.map +1 -1
  713. package/dist/vue3/lib/general-row/general-row.cjs +1 -1
  714. package/dist/vue3/lib/general-row/general-row.cjs.map +1 -1
  715. package/dist/vue3/lib/general-row/general-row.js +30 -30
  716. package/dist/vue3/lib/general-row/general-row.js.map +1 -1
  717. package/dist/vue3/lib/general-row/leftbar-general-row-icon.cjs.map +1 -1
  718. package/dist/vue3/lib/general-row/leftbar-general-row-icon.js +35 -35
  719. package/dist/vue3/lib/general-row/leftbar-general-row-icon.js.map +1 -1
  720. package/dist/vue3/lib/group-row/group-row.cjs.map +1 -1
  721. package/dist/vue3/lib/group-row/group-row.js +3 -3
  722. package/dist/vue3/lib/group-row/group-row.js.map +1 -1
  723. package/dist/vue3/lib/grouped-chip/grouped-chip.cjs.map +1 -1
  724. package/dist/vue3/lib/grouped-chip/grouped-chip.js +14 -14
  725. package/dist/vue3/lib/grouped-chip/grouped-chip.js.map +1 -1
  726. package/dist/vue3/lib/hovercard/hovercard.cjs +1 -1
  727. package/dist/vue3/lib/hovercard/hovercard.cjs.map +1 -1
  728. package/dist/vue3/lib/hovercard/hovercard.js +6 -6
  729. package/dist/vue3/lib/hovercard/hovercard.js.map +1 -1
  730. package/dist/vue3/lib/icon/icon-constants.cjs.map +1 -1
  731. package/dist/vue3/lib/icon/icon-constants.js.map +1 -1
  732. package/dist/vue3/lib/icon/icon.cjs.map +1 -1
  733. package/dist/vue3/lib/icon/icon.js +6 -6
  734. package/dist/vue3/lib/icon/icon.js.map +1 -1
  735. package/dist/vue3/lib/illustration/illustration-constants.cjs.map +1 -1
  736. package/dist/vue3/lib/illustration/illustration-constants.js.map +1 -1
  737. package/dist/vue3/lib/illustration/illustration.cjs.map +1 -1
  738. package/dist/vue3/lib/illustration/illustration.js +3 -3
  739. package/dist/vue3/lib/image-viewer/image-viewer.cjs.map +1 -1
  740. package/dist/vue3/lib/image-viewer/image-viewer.js +12 -12
  741. package/dist/vue3/lib/image-viewer/image-viewer.js.map +1 -1
  742. package/dist/vue3/lib/input/input-constants.cjs.map +1 -1
  743. package/dist/vue3/lib/input/input-constants.js.map +1 -1
  744. package/dist/vue3/lib/input/input.cjs.map +1 -1
  745. package/dist/vue3/lib/input/input.js +20 -20
  746. package/dist/vue3/lib/input/input.js.map +1 -1
  747. package/dist/vue3/lib/input-group/input-group.cjs.map +1 -1
  748. package/dist/vue3/lib/input-group/input-group.js +8 -8
  749. package/dist/vue3/lib/input-group/input-group.js.map +1 -1
  750. package/dist/vue3/lib/item-layout/item-layout.cjs.map +1 -1
  751. package/dist/vue3/lib/item-layout/item-layout.js +13 -13
  752. package/dist/vue3/lib/item-layout/item-layout.js.map +1 -1
  753. package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
  754. package/dist/vue3/lib/ivr-node/ivr-node-constants.js.map +1 -1
  755. package/dist/vue3/lib/ivr-node/ivr-node.cjs +1 -1
  756. package/dist/vue3/lib/ivr-node/ivr-node.cjs.map +1 -1
  757. package/dist/vue3/lib/ivr-node/ivr-node.js +36 -36
  758. package/dist/vue3/lib/ivr-node/ivr-node.js.map +1 -1
  759. package/dist/vue3/lib/keyboard-shortcut/keyboard-shortcut.cjs.map +1 -1
  760. package/dist/vue3/lib/keyboard-shortcut/keyboard-shortcut.js +15 -15
  761. package/dist/vue3/lib/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  762. package/dist/vue3/lib/lazy-show/lazy-show.cjs.map +1 -1
  763. package/dist/vue3/lib/lazy-show/lazy-show.js +2 -2
  764. package/dist/vue3/lib/lazy-show/lazy-show.js.map +1 -1
  765. package/dist/vue3/lib/link/link-constants.cjs.map +1 -1
  766. package/dist/vue3/lib/link/link-constants.js.map +1 -1
  767. package/dist/vue3/lib/link/link.cjs.map +1 -1
  768. package/dist/vue3/lib/link/link.js +5 -5
  769. package/dist/vue3/lib/link/link.js.map +1 -1
  770. package/dist/vue3/lib/list-item/list-item-constants.cjs.map +1 -1
  771. package/dist/vue3/lib/list-item/list-item-constants.js.map +1 -1
  772. package/dist/vue3/lib/list-item/list-item.cjs.map +1 -1
  773. package/dist/vue3/lib/list-item/list-item.js +4 -4
  774. package/dist/vue3/lib/list-item/list-item.js.map +1 -1
  775. package/dist/vue3/lib/list-item-group/list-item-group-constants.cjs.map +1 -1
  776. package/dist/vue3/lib/list-item-group/list-item-group-constants.js.map +1 -1
  777. package/dist/vue3/lib/list-item-group/list-item-group.cjs.map +1 -1
  778. package/dist/vue3/lib/list-item-group/list-item-group.js +5 -5
  779. package/dist/vue3/lib/list-item-group/list-item-group.js.map +1 -1
  780. package/dist/vue3/lib/loader/loader.cjs.map +1 -1
  781. package/dist/vue3/lib/loader/loader.js +2 -2
  782. package/dist/vue3/lib/loader/loader.js.map +1 -1
  783. package/dist/vue3/lib/message-input/last-active-nodes.cjs +1 -1
  784. package/dist/vue3/lib/message-input/last-active-nodes.cjs.map +1 -1
  785. package/dist/vue3/lib/message-input/last-active-nodes.js +22 -22
  786. package/dist/vue3/lib/message-input/last-active-nodes.js.map +1 -1
  787. package/dist/vue3/lib/message-input/message-input-button.cjs +1 -1
  788. package/dist/vue3/lib/message-input/message-input-button.cjs.map +1 -1
  789. package/dist/vue3/lib/message-input/message-input-button.js +14 -14
  790. package/dist/vue3/lib/message-input/message-input-button.js.map +1 -1
  791. package/dist/vue3/lib/message-input/message-input-constants.cjs.map +1 -1
  792. package/dist/vue3/lib/message-input/message-input-constants.js.map +1 -1
  793. package/dist/vue3/lib/message-input/message-input-link.cjs +1 -1
  794. package/dist/vue3/lib/message-input/message-input-link.cjs.map +1 -1
  795. package/dist/vue3/lib/message-input/message-input-link.js +10 -10
  796. package/dist/vue3/lib/message-input/message-input-link.js.map +1 -1
  797. package/dist/vue3/lib/message-input/message-input-topbar.cjs.map +1 -1
  798. package/dist/vue3/lib/message-input/message-input-topbar.js +11 -11
  799. package/dist/vue3/lib/message-input/message-input-topbar.js.map +1 -1
  800. package/dist/vue3/lib/message-input/message-input.cjs +1 -1
  801. package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
  802. package/dist/vue3/lib/message-input/message-input.js +32 -32
  803. package/dist/vue3/lib/message-input/message-input.js.map +1 -1
  804. package/dist/vue3/lib/modal/modal.cjs +1 -1
  805. package/dist/vue3/lib/modal/modal.cjs.map +1 -1
  806. package/dist/vue3/lib/modal/modal.js +14 -14
  807. package/dist/vue3/lib/modal/modal.js.map +1 -1
  808. package/dist/vue3/lib/notice/notice-action.cjs.map +1 -1
  809. package/dist/vue3/lib/notice/notice-action.js +1 -1
  810. package/dist/vue3/lib/notice/notice-action.js.map +1 -1
  811. package/dist/vue3/lib/notice/notice-constants.cjs.map +1 -1
  812. package/dist/vue3/lib/notice/notice-constants.js.map +1 -1
  813. package/dist/vue3/lib/notice/notice-content.cjs.map +1 -1
  814. package/dist/vue3/lib/notice/notice-content.js +6 -6
  815. package/dist/vue3/lib/notice/notice-content.js.map +1 -1
  816. package/dist/vue3/lib/notice/notice-icon.cjs.map +1 -1
  817. package/dist/vue3/lib/notice/notice-icon.js +13 -13
  818. package/dist/vue3/lib/notice/notice-icon.js.map +1 -1
  819. package/dist/vue3/lib/notice/notice.cjs.map +1 -1
  820. package/dist/vue3/lib/notice/notice.js +4 -4
  821. package/dist/vue3/lib/notice/notice.js.map +1 -1
  822. package/dist/vue3/lib/pagination/pagination.cjs.map +1 -1
  823. package/dist/vue3/lib/pagination/pagination.js +4 -4
  824. package/dist/vue3/lib/pagination/pagination.js.map +1 -1
  825. package/dist/vue3/lib/popover/popover-constants.cjs.map +1 -1
  826. package/dist/vue3/lib/popover/popover-constants.js.map +1 -1
  827. package/dist/vue3/lib/popover/popover-header-footer.cjs.map +1 -1
  828. package/dist/vue3/lib/popover/popover-header-footer.js +6 -6
  829. package/dist/vue3/lib/popover/popover-header-footer.js.map +1 -1
  830. package/dist/vue3/lib/popover/popover.cjs +1 -1
  831. package/dist/vue3/lib/popover/popover.cjs.map +1 -1
  832. package/dist/vue3/lib/popover/popover.js +17 -17
  833. package/dist/vue3/lib/popover/popover.js.map +1 -1
  834. package/dist/vue3/lib/popover/tippy-utils.cjs +1 -1
  835. package/dist/vue3/lib/popover/tippy-utils.cjs.map +1 -1
  836. package/dist/vue3/lib/popover/tippy-utils.js +16 -18
  837. package/dist/vue3/lib/popover/tippy-utils.js.map +1 -1
  838. package/dist/vue3/lib/presence/presence.cjs.map +1 -1
  839. package/dist/vue3/lib/presence/presence.js +4 -4
  840. package/dist/vue3/lib/presence/presence.js.map +1 -1
  841. package/dist/vue3/lib/radio/radio-constants.cjs.map +1 -1
  842. package/dist/vue3/lib/radio/radio-constants.js.map +1 -1
  843. package/dist/vue3/lib/radio/radio.cjs.map +1 -1
  844. package/dist/vue3/lib/radio/radio.js +13 -13
  845. package/dist/vue3/lib/radio/radio.js.map +1 -1
  846. package/dist/vue3/lib/radio-group/radio-group.cjs.map +1 -1
  847. package/dist/vue3/lib/radio-group/radio-group.js.map +1 -1
  848. package/dist/vue3/lib/radio-group/radios-decorator.cjs.map +1 -1
  849. package/dist/vue3/lib/radio-group/radios-decorator.js +1 -1
  850. package/dist/vue3/lib/radio-group/radios-decorator.js.map +1 -1
  851. package/dist/vue3/lib/recipes/eslint.config.cjs +2 -0
  852. package/dist/vue3/lib/recipes/eslint.config.cjs.map +1 -0
  853. package/dist/vue3/lib/recipes/eslint.config.js +12 -0
  854. package/dist/vue3/lib/recipes/eslint.config.js.map +1 -0
  855. package/dist/vue3/lib/rich-text-editor/channel-suggestion.cjs.map +1 -1
  856. package/dist/vue3/lib/rich-text-editor/channel-suggestion.js.map +1 -1
  857. package/dist/vue3/lib/rich-text-editor/mention-suggestion.cjs.map +1 -1
  858. package/dist/vue3/lib/rich-text-editor/mention-suggestion.js.map +1 -1
  859. package/dist/vue3/lib/rich-text-editor/rich-text-editor-constants.cjs.map +1 -1
  860. package/dist/vue3/lib/rich-text-editor/rich-text-editor-constants.js.map +1 -1
  861. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +3 -3
  862. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  863. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +61 -54
  864. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  865. package/dist/vue3/lib/rich-text-editor/slash-command-suggestion.cjs.map +1 -1
  866. package/dist/vue3/lib/rich-text-editor/slash-command-suggestion.js.map +1 -1
  867. package/dist/vue3/lib/root-layout/root-layout-constants.cjs.map +1 -1
  868. package/dist/vue3/lib/root-layout/root-layout-constants.js.map +1 -1
  869. package/dist/vue3/lib/root-layout/root-layout.cjs.map +1 -1
  870. package/dist/vue3/lib/root-layout/root-layout.js +3 -3
  871. package/dist/vue3/lib/root-layout/root-layout.js.map +1 -1
  872. package/dist/vue3/lib/scrollbar-directive/scrollbar.cjs.map +1 -1
  873. package/dist/vue3/lib/scrollbar-directive/scrollbar.js.map +1 -1
  874. package/dist/vue3/lib/scroller/scroller.cjs +1 -1
  875. package/dist/vue3/lib/scroller/scroller.cjs.map +1 -1
  876. package/dist/vue3/lib/scroller/scroller.js +2 -2
  877. package/dist/vue3/lib/scroller/scroller.js.map +1 -1
  878. package/dist/vue3/lib/select-menu/select-menu-constants.cjs.map +1 -1
  879. package/dist/vue3/lib/select-menu/select-menu-constants.js.map +1 -1
  880. package/dist/vue3/lib/select-menu/select-menu.cjs.map +1 -1
  881. package/dist/vue3/lib/select-menu/select-menu.js +21 -21
  882. package/dist/vue3/lib/select-menu/select-menu.js.map +1 -1
  883. package/dist/vue3/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
  884. package/dist/vue3/lib/settings-menu-button/settings-menu-button.js +3 -3
  885. package/dist/vue3/lib/settings-menu-button/settings-menu-button.js.map +1 -1
  886. package/dist/vue3/lib/skeleton/skeleton-constants.cjs.map +1 -1
  887. package/dist/vue3/lib/skeleton/skeleton-constants.js.map +1 -1
  888. package/dist/vue3/lib/skeleton/skeleton-list-item.cjs.map +1 -1
  889. package/dist/vue3/lib/skeleton/skeleton-list-item.js +2 -2
  890. package/dist/vue3/lib/skeleton/skeleton-list-item.js.map +1 -1
  891. package/dist/vue3/lib/skeleton/skeleton-paragraph.cjs.map +1 -1
  892. package/dist/vue3/lib/skeleton/skeleton-paragraph.js +1 -1
  893. package/dist/vue3/lib/skeleton/skeleton-paragraph.js.map +1 -1
  894. package/dist/vue3/lib/skeleton/skeleton-shape.cjs.map +1 -1
  895. package/dist/vue3/lib/skeleton/skeleton-shape.js +5 -5
  896. package/dist/vue3/lib/skeleton/skeleton-shape.js.map +1 -1
  897. package/dist/vue3/lib/skeleton/skeleton-text.cjs.map +1 -1
  898. package/dist/vue3/lib/skeleton/skeleton-text.js +7 -7
  899. package/dist/vue3/lib/skeleton/skeleton-text.js.map +1 -1
  900. package/dist/vue3/lib/skeleton/skeleton.cjs +1 -1
  901. package/dist/vue3/lib/skeleton/skeleton.cjs.map +1 -1
  902. package/dist/vue3/lib/skeleton/skeleton.js +11 -11
  903. package/dist/vue3/lib/skeleton/skeleton.js.map +1 -1
  904. package/dist/vue3/lib/split-button/split-button-alpha.cjs.map +1 -1
  905. package/dist/vue3/lib/split-button/split-button-alpha.js +2 -2
  906. package/dist/vue3/lib/split-button/split-button-alpha.js.map +1 -1
  907. package/dist/vue3/lib/split-button/split-button-constants.cjs.map +1 -1
  908. package/dist/vue3/lib/split-button/split-button-constants.js.map +1 -1
  909. package/dist/vue3/lib/split-button/split-button-omega.cjs.map +1 -1
  910. package/dist/vue3/lib/split-button/split-button-omega.js +2 -2
  911. package/dist/vue3/lib/split-button/split-button-omega.js.map +1 -1
  912. package/dist/vue3/lib/split-button/split-button.cjs.map +1 -1
  913. package/dist/vue3/lib/split-button/split-button.js +19 -19
  914. package/dist/vue3/lib/split-button/split-button.js.map +1 -1
  915. package/dist/vue3/lib/stack/stack-constants.cjs.map +1 -1
  916. package/dist/vue3/lib/stack/stack-constants.js.map +1 -1
  917. package/dist/vue3/lib/stack/stack.cjs.map +1 -1
  918. package/dist/vue3/lib/stack/stack.js +11 -11
  919. package/dist/vue3/lib/stack/stack.js.map +1 -1
  920. package/dist/vue3/lib/stack/utils.cjs.map +1 -1
  921. package/dist/vue3/lib/stack/utils.js.map +1 -1
  922. package/dist/vue3/lib/stack/validators.cjs.map +1 -1
  923. package/dist/vue3/lib/stack/validators.js +5 -5
  924. package/dist/vue3/lib/stack/validators.js.map +1 -1
  925. package/dist/vue3/lib/tab/tab-group.cjs.map +1 -1
  926. package/dist/vue3/lib/tab/tab-group.js +7 -7
  927. package/dist/vue3/lib/tab/tab-group.js.map +1 -1
  928. package/dist/vue3/lib/tab/tab-panel.cjs.map +1 -1
  929. package/dist/vue3/lib/tab/tab-panel.js +2 -2
  930. package/dist/vue3/lib/tab/tab-panel.js.map +1 -1
  931. package/dist/vue3/lib/tab/tab.cjs.map +1 -1
  932. package/dist/vue3/lib/tab/tab.js +2 -2
  933. package/dist/vue3/lib/tab/tab.js.map +1 -1
  934. package/dist/vue3/lib/time-pill/time-pill.cjs.map +1 -1
  935. package/dist/vue3/lib/time-pill/time-pill.js +2 -2
  936. package/dist/vue3/lib/time-pill/time-pill.js.map +1 -1
  937. package/dist/vue3/lib/toast/toast-constants.cjs.map +1 -1
  938. package/dist/vue3/lib/toast/toast-constants.js.map +1 -1
  939. package/dist/vue3/lib/toast/toast.cjs +1 -1
  940. package/dist/vue3/lib/toast/toast.cjs.map +1 -1
  941. package/dist/vue3/lib/toast/toast.js +12 -12
  942. package/dist/vue3/lib/toast/toast.js.map +1 -1
  943. package/dist/vue3/lib/toggle/toggle-constants.cjs.map +1 -1
  944. package/dist/vue3/lib/toggle/toggle-constants.js.map +1 -1
  945. package/dist/vue3/lib/toggle/toggle.cjs +1 -1
  946. package/dist/vue3/lib/toggle/toggle.cjs.map +1 -1
  947. package/dist/vue3/lib/toggle/toggle.js +14 -14
  948. package/dist/vue3/lib/toggle/toggle.js.map +1 -1
  949. package/dist/vue3/lib/tooltip/tooltip-constants.cjs.map +1 -1
  950. package/dist/vue3/lib/tooltip/tooltip-constants.js.map +1 -1
  951. package/dist/vue3/lib/tooltip/tooltip.cjs +1 -1
  952. package/dist/vue3/lib/tooltip/tooltip.cjs.map +1 -1
  953. package/dist/vue3/lib/tooltip/tooltip.js +20 -22
  954. package/dist/vue3/lib/tooltip/tooltip.js.map +1 -1
  955. package/dist/vue3/lib/tooltip-directive/tooltip.cjs.map +1 -1
  956. package/dist/vue3/lib/tooltip-directive/tooltip.js +1 -1
  957. package/dist/vue3/lib/tooltip-directive/tooltip.js.map +1 -1
  958. package/dist/vue3/lib/top-banner-info/top-banner-info-constants.cjs.map +1 -1
  959. package/dist/vue3/lib/top-banner-info/top-banner-info-constants.js.map +1 -1
  960. package/dist/vue3/lib/top-banner-info/top-banner-info.cjs.map +1 -1
  961. package/dist/vue3/lib/top-banner-info/top-banner-info.js +2 -2
  962. package/dist/vue3/lib/top-banner-info/top-banner-info.js.map +1 -1
  963. package/dist/vue3/lib/unread-pill/unread-pill-constants.cjs.map +1 -1
  964. package/dist/vue3/lib/unread-pill/unread-pill-constants.js.map +1 -1
  965. package/dist/vue3/lib/unread-pill/unread-pill.cjs.map +1 -1
  966. package/dist/vue3/lib/unread-pill/unread-pill.js +7 -7
  967. package/dist/vue3/lib/unread-pill/unread-pill.js.map +1 -1
  968. package/dist/vue3/lib/validation-messages/validation-messages.cjs.map +1 -1
  969. package/dist/vue3/lib/validation-messages/validation-messages.js +9 -9
  970. package/dist/vue3/lib/validation-messages/validation-messages.js.map +1 -1
  971. package/dist/vue3/localization/de-DE.cjs.map +1 -1
  972. package/dist/vue3/localization/de-DE.js.map +1 -1
  973. package/dist/vue3/localization/en-US.cjs.map +1 -1
  974. package/dist/vue3/localization/en-US.js.map +1 -1
  975. package/dist/vue3/localization/es-LA.cjs.map +1 -1
  976. package/dist/vue3/localization/es-LA.js.map +1 -1
  977. package/dist/vue3/localization/fr-FR.cjs.map +1 -1
  978. package/dist/vue3/localization/fr-FR.js.map +1 -1
  979. package/dist/vue3/localization/index.cjs.map +1 -1
  980. package/dist/vue3/localization/index.js.map +1 -1
  981. package/dist/vue3/localization/it-IT.cjs.map +1 -1
  982. package/dist/vue3/localization/it-IT.js.map +1 -1
  983. package/dist/vue3/localization/ja-JP.cjs.map +1 -1
  984. package/dist/vue3/localization/ja-JP.js.map +1 -1
  985. package/dist/vue3/localization/nl-NL.cjs.map +1 -1
  986. package/dist/vue3/localization/nl-NL.js.map +1 -1
  987. package/dist/vue3/localization/pt-BR.cjs.map +1 -1
  988. package/dist/vue3/localization/pt-BR.js.map +1 -1
  989. package/dist/vue3/localization/ru-RU.cjs.map +1 -1
  990. package/dist/vue3/localization/ru-RU.js.map +1 -1
  991. package/dist/vue3/localization/zh-CN.cjs.map +1 -1
  992. package/dist/vue3/localization/zh-CN.js.map +1 -1
  993. package/dist/vue3/node_modules/@tiptap/vue-3.cjs.map +1 -1
  994. package/dist/vue3/node_modules/@tiptap/vue-3.js +3 -3
  995. package/dist/vue3/node_modules/@tiptap/vue-3.js.map +1 -1
  996. package/dist/vue3/shared/sr_only_close_button.cjs.map +1 -1
  997. package/dist/vue3/shared/sr_only_close_button.js +2 -2
  998. package/dist/vue3/shared/sr_only_close_button.js.map +1 -1
  999. package/dist/vue3/types/common/constants/index.d.ts.map +1 -1
  1000. package/dist/vue3/types/common/dates/index.d.ts.map +1 -1
  1001. package/dist/vue3/types/common/emoji/index.d.ts.map +1 -1
  1002. package/dist/vue3/types/common/mixins/dom.d.ts.map +1 -1
  1003. package/dist/vue3/types/common/mixins/input.d.ts +6 -6
  1004. package/dist/vue3/types/common/mixins/input.d.ts.map +1 -1
  1005. package/dist/vue3/types/common/mixins/input_group.d.ts +2 -2
  1006. package/dist/vue3/types/common/mixins/modal.d.ts.map +1 -1
  1007. package/dist/vue3/types/common/utils/index.d.ts.map +1 -1
  1008. package/dist/vue3/types/components/avatar/avatar.vue.d.ts +12 -12
  1009. package/dist/vue3/types/components/badge/badge.vue.d.ts +4 -4
  1010. package/dist/vue3/types/components/banner/banner.vue.d.ts +1 -1
  1011. package/dist/vue3/types/components/banner/banner.vue.d.ts.map +1 -1
  1012. package/dist/vue3/types/components/breadcrumbs/breadcrumbs_constants.d.ts.map +1 -1
  1013. package/dist/vue3/types/components/button/button.vue.d.ts +3 -3
  1014. package/dist/vue3/types/components/button/button_constants.d.ts.map +1 -1
  1015. package/dist/vue3/types/components/card/card.vue.d.ts +12 -12
  1016. package/dist/vue3/types/components/checkbox/checkbox.vue.d.ts +6 -6
  1017. package/dist/vue3/types/components/checkbox_group/checkbox_group.vue.d.ts +2 -2
  1018. package/dist/vue3/types/components/chip/chip.vue.d.ts +6 -6
  1019. package/dist/vue3/types/components/collapsible/collapsible.vue.d.ts +6 -6
  1020. package/dist/vue3/types/components/combobox/combobox.vue.d.ts +4 -4
  1021. package/dist/vue3/types/components/combobox/combobox_empty-list.vue.d.ts +3 -3
  1022. package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
  1023. package/dist/vue3/types/components/datepicker/formatUtils.d.ts +5 -5
  1024. package/dist/vue3/types/components/datepicker/formatUtils.d.ts.map +1 -1
  1025. package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts +1 -1
  1026. package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts +1 -1
  1027. package/dist/vue3/types/components/description_list/description_list.vue.d.ts +6 -6
  1028. package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts +10 -10
  1029. package/dist/vue3/types/components/emoji/emoji.vue.d.ts +3 -3
  1030. package/dist/vue3/types/components/emoji_picker/emoji_picker_constants.d.ts.map +1 -1
  1031. package/dist/vue3/types/components/emoji_picker/modules/emoji_search.vue.d.ts.map +1 -1
  1032. package/dist/vue3/types/components/emoji_picker/modules/emoji_selector.vue.d.ts.map +1 -1
  1033. package/dist/vue3/types/components/emoji_picker/modules/emoji_skin_selector.vue.d.ts.map +1 -1
  1034. package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
  1035. package/dist/vue3/types/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts +1 -1
  1036. package/dist/vue3/types/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts.map +1 -1
  1037. package/dist/vue3/types/components/empty_state/empty_state.vue.d.ts +7 -11
  1038. package/dist/vue3/types/components/empty_state/empty_state.vue.d.ts.map +1 -1
  1039. package/dist/vue3/types/components/eslint.config.d.ts +8 -0
  1040. package/dist/vue3/types/components/eslint.config.d.ts.map +1 -0
  1041. package/dist/vue3/types/components/hovercard/hovercard.vue.d.ts +686 -11
  1042. package/dist/vue3/types/components/hovercard/hovercard.vue.d.ts.map +1 -1
  1043. package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  1044. package/dist/vue3/types/components/input/input.vue.d.ts +8 -8
  1045. package/dist/vue3/types/components/input_group/input_group.vue.d.ts +2 -2
  1046. package/dist/vue3/types/components/item_layout/item_layout.vue.d.ts +1 -1
  1047. package/dist/vue3/types/components/keyboard_shortcut/keyboard_shortcut.vue.d.ts +7 -210
  1048. package/dist/vue3/types/components/lazy_show/lazy_show.vue.d.ts +1 -1
  1049. package/dist/vue3/types/components/link/link_constants.d.ts.map +1 -1
  1050. package/dist/vue3/types/components/list_item/list_item.vue.d.ts +3 -3
  1051. package/dist/vue3/types/components/list_item_group/list_item_group.vue.d.ts +6 -6
  1052. package/dist/vue3/types/components/modal/modal.vue.d.ts +16 -16
  1053. package/dist/vue3/types/components/modal/modal.vue.d.ts.map +1 -1
  1054. package/dist/vue3/types/components/notice/notice.vue.d.ts +1 -1
  1055. package/dist/vue3/types/components/notice/notice_icon.vue.d.ts +1 -30
  1056. package/dist/vue3/types/components/notice/notice_icon.vue.d.ts.map +1 -1
  1057. package/dist/vue3/types/components/popover/popover.vue.d.ts +26 -26
  1058. package/dist/vue3/types/components/popover/popover.vue.d.ts.map +1 -1
  1059. package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts +3 -3
  1060. package/dist/vue3/types/components/popover/tippy_utils.d.ts +2 -3
  1061. package/dist/vue3/types/components/popover/tippy_utils.d.ts.map +1 -1
  1062. package/dist/vue3/types/components/radio/radio.vue.d.ts +6 -6
  1063. package/dist/vue3/types/components/radio_group/radio_group.vue.d.ts +2 -2
  1064. package/dist/vue3/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts +22 -22
  1065. package/dist/vue3/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +22 -22
  1066. package/dist/vue3/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +22 -22
  1067. package/dist/vue3/types/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.d.ts +22 -22
  1068. package/dist/vue3/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts +1 -1
  1069. package/dist/vue3/types/components/rich_text_editor/extensions/slash_command/slash_command.d.ts.map +1 -1
  1070. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +7 -12
  1071. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  1072. package/dist/vue3/types/components/root_layout/root_layout.vue.d.ts +15 -15
  1073. package/dist/vue3/types/components/scroller/modules/core_scroller.vue.d.ts +26 -16
  1074. package/dist/vue3/types/components/scroller/modules/core_scroller.vue.d.ts.map +1 -1
  1075. package/dist/vue3/types/components/scroller/modules/scroller_item.vue.d.ts +1 -1
  1076. package/dist/vue3/types/components/scroller/scroller.vue.d.ts +245 -12
  1077. package/dist/vue3/types/components/scroller/scroller.vue.d.ts.map +1 -1
  1078. package/dist/vue3/types/components/select_menu/select_menu.vue.d.ts +13 -13
  1079. package/dist/vue3/types/components/skeleton/skeleton-list-item.vue.d.ts +1 -1
  1080. package/dist/vue3/types/components/skeleton/skeleton-paragraph.vue.d.ts +3 -3
  1081. package/dist/vue3/types/components/skeleton/skeleton-shape.vue.d.ts +4 -4
  1082. package/dist/vue3/types/components/skeleton/skeleton-text.vue.d.ts +1 -1
  1083. package/dist/vue3/types/components/skeleton/skeleton.vue.d.ts +1 -1
  1084. package/dist/vue3/types/components/skeleton/skeleton_constants.d.ts.map +1 -1
  1085. package/dist/vue3/types/components/split_button/split_button-alpha.vue.d.ts +3 -3
  1086. package/dist/vue3/types/components/split_button/split_button.vue.d.ts +3 -3
  1087. package/dist/vue3/types/components/tab/tab.vue.d.ts +3 -3
  1088. package/dist/vue3/types/components/tab/tab_group.vue.d.ts +3 -3
  1089. package/dist/vue3/types/components/tab/tab_panel.vue.d.ts +3 -3
  1090. package/dist/vue3/types/components/tab/tab_panel.vue.d.ts.map +1 -1
  1091. package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +1 -1
  1092. package/dist/vue3/types/components/toast/layouts/toast_layout_alternate_icon.vue.d.ts +1 -30
  1093. package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts +1 -1
  1094. package/dist/vue3/types/components/toast/toast.vue.d.ts +4 -4
  1095. package/dist/vue3/types/components/toast/toast_constants.d.ts.map +1 -1
  1096. package/dist/vue3/types/components/toggle/toggle.vue.d.ts +7 -7
  1097. package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts +10 -10
  1098. package/dist/vue3/types/components/tooltip/tooltip_constants.d.ts.map +1 -1
  1099. package/dist/vue3/types/components/validation_messages/validation_messages.vue.d.ts +0 -1
  1100. package/dist/vue3/types/components/validation_messages/validation_messages.vue.d.ts.map +1 -1
  1101. package/dist/vue3/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts +7 -7
  1102. package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +7 -7
  1103. package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +9 -9
  1104. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +1 -30
  1105. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  1106. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
  1107. package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +9 -9
  1108. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts +9 -241
  1109. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  1110. package/dist/vue3/types/recipes/conversation_view/editor/editor_constants.d.ts.map +1 -1
  1111. package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +7 -36
  1112. package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
  1113. package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
  1114. package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts.map +1 -1
  1115. package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row_constants.d.ts.map +1 -1
  1116. package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +22 -22
  1117. package/dist/vue3/types/recipes/conversation_view/message_input/last_active_nodes.d.ts.map +1 -1
  1118. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +7 -7
  1119. package/dist/vue3/types/recipes/eslint.config.d.ts +8 -0
  1120. package/dist/vue3/types/recipes/eslint.config.d.ts.map +1 -0
  1121. package/dist/vue3/types/recipes/item_layout/contact_info/contact_info.vue.d.ts +1 -1
  1122. package/dist/vue3/types/recipes/leftbar/general_row/leftbar_general_row_icon.vue.d.ts +1 -30
  1123. package/package.json +7 -6
  1124. package/dist/vue2/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts +0 -47
  1125. package/dist/vue2/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts.map +0 -1
  1126. package/dist/vue2/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +0 -47
  1127. package/dist/vue2/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts.map +0 -1
  1128. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.d.ts +0 -47
  1129. package/dist/vue2/types/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.d.ts.map +0 -1
  1130. package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +0 -52
  1131. package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sources":["../../../components/button/button.vue"],"sourcesContent":["<template>\n <button\n :class=\"[\n 'base-button__button',\n buttonClasses(),\n ]\"\n data-qa=\"dt-button\"\n :type=\"type\"\n :disabled=\"disabled\"\n :style=\"{ width: width }\"\n :aria-live=\"computedAriaLive\"\n :aria-label=\"loading ? i18n.$t('DIALTONE_LOADING') : $attrs['aria-label']\"\n v-on=\"buttonListeners\"\n >\n <!-- NOTE(cormac): This span is needed since we can't apply styles to slots. -->\n <span\n v-if=\"shouldRenderIcon()\"\n data-qa=\"dt-button-icon\"\n :class=\"[\n 'base-button__icon',\n {\n 'd-btn__icon': kind !== 'unstyled',\n [ICON_POSITION_MODIFIERS[iconPosition]]: kind !== 'unstyled',\n },\n ]\"\n >\n <!-- @slot Button icon -->\n <slot\n name=\"icon\"\n :icon-size=\"iconSize\"\n />\n </span>\n <span\n v-if=\"$slots.default\"\n data-qa=\"dt-button-label\"\n :class=\"[\n 'base-button__label',\n { 'd-btn__label': kind !== 'unstyled' },\n labelClass,\n ]\"\n >\n <!-- @slot Content within button -->\n <slot />\n </span>\n </button>\n</template>\n\n<script>\nimport Vue from 'vue';\n\nimport {\n BUTTON_SIZE_MODIFIERS,\n BUTTON_KIND_MODIFIERS,\n BUTTON_IMPORTANCE_MODIFIERS,\n BUTTON_ICON_SIZES,\n BUTTON_TYPES,\n ICON_POSITION_MODIFIERS,\n INVALID_COMBINATION,\n} from './button_constants';\n\nimport { LINK_KIND_MODIFIERS, getLinkKindModifier } from '@/components/link';\n\nimport { DialtoneLocalization } from '@/localization';\n\n/**\n * A button is a UI element which allows users to take an action throughout the app.\n * It is important a button is identifiable, consistent, and communicates its actions clearly,\n * and is appropriately sized to its action.\n * @see https://dialtone.dialpad.com/components/button.html\n */\nexport default {\n name: 'DtButton',\n\n props: {\n /**\n * Whether the button is a circle or not.\n * @values true, false\n */\n circle: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The position of the icon slot within the button.\n * @values left, right, top, bottom\n */\n iconPosition: {\n type: String,\n default: 'left',\n validator: (position) => Object.keys(ICON_POSITION_MODIFIERS).includes(position),\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: 'primary',\n validator: (i) => Object.keys(BUTTON_IMPORTANCE_MODIFIERS).includes(i),\n },\n\n /**\n * Whether the button should be styled as a link or not.\n * @values true, false\n * @see DtLink\n */\n link: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The color of the link and button if the button is styled as a link.\n * @values default, warning, danger, success, muted\n * @see DtLink\n */\n linkKind: {\n type: String,\n default: 'default',\n validator: (lk) => Object.keys(LINK_KIND_MODIFIERS).includes(lk),\n },\n\n /**\n * Determines whether the link should have inverted styling if the button is styled as a link.\n * @values true, false\n * @see DtLink\n */\n linkInverted: {\n type: Boolean,\n default: false,\n },\n\n /**\n * HTML button disabled attribute\n * <a class=\"d-link\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled\" target=\"_blank\"> (Reference) </a>\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * HTML button type attribute\n * <a\n * class=\"d-link\"\n * href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type\"\n * target=\"_blank\"\n * >\n * (Reference)\n * </a>\n * @values button, submit, reset\n */\n type: {\n type: String,\n default: 'button',\n validator: (t) => BUTTON_TYPES.includes(t),\n },\n\n /**\n * Button width, accepts\n * <a class=\"d-link\" href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/width\" target=\"_blank\">\n * CSS width attribute\n * </a>\n * values\n */\n width: {\n type: String,\n default: null,\n },\n\n /**\n * The size of the button.\n * @values xs, sm, md, lg, xl\n */\n size: {\n type: String,\n default: 'md',\n validator: (s) => Object.keys(BUTTON_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * Used to customize the label container\n */\n labelClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Whether the button should display a loading animation or not.\n * @values true, false\n */\n loading: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The color of the button.\n * @values default, unstyled, muted, danger, positive, inverted\n */\n kind: {\n type: String,\n default: 'default',\n validator: (k) => Object.keys(BUTTON_KIND_MODIFIERS).includes(k),\n },\n\n /**\n * Determines whether a screenreader reads live updates of\n * the button content to the user while the button\n * is in focus. default is to not.\n * @values true, false\n */\n assertiveOnFocus: {\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 */\n active: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Native button click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Native button focus in event\n *\n * @event focusin\n * @type {FocusEvent}\n */\n 'focusin',\n\n /**\n * Native button focus out event\n *\n * @event focusout\n * @type {FocusEvent}\n */\n 'focusout',\n ],\n\n data () {\n return {\n ICON_POSITION_MODIFIERS,\n // whether the button is currently in focus\n isInFocus: false,\n i18n: new DialtoneLocalization(),\n };\n },\n\n computed: {\n\n buttonListeners () {\n if (!this.assertiveOnFocus) {\n return this.$listeners;\n }\n return {\n ...this.$listeners,\n focusin: (e) => {\n this.isInFocus = true;\n },\n\n focusout: (e) => {\n this.isInFocus = false;\n },\n };\n },\n\n computedAriaLive () {\n return this.assertiveOnFocus && this.isInFocus ? 'assertive' : this.$attrs.ariaLive;\n },\n\n iconSize () {\n return BUTTON_ICON_SIZES[this.size];\n },\n },\n\n watch: {\n $props: {\n deep: true,\n immediate: true,\n handler () {\n if (process.env.NODE_ENV === 'production') return;\n\n if (this.circle && this.link) {\n Vue.util.warn('You cannot enable circle and link at the same time', this);\n }\n\n this.isInvalidPropCombination(this.circle, this.kind, this.importance);\n },\n },\n },\n\n methods: {\n buttonClasses () {\n if (this.link) {\n return [\n 'd-link',\n getLinkKindModifier(this.linkKind, this.linkInverted),\n BUTTON_SIZE_MODIFIERS[this.size],\n ];\n }\n if (this.kind === 'unstyled') {\n return ['d-btn--unstyled'];\n }\n return [\n 'd-btn',\n BUTTON_IMPORTANCE_MODIFIERS[this.importance],\n BUTTON_KIND_MODIFIERS[this.kind],\n BUTTON_SIZE_MODIFIERS[this.size],\n {\n 'd-btn--circle': this.circle,\n 'd-btn--loading': this.loading,\n 'd-btn--icon-only': this.isIconOnly(),\n 'd-btn--vertical': this.isVerticalIconLayout(),\n 'd-btn--active': this.active,\n },\n ];\n },\n\n isInvalidPropCombination (circle, kind, importance) {\n // Skip validation if unstyled is true\n if (this.kind === 'unstyled') {\n return true;\n }\n\n for (const row of INVALID_COMBINATION) {\n if (circle === row.circle && kind === row.kind && importance === row.importance) {\n console.warn(row.message);\n return false;\n }\n }\n return true;\n },\n\n shouldRenderIcon () {\n return this.$scopedSlots.icon && this.$scopedSlots.icon() && !this.link;\n },\n\n isIconOnly () {\n return this.shouldRenderIcon() && !this.$slots.default;\n },\n\n isVerticalIconLayout () {\n return !this.isIconOnly() && ['top', 'bottom'].includes(this.iconPosition);\n },\n },\n};\n</script>\n"],"names":["_sfc_main","position","ICON_POSITION_MODIFIERS","i","BUTTON_IMPORTANCE_MODIFIERS","lk","LINK_KIND_MODIFIERS","t","BUTTON_TYPES","s","BUTTON_SIZE_MODIFIERS","k","BUTTON_KIND_MODIFIERS","DialtoneLocalization","BUTTON_ICON_SIZES","Vue","getLinkKindModifier","circle","kind","importance","row","INVALID_COMBINATION"],"mappings":";;;;;AAsEA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,cAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAAC,MAAA,OAAA,KAAAC,CAAA,EAAA,SAAAD,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,YAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAAE,MAAA,OAAA,KAAAC,CAAA,EAAA,SAAAD,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAAE,MAAA,OAAA,KAAAC,CAAA,EAAA,SAAAD,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,cAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAaA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAAE,MAAAC,EAAA,SAAAD,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAA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AAA,QAAA,KAAA,aAAA,KAAA,KAAA,CAAA,KAAA;AAAA,IACA;AAAA,IAEA,aAAA;AACA,aAAA,KAAA,iBAAA,KAAA,CAAA,KAAA,OAAA;AAAA,IACA;AAAA,IAEA,uBAAA;AACA,aAAA,CAAA,KAAA,WAAA,KAAA,CAAA,OAAA,QAAA,EAAA,SAAA,KAAA,YAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"button.js","sources":["../../../components/button/button.vue"],"sourcesContent":["<template>\n <button\n :class=\"[\n 'base-button__button',\n buttonClasses(),\n ]\"\n data-qa=\"dt-button\"\n :type=\"type\"\n :disabled=\"disabled\"\n :style=\"{ width: width }\"\n :aria-live=\"computedAriaLive\"\n :aria-label=\"loading ? i18n.$t('DIALTONE_LOADING') : $attrs['aria-label']\"\n v-on=\"buttonListeners\"\n >\n <!-- NOTE(cormac): This span is needed since we can't apply styles to slots. -->\n <span\n v-if=\"shouldRenderIcon()\"\n data-qa=\"dt-button-icon\"\n :class=\"[\n 'base-button__icon',\n {\n 'd-btn__icon': kind !== 'unstyled',\n [ICON_POSITION_MODIFIERS[iconPosition]]: kind !== 'unstyled',\n },\n ]\"\n >\n <!-- @slot Button icon -->\n <slot\n name=\"icon\"\n :icon-size=\"iconSize\"\n />\n </span>\n <span\n v-if=\"$slots.default\"\n data-qa=\"dt-button-label\"\n :class=\"[\n 'base-button__label',\n { 'd-btn__label': kind !== 'unstyled' },\n labelClass,\n ]\"\n >\n <!-- @slot Content within button -->\n <slot />\n </span>\n </button>\n</template>\n\n<script>\nimport Vue from 'vue';\n\nimport {\n BUTTON_SIZE_MODIFIERS,\n BUTTON_KIND_MODIFIERS,\n BUTTON_IMPORTANCE_MODIFIERS,\n BUTTON_ICON_SIZES,\n BUTTON_TYPES,\n ICON_POSITION_MODIFIERS,\n INVALID_COMBINATION,\n} from './button_constants';\n\nimport { LINK_KIND_MODIFIERS, getLinkKindModifier } from '@/components/link';\n\nimport { DialtoneLocalization } from '@/localization';\n\n/**\n * A button is a UI element which allows users to take an action throughout the app.\n * It is important a button is identifiable, consistent, and communicates its actions clearly,\n * and is appropriately sized to its action.\n * @see https://dialtone.dialpad.com/components/button.html\n */\nexport default {\n name: 'DtButton',\n\n props: {\n /**\n * Whether the button is a circle or not.\n * @values true, false\n */\n circle: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The position of the icon slot within the button.\n * @values left, right, top, bottom\n */\n iconPosition: {\n type: String,\n default: 'left',\n validator: (position) => Object.keys(ICON_POSITION_MODIFIERS).includes(position),\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: 'primary',\n validator: (i) => Object.keys(BUTTON_IMPORTANCE_MODIFIERS).includes(i),\n },\n\n /**\n * Whether the button should be styled as a link or not.\n * @values true, false\n * @see DtLink\n */\n link: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The color of the link and button if the button is styled as a link.\n * @values default, warning, danger, success, muted\n * @see DtLink\n */\n linkKind: {\n type: String,\n default: 'default',\n validator: (lk) => Object.keys(LINK_KIND_MODIFIERS).includes(lk),\n },\n\n /**\n * Determines whether the link should have inverted styling if the button is styled as a link.\n * @values true, false\n * @see DtLink\n */\n linkInverted: {\n type: Boolean,\n default: false,\n },\n\n /**\n * HTML button disabled attribute\n * <a class=\"d-link\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled\" target=\"_blank\"> (Reference) </a>\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * HTML button type attribute\n * <a\n * class=\"d-link\"\n * href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type\"\n * target=\"_blank\"\n * >\n * (Reference)\n * </a>\n * @values button, submit, reset\n */\n type: {\n type: String,\n default: 'button',\n validator: (t) => BUTTON_TYPES.includes(t),\n },\n\n /**\n * Button width, accepts\n * <a class=\"d-link\" href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/width\" target=\"_blank\">\n * CSS width attribute\n * </a>\n * values\n */\n width: {\n type: String,\n default: null,\n },\n\n /**\n * The size of the button.\n * @values xs, sm, md, lg, xl\n */\n size: {\n type: String,\n default: 'md',\n validator: (s) => Object.keys(BUTTON_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * Used to customize the label container\n */\n labelClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Whether the button should display a loading animation or not.\n * @values true, false\n */\n loading: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The color of the button.\n * @values default, unstyled, muted, danger, positive, inverted\n */\n kind: {\n type: String,\n default: 'default',\n validator: (k) => Object.keys(BUTTON_KIND_MODIFIERS).includes(k),\n },\n\n /**\n * Determines whether a screenreader reads live updates of\n * the button content to the user while the button\n * is in focus. default is to not.\n * @values true, false\n */\n assertiveOnFocus: {\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 */\n active: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Native button click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Native button focus in event\n *\n * @event focusin\n * @type {FocusEvent}\n */\n 'focusin',\n\n /**\n * Native button focus out event\n *\n * @event focusout\n * @type {FocusEvent}\n */\n 'focusout',\n ],\n\n data () {\n return {\n ICON_POSITION_MODIFIERS,\n // whether the button is currently in focus\n isInFocus: false,\n i18n: new DialtoneLocalization(),\n };\n },\n\n computed: {\n\n buttonListeners () {\n if (!this.assertiveOnFocus) {\n return this.$listeners;\n }\n return {\n ...this.$listeners,\n focusin: () => {\n this.isInFocus = true;\n },\n\n focusout: () => {\n this.isInFocus = false;\n },\n };\n },\n\n computedAriaLive () {\n return this.assertiveOnFocus && this.isInFocus ? 'assertive' : this.$attrs.ariaLive;\n },\n\n iconSize () {\n return BUTTON_ICON_SIZES[this.size];\n },\n },\n\n watch: {\n $props: {\n deep: true,\n immediate: true,\n handler () {\n if (process.env.NODE_ENV === 'production') return;\n\n if (this.circle && this.link) {\n Vue.util.warn('You cannot enable circle and link at the same time', this);\n }\n\n this.isInvalidPropCombination(this.circle, this.kind, this.importance);\n },\n },\n },\n\n methods: {\n buttonClasses () {\n if (this.link) {\n return [\n 'd-link',\n getLinkKindModifier(this.linkKind, this.linkInverted),\n BUTTON_SIZE_MODIFIERS[this.size],\n ];\n }\n if (this.kind === 'unstyled') {\n return ['d-btn--unstyled'];\n }\n return [\n 'd-btn',\n BUTTON_IMPORTANCE_MODIFIERS[this.importance],\n BUTTON_KIND_MODIFIERS[this.kind],\n BUTTON_SIZE_MODIFIERS[this.size],\n {\n 'd-btn--circle': this.circle,\n 'd-btn--loading': this.loading,\n 'd-btn--icon-only': this.isIconOnly(),\n 'd-btn--vertical': this.isVerticalIconLayout(),\n 'd-btn--active': this.active,\n },\n ];\n },\n\n isInvalidPropCombination (circle, kind, importance) {\n // Skip validation if unstyled is true\n if (this.kind === 'unstyled') {\n return true;\n }\n\n for (const row of INVALID_COMBINATION) {\n if (circle === row.circle && kind === row.kind && importance === row.importance) {\n console.warn(row.message);\n return false;\n }\n }\n return true;\n },\n\n shouldRenderIcon () {\n return this.$scopedSlots.icon && this.$scopedSlots.icon() && !this.link;\n },\n\n isIconOnly () {\n return this.shouldRenderIcon() && !this.$slots.default;\n },\n\n isVerticalIconLayout () {\n return !this.isIconOnly() && ['top', 'bottom'].includes(this.iconPosition);\n },\n },\n};\n</script>\n"],"names":["_sfc_main","position","ICON_POSITION_MODIFIERS","i","BUTTON_IMPORTANCE_MODIFIERS","lk","LINK_KIND_MODIFIERS","t","BUTTON_TYPES","s","BUTTON_SIZE_MODIFIERS","k","BUTTON_KIND_MODIFIERS","DialtoneLocalization","BUTTON_ICON_SIZES","Vue","getLinkKindModifier","circle","kind","importance","row","INVALID_COMBINATION"],"mappings":";;;;;AAsEA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,OAAA;AAAA;AAAA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,SAAA,KAAA,YAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"button-group.cjs","sources":["../../../components/button_group/button_group.vue"],"sourcesContent":["<template>\n <div\n :class=\"[\n 'd-btn-group',\n BUTTON_GROUP_ALIGNMENT[alignment],\n ]\"\n role=\"group\"\n >\n <!-- @slot Default slot for button items -->\n <slot />\n </div>\n</template>\n\n<script>\nimport { BUTTON_GROUP_ALIGNMENT } from './button_group_constants';\n\nexport default {\n name: 'DtButtonGroup',\n\n props: {\n /**\n * Alignment of the buttons inside the container\n */\n alignment: {\n type: String,\n default: 'start',\n validator: (alignment) => Object.keys(BUTTON_GROUP_ALIGNMENT).includes(alignment),\n },\n },\n\n data () {\n return {\n BUTTON_GROUP_ALIGNMENT,\n };\n },\n};\n</script>\n"],"names":["_sfc_main","alignment","BUTTON_GROUP_ALIGNMENT"],"mappings":"oNAgBAA,EAAA,CACA,KAAA,gBAEA,MAAA,CAIA,UAAA,CACA,KAAA,OACA,QAAA,QACA,UAAAC,GAAA,OAAA,KAAAC,wBAAA,EAAA,SAAAD,CAAA,CACA,CACA,EAEA,MAAA,CACA,MAAA,CACA,uBAAAC,EAAA,sBACA,CACA,CACA"}
1
+ {"version":3,"file":"button-group.cjs","sources":["../../../components/button_group/button_group.vue"],"sourcesContent":["<template>\n <div\n :class=\"[\n 'd-btn-group',\n BUTTON_GROUP_ALIGNMENT[alignment],\n ]\"\n role=\"group\"\n >\n <!-- @slot Default slot for button items -->\n <slot />\n </div>\n</template>\n\n<script>\nimport { BUTTON_GROUP_ALIGNMENT } from './button_group_constants';\n\nexport default {\n name: 'DtButtonGroup',\n\n props: {\n /**\n * Alignment of the buttons inside the container\n */\n alignment: {\n type: String,\n default: 'start',\n validator: (alignment) => Object.keys(BUTTON_GROUP_ALIGNMENT).includes(alignment),\n },\n },\n\n data () {\n return {\n BUTTON_GROUP_ALIGNMENT,\n };\n },\n};\n</script>\n"],"names":["_sfc_main","alignment","BUTTON_GROUP_ALIGNMENT"],"mappings":"oNAgBAA,EAAA,CACA,KAAA,gBAEA,MAAA,CAIA,UAAA,CACA,KAAA,OACA,QAAA,QACA,UAAAC,GAAA,OAAA,KAAAC,wBAAA,EAAA,SAAAD,CAAA,CACA,CACA,EAEA,MAAA,CACA,MAAA,CACA,uBAAAC,EAAAA,sBACA,CACA,CACA"}
@@ -1 +1 @@
1
- {"version":3,"file":"buttons-decorator.cjs","sources":["../../../components/button_group/buttons_decorator.vue"],"sourcesContent":["<template>\n <div>\n <dt-button importance=\"primary\">\n {{ 'Confirm' }}\n </dt-button>\n <dt-button importance=\"outlined\">\n {{ 'Cancel' }}\n </dt-button>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '../button';\n\nexport default {\n name: 'ButtonsDecorator',\n components: { DtButton },\n};\n</script>\n"],"names":["_sfc_main","DtButton"],"mappings":"4MAcAA,EAAA,CACA,KAAA,mBACA,WAAA,CAAAC,SAAAA,EAAAA,OAAA,CACA"}
1
+ {"version":3,"file":"buttons-decorator.cjs","sources":["../../../components/button_group/buttons_decorator.vue"],"sourcesContent":["<template>\n <div>\n <dt-button importance=\"primary\">\n {{ 'Confirm' }}\n </dt-button>\n <dt-button importance=\"outlined\">\n {{ 'Cancel' }}\n </dt-button>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '../button';\n\nexport default {\n name: 'ButtonsDecorator',\n components: { DtButton },\n};\n</script>\n"],"names":["_sfc_main","DtButton"],"mappings":"4MAcAA,EAAA,CACA,KAAA,mBACA,WAAA,CAAA,SAAAC,EAAAA,OAAA,CACA"}
@@ -1 +1 @@
1
- {"version":3,"file":"callbar-button-constants.cjs","sources":["../../../recipes/buttons/callbar_button/callbar_button_constants.js"],"sourcesContent":["export const CALLBAR_BUTTON_VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];\n\nexport default {\n CALLBAR_BUTTON_VALID_WIDTH_SIZE,\n};\n"],"names":["CALLBAR_BUTTON_VALID_WIDTH_SIZE","callbar_button_constants"],"mappings":"4GAAY,MAACA,EAAkC,CAAC,KAAM,KAAM,KAAM,IAAI,EAEvDC,EAAA,CACb,gCAAAD,CACF"}
1
+ {"version":3,"file":"callbar-button-constants.cjs","sources":["../../../recipes/buttons/callbar_button/callbar_button_constants.js"],"sourcesContent":["export const CALLBAR_BUTTON_VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];\n\nexport default {\n CALLBAR_BUTTON_VALID_WIDTH_SIZE,\n};\n"],"names":["CALLBAR_BUTTON_VALID_WIDTH_SIZE","callbar_button_constants"],"mappings":"4GAAY,MAACA,EAAkC,CAAC,KAAM,KAAM,KAAM,IAAI,EAEtEC,EAAe,CACb,gCAAAD,CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"callbar-button-constants.js","sources":["../../../recipes/buttons/callbar_button/callbar_button_constants.js"],"sourcesContent":["export const CALLBAR_BUTTON_VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];\n\nexport default {\n CALLBAR_BUTTON_VALID_WIDTH_SIZE,\n};\n"],"names":["CALLBAR_BUTTON_VALID_WIDTH_SIZE","callbar_button_constants"],"mappings":"AAAY,MAACA,IAAkC,CAAC,MAAM,MAAM,MAAM,IAAI,GAEvDC,IAAA;AAAA,EACb,iCAAAD;AACF;"}
1
+ {"version":3,"file":"callbar-button-constants.js","sources":["../../../recipes/buttons/callbar_button/callbar_button_constants.js"],"sourcesContent":["export const CALLBAR_BUTTON_VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];\n\nexport default {\n CALLBAR_BUTTON_VALID_WIDTH_SIZE,\n};\n"],"names":["CALLBAR_BUTTON_VALID_WIDTH_SIZE","callbar_button_constants"],"mappings":"AAAY,MAACA,IAAkC,CAAC,MAAM,MAAM,MAAM,IAAI,GAEtEC,IAAe;AAAA,EACb,iCAAAD;AACF;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./callbar-button-constants.cjs"),n=require("../../common/utils/index.cjs"),r=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),i=require("../button/button.cjs"),o=require("../tooltip/tooltip.cjs"),s={name:"DtRecipeCallbarButton",components:{DtButton:i.default,DtTooltip:o.default},inheritAttrs:!1,props:{id:{type:String,default(){return n.default.getUniqueString()}},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},ariaLabel:{type:String,default:null,validator:e=>e||(void 0).$slots.default},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:e=>a.CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(e)},importance:{type:String,default:""},invertedTooltip:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:null},tooltipText:{type:String,default:void 0},tooltipDelay:{type:Boolean,default:void 0}},emits:["click"],computed:{callbarButtonClass(){return[this.buttonClass,"d-recipe-callbar-button",{"d-recipe-callbar-button--circle":this.circle,"d-recipe-callbar-button--active":this.active,"d-recipe-callbar-button--danger":this.danger,"d-btn--disabled":this.disabled}]},callbarButtonTextClass(){return["d-recipe-callbar-button__text",this.textClass]},buttonWidth(){switch(this.buttonWidthSize){case"sm":return"4.5rem";case"md":return"6rem";default:return"8.4rem"}},buttonImportance(){return this.importance?this.importance:this.circle?"outlined":"clear"},callbarButtonListeners(){return{...this.$listeners,click:e=>this.$emit("click",e)}}}};var u=function(){var t=this,l=t._self._c;return l("dt-tooltip",{attrs:{id:t.id,inverted:t.invertedTooltip,delay:t.tooltipDelay,show:t.showTooltip,offset:[0,24]},scopedSlots:t._u([{key:"anchor",fn:function(){return[l("span",{class:{"d-recipe-callbar-button--disabled":t.disabled}},[l("dt-button",t._g(t._b({class:t.callbarButtonClass,attrs:{importance:t.buttonImportance,kind:"muted","icon-position":"top","aria-disabled":t.disabled,"aria-label":t.ariaLabel,"label-class":t.callbarButtonTextClass,width:t.buttonWidth},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("icon")]},proxy:!0}],null,!0)},"dt-button",t.$attrs,!1),t.callbarButtonListeners),[t._t("default")],2)],1)]},proxy:!0}],null,!0)},[t._t("tooltip",function(){return[t._v(" "+t._s(t.tooltipText)+" ")]})],2)},c=[],d=r.n(s,u,c);const p=d.exports;exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./callbar-button-constants.cjs"),n=require("../../common/utils/index.cjs"),r=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),i=require("../tooltip/tooltip.cjs"),o=require("../button/button.cjs"),s={name:"DtRecipeCallbarButton",components:{DtButton:o.default,DtTooltip:i.default},inheritAttrs:!1,props:{id:{type:String,default(){return n.default.getUniqueString()}},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},ariaLabel:{type:String,default:null,validator:e=>e||(void 0).$slots.default},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:e=>a.CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(e)},importance:{type:String,default:""},invertedTooltip:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:null},tooltipText:{type:String,default:void 0},tooltipDelay:{type:Boolean,default:void 0}},emits:["click"],computed:{callbarButtonClass(){return[this.buttonClass,"d-recipe-callbar-button",{"d-recipe-callbar-button--circle":this.circle,"d-recipe-callbar-button--active":this.active,"d-recipe-callbar-button--danger":this.danger,"d-btn--disabled":this.disabled}]},callbarButtonTextClass(){return["d-recipe-callbar-button__text",this.textClass]},buttonWidth(){switch(this.buttonWidthSize){case"sm":return"4.5rem";case"md":return"6rem";default:return"8.4rem"}},buttonImportance(){return this.importance?this.importance:this.circle?"outlined":"clear"},callbarButtonListeners(){return{...this.$listeners,click:e=>this.$emit("click",e)}}}};var u=function(){var t=this,l=t._self._c;return l("dt-tooltip",{attrs:{id:t.id,inverted:t.invertedTooltip,delay:t.tooltipDelay,show:t.showTooltip,offset:[0,24]},scopedSlots:t._u([{key:"anchor",fn:function(){return[l("span",{class:{"d-recipe-callbar-button--disabled":t.disabled}},[l("dt-button",t._g(t._b({class:t.callbarButtonClass,attrs:{importance:t.buttonImportance,kind:"muted","icon-position":"top","aria-disabled":t.disabled,"aria-label":t.ariaLabel,"label-class":t.callbarButtonTextClass,width:t.buttonWidth},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("icon")]},proxy:!0}],null,!0)},"dt-button",t.$attrs,!1),t.callbarButtonListeners),[t._t("default")],2)],1)]},proxy:!0}],null,!0)},[t._t("tooltip",function(){return[t._v(" "+t._s(t.tooltipText)+" ")]})],2)},c=[],d=r.n(s,u,c);const p=d.exports;exports.default=p;
2
2
  //# sourceMappingURL=callbar-button.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"callbar-button.cjs","sources":["../../../recipes/buttons/callbar_button/callbar_button.vue"],"sourcesContent":["<template>\n <dt-tooltip\n :id=\"id\"\n :inverted=\"invertedTooltip\"\n :delay=\"tooltipDelay\"\n :show=\"showTooltip\"\n :offset=\"[0, 24]\"\n >\n <template #anchor>\n <span\n :class=\"{ 'd-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 {{ tooltipText }}\n </slot>\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 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 'd-recipe-callbar-button',\n {\n 'd-recipe-callbar-button--circle': this.circle,\n 'd-recipe-callbar-button--active': this.active,\n 'd-recipe-callbar-button--danger': this.danger,\n 'd-btn--disabled': this.disabled,\n }];\n },\n\n callbarButtonTextClass () {\n return [\n 'd-recipe-callbar-button__text',\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 ...this.$listeners,\n click: (event) => this.$emit('click', event),\n };\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtButton","DtTooltip","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","event"],"mappings":"sUA2CAA,EAAA,CACA,KAAA,wBAEA,WAAA,CAAA,SAAAC,EAAA,QAAA,UAAAC,SAAA,EAEA,aAAA,GAEA,MAAA,CAIA,GAAA,CACA,KAAA,OACA,SAAA,CACA,OAAAC,EAAAA,QAAA,iBACA,CACA,EAQA,OAAA,CACA,KAAA,QACA,QAAA,EACA,EAQA,OAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,SAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,OAAA,CACA,KAAA,QACA,QAAA,EACA,EAKA,UAAA,CACA,KAAA,OACA,QAAA,KACA,UAAAC,GACAA,GAAAC,SAAA,OAAA,OAEA,EAKA,YAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,UAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,gBAAA,CACA,KAAA,OACA,QAAA,KACA,UAAAC,GAAAC,kCAAA,SAAAD,CAAA,CACA,EAMA,WAAA,CACA,KAAA,OACA,QAAA,EACA,EAMA,gBAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,YAAA,CACA,KAAA,QACA,QAAA,IACA,EAKA,YAAA,CACA,KAAA,OACA,QAAA,MACA,EAMA,aAAA,CACA,KAAA,QACA,QAAA,MACA,CACA,EAEA,MAAA,CAOA,OACA,EAEA,SAAA,CACA,oBAAA,CACA,MAAA,CACA,KAAA,YACA,0BACA,CACA,kCAAA,KAAA,OACA,kCAAA,KAAA,OACA,kCAAA,KAAA,OACA,kBAAA,KAAA,QACA,CAAA,CACA,EAEA,wBAAA,CACA,MAAA,CACA,gCACA,KAAA,SACA,CACA,EAEA,aAAA,CACA,OAAA,KAAA,gBAAA,CACA,IAAA,KACA,MAAA,SACA,IAAA,KACA,MAAA,OACA,QACA,MAAA,QACA,CACA,EAEA,kBAAA,CACA,OAAA,KAAA,WACA,KAAA,WAEA,KAAA,OAAA,WAAA,OACA,EAEA,wBAAA,CACA,MAAA,CACA,GAAA,KAAA,WACA,MAAAE,GAAA,KAAA,MAAA,QAAAA,CAAA,CACA,CACA,CACA,CACA"}
1
+ {"version":3,"file":"callbar-button.cjs","sources":["../../../recipes/buttons/callbar_button/callbar_button.vue"],"sourcesContent":["<template>\n <dt-tooltip\n :id=\"id\"\n :inverted=\"invertedTooltip\"\n :delay=\"tooltipDelay\"\n :show=\"showTooltip\"\n :offset=\"[0, 24]\"\n >\n <template #anchor>\n <span\n :class=\"{ 'd-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 {{ tooltipText }}\n </slot>\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 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 'd-recipe-callbar-button',\n {\n 'd-recipe-callbar-button--circle': this.circle,\n 'd-recipe-callbar-button--active': this.active,\n 'd-recipe-callbar-button--danger': this.danger,\n 'd-btn--disabled': this.disabled,\n }];\n },\n\n callbarButtonTextClass () {\n return [\n 'd-recipe-callbar-button__text',\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 ...this.$listeners,\n click: (event) => this.$emit('click', event),\n };\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtButton","DtTooltip","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","event"],"mappings":"sUA2CAA,EAAA,CACA,KAAA,wBAEA,WAAA,CAAA,SAAAC,EAAAA,QAAA,UAAAC,SAAA,EAEA,aAAA,GAEA,MAAA,CAIA,GAAA,CACA,KAAA,OACA,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TH_SIZE as l } from "./callbar-button-constants.js";
2
2
  import r from "../../common/utils/index.js";
3
3
  import { n } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
4
- import o from "../button/button.js";
5
- import i from "../tooltip/tooltip.js";
4
+ import o from "../tooltip/tooltip.js";
5
+ import i from "../button/button.js";
6
6
  const s = {
7
7
  name: "DtRecipeCallbarButton",
8
- components: { DtButton: o, DtTooltip: i },
8
+ components: { DtButton: i, DtTooltip: o },
9
9
  inheritAttrs: !1,
10
10
  props: {
11
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"callbar-button.js","sources":["../../../recipes/buttons/callbar_button/callbar_button.vue"],"sourcesContent":["<template>\n <dt-tooltip\n :id=\"id\"\n :inverted=\"invertedTooltip\"\n :delay=\"tooltipDelay\"\n :show=\"showTooltip\"\n :offset=\"[0, 24]\"\n >\n <template #anchor>\n <span\n :class=\"{ 'd-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 {{ tooltipText }}\n </slot>\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 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 'd-recipe-callbar-button',\n {\n 'd-recipe-callbar-button--circle': this.circle,\n 'd-recipe-callbar-button--active': this.active,\n 'd-recipe-callbar-button--danger': this.danger,\n 'd-btn--disabled': this.disabled,\n }];\n },\n\n callbarButtonTextClass () {\n return [\n 'd-recipe-callbar-button__text',\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 ...this.$listeners,\n click: (event) => this.$emit('click', event),\n };\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtButton","DtTooltip","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","event"],"mappings":";;;;;AA2CA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA,EAAA,UAAAC,GAAA,WAAAC,EAAA;AAAA,EAEA,cAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,IAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AACA,eAAAC,EAAA;MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,WAAA;AAAA,MACA,MAAA;AAAA,MACA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,IAEA,cAAA;AACA,cAAA,KAAA,iBAAA;AAAA,QACA,KAAA;AACA,iBAAA;AAAA,QACA,KAAA;AACA,iBAAA;AAAA,QACA;AACA,iBAAA;AAAA,MACA;AAAA,IACA;AAAA,IAEA,mBAAA;AACA,aAAA,KAAA,aACA,KAAA,aAEA,KAAA,SAAA,aAAA;AAAA,IACA;AAAA,IAEA,yBAAA;AACA,aAAA;AAAA,QACA,GAAA,KAAA;AAAA,QACA,OAAA,CAAAE,MAAA,KAAA,MAAA,SAAAA,CAAA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"callbar-button.js","sources":["../../../recipes/buttons/callbar_button/callbar_button.vue"],"sourcesContent":["<template>\n <dt-tooltip\n :id=\"id\"\n :inverted=\"invertedTooltip\"\n :delay=\"tooltipDelay\"\n :show=\"showTooltip\"\n :offset=\"[0, 24]\"\n >\n <template #anchor>\n <span\n :class=\"{ 'd-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 {{ tooltipText }}\n </slot>\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 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 'd-recipe-callbar-button',\n {\n 'd-recipe-callbar-button--circle': this.circle,\n 'd-recipe-callbar-button--active': this.active,\n 'd-recipe-callbar-button--danger': this.danger,\n 'd-btn--disabled': this.disabled,\n }];\n },\n\n callbarButtonTextClass () {\n return [\n 'd-recipe-callbar-button__text',\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 ...this.$listeners,\n click: (event) => this.$emit('click', event),\n };\n },\n },\n};\n</script>\n"],"names":["_sfc_main","DtButton","DtTooltip","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","event"],"mappings":";;;;;AA2CA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA,EAAA,UAAAC,GAAA,WAAAC,EAAA;AAAA,EAEA,cAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,IAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AACA,eAAAC,EAAA,gBAAA;AAAA,MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;A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,aAAA;AAAA,QACA;AAAA,QACA,KAAA;AAAA,MACA;AAAA,IACA;AAAA,IAEA,cAAA;AACA,cAAA,KAAA,iBAAA;AAAA,QACA,KAAA;AACA,iBAAA;AAAA,QACA,KAAA;AACA,iBAAA;AAAA,QACA;AACA,iBAAA;AAAA,MACA;AAAA,IACA;AAAA,IAEA,mBAAA;AACA,aAAA,KAAA,aACA,KAAA,aAEA,KAAA,SAAA,aAAA;AAAA,IACA;AAAA,IAEA,yBAAA;AACA,aAAA;AAAA,QACA,GAAA,KAAA;AAAA,QACA,OAAA,CAAAE,MAAA,KAAA,MAAA,SAAAA,CAAA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@dialpad/dialtone-icons/vue2"),n=require("../../common/utils/index.cjs"),a=require("../../localization/index.cjs"),i=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),s=require("../callbar-button/callbar-button.cjs"),d=require("../dropdown/dropdown.cjs"),u=require("../button/button.cjs"),c=require("../callbar-button/callbar-button-constants.cjs"),p={name:"DtRecipeCallbarButtonWithDropdown",components:{DtRecipeCallbarButton:s.default,DtDropdown:d.default,DtButton:u.default,DtIconChevronUp:l.DtIconChevronUp},inheritAttrs:!1,props:{id:{type:String,default(){return n.default.getUniqueString()}},ariaLabel:{type:String,default:null,validator:e=>e||(void 0).$slots.default},placement:{type:String,default:"top"},fallbackPlacements:{type:Array,default:()=>["auto"]},disabled:{type:Boolean,default:!1},forceShowArrow:{type:Boolean,default:!1},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:e=>c.CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(e)},invertedTooltip:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:null},tooltipText:{type:String,default:void 0},tooltipDelay:{type:Boolean,default:void 0}},emits:["arrow-click","click","opened"],data(){return{open:!1,i18n:new a.DialtoneLocalization}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled},isCompactMode(){return this.buttonWidthSize==="sm"||this.buttonWidthSize==="md"},arrowButtonLabel(){return this.i18n.$t("DIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL")}},mounted(){n.warnIfUnmounted(this.$el,this.$options.name)},methods:{arrowClick(e){return this.$emit("arrow-click",e),this.toggleOpen()},toggleOpen(){return this.open=!this.open},syncOpenState(){this.open=this.openDropdown},buttonClick(e){this.$listeners.click?this.$emit("click",e):this.arrowClick(e)},onModalIsOpened(e){this.open=e,this.$emit("opened",e)}}};var b=function(){var t=this,o=t._self._c;return o("div",{staticClass:"dt-recipe--callbar-button-with-dropdown"},[o("dt-recipe-callbar-button",{staticClass:"dt-recipe--callbar-button-with-dropdown--main-button",attrs:{active:t.active,"aria-label":t.ariaLabel,"button-class":t.buttonClass,"button-width-size":t.buttonWidthSize,danger:t.danger,disabled:t.disabled,"inverted-tooltip":t.invertedTooltip,"show-tooltip":t.showTooltip,"text-class":t.textClass,"tooltip-delay":t.tooltipDelay,"tooltip-text":t.tooltipText},on:{click:t.buttonClick},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("icon")]},proxy:!0},{key:"tooltip",fn:function(){return[t._t("tooltip")]},proxy:!0}],null,!0)},[t._t("default")],2),t.showArrowButton?o("dt-dropdown",t._b({staticClass:"dt-recipe--callbar-button-with-dropdown--dropdown-wrapper",attrs:{id:t.id,modal:!1,"fallback-placements":t.fallbackPlacements,open:t.open,placement:t.placement,padding:"none"},on:{opened:t.onModalIsOpened},scopedSlots:t._u([{key:"anchor",fn:function(){return[o("dt-button",{class:["dt-recipe--callbar-button-with-dropdown--arrow",{"dt-recipe--callbar-button-with-dropdown--arrow--large":!t.isCompactMode}],attrs:{active:t.open,circle:!0,importance:"clear",size:"lg","aria-label":t.arrowButtonLabel,title:t.arrowButtonLabel,width:"2rem"},on:{click:t.arrowClick},scopedSlots:t._u([{key:"icon",fn:function(){return[o("dt-icon-chevron-up",{staticClass:"dt-recipe--callbar-button-with-dropdown--arrow__icon",attrs:{size:"200"}})]},proxy:!0}],null,!1,887776886)})]},proxy:!0},{key:"list",fn:function({close:r}){return[t._t("list",null,{close:r})]}}],null,!0)},"dt-dropdown",t.$attrs,!1)):t._e()],1)},f=[],_=i.n(p,b,f);const w=_.exports;exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@dialpad/dialtone-icons/vue2"),n=require("../../common/utils/index.cjs"),a=require("../../localization/index.cjs"),i=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),s=require("../callbar-button/callbar-button-constants.cjs"),d=require("../button/button.cjs"),u=require("../dropdown/dropdown.cjs"),c=require("../callbar-button/callbar-button.cjs"),p={name:"DtRecipeCallbarButtonWithDropdown",components:{DtRecipeCallbarButton:c.default,DtDropdown:u.default,DtButton:d.default,DtIconChevronUp:l.DtIconChevronUp},inheritAttrs:!1,props:{id:{type:String,default(){return n.default.getUniqueString()}},ariaLabel:{type:String,default:null,validator:e=>e||(void 0).$slots.default},placement:{type:String,default:"top"},fallbackPlacements:{type:Array,default:()=>["auto"]},disabled:{type:Boolean,default:!1},forceShowArrow:{type:Boolean,default:!1},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:e=>s.CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(e)},invertedTooltip:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:null},tooltipText:{type:String,default:void 0},tooltipDelay:{type:Boolean,default:void 0}},emits:["arrow-click","click","opened"],data(){return{open:!1,i18n:new a.DialtoneLocalization}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled},isCompactMode(){return this.buttonWidthSize==="sm"||this.buttonWidthSize==="md"},arrowButtonLabel(){return this.i18n.$t("DIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL")}},mounted(){n.warnIfUnmounted(this.$el,this.$options.name)},methods:{arrowClick(e){return this.$emit("arrow-click",e),this.toggleOpen()},toggleOpen(){return this.open=!this.open},syncOpenState(){this.open=this.openDropdown},buttonClick(e){this.$listeners.click?this.$emit("click",e):this.arrowClick(e)},onModalIsOpened(e){this.open=e,this.$emit("opened",e)}}};var b=function(){var t=this,o=t._self._c;return o("div",{staticClass:"dt-recipe--callbar-button-with-dropdown"},[o("dt-recipe-callbar-button",{staticClass:"dt-recipe--callbar-button-with-dropdown--main-button",attrs:{active:t.active,"aria-label":t.ariaLabel,"button-class":t.buttonClass,"button-width-size":t.buttonWidthSize,danger:t.danger,disabled:t.disabled,"inverted-tooltip":t.invertedTooltip,"show-tooltip":t.showTooltip,"text-class":t.textClass,"tooltip-delay":t.tooltipDelay,"tooltip-text":t.tooltipText},on:{click:t.buttonClick},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("icon")]},proxy:!0},{key:"tooltip",fn:function(){return[t._t("tooltip")]},proxy:!0}],null,!0)},[t._t("default")],2),t.showArrowButton?o("dt-dropdown",t._b({staticClass:"dt-recipe--callbar-button-with-dropdown--dropdown-wrapper",attrs:{id:t.id,modal:!1,"fallback-placements":t.fallbackPlacements,open:t.open,placement:t.placement,padding:"none"},on:{opened:t.onModalIsOpened},scopedSlots:t._u([{key:"anchor",fn:function(){return[o("dt-button",{class:["dt-recipe--callbar-button-with-dropdown--arrow",{"dt-recipe--callbar-button-with-dropdown--arrow--large":!t.isCompactMode}],attrs:{active:t.open,circle:!0,importance:"clear",size:"lg","aria-label":t.arrowButtonLabel,title:t.arrowButtonLabel,width:"2rem"},on:{click:t.arrowClick},scopedSlots:t._u([{key:"icon",fn:function(){return[o("dt-icon-chevron-up",{staticClass:"dt-recipe--callbar-button-with-dropdown--arrow__icon",attrs:{size:"200"}})]},proxy:!0}],null,!1,887776886)})]},proxy:!0},{key:"list",fn:function({close:r}){return[t._t("list",null,{close:r})]}}],null,!0)},"dt-dropdown",t.$attrs,!1)):t._e()],1)},f=[],_=i.n(p,b,f);const w=_.exports;exports.default=w;
2
2
  //# sourceMappingURL=callbar-button-with-dropdown.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"callbar-button-with-dropdown.cjs","sources":["../../../recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe--callbar-button-with-dropdown\"\n >\n <dt-recipe-callbar-button\n :active=\"active\"\n :aria-label=\"ariaLabel\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :danger=\"danger\"\n :disabled=\"disabled\"\n :inverted-tooltip=\"invertedTooltip\"\n :show-tooltip=\"showTooltip\"\n :text-class=\"textClass\"\n :tooltip-delay=\"tooltipDelay\"\n :tooltip-text=\"tooltipText\"\n class=\"dt-recipe--callbar-button-with-dropdown--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-dropdown\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :fallback-placements=\"fallbackPlacements\"\n :open=\"open\"\n :placement=\"placement\"\n class=\"dt-recipe--callbar-button-with-dropdown--dropdown-wrapper\"\n padding=\"none\"\n v-bind=\"$attrs\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n :active=\"open\"\n :class=\"['dt-recipe--callbar-button-with-dropdown--arrow',\n { 'dt-recipe--callbar-button-with-dropdown--arrow--large': !isCompactMode }]\"\n :circle=\"true\"\n importance=\"clear\"\n size=\"lg\"\n :aria-label=\"arrowButtonLabel\"\n :title=\"arrowButtonLabel\"\n width=\"2rem\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"dt-recipe--callbar-button-with-dropdown--arrow__icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #list=\"{ close }\">\n <slot\n :close=\"close\"\n name=\"list\"\n />\n </template>\n </dt-dropdown>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtDropdown } from '@/components/dropdown';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue2';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\nimport { DialtoneLocalization } from '@/localization';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithDropdown',\n\n components: { DtRecipeCallbarButton, DtDropdown, 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 * The direction the dropdown 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 * If the dropdown does not fit in the direction described by \"placement\",\n * it will attempt to change it's direction to the \"fallbackPlacements\".\n *\n * @values top, top-start, top-end,\n * right, right-start, right-end,\n * left, left-start, left-end,\n * bottom, bottom-start, bottom-end,\n * auto, auto-start, auto-end\n * */\n fallbackPlacements: {\n type: Array,\n default: () => {\n return ['auto'];\n },\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 * 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 dropdown is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n i18n: new DialtoneLocalization(),\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 arrowButtonLabel () {\n return this.i18n.$t('DIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL');\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.openDropdown;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the dropdown\n // the same as if the arrow was clicked.\n if (!this.$listeners.click) {\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":["_sfc_main","DtRecipeCallbarButton","DtDropdown","DtButton","DtIconChevronUp","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","DialtoneLocalization","warnIfUnmounted","ev","isOpened"],"mappings":"8dA8EAA,EAAA,CACA,KAAA,oCAEA,WAAA,CAAA,sBAAAC,EAAA,QAAA,WAAAC,UAAAC,SAAAA,EAAAA,QAAAC,gBAAAA,EAAAA,eAAA,EAMA,aAAA,GAEA,MAAA,CAIA,GAAA,CACA,KAAA,OACA,SAAA,CACA,OAAAC,EAAAA,QAAA,iBACA,CACA,EAKA,UAAA,CACA,KAAA,OACA,QAAA,KACA,UAAAC,GACAA,GAAAC,SAAA,OAAA,OAEA,EAUA,UAAA,CACA,KAAA,OACA,QAAA,KACA,EAYA,mBAAA,CACA,KAAA,MACA,QAAA,IACA,CAAA,MAAA,CAEA,EAOA,SAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,eAAA,CACA,KAAA,QACA,QAAA,EACA,EAQA,OAAA,CACA,KAAA,QACA,QAAA,EACA,EAQA,OAAA,CACA,KAAA,QACA,QAAA,EACA,EAKA,YAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,UAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,gBAAA,CACA,KAAA,OACA,QAAA,KACA,UAAAC,GAAAC,kCAAA,SAAAD,CAAA,CACA,EAMA,gBAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,YAAA,CACA,KAAA,QACA,QAAA,IACA,EAKA,YAAA,CACA,KAAA,OACA,QAAA,MACA,EAMA,aAAA,CACA,KAAA,QACA,QAAA,MACA,CACA,EAEA,MAAA,CAIA,cAQA,QAKA,QACA,EAEA,MAAA,CACA,MAAA,CACA,KAAA,GACA,KAAA,IAAAE,EAAAA,oBACA,CACA,EAEA,SAAA,CACA,iBAAA,CACA,OAAA,KAAA,gBAAA,CAAA,KAAA,QACA,EAEA,eAAA,CACA,OAAA,KAAA,kBAAA,MAAA,KAAA,kBAAA,IACA,EAEA,kBAAA,CACA,OAAA,KAAA,KAAA,GAAA,+DAAA,CACA,CACA,EAEA,SAAA,CACAC,EAAA,gBAAA,KAAA,IAAA,KAAA,SAAA,IAAA,CACA,EAEA,QAAA,CACA,WAAAC,EAAA,CACA,YAAA,MAAA,cAAAA,CAAA,EACA,KAAA,YACA,EAEA,YAAA,CACA,OAAA,KAAA,KAAA,CAAA,KAAA,IACA,EAEA,eAAA,CACA,KAAA,KAAA,KAAA,YACA,EAEA,YAAAA,EAAA,CAGA,KAAA,WAAA,MAGA,KAAA,MAAA,QAAAA,CAAA,EAFA,KAAA,WAAAA,CAAA,CAIA,EAEA,gBAAAC,EAAA,CACA,KAAA,KAAAA,EACA,KAAA,MAAA,SAAAA,CAAA,CACA,CACA,CAEA"}
1
+ {"version":3,"file":"callbar-button-with-dropdown.cjs","sources":["../../../recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe--callbar-button-with-dropdown\"\n >\n <dt-recipe-callbar-button\n :active=\"active\"\n :aria-label=\"ariaLabel\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :danger=\"danger\"\n :disabled=\"disabled\"\n :inverted-tooltip=\"invertedTooltip\"\n :show-tooltip=\"showTooltip\"\n :text-class=\"textClass\"\n :tooltip-delay=\"tooltipDelay\"\n :tooltip-text=\"tooltipText\"\n class=\"dt-recipe--callbar-button-with-dropdown--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-dropdown\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :fallback-placements=\"fallbackPlacements\"\n :open=\"open\"\n :placement=\"placement\"\n class=\"dt-recipe--callbar-button-with-dropdown--dropdown-wrapper\"\n padding=\"none\"\n v-bind=\"$attrs\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n :active=\"open\"\n :class=\"['dt-recipe--callbar-button-with-dropdown--arrow',\n { 'dt-recipe--callbar-button-with-dropdown--arrow--large': !isCompactMode }]\"\n :circle=\"true\"\n importance=\"clear\"\n size=\"lg\"\n :aria-label=\"arrowButtonLabel\"\n :title=\"arrowButtonLabel\"\n width=\"2rem\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"dt-recipe--callbar-button-with-dropdown--arrow__icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #list=\"{ close }\">\n <slot\n :close=\"close\"\n name=\"list\"\n />\n </template>\n </dt-dropdown>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtDropdown } from '@/components/dropdown';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue2';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\nimport { DialtoneLocalization } from '@/localization';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithDropdown',\n\n components: { DtRecipeCallbarButton, DtDropdown, 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 * The direction the dropdown 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 * If the dropdown does not fit in the direction described by \"placement\",\n * it will attempt to change it's direction to the \"fallbackPlacements\".\n *\n * @values top, top-start, top-end,\n * right, right-start, right-end,\n * left, left-start, left-end,\n * bottom, bottom-start, bottom-end,\n * auto, auto-start, auto-end\n * */\n fallbackPlacements: {\n type: Array,\n default: () => {\n return ['auto'];\n },\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 * 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 dropdown is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n i18n: new DialtoneLocalization(),\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 arrowButtonLabel () {\n return this.i18n.$t('DIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL');\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.openDropdown;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the dropdown\n // the same as if the arrow was clicked.\n if (!this.$listeners.click) {\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":["_sfc_main","DtRecipeCallbarButton","DtDropdown","DtButton","DtIconChevronUp","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","DialtoneLocalization","warnIfUnmounted","ev","isOpened"],"mappings":"8dA8EAA,EAAA,CACA,KAAA,oCAEA,WAAA,CAAA,sBAAAC,EAAAA,QAAA,WAAAC,UAAA,SAAAC,EAAAA,QAAA,gBAAAC,EAAAA,eAAA,EAMA,aAAA,GAEA,MAAA,CAIA,GAAA,CACA,KAAA,OACA,SAAA,CACA,OAAAC,EAAAA,QAAA,gBAAA,CACA,CACA,EAKA,UAAA,CACA,KAAA,OACA,QAAA,KACA,UAAAC,GACAA,GAAAC,SAAA,OAAA,OAEA,EAUA,UAAA,CACA,KAAA,OACA,QAAA,KACA,EAYA,mBAAA,CACA,KAAA,MACA,QAAA,IACA,CAAA,MAAA,CAEA,EAOA,SAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,eAAA,CACA,KAAA,QACA,QAAA,EACA,EAQA,OAAA,CACA,KAAA,QACA,QAAA,EACA,EAQA,OAAA,CACA,KAAA,QACA,QAAA,EACA,EAKA,YAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,UAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,gBAAA,CACA,KAAA,OACA,QAAA,KACA,UAAAC,GAAAC,kCAAA,SAAAD,CAAA,CACA,EAMA,gBAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,YAAA,CACA,KAAA,QACA,QAAA,IACA,EAKA,YAAA,CACA,KAAA,OACA,QAAA,MACA,EAMA,aAAA,CACA,KAAA,QACA,QAAA,MACA,CACA,EAEA,MAAA,CAIA,cAQA,QAKA,QACA,EAEA,MAAA,CACA,MAAA,CACA,KAAA,GACA,KAAA,IAAAE,EAAAA,oBACA,CACA,EAEA,SAAA,CACA,iBAAA,CACA,OAAA,KAAA,gBAAA,CAAA,KAAA,QACA,EAEA,eAAA,CACA,OAAA,KAAA,kBAAA,MAAA,KAAA,kBAAA,IACA,EAEA,kBAAA,CACA,OAAA,KAAA,KAAA,GAAA,+DAAA,CACA,CACA,EAEA,SAAA,CACAC,EAAAA,gBAAA,KAAA,IAAA,KAAA,SAAA,IAAA,CACA,EAEA,QAAA,CACA,WAAAC,EAAA,CACA,YAAA,MAAA,cAAAA,CAAA,EACA,KAAA,WAAA,CACA,EAEA,YAAA,CACA,OAAA,KAAA,KAAA,CAAA,KAAA,IACA,EAEA,eAAA,CACA,KAAA,KAAA,KAAA,YACA,EAEA,YAAAA,EAAA,CAGA,KAAA,WAAA,MAGA,KAAA,MAAA,QAAAA,CAAA,EAFA,KAAA,WAAAA,CAAA,CAIA,EAEA,gBAAAC,EAAA,CACA,KAAA,KAAAA,EACA,KAAA,MAAA,SAAAA,CAAA,CACA,CACA,CAEA"}
@@ -2,13 +2,13 @@ import { DtIconChevronUp as r } from "@dialpad/dialtone-icons/vue2";
2
2
  import a, { warnIfUnmounted as l } from "../../common/utils/index.js";
3
3
  import { DialtoneLocalization as i } from "../../localization/index.js";
4
4
  import { n as s } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
5
- import d from "../callbar-button/callbar-button.js";
6
- import p from "../dropdown/dropdown.js";
7
- import c from "../button/button.js";
8
- import { CALLBAR_BUTTON_VALID_WIDTH_SIZE as u } from "../callbar-button/callbar-button-constants.js";
5
+ import { CALLBAR_BUTTON_VALID_WIDTH_SIZE as d } from "../callbar-button/callbar-button-constants.js";
6
+ import p from "../button/button.js";
7
+ import c from "../dropdown/dropdown.js";
8
+ import u from "../callbar-button/callbar-button.js";
9
9
  const f = {
10
10
  name: "DtRecipeCallbarButtonWithDropdown",
11
- components: { DtRecipeCallbarButton: d, DtDropdown: p, DtButton: c, DtIconChevronUp: r },
11
+ components: { DtRecipeCallbarButton: u, DtDropdown: c, DtButton: p, DtIconChevronUp: r },
12
12
  /* inheritAttrs: false is generally an option we want to set on library
13
13
  components. This allows any attributes passed in that are not recognized
14
14
  as props to be passed down to another element or component using v-bind:$attrs
@@ -116,7 +116,7 @@ const f = {
116
116
  buttonWidthSize: {
117
117
  type: String,
118
118
  default: "xl",
119
- validator: (e) => u.includes(e)
119
+ validator: (e) => d.includes(e)
120
120
  },
121
121
  /**
122
122
  * Whether the tooltip has an inverted background color.
@@ -1 +1 @@
1
- {"version":3,"file":"callbar-button-with-dropdown.js","sources":["../../../recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe--callbar-button-with-dropdown\"\n >\n <dt-recipe-callbar-button\n :active=\"active\"\n :aria-label=\"ariaLabel\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :danger=\"danger\"\n :disabled=\"disabled\"\n :inverted-tooltip=\"invertedTooltip\"\n :show-tooltip=\"showTooltip\"\n :text-class=\"textClass\"\n :tooltip-delay=\"tooltipDelay\"\n :tooltip-text=\"tooltipText\"\n class=\"dt-recipe--callbar-button-with-dropdown--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-dropdown\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :fallback-placements=\"fallbackPlacements\"\n :open=\"open\"\n :placement=\"placement\"\n class=\"dt-recipe--callbar-button-with-dropdown--dropdown-wrapper\"\n padding=\"none\"\n v-bind=\"$attrs\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n :active=\"open\"\n :class=\"['dt-recipe--callbar-button-with-dropdown--arrow',\n { 'dt-recipe--callbar-button-with-dropdown--arrow--large': !isCompactMode }]\"\n :circle=\"true\"\n importance=\"clear\"\n size=\"lg\"\n :aria-label=\"arrowButtonLabel\"\n :title=\"arrowButtonLabel\"\n width=\"2rem\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"dt-recipe--callbar-button-with-dropdown--arrow__icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #list=\"{ close }\">\n <slot\n :close=\"close\"\n name=\"list\"\n />\n </template>\n </dt-dropdown>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtDropdown } from '@/components/dropdown';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue2';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\nimport { DialtoneLocalization } from '@/localization';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithDropdown',\n\n components: { DtRecipeCallbarButton, DtDropdown, 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 * The direction the dropdown 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 * If the dropdown does not fit in the direction described by \"placement\",\n * it will attempt to change it's direction to the \"fallbackPlacements\".\n *\n * @values top, top-start, top-end,\n * right, right-start, right-end,\n * left, left-start, left-end,\n * bottom, bottom-start, bottom-end,\n * auto, auto-start, auto-end\n * */\n fallbackPlacements: {\n type: Array,\n default: () => {\n return ['auto'];\n },\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 * 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 dropdown is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n i18n: new DialtoneLocalization(),\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 arrowButtonLabel () {\n return this.i18n.$t('DIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL');\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.openDropdown;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the dropdown\n // the same as if the arrow was clicked.\n if (!this.$listeners.click) {\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":["_sfc_main","DtRecipeCallbarButton","DtDropdown","DtButton","DtIconChevronUp","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","DialtoneLocalization","warnIfUnmounted","ev","isOpened"],"mappings":";;;;;;;;AA8EA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA,EAAA,uBAAAC,GAAA,YAAAC,GAAA,UAAAC,GAAA,iBAAAC,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,IAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AACA,eAAAC,EAAA;MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAAC,MACAA,KAAAC,SAAA,OAAA;AA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SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,cAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA;AAAA;AAAA;AAAA;AAAA,IAKA;AAAA,EACA;AAAA,EAEA,OAAA;AACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,MAAA,IAAAE,EAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,kBAAA;AACA,aAAA,KAAA,kBAAA,CAAA,KAAA;AAAA,IACA;AAAA,IAEA,gBAAA;AACA,aAAA,KAAA,oBAAA,QAAA,KAAA,oBAAA;AAAA,IACA;AAAA,IAEA,mBAAA;AACA,aAAA,KAAA,KAAA,GAAA,+DAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,IAAAC,EAAA,KAAA,KAAA,KAAA,SAAA,IAAA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,WAAAC,GAAA;AACA,kBAAA,MAAA,eAAAA,CAAA,GACA,KAAA;IACA;AAAA,IAEA,aAAA;AACA,aAAA,KAAA,OAAA,CAAA,KAAA;AAAA,IACA;AAAA,IAEA,gBAAA;AACA,WAAA,OAAA,KAAA;AAAA,IACA;AAAA,IAEA,YAAAA,GAAA;AAGA,MAAA,KAAA,WAAA,QAGA,KAAA,MAAA,SAAAA,CAAA,IAFA,KAAA,WAAAA,CAAA;AAAA,IAIA;AAAA,IAEA,gBAAAC,GAAA;AACA,WAAA,OAAAA,GACA,KAAA,MAAA,UAAAA,CAAA;AAAA,IACA;AAAA,EACA;AAEA;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"callbar-button-with-dropdown.js","sources":["../../../recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe--callbar-button-with-dropdown\"\n >\n <dt-recipe-callbar-button\n :active=\"active\"\n :aria-label=\"ariaLabel\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :danger=\"danger\"\n :disabled=\"disabled\"\n :inverted-tooltip=\"invertedTooltip\"\n :show-tooltip=\"showTooltip\"\n :text-class=\"textClass\"\n :tooltip-delay=\"tooltipDelay\"\n :tooltip-text=\"tooltipText\"\n class=\"dt-recipe--callbar-button-with-dropdown--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-dropdown\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :fallback-placements=\"fallbackPlacements\"\n :open=\"open\"\n :placement=\"placement\"\n class=\"dt-recipe--callbar-button-with-dropdown--dropdown-wrapper\"\n padding=\"none\"\n v-bind=\"$attrs\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n :active=\"open\"\n :class=\"['dt-recipe--callbar-button-with-dropdown--arrow',\n { 'dt-recipe--callbar-button-with-dropdown--arrow--large': !isCompactMode }]\"\n :circle=\"true\"\n importance=\"clear\"\n size=\"lg\"\n :aria-label=\"arrowButtonLabel\"\n :title=\"arrowButtonLabel\"\n width=\"2rem\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"dt-recipe--callbar-button-with-dropdown--arrow__icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #list=\"{ close }\">\n <slot\n :close=\"close\"\n name=\"list\"\n />\n </template>\n </dt-dropdown>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtDropdown } from '@/components/dropdown';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue2';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\nimport { DialtoneLocalization } from '@/localization';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithDropdown',\n\n components: { DtRecipeCallbarButton, DtDropdown, 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 * The direction the dropdown 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 * If the dropdown does not fit in the direction described by \"placement\",\n * it will attempt to change it's direction to the \"fallbackPlacements\".\n *\n * @values top, top-start, top-end,\n * right, right-start, right-end,\n * left, left-start, left-end,\n * bottom, bottom-start, bottom-end,\n * auto, auto-start, auto-end\n * */\n fallbackPlacements: {\n type: Array,\n default: () => {\n return ['auto'];\n },\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 * 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 dropdown is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n i18n: new DialtoneLocalization(),\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 arrowButtonLabel () {\n return this.i18n.$t('DIALTONE_CALLBAR_BUTTON_WITH_DROPDOWN_ARROW_BUTTON_ARIA_LABEL');\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.openDropdown;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the dropdown\n // the same as if the arrow was clicked.\n if (!this.$listeners.click) {\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":["_sfc_main","DtRecipeCallbarButton","DtDropdown","DtButton","DtIconChevronUp","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","DialtoneLocalization","warnIfUnmounted","ev","isOpened"],"mappings":";;;;;;;;AA8EA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA,EAAA,uBAAAC,GAAA,YAAAC,GAAA,UAAAC,GAAA,iBAAAC,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,IAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AACA,eAAAC,EAAA,gBAAA;AAAA,MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAAC,MACAA,KAAAC,SAAA,OAAA;AAAA,IAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAYA,oBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA,MACA,CAAA,MAAA;AAAA,IAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,gBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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AA,oBAAA;AAAA,IACA;AAAA,IAEA,mBAAA;AACA,aAAA,KAAA,KAAA,GAAA,+DAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,IAAAC,EAAA,KAAA,KAAA,KAAA,SAAA,IAAA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,WAAAC,GAAA;AACA,kBAAA,MAAA,eAAAA,CAAA,GACA,KAAA,WAAA;AAAA,IACA;AAAA,IAEA,aAAA;AACA,aAAA,KAAA,OAAA,CAAA,KAAA;AAAA,IACA;AAAA,IAEA,gBAAA;AACA,WAAA,OAAA,KAAA;AAAA,IACA;AAAA,IAEA,YAAAA,GAAA;AAGA,MAAA,KAAA,WAAA,QAGA,KAAA,MAAA,SAAAA,CAAA,IAFA,KAAA,WAAAA,CAAA;AAAA,IAIA;AAAA,IAEA,gBAAAC,GAAA;AACA,WAAA,OAAAA,GACA,KAAA,MAAA,UAAAA,CAAA;AAAA,IACA;AAAA,EACA;AAEA;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@dialpad/dialtone-icons/vue2"),n=require("../../common/utils/index.cjs"),r=require("../../localization/index.cjs"),a=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),i=require("../callbar-button/callbar-button.cjs"),s=require("../popover/popover.cjs"),p=require("../button/button.cjs"),u=require("../callbar-button/callbar-button-constants.cjs"),c={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:i.default,DtPopover:s.default,DtButton:p.default,DtIconChevronUp:l.DtIconChevronUp},inheritAttrs:!1,props:{id:{type:String,default(){return n.default.getUniqueString()}},ariaLabel:{type:String,default:null,validator:e=>e||(void 0).$slots.default},placement:{type:String,default:"top"},offset:{type:Array,default:()=>[0,16]},initialFocusElement:{type:String,default:"first"},showCloseButton:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},forceShowArrow:{type:Boolean,default:!1},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:e=>u.CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(e)},contentClass:{type:[String,Array,Object],default:""},openPopover:{type:Boolean,default:!1},invertedTooltip:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:null},tooltipText:{type:String,default:void 0},tooltipDelay:{type:Boolean,default:void 0}},emits:["arrow-click","click","opened"],data(){return{open:!1,i18n:new r.DialtoneLocalization}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled},isCompactMode(){return this.buttonWidthSize==="sm"||this.buttonWidthSize==="md"},showPopover(){return!this.openPopover||this.open?(this.syncOpenState(),!1):this.toggleOpen()},arrowButtonLabel(){return this.i18n.$t("DIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL")}},mounted(){n.warnIfUnmounted(this.$el,this.$options.name)},methods:{arrowClick(e){return this.$emit("arrow-click",e),this.toggleOpen()},toggleOpen(){return this.open=!this.open},syncOpenState(){this.open=this.openPopover},buttonClick(e){this.$listeners.click?this.$emit("click",e):this.arrowClick(e)},onModalIsOpened(e){this.open=e,this.$emit("opened",e)}}};var d=function(){var t=this,o=t._self._c;return o("div",{staticClass:"d-recipe-callbar-button-with-popover"},[o("dt-recipe-callbar-button",{staticClass:"d-recipe-callbar-button-with-popover--main-button",attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,active:t.active,danger:t.danger,"button-class":t.buttonClass,"button-width-size":t.buttonWidthSize,"text-class":t.textClass,"inverted-tooltip":t.invertedTooltip,"show-tooltip":t.showTooltip,"tooltip-text":t.tooltipText,"tooltip-delay":t.tooltipDelay},on:{click:t.buttonClick}},[t._t("icon",null,{slot:"icon"}),t._t("tooltip",null,{slot:"tooltip"}),t._t("default")],2),t.showArrowButton?o("dt-popover",t._b({staticClass:"d-recipe-callbar-button-with-popover__popover-wrapper",attrs:{id:t.id,modal:!1,open:t.open,placement:t.placement,"initial-focus-element":t.initialFocusElement,"show-close-button":t.showCloseButton,offset:t.offset,padding:"none","dialog-class":["d-recipe-callbar-button-with-popover__popover",t.contentClass],"open-popover":t.showPopover},on:{opened:t.onModalIsOpened},scopedSlots:t._u([{key:"anchor",fn:function(){return[o("dt-button",{class:["d-recipe-callbar-button-with-popover__arrow",{"d-recipe-callbar-button-with-popover__arrow--large":!t.isCompactMode}],attrs:{active:t.open,circle:!0,importance:"clear",size:"lg","aria-label":t.arrowButtonLabel,title:t.arrowButtonLabel,width:"2rem"},on:{click:t.arrowClick},scopedSlots:t._u([{key:"icon",fn:function(){return[o("dt-icon-chevron-up",{staticClass:"d-recipe-callbar-button-with-popover__arrow-icon",attrs:{size:"200"}})]},proxy:!0}],null,!1,778999832)})]},proxy:!0}],null,!1,2571181550)},"dt-popover",t.$attrs,!1),[t._t("content",null,{slot:"content"}),t._t("headerContent",null,{slot:"headerContent"}),t._t("footerContent",null,{slot:"footerContent"})],2):t._e()],1)},f=[],_=a.n(c,d,f);const b=_.exports;exports.default=b;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@dialpad/dialtone-icons/vue2"),n=require("../../common/utils/index.cjs"),r=require("../../localization/index.cjs"),a=require("../../_plugin-vue2_normalizer-e_CkxkSV.cjs"),i=require("../callbar-button/callbar-button-constants.cjs"),s=require("../button/button.cjs"),p=require("../popover/popover.cjs"),u=require("../callbar-button/callbar-button.cjs"),c={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:u.default,DtPopover:p.default,DtButton:s.default,DtIconChevronUp:l.DtIconChevronUp},inheritAttrs:!1,props:{id:{type:String,default(){return n.default.getUniqueString()}},ariaLabel:{type:String,default:null,validator:e=>e||(void 0).$slots.default},placement:{type:String,default:"top"},offset:{type:Array,default:()=>[0,16]},initialFocusElement:{type:String,default:"first"},showCloseButton:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},forceShowArrow:{type:Boolean,default:!1},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:e=>i.CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(e)},contentClass:{type:[String,Array,Object],default:""},openPopover:{type:Boolean,default:!1},invertedTooltip:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:null},tooltipText:{type:String,default:void 0},tooltipDelay:{type:Boolean,default:void 0}},emits:["arrow-click","click","opened"],data(){return{open:!1,i18n:new r.DialtoneLocalization}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled},isCompactMode(){return this.buttonWidthSize==="sm"||this.buttonWidthSize==="md"},showPopover(){return!this.openPopover||this.open?(this.syncOpenState(),!1):this.toggleOpen()},arrowButtonLabel(){return this.i18n.$t("DIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL")}},mounted(){n.warnIfUnmounted(this.$el,this.$options.name)},methods:{arrowClick(e){return this.$emit("arrow-click",e),this.toggleOpen()},toggleOpen(){return this.open=!this.open},syncOpenState(){this.open=this.openPopover},buttonClick(e){this.$listeners.click?this.$emit("click",e):this.arrowClick(e)},onModalIsOpened(e){this.open=e,this.$emit("opened",e)}}};var d=function(){var t=this,o=t._self._c;return o("div",{staticClass:"d-recipe-callbar-button-with-popover"},[o("dt-recipe-callbar-button",{staticClass:"d-recipe-callbar-button-with-popover--main-button",attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,active:t.active,danger:t.danger,"button-class":t.buttonClass,"button-width-size":t.buttonWidthSize,"text-class":t.textClass,"inverted-tooltip":t.invertedTooltip,"show-tooltip":t.showTooltip,"tooltip-text":t.tooltipText,"tooltip-delay":t.tooltipDelay},on:{click:t.buttonClick}},[t._t("icon",null,{slot:"icon"}),t._t("tooltip",null,{slot:"tooltip"}),t._t("default")],2),t.showArrowButton?o("dt-popover",t._b({staticClass:"d-recipe-callbar-button-with-popover__popover-wrapper",attrs:{id:t.id,modal:!1,open:t.open,placement:t.placement,"initial-focus-element":t.initialFocusElement,"show-close-button":t.showCloseButton,offset:t.offset,padding:"none","dialog-class":["d-recipe-callbar-button-with-popover__popover",t.contentClass],"open-popover":t.showPopover},on:{opened:t.onModalIsOpened},scopedSlots:t._u([{key:"anchor",fn:function(){return[o("dt-button",{class:["d-recipe-callbar-button-with-popover__arrow",{"d-recipe-callbar-button-with-popover__arrow--large":!t.isCompactMode}],attrs:{active:t.open,circle:!0,importance:"clear",size:"lg","aria-label":t.arrowButtonLabel,title:t.arrowButtonLabel,width:"2rem"},on:{click:t.arrowClick},scopedSlots:t._u([{key:"icon",fn:function(){return[o("dt-icon-chevron-up",{staticClass:"d-recipe-callbar-button-with-popover__arrow-icon",attrs:{size:"200"}})]},proxy:!0}],null,!1,778999832)})]},proxy:!0}],null,!1,2571181550)},"dt-popover",t.$attrs,!1),[t._t("content",null,{slot:"content"}),t._t("headerContent",null,{slot:"headerContent"}),t._t("footerContent",null,{slot:"footerContent"})],2):t._e()],1)},f=[],_=a.n(c,d,f);const b=_.exports;exports.default=b;
2
2
  //# sourceMappingURL=callbar-button-with-popover.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"callbar-button-with-popover.cjs","sources":["../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"d-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 :inverted-tooltip=\"invertedTooltip\"\n :show-tooltip=\"showTooltip\"\n :tooltip-text=\"tooltipText\"\n :tooltip-delay=\"tooltipDelay\"\n class=\"d-recipe-callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <slot\n slot=\"icon\"\n name=\"icon\"\n />\n <slot\n slot=\"tooltip\"\n name=\"tooltip\"\n />\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=\"d-recipe-callbar-button-with-popover__popover-wrapper\"\n :dialog-class=\"['d-recipe-callbar-button-with-popover__popover', contentClass]\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n :active=\"open\"\n :class=\"['d-recipe-callbar-button-with-popover__arrow',\n { 'd-recipe-callbar-button-with-popover__arrow--large': !isCompactMode }]\"\n :circle=\"true\"\n importance=\"clear\"\n size=\"lg\"\n :aria-label=\"arrowButtonLabel\"\n :title=\"arrowButtonLabel\"\n width=\"2rem\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"d-recipe-callbar-button-with-popover__arrow-icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <slot\n slot=\"content\"\n name=\"content\"\n />\n <slot\n slot=\"headerContent\"\n name=\"headerContent\"\n />\n <slot\n slot=\"footerContent\"\n name=\"footerContent\"\n />\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/vue2';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\nimport { DialtoneLocalization } from '@/localization';\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 * 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 * 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 i18n: new DialtoneLocalization(),\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 arrowButtonLabel () {\n return this.i18n.$t('DIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL');\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.$listeners.click) {\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":["_sfc_main","DtRecipeCallbarButton","DtPopover","DtButton","DtIconChevronUp","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","DialtoneLocalization","warnIfUnmounted","ev","isOpened"],"mappings":"4dA0FAA,EAAA,CACA,KAAA,mCAEA,WAAA,CAAA,sBAAAC,EAAA,QAAA,UAAAC,UAAAC,SAAAA,EAAAA,QAAAC,gBAAAA,EAAAA,eAAA,EAMA,aAAA,GAEA,MAAA,CAIA,GAAA,CACA,KAAA,OACA,SAAA,CACA,OAAAC,EAAAA,QAAA,iBACA,CACA,EAKA,UAAA,CACA,KAAA,OACA,QAAA,KACA,UAAAC,GACAA,GAAAC,SAAA,OAAA,OAEA,EAUA,UAAA,CACA,KAAA,OACA,QAAA,KACA,EAaA,OAAA,CACA,KAAA,MACA,QAAA,IAAA,CAAA,EAAA,EAAA,CACA,EASA,oBAAA,CACA,KAAA,OACA,QAAA,OACA,EAKA,gBAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,SAAA,CACA,KAAA,QACA,QAAA,EACA,EAOA,eAAA,CACA,KAAA,QACA,QAAA,EACA,EAQA,OAAA,CACA,KAAA,QACA,QAAA,EACA,EAQA,OAAA,CACA,KAAA,QACA,QAAA,EACA,EAKA,YAAA,CACA,KAAA,CAAA,OAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA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../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"d-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 :inverted-tooltip=\"invertedTooltip\"\n :show-tooltip=\"showTooltip\"\n :tooltip-text=\"tooltipText\"\n :tooltip-delay=\"tooltipDelay\"\n class=\"d-recipe-callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <slot\n slot=\"icon\"\n name=\"icon\"\n />\n <slot\n slot=\"tooltip\"\n name=\"tooltip\"\n />\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=\"d-recipe-callbar-button-with-popover__popover-wrapper\"\n :dialog-class=\"['d-recipe-callbar-button-with-popover__popover', contentClass]\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n :active=\"open\"\n :class=\"['d-recipe-callbar-button-with-popover__arrow',\n { 'd-recipe-callbar-button-with-popover__arrow--large': !isCompactMode }]\"\n :circle=\"true\"\n importance=\"clear\"\n size=\"lg\"\n :aria-label=\"arrowButtonLabel\"\n :title=\"arrowButtonLabel\"\n width=\"2rem\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"d-recipe-callbar-button-with-popover__arrow-icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <slot\n slot=\"content\"\n name=\"content\"\n />\n <slot\n slot=\"headerContent\"\n name=\"headerContent\"\n />\n <slot\n slot=\"footerContent\"\n name=\"footerContent\"\n />\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/vue2';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\nimport { DialtoneLocalization } from '@/localization';\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 * 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 * 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 i18n: new DialtoneLocalization(),\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 arrowButtonLabel () {\n return this.i18n.$t('DIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL');\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.$listeners.click) {\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":["_sfc_main","DtRecipeCallbarButton","DtPopover","DtButton","DtIconChevronUp","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","DialtoneLocalization","warnIfUnmounted","ev","isOpened"],"mappings":"4dA0FAA,EAAA,CACA,KAAA,mCAEA,WAAA,CAAA,sBAAAC,EAAAA,QAAA,UAAAC,UAAA,SAAAC,EAAAA,QAAA,gBAAAC,EAAAA,eAAA,EAMA,aAAA,GAEA,MAAA,CAIA,GAAA,CACA,KAAA,OACA,SAAA,CACA,OAAAC,EAAAA,QAAA,gBAAA,CACA,CACA,EAKA,UAAA,CACA,KAAA,OACA,QAAA,KACA,UAAAC,GACAA,GAAAC,SAAA,OAAA,OAEA,EAUA,UAA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CACA,EAEA,QAAA,CACA,WAAAC,EAAA,CACA,YAAA,MAAA,cAAAA,CAAA,EACA,KAAA,WAAA,CACA,EAEA,YAAA,CACA,OAAA,KAAA,KAAA,CAAA,KAAA,IACA,EAEA,eAAA,CACA,KAAA,KAAA,KAAA,WACA,EAEA,YAAAA,EAAA,CAGA,KAAA,WAAA,MAGA,KAAA,MAAA,QAAAA,CAAA,EAFA,KAAA,WAAAA,CAAA,CAIA,EAEA,gBAAAC,EAAA,CACA,KAAA,KAAAA,EACA,KAAA,MAAA,SAAAA,CAAA,CACA,CACA,CAEA"}
@@ -2,13 +2,13 @@ import { DtIconChevronUp as n } from "@dialpad/dialtone-icons/vue2";
2
2
  import r, { warnIfUnmounted as l } from "../../common/utils/index.js";
3
3
  import { DialtoneLocalization as a } from "../../localization/index.js";
4
4
  import { n as i } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
5
- import s from "../callbar-button/callbar-button.js";
6
- import p from "../popover/popover.js";
7
- import c from "../button/button.js";
8
- import { CALLBAR_BUTTON_VALID_WIDTH_SIZE as u } from "../callbar-button/callbar-button-constants.js";
5
+ import { CALLBAR_BUTTON_VALID_WIDTH_SIZE as s } from "../callbar-button/callbar-button-constants.js";
6
+ import p from "../button/button.js";
7
+ import c from "../popover/popover.js";
8
+ import u from "../callbar-button/callbar-button.js";
9
9
  const d = {
10
10
  name: "DtRecipeCallbarButtonWithPopover",
11
- components: { DtRecipeCallbarButton: s, DtPopover: p, DtButton: c, DtIconChevronUp: n },
11
+ components: { DtRecipeCallbarButton: u, DtPopover: c, DtButton: p, DtIconChevronUp: n },
12
12
  /* inheritAttrs: false is generally an option we want to set on library
13
13
  components. This allows any attributes passed in that are not recognized
14
14
  as props to be passed down to another element or component using v-bind:$attrs
@@ -135,7 +135,7 @@ const d = {
135
135
  buttonWidthSize: {
136
136
  type: String,
137
137
  default: "xl",
138
- validator: (e) => u.includes(e)
138
+ validator: (e) => s.includes(e)
139
139
  },
140
140
  /**
141
141
  * Additional class name for the popover content wrapper element.
@@ -1 +1 @@
1
- {"version":3,"file":"callbar-button-with-popover.js","sources":["../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"d-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 :inverted-tooltip=\"invertedTooltip\"\n :show-tooltip=\"showTooltip\"\n :tooltip-text=\"tooltipText\"\n :tooltip-delay=\"tooltipDelay\"\n class=\"d-recipe-callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <slot\n slot=\"icon\"\n name=\"icon\"\n />\n <slot\n slot=\"tooltip\"\n name=\"tooltip\"\n />\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=\"d-recipe-callbar-button-with-popover__popover-wrapper\"\n :dialog-class=\"['d-recipe-callbar-button-with-popover__popover', contentClass]\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n :active=\"open\"\n :class=\"['d-recipe-callbar-button-with-popover__arrow',\n { 'd-recipe-callbar-button-with-popover__arrow--large': !isCompactMode }]\"\n :circle=\"true\"\n importance=\"clear\"\n size=\"lg\"\n :aria-label=\"arrowButtonLabel\"\n :title=\"arrowButtonLabel\"\n width=\"2rem\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"d-recipe-callbar-button-with-popover__arrow-icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <slot\n slot=\"content\"\n name=\"content\"\n />\n <slot\n slot=\"headerContent\"\n name=\"headerContent\"\n />\n <slot\n slot=\"footerContent\"\n name=\"footerContent\"\n />\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/vue2';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\nimport { DialtoneLocalization } from '@/localization';\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 * 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 * 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 i18n: new DialtoneLocalization(),\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 arrowButtonLabel () {\n return this.i18n.$t('DIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL');\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.$listeners.click) {\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":["_sfc_main","DtRecipeCallbarButton","DtPopover","DtButton","DtIconChevronUp","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","DialtoneLocalization","warnIfUnmounted","ev","isOpened"],"mappings":";;;;;;;;AA0FA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA,EAAA,uBAAAC,GAAA,WAAAC,GAAA,UAAAC,GAAA,iBAAAC,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,IAAA;AAAA,MACA,MAAA;AAA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AEA,UAAA;AACA,IAAAC,EAAA,KAAA,KAAA,KAAA,SAAA,IAAA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,WAAAC,GAAA;AACA,kBAAA,MAAA,eAAAA,CAAA,GACA,KAAA;IACA;AAAA,IAEA,aAAA;AACA,aAAA,KAAA,OAAA,CAAA,KAAA;AAAA,IACA;AAAA,IAEA,gBAAA;AACA,WAAA,OAAA,KAAA;AAAA,IACA;AAAA,IAEA,YAAAA,GAAA;AAGA,MAAA,KAAA,WAAA,QAGA,KAAA,MAAA,SAAAA,CAAA,IAFA,KAAA,WAAAA,CAAA;AAAA,IAIA;AAAA,IAEA,gBAAAC,GAAA;AACA,WAAA,OAAAA,GACA,KAAA,MAAA,UAAAA,CAAA;AAAA,IACA;AAAA,EACA;AAEA;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"callbar-button-with-popover.js","sources":["../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"d-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 :inverted-tooltip=\"invertedTooltip\"\n :show-tooltip=\"showTooltip\"\n :tooltip-text=\"tooltipText\"\n :tooltip-delay=\"tooltipDelay\"\n class=\"d-recipe-callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <slot\n slot=\"icon\"\n name=\"icon\"\n />\n <slot\n slot=\"tooltip\"\n name=\"tooltip\"\n />\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=\"d-recipe-callbar-button-with-popover__popover-wrapper\"\n :dialog-class=\"['d-recipe-callbar-button-with-popover__popover', contentClass]\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n :active=\"open\"\n :class=\"['d-recipe-callbar-button-with-popover__arrow',\n { 'd-recipe-callbar-button-with-popover__arrow--large': !isCompactMode }]\"\n :circle=\"true\"\n importance=\"clear\"\n size=\"lg\"\n :aria-label=\"arrowButtonLabel\"\n :title=\"arrowButtonLabel\"\n width=\"2rem\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"d-recipe-callbar-button-with-popover__arrow-icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <slot\n slot=\"content\"\n name=\"content\"\n />\n <slot\n slot=\"headerContent\"\n name=\"headerContent\"\n />\n <slot\n slot=\"footerContent\"\n name=\"footerContent\"\n />\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/vue2';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\nimport { DialtoneLocalization } from '@/localization';\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 * 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 * 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 * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n /**\n * Whether there is a delay before the tooltip shows on hover/focus.\n * @values true, false\n */\n tooltipDelay: {\n type: Boolean,\n default: undefined,\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 i18n: new DialtoneLocalization(),\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 arrowButtonLabel () {\n return this.i18n.$t('DIALTONE_CALLBAR_BUTTON_WITH_POPOVER_ARROW_BUTTON_ARIA_LABEL');\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.$listeners.click) {\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":["_sfc_main","DtRecipeCallbarButton","DtPopover","DtButton","DtIconChevronUp","utils","label","this","size","CALLBAR_BUTTON_VALID_WIDTH_SIZE","DialtoneLocalization","warnIfUnmounted","ev","isOpened"],"mappings":";;;;;;;;AA0FA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA,EAAA,uBAAAC,GAAA,WAAAC,GAAA,UAAAC,GAAA,iBAAAC,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,IAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AACA,eAAAC,EAAA,gBAAA;AAAA,MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAAC,MACAA,KAAAC,SAAA,OAAA;AAAA,IAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAaA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA,MAAA,CAAA,GAAA,EAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASA,qBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,iBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAA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