@dialpad/dialtone 9.126.5 → 9.127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/README.md +1 -1
  2. package/dist/tokens/doc.json +29906 -29906
  3. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  4. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  5. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +7 -7
  6. package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  7. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  8. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  9. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +5 -5
  10. package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  11. package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
  12. package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
  13. package/dist/vue2/lib/datepicker/datepicker.js +10 -10
  14. package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
  15. package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
  16. package/dist/vue2/lib/dropdown/dropdown.cjs.map +1 -1
  17. package/dist/vue2/lib/dropdown/dropdown.js +24 -26
  18. package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
  19. package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  20. package/dist/vue2/lib/emoji-picker/emoji-picker.js +1 -0
  21. package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
  22. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +3 -3
  23. package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  24. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +65 -65
  25. package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  26. package/dist/vue2/lib/toast/toast.cjs.map +1 -1
  27. package/dist/vue2/lib/toast/toast.js.map +1 -1
  28. package/dist/vue2/localization/de-DE.cjs +1 -13
  29. package/dist/vue2/localization/de-DE.cjs.map +1 -1
  30. package/dist/vue2/localization/de-DE.js +1 -13
  31. package/dist/vue2/localization/de-DE.js.map +1 -1
  32. package/dist/vue2/localization/es-LA.cjs +1 -13
  33. package/dist/vue2/localization/es-LA.cjs.map +1 -1
  34. package/dist/vue2/localization/es-LA.js +1 -13
  35. package/dist/vue2/localization/es-LA.js.map +1 -1
  36. package/dist/vue2/localization/fr-FR.cjs +1 -13
  37. package/dist/vue2/localization/fr-FR.cjs.map +1 -1
  38. package/dist/vue2/localization/fr-FR.js +1 -13
  39. package/dist/vue2/localization/fr-FR.js.map +1 -1
  40. package/dist/vue2/localization/it-IT.cjs +1 -13
  41. package/dist/vue2/localization/it-IT.cjs.map +1 -1
  42. package/dist/vue2/localization/it-IT.js +1 -13
  43. package/dist/vue2/localization/it-IT.js.map +1 -1
  44. package/dist/vue2/localization/ja-JP.cjs +1 -8
  45. package/dist/vue2/localization/ja-JP.cjs.map +1 -1
  46. package/dist/vue2/localization/ja-JP.js +1 -8
  47. package/dist/vue2/localization/ja-JP.js.map +1 -1
  48. package/dist/vue2/localization/nl-NL.cjs +1 -13
  49. package/dist/vue2/localization/nl-NL.cjs.map +1 -1
  50. package/dist/vue2/localization/nl-NL.js +1 -13
  51. package/dist/vue2/localization/nl-NL.js.map +1 -1
  52. package/dist/vue2/localization/pt-BR.cjs +1 -13
  53. package/dist/vue2/localization/pt-BR.cjs.map +1 -1
  54. package/dist/vue2/localization/pt-BR.js +1 -13
  55. package/dist/vue2/localization/pt-BR.js.map +1 -1
  56. package/dist/vue2/localization/ru-RU.cjs +1 -23
  57. package/dist/vue2/localization/ru-RU.cjs.map +1 -1
  58. package/dist/vue2/localization/ru-RU.js +1 -23
  59. package/dist/vue2/localization/ru-RU.js.map +1 -1
  60. package/dist/vue2/localization/zh-CN.cjs +1 -8
  61. package/dist/vue2/localization/zh-CN.cjs.map +1 -1
  62. package/dist/vue2/localization/zh-CN.js +1 -8
  63. package/dist/vue2/localization/zh-CN.js.map +1 -1
  64. package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
  65. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  66. package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
  67. package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +1 -1
  68. package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
  69. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +1 -1
  70. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  71. package/dist/vue3/common/mixins/index.cjs +1 -1
  72. package/dist/vue3/common/mixins/index.js +8 -10
  73. package/dist/vue3/common/mixins/index.js.map +1 -1
  74. package/dist/vue3/common/utils/index.cjs +1 -1
  75. package/dist/vue3/common/utils/index.cjs.map +1 -1
  76. package/dist/vue3/common/utils/index.js +42 -38
  77. package/dist/vue3/common/utils/index.js.map +1 -1
  78. package/dist/vue3/component-documentation.json +1 -1
  79. package/dist/vue3/dialtone-vue.cjs +1 -1
  80. package/dist/vue3/dialtone-vue.js +298 -299
  81. package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs +1 -1
  82. package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
  83. package/dist/vue3/lib/attachment-carousel/attachment-carousel.js +86 -110
  84. package/dist/vue3/lib/attachment-carousel/attachment-carousel.js.map +1 -1
  85. package/dist/vue3/lib/banner/banner.cjs +2 -2
  86. package/dist/vue3/lib/banner/banner.cjs.map +1 -1
  87. package/dist/vue3/lib/banner/banner.js +27 -38
  88. package/dist/vue3/lib/banner/banner.js.map +1 -1
  89. package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs +1 -1
  90. package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
  91. package/dist/vue3/lib/breadcrumbs/breadcrumbs.js +20 -18
  92. package/dist/vue3/lib/breadcrumbs/breadcrumbs.js.map +1 -1
  93. package/dist/vue3/lib/button/button.cjs +1 -1
  94. package/dist/vue3/lib/button/button.cjs.map +1 -1
  95. package/dist/vue3/lib/button/button.js +26 -24
  96. package/dist/vue3/lib/button/button.js.map +1 -1
  97. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
  98. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
  99. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +36 -41
  100. package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
  101. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
  102. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
  103. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js +35 -37
  104. package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
  105. package/dist/vue3/lib/chip/chip.cjs +1 -1
  106. package/dist/vue3/lib/chip/chip.cjs.map +1 -1
  107. package/dist/vue3/lib/chip/chip.js +54 -57
  108. package/dist/vue3/lib/chip/chip.js.map +1 -1
  109. package/dist/vue3/lib/combobox/combobox-constants.cjs +1 -1
  110. package/dist/vue3/lib/combobox/combobox-constants.cjs.map +1 -1
  111. package/dist/vue3/lib/combobox/combobox-constants.js +2 -2
  112. package/dist/vue3/lib/combobox/combobox-constants.js.map +1 -1
  113. package/dist/vue3/lib/combobox/combobox-empty-list.cjs.map +1 -1
  114. package/dist/vue3/lib/combobox/combobox-empty-list.js.map +1 -1
  115. package/dist/vue3/lib/combobox/combobox-loading-list.cjs.map +1 -1
  116. package/dist/vue3/lib/combobox/combobox-loading-list.js.map +1 -1
  117. package/dist/vue3/lib/combobox/combobox.cjs +2 -2
  118. package/dist/vue3/lib/combobox/combobox.cjs.map +1 -1
  119. package/dist/vue3/lib/combobox/combobox.js +20 -20
  120. package/dist/vue3/lib/combobox/combobox.js.map +1 -1
  121. package/dist/vue3/lib/combobox/index.cjs +1 -1
  122. package/dist/vue3/lib/combobox/index.js +3 -3
  123. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
  124. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
  125. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js +119 -124
  126. package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
  127. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
  128. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
  129. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js +76 -80
  130. package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
  131. package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs +1 -1
  132. package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
  133. package/dist/vue3/lib/contact-centers-row/contact-centers-row.js +68 -63
  134. package/dist/vue3/lib/contact-centers-row/contact-centers-row.js.map +1 -1
  135. package/dist/vue3/lib/contact-row/contact-row.cjs +1 -1
  136. package/dist/vue3/lib/contact-row/contact-row.cjs.map +1 -1
  137. package/dist/vue3/lib/contact-row/contact-row.js +32 -48
  138. package/dist/vue3/lib/contact-row/contact-row.js.map +1 -1
  139. package/dist/vue3/lib/datepicker/datepicker-constants.cjs +1 -1
  140. package/dist/vue3/lib/datepicker/datepicker-constants.cjs.map +1 -1
  141. package/dist/vue3/lib/datepicker/datepicker-constants.js +2 -3
  142. package/dist/vue3/lib/datepicker/datepicker-constants.js.map +1 -1
  143. package/dist/vue3/lib/datepicker/datepicker.cjs +1 -1
  144. package/dist/vue3/lib/datepicker/datepicker.cjs.map +1 -1
  145. package/dist/vue3/lib/datepicker/datepicker.js +264 -349
  146. package/dist/vue3/lib/datepicker/datepicker.js.map +1 -1
  147. package/dist/vue3/lib/datepicker/formatUtils.cjs +1 -1
  148. package/dist/vue3/lib/datepicker/formatUtils.cjs.map +1 -1
  149. package/dist/vue3/lib/datepicker/formatUtils.js +21 -20
  150. package/dist/vue3/lib/datepicker/formatUtils.js.map +1 -1
  151. package/dist/vue3/lib/datepicker/utils.cjs +1 -1
  152. package/dist/vue3/lib/datepicker/utils.cjs.map +1 -1
  153. package/dist/vue3/lib/datepicker/utils.js +12 -11
  154. package/dist/vue3/lib/datepicker/utils.js.map +1 -1
  155. package/dist/vue3/lib/description-list/description-list.cjs +1 -1
  156. package/dist/vue3/lib/description-list/description-list.cjs.map +1 -1
  157. package/dist/vue3/lib/description-list/description-list.js +10 -10
  158. package/dist/vue3/lib/description-list/description-list.js.map +1 -1
  159. package/dist/vue3/lib/dropdown/dropdown.cjs +1 -1
  160. package/dist/vue3/lib/dropdown/dropdown.cjs.map +1 -1
  161. package/dist/vue3/lib/dropdown/dropdown.js +36 -46
  162. package/dist/vue3/lib/dropdown/dropdown.js.map +1 -1
  163. package/dist/vue3/lib/editor/editor.cjs +1 -1
  164. package/dist/vue3/lib/editor/editor.cjs.map +1 -1
  165. package/dist/vue3/lib/editor/editor.js +169 -186
  166. package/dist/vue3/lib/editor/editor.js.map +1 -1
  167. package/dist/vue3/lib/editor/index.cjs +1 -1
  168. package/dist/vue3/lib/editor/index.js +2 -2
  169. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
  170. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
  171. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js +7 -20
  172. package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
  173. package/dist/vue3/lib/emoji-picker/emoji-picker.cjs +1 -1
  174. package/dist/vue3/lib/emoji-picker/emoji-picker.cjs.map +1 -1
  175. package/dist/vue3/lib/emoji-picker/emoji-picker.js +419 -477
  176. package/dist/vue3/lib/emoji-picker/emoji-picker.js.map +1 -1
  177. package/dist/vue3/lib/emoji-picker/index.cjs +1 -1
  178. package/dist/vue3/lib/emoji-picker/index.js +3 -4
  179. package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs +1 -1
  180. package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
  181. package/dist/vue3/lib/emoji-row/emoji-row-constants.js +6 -7
  182. package/dist/vue3/lib/emoji-row/emoji-row-constants.js.map +1 -1
  183. package/dist/vue3/lib/emoji-row/emoji-row.cjs +1 -1
  184. package/dist/vue3/lib/emoji-row/emoji-row.cjs.map +1 -1
  185. package/dist/vue3/lib/emoji-row/emoji-row.js +53 -43
  186. package/dist/vue3/lib/emoji-row/emoji-row.js.map +1 -1
  187. package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs +1 -1
  188. package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
  189. package/dist/vue3/lib/feed-item-pill/feed-item-pill.js +52 -53
  190. package/dist/vue3/lib/feed-item-pill/feed-item-pill.js.map +1 -1
  191. package/dist/vue3/lib/general-row/general-row.cjs +1 -1
  192. package/dist/vue3/lib/general-row/general-row.cjs.map +1 -1
  193. package/dist/vue3/lib/general-row/general-row.js +133 -118
  194. package/dist/vue3/lib/general-row/general-row.js.map +1 -1
  195. package/dist/vue3/lib/group-row/group-row.cjs +1 -1
  196. package/dist/vue3/lib/group-row/group-row.cjs.map +1 -1
  197. package/dist/vue3/lib/group-row/group-row.js +53 -39
  198. package/dist/vue3/lib/group-row/group-row.js.map +1 -1
  199. package/dist/vue3/lib/icon/icon-constants.cjs.map +1 -1
  200. package/dist/vue3/lib/icon/icon-constants.js.map +1 -1
  201. package/dist/vue3/lib/icon/icon.cjs +1 -1
  202. package/dist/vue3/lib/icon/icon.cjs.map +1 -1
  203. package/dist/vue3/lib/icon/icon.js +15 -11
  204. package/dist/vue3/lib/icon/icon.js.map +1 -1
  205. package/dist/vue3/lib/image-viewer/image-viewer.cjs +1 -1
  206. package/dist/vue3/lib/image-viewer/image-viewer.cjs.map +1 -1
  207. package/dist/vue3/lib/image-viewer/image-viewer.js +51 -47
  208. package/dist/vue3/lib/image-viewer/image-viewer.js.map +1 -1
  209. package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs +1 -1
  210. package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
  211. package/dist/vue3/lib/ivr-node/ivr-node-constants.js +24 -24
  212. package/dist/vue3/lib/ivr-node/ivr-node-constants.js.map +1 -1
  213. package/dist/vue3/lib/ivr-node/ivr-node.cjs +1 -1
  214. package/dist/vue3/lib/ivr-node/ivr-node.cjs.map +1 -1
  215. package/dist/vue3/lib/ivr-node/ivr-node.js +80 -76
  216. package/dist/vue3/lib/ivr-node/ivr-node.js.map +1 -1
  217. package/dist/vue3/lib/message-input/message-input-link.cjs +1 -1
  218. package/dist/vue3/lib/message-input/message-input-link.cjs.map +1 -1
  219. package/dist/vue3/lib/message-input/message-input-link.js +100 -77
  220. package/dist/vue3/lib/message-input/message-input-link.js.map +1 -1
  221. package/dist/vue3/lib/message-input/message-input-topbar.cjs +1 -1
  222. package/dist/vue3/lib/message-input/message-input-topbar.cjs.map +1 -1
  223. package/dist/vue3/lib/message-input/message-input-topbar.js +126 -94
  224. package/dist/vue3/lib/message-input/message-input-topbar.js.map +1 -1
  225. package/dist/vue3/lib/message-input/message-input.cjs +1 -1
  226. package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
  227. package/dist/vue3/lib/message-input/message-input.js +272 -296
  228. package/dist/vue3/lib/message-input/message-input.js.map +1 -1
  229. package/dist/vue3/lib/modal/modal.cjs +1 -2
  230. package/dist/vue3/lib/modal/modal.cjs.map +1 -1
  231. package/dist/vue3/lib/modal/modal.js +64 -79
  232. package/dist/vue3/lib/modal/modal.js.map +1 -1
  233. package/dist/vue3/lib/notice/notice-action.cjs +1 -1
  234. package/dist/vue3/lib/notice/notice-action.cjs.map +1 -1
  235. package/dist/vue3/lib/notice/notice-action.js +38 -39
  236. package/dist/vue3/lib/notice/notice-action.js.map +1 -1
  237. package/dist/vue3/lib/notice/notice.cjs +1 -1
  238. package/dist/vue3/lib/notice/notice.cjs.map +1 -1
  239. package/dist/vue3/lib/notice/notice.js +37 -49
  240. package/dist/vue3/lib/notice/notice.js.map +1 -1
  241. package/dist/vue3/lib/pagination/pagination.cjs +1 -1
  242. package/dist/vue3/lib/pagination/pagination.cjs.map +1 -1
  243. package/dist/vue3/lib/pagination/pagination.js +72 -81
  244. package/dist/vue3/lib/pagination/pagination.js.map +1 -1
  245. package/dist/vue3/lib/popover/popover-header-footer.cjs +1 -1
  246. package/dist/vue3/lib/popover/popover-header-footer.cjs.map +1 -1
  247. package/dist/vue3/lib/popover/popover-header-footer.js +44 -45
  248. package/dist/vue3/lib/popover/popover-header-footer.js.map +1 -1
  249. package/dist/vue3/lib/popover/popover.cjs +1 -1
  250. package/dist/vue3/lib/popover/popover.cjs.map +1 -1
  251. package/dist/vue3/lib/popover/popover.js +26 -37
  252. package/dist/vue3/lib/popover/popover.js.map +1 -1
  253. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +4 -4
  254. package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
  255. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +187 -185
  256. package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
  257. package/dist/vue3/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
  258. package/dist/vue3/lib/settings-menu-button/settings-menu-button.js.map +1 -1
  259. package/dist/vue3/lib/time-pill/time-pill.cjs.map +1 -1
  260. package/dist/vue3/lib/time-pill/time-pill.js.map +1 -1
  261. package/dist/vue3/lib/toast/toast.cjs +1 -1
  262. package/dist/vue3/lib/toast/toast.cjs.map +1 -1
  263. package/dist/vue3/lib/toast/toast.js +83 -127
  264. package/dist/vue3/lib/toast/toast.js.map +1 -1
  265. package/dist/vue3/lib/unread-pill/unread-pill.cjs +1 -1
  266. package/dist/vue3/lib/unread-pill/unread-pill.cjs.map +1 -1
  267. package/dist/vue3/lib/unread-pill/unread-pill.js +25 -14
  268. package/dist/vue3/lib/unread-pill/unread-pill.js.map +1 -1
  269. package/dist/vue3/localization/de-DE.cjs +157 -0
  270. package/dist/vue3/localization/de-DE.cjs.map +1 -0
  271. package/dist/vue3/localization/de-DE.js +160 -0
  272. package/dist/vue3/localization/de-DE.js.map +1 -0
  273. package/dist/vue3/localization/en-US.cjs +175 -0
  274. package/dist/vue3/localization/en-US.cjs.map +1 -0
  275. package/dist/vue3/localization/en-US.js +178 -0
  276. package/dist/vue3/localization/en-US.js.map +1 -0
  277. package/dist/vue3/localization/es-LA.cjs +157 -0
  278. package/dist/vue3/localization/es-LA.cjs.map +1 -0
  279. package/dist/vue3/localization/es-LA.js +160 -0
  280. package/dist/vue3/localization/es-LA.js.map +1 -0
  281. package/dist/vue3/localization/fr-FR.cjs +157 -0
  282. package/dist/vue3/localization/fr-FR.cjs.map +1 -0
  283. package/dist/vue3/localization/fr-FR.js +160 -0
  284. package/dist/vue3/localization/fr-FR.js.map +1 -0
  285. package/dist/vue3/localization/index.cjs +2 -0
  286. package/dist/vue3/localization/index.cjs.map +1 -0
  287. package/dist/vue3/localization/index.js +82 -0
  288. package/dist/vue3/localization/index.js.map +1 -0
  289. package/dist/vue3/localization/it-IT.cjs +157 -0
  290. package/dist/vue3/localization/it-IT.cjs.map +1 -0
  291. package/dist/vue3/localization/it-IT.js +160 -0
  292. package/dist/vue3/localization/it-IT.js.map +1 -0
  293. package/dist/vue3/localization/ja-JP.cjs +157 -0
  294. package/dist/vue3/localization/ja-JP.cjs.map +1 -0
  295. package/dist/vue3/localization/ja-JP.js +160 -0
  296. package/dist/vue3/localization/ja-JP.js.map +1 -0
  297. package/dist/vue3/localization/nl-NL.cjs +157 -0
  298. package/dist/vue3/localization/nl-NL.cjs.map +1 -0
  299. package/dist/vue3/localization/nl-NL.js +160 -0
  300. package/dist/vue3/localization/nl-NL.js.map +1 -0
  301. package/dist/vue3/localization/pt-BR.cjs +157 -0
  302. package/dist/vue3/localization/pt-BR.cjs.map +1 -0
  303. package/dist/vue3/localization/pt-BR.js +160 -0
  304. package/dist/vue3/localization/pt-BR.js.map +1 -0
  305. package/dist/vue3/localization/ru-RU.cjs +157 -0
  306. package/dist/vue3/localization/ru-RU.cjs.map +1 -0
  307. package/dist/vue3/localization/ru-RU.js +160 -0
  308. package/dist/vue3/localization/ru-RU.js.map +1 -0
  309. package/dist/vue3/localization/zh-CN.cjs +157 -0
  310. package/dist/vue3/localization/zh-CN.cjs.map +1 -0
  311. package/dist/vue3/localization/zh-CN.js +160 -0
  312. package/dist/vue3/localization/zh-CN.js.map +1 -0
  313. package/dist/vue3/shared/sr_only_close_button.cjs +1 -1
  314. package/dist/vue3/shared/sr_only_close_button.cjs.map +1 -1
  315. package/dist/vue3/shared/sr_only_close_button.js +27 -25
  316. package/dist/vue3/shared/sr_only_close_button.js.map +1 -1
  317. package/dist/vue3/types/common/mixins/index.d.ts +0 -1
  318. package/dist/vue3/types/common/sr_only_close_button.vue.d.ts +8 -15
  319. package/dist/vue3/types/common/sr_only_close_button.vue.d.ts.map +1 -1
  320. package/dist/vue3/types/common/utils/index.d.ts +1 -0
  321. package/dist/vue3/types/common/utils/index.d.ts.map +1 -1
  322. package/dist/vue3/types/components/banner/banner.vue.d.ts +0 -33
  323. package/dist/vue3/types/components/banner/banner.vue.d.ts.map +1 -1
  324. package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts +2 -0
  325. package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +1 -1
  326. package/dist/vue3/types/components/button/button.vue.d.ts +2 -0
  327. package/dist/vue3/types/components/button/button.vue.d.ts.map +1 -1
  328. package/dist/vue3/types/components/chip/chip.vue.d.ts +3 -15
  329. package/dist/vue3/types/components/chip/chip.vue.d.ts.map +1 -1
  330. package/dist/vue3/types/components/combobox/combobox.vue.d.ts.map +1 -1
  331. package/dist/vue3/types/components/combobox/combobox_constants.d.ts +2 -2
  332. package/dist/vue3/types/components/combobox/index.d.ts +1 -1
  333. package/dist/vue3/types/components/datepicker/composables/useCalendar.d.ts.map +1 -1
  334. package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts +5 -1
  335. package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts.map +1 -1
  336. package/dist/vue3/types/components/datepicker/datepicker.vue.d.ts.map +1 -1
  337. package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts +0 -1
  338. package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
  339. package/dist/vue3/types/components/datepicker/formatUtils.d.ts +5 -5
  340. package/dist/vue3/types/components/datepicker/formatUtils.d.ts.map +1 -1
  341. package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts +0 -4
  342. package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts.map +1 -1
  343. package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts +0 -12
  344. package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
  345. package/dist/vue3/types/components/datepicker/utils.d.ts +1 -0
  346. package/dist/vue3/types/components/datepicker/utils.d.ts.map +1 -1
  347. package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts +0 -24
  348. package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
  349. package/dist/vue3/types/components/emoji_picker/emoji_picker_constants.d.ts +0 -13
  350. package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
  351. package/dist/vue3/types/components/icon/icon.vue.d.ts +1 -0
  352. package/dist/vue3/types/components/icon/icon_constants.d.ts.map +1 -1
  353. package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts +3 -8
  354. package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  355. package/dist/vue3/types/components/modal/modal.vue.d.ts +3 -35
  356. package/dist/vue3/types/components/modal/modal.vue.d.ts.map +1 -1
  357. package/dist/vue3/types/components/notice/notice.vue.d.ts +1 -34
  358. package/dist/vue3/types/components/notice/notice.vue.d.ts.map +1 -1
  359. package/dist/vue3/types/components/notice/notice_action.vue.d.ts +7 -35
  360. package/dist/vue3/types/components/notice/notice_action.vue.d.ts.map +1 -1
  361. package/dist/vue3/types/components/pagination/pagination.vue.d.ts +5 -24
  362. package/dist/vue3/types/components/pagination/pagination.vue.d.ts.map +1 -1
  363. package/dist/vue3/types/components/popover/popover.vue.d.ts +0 -33
  364. package/dist/vue3/types/components/popover/popover.vue.d.ts.map +1 -1
  365. package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts +5 -10
  366. package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
  367. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +2 -0
  368. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  369. package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +2 -46
  370. package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
  371. package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts +1 -34
  372. package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
  373. package/dist/vue3/types/components/toast/toast.vue.d.ts +4 -115
  374. package/dist/vue3/types/components/toast/toast.vue.d.ts.map +1 -1
  375. package/dist/vue3/types/index.d.ts +1 -0
  376. package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +3 -11
  377. package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
  378. package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +3 -10
  379. package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  380. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +4 -8
  381. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
  382. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +7 -7
  383. package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
  384. package/dist/vue3/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  385. package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -25
  386. package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
  387. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +3 -41
  388. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
  389. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +6 -25
  390. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
  391. package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +2 -2
  392. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts +6 -49
  393. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  394. package/dist/vue3/types/recipes/conversation_view/editor/index.d.ts +1 -1
  395. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +6 -2
  396. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  397. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row_constants.d.ts.map +1 -1
  398. package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +3 -8
  399. package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
  400. package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
  401. package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +6 -1
  402. package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
  403. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +12 -88
  404. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  405. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +11 -1
  406. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
  407. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +13 -1
  408. package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
  409. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +5 -8
  410. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
  411. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +0 -18
  412. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
  413. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +9 -27
  414. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  415. package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts +11 -21
  416. package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
  417. package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +6 -2
  418. package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
  419. package/package.json +2 -2
  420. package/dist/vue3/common/mixins/sr-only-close-button.cjs +0 -3
  421. package/dist/vue3/common/mixins/sr-only-close-button.cjs.map +0 -1
  422. package/dist/vue3/common/mixins/sr-only-close-button.js +0 -44
  423. package/dist/vue3/common/mixins/sr-only-close-button.js.map +0 -1
  424. package/dist/vue3/lib/contact-row/contact-row-constants.cjs +0 -2
  425. package/dist/vue3/lib/contact-row/contact-row-constants.cjs.map +0 -1
  426. package/dist/vue3/lib/contact-row/contact-row-constants.js +0 -5
  427. package/dist/vue3/lib/contact-row/contact-row-constants.js.map +0 -1
  428. package/dist/vue3/lib/emoji/emoji-constants.cjs +0 -2
  429. package/dist/vue3/lib/emoji/emoji-constants.cjs.map +0 -1
  430. package/dist/vue3/lib/emoji/emoji-constants.js +0 -5
  431. package/dist/vue3/lib/emoji/emoji-constants.js.map +0 -1
  432. package/dist/vue3/lib/group-row/group-row-constants.cjs +0 -2
  433. package/dist/vue3/lib/group-row/group-row-constants.cjs.map +0 -1
  434. package/dist/vue3/lib/group-row/group-row-constants.js +0 -8
  435. package/dist/vue3/lib/group-row/group-row-constants.js.map +0 -1
  436. package/dist/vue3/lib/time-pill/time-pill-constants.cjs +0 -2
  437. package/dist/vue3/lib/time-pill/time-pill-constants.cjs.map +0 -1
  438. package/dist/vue3/lib/time-pill/time-pill-constants.js +0 -8
  439. package/dist/vue3/lib/time-pill/time-pill-constants.js.map +0 -1
  440. package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts +0 -30
  441. package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts.map +0 -1
  442. package/dist/vue3/types/components/emoji/emoji_constants.d.ts +0 -3
  443. package/dist/vue3/types/components/emoji/emoji_constants.d.ts.map +0 -1
  444. package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts +0 -6
  445. package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts.map +0 -1
  446. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts +0 -3
  447. package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts.map +0 -1
  448. package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts +0 -6
  449. package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts.map +0 -1
