@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
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
|
-
import { DateRangePicker, DateRangePickerPopover } from './components/OrDateRangePickerV3/styles.js';
|
|
3
|
-
import './components/OrErrorV3/OrError.js';
|
|
4
|
-
import './components/OrHintV3/OrHint.js';
|
|
5
|
-
import './components/OrIconV3/OrIcon.js';
|
|
6
|
-
import './components/OrIconButtonV3/OrIconButton.js';
|
|
7
|
-
import './components/OrInputBoxV3/OrInputBox.js';
|
|
8
|
-
import './components/OrLabelV3/OrLabel.js';
|
|
9
|
-
import './components/OrPopoverV3/OrPopover.js';
|
|
10
|
-
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect.vue_vue_type_script_lang-98d2d00e.js';
|
|
11
|
-
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-4fa9f74f.js';
|
|
12
|
-
import { s as script$7 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
13
|
-
import { s as script$8 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
14
|
-
import { s as script$9 } from './OrIcon.vue_vue_type_script_lang-8a4ad510.js';
|
|
15
|
-
import { s as script$a } from './OrIconButton.vue_vue_type_script_lang-5a4c1591.js';
|
|
16
|
-
import { s as script$b } from './OrInputBox.vue_vue_type_script_lang-989d5ee6.js';
|
|
17
|
-
import { s as script$c } from './OrLabel.vue_vue_type_script_lang-fcdfd80d.js';
|
|
18
|
-
import { s as script$d } from './OrPopover.vue_vue_type_script_lang-07168ba7.js';
|
|
19
|
-
import { DropdownClose } from './directives/dropdown-close.js';
|
|
20
|
-
import { DropdownOpen } from './directives/dropdown-open.js';
|
|
21
|
-
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
22
|
-
import { getCurrentDate } from './components/OrDateTimePickerV3/utils/getCurrentDate.js';
|
|
23
|
-
import { useProxyModelValue } from './hooks/useProxyModelValue.js';
|
|
24
|
-
import useResponsive from './hooks/useResponsive/useResponsive.js';
|
|
25
|
-
|
|
26
|
-
var script = defineComponent({
|
|
27
|
-
components: {
|
|
28
|
-
OrDateTimePickerDateControl: script$1,
|
|
29
|
-
OrDateTimePickerDateSelect: script$2,
|
|
30
|
-
OrDateTimePickerMobileControl: script$3,
|
|
31
|
-
OrDateTimePickerMonthSelect: script$4,
|
|
32
|
-
OrDateTimePickerPopoverFooter: script$5,
|
|
33
|
-
OrDateTimePickerPopoverHeader: script$6,
|
|
34
|
-
OrError: script$7,
|
|
35
|
-
OrHint: script$8,
|
|
36
|
-
OrIcon: script$9,
|
|
37
|
-
OrIconButton: script$a,
|
|
38
|
-
OrInputBox: script$b,
|
|
39
|
-
OrLabel: script$c,
|
|
40
|
-
OrPopover: script$d
|
|
41
|
-
},
|
|
42
|
-
directives: {
|
|
43
|
-
DropdownClose,
|
|
44
|
-
DropdownOpen
|
|
45
|
-
},
|
|
46
|
-
model: {
|
|
47
|
-
prop: 'modelValue',
|
|
48
|
-
event: 'update:modelValue'
|
|
49
|
-
},
|
|
50
|
-
props: {
|
|
51
|
-
modelValue: {
|
|
52
|
-
type: Object,
|
|
53
|
-
default: undefined
|
|
54
|
-
},
|
|
55
|
-
size: {
|
|
56
|
-
type: String,
|
|
57
|
-
default: InputBoxSize.M
|
|
58
|
-
},
|
|
59
|
-
label: {
|
|
60
|
-
type: String,
|
|
61
|
-
default: undefined
|
|
62
|
-
},
|
|
63
|
-
hint: {
|
|
64
|
-
type: String,
|
|
65
|
-
default: undefined
|
|
66
|
-
},
|
|
67
|
-
error: {
|
|
68
|
-
type: [String, Boolean],
|
|
69
|
-
default: undefined
|
|
70
|
-
},
|
|
71
|
-
required: {
|
|
72
|
-
type: Boolean,
|
|
73
|
-
default: false
|
|
74
|
-
},
|
|
75
|
-
readonly: {
|
|
76
|
-
type: Boolean,
|
|
77
|
-
default: false
|
|
78
|
-
},
|
|
79
|
-
disabled: {
|
|
80
|
-
type: Boolean,
|
|
81
|
-
default: false
|
|
82
|
-
},
|
|
83
|
-
disableDefaultStyles: {
|
|
84
|
-
type: Boolean,
|
|
85
|
-
default: false
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
89
|
-
expose: ['root', 'focus', 'blur'],
|
|
90
|
-
setup(props, context) {
|
|
91
|
-
var _a;
|
|
92
|
-
// Refs
|
|
93
|
-
const root = ref();
|
|
94
|
-
const inputBox = ref();
|
|
95
|
-
const inputBoxRoot = computed(() => {
|
|
96
|
-
var _a;
|
|
97
|
-
return (_a = inputBox.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
98
|
-
});
|
|
99
|
-
const popover = ref();
|
|
100
|
-
const popoverState = computed(() => {
|
|
101
|
-
var _a;
|
|
102
|
-
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
103
|
-
});
|
|
104
|
-
// Styles
|
|
105
|
-
const rootStyles = computed(() => ['or-date-range-picker-v3', ...DateRangePicker]);
|
|
106
|
-
const popoverStyles = computed(() => [...DateRangePickerPopover]);
|
|
107
|
-
// State
|
|
108
|
-
const initialModelValue = getCurrentDate();
|
|
109
|
-
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
110
|
-
const draftModelValue = ref((_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : [undefined, undefined]);
|
|
111
|
-
watch(proxyModelValue, value => {
|
|
112
|
-
draftModelValue.value = value !== null && value !== void 0 ? value : [undefined, undefined];
|
|
113
|
-
});
|
|
114
|
-
const draftModelValueFrom = computed({
|
|
115
|
-
get: () => draftModelValue.value[0],
|
|
116
|
-
set: value => {
|
|
117
|
-
draftModelValue.value = [value, draftModelValue.value[1]];
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
const draftModelValueTo = computed({
|
|
121
|
-
get: () => draftModelValue.value[1],
|
|
122
|
-
set: value => {
|
|
123
|
-
draftModelValue.value = [draftModelValue.value[0], value];
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
const selectedMobileControl = ref('from');
|
|
127
|
-
const filterFrom = value => {
|
|
128
|
-
if (draftModelValueTo.value) {
|
|
129
|
-
return Number(value) <= Number(draftModelValueTo.value);
|
|
130
|
-
}
|
|
131
|
-
return true;
|
|
132
|
-
};
|
|
133
|
-
const filterTo = value => {
|
|
134
|
-
if (draftModelValueFrom.value) {
|
|
135
|
-
return Number(value) >= Number(draftModelValueFrom.value);
|
|
136
|
-
}
|
|
137
|
-
return true;
|
|
138
|
-
};
|
|
139
|
-
const isInvalidDraftModelValue = computed(() => {
|
|
140
|
-
if (draftModelValueFrom.value) {
|
|
141
|
-
return !filterFrom(draftModelValueFrom.value);
|
|
142
|
-
}
|
|
143
|
-
if (draftModelValueTo.value) {
|
|
144
|
-
return !filterTo(draftModelValueTo.value);
|
|
145
|
-
}
|
|
146
|
-
return false;
|
|
147
|
-
});
|
|
148
|
-
// Methods
|
|
149
|
-
function apply() {
|
|
150
|
-
var _a, _b;
|
|
151
|
-
proxyModelValue.value = [(_a = draftModelValue.value[0]) !== null && _a !== void 0 ? _a : initialModelValue, (_b = draftModelValue.value[1]) !== null && _b !== void 0 ? _b : initialModelValue];
|
|
152
|
-
}
|
|
153
|
-
function reset() {
|
|
154
|
-
var _a;
|
|
155
|
-
draftModelValue.value = (_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : [undefined, undefined];
|
|
156
|
-
}
|
|
157
|
-
function togglePopover() {
|
|
158
|
-
if (!props.readonly && !props.disabled) {
|
|
159
|
-
const popoverInstance = popover.value;
|
|
160
|
-
if (popoverInstance) {
|
|
161
|
-
if (popoverState.value === 'open') {
|
|
162
|
-
popoverInstance.close();
|
|
163
|
-
} else {
|
|
164
|
-
popoverInstance.open();
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
function closePopover() {
|
|
170
|
-
const popoverInstance = popover.value;
|
|
171
|
-
if (popoverInstance) {
|
|
172
|
-
popoverInstance.close();
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
function formatDateAlt(value) {
|
|
176
|
-
var _a;
|
|
177
|
-
return (_a = value === null || value === void 0 ? void 0 : value.toLocaleString(navigator.language, {
|
|
178
|
-
dateStyle: 'medium',
|
|
179
|
-
timeZone: 'UTC'
|
|
180
|
-
})) !== null && _a !== void 0 ? _a : '--';
|
|
181
|
-
}
|
|
182
|
-
// Helpers
|
|
183
|
-
const {
|
|
184
|
-
isDesktop,
|
|
185
|
-
isMobile
|
|
186
|
-
} = useResponsive();
|
|
187
|
-
return {
|
|
188
|
-
root,
|
|
189
|
-
inputBox,
|
|
190
|
-
inputBoxRoot,
|
|
191
|
-
popover,
|
|
192
|
-
popoverState,
|
|
193
|
-
rootStyles,
|
|
194
|
-
popoverStyles,
|
|
195
|
-
initialModelValue,
|
|
196
|
-
proxyModelValue,
|
|
197
|
-
draftModelValue,
|
|
198
|
-
draftModelValueFrom,
|
|
199
|
-
draftModelValueTo,
|
|
200
|
-
selectedMobileControl,
|
|
201
|
-
filterFrom,
|
|
202
|
-
filterTo,
|
|
203
|
-
isInvalidDraftModelValue,
|
|
204
|
-
apply,
|
|
205
|
-
reset,
|
|
206
|
-
togglePopover,
|
|
207
|
-
closePopover,
|
|
208
|
-
formatDateAlt,
|
|
209
|
-
isDesktop,
|
|
210
|
-
isMobile
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
|
|
215
|
-
export { script as s };
|
|
@@ -1,338 +0,0 @@
|
|
|
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 './components/OrButtonV3/OrButton.js';
|
|
6
|
-
import { s as script$3 } from './OrButton.vue_vue_type_script_lang-547a7f18.js';
|
|
7
|
-
import './components/OrIconV3/OrIcon.js';
|
|
8
|
-
import './components/OrIconButtonV3/OrIconButton.js';
|
|
9
|
-
import './components/OrMenuV3/OrMenu.js';
|
|
10
|
-
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
11
|
-
import { s as script$4 } from './OrIcon.vue_vue_type_script_lang-8a4ad510.js';
|
|
12
|
-
import { s as script$5 } from './OrIconButton.vue_vue_type_script_lang-5a4c1591.js';
|
|
13
|
-
import { s as script$6 } from './OrMenu.vue_vue_type_script_lang-82e30dd8.js';
|
|
14
|
-
import { s as script$7 } from './OrMenuItem.vue_vue_type_script_lang-efe9c5de.js';
|
|
15
|
-
|
|
16
|
-
const DateTimePickerDateControl = [
|
|
17
|
-
// Layout
|
|
18
|
-
'layout-inline-row',
|
|
19
|
-
// Interactivity
|
|
20
|
-
'interactivity-auto',
|
|
21
|
-
// Theme (focus)
|
|
22
|
-
'focus-visible:theme-border-2-inherit', 'dark:focus-visible:theme-border-2-inherit-dark', 'focus-visible:theme-border-underline'];
|
|
23
|
-
const DateTimePickerDateControlPlaceholder = [
|
|
24
|
-
// Theme
|
|
25
|
-
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
26
|
-
|
|
27
|
-
var script$2 = defineComponent({
|
|
28
|
-
model: {
|
|
29
|
-
prop: 'modelValue',
|
|
30
|
-
event: 'update:modelValue'
|
|
31
|
-
},
|
|
32
|
-
props: {
|
|
33
|
-
modelValue: {
|
|
34
|
-
type: Date,
|
|
35
|
-
default: undefined
|
|
36
|
-
},
|
|
37
|
-
required: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: false
|
|
40
|
-
},
|
|
41
|
-
readonly: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: false
|
|
44
|
-
},
|
|
45
|
-
disabled: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: false
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
expose: ['root'],
|
|
51
|
-
setup(props, context) {
|
|
52
|
-
// Refs
|
|
53
|
-
const root = ref();
|
|
54
|
-
// Styles
|
|
55
|
-
const rootStyles = computed(() => ['or-date-time-picker-date-control-v3', ...DateTimePickerDateControl]);
|
|
56
|
-
const placeholderStyles = computed(() => [...DateTimePickerDateControlPlaceholder]);
|
|
57
|
-
// State
|
|
58
|
-
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
59
|
-
const placeholder = getDatePlaceholder();
|
|
60
|
-
return {
|
|
61
|
-
root,
|
|
62
|
-
rootStyles,
|
|
63
|
-
placeholderStyles,
|
|
64
|
-
proxyModelValue,
|
|
65
|
-
placeholder,
|
|
66
|
-
formatDate
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
const DateTimePickerDateSelect = [
|
|
72
|
-
// Layout
|
|
73
|
-
'layout-column',
|
|
74
|
-
// Spacing
|
|
75
|
-
'px-md', 'py-md', 'gap-sm'];
|
|
76
|
-
const DateTimePickerDateSelectButtonGroup = [
|
|
77
|
-
// Layout
|
|
78
|
-
'grid content-start', 'grid-cols-7',
|
|
79
|
-
// Box
|
|
80
|
-
'h-[262px]',
|
|
81
|
-
// Spacing
|
|
82
|
-
'mx-[-2px]', 'my-[-2px]'];
|
|
83
|
-
const DateTimePickerDateSelectButtonGroupWeekdayItem = [
|
|
84
|
-
// Layout
|
|
85
|
-
'layout-row justify-center',
|
|
86
|
-
// Spacing
|
|
87
|
-
'mx-[2px]', 'my-[2px]', 'px-sm', 'py-sm',
|
|
88
|
-
// Interactivity
|
|
89
|
-
'interactivity-none',
|
|
90
|
-
// Typography
|
|
91
|
-
'typography-caption-regular',
|
|
92
|
-
// Theme
|
|
93
|
-
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
94
|
-
const DateTimePickerDateSelectButtonGroupDateItem = [
|
|
95
|
-
// Box
|
|
96
|
-
'!min-w-fit',
|
|
97
|
-
// Spacing
|
|
98
|
-
'mx-[2px]', 'my-[2px]', '!px-sm', '!py-sm',
|
|
99
|
-
// Typography
|
|
100
|
-
'typography-caption-regular'];
|
|
101
|
-
const DateTimePickerDateSelectButtonGroupCurrentDateItem = [
|
|
102
|
-
// Theme
|
|
103
|
-
'theme-foreground-primary', 'dark:theme-foreground-primary-dark', 'theme-outline-1-primary', 'dark:theme-outline-1-primary-dark'];
|
|
104
|
-
const DateTimePickerDateSelectButtonGroupInRangeDateItem = [
|
|
105
|
-
// Spacing
|
|
106
|
-
'!mx-none', '!px-[10px]',
|
|
107
|
-
// Shape
|
|
108
|
-
'!rounded-none',
|
|
109
|
-
// Theme
|
|
110
|
-
'theme-background-primary-translucent-2', 'dark:theme-background-primary-translucent-2-dark'];
|
|
111
|
-
|
|
112
|
-
var script$1 = defineComponent({
|
|
113
|
-
components: {
|
|
114
|
-
OrButton: script$3
|
|
115
|
-
},
|
|
116
|
-
model: {
|
|
117
|
-
prop: 'modelValue',
|
|
118
|
-
event: 'update:modelValue'
|
|
119
|
-
},
|
|
120
|
-
props: {
|
|
121
|
-
modelValue: {
|
|
122
|
-
type: Date,
|
|
123
|
-
default: undefined
|
|
124
|
-
},
|
|
125
|
-
initialValue: {
|
|
126
|
-
type: Date,
|
|
127
|
-
required: true
|
|
128
|
-
},
|
|
129
|
-
dateFilter: {
|
|
130
|
-
type: Function,
|
|
131
|
-
default: undefined
|
|
132
|
-
},
|
|
133
|
-
rangeStart: {
|
|
134
|
-
type: Date,
|
|
135
|
-
default: undefined
|
|
136
|
-
},
|
|
137
|
-
rangeEnd: {
|
|
138
|
-
type: Date,
|
|
139
|
-
default: undefined
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
emits: ['update:modelValue'],
|
|
143
|
-
expose: ['root'],
|
|
144
|
-
setup(props, context) {
|
|
145
|
-
// Refs
|
|
146
|
-
const root = ref();
|
|
147
|
-
// Styles
|
|
148
|
-
const rootStyles = computed(() => ['or-date-time-picker-date-select-v3', ...DateTimePickerDateSelect]);
|
|
149
|
-
const buttonGroupStyles = computed(() => [...DateTimePickerDateSelectButtonGroup]);
|
|
150
|
-
const buttonGroupWeekdayItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupWeekdayItem]);
|
|
151
|
-
const buttonGroupDateItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupDateItem]);
|
|
152
|
-
const buttonGroupCurrentDateItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupCurrentDateItem]);
|
|
153
|
-
const buttonGroupInRangeDateItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupInRangeDateItem]);
|
|
154
|
-
// State
|
|
155
|
-
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit, {
|
|
156
|
-
defaultValue: toRef(props, 'initialValue')
|
|
157
|
-
});
|
|
158
|
-
const dayOptions = computed(() => {
|
|
159
|
-
const monthStartDate = new Date(Date.UTC(proxyModelValue.value.getUTCFullYear(), proxyModelValue.value.getUTCMonth(), 1, proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
160
|
-
const monthEndDate = new Date(Date.UTC(proxyModelValue.value.getUTCFullYear(), proxyModelValue.value.getUTCMonth() + 1, 0, proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
161
|
-
const calendarStartDate = new Date(Date.UTC(monthStartDate.getUTCFullYear(), monthStartDate.getUTCMonth(), 1 - monthStartDate.getUTCDay(), monthStartDate.getUTCHours(), monthStartDate.getUTCMinutes()));
|
|
162
|
-
const calendarEndDate = new Date(Date.UTC(monthEndDate.getUTCFullYear(), monthEndDate.getUTCMonth() + 1, 7 - monthEndDate.getUTCDay(), monthEndDate.getUTCHours(), monthEndDate.getUTCMinutes()));
|
|
163
|
-
return (() => {
|
|
164
|
-
let options = [],
|
|
165
|
-
value = calendarStartDate;
|
|
166
|
-
while (Number(value) !== Number(calendarEndDate)) {
|
|
167
|
-
options = [...options, value];
|
|
168
|
-
value = new Date(Date.UTC(value.getUTCFullYear(), value.getUTCMonth(), value.getUTCDate() + 1, value.getUTCHours(), value.getUTCMinutes()));
|
|
169
|
-
}
|
|
170
|
-
return options;
|
|
171
|
-
})();
|
|
172
|
-
});
|
|
173
|
-
const currentDate = computed(() => {
|
|
174
|
-
const value = new Date();
|
|
175
|
-
value.setUTCHours(proxyModelValue.value.getUTCHours());
|
|
176
|
-
value.setUTCMinutes(proxyModelValue.value.getUTCMinutes());
|
|
177
|
-
value.setUTCSeconds(proxyModelValue.value.getUTCSeconds());
|
|
178
|
-
value.setUTCMilliseconds(proxyModelValue.value.getUTCMilliseconds());
|
|
179
|
-
return value;
|
|
180
|
-
});
|
|
181
|
-
// Methods
|
|
182
|
-
function formatWeekday(value) {
|
|
183
|
-
return value.toLocaleString(navigator.language, {
|
|
184
|
-
weekday: 'short',
|
|
185
|
-
timeZone: 'UTC'
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
function formatDay(value) {
|
|
189
|
-
return value.toLocaleString(navigator.language, {
|
|
190
|
-
day: 'numeric',
|
|
191
|
-
timeZone: 'UTC'
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
return {
|
|
195
|
-
root,
|
|
196
|
-
rootStyles,
|
|
197
|
-
buttonGroupStyles,
|
|
198
|
-
buttonGroupWeekdayItemStyles,
|
|
199
|
-
buttonGroupDateItemStyles,
|
|
200
|
-
buttonGroupCurrentDateItemStyles,
|
|
201
|
-
buttonGroupInRangeDateItemStyles,
|
|
202
|
-
proxyModelValue,
|
|
203
|
-
dayOptions,
|
|
204
|
-
currentDate,
|
|
205
|
-
formatWeekday,
|
|
206
|
-
formatDay
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
});
|
|
210
|
-
|
|
211
|
-
const DateTimePickerMonthSelect = [
|
|
212
|
-
// Layout
|
|
213
|
-
'layout-row justify-between',
|
|
214
|
-
// Spacing
|
|
215
|
-
'px-md', 'py-md', 'gap-md'];
|
|
216
|
-
|
|
217
|
-
var script = defineComponent({
|
|
218
|
-
components: {
|
|
219
|
-
OrButton: script$3,
|
|
220
|
-
OrIcon: script$4,
|
|
221
|
-
OrIconButton: script$5,
|
|
222
|
-
OrMenu: script$6,
|
|
223
|
-
OrMenuItem: script$7
|
|
224
|
-
},
|
|
225
|
-
model: {
|
|
226
|
-
prop: 'modelValue',
|
|
227
|
-
event: 'update:modelValue'
|
|
228
|
-
},
|
|
229
|
-
props: {
|
|
230
|
-
modelValue: {
|
|
231
|
-
type: Date,
|
|
232
|
-
default: undefined
|
|
233
|
-
},
|
|
234
|
-
initialValue: {
|
|
235
|
-
type: Date,
|
|
236
|
-
required: true
|
|
237
|
-
},
|
|
238
|
-
yearFilter: {
|
|
239
|
-
type: Function,
|
|
240
|
-
default: undefined
|
|
241
|
-
},
|
|
242
|
-
monthFilter: {
|
|
243
|
-
type: Function,
|
|
244
|
-
default: undefined
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
emits: ['update:modelValue'],
|
|
248
|
-
expose: ['root'],
|
|
249
|
-
setup(props, context) {
|
|
250
|
-
// Refs
|
|
251
|
-
const root = ref();
|
|
252
|
-
const yearButton = ref();
|
|
253
|
-
const monthButton = ref();
|
|
254
|
-
const yearButtonRoot = computed(() => {
|
|
255
|
-
var _a;
|
|
256
|
-
return (_a = yearButton.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
257
|
-
});
|
|
258
|
-
const monthButtonRoot = computed(() => {
|
|
259
|
-
var _a;
|
|
260
|
-
return (_a = monthButton.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
261
|
-
});
|
|
262
|
-
const yearMenu = ref();
|
|
263
|
-
const monthMenu = ref();
|
|
264
|
-
const yearMenuState = computed(() => {
|
|
265
|
-
var _a;
|
|
266
|
-
return (_a = yearMenu.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
267
|
-
});
|
|
268
|
-
const monthMenuState = computed(() => {
|
|
269
|
-
var _a;
|
|
270
|
-
return (_a = monthMenu.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
271
|
-
});
|
|
272
|
-
// Styles
|
|
273
|
-
const rootStyles = computed(() => ['or-date-time-picker-month-select-v3', ...DateTimePickerMonthSelect]);
|
|
274
|
-
// State
|
|
275
|
-
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit, {
|
|
276
|
-
defaultValue: toRef(props, 'initialValue')
|
|
277
|
-
});
|
|
278
|
-
const yearOptions = computed(() => {
|
|
279
|
-
return Array.from({
|
|
280
|
-
length: 11
|
|
281
|
-
}).map((_value, index, _ref) => {
|
|
282
|
-
let {
|
|
283
|
-
length
|
|
284
|
-
} = _ref;
|
|
285
|
-
const value = proxyModelValue.value.getUTCFullYear() - Math.floor(length / 2) + index;
|
|
286
|
-
return new Date(Date.UTC(value, proxyModelValue.value.getUTCMonth(), proxyModelValue.value.getUTCDate(), proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
287
|
-
});
|
|
288
|
-
});
|
|
289
|
-
const monthOptions = computed(() => {
|
|
290
|
-
return Array.from({
|
|
291
|
-
length: 12
|
|
292
|
-
}, (_value, index) => {
|
|
293
|
-
const value = index;
|
|
294
|
-
return new Date(Date.UTC(proxyModelValue.value.getUTCFullYear(), value, proxyModelValue.value.getUTCDate(), proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
295
|
-
});
|
|
296
|
-
});
|
|
297
|
-
// Methods
|
|
298
|
-
function goToNextMonth() {
|
|
299
|
-
proxyModelValue.value = new Date(Date.UTC(proxyModelValue.value.getUTCFullYear(), proxyModelValue.value.getUTCMonth() + 1, proxyModelValue.value.getUTCDate(), proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
300
|
-
}
|
|
301
|
-
function goToPreviousMonth() {
|
|
302
|
-
proxyModelValue.value = new Date(Date.UTC(proxyModelValue.value.getUTCFullYear(), proxyModelValue.value.getUTCMonth() - 1, proxyModelValue.value.getUTCDate(), proxyModelValue.value.getUTCHours(), proxyModelValue.value.getUTCMinutes()));
|
|
303
|
-
}
|
|
304
|
-
function formatYear(value) {
|
|
305
|
-
return value.toLocaleString(navigator.language, {
|
|
306
|
-
year: 'numeric',
|
|
307
|
-
timeZone: 'UTC'
|
|
308
|
-
});
|
|
309
|
-
}
|
|
310
|
-
function formatMonth(value) {
|
|
311
|
-
return value.toLocaleString(navigator.language, {
|
|
312
|
-
month: 'long',
|
|
313
|
-
timeZone: 'UTC'
|
|
314
|
-
});
|
|
315
|
-
}
|
|
316
|
-
return {
|
|
317
|
-
root,
|
|
318
|
-
yearButton,
|
|
319
|
-
monthButton,
|
|
320
|
-
yearButtonRoot,
|
|
321
|
-
monthButtonRoot,
|
|
322
|
-
yearMenu,
|
|
323
|
-
monthMenu,
|
|
324
|
-
yearMenuState,
|
|
325
|
-
monthMenuState,
|
|
326
|
-
rootStyles,
|
|
327
|
-
proxyModelValue,
|
|
328
|
-
yearOptions,
|
|
329
|
-
monthOptions,
|
|
330
|
-
goToNextMonth,
|
|
331
|
-
goToPreviousMonth,
|
|
332
|
-
formatYear,
|
|
333
|
-
formatMonth
|
|
334
|
-
};
|
|
335
|
-
}
|
|
336
|
-
});
|
|
337
|
-
|
|
338
|
-
export { script$1 as a, script as b, script$2 as s };
|