@dialpad/dialtone-vue 2.152.1 → 2.153.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/dist/chunks/{dropdown-6UoczdUY.js → dropdown-YdCyJ5Dq.js} +77 -41
- package/dist/chunks/{dropdown-6UoczdUY.js.map → dropdown-YdCyJ5Dq.js.map} +1 -1
- package/dist/chunks/{dropdown-pHxnQPzT.js → dropdown-mjrYu_mK.js} +77 -41
- package/dist/chunks/{dropdown-pHxnQPzT.js.map → dropdown-mjrYu_mK.js.map} +1 -1
- package/dist/chunks/dropdown_constants-2pGCXy7m.js.map +1 -1
- package/dist/chunks/dropdown_constants-w1MXGC3Z.js.map +1 -1
- package/dist/chunks/{icon_constants-Dy4MEUJL.js → icon_constants-TdxqLsS2.js} +3 -2
- package/dist/chunks/icon_constants-TdxqLsS2.js.map +1 -0
- package/dist/chunks/{icon_constants-QYpmdE0R.js → icon_constants-VEA0wI5C.js} +3 -2
- package/dist/chunks/icon_constants-VEA0wI5C.js.map +1 -0
- package/dist/chunks/{index-gj1jEXP4.js → index-DyqUqjvI.js} +122 -87
- package/dist/chunks/{index-gj1jEXP4.js.map → index-DyqUqjvI.js.map} +1 -1
- package/dist/chunks/{index-anN_sx1F.js → index-NYFNZeHH.js} +5 -13
- package/dist/chunks/{index-anN_sx1F.js.map → index-NYFNZeHH.js.map} +1 -1
- package/dist/chunks/{index-ODod4Oj_.js → index-i65YVk-U.js} +5 -13
- package/dist/chunks/{index-ODod4Oj_.js.map → index-i65YVk-U.js.map} +1 -1
- package/dist/chunks/{index-eJ-WWRdf.js → index-mBWay1Qb.js} +122 -87
- package/dist/chunks/{index-eJ-WWRdf.js.map → index-mBWay1Qb.js.map} +1 -1
- package/dist/chunks/{input-Axw-wFj2.js → input-Hqw33WBe.js} +3 -9
- package/dist/chunks/{input-Axw-wFj2.js.map → input-Hqw33WBe.js.map} +1 -1
- package/dist/chunks/{input-6kbd8Pju.js → input-PhJeBN6r.js} +3 -9
- package/dist/chunks/{input-6kbd8Pju.js.map → input-PhJeBN6r.js.map} +1 -1
- package/dist/chunks/{input_group-qVZaS5Bb.js → input_group-ZI7aVGEp.js} +4 -2
- package/dist/chunks/{input_group-m3cWYUfI.js.map → input_group-ZI7aVGEp.js.map} +1 -1
- package/dist/chunks/{input_group-m3cWYUfI.js → input_group-pE6ec9R3.js} +4 -2
- package/dist/chunks/{input_group-qVZaS5Bb.js.map → input_group-pE6ec9R3.js.map} +1 -1
- package/dist/chunks/{keyboard_list_navigation-ScXhrxya.js → keyboard_list_navigation-YIqTuw1W.js} +6 -5
- package/dist/chunks/{keyboard_list_navigation-fJnl_Iox.js.map → keyboard_list_navigation-YIqTuw1W.js.map} +1 -1
- package/dist/chunks/{keyboard_list_navigation-fJnl_Iox.js → keyboard_list_navigation-x3D6RcC7.js} +6 -5
- package/dist/chunks/{keyboard_list_navigation-ScXhrxya.js.map → keyboard_list_navigation-x3D6RcC7.js.map} +1 -1
- package/dist/chunks/link_constants-AfTWrr-n.js.map +1 -1
- package/dist/chunks/link_constants-x8NwdqmA.js.map +1 -1
- package/dist/chunks/list_item_constants-EiqkqZvP.js.map +1 -1
- package/dist/chunks/list_item_constants-u1xcN9Dd.js.map +1 -1
- package/dist/chunks/{modal-XOr4kiNZ.js → modal-8X6poIZW.js} +4 -2
- package/dist/chunks/{modal-XOr4kiNZ.js.map → modal-8X6poIZW.js.map} +1 -1
- package/dist/chunks/{modal-VgxXAQFP.js → modal-OaWxzqNt.js} +4 -2
- package/dist/chunks/{modal-VgxXAQFP.js.map → modal-OaWxzqNt.js.map} +1 -1
- package/dist/chunks/{notice_action-IRUoLX2d.js → notice_action-qQr3K2TC.js} +71 -46
- package/dist/chunks/{notice_action-IRUoLX2d.js.map → notice_action-qQr3K2TC.js.map} +1 -1
- package/dist/chunks/{notice_action-P6uDyE9x.js → notice_action-tEvvMg7Q.js} +71 -46
- package/dist/chunks/{notice_action-P6uDyE9x.js.map → notice_action-tEvvMg7Q.js.map} +1 -1
- package/dist/chunks/notice_constants-7Qt2CQEY.js.map +1 -1
- package/dist/chunks/notice_constants-UXo9e3bS.js.map +1 -1
- package/dist/chunks/{popover_constants-WsOUIY-m.js → popover_constants-6YkPPbnk.js} +26 -47
- package/dist/chunks/{popover_constants-WsOUIY-m.js.map → popover_constants-6YkPPbnk.js.map} +1 -1
- package/dist/chunks/{popover_constants-XnGWXaxX.js → popover_constants-h9MD6WUt.js} +26 -47
- package/dist/chunks/{popover_constants-XnGWXaxX.js.map → popover_constants-h9MD6WUt.js.map} +1 -1
- package/dist/chunks/{sr_only_close_button-ZaGdAHz7.js → sr_only_close_button-2Q9Ny1Nc.js} +24 -18
- package/dist/chunks/{sr_only_close_button-ZaGdAHz7.js.map → sr_only_close_button-2Q9Ny1Nc.js.map} +1 -1
- package/dist/chunks/{sr_only_close_button-81bHIpPu.js → sr_only_close_button-IjMVfBDE.js} +24 -18
- package/dist/chunks/{sr_only_close_button-81bHIpPu.js.map → sr_only_close_button-IjMVfBDE.js.map} +1 -1
- package/dist/chunks/stack_constants-HraCekPm.js.map +1 -1
- package/dist/chunks/stack_constants-SMzMWnAQ.js.map +1 -1
- package/dist/chunks/{tab-FcsV5VmK.js → tab-79yMX6m6.js} +86 -68
- package/dist/chunks/{tab-V4cb44Ry.js.map → tab-79yMX6m6.js.map} +1 -1
- package/dist/chunks/{tab-V4cb44Ry.js → tab-muPOS7JE.js} +86 -68
- package/dist/chunks/{tab-FcsV5VmK.js.map → tab-muPOS7JE.js.map} +1 -1
- package/dist/common/constants.cjs.map +1 -1
- package/dist/common/constants.js.map +1 -1
- package/dist/common/dates.cjs +3 -1
- package/dist/common/dates.cjs.map +1 -1
- package/dist/common/dates.js +3 -1
- package/dist/common/dates.js.map +1 -1
- package/dist/common/emoji.cjs +1 -1
- package/dist/common/emoji.js +1 -1
- package/dist/common/mixins.cjs +3 -3
- package/dist/common/mixins.js +3 -3
- package/dist/common/utils.cjs +8 -44
- package/dist/common/utils.cjs.map +1 -1
- package/dist/common/utils.js +8 -44
- package/dist/common/utils.js.map +1 -1
- package/dist/common/validators.cjs.map +1 -1
- package/dist/common/validators.js.map +1 -1
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +12 -12
- package/dist/dialtone-vue.js +12 -12
- package/dist/lib/attachment-carousel.cjs +172 -48
- package/dist/lib/attachment-carousel.cjs.map +1 -1
- package/dist/lib/attachment-carousel.js +172 -48
- package/dist/lib/attachment-carousel.js.map +1 -1
- package/dist/lib/avatar.cjs +75 -58
- package/dist/lib/avatar.cjs.map +1 -1
- package/dist/lib/avatar.js +75 -58
- package/dist/lib/avatar.js.map +1 -1
- package/dist/lib/badge.cjs +31 -20
- package/dist/lib/badge.cjs.map +1 -1
- package/dist/lib/badge.js +31 -20
- package/dist/lib/badge.js.map +1 -1
- package/dist/lib/banner.cjs +53 -29
- package/dist/lib/banner.cjs.map +1 -1
- package/dist/lib/banner.js +53 -29
- package/dist/lib/banner.js.map +1 -1
- package/dist/lib/breadcrumbs.cjs +36 -30
- package/dist/lib/breadcrumbs.cjs.map +1 -1
- package/dist/lib/breadcrumbs.js +36 -30
- package/dist/lib/breadcrumbs.js.map +1 -1
- package/dist/lib/button-group.cjs +7 -14
- package/dist/lib/button-group.cjs.map +1 -1
- package/dist/lib/button-group.js +7 -14
- package/dist/lib/button-group.js.map +1 -1
- package/dist/lib/button.cjs +55 -62
- package/dist/lib/button.cjs.map +1 -1
- package/dist/lib/button.js +55 -62
- package/dist/lib/button.js.map +1 -1
- package/dist/lib/callbar-button-with-popover.cjs +91 -23
- package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
- package/dist/lib/callbar-button-with-popover.js +91 -23
- package/dist/lib/callbar-button-with-popover.js.map +1 -1
- package/dist/lib/callbar-button.cjs +49 -33
- package/dist/lib/callbar-button.cjs.map +1 -1
- package/dist/lib/callbar-button.js +49 -33
- package/dist/lib/callbar-button.js.map +1 -1
- package/dist/lib/callbox.cjs +78 -15
- package/dist/lib/callbox.cjs.map +1 -1
- package/dist/lib/callbox.js +78 -15
- package/dist/lib/callbox.js.map +1 -1
- package/dist/lib/card.cjs +16 -23
- package/dist/lib/card.cjs.map +1 -1
- package/dist/lib/card.js +16 -23
- package/dist/lib/card.js.map +1 -1
- package/dist/lib/checkbox-group.cjs +3 -15
- package/dist/lib/checkbox-group.cjs.map +1 -1
- package/dist/lib/checkbox-group.js +3 -15
- package/dist/lib/checkbox-group.js.map +1 -1
- package/dist/lib/checkbox.cjs +52 -16
- package/dist/lib/checkbox.cjs.map +1 -1
- package/dist/lib/checkbox.js +52 -16
- package/dist/lib/checkbox.js.map +1 -1
- package/dist/lib/chip.cjs +58 -26
- package/dist/lib/chip.cjs.map +1 -1
- package/dist/lib/chip.js +58 -26
- package/dist/lib/chip.js.map +1 -1
- package/dist/lib/codeblock.cjs +4 -11
- package/dist/lib/codeblock.cjs.map +1 -1
- package/dist/lib/codeblock.js +4 -11
- package/dist/lib/codeblock.js.map +1 -1
- package/dist/lib/collapsible.cjs +91 -34
- package/dist/lib/collapsible.cjs.map +1 -1
- package/dist/lib/collapsible.js +91 -34
- package/dist/lib/collapsible.js.map +1 -1
- package/dist/lib/combobox-multi-select.cjs +131 -38
- package/dist/lib/combobox-multi-select.cjs.map +1 -1
- package/dist/lib/combobox-multi-select.js +131 -38
- package/dist/lib/combobox-multi-select.js.map +1 -1
- package/dist/lib/combobox-with-popover.cjs +130 -39
- package/dist/lib/combobox-with-popover.cjs.map +1 -1
- package/dist/lib/combobox-with-popover.js +130 -39
- package/dist/lib/combobox-with-popover.js.map +1 -1
- package/dist/lib/combobox.cjs +3 -3
- package/dist/lib/combobox.js +3 -3
- package/dist/lib/contact-centers-row.cjs +86 -29
- package/dist/lib/contact-centers-row.cjs.map +1 -1
- package/dist/lib/contact-centers-row.js +86 -29
- package/dist/lib/contact-centers-row.js.map +1 -1
- package/dist/lib/contact-info.cjs +95 -24
- package/dist/lib/contact-info.cjs.map +1 -1
- package/dist/lib/contact-info.js +95 -24
- package/dist/lib/contact-info.js.map +1 -1
- package/dist/lib/contact-row.cjs +61 -18
- package/dist/lib/contact-row.cjs.map +1 -1
- package/dist/lib/contact-row.js +61 -18
- package/dist/lib/contact-row.js.map +1 -1
- package/dist/lib/datepicker.cjs +361 -102
- package/dist/lib/datepicker.cjs.map +1 -1
- package/dist/lib/datepicker.js +361 -102
- package/dist/lib/datepicker.js.map +1 -1
- package/dist/lib/description-list.cjs +11 -12
- package/dist/lib/description-list.cjs.map +1 -1
- package/dist/lib/description-list.js +11 -12
- package/dist/lib/description-list.js.map +1 -1
- package/dist/lib/dropdown.cjs +13 -17
- package/dist/lib/dropdown.cjs.map +1 -1
- package/dist/lib/dropdown.js +13 -17
- package/dist/lib/dropdown.js.map +1 -1
- package/dist/lib/editor.cjs +409 -109
- package/dist/lib/editor.cjs.map +1 -1
- package/dist/lib/editor.js +409 -109
- package/dist/lib/editor.js.map +1 -1
- package/dist/lib/emoji-picker.cjs +512 -234
- package/dist/lib/emoji-picker.cjs.map +1 -1
- package/dist/lib/emoji-picker.js +512 -234
- package/dist/lib/emoji-picker.js.map +1 -1
- package/dist/lib/emoji-row.cjs +69 -31
- package/dist/lib/emoji-row.cjs.map +1 -1
- package/dist/lib/emoji-row.js +69 -31
- package/dist/lib/emoji-row.js.map +1 -1
- package/dist/lib/emoji-text-wrapper.cjs +14 -22
- package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
- package/dist/lib/emoji-text-wrapper.js +14 -22
- package/dist/lib/emoji-text-wrapper.js.map +1 -1
- package/dist/lib/emoji.cjs +40 -13
- package/dist/lib/emoji.cjs.map +1 -1
- package/dist/lib/emoji.js +40 -13
- package/dist/lib/emoji.js.map +1 -1
- package/dist/lib/empty-state.cjs +27 -12
- package/dist/lib/empty-state.cjs.map +1 -1
- package/dist/lib/empty-state.js +27 -12
- package/dist/lib/empty-state.js.map +1 -1
- package/dist/lib/feed-item-row.cjs +106 -27
- package/dist/lib/feed-item-row.cjs.map +1 -1
- package/dist/lib/feed-item-row.js +106 -27
- package/dist/lib/feed-item-row.js.map +1 -1
- package/dist/lib/feed-pill.cjs +90 -35
- package/dist/lib/feed-pill.cjs.map +1 -1
- package/dist/lib/feed-pill.js +90 -35
- package/dist/lib/feed-pill.js.map +1 -1
- package/dist/lib/general-row.cjs +184 -75
- package/dist/lib/general-row.cjs.map +1 -1
- package/dist/lib/general-row.js +184 -75
- package/dist/lib/general-row.js.map +1 -1
- package/dist/lib/group-row.cjs +27 -16
- package/dist/lib/group-row.cjs.map +1 -1
- package/dist/lib/group-row.js +27 -16
- package/dist/lib/group-row.js.map +1 -1
- package/dist/lib/grouped-chip.cjs +68 -20
- package/dist/lib/grouped-chip.cjs.map +1 -1
- package/dist/lib/grouped-chip.js +68 -20
- package/dist/lib/grouped-chip.js.map +1 -1
- package/dist/lib/hovercard.cjs +71 -41
- package/dist/lib/hovercard.cjs.map +1 -1
- package/dist/lib/hovercard.js +71 -41
- package/dist/lib/hovercard.js.map +1 -1
- package/dist/lib/icon.cjs +10 -12
- package/dist/lib/icon.cjs.map +1 -1
- package/dist/lib/icon.js +10 -12
- package/dist/lib/icon.js.map +1 -1
- package/dist/lib/illustration.cjs +9 -12
- package/dist/lib/illustration.cjs.map +1 -1
- package/dist/lib/illustration.js +9 -12
- package/dist/lib/illustration.js.map +1 -1
- package/dist/lib/image-viewer.cjs +98 -23
- package/dist/lib/image-viewer.cjs.map +1 -1
- package/dist/lib/image-viewer.js +98 -23
- package/dist/lib/image-viewer.js.map +1 -1
- package/dist/lib/input-group.cjs +24 -14
- package/dist/lib/input-group.cjs.map +1 -1
- package/dist/lib/input-group.js +24 -14
- package/dist/lib/input-group.js.map +1 -1
- package/dist/lib/input.cjs +108 -40
- package/dist/lib/input.cjs.map +1 -1
- package/dist/lib/input.js +108 -40
- package/dist/lib/input.js.map +1 -1
- package/dist/lib/item-layout.cjs +42 -11
- package/dist/lib/item-layout.cjs.map +1 -1
- package/dist/lib/item-layout.js +42 -11
- package/dist/lib/item-layout.js.map +1 -1
- package/dist/lib/ivr-node.cjs +135 -47
- package/dist/lib/ivr-node.cjs.map +1 -1
- package/dist/lib/ivr-node.js +135 -47
- package/dist/lib/ivr-node.js.map +1 -1
- package/dist/lib/keyboard-shortcut.cjs +35 -23
- package/dist/lib/keyboard-shortcut.cjs.map +1 -1
- package/dist/lib/keyboard-shortcut.js +35 -23
- package/dist/lib/keyboard-shortcut.js.map +1 -1
- package/dist/lib/lazy-show.cjs +15 -11
- package/dist/lib/lazy-show.cjs.map +1 -1
- package/dist/lib/lazy-show.js +15 -11
- package/dist/lib/lazy-show.js.map +1 -1
- package/dist/lib/link.cjs +9 -15
- package/dist/lib/link.cjs.map +1 -1
- package/dist/lib/link.js +9 -15
- package/dist/lib/link.js.map +1 -1
- package/dist/lib/list-item-group.cjs +17 -11
- package/dist/lib/list-item-group.cjs.map +1 -1
- package/dist/lib/list-item-group.js +17 -11
- package/dist/lib/list-item-group.js.map +1 -1
- package/dist/lib/list-item.cjs +42 -23
- package/dist/lib/list-item.cjs.map +1 -1
- package/dist/lib/list-item.js +42 -23
- package/dist/lib/list-item.js.map +1 -1
- package/dist/lib/message-input.cjs +360 -97
- package/dist/lib/message-input.cjs.map +1 -1
- package/dist/lib/message-input.js +360 -97
- package/dist/lib/message-input.js.map +1 -1
- package/dist/lib/modal.cjs +94 -36
- package/dist/lib/modal.cjs.map +1 -1
- package/dist/lib/modal.js +94 -36
- package/dist/lib/modal.js.map +1 -1
- package/dist/lib/notice.cjs +40 -21
- package/dist/lib/notice.cjs.map +1 -1
- package/dist/lib/notice.js +40 -21
- package/dist/lib/notice.js.map +1 -1
- package/dist/lib/pagination.cjs +81 -20
- package/dist/lib/pagination.cjs.map +1 -1
- package/dist/lib/pagination.js +81 -20
- package/dist/lib/pagination.js.map +1 -1
- package/dist/lib/popover.cjs +194 -75
- package/dist/lib/popover.cjs.map +1 -1
- package/dist/lib/popover.js +195 -76
- package/dist/lib/popover.js.map +1 -1
- package/dist/lib/presence.cjs +23 -22
- package/dist/lib/presence.cjs.map +1 -1
- package/dist/lib/presence.js +23 -22
- package/dist/lib/presence.js.map +1 -1
- package/dist/lib/radio-group.cjs +2 -11
- package/dist/lib/radio-group.cjs.map +1 -1
- package/dist/lib/radio-group.js +2 -11
- package/dist/lib/radio-group.js.map +1 -1
- package/dist/lib/radio.cjs +47 -15
- package/dist/lib/radio.cjs.map +1 -1
- package/dist/lib/radio.js +47 -15
- package/dist/lib/radio.js.map +1 -1
- package/dist/lib/rich-text-editor.cjs +336 -317
- package/dist/lib/rich-text-editor.cjs.map +1 -1
- package/dist/lib/rich-text-editor.js +336 -317
- package/dist/lib/rich-text-editor.js.map +1 -1
- package/dist/lib/root-layout.cjs +33 -15
- package/dist/lib/root-layout.cjs.map +1 -1
- package/dist/lib/root-layout.js +33 -15
- package/dist/lib/root-layout.js.map +1 -1
- package/dist/lib/scrollbar-directive.cjs.map +1 -1
- package/dist/lib/scrollbar-directive.js.map +1 -1
- package/dist/lib/select-menu.cjs +52 -33
- package/dist/lib/select-menu.cjs.map +1 -1
- package/dist/lib/select-menu.js +52 -33
- package/dist/lib/select-menu.js.map +1 -1
- package/dist/lib/settings-menu-button.cjs +42 -16
- package/dist/lib/settings-menu-button.cjs.map +1 -1
- package/dist/lib/settings-menu-button.js +42 -16
- package/dist/lib/settings-menu-button.js.map +1 -1
- package/dist/lib/skeleton.cjs +118 -93
- package/dist/lib/skeleton.cjs.map +1 -1
- package/dist/lib/skeleton.js +118 -93
- package/dist/lib/skeleton.js.map +1 -1
- package/dist/lib/split-button.cjs +164 -64
- package/dist/lib/split-button.cjs.map +1 -1
- package/dist/lib/split-button.js +164 -64
- package/dist/lib/split-button.js.map +1 -1
- package/dist/lib/stack.cjs +21 -33
- package/dist/lib/stack.cjs.map +1 -1
- package/dist/lib/stack.js +21 -33
- package/dist/lib/stack.js.map +1 -1
- package/dist/lib/tabs.cjs +20 -13
- package/dist/lib/tabs.cjs.map +1 -1
- package/dist/lib/tabs.js +20 -13
- package/dist/lib/tabs.js.map +1 -1
- package/dist/lib/time-pill.cjs +8 -11
- package/dist/lib/time-pill.cjs.map +1 -1
- package/dist/lib/time-pill.js +8 -11
- package/dist/lib/time-pill.js.map +1 -1
- package/dist/lib/toast.cjs +42 -21
- package/dist/lib/toast.cjs.map +1 -1
- package/dist/lib/toast.js +42 -21
- package/dist/lib/toast.js.map +1 -1
- package/dist/lib/toggle.cjs +28 -24
- package/dist/lib/toggle.cjs.map +1 -1
- package/dist/lib/toggle.js +28 -24
- package/dist/lib/toggle.js.map +1 -1
- package/dist/lib/tooltip-directive.cjs +32 -26
- package/dist/lib/tooltip-directive.cjs.map +1 -1
- package/dist/lib/tooltip-directive.js +32 -26
- package/dist/lib/tooltip-directive.js.map +1 -1
- package/dist/lib/tooltip.cjs +31 -21
- package/dist/lib/tooltip.cjs.map +1 -1
- package/dist/lib/tooltip.js +32 -22
- package/dist/lib/tooltip.js.map +1 -1
- package/dist/lib/top-banner-info.cjs +18 -21
- package/dist/lib/top-banner-info.cjs.map +1 -1
- package/dist/lib/top-banner-info.js +18 -21
- package/dist/lib/top-banner-info.js.map +1 -1
- package/dist/lib/unread-pill.cjs +18 -12
- package/dist/lib/unread-pill.cjs.map +1 -1
- package/dist/lib/unread-pill.js +18 -12
- package/dist/lib/unread-pill.js.map +1 -1
- package/dist/lib/validation-messages.cjs +23 -16
- package/dist/lib/validation-messages.cjs.map +1 -1
- package/dist/lib/validation-messages.js +23 -16
- package/dist/lib/validation-messages.js.map +1 -1
- package/dist/types/common/emoji/index.d.ts +2 -59236
- package/dist/types/common/emoji/index.d.ts.map +1 -1
- package/dist/types/components/button/button.vue.d.ts +1 -1
- package/dist/types/components/chip/chip.vue.d.ts +1 -1
- package/dist/types/components/combobox/combobox.vue.d.ts +1 -1
- package/dist/types/components/icon/icon.vue.d.ts +2 -2
- package/dist/types/components/icon/icon_constants.d.ts +1 -1
- package/dist/types/components/icon/icon_constants.d.ts.map +1 -1
- package/dist/types/components/illustration/illustration.vue.d.ts +2 -2
- package/dist/types/components/illustration/illustration_constants.d.ts +1 -1
- package/dist/types/components/illustration/illustration_constants.d.ts.map +1 -1
- package/dist/types/components/image_viewer/image_viewer.vue.d.ts +21 -0
- package/dist/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
- package/dist/types/components/input/input.vue.d.ts +1 -1
- package/dist/types/components/modal/modal.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +1 -1
- package/dist/types/components/split_button/split_button-alpha.vue.d.ts +1 -1
- package/dist/types/components/toast/toast.vue.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.vue.d.ts +1 -1
- package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -1
- package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts +1 -1
- package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
- package/package.json +3 -2
- package/dist/chunks/icon_constants-Dy4MEUJL.js.map +0 -1
- package/dist/chunks/icon_constants-QYpmdE0R.js.map +0 -1
|
@@ -21,7 +21,7 @@ const History = require("@tiptap/extension-history");
|
|
|
21
21
|
const core = require("@tiptap/core");
|
|
22
22
|
const _pluginVue2_normalizer = require("../chunks/_plugin-vue2_normalizer-1aBeR4AK.js");
|
|
23
23
|
const lib_emoji = require("./emoji.cjs");
|
|
24
|
-
const common_emoji = require("../chunks/index-
|
|
24
|
+
const common_emoji = require("../chunks/index-NYFNZeHH.js");
|
|
25
25
|
const state = require("@tiptap/pm/state");
|
|
26
26
|
const Suggestion = require("@tiptap/suggestion");
|
|
27
27
|
const dialtoneEmojis = require("@dialpad/dialtone-emojis");
|
|
@@ -35,7 +35,7 @@ const lib_avatar = require("./avatar.cjs");
|
|
|
35
35
|
const DtIconHash = require("@dialpad/dialtone-icons/vue2/hash");
|
|
36
36
|
const DtIconLock = require("@dialpad/dialtone-icons/vue2/lock");
|
|
37
37
|
require("./skeleton.cjs");
|
|
38
|
-
require("../chunks/icon_constants-
|
|
38
|
+
require("../chunks/icon_constants-VEA0wI5C.js");
|
|
39
39
|
require("@dialpad/dialtone-icons/icons.json");
|
|
40
40
|
require("emoji-toolkit/emoji_strategy.json");
|
|
41
41
|
require("../chunks/list_item_constants-EiqkqZvP.js");
|
|
@@ -57,19 +57,17 @@ const _sfc_main$9 = {
|
|
|
57
57
|
};
|
|
58
58
|
var _sfc_render$9 = function render() {
|
|
59
59
|
var _vm = this, _c = _vm._self._c;
|
|
60
|
-
return _c("node-view-wrapper", {
|
|
60
|
+
return _c("node-view-wrapper", {
|
|
61
|
+
staticClass: "d-d-inline-block d-va-bottom d-lh0"
|
|
62
|
+
}, [_c("dt-emoji", {
|
|
63
|
+
attrs: {
|
|
64
|
+
"size": "500",
|
|
65
|
+
"code": _vm.node.attrs.code
|
|
66
|
+
}
|
|
67
|
+
})], 1);
|
|
61
68
|
};
|
|
62
69
|
var _sfc_staticRenderFns$9 = [];
|
|
63
|
-
var __component__$9 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
64
|
-
_sfc_main$9,
|
|
65
|
-
_sfc_render$9,
|
|
66
|
-
_sfc_staticRenderFns$9,
|
|
67
|
-
false,
|
|
68
|
-
null,
|
|
69
|
-
null,
|
|
70
|
-
null,
|
|
71
|
-
null
|
|
72
|
-
);
|
|
70
|
+
var __component__$9 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$9, _sfc_render$9, _sfc_staticRenderFns$9, false, null, null, null, null);
|
|
73
71
|
const EmojiComponent = __component__$9.exports;
|
|
74
72
|
const _sfc_main$8 = {
|
|
75
73
|
name: "SuggestionList",
|
|
@@ -105,7 +103,9 @@ const _sfc_main$8 = {
|
|
|
105
103
|
}
|
|
106
104
|
},
|
|
107
105
|
methods: {
|
|
108
|
-
onKeyDown({
|
|
106
|
+
onKeyDown({
|
|
107
|
+
event
|
|
108
|
+
}) {
|
|
109
109
|
if (event.key === "ArrowUp") {
|
|
110
110
|
this.upHandler();
|
|
111
111
|
return true;
|
|
@@ -148,13 +148,22 @@ const _sfc_main$8 = {
|
|
|
148
148
|
this.command(item);
|
|
149
149
|
return;
|
|
150
150
|
case "mention":
|
|
151
|
-
this.command({
|
|
151
|
+
this.command({
|
|
152
|
+
name: item.name,
|
|
153
|
+
id: item.id,
|
|
154
|
+
avatarSrc: item.avatarSrc
|
|
155
|
+
});
|
|
152
156
|
break;
|
|
153
157
|
case "channel":
|
|
154
|
-
this.command({
|
|
158
|
+
this.command({
|
|
159
|
+
name: item.name,
|
|
160
|
+
id: item.id
|
|
161
|
+
});
|
|
155
162
|
break;
|
|
156
163
|
case "slash-command":
|
|
157
|
-
this.command({
|
|
164
|
+
this.command({
|
|
165
|
+
command: item.command
|
|
166
|
+
});
|
|
158
167
|
break;
|
|
159
168
|
}
|
|
160
169
|
}
|
|
@@ -162,29 +171,45 @@ const _sfc_main$8 = {
|
|
|
162
171
|
};
|
|
163
172
|
var _sfc_render$8 = function render2() {
|
|
164
173
|
var _vm = this, _c = _vm._self._c;
|
|
165
|
-
return _c("div", {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
174
|
+
return _c("div", {
|
|
175
|
+
staticClass: "d-popover__dialog dt-suggestion-list__container"
|
|
176
|
+
}, [_c("ul", {
|
|
177
|
+
directives: [{
|
|
178
|
+
name: "show",
|
|
179
|
+
rawName: "v-show",
|
|
180
|
+
value: _vm.items.length,
|
|
181
|
+
expression: "items.length"
|
|
182
|
+
}],
|
|
183
|
+
ref: "suggestionList",
|
|
184
|
+
staticClass: "dt-suggestion-list"
|
|
185
|
+
}, _vm._l(_vm.items, function(item, index) {
|
|
186
|
+
return _c("dt-list-item", {
|
|
187
|
+
key: item.id,
|
|
188
|
+
class: ["dt-suggestion-list--item", {
|
|
189
|
+
"dt-list-item--highlighted": index === _vm.selectedIndex
|
|
190
|
+
}],
|
|
191
|
+
attrs: {
|
|
192
|
+
"navigation-type": "arrow-keys"
|
|
193
|
+
},
|
|
194
|
+
on: {
|
|
195
|
+
"click": function($event) {
|
|
196
|
+
return _vm.selectItem(index);
|
|
197
|
+
},
|
|
198
|
+
"keydown": function($event) {
|
|
199
|
+
$event.preventDefault();
|
|
200
|
+
return _vm.onKeyDown.apply(null, arguments);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}, [_c(_vm.itemComponent, {
|
|
204
|
+
tag: "component",
|
|
205
|
+
attrs: {
|
|
206
|
+
"item": item
|
|
207
|
+
}
|
|
208
|
+
})], 1);
|
|
175
209
|
}), 1)]);
|
|
176
210
|
};
|
|
177
211
|
var _sfc_staticRenderFns$8 = [];
|
|
178
|
-
var __component__$8 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
179
|
-
_sfc_main$8,
|
|
180
|
-
_sfc_render$8,
|
|
181
|
-
_sfc_staticRenderFns$8,
|
|
182
|
-
false,
|
|
183
|
-
null,
|
|
184
|
-
null,
|
|
185
|
-
null,
|
|
186
|
-
null
|
|
187
|
-
);
|
|
212
|
+
var __component__$8 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$8, _sfc_render$8, _sfc_staticRenderFns$8, false, null, null, null, null);
|
|
188
213
|
const SuggestionList = __component__$8.exports;
|
|
189
214
|
const _sfc_main$7 = {
|
|
190
215
|
name: "EmojiSuggestion",
|
|
@@ -201,24 +226,27 @@ const _sfc_main$7 = {
|
|
|
201
226
|
};
|
|
202
227
|
var _sfc_render$7 = function render3() {
|
|
203
228
|
var _vm = this, _c = _vm._self._c;
|
|
204
|
-
return _c("dt-stack", {
|
|
229
|
+
return _c("dt-stack", {
|
|
230
|
+
attrs: {
|
|
231
|
+
"direction": "row",
|
|
232
|
+
"gap": "400"
|
|
233
|
+
}
|
|
234
|
+
}, [_c("dt-emoji", {
|
|
235
|
+
attrs: {
|
|
236
|
+
"size": "200",
|
|
237
|
+
"code": _vm.item.code
|
|
238
|
+
}
|
|
239
|
+
}), _vm._v(" " + _vm._s(_vm.item.code) + " ")], 1);
|
|
205
240
|
};
|
|
206
241
|
var _sfc_staticRenderFns$7 = [];
|
|
207
|
-
var __component__$7 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
208
|
-
_sfc_main$7,
|
|
209
|
-
_sfc_render$7,
|
|
210
|
-
_sfc_staticRenderFns$7,
|
|
211
|
-
false,
|
|
212
|
-
null,
|
|
213
|
-
null,
|
|
214
|
-
null,
|
|
215
|
-
null
|
|
216
|
-
);
|
|
242
|
+
var __component__$7 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$7, _sfc_render$7, _sfc_staticRenderFns$7, false, null, null, null, null);
|
|
217
243
|
const EmojiSuggestion = __component__$7.exports;
|
|
218
244
|
const hideOnEsc = {
|
|
219
245
|
name: "hideOnEsc",
|
|
220
246
|
defaultValue: true,
|
|
221
|
-
fn({
|
|
247
|
+
fn({
|
|
248
|
+
hide
|
|
249
|
+
}) {
|
|
222
250
|
function onKeyDown(event) {
|
|
223
251
|
if (event.keyCode === 27) {
|
|
224
252
|
hide();
|
|
@@ -235,7 +263,9 @@ const hideOnEsc = {
|
|
|
235
263
|
}
|
|
236
264
|
};
|
|
237
265
|
const suggestionOptions = {
|
|
238
|
-
items: ({
|
|
266
|
+
items: ({
|
|
267
|
+
query
|
|
268
|
+
}) => {
|
|
239
269
|
if (query.length < 2) {
|
|
240
270
|
return [];
|
|
241
271
|
}
|
|
@@ -247,26 +277,29 @@ const suggestionOptions = {
|
|
|
247
277
|
return false;
|
|
248
278
|
});
|
|
249
279
|
return filteredEmoji.map((item) => {
|
|
250
|
-
return {
|
|
280
|
+
return {
|
|
281
|
+
code: item.shortname
|
|
282
|
+
};
|
|
251
283
|
});
|
|
252
284
|
},
|
|
253
|
-
command: ({
|
|
285
|
+
command: ({
|
|
286
|
+
editor,
|
|
287
|
+
range,
|
|
288
|
+
props
|
|
289
|
+
}) => {
|
|
254
290
|
var _a, _b;
|
|
255
291
|
const nodeAfter = editor.view.state.selection.$to.nodeAfter;
|
|
256
292
|
const overrideSpace = (_a = nodeAfter == null ? void 0 : nodeAfter.text) == null ? void 0 : _a.startsWith(" ");
|
|
257
293
|
if (overrideSpace) {
|
|
258
294
|
range.to += 1;
|
|
259
295
|
}
|
|
260
|
-
editor.chain().focus().insertContentAt(range, [
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
text: " "
|
|
268
|
-
}
|
|
269
|
-
]).run();
|
|
296
|
+
editor.chain().focus().insertContentAt(range, [{
|
|
297
|
+
type: "emoji",
|
|
298
|
+
attrs: props
|
|
299
|
+
}, {
|
|
300
|
+
type: "text",
|
|
301
|
+
text: " "
|
|
302
|
+
}]).run();
|
|
270
303
|
(_b = window.getSelection()) == null ? void 0 : _b.collapseToEnd();
|
|
271
304
|
},
|
|
272
305
|
render: () => {
|
|
@@ -380,17 +413,19 @@ const Emoji = core.Node.create({
|
|
|
380
413
|
};
|
|
381
414
|
},
|
|
382
415
|
parseHTML() {
|
|
383
|
-
return [
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
}
|
|
387
|
-
];
|
|
416
|
+
return [{
|
|
417
|
+
tag: "emoji-component"
|
|
418
|
+
}];
|
|
388
419
|
},
|
|
389
|
-
renderText({
|
|
420
|
+
renderText({
|
|
421
|
+
node
|
|
422
|
+
}) {
|
|
390
423
|
const unicodeEmoji = common_emoji.stringToUnicode(common_emoji.codeToEmojiData(node.attrs.code).unicode_output);
|
|
391
424
|
return unicodeEmoji;
|
|
392
425
|
},
|
|
393
|
-
renderHTML({
|
|
426
|
+
renderHTML({
|
|
427
|
+
HTMLAttributes
|
|
428
|
+
}) {
|
|
394
429
|
return ["emoji-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
|
|
395
430
|
},
|
|
396
431
|
addInputRules() {
|
|
@@ -428,35 +463,30 @@ const Emoji = core.Node.create({
|
|
|
428
463
|
];
|
|
429
464
|
},
|
|
430
465
|
addPasteRules() {
|
|
431
|
-
return [
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
}
|
|
449
|
-
})
|
|
450
|
-
];
|
|
466
|
+
return [core.nodePasteRule({
|
|
467
|
+
find: shortCodePasteMatch,
|
|
468
|
+
type: this.type,
|
|
469
|
+
getAttributes(attrs) {
|
|
470
|
+
return {
|
|
471
|
+
code: attrs[0]
|
|
472
|
+
};
|
|
473
|
+
}
|
|
474
|
+
}), core.nodePasteRule({
|
|
475
|
+
find: common_emoji.emojiRegex,
|
|
476
|
+
type: this.type,
|
|
477
|
+
getAttributes(attrs) {
|
|
478
|
+
return {
|
|
479
|
+
code: attrs[0]
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
})];
|
|
451
483
|
},
|
|
452
484
|
addProseMirrorPlugins() {
|
|
453
|
-
return [
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
})
|
|
459
|
-
];
|
|
485
|
+
return [Suggestion({
|
|
486
|
+
editor: this.editor,
|
|
487
|
+
...this.options.suggestion,
|
|
488
|
+
...suggestionOptions
|
|
489
|
+
})];
|
|
460
490
|
}
|
|
461
491
|
});
|
|
462
492
|
function getRegexMatches(text, regex, validator = () => true) {
|
|
@@ -474,13 +504,7 @@ function hasValidPrefix(text, match) {
|
|
|
474
504
|
return !["#", "@"].includes(text.charAt(match.index)) && !["#", "@"].includes(text.charAt(match.index - 1));
|
|
475
505
|
}
|
|
476
506
|
function trimEndPunctiation(string) {
|
|
477
|
-
const endPunctuationRegex = new RegExp(
|
|
478
|
-
"(?:" + [
|
|
479
|
-
`[!?.,:;'"]`,
|
|
480
|
-
"(?:&|&)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)+$"
|
|
481
|
-
].join("|"),
|
|
482
|
-
"g"
|
|
483
|
-
);
|
|
507
|
+
const endPunctuationRegex = new RegExp("(?:" + [`[!?.,:;'"]`, "(?:&|&)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)+$"].join("|"), "g");
|
|
484
508
|
return string.replace(endPunctuationRegex, "");
|
|
485
509
|
}
|
|
486
510
|
function getWordAt(text, index) {
|
|
@@ -531,18 +555,8 @@ function addMarks(text, pos, from, to, tr, type) {
|
|
|
531
555
|
let rangeFrom = from - pos - 1;
|
|
532
556
|
rangeFrom = rangeFrom < 0 ? 0 : rangeFrom;
|
|
533
557
|
const rangeTo = to - pos;
|
|
534
|
-
const firstWordInRange = getWordAtUntil(
|
|
535
|
-
|
|
536
|
-
rangeFrom,
|
|
537
|
-
"left",
|
|
538
|
-
partialPhoneNumberRegex
|
|
539
|
-
);
|
|
540
|
-
const lastWordInRange = getWordAtUntil(
|
|
541
|
-
text,
|
|
542
|
-
rangeTo,
|
|
543
|
-
"right",
|
|
544
|
-
partialPhoneNumberRegex
|
|
545
|
-
);
|
|
558
|
+
const firstWordInRange = getWordAtUntil(text, rangeFrom, "left", partialPhoneNumberRegex);
|
|
559
|
+
const lastWordInRange = getWordAtUntil(text, rangeTo, "right", partialPhoneNumberRegex);
|
|
546
560
|
const wordsInRange = text.slice(firstWordInRange.from, lastWordInRange.to);
|
|
547
561
|
const matches = getRegexMatches(wordsInRange, common_utils.linkRegex, hasValidPrefix);
|
|
548
562
|
matches.forEach((match) => {
|
|
@@ -561,33 +575,29 @@ function autolink(options) {
|
|
|
561
575
|
if (hasInitialized && !contentChanged) {
|
|
562
576
|
return;
|
|
563
577
|
}
|
|
564
|
-
const {
|
|
565
|
-
|
|
578
|
+
const {
|
|
579
|
+
tr
|
|
580
|
+
} = newState;
|
|
581
|
+
const {
|
|
582
|
+
textContent
|
|
583
|
+
} = newState.doc;
|
|
566
584
|
if (!hasInitialized) {
|
|
567
585
|
addMarks(textContent, 0, 0, textContent.length, tr, options.type);
|
|
568
586
|
}
|
|
569
587
|
hasInitialized = true;
|
|
570
|
-
const transform = core.combineTransactionSteps(
|
|
571
|
-
oldState.doc,
|
|
572
|
-
[...transactions]
|
|
573
|
-
);
|
|
588
|
+
const transform = core.combineTransactionSteps(oldState.doc, [...transactions]);
|
|
574
589
|
const changes = core.getChangedRanges(transform);
|
|
575
|
-
changes.forEach(({
|
|
590
|
+
changes.forEach(({
|
|
591
|
+
oldRange,
|
|
592
|
+
newRange
|
|
593
|
+
}) => {
|
|
576
594
|
removeMarks(newRange, newState.doc, tr, options.type);
|
|
577
|
-
const paragraphs = core.findChildrenInRange(
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
)
|
|
582
|
-
|
|
583
|
-
addMarks(
|
|
584
|
-
node.textContent,
|
|
585
|
-
pos,
|
|
586
|
-
oldRange.from,
|
|
587
|
-
newRange.to,
|
|
588
|
-
tr,
|
|
589
|
-
options.type
|
|
590
|
-
);
|
|
595
|
+
const paragraphs = core.findChildrenInRange(newState.doc, newRange, (node) => node.isTextblock);
|
|
596
|
+
paragraphs.forEach(({
|
|
597
|
+
node,
|
|
598
|
+
pos
|
|
599
|
+
}) => {
|
|
600
|
+
addMarks(node.textContent, pos, oldRange.from, newRange.to, tr, options.type);
|
|
591
601
|
});
|
|
592
602
|
});
|
|
593
603
|
return tr;
|
|
@@ -600,23 +610,20 @@ const defaultAttributes = {
|
|
|
600
610
|
};
|
|
601
611
|
const CustomLink = core.Mark.create({
|
|
602
612
|
name: "CustomLink",
|
|
603
|
-
renderHTML({
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
this.options.HTMLAttributes,
|
|
608
|
-
HTMLAttributes,
|
|
609
|
-
defaultAttributes
|
|
610
|
-
)
|
|
611
|
-
];
|
|
613
|
+
renderHTML({
|
|
614
|
+
HTMLAttributes
|
|
615
|
+
}) {
|
|
616
|
+
return ["a", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes, defaultAttributes)];
|
|
612
617
|
},
|
|
613
|
-
renderText({
|
|
618
|
+
renderText({
|
|
619
|
+
node
|
|
620
|
+
}) {
|
|
614
621
|
return node.attrs.text;
|
|
615
622
|
},
|
|
616
623
|
addProseMirrorPlugins() {
|
|
617
|
-
return [
|
|
618
|
-
|
|
619
|
-
];
|
|
624
|
+
return [autolink({
|
|
625
|
+
type: this.type
|
|
626
|
+
})];
|
|
620
627
|
}
|
|
621
628
|
});
|
|
622
629
|
const _sfc_main$6 = {
|
|
@@ -634,30 +641,25 @@ const _sfc_main$6 = {
|
|
|
634
641
|
};
|
|
635
642
|
var _sfc_render$6 = function render4() {
|
|
636
643
|
var _vm = this, _c = _vm._self._c;
|
|
637
|
-
return _c("node-view-wrapper", {
|
|
644
|
+
return _c("node-view-wrapper", {
|
|
645
|
+
staticClass: "d-d-inline-block"
|
|
646
|
+
}, [_c("dt-link", {
|
|
647
|
+
attrs: {
|
|
648
|
+
"kind": "mention"
|
|
649
|
+
}
|
|
650
|
+
}, [_vm._v(" " + _vm._s(_vm.text) + " ")])], 1);
|
|
638
651
|
};
|
|
639
652
|
var _sfc_staticRenderFns$6 = [];
|
|
640
|
-
var __component__$6 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
641
|
-
_sfc_main$6,
|
|
642
|
-
_sfc_render$6,
|
|
643
|
-
_sfc_staticRenderFns$6,
|
|
644
|
-
false,
|
|
645
|
-
null,
|
|
646
|
-
null,
|
|
647
|
-
null,
|
|
648
|
-
null
|
|
649
|
-
);
|
|
653
|
+
var __component__$6 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$6, _sfc_render$6, _sfc_staticRenderFns$6, false, null, null, null, null);
|
|
650
654
|
const MentionComponent = __component__$6.exports;
|
|
651
655
|
const MentionPlugin = Mention.extend({
|
|
652
656
|
addNodeView() {
|
|
653
657
|
return vue2.VueNodeViewRenderer(MentionComponent);
|
|
654
658
|
},
|
|
655
659
|
parseHTML() {
|
|
656
|
-
return [
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
}
|
|
660
|
-
];
|
|
660
|
+
return [{
|
|
661
|
+
tag: "mention-component"
|
|
662
|
+
}];
|
|
661
663
|
},
|
|
662
664
|
addAttributes() {
|
|
663
665
|
return {
|
|
@@ -672,10 +674,14 @@ const MentionPlugin = Mention.extend({
|
|
|
672
674
|
}
|
|
673
675
|
};
|
|
674
676
|
},
|
|
675
|
-
renderText({
|
|
677
|
+
renderText({
|
|
678
|
+
node
|
|
679
|
+
}) {
|
|
676
680
|
return `@${node.attrs.id}`;
|
|
677
681
|
},
|
|
678
|
-
renderHTML({
|
|
682
|
+
renderHTML({
|
|
683
|
+
HTMLAttributes
|
|
684
|
+
}) {
|
|
679
685
|
return ["mention-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
|
|
680
686
|
}
|
|
681
687
|
}).configure({
|
|
@@ -699,19 +705,16 @@ const _sfc_main$5 = {
|
|
|
699
705
|
};
|
|
700
706
|
var _sfc_render$5 = function render5() {
|
|
701
707
|
var _vm = this, _c = _vm._self._c;
|
|
702
|
-
return _c("node-view-wrapper", {
|
|
708
|
+
return _c("node-view-wrapper", {
|
|
709
|
+
staticClass: "d-d-inline-block"
|
|
710
|
+
}, [_c("dt-link", {
|
|
711
|
+
attrs: {
|
|
712
|
+
"kind": "mention"
|
|
713
|
+
}
|
|
714
|
+
}, [_vm._v(" " + _vm._s(_vm.text) + " ")])], 1);
|
|
703
715
|
};
|
|
704
716
|
var _sfc_staticRenderFns$5 = [];
|
|
705
|
-
var __component__$5 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
706
|
-
_sfc_main$5,
|
|
707
|
-
_sfc_render$5,
|
|
708
|
-
_sfc_staticRenderFns$5,
|
|
709
|
-
false,
|
|
710
|
-
null,
|
|
711
|
-
null,
|
|
712
|
-
null,
|
|
713
|
-
null
|
|
714
|
-
);
|
|
717
|
+
var __component__$5 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$5, _sfc_render$5, _sfc_staticRenderFns$5, false, null, null, null, null);
|
|
715
718
|
const ChannelComponent = __component__$5.exports;
|
|
716
719
|
const ChannelPlugin = Mention.extend({
|
|
717
720
|
name: "channel",
|
|
@@ -719,11 +722,9 @@ const ChannelPlugin = Mention.extend({
|
|
|
719
722
|
return vue2.VueNodeViewRenderer(ChannelComponent);
|
|
720
723
|
},
|
|
721
724
|
parseHTML() {
|
|
722
|
-
return [
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
}
|
|
726
|
-
];
|
|
725
|
+
return [{
|
|
726
|
+
tag: "channel-component"
|
|
727
|
+
}];
|
|
727
728
|
},
|
|
728
729
|
addAttributes() {
|
|
729
730
|
return {
|
|
@@ -738,10 +739,14 @@ const ChannelPlugin = Mention.extend({
|
|
|
738
739
|
}
|
|
739
740
|
};
|
|
740
741
|
},
|
|
741
|
-
renderText({
|
|
742
|
+
renderText({
|
|
743
|
+
node
|
|
744
|
+
}) {
|
|
742
745
|
return `#${node.attrs.id}`;
|
|
743
746
|
},
|
|
744
|
-
renderHTML({
|
|
747
|
+
renderHTML({
|
|
748
|
+
HTMLAttributes
|
|
749
|
+
}) {
|
|
745
750
|
return ["channel-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
|
|
746
751
|
}
|
|
747
752
|
}).configure({
|
|
@@ -768,19 +773,12 @@ const _sfc_main$4 = {
|
|
|
768
773
|
};
|
|
769
774
|
var _sfc_render$4 = function render6() {
|
|
770
775
|
var _vm = this, _c = _vm._self._c;
|
|
771
|
-
return _c("node-view-wrapper", {
|
|
776
|
+
return _c("node-view-wrapper", {
|
|
777
|
+
staticClass: "d-d-inline-block"
|
|
778
|
+
}, [_vm._v(" " + _vm._s(_vm.text) + " ")]);
|
|
772
779
|
};
|
|
773
780
|
var _sfc_staticRenderFns$4 = [];
|
|
774
|
-
var __component__$4 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
775
|
-
_sfc_main$4,
|
|
776
|
-
_sfc_render$4,
|
|
777
|
-
_sfc_staticRenderFns$4,
|
|
778
|
-
false,
|
|
779
|
-
null,
|
|
780
|
-
null,
|
|
781
|
-
null,
|
|
782
|
-
null
|
|
783
|
-
);
|
|
781
|
+
var __component__$4 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$4, _sfc_render$4, _sfc_staticRenderFns$4, false, null, null, null, null);
|
|
784
782
|
const SlashCommandComponent = __component__$4.exports;
|
|
785
783
|
const slashCommandPasteMatch = (text, slashCommandRegex) => {
|
|
786
784
|
const matches = [...text.matchAll(slashCommandRegex)];
|
|
@@ -803,11 +801,9 @@ const SlashCommandPlugin = Mention.extend({
|
|
|
803
801
|
return vue2.VueNodeViewRenderer(SlashCommandComponent);
|
|
804
802
|
},
|
|
805
803
|
parseHTML() {
|
|
806
|
-
return [
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
}
|
|
810
|
-
];
|
|
804
|
+
return [{
|
|
805
|
+
tag: "command-component"
|
|
806
|
+
}];
|
|
811
807
|
},
|
|
812
808
|
addAttributes() {
|
|
813
809
|
return {
|
|
@@ -822,39 +818,47 @@ const SlashCommandPlugin = Mention.extend({
|
|
|
822
818
|
}
|
|
823
819
|
};
|
|
824
820
|
},
|
|
825
|
-
renderText({
|
|
821
|
+
renderText({
|
|
822
|
+
node
|
|
823
|
+
}) {
|
|
826
824
|
return `/${node.attrs.command}`;
|
|
827
825
|
},
|
|
828
|
-
renderHTML({
|
|
826
|
+
renderHTML({
|
|
827
|
+
HTMLAttributes
|
|
828
|
+
}) {
|
|
829
829
|
return ["command-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
|
|
830
830
|
},
|
|
831
831
|
addInputRules() {
|
|
832
832
|
var _a;
|
|
833
|
-
const suggestions = (_a = this.options.suggestion) == null ? void 0 : _a.items({
|
|
833
|
+
const suggestions = (_a = this.options.suggestion) == null ? void 0 : _a.items({
|
|
834
|
+
query: ""
|
|
835
|
+
}).map((suggestion) => suggestion.command);
|
|
834
836
|
const slashCommandRegex = new RegExp(`^((?:\\/)(${suggestions.join("|")})) $`);
|
|
835
|
-
return [
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
];
|
|
837
|
+
return [core.nodeInputRule({
|
|
838
|
+
find: slashCommandRegex,
|
|
839
|
+
type: this.type,
|
|
840
|
+
getAttributes(attrs) {
|
|
841
|
+
return {
|
|
842
|
+
command: attrs[2]
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
})];
|
|
844
846
|
},
|
|
845
847
|
addPasteRules() {
|
|
846
848
|
var _a;
|
|
847
|
-
const suggestions = (_a = this.options.suggestion) == null ? void 0 : _a.items({
|
|
849
|
+
const suggestions = (_a = this.options.suggestion) == null ? void 0 : _a.items({
|
|
850
|
+
query: ""
|
|
851
|
+
}).map((suggestion) => suggestion.command);
|
|
848
852
|
const slashCommandRegex = new RegExp(`^((?:\\/)(${suggestions.join("|")})) ?$`, "g");
|
|
849
|
-
return [
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
];
|
|
853
|
+
return [core.nodePasteRule({
|
|
854
|
+
find: (text) => slashCommandPasteMatch(text, slashCommandRegex),
|
|
855
|
+
type: this.type,
|
|
856
|
+
getAttributes(attrs) {
|
|
857
|
+
return {
|
|
858
|
+
command: attrs[0].trim()
|
|
859
|
+
};
|
|
860
|
+
}
|
|
861
|
+
})];
|
|
858
862
|
}
|
|
859
863
|
}).configure({
|
|
860
864
|
suggestion: {
|
|
@@ -862,24 +866,9 @@ const SlashCommandPlugin = Mention.extend({
|
|
|
862
866
|
pluginKey: new state.PluginKey("slashCommandSuggestion")
|
|
863
867
|
}
|
|
864
868
|
});
|
|
865
|
-
const RICH_TEXT_EDITOR_OUTPUT_FORMATS = [
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
"html"
|
|
869
|
-
];
|
|
870
|
-
const RICH_TEXT_EDITOR_AUTOFOCUS_TYPES = [
|
|
871
|
-
"start",
|
|
872
|
-
"end",
|
|
873
|
-
"all"
|
|
874
|
-
];
|
|
875
|
-
const RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS = [
|
|
876
|
-
"https",
|
|
877
|
-
"http",
|
|
878
|
-
"ftp",
|
|
879
|
-
"ftps",
|
|
880
|
-
"sftp",
|
|
881
|
-
"mailto"
|
|
882
|
-
];
|
|
869
|
+
const RICH_TEXT_EDITOR_OUTPUT_FORMATS = ["text", "json", "html"];
|
|
870
|
+
const RICH_TEXT_EDITOR_AUTOFOCUS_TYPES = ["start", "end", "all"];
|
|
871
|
+
const RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS = ["https", "http", "ftp", "ftps", "sftp", "mailto"];
|
|
883
872
|
const _sfc_main$3 = {
|
|
884
873
|
name: "MentionSuggestion",
|
|
885
874
|
components: {
|
|
@@ -903,19 +892,24 @@ const _sfc_main$3 = {
|
|
|
903
892
|
};
|
|
904
893
|
var _sfc_render$3 = function render7() {
|
|
905
894
|
var _vm = this, _c = _vm._self._c;
|
|
906
|
-
return _c("dt-stack", {
|
|
895
|
+
return _c("dt-stack", {
|
|
896
|
+
attrs: {
|
|
897
|
+
"direction": "row",
|
|
898
|
+
"gap": "400"
|
|
899
|
+
}
|
|
900
|
+
}, [_c("dt-avatar", {
|
|
901
|
+
attrs: {
|
|
902
|
+
"full-name": _vm.name,
|
|
903
|
+
"image-src": _vm.avatarSrc,
|
|
904
|
+
"image-alt": _vm.name,
|
|
905
|
+
"size": "xs"
|
|
906
|
+
}
|
|
907
|
+
}), _c("span", {
|
|
908
|
+
staticClass: "mention-suggestion-name"
|
|
909
|
+
}, [_vm._v(" " + _vm._s(_vm.name) + " ")])], 1);
|
|
907
910
|
};
|
|
908
911
|
var _sfc_staticRenderFns$3 = [];
|
|
909
|
-
var __component__$3 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
910
|
-
_sfc_main$3,
|
|
911
|
-
_sfc_render$3,
|
|
912
|
-
_sfc_staticRenderFns$3,
|
|
913
|
-
false,
|
|
914
|
-
null,
|
|
915
|
-
"65bcbd51",
|
|
916
|
-
null,
|
|
917
|
-
null
|
|
918
|
-
);
|
|
912
|
+
var __component__$3 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$3, _sfc_render$3, _sfc_staticRenderFns$3, false, null, "65bcbd51", null, null);
|
|
919
913
|
const MentionSuggestion = __component__$3.exports;
|
|
920
914
|
const mentionSuggestion = {
|
|
921
915
|
// This function comes from the user and passed to the editor directly.
|
|
@@ -1011,19 +1005,23 @@ const _sfc_main$2 = {
|
|
|
1011
1005
|
};
|
|
1012
1006
|
var _sfc_render$2 = function render8() {
|
|
1013
1007
|
var _vm = this, _c = _vm._self._c;
|
|
1014
|
-
return _c("dt-stack", {
|
|
1008
|
+
return _c("dt-stack", {
|
|
1009
|
+
attrs: {
|
|
1010
|
+
"direction": "row",
|
|
1011
|
+
"gap": "400"
|
|
1012
|
+
}
|
|
1013
|
+
}, [!_vm.item.locked ? _c("dt-icon-hash", {
|
|
1014
|
+
attrs: {
|
|
1015
|
+
"size": "300"
|
|
1016
|
+
}
|
|
1017
|
+
}) : _c("dt-icon-lock", {
|
|
1018
|
+
attrs: {
|
|
1019
|
+
"size": "300"
|
|
1020
|
+
}
|
|
1021
|
+
}), _c("span", [_vm._v(_vm._s(_vm.name))])], 1);
|
|
1015
1022
|
};
|
|
1016
1023
|
var _sfc_staticRenderFns$2 = [];
|
|
1017
|
-
var __component__$2 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
1018
|
-
_sfc_main$2,
|
|
1019
|
-
_sfc_render$2,
|
|
1020
|
-
_sfc_staticRenderFns$2,
|
|
1021
|
-
false,
|
|
1022
|
-
null,
|
|
1023
|
-
null,
|
|
1024
|
-
null,
|
|
1025
|
-
null
|
|
1026
|
-
);
|
|
1024
|
+
var __component__$2 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$2, _sfc_render$2, _sfc_staticRenderFns$2, false, null, null, null, null);
|
|
1027
1025
|
const ChannelSuggestion = __component__$2.exports;
|
|
1028
1026
|
const channelSuggestion = {
|
|
1029
1027
|
// This function comes from the user and passed to the editor directly.
|
|
@@ -1120,19 +1118,14 @@ const _sfc_main$1 = {
|
|
|
1120
1118
|
};
|
|
1121
1119
|
var _sfc_render$1 = function render9() {
|
|
1122
1120
|
var _vm = this, _c = _vm._self._c;
|
|
1123
|
-
return _c("div", [_c("div", {
|
|
1121
|
+
return _c("div", [_c("div", {
|
|
1122
|
+
staticClass: "d-body--md-compact"
|
|
1123
|
+
}, [_c("span", [_vm._v("/" + _vm._s(_vm.command))]), _vm.parametersExample ? _c("span", [_vm._v(" " + _vm._s(_vm.parametersExample))]) : _vm._e()]), _c("div", {
|
|
1124
|
+
staticClass: "d-body--sm d-fc-tertiary"
|
|
1125
|
+
}, [_vm._v(" " + _vm._s(_vm.description) + " ")])]);
|
|
1124
1126
|
};
|
|
1125
1127
|
var _sfc_staticRenderFns$1 = [];
|
|
1126
|
-
var __component__$1 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
1127
|
-
_sfc_main$1,
|
|
1128
|
-
_sfc_render$1,
|
|
1129
|
-
_sfc_staticRenderFns$1,
|
|
1130
|
-
false,
|
|
1131
|
-
null,
|
|
1132
|
-
null,
|
|
1133
|
-
null,
|
|
1134
|
-
null
|
|
1135
|
-
);
|
|
1128
|
+
var __component__$1 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$1, _sfc_render$1, _sfc_staticRenderFns$1, false, null, null, null, null);
|
|
1136
1129
|
const SlashCommandSuggestion = __component__$1.exports;
|
|
1137
1130
|
const slashCommandSuggestion = {
|
|
1138
1131
|
// This function comes from the user and passed to the editor directly.
|
|
@@ -1483,7 +1476,9 @@ const _sfc_main = {
|
|
|
1483
1476
|
extensions() {
|
|
1484
1477
|
const extensions = [Document, Paragraph, Text, History];
|
|
1485
1478
|
if (this.link) {
|
|
1486
|
-
extensions.push(TipTapLink.extend({
|
|
1479
|
+
extensions.push(TipTapLink.extend({
|
|
1480
|
+
inclusive: false
|
|
1481
|
+
}).configure({
|
|
1487
1482
|
HTMLAttributes: {
|
|
1488
1483
|
class: "d-link d-wb-break-all"
|
|
1489
1484
|
},
|
|
@@ -1515,42 +1510,55 @@ const _sfc_main = {
|
|
|
1515
1510
|
extensions.push(Underline);
|
|
1516
1511
|
}
|
|
1517
1512
|
if (this.placeholder) {
|
|
1518
|
-
extensions.push(
|
|
1519
|
-
|
|
1520
|
-
);
|
|
1513
|
+
extensions.push(Placeholder.configure({
|
|
1514
|
+
placeholder: this.placeholder
|
|
1515
|
+
}));
|
|
1521
1516
|
}
|
|
1522
1517
|
if (!this.allowLineBreaks) {
|
|
1523
1518
|
const self = this;
|
|
1524
|
-
extensions.push(
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
})
|
|
1539
|
-
);
|
|
1519
|
+
extensions.push(HardBreak.extend({
|
|
1520
|
+
addKeyboardShortcuts() {
|
|
1521
|
+
return {
|
|
1522
|
+
Enter: () => {
|
|
1523
|
+
self.$emit("enter");
|
|
1524
|
+
return true;
|
|
1525
|
+
},
|
|
1526
|
+
"Shift-Enter": () => {
|
|
1527
|
+
this.editor.commands.setHardBreak();
|
|
1528
|
+
return true;
|
|
1529
|
+
}
|
|
1530
|
+
};
|
|
1531
|
+
}
|
|
1532
|
+
}));
|
|
1540
1533
|
} else {
|
|
1541
1534
|
extensions.push(HardBreak);
|
|
1542
1535
|
}
|
|
1543
1536
|
if (this.mentionSuggestion) {
|
|
1544
|
-
const suggestionObject = {
|
|
1545
|
-
|
|
1537
|
+
const suggestionObject = {
|
|
1538
|
+
...this.mentionSuggestion,
|
|
1539
|
+
...mentionSuggestion
|
|
1540
|
+
};
|
|
1541
|
+
extensions.push(MentionPlugin.configure({
|
|
1542
|
+
suggestion: suggestionObject
|
|
1543
|
+
}));
|
|
1546
1544
|
}
|
|
1547
1545
|
if (this.channelSuggestion) {
|
|
1548
|
-
const suggestionObject = {
|
|
1549
|
-
|
|
1546
|
+
const suggestionObject = {
|
|
1547
|
+
...this.channelSuggestion,
|
|
1548
|
+
...channelSuggestion
|
|
1549
|
+
};
|
|
1550
|
+
extensions.push(ChannelPlugin.configure({
|
|
1551
|
+
suggestion: suggestionObject
|
|
1552
|
+
}));
|
|
1550
1553
|
}
|
|
1551
1554
|
if (this.slashCommandSuggestion) {
|
|
1552
|
-
const suggestionObject = {
|
|
1553
|
-
|
|
1555
|
+
const suggestionObject = {
|
|
1556
|
+
...this.slashCommandSuggestion,
|
|
1557
|
+
...slashCommandSuggestion
|
|
1558
|
+
};
|
|
1559
|
+
extensions.push(SlashCommandPlugin.configure({
|
|
1560
|
+
suggestion: suggestionObject
|
|
1561
|
+
}));
|
|
1554
1562
|
}
|
|
1555
1563
|
extensions.push(Emoji);
|
|
1556
1564
|
extensions.push(TextAlign.configure({
|
|
@@ -1589,13 +1597,19 @@ const _sfc_main = {
|
|
|
1589
1597
|
watch: {
|
|
1590
1598
|
editable(isEditable) {
|
|
1591
1599
|
this.editor.setEditable(isEditable);
|
|
1592
|
-
this.updateEditorAttributes({
|
|
1600
|
+
this.updateEditorAttributes({
|
|
1601
|
+
"aria-readonly": !isEditable
|
|
1602
|
+
});
|
|
1593
1603
|
},
|
|
1594
1604
|
inputClass(newClass) {
|
|
1595
|
-
this.updateEditorAttributes({
|
|
1605
|
+
this.updateEditorAttributes({
|
|
1606
|
+
class: newClass
|
|
1607
|
+
});
|
|
1596
1608
|
},
|
|
1597
1609
|
inputAriaLabel(newLabel) {
|
|
1598
|
-
this.updateEditorAttributes({
|
|
1610
|
+
this.updateEditorAttributes({
|
|
1611
|
+
"aria-label": newLabel
|
|
1612
|
+
});
|
|
1599
1613
|
},
|
|
1600
1614
|
extensions() {
|
|
1601
1615
|
this.destroyEditor();
|
|
@@ -1653,10 +1667,14 @@ const _sfc_main = {
|
|
|
1653
1667
|
this.$emit("input", value);
|
|
1654
1668
|
this.$emit("update:value", value);
|
|
1655
1669
|
});
|
|
1656
|
-
this.editor.on("focus", ({
|
|
1670
|
+
this.editor.on("focus", ({
|
|
1671
|
+
event
|
|
1672
|
+
}) => {
|
|
1657
1673
|
this.$emit("focus", event);
|
|
1658
1674
|
});
|
|
1659
|
-
this.editor.on("blur", ({
|
|
1675
|
+
this.editor.on("blur", ({
|
|
1676
|
+
event
|
|
1677
|
+
}) => {
|
|
1660
1678
|
this.$emit("blur", event);
|
|
1661
1679
|
});
|
|
1662
1680
|
},
|
|
@@ -1679,7 +1697,11 @@ const _sfc_main = {
|
|
|
1679
1697
|
return (_a = extension.configure) == null ? void 0 : _a.call(extension, options);
|
|
1680
1698
|
},
|
|
1681
1699
|
updateEditorAttributes(attributes) {
|
|
1682
|
-
this.editor.setOptions({
|
|
1700
|
+
this.editor.setOptions({
|
|
1701
|
+
editorProps: {
|
|
1702
|
+
attributes
|
|
1703
|
+
}
|
|
1704
|
+
});
|
|
1683
1705
|
},
|
|
1684
1706
|
focusEditor() {
|
|
1685
1707
|
this.editor.commands.focus();
|
|
@@ -1688,19 +1710,16 @@ const _sfc_main = {
|
|
|
1688
1710
|
};
|
|
1689
1711
|
var _sfc_render = function render10() {
|
|
1690
1712
|
var _vm = this, _c = _vm._self._c;
|
|
1691
|
-
return _c("editor-content", _vm._g({
|
|
1713
|
+
return _c("editor-content", _vm._g({
|
|
1714
|
+
staticClass: "dt-rich-text-editor",
|
|
1715
|
+
attrs: {
|
|
1716
|
+
"editor": _vm.editor,
|
|
1717
|
+
"data-qa": "dt-rich-text-editor"
|
|
1718
|
+
}
|
|
1719
|
+
}, _vm.editorListeners));
|
|
1692
1720
|
};
|
|
1693
1721
|
var _sfc_staticRenderFns = [];
|
|
1694
|
-
var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
1695
|
-
_sfc_main,
|
|
1696
|
-
_sfc_render,
|
|
1697
|
-
_sfc_staticRenderFns,
|
|
1698
|
-
false,
|
|
1699
|
-
null,
|
|
1700
|
-
null,
|
|
1701
|
-
null,
|
|
1702
|
-
null
|
|
1703
|
-
);
|
|
1722
|
+
var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
|
|
1704
1723
|
const DtRichTextEditor = __component__.exports;
|
|
1705
1724
|
exports.DtRichTextEditor = DtRichTextEditor;
|
|
1706
1725
|
exports.RICH_TEXT_EDITOR_AUTOFOCUS_TYPES = RICH_TEXT_EDITOR_AUTOFOCUS_TYPES;
|