@@ -1,40 +1,41 @@
1
- import { EDITOR_SUPPORTED_LINK_PROTOCOLS as J, EDITOR_DEFAULT_LINK_PREFIX as H } from "./editor-constants.js";
2
- import { removeClassStyleAttrs as X, addClassStyleAttrs as Y } from "../../common/utils/index.js";
3
- import { DtIconQuickReply as T, DtIconBold as b, DtIconItalic as x, DtIconUnderline as C, DtIconStrikethrough as _, DtIconListBullet as R, DtIconListOrdered as E, DtIconAlignLeft as v, DtIconAlignCenter as F, DtIconAlignRight as S, DtIconAlignJustify as O, DtIconQuote as D, DtIconCodeBlock as Q, DtIconLink2 as M, DtIconImage as q } from "@dialpad/dialtone-icons/vue3";
4
- import { resolveComponent as h, openBlock as a, createElementBlock as I, mergeProps as V, createVNode as c, withCtx as u, Fragment as U, renderList as P, createBlock as p, withKeys as k, withModifiers as f, resolveDynamicComponent as K, createTextVNode as w, toDisplayString as g, createElementVNode as L, createCommentVNode as j, normalizeStyle as W } from "vue";
1
+ import { EDITOR_SUPPORTED_LINK_PROTOCOLS as z, EDITOR_DEFAULT_LINK_PREFIX as J } from "./editor-constants.js";
2
+ import { removeClassStyleAttrs as j, addClassStyleAttrs as H } from "../../common/utils/index.js";
3
+ import { DtIconQuickReply as w, DtIconBold as O, DtIconItalic as D, DtIconUnderline as R, DtIconStrikethrough as x, DtIconListBullet as y, DtIconListOrdered as C, DtIconAlignLeft as b, DtIconAlignCenter as N, DtIconAlignRight as S, DtIconAlignJustify as U, DtIconQuote as F, DtIconCodeBlock as v, DtIconLink2 as Q, DtIconImage as M } from "@dialpad/dialtone-icons/vue3";
4
+ import { DialtoneLocalization as Y } from "../../localization/index.js";
5
+ import { resolveComponent as h, openBlock as c, createElementBlock as A, mergeProps as f, createVNode as a, withCtx as u, Fragment as q, renderList as V, createBlock as p, withKeys as g, withModifiers as B, resolveDynamicComponent as K, createTextVNode as L, toDisplayString as k, createElementVNode as _, createCommentVNode as X, normalizeStyle as W } from "vue";
5
6
  import { _ as Z } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
