@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<OrTeleport>
|
|
3
3
|
<div
|
|
4
|
-
v-show="
|
|
4
|
+
v-show="isOpen"
|
|
5
5
|
:class="['contents']"
|
|
6
6
|
>
|
|
7
7
|
<template v-if="isDesktop && variant === 'auto' || variant === 'popover'">
|
|
@@ -26,9 +26,8 @@
|
|
|
26
26
|
<OrBottomSheet
|
|
27
27
|
ref="bottomSheet"
|
|
28
28
|
v-bind="bottomSheetProps"
|
|
29
|
-
:
|
|
30
|
-
@
|
|
31
|
-
@close="close()"
|
|
29
|
+
@update:state="state = $event"
|
|
30
|
+
@update:state:closed-automatically="$emit('update:state:closed-automatically')"
|
|
32
31
|
>
|
|
33
32
|
<slot />
|
|
34
33
|
</OrBottomSheet>
|
|
@@ -40,8 +39,8 @@
|
|
|
40
39
|
<script lang="ts">
|
|
41
40
|
import { autoUpdate, computePosition, flip, hide, shift } from '@floating-ui/dom';
|
|
42
41
|
import { onClickOutside } from '@vueuse/core';
|
|
43
|
-
import { PropType, computed, defineComponent, ref, toRef, unref, watchPostEffect } from 'vue-demi';
|
|
44
|
-
import { useElevation,
|
|
42
|
+
import { PropType, computed, defineComponent, nextTick, ref, toRef, unref, watch, watchPostEffect } from 'vue-demi';
|
|
43
|
+
import { useElevation, useResponsive } from '../../hooks';
|
|
45
44
|
import { OrBottomSheetV3 as OrBottomSheet } from '../or-bottom-sheet-v3';
|
|
46
45
|
import { OrTeleportV3 as OrTeleport } from '../or-teleport-v3';
|
|
47
46
|
import { PopoverPlacement, PopoverVariant } from './props';
|
|
@@ -58,11 +57,6 @@ export default defineComponent({
|
|
|
58
57
|
inheritAttrs: false,
|
|
59
58
|
|
|
60
59
|
props: {
|
|
61
|
-
isOpen: {
|
|
62
|
-
type: Boolean,
|
|
63
|
-
default: false,
|
|
64
|
-
},
|
|
65
|
-
|
|
66
60
|
variant: {
|
|
67
61
|
type: String as PropType<`${PopoverVariant}`>,
|
|
68
62
|
default: PopoverVariant.Auto,
|
|
@@ -100,16 +94,22 @@ export default defineComponent({
|
|
|
100
94
|
},
|
|
101
95
|
|
|
102
96
|
emits: [
|
|
103
|
-
'
|
|
104
|
-
'
|
|
97
|
+
'update:state',
|
|
98
|
+
'update:state:open',
|
|
99
|
+
'update:state:fullscreen',
|
|
100
|
+
'update:state:closed',
|
|
101
|
+
'update:state:closed-automatically',
|
|
105
102
|
],
|
|
106
103
|
|
|
107
104
|
expose: [
|
|
108
105
|
'root',
|
|
109
|
-
|
|
106
|
+
'state',
|
|
107
|
+
'isOpen',
|
|
108
|
+
'isFullscreen',
|
|
109
|
+
'isClosed',
|
|
110
|
+
'isFlipped',
|
|
110
111
|
'open',
|
|
111
112
|
'close',
|
|
112
|
-
'toggle',
|
|
113
113
|
],
|
|
114
114
|
|
|
115
115
|
setup(props, context) {
|
|
@@ -134,7 +134,103 @@ export default defineComponent({
|
|
|
134
134
|
]);
|
|
135
135
|
|
|
136
136
|
// State
|
|
137
|
-
const
|
|
137
|
+
const state = ref<'open' | 'fullscreen' | 'closed'>('closed');
|
|
138
|
+
|
|
139
|
+
const isOpen = computed(() => state.value === 'open');
|
|
140
|
+
const isFullscreen = computed(() => state.value === 'fullscreen');
|
|
141
|
+
const isClosed = computed(() => state.value === 'closed');
|
|
142
|
+
|
|
143
|
+
const isFlipped = ref<boolean>(false);
|
|
144
|
+
|
|
145
|
+
// Events
|
|
146
|
+
watch(state, (value) => {
|
|
147
|
+
context.emit('update:state', value);
|
|
148
|
+
|
|
149
|
+
switch (value) {
|
|
150
|
+
case 'open':
|
|
151
|
+
context.emit('update:state:open');
|
|
152
|
+
break;
|
|
153
|
+
|
|
154
|
+
case 'fullscreen':
|
|
155
|
+
context.emit('update:state:fullscreen');
|
|
156
|
+
break;
|
|
157
|
+
|
|
158
|
+
case 'closed':
|
|
159
|
+
context.emit('update:state:closed');
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
|
|
164
|
+
// Methods
|
|
165
|
+
function open(): void {
|
|
166
|
+
state.value = 'open';
|
|
167
|
+
|
|
168
|
+
switch (props.variant) {
|
|
169
|
+
case PopoverVariant.Auto:
|
|
170
|
+
if (isMobile.value) {
|
|
171
|
+
nextTick(() => {
|
|
172
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
173
|
+
|
|
174
|
+
if (bottomSheetInstance) {
|
|
175
|
+
(bottomSheetInstance.open as () => void)();
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
break;
|
|
181
|
+
|
|
182
|
+
case PopoverVariant.Popover:
|
|
183
|
+
break;
|
|
184
|
+
|
|
185
|
+
case PopoverVariant.BottomSheet:
|
|
186
|
+
nextTick(() => {
|
|
187
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
188
|
+
|
|
189
|
+
if (bottomSheetInstance) {
|
|
190
|
+
(bottomSheetInstance.open as () => void)();
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
function close(auto: boolean = false): void {
|
|
199
|
+
state.value = 'closed';
|
|
200
|
+
|
|
201
|
+
switch (props.variant) {
|
|
202
|
+
case PopoverVariant.Auto:
|
|
203
|
+
if (isMobile.value) {
|
|
204
|
+
nextTick(() => {
|
|
205
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
206
|
+
|
|
207
|
+
if (bottomSheetInstance) {
|
|
208
|
+
(bottomSheetInstance.close as () => void)();
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
break;
|
|
214
|
+
|
|
215
|
+
case PopoverVariant.Popover:
|
|
216
|
+
break;
|
|
217
|
+
|
|
218
|
+
case PopoverVariant.BottomSheet:
|
|
219
|
+
nextTick(() => {
|
|
220
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
221
|
+
|
|
222
|
+
if (bottomSheetInstance) {
|
|
223
|
+
(bottomSheetInstance.close as () => void)();
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
break;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
if (auto) {
|
|
231
|
+
context.emit('update:state:closed-automatically');
|
|
232
|
+
}
|
|
233
|
+
}
|
|
138
234
|
|
|
139
235
|
// Handlers
|
|
140
236
|
function handleBottomSheetState(bottomSheetState: string): void {
|
|
@@ -170,15 +266,13 @@ export default defineComponent({
|
|
|
170
266
|
visibility: middlewareData.hide!.referenceHidden ? 'hidden' : 'visible',
|
|
171
267
|
width: props.fullWidth ? `${trigger.offsetWidth}px` : '',
|
|
172
268
|
});
|
|
269
|
+
|
|
270
|
+
isFlipped.value = Boolean(middlewareData.flip?.index);
|
|
173
271
|
});
|
|
174
272
|
}
|
|
175
273
|
}
|
|
176
274
|
});
|
|
177
275
|
|
|
178
|
-
// #region Elevation
|
|
179
|
-
useElevation(root, state);
|
|
180
|
-
// #endregion
|
|
181
|
-
|
|
182
276
|
// #region Click Outside
|
|
183
277
|
const trigger = toRef(props, 'trigger');
|
|
184
278
|
|
|
@@ -186,13 +280,17 @@ export default defineComponent({
|
|
|
186
280
|
const path = event.composedPath() as Element[];
|
|
187
281
|
|
|
188
282
|
if (!path.some(({ classList }) => classList?.contains('or-popover-v3') || classList?.contains('or-bottom-sheet-v3'))) {
|
|
189
|
-
close();
|
|
283
|
+
close(true);
|
|
190
284
|
}
|
|
191
285
|
}, {
|
|
192
286
|
ignore: [trigger],
|
|
193
287
|
});
|
|
194
288
|
// #endregion
|
|
195
289
|
|
|
290
|
+
// #region Elevation
|
|
291
|
+
useElevation(root, state);
|
|
292
|
+
// #endregion
|
|
293
|
+
|
|
196
294
|
return {
|
|
197
295
|
isDesktop,
|
|
198
296
|
isMobile,
|
|
@@ -203,9 +301,12 @@ export default defineComponent({
|
|
|
203
301
|
rootStyles,
|
|
204
302
|
bodyStyles,
|
|
205
303
|
state,
|
|
304
|
+
isOpen,
|
|
305
|
+
isFullscreen,
|
|
306
|
+
isClosed,
|
|
307
|
+
isFlipped,
|
|
206
308
|
open,
|
|
207
309
|
close,
|
|
208
|
-
toggle,
|
|
209
310
|
};
|
|
210
311
|
},
|
|
211
312
|
});
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
</template>
|
|
63
63
|
|
|
64
64
|
<template v-else>
|
|
65
|
-
<template v-if="
|
|
65
|
+
<template v-if="!isEmptyModelValue">
|
|
66
66
|
<slot
|
|
67
67
|
name="valueTemplate"
|
|
68
68
|
:model="proxyModelValue"
|
|
@@ -229,6 +229,7 @@
|
|
|
229
229
|
import { computed, defineComponent, getCurrentInstance, onMounted, PropType, ref, watch } from 'vue-demi';
|
|
230
230
|
import { DropdownClose, DropdownOpen } from '../../directives';
|
|
231
231
|
import { useOverflow } from '../../hooks';
|
|
232
|
+
import { isEmptyValue } from '../../utils/isEmptyValue';
|
|
232
233
|
import { OrCheckboxV3 as OrCheckbox } from '../or-checkbox-v3';
|
|
233
234
|
import { OrErrorV3 as OrError } from '../or-error-v3';
|
|
234
235
|
import { OrExpansionPanelV3 as OrExpansionPanel } from '../or-expansion-panel-v3';
|
|
@@ -418,6 +419,12 @@ export default defineComponent({
|
|
|
418
419
|
},
|
|
419
420
|
});
|
|
420
421
|
|
|
422
|
+
const isEmptyModelValue = computed(() => {
|
|
423
|
+
return Array.isArray(proxyModelValue.value)
|
|
424
|
+
? proxyModelValue.value.length === 0
|
|
425
|
+
: isEmptyValue(proxyModelValue.value);
|
|
426
|
+
});
|
|
427
|
+
|
|
421
428
|
onMounted(() => {
|
|
422
429
|
if (!proxyModelValue.value && props.multiple) {
|
|
423
430
|
proxyModelValue.value = [];
|
|
@@ -527,6 +534,7 @@ export default defineComponent({
|
|
|
527
534
|
controlId,
|
|
528
535
|
proxyModelValue,
|
|
529
536
|
readonly,
|
|
537
|
+
isEmptyModelValue,
|
|
530
538
|
selection,
|
|
531
539
|
searchText,
|
|
532
540
|
internalSearchOptions,
|
|
@@ -2,21 +2,18 @@
|
|
|
2
2
|
<div
|
|
3
3
|
ref="root"
|
|
4
4
|
:class="rootStyles"
|
|
5
|
-
@mouseenter="open()"
|
|
6
|
-
@mouseleave="close()"
|
|
7
5
|
>
|
|
8
6
|
<slot />
|
|
9
7
|
|
|
10
8
|
<template v-if="text">
|
|
11
9
|
<OrPopover
|
|
12
|
-
|
|
10
|
+
ref="popover"
|
|
13
11
|
:variant="'popover'"
|
|
14
12
|
:trigger="root"
|
|
15
13
|
:placement="placement"
|
|
16
14
|
:full-width="false"
|
|
17
15
|
:disable-default-styles="true"
|
|
18
|
-
@
|
|
19
|
-
@close="close()"
|
|
16
|
+
@update:state="$emit('update:state', $event)"
|
|
20
17
|
>
|
|
21
18
|
<div :class="bodyStyles">
|
|
22
19
|
{{ text }}
|
|
@@ -27,12 +24,11 @@
|
|
|
27
24
|
</template>
|
|
28
25
|
|
|
29
26
|
<script lang="ts">
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
27
|
+
import { useDebounceFn, useElementHover } from '@vueuse/core';
|
|
28
|
+
import { PropType, computed, defineComponent, ref, watch } from 'vue-demi';
|
|
32
29
|
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
33
30
|
import { TooltipPlacement } from './props';
|
|
34
31
|
import { TooltipBody, TooltipBodyPlacements, TooltipRoot } from './styles';
|
|
35
|
-
import { refDebounced } from '@vueuse/core';
|
|
36
32
|
|
|
37
33
|
export default defineComponent({
|
|
38
34
|
name: 'OrTooltip',
|
|
@@ -42,39 +38,34 @@ export default defineComponent({
|
|
|
42
38
|
},
|
|
43
39
|
|
|
44
40
|
props: {
|
|
45
|
-
isOpen: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: false,
|
|
48
|
-
},
|
|
49
|
-
|
|
50
41
|
text: {
|
|
51
42
|
type: String,
|
|
52
43
|
default: undefined,
|
|
53
44
|
},
|
|
54
45
|
|
|
55
46
|
placement: {
|
|
56
|
-
type: String as PropType
|
|
47
|
+
type: String as PropType<`${TooltipPlacement}`>,
|
|
57
48
|
default: TooltipPlacement.Bottom,
|
|
58
49
|
},
|
|
59
50
|
},
|
|
60
51
|
|
|
61
52
|
emits: [
|
|
62
|
-
'
|
|
63
|
-
'close',
|
|
53
|
+
'update:state',
|
|
64
54
|
],
|
|
65
55
|
|
|
66
56
|
expose: [
|
|
67
57
|
'root',
|
|
68
|
-
|
|
69
58
|
'open',
|
|
70
59
|
'close',
|
|
71
|
-
'toggle',
|
|
72
60
|
],
|
|
73
61
|
|
|
74
|
-
setup(props
|
|
62
|
+
setup(props) {
|
|
75
63
|
// Refs
|
|
76
64
|
const root = ref<HTMLElement>();
|
|
77
65
|
|
|
66
|
+
const popover = ref<InstanceType<typeof OrPopover>>();
|
|
67
|
+
const popoverRoot = computed(() => popover.value?.root);
|
|
68
|
+
|
|
78
69
|
// Styles
|
|
79
70
|
const rootStyles = computed(() => [
|
|
80
71
|
'or-tooltip-v3',
|
|
@@ -86,17 +77,44 @@ export default defineComponent({
|
|
|
86
77
|
...TooltipBodyPlacements[props.placement],
|
|
87
78
|
]);
|
|
88
79
|
|
|
89
|
-
//
|
|
90
|
-
const
|
|
80
|
+
// Methods
|
|
81
|
+
const open = useDebounceFn(() => {
|
|
82
|
+
if (hover.value) {
|
|
83
|
+
const popoverInstance = popover.value;
|
|
84
|
+
|
|
85
|
+
if (popoverInstance) {
|
|
86
|
+
(popoverInstance.open as () => void)();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}, 250);
|
|
90
|
+
|
|
91
|
+
const close = useDebounceFn(() => {
|
|
92
|
+
if (!hover.value) {
|
|
93
|
+
const popoverInstance = popover.value;
|
|
94
|
+
|
|
95
|
+
if (popoverInstance) {
|
|
96
|
+
(popoverInstance.close as () => void)();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}, 250);
|
|
100
|
+
|
|
101
|
+
// Effects
|
|
102
|
+
// #region Hover
|
|
103
|
+
const hover = useElementHover(root);
|
|
104
|
+
|
|
105
|
+
watch(hover, (value) => {
|
|
106
|
+
value ? open() : close();
|
|
107
|
+
});
|
|
108
|
+
// #endregion
|
|
91
109
|
|
|
92
110
|
return {
|
|
93
111
|
root,
|
|
112
|
+
popover,
|
|
113
|
+
popoverRoot,
|
|
94
114
|
rootStyles,
|
|
95
115
|
bodyStyles,
|
|
96
|
-
state: refDebounced(state, 250),
|
|
97
116
|
open,
|
|
98
117
|
close,
|
|
99
|
-
toggle,
|
|
100
118
|
};
|
|
101
119
|
},
|
|
102
120
|
});
|
package/src/hooks/index.ts
CHANGED
|
@@ -2,7 +2,6 @@ export { useControlAttributes } from './useControlAttributes';
|
|
|
2
2
|
export { useElevation } from './useElevation';
|
|
3
3
|
export { useIdAttribute } from './useIdAttribute';
|
|
4
4
|
export { useOverflow } from './useOverflow';
|
|
5
|
-
export { usePopoverState } from './usePopoverState';
|
|
6
5
|
export { useResponsive } from './useResponsive';
|
|
7
6
|
export { default as useToggle } from './useToggle';
|
|
8
7
|
export { useValidationAttributes } from './useValidationAttributes';
|
package/src/utils/isEmpty.ts
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Ref, SetupContext } from 'vue-demi';
|
|
2
|
-
export interface PopoverState {
|
|
3
|
-
state: Ref<'open' | 'closed'>;
|
|
4
|
-
open: () => void;
|
|
5
|
-
close: () => void;
|
|
6
|
-
toggle: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function usePopoverState(isOpen: Ref<boolean>, context: SetupContext<('open' | 'close' | any)[]>): PopoverState;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ref, watch } from 'vue-demi';
|
|
2
|
-
|
|
3
|
-
// TODO: Remove type `any` (https://github.com/microsoft/TypeScript/issues/27808)
|
|
4
|
-
// TODO: Use `defineEmits` after migration to Vue 3
|
|
5
|
-
function usePopoverState(isOpen, context) {
|
|
6
|
-
// State
|
|
7
|
-
const state = ref(isOpen.value ? 'open' : 'closed');
|
|
8
|
-
watch(isOpen, value => {
|
|
9
|
-
state.value = value ? 'open' : 'closed';
|
|
10
|
-
});
|
|
11
|
-
watch(state, value => {
|
|
12
|
-
switch (value) {
|
|
13
|
-
case 'open':
|
|
14
|
-
return context.emit('open');
|
|
15
|
-
case 'closed':
|
|
16
|
-
return context.emit('close');
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
// Methods
|
|
20
|
-
function open() {
|
|
21
|
-
state.value = 'open';
|
|
22
|
-
}
|
|
23
|
-
function close() {
|
|
24
|
-
state.value = 'closed';
|
|
25
|
-
}
|
|
26
|
-
function toggle() {
|
|
27
|
-
state.value = state.value === 'open' ? 'closed' : 'open';
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
state,
|
|
31
|
-
open,
|
|
32
|
-
close,
|
|
33
|
-
toggle
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { usePopoverState };
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import { MenuRoot } from './components/OrMenuV3/styles.js';
|
|
3
|
-
import './components/OrPopoverV3/OrPopover.js';
|
|
4
|
-
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
5
|
-
import { s as script$1 } from './OrPopover.vue_vue_type_script_lang-3592b581.js';
|
|
6
|
-
import { PopoverPlacement } from './components/OrPopoverV3/props.js';
|
|
7
|
-
|
|
8
|
-
var script = defineComponent({
|
|
9
|
-
name: 'OrMenu',
|
|
10
|
-
components: {
|
|
11
|
-
OrPopover: script$1
|
|
12
|
-
},
|
|
13
|
-
inheritAttrs: false,
|
|
14
|
-
props: {
|
|
15
|
-
isOpen: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
default: false
|
|
18
|
-
},
|
|
19
|
-
trigger: {
|
|
20
|
-
type: HTMLElement,
|
|
21
|
-
default: undefined
|
|
22
|
-
},
|
|
23
|
-
placement: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: PopoverPlacement.Bottom
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
emits: ['open', 'close'],
|
|
29
|
-
expose: ['root', 'open', 'close', 'toggle'],
|
|
30
|
-
setup(props, context) {
|
|
31
|
-
// Refs
|
|
32
|
-
const root = ref();
|
|
33
|
-
// Styles
|
|
34
|
-
const rootStyles = computed(() => ['or-menu-v3', ...MenuRoot]);
|
|
35
|
-
// State
|
|
36
|
-
const {
|
|
37
|
-
state,
|
|
38
|
-
open,
|
|
39
|
-
close,
|
|
40
|
-
toggle
|
|
41
|
-
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
42
|
-
// Handlers
|
|
43
|
-
function onClick(event) {
|
|
44
|
-
const path = event.composedPath();
|
|
45
|
-
if (path.some(_ref => {
|
|
46
|
-
let {
|
|
47
|
-
classList
|
|
48
|
-
} = _ref;
|
|
49
|
-
return classList === null || classList === void 0 ? void 0 : classList.contains('or-menu-item-v3');
|
|
50
|
-
})) {
|
|
51
|
-
close();
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
root,
|
|
56
|
-
rootStyles,
|
|
57
|
-
state,
|
|
58
|
-
open,
|
|
59
|
-
close,
|
|
60
|
-
toggle,
|
|
61
|
-
onClick
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
export { script as s };
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
-
import { openBlock, createElementBlock, normalizeClass, renderSlot, resolveComponent, createElementVNode, createVNode, withModifiers } from 'vue';
|
|
3
|
-
import './components/OrIconButtonV3/OrIconButton.js';
|
|
4
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-17f98298.js';
|
|
5
|
-
import { ModalSize } from './components/OrModalV3/props.js';
|
|
6
|
-
import { ModalRoot, ModalRootSizes } from './components/OrModalV3/styles.js';
|
|
7
|
-
import './components/OrOverlayV3/OrOverlay.js';
|
|
8
|
-
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
9
|
-
import { s as script$5 } from './OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
10
|
-
|
|
11
|
-
const ModalContent = [
|
|
12
|
-
// Layout
|
|
13
|
-
'grow',
|
|
14
|
-
// Overflow
|
|
15
|
-
'overflow-auto',
|
|
16
|
-
// Spacing
|
|
17
|
-
'px-md md:px-lg'];
|
|
18
|
-
|
|
19
|
-
var script$3 = defineComponent({
|
|
20
|
-
name: 'OrModalContent',
|
|
21
|
-
expose: ['root'],
|
|
22
|
-
setup() {
|
|
23
|
-
// Refs
|
|
24
|
-
const root = ref();
|
|
25
|
-
// Styles
|
|
26
|
-
const rootStyles = computed(() => ['or-modal-content', ...ModalContent]);
|
|
27
|
-
return {
|
|
28
|
-
root,
|
|
29
|
-
rootStyles
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35
|
-
return openBlock(), createElementBlock("div", {
|
|
36
|
-
ref: "root",
|
|
37
|
-
class: normalizeClass(_ctx.rootStyles)
|
|
38
|
-
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
script$3.render = render$2;
|
|
42
|
-
script$3.__file = "src/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue";
|
|
43
|
-
|
|
44
|
-
const ModalFooter = [
|
|
45
|
-
// Spacing
|
|
46
|
-
'px-md md:px-lg'];
|
|
47
|
-
|
|
48
|
-
var script$2 = defineComponent({
|
|
49
|
-
name: 'OrModalFooter',
|
|
50
|
-
expose: ['root'],
|
|
51
|
-
setup() {
|
|
52
|
-
// Refs
|
|
53
|
-
const root = ref();
|
|
54
|
-
// Styles
|
|
55
|
-
const rootStyles = computed(() => ['or-modal-footer', ...ModalFooter]);
|
|
56
|
-
return {
|
|
57
|
-
root,
|
|
58
|
-
rootStyles
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
64
|
-
return openBlock(), createElementBlock("div", {
|
|
65
|
-
ref: "root",
|
|
66
|
-
class: normalizeClass(_ctx.rootStyles)
|
|
67
|
-
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
script$2.render = render$1;
|
|
71
|
-
script$2.__file = "src/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue";
|
|
72
|
-
|
|
73
|
-
const ModalHeader = [
|
|
74
|
-
// Layout
|
|
75
|
-
'layout-row',
|
|
76
|
-
// Spacing
|
|
77
|
-
'px-md md:px-lg',
|
|
78
|
-
// Typography
|
|
79
|
-
'typography-headline-2'];
|
|
80
|
-
|
|
81
|
-
var script$1 = defineComponent({
|
|
82
|
-
name: 'OrModalHeader',
|
|
83
|
-
components: {
|
|
84
|
-
OrIconButton: script$4
|
|
85
|
-
},
|
|
86
|
-
emits: ['close'],
|
|
87
|
-
expose: ['root'],
|
|
88
|
-
setup() {
|
|
89
|
-
// Refs
|
|
90
|
-
const root = ref();
|
|
91
|
-
// Styles
|
|
92
|
-
const rootStyles = computed(() => ['or-modal-header', ...ModalHeader]);
|
|
93
|
-
return {
|
|
94
|
-
root,
|
|
95
|
-
rootStyles
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
const _hoisted_1 = {
|
|
101
|
-
class: /*#__PURE__*/normalizeClass(['grow'])
|
|
102
|
-
};
|
|
103
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
104
|
-
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
105
|
-
return openBlock(), createElementBlock("div", {
|
|
106
|
-
ref: "root",
|
|
107
|
-
class: normalizeClass(_ctx.rootStyles)
|
|
108
|
-
}, [createElementVNode("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")]), createVNode(_component_OrIconButton, {
|
|
109
|
-
icon: 'close',
|
|
110
|
-
size: 'l',
|
|
111
|
-
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.$emit('close'), ["stop"]))
|
|
112
|
-
})], 2 /* CLASS */);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
script$1.render = render;
|
|
116
|
-
script$1.__file = "src/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue";
|
|
117
|
-
|
|
118
|
-
var script = defineComponent({
|
|
119
|
-
name: 'OrModal',
|
|
120
|
-
components: {
|
|
121
|
-
OrModalContent: script$3,
|
|
122
|
-
OrModalFooter: script$2,
|
|
123
|
-
OrModalHeader: script$1,
|
|
124
|
-
OrOverlay: script$5
|
|
125
|
-
},
|
|
126
|
-
inheritAttrs: false,
|
|
127
|
-
props: {
|
|
128
|
-
isOpen: {
|
|
129
|
-
type: Boolean,
|
|
130
|
-
default: false
|
|
131
|
-
},
|
|
132
|
-
size: {
|
|
133
|
-
type: String,
|
|
134
|
-
default: ModalSize.M
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
emits: ['open', 'close'],
|
|
138
|
-
expose: ['root', 'open', 'close'],
|
|
139
|
-
setup(props, context) {
|
|
140
|
-
// Refs
|
|
141
|
-
const root = ref();
|
|
142
|
-
// Styles
|
|
143
|
-
const rootStyles = computed(() => ['or-modal-v3', ...ModalRoot, ...ModalRootSizes[props.size]]);
|
|
144
|
-
// State
|
|
145
|
-
const {
|
|
146
|
-
state,
|
|
147
|
-
open,
|
|
148
|
-
close
|
|
149
|
-
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
150
|
-
return {
|
|
151
|
-
root,
|
|
152
|
-
rootStyles,
|
|
153
|
-
state,
|
|
154
|
-
open,
|
|
155
|
-
close
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
export { script as s };
|