@onereach/ui-components 4.6.2-beta.2777.0 → 4.6.2-beta.2779.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/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 +1 -2
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +1 -2
- 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 +51 -27
- 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 +1 -2
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +1 -2
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +1 -2
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +1 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +1 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +1 -2
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +1 -2
- package/dist/bundled/v2/components/OrInputV3/index.js +1 -2
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +49 -25
- 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 +64 -219
- 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 +1 -2
- package/dist/bundled/v2/components/OrNotificationV3/index.js +1 -2
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +0 -1
- package/dist/bundled/v2/components/OrPaginationV3/index.js +0 -1
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +95 -29
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +12 -17
- 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 +1 -2
- package/dist/bundled/v2/components/OrTagV3/index.js +1 -2
- 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 +1 -2
- package/dist/bundled/v2/components/OrToastV3/index.js +1 -2
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +41 -35
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +17 -20
- package/dist/bundled/v2/components/OrTooltipV3/index.js +1 -2
- 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/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-c3a0e7b5.js → OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js} +44 -27
- 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-ee7e1cd6.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-a379bae2.js → OrConfirm.vue_vue_type_script_lang-e1390930.js} +50 -26
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-9c4433e5.js → OrDatePicker.vue_vue_type_script_lang-d071d109.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-69777a12.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-b91d3238.js → OrDateTimePickerMonthSelect-387c2096.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-17f98298.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-9317d5a9.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-e89beaab.js → OrInlineTextarea.vue_vue_type_script_lang-da59cd8e.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-655989d4.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-664a7d4d.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-c58c940d.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-3592b581.js → OrPopover.vue_vue_type_script_lang-7b1b2488.js} +90 -21
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-b402fffd.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-3ef33dde.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-e6e6fc59.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-9cdb914d.js → OrTabs.vue_vue_type_script_lang-9d4221f1.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-3a636796.js → OrTag.vue_vue_type_script_lang-09948d1f.js} +1 -1
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-325c7158.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-c0c5aa8f.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 +5 -6
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +11 -16
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +1 -2
- 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 +9 -10
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +34 -16
- package/dist/bundled/v3/components/OrConfirmV3/index.js +6 -7
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +9 -10
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +7 -8
- 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 +10 -11
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +7 -8
- 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 +7 -9
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +6 -13
- package/dist/bundled/v3/components/OrMenuV3/index.js +3 -4
- 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 +15 -12
- 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/OrPaginationV3/OrPagination.js +5 -6
- package/dist/bundled/v3/components/OrPaginationV3/index.js +4 -5
- 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 +6 -8
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +12 -15
- package/dist/bundled/v3/components/OrPopoverV3/index.js +2 -3
- 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 +7 -8
- package/dist/bundled/v3/components/OrSearchV3/index.js +6 -7
- 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 +11 -11
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +1 -0
- package/dist/bundled/v3/components/OrSelectV3/index.js +9 -9
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +6 -7
- package/dist/bundled/v3/components/OrSidebarV3/index.js +5 -6
- 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 +5 -6
- package/dist/bundled/v3/components/OrTabsV3/index.js +4 -5
- 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 +7 -8
- package/dist/bundled/v3/components/OrTagsV3/index.js +6 -7
- 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 +7 -8
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +5 -6
- 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 +6 -7
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +5 -6
- 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 -13
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +7 -17
- package/dist/bundled/v3/components/OrTooltipV3/index.js +4 -5
- package/dist/bundled/v3/components/index.js +49 -49
- package/dist/bundled/v3/hooks/index.d.ts +0 -1
- package/dist/bundled/v3/hooks/index.js +0 -1
- package/dist/bundled/v3/index.js +50 -50
- 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-d766008a.js → OrBottomSheet-ffa029ca.js} +47 -30
- 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-5b123301.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-be3a54ef.js → OrConfirm-8ec55f84.js} +52 -28
- package/dist/esm/v2/{OrConfirm-49df6698.js → OrConfirm-f4eec5b2.js} +3 -3
- package/dist/esm/v2/{OrDatePicker-24c5f395.js → OrDatePicker-b6ebf44a.js} +4 -4
- package/dist/esm/v2/{OrDateTimePicker-e054f914.js → OrDateTimePicker-85c08b90.js} +5 -5
- package/dist/esm/v2/{OrDateTimePicker-d095cd1e.js → OrDateTimePicker-fb410167.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-90a873ba.js → OrDateTimePickerMonthSelect-e35404a7.js} +3 -3
- package/dist/esm/v2/{OrIconButton-e60f47af.js → OrIconButton-544ee642.js} +1 -1
- package/dist/esm/v2/{OrIconButton-4fdb749c.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-d5c5d651.js → OrInlineInput-a131caf4.js} +1 -1
- package/dist/esm/v2/{OrInlineTextEdit-362e9f5b.js → OrInlineTextEdit-f52267aa.js} +3 -3
- package/dist/esm/v2/{OrInlineTextarea-bbbb2b82.js → OrInlineTextarea-7cc45396.js} +1 -1
- package/dist/esm/v2/{OrInput-166bf64a.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-cf3c3d51.js → OrMenu-8b902c22.js} +50 -27
- 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-1cc97f8e.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/{OrPagination-82d22a5c.js → OrPagination-36583054.js} +2 -2
- package/dist/esm/v2/{OrPassword-12a00ddc.js → OrPassword-1de0dc6c.js} +3 -3
- package/dist/esm/v2/{OrPopover-238620ae.js → OrPopover-80459663.js} +96 -30
- package/dist/esm/v2/{OrSearch-4a2cfe75.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-301d2a6b.js → OrSelect-dd8affc1.js} +9 -5
- package/dist/esm/v2/{OrSidebar-673bef16.js → OrSidebar-638b1d60.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-b92c3848.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-68e1416d.js → OrTabs-653258a2.js} +2 -2
- package/dist/esm/v2/{OrTag-a9ca8c34.js → OrTag-6256623c.js} +1 -1
- package/dist/esm/v2/{OrTags-d2548f30.js → OrTags-db2608dc.js} +2 -2
- package/dist/esm/v2/{OrTextbox-b666b30b.js → OrTextbox-c85d7fe6.js} +3 -3
- package/dist/esm/v2/{OrTimePicker-e2929d18.js → OrTimePicker-696e29ed.js} +3 -3
- package/dist/esm/v2/{OrToastContainer-913c152f.js → OrToastContainer-7017d12b.js} +3 -3
- package/dist/esm/v2/{OrTooltip-e9e967e3.js → OrTooltip-5a6e0f64.js} +42 -36
- package/dist/esm/v2/components/index.js +51 -52
- 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 +1 -2
- 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 +8 -9
- 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 +6 -7
- package/dist/esm/v2/components/or-date-picker-v3/index.js +7 -8
- 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 +7 -8
- package/dist/esm/v2/components/or-icon-button-v2/index.js +3 -3
- package/dist/esm/v2/components/or-icon-button-v3/index.js +4 -5
- package/dist/esm/v2/components/or-inline-input-v3/index.js +5 -6
- package/dist/esm/v2/components/or-inline-text-edit/index.js +5 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +5 -6
- package/dist/esm/v2/components/or-input-v3/index.js +5 -6
- 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 +4 -5
- 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 +10 -11
- 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 +5 -6
- package/dist/esm/v2/components/or-overflow-menu/index.js +6 -6
- package/dist/esm/v2/components/or-pagination-v3/index.js +4 -5
- package/dist/esm/v2/components/or-password/index.js +5 -5
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +12 -17
- package/dist/esm/v2/components/or-popover-v3/index.js +2 -3
- package/dist/esm/v2/components/or-search/index.js +5 -5
- package/dist/esm/v2/components/or-search-v3/index.js +6 -7
- 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 +8 -9
- package/dist/esm/v2/components/or-sidebar-v3/index.js +6 -7
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +5 -6
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +5 -6
- 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 +4 -5
- package/dist/esm/v2/components/or-tag-v3/index.js +5 -6
- package/dist/esm/v2/components/or-tags-v3/index.js +6 -7
- package/dist/esm/v2/components/or-textbox/index.js +5 -5
- package/dist/esm/v2/components/or-time-picker-v3/index.js +5 -6
- 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 +5 -6
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +5 -6
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +17 -20
- package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -5
- package/dist/esm/v2/hooks/index.d.ts +0 -1
- package/dist/esm/v2/hooks/index.js +0 -1
- package/dist/esm/v2/index.js +51 -52
- package/dist/esm/v2/{types-3d410a76.js → types-4a7d24f3.js} +1 -1
- 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-946c14d3.js → OrBottomSheet-5969a217.js} +47 -30
- 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-052a234f.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-bbc33f51.js → OrConfirm-fe8617ac.js} +52 -28
- package/dist/esm/v3/{OrDatePicker-67821b38.js → OrDatePicker-f144d074.js} +4 -4
- package/dist/esm/v3/{OrDateTimePicker-1492b2f5.js → OrDateTimePicker-2214cd85.js} +5 -5
- package/dist/esm/v3/{OrDateTimePicker-cde869f4.js → OrDateTimePicker-c19dcefc.js} +2 -2
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-5bc6cb7c.js → OrDateTimePickerMonthSelect-5a7b7b5c.js} +3 -3
- package/dist/esm/v3/{OrIconButton-440b9f36.js → OrIconButton-ad0cbc8d.js} +1 -1
- package/dist/esm/v3/{OrIconButton-ce1b5542.js → OrIconButton-b7217ea5.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-f6d3ce66.js → OrInlineInput-dcb28ea2.js} +1 -1
- package/dist/esm/v3/{OrInlineTextEdit-be428430.js → OrInlineTextEdit-6bf54bd0.js} +2 -2
- package/dist/esm/v3/{OrInlineTextarea-c3158522.js → OrInlineTextarea-88eac437.js} +1 -1
- package/dist/esm/v3/{OrInput-02821bda.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-744b63ce.js → OrMenu-8a53ccf9.js} +50 -25
- 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-a699caa8.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/{OrPagination-8b62bd4c.js → OrPagination-c6046af4.js} +2 -2
- package/dist/esm/v3/{OrPassword-42208c82.js → OrPassword-9192b9ea.js} +2 -2
- package/dist/esm/v3/{OrPopover-bec73a66.js → OrPopover-15c2968f.js} +93 -25
- package/dist/esm/v3/{OrSearch-cdb1eeb4.js → OrSearch-d0c8aca7.js} +2 -2
- package/dist/esm/v3/{OrSearch-1333d290.js → OrSearch-ecad7638.js} +1 -1
- package/dist/esm/v3/{OrSelect-24937c69.js → OrSelect-60205145.js} +1 -1
- package/dist/esm/v3/{OrSelect-53acc3c2.js → OrSelect-cfb336db.js} +9 -5
- package/dist/esm/v3/{OrSidebar-8fb3da8d.js → OrSidebar-1579ad80.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-170c2be1.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-7039110c.js → OrTabs-a2d87627.js} +2 -2
- package/dist/esm/v3/{OrTag-8521661a.js → OrTag-8605e9e6.js} +1 -1
- package/dist/esm/v3/{OrTags-b677a73b.js → OrTags-3724ff59.js} +2 -2
- package/dist/esm/v3/{OrTextbox-5bdb513f.js → OrTextbox-56714f51.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-49867a2d.js → OrTimePicker-68de86d9.js} +3 -3
- package/dist/esm/v3/{OrToastContainer-000547a2.js → OrToastContainer-72b52576.js} +2 -2
- package/dist/esm/v3/{OrTooltip-54c18e36.js → OrTooltip-3d5fcaf9.js} +42 -28
- package/dist/esm/v3/components/index.js +49 -50
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +11 -16
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +1 -2
- 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 +8 -9
- 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 +34 -16
- package/dist/esm/v3/components/or-confirm-v3/index.js +6 -7
- package/dist/esm/v3/components/or-date-picker-v3/index.js +7 -8
- 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 +7 -8
- package/dist/esm/v3/components/or-icon-button-v2/index.js +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +4 -5
- package/dist/esm/v3/components/or-inline-input-v3/index.js +5 -6
- package/dist/esm/v3/components/or-inline-text-edit/index.js +4 -4
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +5 -6
- package/dist/esm/v3/components/or-input-v3/index.js +5 -6
- 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 +6 -13
- package/dist/esm/v3/components/or-menu-v3/index.js +4 -5
- package/dist/esm/v3/components/or-modal/index.js +4 -4
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +15 -12
- 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 +5 -6
- package/dist/esm/v3/components/or-overflow-menu/index.js +4 -4
- package/dist/esm/v3/components/or-pagination-v3/index.js +4 -5
- package/dist/esm/v3/components/or-password/index.js +4 -4
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +12 -15
- package/dist/esm/v3/components/or-popover-v3/index.js +2 -3
- package/dist/esm/v3/components/or-search/index.js +4 -4
- package/dist/esm/v3/components/or-search-v3/index.js +6 -7
- 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 +8 -9
- package/dist/esm/v3/components/or-sidebar-v3/index.js +6 -7
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +5 -6
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +5 -6
- 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 +4 -5
- package/dist/esm/v3/components/or-tag-v3/index.js +5 -6
- package/dist/esm/v3/components/or-tags-v3/index.js +6 -7
- package/dist/esm/v3/components/or-textbox/index.js +4 -4
- package/dist/esm/v3/components/or-time-picker-v3/index.js +5 -6
- 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 +5 -6
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +5 -6
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +7 -17
- package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -5
- package/dist/esm/v3/hooks/index.d.ts +0 -1
- package/dist/esm/v3/hooks/index.js +0 -1
- package/dist/esm/v3/index.js +49 -50
- package/dist/esm/v3/{types-c61726e4.js → types-9e1555eb.js} +1 -1
- package/dist/esm/v3/utils/isEmpty.d.ts +1 -1
- package/dist/esm/v3/utils/isEmptyValue.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +60 -27
- package/src/components/or-checkbox-v3/OrCheckbox.vue +2 -1
- package/src/components/or-confirm-v3/OrConfirm.vue +50 -25
- 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 +42 -17
- package/src/components/or-modal-v3/OrModal.vue +65 -27
- package/src/components/or-modal-v3/styles.ts +25 -0
- package/src/components/or-popover-v3/OrPopover.vue +123 -22
- 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 +41 -23
- package/src/hooks/index.ts +0 -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 -37
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-a8e1eb6d.js +0 -66
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-6b9587d0.js +0 -160
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-de8c7ff1.js +0 -55
- package/dist/bundled/v3/hooks/usePopoverState.d.ts +0 -8
- package/dist/bundled/v3/hooks/usePopoverState.js +0 -37
- package/dist/esm/v2/OrModal-9cc9f073.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-4cb59ae5.js +0 -37
- package/dist/esm/v3/OrModal-e30178be.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-4cb59ae5.js +0 -37
- 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 -51
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-270e1029.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/{OrToastContainer.vue_vue_type_script_lang-7caa56c5.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
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
5
5
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
6
6
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
7
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
7
|
+
import { _ as __vue_component__$3 } from './OrIconButton-ee747c71.js';
|
|
8
8
|
import { _ as __vue_component__$4 } from './OrInlineInputBox-19b49ee6.js';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -5,7 +5,7 @@ import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
|
5
5
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
7
7
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
8
|
-
import { _ as __vue_component__$4 } from './OrIconButton-
|
|
8
|
+
import { _ as __vue_component__$4 } from './OrIconButton-ee747c71.js';
|
|
9
9
|
import { _ as __vue_component__$3 } from './OrIcon-d35a84d8.js';
|
|
10
10
|
import { _ as __vue_component__$5 } from './OrInputBox-d36b1323.js';
|
|
11
11
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-fe250f7a.js';
|
|
@@ -4,9 +4,9 @@ import isEqual from 'lodash/isEqual';
|
|
|
4
4
|
import { v4 } from 'uuid';
|
|
5
5
|
import Sortable from 'sortablejs';
|
|
6
6
|
import { _ as __vue_component__$2 } from './OrLabel-fcceec1b.js';
|
|
7
|
-
import { _ as __vue_component__$3 } from './OrButton-
|
|
8
|
-
import { _ as __vue_component__$4 } from './OrIconButton-
|
|
9
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
7
|
+
import { _ as __vue_component__$3 } from './OrButton-b60290c4.js';
|
|
8
|
+
import { _ as __vue_component__$4 } from './OrIconButton-544ee642.js';
|
|
9
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
10
10
|
import { _ as __vue_component__$5 } from './OrIcon-fa826b6b.js';
|
|
11
11
|
import { _ as __vue_component__$1 } from './OrError-efc74907.js';
|
|
12
12
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrList-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrList-2e65227a.js';
|
|
3
3
|
import { _ as __vue_component__$2 } from './OrInput-014d2e47.js';
|
|
4
4
|
import { _ as __vue_component__$3 } from './OrIcon-fa826b6b.js';
|
|
5
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
6
|
-
import { _ as __vue_component__$4 } from './OrIconButton-
|
|
7
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
5
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js';
|
|
6
|
+
import { _ as __vue_component__$4 } from './OrIconButton-544ee642.js';
|
|
7
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
|
|
@@ -2,7 +2,9 @@ import { defineComponent } from 'vue-demi';
|
|
|
2
2
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
function isEmpty(val) {
|
|
6
|
+
return val == null || !(Object.keys(val) || val).length;
|
|
7
|
+
}
|
|
6
8
|
|
|
7
9
|
var LoaderViews;
|
|
8
10
|
(function (LoaderViews) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, computed
|
|
2
|
-
import '
|
|
3
|
-
import { u as usePopoverState } from './usePopoverState-4cb59ae5.js';
|
|
4
|
-
import { _ as __vue_component__$1, P as PopoverPlacement } from './OrPopover-238620ae.js';
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { _ as __vue_component__$1, P as PopoverPlacement } from './OrPopover-80459663.js';
|
|
5
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
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: ['
|
|
34
|
-
expose: ['root', '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,
|
|
@@ -77,8 +103,8 @@ var __vue_render__ = function () {
|
|
|
77
103
|
var _h = _vm.$createElement;
|
|
78
104
|
var _c = _vm._self._c || _h;
|
|
79
105
|
return _c('OrPopover', {
|
|
106
|
+
ref: "popover",
|
|
80
107
|
attrs: {
|
|
81
|
-
"is-open": _vm.state === 'open',
|
|
82
108
|
"variant": 'auto',
|
|
83
109
|
"trigger": _vm.trigger,
|
|
84
110
|
"placement": _vm.placement,
|
|
@@ -86,11 +112,8 @@ var __vue_render__ = function () {
|
|
|
86
112
|
"disable-default-styles": false
|
|
87
113
|
},
|
|
88
114
|
on: {
|
|
89
|
-
"
|
|
90
|
-
return _vm
|
|
91
|
-
},
|
|
92
|
-
"close": function ($event) {
|
|
93
|
-
return _vm.close();
|
|
115
|
+
"update:state": function ($event) {
|
|
116
|
+
return _vm.$emit('update:state', $event);
|
|
94
117
|
}
|
|
95
118
|
}
|
|
96
119
|
}, [_c('div', _vm._b({
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-ee747c71.js';
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrOverlay-4c8c11e2.js';
|
|
4
|
+
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
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: __vue_component__$1,
|
|
59
|
+
OrIconButton: __vue_component__$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
|
+
/* script */
|
|
118
|
+
const __vue_script__ = script;
|
|
119
|
+
|
|
120
|
+
/* template */
|
|
121
|
+
var __vue_render__ = function () {
|
|
122
|
+
var _vm = this;
|
|
123
|
+
var _h = _vm.$createElement;
|
|
124
|
+
var _c = _vm._self._c || _h;
|
|
125
|
+
return _vm.isActive ? _c('OrOverlay', {
|
|
126
|
+
attrs: {
|
|
127
|
+
"fullscreen": true
|
|
128
|
+
}
|
|
129
|
+
}, [_c('div', _vm._b({
|
|
130
|
+
ref: "root",
|
|
131
|
+
class: _vm.rootStyles
|
|
132
|
+
}, 'div', _vm.$attrs, false), [_c('div', {
|
|
133
|
+
class: _vm.headerStyles
|
|
134
|
+
}, [_c('div', {
|
|
135
|
+
class: ['grow']
|
|
136
|
+
}, [_vm._t("header")], 2), _vm._v(" "), _c('OrIconButton', {
|
|
137
|
+
attrs: {
|
|
138
|
+
"icon": 'close',
|
|
139
|
+
"size": 'l'
|
|
140
|
+
},
|
|
141
|
+
on: {
|
|
142
|
+
"click": function ($event) {
|
|
143
|
+
$event.stopPropagation();
|
|
144
|
+
return _vm.close.apply(null, arguments);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
})], 1), _vm._v(" "), _c('div', {
|
|
148
|
+
class: _vm.contentStyles
|
|
149
|
+
}, [_vm._t("default")], 2), _vm._v(" "), _c('div', {
|
|
150
|
+
class: _vm.footerStyles
|
|
151
|
+
}, [_vm._t("footer")], 2)])]) : _vm._e();
|
|
152
|
+
};
|
|
153
|
+
var __vue_staticRenderFns__ = [];
|
|
154
|
+
|
|
155
|
+
/* style */
|
|
156
|
+
const __vue_inject_styles__ = undefined;
|
|
157
|
+
/* scoped */
|
|
158
|
+
const __vue_scope_id__ = undefined;
|
|
159
|
+
/* module identifier */
|
|
160
|
+
const __vue_module_identifier__ = undefined;
|
|
161
|
+
/* functional template */
|
|
162
|
+
const __vue_is_functional_template__ = false;
|
|
163
|
+
/* style inject */
|
|
164
|
+
|
|
165
|
+
/* style inject SSR */
|
|
166
|
+
|
|
167
|
+
/* style inject shadow dom */
|
|
168
|
+
|
|
169
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
170
|
+
render: __vue_render__,
|
|
171
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
172
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
173
|
+
|
|
174
|
+
export { ModalSize as M, __vue_component__ as _ };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, onBeforeUnmount } from 'vue-demi';
|
|
2
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
3
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
4
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
2
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js';
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrIconButton-544ee642.js';
|
|
4
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
5
5
|
import { _ as __vue_component__$2 } from './OrOverlay-ccec2218.js';
|
|
6
6
|
import { onClickOutside } from '@vueuse/core';
|
|
7
7
|
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-ee747c71.js';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrIcon-d35a84d8.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$1 } from './OrIcon-fa826b6b.js';
|
|
3
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
4
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
5
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
3
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js';
|
|
4
|
+
import { _ as __vue_component__$2 } from './OrIconButton-544ee642.js';
|
|
5
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
2
|
import { useToggle, onClickOutside } from '@vueuse/core';
|
|
3
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
4
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
5
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
6
|
-
import { _ as __vue_component__$2 } from './OrButton-
|
|
3
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js';
|
|
4
|
+
import { _ as __vue_component__$3 } from './OrIconButton-544ee642.js';
|
|
5
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
6
|
+
import { _ as __vue_component__$2 } from './OrButton-b60290c4.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
9
|
import { _ as __vue_component__$4, O as OrFloatingPlacements } from './OrFloating-e7ac7618.js';
|
|
@@ -4,8 +4,8 @@ import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
|
4
4
|
import { _ as __vue_component__$1 } from './OrButton-9622e713.js';
|
|
5
5
|
import { _ as __vue_component__$2 } from './OrIcon-d35a84d8.js';
|
|
6
6
|
import { _ as __vue_component__$4 } from './OrMenuItem-6f9b8a93.js';
|
|
7
|
-
import { _ as __vue_component__$3 } from './OrMenu-
|
|
8
|
-
import './OrPopover-
|
|
7
|
+
import { _ as __vue_component__$3 } from './OrMenu-8b902c22.js';
|
|
8
|
+
import './OrPopover-80459663.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
|
|
11
11
|
const PaginationRoot = [
|
|
@@ -2,9 +2,9 @@ import { defineComponent, ref } from 'vue-demi';
|
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrInput-014d2e47.js';
|
|
4
4
|
import { u as useToggle } from './useToggle-c04fc920.js';
|
|
5
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
6
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
7
|
-
import { b as BUTTON_SIZE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
5
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js';
|
|
6
|
+
import { _ as __vue_component__$2 } from './OrIconButton-544ee642.js';
|
|
7
|
+
import { b as BUTTON_SIZE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { autoUpdate, computePosition, flip, shift, hide } from '@floating-ui/dom';
|
|
2
2
|
import { onClickOutside } from '@vueuse/core';
|
|
3
|
-
import { defineComponent, ref, computed,
|
|
3
|
+
import { defineComponent, ref, computed, watch, watchPostEffect, unref, toRef, nextTick } from 'vue-demi';
|
|
4
4
|
import { u as useElevation } from './useElevation-b5a49746.js';
|
|
5
|
-
import { u as usePopoverState } from './usePopoverState-4cb59ae5.js';
|
|
6
5
|
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
7
|
-
import { _ as __vue_component__$1 } from './OrBottomSheet-
|
|
6
|
+
import { _ as __vue_component__$1 } from './OrBottomSheet-ffa029ca.js';
|
|
8
7
|
import { _ as __vue_component__$2 } from './OrTeleport.vue2-424c7f33.js';
|
|
9
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
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: ['open', '
|
|
118
|
-
expose: ['root', '
|
|
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,12 +127,81 @@ 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
|
-
|
|
140
|
-
|
|
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');
|
|
134
|
+
const isFlipped = ref(false);
|
|
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
|
+
}
|
|
141
205
|
// Handlers
|
|
142
206
|
function handleBottomSheetState(bottomSheetState) {
|
|
143
207
|
if (bottomSheetState === 'closed') {
|
|
@@ -156,6 +220,7 @@ var script = defineComponent({
|
|
|
156
220
|
} = props;
|
|
157
221
|
if (trigger) {
|
|
158
222
|
autoUpdate(trigger, rootElement, async () => {
|
|
223
|
+
var _a;
|
|
159
224
|
const {
|
|
160
225
|
x,
|
|
161
226
|
y,
|
|
@@ -170,13 +235,11 @@ var script = defineComponent({
|
|
|
170
235
|
visibility: middlewareData.hide.referenceHidden ? 'hidden' : 'visible',
|
|
171
236
|
width: props.fullWidth ? `${trigger.offsetWidth}px` : ''
|
|
172
237
|
});
|
|
238
|
+
isFlipped.value = Boolean((_a = middlewareData.flip) === null || _a === void 0 ? void 0 : _a.index);
|
|
173
239
|
});
|
|
174
240
|
}
|
|
175
241
|
}
|
|
176
242
|
});
|
|
177
|
-
// #region Elevation
|
|
178
|
-
useElevation(root, state);
|
|
179
|
-
// #endregion
|
|
180
243
|
// #region Click Outside
|
|
181
244
|
const trigger = toRef(props, 'trigger');
|
|
182
245
|
onClickOutside(root, event => {
|
|
@@ -187,12 +250,15 @@ var script = defineComponent({
|
|
|
187
250
|
} = _ref;
|
|
188
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'));
|
|
189
252
|
})) {
|
|
190
|
-
close();
|
|
253
|
+
close(true);
|
|
191
254
|
}
|
|
192
255
|
}, {
|
|
193
256
|
ignore: [trigger]
|
|
194
257
|
});
|
|
195
258
|
// #endregion
|
|
259
|
+
// #region Elevation
|
|
260
|
+
useElevation(root, state);
|
|
261
|
+
// #endregion
|
|
196
262
|
return {
|
|
197
263
|
isDesktop,
|
|
198
264
|
isMobile,
|
|
@@ -203,9 +269,12 @@ var script = defineComponent({
|
|
|
203
269
|
rootStyles,
|
|
204
270
|
bodyStyles,
|
|
205
271
|
state,
|
|
272
|
+
isOpen,
|
|
273
|
+
isFullscreen,
|
|
274
|
+
isClosed,
|
|
275
|
+
isFlipped,
|
|
206
276
|
open,
|
|
207
|
-
close
|
|
208
|
-
toggle
|
|
277
|
+
close
|
|
209
278
|
};
|
|
210
279
|
}
|
|
211
280
|
});
|
|
@@ -222,8 +291,8 @@ var __vue_render__ = function () {
|
|
|
222
291
|
directives: [{
|
|
223
292
|
name: "show",
|
|
224
293
|
rawName: "v-show",
|
|
225
|
-
value: _vm.
|
|
226
|
-
expression: "
|
|
294
|
+
value: _vm.isOpen,
|
|
295
|
+
expression: "isOpen"
|
|
227
296
|
}],
|
|
228
297
|
class: ['contents']
|
|
229
298
|
}, [_vm.isDesktop && _vm.variant === 'auto' || _vm.variant === 'popover' ? [_c('div', _vm._b({
|
|
@@ -233,15 +302,12 @@ var __vue_render__ = function () {
|
|
|
233
302
|
class: _vm.bodyStyles
|
|
234
303
|
}, [_vm._t("default")], 2)]], 2)] : _vm._e(), _vm._v(" "), _vm.isMobile && _vm.variant === 'auto' || _vm.variant === 'bottom-sheet' ? [_c('OrBottomSheet', _vm._b({
|
|
235
304
|
ref: "bottomSheet",
|
|
236
|
-
attrs: {
|
|
237
|
-
"is-open": _vm.state === 'open'
|
|
238
|
-
},
|
|
239
305
|
on: {
|
|
240
|
-
"
|
|
241
|
-
|
|
306
|
+
"update:state": function ($event) {
|
|
307
|
+
_vm.state = $event;
|
|
242
308
|
},
|
|
243
|
-
"
|
|
244
|
-
return _vm
|
|
309
|
+
"update:state:closed-automatically": function ($event) {
|
|
310
|
+
return _vm.$emit('update:state:closed-automatically');
|
|
245
311
|
}
|
|
246
312
|
}
|
|
247
313
|
}, 'OrBottomSheet', _vm.bottomSheetProps, false), [_vm._t("default")], 2)] : _vm._e()], 2)]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrInput-8c7b3cce.js';
|
|
4
4
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-fe250f7a.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$1 } from './OrInput-014d2e47.js';
|
|
3
3
|
import { debouncedWatch } from '@vueuse/core';
|
|
4
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
5
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
6
|
-
import { b as BUTTON_SIZE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
4
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js';
|
|
5
|
+
import { _ as __vue_component__$2 } from './OrIconButton-544ee642.js';
|
|
6
|
+
import { b as BUTTON_SIZE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
9
|
|