@onereach/ui-components 5.1.1-beta.3159.0 → 5.1.1-beta.3163.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +8 -7
- package/dist/bundled/v2/components/OrInputV3/OrInput.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +9 -8
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +7 -6
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +4 -3
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +3 -16
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +4 -17
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.d.ts +4 -3
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +48 -6
- package/dist/bundled/v2/hooks/useTheme.js +46 -12
- package/dist/bundled/v2/index.js +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-32a5019d.js → OrCardCollection.vue_vue_type_script_lang-035e80e5.js} +3 -3
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-1bf2766c.js → OrCode.vue_vue_type_script_lang-e661754a.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-d37994d8.js → OrConfirm.vue_vue_type_script_lang-572c9da0.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-f73b9f07.js → OrDatePicker.vue_vue_type_script_lang-07e0641e.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-df504a2e.js → OrDateTimePicker.vue_vue_type_script_lang-67538698.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-c7057468.js → OrDateTimePickerMonthSelect-2708c492.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-06c23edb.js → OrIconButton.vue_vue_type_script_lang-48334daa.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-beee5838.js → OrInlineInput.vue_vue_type_script_lang-e25b47ae.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8236c6c0.js → OrInlineTextarea.vue_vue_type_script_lang-a28b7f33.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-4a4bec95.js → OrInput.vue_vue_type_script_lang-8402ddee.js} +7 -6
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-03f408d2.js → OrMenu.vue_vue_type_script_lang-75615f85.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-a555737c.js → OrModal.vue_vue_type_script_lang-f38a2351.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-f56c5ef3.js → OrNotification.vue_vue_type_script_lang-90f9cd20.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c24ee186.js → OrPagination.vue_vue_type_script_lang-2f9a31ec.js} +10 -9
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-0382ede2.js → OrPopover.vue_vue_type_script_lang-30457dc8.js} +8 -7
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-5573d34e.js → OrProgress.vue_vue_type_script_lang-024a90c0.js} +4 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-e055677e.js → OrSearch.vue_vue_type_script_lang-2acfaa33.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-20ddfbd0.js → OrSelect.vue_vue_type_script_lang-567a0ed3.js} +6 -19
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-47572822.js → OrSidebar.vue_vue_type_script_lang-c348e9b6.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-dcae1408.js → OrSorting.vue_vue_type_script_lang-af047546.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-fdefe747.js → OrTabs.vue_vue_type_script_lang-303c045a.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-86225135.js → OrTag.vue_vue_type_script_lang-7d6a2014.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-972ba1bb.js → OrTagInput.vue_vue_type_script_lang-36f20399.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-9c1f4b76.js → OrTags.vue_vue_type_script_lang-fe2ea8e5.js} +2 -2
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-e4274a52.js → OrTimePicker.vue_vue_type_script_lang-f3c6733e.js} +2 -2
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-4dceb6f6.js → OrTooltip.vue_vue_type_script_lang-ce1e7782.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 +10 -10
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +9 -9
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +7 -7
- package/dist/bundled/v3/components/OrCodeV3/index.js +6 -6
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +7 -7
- package/dist/bundled/v3/components/OrConfirmV3/index.js +6 -6
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +8 -8
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +7 -7
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +8 -8
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +7 -7
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +5 -5
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +4 -4
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +6 -6
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +5 -5
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +6 -6
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +5 -5
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +6 -6
- package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrInputV3/index.js +5 -5
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +4 -4
- package/dist/bundled/v3/components/OrMenuV3/index.js +3 -3
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +6 -6
- package/dist/bundled/v3/components/OrModalV3/index.js +5 -5
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +6 -6
- package/dist/bundled/v3/components/OrNotificationV3/index.js +5 -5
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +5 -5
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/index.js +4 -4
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +3 -3
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrPopoverV3/index.js +2 -2
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +2 -2
- package/dist/bundled/v3/components/OrProgressV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +7 -7
- package/dist/bundled/v3/components/OrSearchV3/index.js +6 -6
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +9 -9
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +2 -12
- package/dist/bundled/v3/components/OrSelectV3/index.js +7 -7
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +6 -6
- package/dist/bundled/v3/components/OrSidebarV3/index.js +5 -5
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +5 -5
- package/dist/bundled/v3/components/OrSortingV3/index.js +4 -4
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +5 -5
- package/dist/bundled/v3/components/OrTabsV3/index.js +4 -4
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +8 -8
- package/dist/bundled/v3/components/OrTagInputV3/index.js +7 -7
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +6 -6
- package/dist/bundled/v3/components/OrTagV3/index.js +5 -5
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +7 -7
- package/dist/bundled/v3/components/OrTagsV3/index.js +6 -6
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +6 -6
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +5 -5
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +6 -6
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +5 -5
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +4 -4
- package/dist/bundled/v3/components/OrToastV3/index.js +5 -5
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +4 -4
- package/dist/bundled/v3/components/OrTooltipV3/index.js +3 -3
- package/dist/bundled/v3/components/index.js +28 -28
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +4 -3
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +48 -6
- package/dist/bundled/v3/hooks/useTheme.js +46 -12
- package/dist/bundled/v3/index.js +29 -29
- package/dist/esm/v2/{OrBottomSheet-c20810b8.js → OrBottomSheet-9c445259.js} +2 -1
- package/dist/esm/v2/{OrCardCollection-35add276.js → OrCardCollection-0b045799.js} +3 -3
- package/dist/esm/v2/{OrCheckbox-ae903071.js → OrCheckbox-f4fac2af.js} +1 -0
- package/dist/esm/v2/{OrCheckboxGroup-74dc7c1d.js → OrCheckboxGroup-5f01b7e2.js} +2 -1
- package/dist/esm/v2/{OrCheckboxTree-19f5d69b.js → OrCheckboxTree-1d7c8582.js} +2 -1
- package/dist/esm/v2/{OrCode-c2675f47.js → OrCode-75f58c25.js} +3 -2
- package/dist/esm/v2/{OrConfirm-9f43fb6a.js → OrConfirm-746e7c62.js} +3 -2
- package/dist/esm/v2/{OrDatePicker-29e3897a.js → OrDatePicker-72467699.js} +4 -3
- package/dist/esm/v2/{OrDateTimePicker-5913e464.js → OrDateTimePicker-97fa035d.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-e22f3b7b.js → OrDateTimePicker.vue_rollup-plugin-vue_script-ff041fe7.js} +4 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-3a5c05ac.js → OrDateTimePickerPopoverHeader-8fa898b2.js} +4 -3
- package/dist/esm/v2/{OrExpansionPanel-f1d8fcc9.js → OrExpansionPanel-337c90f3.js} +1 -0
- package/dist/esm/v2/{OrIconButton-667d8f83.js → OrIconButton-91f77a56.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-9322b873.js → OrInlineInput-2a3c48a5.js} +2 -1
- package/dist/esm/v2/{OrInlineTextarea-60a9de36.js → OrInlineTextarea-cbc69d41.js} +2 -1
- package/dist/esm/v2/{OrInput-a6183a78.js → OrInput-16394ddd.js} +10 -9
- package/dist/esm/v2/{OrMenu-27a67132.js → OrMenu-3f3999ea.js} +2 -1
- package/dist/esm/v2/{OrModal-836db96a.js → OrModal-d62abed2.js} +3 -2
- package/dist/esm/v2/{OrNotification-512ed857.js → OrNotification-bece142a.js} +1 -1
- package/dist/esm/v2/{OrOverlay-f819eff9.js → OrOverlay-e471c4e5.js} +1 -0
- package/dist/esm/v2/{OrPagination-4cf94f8d.js → OrPagination-38234358.js} +11 -10
- package/dist/esm/v2/{OrPassword-ab2acc85.js → OrPassword-3ae825ab.js} +1 -0
- package/dist/esm/v2/{OrPopover-66817adb.js → OrPopover-8418e0d5.js} +9 -8
- package/dist/esm/v2/{OrProgress-e079e857.js → OrProgress-9b8bea46.js} +5 -4
- package/dist/esm/v2/{OrRadio-0fc3ae14.js → OrRadio-4567a24d.js} +1 -0
- package/dist/esm/v2/{OrRadioGroup-1108883d.js → OrRadioGroup-0cb1b05e.js} +2 -1
- package/dist/esm/v2/{OrSearch-15ecfbf0.js → OrSearch-2e276c6a.js} +1 -1
- package/dist/esm/v2/{OrSegmentedControl-d4e32f80.js → OrSegmentedControl-be64faec.js} +1 -0
- package/dist/esm/v2/{OrSelect-667ece82.js → OrSelect-4202288c.js} +10 -23
- package/dist/esm/v2/{OrSidebar-18d20059.js → OrSidebar-532c1eef.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-b490ff86.js → OrSidebarCollapseButton-4b34b578.js} +1 -1
- package/dist/esm/v2/{OrSorting-501484aa.js → OrSorting-8eb029eb.js} +3 -2
- package/dist/esm/v2/{OrSwitch-a3da6bec.js → OrSwitch-183ef48b.js} +1 -0
- package/dist/esm/v2/{OrTabs-8e1ffb33.js → OrTabs-096f6ced.js} +3 -2
- package/dist/esm/v2/{OrTag-7a14e88b.js → OrTag-1d8a0dec.js} +1 -1
- package/dist/esm/v2/{OrTagInput-adef254c.js → OrTagInput-ff055da4.js} +3 -2
- package/dist/esm/v2/{OrTags-b4de9652.js → OrTags-def5b320.js} +3 -2
- package/dist/esm/v2/{OrTextarea-6fe8b65f.js → OrTextarea-45425991.js} +1 -0
- package/dist/esm/v2/{OrTextbox-cb15a62f.js → OrTextbox-69088e49.js} +1 -0
- package/dist/esm/v2/{OrTimePicker-9738c72f.js → OrTimePicker-055f0d87.js} +5 -4
- package/dist/esm/v2/{OrTooltip-dbe9383a.js → OrTooltip-e13a88f9.js} +2 -1
- package/dist/esm/v2/components/index.js +44 -43
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +12 -11
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +4 -3
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +3 -2
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v2/components/or-code-v3/index.js +9 -8
- package/dist/esm/v2/components/or-confirm-v3/index.js +9 -8
- package/dist/esm/v2/components/or-date-picker-v3/index.js +10 -9
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +11 -10
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +2 -1
- package/dist/esm/v2/components/or-icon-button-v3/index.js +7 -6
- package/dist/esm/v2/components/or-inline-input-v3/index.js +8 -7
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +8 -7
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +8 -7
- package/dist/esm/v2/components/or-menu-v3/index.js +6 -5
- package/dist/esm/v2/components/or-modal-v3/index.js +8 -7
- package/dist/esm/v2/components/or-notification-v3/index.js +8 -7
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -1
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-pagination-v3/index.js +7 -6
- package/dist/esm/v2/components/or-password/index.js +2 -1
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-popover-v3/index.js +5 -4
- package/dist/esm/v2/components/or-progress-v3/index.js +3 -2
- package/dist/esm/v2/components/or-radio-group-v3/index.js +3 -2
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v2/components/or-search-v3/index.js +9 -8
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +2 -1
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +4 -17
- package/dist/esm/v2/components/or-select-v3/index.js +12 -11
- package/dist/esm/v2/components/or-sidebar-v3/index.js +9 -8
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +8 -7
- package/dist/esm/v2/components/or-sorting-v3/index.js +7 -6
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v2/components/or-tabs-v3/index.js +7 -6
- package/dist/esm/v2/components/or-tag-input-v3/index.js +10 -9
- package/dist/esm/v2/components/or-tag-v3/index.js +8 -7
- package/dist/esm/v2/components/or-tags-v3/index.js +9 -8
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -1
- package/dist/esm/v2/components/or-textbox/index.js +2 -1
- package/dist/esm/v2/components/or-time-picker-v3/index.js +11 -10
- package/dist/esm/v2/components/or-toast-v3/index.js +8 -7
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +8 -7
- package/dist/esm/v2/components/or-tooltip-v3/index.js +6 -5
- package/dist/esm/v2/hooks/index.js +2 -1
- package/dist/esm/v2/hooks/useResponsive/index.js +2 -1
- package/dist/esm/v2/hooks/useResponsive/useResponsive.d.ts +4 -3
- package/dist/esm/v2/index.js +44 -43
- package/dist/esm/v2/{types-186e4996.js → types-8598e601.js} +2 -1
- package/dist/esm/v2/useResponsive-dfa0f675.js +48 -0
- package/dist/esm/v3/{OrBottomSheet-20ba316c.js → OrBottomSheet-bb1c4ba1.js} +2 -1
- package/dist/esm/v3/{OrCardCollection-e4a72381.js → OrCardCollection-fc2a6461.js} +3 -3
- package/dist/esm/v3/{OrCheckbox-a571fc90.js → OrCheckbox-e263b7e9.js} +1 -0
- package/dist/esm/v3/{OrCheckboxGroup-7fe25d85.js → OrCheckboxGroup-6fbc2dd2.js} +2 -1
- package/dist/esm/v3/{OrCheckboxTree-bea23696.js → OrCheckboxTree-13b4bbe3.js} +2 -1
- package/dist/esm/v3/{OrCode-efdc9eee.js → OrCode-bba94fb6.js} +3 -2
- package/dist/esm/v3/{OrConfirm-fa35ffd0.js → OrConfirm-1443d804.js} +3 -2
- package/dist/esm/v3/{OrDatePicker-40e867e5.js → OrDatePicker-1f0a10a2.js} +4 -3
- package/dist/esm/v3/{OrDateTimePicker-888a2f98.js → OrDateTimePicker-43e52809.js} +4 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-8f0408b2.js → OrDateTimePickerPopoverHeader-85ababb8.js} +4 -3
- package/dist/esm/v3/{OrExpansionPanel-891154e6.js → OrExpansionPanel-5553a733.js} +1 -0
- package/dist/esm/v3/{OrIconButton-de8b6cd0.js → OrIconButton-529f19a5.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-0b0d790b.js → OrInlineInput-22a70602.js} +2 -1
- package/dist/esm/v3/{OrInlineTextarea-2c54367e.js → OrInlineTextarea-76a5fc66.js} +2 -1
- package/dist/esm/v3/{OrInput-8463ca1d.js → OrInput-15aa4075.js} +8 -7
- package/dist/esm/v3/{OrMenu-cfe37204.js → OrMenu-72b54975.js} +2 -1
- package/dist/esm/v3/{OrModal-00a8822e.js → OrModal-c38d7737.js} +3 -2
- package/dist/esm/v3/{OrNotification-435b0faf.js → OrNotification-a3ac00c6.js} +1 -1
- package/dist/esm/v3/{OrOverlay-99e696e8.js → OrOverlay-1a0644fc.js} +1 -0
- package/dist/esm/v3/{OrPagination-9cecc690.js → OrPagination-2bece2c8.js} +11 -10
- package/dist/esm/v3/{OrPassword-311406fa.js → OrPassword-dae7c58e.js} +1 -0
- package/dist/esm/v3/{OrPopover-84f83a8c.js → OrPopover-c323ffd6.js} +9 -8
- package/dist/esm/v3/{OrProgress-a54a42c0.js → OrProgress-993aea49.js} +5 -4
- package/dist/esm/v3/{OrRadio-48cd02a9.js → OrRadio-4e4aa631.js} +1 -0
- package/dist/esm/v3/{OrRadioGroup-82d10aa8.js → OrRadioGroup-ba9edb96.js} +2 -1
- package/dist/esm/v3/{OrSearch-9c694c80.js → OrSearch-6d0adb47.js} +1 -1
- package/dist/esm/v3/{OrSegmentedControl-c8eb217d.js → OrSegmentedControl-94b30000.js} +1 -0
- package/dist/esm/v3/{OrSelect-c1c0fa31.js → OrSelect-657e4142.js} +10 -23
- package/dist/esm/v3/{OrSidebar-34492810.js → OrSidebar-7deaf2fa.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-f6f5ec80.js → OrSidebarCollapseButton-6409ac43.js} +1 -1
- package/dist/esm/v3/{OrSorting-dc01b9de.js → OrSorting-159dbd46.js} +3 -2
- package/dist/esm/v3/{OrSwitch-f4d9e196.js → OrSwitch-167fd4fd.js} +1 -0
- package/dist/esm/v3/{OrTabs-3fa4a344.js → OrTabs-e0182de8.js} +3 -2
- package/dist/esm/v3/{OrTag-9494f132.js → OrTag-6eb7accb.js} +1 -1
- package/dist/esm/v3/{OrTagInput-8cc92992.js → OrTagInput-e4a6ead6.js} +3 -2
- package/dist/esm/v3/{OrTags-cec632b8.js → OrTags-ed8b241a.js} +3 -2
- package/dist/esm/v3/{OrTextarea-f3412790.js → OrTextarea-830aec3c.js} +1 -0
- package/dist/esm/v3/{OrTextbox-fe62c6c3.js → OrTextbox-64cebe2c.js} +1 -0
- package/dist/esm/v3/{OrTimePicker-e3b5ef7f.js → OrTimePicker-c84f6d4c.js} +5 -4
- package/dist/esm/v3/{OrTooltip-16f99e83.js → OrTooltip-96dd6f38.js} +2 -1
- package/dist/esm/v3/components/index.js +43 -42
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +12 -11
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +4 -3
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +3 -2
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v3/components/or-code-v3/index.js +9 -8
- package/dist/esm/v3/components/or-confirm-v3/index.js +9 -8
- package/dist/esm/v3/components/or-date-picker-v3/index.js +10 -9
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +10 -9
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +2 -1
- package/dist/esm/v3/components/or-icon-button-v3/index.js +7 -6
- package/dist/esm/v3/components/or-inline-input-v3/index.js +8 -7
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +8 -7
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +8 -7
- package/dist/esm/v3/components/or-menu-v3/index.js +6 -5
- package/dist/esm/v3/components/or-modal-v3/index.js +8 -7
- package/dist/esm/v3/components/or-notification-v3/index.js +8 -7
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -1
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +7 -6
- package/dist/esm/v3/components/or-password/index.js +2 -1
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-popover-v3/index.js +5 -4
- package/dist/esm/v3/components/or-progress-v3/index.js +3 -2
- package/dist/esm/v3/components/or-radio-group-v3/index.js +3 -2
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -1
- package/dist/esm/v3/components/or-search-v3/index.js +9 -8
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +2 -1
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +2 -12
- package/dist/esm/v3/components/or-select-v3/index.js +12 -11
- package/dist/esm/v3/components/or-sidebar-v3/index.js +9 -8
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +8 -7
- package/dist/esm/v3/components/or-sorting-v3/index.js +7 -6
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +7 -6
- package/dist/esm/v3/components/or-tag-input-v3/index.js +10 -9
- package/dist/esm/v3/components/or-tag-v3/index.js +8 -7
- package/dist/esm/v3/components/or-tags-v3/index.js +9 -8
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -1
- package/dist/esm/v3/components/or-textbox/index.js +2 -1
- package/dist/esm/v3/components/or-time-picker-v3/index.js +11 -10
- package/dist/esm/v3/components/or-toast-v3/index.js +8 -7
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +8 -7
- package/dist/esm/v3/components/or-tooltip-v3/index.js +6 -5
- package/dist/esm/v3/hooks/index.js +2 -1
- package/dist/esm/v3/hooks/useResponsive/index.js +2 -1
- package/dist/esm/v3/hooks/useResponsive/useResponsive.d.ts +4 -3
- package/dist/esm/v3/index.js +43 -42
- package/dist/esm/v3/{types-93e80c1b.js → types-d9641194.js} +2 -1
- package/dist/esm/v3/useResponsive-dfa0f675.js +48 -0
- package/package.json +2 -2
- package/src/components/or-input-v3/OrInput.vue +4 -3
- package/src/components/or-pagination-v3/OrPagination.vue +5 -5
- package/src/components/or-popover-v3/OrPopover.vue +5 -4
- package/src/components/or-progress-v3/OrProgress.vue +3 -2
- package/src/components/or-select-v3/OrSelect.vue +3 -16
- package/src/hooks/useResponsive/useResponsive.ts +48 -5
- package/src/shims.d.ts +5 -0
- package/dist/esm/v2/useResponsive-a02e95b7.js +0 -13
- package/dist/esm/v3/useResponsive-a02e95b7.js +0 -13
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-f013aba1.js → OrDateTimePickerMonthSelect-f01c1d73.js} +0 -0
- /package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-bbea53fe.js → OrBottomSheet.vue_vue_type_script_lang-d1e35d47.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-e8e86881.js → OrToastContainer.vue_vue_type_script_lang-b9058109.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from '../OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
|
-
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-
|
|
3
|
+
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-f01c1d73.js';
|
|
4
4
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-f3d67e5d.js';
|
|
5
5
|
import { DatePicker, DatePickerPopover } from './styles.js';
|
|
6
6
|
import __vue_component__$1 from '../OrErrorV3/OrError.js';
|
|
@@ -2,7 +2,7 @@ export { default as OrDatePickerV3 } from './OrDatePicker.js';
|
|
|
2
2
|
export { InputBoxSize as DatePickerSize } from '../OrInputBoxV3/props.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
5
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
5
|
+
import '../../OrDateTimePickerMonthSelect-f01c1d73.js';
|
|
6
6
|
import '../OrDateTimePickerV3/hooks/useDatePlaceholder.js';
|
|
7
7
|
import '../../hooks/useProxyModelValue.js';
|
|
8
8
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from './hooks/useCurrentDate.js';
|
|
3
|
-
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-
|
|
3
|
+
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-f01c1d73.js';
|
|
4
4
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-f3d67e5d.js';
|
|
5
5
|
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect } from '../../OrDateTimePickerTimeSelect-e57095bf.js';
|
|
6
6
|
import { DateTimePickerTimeFormat } from './props.js';
|
|
@@ -3,7 +3,7 @@ export { DateTimePickerTimeFormat } from './props.js';
|
|
|
3
3
|
export { InputBoxSize as DateTimePickerSize } from '../OrInputBoxV3/props.js';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './hooks/useCurrentDate.js';
|
|
6
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
6
|
+
import '../../OrDateTimePickerMonthSelect-f01c1d73.js';
|
|
7
7
|
import './hooks/useDatePlaceholder.js';
|
|
8
8
|
import '../../hooks/useProxyModelValue.js';
|
|
9
9
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -142,9 +142,6 @@ var script = defineComponent({
|
|
|
142
142
|
});
|
|
143
143
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
144
144
|
const disclosed = ref(false);
|
|
145
|
-
const {
|
|
146
|
-
isMobile
|
|
147
|
-
} = useResponsive();
|
|
148
145
|
// Methods
|
|
149
146
|
function focus() {
|
|
150
147
|
var _a;
|
|
@@ -154,6 +151,10 @@ var script = defineComponent({
|
|
|
154
151
|
var _a;
|
|
155
152
|
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
156
153
|
}
|
|
154
|
+
// Helpers
|
|
155
|
+
const {
|
|
156
|
+
isMobile
|
|
157
|
+
} = useResponsive();
|
|
157
158
|
return {
|
|
158
159
|
root,
|
|
159
160
|
control,
|
|
@@ -164,14 +165,14 @@ var script = defineComponent({
|
|
|
164
165
|
currentLength,
|
|
165
166
|
maxLength,
|
|
166
167
|
disclosed,
|
|
167
|
-
isMobile,
|
|
168
168
|
focus,
|
|
169
|
-
blur
|
|
169
|
+
blur,
|
|
170
|
+
isMobile
|
|
170
171
|
};
|
|
171
172
|
}
|
|
172
173
|
});
|
|
173
174
|
|
|
174
|
-
var css_248z = "input[data-v-
|
|
175
|
+
var css_248z = "input[data-v-60523ecc]{min-width:0;background:0 0;outline:0}input[type=number][data-v-60523ecc]::-webkit-inner-spin-button{display:none}input[type=search][data-v-60523ecc]::-webkit-search-cancel-button{display:none}";
|
|
175
176
|
styleInject(css_248z);
|
|
176
177
|
|
|
177
178
|
/* script */
|
|
@@ -431,7 +432,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
431
432
|
/* style */
|
|
432
433
|
const __vue_inject_styles__ = undefined;
|
|
433
434
|
/* scoped */
|
|
434
|
-
const __vue_scope_id__ = "data-v-
|
|
435
|
+
const __vue_scope_id__ = "data-v-60523ecc";
|
|
435
436
|
/* module identifier */
|
|
436
437
|
const __vue_module_identifier__ = undefined;
|
|
437
438
|
/* functional template */
|
|
@@ -22,9 +22,9 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
22
22
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
23
23
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
24
24
|
disclosed: import("@vue/composition-api").Ref<boolean>;
|
|
25
|
-
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
26
25
|
focus: () => void;
|
|
27
26
|
blur: () => void;
|
|
27
|
+
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
28
28
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
29
29
|
modelValue: {
|
|
30
30
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -169,9 +169,9 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
169
169
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
170
170
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
171
171
|
disclosed: import("@vue/composition-api").Ref<boolean>;
|
|
172
|
-
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
173
172
|
focus: () => void;
|
|
174
173
|
blur: () => void;
|
|
174
|
+
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
175
175
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
176
176
|
modelValue: string | number;
|
|
177
177
|
type: "number" | "text" | "password" | "search";
|
|
@@ -4,8 +4,8 @@ import __vue_component__$1 from '../OrButtonV3/OrButton.js';
|
|
|
4
4
|
import __vue_component__$2 from '../OrIconV3/OrIcon.js';
|
|
5
5
|
import __vue_component__$3 from '../OrMenuV3/OrMenu.js';
|
|
6
6
|
import __vue_component__$4 from '../OrMenuItemV3/OrMenuItem.js';
|
|
7
|
-
import useResponsive from '../../hooks/useResponsive/useResponsive.js';
|
|
8
7
|
import { useProxyModelValue } from '../../hooks/useProxyModelValue.js';
|
|
8
|
+
import useResponsive from '../../hooks/useResponsive/useResponsive.js';
|
|
9
9
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
10
10
|
import '../OrButtonV3/props.js';
|
|
11
11
|
import '../OrButtonV3/styles.js';
|
|
@@ -67,10 +67,6 @@ var script = defineComponent({
|
|
|
67
67
|
emits: ['update:modelValue'],
|
|
68
68
|
expose: ['root'],
|
|
69
69
|
setup(props, context) {
|
|
70
|
-
const {
|
|
71
|
-
isDesktop,
|
|
72
|
-
isMobile
|
|
73
|
-
} = useResponsive();
|
|
74
70
|
// Refs
|
|
75
71
|
const root = ref();
|
|
76
72
|
const limitButton = ref();
|
|
@@ -164,9 +160,12 @@ var script = defineComponent({
|
|
|
164
160
|
function toPage(page) {
|
|
165
161
|
currentPage.value = page;
|
|
166
162
|
}
|
|
167
|
-
|
|
163
|
+
// Helpers
|
|
164
|
+
const {
|
|
168
165
|
isDesktop,
|
|
169
|
-
isMobile
|
|
166
|
+
isMobile
|
|
167
|
+
} = useResponsive();
|
|
168
|
+
return {
|
|
170
169
|
root,
|
|
171
170
|
limitButton,
|
|
172
171
|
limitButtonRoot,
|
|
@@ -185,7 +184,9 @@ var script = defineComponent({
|
|
|
185
184
|
buttonGroup,
|
|
186
185
|
toPreviousPage,
|
|
187
186
|
toNextPage,
|
|
188
|
-
toPage
|
|
187
|
+
toPage,
|
|
188
|
+
isDesktop,
|
|
189
|
+
isMobile
|
|
189
190
|
};
|
|
190
191
|
}
|
|
191
192
|
});
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { PaginationModel } from './types';
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
-
isDesktop: import("@vue/composition-api").Ref<boolean>;
|
|
5
|
-
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
6
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
7
5
|
limitButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
8
6
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -30,6 +28,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
30
28
|
toPreviousPage: () => void;
|
|
31
29
|
toNextPage: () => void;
|
|
32
30
|
toPage: (page: number) => void;
|
|
31
|
+
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
32
|
+
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
33
33
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
34
34
|
modelValue: {
|
|
35
35
|
type: PropType<PaginationModel>;
|
|
@@ -63,8 +63,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
63
63
|
} & {} & {
|
|
64
64
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
65
65
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
66
|
-
isDesktop: import("@vue/composition-api").Ref<boolean>;
|
|
67
|
-
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
68
66
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
69
67
|
limitButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
70
68
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -92,6 +90,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
92
90
|
toPreviousPage: () => void;
|
|
93
91
|
toNextPage: () => void;
|
|
94
92
|
toPage: (page: number) => void;
|
|
93
|
+
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
94
|
+
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
95
95
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
96
96
|
length: number;
|
|
97
97
|
modelValue: PaginationModel;
|
|
@@ -69,10 +69,6 @@ var script = defineComponent({
|
|
|
69
69
|
emits: ['update:state', 'open', 'close'],
|
|
70
70
|
expose: ['root', 'state', 'isFlipped', 'isHidden', 'open', 'close', 'toggle'],
|
|
71
71
|
setup(props, context) {
|
|
72
|
-
const {
|
|
73
|
-
isDesktop,
|
|
74
|
-
isMobile
|
|
75
|
-
} = useResponsive();
|
|
76
72
|
// Refs
|
|
77
73
|
const root = ref();
|
|
78
74
|
const bottomSheet = ref();
|
|
@@ -92,6 +88,11 @@ var script = defineComponent({
|
|
|
92
88
|
} = usePopoverState(toRef(props, 'isOpen'), context.emit);
|
|
93
89
|
const isFlipped = ref(false);
|
|
94
90
|
const isHidden = ref(false);
|
|
91
|
+
// Helpers
|
|
92
|
+
const {
|
|
93
|
+
isDesktop,
|
|
94
|
+
isMobile
|
|
95
|
+
} = useResponsive(root);
|
|
95
96
|
// Effects
|
|
96
97
|
watchPostEffect(() => {
|
|
97
98
|
const rootElement = unref(root);
|
|
@@ -143,8 +144,6 @@ var script = defineComponent({
|
|
|
143
144
|
});
|
|
144
145
|
// #endregion
|
|
145
146
|
return {
|
|
146
|
-
isDesktop,
|
|
147
|
-
isMobile,
|
|
148
147
|
root,
|
|
149
148
|
bottomSheet,
|
|
150
149
|
bottomSheetRoot,
|
|
@@ -153,6 +152,8 @@ var script = defineComponent({
|
|
|
153
152
|
state,
|
|
154
153
|
isFlipped,
|
|
155
154
|
isHidden,
|
|
155
|
+
isDesktop,
|
|
156
|
+
isMobile,
|
|
156
157
|
open,
|
|
157
158
|
close,
|
|
158
159
|
toggle
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { PopoverOffset, PopoverPlacement, PopoverVariant } from './props';
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
-
isDesktop: import("@vue/composition-api").Ref<boolean>;
|
|
5
|
-
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
6
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
7
5
|
bottomSheet: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
8
6
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -15,6 +13,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
15
13
|
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
16
14
|
isFlipped: import("@vue/composition-api").Ref<boolean>;
|
|
17
15
|
isHidden: import("@vue/composition-api").Ref<boolean>;
|
|
16
|
+
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
17
|
+
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
18
18
|
open: () => void;
|
|
19
19
|
close: () => void;
|
|
20
20
|
toggle: () => void;
|
|
@@ -117,8 +117,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
117
117
|
} & {} & {
|
|
118
118
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
119
119
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
120
|
-
isDesktop: import("@vue/composition-api").Ref<boolean>;
|
|
121
|
-
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
122
120
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
123
121
|
bottomSheet: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
124
122
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -131,6 +129,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
131
129
|
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
132
130
|
isFlipped: import("@vue/composition-api").Ref<boolean>;
|
|
133
131
|
isHidden: import("@vue/composition-api").Ref<boolean>;
|
|
132
|
+
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
133
|
+
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
134
134
|
open: () => void;
|
|
135
135
|
close: () => void;
|
|
136
136
|
toggle: () => void;
|
|
@@ -53,9 +53,6 @@ var script = defineComponent({
|
|
|
53
53
|
},
|
|
54
54
|
expose: ['root'],
|
|
55
55
|
setup(props) {
|
|
56
|
-
const {
|
|
57
|
-
isMobile
|
|
58
|
-
} = useResponsive();
|
|
59
56
|
// Refs
|
|
60
57
|
const root = ref();
|
|
61
58
|
// Slots
|
|
@@ -114,6 +111,10 @@ var script = defineComponent({
|
|
|
114
111
|
return width.value ? width.value - 2 : '100%';
|
|
115
112
|
});
|
|
116
113
|
const strokeDashoffset = computed(() => props.loading ? undefined : (1 - localProgress.value) * strokeDasharray.value);
|
|
114
|
+
// Helpers
|
|
115
|
+
const {
|
|
116
|
+
isMobile
|
|
117
|
+
} = useResponsive();
|
|
117
118
|
return {
|
|
118
119
|
root,
|
|
119
120
|
rootStyles,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, getCurrentInstance, ref, computed,
|
|
1
|
+
import { defineComponent, getCurrentInstance, ref, computed, toRef, onMounted, watch } from 'vue-demi';
|
|
2
2
|
import { isEmptyValue } from '../../utils/isEmptyValue.js';
|
|
3
3
|
import { Select, SelectControl, SelectSearchControl, SelectPlaceholder, SelectDropdown, SelectDropdownFlipped, SelectDropdownDefault, SelectDropdownItem, SelectNoSearchResults } from './styles.js';
|
|
4
4
|
import __vue_component__$1 from '../OrCheckboxV3/OrCheckbox.js';
|
|
@@ -147,10 +147,6 @@ var script = defineComponent({
|
|
|
147
147
|
type: Boolean,
|
|
148
148
|
default: false
|
|
149
149
|
},
|
|
150
|
-
enableClear: {
|
|
151
|
-
type: Boolean,
|
|
152
|
-
default: false
|
|
153
|
-
},
|
|
154
150
|
searchFunction: {
|
|
155
151
|
type: Function,
|
|
156
152
|
default: async (searchText, options) => {
|
|
@@ -194,11 +190,6 @@ var script = defineComponent({
|
|
|
194
190
|
var _a;
|
|
195
191
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
196
192
|
});
|
|
197
|
-
// Props
|
|
198
|
-
const {
|
|
199
|
-
enableClear,
|
|
200
|
-
modelValue
|
|
201
|
-
} = toRefs(props);
|
|
202
193
|
// Styles
|
|
203
194
|
const rootStyles = computed(() => ['or-select-v3', ...Select]);
|
|
204
195
|
const controlStyles = computed(() => [...SelectControl]);
|
|
@@ -212,13 +203,10 @@ var script = defineComponent({
|
|
|
212
203
|
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
213
204
|
// State
|
|
214
205
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
215
|
-
const proxyModelValue = useProxyModelValue(modelValue, context.emit);
|
|
206
|
+
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
216
207
|
const isEmptyModelValue = computed(() => {
|
|
217
208
|
return Array.isArray(proxyModelValue.value) ? proxyModelValue.value.length === 0 : isEmptyValue(proxyModelValue.value);
|
|
218
209
|
});
|
|
219
|
-
const showClear = computed(() => {
|
|
220
|
-
return enableClear.value && !isEmptyModelValue.value;
|
|
221
|
-
});
|
|
222
210
|
onMounted(() => {
|
|
223
211
|
if (!proxyModelValue.value && props.multiple) {
|
|
224
212
|
proxyModelValue.value = [];
|
|
@@ -326,7 +314,6 @@ var script = defineComponent({
|
|
|
326
314
|
proxyModelValue,
|
|
327
315
|
readonly,
|
|
328
316
|
isEmptyModelValue,
|
|
329
|
-
showClear,
|
|
330
317
|
selection,
|
|
331
318
|
searchText,
|
|
332
319
|
internalSearchOptions,
|
|
@@ -464,7 +451,7 @@ var __vue_render__ = function () {
|
|
|
464
451
|
class: ['grow']
|
|
465
452
|
})], _vm._v(" "), _c('div', {
|
|
466
453
|
class: ['layout-inline-row', 'gap-sm']
|
|
467
|
-
}, [_vm.
|
|
454
|
+
}, [_vm.popoverState === 'closed' && !_vm.isEmptyModelValue ? [_c('OrIconButton', {
|
|
468
455
|
attrs: {
|
|
469
456
|
"icon": 'close',
|
|
470
457
|
"color": 'inherit',
|
|
@@ -29,7 +29,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
29
29
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | object | string[] | object[] | number[]>;
|
|
30
30
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
31
31
|
isEmptyModelValue: import("@vue/composition-api").ComputedRef<boolean>;
|
|
32
|
-
showClear: import("@vue/composition-api").ComputedRef<boolean>;
|
|
33
32
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
34
33
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
35
34
|
internalSearchOptions: import("@vue/composition-api").Ref<{
|
|
@@ -44,8 +43,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
44
43
|
clearSearchControl: () => void;
|
|
45
44
|
innerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
46
45
|
outerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
47
|
-
isDesktop: import("@vue/composition-api").
|
|
48
|
-
isMobile: import("@vue/composition-api").
|
|
46
|
+
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
47
|
+
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
49
48
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
50
49
|
options: {
|
|
51
50
|
type: PropType<SelectOption[]>;
|
|
@@ -103,10 +102,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
103
102
|
type: BooleanConstructor;
|
|
104
103
|
default: boolean;
|
|
105
104
|
};
|
|
106
|
-
enableClear: {
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
default: boolean;
|
|
109
|
-
};
|
|
110
105
|
searchFunction: {
|
|
111
106
|
type: PropType<SelectSearchFunction>;
|
|
112
107
|
default: SelectSearchFunction;
|
|
@@ -176,10 +171,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
176
171
|
type: BooleanConstructor;
|
|
177
172
|
default: boolean;
|
|
178
173
|
};
|
|
179
|
-
enableClear: {
|
|
180
|
-
type: BooleanConstructor;
|
|
181
|
-
default: boolean;
|
|
182
|
-
};
|
|
183
174
|
searchFunction: {
|
|
184
175
|
type: PropType<SelectSearchFunction>;
|
|
185
176
|
default: SelectSearchFunction;
|
|
@@ -207,7 +198,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
207
198
|
disabled: boolean;
|
|
208
199
|
disableDefaultStyles: boolean;
|
|
209
200
|
enableSearch: boolean;
|
|
210
|
-
enableClear: boolean;
|
|
211
201
|
searchFunction: SelectSearchFunction;
|
|
212
202
|
groupByFunction: SelectGroupByFunction;
|
|
213
203
|
externalControl: boolean;
|
|
@@ -241,7 +231,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
241
231
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | object | string[] | object[] | number[]>;
|
|
242
232
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
243
233
|
isEmptyModelValue: import("@vue/composition-api").ComputedRef<boolean>;
|
|
244
|
-
showClear: import("@vue/composition-api").ComputedRef<boolean>;
|
|
245
234
|
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
246
235
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
247
236
|
internalSearchOptions: import("@vue/composition-api").Ref<{
|
|
@@ -256,8 +245,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
256
245
|
clearSearchControl: () => void;
|
|
257
246
|
innerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
258
247
|
outerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
259
|
-
isDesktop: import("@vue/composition-api").
|
|
260
|
-
isMobile: import("@vue/composition-api").
|
|
248
|
+
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
249
|
+
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
261
250
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
262
251
|
modelValue: string | number | object | string[] | object[] | number[];
|
|
263
252
|
label: string;
|
|
@@ -273,7 +262,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
273
262
|
disabled: boolean;
|
|
274
263
|
disableDefaultStyles: boolean;
|
|
275
264
|
enableSearch: boolean;
|
|
276
|
-
enableClear: boolean;
|
|
277
265
|
searchFunction: SelectSearchFunction;
|
|
278
266
|
groupByFunction: SelectGroupByFunction;
|
|
279
267
|
externalControl: boolean;
|
|
@@ -294,7 +282,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
294
282
|
disabled: boolean;
|
|
295
283
|
disableDefaultStyles: boolean;
|
|
296
284
|
enableSearch: boolean;
|
|
297
|
-
enableClear: boolean;
|
|
298
285
|
searchFunction: SelectSearchFunction;
|
|
299
286
|
groupByFunction: SelectGroupByFunction;
|
|
300
287
|
externalControl: boolean;
|
|
@@ -235,7 +235,7 @@ import './OrCombinedInputV3/styles.js';
|
|
|
235
235
|
import '../index-15e8c1f3.js';
|
|
236
236
|
import './OrConfirmV3/styles.js';
|
|
237
237
|
import './OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
238
|
-
import '../OrDateTimePickerMonthSelect-
|
|
238
|
+
import '../OrDateTimePickerMonthSelect-f01c1d73.js';
|
|
239
239
|
import './OrDateTimePickerV3/hooks/useDatePlaceholder.js';
|
|
240
240
|
import '../OrDateTimePickerPopoverHeader-f3d67e5d.js';
|
|
241
241
|
import './OrDatePickerV3/styles.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
isDesktop: import("@vue/composition-api").
|
|
1
|
+
import { Ref } from 'vue-demi';
|
|
2
|
+
declare function useResponsive(element?: Ref<Element | undefined>): {
|
|
3
|
+
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
4
|
+
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
4
5
|
};
|
|
5
6
|
export default useResponsive;
|
|
@@ -1,13 +1,55 @@
|
|
|
1
1
|
import { k as useMediaQuery } from '../../index-509d77a1.js';
|
|
2
|
-
import { ref } from 'vue-demi';
|
|
2
|
+
import { getCurrentInstance, ref, watch, onMounted, isVue3, computed } from 'vue-demi';
|
|
3
3
|
import '../../index-ec92055d.js';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
var tailwindScreens = {
|
|
6
|
+
'sm': '640px',
|
|
7
|
+
'md': '768px',
|
|
8
|
+
'lg': '1024px',
|
|
9
|
+
'xl': '1280px',
|
|
10
|
+
'2xl': '1536px',
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
function useResponsive(element) {
|
|
14
|
+
const currentInstance = getCurrentInstance();
|
|
15
|
+
const currentRootElement = ref();
|
|
16
|
+
if (element) {
|
|
17
|
+
watch(element, value => {
|
|
18
|
+
currentRootElement.value = value;
|
|
19
|
+
});
|
|
20
|
+
} else {
|
|
21
|
+
onMounted(() => {
|
|
22
|
+
if (currentInstance) {
|
|
23
|
+
const element = currentInstance.vnode[isVue3 ? 'el' : 'elm'];
|
|
24
|
+
if (element instanceof Element) {
|
|
25
|
+
currentRootElement.value = element;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
// State
|
|
31
|
+
const isDesktop = computed(() => {
|
|
32
|
+
return isForcedDesktop(currentRootElement.value) || desktopQuery.value;
|
|
33
|
+
});
|
|
34
|
+
const isMobile = computed(() => {
|
|
35
|
+
return !isDesktop.value;
|
|
36
|
+
});
|
|
37
|
+
const desktopQuery = useMediaQuery(`(min-width: ${tailwindScreens.md})`);
|
|
38
|
+
// Helpers
|
|
39
|
+
function isForcedDesktop(element) {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
if (!element) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
const forcedScreens = (_a = element.getAttribute('force-screen')) === null || _a === void 0 ? void 0 : _a.split(/\s+/);
|
|
45
|
+
if (forcedScreens === null || forcedScreens === void 0 ? void 0 : forcedScreens.some(forcedScreen => ['md', 'lg', 'xl', '2xl'].includes(forcedScreen))) {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
return isForcedDesktop((_b = element.parentElement) !== null && _b !== void 0 ? _b : undefined);
|
|
49
|
+
}
|
|
8
50
|
return {
|
|
9
|
-
|
|
10
|
-
|
|
51
|
+
isDesktop,
|
|
52
|
+
isMobile
|
|
11
53
|
};
|
|
12
54
|
}
|
|
13
55
|
|
|
@@ -1927,6 +1927,20 @@ var require$$2 = {
|
|
|
1927
1927
|
SpacePatterns: SpacePatterns
|
|
1928
1928
|
};
|
|
1929
1929
|
|
|
1930
|
+
module.exports = {
|
|
1931
|
+
'sm': '640px',
|
|
1932
|
+
'md': '768px',
|
|
1933
|
+
'lg': '1024px',
|
|
1934
|
+
'xl': '1280px',
|
|
1935
|
+
'2xl': '1536px'
|
|
1936
|
+
};
|
|
1937
|
+
|
|
1938
|
+
var tailwindScreens = /*#__PURE__*/Object.freeze({
|
|
1939
|
+
__proto__: null
|
|
1940
|
+
});
|
|
1941
|
+
|
|
1942
|
+
var require$$3 = /*@__PURE__*/getDefaultExportFromNamespaceIfNotNamed(tailwindScreens);
|
|
1943
|
+
|
|
1930
1944
|
const plugin = plugin$1;
|
|
1931
1945
|
|
|
1932
1946
|
const {
|
|
@@ -1950,17 +1964,13 @@ const {
|
|
|
1950
1964
|
typeStyles: typographyTokens,
|
|
1951
1965
|
} = require$$2;
|
|
1952
1966
|
|
|
1967
|
+
const screens = require$$3;
|
|
1968
|
+
|
|
1953
1969
|
var tailwind_config_preset = {
|
|
1954
1970
|
darkMode: ['class', '[data-theme="dark"]'],
|
|
1955
1971
|
|
|
1956
1972
|
theme: {
|
|
1957
|
-
screens: {
|
|
1958
|
-
'sm': '640px',
|
|
1959
|
-
'md': '768px',
|
|
1960
|
-
'lg': '1024px',
|
|
1961
|
-
'xl': '1280px',
|
|
1962
|
-
'2xl': '1536px',
|
|
1963
|
-
},
|
|
1973
|
+
screens: {},
|
|
1964
1974
|
|
|
1965
1975
|
spacing: {
|
|
1966
1976
|
...parseSpacingTokens(spacingTokens),
|
|
@@ -2117,6 +2127,16 @@ var tailwind_config_preset = {
|
|
|
2117
2127
|
plugins: [
|
|
2118
2128
|
// Core
|
|
2119
2129
|
plugin(({ addVariant, addUtilities }) => {
|
|
2130
|
+
const breakpoints = Object.keys(screens);
|
|
2131
|
+
|
|
2132
|
+
breakpoints.forEach((breakpoint) => {
|
|
2133
|
+
addVariant(breakpoint, [
|
|
2134
|
+
`@media (min-width: ${screens[breakpoint]})`,
|
|
2135
|
+
`[force-screen~="${breakpoint}"] &`,
|
|
2136
|
+
`&[force-screen~="${breakpoint}"]`,
|
|
2137
|
+
]);
|
|
2138
|
+
});
|
|
2139
|
+
|
|
2120
2140
|
addVariant('enabled', '&:not([disabled])');
|
|
2121
2141
|
addVariant('disabled', '&[disabled]');
|
|
2122
2142
|
|
|
@@ -2245,7 +2265,21 @@ var tailwind_config_preset = {
|
|
|
2245
2265
|
lineHeight: optionsMobile?.lineHeight ?? optionsDesktop?.lineHeight,
|
|
2246
2266
|
|
|
2247
2267
|
// Desktop
|
|
2248
|
-
[`@media (min-width: ${
|
|
2268
|
+
[`@media (min-width: ${screens.md})`]: {
|
|
2269
|
+
fontFamily: theme(`fontFamily.${value}`),
|
|
2270
|
+
fontWeight: theme(`fontWeight.${value}`),
|
|
2271
|
+
fontSize: fontSizeDesktop,
|
|
2272
|
+
lineHeight: optionsDesktop?.lineHeight,
|
|
2273
|
+
},
|
|
2274
|
+
|
|
2275
|
+
'[force-screen~="md"] &': {
|
|
2276
|
+
fontFamily: theme(`fontFamily.${value}`),
|
|
2277
|
+
fontWeight: theme(`fontWeight.${value}`),
|
|
2278
|
+
fontSize: fontSizeDesktop,
|
|
2279
|
+
lineHeight: optionsDesktop?.lineHeight,
|
|
2280
|
+
},
|
|
2281
|
+
|
|
2282
|
+
'&[force-screen~="md"]': {
|
|
2249
2283
|
fontFamily: theme(`fontFamily.${value}`),
|
|
2250
2284
|
fontWeight: theme(`fontWeight.${value}`),
|
|
2251
2285
|
fontSize: fontSizeDesktop,
|
|
@@ -2323,7 +2357,7 @@ var tailwind_config_preset = {
|
|
|
2323
2357
|
},
|
|
2324
2358
|
|
|
2325
2359
|
// Desktop
|
|
2326
|
-
|
|
2360
|
+
'@media (any-hover: hover)': {
|
|
2327
2361
|
'&:hover, &[force-state="hover"]': {
|
|
2328
2362
|
backgroundColor: theme(`backgroundColor.${token}-hover` + suffix),
|
|
2329
2363
|
},
|
|
@@ -2365,7 +2399,7 @@ var tailwind_config_preset = {
|
|
|
2365
2399
|
},
|
|
2366
2400
|
|
|
2367
2401
|
// Desktop
|
|
2368
|
-
|
|
2402
|
+
'@media (any-hover: hover)': {
|
|
2369
2403
|
'&:hover, &[force-state="hover"]': {
|
|
2370
2404
|
backgroundColor: theme(`backgroundColor.${token}-opacity-0-12` + suffix),
|
|
2371
2405
|
},
|
|
@@ -2407,7 +2441,7 @@ var tailwind_config_preset = {
|
|
|
2407
2441
|
},
|
|
2408
2442
|
|
|
2409
2443
|
// Desktop
|
|
2410
|
-
|
|
2444
|
+
'@media (any-hover: hover)': {
|
|
2411
2445
|
'&:hover, &[force-state="hover"]': {
|
|
2412
2446
|
backgroundColor: theme(`backgroundColor.${token}-opacity-0-08` + suffix),
|
|
2413
2447
|
},
|
|
@@ -2449,7 +2483,7 @@ var tailwind_config_preset = {
|
|
|
2449
2483
|
},
|
|
2450
2484
|
|
|
2451
2485
|
// Desktop
|
|
2452
|
-
|
|
2486
|
+
'@media (any-hover: hover)': {
|
|
2453
2487
|
'&:hover, &[force-state="hover"]': {
|
|
2454
2488
|
color: theme(`textColor.${token}-hover` + suffix),
|
|
2455
2489
|
},
|