@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
|
@@ -6,13 +6,13 @@ import { DtButton } from "./button.js";
|
|
|
6
6
|
import { DtIcon } from "./icon.js";
|
|
7
7
|
import "../chunks/stack_constants-HraCekPm.js";
|
|
8
8
|
import "../chunks/_plugin-vue_export-helper-caHeSgYY.js";
|
|
9
|
-
import "../chunks/popover_constants-
|
|
9
|
+
import "../chunks/popover_constants-WsOUIY-m.js";
|
|
10
10
|
import "tippy.js";
|
|
11
11
|
import "../common/utils.js";
|
|
12
12
|
import "../common/constants.js";
|
|
13
13
|
import "../chunks/link_constants-AfTWrr-n.js";
|
|
14
14
|
import "@dialpad/dialtone-icons/vue3";
|
|
15
|
-
import "../chunks/icon_constants-
|
|
15
|
+
import "../chunks/icon_constants-Dy4MEUJL.js";
|
|
16
16
|
import "@dialpad/dialtone-icons/icons.json";
|
|
17
17
|
const WEEK_START = 0;
|
|
18
18
|
const MONTH_FORMAT = "MMMM";
|
|
@@ -46,15 +46,13 @@ const getCalendarDays = (month, year, selectedDay) => {
|
|
|
46
46
|
const firstDate = _parsedGetDate(new Date(year, month));
|
|
47
47
|
const lastDate = _parsedGetDate(new Date(year, month + 1, 0));
|
|
48
48
|
const weekStartsOn = WEEK_START;
|
|
49
|
-
const firstDateInCalendar = startOfWeek(firstDate, {
|
|
50
|
-
weekStartsOn
|
|
51
|
-
});
|
|
49
|
+
const firstDateInCalendar = startOfWeek(firstDate, { weekStartsOn });
|
|
52
50
|
const addDaysToWeek = (date) => {
|
|
53
51
|
const days = getWeekDays(date, month, selectedDay);
|
|
54
|
-
weeks.push({
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
52
|
+
weeks.push({ days });
|
|
53
|
+
if (!weeks[weeks.length - 1].days.some(
|
|
54
|
+
(day) => isDateEqual(day.value, lastDate)
|
|
55
|
+
)) {
|
|
58
56
|
const nextDate = addDays(date, 7);
|
|
59
57
|
addDaysToWeek(nextDate);
|
|
60
58
|
}
|
|
@@ -64,19 +62,14 @@ const getCalendarDays = (month, year, selectedDay) => {
|
|
|
64
62
|
};
|
|
65
63
|
const getWeekDayNames = (locale, weekStart) => {
|
|
66
64
|
const days = [1, 2, 3, 4, 5, 6, 7].map((day) => {
|
|
67
|
-
return new Intl.DateTimeFormat(locale, {
|
|
68
|
-
weekday: "short",
|
|
69
|
-
timeZone: "UTC"
|
|
70
|
-
}).format(/* @__PURE__ */ new Date(`2017-01-0${day}T00:00:00+00:00`)).slice(0, 2);
|
|
65
|
+
return new Intl.DateTimeFormat(locale, { weekday: "short", timeZone: "UTC" }).format(/* @__PURE__ */ new Date(`2017-01-0${day}T00:00:00+00:00`)).slice(0, 2);
|
|
71
66
|
});
|
|
72
67
|
const beforeWeekStart = days.slice(0, weekStart);
|
|
73
68
|
const afterWeekStart = days.slice(weekStart + 1, days.length);
|
|
74
69
|
return [days[weekStart]].concat(...afterWeekStart).concat(...beforeWeekStart);
|
|
75
70
|
};
|
|
76
71
|
const formatMonth = (month, monthFormat, locale) => {
|
|
77
|
-
return new Intl.DateTimeFormat(locale, {
|
|
78
|
-
month: monthFormat
|
|
79
|
-
}).format(new Date(2e3, month, 1));
|
|
72
|
+
return new Intl.DateTimeFormat(locale, { month: monthFormat }).format(new Date(2e3, month, 1));
|
|
80
73
|
};
|
|
81
74
|
const calculateNextFocusDate = (currentDate) => {
|
|
82
75
|
const date = new Date(currentDate);
|
|
@@ -113,15 +106,11 @@ function useMonthYearPicker(props, emits) {
|
|
|
113
106
|
watch(selectMonth, () => {
|
|
114
107
|
highlightDay();
|
|
115
108
|
emits("calendar-days", calendarDays.value);
|
|
116
|
-
}, {
|
|
117
|
-
immediate: true
|
|
118
|
-
});
|
|
109
|
+
}, { immediate: true });
|
|
119
110
|
watch(selectYear, () => {
|
|
120
111
|
highlightDay();
|
|
121
112
|
emits("calendar-days", calendarDays.value);
|
|
122
|
-
}, {
|
|
123
|
-
immediate: true
|
|
124
|
-
});
|
|
113
|
+
}, { immediate: true });
|
|
125
114
|
function setDayRef(el) {
|
|
126
115
|
if (!focusRefs.value.includes(el)) {
|
|
127
116
|
focusRefs.value.push(el);
|
|
@@ -178,10 +167,7 @@ function useMonthYearPicker(props, emits) {
|
|
|
178
167
|
if (selectMonth.value === 0 && value === -1 || selectMonth.value === 11 && value === 1) {
|
|
179
168
|
selectYear.value += value;
|
|
180
169
|
}
|
|
181
|
-
const initialDate = set(props.selectedDate, {
|
|
182
|
-
month: selectMonth.value,
|
|
183
|
-
year: selectYear.value
|
|
184
|
-
});
|
|
170
|
+
const initialDate = set(props.selectedDate, { month: selectMonth.value, year: selectYear.value });
|
|
185
171
|
const newDate = value === 1 ? addMonths(initialDate, 1) : subMonths(initialDate, 1);
|
|
186
172
|
selectMonth.value = getMonth(newDate);
|
|
187
173
|
}
|
|
@@ -270,10 +256,7 @@ const _sfc_main$2 = {
|
|
|
270
256
|
*/
|
|
271
257
|
"close-datepicker"
|
|
272
258
|
],
|
|
273
|
-
setup(__props, {
|
|
274
|
-
expose: __expose,
|
|
275
|
-
emit: __emit
|
|
276
|
-
}) {
|
|
259
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
277
260
|
const props = __props;
|
|
278
261
|
const emits = __emit;
|
|
279
262
|
const {
|
|
@@ -302,135 +285,161 @@ const _sfc_main$2 = {
|
|
|
302
285
|
class: "d-datepicker__month-year",
|
|
303
286
|
gap: "300"
|
|
304
287
|
}, {
|
|
305
|
-
default: withCtx(() => [
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
default: withCtx(() => [createVNode(unref(DtTooltip), {
|
|
312
|
-
message: __props.prevYearLabel,
|
|
313
|
-
placement: "top",
|
|
314
|
-
"fallback-placements": ["top-start", "auto"]
|
|
315
|
-
}, {
|
|
316
|
-
anchor: withCtx(() => [createVNode(unref(DtButton), {
|
|
317
|
-
id: "prevYearButton",
|
|
318
|
-
ref: (el) => {
|
|
319
|
-
if (el)
|
|
320
|
-
unref(setDayRef)(el);
|
|
321
|
-
},
|
|
322
|
-
size: "xs",
|
|
323
|
-
importance: "clear",
|
|
324
|
-
kind: "muted",
|
|
325
|
-
circle: true,
|
|
326
|
-
class: "d-datepicker__nav-btn",
|
|
327
|
-
type: "button",
|
|
328
|
-
"aria-label": `${__props.changeToLabel} ${__props.prevYearLabel} ${unref(selectYear) - 1}`,
|
|
329
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(changeYear)(-1)),
|
|
330
|
-
onKeydown: _cache[1] || (_cache[1] = ($event) => unref(handleKeyDown)($event))
|
|
331
|
-
}, {
|
|
332
|
-
default: withCtx(() => [createVNode(unref(DtIcon), {
|
|
333
|
-
name: "chevrons-left",
|
|
334
|
-
size: "200"
|
|
335
|
-
})]),
|
|
336
|
-
_: 1
|
|
337
|
-
}, 8, ["aria-label"])]),
|
|
338
|
-
_: 1
|
|
339
|
-
}, 8, ["message"]), createVNode(unref(DtTooltip), {
|
|
340
|
-
message: __props.prevMonthLabel,
|
|
341
|
-
placement: "top",
|
|
342
|
-
"fallback-placements": ["top-end", "auto"]
|
|
288
|
+
default: withCtx(() => [
|
|
289
|
+
createVNode(unref(DtStack), {
|
|
290
|
+
as: "nav",
|
|
291
|
+
direction: "row",
|
|
292
|
+
gap: "200",
|
|
293
|
+
class: "d-datepicker__nav"
|
|
343
294
|
}, {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
},
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
295
|
+
default: withCtx(() => [
|
|
296
|
+
createVNode(unref(DtTooltip), {
|
|
297
|
+
message: __props.prevYearLabel,
|
|
298
|
+
placement: "top",
|
|
299
|
+
"fallback-placements": ["top-start", "auto"]
|
|
300
|
+
}, {
|
|
301
|
+
anchor: withCtx(() => [
|
|
302
|
+
createVNode(unref(DtButton), {
|
|
303
|
+
id: "prevYearButton",
|
|
304
|
+
ref: (el) => {
|
|
305
|
+
if (el)
|
|
306
|
+
unref(setDayRef)(el);
|
|
307
|
+
},
|
|
308
|
+
size: "xs",
|
|
309
|
+
importance: "clear",
|
|
310
|
+
kind: "muted",
|
|
311
|
+
circle: true,
|
|
312
|
+
class: "d-datepicker__nav-btn",
|
|
313
|
+
type: "button",
|
|
314
|
+
"aria-label": `${__props.changeToLabel} ${__props.prevYearLabel} ${unref(selectYear) - 1}`,
|
|
315
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(changeYear)(-1)),
|
|
316
|
+
onKeydown: _cache[1] || (_cache[1] = ($event) => unref(handleKeyDown)($event))
|
|
317
|
+
}, {
|
|
318
|
+
default: withCtx(() => [
|
|
319
|
+
createVNode(unref(DtIcon), {
|
|
320
|
+
name: "chevrons-left",
|
|
321
|
+
size: "200"
|
|
322
|
+
})
|
|
323
|
+
]),
|
|
324
|
+
_: 1
|
|
325
|
+
}, 8, ["aria-label"])
|
|
326
|
+
]),
|
|
327
|
+
_: 1
|
|
328
|
+
}, 8, ["message"]),
|
|
329
|
+
createVNode(unref(DtTooltip), {
|
|
330
|
+
message: __props.prevMonthLabel,
|
|
331
|
+
placement: "top",
|
|
332
|
+
"fallback-placements": ["top-end", "auto"]
|
|
333
|
+
}, {
|
|
334
|
+
anchor: withCtx(() => [
|
|
335
|
+
createVNode(unref(DtButton), {
|
|
336
|
+
id: "prevMonthButton",
|
|
337
|
+
ref: (el) => {
|
|
338
|
+
if (el)
|
|
339
|
+
unref(setDayRef)(el);
|
|
340
|
+
},
|
|
341
|
+
size: "xs",
|
|
342
|
+
importance: "clear",
|
|
343
|
+
kind: "muted",
|
|
344
|
+
circle: true,
|
|
345
|
+
class: "d-datepicker__nav-btn",
|
|
346
|
+
type: "button",
|
|
347
|
+
"aria-label": `${__props.changeToLabel} ${__props.prevMonthLabel} ${unref(formattedMonth)(unref(selectMonth) - 1, unref(INTL_MONTH_FORMAT), __props.locale)}`,
|
|
348
|
+
onClick: _cache[2] || (_cache[2] = ($event) => unref(changeMonth)(-1)),
|
|
349
|
+
onKeydown: _cache[3] || (_cache[3] = ($event) => unref(handleKeyDown)($event))
|
|
350
|
+
}, {
|
|
351
|
+
default: withCtx(() => [
|
|
352
|
+
createVNode(unref(DtIcon), {
|
|
353
|
+
name: "chevron-left",
|
|
354
|
+
size: "200"
|
|
355
|
+
})
|
|
356
|
+
]),
|
|
357
|
+
_: 1
|
|
358
|
+
}, 8, ["aria-label"])
|
|
359
|
+
]),
|
|
360
|
+
_: 1
|
|
361
|
+
}, 8, ["message"])
|
|
362
|
+
]),
|
|
366
363
|
_: 1
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}, {
|
|
375
|
-
default: withCtx(() => [createVNode(unref(DtTooltip), {
|
|
376
|
-
message: __props.nextMonthLabel,
|
|
377
|
-
placement: "top",
|
|
378
|
-
"fallback-placements": ["top-start", "auto"]
|
|
364
|
+
}),
|
|
365
|
+
createElementVNode("div", _hoisted_1$2, toDisplayString(unref(formattedMonth)(unref(selectMonth), unref(INTL_MONTH_FORMAT), __props.locale)) + " " + toDisplayString(unref(selectYear)), 1),
|
|
366
|
+
createVNode(unref(DtStack), {
|
|
367
|
+
as: "nav",
|
|
368
|
+
direction: "row",
|
|
369
|
+
gap: "200",
|
|
370
|
+
class: "d-datepicker__nav"
|
|
379
371
|
}, {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
},
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
372
|
+
default: withCtx(() => [
|
|
373
|
+
createVNode(unref(DtTooltip), {
|
|
374
|
+
message: __props.nextMonthLabel,
|
|
375
|
+
placement: "top",
|
|
376
|
+
"fallback-placements": ["top-start", "auto"]
|
|
377
|
+
}, {
|
|
378
|
+
anchor: withCtx(() => [
|
|
379
|
+
createVNode(unref(DtButton), {
|
|
380
|
+
id: "nextMonthButton",
|
|
381
|
+
ref: (el) => {
|
|
382
|
+
if (el)
|
|
383
|
+
unref(setDayRef)(el);
|
|
384
|
+
},
|
|
385
|
+
size: "xs",
|
|
386
|
+
importance: "clear",
|
|
387
|
+
kind: "muted",
|
|
388
|
+
circle: true,
|
|
389
|
+
class: "d-datepicker__nav-btn",
|
|
390
|
+
type: "button",
|
|
391
|
+
"aria-label": `${__props.changeToLabel} ${__props.nextMonthLabel} ${unref(formattedMonth)(unref(selectMonth) + 1, unref(INTL_MONTH_FORMAT), __props.locale)}`,
|
|
392
|
+
onClick: _cache[4] || (_cache[4] = ($event) => unref(changeMonth)(1)),
|
|
393
|
+
onKeydown: _cache[5] || (_cache[5] = ($event) => unref(handleKeyDown)($event))
|
|
394
|
+
}, {
|
|
395
|
+
default: withCtx(() => [
|
|
396
|
+
createVNode(unref(DtIcon), {
|
|
397
|
+
name: "chevron-right",
|
|
398
|
+
size: "200"
|
|
399
|
+
})
|
|
400
|
+
]),
|
|
401
|
+
_: 1
|
|
402
|
+
}, 8, ["aria-label"])
|
|
403
|
+
]),
|
|
404
|
+
_: 1
|
|
405
|
+
}, 8, ["message"]),
|
|
406
|
+
createVNode(unref(DtTooltip), {
|
|
407
|
+
message: __props.nextYearLabel,
|
|
408
|
+
placement: "top",
|
|
409
|
+
"fallback-placements": ["top-end", "auto"]
|
|
410
|
+
}, {
|
|
411
|
+
anchor: withCtx(() => [
|
|
412
|
+
createVNode(unref(DtButton), {
|
|
413
|
+
id: "nextYearButton",
|
|
414
|
+
ref: (el) => {
|
|
415
|
+
if (el)
|
|
416
|
+
unref(setDayRef)(el);
|
|
417
|
+
},
|
|
418
|
+
size: "xs",
|
|
419
|
+
importance: "clear",
|
|
420
|
+
kind: "muted",
|
|
421
|
+
circle: true,
|
|
422
|
+
class: "d-datepicker__nav-btn",
|
|
423
|
+
type: "button",
|
|
424
|
+
"aria-label": `${__props.changeToLabel} ${__props.nextYearLabel} ${unref(selectYear) + 1}`,
|
|
425
|
+
onClick: _cache[6] || (_cache[6] = ($event) => unref(changeYear)(1)),
|
|
426
|
+
onKeydown: _cache[7] || (_cache[7] = ($event) => unref(handleKeyDown)($event))
|
|
427
|
+
}, {
|
|
428
|
+
default: withCtx(() => [
|
|
429
|
+
createVNode(unref(DtIcon), {
|
|
430
|
+
name: "chevrons-right",
|
|
431
|
+
size: "200"
|
|
432
|
+
})
|
|
433
|
+
]),
|
|
434
|
+
_: 1
|
|
435
|
+
}, 8, ["aria-label"])
|
|
436
|
+
]),
|
|
437
|
+
_: 1
|
|
438
|
+
}, 8, ["message"])
|
|
439
|
+
]),
|
|
402
440
|
_: 1
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
placement: "top",
|
|
406
|
-
"fallback-placements": ["top-end", "auto"]
|
|
407
|
-
}, {
|
|
408
|
-
anchor: withCtx(() => [createVNode(unref(DtButton), {
|
|
409
|
-
id: "nextYearButton",
|
|
410
|
-
ref: (el) => {
|
|
411
|
-
if (el)
|
|
412
|
-
unref(setDayRef)(el);
|
|
413
|
-
},
|
|
414
|
-
size: "xs",
|
|
415
|
-
importance: "clear",
|
|
416
|
-
kind: "muted",
|
|
417
|
-
circle: true,
|
|
418
|
-
class: "d-datepicker__nav-btn",
|
|
419
|
-
type: "button",
|
|
420
|
-
"aria-label": `${__props.changeToLabel} ${__props.nextYearLabel} ${unref(selectYear) + 1}`,
|
|
421
|
-
onClick: _cache[6] || (_cache[6] = ($event) => unref(changeYear)(1)),
|
|
422
|
-
onKeydown: _cache[7] || (_cache[7] = ($event) => unref(handleKeyDown)($event))
|
|
423
|
-
}, {
|
|
424
|
-
default: withCtx(() => [createVNode(unref(DtIcon), {
|
|
425
|
-
name: "chevrons-right",
|
|
426
|
-
size: "200"
|
|
427
|
-
})]),
|
|
428
|
-
_: 1
|
|
429
|
-
}, 8, ["aria-label"])]),
|
|
430
|
-
_: 1
|
|
431
|
-
}, 8, ["message"])]),
|
|
432
|
-
_: 1
|
|
433
|
-
})]),
|
|
441
|
+
})
|
|
442
|
+
]),
|
|
434
443
|
_: 1
|
|
435
444
|
});
|
|
436
445
|
};
|
|
@@ -453,10 +462,7 @@ function useCalendar(props, emits) {
|
|
|
453
462
|
}
|
|
454
463
|
function setDayRef(el, day) {
|
|
455
464
|
if (!daysRef.value.some((day2) => day2.el === el) && day.currentMonth) {
|
|
456
|
-
daysRef.value.push({
|
|
457
|
-
el,
|
|
458
|
-
day
|
|
459
|
-
});
|
|
465
|
+
daysRef.value.push({ el, day });
|
|
460
466
|
}
|
|
461
467
|
}
|
|
462
468
|
function handleKeyDown(event) {
|
|
@@ -601,10 +607,7 @@ const _sfc_main$1 = {
|
|
|
601
607
|
*/
|
|
602
608
|
"go-to-prev-month"
|
|
603
609
|
],
|
|
604
|
-
setup(__props, {
|
|
605
|
-
expose: __expose,
|
|
606
|
-
emit: __emit
|
|
607
|
-
}) {
|
|
610
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
608
611
|
const props = __props;
|
|
609
612
|
const emits = __emit;
|
|
610
613
|
const {
|
|
@@ -620,59 +623,70 @@ const _sfc_main$1 = {
|
|
|
620
623
|
focusFirstDay
|
|
621
624
|
});
|
|
622
625
|
return (_ctx, _cache) => {
|
|
623
|
-
return openBlock(), createElementBlock("table", _hoisted_1$1, [
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
626
|
+
return openBlock(), createElementBlock("table", _hoisted_1$1, [
|
|
627
|
+
createElementVNode("thead", null, [
|
|
628
|
+
createElementVNode("tr", null, [
|
|
629
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(weekDays), (day) => {
|
|
630
|
+
return openBlock(), createElementBlock("th", {
|
|
631
|
+
key: day,
|
|
632
|
+
scope: "col",
|
|
633
|
+
class: "d-datepicker__cell d-datepicker__cell--header"
|
|
634
|
+
}, [
|
|
635
|
+
createElementVNode("span", {
|
|
636
|
+
class: "d-datepicker__weekday",
|
|
637
|
+
title: day,
|
|
638
|
+
"aria-label": day
|
|
639
|
+
}, toDisplayString(day), 9, _hoisted_2$1)
|
|
640
|
+
]);
|
|
641
|
+
}), 128))
|
|
642
|
+
])
|
|
643
|
+
]),
|
|
644
|
+
createElementVNode("tbody", null, [
|
|
645
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.calendarDays, (week, indexWeek) => {
|
|
646
|
+
return openBlock(), createElementBlock("tr", { key: indexWeek }, [
|
|
647
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(week.days, (day, indexDays) => {
|
|
648
|
+
return openBlock(), createElementBlock("td", {
|
|
649
|
+
key: indexWeek + indexDays,
|
|
650
|
+
class: "d-datepicker__cell",
|
|
651
|
+
role: "listbox"
|
|
652
|
+
}, [
|
|
653
|
+
createVNode(unref(DtButton), {
|
|
654
|
+
ref_for: true,
|
|
655
|
+
ref: (el) => {
|
|
656
|
+
if (el)
|
|
657
|
+
unref(setDayRef)(el, day);
|
|
658
|
+
},
|
|
659
|
+
class: normalizeClass(["d-datepicker__day", {
|
|
660
|
+
"d-datepicker__day--disabled": !day.currentMonth,
|
|
661
|
+
"d-datepicker__day--selected": unref(selectedDay) ? day.text === unref(selectedDay) && day.currentMonth : day.selected
|
|
662
|
+
}]),
|
|
663
|
+
circle: true,
|
|
664
|
+
size: "sm",
|
|
665
|
+
importance: "clear",
|
|
666
|
+
disabled: !day.currentMonth,
|
|
667
|
+
type: "button",
|
|
668
|
+
"aria-selected": !!unref(selectedDay) ? day.text === unref(selectedDay) && day.currentMonth : day.selected,
|
|
669
|
+
"aria-label": unref(dayAriaLabel)(day),
|
|
670
|
+
role: "option",
|
|
671
|
+
onClick: ($event) => unref(selectDay)(day),
|
|
672
|
+
onKeydown: _cache[0] || (_cache[0] = ($event) => unref(handleKeyDown)($event))
|
|
673
|
+
}, {
|
|
674
|
+
default: withCtx(() => [
|
|
675
|
+
createTextVNode(toDisplayString(day.text), 1)
|
|
676
|
+
]),
|
|
677
|
+
_: 2
|
|
678
|
+
}, 1032, ["disabled", "class", "aria-selected", "aria-label", "onClick"])
|
|
679
|
+
]);
|
|
680
|
+
}), 128))
|
|
681
|
+
]);
|
|
682
|
+
}), 128))
|
|
683
|
+
])
|
|
684
|
+
]);
|
|
667
685
|
};
|
|
668
686
|
}
|
|
669
687
|
};
|
|
670
|
-
const _hoisted_1 = {
|
|
671
|
-
|
|
672
|
-
};
|
|
673
|
-
const _hoisted_2 = {
|
|
674
|
-
class: "d-datepicker__bd"
|
|
675
|
-
};
|
|
688
|
+
const _hoisted_1 = { class: "d-datepicker__hd" };
|
|
689
|
+
const _hoisted_2 = { class: "d-datepicker__bd" };
|
|
676
690
|
const _sfc_main = {
|
|
677
691
|
__name: "datepicker",
|
|
678
692
|
props: {
|
|
@@ -780,76 +794,58 @@ const _sfc_main = {
|
|
|
780
794
|
class: "d-datepicker",
|
|
781
795
|
gap: "400"
|
|
782
796
|
}, {
|
|
783
|
-
default: withCtx(() => [
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
"
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
797
|
+
default: withCtx(() => [
|
|
798
|
+
createElementVNode("div", _hoisted_1, [
|
|
799
|
+
createVNode(_sfc_main$2, {
|
|
800
|
+
ref: "monthYearPicker",
|
|
801
|
+
locale: __props.locale,
|
|
802
|
+
"prev-month-label": __props.prevMonthLabel,
|
|
803
|
+
"next-month-label": __props.nextMonthLabel,
|
|
804
|
+
"prev-year-label": __props.prevYearLabel,
|
|
805
|
+
"next-year-label": __props.nextYearLabel,
|
|
806
|
+
"change-to-label": __props.changeToLabel,
|
|
807
|
+
"selected-date": __props.selectedDate,
|
|
808
|
+
onCalendarDays: updateCalendarDays,
|
|
809
|
+
onFocusFirstDay: _cache[0] || (_cache[0] = ($event) => _ctx.$refs.calendar.focusFirstDay()),
|
|
810
|
+
onFocusLastDay: _cache[1] || (_cache[1] = ($event) => _ctx.$refs.calendar.focusLastDay()),
|
|
811
|
+
onCloseDatepicker: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("close-datepicker"))
|
|
812
|
+
}, null, 8, ["locale", "prev-month-label", "next-month-label", "prev-year-label", "next-year-label", "change-to-label", "selected-date"])
|
|
813
|
+
]),
|
|
814
|
+
createElementVNode("div", _hoisted_2, [
|
|
815
|
+
createVNode(_sfc_main$1, {
|
|
816
|
+
ref: "calendar",
|
|
817
|
+
locale: __props.locale,
|
|
818
|
+
"calendar-days": calendarDays.value,
|
|
819
|
+
"select-day-label": __props.selectDayLabel,
|
|
820
|
+
onSelectDate: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("selected-date", $event)),
|
|
821
|
+
onFocusMonthYearPicker: _cache[4] || (_cache[4] = ($event) => _ctx.$refs.monthYearPicker.focusMonthYearPicker()),
|
|
822
|
+
onCloseDatepicker: _cache[5] || (_cache[5] = ($event) => _ctx.$emit("close-datepicker")),
|
|
823
|
+
onGoToNextMonth: _cache[6] || (_cache[6] = ($event) => _ctx.$refs.monthYearPicker.goToNextMonth()),
|
|
824
|
+
onGoToPrevMonth: _cache[7] || (_cache[7] = ($event) => _ctx.$refs.monthYearPicker.goToPrevMonth())
|
|
825
|
+
}, null, 8, ["locale", "calendar-days", "select-day-label"])
|
|
826
|
+
])
|
|
827
|
+
]),
|
|
807
828
|
_: 1
|
|
808
829
|
});
|
|
809
830
|
};
|
|
810
831
|
}
|
|
811
832
|
};
|
|
812
833
|
function formatLong(date, locale = "default") {
|
|
813
|
-
return new Intl.DateTimeFormat(locale, {
|
|
814
|
-
weekday: "long",
|
|
815
|
-
year: "numeric",
|
|
816
|
-
month: "long",
|
|
817
|
-
day: "numeric"
|
|
818
|
-
}).format(date);
|
|
834
|
+
return new Intl.DateTimeFormat(locale, { weekday: "long", year: "numeric", month: "long", day: "numeric" }).format(date);
|
|
819
835
|
}
|
|
820
836
|
function formatMedium(date, locale = "default") {
|
|
821
|
-
return new Intl.DateTimeFormat(locale, {
|
|
822
|
-
year: "numeric",
|
|
823
|
-
month: "long",
|
|
824
|
-
day: "numeric"
|
|
825
|
-
}).format(date);
|
|
837
|
+
return new Intl.DateTimeFormat(locale, { year: "numeric", month: "long", day: "numeric" }).format(date);
|
|
826
838
|
}
|
|
827
839
|
function formatShort(date, locale = "default", showWeekday = true) {
|
|
828
|
-
const options = showWeekday ? {
|
|
829
|
-
weekday: "short",
|
|
830
|
-
year: "numeric",
|
|
831
|
-
month: "short",
|
|
832
|
-
day: "numeric"
|
|
833
|
-
} : {
|
|
834
|
-
year: "numeric",
|
|
835
|
-
month: "short",
|
|
836
|
-
day: "numeric"
|
|
837
|
-
};
|
|
840
|
+
const options = showWeekday ? { weekday: "short", year: "numeric", month: "short", day: "numeric" } : { year: "numeric", month: "short", day: "numeric" };
|
|
838
841
|
return new Intl.DateTimeFormat(locale, options).format(date);
|
|
839
842
|
}
|
|
840
843
|
function formatNoYear(date, locale = "default", abbreviated = false) {
|
|
841
844
|
const monthFormat = abbreviated ? "short" : "long";
|
|
842
|
-
return new Intl.DateTimeFormat(locale, {
|
|
843
|
-
month: monthFormat,
|
|
844
|
-
day: "numeric"
|
|
845
|
-
}).format(date);
|
|
845
|
+
return new Intl.DateTimeFormat(locale, { month: monthFormat, day: "numeric" }).format(date);
|
|
846
846
|
}
|
|
847
847
|
function formatNumerical(date, locale = "default") {
|
|
848
|
-
return new Intl.DateTimeFormat(locale, {
|
|
849
|
-
year: "2-digit",
|
|
850
|
-
month: "2-digit",
|
|
851
|
-
day: "2-digit"
|
|
852
|
-
}).format(date);
|
|
848
|
+
return new Intl.DateTimeFormat(locale, { year: "2-digit", month: "2-digit", day: "2-digit" }).format(date);
|
|
853
849
|
}
|
|
854
850
|
export {
|
|
855
851
|
_sfc_main as DtDatepicker,
|