@onereach/ui-components 4.6.2-beta.2782.0 → 4.6.2
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/OrBottomSheetV3/OrBottomSheet.js +47 -30
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +10 -19
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +0 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +0 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +0 -1
- package/dist/bundled/v2/components/OrCheckboxGroupV3/OrCheckboxGroup.js +1 -0
- package/dist/bundled/v2/components/OrCheckboxGroupV3/index.js +1 -0
- package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.js +1 -0
- package/dist/bundled/v2/components/OrCheckboxTreeV3/index.js +1 -0
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +4 -3
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +1 -0
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +52 -28
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.vue.d.ts +36 -18
- package/dist/bundled/v2/components/OrConfirmV3/index.js +0 -1
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +2 -3
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -2
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +3 -4
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -2
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +0 -1
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +0 -1
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +0 -1
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +0 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +0 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +0 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +0 -1
- package/dist/bundled/v2/components/OrInputV3/index.js +0 -1
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +48 -21
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.vue.d.ts +16 -13
- package/dist/bundled/v2/components/OrMenuV3/index.js +0 -1
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +65 -220
- package/dist/bundled/v2/components/OrModalV3/OrModal.vue.d.ts +19 -13
- package/dist/bundled/v2/components/OrModalV3/index.js +8 -9
- package/dist/bundled/v2/components/OrModalV3/styles.d.ts +3 -0
- package/dist/bundled/v2/components/OrModalV3/styles.js +16 -1
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +0 -1
- package/dist/bundled/v2/components/OrNotificationV3/index.js +0 -1
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +1 -2
- package/dist/bundled/v2/components/OrPaginationV3/index.js +0 -1
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +102 -31
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +12 -19
- package/dist/bundled/v2/components/OrPopoverV3/index.js +0 -1
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +0 -1
- package/dist/bundled/v2/components/OrSearchV3/index.js +0 -1
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +6 -2
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +2 -0
- package/dist/bundled/v2/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +0 -1
- package/dist/bundled/v2/components/OrSidebarV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +0 -1
- package/dist/bundled/v2/components/OrTabsV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +0 -1
- package/dist/bundled/v2/components/OrTagV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +0 -1
- package/dist/bundled/v2/components/OrTagsV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +1 -2
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +0 -1
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +0 -1
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +0 -1
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +0 -1
- package/dist/bundled/v2/components/OrToastV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +40 -31
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +17 -20
- package/dist/bundled/v2/components/OrTooltipV3/index.js +0 -1
- package/dist/bundled/v2/components/index.js +2 -2
- package/dist/bundled/v2/hooks/index.d.ts +0 -1
- package/dist/bundled/v2/hooks/index.js +0 -1
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +2 -1
- package/dist/bundled/v2/hooks/useElevation.js +1 -3
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/bundled/v2/index.js +3 -3
- package/dist/bundled/v2/utils/isEmpty.d.ts +1 -1
- package/dist/bundled/v2/utils/isEmpty.js +3 -1
- package/dist/bundled/v2/utils/isEmptyValue.d.ts +1 -0
- package/dist/bundled/v2/utils/isEmptyValue.js +5 -0
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-18f9c167.js → OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js} +45 -28
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-c3c54670.js → OrButton.vue_vue_type_script_lang-cc8aa3a7.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-ccc178b8.js → OrButton.vue_vue_type_script_lang-e9677805.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-1dfa1d6c.js → OrCardCollection.vue_vue_type_script_lang-1f2d30f3.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-9cf3741e.js → OrCardCollection.vue_vue_type_script_lang-34390dfe.js} +3 -3
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-75c6053a.js → OrCheckbox.vue_vue_type_script_lang-cfeb4a4e.js} +2 -1
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-1e71771d.js → OrCheckboxGroup.vue_vue_type_script_lang-f931fc03.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-46436cf3.js → OrCheckboxTree.vue_vue_type_script_lang-7e5bebf5.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-0a713357.js → OrCode.vue_vue_type_script_lang-5bfa4f9c.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-50cf8d05.js → OrConfirm.vue_vue_type_script_lang-2cb65fae.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-710de7be.js → OrConfirm.vue_vue_type_script_lang-e1390930.js} +52 -28
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-609cd431.js → OrDatePicker.vue_vue_type_script_lang-d071d109.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-eecb2974.js → OrDateTimePicker.vue_vue_type_script_lang-8aa80833.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-9eeb7b20.js → OrDateTimePicker.vue_vue_type_script_lang-b8045270.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-747d8207.js → OrDateTimePickerMonthSelect-387c2096.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-851fe8b9.js → OrIconButton.vue_vue_type_script_lang-5bba9f3f.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-a9aa6ad1.js → OrIconButton.vue_vue_type_script_lang-b5d5718b.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-80e21acb.js → OrInlineInput.vue_vue_type_script_lang-3c6b0958.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-1f6e165b.js → OrInlineTextEdit.vue_vue_type_script_lang-f669de9e.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-7cbe9490.js → OrInlineTextarea.vue_vue_type_script_lang-da59cd8e.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-b42a6626.js → OrInput.vue_vue_type_script_lang-6242286b.js} +1 -1
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-d305eadc.js → OrList.vue_vue_type_script_lang-29a5842e.js} +2 -2
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-b13756a1.js → OrListOfInputs.vue_vue_type_script_lang-740154ee.js} +2 -2
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-115f2c60.js +93 -0
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-0cc960ad.js → OrModal.vue_vue_type_script_lang-05916fd8.js} +1 -1
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-202c4e2f.js +71 -0
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-5609733f.js → OrNotification.vue_vue_type_script_lang-463e1a82.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-50d99f88.js → OrNotification.vue_vue_type_script_lang-4e5a04fa.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-8ce757fb.js → OrOverflowMenu.vue_vue_type_script_lang-1b4af3a6.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-d778e42d.js → OrPagination.vue_vue_type_script_lang-bdc8d9fb.js} +1 -1
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-a82a53ab.js → OrPassword.vue_vue_type_script_lang-28c99eb3.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-27a7448c.js → OrPopover.vue_vue_type_script_lang-7b1b2488.js} +98 -27
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-499bbce0.js → OrSearch.vue_vue_type_script_lang-0bcc597c.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-f5158c63.js → OrSearch.vue_vue_type_script_lang-8dbecb52.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-60b42f3d.js → OrSelect.vue_vue_type_script_lang-4bf05f8b.js} +9 -4
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-34a366c9.js → OrSelect.vue_vue_type_script_lang-a8a2875f.js} +1 -1
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-7097ef23.js → OrSidebar.vue_vue_type_script_lang-780eaa84.js} +1 -1
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-a708d93b.js → OrStepper.vue_vue_type_script_lang-c2dffcac.js} +1 -1
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-888fbcef.js → OrSwitch.vue_vue_type_script_lang-3ef06bbd.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-09e8c09e.js → OrTabs.vue_vue_type_script_lang-9d4221f1.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-7287f234.js → OrTag.vue_vue_type_script_lang-09948d1f.js} +1 -1
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-67848ef7.js → OrTags.vue_vue_type_script_lang-71fb4f1d.js} +2 -2
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-89fae7b5.js → OrTextbox.vue_vue_type_script_lang-ed48ed9b.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-3da85afb.js → OrTimePicker.vue_vue_type_script_lang-c52a2a0b.js} +2 -2
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-bb3db5bf.js +72 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +6 -7
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +10 -16
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +2 -3
- package/dist/bundled/v3/components/OrButton/OrButton.js +3 -3
- package/dist/bundled/v3/components/OrButton/index.js +2 -2
- package/dist/bundled/v3/components/OrButtonV2/OrButton.js +3 -3
- package/dist/bundled/v3/components/OrButtonV2/index.js +3 -3
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +5 -5
- package/dist/bundled/v3/components/OrCardCollection/index.js +4 -4
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +10 -11
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +9 -10
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +5 -4
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +4 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +4 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +3 -2
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +3 -2
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -1
- package/dist/bundled/v3/components/OrCode/OrCode.js +5 -5
- package/dist/bundled/v3/components/OrCode/index.js +4 -4
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +6 -6
- package/dist/bundled/v3/components/OrConfirm/index.js +5 -5
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +10 -11
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +35 -18
- package/dist/bundled/v3/components/OrConfirmV3/index.js +7 -8
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +10 -11
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +8 -9
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +4 -4
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +3 -3
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +11 -12
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +8 -9
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +3 -3
- package/dist/bundled/v3/components/OrIconButtonV2/index.js +2 -2
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +6 -7
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +5 -6
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +7 -8
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +6 -7
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +4 -4
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +3 -3
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +7 -8
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +6 -7
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +7 -8
- package/dist/bundled/v3/components/OrInputV3/index.js +6 -7
- package/dist/bundled/v3/components/OrList/OrList.js +5 -5
- package/dist/bundled/v3/components/OrList/index.js +4 -4
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +6 -6
- package/dist/bundled/v3/components/OrListOfInputs/index.js +5 -5
- package/dist/bundled/v3/components/OrLoader/OrLoader.js +2 -2
- package/dist/bundled/v3/components/OrLoader/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +8 -9
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +5 -13
- package/dist/bundled/v3/components/OrMenuV3/index.js +4 -5
- package/dist/bundled/v3/components/OrModal/OrModal.js +4 -4
- package/dist/bundled/v3/components/OrModal/index.js +3 -3
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +33 -36
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +16 -14
- package/dist/bundled/v3/components/OrModalV3/index.js +14 -15
- package/dist/bundled/v3/components/OrModalV3/styles.d.ts +3 -0
- package/dist/bundled/v3/components/OrModalV3/styles.js +16 -1
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +4 -4
- package/dist/bundled/v3/components/OrNotification/index.js +3 -3
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +7 -8
- package/dist/bundled/v3/components/OrNotificationV3/index.js +6 -7
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +5 -5
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +4 -4
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +7 -8
- package/dist/bundled/v3/components/OrPaginationV3/index.js +5 -6
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +4 -4
- package/dist/bundled/v3/components/OrPassword/index.js +3 -3
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +7 -8
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +11 -16
- package/dist/bundled/v3/components/OrPopoverV3/index.js +3 -4
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +4 -4
- package/dist/bundled/v3/components/OrSearch/index.js +3 -3
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +8 -9
- package/dist/bundled/v3/components/OrSearchV3/index.js +7 -8
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +3 -3
- package/dist/bundled/v3/components/OrSelect/index.js +2 -2
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +12 -12
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +1 -0
- package/dist/bundled/v3/components/OrSelectV3/index.js +10 -10
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +7 -8
- package/dist/bundled/v3/components/OrSidebarV3/index.js +6 -7
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +4 -4
- package/dist/bundled/v3/components/OrStepper/index.js +3 -3
- package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +3 -3
- package/dist/bundled/v3/components/OrSwitch/index.js +2 -2
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +6 -7
- package/dist/bundled/v3/components/OrTabsV3/index.js +5 -6
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +7 -8
- package/dist/bundled/v3/components/OrTagV3/index.js +6 -7
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +8 -9
- package/dist/bundled/v3/components/OrTagsV3/index.js +7 -8
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +4 -4
- package/dist/bundled/v3/components/OrTextbox/index.js +3 -3
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +8 -9
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +6 -7
- package/dist/bundled/v3/components/OrToast/OrToast.js +2 -2
- package/dist/bundled/v3/components/OrToast/index.js +3 -3
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +4 -4
- package/dist/bundled/v3/components/OrToastContainer/index.js +3 -3
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +7 -8
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +6 -7
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +5 -6
- package/dist/bundled/v3/components/OrToastV3/index.js +6 -7
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +9 -12
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +6 -17
- package/dist/bundled/v3/components/OrTooltipV3/index.js +4 -5
- package/dist/bundled/v3/components/index.js +50 -50
- package/dist/bundled/v3/hooks/index.d.ts +0 -1
- package/dist/bundled/v3/hooks/index.js +0 -1
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +2 -1
- package/dist/bundled/v3/hooks/useElevation.js +1 -3
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/bundled/v3/index.js +51 -51
- package/dist/bundled/v3/utils/isEmpty.d.ts +1 -1
- package/dist/bundled/v3/utils/isEmpty.js +3 -1
- package/dist/bundled/v3/utils/isEmptyValue.d.ts +1 -0
- package/dist/bundled/v3/utils/isEmptyValue.js +5 -0
- package/dist/esm/v2/{OrBottomSheet-f858cabb.js → OrBottomSheet-ffa029ca.js} +48 -31
- package/dist/esm/v2/{OrButton-22d9ecc5.js → OrButton-b60290c4.js} +1 -1
- package/dist/esm/v2/{OrButton-a8f685e9.js → OrButton-bafb6cad.js} +1 -1
- package/dist/esm/v2/{OrButton.vue_rollup-plugin-vue_styles.0-0b3d0a46.js → OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js} +2 -2
- package/dist/esm/v2/{OrCardCollection-e70e44bb.js → OrCardCollection-4eb5c533.js} +4 -4
- package/dist/esm/v2/{OrCardCollection-7ba11168.js → OrCardCollection-e23d4238.js} +4 -4
- package/dist/esm/v2/{OrCheckbox-59332f84.js → OrCheckbox-3a8c93ad.js} +8 -4
- package/dist/esm/v2/{OrCheckboxGroup-f470f938.js → OrCheckboxGroup-b0d95dd6.js} +1 -1
- package/dist/esm/v2/{OrCheckboxTree-1304ae59.js → OrCheckboxTree-54b0fdc1.js} +1 -1
- package/dist/esm/v2/{OrCode-a157e15f.js → OrCode-cbd05828.js} +4 -4
- package/dist/esm/v2/{OrConfirm-1a1becc7.js → OrConfirm-8ec55f84.js} +54 -30
- package/dist/esm/v2/{OrConfirm-49df6698.js → OrConfirm-f4eec5b2.js} +3 -3
- package/dist/esm/v2/{OrDatePicker-219d2400.js → OrDatePicker-b6ebf44a.js} +4 -4
- package/dist/esm/v2/{OrDateTimePicker-98a24b20.js → OrDateTimePicker-85c08b90.js} +5 -5
- package/dist/esm/v2/{OrDateTimePicker-d095cd1e.js → OrDateTimePicker-fb410167.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-fe0170bc.js → OrDateTimePickerMonthSelect-e35404a7.js} +3 -3
- package/dist/esm/v2/{OrIconButton-e60f47af.js → OrIconButton-544ee642.js} +1 -1
- package/dist/esm/v2/{OrIconButton-1f0ff5dc.js → OrIconButton-ee747c71.js} +2 -2
- package/dist/esm/v2/{OrIconButton.vue_rollup-plugin-vue_styles.0-8e03311b.js → OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-d5168a53.js → OrInlineInput-a131caf4.js} +1 -1
- package/dist/esm/v2/{OrInlineTextEdit-362e9f5b.js → OrInlineTextEdit-f52267aa.js} +3 -3
- package/dist/esm/v2/{OrInlineTextarea-6285d2fc.js → OrInlineTextarea-7cc45396.js} +1 -1
- package/dist/esm/v2/{OrInput-ad560a10.js → OrInput-8c7b3cce.js} +1 -1
- package/dist/esm/v2/{OrList-5ecdd0d6.js → OrList-2e65227a.js} +3 -3
- package/dist/esm/v2/{OrListOfInputs-75414b31.js → OrListOfInputs-9b7522fa.js} +4 -4
- package/dist/esm/v2/{OrLoader-52bb8afa.js → OrLoader-0cc7c73e.js} +3 -1
- package/dist/esm/v2/{OrMenu-f01d0df1.js → OrMenu-8b902c22.js} +49 -23
- package/dist/esm/v2/OrModal-1f80d87f.js +174 -0
- package/dist/esm/v2/{OrModal-82c27104.js → OrModal-206611f2.js} +3 -3
- package/dist/esm/v2/{OrNotification-1b795836.js → OrNotification-16e6d4ff.js} +1 -1
- package/dist/esm/v2/{OrNotification-99620c47.js → OrNotification-44bc1f50.js} +3 -3
- package/dist/esm/v2/{OrOverflowMenu-a58cbd67.js → OrOverflowMenu-e3ae75a3.js} +4 -4
- package/dist/esm/v2/{OrOverlay-f791976c.js → OrOverlay-4c8c11e2.js} +1 -1
- package/dist/esm/v2/{OrPagination-cf75e50e.js → OrPagination-36583054.js} +3 -3
- package/dist/esm/v2/{OrPassword-12a00ddc.js → OrPassword-1de0dc6c.js} +3 -3
- package/dist/esm/v2/{OrPopover-8f2fbc1b.js → OrPopover-80459663.js} +104 -33
- package/dist/esm/v2/{OrSearch-6cffa183.js → OrSearch-5aa8154f.js} +1 -1
- package/dist/esm/v2/{OrSearch-b447018e.js → OrSearch-e2941d35.js} +3 -3
- package/dist/esm/v2/{OrSelect-b49b6e4a.js → OrSelect-49239b74.js} +1 -1
- package/dist/esm/v2/{OrSelect-1ee200b7.js → OrSelect-dd8affc1.js} +9 -5
- package/dist/esm/v2/{OrSidebar-00ba8017.js → OrSidebar-638b1d60.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-fcef54c9.js → OrSidebarCollapseButton-2c81d465.js} +1 -1
- package/dist/esm/v2/{OrStepper-6b35550a.js → OrStepper-3707ec50.js} +2 -2
- package/dist/esm/v2/{OrSwitch-9fa5adeb.js → OrSwitch-75458852.js} +1 -1
- package/dist/esm/v2/{OrTabs-c25f1fe2.js → OrTabs-653258a2.js} +2 -2
- package/dist/esm/v2/{OrTag-3612d8c1.js → OrTag-6256623c.js} +1 -1
- package/dist/esm/v2/{OrTags-e29da4e0.js → OrTags-db2608dc.js} +2 -2
- package/dist/esm/v2/{OrTextbox-b666b30b.js → OrTextbox-c85d7fe6.js} +3 -3
- package/dist/esm/v2/{OrTimePicker-c1898f16.js → OrTimePicker-696e29ed.js} +3 -3
- package/dist/esm/v2/{OrToastContainer-913c152f.js → OrToastContainer-7017d12b.js} +3 -3
- package/dist/esm/v2/{OrTooltip-f341039a.js → OrTooltip-5a6e0f64.js} +41 -32
- package/dist/esm/v2/components/index.js +53 -54
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +10 -19
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -4
- package/dist/esm/v2/components/or-button/index.js +2 -2
- package/dist/esm/v2/components/or-button-v2/index.js +5 -5
- package/dist/esm/v2/components/or-card-collection/index.js +6 -6
- package/dist/esm/v2/components/or-card-collection-v3/index.js +10 -11
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v2/components/or-code/index.js +6 -6
- package/dist/esm/v2/components/or-confirm/index.js +7 -7
- package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +36 -18
- package/dist/esm/v2/components/or-confirm-v3/index.js +8 -9
- package/dist/esm/v2/components/or-date-picker-v3/index.js +9 -10
- package/dist/esm/v2/components/or-date-time-picker/index.js +5 -5
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +9 -10
- package/dist/esm/v2/components/or-icon-button-v2/index.js +3 -3
- package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -7
- package/dist/esm/v2/components/or-inline-input-v3/index.js +7 -8
- package/dist/esm/v2/components/or-inline-text-edit/index.js +5 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +7 -8
- package/dist/esm/v2/components/or-input-v3/index.js +7 -8
- package/dist/esm/v2/components/or-list/index.js +6 -6
- package/dist/esm/v2/components/or-list-of-inputs/index.js +7 -7
- package/dist/esm/v2/components/or-loader/index.js +1 -1
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +16 -13
- package/dist/esm/v2/components/or-menu-v3/index.js +6 -7
- package/dist/esm/v2/components/or-modal/index.js +5 -5
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +19 -13
- package/dist/esm/v2/components/or-modal-v3/index.js +11 -12
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +3 -0
- package/dist/esm/v2/components/or-notification/index.js +5 -5
- package/dist/esm/v2/components/or-notification-v3/index.js +7 -8
- package/dist/esm/v2/components/or-overflow-menu/index.js +6 -6
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +6 -7
- package/dist/esm/v2/components/or-password/index.js +5 -5
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +12 -19
- package/dist/esm/v2/components/or-popover-v3/index.js +4 -5
- package/dist/esm/v2/components/or-search/index.js +5 -5
- package/dist/esm/v2/components/or-search-v3/index.js +8 -9
- package/dist/esm/v2/components/or-select/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-select-v3/index.js +10 -11
- package/dist/esm/v2/components/or-sidebar-v3/index.js +8 -9
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +7 -8
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -8
- package/dist/esm/v2/components/or-stepper/index.js +5 -5
- package/dist/esm/v2/components/or-switch/index.js +2 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +6 -7
- package/dist/esm/v2/components/or-tag-v3/index.js +7 -8
- package/dist/esm/v2/components/or-tags-v3/index.js +8 -9
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textbox/index.js +5 -5
- package/dist/esm/v2/components/or-time-picker-v3/index.js +7 -8
- package/dist/esm/v2/components/or-toast/index.js +5 -5
- package/dist/esm/v2/components/or-toast/or-toast-container/index.js +5 -5
- package/dist/esm/v2/components/or-toast-v3/index.js +7 -8
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +7 -8
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +17 -20
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -6
- package/dist/esm/v2/hooks/index.d.ts +0 -1
- package/dist/esm/v2/hooks/index.js +1 -2
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +2 -1
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/esm/v2/index.js +53 -54
- package/dist/esm/v2/{types-e365967d.js → types-4a7d24f3.js} +2 -2
- package/dist/esm/{v3/useElevation-a50ec347.js → v2/useElevation-b5a49746.js} +1 -3
- package/dist/esm/v2/utils/isEmpty.d.ts +1 -1
- package/dist/esm/v2/utils/isEmptyValue.d.ts +1 -0
- package/dist/esm/v3/{OrBottomSheet-348fe528.js → OrBottomSheet-5969a217.js} +48 -31
- package/dist/esm/v3/{OrButton-5410e79f.js → OrButton-0082a3ce.js} +1 -1
- package/dist/esm/v3/{OrButton-e44f6f03.js → OrButton-78a118d7.js} +2 -2
- package/dist/esm/v3/{OrCardCollection-126e4eb3.js → OrCardCollection-b9218f98.js} +3 -3
- package/dist/esm/v3/{OrCardCollection-97807bb9.js → OrCardCollection-d5390215.js} +4 -4
- package/dist/esm/v3/{OrCheckbox-56d7b6eb.js → OrCheckbox-7093e9c2.js} +6 -2
- package/dist/esm/v3/{OrCheckboxGroup-c41a99ba.js → OrCheckboxGroup-f755d216.js} +1 -1
- package/dist/esm/v3/{OrCheckboxTree-fa6288af.js → OrCheckboxTree-99f6eaec.js} +1 -1
- package/dist/esm/v3/{OrCode-cae13dcc.js → OrCode-2f8cdf96.js} +3 -3
- package/dist/esm/v3/{OrConfirm-a004c8b6.js → OrConfirm-704f817e.js} +3 -3
- package/dist/esm/v3/{OrConfirm-06350a61.js → OrConfirm-fe8617ac.js} +54 -30
- package/dist/esm/v3/{OrDatePicker-db267041.js → OrDatePicker-f144d074.js} +4 -4
- package/dist/esm/v3/{OrDateTimePicker-f505ab31.js → OrDateTimePicker-2214cd85.js} +5 -5
- package/dist/esm/v3/{OrDateTimePicker-cde869f4.js → OrDateTimePicker-c19dcefc.js} +2 -2
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-eac28443.js → OrDateTimePickerMonthSelect-5a7b7b5c.js} +3 -3
- package/dist/esm/v3/{OrIconButton-440b9f36.js → OrIconButton-ad0cbc8d.js} +1 -1
- package/dist/esm/v3/{OrIconButton-3d1ffea6.js → OrIconButton-b7217ea5.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-3785a2fd.js → OrInlineInput-dcb28ea2.js} +1 -1
- package/dist/esm/v3/{OrInlineTextEdit-be428430.js → OrInlineTextEdit-6bf54bd0.js} +2 -2
- package/dist/esm/v3/{OrInlineTextarea-7d5e758d.js → OrInlineTextarea-88eac437.js} +1 -1
- package/dist/esm/v3/{OrInput-2e83e367.js → OrInput-af5bb98a.js} +1 -1
- package/dist/esm/v3/{OrList-9872c4e6.js → OrList-042d8681.js} +2 -2
- package/dist/esm/v3/{OrListOfInputs-916d8682.js → OrListOfInputs-ce0d6ac0.js} +3 -3
- package/dist/esm/v3/{OrLoader-7d0021b7.js → OrLoader-7b006619.js} +3 -1
- package/dist/esm/v3/{OrMenu-458e495d.js → OrMenu-8a53ccf9.js} +50 -24
- package/dist/esm/v3/OrModal-1366926a.js +150 -0
- package/dist/esm/v3/{OrModal-03ad23ea.js → OrModal-f3a4813a.js} +2 -2
- package/dist/esm/v3/{OrNotification-cdbd93bc.js → OrNotification-09216b8b.js} +1 -1
- package/dist/esm/v3/{OrNotification-69eff848.js → OrNotification-538f8e92.js} +2 -2
- package/dist/esm/v3/{OrOverflowMenu-40bdbf02.js → OrOverflowMenu-4d0bf63a.js} +2 -2
- package/dist/esm/v3/{OrOverlay-28952099.js → OrOverlay-bf72f582.js} +1 -1
- package/dist/esm/v3/{OrPagination-ad365d85.js → OrPagination-c6046af4.js} +3 -3
- package/dist/esm/v3/{OrPassword-42208c82.js → OrPassword-9192b9ea.js} +2 -2
- package/dist/esm/v3/{OrPopover-9bc36ad6.js → OrPopover-15c2968f.js} +102 -31
- package/dist/esm/v3/{OrSearch-cdb1eeb4.js → OrSearch-d0c8aca7.js} +2 -2
- package/dist/esm/v3/{OrSearch-ad1a1b36.js → OrSearch-ecad7638.js} +1 -1
- package/dist/esm/v3/{OrSelect-24937c69.js → OrSelect-60205145.js} +1 -1
- package/dist/esm/v3/{OrSelect-04f5014d.js → OrSelect-cfb336db.js} +9 -5
- package/dist/esm/v3/{OrSidebar-20aaf94a.js → OrSidebar-1579ad80.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-8d1f1bd0.js → OrSidebarCollapseButton-2668946c.js} +1 -1
- package/dist/esm/v3/{OrStepper-6c1a95f6.js → OrStepper-651a619a.js} +2 -2
- package/dist/esm/v3/{OrSwitch-9edf6e63.js → OrSwitch-10747a24.js} +1 -1
- package/dist/esm/v3/{OrTabs-867f01e7.js → OrTabs-a2d87627.js} +2 -2
- package/dist/esm/v3/{OrTag-fb9d3047.js → OrTag-8605e9e6.js} +1 -1
- package/dist/esm/v3/{OrTags-a818974a.js → OrTags-3724ff59.js} +2 -2
- package/dist/esm/v3/{OrTextbox-5bdb513f.js → OrTextbox-56714f51.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-7a47802d.js → OrTimePicker-68de86d9.js} +3 -3
- package/dist/esm/v3/{OrToastContainer-000547a2.js → OrToastContainer-72b52576.js} +2 -2
- package/dist/esm/v3/{OrTooltip-00037d45.js → OrTooltip-3d5fcaf9.js} +42 -27
- package/dist/esm/v3/components/index.js +51 -52
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +10 -16
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -4
- package/dist/esm/v3/components/or-button/index.js +2 -2
- package/dist/esm/v3/components/or-button-v2/index.js +3 -3
- package/dist/esm/v3/components/or-card-collection/index.js +5 -5
- package/dist/esm/v3/components/or-card-collection-v3/index.js +10 -11
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v3/components/or-code/index.js +5 -5
- package/dist/esm/v3/components/or-confirm/index.js +5 -5
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +35 -18
- package/dist/esm/v3/components/or-confirm-v3/index.js +8 -9
- package/dist/esm/v3/components/or-date-picker-v3/index.js +9 -10
- package/dist/esm/v3/components/or-date-time-picker/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +9 -10
- package/dist/esm/v3/components/or-icon-button-v2/index.js +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -7
- package/dist/esm/v3/components/or-inline-input-v3/index.js +7 -8
- package/dist/esm/v3/components/or-inline-text-edit/index.js +4 -4
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +7 -8
- package/dist/esm/v3/components/or-input-v3/index.js +7 -8
- package/dist/esm/v3/components/or-list/index.js +4 -4
- package/dist/esm/v3/components/or-list-of-inputs/index.js +5 -5
- package/dist/esm/v3/components/or-loader/index.js +1 -1
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +5 -13
- package/dist/esm/v3/components/or-menu-v3/index.js +6 -7
- package/dist/esm/v3/components/or-modal/index.js +4 -4
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +16 -14
- package/dist/esm/v3/components/or-modal-v3/index.js +10 -11
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +3 -0
- package/dist/esm/v3/components/or-notification/index.js +4 -4
- package/dist/esm/v3/components/or-notification-v3/index.js +7 -8
- package/dist/esm/v3/components/or-overflow-menu/index.js +4 -4
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +6 -7
- package/dist/esm/v3/components/or-password/index.js +4 -4
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +11 -16
- package/dist/esm/v3/components/or-popover-v3/index.js +4 -5
- package/dist/esm/v3/components/or-search/index.js +4 -4
- package/dist/esm/v3/components/or-search-v3/index.js +8 -9
- package/dist/esm/v3/components/or-select/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/index.js +10 -11
- package/dist/esm/v3/components/or-sidebar-v3/index.js +8 -9
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +7 -8
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -8
- package/dist/esm/v3/components/or-stepper/index.js +4 -4
- package/dist/esm/v3/components/or-switch/index.js +2 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +6 -7
- package/dist/esm/v3/components/or-tag-v3/index.js +7 -8
- package/dist/esm/v3/components/or-tags-v3/index.js +8 -9
- package/dist/esm/v3/components/or-textbox/index.js +4 -4
- package/dist/esm/v3/components/or-time-picker-v3/index.js +7 -8
- package/dist/esm/v3/components/or-toast/index.js +4 -4
- package/dist/esm/v3/components/or-toast/or-toast-container/index.js +4 -4
- package/dist/esm/v3/components/or-toast-v3/index.js +7 -8
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +7 -8
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +6 -17
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -6
- package/dist/esm/v3/hooks/index.d.ts +0 -1
- package/dist/esm/v3/hooks/index.js +1 -2
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +2 -1
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/esm/v3/index.js +51 -52
- package/dist/esm/v3/{types-f97d54b8.js → types-9e1555eb.js} +2 -2
- package/dist/esm/{v2/useElevation-a50ec347.js → v3/useElevation-b5a49746.js} +1 -3
- package/dist/esm/v3/utils/isEmpty.d.ts +1 -1
- package/dist/esm/v3/utils/isEmptyValue.d.ts +1 -0
- package/package.json +3 -2
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +58 -29
- package/src/components/or-checkbox-v3/OrCheckbox.vue +2 -1
- package/src/components/or-confirm-v3/OrConfirm.vue +50 -29
- package/src/components/or-date-picker-v3/OrDatePicker.vue +1 -1
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +2 -2
- package/src/components/or-menu-v3/OrMenu.vue +40 -18
- package/src/components/or-modal-v3/OrModal.vue +66 -32
- package/src/components/or-modal-v3/styles.ts +25 -0
- package/src/components/or-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-popover-v3/OrPopover.vue +125 -28
- package/src/components/or-select-v3/OrSelect.vue +9 -1
- package/src/components/or-time-picker-v3/OrTimePicker.vue +1 -1
- package/src/components/or-tooltip-v3/OrTooltip.vue +40 -25
- package/src/hooks/index.ts +0 -1
- package/src/hooks/useControlAttributes.ts +1 -1
- package/src/hooks/useElevation.ts +1 -3
- package/src/hooks/useValidationAttributes.ts +1 -1
- package/src/utils/isEmpty.ts +3 -1
- package/src/utils/isEmptyValue.ts +3 -0
- package/dist/bundled/v2/hooks/usePopoverState.d.ts +0 -8
- package/dist/bundled/v2/hooks/usePopoverState.js +0 -40
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-97d5a16c.js +0 -66
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-00b3317a.js +0 -160
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-0f90dccb.js +0 -55
- package/dist/bundled/v3/hooks/usePopoverState.d.ts +0 -8
- package/dist/bundled/v3/hooks/usePopoverState.js +0 -40
- package/dist/esm/v2/OrModal-ce0e3a9f.js +0 -312
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +0 -8
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-content/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +0 -8
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +0 -12
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-header/styles.d.ts +0 -1
- package/dist/esm/v2/hooks/usePopoverState.d.ts +0 -8
- package/dist/esm/v2/usePopoverState-30ac6da1.js +0 -40
- package/dist/esm/v3/OrModal-d6bb9576.js +0 -226
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +0 -5
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +0 -5
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +0 -7
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/styles.d.ts +0 -1
- package/dist/esm/v3/hooks/usePopoverState.d.ts +0 -8
- package/dist/esm/v3/usePopoverState-30ac6da1.js +0 -40
- package/src/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue +0 -37
- package/src/components/or-modal-v3/partials/or-modal-content/styles.ts +0 -10
- package/src/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue +0 -37
- package/src/components/or-modal-v3/partials/or-modal-footer/styles.ts +0 -4
- package/src/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue +0 -54
- package/src/components/or-modal-v3/partials/or-modal-header/styles.ts +0 -10
- package/src/hooks/usePopoverState.ts +0 -55
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-bf92c66b.js → OrDateTimePickerMonthSelect-75089f80.js} +0 -0
- /package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-27847e63.js → OrLoader.vue_vue_type_script_lang-a1fed697.js} +0 -0
- /package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-29ff6fd8.js → OrOverlay.vue_vue_type_script_lang-86c7b93a.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-fc32e90b.js → OrToastContainer.vue_vue_type_script_lang-485ef171.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-99d1a2c3.js → OrToastContainer.vue_vue_type_script_lang-6512c2eb.js} +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, computed
|
|
2
|
-
import '
|
|
3
|
-
import { u as usePopoverState } from './usePopoverState-30ac6da1.js';
|
|
4
|
-
import { s as script$1, P as PopoverPlacement } from './OrPopover-9bc36ad6.js';
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { s as script$1, P as PopoverPlacement } from './OrPopover-15c2968f.js';
|
|
5
3
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, withModifiers, renderSlot } from 'vue';
|
|
6
4
|
|
|
7
5
|
const MenuRoot = [
|
|
@@ -17,10 +15,6 @@ var script = defineComponent({
|
|
|
17
15
|
},
|
|
18
16
|
inheritAttrs: false,
|
|
19
17
|
props: {
|
|
20
|
-
isOpen: {
|
|
21
|
-
type: Boolean,
|
|
22
|
-
default: false
|
|
23
|
-
},
|
|
24
18
|
trigger: {
|
|
25
19
|
type: HTMLElement,
|
|
26
20
|
default: undefined
|
|
@@ -30,36 +24,68 @@ var script = defineComponent({
|
|
|
30
24
|
default: PopoverPlacement.Bottom
|
|
31
25
|
}
|
|
32
26
|
},
|
|
33
|
-
emits: ['update:state'
|
|
34
|
-
expose: ['root', 'state', 'open', 'close', 'toggle'],
|
|
35
|
-
setup(
|
|
27
|
+
emits: ['update:state'],
|
|
28
|
+
expose: ['root', 'state', 'isOpen', 'open', 'close', 'toggle'],
|
|
29
|
+
setup() {
|
|
36
30
|
// Refs
|
|
37
31
|
const root = ref();
|
|
32
|
+
const popover = ref();
|
|
33
|
+
const popoverRoot = computed(() => {
|
|
34
|
+
var _a;
|
|
35
|
+
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
36
|
+
});
|
|
37
|
+
const popoverState = computed(() => {
|
|
38
|
+
var _a;
|
|
39
|
+
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
40
|
+
});
|
|
38
41
|
// Styles
|
|
39
42
|
const rootStyles = computed(() => ['or-menu-v3', ...MenuRoot]);
|
|
40
43
|
// State
|
|
41
|
-
const {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
const isOpen = computed(() => {
|
|
45
|
+
var _a;
|
|
46
|
+
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.isOpen;
|
|
47
|
+
});
|
|
48
|
+
// Methods
|
|
49
|
+
function open() {
|
|
50
|
+
const popoverInstance = popover.value;
|
|
51
|
+
if (popoverInstance) {
|
|
52
|
+
popoverInstance.open();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function close() {
|
|
56
|
+
const popoverInstance = popover.value;
|
|
57
|
+
if (popoverInstance) {
|
|
58
|
+
popoverInstance.close();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function toggle() {
|
|
62
|
+
isOpen.value ? close() : open();
|
|
63
|
+
}
|
|
47
64
|
// Handlers
|
|
48
65
|
function onClick(event) {
|
|
49
66
|
const path = event.composedPath();
|
|
50
|
-
|
|
67
|
+
const classLists = path.filter(_ref => {
|
|
51
68
|
let {
|
|
52
69
|
classList
|
|
53
70
|
} = _ref;
|
|
54
|
-
return classList
|
|
55
|
-
})
|
|
71
|
+
return !!classList;
|
|
72
|
+
}).map(_ref2 => {
|
|
73
|
+
let {
|
|
74
|
+
classList
|
|
75
|
+
} = _ref2;
|
|
76
|
+
return classList;
|
|
77
|
+
});
|
|
78
|
+
if (classLists.some(classList => classList.contains('or-menu-item-v3'))) {
|
|
56
79
|
close();
|
|
57
80
|
}
|
|
58
81
|
}
|
|
59
82
|
return {
|
|
60
83
|
root,
|
|
84
|
+
popover,
|
|
85
|
+
popoverRoot,
|
|
86
|
+
state: popoverState,
|
|
61
87
|
rootStyles,
|
|
62
|
-
|
|
88
|
+
isOpen,
|
|
63
89
|
open,
|
|
64
90
|
close,
|
|
65
91
|
toggle,
|
|
@@ -71,13 +97,13 @@ var script = defineComponent({
|
|
|
71
97
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
72
98
|
const _component_OrPopover = resolveComponent("OrPopover");
|
|
73
99
|
return openBlock(), createBlock(_component_OrPopover, {
|
|
74
|
-
"
|
|
100
|
+
ref: "popover",
|
|
75
101
|
variant: 'auto',
|
|
76
102
|
trigger: _ctx.trigger,
|
|
77
103
|
placement: _ctx.placement,
|
|
78
104
|
"full-width": false,
|
|
79
105
|
"disable-default-styles": false,
|
|
80
|
-
"onUpdate:state": _cache[1] || (_cache[1] = $event => _ctx
|
|
106
|
+
"onUpdate:state": _cache[1] || (_cache[1] = $event => _ctx.$emit('update:state', $event))
|
|
81
107
|
}, {
|
|
82
108
|
default: withCtx(() => [createElementVNode("div", mergeProps({
|
|
83
109
|
ref: "root"
|
|
@@ -89,7 +115,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
89
115
|
}), [renderSlot(_ctx.$slots, "default")], 16 /* FULL_PROPS */)]),
|
|
90
116
|
|
|
91
117
|
_: 3 /* FORWARDED */
|
|
92
|
-
}, 8 /* PROPS */, ["
|
|
118
|
+
}, 8 /* PROPS */, ["trigger", "placement"]);
|
|
93
119
|
}
|
|
94
120
|
|
|
95
121
|
script.render = render;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
|
+
import { s as script$2 } from './OrIconButton-b7217ea5.js';
|
|
3
|
+
import { s as script$1 } from './OrOverlay-bf72f582.js';
|
|
4
|
+
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createVNode, withModifiers, createCommentVNode } from 'vue';
|
|
5
|
+
|
|
6
|
+
var ModalSize;
|
|
7
|
+
(function (ModalSize) {
|
|
8
|
+
ModalSize["L"] = "l";
|
|
9
|
+
ModalSize["M"] = "m";
|
|
10
|
+
ModalSize["S"] = "s";
|
|
11
|
+
})(ModalSize || (ModalSize = {}));
|
|
12
|
+
|
|
13
|
+
const ModalRoot = [
|
|
14
|
+
// Layout
|
|
15
|
+
'layout-column',
|
|
16
|
+
// Box
|
|
17
|
+
'w-full', 'h-full md:h-auto md:max-h-[min(calc(100%-(2*theme(spacing.3xl))),772px)]',
|
|
18
|
+
// Shape
|
|
19
|
+
'md:rounded-md',
|
|
20
|
+
// Spacing
|
|
21
|
+
'py-md md:py-lg', 'gap-md md:gap-lg',
|
|
22
|
+
// Typography
|
|
23
|
+
'typography-body-2-regular',
|
|
24
|
+
// Theme
|
|
25
|
+
'theme-background-default', 'dark:theme-background-default-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark',
|
|
26
|
+
// Elevation
|
|
27
|
+
'shadow-modal', 'dark:shadow-modal-dark'];
|
|
28
|
+
const ModalRootSizes = {
|
|
29
|
+
'l': [
|
|
30
|
+
// Box
|
|
31
|
+
'md:w-[1050px]'],
|
|
32
|
+
'm': [
|
|
33
|
+
// Box
|
|
34
|
+
'md:w-[700px]'],
|
|
35
|
+
's': [
|
|
36
|
+
// Box
|
|
37
|
+
'md:w-[480px]']
|
|
38
|
+
};
|
|
39
|
+
const ModalHeader = [
|
|
40
|
+
// Layout
|
|
41
|
+
'layout-row',
|
|
42
|
+
// Spacing
|
|
43
|
+
'px-md md:px-lg',
|
|
44
|
+
// Typography
|
|
45
|
+
'typography-headline-2'];
|
|
46
|
+
const ModalContent = [
|
|
47
|
+
// Box
|
|
48
|
+
'grow', 'overflow-auto',
|
|
49
|
+
// Spacing
|
|
50
|
+
'px-md md:px-lg'];
|
|
51
|
+
const ModalFooter = [
|
|
52
|
+
// Spacing
|
|
53
|
+
'px-md md:px-lg'];
|
|
54
|
+
|
|
55
|
+
var script = defineComponent({
|
|
56
|
+
name: 'OrModal',
|
|
57
|
+
components: {
|
|
58
|
+
OrOverlay: script$1,
|
|
59
|
+
OrIconButton: script$2
|
|
60
|
+
},
|
|
61
|
+
inheritAttrs: false,
|
|
62
|
+
props: {
|
|
63
|
+
size: {
|
|
64
|
+
type: String,
|
|
65
|
+
default: ModalSize.M
|
|
66
|
+
},
|
|
67
|
+
isOpen: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: false
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
emits: ['open', 'close'],
|
|
73
|
+
expose: ['root', 'isActive', 'open', 'close'],
|
|
74
|
+
setup(props, context) {
|
|
75
|
+
// Refs
|
|
76
|
+
const root = ref();
|
|
77
|
+
// Styles
|
|
78
|
+
const rootStyles = computed(() => ['or-modal-v3', ...ModalRoot, ...ModalRootSizes[props.size]]);
|
|
79
|
+
const headerStyles = computed(() => [...ModalHeader]);
|
|
80
|
+
const contentStyles = computed(() => [...ModalContent]);
|
|
81
|
+
const footerStyles = computed(() => [...ModalFooter]);
|
|
82
|
+
// State
|
|
83
|
+
const isActive = ref(false);
|
|
84
|
+
// Events
|
|
85
|
+
watch(isActive, value => {
|
|
86
|
+
context.emit(value ? 'open' : 'close');
|
|
87
|
+
});
|
|
88
|
+
watch(() => props.isOpen, newIsOpen => {
|
|
89
|
+
if (newIsOpen) {
|
|
90
|
+
open();
|
|
91
|
+
} else {
|
|
92
|
+
close();
|
|
93
|
+
}
|
|
94
|
+
}, {
|
|
95
|
+
immediate: true
|
|
96
|
+
});
|
|
97
|
+
// Methods
|
|
98
|
+
function open() {
|
|
99
|
+
isActive.value = true;
|
|
100
|
+
}
|
|
101
|
+
function close() {
|
|
102
|
+
isActive.value = false;
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
root,
|
|
106
|
+
rootStyles,
|
|
107
|
+
headerStyles,
|
|
108
|
+
contentStyles,
|
|
109
|
+
footerStyles,
|
|
110
|
+
isActive,
|
|
111
|
+
open,
|
|
112
|
+
close
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
const _hoisted_1 = {
|
|
118
|
+
class: /*#__PURE__*/normalizeClass(['grow'])
|
|
119
|
+
};
|
|
120
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
121
|
+
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
122
|
+
const _component_OrOverlay = resolveComponent("OrOverlay");
|
|
123
|
+
return _ctx.isActive ? (openBlock(), createBlock(_component_OrOverlay, {
|
|
124
|
+
key: 0,
|
|
125
|
+
fullscreen: true
|
|
126
|
+
}, {
|
|
127
|
+
default: withCtx(() => [createElementVNode("div", mergeProps({
|
|
128
|
+
ref: "root"
|
|
129
|
+
}, _ctx.$attrs, {
|
|
130
|
+
class: _ctx.rootStyles
|
|
131
|
+
}), [createElementVNode("div", {
|
|
132
|
+
class: normalizeClass(_ctx.headerStyles)
|
|
133
|
+
}, [createElementVNode("div", _hoisted_1, [renderSlot(_ctx.$slots, "header")]), createVNode(_component_OrIconButton, {
|
|
134
|
+
icon: 'close',
|
|
135
|
+
size: 'l',
|
|
136
|
+
onClick: withModifiers(_ctx.close, ["stop"])
|
|
137
|
+
}, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */), createElementVNode("div", {
|
|
138
|
+
class: normalizeClass(_ctx.contentStyles)
|
|
139
|
+
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */), createElementVNode("div", {
|
|
140
|
+
class: normalizeClass(_ctx.footerStyles)
|
|
141
|
+
}, [renderSlot(_ctx.$slots, "footer")], 2 /* CLASS */)], 16 /* FULL_PROPS */)]),
|
|
142
|
+
|
|
143
|
+
_: 3 /* FORWARDED */
|
|
144
|
+
})) : createCommentVNode("v-if", true);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
script.render = render;
|
|
148
|
+
script.__file = "src/components/or-modal-v3/OrModal.vue";
|
|
149
|
+
|
|
150
|
+
export { ModalSize as M, script as s };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, onBeforeUnmount } from 'vue-demi';
|
|
2
|
-
import './OrButton-
|
|
3
|
-
import { s as script$1 } from './OrIconButton-
|
|
2
|
+
import './OrButton-78a118d7.js';
|
|
3
|
+
import { s as script$1 } from './OrIconButton-ad0cbc8d.js';
|
|
4
4
|
import { s as script$2 } from './OrOverlay-451dce49.js';
|
|
5
5
|
import { onClickOutside } from '@vueuse/core';
|
|
6
6
|
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { s as script$2 } from './OrIconButton-
|
|
2
|
+
import { s as script$2 } from './OrIconButton-b7217ea5.js';
|
|
3
3
|
import { s as script$1 } from './OrIcon-62793572.js';
|
|
4
4
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, renderSlot, createBlock, withModifiers, createCommentVNode } from 'vue';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
2
|
import { s as script$1 } from './OrIcon-d8ea7901.js';
|
|
3
|
-
import './OrButton-
|
|
4
|
-
import { s as script$2 } from './OrIconButton-
|
|
3
|
+
import './OrButton-78a118d7.js';
|
|
4
|
+
import { s as script$2 } from './OrIconButton-ad0cbc8d.js';
|
|
5
5
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createVNode, Fragment, createTextVNode, toDisplayString, createCommentVNode, createBlock } from 'vue';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
2
|
import { useToggle, onClickOutside } from '@vueuse/core';
|
|
3
|
-
import { s as script$2 } from './OrButton-
|
|
4
|
-
import { s as script$3 } from './OrIconButton-
|
|
3
|
+
import { s as script$2 } from './OrButton-78a118d7.js';
|
|
4
|
+
import { s as script$3 } from './OrIconButton-ad0cbc8d.js';
|
|
5
5
|
import { resolveComponent, openBlock, createElementBlock, createVNode, withModifiers, createElementVNode, renderSlot, createBlock, withCtx, Fragment, renderList, createCommentVNode } from 'vue';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
7
7
|
import { s as script$4, O as OrFloatingPlacements } from './OrFloating-1a9ccfe9.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useScrollLock } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
3
|
-
import { u as useElevation } from './useElevation-
|
|
3
|
+
import { u as useElevation } from './useElevation-b5a49746.js';
|
|
4
4
|
import { s as script$1 } from './OrTeleport.vue3-8099178c.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, renderSlot } from 'vue';
|
|
6
6
|
|
|
@@ -4,8 +4,8 @@ import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
|
4
4
|
import { s as script$1 } from './OrButton-c2b6aa9e.js';
|
|
5
5
|
import { s as script$2 } from './OrIcon-62793572.js';
|
|
6
6
|
import { s as script$4 } from './OrMenuItem-dbee450f.js';
|
|
7
|
-
import { s as script$3 } from './OrMenu-
|
|
8
|
-
import './OrPopover-
|
|
7
|
+
import { s as script$3 } from './OrMenu-8a53ccf9.js';
|
|
8
|
+
import './OrPopover-15c2968f.js';
|
|
9
9
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withModifiers, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
10
10
|
|
|
11
11
|
const PaginationRoot = [
|
|
@@ -250,7 +250,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
250
250
|
onClick: _cache[2] || (_cache[2] = withModifiers($event => _ctx.limitMenu.open(), ["stop"]))
|
|
251
251
|
}, {
|
|
252
252
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLimit) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
253
|
-
icon: _ctx.limitMenu && _ctx.limitMenu.
|
|
253
|
+
icon: _ctx.limitMenu && _ctx.limitMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
254
254
|
}, null, 8 /* PROPS */, ["icon"])]),
|
|
255
255
|
_: 1 /* STABLE */
|
|
256
256
|
}, 8 /* PROPS */, ["class"]), createVNode(_component_OrMenu, {
|
|
@@ -2,8 +2,8 @@ import { defineComponent, ref } from 'vue-demi';
|
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
3
|
import { s as script$1 } from './OrInput-9be9a209.js';
|
|
4
4
|
import { u as useToggle } from './useToggle-c04fc920.js';
|
|
5
|
-
import './OrButton-
|
|
6
|
-
import { s as script$2, b as BUTTON_SIZE } from './OrIconButton-
|
|
5
|
+
import './OrButton-78a118d7.js';
|
|
6
|
+
import { s as script$2, b as BUTTON_SIZE } from './OrIconButton-ad0cbc8d.js';
|
|
7
7
|
import { resolveComponent, openBlock, createBlock, createSlots, withCtx, createVNode, renderSlot } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { autoUpdate, computePosition,
|
|
1
|
+
import { autoUpdate, computePosition, flip, shift, hide } from '@floating-ui/dom';
|
|
2
2
|
import { onClickOutside } from '@vueuse/core';
|
|
3
|
-
import { defineComponent, ref, computed,
|
|
4
|
-
import { u as useElevation } from './useElevation-
|
|
5
|
-
import { u as usePopoverState } from './usePopoverState-30ac6da1.js';
|
|
3
|
+
import { defineComponent, ref, computed, watch, watchPostEffect, unref, toRef, nextTick } from 'vue-demi';
|
|
4
|
+
import { u as useElevation } from './useElevation-b5a49746.js';
|
|
6
5
|
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
7
|
-
import { s as script$1 } from './OrBottomSheet-
|
|
6
|
+
import { s as script$1 } from './OrBottomSheet-5969a217.js';
|
|
8
7
|
import { s as script$2 } from './OrTeleport.vue3-8099178c.js';
|
|
9
8
|
import { resolveComponent, openBlock, createBlock, withCtx, withDirectives, createElementVNode, createElementBlock, mergeProps, renderSlot, normalizeClass, createCommentVNode, vShow } from 'vue';
|
|
10
9
|
|
|
@@ -81,10 +80,6 @@ var script = defineComponent({
|
|
|
81
80
|
},
|
|
82
81
|
inheritAttrs: false,
|
|
83
82
|
props: {
|
|
84
|
-
isOpen: {
|
|
85
|
-
type: Boolean,
|
|
86
|
-
default: false
|
|
87
|
-
},
|
|
88
83
|
variant: {
|
|
89
84
|
type: String,
|
|
90
85
|
default: PopoverVariant.Auto
|
|
@@ -114,8 +109,8 @@ var script = defineComponent({
|
|
|
114
109
|
default: false
|
|
115
110
|
}
|
|
116
111
|
},
|
|
117
|
-
emits: ['update:state', 'open', '
|
|
118
|
-
expose: ['root', 'state', '
|
|
112
|
+
emits: ['update:state', 'update:state:open', 'update:state:fullscreen', 'update:state:closed', 'update:state:closed-automatically'],
|
|
113
|
+
expose: ['root', 'state', 'isOpen', 'isFullscreen', 'isClosed', 'isFlipped', 'open', 'close'],
|
|
119
114
|
setup(props, context) {
|
|
120
115
|
const {
|
|
121
116
|
isDesktop,
|
|
@@ -132,14 +127,89 @@ var script = defineComponent({
|
|
|
132
127
|
const rootStyles = computed(() => ['or-popover-v3', ...PopoverRoot, ...props.customStyles]);
|
|
133
128
|
const bodyStyles = computed(() => [...PopoverBody, ...PopoverBodyPlacements[props.placement]]);
|
|
134
129
|
// State
|
|
135
|
-
const
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
toggle
|
|
140
|
-
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
130
|
+
const state = ref('closed');
|
|
131
|
+
const isOpen = computed(() => state.value === 'open');
|
|
132
|
+
const isFullscreen = computed(() => state.value === 'fullscreen');
|
|
133
|
+
const isClosed = computed(() => state.value === 'closed');
|
|
141
134
|
const isFlipped = ref(false);
|
|
142
|
-
|
|
135
|
+
// Events
|
|
136
|
+
watch(state, value => {
|
|
137
|
+
context.emit('update:state', value);
|
|
138
|
+
switch (value) {
|
|
139
|
+
case 'open':
|
|
140
|
+
context.emit('update:state:open');
|
|
141
|
+
break;
|
|
142
|
+
case 'fullscreen':
|
|
143
|
+
context.emit('update:state:fullscreen');
|
|
144
|
+
break;
|
|
145
|
+
case 'closed':
|
|
146
|
+
context.emit('update:state:closed');
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
// Methods
|
|
151
|
+
function open() {
|
|
152
|
+
state.value = 'open';
|
|
153
|
+
switch (props.variant) {
|
|
154
|
+
case PopoverVariant.Auto:
|
|
155
|
+
if (isMobile.value) {
|
|
156
|
+
nextTick(() => {
|
|
157
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
158
|
+
if (bottomSheetInstance) {
|
|
159
|
+
bottomSheetInstance.open();
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
break;
|
|
164
|
+
case PopoverVariant.Popover:
|
|
165
|
+
break;
|
|
166
|
+
case PopoverVariant.BottomSheet:
|
|
167
|
+
nextTick(() => {
|
|
168
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
169
|
+
if (bottomSheetInstance) {
|
|
170
|
+
bottomSheetInstance.open();
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
function close() {
|
|
177
|
+
let auto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
178
|
+
state.value = 'closed';
|
|
179
|
+
switch (props.variant) {
|
|
180
|
+
case PopoverVariant.Auto:
|
|
181
|
+
if (isMobile.value) {
|
|
182
|
+
nextTick(() => {
|
|
183
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
184
|
+
if (bottomSheetInstance) {
|
|
185
|
+
bottomSheetInstance.close();
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
break;
|
|
190
|
+
case PopoverVariant.Popover:
|
|
191
|
+
break;
|
|
192
|
+
case PopoverVariant.BottomSheet:
|
|
193
|
+
nextTick(() => {
|
|
194
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
195
|
+
if (bottomSheetInstance) {
|
|
196
|
+
bottomSheetInstance.close();
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
if (auto) {
|
|
202
|
+
context.emit('update:state:closed-automatically');
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
// Handlers
|
|
206
|
+
function handleBottomSheetState(bottomSheetState) {
|
|
207
|
+
if (bottomSheetState === 'closed') {
|
|
208
|
+
state.value = 'closed';
|
|
209
|
+
} else {
|
|
210
|
+
state.value = 'open';
|
|
211
|
+
}
|
|
212
|
+
}
|
|
143
213
|
// Effects
|
|
144
214
|
watchPostEffect(() => {
|
|
145
215
|
const rootElement = unref(root);
|
|
@@ -150,14 +220,14 @@ var script = defineComponent({
|
|
|
150
220
|
} = props;
|
|
151
221
|
if (trigger) {
|
|
152
222
|
autoUpdate(trigger, rootElement, async () => {
|
|
153
|
-
var _a
|
|
223
|
+
var _a;
|
|
154
224
|
const {
|
|
155
225
|
x,
|
|
156
226
|
y,
|
|
157
227
|
middlewareData
|
|
158
228
|
} = await computePosition(trigger, rootElement, {
|
|
159
229
|
placement,
|
|
160
|
-
middleware: [
|
|
230
|
+
middleware: [flip(), shift(), hide()]
|
|
161
231
|
});
|
|
162
232
|
Object.assign(rootElement.style, {
|
|
163
233
|
left: `${x}px`,
|
|
@@ -166,14 +236,10 @@ var script = defineComponent({
|
|
|
166
236
|
width: props.fullWidth ? `${trigger.offsetWidth}px` : ''
|
|
167
237
|
});
|
|
168
238
|
isFlipped.value = Boolean((_a = middlewareData.flip) === null || _a === void 0 ? void 0 : _a.index);
|
|
169
|
-
isHidden.value = Boolean((_b = middlewareData.hide) === null || _b === void 0 ? void 0 : _b.referenceHidden);
|
|
170
239
|
});
|
|
171
240
|
}
|
|
172
241
|
}
|
|
173
242
|
});
|
|
174
|
-
// #region Elevation
|
|
175
|
-
useElevation(root, state);
|
|
176
|
-
// #endregion
|
|
177
243
|
// #region Click Outside
|
|
178
244
|
const trigger = toRef(props, 'trigger');
|
|
179
245
|
onClickOutside(root, event => {
|
|
@@ -184,26 +250,31 @@ var script = defineComponent({
|
|
|
184
250
|
} = _ref;
|
|
185
251
|
return (classList === null || classList === void 0 ? void 0 : classList.contains('or-popover-v3')) || (classList === null || classList === void 0 ? void 0 : classList.contains('or-bottom-sheet-v3'));
|
|
186
252
|
})) {
|
|
187
|
-
close();
|
|
253
|
+
close(true);
|
|
188
254
|
}
|
|
189
255
|
}, {
|
|
190
256
|
ignore: [trigger]
|
|
191
257
|
});
|
|
192
258
|
// #endregion
|
|
259
|
+
// #region Elevation
|
|
260
|
+
useElevation(root, state);
|
|
261
|
+
// #endregion
|
|
193
262
|
return {
|
|
194
263
|
isDesktop,
|
|
195
264
|
isMobile,
|
|
196
265
|
root,
|
|
197
266
|
bottomSheet,
|
|
198
267
|
bottomSheetRoot,
|
|
268
|
+
handleBottomSheetState,
|
|
199
269
|
rootStyles,
|
|
200
270
|
bodyStyles,
|
|
201
271
|
state,
|
|
272
|
+
isOpen,
|
|
273
|
+
isFullscreen,
|
|
274
|
+
isClosed,
|
|
202
275
|
isFlipped,
|
|
203
|
-
isHidden,
|
|
204
276
|
open,
|
|
205
|
-
close
|
|
206
|
-
toggle
|
|
277
|
+
close
|
|
207
278
|
};
|
|
208
279
|
}
|
|
209
280
|
});
|
|
@@ -229,12 +300,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
229
300
|
key: 1,
|
|
230
301
|
ref: "bottomSheet"
|
|
231
302
|
}, _ctx.bottomSheetProps, {
|
|
232
|
-
"
|
|
233
|
-
"onUpdate:state": _cache[
|
|
303
|
+
"onUpdate:state": _cache[0] || (_cache[0] = $event => _ctx.state = $event),
|
|
304
|
+
"onUpdate:state:closedAutomatically": _cache[1] || (_cache[1] = $event => _ctx.$emit('update:state:closed-automatically'))
|
|
234
305
|
}), {
|
|
235
306
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
236
307
|
_: 3 /* FORWARDED */
|
|
237
|
-
}, 16 /* FULL_PROPS
|
|
308
|
+
}, 16 /* FULL_PROPS */)) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, _ctx.isOpen]])]),
|
|
238
309
|
_: 3 /* FORWARDED */
|
|
239
310
|
});
|
|
240
311
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
2
|
import { s as script$1 } from './OrInput-9be9a209.js';
|
|
3
3
|
import { debouncedWatch } from '@vueuse/core';
|
|
4
|
-
import './OrButton-
|
|
5
|
-
import { s as script$2, b as BUTTON_SIZE } from './OrIconButton-
|
|
4
|
+
import './OrButton-78a118d7.js';
|
|
5
|
+
import { s as script$2, b as BUTTON_SIZE } from './OrIconButton-ad0cbc8d.js';
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, createSlots, withCtx, createVNode, normalizeStyle, renderSlot } from 'vue';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { s as script$1 } from './OrInput-
|
|
3
|
+
import { s as script$1 } from './OrInput-af5bb98a.js';
|
|
4
4
|
import { I as InputBoxSize } from './OrInputBox-ba40bbdf.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
2
|
import { onClickOutside } from '@vueuse/core';
|
|
3
|
-
import { i as isEmpty, s as script$c } from './OrLoader-
|
|
3
|
+
import { i as isEmpty, s as script$c } from './OrLoader-7b006619.js';
|
|
4
4
|
import { s as script$a } from './OrIcon-d8ea7901.js';
|
|
5
5
|
import keyBy from 'lodash/keyBy';
|
|
6
6
|
import { s as script$9 } from './OrChip-857982e0.js';
|
|
@@ -2,17 +2,17 @@ import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch }
|
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import { u as useOverflow } from './useOverflow-c856b7b7.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import { s as script$1 } from './OrCheckbox-
|
|
5
|
+
import { s as script$1, i as isEmptyValue } from './OrCheckbox-7093e9c2.js';
|
|
6
6
|
import { s as script$2 } from './OrError-c01d0c29.js';
|
|
7
7
|
import { s as script$3 } from './OrExpansionPanel-c016d8fa.js';
|
|
8
8
|
import { s as script$4 } from './OrHint-06ab89d7.js';
|
|
9
9
|
import { s as script$5 } from './OrIcon-62793572.js';
|
|
10
10
|
import { s as script$7, I as InputBoxSize } from './OrInputBox-ba40bbdf.js';
|
|
11
|
-
import { s as script$6 } from './OrInput-
|
|
11
|
+
import { s as script$6 } from './OrInput-af5bb98a.js';
|
|
12
12
|
import { s as script$8 } from './OrLabel-4da56db0.js';
|
|
13
13
|
import { s as script$9 } from './OrMenuItem-dbee450f.js';
|
|
14
|
-
import { s as script$a } from './OrPopover-
|
|
15
|
-
import { s as script$b } from './OrTag-
|
|
14
|
+
import { s as script$a } from './OrPopover-15c2968f.js';
|
|
15
|
+
import { s as script$b } from './OrTag-8605e9e6.js';
|
|
16
16
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, createVNode, withModifiers, vShow } from 'vue';
|
|
17
17
|
|
|
18
18
|
const SelectRoot = [
|
|
@@ -200,6 +200,9 @@ var script = defineComponent({
|
|
|
200
200
|
context.emit('update:modelValue', value);
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
|
+
const isEmptyModelValue = computed(() => {
|
|
204
|
+
return Array.isArray(proxyModelValue.value) ? proxyModelValue.value.length === 0 : isEmptyValue(proxyModelValue.value);
|
|
205
|
+
});
|
|
203
206
|
onMounted(() => {
|
|
204
207
|
if (!proxyModelValue.value && props.multiple) {
|
|
205
208
|
proxyModelValue.value = [];
|
|
@@ -289,6 +292,7 @@ var script = defineComponent({
|
|
|
289
292
|
controlId,
|
|
290
293
|
proxyModelValue,
|
|
291
294
|
readonly,
|
|
295
|
+
isEmptyModelValue,
|
|
292
296
|
selection,
|
|
293
297
|
searchText,
|
|
294
298
|
internalSearchOptions,
|
|
@@ -382,7 +386,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
382
386
|
class: normalizeClass(_ctx.placeholderStyles)
|
|
383
387
|
}, toDisplayString(_ctx.placeholder), 3 /* TEXT, CLASS */))]) : (openBlock(), createElementBlock(Fragment, {
|
|
384
388
|
key: 1
|
|
385
|
-
}, [_ctx.
|
|
389
|
+
}, [!_ctx.isEmptyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
386
390
|
key: 0,
|
|
387
391
|
model: _ctx.proxyModelValue
|
|
388
392
|
}, () => [createElementVNode("span", _hoisted_2, toDisplayString(_ctx.selection.label), 1 /* TEXT */)]) : (openBlock(), createElementBlock("span", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, useSlots, watch } from 'vue-demi';
|
|
3
|
-
import { O as OrSidebarPlacement, s as script$1 } from './OrSidebarCollapseButton-
|
|
3
|
+
import { O as OrSidebarPlacement, s as script$1 } from './OrSidebarCollapseButton-2668946c.js';
|
|
4
4
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createElementVNode, normalizeStyle, createBlock, withDirectives, vShow } from 'vue';
|
|
5
5
|
|
|
6
6
|
const SidebarRoot = [
|