6
- import $ from "../rich-text-editor/rich-text-editor.js";
7
- import tt from "../button/button.js";
8
- import et from "../popover/popover.js";
9
- import it from "../stack/stack.js";
7
+ import tt from "../rich-text-editor/rich-text-editor.js";
8
+ import et from "../button/button.js";
9
+ import it from "../popover/popover.js";
10
+ import nt from "../stack/stack.js";
10
11
  import ot from "../input/input.js";
11
- import nt from "../tooltip/tooltip.js";
12
- import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as rt, RICH_TEXT_EDITOR_OUTPUT_FORMATS as lt } from "../rich-text-editor/rich-text-editor-constants.js";
13
- const st = {
12
+ import rt from "../tooltip/tooltip.js";
13
+ import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as st, RICH_TEXT_EDITOR_OUTPUT_FORMATS as lt } from "../rich-text-editor/rich-text-editor-constants.js";
14
+ const ut = {
14
15
  compatConfig: { MODE: 3 },
15
16
  name: "DtRecipeEditor",
16
17
  components: {
17
- DtRichTextEditor: $,
18
- DtButton: tt,
19
- DtPopover: et,
20
- DtStack: it,
18
+ DtRichTextEditor: tt,
19
+ DtButton: et,
20
+ DtPopover: it,
21
+ DtStack: nt,
21
22
  DtInput: ot,
22
- DtTooltip: nt,
23
- DtIconQuickReply: T,
24
- DtIconBold: b,
25
- DtIconItalic: x,
26
- DtIconUnderline: C,
27
- DtIconStrikethrough: _,
28
- DtIconListBullet: R,
29
- DtIconListOrdered: E,
30
- DtIconAlignLeft: v,
31
- DtIconAlignCenter: F,
23
+ DtTooltip: rt,
24
+ DtIconQuickReply: w,
25
+ DtIconBold: O,
26
+ DtIconItalic: D,
27
+ DtIconUnderline: R,
28
+ DtIconStrikethrough: x,
29
+ DtIconListBullet: y,
30
+ DtIconListOrdered: C,
31
+ DtIconAlignLeft: b,
32
+ DtIconAlignCenter: N,
32
33
  DtIconAlignRight: S,
33
- DtIconAlignJustify: O,
34
- DtIconQuote: D,
35
- DtIconCodeBlock: Q,
36
- DtIconLink2: M,
37
- DtIconImage: q
34
+ DtIconAlignJustify: U,
35
+ DtIconQuote: F,
36
+ DtIconCodeBlock: v,
37
+ DtIconLink2: Q,
38
+ DtIconImage: M
38
39
  },
39
40
  mixins: [],
40
41
  inheritAttrs: !1,
@@ -86,7 +87,7 @@ const st = {
86
87
  type: [Boolean, String, Number],
87
88
  default: !1,
88
89
  validator(t) {
89
- return typeof t == "string" ? rt.includes(t) : !0;
90
+ return typeof t == "string" ? st.includes(t) : !0;
90
91
  }
91
92
  },
92
93
  /**
@@ -104,27 +105,6 @@ const st = {
104
105
  type: String,
105
106
  default: "unset"
106
107
  },
107
- /**
108
- * Confirm set link button defaults.
109
- */
110
- confirmSetLinkButton: {
111
- type: Object,
112
- default: () => ({ label: "Confirm", ariaLabel: "Confirm set link" })
113
- },
114
- /**
115
- * Remove link button defaults.
116
- */
117
- removeLinkButton: {
118
- type: Object,
119
- default: () => ({ label: "Remove", ariaLabel: "Remove link" })
120
- },
121
- /**
122
- * Cancel set link button defaults.
123
- */
124
- cancelSetLinkButton: {
125
- type: Object,
126
- default: () => ({ label: "Cancel", ariaLabel: "Cancel set link" })
127
- },
128
108
  /**
129
109
  * Placeholder text for the set link input field
130
110
  */
@@ -236,9 +216,7 @@ const st = {
236
216
  showAddLink: {
237
217
  type: Object,
238
218
  default: () => ({
239
- showAddLinkButton: !0,
240
- setLinkTitle: "Add a link",
241
- setLinkInputAriaLabel: "Input field to add link"
219
+ showAddLinkButton: !0
242
220
  })
243
221
  },
244
222
  /**
@@ -302,7 +280,8 @@ const st = {
302
280
  },
303
281
  showLinkInput: !1,
304
282
  linkInput: "",
305
- currentButtonRefIndex: 0
283
+ currentButtonRefIndex: 0,
284
+ i18n: new Y()
306
285
  };
307
286
  },
308
287
  computed: {
@@ -322,9 +301,9 @@ const st = {
322
301
  return this.showListItemsButton || this.showOrderedListButton;
323
302
  },
324
303
  orderedRefs() {
325
- const t = this.buttonGroups.reduce((function(e, o) {
326
- return o.buttonGroup.forEach((n) => {
327
- e.push(this.getButtonRef(o.key, n.selector));
304
+ const t = this.buttonGroups.reduce((function(e, n) {
305
+ return n.buttonGroup.forEach((o) => {
306
+ e.push(this.getButtonRef(n.key, o.selector));
328
307
  }, this), e;
329
308
  }).bind(this), []);
330
309
  return t.push(this.getButtonRef("custom", "link")), t;
@@ -346,11 +325,11 @@ const st = {
346
325
  return [
347
326
  {
348
327
  showBtn: this.showQuickRepliesButton,
349
- label: "Quick reply",
328
+ label: this.i18n.$t("DIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL"),
350
329
  selector: "quickReplies",
351
- icon: T,
330
+ icon: w,
352
331
  dataQA: "dt-recipe-editor-quick-replies-btn",
353
- tooltipMessage: "Quick Reply",
332
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL"),
354
333
  onClick: this.onQuickRepliesClick
355
334
  }
356
335
  ].filter((t) => t.showBtn);
@@ -360,33 +339,33 @@ const st = {
360
339
  {
361
340
  showBtn: this.showBoldButton,
362
341
  selector: "bold",
363
- icon: b,
342
+ icon: O,
364
343
  dataQA: "dt-recipe-editor-bold-btn",
365
- tooltipMessage: "Bold",
344
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_BOLD_BUTTON_LABEL"),
366
345
  onClick: this.onBoldTextToggle
367
346
  },
368
347
  {
369
348
  showBtn: this.showItalicsButton,
370
349
  selector: "italic",
371
- icon: x,
350
+ icon: D,
372
351
  dataQA: "dt-recipe-editor-italics-btn",
373
- tooltipMessage: "Italics",
352
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_ITALICS_BUTTON_LABEL"),
374
353
  onClick: this.onItalicTextToggle
375
354
  },
376
355
  {
377
356
  showBtn: this.showUnderlineButton,
378
357
  selector: "underline",
379
- icon: C,
358
+ icon: R,
380
359
  dataQA: "dt-recipe-editor-underline-btn",
381
- tooltipMessage: "Underline",
360
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_UNDERLINE_BUTTON_LABEL"),
382
361
  onClick: this.onUnderlineTextToggle
383
362
  },
384
363
  {
385
364
  showBtn: this.showStrikeButton,
386
365
  selector: "strike",
387
- icon: _,
366
+ icon: x,
388
367
  dataQA: "dt-recipe-editor-strike-btn",
389
- tooltipMessage: "Strike",
368
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_STRIKE_BUTTON_LABEL"),
390
369
  onClick: this.onStrikethroughTextToggle
391
370
  }
392
371
  ].filter((t) => t.showBtn);
@@ -396,17 +375,17 @@ const st = {
396
375
  {
397
376
  showBtn: this.showAlignLeftButton,
398
377
  selector: { textAlign: "left" },
399
- icon: v,
378
+ icon: b,
400
379
  dataQA: "dt-recipe-editor-align-left-btn",
401
- tooltipMessage: "Align Left",
380
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_ALIGN_LEFT_BUTTON_LABEL"),
402
381
  onClick: () => this.onTextAlign("left")
403
382
  },
404
383
  {
405
384
  showBtn: this.showAlignCenterButton,
406
385
  selector: { textAlign: "center" },
407
- icon: F,
386
+ icon: N,
408
387
  dataQA: "dt-recipe-editor-align-center-btn",
409
- tooltipMessage: "Align Center",
388
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_ALIGN_CENTER_BUTTON_LABEL"),
410
389
  onClick: () => this.onTextAlign("center")
411
390
  },
412
391
  {
@@ -414,15 +393,15 @@ const st = {
414
393
  selector: { textAlign: "right" },
415
394
  icon: S,
416
395
  dataQA: "dt-recipe-editor-align-right-btn",
417
- tooltipMessage: "Align Right",
396
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_ALIGN_RIGHT_BUTTON_LABEL"),
418
397
  onClick: () => this.onTextAlign("right")
419
398
  },
420
399
  {
421
400
  showBtn: this.showAlignJustifyButton,
422
401
  selector: { textAlign: "justify" },
423
- icon: O,
402
+ icon: U,
424
403
  dataQA: "dt-recipe-editor-align-justify-btn",
425
- tooltipMessage: "Align Justify",
404
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_ALIGN_JUSTIFY_BUTTON_LABEL"),
426
405
  onClick: () => this.onTextAlign("justify")
427
406
  }
428
407
  ].filter((t) => t.showBtn);
@@ -432,17 +411,17 @@ const st = {
432
411
  {
433
412
  showBtn: this.showListItemsButton,
434
413
  selector: "bulletList",
435
- icon: R,
414
+ icon: y,
436
415
  dataQA: "dt-recipe-editor-list-items-btn",
437
- tooltipMessage: "Bullet List",
416
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_BULLET_LIST_BUTTON_LABEL"),
438
417
  onClick: this.onBulletListToggle
439
418
  },
440
419
  {
441
420
  showBtn: this.showOrderedListButton,
442
421
  selector: "orderedList",
443
- icon: E,
422
+ icon: C,
444
423
  dataQA: "dt-recipe-editor-ordered-list-items-btn",
445
- tooltipMessage: "Ordered List",
424
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_ORDERED_LIST_BUTTON_LABEL"),
446
425
  onClick: this.onOrderedListToggle
447
426
  }
448
427
  ].filter((t) => t.showBtn);
@@ -452,25 +431,25 @@ const st = {
452
431
  {
453
432
  showBtn: this.showQuoteButton,
454
433
  selector: "blockquote",
455
- icon: D,
434
+ icon: F,
456
435
  dataQA: "dt-recipe-editor-blockquote-btn",
457
- tooltipMessage: "Quote",
436
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_QUOTE_BUTTON_LABEL"),
458
437
  onClick: this.onBlockquoteToggle
459
438
  },
460
439
  {
461
440
  showBtn: this.showCodeBlockButton,
462
441
  selector: "codeBlock",
463
- icon: Q,
442
+ icon: v,
464
443
  dataQA: "dt-recipe-editor-code-block-btn",
465
- tooltipMessage: "Code",
444
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_CODE_BUTTON_LABEL"),
466
445
  onClick: this.onCodeBlockToggle
467
446
  },
468
447
  {
469
448
  showBtn: this.showInlineImageButton,
470
449
  selector: "image",
471
- icon: q,
450
+ icon: M,
472
451
  dataQA: "dt-recipe-editor-inline-image-btn",
473
- tooltipMessage: "Image",
452
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_IMAGE_BUTTON_LABEL"),
474
453
  // Handle getting image
475
454
  onClick: this.onInsertInlineImageClick
476
455
  }
@@ -480,11 +459,23 @@ const st = {
480
459
  return {
481
460
  showBtn: this.showAddLink.showAddLinkButton,
482
461
  selector: "link",
483
- icon: M,
462
+ icon: Q,
484
463
  dataQA: "dt-recipe-editor-add-link-btn",
485
- tooltipMessage: "Link",
464
+ tooltipMessage: this.i18n.$t("DIALTONE_EDITOR_LINK_BUTTON_LABEL"),
486
465
  onClick: this.openLinkInput
487
466
  };
467
+ },
468
+ confirmSetLinkButtonLabels() {
469
+ return this.i18n.$ta("DIALTONE_EDITOR_CONFIRM_SET_LINK_BUTTON");
470
+ },
471
+ cancelSetLinkButtonLabels() {
472
+ return this.i18n.$ta("DIALTONE_EDITOR_CANCEL_SET_LINK_BUTTON");
473
+ },
474
+ removeLinkButtonLabels() {
475
+ return this.i18n.$ta("DIALTONE_EDITOR_REMOVE_LINK_BUTTON");
476
+ },
477
+ showAddLinkButtonLabels() {
478
+ return this.i18n.$ta("DIALTONE_EDITOR_ADD_LINK_BUTTON");
488
479
  }
489
480
  },
490
481
  watch: {
@@ -493,14 +484,14 @@ const st = {
493
484
  }
494
485
  },
495
486
  methods: {
496
- removeClassStyleAttrs: X,
497
- addClassStyleAttrs: Y,
487
+ removeClassStyleAttrs: j,
488
+ addClassStyleAttrs: H,
498
489
  onInputFocus(t) {
499
490
  t == null || t.stopPropagation();
500
491
  },
501
492
  removeLink() {
502
- var t, e, o, n, r;
503
- (r = (n = (o = (e = (t = this.$refs.richTextEditor) == null ? void 0 : t.editor) == null ? void 0 : e.chain()) == null ? void 0 : o.focus()) == null ? void 0 : n.unsetLink()) == null || r.run(), this.closeLinkInput();
493
+ var t, e, n, o, r;
494
+ (r = (o = (n = (e = (t = this.$refs.richTextEditor) == null ? void 0 : t.editor) == null ? void 0 : e.chain()) == null ? void 0 : n.focus()) == null ? void 0 : o.unsetLink()) == null || r.run(), this.closeLinkInput();
504
495
  },
505
496
  setLink(t) {
506
497
  var r, i, d;
@@ -509,10 +500,10 @@ const st = {
509
500
  this.removeLink();
510
501
  return;
511
502
  }
512
- J.find((B) => B.test(this.linkInput)) || (this.linkInput = `${H}${this.linkInput}`);
513
- const n = (d = (i = e == null ? void 0 : e.view) == null ? void 0 : i.state) == null ? void 0 : d.selection;
514
- n.anchor === n.head ? e.chain().focus().insertContentAt(
515
- n.anchor,
503
+ z.find((T) => T.test(this.linkInput)) || (this.linkInput = `${J}${this.linkInput}`);
504
+ const o = (d = (i = e == null ? void 0 : e.view) == null ? void 0 : i.state) == null ? void 0 : d.selection;
505
+ o.anchor === o.head ? e.chain().focus().insertContentAt(
506
+ o.anchor,
516
507
  `<a class="${this.linkOptions.class}" href=${this.linkInput}>${this.linkInput}</a>`
517
508
  ).run() : e.chain().focus().extendMarkRange("link").setLink({ href: this.linkInput, class: this.linkOptions.class }).run(), this.closeLinkInput();
518
509
  },
@@ -520,10 +511,10 @@ const st = {
520
511
  this.showLinkInput = !0;
521
512
  },
522
513
  updateInput(t) {
523
- var e, o, n;
514
+ var e, n, o;
524
515
  if (!t)
525
516
  return this.closeLinkInput();
526
- this.linkInput = (n = (o = (e = this.$refs.richTextEditor) == null ? void 0 : e.editor) == null ? void 0 : o.getAttributes("link")) == null ? void 0 : n.href;
517
+ this.linkInput = (o = (n = (e = this.$refs.richTextEditor) == null ? void 0 : e.editor) == null ? void 0 : n.getAttributes("link")) == null ? void 0 : o.href;
527
518
  },
528
519
  closeLinkInput() {
529
520
  var t;
@@ -546,9 +537,9 @@ const st = {
546
537
  (t = this.$refs.richTextEditor) == null || t.editor.chain().focus().toggleStrike().run();
547
538
  },
548
539
  onTextAlign(t) {
549
- var e, o, n, r;
550
- if ((o = (e = this.$refs.richTextEditor) == null ? void 0 : e.editor) != null && o.isActive({ textAlign: t }))
551
- return (n = this.$refs.richTextEditor) == null ? void 0 : n.editor.chain().focus().unsetTextAlign().run();
540
+ var e, n, o, r;
541
+ if ((n = (e = this.$refs.richTextEditor) == null ? void 0 : e.editor) != null && n.isActive({ textAlign: t }))
542
+ return (o = this.$refs.richTextEditor) == null ? void 0 : o.editor.chain().focus().unsetTextAlign().run();
552
543
  (r = this.$refs.richTextEditor) == null || r.editor.chain().focus().setTextAlign(t).run();
553
544
  },
554
545
  onBulletListToggle() {
@@ -618,61 +609,61 @@ const st = {
618
609
  this.shiftButtonRefIndex(-1);
619
610
  },
620
611
  shiftButtonRefIndex(t) {
621
- const e = this.$refs[this.orderedRefs[this.currentButtonRefIndex]], o = Array.isArray(e) ? e[0] : e, n = (this.currentButtonRefIndex + t) % this.orderedRefs.length;
622
- this.currentButtonRefIndex = n >= 0 ? n : this.orderedRefs.length + n;
612
+ const e = this.$refs[this.orderedRefs[this.currentButtonRefIndex]], n = Array.isArray(e) ? e[0] : e, o = (this.currentButtonRefIndex + t) % this.orderedRefs.length;
613
+ this.currentButtonRefIndex = o >= 0 ? o : this.orderedRefs.length + o;
623
614
  const r = this.$refs[this.orderedRefs[this.currentButtonRefIndex]], i = Array.isArray(r) ? r[0] : r;
624
- o.$el.blur(), i.$el.focus();
615
+ n.$el.blur(), i.$el.focus();
625
616
  }
626
617
  }
627
- }, ut = /* @__PURE__ */ L("div", { class: "d-recipe-editor__button-group-divider" }, null, -1), at = { class: "d-recipe-editor__popover-content" }, ct = { key: 0 };
628
- function dt(t, e, o, n, r, i) {
629
- const d = h("dt-button"), B = h("dt-tooltip"), m = h("dt-stack"), z = h("dt-input"), N = h("dt-popover"), G = h("dt-rich-text-editor");
630
- return a(), I("div", V({ class: "d-recipe-editor" }, i.addClassStyleAttrs(t.$attrs), {
618
+ }, at = /* @__PURE__ */ _("div", { class: "d-recipe-editor__button-group-divider" }, null, -1), ct = { class: "d-recipe-editor__popover-content" };
619
+ function dt(t, e, n, o, r, i) {
620
+ const d = h("dt-button"), T = h("dt-tooltip"), I = h("dt-stack"), P = h("dt-input"), G = h("dt-popover"), $ = h("dt-rich-text-editor");
621
+ return c(), A("div", f({ class: "d-recipe-editor" }, i.addClassStyleAttrs(t.$attrs), {
631
622
  "data-qa": "dt-recipe-editor",
632
623
  role: "presentation",
633
- onClick: e[4] || (e[4] = (l) => t.$refs.richTextEditor.focusEditor())
624
+ onClick: e[4] || (e[4] = (s) => t.$refs.richTextEditor.focusEditor())
634
625
  }), [
635
- c(m, {
626
+ a(I, {
636
627
  class: "d-recipe-editor__top-bar",
637
628
  direction: "row",
638
629
  gap: "450"
639
630
  }, {
640
631
  default: u(() => [
641
- (a(!0), I(U, null, P(i.buttonGroups, (l) => (a(), p(m, {
642
- key: l.key,
632
+ (c(!0), A(q, null, V(i.buttonGroups, (s) => (c(), p(I, {
633
+ key: s.key,
643
634
  direction: "row",
644
635
  gap: "300"
645
636
  }, {
646
637
  default: u(() => [
647
- (a(!0), I(U, null, P(l.buttonGroup, (s) => (a(), p(B, {
648
- key: i.getButtonKey(l.key, s.selector),
649
- message: s.tooltipMessage,
638
+ (c(!0), A(q, null, V(s.buttonGroup, (l) => (c(), p(T, {
639
+ key: i.getButtonKey(s.key, l.selector),
640
+ message: l.tooltipMessage,
650
641
  placement: "top"
651
642
  }, {
652
643
  anchor: u(() => {
653
- var A, y;
644
+ var m, E;
654
645
  return [
655
- c(d, {
646
+ a(d, {
656
647
  ref_for: !0,
657
- ref: i.getButtonRef(l.key, s.selector),
658
- active: (y = (A = t.$refs.richTextEditor) == null ? void 0 : A.editor) == null ? void 0 : y.isActive(s.selector),
659
- "aria-label": s.tooltipMessage,
660
- "data-qa": s.dataQA,
661
- tabindex: i.canFocus(i.getButtonRef(l.key, s.selector)) ? 0 : -1,
648
+ ref: i.getButtonRef(s.key, l.selector),
649
+ active: (E = (m = t.$refs.richTextEditor) == null ? void 0 : m.editor) == null ? void 0 : E.isActive(l.selector),
650
+ "aria-label": l.tooltipMessage,
651
+ "data-qa": l.dataQA,
652
+ tabindex: i.canFocus(i.getButtonRef(s.key, l.selector)) ? 0 : -1,
662
653
  importance: "clear",
663
654
  kind: "muted",
664
655
  size: "xs",
665
- onClick: (ht) => s.onClick(),
656
+ onClick: (ht) => l.onClick(),
666
657
  onKeydown: [
667
- k(f(i.shiftActionBarFocusRight, ["stop"]), ["right"]),
668
- k(f(i.shiftActionBarFocusLeft, ["stop"]), ["left"])
658
+ g(B(i.shiftActionBarFocusRight, ["stop"]), ["right"]),
659
+ g(B(i.shiftActionBarFocusLeft, ["stop"]), ["left"])
669
660
  ]
670
661
  }, {
671
662
  icon: u(() => [
672
- (a(), p(K(s.icon), { size: "200" }))
663
+ (c(), p(K(l.icon), { size: "200" }))
673
664
  ]),
674
665
  default: u(() => [
675
- w(" " + g(s == null ? void 0 : s.label), 1)
666
+ L(" " + k(l == null ? void 0 : l.label), 1)
676
667
  ]),
677
668
  _: 2
678
669
  }, 1032, ["active", "aria-label", "data-qa", "tabindex", "onClick", "onKeydown"])
@@ -680,56 +671,54 @@ function dt(t, e, o, n, r, i) {
680
671
  }),
681
672
  _: 2
682
673
  }, 1032, ["message"]))), 128)),
683
- ut
674
+ at
684
675
  ]),
685
676
  _: 2
686
677
  }, 1024))), 128)),
687
- i.linkButton.showBtn ? (a(), p(m, {
678
+ i.linkButton.showBtn ? (c(), p(I, {
688
679
  key: 0,
689
680
  direction: "row",
690
681
  gap: "300"
691
682
  }, {
692
683
  default: u(() => [
693
- c(N, {
684
+ a(G, {
694
685
  open: r.showLinkInput,
695
686
  "show-close-button": !1,
696
- "visually-hidden-close": !0,
697
- "visually-hidden-close-label": "Close link input popover",
698
687
  "data-qa": "dt-recipe-editor-link-input-popover",
699
688
  padding: "none",
700
689
  placement: "bottom-start",
701
690
  onClick: [
702
691
  i.onInputFocus,
703
- f(i.onInputFocus, ["stop"])
692
+ B(i.onInputFocus, ["stop"])
704
693
  ],
705
694
  onOpened: i.updateInput
706
695
  }, {
707
696
  anchor: u(() => [
708
- (a(), p(B, {
697
+ (c(), p(T, {
709
698
  key: i.linkButton.key,
710
699
  message: i.linkButton.tooltipMessage,
711
700
  placement: "top"
712
701
  }, {
713
702
  anchor: u(() => {
714
- var l, s;
703
+ var s, l;
715
704
  return [
716
- c(d, {
705
+ a(d, {
717
706
  ref: i.getButtonRef("custom", "link"),
718
- active: (s = (l = t.$refs.richTextEditor) == null ? void 0 : l.editor) == null ? void 0 : s.isActive(i.linkButton.selector),
707
+ active: (l = (s = t.$refs.richTextEditor) == null ? void 0 : s.editor) == null ? void 0 : l.isActive(i.linkButton.selector),
719
708
  "aria-label": i.linkButton.tooltipMessage,
720
709
  "data-qa": i.linkButton.dataQA,
721
710
  tabindex: i.canFocus(i.getButtonRef("custom", "link")) ? 0 : -1,
722
711
  importance: "clear",
723
712
  kind: "muted",
724
713
  size: "xs",
725
- onClick: e[0] || (e[0] = (A) => i.linkButton.onClick()),
714
+ onClick: e[0] || (e[0] = (m) => i.linkButton.onClick()),
726
715
  onKeydown: [
727
- k(f(i.shiftActionBarFocusRight, ["stop"]), ["right"]),
728
- k(f(i.shiftActionBarFocusLeft, ["stop"]), ["left"])
716
+ g(B(i.shiftActionBarFocusRight, ["stop"]), ["right"]),
717
+ g(B(i.shiftActionBarFocusLeft, ["stop"]), ["left"])
729
718
  ]
730
719
  }, {
731
720
  icon: u(() => [
732
- (a(), p(K(i.linkButton.icon), { size: "200" }))
721
+ (c(), p(K(i.linkButton.icon), { size: "200" }))
733
722
  ]),
734
723
  _: 1
735
724
  }, 8, ["active", "aria-label", "data-qa", "tabindex", "onKeydown"])
@@ -739,68 +728,62 @@ function dt(t, e, o, n, r, i) {
739
728
  }, 8, ["message"]))
740
729
  ]),
741
730
  content: u(() => [
742
- L("div", at, [
743
- o.showAddLink.setLinkTitle.length > 0 ? (a(), I("span", ct, g(o.showAddLink.setLinkTitle), 1)) : j("", !0),
744
- c(z, {
731
+ _("div", ct, [
732
+ _("span", null, k(i.showAddLinkButtonLabels.title), 1),
733
+ a(P, {
745
734
  modelValue: r.linkInput,
746
- "onUpdate:modelValue": e[1] || (e[1] = (l) => r.linkInput = l),
747
- "input-aria-label": o.showAddLink.setLinkInputAriaLabel,
748
- placeholder: o.setLinkPlaceholder,
735
+ "onUpdate:modelValue": e[1] || (e[1] = (s) => r.linkInput = s),
736
+ "input-aria-label": i.showAddLinkButtonLabels["aria-label"],
737
+ placeholder: n.setLinkPlaceholder,
749
738
  "data-qa": "dt-recipe-editor-link-input",
750
739
  "input-wrapper-class": "d-recipe-editor-link__input-wrapper",
751
740
  onClick: [
752
741
  i.onInputFocus,
753
- f(i.onInputFocus, ["stop"])
742
+ B(i.onInputFocus, ["stop"])
754
743
  ],
755
744
  onFocus: i.onInputFocus,
756
- onKeydown: k(i.setLink, ["enter"])
745
+ onKeydown: g(i.setLink, ["enter"])
757
746
  }, null, 8, ["modelValue", "input-aria-label", "placeholder", "onClick", "onFocus", "onKeydown"])
758
747
  ])
759
748
  ]),
760
749
  footerContent: u(() => [
761
- c(m, {
750
+ a(I, {
762
751
  direction: "row",
763
752
  gap: "300",
764
753
  class: "d-recipe-editor__popover-footer"
765
754
  }, {
766
755
  default: u(() => [
767
- c(d, {
768
- "aria-label": o.removeLinkButton.ariaLabel,
756
+ a(d, f({
769
757
  "data-qa": "dt-recipe-editor-remove-link-btn",
770
758
  importance: "clear",
771
759
  kind: "muted",
772
- size: "sm",
773
- onClick: i.removeLink
774
- }, {
760
+ size: "sm"
761
+ }, i.removeLinkButtonLabels, { onClick: i.removeLink }), {
775
762
  default: u(() => [
776
- w(g(o.removeLinkButton.label), 1)
763
+ L(k(i.removeLinkButtonLabels.title), 1)
777
764
  ]),
778
765
  _: 1
779
- }, 8, ["aria-label", "onClick"]),
780
- c(d, {
781
- "aria-label": o.cancelSetLinkButton.ariaLabel,
766
+ }, 16, ["onClick"]),
767
+ a(d, f({
782
768
  "data-qa": "dt-recipe-editor-set-link-cancel-btn",
783
769
  importance: "clear",
784
770
  kind: "muted",
785
- size: "sm",
786
- onClick: i.closeLinkInput
787
- }, {
771
+ size: "sm"
772
+ }, i.cancelSetLinkButtonLabels, { onClick: i.closeLinkInput }), {
788
773
  default: u(() => [
789
- w(g(o.cancelSetLinkButton.label), 1)
774
+ L(k(i.cancelSetLinkButtonLabels.title), 1)
790
775
  ]),
791
776
  _: 1
792
- }, 8, ["aria-label", "onClick"]),
793
- c(d, {
794
- "aria-label": o.confirmSetLinkButton.ariaLabel,
777
+ }, 16, ["onClick"]),
778
+ a(d, f({
795
779
  "data-qa": "dt-recipe-editor-set-link-confirm-btn",
796
- size: "sm",
797
- onClick: i.setLink
798
- }, {
780
+ size: "sm"
781
+ }, i.confirmSetLinkButtonLabels, { onClick: i.setLink }), {
799
782
  default: u(() => [
800
- w(g(o.confirmSetLinkButton.label), 1)
783
+ L(k(i.confirmSetLinkButtonLabels.title), 1)
801
784
  ]),
802
785
  _: 1
803
- }, 8, ["aria-label", "onClick"])
786
+ }, 16, ["onClick"])
804
787
  ]),
805
788
  _: 1
806
789
  })
@@ -809,43 +792,43 @@ function dt(t, e, o, n, r, i) {
809
792
  }, 8, ["open", "onClick", "onOpened"])
810
793
  ]),
811
794
  _: 1
812
- })) : j("", !0)
795
+ })) : X("", !0)
813
796
  ]),
814
797
  _: 1
815
798
  }),
816
- L("div", {
817
- style: W({ "max-height": o.maxHeight }),
799
+ _("div", {
800
+ style: W({ "max-height": n.maxHeight }),
818
801
  class: "d-recipe-editor__content"
819
802
  }, [
820
- c(G, V({
803
+ a($, f({
821
804
  ref: "richTextEditor",
822
805
  modelValue: r.internalInputValue,
823
- "onUpdate:modelValue": e[2] || (e[2] = (l) => r.internalInputValue = l),
806
+ "onUpdate:modelValue": e[2] || (e[2] = (s) => r.internalInputValue = s),
824
807
  "allow-font-color": !0,
825
808
  "allow-font-family": !0,
826
809
  "allow-inline-images": !0,
827
810
  "allow-line-breaks": !0,
828
811
  "hide-link-bubble-menu": !0,
829
- "auto-focus": o.autoFocus,
830
- editable: o.editable,
831
- "input-aria-label": o.inputAriaLabel,
832
- "input-class": `d-recipe-editor__content-input ${o.inputClass}`,
812
+ "auto-focus": n.autoFocus,
813
+ editable: n.editable,
814
+ "input-aria-label": n.inputAriaLabel,
815
+ "input-class": `d-recipe-editor__content-input ${n.inputClass}`,
833
816
  link: !0,
834
817
  "output-format": i.htmlOutputFormat,
835
- placeholder: o.placeholder,
836
- "use-div-tags": o.useDivTags,
818
+ placeholder: n.placeholder,
819
+ "use-div-tags": n.useDivTags,
837
820
  "data-qa": "dt-rich-text-editor"
838
821
  }, i.removeClassStyleAttrs(t.$attrs), {
839
822
  onTextInput: i.onTextInput,
840
823
  onBlur: i.onBlur,
841
824
  onFocus: i.onFocus,
842
- onInput: e[3] || (e[3] = (l) => i.onInput(l))
825
+ onInput: e[3] || (e[3] = (s) => i.onInput(s))
843
826
  }), null, 16, ["modelValue", "auto-focus", "editable", "input-aria-label", "input-class", "output-format", "placeholder", "use-div-tags", "onTextInput", "onBlur", "onFocus"])
844
827
  ], 4)
845
828
  ], 16);
846
829
  }
847
- const bt = /* @__PURE__ */ Z(st, [["render", dt]]);
830
+ const Ot = /* @__PURE__ */ Z(ut, [["render", dt]]);
848
831
  export {
849
- bt as default
832
+ Ot as default
850
833
  };
851
834
  //# sourceMappingURL=editor.js.map