@dialpad/dialtone 9.126.6 → 9.127.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/tokens/doc.json +25670 -25670
- package/dist/vue2/common/mixins/index.cjs +1 -1
- package/dist/vue2/common/mixins/index.js +2 -4
- package/dist/vue2/common/mixins/index.js.map +1 -1
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/dialtone-vue.cjs +1 -1
- package/dist/vue2/dialtone-vue.js +345 -347
- package/dist/vue2/dialtone-vue.js.map +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.js +16 -12
- package/dist/vue2/lib/attachment-carousel/attachment-carousel.js.map +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.js +6 -6
- package/dist/vue2/lib/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/vue2/lib/button/button.cjs +1 -1
- package/dist/vue2/lib/button/button.cjs.map +1 -1
- package/dist/vue2/lib/button/button.js +6 -6
- package/dist/vue2/lib/button/button.js.map +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +18 -18
- package/dist/vue2/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js +14 -14
- package/dist/vue2/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
- package/dist/vue2/lib/chip/chip.cjs +1 -1
- package/dist/vue2/lib/chip/chip.cjs.map +1 -1
- package/dist/vue2/lib/chip/chip.js +7 -7
- package/dist/vue2/lib/chip/chip.js.map +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.js +13 -13
- package/dist/vue2/lib/contact-centers-row/contact-centers-row.js.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker.cjs +1 -1
- package/dist/vue2/lib/datepicker/datepicker.cjs.map +1 -1
- package/dist/vue2/lib/datepicker/datepicker.js +26 -26
- package/dist/vue2/lib/datepicker/datepicker.js.map +1 -1
- package/dist/vue2/lib/datepicker/formatUtils.cjs +1 -1
- package/dist/vue2/lib/datepicker/formatUtils.cjs.map +1 -1
- package/dist/vue2/lib/datepicker/formatUtils.js +21 -20
- package/dist/vue2/lib/datepicker/formatUtils.js.map +1 -1
- package/dist/vue2/lib/dropdown/dropdown.cjs +1 -1
- package/dist/vue2/lib/dropdown/dropdown.cjs.map +1 -1
- package/dist/vue2/lib/dropdown/dropdown.js +24 -26
- package/dist/vue2/lib/dropdown/dropdown.js.map +1 -1
- package/dist/vue2/lib/editor/editor.cjs +1 -1
- package/dist/vue2/lib/editor/editor.cjs.map +1 -1
- package/dist/vue2/lib/editor/editor.js +17 -17
- package/dist/vue2/lib/editor/editor.js.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.cjs +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.cjs.map +1 -1
- package/dist/vue2/lib/emoji-picker/emoji-picker.js +7 -6
- package/dist/vue2/lib/emoji-picker/emoji-picker.js.map +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.cjs +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.cjs.map +1 -1
- package/dist/vue2/lib/emoji-row/emoji-row.js +24 -20
- package/dist/vue2/lib/emoji-row/emoji-row.js.map +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.js +8 -8
- package/dist/vue2/lib/feed-item-pill/feed-item-pill.js.map +1 -1
- package/dist/vue2/lib/general-row/general-row.cjs +1 -1
- package/dist/vue2/lib/general-row/general-row.cjs.map +1 -1
- package/dist/vue2/lib/general-row/general-row.js +17 -17
- package/dist/vue2/lib/general-row/general-row.js.map +1 -1
- package/dist/vue2/lib/group-row/group-row.cjs +1 -1
- package/dist/vue2/lib/group-row/group-row.cjs.map +1 -1
- package/dist/vue2/lib/group-row/group-row.js +11 -7
- package/dist/vue2/lib/group-row/group-row.js.map +1 -1
- package/dist/vue2/lib/icon/icon.cjs +1 -1
- package/dist/vue2/lib/icon/icon.cjs.map +1 -1
- package/dist/vue2/lib/icon/icon.js +10 -6
- package/dist/vue2/lib/icon/icon.js.map +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.cjs +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.cjs.map +1 -1
- package/dist/vue2/lib/image-viewer/image-viewer.js +8 -7
- package/dist/vue2/lib/image-viewer/image-viewer.js.map +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.cjs +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.cjs.map +1 -1
- package/dist/vue2/lib/ivr-node/ivr-node.js +17 -17
- package/dist/vue2/lib/ivr-node/ivr-node.js.map +1 -1
- package/dist/vue2/lib/loader/loader.cjs +1 -1
- package/dist/vue2/lib/loader/loader.cjs.map +1 -1
- package/dist/vue2/lib/loader/loader.js +12 -8
- package/dist/vue2/lib/loader/loader.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input-link.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input-link.cjs.map +1 -1
- package/dist/vue2/lib/message-input/message-input-link.js +15 -15
- package/dist/vue2/lib/message-input/message-input-link.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.cjs.map +1 -1
- package/dist/vue2/lib/message-input/message-input-topbar.js +14 -10
- package/dist/vue2/lib/message-input/message-input-topbar.js.map +1 -1
- package/dist/vue2/lib/message-input/message-input.cjs +1 -1
- package/dist/vue2/lib/message-input/message-input.cjs.map +1 -1
- package/dist/vue2/lib/message-input/message-input.js +14 -10
- package/dist/vue2/lib/message-input/message-input.js.map +1 -1
- package/dist/vue2/lib/modal/modal.cjs +1 -1
- package/dist/vue2/lib/modal/modal.cjs.map +1 -1
- package/dist/vue2/lib/modal/modal.js +12 -11
- package/dist/vue2/lib/modal/modal.js.map +1 -1
- package/dist/vue2/lib/notice/notice-action.cjs +1 -1
- package/dist/vue2/lib/notice/notice-action.cjs.map +1 -1
- package/dist/vue2/lib/notice/notice-action.js +10 -6
- package/dist/vue2/lib/notice/notice-action.js.map +1 -1
- package/dist/vue2/lib/pagination/pagination.cjs +1 -1
- package/dist/vue2/lib/pagination/pagination.cjs.map +1 -1
- package/dist/vue2/lib/pagination/pagination.js +7 -7
- package/dist/vue2/lib/pagination/pagination.js.map +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.cjs +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.cjs.map +1 -1
- package/dist/vue2/lib/popover/popover-header-footer.js +13 -9
- package/dist/vue2/lib/popover/popover-header-footer.js.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +2 -2
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +61 -57
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue2/lib/toast/toast.cjs.map +1 -1
- package/dist/vue2/lib/toast/toast.js.map +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.cjs +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.cjs.map +1 -1
- package/dist/vue2/lib/unread-pill/unread-pill.js +15 -11
- package/dist/vue2/lib/unread-pill/unread-pill.js.map +1 -1
- package/dist/vue2/localization/de-DE.cjs +1 -13
- package/dist/vue2/localization/de-DE.cjs.map +1 -1
- package/dist/vue2/localization/de-DE.js +1 -13
- package/dist/vue2/localization/de-DE.js.map +1 -1
- package/dist/vue2/localization/es-LA.cjs +1 -13
- package/dist/vue2/localization/es-LA.cjs.map +1 -1
- package/dist/vue2/localization/es-LA.js +1 -13
- package/dist/vue2/localization/es-LA.js.map +1 -1
- package/dist/vue2/localization/fr-FR.cjs +1 -13
- package/dist/vue2/localization/fr-FR.cjs.map +1 -1
- package/dist/vue2/localization/fr-FR.js +1 -13
- package/dist/vue2/localization/fr-FR.js.map +1 -1
- package/dist/vue2/localization/index.cjs +1 -1
- package/dist/vue2/localization/index.cjs.map +1 -1
- package/dist/vue2/localization/index.js +59 -53
- package/dist/vue2/localization/index.js.map +1 -1
- package/dist/vue2/localization/it-IT.cjs +1 -13
- package/dist/vue2/localization/it-IT.cjs.map +1 -1
- package/dist/vue2/localization/it-IT.js +1 -13
- package/dist/vue2/localization/it-IT.js.map +1 -1
- package/dist/vue2/localization/ja-JP.cjs +1 -8
- package/dist/vue2/localization/ja-JP.cjs.map +1 -1
- package/dist/vue2/localization/ja-JP.js +1 -8
- package/dist/vue2/localization/ja-JP.js.map +1 -1
- package/dist/vue2/localization/nl-NL.cjs +1 -13
- package/dist/vue2/localization/nl-NL.cjs.map +1 -1
- package/dist/vue2/localization/nl-NL.js +1 -13
- package/dist/vue2/localization/nl-NL.js.map +1 -1
- package/dist/vue2/localization/pt-BR.cjs +1 -13
- package/dist/vue2/localization/pt-BR.cjs.map +1 -1
- package/dist/vue2/localization/pt-BR.js +1 -13
- package/dist/vue2/localization/pt-BR.js.map +1 -1
- package/dist/vue2/localization/ru-RU.cjs +1 -23
- package/dist/vue2/localization/ru-RU.cjs.map +1 -1
- package/dist/vue2/localization/ru-RU.js +1 -23
- package/dist/vue2/localization/ru-RU.js.map +1 -1
- package/dist/vue2/localization/zh-CN.cjs +1 -8
- package/dist/vue2/localization/zh-CN.cjs.map +1 -1
- package/dist/vue2/localization/zh-CN.js +1 -8
- package/dist/vue2/localization/zh-CN.js.map +1 -1
- package/dist/vue2/shared/sr_only_close_button.cjs +1 -1
- package/dist/vue2/shared/sr_only_close_button.cjs.map +1 -1
- package/dist/vue2/shared/sr_only_close_button.js +14 -10
- package/dist/vue2/shared/sr_only_close_button.js.map +1 -1
- package/dist/vue2/types/common/mixins/index.d.ts +0 -1
- package/dist/vue2/types/common/sr_only_close_button.vue.d.ts +5 -8
- package/dist/vue2/types/common/sr_only_close_button.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/breadcrumbs/breadcrumbs.vue.d.ts +3 -5
- package/dist/vue2/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/button/button.vue.d.ts +4 -6
- package/dist/vue2/types/components/button/button.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/chip/chip.vue.d.ts +6 -8
- package/dist/vue2/types/components/chip/chip.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/formatUtils.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts +3 -5
- package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/datepicker/modules/month-year-picker.vue.d.ts +3 -5
- package/dist/vue2/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/emoji_picker/emoji_picker.vue.d.ts +1 -5
- package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts +2 -4
- package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/loader/loader.vue.d.ts +5 -6
- package/dist/vue2/types/components/loader/loader.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/modal/modal.vue.d.ts +2 -4
- package/dist/vue2/types/components/modal/modal.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/notice/notice_action.vue.d.ts +5 -6
- package/dist/vue2/types/components/notice/notice_action.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/pagination/pagination.vue.d.ts +4 -6
- package/dist/vue2/types/components/pagination/pagination.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts +5 -6
- package/dist/vue2/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +5 -7
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +5 -7
- package/dist/vue2/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +5 -7
- package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +4 -6
- package/dist/vue2/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +3 -5
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +5 -6
- package/dist/vue2/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts +14 -16
- package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +5 -6
- package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +6 -8
- package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +5 -6
- package/dist/vue2/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +5 -7
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +3 -5
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +5 -6
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +5 -7
- package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +17 -19
- package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/group_row/group_row.vue.d.ts +8 -9
- package/dist/vue2/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +5 -6
- package/dist/vue2/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
- package/dist/vue3/common/mixins/index.cjs +1 -1
- package/dist/vue3/common/mixins/index.js +8 -10
- package/dist/vue3/common/mixins/index.js.map +1 -1
- package/dist/vue3/common/utils/index.cjs +1 -1
- package/dist/vue3/common/utils/index.cjs.map +1 -1
- package/dist/vue3/common/utils/index.js +42 -38
- package/dist/vue3/common/utils/index.js.map +1 -1
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/dialtone-vue.cjs +1 -1
- package/dist/vue3/dialtone-vue.js +298 -299
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs +1 -1
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.cjs.map +1 -1
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.js +86 -110
- package/dist/vue3/lib/attachment-carousel/attachment-carousel.js.map +1 -1
- package/dist/vue3/lib/banner/banner.cjs +2 -2
- package/dist/vue3/lib/banner/banner.cjs.map +1 -1
- package/dist/vue3/lib/banner/banner.js +27 -38
- package/dist/vue3/lib/banner/banner.js.map +1 -1
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs +1 -1
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.cjs.map +1 -1
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.js +20 -18
- package/dist/vue3/lib/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/vue3/lib/button/button.cjs +1 -1
- package/dist/vue3/lib/button/button.cjs.map +1 -1
- package/dist/vue3/lib/button/button.js +26 -24
- package/dist/vue3/lib/button/button.js.map +1 -1
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +1 -1
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -1
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +36 -41
- package/dist/vue3/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -1
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +1 -1
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -1
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js +35 -37
- package/dist/vue3/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -1
- package/dist/vue3/lib/chip/chip.cjs +1 -1
- package/dist/vue3/lib/chip/chip.cjs.map +1 -1
- package/dist/vue3/lib/chip/chip.js +54 -57
- package/dist/vue3/lib/chip/chip.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox-constants.cjs +1 -1
- package/dist/vue3/lib/combobox/combobox-constants.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox-constants.js +2 -2
- package/dist/vue3/lib/combobox/combobox-constants.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox-empty-list.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox-empty-list.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox-loading-list.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox-loading-list.js.map +1 -1
- package/dist/vue3/lib/combobox/combobox.cjs +2 -2
- package/dist/vue3/lib/combobox/combobox.cjs.map +1 -1
- package/dist/vue3/lib/combobox/combobox.js +20 -20
- package/dist/vue3/lib/combobox/combobox.js.map +1 -1
- package/dist/vue3/lib/combobox/index.cjs +1 -1
- package/dist/vue3/lib/combobox/index.js +3 -3
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs +1 -1
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -1
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js +119 -124
- package/dist/vue3/lib/combobox-multi-select/combobox-multi-select.js.map +1 -1
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs +1 -1
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -1
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js +76 -80
- package/dist/vue3/lib/combobox-with-popover/combobox-with-popover.js.map +1 -1
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs +1 -1
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.cjs.map +1 -1
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.js +68 -63
- package/dist/vue3/lib/contact-centers-row/contact-centers-row.js.map +1 -1
- package/dist/vue3/lib/contact-row/contact-row.cjs +1 -1
- package/dist/vue3/lib/contact-row/contact-row.cjs.map +1 -1
- package/dist/vue3/lib/contact-row/contact-row.js +32 -48
- package/dist/vue3/lib/contact-row/contact-row.js.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker-constants.cjs +1 -1
- package/dist/vue3/lib/datepicker/datepicker-constants.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker-constants.js +2 -3
- package/dist/vue3/lib/datepicker/datepicker-constants.js.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker.cjs +1 -1
- package/dist/vue3/lib/datepicker/datepicker.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/datepicker.js +264 -349
- package/dist/vue3/lib/datepicker/datepicker.js.map +1 -1
- package/dist/vue3/lib/datepicker/formatUtils.cjs +1 -1
- package/dist/vue3/lib/datepicker/formatUtils.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/formatUtils.js +21 -20
- package/dist/vue3/lib/datepicker/formatUtils.js.map +1 -1
- package/dist/vue3/lib/datepicker/utils.cjs +1 -1
- package/dist/vue3/lib/datepicker/utils.cjs.map +1 -1
- package/dist/vue3/lib/datepicker/utils.js +12 -11
- package/dist/vue3/lib/datepicker/utils.js.map +1 -1
- package/dist/vue3/lib/description-list/description-list.cjs +1 -1
- package/dist/vue3/lib/description-list/description-list.cjs.map +1 -1
- package/dist/vue3/lib/description-list/description-list.js +10 -10
- package/dist/vue3/lib/description-list/description-list.js.map +1 -1
- package/dist/vue3/lib/dropdown/dropdown.cjs +1 -1
- package/dist/vue3/lib/dropdown/dropdown.cjs.map +1 -1
- package/dist/vue3/lib/dropdown/dropdown.js +36 -46
- package/dist/vue3/lib/dropdown/dropdown.js.map +1 -1
- package/dist/vue3/lib/editor/editor.cjs +1 -1
- package/dist/vue3/lib/editor/editor.cjs.map +1 -1
- package/dist/vue3/lib/editor/editor.js +169 -186
- package/dist/vue3/lib/editor/editor.js.map +1 -1
- package/dist/vue3/lib/editor/index.cjs +1 -1
- package/dist/vue3/lib/editor/index.js +2 -2
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js +7 -20
- package/dist/vue3/lib/emoji-picker/emoji-picker-constants.js.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.cjs.map +1 -1
- package/dist/vue3/lib/emoji-picker/emoji-picker.js +419 -477
- package/dist/vue3/lib/emoji-picker/emoji-picker.js.map +1 -1
- package/dist/vue3/lib/emoji-picker/index.cjs +1 -1
- package/dist/vue3/lib/emoji-picker/index.js +3 -4
- package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row-constants.cjs.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row-constants.js +6 -7
- package/dist/vue3/lib/emoji-row/emoji-row-constants.js.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.cjs +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.cjs.map +1 -1
- package/dist/vue3/lib/emoji-row/emoji-row.js +53 -43
- package/dist/vue3/lib/emoji-row/emoji-row.js.map +1 -1
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs +1 -1
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.cjs.map +1 -1
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.js +52 -53
- package/dist/vue3/lib/feed-item-pill/feed-item-pill.js.map +1 -1
- package/dist/vue3/lib/general-row/general-row.cjs +1 -1
- package/dist/vue3/lib/general-row/general-row.cjs.map +1 -1
- package/dist/vue3/lib/general-row/general-row.js +133 -118
- package/dist/vue3/lib/general-row/general-row.js.map +1 -1
- package/dist/vue3/lib/group-row/group-row.cjs +1 -1
- package/dist/vue3/lib/group-row/group-row.cjs.map +1 -1
- package/dist/vue3/lib/group-row/group-row.js +53 -39
- package/dist/vue3/lib/group-row/group-row.js.map +1 -1
- package/dist/vue3/lib/icon/icon-constants.cjs.map +1 -1
- package/dist/vue3/lib/icon/icon-constants.js.map +1 -1
- package/dist/vue3/lib/icon/icon.cjs +1 -1
- package/dist/vue3/lib/icon/icon.cjs.map +1 -1
- package/dist/vue3/lib/icon/icon.js +16 -13
- package/dist/vue3/lib/icon/icon.js.map +1 -1
- package/dist/vue3/lib/image-viewer/image-viewer.cjs +1 -1
- package/dist/vue3/lib/image-viewer/image-viewer.cjs.map +1 -1
- package/dist/vue3/lib/image-viewer/image-viewer.js +51 -47
- package/dist/vue3/lib/image-viewer/image-viewer.js.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node-constants.cjs.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node-constants.js +24 -24
- package/dist/vue3/lib/ivr-node/ivr-node-constants.js.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node.cjs +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node.cjs.map +1 -1
- package/dist/vue3/lib/ivr-node/ivr-node.js +80 -76
- package/dist/vue3/lib/ivr-node/ivr-node.js.map +1 -1
- package/dist/vue3/lib/message-input/message-input-link.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input-link.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input-link.js +100 -77
- package/dist/vue3/lib/message-input/message-input-link.js.map +1 -1
- package/dist/vue3/lib/message-input/message-input-topbar.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input-topbar.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input-topbar.js +126 -94
- package/dist/vue3/lib/message-input/message-input-topbar.js.map +1 -1
- package/dist/vue3/lib/message-input/message-input.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input.js +272 -296
- package/dist/vue3/lib/message-input/message-input.js.map +1 -1
- package/dist/vue3/lib/modal/modal.cjs +1 -2
- package/dist/vue3/lib/modal/modal.cjs.map +1 -1
- package/dist/vue3/lib/modal/modal.js +64 -79
- package/dist/vue3/lib/modal/modal.js.map +1 -1
- package/dist/vue3/lib/notice/notice-action.cjs +1 -1
- package/dist/vue3/lib/notice/notice-action.cjs.map +1 -1
- package/dist/vue3/lib/notice/notice-action.js +38 -39
- package/dist/vue3/lib/notice/notice-action.js.map +1 -1
- package/dist/vue3/lib/notice/notice.cjs +1 -1
- package/dist/vue3/lib/notice/notice.cjs.map +1 -1
- package/dist/vue3/lib/notice/notice.js +37 -49
- package/dist/vue3/lib/notice/notice.js.map +1 -1
- package/dist/vue3/lib/pagination/pagination.cjs +1 -1
- package/dist/vue3/lib/pagination/pagination.cjs.map +1 -1
- package/dist/vue3/lib/pagination/pagination.js +72 -81
- package/dist/vue3/lib/pagination/pagination.js.map +1 -1
- package/dist/vue3/lib/popover/popover-header-footer.cjs +1 -1
- package/dist/vue3/lib/popover/popover-header-footer.cjs.map +1 -1
- package/dist/vue3/lib/popover/popover-header-footer.js +44 -45
- package/dist/vue3/lib/popover/popover-header-footer.js.map +1 -1
- package/dist/vue3/lib/popover/popover.cjs +1 -1
- package/dist/vue3/lib/popover/popover.cjs.map +1 -1
- package/dist/vue3/lib/popover/popover.js +26 -37
- package/dist/vue3/lib/popover/popover.js.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +3 -3
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +187 -181
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue3/lib/settings-menu-button/settings-menu-button.cjs.map +1 -1
- package/dist/vue3/lib/settings-menu-button/settings-menu-button.js.map +1 -1
- package/dist/vue3/lib/time-pill/time-pill.cjs.map +1 -1
- package/dist/vue3/lib/time-pill/time-pill.js.map +1 -1
- package/dist/vue3/lib/toast/toast.cjs +1 -1
- package/dist/vue3/lib/toast/toast.cjs.map +1 -1
- package/dist/vue3/lib/toast/toast.js +83 -127
- package/dist/vue3/lib/toast/toast.js.map +1 -1
- package/dist/vue3/lib/unread-pill/unread-pill.cjs +1 -1
- package/dist/vue3/lib/unread-pill/unread-pill.cjs.map +1 -1
- package/dist/vue3/lib/unread-pill/unread-pill.js +25 -14
- package/dist/vue3/lib/unread-pill/unread-pill.js.map +1 -1
- package/dist/vue3/localization/de-DE.cjs +157 -0
- package/dist/vue3/localization/de-DE.cjs.map +1 -0
- package/dist/vue3/localization/de-DE.js +160 -0
- package/dist/vue3/localization/de-DE.js.map +1 -0
- package/dist/vue3/localization/en-US.cjs +175 -0
- package/dist/vue3/localization/en-US.cjs.map +1 -0
- package/dist/vue3/localization/en-US.js +178 -0
- package/dist/vue3/localization/en-US.js.map +1 -0
- package/dist/vue3/localization/es-LA.cjs +157 -0
- package/dist/vue3/localization/es-LA.cjs.map +1 -0
- package/dist/vue3/localization/es-LA.js +160 -0
- package/dist/vue3/localization/es-LA.js.map +1 -0
- package/dist/vue3/localization/fr-FR.cjs +157 -0
- package/dist/vue3/localization/fr-FR.cjs.map +1 -0
- package/dist/vue3/localization/fr-FR.js +160 -0
- package/dist/vue3/localization/fr-FR.js.map +1 -0
- package/dist/vue3/localization/index.cjs +2 -0
- package/dist/vue3/localization/index.cjs.map +1 -0
- package/dist/vue3/localization/index.js +82 -0
- package/dist/vue3/localization/index.js.map +1 -0
- package/dist/vue3/localization/it-IT.cjs +157 -0
- package/dist/vue3/localization/it-IT.cjs.map +1 -0
- package/dist/vue3/localization/it-IT.js +160 -0
- package/dist/vue3/localization/it-IT.js.map +1 -0
- package/dist/vue3/localization/ja-JP.cjs +157 -0
- package/dist/vue3/localization/ja-JP.cjs.map +1 -0
- package/dist/vue3/localization/ja-JP.js +160 -0
- package/dist/vue3/localization/ja-JP.js.map +1 -0
- package/dist/vue3/localization/nl-NL.cjs +157 -0
- package/dist/vue3/localization/nl-NL.cjs.map +1 -0
- package/dist/vue3/localization/nl-NL.js +160 -0
- package/dist/vue3/localization/nl-NL.js.map +1 -0
- package/dist/vue3/localization/pt-BR.cjs +157 -0
- package/dist/vue3/localization/pt-BR.cjs.map +1 -0
- package/dist/vue3/localization/pt-BR.js +160 -0
- package/dist/vue3/localization/pt-BR.js.map +1 -0
- package/dist/vue3/localization/ru-RU.cjs +157 -0
- package/dist/vue3/localization/ru-RU.cjs.map +1 -0
- package/dist/vue3/localization/ru-RU.js +160 -0
- package/dist/vue3/localization/ru-RU.js.map +1 -0
- package/dist/vue3/localization/zh-CN.cjs +157 -0
- package/dist/vue3/localization/zh-CN.cjs.map +1 -0
- package/dist/vue3/localization/zh-CN.js +160 -0
- package/dist/vue3/localization/zh-CN.js.map +1 -0
- package/dist/vue3/shared/sr_only_close_button.cjs +1 -1
- package/dist/vue3/shared/sr_only_close_button.cjs.map +1 -1
- package/dist/vue3/shared/sr_only_close_button.js +27 -25
- package/dist/vue3/shared/sr_only_close_button.js.map +1 -1
- package/dist/vue3/types/common/mixins/index.d.ts +0 -1
- package/dist/vue3/types/common/sr_only_close_button.vue.d.ts +8 -15
- package/dist/vue3/types/common/sr_only_close_button.vue.d.ts.map +1 -1
- package/dist/vue3/types/common/utils/index.d.ts +1 -0
- package/dist/vue3/types/common/utils/index.d.ts.map +1 -1
- package/dist/vue3/types/components/banner/banner.vue.d.ts +0 -33
- package/dist/vue3/types/components/banner/banner.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts +2 -0
- package/dist/vue3/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/button/button.vue.d.ts +2 -0
- package/dist/vue3/types/components/button/button.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/chip/chip.vue.d.ts +3 -15
- package/dist/vue3/types/components/chip/chip.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/combobox/combobox.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/combobox/combobox_constants.d.ts +2 -2
- package/dist/vue3/types/components/combobox/index.d.ts +1 -1
- package/dist/vue3/types/components/datepicker/composables/useCalendar.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts +5 -1
- package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/datepicker.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts +0 -1
- package/dist/vue3/types/components/datepicker/datepicker_constants.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/formatUtils.d.ts +5 -5
- package/dist/vue3/types/components/datepicker/formatUtils.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts +0 -4
- package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts +0 -12
- package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/datepicker/utils.d.ts +1 -0
- package/dist/vue3/types/components/datepicker/utils.d.ts.map +1 -1
- package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts +0 -24
- package/dist/vue3/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/emoji_picker/emoji_picker_constants.d.ts +0 -13
- package/dist/vue3/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/icon/icon.vue.d.ts +2 -3
- package/dist/vue3/types/components/icon/icon_constants.d.ts.map +1 -1
- package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts +3 -8
- package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/modal/modal.vue.d.ts +3 -35
- package/dist/vue3/types/components/modal/modal.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/notice/notice.vue.d.ts +1 -34
- package/dist/vue3/types/components/notice/notice.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/notice/notice_action.vue.d.ts +7 -35
- package/dist/vue3/types/components/notice/notice_action.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/pagination/pagination.vue.d.ts +5 -24
- package/dist/vue3/types/components/pagination/pagination.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/popover/popover.vue.d.ts +0 -33
- package/dist/vue3/types/components/popover/popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts +5 -10
- package/dist/vue3/types/components/popover/popover_header_footer.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +2 -0
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +2 -46
- package/dist/vue3/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts +1 -34
- package/dist/vue3/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/toast/toast.vue.d.ts +4 -115
- package/dist/vue3/types/components/toast/toast.vue.d.ts.map +1 -1
- package/dist/vue3/types/index.d.ts +1 -0
- package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts +3 -11
- package/dist/vue3/types/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +3 -10
- package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +4 -8
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +7 -7
- package/dist/vue3/types/recipes/cards/ivr_node/ivr_node_constants.d.ts.map +1 -1
- package/dist/vue3/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -25
- package/dist/vue3/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +3 -41
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +6 -25
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +2 -2
- package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts +6 -49
- package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/editor/index.d.ts +1 -1
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +6 -2
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row_constants.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts +3 -8
- package/dist/vue3/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts +6 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +12 -88
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts +11 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_link.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts +13 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input_topbar.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +5 -8
- package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +0 -18
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +9 -27
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts +11 -21
- package/dist/vue3/types/recipes/leftbar/group_row/group_row.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +6 -2
- package/dist/vue3/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/vue2/common/mixins/localization.cjs +0 -2
- package/dist/vue2/common/mixins/localization.cjs.map +0 -1
- package/dist/vue2/common/mixins/localization.js +0 -10
- package/dist/vue2/common/mixins/localization.js.map +0 -1
- package/dist/vue2/types/common/mixins/localization.d.ts +0 -8
- package/dist/vue2/types/common/mixins/localization.d.ts.map +0 -1
- package/dist/vue3/common/mixins/sr-only-close-button.cjs +0 -3
- package/dist/vue3/common/mixins/sr-only-close-button.cjs.map +0 -1
- package/dist/vue3/common/mixins/sr-only-close-button.js +0 -44
- package/dist/vue3/common/mixins/sr-only-close-button.js.map +0 -1
- package/dist/vue3/lib/contact-row/contact-row-constants.cjs +0 -2
- package/dist/vue3/lib/contact-row/contact-row-constants.cjs.map +0 -1
- package/dist/vue3/lib/contact-row/contact-row-constants.js +0 -5
- package/dist/vue3/lib/contact-row/contact-row-constants.js.map +0 -1
- package/dist/vue3/lib/emoji/emoji-constants.cjs +0 -2
- package/dist/vue3/lib/emoji/emoji-constants.cjs.map +0 -1
- package/dist/vue3/lib/emoji/emoji-constants.js +0 -5
- package/dist/vue3/lib/emoji/emoji-constants.js.map +0 -1
- package/dist/vue3/lib/group-row/group-row-constants.cjs +0 -2
- package/dist/vue3/lib/group-row/group-row-constants.cjs.map +0 -1
- package/dist/vue3/lib/group-row/group-row-constants.js +0 -8
- package/dist/vue3/lib/group-row/group-row-constants.js.map +0 -1
- package/dist/vue3/lib/time-pill/time-pill-constants.cjs +0 -2
- package/dist/vue3/lib/time-pill/time-pill-constants.cjs.map +0 -1
- package/dist/vue3/lib/time-pill/time-pill-constants.js +0 -8
- package/dist/vue3/lib/time-pill/time-pill-constants.js.map +0 -1
- package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts +0 -30
- package/dist/vue3/types/common/mixins/sr_only_close_button.d.ts.map +0 -1
- package/dist/vue3/types/components/emoji/emoji_constants.d.ts +0 -3
- package/dist/vue3/types/components/emoji/emoji_constants.d.ts.map +0 -1
- package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts +0 -6
- package/dist/vue3/types/recipes/conversation_view/time_pill/time_pill_constants.d.ts.map +0 -1
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts +0 -3
- package/dist/vue3/types/recipes/leftbar/contact_row/contact_row_constants.d.ts.map +0 -1
- package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts +0 -6
- package/dist/vue3/types/recipes/leftbar/group_row/group_row_constants.d.ts.map +0 -1
|
@@ -1,105 +1,101 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
K(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { ref as b, computed as B, watch as F, onMounted as V, openBlock as E, createBlock as G, unref as e, withCtx as k, createVNode as i, createElementVNode as M, toDisplayString as P, nextTick as N, createElementBlock as g, Fragment as x, renderList as Y, normalizeClass as q, createTextVNode as W, getCurrentInstance as j } from "vue";
|
|
2
|
+
import { DtIconChevronsLeft as J, DtIconChevronLeft as Q, DtIconChevronRight as Z, DtIconChevronsRight as ee } from "@dialpad/dialtone-icons/vue3";
|
|
3
|
+
import { getMonth as K, getYear as S, getDate as te, set as ae, addMonths as ne, subMonths as re } from "date-fns";
|
|
4
|
+
import { getCalendarDays as le, formatMonth as oe, getWeekDayNames as se, formatDate as ce, calculateNextFocusDate as ue, calculatePrevFocusDate as ie } from "./utils.js";
|
|
5
|
+
import { INTL_MONTH_FORMAT as U, WEEK_START as de } from "./datepicker-constants.js";
|
|
6
|
+
import { returnFirstEl as D, warnIfUnmounted as fe } from "../../common/utils/index.js";
|
|
7
|
+
import { DialtoneLocalization as z } from "../../localization/index.js";
|
|
8
|
+
import R from "../stack/stack.js";
|
|
9
|
+
import w from "../tooltip/tooltip.js";
|
|
10
|
+
import I from "../button/button.js";
|
|
11
|
+
function ve(d, o) {
|
|
12
|
+
const s = b(K(d.selectedDate)), t = b(S(d.selectedDate)), n = b(null), r = b(0), m = b([]), v = new z(), T = B(() => le(s.value, t.value, n.value));
|
|
13
|
+
F(s, () => {
|
|
14
|
+
l(), o("calendar-days", T.value);
|
|
15
|
+
}, { immediate: !0 }), F(t, () => {
|
|
16
|
+
l(), o("calendar-days", T.value);
|
|
16
17
|
}, { immediate: !0 });
|
|
17
|
-
function
|
|
18
|
-
|
|
18
|
+
function _(a) {
|
|
19
|
+
return oe(a, U, v.currentLocale);
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
-
|
|
21
|
+
function y(a) {
|
|
22
|
+
m.value.includes(a) || m.value.push(a);
|
|
22
23
|
}
|
|
23
|
-
function
|
|
24
|
+
function h() {
|
|
25
|
+
D(m.value[0].$el).focus();
|
|
26
|
+
}
|
|
27
|
+
function A(a) {
|
|
24
28
|
switch (a.key) {
|
|
25
29
|
case "ArrowLeft":
|
|
26
|
-
a.preventDefault(),
|
|
30
|
+
a.preventDefault(), r.value === 0 ? (r.value = 3, D(m.value[r.value].$el).focus()) : (r.value--, D(m.value[r.value].$el).focus());
|
|
27
31
|
break;
|
|
28
32
|
case "ArrowRight":
|
|
29
|
-
a.preventDefault(),
|
|
33
|
+
a.preventDefault(), r.value === 3 ? (r.value = 0, D(m.value[r.value].$el).focus()) : (r.value++, D(m.value[r.value].$el).focus());
|
|
30
34
|
break;
|
|
31
35
|
case "ArrowDown":
|
|
32
|
-
a.preventDefault(),
|
|
36
|
+
a.preventDefault(), o("focus-first-day");
|
|
33
37
|
break;
|
|
34
38
|
case "Tab":
|
|
35
|
-
a.preventDefault(),
|
|
39
|
+
a.preventDefault(), o("focus-first-day");
|
|
36
40
|
break;
|
|
37
41
|
case "Escape":
|
|
38
|
-
|
|
42
|
+
o("close-datepicker");
|
|
39
43
|
break;
|
|
40
44
|
}
|
|
41
45
|
}
|
|
42
|
-
function
|
|
43
|
-
const a =
|
|
44
|
-
a !== t.value ||
|
|
46
|
+
function l() {
|
|
47
|
+
const a = S(d.selectedDate), L = K(d.selectedDate);
|
|
48
|
+
a !== t.value || L !== s.value ? n.value = null : n.value = te(d.selectedDate);
|
|
45
49
|
}
|
|
46
|
-
function
|
|
50
|
+
function u(a) {
|
|
47
51
|
(s.value === 0 && a === -1 || s.value === 11 && a === 1) && (t.value += a);
|
|
48
|
-
const
|
|
49
|
-
s.value =
|
|
52
|
+
const L = ae(d.selectedDate, { month: s.value, year: t.value }), X = a === 1 ? ne(L, 1) : re(L, 1);
|
|
53
|
+
s.value = K(X);
|
|
50
54
|
}
|
|
51
|
-
function
|
|
55
|
+
function p(a) {
|
|
52
56
|
t.value = t.value + a;
|
|
53
57
|
}
|
|
54
|
-
function
|
|
55
|
-
|
|
58
|
+
function f() {
|
|
59
|
+
u(1);
|
|
60
|
+
}
|
|
61
|
+
function C() {
|
|
62
|
+
u(-1);
|
|
63
|
+
}
|
|
64
|
+
function $() {
|
|
65
|
+
return `${v.$t("DIALTONE_DATEPICKER_CHANGE_TO")} ${v.$t("DIALTONE_DATEPICKER_PREVIOUS_YEAR")} ${t.value - 1}`;
|
|
66
|
+
}
|
|
67
|
+
function O() {
|
|
68
|
+
return `${v.$t("DIALTONE_DATEPICKER_CHANGE_TO")} ${v.$t("DIALTONE_DATEPICKER_PREVIOUS_MONTH")} ${_(s.value - 1)}`;
|
|
56
69
|
}
|
|
57
|
-
function
|
|
58
|
-
|
|
70
|
+
function H() {
|
|
71
|
+
return `${v.$t("DIALTONE_DATEPICKER_CHANGE_TO")} ${v.$t("DIALTONE_DATEPICKER_NEXT_YEAR")} ${t.value + 1}`;
|
|
72
|
+
}
|
|
73
|
+
function c() {
|
|
74
|
+
return `${v.$t("DIALTONE_DATEPICKER_CHANGE_TO")} ${v.$t("DIALTONE_DATEPICKER_NEXT_MONTH")} ${_(s.value + 1)}`;
|
|
59
75
|
}
|
|
60
76
|
return {
|
|
61
77
|
selectMonth: s,
|
|
62
78
|
selectYear: t,
|
|
63
|
-
formattedMonth:
|
|
64
|
-
setDayRef:
|
|
65
|
-
focusMonthYearPicker:
|
|
66
|
-
handleKeyDown:
|
|
67
|
-
changeMonth:
|
|
68
|
-
changeYear:
|
|
69
|
-
goToNextMonth:
|
|
70
|
-
goToPrevMonth:
|
|
79
|
+
formattedMonth: _,
|
|
80
|
+
setDayRef: y,
|
|
81
|
+
focusMonthYearPicker: h,
|
|
82
|
+
handleKeyDown: A,
|
|
83
|
+
changeMonth: u,
|
|
84
|
+
changeYear: p,
|
|
85
|
+
goToNextMonth: f,
|
|
86
|
+
goToPrevMonth: C,
|
|
87
|
+
previousYearAriaLabel: $,
|
|
88
|
+
previousMonthAriaLabel: O,
|
|
89
|
+
nextYearAriaLabel: H,
|
|
90
|
+
nextMonthAriaLabel: c
|
|
71
91
|
};
|
|
72
92
|
}
|
|
73
|
-
const
|
|
93
|
+
const pe = {
|
|
74
94
|
id: "calendar-heading",
|
|
75
95
|
class: "d-datepicker__month-year-title"
|
|
76
|
-
},
|
|
96
|
+
}, De = {
|
|
77
97
|
__name: "month-year-picker",
|
|
78
98
|
props: {
|
|
79
|
-
locale: {
|
|
80
|
-
type: String,
|
|
81
|
-
required: !0
|
|
82
|
-
},
|
|
83
|
-
prevMonthLabel: {
|
|
84
|
-
type: String,
|
|
85
|
-
required: !0
|
|
86
|
-
},
|
|
87
|
-
nextMonthLabel: {
|
|
88
|
-
type: String,
|
|
89
|
-
required: !0
|
|
90
|
-
},
|
|
91
|
-
prevYearLabel: {
|
|
92
|
-
type: String,
|
|
93
|
-
required: !0
|
|
94
|
-
},
|
|
95
|
-
nextYearLabel: {
|
|
96
|
-
type: String,
|
|
97
|
-
required: !0
|
|
98
|
-
},
|
|
99
|
-
changeToLabel: {
|
|
100
|
-
type: String,
|
|
101
|
-
required: !0
|
|
102
|
-
},
|
|
103
99
|
selectedDate: {
|
|
104
100
|
type: Date,
|
|
105
101
|
required: !0
|
|
@@ -132,90 +128,94 @@ const se = {
|
|
|
132
128
|
*/
|
|
133
129
|
"close-datepicker"
|
|
134
130
|
],
|
|
135
|
-
setup(
|
|
136
|
-
const t =
|
|
137
|
-
selectMonth:
|
|
138
|
-
selectYear:
|
|
139
|
-
formattedMonth:
|
|
140
|
-
setDayRef:
|
|
141
|
-
focusMonthYearPicker:
|
|
142
|
-
handleKeyDown:
|
|
143
|
-
changeMonth:
|
|
144
|
-
changeYear:
|
|
145
|
-
goToNextMonth:
|
|
146
|
-
goToPrevMonth:
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}), (
|
|
155
|
-
|
|
131
|
+
setup(d, { expose: o, emit: s }) {
|
|
132
|
+
const t = d, n = s, r = new z(), {
|
|
133
|
+
selectMonth: m,
|
|
134
|
+
selectYear: v,
|
|
135
|
+
formattedMonth: T,
|
|
136
|
+
setDayRef: _,
|
|
137
|
+
focusMonthYearPicker: y,
|
|
138
|
+
handleKeyDown: h,
|
|
139
|
+
changeMonth: A,
|
|
140
|
+
changeYear: l,
|
|
141
|
+
goToNextMonth: u,
|
|
142
|
+
goToPrevMonth: p,
|
|
143
|
+
previousYearAriaLabel: f,
|
|
144
|
+
previousMonthAriaLabel: C,
|
|
145
|
+
nextMonthAriaLabel: $,
|
|
146
|
+
nextYearAriaLabel: O
|
|
147
|
+
} = ve(t, n);
|
|
148
|
+
return V(() => {
|
|
149
|
+
y();
|
|
150
|
+
}), o({
|
|
151
|
+
focusMonthYearPicker: y,
|
|
152
|
+
goToNextMonth: u,
|
|
153
|
+
goToPrevMonth: p
|
|
154
|
+
}), (H, c) => (E(), G(e(R), {
|
|
156
155
|
class: "d-datepicker__month-year",
|
|
156
|
+
direction: "row",
|
|
157
157
|
gap: "300"
|
|
158
158
|
}, {
|
|
159
|
-
default:
|
|
160
|
-
|
|
159
|
+
default: k(() => [
|
|
160
|
+
i(e(R), {
|
|
161
161
|
as: "nav",
|
|
162
|
+
class: "d-datepicker__nav",
|
|
162
163
|
direction: "row",
|
|
163
|
-
gap: "200"
|
|
164
|
-
class: "d-datepicker__nav"
|
|
164
|
+
gap: "200"
|
|
165
165
|
}, {
|
|
166
|
-
default:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
166
|
+
default: k(() => [
|
|
167
|
+
i(e(w), {
|
|
168
|
+
"fallback-placements": ["top-start", "auto"],
|
|
169
|
+
message: e(r).$t("DIALTONE_DATEPICKER_PREVIOUS_YEAR"),
|
|
170
|
+
placement: "top"
|
|
171
171
|
}, {
|
|
172
|
-
anchor:
|
|
173
|
-
|
|
172
|
+
anchor: k(() => [
|
|
173
|
+
i(e(I), {
|
|
174
174
|
id: "prevYearButton",
|
|
175
175
|
ref: (a) => {
|
|
176
|
-
a && e(
|
|
176
|
+
a && e(_)(a);
|
|
177
177
|
},
|
|
178
|
-
|
|
179
|
-
importance: "clear",
|
|
180
|
-
kind: "muted",
|
|
178
|
+
"aria-label": e(f)(),
|
|
181
179
|
circle: !0,
|
|
182
180
|
class: "d-datepicker__nav-btn",
|
|
181
|
+
importance: "clear",
|
|
182
|
+
kind: "muted",
|
|
183
|
+
size: "xs",
|
|
183
184
|
type: "button",
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
onKeydown: n[1] || (n[1] = (a) => e(k)(a))
|
|
185
|
+
onClick: c[0] || (c[0] = (a) => e(l)(-1)),
|
|
186
|
+
onKeydown: c[1] || (c[1] = (a) => e(h)(a))
|
|
187
187
|
}, {
|
|
188
|
-
default:
|
|
189
|
-
|
|
188
|
+
default: k(() => [
|
|
189
|
+
i(e(J), { size: "200" })
|
|
190
190
|
]),
|
|
191
191
|
_: 1
|
|
192
192
|
}, 8, ["aria-label"])
|
|
193
193
|
]),
|
|
194
194
|
_: 1
|
|
195
195
|
}, 8, ["message"]),
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
196
|
+
i(e(w), {
|
|
197
|
+
"fallback-placements": ["top-start", "auto"],
|
|
198
|
+
message: e(r).$t("DIALTONE_DATEPICKER_PREVIOUS_MONTH"),
|
|
199
|
+
placement: "top"
|
|
200
200
|
}, {
|
|
201
|
-
anchor:
|
|
202
|
-
|
|
201
|
+
anchor: k(() => [
|
|
202
|
+
i(e(I), {
|
|
203
203
|
id: "prevMonthButton",
|
|
204
204
|
ref: (a) => {
|
|
205
|
-
a && e(
|
|
205
|
+
a && e(_)(a);
|
|
206
206
|
},
|
|
207
|
-
|
|
208
|
-
importance: "clear",
|
|
209
|
-
kind: "muted",
|
|
207
|
+
"aria-label": e(C)(),
|
|
210
208
|
circle: !0,
|
|
211
209
|
class: "d-datepicker__nav-btn",
|
|
210
|
+
importance: "clear",
|
|
211
|
+
kind: "muted",
|
|
212
|
+
size: "xs",
|
|
212
213
|
type: "button",
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
onKeydown: n[3] || (n[3] = (a) => e(k)(a))
|
|
214
|
+
onClick: c[2] || (c[2] = (a) => e(A)(-1)),
|
|
215
|
+
onKeydown: c[3] || (c[3] = (a) => e(h)(a))
|
|
216
216
|
}, {
|
|
217
|
-
default:
|
|
218
|
-
|
|
217
|
+
default: k(() => [
|
|
218
|
+
i(e(Q), { size: "200" })
|
|
219
219
|
]),
|
|
220
220
|
_: 1
|
|
221
221
|
}, 8, ["aria-label"])
|
|
@@ -225,66 +225,66 @@ const se = {
|
|
|
225
225
|
]),
|
|
226
226
|
_: 1
|
|
227
227
|
}),
|
|
228
|
-
|
|
229
|
-
|
|
228
|
+
M("div", pe, P(e(T)(e(m))) + " " + P(e(v)), 1),
|
|
229
|
+
i(e(R), {
|
|
230
230
|
as: "nav",
|
|
231
|
+
class: "d-datepicker__nav",
|
|
231
232
|
direction: "row",
|
|
232
|
-
gap: "200"
|
|
233
|
-
class: "d-datepicker__nav"
|
|
233
|
+
gap: "200"
|
|
234
234
|
}, {
|
|
235
|
-
default:
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
235
|
+
default: k(() => [
|
|
236
|
+
i(e(w), {
|
|
237
|
+
"fallback-placements": ["top-end", "auto"],
|
|
238
|
+
message: e(r).$t("DIALTONE_DATEPICKER_NEXT_MONTH"),
|
|
239
|
+
placement: "top"
|
|
240
240
|
}, {
|
|
241
|
-
anchor:
|
|
242
|
-
|
|
241
|
+
anchor: k(() => [
|
|
242
|
+
i(e(I), {
|
|
243
243
|
id: "nextMonthButton",
|
|
244
244
|
ref: (a) => {
|
|
245
|
-
a && e(
|
|
245
|
+
a && e(_)(a);
|
|
246
246
|
},
|
|
247
|
-
|
|
248
|
-
importance: "clear",
|
|
249
|
-
kind: "muted",
|
|
247
|
+
"aria-label": e($)(),
|
|
250
248
|
circle: !0,
|
|
251
249
|
class: "d-datepicker__nav-btn",
|
|
250
|
+
importance: "clear",
|
|
251
|
+
kind: "muted",
|
|
252
|
+
size: "xs",
|
|
252
253
|
type: "button",
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
onKeydown: n[5] || (n[5] = (a) => e(k)(a))
|
|
254
|
+
onClick: c[4] || (c[4] = (a) => e(A)(1)),
|
|
255
|
+
onKeydown: c[5] || (c[5] = (a) => e(h)(a))
|
|
256
256
|
}, {
|
|
257
|
-
default:
|
|
258
|
-
|
|
257
|
+
default: k(() => [
|
|
258
|
+
i(e(Z), { size: "200" })
|
|
259
259
|
]),
|
|
260
260
|
_: 1
|
|
261
261
|
}, 8, ["aria-label"])
|
|
262
262
|
]),
|
|
263
263
|
_: 1
|
|
264
264
|
}, 8, ["message"]),
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
265
|
+
i(e(w), {
|
|
266
|
+
"fallback-placements": ["top-end", "auto"],
|
|
267
|
+
message: e(r).$t("DIALTONE_DATEPICKER_NEXT_YEAR"),
|
|
268
|
+
placement: "top"
|
|
269
269
|
}, {
|
|
270
|
-
anchor:
|
|
271
|
-
|
|
270
|
+
anchor: k(() => [
|
|
271
|
+
i(e(I), {
|
|
272
272
|
id: "nextYearButton",
|
|
273
273
|
ref: (a) => {
|
|
274
|
-
a && e(
|
|
274
|
+
a && e(_)(a);
|
|
275
275
|
},
|
|
276
|
-
|
|
277
|
-
importance: "clear",
|
|
278
|
-
kind: "muted",
|
|
276
|
+
"aria-label": e(O)(),
|
|
279
277
|
circle: !0,
|
|
280
278
|
class: "d-datepicker__nav-btn",
|
|
279
|
+
importance: "clear",
|
|
280
|
+
kind: "muted",
|
|
281
|
+
size: "xs",
|
|
281
282
|
type: "button",
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
onKeydown: n[7] || (n[7] = (a) => e(k)(a))
|
|
283
|
+
onClick: c[6] || (c[6] = (a) => e(l)(1)),
|
|
284
|
+
onKeydown: c[7] || (c[7] = (a) => e(h)(a))
|
|
285
285
|
}, {
|
|
286
|
-
default:
|
|
287
|
-
|
|
286
|
+
default: k(() => [
|
|
287
|
+
i(e(ee), { size: "200" })
|
|
288
288
|
]),
|
|
289
289
|
_: 1
|
|
290
290
|
}, 8, ["aria-label"])
|
|
@@ -299,95 +299,87 @@ const se = {
|
|
|
299
299
|
}));
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
|
-
function
|
|
303
|
-
const s =
|
|
304
|
-
|
|
305
|
-
t.value = 0,
|
|
302
|
+
function me(d, o) {
|
|
303
|
+
const s = b(null), t = b(0), n = b([]), r = new z(), m = B(() => se(d.locale, de));
|
|
304
|
+
F(() => d.calendarDays, () => {
|
|
305
|
+
t.value = 0, n.value = [], s.value = null;
|
|
306
306
|
});
|
|
307
|
-
function
|
|
308
|
-
return
|
|
307
|
+
function v(l) {
|
|
308
|
+
return r.$t("DIALTONE_DATEPICKER_SELECT_DAY") + ` ${ce(l.value, U, r.currentLocale)}`;
|
|
309
309
|
}
|
|
310
|
-
function
|
|
311
|
-
!
|
|
310
|
+
function T(l, u) {
|
|
311
|
+
!n.value.some((p) => p.el === l) && u.currentMonth && n.value.push({ el: l, day: u });
|
|
312
312
|
}
|
|
313
|
-
function
|
|
314
|
-
switch (
|
|
313
|
+
function _(l) {
|
|
314
|
+
switch (l.key) {
|
|
315
315
|
case "ArrowUp":
|
|
316
|
-
|
|
316
|
+
l.preventDefault(), t.value -= 7;
|
|
317
317
|
try {
|
|
318
|
-
|
|
318
|
+
D(n.value[t.value].el.$el).focus();
|
|
319
319
|
} catch {
|
|
320
|
-
const
|
|
321
|
-
|
|
322
|
-
|
|
320
|
+
const p = ie(n.value[t.value + 7].day.value);
|
|
321
|
+
o("go-to-prev-month"), N(() => {
|
|
322
|
+
D(n.value[p - 1].el.$el).focus(), t.value += p - 1;
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
325
|
break;
|
|
326
326
|
case "ArrowDown":
|
|
327
|
-
|
|
327
|
+
l.preventDefault(), t.value += 7;
|
|
328
328
|
try {
|
|
329
|
-
|
|
329
|
+
D(n.value[t.value].el.$el).focus();
|
|
330
330
|
} catch {
|
|
331
|
-
const
|
|
332
|
-
|
|
333
|
-
|
|
331
|
+
const p = ue(n.value[t.value - 7].day.value);
|
|
332
|
+
o("go-to-next-month"), N(() => {
|
|
333
|
+
D(n.value[p - 1].el.$el).focus(), t.value += p - 1;
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
336
|
break;
|
|
337
337
|
case "ArrowLeft":
|
|
338
|
-
|
|
338
|
+
l.preventDefault(), t.value > 0 ? (t.value -= 1, D(n.value[t.value].el.$el).focus()) : (o("go-to-prev-month"), h());
|
|
339
339
|
break;
|
|
340
340
|
case "ArrowRight":
|
|
341
|
-
|
|
341
|
+
l.preventDefault(), t.value < n.value.length - 1 ? (t.value += 1, D(n.value[t.value].el.$el).focus()) : (o("go-to-next-month"), y());
|
|
342
342
|
break;
|
|
343
343
|
case "Tab":
|
|
344
|
-
|
|
344
|
+
l.preventDefault(), o("focus-month-year-picker");
|
|
345
345
|
break;
|
|
346
346
|
case "Escape":
|
|
347
|
-
|
|
347
|
+
o("close-datepicker");
|
|
348
348
|
break;
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
function
|
|
352
|
-
t.value = 0,
|
|
353
|
-
|
|
351
|
+
function y() {
|
|
352
|
+
t.value = 0, N(() => {
|
|
353
|
+
D(n.value[t.value].el.$el).focus();
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
|
-
function
|
|
357
|
-
|
|
358
|
-
t.value =
|
|
356
|
+
function h() {
|
|
357
|
+
N(() => {
|
|
358
|
+
t.value = n.value.length - 1, D(n.value[t.value].el.$el).focus();
|
|
359
359
|
});
|
|
360
360
|
}
|
|
361
|
-
function
|
|
362
|
-
|
|
361
|
+
function A(l) {
|
|
362
|
+
l.currentMonth && (s.value = l.text, o("select-date", l.value));
|
|
363
363
|
}
|
|
364
364
|
return {
|
|
365
365
|
selectedDay: s,
|
|
366
|
-
weekDays:
|
|
367
|
-
dayAriaLabel:
|
|
368
|
-
setDayRef:
|
|
369
|
-
handleKeyDown:
|
|
370
|
-
focusFirstDay:
|
|
371
|
-
selectDay:
|
|
366
|
+
weekDays: m,
|
|
367
|
+
dayAriaLabel: v,
|
|
368
|
+
setDayRef: T,
|
|
369
|
+
handleKeyDown: _,
|
|
370
|
+
focusFirstDay: y,
|
|
371
|
+
selectDay: A
|
|
372
372
|
};
|
|
373
373
|
}
|
|
374
|
-
const
|
|
374
|
+
const ke = {
|
|
375
375
|
class: "d-datepicker__calendar",
|
|
376
376
|
"aria-labelledby": "calendar-heading"
|
|
377
|
-
},
|
|
377
|
+
}, _e = ["title", "aria-label"], he = {
|
|
378
378
|
__name: "calendar",
|
|
379
379
|
props: {
|
|
380
380
|
calendarDays: {
|
|
381
381
|
type: Array,
|
|
382
382
|
required: !0
|
|
383
|
-
},
|
|
384
|
-
locale: {
|
|
385
|
-
type: String,
|
|
386
|
-
required: !0
|
|
387
|
-
},
|
|
388
|
-
selectDayLabel: {
|
|
389
|
-
type: String,
|
|
390
|
-
required: !0
|
|
391
383
|
}
|
|
392
384
|
},
|
|
393
385
|
emits: [
|
|
@@ -423,63 +415,63 @@ const fe = {
|
|
|
423
415
|
*/
|
|
424
416
|
"go-to-prev-month"
|
|
425
417
|
],
|
|
426
|
-
setup(
|
|
427
|
-
const t =
|
|
428
|
-
selectedDay:
|
|
429
|
-
weekDays:
|
|
430
|
-
dayAriaLabel:
|
|
431
|
-
setDayRef:
|
|
432
|
-
handleKeyDown:
|
|
433
|
-
focusFirstDay:
|
|
434
|
-
selectDay:
|
|
435
|
-
} =
|
|
436
|
-
return
|
|
437
|
-
focusFirstDay:
|
|
438
|
-
}), (
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
(
|
|
442
|
-
key:
|
|
418
|
+
setup(d, { expose: o, emit: s }) {
|
|
419
|
+
const t = d, n = s, {
|
|
420
|
+
selectedDay: r,
|
|
421
|
+
weekDays: m,
|
|
422
|
+
dayAriaLabel: v,
|
|
423
|
+
setDayRef: T,
|
|
424
|
+
handleKeyDown: _,
|
|
425
|
+
focusFirstDay: y,
|
|
426
|
+
selectDay: h
|
|
427
|
+
} = me(t, n);
|
|
428
|
+
return o({
|
|
429
|
+
focusFirstDay: y
|
|
430
|
+
}), (A, l) => (E(), g("table", ke, [
|
|
431
|
+
M("thead", null, [
|
|
432
|
+
M("tr", null, [
|
|
433
|
+
(E(!0), g(x, null, Y(e(m), (u) => (E(), g("th", {
|
|
434
|
+
key: u,
|
|
443
435
|
scope: "col",
|
|
444
436
|
class: "d-datepicker__cell d-datepicker__cell--header"
|
|
445
437
|
}, [
|
|
446
|
-
|
|
438
|
+
M("span", {
|
|
447
439
|
class: "d-datepicker__weekday",
|
|
448
|
-
title:
|
|
449
|
-
"aria-label":
|
|
450
|
-
},
|
|
440
|
+
title: u,
|
|
441
|
+
"aria-label": u
|
|
442
|
+
}, P(u), 9, _e)
|
|
451
443
|
]))), 128))
|
|
452
444
|
])
|
|
453
445
|
]),
|
|
454
|
-
|
|
455
|
-
(
|
|
456
|
-
(
|
|
457
|
-
key:
|
|
446
|
+
M("tbody", null, [
|
|
447
|
+
(E(!0), g(x, null, Y(d.calendarDays, (u, p) => (E(), g("tr", { key: p }, [
|
|
448
|
+
(E(!0), g(x, null, Y(u.days, (f, C) => (E(), g("td", {
|
|
449
|
+
key: p + C,
|
|
458
450
|
class: "d-datepicker__cell",
|
|
459
451
|
role: "listbox"
|
|
460
452
|
}, [
|
|
461
|
-
|
|
453
|
+
i(e(I), {
|
|
462
454
|
ref_for: !0,
|
|
463
|
-
ref: (
|
|
464
|
-
|
|
455
|
+
ref: ($) => {
|
|
456
|
+
$ && e(T)($, f);
|
|
465
457
|
},
|
|
466
|
-
class:
|
|
467
|
-
"d-datepicker__day--disabled": !
|
|
468
|
-
"d-datepicker__day--selected": e(
|
|
458
|
+
class: q(["d-datepicker__day", {
|
|
459
|
+
"d-datepicker__day--disabled": !f.currentMonth,
|
|
460
|
+
"d-datepicker__day--selected": e(r) ? f.text === e(r) && f.currentMonth : f.selected
|
|
469
461
|
}]),
|
|
470
462
|
circle: !0,
|
|
471
463
|
size: "sm",
|
|
472
464
|
importance: "clear",
|
|
473
|
-
disabled: !
|
|
465
|
+
disabled: !f.currentMonth,
|
|
474
466
|
type: "button",
|
|
475
|
-
"aria-selected": e(
|
|
476
|
-
"aria-label": e(
|
|
467
|
+
"aria-selected": e(r) ? f.text === e(r) && f.currentMonth : f.selected,
|
|
468
|
+
"aria-label": e(v)(f),
|
|
477
469
|
role: "option",
|
|
478
|
-
onClick: (
|
|
479
|
-
onKeydown:
|
|
470
|
+
onClick: ($) => e(h)(f),
|
|
471
|
+
onKeydown: l[0] || (l[0] = ($) => e(_)($))
|
|
480
472
|
}, {
|
|
481
|
-
default:
|
|
482
|
-
|
|
473
|
+
default: k(() => [
|
|
474
|
+
W(P(f.text), 1)
|
|
483
475
|
]),
|
|
484
476
|
_: 2
|
|
485
477
|
}, 1032, ["disabled", "class", "aria-selected", "aria-label", "onClick"])
|
|
@@ -488,78 +480,9 @@ const fe = {
|
|
|
488
480
|
])
|
|
489
481
|
]));
|
|
490
482
|
}
|
|
491
|
-
}, ye = { class: "d-datepicker__hd" },
|
|
483
|
+
}, ye = { class: "d-datepicker__hd" }, $e = { class: "d-datepicker__bd" }, we = {
|
|
492
484
|
__name: "datepicker",
|
|
493
485
|
props: {
|
|
494
|
-
/**
|
|
495
|
-
* Label for the previous month button
|
|
496
|
-
*
|
|
497
|
-
* @type {String}
|
|
498
|
-
* @example 'Previous month'
|
|
499
|
-
*/
|
|
500
|
-
prevMonthLabel: {
|
|
501
|
-
type: String,
|
|
502
|
-
required: !0
|
|
503
|
-
},
|
|
504
|
-
/**
|
|
505
|
-
* Label for the next month button
|
|
506
|
-
*
|
|
507
|
-
* @type {String}
|
|
508
|
-
* @example 'Next month'
|
|
509
|
-
*/
|
|
510
|
-
nextMonthLabel: {
|
|
511
|
-
type: String,
|
|
512
|
-
required: !0
|
|
513
|
-
},
|
|
514
|
-
/**
|
|
515
|
-
* Label for the previous year button
|
|
516
|
-
*
|
|
517
|
-
* @type {String}
|
|
518
|
-
* @example 'Previous year'
|
|
519
|
-
*/
|
|
520
|
-
prevYearLabel: {
|
|
521
|
-
type: String,
|
|
522
|
-
required: !0
|
|
523
|
-
},
|
|
524
|
-
/**
|
|
525
|
-
* Label for the next year button
|
|
526
|
-
*
|
|
527
|
-
* @type {String}
|
|
528
|
-
* @example 'Next year'
|
|
529
|
-
*/
|
|
530
|
-
nextYearLabel: {
|
|
531
|
-
type: String,
|
|
532
|
-
required: !0
|
|
533
|
-
},
|
|
534
|
-
/**
|
|
535
|
-
* Label for the select day button
|
|
536
|
-
*
|
|
537
|
-
* @type {String}
|
|
538
|
-
* @example 'Select day'
|
|
539
|
-
*/
|
|
540
|
-
selectDayLabel: {
|
|
541
|
-
type: String,
|
|
542
|
-
required: !0
|
|
543
|
-
},
|
|
544
|
-
/**
|
|
545
|
-
* Label for the change to button
|
|
546
|
-
*
|
|
547
|
-
* @type {String}
|
|
548
|
-
* @example 'Change to'
|
|
549
|
-
*/
|
|
550
|
-
changeToLabel: {
|
|
551
|
-
type: String,
|
|
552
|
-
required: !0
|
|
553
|
-
},
|
|
554
|
-
/**
|
|
555
|
-
* Locale for the calendar
|
|
556
|
-
*
|
|
557
|
-
* @type {String}
|
|
558
|
-
*/
|
|
559
|
-
locale: {
|
|
560
|
-
type: String,
|
|
561
|
-
default: "en-US"
|
|
562
|
-
},
|
|
563
486
|
/**
|
|
564
487
|
* Selected date
|
|
565
488
|
*
|
|
@@ -585,47 +508,39 @@ const fe = {
|
|
|
585
508
|
*/
|
|
586
509
|
"close-datepicker"
|
|
587
510
|
],
|
|
588
|
-
setup(
|
|
589
|
-
const
|
|
511
|
+
setup(d) {
|
|
512
|
+
const o = b([]);
|
|
590
513
|
function s(t) {
|
|
591
|
-
|
|
514
|
+
o.value = t;
|
|
592
515
|
}
|
|
593
|
-
return
|
|
594
|
-
const t =
|
|
595
|
-
|
|
596
|
-
}), (t,
|
|
516
|
+
return V(() => {
|
|
517
|
+
const t = j();
|
|
518
|
+
fe(D(t.proxy.$el), "datepicker");
|
|
519
|
+
}), (t, n) => (E(), G(e(R), {
|
|
597
520
|
class: "d-datepicker",
|
|
598
521
|
gap: "400"
|
|
599
522
|
}, {
|
|
600
|
-
default:
|
|
601
|
-
|
|
602
|
-
|
|
523
|
+
default: k(() => [
|
|
524
|
+
M("div", ye, [
|
|
525
|
+
i(De, {
|
|
603
526
|
ref: "monthYearPicker",
|
|
604
|
-
|
|
605
|
-
"prev-month-label": l.prevMonthLabel,
|
|
606
|
-
"next-month-label": l.nextMonthLabel,
|
|
607
|
-
"prev-year-label": l.prevYearLabel,
|
|
608
|
-
"next-year-label": l.nextYearLabel,
|
|
609
|
-
"change-to-label": l.changeToLabel,
|
|
610
|
-
"selected-date": l.selectedDate,
|
|
527
|
+
"selected-date": d.selectedDate,
|
|
611
528
|
onCalendarDays: s,
|
|
612
|
-
onFocusFirstDay:
|
|
613
|
-
onFocusLastDay:
|
|
614
|
-
onCloseDatepicker:
|
|
615
|
-
}, null, 8, ["
|
|
529
|
+
onFocusFirstDay: n[0] || (n[0] = (r) => t.$refs.calendar.focusFirstDay()),
|
|
530
|
+
onFocusLastDay: n[1] || (n[1] = (r) => t.$refs.calendar.focusLastDay()),
|
|
531
|
+
onCloseDatepicker: n[2] || (n[2] = (r) => t.$emit("close-datepicker"))
|
|
532
|
+
}, null, 8, ["selected-date"])
|
|
616
533
|
]),
|
|
617
|
-
|
|
618
|
-
|
|
534
|
+
M("div", $e, [
|
|
535
|
+
i(he, {
|
|
619
536
|
ref: "calendar",
|
|
620
|
-
|
|
621
|
-
"
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
onGoToPrevMonth: r[7] || (r[7] = (o) => t.$refs.monthYearPicker.goToPrevMonth())
|
|
628
|
-
}, null, 8, ["locale", "calendar-days", "select-day-label"])
|
|
537
|
+
"calendar-days": o.value,
|
|
538
|
+
onSelectDate: n[3] || (n[3] = (r) => t.$emit("selected-date", r)),
|
|
539
|
+
onFocusMonthYearPicker: n[4] || (n[4] = (r) => t.$refs.monthYearPicker.focusMonthYearPicker()),
|
|
540
|
+
onCloseDatepicker: n[5] || (n[5] = (r) => t.$emit("close-datepicker")),
|
|
541
|
+
onGoToNextMonth: n[6] || (n[6] = (r) => t.$refs.monthYearPicker.goToNextMonth()),
|
|
542
|
+
onGoToPrevMonth: n[7] || (n[7] = (r) => t.$refs.monthYearPicker.goToPrevMonth())
|
|
543
|
+
}, null, 8, ["calendar-days"])
|
|
629
544
|
])
|
|
630
545
|
]),
|
|
631
546
|
_: 1
|