@dialpad/dialtone 9.65.0 → 9.66.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/tokens-base-dark--ozK7f0P.js +4 -0
- package/dist/chunks/tokens-base-dark-V8E4WaJI.js +1 -0
- package/dist/chunks/tokens-base-light-LYlvM3eZ.js +1 -0
- package/dist/chunks/tokens-base-light-ljPrpLe2.js +4 -0
- package/dist/css/dialtone-default-theme.css +57 -55
- package/dist/css/dialtone-default-theme.min.css +1 -1
- package/dist/css/dialtone.css +8 -6
- package/dist/css/dialtone.min.css +1 -1
- package/dist/css/tokens/tokens-base-dark.css +5 -5
- package/dist/css/tokens/tokens-base-light.css +5 -5
- package/dist/css/tokens/tokens-dp-dark.css +44 -44
- package/dist/css/tokens/tokens-dp-light.css +44 -44
- package/dist/css/tokens/tokens-expressive-dark.css +50 -50
- package/dist/css/tokens/tokens-expressive-light.css +50 -50
- package/dist/css/tokens/tokens-expressive-sm-dark.css +50 -50
- package/dist/css/tokens/tokens-expressive-sm-light.css +50 -50
- package/dist/css/tokens/tokens-tmo-dark.css +44 -44
- package/dist/css/tokens/tokens-tmo-light.css +44 -44
- package/dist/themes/dp-dark.cjs +1 -1
- package/dist/themes/dp-dark.js +2 -2
- package/dist/themes/dp-light.cjs +1 -1
- package/dist/themes/dp-light.js +2 -2
- package/dist/themes/expressive-dark.cjs +1 -1
- package/dist/themes/expressive-dark.js +2 -2
- package/dist/themes/expressive-light.cjs +1 -1
- package/dist/themes/expressive-light.js +2 -2
- package/dist/themes/expressive-sm-dark.cjs +1 -1
- package/dist/themes/expressive-sm-dark.js +2 -2
- package/dist/themes/expressive-sm-light.cjs +1 -1
- package/dist/themes/expressive-sm-light.js +2 -2
- package/dist/themes/tmo-dark.cjs +1 -1
- package/dist/themes/tmo-dark.js +2 -2
- package/dist/themes/tmo-light.cjs +1 -1
- package/dist/themes/tmo-light.js +2 -2
- package/dist/tokens/css/tokens-base-dark.css +5 -5
- package/dist/tokens/css/tokens-base-light.css +5 -5
- package/dist/tokens/css/tokens-dp-dark.css +44 -44
- package/dist/tokens/css/tokens-dp-light.css +44 -44
- package/dist/tokens/css/tokens-expressive-dark.css +50 -50
- package/dist/tokens/css/tokens-expressive-light.css +50 -50
- package/dist/tokens/css/tokens-expressive-sm-dark.css +50 -50
- package/dist/tokens/css/tokens-expressive-sm-light.css +50 -50
- package/dist/tokens/css/tokens-tmo-dark.css +44 -44
- package/dist/tokens/css/tokens-tmo-light.css +44 -44
- package/dist/tokens/doc.json +14285 -14285
- package/dist/tokens/less/tokens-base-dark.less +5 -5
- package/dist/tokens/less/tokens-base-light.less +5 -5
- package/dist/tokens/less/tokens-dp-dark.less +44 -44
- package/dist/tokens/less/tokens-dp-light.less +44 -44
- package/dist/tokens/less/tokens-expressive-dark.less +50 -50
- package/dist/tokens/less/tokens-expressive-light.less +50 -50
- package/dist/tokens/less/tokens-expressive-sm-dark.less +50 -50
- package/dist/tokens/less/tokens-expressive-sm-light.less +50 -50
- package/dist/tokens/less/tokens-tmo-dark.less +44 -44
- package/dist/tokens/less/tokens-tmo-light.less +44 -44
- package/dist/tokens/tokens-base-dark.json +5 -5
- package/dist/tokens/tokens-base-light.json +5 -5
- package/dist/tokens/tokens-dp-dark.json +44 -44
- package/dist/tokens/tokens-dp-light.json +44 -44
- package/dist/tokens/tokens-expressive-dark.json +50 -50
- package/dist/tokens/tokens-expressive-light.json +50 -50
- package/dist/tokens/tokens-expressive-sm-dark.json +50 -50
- package/dist/tokens/tokens-expressive-sm-light.json +50 -50
- package/dist/tokens/tokens-tmo-dark.json +44 -44
- package/dist/tokens/tokens-tmo-light.json +44 -44
- package/dist/vue2/chunks/{dropdown-6UoczdUY.js → dropdown-YdCyJ5Dq.js} +77 -41
- package/dist/vue2/chunks/{dropdown-pHxnQPzT.js.map → dropdown-YdCyJ5Dq.js.map} +1 -1
- package/dist/vue2/chunks/{dropdown-pHxnQPzT.js → dropdown-mjrYu_mK.js} +77 -41
- package/dist/vue2/chunks/{dropdown-6UoczdUY.js.map → dropdown-mjrYu_mK.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-Dy4MEUJL.js → icon_constants-TdxqLsS2.js} +3 -2
- package/dist/vue2/chunks/icon_constants-TdxqLsS2.js.map +1 -0
- package/dist/vue2/chunks/{icon_constants-QYpmdE0R.js → icon_constants-VEA0wI5C.js} +3 -2
- package/dist/vue2/chunks/icon_constants-VEA0wI5C.js.map +1 -0
- package/dist/vue2/chunks/{index-gj1jEXP4.js → index-DyqUqjvI.js} +122 -87
- package/dist/vue2/chunks/{index-eJ-WWRdf.js.map → index-DyqUqjvI.js.map} +1 -1
- package/dist/vue2/chunks/{index-anN_sx1F.js → index-NYFNZeHH.js} +5 -13
- package/dist/vue2/chunks/{index-anN_sx1F.js.map → index-NYFNZeHH.js.map} +1 -1
- package/dist/vue2/chunks/{index-ODod4Oj_.js → index-i65YVk-U.js} +5 -13
- package/dist/vue2/chunks/{index-ODod4Oj_.js.map → index-i65YVk-U.js.map} +1 -1
- package/dist/vue2/chunks/{index-eJ-WWRdf.js → index-mBWay1Qb.js} +122 -87
- package/dist/vue2/chunks/{index-gj1jEXP4.js.map → index-mBWay1Qb.js.map} +1 -1
- package/dist/vue2/chunks/{input-Axw-wFj2.js → input-Hqw33WBe.js} +3 -9
- package/dist/vue2/chunks/{input-Axw-wFj2.js.map → input-Hqw33WBe.js.map} +1 -1
- package/dist/vue2/chunks/{input-6kbd8Pju.js → input-PhJeBN6r.js} +3 -9
- package/dist/vue2/chunks/{input-6kbd8Pju.js.map → input-PhJeBN6r.js.map} +1 -1
- package/dist/vue2/chunks/{input_group-qVZaS5Bb.js → input_group-ZI7aVGEp.js} +4 -2
- package/dist/vue2/chunks/{input_group-m3cWYUfI.js.map → input_group-ZI7aVGEp.js.map} +1 -1
- package/dist/vue2/chunks/{input_group-m3cWYUfI.js → input_group-pE6ec9R3.js} +4 -2
- package/dist/vue2/chunks/{input_group-qVZaS5Bb.js.map → input_group-pE6ec9R3.js.map} +1 -1
- package/dist/vue2/chunks/{keyboard_list_navigation-ScXhrxya.js → keyboard_list_navigation-YIqTuw1W.js} +6 -5
- package/dist/{vue3/chunks/keyboard_list_navigation-fJnl_Iox.js.map → vue2/chunks/keyboard_list_navigation-YIqTuw1W.js.map} +1 -1
- package/dist/vue2/chunks/{keyboard_list_navigation-fJnl_Iox.js → keyboard_list_navigation-x3D6RcC7.js} +6 -5
- package/dist/vue2/chunks/{keyboard_list_navigation-ScXhrxya.js.map → keyboard_list_navigation-x3D6RcC7.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-XOr4kiNZ.js → modal-8X6poIZW.js} +4 -2
- package/dist/{vue3/chunks/modal-XOr4kiNZ.js.map → vue2/chunks/modal-8X6poIZW.js.map} +1 -1
- package/dist/vue2/chunks/{modal-VgxXAQFP.js → modal-OaWxzqNt.js} +4 -2
- package/dist/vue2/chunks/{modal-VgxXAQFP.js.map → modal-OaWxzqNt.js.map} +1 -1
- package/dist/vue2/chunks/{notice_action-IRUoLX2d.js → notice_action-qQr3K2TC.js} +71 -46
- package/dist/vue2/chunks/{notice_action-IRUoLX2d.js.map → notice_action-qQr3K2TC.js.map} +1 -1
- package/dist/vue2/chunks/{notice_action-P6uDyE9x.js → notice_action-tEvvMg7Q.js} +71 -46
- package/dist/vue2/chunks/{notice_action-P6uDyE9x.js.map → notice_action-tEvvMg7Q.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-WsOUIY-m.js → popover_constants-6YkPPbnk.js} +26 -47
- package/dist/vue2/chunks/{popover_constants-WsOUIY-m.js.map → popover_constants-6YkPPbnk.js.map} +1 -1
- package/dist/vue2/chunks/{popover_constants-XnGWXaxX.js → popover_constants-h9MD6WUt.js} +26 -47
- package/dist/{vue3/chunks/popover_constants-WsOUIY-m.js.map → vue2/chunks/popover_constants-h9MD6WUt.js.map} +1 -1
- package/dist/vue2/chunks/{sr_only_close_button-ZaGdAHz7.js → sr_only_close_button-2Q9Ny1Nc.js} +24 -18
- package/dist/vue2/chunks/{sr_only_close_button-ZaGdAHz7.js.map → sr_only_close_button-2Q9Ny1Nc.js.map} +1 -1
- package/dist/vue2/chunks/{sr_only_close_button-81bHIpPu.js → sr_only_close_button-IjMVfBDE.js} +24 -18
- package/dist/vue2/chunks/{sr_only_close_button-81bHIpPu.js.map → sr_only_close_button-IjMVfBDE.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-FcsV5VmK.js → tab-79yMX6m6.js} +86 -68
- package/dist/vue2/chunks/{tab-V4cb44Ry.js.map → tab-79yMX6m6.js.map} +1 -1
- package/dist/vue2/chunks/{tab-V4cb44Ry.js → tab-muPOS7JE.js} +86 -68
- package/dist/vue2/chunks/{tab-FcsV5VmK.js.map → tab-muPOS7JE.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 +3 -1
- package/dist/vue2/common/dates.cjs.map +1 -1
- package/dist/vue2/common/dates.js +3 -1
- 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 +8 -44
- package/dist/vue2/common/utils.cjs.map +1 -1
- package/dist/vue2/common/utils.js +8 -44
- 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 +172 -48
- package/dist/vue2/lib/attachment-carousel.cjs.map +1 -1
- package/dist/vue2/lib/attachment-carousel.js +172 -48
- package/dist/vue2/lib/attachment-carousel.js.map +1 -1
- package/dist/vue2/lib/avatar.cjs +75 -58
- package/dist/vue2/lib/avatar.cjs.map +1 -1
- package/dist/vue2/lib/avatar.js +75 -58
- package/dist/vue2/lib/avatar.js.map +1 -1
- package/dist/vue2/lib/badge.cjs +31 -20
- package/dist/vue2/lib/badge.cjs.map +1 -1
- package/dist/vue2/lib/badge.js +31 -20
- package/dist/vue2/lib/badge.js.map +1 -1
- package/dist/vue2/lib/banner.cjs +53 -29
- package/dist/vue2/lib/banner.cjs.map +1 -1
- package/dist/vue2/lib/banner.js +53 -29
- package/dist/vue2/lib/banner.js.map +1 -1
- package/dist/vue2/lib/breadcrumbs.cjs +36 -30
- package/dist/vue2/lib/breadcrumbs.cjs.map +1 -1
- package/dist/vue2/lib/breadcrumbs.js +36 -30
- package/dist/vue2/lib/breadcrumbs.js.map +1 -1
- package/dist/vue2/lib/button-group.cjs +7 -14
- package/dist/vue2/lib/button-group.cjs.map +1 -1
- package/dist/vue2/lib/button-group.js +7 -14
- package/dist/vue2/lib/button-group.js.map +1 -1
- package/dist/vue2/lib/button.cjs +55 -62
- package/dist/vue2/lib/button.cjs.map +1 -1
- package/dist/vue2/lib/button.js +55 -62
- package/dist/vue2/lib/button.js.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover.cjs +91 -23
- package/dist/vue2/lib/callbar-button-with-popover.cjs.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover.js +91 -23
- package/dist/vue2/lib/callbar-button-with-popover.js.map +1 -1
- package/dist/vue2/lib/callbar-button.cjs +49 -33
- package/dist/vue2/lib/callbar-button.cjs.map +1 -1
- package/dist/vue2/lib/callbar-button.js +49 -33
- package/dist/vue2/lib/callbar-button.js.map +1 -1
- package/dist/vue2/lib/callbox.cjs +78 -15
- package/dist/vue2/lib/callbox.cjs.map +1 -1
- package/dist/vue2/lib/callbox.js +78 -15
- package/dist/vue2/lib/callbox.js.map +1 -1
- package/dist/vue2/lib/card.cjs +16 -23
- package/dist/vue2/lib/card.cjs.map +1 -1
- package/dist/vue2/lib/card.js +16 -23
- package/dist/vue2/lib/card.js.map +1 -1
- package/dist/vue2/lib/checkbox-group.cjs +3 -15
- package/dist/vue2/lib/checkbox-group.cjs.map +1 -1
- package/dist/vue2/lib/checkbox-group.js +3 -15
- package/dist/vue2/lib/checkbox-group.js.map +1 -1
- package/dist/vue2/lib/checkbox.cjs +52 -16
- package/dist/vue2/lib/checkbox.cjs.map +1 -1
- package/dist/vue2/lib/checkbox.js +52 -16
- package/dist/vue2/lib/checkbox.js.map +1 -1
- package/dist/vue2/lib/chip.cjs +58 -26
- package/dist/vue2/lib/chip.cjs.map +1 -1
- package/dist/vue2/lib/chip.js +58 -26
- package/dist/vue2/lib/chip.js.map +1 -1
- package/dist/vue2/lib/codeblock.cjs +4 -11
- package/dist/vue2/lib/codeblock.cjs.map +1 -1
- package/dist/vue2/lib/codeblock.js +4 -11
- package/dist/vue2/lib/codeblock.js.map +1 -1
- package/dist/vue2/lib/collapsible.cjs +91 -34
- package/dist/vue2/lib/collapsible.cjs.map +1 -1
- package/dist/vue2/lib/collapsible.js +91 -34
- package/dist/vue2/lib/collapsible.js.map +1 -1
- package/dist/vue2/lib/combobox-multi-select.cjs +131 -38
- package/dist/vue2/lib/combobox-multi-select.cjs.map +1 -1
- package/dist/vue2/lib/combobox-multi-select.js +131 -38
- package/dist/vue2/lib/combobox-multi-select.js.map +1 -1
- package/dist/vue2/lib/combobox-with-popover.cjs +130 -39
- package/dist/vue2/lib/combobox-with-popover.cjs.map +1 -1
- package/dist/vue2/lib/combobox-with-popover.js +130 -39
- 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 +86 -29
- package/dist/vue2/lib/contact-centers-row.cjs.map +1 -1
- package/dist/vue2/lib/contact-centers-row.js +86 -29
- package/dist/vue2/lib/contact-centers-row.js.map +1 -1
- package/dist/vue2/lib/contact-info.cjs +95 -24
- package/dist/vue2/lib/contact-info.cjs.map +1 -1
- package/dist/vue2/lib/contact-info.js +95 -24
- package/dist/vue2/lib/contact-info.js.map +1 -1
- package/dist/vue2/lib/contact-row.cjs +61 -18
- package/dist/vue2/lib/contact-row.cjs.map +1 -1
- package/dist/vue2/lib/contact-row.js +61 -18
- package/dist/vue2/lib/contact-row.js.map +1 -1
- package/dist/vue2/lib/datepicker.cjs +361 -102
- package/dist/vue2/lib/datepicker.cjs.map +1 -1
- package/dist/vue2/lib/datepicker.js +361 -102
- package/dist/vue2/lib/datepicker.js.map +1 -1
- package/dist/vue2/lib/description-list.cjs +11 -12
- package/dist/vue2/lib/description-list.cjs.map +1 -1
- package/dist/vue2/lib/description-list.js +11 -12
- package/dist/vue2/lib/description-list.js.map +1 -1
- package/dist/vue2/lib/dropdown.cjs +13 -17
- package/dist/vue2/lib/dropdown.cjs.map +1 -1
- package/dist/vue2/lib/dropdown.js +13 -17
- package/dist/vue2/lib/dropdown.js.map +1 -1
- package/dist/vue2/lib/editor.cjs +409 -109
- package/dist/vue2/lib/editor.cjs.map +1 -1
- package/dist/vue2/lib/editor.js +409 -109
- package/dist/vue2/lib/editor.js.map +1 -1
- package/dist/vue2/lib/emoji-picker.cjs +512 -234
- package/dist/vue2/lib/emoji-picker.cjs.map +1 -1
- package/dist/vue2/lib/emoji-picker.js +512 -234
- package/dist/vue2/lib/emoji-picker.js.map +1 -1
- package/dist/vue2/lib/emoji-row.cjs +69 -31
- package/dist/vue2/lib/emoji-row.cjs.map +1 -1
- package/dist/vue2/lib/emoji-row.js +69 -31
- package/dist/vue2/lib/emoji-row.js.map +1 -1
- package/dist/vue2/lib/emoji-text-wrapper.cjs +14 -22
- package/dist/vue2/lib/emoji-text-wrapper.cjs.map +1 -1
- package/dist/vue2/lib/emoji-text-wrapper.js +14 -22
- package/dist/vue2/lib/emoji-text-wrapper.js.map +1 -1
- package/dist/vue2/lib/emoji.cjs +40 -13
- package/dist/vue2/lib/emoji.cjs.map +1 -1
- package/dist/vue2/lib/emoji.js +40 -13
- package/dist/vue2/lib/emoji.js.map +1 -1
- package/dist/vue2/lib/empty-state.cjs +27 -12
- package/dist/vue2/lib/empty-state.cjs.map +1 -1
- package/dist/vue2/lib/empty-state.js +27 -12
- package/dist/vue2/lib/empty-state.js.map +1 -1
- package/dist/vue2/lib/feed-item-row.cjs +106 -27
- package/dist/vue2/lib/feed-item-row.cjs.map +1 -1
- package/dist/vue2/lib/feed-item-row.js +106 -27
- package/dist/vue2/lib/feed-item-row.js.map +1 -1
- package/dist/vue2/lib/feed-pill.cjs +90 -35
- package/dist/vue2/lib/feed-pill.cjs.map +1 -1
- package/dist/vue2/lib/feed-pill.js +90 -35
- package/dist/vue2/lib/feed-pill.js.map +1 -1
- package/dist/vue2/lib/general-row.cjs +184 -75
- package/dist/vue2/lib/general-row.cjs.map +1 -1
- package/dist/vue2/lib/general-row.js +184 -75
- package/dist/vue2/lib/general-row.js.map +1 -1
- package/dist/vue2/lib/group-row.cjs +27 -16
- package/dist/vue2/lib/group-row.cjs.map +1 -1
- package/dist/vue2/lib/group-row.js +27 -16
- package/dist/vue2/lib/group-row.js.map +1 -1
- package/dist/vue2/lib/grouped-chip.cjs +68 -20
- package/dist/vue2/lib/grouped-chip.cjs.map +1 -1
- package/dist/vue2/lib/grouped-chip.js +68 -20
- package/dist/vue2/lib/grouped-chip.js.map +1 -1
- package/dist/vue2/lib/hovercard.cjs +71 -41
- package/dist/vue2/lib/hovercard.cjs.map +1 -1
- package/dist/vue2/lib/hovercard.js +71 -41
- package/dist/vue2/lib/hovercard.js.map +1 -1
- package/dist/vue2/lib/icon.cjs +10 -12
- package/dist/vue2/lib/icon.cjs.map +1 -1
- package/dist/vue2/lib/icon.js +10 -12
- package/dist/vue2/lib/icon.js.map +1 -1
- package/dist/vue2/lib/illustration.cjs +9 -12
- package/dist/vue2/lib/illustration.cjs.map +1 -1
- package/dist/vue2/lib/illustration.js +9 -12
- package/dist/vue2/lib/illustration.js.map +1 -1
- package/dist/vue2/lib/image-viewer.cjs +98 -23
- package/dist/vue2/lib/image-viewer.cjs.map +1 -1
- package/dist/vue2/lib/image-viewer.js +98 -23
- package/dist/vue2/lib/image-viewer.js.map +1 -1
- package/dist/vue2/lib/input-group.cjs +24 -14
- package/dist/vue2/lib/input-group.cjs.map +1 -1
- package/dist/vue2/lib/input-group.js +24 -14
- package/dist/vue2/lib/input-group.js.map +1 -1
- package/dist/vue2/lib/input.cjs +108 -40
- package/dist/vue2/lib/input.cjs.map +1 -1
- package/dist/vue2/lib/input.js +108 -40
- package/dist/vue2/lib/input.js.map +1 -1
- package/dist/vue2/lib/item-layout.cjs +42 -11
- package/dist/vue2/lib/item-layout.cjs.map +1 -1
- package/dist/vue2/lib/item-layout.js +42 -11
- package/dist/vue2/lib/item-layout.js.map +1 -1
- package/dist/vue2/lib/ivr-node.cjs +135 -47
- package/dist/vue2/lib/ivr-node.cjs.map +1 -1
- package/dist/vue2/lib/ivr-node.js +135 -47
- package/dist/vue2/lib/ivr-node.js.map +1 -1
- package/dist/vue2/lib/keyboard-shortcut.cjs +35 -23
- package/dist/vue2/lib/keyboard-shortcut.cjs.map +1 -1
- package/dist/vue2/lib/keyboard-shortcut.js +35 -23
- package/dist/vue2/lib/keyboard-shortcut.js.map +1 -1
- package/dist/vue2/lib/lazy-show.cjs +15 -11
- package/dist/vue2/lib/lazy-show.cjs.map +1 -1
- package/dist/vue2/lib/lazy-show.js +15 -11
- package/dist/vue2/lib/lazy-show.js.map +1 -1
- package/dist/vue2/lib/link.cjs +9 -15
- package/dist/vue2/lib/link.cjs.map +1 -1
- package/dist/vue2/lib/link.js +9 -15
- package/dist/vue2/lib/link.js.map +1 -1
- package/dist/vue2/lib/list-item-group.cjs +17 -11
- package/dist/vue2/lib/list-item-group.cjs.map +1 -1
- package/dist/vue2/lib/list-item-group.js +17 -11
- package/dist/vue2/lib/list-item-group.js.map +1 -1
- package/dist/vue2/lib/list-item.cjs +42 -23
- package/dist/vue2/lib/list-item.cjs.map +1 -1
- package/dist/vue2/lib/list-item.js +42 -23
- package/dist/vue2/lib/list-item.js.map +1 -1
- package/dist/vue2/lib/message-input.cjs +367 -97
- package/dist/vue2/lib/message-input.cjs.map +1 -1
- package/dist/vue2/lib/message-input.js +367 -97
- package/dist/vue2/lib/message-input.js.map +1 -1
- package/dist/vue2/lib/modal.cjs +94 -36
- package/dist/vue2/lib/modal.cjs.map +1 -1
- package/dist/vue2/lib/modal.js +94 -36
- package/dist/vue2/lib/modal.js.map +1 -1
- package/dist/vue2/lib/notice.cjs +40 -21
- package/dist/vue2/lib/notice.cjs.map +1 -1
- package/dist/vue2/lib/notice.js +40 -21
- package/dist/vue2/lib/notice.js.map +1 -1
- package/dist/vue2/lib/pagination.cjs +81 -20
- package/dist/vue2/lib/pagination.cjs.map +1 -1
- package/dist/vue2/lib/pagination.js +81 -20
- package/dist/vue2/lib/pagination.js.map +1 -1
- package/dist/vue2/lib/popover.cjs +194 -75
- package/dist/vue2/lib/popover.cjs.map +1 -1
- package/dist/vue2/lib/popover.js +195 -76
- package/dist/vue2/lib/popover.js.map +1 -1
- package/dist/vue2/lib/presence.cjs +23 -22
- package/dist/vue2/lib/presence.cjs.map +1 -1
- package/dist/vue2/lib/presence.js +23 -22
- package/dist/vue2/lib/presence.js.map +1 -1
- package/dist/vue2/lib/radio-group.cjs +2 -11
- package/dist/vue2/lib/radio-group.cjs.map +1 -1
- package/dist/vue2/lib/radio-group.js +2 -11
- package/dist/vue2/lib/radio-group.js.map +1 -1
- package/dist/vue2/lib/radio.cjs +47 -15
- package/dist/vue2/lib/radio.cjs.map +1 -1
- package/dist/vue2/lib/radio.js +47 -15
- package/dist/vue2/lib/radio.js.map +1 -1
- package/dist/vue2/lib/rich-text-editor.cjs +340 -327
- package/dist/vue2/lib/rich-text-editor.cjs.map +1 -1
- package/dist/vue2/lib/rich-text-editor.js +340 -327
- package/dist/vue2/lib/rich-text-editor.js.map +1 -1
- package/dist/vue2/lib/root-layout.cjs +33 -15
- package/dist/vue2/lib/root-layout.cjs.map +1 -1
- package/dist/vue2/lib/root-layout.js +33 -15
- package/dist/vue2/lib/root-layout.js.map +1 -1
- package/dist/vue2/lib/scrollbar-directive.cjs.map +1 -1
- package/dist/vue2/lib/scrollbar-directive.js.map +1 -1
- package/dist/vue2/lib/select-menu.cjs +52 -33
- package/dist/vue2/lib/select-menu.cjs.map +1 -1
- package/dist/vue2/lib/select-menu.js +52 -33
- package/dist/vue2/lib/select-menu.js.map +1 -1
- package/dist/vue2/lib/settings-menu-button.cjs +42 -16
- package/dist/vue2/lib/settings-menu-button.cjs.map +1 -1
- package/dist/vue2/lib/settings-menu-button.js +42 -16
- package/dist/vue2/lib/settings-menu-button.js.map +1 -1
- package/dist/vue2/lib/skeleton.cjs +118 -93
- package/dist/vue2/lib/skeleton.cjs.map +1 -1
- package/dist/vue2/lib/skeleton.js +118 -93
- package/dist/vue2/lib/skeleton.js.map +1 -1
- package/dist/vue2/lib/split-button.cjs +164 -64
- package/dist/vue2/lib/split-button.cjs.map +1 -1
- package/dist/vue2/lib/split-button.js +164 -64
- package/dist/vue2/lib/split-button.js.map +1 -1
- package/dist/vue2/lib/stack.cjs +21 -33
- package/dist/vue2/lib/stack.cjs.map +1 -1
- package/dist/vue2/lib/stack.js +21 -33
- package/dist/vue2/lib/stack.js.map +1 -1
- package/dist/vue2/lib/tabs.cjs +20 -13
- package/dist/vue2/lib/tabs.cjs.map +1 -1
- package/dist/vue2/lib/tabs.js +20 -13
- package/dist/vue2/lib/tabs.js.map +1 -1
- package/dist/vue2/lib/time-pill.cjs +8 -11
- package/dist/vue2/lib/time-pill.cjs.map +1 -1
- package/dist/vue2/lib/time-pill.js +8 -11
- package/dist/vue2/lib/time-pill.js.map +1 -1
- package/dist/vue2/lib/toast.cjs +42 -21
- package/dist/vue2/lib/toast.cjs.map +1 -1
- package/dist/vue2/lib/toast.js +42 -21
- package/dist/vue2/lib/toast.js.map +1 -1
- package/dist/vue2/lib/toggle.cjs +28 -24
- package/dist/vue2/lib/toggle.cjs.map +1 -1
- package/dist/vue2/lib/toggle.js +28 -24
- package/dist/vue2/lib/toggle.js.map +1 -1
- package/dist/vue2/lib/tooltip-directive.cjs +32 -26
- package/dist/vue2/lib/tooltip-directive.cjs.map +1 -1
- package/dist/vue2/lib/tooltip-directive.js +32 -26
- package/dist/vue2/lib/tooltip-directive.js.map +1 -1
- package/dist/vue2/lib/tooltip.cjs +31 -21
- package/dist/vue2/lib/tooltip.cjs.map +1 -1
- package/dist/vue2/lib/tooltip.js +32 -22
- package/dist/vue2/lib/tooltip.js.map +1 -1
- package/dist/vue2/lib/top-banner-info.cjs +18 -21
- package/dist/vue2/lib/top-banner-info.cjs.map +1 -1
- package/dist/vue2/lib/top-banner-info.js +18 -21
- package/dist/vue2/lib/top-banner-info.js.map +1 -1
- package/dist/vue2/lib/unread-pill.cjs +18 -12
- package/dist/vue2/lib/unread-pill.cjs.map +1 -1
- package/dist/vue2/lib/unread-pill.js +18 -12
- package/dist/vue2/lib/unread-pill.js.map +1 -1
- package/dist/vue2/lib/validation-messages.cjs +23 -16
- package/dist/vue2/lib/validation-messages.cjs.map +1 -1
- package/dist/vue2/lib/validation-messages.js +23 -16
- package/dist/vue2/lib/validation-messages.js.map +1 -1
- package/dist/vue2/style.css +5 -0
- package/dist/vue2/types/common/emoji/index.d.ts +2 -59236
- 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/image_viewer/image_viewer.vue.d.ts +21 -0
- package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/input/input.vue.d.ts +1 -1
- package/dist/vue2/types/components/modal/modal.vue.d.ts +1 -1
- package/dist/vue2/types/components/rich_text_editor/extensions/custom_link/custom_link.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/mention_suggestion.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +5 -3
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +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/conversation_view/message_input/message_input.vue.d.ts +1 -1
- package/dist/vue3/chunks/{dropdown-oA-_Gotg.js → dropdown-6HXkh24e.js} +40 -45
- package/dist/vue3/chunks/{dropdown-p-Azgwov.js.map → dropdown-6HXkh24e.js.map} +1 -1
- package/dist/vue3/chunks/{dropdown-p-Azgwov.js → dropdown-QNvAb160.js} +40 -45
- package/dist/vue3/chunks/{dropdown-oA-_Gotg.js.map → dropdown-QNvAb160.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-QYpmdE0R.js → icon_constants-bvhFNOPu.js} +3 -2
- package/dist/vue3/chunks/icon_constants-bvhFNOPu.js.map +1 -0
- package/dist/vue3/chunks/{icon_constants-Dy4MEUJL.js → icon_constants-gIQj4mf7.js} +3 -2
- package/dist/vue3/chunks/icon_constants-gIQj4mf7.js.map +1 -0
- package/dist/vue3/chunks/{index-b_MgDylR.js → index-T15rAIdX.js} +71 -84
- package/dist/vue3/chunks/{index-4qgKeErp.js.map → index-T15rAIdX.js.map} +1 -1
- package/dist/vue3/chunks/{index-GVD15GIB.js → index-dfdrE-3M.js} +3 -12
- package/dist/vue3/chunks/{index-GVD15GIB.js.map → index-dfdrE-3M.js.map} +1 -1
- package/dist/vue3/chunks/{index-lu2o2f4r.js → index-fEp0B-5Z.js} +3 -12
- package/dist/vue3/chunks/{index-lu2o2f4r.js.map → index-fEp0B-5Z.js.map} +1 -1
- package/dist/vue3/chunks/{index-4qgKeErp.js → index-ouh7Bvm-.js} +71 -84
- package/dist/vue3/chunks/{index-b_MgDylR.js.map → index-ouh7Bvm-.js.map} +1 -1
- package/dist/vue3/chunks/{input-NmYDD5bn.js → input-HIysg24t.js} +3 -9
- package/dist/vue3/chunks/{input-NmYDD5bn.js.map → input-HIysg24t.js.map} +1 -1
- package/dist/vue3/chunks/{input-ttnte8zB.js → input-dLLo3Wtg.js} +3 -9
- package/dist/vue3/chunks/{input-ttnte8zB.js.map → input-dLLo3Wtg.js.map} +1 -1
- package/dist/vue3/chunks/{input_group-jWnq2DJT.js → input_group-hV1WT2it.js} +4 -2
- package/dist/vue3/chunks/{input_group-jWnq2DJT.js.map → input_group-hV1WT2it.js.map} +1 -1
- package/dist/vue3/chunks/{input_group-M-D25pOJ.js → input_group-rE6nhye8.js} +4 -2
- package/dist/vue3/chunks/{input_group-M-D25pOJ.js.map → input_group-rE6nhye8.js.map} +1 -1
- package/dist/vue3/chunks/{keyboard_list_navigation-ScXhrxya.js → keyboard_list_navigation-YIqTuw1W.js} +6 -5
- package/dist/{vue2/chunks/keyboard_list_navigation-fJnl_Iox.js.map → vue3/chunks/keyboard_list_navigation-YIqTuw1W.js.map} +1 -1
- package/dist/vue3/chunks/{keyboard_list_navigation-fJnl_Iox.js → keyboard_list_navigation-x3D6RcC7.js} +6 -5
- package/dist/vue3/chunks/{keyboard_list_navigation-ScXhrxya.js.map → keyboard_list_navigation-x3D6RcC7.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-XOr4kiNZ.js → modal-8X6poIZW.js} +4 -2
- package/dist/vue3/chunks/{modal-VgxXAQFP.js.map → modal-8X6poIZW.js.map} +1 -1
- package/dist/vue3/chunks/{modal-VgxXAQFP.js → modal-OaWxzqNt.js} +4 -2
- package/dist/{vue2/chunks/modal-XOr4kiNZ.js.map → vue3/chunks/modal-OaWxzqNt.js.map} +1 -1
- package/dist/vue3/chunks/{notice_action-WTucGhvr.js → notice_action-3ed0uIMN.js} +40 -61
- package/dist/vue3/chunks/{notice_action-p-ePanW_.js.map → notice_action-3ed0uIMN.js.map} +1 -1
- package/dist/vue3/chunks/{notice_action-p-ePanW_.js → notice_action-e08Lw5W6.js} +40 -61
- package/dist/vue3/chunks/{notice_action-WTucGhvr.js.map → notice_action-e08Lw5W6.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-WsOUIY-m.js → popover_constants-6YkPPbnk.js} +26 -47
- package/dist/{vue2/chunks/popover_constants-XnGWXaxX.js.map → vue3/chunks/popover_constants-6YkPPbnk.js.map} +1 -1
- package/dist/vue3/chunks/{popover_constants-XnGWXaxX.js → popover_constants-h9MD6WUt.js} +26 -47
- package/dist/vue3/chunks/{popover_constants-XnGWXaxX.js.map → popover_constants-h9MD6WUt.js.map} +1 -1
- package/dist/vue3/chunks/{sr_only_close_button-3EdsV-dH.js → sr_only_close_button-Ji3Zlts6.js} +4 -4
- package/dist/vue3/chunks/{sr_only_close_button-3EdsV-dH.js.map → sr_only_close_button-Ji3Zlts6.js.map} +1 -1
- package/dist/vue3/chunks/{sr_only_close_button-xGrHFjwA.js → sr_only_close_button-gKr0Vlbz.js} +4 -4
- package/dist/vue3/chunks/{sr_only_close_button-xGrHFjwA.js.map → sr_only_close_button-gKr0Vlbz.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-qc3f42Yp.js → tab-X7IvNGTl.js} +46 -49
- package/dist/vue3/chunks/{tab-qc3f42Yp.js.map → tab-X7IvNGTl.js.map} +1 -1
- package/dist/vue3/chunks/{tab-RTDgnD9-.js → tab-aD6t0MNo.js} +46 -49
- package/dist/vue3/chunks/{tab-RTDgnD9-.js.map → tab-aD6t0MNo.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 +3 -1
- package/dist/vue3/common/dates.cjs.map +1 -1
- package/dist/vue3/common/dates.js +3 -1
- 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 +11 -45
- package/dist/vue3/common/utils.cjs.map +1 -1
- package/dist/vue3/common/utils.js +11 -45
- 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 +87 -108
- package/dist/vue3/lib/attachment-carousel.cjs.map +1 -1
- package/dist/vue3/lib/attachment-carousel.js +87 -108
- package/dist/vue3/lib/attachment-carousel.js.map +1 -1
- package/dist/vue3/lib/avatar.cjs +56 -88
- package/dist/vue3/lib/avatar.cjs.map +1 -1
- package/dist/vue3/lib/avatar.js +56 -88
- package/dist/vue3/lib/avatar.js.map +1 -1
- package/dist/vue3/lib/badge.cjs +15 -31
- package/dist/vue3/lib/badge.cjs.map +1 -1
- package/dist/vue3/lib/badge.js +15 -31
- package/dist/vue3/lib/badge.js.map +1 -1
- package/dist/vue3/lib/banner.cjs +38 -56
- package/dist/vue3/lib/banner.cjs.map +1 -1
- package/dist/vue3/lib/banner.js +38 -56
- package/dist/vue3/lib/banner.js.map +1 -1
- package/dist/vue3/lib/breadcrumbs.cjs +25 -36
- package/dist/vue3/lib/breadcrumbs.cjs.map +1 -1
- package/dist/vue3/lib/breadcrumbs.js +25 -36
- package/dist/vue3/lib/breadcrumbs.js.map +1 -1
- package/dist/vue3/lib/button-group.cjs +2 -7
- package/dist/vue3/lib/button-group.cjs.map +1 -1
- package/dist/vue3/lib/button-group.js +2 -7
- package/dist/vue3/lib/button-group.js.map +1 -1
- package/dist/vue3/lib/button.cjs +44 -69
- package/dist/vue3/lib/button.cjs.map +1 -1
- package/dist/vue3/lib/button.js +44 -69
- package/dist/vue3/lib/button.js.map +1 -1
- package/dist/vue3/lib/callbar-button-with-popover.cjs +68 -81
- package/dist/vue3/lib/callbar-button-with-popover.cjs.map +1 -1
- package/dist/vue3/lib/callbar-button-with-popover.js +68 -81
- package/dist/vue3/lib/callbar-button-with-popover.js.map +1 -1
- package/dist/vue3/lib/callbar-button.cjs +32 -45
- package/dist/vue3/lib/callbar-button.cjs.map +1 -1
- package/dist/vue3/lib/callbar-button.js +32 -45
- package/dist/vue3/lib/callbar-button.js.map +1 -1
- package/dist/vue3/lib/callbox.cjs +38 -57
- package/dist/vue3/lib/callbox.cjs.map +1 -1
- package/dist/vue3/lib/callbox.js +38 -57
- package/dist/vue3/lib/callbox.js.map +1 -1
- package/dist/vue3/lib/card.cjs +13 -33
- package/dist/vue3/lib/card.cjs.map +1 -1
- package/dist/vue3/lib/card.js +13 -33
- package/dist/vue3/lib/card.js.map +1 -1
- package/dist/vue3/lib/checkbox-group.cjs +2 -5
- package/dist/vue3/lib/checkbox-group.cjs.map +1 -1
- package/dist/vue3/lib/checkbox-group.js +2 -5
- package/dist/vue3/lib/checkbox-group.js.map +1 -1
- package/dist/vue3/lib/checkbox.cjs +41 -45
- package/dist/vue3/lib/checkbox.cjs.map +1 -1
- package/dist/vue3/lib/checkbox.js +41 -45
- package/dist/vue3/lib/checkbox.js.map +1 -1
- package/dist/vue3/lib/chip.cjs +38 -53
- package/dist/vue3/lib/chip.cjs.map +1 -1
- package/dist/vue3/lib/chip.js +38 -53
- package/dist/vue3/lib/chip.js.map +1 -1
- package/dist/vue3/lib/codeblock.cjs +4 -6
- package/dist/vue3/lib/codeblock.cjs.map +1 -1
- package/dist/vue3/lib/codeblock.js +4 -6
- package/dist/vue3/lib/codeblock.js.map +1 -1
- package/dist/vue3/lib/collapsible.cjs +62 -76
- package/dist/vue3/lib/collapsible.cjs.map +1 -1
- package/dist/vue3/lib/collapsible.js +62 -76
- package/dist/vue3/lib/collapsible.js.map +1 -1
- package/dist/vue3/lib/combobox-multi-select.cjs +75 -88
- package/dist/vue3/lib/combobox-multi-select.cjs.map +1 -1
- package/dist/vue3/lib/combobox-multi-select.js +75 -88
- package/dist/vue3/lib/combobox-multi-select.js.map +1 -1
- package/dist/vue3/lib/combobox-with-popover.cjs +77 -85
- package/dist/vue3/lib/combobox-with-popover.cjs.map +1 -1
- package/dist/vue3/lib/combobox-with-popover.js +77 -85
- 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 +65 -89
- package/dist/vue3/lib/contact-centers-row.cjs.map +1 -1
- package/dist/vue3/lib/contact-centers-row.js +65 -89
- package/dist/vue3/lib/contact-centers-row.js.map +1 -1
- package/dist/vue3/lib/contact-info.cjs +58 -73
- package/dist/vue3/lib/contact-info.cjs.map +1 -1
- package/dist/vue3/lib/contact-info.js +58 -73
- package/dist/vue3/lib/contact-info.js.map +1 -1
- package/dist/vue3/lib/contact-row.cjs +37 -47
- package/dist/vue3/lib/contact-row.cjs.map +1 -1
- package/dist/vue3/lib/contact-row.js +37 -47
- package/dist/vue3/lib/contact-row.js.map +1 -1
- package/dist/vue3/lib/datepicker.cjs +267 -263
- package/dist/vue3/lib/datepicker.cjs.map +1 -1
- package/dist/vue3/lib/datepicker.js +267 -263
- package/dist/vue3/lib/datepicker.js.map +1 -1
- package/dist/vue3/lib/description-list.cjs +9 -14
- package/dist/vue3/lib/description-list.cjs.map +1 -1
- package/dist/vue3/lib/description-list.js +9 -14
- 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 +312 -249
- package/dist/vue3/lib/editor.cjs.map +1 -1
- package/dist/vue3/lib/editor.js +312 -249
- package/dist/vue3/lib/editor.js.map +1 -1
- package/dist/vue3/lib/emoji-picker.cjs +387 -419
- package/dist/vue3/lib/emoji-picker.cjs.map +1 -1
- package/dist/vue3/lib/emoji-picker.js +387 -419
- package/dist/vue3/lib/emoji-picker.js.map +1 -1
- package/dist/vue3/lib/emoji-row.cjs +59 -69
- package/dist/vue3/lib/emoji-row.cjs.map +1 -1
- package/dist/vue3/lib/emoji-row.js +59 -69
- package/dist/vue3/lib/emoji-row.js.map +1 -1
- package/dist/vue3/lib/emoji-text-wrapper.cjs +13 -12
- package/dist/vue3/lib/emoji-text-wrapper.cjs.map +1 -1
- package/dist/vue3/lib/emoji-text-wrapper.js +13 -12
- package/dist/vue3/lib/emoji-text-wrapper.js.map +1 -1
- package/dist/vue3/lib/emoji.cjs +19 -23
- package/dist/vue3/lib/emoji.cjs.map +1 -1
- package/dist/vue3/lib/emoji.js +19 -23
- package/dist/vue3/lib/emoji.js.map +1 -1
- package/dist/vue3/lib/empty-state.cjs +20 -30
- package/dist/vue3/lib/empty-state.cjs.map +1 -1
- package/dist/vue3/lib/empty-state.js +20 -30
- package/dist/vue3/lib/empty-state.js.map +1 -1
- package/dist/vue3/lib/feed-item-row.cjs +43 -74
- package/dist/vue3/lib/feed-item-row.cjs.map +1 -1
- package/dist/vue3/lib/feed-item-row.js +43 -74
- package/dist/vue3/lib/feed-item-row.js.map +1 -1
- package/dist/vue3/lib/feed-pill.cjs +45 -55
- package/dist/vue3/lib/feed-pill.cjs.map +1 -1
- package/dist/vue3/lib/feed-pill.js +45 -55
- package/dist/vue3/lib/feed-pill.js.map +1 -1
- package/dist/vue3/lib/general-row.cjs +115 -165
- package/dist/vue3/lib/general-row.cjs.map +1 -1
- package/dist/vue3/lib/general-row.js +115 -165
- package/dist/vue3/lib/general-row.js.map +1 -1
- package/dist/vue3/lib/group-row.cjs +7 -9
- package/dist/vue3/lib/group-row.cjs.map +1 -1
- package/dist/vue3/lib/group-row.js +7 -9
- package/dist/vue3/lib/group-row.js.map +1 -1
- package/dist/vue3/lib/grouped-chip.cjs +27 -48
- package/dist/vue3/lib/grouped-chip.cjs.map +1 -1
- package/dist/vue3/lib/grouped-chip.js +27 -48
- package/dist/vue3/lib/grouped-chip.js.map +1 -1
- package/dist/vue3/lib/hovercard.cjs +25 -33
- package/dist/vue3/lib/hovercard.cjs.map +1 -1
- package/dist/vue3/lib/hovercard.js +25 -33
- 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 +2 -1
- package/dist/vue3/lib/illustration.cjs.map +1 -1
- package/dist/vue3/lib/illustration.js +2 -1
- package/dist/vue3/lib/illustration.js.map +1 -1
- package/dist/vue3/lib/image-viewer.cjs +62 -66
- package/dist/vue3/lib/image-viewer.cjs.map +1 -1
- package/dist/vue3/lib/image-viewer.js +62 -66
- package/dist/vue3/lib/image-viewer.js.map +1 -1
- package/dist/vue3/lib/input-group.cjs +15 -19
- package/dist/vue3/lib/input-group.cjs.map +1 -1
- package/dist/vue3/lib/input-group.js +15 -19
- package/dist/vue3/lib/input-group.js.map +1 -1
- package/dist/vue3/lib/input.cjs +76 -104
- package/dist/vue3/lib/input.cjs.map +1 -1
- package/dist/vue3/lib/input.js +76 -104
- package/dist/vue3/lib/input.js.map +1 -1
- package/dist/vue3/lib/item-layout.cjs +10 -27
- package/dist/vue3/lib/item-layout.cjs.map +1 -1
- package/dist/vue3/lib/item-layout.js +10 -27
- package/dist/vue3/lib/item-layout.js.map +1 -1
- package/dist/vue3/lib/ivr-node.cjs +80 -89
- package/dist/vue3/lib/ivr-node.cjs.map +1 -1
- package/dist/vue3/lib/ivr-node.js +80 -89
- package/dist/vue3/lib/ivr-node.js.map +1 -1
- package/dist/vue3/lib/keyboard-shortcut.cjs +26 -31
- package/dist/vue3/lib/keyboard-shortcut.cjs.map +1 -1
- package/dist/vue3/lib/keyboard-shortcut.js +26 -31
- package/dist/vue3/lib/keyboard-shortcut.js.map +1 -1
- package/dist/vue3/lib/lazy-show.cjs +6 -8
- package/dist/vue3/lib/lazy-show.cjs.map +1 -1
- package/dist/vue3/lib/lazy-show.js +6 -8
- package/dist/vue3/lib/lazy-show.js.map +1 -1
- package/dist/vue3/lib/link.cjs +2 -7
- package/dist/vue3/lib/link.cjs.map +1 -1
- package/dist/vue3/lib/link.js +2 -7
- package/dist/vue3/lib/link.js.map +1 -1
- package/dist/vue3/lib/list-item-group.cjs +7 -14
- package/dist/vue3/lib/list-item-group.cjs.map +1 -1
- package/dist/vue3/lib/list-item-group.js +7 -14
- package/dist/vue3/lib/list-item-group.js.map +1 -1
- package/dist/vue3/lib/list-item.cjs +24 -25
- package/dist/vue3/lib/list-item.cjs.map +1 -1
- package/dist/vue3/lib/list-item.js +24 -25
- package/dist/vue3/lib/list-item.js.map +1 -1
- package/dist/vue3/lib/message-input.cjs +239 -277
- package/dist/vue3/lib/message-input.cjs.map +1 -1
- package/dist/vue3/lib/message-input.js +240 -278
- package/dist/vue3/lib/message-input.js.map +1 -1
- package/dist/vue3/lib/modal.cjs +59 -99
- package/dist/vue3/lib/modal.cjs.map +1 -1
- package/dist/vue3/lib/modal.js +59 -99
- package/dist/vue3/lib/modal.js.map +1 -1
- package/dist/vue3/lib/notice.cjs +33 -46
- package/dist/vue3/lib/notice.cjs.map +1 -1
- package/dist/vue3/lib/notice.js +33 -46
- package/dist/vue3/lib/notice.js.map +1 -1
- package/dist/vue3/lib/pagination.cjs +49 -61
- package/dist/vue3/lib/pagination.cjs.map +1 -1
- package/dist/vue3/lib/pagination.js +49 -61
- package/dist/vue3/lib/pagination.js.map +1 -1
- package/dist/vue3/lib/popover.cjs +133 -156
- package/dist/vue3/lib/popover.cjs.map +1 -1
- package/dist/vue3/lib/popover.js +134 -157
- package/dist/vue3/lib/popover.js.map +1 -1
- package/dist/vue3/lib/presence.cjs +9 -17
- package/dist/vue3/lib/presence.cjs.map +1 -1
- package/dist/vue3/lib/presence.js +9 -17
- 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 +34 -41
- package/dist/vue3/lib/radio.cjs.map +1 -1
- package/dist/vue3/lib/radio.js +34 -41
- package/dist/vue3/lib/radio.js.map +1 -1
- package/dist/vue3/lib/rich-text-editor.cjs +297 -298
- package/dist/vue3/lib/rich-text-editor.cjs.map +1 -1
- package/dist/vue3/lib/rich-text-editor.js +297 -298
- package/dist/vue3/lib/rich-text-editor.js.map +1 -1
- package/dist/vue3/lib/root-layout.cjs +24 -39
- package/dist/vue3/lib/root-layout.cjs.map +1 -1
- package/dist/vue3/lib/root-layout.js +24 -39
- package/dist/vue3/lib/root-layout.js.map +1 -1
- package/dist/vue3/lib/scrollbar-directive.cjs.map +1 -1
- package/dist/vue3/lib/scrollbar-directive.js.map +1 -1
- package/dist/vue3/lib/scroller.cjs +100 -83
- package/dist/vue3/lib/scroller.cjs.map +1 -1
- package/dist/vue3/lib/scroller.js +100 -83
- package/dist/vue3/lib/scroller.js.map +1 -1
- package/dist/vue3/lib/select-menu.cjs +40 -67
- package/dist/vue3/lib/select-menu.cjs.map +1 -1
- package/dist/vue3/lib/select-menu.js +40 -67
- package/dist/vue3/lib/select-menu.js.map +1 -1
- package/dist/vue3/lib/settings-menu-button.cjs +10 -16
- package/dist/vue3/lib/settings-menu-button.cjs.map +1 -1
- package/dist/vue3/lib/settings-menu-button.js +10 -16
- package/dist/vue3/lib/settings-menu-button.js.map +1 -1
- package/dist/vue3/lib/skeleton.cjs +74 -93
- package/dist/vue3/lib/skeleton.cjs.map +1 -1
- package/dist/vue3/lib/skeleton.js +74 -93
- package/dist/vue3/lib/skeleton.js.map +1 -1
- package/dist/vue3/lib/split-button.cjs +68 -74
- package/dist/vue3/lib/split-button.cjs.map +1 -1
- package/dist/vue3/lib/split-button.js +68 -74
- package/dist/vue3/lib/split-button.js.map +1 -1
- package/dist/vue3/lib/stack.cjs +18 -26
- package/dist/vue3/lib/stack.cjs.map +1 -1
- package/dist/vue3/lib/stack.js +18 -26
- package/dist/vue3/lib/stack.js.map +1 -1
- package/dist/vue3/lib/tabs.cjs +3 -7
- package/dist/vue3/lib/tabs.cjs.map +1 -1
- package/dist/vue3/lib/tabs.js +3 -7
- 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 +35 -51
- package/dist/vue3/lib/toast.cjs.map +1 -1
- package/dist/vue3/lib/toast.js +35 -51
- package/dist/vue3/lib/toast.js.map +1 -1
- package/dist/vue3/lib/toggle.cjs +24 -34
- package/dist/vue3/lib/toggle.cjs.map +1 -1
- package/dist/vue3/lib/toggle.js +24 -34
- package/dist/vue3/lib/toggle.js.map +1 -1
- package/dist/vue3/lib/tooltip-directive.cjs +26 -19
- package/dist/vue3/lib/tooltip-directive.cjs.map +1 -1
- package/dist/vue3/lib/tooltip-directive.js +26 -19
- package/dist/vue3/lib/tooltip-directive.js.map +1 -1
- package/dist/vue3/lib/tooltip.cjs +21 -32
- package/dist/vue3/lib/tooltip.cjs.map +1 -1
- package/dist/vue3/lib/tooltip.js +22 -33
- package/dist/vue3/lib/tooltip.js.map +1 -1
- package/dist/vue3/lib/top-banner-info.cjs +8 -23
- package/dist/vue3/lib/top-banner-info.cjs.map +1 -1
- package/dist/vue3/lib/top-banner-info.js +8 -23
- package/dist/vue3/lib/top-banner-info.js.map +1 -1
- package/dist/vue3/lib/unread-pill.cjs +8 -11
- package/dist/vue3/lib/unread-pill.cjs.map +1 -1
- package/dist/vue3/lib/unread-pill.js +8 -11
- package/dist/vue3/lib/unread-pill.js.map +1 -1
- package/dist/vue3/lib/validation-messages.cjs +14 -17
- package/dist/vue3/lib/validation-messages.cjs.map +1 -1
- package/dist/vue3/lib/validation-messages.js +14 -17
- package/dist/vue3/lib/validation-messages.js.map +1 -1
- package/dist/vue3/style.css +5 -0
- 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/image_viewer/image_viewer.vue.d.ts +21 -0
- package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/input/input.vue.d.ts +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/extensions/custom_link/custom_link.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/mention_suggestion.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +5 -3
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +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/conversation_view/message_input/message_input.vue.d.ts +1 -1
- package/package.json +3 -3
- package/dist/chunks/tokens-base-dark-BC3U5KoN.js +0 -4
- package/dist/chunks/tokens-base-dark-zbBpWlfP.js +0 -1
- package/dist/chunks/tokens-base-light-PCrr7t8W.js +0 -4
- package/dist/chunks/tokens-base-light-dvWvBHbM.js +0 -1
- package/dist/vue2/chunks/icon_constants-Dy4MEUJL.js.map +0 -1
- package/dist/vue2/chunks/icon_constants-QYpmdE0R.js.map +0 -1
- package/dist/vue3/chunks/icon_constants-Dy4MEUJL.js.map +0 -1
- package/dist/vue3/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,24 +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
|
-
0
|
|
612
|
-
];
|
|
613
|
+
renderHTML({
|
|
614
|
+
HTMLAttributes
|
|
615
|
+
}) {
|
|
616
|
+
return ["a", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes, defaultAttributes)];
|
|
613
617
|
},
|
|
614
|
-
renderText({
|
|
618
|
+
renderText({
|
|
619
|
+
node
|
|
620
|
+
}) {
|
|
615
621
|
return node.attrs.text;
|
|
616
622
|
},
|
|
617
623
|
addProseMirrorPlugins() {
|
|
618
|
-
return [
|
|
619
|
-
|
|
620
|
-
];
|
|
624
|
+
return [autolink({
|
|
625
|
+
type: this.type
|
|
626
|
+
})];
|
|
621
627
|
}
|
|
622
628
|
});
|
|
623
629
|
const _sfc_main$6 = {
|
|
@@ -635,30 +641,25 @@ const _sfc_main$6 = {
|
|
|
635
641
|
};
|
|
636
642
|
var _sfc_render$6 = function render4() {
|
|
637
643
|
var _vm = this, _c = _vm._self._c;
|
|
638
|
-
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);
|
|
639
651
|
};
|
|
640
652
|
var _sfc_staticRenderFns$6 = [];
|
|
641
|
-
var __component__$6 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
642
|
-
_sfc_main$6,
|
|
643
|
-
_sfc_render$6,
|
|
644
|
-
_sfc_staticRenderFns$6,
|
|
645
|
-
false,
|
|
646
|
-
null,
|
|
647
|
-
null,
|
|
648
|
-
null,
|
|
649
|
-
null
|
|
650
|
-
);
|
|
653
|
+
var __component__$6 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$6, _sfc_render$6, _sfc_staticRenderFns$6, false, null, null, null, null);
|
|
651
654
|
const MentionComponent = __component__$6.exports;
|
|
652
655
|
const MentionPlugin = Mention.extend({
|
|
653
656
|
addNodeView() {
|
|
654
657
|
return vue2.VueNodeViewRenderer(MentionComponent);
|
|
655
658
|
},
|
|
656
659
|
parseHTML() {
|
|
657
|
-
return [
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
}
|
|
661
|
-
];
|
|
660
|
+
return [{
|
|
661
|
+
tag: "mention-component"
|
|
662
|
+
}];
|
|
662
663
|
},
|
|
663
664
|
addAttributes() {
|
|
664
665
|
return {
|
|
@@ -673,11 +674,15 @@ const MentionPlugin = Mention.extend({
|
|
|
673
674
|
}
|
|
674
675
|
};
|
|
675
676
|
},
|
|
676
|
-
renderText({
|
|
677
|
+
renderText({
|
|
678
|
+
node
|
|
679
|
+
}) {
|
|
677
680
|
return `@${node.attrs.id}`;
|
|
678
681
|
},
|
|
679
|
-
renderHTML({
|
|
680
|
-
|
|
682
|
+
renderHTML({
|
|
683
|
+
HTMLAttributes
|
|
684
|
+
}) {
|
|
685
|
+
return ["mention-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
|
|
681
686
|
}
|
|
682
687
|
}).configure({
|
|
683
688
|
suggestion: {
|
|
@@ -700,19 +705,16 @@ const _sfc_main$5 = {
|
|
|
700
705
|
};
|
|
701
706
|
var _sfc_render$5 = function render5() {
|
|
702
707
|
var _vm = this, _c = _vm._self._c;
|
|
703
|
-
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);
|
|
704
715
|
};
|
|
705
716
|
var _sfc_staticRenderFns$5 = [];
|
|
706
|
-
var __component__$5 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
707
|
-
_sfc_main$5,
|
|
708
|
-
_sfc_render$5,
|
|
709
|
-
_sfc_staticRenderFns$5,
|
|
710
|
-
false,
|
|
711
|
-
null,
|
|
712
|
-
null,
|
|
713
|
-
null,
|
|
714
|
-
null
|
|
715
|
-
);
|
|
717
|
+
var __component__$5 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$5, _sfc_render$5, _sfc_staticRenderFns$5, false, null, null, null, null);
|
|
716
718
|
const ChannelComponent = __component__$5.exports;
|
|
717
719
|
const ChannelPlugin = Mention.extend({
|
|
718
720
|
name: "channel",
|
|
@@ -720,11 +722,9 @@ const ChannelPlugin = Mention.extend({
|
|
|
720
722
|
return vue2.VueNodeViewRenderer(ChannelComponent);
|
|
721
723
|
},
|
|
722
724
|
parseHTML() {
|
|
723
|
-
return [
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
}
|
|
727
|
-
];
|
|
725
|
+
return [{
|
|
726
|
+
tag: "channel-component"
|
|
727
|
+
}];
|
|
728
728
|
},
|
|
729
729
|
addAttributes() {
|
|
730
730
|
return {
|
|
@@ -739,11 +739,15 @@ const ChannelPlugin = Mention.extend({
|
|
|
739
739
|
}
|
|
740
740
|
};
|
|
741
741
|
},
|
|
742
|
-
renderText({
|
|
742
|
+
renderText({
|
|
743
|
+
node
|
|
744
|
+
}) {
|
|
743
745
|
return `#${node.attrs.id}`;
|
|
744
746
|
},
|
|
745
|
-
renderHTML({
|
|
746
|
-
|
|
747
|
+
renderHTML({
|
|
748
|
+
HTMLAttributes
|
|
749
|
+
}) {
|
|
750
|
+
return ["channel-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
|
|
747
751
|
}
|
|
748
752
|
}).configure({
|
|
749
753
|
suggestion: {
|
|
@@ -769,19 +773,12 @@ const _sfc_main$4 = {
|
|
|
769
773
|
};
|
|
770
774
|
var _sfc_render$4 = function render6() {
|
|
771
775
|
var _vm = this, _c = _vm._self._c;
|
|
772
|
-
return _c("node-view-wrapper", {
|
|
776
|
+
return _c("node-view-wrapper", {
|
|
777
|
+
staticClass: "d-d-inline-block"
|
|
778
|
+
}, [_vm._v(" " + _vm._s(_vm.text) + " ")]);
|
|
773
779
|
};
|
|
774
780
|
var _sfc_staticRenderFns$4 = [];
|
|
775
|
-
var __component__$4 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
776
|
-
_sfc_main$4,
|
|
777
|
-
_sfc_render$4,
|
|
778
|
-
_sfc_staticRenderFns$4,
|
|
779
|
-
false,
|
|
780
|
-
null,
|
|
781
|
-
null,
|
|
782
|
-
null,
|
|
783
|
-
null
|
|
784
|
-
);
|
|
781
|
+
var __component__$4 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$4, _sfc_render$4, _sfc_staticRenderFns$4, false, null, null, null, null);
|
|
785
782
|
const SlashCommandComponent = __component__$4.exports;
|
|
786
783
|
const slashCommandPasteMatch = (text, slashCommandRegex) => {
|
|
787
784
|
const matches = [...text.matchAll(slashCommandRegex)];
|
|
@@ -804,11 +801,9 @@ const SlashCommandPlugin = Mention.extend({
|
|
|
804
801
|
return vue2.VueNodeViewRenderer(SlashCommandComponent);
|
|
805
802
|
},
|
|
806
803
|
parseHTML() {
|
|
807
|
-
return [
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
}
|
|
811
|
-
];
|
|
804
|
+
return [{
|
|
805
|
+
tag: "command-component"
|
|
806
|
+
}];
|
|
812
807
|
},
|
|
813
808
|
addAttributes() {
|
|
814
809
|
return {
|
|
@@ -823,39 +818,47 @@ const SlashCommandPlugin = Mention.extend({
|
|
|
823
818
|
}
|
|
824
819
|
};
|
|
825
820
|
},
|
|
826
|
-
renderText({
|
|
821
|
+
renderText({
|
|
822
|
+
node
|
|
823
|
+
}) {
|
|
827
824
|
return `/${node.attrs.command}`;
|
|
828
825
|
},
|
|
829
|
-
renderHTML({
|
|
826
|
+
renderHTML({
|
|
827
|
+
HTMLAttributes
|
|
828
|
+
}) {
|
|
830
829
|
return ["command-component", core.mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
|
|
831
830
|
},
|
|
832
831
|
addInputRules() {
|
|
833
832
|
var _a;
|
|
834
|
-
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);
|
|
835
836
|
const slashCommandRegex = new RegExp(`^((?:\\/)(${suggestions.join("|")})) $`);
|
|
836
|
-
return [
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
];
|
|
837
|
+
return [core.nodeInputRule({
|
|
838
|
+
find: slashCommandRegex,
|
|
839
|
+
type: this.type,
|
|
840
|
+
getAttributes(attrs) {
|
|
841
|
+
return {
|
|
842
|
+
command: attrs[2]
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
})];
|
|
845
846
|
},
|
|
846
847
|
addPasteRules() {
|
|
847
848
|
var _a;
|
|
848
|
-
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);
|
|
849
852
|
const slashCommandRegex = new RegExp(`^((?:\\/)(${suggestions.join("|")})) ?$`, "g");
|
|
850
|
-
return [
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
];
|
|
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
|
+
})];
|
|
859
862
|
}
|
|
860
863
|
}).configure({
|
|
861
864
|
suggestion: {
|
|
@@ -863,24 +866,9 @@ const SlashCommandPlugin = Mention.extend({
|
|
|
863
866
|
pluginKey: new state.PluginKey("slashCommandSuggestion")
|
|
864
867
|
}
|
|
865
868
|
});
|
|
866
|
-
const RICH_TEXT_EDITOR_OUTPUT_FORMATS = [
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
"html"
|
|
870
|
-
];
|
|
871
|
-
const RICH_TEXT_EDITOR_AUTOFOCUS_TYPES = [
|
|
872
|
-
"start",
|
|
873
|
-
"end",
|
|
874
|
-
"all"
|
|
875
|
-
];
|
|
876
|
-
const RICH_TEXT_EDITOR_SUPPORTED_LINK_PROTOCOLS = [
|
|
877
|
-
"https",
|
|
878
|
-
"http",
|
|
879
|
-
"ftp",
|
|
880
|
-
"ftps",
|
|
881
|
-
"sftp",
|
|
882
|
-
"mailto"
|
|
883
|
-
];
|
|
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"];
|
|
884
872
|
const _sfc_main$3 = {
|
|
885
873
|
name: "MentionSuggestion",
|
|
886
874
|
components: {
|
|
@@ -904,19 +892,24 @@ const _sfc_main$3 = {
|
|
|
904
892
|
};
|
|
905
893
|
var _sfc_render$3 = function render7() {
|
|
906
894
|
var _vm = this, _c = _vm._self._c;
|
|
907
|
-
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);
|
|
908
910
|
};
|
|
909
911
|
var _sfc_staticRenderFns$3 = [];
|
|
910
|
-
var __component__$3 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
911
|
-
_sfc_main$3,
|
|
912
|
-
_sfc_render$3,
|
|
913
|
-
_sfc_staticRenderFns$3,
|
|
914
|
-
false,
|
|
915
|
-
null,
|
|
916
|
-
null,
|
|
917
|
-
null,
|
|
918
|
-
null
|
|
919
|
-
);
|
|
912
|
+
var __component__$3 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$3, _sfc_render$3, _sfc_staticRenderFns$3, false, null, "65bcbd51", null, null);
|
|
920
913
|
const MentionSuggestion = __component__$3.exports;
|
|
921
914
|
const mentionSuggestion = {
|
|
922
915
|
// This function comes from the user and passed to the editor directly.
|
|
@@ -1012,19 +1005,23 @@ const _sfc_main$2 = {
|
|
|
1012
1005
|
};
|
|
1013
1006
|
var _sfc_render$2 = function render8() {
|
|
1014
1007
|
var _vm = this, _c = _vm._self._c;
|
|
1015
|
-
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);
|
|
1016
1022
|
};
|
|
1017
1023
|
var _sfc_staticRenderFns$2 = [];
|
|
1018
|
-
var __component__$2 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
1019
|
-
_sfc_main$2,
|
|
1020
|
-
_sfc_render$2,
|
|
1021
|
-
_sfc_staticRenderFns$2,
|
|
1022
|
-
false,
|
|
1023
|
-
null,
|
|
1024
|
-
null,
|
|
1025
|
-
null,
|
|
1026
|
-
null
|
|
1027
|
-
);
|
|
1024
|
+
var __component__$2 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$2, _sfc_render$2, _sfc_staticRenderFns$2, false, null, null, null, null);
|
|
1028
1025
|
const ChannelSuggestion = __component__$2.exports;
|
|
1029
1026
|
const channelSuggestion = {
|
|
1030
1027
|
// This function comes from the user and passed to the editor directly.
|
|
@@ -1121,19 +1118,14 @@ const _sfc_main$1 = {
|
|
|
1121
1118
|
};
|
|
1122
1119
|
var _sfc_render$1 = function render9() {
|
|
1123
1120
|
var _vm = this, _c = _vm._self._c;
|
|
1124
|
-
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) + " ")])]);
|
|
1125
1126
|
};
|
|
1126
1127
|
var _sfc_staticRenderFns$1 = [];
|
|
1127
|
-
var __component__$1 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
1128
|
-
_sfc_main$1,
|
|
1129
|
-
_sfc_render$1,
|
|
1130
|
-
_sfc_staticRenderFns$1,
|
|
1131
|
-
false,
|
|
1132
|
-
null,
|
|
1133
|
-
null,
|
|
1134
|
-
null,
|
|
1135
|
-
null
|
|
1136
|
-
);
|
|
1128
|
+
var __component__$1 = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main$1, _sfc_render$1, _sfc_staticRenderFns$1, false, null, null, null, null);
|
|
1137
1129
|
const SlashCommandSuggestion = __component__$1.exports;
|
|
1138
1130
|
const slashCommandSuggestion = {
|
|
1139
1131
|
// This function comes from the user and passed to the editor directly.
|
|
@@ -1238,7 +1230,8 @@ const _sfc_main = {
|
|
|
1238
1230
|
default: false
|
|
1239
1231
|
},
|
|
1240
1232
|
/**
|
|
1241
|
-
* Whether the input allows for line breaks to be introduced in the text.
|
|
1233
|
+
* Whether the input allows for line breaks to be introduced in the text by pressing enter. If this is disabled,
|
|
1234
|
+
* line breaks can still be entered by pressing shift+enter.
|
|
1242
1235
|
*/
|
|
1243
1236
|
allowLineBreaks: {
|
|
1244
1237
|
type: Boolean,
|
|
@@ -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,48 +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
|
-
() => commands.splitBlock()
|
|
1539
|
-
]);
|
|
1540
|
-
return true;
|
|
1541
|
-
}
|
|
1542
|
-
};
|
|
1543
|
-
}
|
|
1544
|
-
})
|
|
1545
|
-
);
|
|
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
|
+
}));
|
|
1546
1533
|
} else {
|
|
1547
1534
|
extensions.push(HardBreak);
|
|
1548
1535
|
}
|
|
1549
1536
|
if (this.mentionSuggestion) {
|
|
1550
|
-
const suggestionObject = {
|
|
1551
|
-
|
|
1537
|
+
const suggestionObject = {
|
|
1538
|
+
...this.mentionSuggestion,
|
|
1539
|
+
...mentionSuggestion
|
|
1540
|
+
};
|
|
1541
|
+
extensions.push(MentionPlugin.configure({
|
|
1542
|
+
suggestion: suggestionObject
|
|
1543
|
+
}));
|
|
1552
1544
|
}
|
|
1553
1545
|
if (this.channelSuggestion) {
|
|
1554
|
-
const suggestionObject = {
|
|
1555
|
-
|
|
1546
|
+
const suggestionObject = {
|
|
1547
|
+
...this.channelSuggestion,
|
|
1548
|
+
...channelSuggestion
|
|
1549
|
+
};
|
|
1550
|
+
extensions.push(ChannelPlugin.configure({
|
|
1551
|
+
suggestion: suggestionObject
|
|
1552
|
+
}));
|
|
1556
1553
|
}
|
|
1557
1554
|
if (this.slashCommandSuggestion) {
|
|
1558
|
-
const suggestionObject = {
|
|
1559
|
-
|
|
1555
|
+
const suggestionObject = {
|
|
1556
|
+
...this.slashCommandSuggestion,
|
|
1557
|
+
...slashCommandSuggestion
|
|
1558
|
+
};
|
|
1559
|
+
extensions.push(SlashCommandPlugin.configure({
|
|
1560
|
+
suggestion: suggestionObject
|
|
1561
|
+
}));
|
|
1560
1562
|
}
|
|
1561
1563
|
extensions.push(Emoji);
|
|
1562
1564
|
extensions.push(TextAlign.configure({
|
|
@@ -1595,13 +1597,19 @@ const _sfc_main = {
|
|
|
1595
1597
|
watch: {
|
|
1596
1598
|
editable(isEditable) {
|
|
1597
1599
|
this.editor.setEditable(isEditable);
|
|
1598
|
-
this.updateEditorAttributes({
|
|
1600
|
+
this.updateEditorAttributes({
|
|
1601
|
+
"aria-readonly": !isEditable
|
|
1602
|
+
});
|
|
1599
1603
|
},
|
|
1600
1604
|
inputClass(newClass) {
|
|
1601
|
-
this.updateEditorAttributes({
|
|
1605
|
+
this.updateEditorAttributes({
|
|
1606
|
+
class: newClass
|
|
1607
|
+
});
|
|
1602
1608
|
},
|
|
1603
1609
|
inputAriaLabel(newLabel) {
|
|
1604
|
-
this.updateEditorAttributes({
|
|
1610
|
+
this.updateEditorAttributes({
|
|
1611
|
+
"aria-label": newLabel
|
|
1612
|
+
});
|
|
1605
1613
|
},
|
|
1606
1614
|
extensions() {
|
|
1607
1615
|
this.destroyEditor();
|
|
@@ -1659,10 +1667,14 @@ const _sfc_main = {
|
|
|
1659
1667
|
this.$emit("input", value);
|
|
1660
1668
|
this.$emit("update:value", value);
|
|
1661
1669
|
});
|
|
1662
|
-
this.editor.on("focus", ({
|
|
1670
|
+
this.editor.on("focus", ({
|
|
1671
|
+
event
|
|
1672
|
+
}) => {
|
|
1663
1673
|
this.$emit("focus", event);
|
|
1664
1674
|
});
|
|
1665
|
-
this.editor.on("blur", ({
|
|
1675
|
+
this.editor.on("blur", ({
|
|
1676
|
+
event
|
|
1677
|
+
}) => {
|
|
1666
1678
|
this.$emit("blur", event);
|
|
1667
1679
|
});
|
|
1668
1680
|
},
|
|
@@ -1685,7 +1697,11 @@ const _sfc_main = {
|
|
|
1685
1697
|
return (_a = extension.configure) == null ? void 0 : _a.call(extension, options);
|
|
1686
1698
|
},
|
|
1687
1699
|
updateEditorAttributes(attributes) {
|
|
1688
|
-
this.editor.setOptions({
|
|
1700
|
+
this.editor.setOptions({
|
|
1701
|
+
editorProps: {
|
|
1702
|
+
attributes
|
|
1703
|
+
}
|
|
1704
|
+
});
|
|
1689
1705
|
},
|
|
1690
1706
|
focusEditor() {
|
|
1691
1707
|
this.editor.commands.focus();
|
|
@@ -1694,19 +1710,16 @@ const _sfc_main = {
|
|
|
1694
1710
|
};
|
|
1695
1711
|
var _sfc_render = function render10() {
|
|
1696
1712
|
var _vm = this, _c = _vm._self._c;
|
|
1697
|
-
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));
|
|
1698
1720
|
};
|
|
1699
1721
|
var _sfc_staticRenderFns = [];
|
|
1700
|
-
var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
|
|
1701
|
-
_sfc_main,
|
|
1702
|
-
_sfc_render,
|
|
1703
|
-
_sfc_staticRenderFns,
|
|
1704
|
-
false,
|
|
1705
|
-
null,
|
|
1706
|
-
null,
|
|
1707
|
-
null,
|
|
1708
|
-
null
|
|
1709
|
-
);
|
|
1722
|
+
var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
|
|
1710
1723
|
const DtRichTextEditor = __component__.exports;
|
|
1711
1724
|
exports.DtRichTextEditor = DtRichTextEditor;
|
|
1712
1725
|
exports.RICH_TEXT_EDITOR_AUTOFOCUS_TYPES = RICH_TEXT_EDITOR_AUTOFOCUS_TYPES;
|