@dialpad/dialtone 9.126.6 → 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.
- package/README.md +1 -1
- package/dist/tokens/doc.json +23168 -23168
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +7 -7
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +5 -5
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
- package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker.js +10 -10
- package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
- package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
- package/dist/vue2/lib/dropdown/dropdown.cjs.map +1 -1
- package/dist/vue2/lib/dropdown/dropdown.js +24 -26
- package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.js +1 -0
- package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +2 -2
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +33 -29
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue2/lib/toast/toast.cjs.map +1 -1
- package/dist/vue2/lib/toast/toast.js.map +1 -1
- package/dist/vue2/localization/de-DE.cjs +1 -13
- package/dist/vue2/localization/de-DE.cjs.map +1 -1
- package/dist/vue2/localization/de-DE.js +1 -13
- package/dist/vue2/localization/de-DE.js.map +1 -1
- package/dist/vue2/localization/es-LA.cjs +1 -13
- package/dist/vue2/localization/es-LA.cjs.map +1 -1
- package/dist/vue2/localization/es-LA.js +1 -13
- package/dist/vue2/localization/es-LA.js.map +1 -1
- package/dist/vue2/localization/fr-FR.cjs +1 -13
- package/dist/vue2/localization/fr-FR.cjs.map +1 -1
- package/dist/vue2/localization/fr-FR.js +1 -13
- package/dist/vue2/localization/fr-FR.js.map +1 -1
- package/dist/vue2/localization/it-IT.cjs +1 -13
- package/dist/vue2/localization/it-IT.cjs.map +1 -1
- package/dist/vue2/localization/it-IT.js +1 -13
- package/dist/vue2/localization/it-IT.js.map +1 -1
- package/dist/vue2/localization/ja-JP.cjs +1 -8
- package/dist/vue2/localization/ja-JP.cjs.map +1 -1
- package/dist/vue2/localization/ja-JP.js +1 -8
- package/dist/vue2/localization/ja-JP.js.map +1 -1
- package/dist/vue2/localization/nl-NL.cjs +1 -13
- package/dist/vue2/localization/nl-NL.cjs.map +1 -1
- package/dist/vue2/localization/nl-NL.js +1 -13
- package/dist/vue2/localization/nl-NL.js.map +1 -1
- package/dist/vue2/localization/pt-BR.cjs +1 -13
- package/dist/vue2/localization/pt-BR.cjs.map +1 -1
- package/dist/vue2/localization/pt-BR.js +1 -13
- package/dist/vue2/localization/pt-BR.js.map +1 -1
- package/dist/vue2/localization/ru-RU.cjs +1 -23
- package/dist/vue2/localization/ru-RU.cjs.map +1 -1
- package/dist/vue2/localization/ru-RU.js +1 -23
- package/dist/vue2/localization/ru-RU.js.map +1 -1
- package/dist/vue2/localization/zh-CN.cjs +1 -8
- package/dist/vue2/localization/zh-CN.cjs.map +1 -1
- package/dist/vue2/localization/zh-CN.js +1 -8
- package/dist/vue2/localization/zh-CN.js.map +1 -1
- package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
- package/dist/vue3/common/mixins/index.cjs +1 -1
- package/dist/vue3/common/mixins/index.js +8 -10
- package/dist/vue3/common/mixins/index.js.map +1 -1
- package/dist/vue3/common/utils/index.cjs +1 -1
- package/dist/vue3/common/utils/index.cjs.map +1 -1
- package/dist/vue3/common/utils/index.js +42 -38
- package/dist/vue3/common/utils/index.js.map +1 -1
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/dialtone-vue.cjs +1 -1
- package/dist/vue3/dialtone-vue.js +298 -299
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs +1 -1
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.js +86 -110
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.js.map +1 -1
- package/dist/vue3/lib/banner/banner.cjs +2 -2
- package/dist/vue3/lib/banner/banner.cjs.map +1 -1
- package/dist/vue3/lib/banner/banner.js +27 -38
- package/dist/vue3/lib/banner/banner.js.map +1 -1
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs +1 -1
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.js +20 -18
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/vue3/lib/button/button.cjs +1 -1
- package/dist/vue3/lib/button/button.cjs.map +1 -1
- package/dist/vue3/lib/button/button.js +26 -24
- package/dist/vue3/lib/button/button.js.map +1 -1
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +36 -41
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js +35 -37
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
- package/dist/vue3/lib/chip/chip.cjs +1 -1
- package/dist/vue3/lib/chip/chip.cjs.map +1 -1
- package/dist/vue3/lib/chip/chip.js +54 -57
- package/dist/vue3/lib/chip/chip.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox-constants.cjs +1 -1
- package/dist/vue3/lib/combobox/combobox-constants.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox-constants.js +2 -2
- package/dist/vue3/lib/combobox/combobox-constants.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox-empty-list.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox-empty-list.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox-loading-list.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox-loading-list.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox.cjs +2 -2
- package/dist/vue3/lib/combobox/combobox.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox.js +20 -20
- package/dist/vue3/lib/combobox/combobox.js.map +1 -1
- package/dist/vue3/lib/combobox/index.cjs +1 -1
- package/dist/vue3/lib/combobox/index.js +3 -3
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js +119 -124
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js +76 -80
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs +1 -1
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.js +68 -63
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.js.map +1 -1
- package/dist/vue3/lib/contact-row/contact-row.cjs +1 -1
- package/dist/vue3/lib/contact-row/contact-row.cjs.map +1 -1
- package/dist/vue3/lib/contact-row/contact-row.js +32 -48
- package/dist/vue3/lib/contact-row/contact-row.js.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker-constants.cjs +1 -1
- package/dist/vue3/lib/datepicker/datepicker-constants.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker-constants.js +2 -3
- package/dist/vue3/lib/datepicker/datepicker-constants.js.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker.cjs +1 -1
- package/dist/vue3/lib/datepicker/datepicker.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker.js +264 -349
- package/dist/vue3/lib/datepicker/datepicker.js.map +1 -1
- package/dist/vue3/lib/datepicker/formatUtils.cjs +1 -1
- package/dist/vue3/lib/datepicker/formatUtils.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/formatUtils.js +21 -20
- package/dist/vue3/lib/datepicker/formatUtils.js.map +1 -1
- package/dist/vue3/lib/datepicker/utils.cjs +1 -1
- package/dist/vue3/lib/datepicker/utils.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/utils.js +12 -11
- package/dist/vue3/lib/datepicker/utils.js.map +1 -1
- package/dist/vue3/lib/description-list/description-list.cjs +1 -1
- package/dist/vue3/lib/description-list/description-list.cjs.map +1 -1
- package/dist/vue3/lib/description-list/description-list.js +10 -10
- package/dist/vue3/lib/description-list/description-list.js.map +1 -1
- package/dist/vue3/lib/dropdown/dropdown.cjs +1 -1
- package/dist/vue3/lib/dropdown/dropdown.cjs.map +1 -1
- package/dist/vue3/lib/dropdown/dropdown.js +36 -46
- package/dist/vue3/lib/dropdown/dropdown.js.map +1 -1
- package/dist/vue3/lib/editor/editor.cjs +1 -1
- package/dist/vue3/lib/editor/editor.cjs.map +1 -1
- package/dist/vue3/lib/editor/editor.js +169 -186
- package/dist/vue3/lib/editor/editor.js.map +1 -1
- package/dist/vue3/lib/editor/index.cjs +1 -1
- package/dist/vue3/lib/editor/index.js +2 -2
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js +7 -20
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.cjs.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.js +419 -477
- package/dist/vue3/lib/emoji-picker/emoji-picker.js.map +1 -1
- package/dist/vue3/lib/emoji-picker/index.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/index.js +3 -4
- package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row-constants.js +6 -7
- package/dist/vue3/lib/emoji-row/emoji-row-constants.js.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.cjs +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.cjs.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.js +53 -43
- package/dist/vue3/lib/emoji-row/emoji-row.js.map +1 -1
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs +1 -1
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.js +52 -53
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.js.map +1 -1
- package/dist/vue3/lib/general-row/general-row.cjs +1 -1
- package/dist/vue3/lib/general-row/general-row.cjs.map +1 -1
- package/dist/vue3/lib/general-row/general-row.js +133 -118
- package/dist/vue3/lib/general-row/general-row.js.map +1 -1
- package/dist/vue3/lib/group-row/group-row.cjs +1 -1
- package/dist/vue3/lib/group-row/group-row.cjs.map +1 -1
- package/dist/vue3/lib/group-row/group-row.js +53 -39
- package/dist/vue3/lib/group-row/group-row.js.map +1 -1
- package/dist/vue3/lib/icon/icon-constants.cjs.map +1 -1
- package/dist/vue3/lib/icon/icon-constants.js.map +1 -1
- package/dist/vue3/lib/icon/icon.cjs +1 -1
- package/dist/vue3/lib/icon/icon.cjs.map +1 -1
- package/dist/vue3/lib/icon/icon.js +15 -11
- package/dist/vue3/lib/icon/icon.js.map +1 -1
- package/dist/vue3/lib/image-viewer/image-viewer.cjs +1 -1
- package/dist/vue3/lib/image-viewer/image-viewer.cjs.map +1 -1
- package/dist/vue3/lib/image-viewer/image-viewer.js +51 -47
- package/dist/vue3/lib/image-viewer/image-viewer.js.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node-constants.js +24 -24
- package/dist/vue3/lib/ivr-node/ivr-node-constants.js.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node.cjs +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node.cjs.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node.js +80 -76
- package/dist/vue3/lib/ivr-node/ivr-node.js.map +1 -1
- package/dist/vue3/lib/message-input/message-input-link.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input-link.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input-link.js +100 -77
- package/dist/vue3/lib/message-input/message-input-link.js.map +1 -1
- package/dist/vue3/lib/message-input/message-input-topbar.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input-topbar.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input-topbar.js +126 -94
- package/dist/vue3/lib/message-input/message-input-topbar.js.map +1 -1
- package/dist/vue3/lib/message-input/message-input.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input.js +272 -296
- package/dist/vue3/lib/message-input/message-input.js.map +1 -1
- package/dist/vue3/lib/modal/modal.cjs +1 -2
- package/dist/vue3/lib/modal/modal.cjs.map +1 -1
- package/dist/vue3/lib/modal/modal.js +64 -79
- package/dist/vue3/lib/modal/modal.js.map +1 -1
- package/dist/vue3/lib/notice/notice-action.cjs +1 -1
- package/dist/vue3/lib/notice/notice-action.cjs.map +1 -1
- package/dist/vue3/lib/notice/notice-action.js +38 -39
- package/dist/vue3/lib/notice/notice-action.js.map +1 -1
- package/dist/vue3/lib/notice/notice.cjs +1 -1
- package/dist/vue3/lib/notice/notice.cjs.map +1 -1
- package/dist/vue3/lib/notice/notice.js +37 -49
- package/dist/vue3/lib/notice/notice.js.map +1 -1
- package/dist/vue3/lib/pagination/pagination.cjs +1 -1
- package/dist/vue3/lib/pagination/pagination.cjs.map +1 -1
- package/dist/vue3/lib/pagination/pagination.js +72 -81
- package/dist/vue3/lib/pagination/pagination.js.map +1 -1
- package/dist/vue3/lib/popover/popover-header-footer.cjs +1 -1
- package/dist/vue3/lib/popover/popover-header-footer.cjs.map +1 -1
- package/dist/vue3/lib/popover/popover-header-footer.js +44 -45
- package/dist/vue3/lib/popover/popover-header-footer.js.map +1 -1
- package/dist/vue3/lib/popover/popover.cjs +1 -1
- package/dist/vue3/lib/popover/popover.cjs.map +1 -1
- package/dist/vue3/lib/popover/popover.js +26 -37
- package/dist/vue3/lib/popover/popover.js.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +3 -3
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +187 -181
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue3/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
- package/dist/vue3/lib/settings-menu-button/settings-menu-button.js.map +1 -1
- package/dist/vue3/lib/time-pill/time-pill.cjs.map +1 -1
- package/dist/vue3/lib/time-pill/time-pill.js.map +1 -1
- package/dist/vue3/lib/toast/toast.cjs +1 -1
- package/dist/vue3/lib/toast/toast.cjs.map +1 -1
- package/dist/vue3/lib/toast/toast.js +83 -127
- package/dist/vue3/lib/toast/toast.js.map +1 -1
- package/dist/vue3/lib/unread-pill/unread-pill.cjs +1 -1
- package/dist/vue3/lib/unread-pill/unread-pill.cjs.map +1 -1
- package/dist/vue3/lib/unread-pill/unread-pill.js +25 -14
- package/dist/vue3/lib/unread-pill/unread-pill.js.map +1 -1
- package/dist/vue3/localization/de-DE.cjs +157 -0
- package/dist/vue3/localization/de-DE.cjs.map +1 -0
- package/dist/vue3/localization/de-DE.js +160 -0
- package/dist/vue3/localization/de-DE.js.map +1 -0
- package/dist/vue3/localization/en-US.cjs +175 -0
- package/dist/vue3/localization/en-US.cjs.map +1 -0
- package/dist/vue3/localization/en-US.js +178 -0
- package/dist/vue3/localization/en-US.js.map +1 -0
- package/dist/vue3/localization/es-LA.cjs +157 -0
- package/dist/vue3/localization/es-LA.cjs.map +1 -0
- package/dist/vue3/localization/es-LA.js +160 -0
- package/dist/vue3/localization/es-LA.js.map +1 -0
- package/dist/vue3/localization/fr-FR.cjs +157 -0
- package/dist/vue3/localization/fr-FR.cjs.map +1 -0
- package/dist/vue3/localization/fr-FR.js +160 -0
- package/dist/vue3/localization/fr-FR.js.map +1 -0
- package/dist/vue3/localization/index.cjs +2 -0
- package/dist/vue3/localization/index.cjs.map +1 -0
- package/dist/vue3/localization/index.js +82 -0
- package/dist/vue3/localization/index.js.map +1 -0
- package/dist/vue3/localization/it-IT.cjs +157 -0
- package/dist/vue3/localization/it-IT.cjs.map +1 -0
- package/dist/vue3/localization/it-IT.js +160 -0
- package/dist/vue3/localization/it-IT.js.map +1 -0
- package/dist/vue3/localization/ja-JP.cjs +157 -0
- package/dist/vue3/localization/ja-JP.cjs.map +1 -0
- package/dist/vue3/localization/ja-JP.js +160 -0
- package/dist/vue3/localization/ja-JP.js.map +1 -0
- package/dist/vue3/localization/nl-NL.cjs +157 -0
- package/dist/vue3/localization/nl-NL.cjs.map +1 -0
- package/dist/vue3/localization/nl-NL.js +160 -0
- package/dist/vue3/localization/nl-NL.js.map +1 -0
- package/dist/vue3/localization/pt-BR.cjs +157 -0
- package/dist/vue3/localization/pt-BR.cjs.map +1 -0
- package/dist/vue3/localization/pt-BR.js +160 -0
- package/dist/vue3/localization/pt-BR.js.map +1 -0
- package/dist/vue3/localization/ru-RU.cjs +157 -0
- package/dist/vue3/localization/ru-RU.cjs.map +1 -0
- package/dist/vue3/localization/ru-RU.js +160 -0
- package/dist/vue3/localization/ru-RU.js.map +1 -0
- package/dist/vue3/localization/zh-CN.cjs +157 -0
- package/dist/vue3/localization/zh-CN.cjs.map +1 -0
- package/dist/vue3/localization/zh-CN.js +160 -0
- package/dist/vue3/localization/zh-CN.js.map +1 -0
- package/dist/vue3/shared/sr_only_close_button.cjs +1 -1
- package/dist/vue3/shared/sr_only_close_button.cjs.map +1 -1
- package/dist/vue3/shared/sr_only_close_button.js +27 -25
- package/dist/vue3/shared/sr_only_close_button.js.map +1 -1
- package/dist/vue3/types/common/mixins/index.d.ts +0 -1
- package/dist/vue3/types/common/sr_only_close_button.vue.d.ts +8 -15
- package/dist/vue3/types/common/sr_only_close_button.vue.d.ts.map +1 -1
- package/dist/vue3/types/common/utils/index.d.ts +1 -0
- package/dist/vue3/types/common/utils/index.d.ts.map +1 -1
- package/dist/vue3/types/components/banner/banner.vue.d.ts +0 -33
- package/dist/vue3/types/components/banner/banner.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts +2 -0
- package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/button/button.vue.d.ts +2 -0
- package/dist/vue3/types/components/button/button.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/chip/chip.vue.d.ts +3 -15
- package/dist/vue3/types/components/chip/chip.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/combobox/combobox.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/combobox/combobox_constants.d.ts +2 -2
- package/dist/vue3/types/components/combobox/index.d.ts +1 -1
- package/dist/vue3/types/components/datepicker/composables/useCalendar.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts +5 -1
- package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/datepicker.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts +0 -1
- package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/formatUtils.d.ts +5 -5
- package/dist/vue3/types/components/datepicker/formatUtils.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts +0 -4
- package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts +0 -12
- package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/utils.d.ts +1 -0
- package/dist/vue3/types/components/datepicker/utils.d.ts.map +1 -1
- package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts +0 -24
- package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/emoji_picker/emoji_picker_constants.d.ts +0 -13
- package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/icon/icon.vue.d.ts +1 -0
- package/dist/vue3/types/components/icon/icon_constants.d.ts.map +1 -1
- package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts +3 -8
- package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/modal/modal.vue.d.ts +3 -35
- package/dist/vue3/types/components/modal/modal.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/notice/notice.vue.d.ts +1 -34
- package/dist/vue3/types/components/notice/notice.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/notice/notice_action.vue.d.ts +7 -35
- package/dist/vue3/types/components/notice/notice_action.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/pagination/pagination.vue.d.ts +5 -24
- package/dist/vue3/types/components/pagination/pagination.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/popover/popover.vue.d.ts +0 -33
- package/dist/vue3/types/components/popover/popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts +5 -10
- package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +2 -0
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +2 -46
- package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts +1 -34
- package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/toast/toast.vue.d.ts +4 -115
- package/dist/vue3/types/components/toast/toast.vue.d.ts.map +1 -1
- package/dist/vue3/types/index.d.ts +1 -0
- package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +3 -11
- package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +3 -10
- package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +4 -8
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +7 -7
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
- package/dist/vue3/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -25
- package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +3 -41
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +6 -25
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +2 -2
- package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts +6 -49
- package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/editor/index.d.ts +1 -1
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +6 -2
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row_constants.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +3 -8
- package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +6 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +12 -88
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +11 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +13 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +5 -8
- package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +0 -18
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +9 -27
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts +11 -21
- package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +6 -2
- package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/vue3/common/mixins/sr-only-close-button.cjs +0 -3
- package/dist/vue3/common/mixins/sr-only-close-button.cjs.map +0 -1
- package/dist/vue3/common/mixins/sr-only-close-button.js +0 -44
- package/dist/vue3/common/mixins/sr-only-close-button.js.map +0 -1
- package/dist/vue3/lib/contact-row/contact-row-constants.cjs +0 -2
- package/dist/vue3/lib/contact-row/contact-row-constants.cjs.map +0 -1
- package/dist/vue3/lib/contact-row/contact-row-constants.js +0 -5
- package/dist/vue3/lib/contact-row/contact-row-constants.js.map +0 -1
- package/dist/vue3/lib/emoji/emoji-constants.cjs +0 -2
- package/dist/vue3/lib/emoji/emoji-constants.cjs.map +0 -1
- package/dist/vue3/lib/emoji/emoji-constants.js +0 -5
- package/dist/vue3/lib/emoji/emoji-constants.js.map +0 -1
- package/dist/vue3/lib/group-row/group-row-constants.cjs +0 -2
- package/dist/vue3/lib/group-row/group-row-constants.cjs.map +0 -1
- package/dist/vue3/lib/group-row/group-row-constants.js +0 -8
- package/dist/vue3/lib/group-row/group-row-constants.js.map +0 -1
- package/dist/vue3/lib/time-pill/time-pill-constants.cjs +0 -2
- package/dist/vue3/lib/time-pill/time-pill-constants.cjs.map +0 -1
- package/dist/vue3/lib/time-pill/time-pill-constants.js +0 -8
- package/dist/vue3/lib/time-pill/time-pill-constants.js.map +0 -1
- package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts +0 -30
- package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts.map +0 -1
- package/dist/vue3/types/components/emoji/emoji_constants.d.ts +0 -3
- package/dist/vue3/types/components/emoji/emoji_constants.d.ts.map +0 -1
- package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts +0 -6
- package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts.map +0 -1
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts +0 -3
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts.map +0 -1
- package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts +0 -6
- 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
|
|
2
|
-
import { removeClassStyleAttrs as
|
|
3
|
-
import { DtIconQuickReply as
|
|
4
|
-
import {
|
|
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
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
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
|
|
12
|
-
import { RICH_TEXT_EDITOR_AUTOFOCUS_TYPES as
|
|
13
|
-
const
|
|
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:
|
|
19
|
-
DtPopover:
|
|
20
|
-
DtStack:
|
|
18
|
+
DtRichTextEditor: tt,
|
|
19
|
+
DtButton: et,
|
|
20
|
+
DtPopover: it,
|
|
21
|
+
DtStack: nt,
|
|
21
22
|
DtInput: ot,
|
|
22
|
-
DtTooltip:
|
|
23
|
-
DtIconQuickReply:
|
|
24
|
-
DtIconBold:
|
|
25
|
-
DtIconItalic:
|
|
26
|
-
DtIconUnderline:
|
|
27
|
-
DtIconStrikethrough:
|
|
28
|
-
DtIconListBullet:
|
|
29
|
-
DtIconListOrdered:
|
|
30
|
-
DtIconAlignLeft:
|
|
31
|
-
DtIconAlignCenter:
|
|
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:
|
|
34
|
-
DtIconQuote:
|
|
35
|
-
DtIconCodeBlock:
|
|
36
|
-
DtIconLink2:
|
|
37
|
-
DtIconImage:
|
|
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" ?
|
|
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,
|
|
326
|
-
return
|
|
327
|
-
e.push(this.getButtonRef(
|
|
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: "
|
|
328
|
+
label: this.i18n.$t("DIALTONE_EDITOR_QUICK_REPLY_BUTTON_LABEL"),
|
|
350
329
|
selector: "quickReplies",
|
|
351
|
-
icon:
|
|
330
|
+
icon: w,
|
|
352
331
|
dataQA: "dt-recipe-editor-quick-replies-btn",
|
|
353
|
-
tooltipMessage: "
|
|
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:
|
|
342
|
+
icon: O,
|
|
364
343
|
dataQA: "dt-recipe-editor-bold-btn",
|
|
365
|
-
tooltipMessage: "
|
|
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:
|
|
350
|
+
icon: D,
|
|
372
351
|
dataQA: "dt-recipe-editor-italics-btn",
|
|
373
|
-
tooltipMessage: "
|
|
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:
|
|
358
|
+
icon: R,
|
|
380
359
|
dataQA: "dt-recipe-editor-underline-btn",
|
|
381
|
-
tooltipMessage: "
|
|
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: "
|
|
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:
|
|
378
|
+
icon: b,
|
|
400
379
|
dataQA: "dt-recipe-editor-align-left-btn",
|
|
401
|
-
tooltipMessage: "
|
|
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:
|
|
386
|
+
icon: N,
|
|
408
387
|
dataQA: "dt-recipe-editor-align-center-btn",
|
|
409
|
-
tooltipMessage: "
|
|
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: "
|
|
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:
|
|
402
|
+
icon: U,
|
|
424
403
|
dataQA: "dt-recipe-editor-align-justify-btn",
|
|
425
|
-
tooltipMessage: "
|
|
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:
|
|
414
|
+
icon: y,
|
|
436
415
|
dataQA: "dt-recipe-editor-list-items-btn",
|
|
437
|
-
tooltipMessage: "
|
|
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:
|
|
422
|
+
icon: C,
|
|
444
423
|
dataQA: "dt-recipe-editor-ordered-list-items-btn",
|
|
445
|
-
tooltipMessage: "
|
|
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:
|
|
434
|
+
icon: F,
|
|
456
435
|
dataQA: "dt-recipe-editor-blockquote-btn",
|
|
457
|
-
tooltipMessage: "
|
|
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:
|
|
442
|
+
icon: v,
|
|
464
443
|
dataQA: "dt-recipe-editor-code-block-btn",
|
|
465
|
-
tooltipMessage: "
|
|
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:
|
|
450
|
+
icon: M,
|
|
472
451
|
dataQA: "dt-recipe-editor-inline-image-btn",
|
|
473
|
-
tooltipMessage: "
|
|
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:
|
|
462
|
+
icon: Q,
|
|
484
463
|
dataQA: "dt-recipe-editor-add-link-btn",
|
|
485
|
-
tooltipMessage: "
|
|
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:
|
|
497
|
-
addClassStyleAttrs:
|
|
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,
|
|
503
|
-
(r = (
|
|
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
|
-
|
|
513
|
-
const
|
|
514
|
-
|
|
515
|
-
|
|
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,
|
|
514
|
+
var e, n, o;
|
|
524
515
|
if (!t)
|
|
525
516
|
return this.closeLinkInput();
|
|
526
|
-
this.linkInput = (
|
|
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,
|
|
550
|
-
if ((
|
|
551
|
-
return (
|
|
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]],
|
|
622
|
-
this.currentButtonRefIndex =
|
|
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
|
-
|
|
615
|
+
n.$el.blur(), i.$el.focus();
|
|
625
616
|
}
|
|
626
617
|
}
|
|
627
|
-
},
|
|
628
|
-
function dt(t, e,
|
|
629
|
-
const d = h("dt-button"),
|
|
630
|
-
return
|
|
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] = (
|
|
624
|
+
onClick: e[4] || (e[4] = (s) => t.$refs.richTextEditor.focusEditor())
|
|
634
625
|
}), [
|
|
635
|
-
|
|
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
|
-
(
|
|
642
|
-
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
|
-
(
|
|
648
|
-
key: i.getButtonKey(
|
|
649
|
-
message:
|
|
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
|
|
644
|
+
var m, E;
|
|
654
645
|
return [
|
|
655
|
-
|
|
646
|
+
a(d, {
|
|
656
647
|
ref_for: !0,
|
|
657
|
-
ref: i.getButtonRef(
|
|
658
|
-
active: (
|
|
659
|
-
"aria-label":
|
|
660
|
-
"data-qa":
|
|
661
|
-
tabindex: i.canFocus(i.getButtonRef(
|
|
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) =>
|
|
656
|
+
onClick: (ht) => l.onClick(),
|
|
666
657
|
onKeydown: [
|
|
667
|
-
|
|
668
|
-
|
|
658
|
+
g(B(i.shiftActionBarFocusRight, ["stop"]), ["right"]),
|
|
659
|
+
g(B(i.shiftActionBarFocusLeft, ["stop"]), ["left"])
|
|
669
660
|
]
|
|
670
661
|
}, {
|
|
671
662
|
icon: u(() => [
|
|
672
|
-
(
|
|
663
|
+
(c(), p(K(l.icon), { size: "200" }))
|
|
673
664
|
]),
|
|
674
665
|
default: u(() => [
|
|
675
|
-
|
|
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
|
-
|
|
674
|
+
at
|
|
684
675
|
]),
|
|
685
676
|
_: 2
|
|
686
677
|
}, 1024))), 128)),
|
|
687
|
-
i.linkButton.showBtn ? (
|
|
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
|
-
|
|
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
|
-
|
|
692
|
+
B(i.onInputFocus, ["stop"])
|
|
704
693
|
],
|
|
705
694
|
onOpened: i.updateInput
|
|
706
695
|
}, {
|
|
707
696
|
anchor: u(() => [
|
|
708
|
-
(
|
|
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
|
|
703
|
+
var s, l;
|
|
715
704
|
return [
|
|
716
|
-
|
|
705
|
+
a(d, {
|
|
717
706
|
ref: i.getButtonRef("custom", "link"),
|
|
718
|
-
active: (
|
|
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] = (
|
|
714
|
+
onClick: e[0] || (e[0] = (m) => i.linkButton.onClick()),
|
|
726
715
|
onKeydown: [
|
|
727
|
-
|
|
728
|
-
|
|
716
|
+
g(B(i.shiftActionBarFocusRight, ["stop"]), ["right"]),
|
|
717
|
+
g(B(i.shiftActionBarFocusLeft, ["stop"]), ["left"])
|
|
729
718
|
]
|
|
730
719
|
}, {
|
|
731
720
|
icon: u(() => [
|
|
732
|
-
(
|
|
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
|
-
|
|
743
|
-
|
|
744
|
-
|
|
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] = (
|
|
747
|
-
"input-aria-label":
|
|
748
|
-
placeholder:
|
|
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
|
-
|
|
742
|
+
B(i.onInputFocus, ["stop"])
|
|
754
743
|
],
|
|
755
744
|
onFocus: i.onInputFocus,
|
|
756
|
-
onKeydown:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
774
|
-
}, {
|
|
760
|
+
size: "sm"
|
|
761
|
+
}, i.removeLinkButtonLabels, { onClick: i.removeLink }), {
|
|
775
762
|
default: u(() => [
|
|
776
|
-
|
|
763
|
+
L(k(i.removeLinkButtonLabels.title), 1)
|
|
777
764
|
]),
|
|
778
765
|
_: 1
|
|
779
|
-
},
|
|
780
|
-
|
|
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
|
-
|
|
787
|
-
}, {
|
|
771
|
+
size: "sm"
|
|
772
|
+
}, i.cancelSetLinkButtonLabels, { onClick: i.closeLinkInput }), {
|
|
788
773
|
default: u(() => [
|
|
789
|
-
|
|
774
|
+
L(k(i.cancelSetLinkButtonLabels.title), 1)
|
|
790
775
|
]),
|
|
791
776
|
_: 1
|
|
792
|
-
},
|
|
793
|
-
|
|
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
|
-
|
|
798
|
-
}, {
|
|
780
|
+
size: "sm"
|
|
781
|
+
}, i.confirmSetLinkButtonLabels, { onClick: i.setLink }), {
|
|
799
782
|
default: u(() => [
|
|
800
|
-
|
|
783
|
+
L(k(i.confirmSetLinkButtonLabels.title), 1)
|
|
801
784
|
]),
|
|
802
785
|
_: 1
|
|
803
|
-
},
|
|
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
|
-
})) :
|
|
795
|
+
})) : X("", !0)
|
|
813
796
|
]),
|
|
814
797
|
_: 1
|
|
815
798
|
}),
|
|
816
|
-
|
|
817
|
-
style: W({ "max-height":
|
|
799
|
+
_("div", {
|
|
800
|
+
style: W({ "max-height": n.maxHeight }),
|
|
818
801
|
class: "d-recipe-editor__content"
|
|
819
802
|
}, [
|
|
820
|
-
|
|
803
|
+
a($, f({
|
|
821
804
|
ref: "richTextEditor",
|
|
822
805
|
modelValue: r.internalInputValue,
|
|
823
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
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":
|
|
830
|
-
editable:
|
|
831
|
-
"input-aria-label":
|
|
832
|
-
"input-class": `d-recipe-editor__content-input ${
|
|
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:
|
|
836
|
-
"use-div-tags":
|
|
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] = (
|
|
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
|
|
830
|
+
const Ot = /* @__PURE__ */ Z(ut, [["render", dt]]);
|
|
848
831
|
export {
|
|
849
|
-
|
|
832
|
+
Ot as default
|
|
850
833
|
};
|
|
851
834
|
//# sourceMappingURL=editor.js.map
|