@onereach/ui-components 6.4.5-beta.3426.0 → 6.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrDateTimePickerMonthSelect-ea25c571.js → OrDateTimePickerMonthSelect-e2a587bb.js} +7 -21
- package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-da41a651.js → OrDateTimePickerPopoverHeader-e90e27c0.js} +8 -16
- package/dist/bundled/v2/{OrDateTimePickerTimeSelect-5efbeec4.js → OrDateTimePickerTimeSelect-3d88a1aa.js} +2 -0
- package/dist/bundled/v2/components/OrCombinedInputV3/styles.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +5 -5
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +8 -7
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +3 -3
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +18 -11
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.vue.d.ts +11 -0
- package/dist/bundled/v2/components/OrInputBoxV3/styles.js +4 -4
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +6 -1
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.vue.d.ts +11 -0
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +1 -1
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +12 -8
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.vue.d.ts +26 -11
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +4 -4
- package/dist/bundled/v2/components/index.d.ts +0 -2
- package/dist/bundled/v2/components/index.js +5 -7
- package/dist/bundled/v2/hooks/useTheme.js +0 -1
- package/dist/bundled/v2/index.js +6 -8
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-a32d149d.js → OrCardCollection.vue_vue_type_script_lang-3b37f8da.js} +3 -3
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-fa6c50cd.js → OrCode.vue_vue_type_script_lang-126d56f7.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f1126928.js → OrConfirm.vue_vue_type_script_lang-56a57a28.js} +1 -1
- package/dist/bundled/v3/{OrContextMenu.vue_vue_type_script_lang-1a1590c5.js → OrContextMenu.vue_vue_type_script_lang-f3b2fa10.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-7ecf3dbd.js → OrDatePicker.vue_vue_type_script_lang-7d8b90bc.js} +6 -6
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-e3fa6fa8.js → OrDateTimePicker.vue_vue_type_script_lang-090b5555.js} +7 -8
- package/dist/bundled/v3/OrDateTimePickerPopoverHeader-e59d849a.js +526 -0
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-4fa9f74f.js → OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-e8fe4357.js} +7 -12
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect.vue_vue_type_script_lang-bf592a08.js → OrDateTimePickerTimeSelect-d40024d8.js} +85 -0
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-5a4c1591.js → OrIconButton.vue_vue_type_script_lang-ff65c253.js} +18 -4
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-643265a9.js → OrInlineInput.vue_vue_type_script_lang-a296caec.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-f9efd451.js → OrInlineTextarea.vue_vue_type_script_lang-6f0607c5.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-114f5979.js → OrInput.vue_vue_type_script_lang-bd483fbc.js} +2 -2
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-82e30dd8.js → OrMenu.vue_vue_type_script_lang-13de0752.js} +6 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-e61e38cb.js → OrModal.vue_vue_type_script_lang-19e1ff1a.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-675f44fb.js → OrNotification.vue_vue_type_script_lang-1bb2ed3f.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-e6c9201b.js → OrPagination.vue_vue_type_script_lang-ca8c0f8a.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-07168ba7.js → OrPopover.vue_vue_type_script_lang-1de40837.js} +1 -1
- package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-b84d42d7.js → OrRichTextEditor.vue_vue_type_script_lang-b9bfac12.js} +5 -5
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-d988c35f.js → OrSearch.vue_vue_type_script_lang-e76fd9bd.js} +11 -6
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-9b92f281.js → OrSelect.vue_vue_type_script_lang-c0bcc2b5.js} +5 -5
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-ff0315f8.js → OrSidebar.vue_vue_type_script_lang-9a7188d1.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-6cb185fe.js → OrSorting.vue_vue_type_script_lang-f6a4b444.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-8d9b59fe.js → OrTabs.vue_vue_type_script_lang-606f2ea5.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-64cb0dd9.js → OrTag.vue_vue_type_script_lang-32f995f5.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-5e28ad0f.js → OrTagInput.vue_vue_type_script_lang-108a1678.js} +3 -3
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-d41d7722.js → OrTags.vue_vue_type_script_lang-a6fed075.js} +2 -2
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-0a39a394.js → OrTextarea.vue_vue_type_script_lang-a7cfbe82.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-0b776d5f.js → OrTimePicker.vue_vue_type_script_lang-18f5c74e.js} +6 -6
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-98847347.js → OrTooltip.vue_vue_type_script_lang-f47bdea2.js} +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +2 -2
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +2 -2
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.js +2 -2
- package/dist/bundled/v3/components/OrCombinedInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCombinedInputV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +2 -2
- package/dist/bundled/v3/components/OrConfirmV3/index.js +1 -1
- package/dist/bundled/v3/components/OrContextMenuV3/OrContextMenu.js +2 -2
- package/dist/bundled/v3/components/OrContextMenuV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +5 -6
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +6 -6
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +4 -4
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +3 -8
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +5 -0
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +2 -2
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -2
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.js +2 -2
- package/dist/bundled/v3/components/OrInputBoxV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInputBoxV3/styles.js +4 -4
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v3/components/OrInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +3 -3
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +9 -0
- package/dist/bundled/v3/components/OrMenuV3/index.js +1 -1
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +2 -2
- package/dist/bundled/v3/components/OrModalV3/index.js +1 -1
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +2 -2
- package/dist/bundled/v3/components/OrNotificationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +3 -3
- package/dist/bundled/v3/components/OrPaginationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +2 -2
- package/dist/bundled/v3/components/OrPopoverV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +8 -8
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.vue.d.ts +13 -9
- package/dist/bundled/v3/components/OrSearchV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +3 -3
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +2 -2
- package/dist/bundled/v3/components/OrSortingV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +2 -2
- package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +2 -2
- package/dist/bundled/v3/components/OrTagInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +2 -2
- package/dist/bundled/v3/components/OrTagV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +2 -2
- package/dist/bundled/v3/components/OrTagsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +2 -2
- package/dist/bundled/v3/components/OrTextareaV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +3 -4
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +2 -2
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +2 -2
- package/dist/bundled/v3/components/OrTooltipV3/index.js +1 -1
- package/dist/bundled/v3/components/index.d.ts +0 -2
- package/dist/bundled/v3/components/index.js +36 -38
- package/dist/bundled/v3/hooks/useTheme.js +0 -1
- package/dist/bundled/v3/index.js +37 -41
- package/dist/esm/v2/{OrCardCollection-655c8112.js → OrCardCollection-7ef48be2.js} +4 -4
- package/dist/esm/v2/{OrCode-a030bcf8.js → OrCode-57bd041c.js} +4 -4
- package/dist/esm/v2/{OrCombinedInput-6f6bee02.js → OrCombinedInput-08f20c4c.js} +2 -2
- package/dist/esm/v2/{OrConfirm-6cb17e00.js → OrConfirm-3ff773e4.js} +1 -1
- package/dist/esm/v2/{OrContextMenu-61421d56.js → OrContextMenu-247e4a05.js} +1 -1
- package/dist/esm/v2/{OrDateFormat-cabd9f6b.js → OrDateFormat-d06e6a17.js} +3 -3
- package/dist/esm/v2/{OrDatePicker-c7424f08.js → OrDatePicker-8590a3e0.js} +9 -9
- package/dist/esm/v2/{OrDateTimeFormat-d97cafe6.js → OrDateTimeFormat-958ac2b5.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-fb96f604.js → OrDateTimePicker-43e5c95b.js} +5 -5
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-1fd30543.js → OrDateTimePicker.vue_rollup-plugin-vue_script-c15c0ff1.js} +6 -5
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-6a388872.js → OrDateTimePickerTimeSelect-a122ae93.js} +20 -40
- package/dist/esm/v2/{OrIconButton-36b8fc18.js → OrIconButton-08d2913d.js} +18 -11
- package/dist/esm/v2/{OrInlineInput-083c8263.js → OrInlineInput-b2e9bf37.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-4219ba3b.js → OrInlineTextarea-5f6d4064.js} +1 -1
- package/dist/esm/v2/{OrInput-1498c6f9.js → OrInput-794bc2f6.js} +3 -3
- package/dist/esm/v2/{OrInputBox-2ba5d5de.js → OrInputBox-7dc5b9e9.js} +1 -1
- package/dist/esm/v2/{OrInputBox.vue_rollup-plugin-vue_script-bebba826.js → OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js} +4 -4
- package/dist/esm/v2/{OrMenu-70c93166.js → OrMenu-f402e409.js} +6 -1
- package/dist/esm/v2/{OrModal-db8cd96e.js → OrModal-dbb90626.js} +1 -1
- package/dist/esm/v2/{OrNotification-339051be.js → OrNotification-f8f0b678.js} +1 -1
- package/dist/esm/v2/{OrPagination-a301a29f.js → OrPagination-4ca1f4b0.js} +2 -2
- package/dist/esm/v2/{OrRichTextEditor-9663cfb3.js → OrRichTextEditor-b12605d3.js} +5 -5
- package/dist/esm/v2/{OrSearch-2cae5b17.js → OrSearch-21ae4e63.js} +16 -10
- package/dist/esm/v2/{OrSelect-fc3d2c8c.js → OrSelect-0a5c0317.js} +6 -6
- package/dist/esm/v2/{OrSidebar-3dd0f11b.js → OrSidebar-ef6de7df.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-095e75c6.js → OrSidebarCollapseButton-1ed37f3e.js} +1 -1
- package/dist/esm/v2/{OrSorting-9d7ec521.js → OrSorting-b280f39c.js} +1 -1
- package/dist/esm/v2/{OrTabs-ada3b0af.js → OrTabs-5baf3dde.js} +1 -1
- package/dist/esm/v2/{OrTag-3e8e7b8f.js → OrTag-1ecc5734.js} +1 -1
- package/dist/esm/v2/{OrTagInput-d541abf9.js → OrTagInput-ebfaeaca.js} +4 -4
- package/dist/esm/v2/{OrTags-ef93a438.js → OrTags-b02fadce.js} +1 -1
- package/dist/esm/v2/{OrTextarea-e1875f6e.js → OrTextarea-58bd5e83.js} +2 -2
- package/dist/esm/v2/{OrTimeFormat-fb20bd02.js → OrTimeFormat-c369099a.js} +3 -3
- package/dist/esm/v2/{OrTimePicker-ae376d08.js → OrTimePicker-444a7d26.js} +8 -8
- package/dist/esm/v2/components/index.d.ts +0 -2
- package/dist/esm/v2/components/index.js +36 -38
- package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -8
- package/dist/esm/v2/components/or-code-v3/index.js +5 -5
- package/dist/esm/v2/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +5 -5
- package/dist/esm/v2/components/or-context-menu-v3/index.js +2 -2
- package/dist/esm/v2/components/or-date-format-v3/index.js +8 -8
- package/dist/esm/v2/components/or-date-picker-v3/index.js +8 -8
- package/dist/esm/v2/components/or-date-time-format-v3/index.js +8 -8
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +8 -8
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/index.js +5 -5
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +0 -24
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue.d.ts +1 -13
- package/dist/esm/v2/components/or-date-time-picker-v3/utils/index.js +2 -2
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +11 -0
- package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-box-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +11 -0
- package/dist/esm/v2/components/or-menu-v3/index.js +1 -1
- package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +7 -7
- package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +26 -11
- package/dist/esm/v2/components/or-search-v3/index.js +5 -5
- package/dist/esm/v2/components/or-select-v3/index.js +6 -6
- package/dist/esm/v2/components/or-sidebar-v3/index.js +3 -3
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +2 -2
- package/dist/esm/v2/components/or-sorting-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tag-input-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tags-v3/index.js +3 -3
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -3
- package/dist/esm/v2/components/or-time-format-v3/index.js +8 -8
- package/dist/esm/v2/components/or-time-picker-v3/index.js +8 -8
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
- package/dist/esm/v2/{getTimePlaceholder-8f786f44.js → getTimePlaceholder-06d57fcf.js} +1 -1
- package/dist/esm/v2/index.js +36 -38
- package/dist/esm/v2/{types-d37b93b5.js → types-b49c7e18.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-2e32b80f.js → OrCardCollection-64175d94.js} +4 -4
- package/dist/esm/v3/{OrCode-21a72b18.js → OrCode-56268647.js} +3 -3
- package/dist/esm/v3/{OrCombinedInput-fb045646.js → OrCombinedInput-b8a868cb.js} +2 -2
- package/dist/esm/v3/{OrConfirm-df37e7ae.js → OrConfirm-658dfa58.js} +1 -1
- package/dist/esm/v3/{OrContextMenu-e68c0c2c.js → OrContextMenu-0a6a5668.js} +1 -1
- package/dist/esm/v3/{OrDateFormat-eb66bcaf.js → OrDateFormat-8322187d.js} +3 -3
- package/dist/esm/v3/{OrDatePicker-9d49a31d.js → OrDatePicker-a6518904.js} +9 -9
- package/dist/esm/v3/{OrDateTimeFormat-11e3866c.js → OrDateTimeFormat-fc9a09d9.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-33b6f689.js → OrDateTimePicker-e13abe97.js} +9 -8
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-5289f25d.js → OrDateTimePickerTimeSelect-1a7950ad.js} +22 -42
- package/dist/esm/v3/{OrIconButton-6a65f373.js → OrIconButton-ad59bb05.js} +18 -9
- package/dist/esm/v3/{OrInlineInput-b84a9950.js → OrInlineInput-432134eb.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-bc843c04.js → OrInlineTextarea-3434585e.js} +1 -1
- package/dist/esm/v3/{OrInput-128e3b26.js → OrInput-30df8d73.js} +2 -2
- package/dist/esm/v3/{OrInputBox-5f246763.js → OrInputBox-912a6254.js} +4 -4
- package/dist/esm/v3/{OrMenu-b6aae344.js → OrMenu-ce78b703.js} +6 -1
- package/dist/esm/v3/{OrModal-fbd524d4.js → OrModal-55582d5f.js} +1 -1
- package/dist/esm/v3/{OrNotification-b06dd07e.js → OrNotification-98fe44b7.js} +1 -1
- package/dist/esm/v3/{OrPagination-aef4702e.js → OrPagination-ed2409fa.js} +2 -2
- package/dist/esm/v3/{OrRichTextEditor-f192eecb.js → OrRichTextEditor-bdf2e88f.js} +5 -5
- package/dist/esm/v3/{OrSearch-9c2ae2a9.js → OrSearch-04fdc116.js} +20 -13
- package/dist/esm/v3/{OrSelect-8b80060b.js → OrSelect-559c6cf5.js} +5 -5
- package/dist/esm/v3/{OrSidebar-876e3b01.js → OrSidebar-f9803fee.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-20ac7782.js → OrSidebarCollapseButton-035f0736.js} +1 -1
- package/dist/esm/v3/{OrSorting-b9d0e7e5.js → OrSorting-535539dc.js} +1 -1
- package/dist/esm/v3/{OrTabs-cd65f78f.js → OrTabs-05d39983.js} +1 -1
- package/dist/esm/v3/{OrTag-e7390471.js → OrTag-31b2c78f.js} +1 -1
- package/dist/esm/v3/{OrTagInput-4c3254b1.js → OrTagInput-6824b64e.js} +3 -3
- package/dist/esm/v3/{OrTags-8e735dc2.js → OrTags-ba7e85ee.js} +1 -1
- package/dist/esm/v3/{OrTextarea-019e74fe.js → OrTextarea-aa1cf564.js} +1 -1
- package/dist/esm/v3/{OrTimeFormat-83694884.js → OrTimeFormat-845f1078.js} +3 -3
- package/dist/esm/v3/{OrTimePicker-3b8a2d0f.js → OrTimePicker-294ab841.js} +7 -7
- package/dist/esm/v3/components/index.d.ts +0 -2
- package/dist/esm/v3/components/index.js +34 -36
- package/dist/esm/v3/components/or-card-collection-v3/index.js +7 -7
- package/dist/esm/v3/components/or-code-v3/index.js +4 -4
- package/dist/esm/v3/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v3/components/or-context-menu-v3/index.js +2 -2
- package/dist/esm/v3/components/or-date-format-v3/index.js +7 -7
- package/dist/esm/v3/components/or-date-picker-v3/index.js +7 -7
- package/dist/esm/v3/components/or-date-time-format-v3/index.js +7 -7
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +6 -6
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/index.js +5 -5
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +0 -19
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue.d.ts +1 -11
- package/dist/esm/v3/components/or-date-time-picker-v3/utils/index.js +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +5 -0
- package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +9 -0
- package/dist/esm/v3/components/or-menu-v3/index.js +1 -1
- package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +6 -6
- package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +13 -9
- package/dist/esm/v3/components/or-search-v3/index.js +4 -4
- package/dist/esm/v3/components/or-select-v3/index.js +5 -5
- package/dist/esm/v3/components/or-sidebar-v3/index.js +3 -3
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +2 -2
- package/dist/esm/v3/components/or-sorting-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tag-input-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tags-v3/index.js +3 -3
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-time-format-v3/index.js +7 -7
- package/dist/esm/v3/components/or-time-picker-v3/index.js +7 -7
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
- package/dist/esm/v3/{getTimePlaceholder-f190a43f.js → getTimePlaceholder-09859f55.js} +1 -1
- package/dist/esm/v3/index.js +34 -36
- package/dist/esm/v3/{types-0c163381.js → types-1a079b57.js} +1 -1
- package/package.json +4 -3
- package/src/components/index.ts +0 -2
- package/src/components/or-combined-input-v3/styles.ts +3 -3
- package/src/components/or-date-picker-v3/OrDatePicker.vue +4 -5
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +6 -4
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue +2 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue +3 -17
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/styles.ts +1 -21
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue +2 -6
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/styles.ts +4 -11
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue +2 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue +2 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue +2 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue +2 -0
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue +2 -0
- package/src/components/or-icon-button-v3/OrIconButton.vue +13 -5
- package/src/components/or-input-box-v3/styles.ts +8 -8
- package/src/components/or-menu-v3/OrMenu.vue +7 -1
- package/src/components/or-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-rich-text-editor-v3/styles.ts +1 -1
- package/src/components/or-search-v3/OrSearch.vue +9 -7
- package/src/components/or-select-v3/OrSelect.vue +1 -1
- package/src/components/or-time-picker-v3/OrTimePicker.vue +3 -4
- package/dist/bundled/v2/components/OrDateRangePickerV3/OrDateRangePicker.js +0 -468
- package/dist/bundled/v2/components/OrDateRangePickerV3/OrDateRangePicker.vue.d.ts +0 -177
- package/dist/bundled/v2/components/OrDateRangePickerV3/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrDateRangePickerV3/index.js +0 -2
- package/dist/bundled/v2/components/OrDateRangePickerV3/props.d.ts +0 -1
- package/dist/bundled/v2/components/OrDateRangePickerV3/props.js +0 -1
- package/dist/bundled/v2/components/OrDateRangePickerV3/styles.d.ts +0 -2
- package/dist/bundled/v2/components/OrDateRangePickerV3/styles.js +0 -10
- package/dist/bundled/v2/components/OrTimeRangePickerV3/OrTimeRangePicker.js +0 -447
- package/dist/bundled/v2/components/OrTimeRangePickerV3/OrTimeRangePicker.vue.d.ts +0 -188
- package/dist/bundled/v2/components/OrTimeRangePickerV3/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrTimeRangePickerV3/index.js +0 -3
- package/dist/bundled/v2/components/OrTimeRangePickerV3/props.d.ts +0 -2
- package/dist/bundled/v2/components/OrTimeRangePickerV3/props.js +0 -2
- package/dist/bundled/v2/components/OrTimeRangePickerV3/styles.d.ts +0 -2
- package/dist/bundled/v2/components/OrTimeRangePickerV3/styles.js +0 -8
- package/dist/bundled/v3/OrDateRangePicker.vue_vue_type_script_lang-b84e3ea7.js +0 -215
- package/dist/bundled/v3/OrDateTimePickerMonthSelect.vue_vue_type_script_lang-98d2d00e.js +0 -338
- package/dist/bundled/v3/OrDateTimePickerPopoverHeader-3b36afb9.js +0 -206
- package/dist/bundled/v3/OrDateTimePickerTimeSelect-9c0d16e1.js +0 -84
- package/dist/bundled/v3/OrTimeRangePicker.vue_vue_type_script_lang-0dde1ee3.js +0 -220
- package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.js +0 -170
- package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.vue.d.ts +0 -367
- package/dist/bundled/v3/components/OrDateRangePickerV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrDateRangePickerV3/index.js +0 -2
- package/dist/bundled/v3/components/OrDateRangePickerV3/props.d.ts +0 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/props.js +0 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrDateRangePickerV3/styles.js +0 -10
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.js +0 -155
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.vue.d.ts +0 -376
- package/dist/bundled/v3/components/OrTimeRangePickerV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/index.js +0 -3
- package/dist/bundled/v3/components/OrTimeRangePickerV3/props.d.ts +0 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/props.js +0 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/styles.js +0 -8
- package/dist/esm/v2/OrDateRangePicker-15993b1d.js +0 -479
- package/dist/esm/v2/OrTimeRangePicker-2ca895f6.js +0 -455
- package/dist/esm/v2/components/or-date-range-picker-v3/OrDateRangePicker.vue.d.ts +0 -177
- package/dist/esm/v2/components/or-date-range-picker-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-date-range-picker-v3/index.js +0 -37
- package/dist/esm/v2/components/or-date-range-picker-v3/props.d.ts +0 -1
- package/dist/esm/v2/components/or-date-range-picker-v3/styles.d.ts +0 -2
- package/dist/esm/v2/components/or-time-range-picker-v3/OrTimeRangePicker.vue.d.ts +0 -188
- package/dist/esm/v2/components/or-time-range-picker-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-time-range-picker-v3/index.js +0 -37
- package/dist/esm/v2/components/or-time-range-picker-v3/props.d.ts +0 -2
- package/dist/esm/v2/components/or-time-range-picker-v3/styles.d.ts +0 -2
- package/dist/esm/v3/OrDateRangePicker-52a89830.js +0 -386
- package/dist/esm/v3/OrTimeRangePicker-0d55f4fc.js +0 -373
- package/dist/esm/v3/components/or-date-range-picker-v3/OrDateRangePicker.vue.d.ts +0 -367
- package/dist/esm/v3/components/or-date-range-picker-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-date-range-picker-v3/index.js +0 -35
- package/dist/esm/v3/components/or-date-range-picker-v3/props.d.ts +0 -1
- package/dist/esm/v3/components/or-date-range-picker-v3/styles.d.ts +0 -2
- package/dist/esm/v3/components/or-time-range-picker-v3/OrTimeRangePicker.vue.d.ts +0 -376
- package/dist/esm/v3/components/or-time-range-picker-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-time-range-picker-v3/index.js +0 -35
- package/dist/esm/v3/components/or-time-range-picker-v3/props.d.ts +0 -2
- package/dist/esm/v3/components/or-time-range-picker-v3/styles.d.ts +0 -2
- package/src/components/or-date-range-picker-v3/OrDateRangePicker.vue +0 -421
- package/src/components/or-date-range-picker-v3/index.ts +0 -2
- package/src/components/or-date-range-picker-v3/props.ts +0 -1
- package/src/components/or-date-range-picker-v3/styles.ts +0 -12
- package/src/components/or-time-range-picker-v3/OrTimeRangePicker.vue +0 -412
- package/src/components/or-time-range-picker-v3/index.ts +0 -2
- package/src/components/or-time-range-picker-v3/props.ts +0 -2
- package/src/components/or-time-range-picker-v3/styles.ts +0 -9
- /package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-bdc1f4c9.js → OrBottomSheet.vue_vue_type_script_lang-4c6f631f.js} +0 -0
- /package/dist/bundled/v3/{OrCombinedInput.vue_vue_type_script_lang-94ebad6b.js → OrCombinedInput.vue_vue_type_script_lang-fef04d0e.js} +0 -0
- /package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-989d5ee6.js → OrInputBox.vue_vue_type_script_lang-137cb650.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-28d0c120.js → OrToastContainer.vue_vue_type_script_lang-4eb55799.js} +0 -0
|
@@ -4,10 +4,10 @@ import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, re
|
|
|
4
4
|
import { gridView, defaultViewModes } from './components/OrCardCollectionV3/props.js';
|
|
5
5
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
6
6
|
import './components/OrSortingV3/OrSorting.js';
|
|
7
|
-
import { s as script$3 } from './OrSorting.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$3 } from './OrSorting.vue_vue_type_script_lang-f6a4b444.js';
|
|
8
8
|
import './components/OrSearchV3/OrSearch.js';
|
|
9
|
-
import { s as script$4 } from './OrSearch.vue_vue_type_script_lang-
|
|
10
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$4 } from './OrSearch.vue_vue_type_script_lang-e76fd9bd.js';
|
|
10
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-ff65c253.js';
|
|
11
11
|
|
|
12
12
|
var script$1 = defineComponent({
|
|
13
13
|
name: 'OrCardCollectionView',
|
|
@@ -12,13 +12,13 @@ import './components/OrInputBoxV3/OrInputBox.js';
|
|
|
12
12
|
import './components/OrLabelV3/OrLabel.js';
|
|
13
13
|
import { s as script$2 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
14
14
|
import { s as script$3 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
15
|
-
import { s as script$4 } from './OrInputBox.vue_vue_type_script_lang-
|
|
15
|
+
import { s as script$4 } from './OrInputBox.vue_vue_type_script_lang-137cb650.js';
|
|
16
16
|
import { s as script$5 } from './OrLabel.vue_vue_type_script_lang-fcdfd80d.js';
|
|
17
17
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, renderSlot, createTextVNode, toDisplayString, createElementVNode, withDirectives, createBlock, createCommentVNode, vShow } from 'vue';
|
|
18
18
|
import './components/OrModalV3/OrModal.js';
|
|
19
|
-
import { s as script$6 } from './OrModal.vue_vue_type_script_lang-
|
|
19
|
+
import { s as script$6 } from './OrModal.vue_vue_type_script_lang-19e1ff1a.js';
|
|
20
20
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
21
|
-
import { s as script$7 } from './OrIconButton.vue_vue_type_script_lang-
|
|
21
|
+
import { s as script$7 } from './OrIconButton.vue_vue_type_script_lang-ff65c253.js';
|
|
22
22
|
import { useIdAttribute } from './hooks/useIdAttribute.js';
|
|
23
23
|
import { useControlAttributes } from './hooks/useControlAttributes.js';
|
|
24
24
|
import { useValidationAttributes } from './hooks/useValidationAttributes.js';
|
|
@@ -9,7 +9,7 @@ import './components/OrInputV3/OrInput.js';
|
|
|
9
9
|
import { ButtonColor } from './components/OrButtonV3/props.js';
|
|
10
10
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-a2afd31a.js';
|
|
11
11
|
import { s as script$2 } from './OrButton.vue_vue_type_script_lang-547a7f18.js';
|
|
12
|
-
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-bd483fbc.js';
|
|
13
13
|
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
14
14
|
import { w as whenever } from './index-544e4b4e.js';
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch } from 'vue-demi';
|
|
2
2
|
import './components/OrMenuV3/OrMenu.js';
|
|
3
|
-
import { s as script$1 } from './OrMenu.vue_vue_type_script_lang-
|
|
3
|
+
import { s as script$1 } from './OrMenu.vue_vue_type_script_lang-13de0752.js';
|
|
4
4
|
import { PopoverPlacement } from './components/OrPopoverV3/props.js';
|
|
5
5
|
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
2
|
import { DatePicker, DatePickerPopover } from './components/OrDatePickerV3/styles.js';
|
|
3
|
-
import './OrDateTimePickerPopoverHeader-
|
|
3
|
+
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerPopoverHeader-e59d849a.js';
|
|
4
4
|
import './components/OrErrorV3/OrError.js';
|
|
5
5
|
import './components/OrHintV3/OrHint.js';
|
|
6
6
|
import './components/OrIconV3/OrIcon.js';
|
|
@@ -8,15 +8,14 @@ import './components/OrIconButtonV3/OrIconButton.js';
|
|
|
8
8
|
import './components/OrInputBoxV3/OrInputBox.js';
|
|
9
9
|
import './components/OrLabelV3/OrLabel.js';
|
|
10
10
|
import './components/OrPopoverV3/OrPopover.js';
|
|
11
|
-
import { s as script$
|
|
12
|
-
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-4fa9f74f.js';
|
|
11
|
+
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-e8fe4357.js';
|
|
13
12
|
import { s as script$7 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
14
13
|
import { s as script$8 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
15
14
|
import { s as script$9 } from './OrIcon.vue_vue_type_script_lang-8a4ad510.js';
|
|
16
|
-
import { s as script$a } from './OrIconButton.vue_vue_type_script_lang-
|
|
17
|
-
import { s as script$b } from './OrInputBox.vue_vue_type_script_lang-
|
|
15
|
+
import { s as script$a } from './OrIconButton.vue_vue_type_script_lang-ff65c253.js';
|
|
16
|
+
import { s as script$b } from './OrInputBox.vue_vue_type_script_lang-137cb650.js';
|
|
18
17
|
import { s as script$c } from './OrLabel.vue_vue_type_script_lang-fcdfd80d.js';
|
|
19
|
-
import { s as script$d } from './OrPopover.vue_vue_type_script_lang-
|
|
18
|
+
import { s as script$d } from './OrPopover.vue_vue_type_script_lang-1de40837.js';
|
|
20
19
|
import { DropdownClose } from './directives/dropdown-close.js';
|
|
21
20
|
import { DropdownOpen } from './directives/dropdown-open.js';
|
|
22
21
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
@@ -24,6 +23,7 @@ import { getCurrentDate } from './components/OrDateTimePickerV3/utils/getCurrent
|
|
|
24
23
|
import { useProxyModelValue } from './hooks/useProxyModelValue.js';
|
|
25
24
|
|
|
26
25
|
var script = defineComponent({
|
|
26
|
+
name: 'OrDatePicker',
|
|
27
27
|
components: {
|
|
28
28
|
OrDateTimePickerDateControl: script$1,
|
|
29
29
|
OrDateTimePickerDateSelect: script$2,
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
|
-
import './OrDateTimePickerPopoverHeader-
|
|
3
|
-
import './OrDateTimePickerTimeSelect-
|
|
2
|
+
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerPopoverHeader-e59d849a.js';
|
|
3
|
+
import { s as script$7, a as script$8 } from './OrDateTimePickerTimeSelect-d40024d8.js';
|
|
4
4
|
import { DateTimePickerTimeFormat } from './components/OrDateTimePickerV3/props.js';
|
|
5
5
|
import { DateTimePicker, DateTimePickerDatePopover, DateTimePickerTimePopover } from './components/OrDateTimePickerV3/styles.js';
|
|
6
|
-
import { s as script$
|
|
7
|
-
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-4fa9f74f.js';
|
|
8
|
-
import { s as script$7, a as script$8 } from './OrDateTimePickerTimeSelect.vue_vue_type_script_lang-bf592a08.js';
|
|
6
|
+
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-e8fe4357.js';
|
|
9
7
|
import './components/OrErrorV3/OrError.js';
|
|
10
8
|
import './components/OrHintV3/OrHint.js';
|
|
11
9
|
import './components/OrIconV3/OrIcon.js';
|
|
@@ -19,14 +17,15 @@ import { getCurrentDate } from './components/OrDateTimePickerV3/utils/getCurrent
|
|
|
19
17
|
import { s as script$9 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
20
18
|
import { s as script$a } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
21
19
|
import { s as script$b } from './OrIcon.vue_vue_type_script_lang-8a4ad510.js';
|
|
22
|
-
import { s as script$c } from './OrIconButton.vue_vue_type_script_lang-
|
|
23
|
-
import { s as script$d } from './OrInputBox.vue_vue_type_script_lang-
|
|
20
|
+
import { s as script$c } from './OrIconButton.vue_vue_type_script_lang-ff65c253.js';
|
|
21
|
+
import { s as script$d } from './OrInputBox.vue_vue_type_script_lang-137cb650.js';
|
|
24
22
|
import { s as script$e } from './OrLabel.vue_vue_type_script_lang-fcdfd80d.js';
|
|
25
|
-
import { s as script$f } from './OrPopover.vue_vue_type_script_lang-
|
|
23
|
+
import { s as script$f } from './OrPopover.vue_vue_type_script_lang-1de40837.js';
|
|
26
24
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
27
25
|
import { useProxyModelValue } from './hooks/useProxyModelValue.js';
|
|
28
26
|
|
|
29
27
|
var script = defineComponent({
|
|
28
|
+
name: 'OrDateTimePicker',
|
|
30
29
|
components: {
|
|
31
30
|
OrDateTimePickerDateControl: script$1,
|
|
32
31
|
OrDateTimePickerDateSelect: script$2,
|
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
+
import { getDatePlaceholder } from './components/OrDateTimePickerV3/utils/getDatePlaceholder.js';
|
|
3
|
+
import { formatDate } from './components/OrDateTimePickerV3/utils/formatDate.js';
|
|
4
|
+
import { useProxyModelValue } from './hooks/useProxyModelValue.js';
|
|
5
|
+
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock, withModifiers, withCtx, createVNode, renderSlot } from 'vue';
|
|
6
|
+
import './components/OrButtonV3/OrButton.js';
|
|
7
|
+
import { s as script$3 } from './OrButton.vue_vue_type_script_lang-547a7f18.js';
|
|
8
|
+
import { s as script$4, a as script$9, b as script$a } from './OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-e8fe4357.js';
|
|
9
|
+
import './components/OrIconV3/OrIcon.js';
|
|
10
|
+
import './components/OrIconButtonV3/OrIconButton.js';
|
|
11
|
+
import './components/OrMenuV3/OrMenu.js';
|
|
12
|
+
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
13
|
+
import { s as script$5 } from './OrIcon.vue_vue_type_script_lang-8a4ad510.js';
|
|
14
|
+
import { s as script$6 } from './OrIconButton.vue_vue_type_script_lang-ff65c253.js';
|
|
15
|
+
import { s as script$7 } from './OrMenu.vue_vue_type_script_lang-13de0752.js';
|
|
16
|
+
import { s as script$8 } from './OrMenuItem.vue_vue_type_script_lang-efe9c5de.js';
|
|
17
|
+
|
|
18
|
+
const DateTimePickerDateControl = [
|
|
19
|
+
// Layout
|
|
20
|
+
'layout-inline-row',
|
|
21
|
+
// Interactivity
|
|
22
|
+
'interactivity-auto',
|
|
23
|
+
// Theme (focus)
|
|
24
|
+
'focus-visible:theme-border-2-inherit', 'dark:focus-visible:theme-border-2-inherit-dark', 'focus-visible:theme-border-underline'];
|
|
25
|
+
const DateTimePickerDateControlPlaceholder = [
|
|
26
|
+
// Theme
|
|
27
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
28
|
+
|
|
29
|
+
var script$2 = defineComponent({
|
|
30
|
+
name: 'OrDateTimePickerDateControl',
|
|
31
|
+
model: {
|
|
32
|
+
prop: 'modelValue',
|
|
33
|
+
event: 'update:modelValue'
|
|
34
|
+
},
|
|
35
|
+
props: {
|
|
36
|
+
modelValue: {
|
|
37
|
+
type: Date,
|
|
38
|
+
default: undefined
|
|
39
|
+
},
|
|
40
|
+
required: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: false
|
|
43
|
+
},
|
|
44
|
+
readonly: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: false
|
|
47
|
+
},
|
|
48
|
+
disabled: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
expose: ['root'],
|
|
54
|
+
setup(props, context) {
|
|
55
|
+
// Refs
|
|
56
|
+
const root = ref();
|
|
57
|
+
// Styles
|
|
58
|
+
const rootStyles = computed(() => ['or-date-time-picker-date-control-v3', ...DateTimePickerDateControl]);
|
|
59
|
+
const placeholderStyles = computed(() => [...DateTimePickerDateControlPlaceholder]);
|
|
60
|
+
// State
|
|
61
|
+
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
62
|
+
const placeholder = getDatePlaceholder();
|
|
63
|
+
return {
|
|
64
|
+
root,
|
|
65
|
+
rootStyles,
|
|
66
|
+
placeholderStyles,
|
|
67
|
+
proxyModelValue,
|
|
68
|
+
placeholder,
|
|
69
|
+
formatDate
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
const _hoisted_1$1 = ["contenteditable", "required", "readonly", "disabled"];
|
|
75
|
+
const _hoisted_2 = ["disabled"];
|
|
76
|
+
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
77
|
+
return openBlock(), createElementBlock("div", {
|
|
78
|
+
ref: "root",
|
|
79
|
+
class: normalizeClass(_ctx.rootStyles),
|
|
80
|
+
contenteditable: !_ctx.disabled ? '' : null,
|
|
81
|
+
required: _ctx.required ? '' : null,
|
|
82
|
+
readonly: _ctx.readonly ? '' : null,
|
|
83
|
+
disabled: _ctx.disabled ? '' : null
|
|
84
|
+
}, [_ctx.proxyModelValue ? (openBlock(), createElementBlock(Fragment, {
|
|
85
|
+
key: 0
|
|
86
|
+
}, [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.proxyModelValue)), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock("span", {
|
|
87
|
+
key: 1,
|
|
88
|
+
class: normalizeClass(_ctx.placeholderStyles),
|
|
89
|
+
disabled: _ctx.disabled ? '' : null
|
|
90
|
+
}, toDisplayString(_ctx.placeholder), 11 /* TEXT, CLASS, PROPS */, _hoisted_2))], 10 /* CLASS, PROPS */, _hoisted_1$1);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
script$2.render = render$5;
|
|
94
|
+
script$2.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue";
|
|
95
|
+
|
|
96
|
+
const DateTimePickerDateSelect = [
|
|
97
|
+
// Layout
|
|
98
|
+
'layout-column',
|
|
99
|
+
// Spacing
|
|
100
|
+
'px-md', 'py-md', 'gap-sm'];
|
|
101
|
+
const DateTimePickerDateSelectButtonGroup = [
|
|
102
|
+
// Layout
|
|
103
|
+
'grid content-start', 'grid-cols-7',
|
|
104
|
+
// Box
|
|
105
|
+
'h-[262px]',
|
|
106
|
+
// Spacing
|
|
107
|
+
'gap-xs'];
|
|
108
|
+
const DateTimePickerDateSelectButtonGroupWeekdayItem = [
|
|
109
|
+
// Layout
|
|
110
|
+
'layout-row justify-center',
|
|
111
|
+
// Spacing
|
|
112
|
+
'px-sm', 'py-sm',
|
|
113
|
+
// Interactivity
|
|
114
|
+
'interactivity-none',
|
|
115
|
+
// Typography
|
|
116
|
+
'typography-caption-regular',
|
|
117
|
+
// Theme
|
|
118
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
119
|
+
const DateTimePickerDateSelectButtonGroupDateItem = [
|
|
120
|
+
// Box
|
|
121
|
+
'!min-w-fit',
|
|
122
|
+
// Spacing
|
|
123
|
+
'!px-sm', '!py-sm',
|
|
124
|
+
// Typography
|
|
125
|
+
'typography-caption-regular'];
|
|
126
|
+
const DateTimePickerDateSelectButtonGroupCurrentDateItem = [
|
|
127
|
+
// Theme
|
|
128
|
+
'theme-foreground-primary', 'dark:theme-foreground-primary-dark', 'theme-outline-1-primary', 'dark:theme-outline-1-primary-dark'];
|
|
129
|
+
|
|
130
|
+
var script$1 = defineComponent({
|
|
131
|
+
name: 'OrDateTimePickerDateSelect',
|
|
132
|
+
components: {
|
|
133
|
+
OrButton: script$3
|
|
134
|
+
},
|
|
135
|
+
model: {
|
|
136
|
+
prop: 'modelValue',
|
|
137
|
+
event: 'update:modelValue'
|
|
138
|
+
},
|
|
139
|
+
props: {
|
|
140
|
+
modelValue: {
|
|
141
|
+
type: Date,
|
|
142
|
+
default: undefined
|
|
143
|
+
},
|
|
144
|
+
initialValue: {
|
|
145
|
+
type: Date,
|
|
146
|
+
required: true
|
|
147
|
+
},
|
|
148
|
+
dateFilter: {
|
|
149
|
+
type: Function,
|
|
150
|
+
default: undefined
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
emits: ['update:modelValue'],
|
|
154
|
+
expose: ['root'],
|
|
155
|
+
setup(props, context) {
|
|
156
|
+
// Refs
|
|
157
|
+
const root = ref();
|
|
158
|
+
// Styles
|
|
159
|
+
const rootStyles = computed(() => ['or-date-time-picker-date-select-v3', ...DateTimePickerDateSelect]);
|
|
160
|
+
const buttonGroupStyles = computed(() => [...DateTimePickerDateSelectButtonGroup]);
|
|
161
|
+
const buttonGroupWeekdayItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupWeekdayItem]);
|
|
162
|
+
const buttonGroupDateItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupDateItem]);
|
|
163
|
+
const buttonGroupCurrentDateItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupCurrentDateItem]);
|
|
164
|
+
// State
|
|
165
|
+
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit, {
|
|
166
|
+
defaultValue: toRef(props, 'initialValue')
|
|
167
|
+
});
|
|
168
|
+
const dayOptions = computed(() => {
|
|
169
|
+
const monthStartDate = new Date(Date.UTC(proxyModelValue.value.getUTCFullYear(), proxyModelValue.value.getUTCMonth(), 1, proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
170
|
+
const monthEndDate = new Date(Date.UTC(proxyModelValue.value.getUTCFullYear(), proxyModelValue.value.getUTCMonth() + 1, 0, proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
171
|
+
const calendarStartDate = new Date(Date.UTC(monthStartDate.getUTCFullYear(), monthStartDate.getUTCMonth(), 1 - monthStartDate.getUTCDay(), monthStartDate.getUTCHours(), monthStartDate.getUTCMinutes()));
|
|
172
|
+
const calendarEndDate = new Date(Date.UTC(monthEndDate.getUTCFullYear(), monthEndDate.getUTCMonth() + 1, 7 - monthEndDate.getUTCDay(), monthEndDate.getUTCHours(), monthEndDate.getUTCMinutes()));
|
|
173
|
+
return (() => {
|
|
174
|
+
let options = [],
|
|
175
|
+
value = calendarStartDate;
|
|
176
|
+
while (Number(value) !== Number(calendarEndDate)) {
|
|
177
|
+
options = [...options, value];
|
|
178
|
+
value = new Date(Date.UTC(value.getUTCFullYear(), value.getUTCMonth(), value.getUTCDate() + 1, value.getUTCHours(), value.getUTCMinutes()));
|
|
179
|
+
}
|
|
180
|
+
return options;
|
|
181
|
+
})();
|
|
182
|
+
});
|
|
183
|
+
const currentDate = computed(() => {
|
|
184
|
+
const value = new Date();
|
|
185
|
+
value.setUTCHours(proxyModelValue.value.getUTCHours());
|
|
186
|
+
value.setUTCMinutes(proxyModelValue.value.getUTCMinutes());
|
|
187
|
+
value.setUTCSeconds(proxyModelValue.value.getUTCSeconds());
|
|
188
|
+
value.setUTCMilliseconds(proxyModelValue.value.getUTCMilliseconds());
|
|
189
|
+
return value;
|
|
190
|
+
});
|
|
191
|
+
// Methods
|
|
192
|
+
function formatWeekday(value) {
|
|
193
|
+
return value.toLocaleString(navigator.language, {
|
|
194
|
+
weekday: 'short',
|
|
195
|
+
timeZone: 'UTC'
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
function formatDay(value) {
|
|
199
|
+
return value.toLocaleString(navigator.language, {
|
|
200
|
+
day: 'numeric',
|
|
201
|
+
timeZone: 'UTC'
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
return {
|
|
205
|
+
root,
|
|
206
|
+
rootStyles,
|
|
207
|
+
buttonGroupStyles,
|
|
208
|
+
buttonGroupWeekdayItemStyles,
|
|
209
|
+
buttonGroupDateItemStyles,
|
|
210
|
+
buttonGroupCurrentDateItemStyles,
|
|
211
|
+
proxyModelValue,
|
|
212
|
+
dayOptions,
|
|
213
|
+
currentDate,
|
|
214
|
+
formatWeekday,
|
|
215
|
+
formatDay
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
|
|
220
|
+
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
221
|
+
const _component_OrButton = resolveComponent("OrButton");
|
|
222
|
+
return openBlock(), createElementBlock("div", {
|
|
223
|
+
ref: "root",
|
|
224
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
225
|
+
}, [createElementVNode("div", {
|
|
226
|
+
class: normalizeClass(_ctx.buttonGroupStyles)
|
|
227
|
+
}, [(openBlock(), createElementBlock(Fragment, null, renderList(7, weekday => {
|
|
228
|
+
return createElementVNode("div", {
|
|
229
|
+
key: weekday,
|
|
230
|
+
class: normalizeClass(_ctx.buttonGroupWeekdayItemStyles)
|
|
231
|
+
}, toDisplayString(_ctx.formatWeekday(_ctx.dayOptions[weekday - 1])), 3 /* TEXT, CLASS */);
|
|
232
|
+
}), 64 /* STABLE_FRAGMENT */)), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.dayOptions, value => {
|
|
233
|
+
return openBlock(), createBlock(_component_OrButton, {
|
|
234
|
+
key: Number(value),
|
|
235
|
+
class: normalizeClass({
|
|
236
|
+
[_ctx.buttonGroupDateItemStyles.join(' ')]: true,
|
|
237
|
+
[_ctx.buttonGroupCurrentDateItemStyles.join(' ')]: Number(value) === Number(_ctx.currentDate) && Number(value) !== Number(_ctx.proxyModelValue),
|
|
238
|
+
'invisible': value.getUTCMonth() !== _ctx.proxyModelValue.getUTCMonth()
|
|
239
|
+
}),
|
|
240
|
+
variant: Number(value) === Number(_ctx.proxyModelValue) ? 'contained' : 'text',
|
|
241
|
+
color: Number(value) === Number(_ctx.proxyModelValue) ? 'primary' : 'inherit',
|
|
242
|
+
disabled: _ctx.dateFilter && !_ctx.dateFilter(value),
|
|
243
|
+
onClick: withModifiers($event => _ctx.proxyModelValue = value, ["stop"])
|
|
244
|
+
}, {
|
|
245
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatDay(value)), 1 /* TEXT */)]),
|
|
246
|
+
|
|
247
|
+
_: 2 /* DYNAMIC */
|
|
248
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "variant", "color", "disabled", "onClick"]);
|
|
249
|
+
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */)], 2 /* CLASS */);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
script$1.render = render$4;
|
|
253
|
+
script$1.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue";
|
|
254
|
+
|
|
255
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
256
|
+
const _component_OrLabel = resolveComponent("OrLabel");
|
|
257
|
+
return openBlock(), createElementBlock("div", {
|
|
258
|
+
ref: "root",
|
|
259
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
260
|
+
}, [createVNode(_component_OrLabel, null, {
|
|
261
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)]),
|
|
262
|
+
|
|
263
|
+
_: 1 /* STABLE */
|
|
264
|
+
}), createElementVNode("div", {
|
|
265
|
+
class: normalizeClass(_ctx.contentStyles)
|
|
266
|
+
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)], 2 /* CLASS */);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
script$4.render = render$3;
|
|
270
|
+
script$4.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue";
|
|
271
|
+
|
|
272
|
+
const DateTimePickerMonthSelect = [
|
|
273
|
+
// Layout
|
|
274
|
+
'layout-row justify-between',
|
|
275
|
+
// Spacing
|
|
276
|
+
'px-md', 'py-md', 'gap-md'];
|
|
277
|
+
|
|
278
|
+
var script = defineComponent({
|
|
279
|
+
name: 'OrDateTimePickerMonthSelect',
|
|
280
|
+
components: {
|
|
281
|
+
OrButton: script$3,
|
|
282
|
+
OrIcon: script$5,
|
|
283
|
+
OrIconButton: script$6,
|
|
284
|
+
OrMenu: script$7,
|
|
285
|
+
OrMenuItem: script$8
|
|
286
|
+
},
|
|
287
|
+
model: {
|
|
288
|
+
prop: 'modelValue',
|
|
289
|
+
event: 'update:modelValue'
|
|
290
|
+
},
|
|
291
|
+
props: {
|
|
292
|
+
modelValue: {
|
|
293
|
+
type: Date,
|
|
294
|
+
default: undefined
|
|
295
|
+
},
|
|
296
|
+
initialValue: {
|
|
297
|
+
type: Date,
|
|
298
|
+
required: true
|
|
299
|
+
},
|
|
300
|
+
yearFilter: {
|
|
301
|
+
type: Function,
|
|
302
|
+
default: undefined
|
|
303
|
+
},
|
|
304
|
+
monthFilter: {
|
|
305
|
+
type: Function,
|
|
306
|
+
default: undefined
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
emits: ['update:modelValue'],
|
|
310
|
+
expose: ['root'],
|
|
311
|
+
setup(props, context) {
|
|
312
|
+
// Refs
|
|
313
|
+
const root = ref();
|
|
314
|
+
const yearButton = ref();
|
|
315
|
+
const monthButton = ref();
|
|
316
|
+
const yearButtonRoot = computed(() => {
|
|
317
|
+
var _a;
|
|
318
|
+
return (_a = yearButton.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
319
|
+
});
|
|
320
|
+
const monthButtonRoot = computed(() => {
|
|
321
|
+
var _a;
|
|
322
|
+
return (_a = monthButton.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
323
|
+
});
|
|
324
|
+
const yearMenu = ref();
|
|
325
|
+
const monthMenu = ref();
|
|
326
|
+
const yearMenuState = computed(() => {
|
|
327
|
+
var _a;
|
|
328
|
+
return (_a = yearMenu.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
329
|
+
});
|
|
330
|
+
const monthMenuState = computed(() => {
|
|
331
|
+
var _a;
|
|
332
|
+
return (_a = monthMenu.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
333
|
+
});
|
|
334
|
+
// Styles
|
|
335
|
+
const rootStyles = computed(() => ['or-date-time-picker-month-select-v3', ...DateTimePickerMonthSelect]);
|
|
336
|
+
// State
|
|
337
|
+
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit, {
|
|
338
|
+
defaultValue: toRef(props, 'initialValue')
|
|
339
|
+
});
|
|
340
|
+
const yearOptions = computed(() => {
|
|
341
|
+
return Array.from({
|
|
342
|
+
length: 11
|
|
343
|
+
}).map((_value, index, _ref) => {
|
|
344
|
+
let {
|
|
345
|
+
length
|
|
346
|
+
} = _ref;
|
|
347
|
+
const value = proxyModelValue.value.getUTCFullYear() - Math.floor(length / 2) + index;
|
|
348
|
+
return new Date(Date.UTC(value, proxyModelValue.value.getUTCMonth(), proxyModelValue.value.getUTCDate(), proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
349
|
+
});
|
|
350
|
+
});
|
|
351
|
+
const monthOptions = computed(() => {
|
|
352
|
+
return Array.from({
|
|
353
|
+
length: 12
|
|
354
|
+
}, (_value, index) => {
|
|
355
|
+
const value = index;
|
|
356
|
+
return new Date(Date.UTC(proxyModelValue.value.getUTCFullYear(), value, proxyModelValue.value.getUTCDate(), proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
357
|
+
});
|
|
358
|
+
});
|
|
359
|
+
// Methods
|
|
360
|
+
function goToNextMonth() {
|
|
361
|
+
proxyModelValue.value = new Date(Date.UTC(proxyModelValue.value.getUTCFullYear(), proxyModelValue.value.getUTCMonth() + 1, proxyModelValue.value.getUTCDate(), proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
362
|
+
}
|
|
363
|
+
function goToPreviousMonth() {
|
|
364
|
+
proxyModelValue.value = new Date(Date.UTC(proxyModelValue.value.getUTCFullYear(), proxyModelValue.value.getUTCMonth() - 1, proxyModelValue.value.getUTCDate(), proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
365
|
+
}
|
|
366
|
+
function formatYear(value) {
|
|
367
|
+
return value.toLocaleString(navigator.language, {
|
|
368
|
+
year: 'numeric',
|
|
369
|
+
timeZone: 'UTC'
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
function formatMonth(value) {
|
|
373
|
+
return value.toLocaleString(navigator.language, {
|
|
374
|
+
month: 'long',
|
|
375
|
+
timeZone: 'UTC'
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
return {
|
|
379
|
+
root,
|
|
380
|
+
yearButton,
|
|
381
|
+
monthButton,
|
|
382
|
+
yearButtonRoot,
|
|
383
|
+
monthButtonRoot,
|
|
384
|
+
yearMenu,
|
|
385
|
+
monthMenu,
|
|
386
|
+
yearMenuState,
|
|
387
|
+
monthMenuState,
|
|
388
|
+
rootStyles,
|
|
389
|
+
proxyModelValue,
|
|
390
|
+
yearOptions,
|
|
391
|
+
monthOptions,
|
|
392
|
+
goToNextMonth,
|
|
393
|
+
goToPreviousMonth,
|
|
394
|
+
formatYear,
|
|
395
|
+
formatMonth
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
});
|
|
399
|
+
|
|
400
|
+
const _hoisted_1 = {
|
|
401
|
+
class: /*#__PURE__*/normalizeClass(['layout-row-reverse', 'gap-md'])
|
|
402
|
+
};
|
|
403
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
404
|
+
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
405
|
+
const _component_OrIcon = resolveComponent("OrIcon");
|
|
406
|
+
const _component_OrButton = resolveComponent("OrButton");
|
|
407
|
+
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
408
|
+
const _component_OrMenu = resolveComponent("OrMenu");
|
|
409
|
+
return openBlock(), createElementBlock("div", {
|
|
410
|
+
ref: "root",
|
|
411
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
412
|
+
}, [createVNode(_component_OrIconButton, {
|
|
413
|
+
icon: 'chevron_left',
|
|
414
|
+
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.goToPreviousMonth(), ["stop"]))
|
|
415
|
+
}), createElementVNode("div", _hoisted_1, [createVNode(_component_OrButton, {
|
|
416
|
+
ref: "yearButton",
|
|
417
|
+
variant: 'link',
|
|
418
|
+
color: 'inherit',
|
|
419
|
+
onClick: _cache[1] || (_cache[1] = withModifiers($event => {
|
|
420
|
+
_ctx.monthMenu.close();
|
|
421
|
+
_ctx.yearMenu.open();
|
|
422
|
+
}, ["stop"]))
|
|
423
|
+
}, {
|
|
424
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatYear(_ctx.proxyModelValue)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
425
|
+
icon: _ctx.yearMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
426
|
+
}, null, 8 /* PROPS */, ["icon"])]),
|
|
427
|
+
_: 1 /* STABLE */
|
|
428
|
+
}, 512 /* NEED_PATCH */), createVNode(_component_OrButton, {
|
|
429
|
+
ref: "monthButton",
|
|
430
|
+
variant: 'link',
|
|
431
|
+
color: 'inherit',
|
|
432
|
+
onClick: _cache[2] || (_cache[2] = withModifiers($event => {
|
|
433
|
+
_ctx.yearMenu.close();
|
|
434
|
+
_ctx.monthMenu.open();
|
|
435
|
+
}, ["stop"]))
|
|
436
|
+
}, {
|
|
437
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMonth(_ctx.proxyModelValue)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
438
|
+
icon: _ctx.monthMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
439
|
+
}, null, 8 /* PROPS */, ["icon"])]),
|
|
440
|
+
_: 1 /* STABLE */
|
|
441
|
+
}, 512 /* NEED_PATCH */), createVNode(_component_OrMenu, {
|
|
442
|
+
ref: "yearMenu",
|
|
443
|
+
trigger: _ctx.yearButtonRoot
|
|
444
|
+
}, {
|
|
445
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.yearOptions, value => {
|
|
446
|
+
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
447
|
+
key: Number(value),
|
|
448
|
+
selected: Number(value) === Number(_ctx.proxyModelValue),
|
|
449
|
+
disabled: _ctx.yearFilter && !_ctx.yearFilter(value),
|
|
450
|
+
onClick: withModifiers($event => {
|
|
451
|
+
_ctx.proxyModelValue = value;
|
|
452
|
+
_ctx.yearMenu.close();
|
|
453
|
+
}, ["stop"])
|
|
454
|
+
}, {
|
|
455
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatYear(value)), 1 /* TEXT */)]),
|
|
456
|
+
|
|
457
|
+
_: 2 /* DYNAMIC */
|
|
458
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected", "disabled", "onClick"]);
|
|
459
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
460
|
+
|
|
461
|
+
_: 1 /* STABLE */
|
|
462
|
+
}, 8 /* PROPS */, ["trigger"]), createVNode(_component_OrMenu, {
|
|
463
|
+
ref: "monthMenu",
|
|
464
|
+
trigger: _ctx.monthButtonRoot
|
|
465
|
+
}, {
|
|
466
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.monthOptions, value => {
|
|
467
|
+
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
468
|
+
key: Number(value),
|
|
469
|
+
selected: Number(value) === Number(_ctx.proxyModelValue),
|
|
470
|
+
disabled: _ctx.monthFilter && !_ctx.monthFilter(value),
|
|
471
|
+
onClick: withModifiers($event => {
|
|
472
|
+
_ctx.proxyModelValue = value;
|
|
473
|
+
_ctx.monthMenu.close();
|
|
474
|
+
}, ["stop"])
|
|
475
|
+
}, {
|
|
476
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMonth(value)), 1 /* TEXT */)]),
|
|
477
|
+
|
|
478
|
+
_: 2 /* DYNAMIC */
|
|
479
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected", "disabled", "onClick"]);
|
|
480
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
481
|
+
|
|
482
|
+
_: 1 /* STABLE */
|
|
483
|
+
}, 8 /* PROPS */, ["trigger"])]), createVNode(_component_OrIconButton, {
|
|
484
|
+
icon: 'chevron_right',
|
|
485
|
+
onClick: _cache[3] || (_cache[3] = withModifiers($event => _ctx.goToNextMonth(), ["stop"]))
|
|
486
|
+
})], 2 /* CLASS */);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
script.render = render$2;
|
|
490
|
+
script.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue";
|
|
491
|
+
|
|
492
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
493
|
+
const _component_OrButton = resolveComponent("OrButton");
|
|
494
|
+
return openBlock(), createElementBlock("footer", {
|
|
495
|
+
ref: "root",
|
|
496
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
497
|
+
}, [createVNode(_component_OrButton, {
|
|
498
|
+
variant: 'outlined',
|
|
499
|
+
disabled: _ctx.disabled,
|
|
500
|
+
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.$emit('apply'), ["stop"]))
|
|
501
|
+
}, {
|
|
502
|
+
default: withCtx(() => [createTextVNode(" Done ")]),
|
|
503
|
+
_: 1 /* STABLE */
|
|
504
|
+
}, 8 /* PROPS */, ["disabled"]), createVNode(_component_OrButton, {
|
|
505
|
+
variant: 'text',
|
|
506
|
+
onClick: _cache[1] || (_cache[1] = withModifiers($event => _ctx.$emit('reset'), ["stop"]))
|
|
507
|
+
}, {
|
|
508
|
+
default: withCtx(() => [createTextVNode(" Cancel ")]),
|
|
509
|
+
_: 1 /* STABLE */
|
|
510
|
+
})], 2 /* CLASS */);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
script$9.render = render$1;
|
|
514
|
+
script$9.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue";
|
|
515
|
+
|
|
516
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
517
|
+
return openBlock(), createElementBlock("header", {
|
|
518
|
+
ref: "root",
|
|
519
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
520
|
+
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */);
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
script$a.render = render;
|
|
524
|
+
script$a.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue";
|
|
525
|
+
|
|
526
|
+
export { script$1 as a, script as b, script$2 as s };
|