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