@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 +1 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare function isEmpty(val: any): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isEmptyValue(val: string | number | boolean | null | undefined): boolean;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { usePointerSwipe, onClickOutside, SwipeDirection } from '@vueuse/core';
|
|
2
|
-
import { defineComponent, ref, computed,
|
|
3
|
-
import { u as usePopoverState } from './usePopoverState-4cb59ae5.js';
|
|
2
|
+
import { defineComponent, ref, computed, watch, unref } from 'vue-demi';
|
|
4
3
|
import { _ as __vue_component__$1 } from './OrOverlay-4c8c11e2.js';
|
|
5
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
5
|
|
|
@@ -57,17 +56,13 @@ var script = defineComponent({
|
|
|
57
56
|
},
|
|
58
57
|
inheritAttrs: false,
|
|
59
58
|
props: {
|
|
60
|
-
isOpen: {
|
|
61
|
-
type: Boolean,
|
|
62
|
-
default: false
|
|
63
|
-
},
|
|
64
59
|
variant: {
|
|
65
60
|
type: String,
|
|
66
61
|
default: BottomSheetVariant.Advanced
|
|
67
62
|
}
|
|
68
63
|
},
|
|
69
|
-
emits: ['open', '
|
|
70
|
-
expose: ['root', '
|
|
64
|
+
emits: ['update:state', 'update:state:open', 'update:state:fullscreen', 'update:state:closed', 'update:state:closed-automatically'],
|
|
65
|
+
expose: ['root', 'state', 'isOpen', 'isFullscreen', 'isClosed', 'open', 'close'],
|
|
71
66
|
setup(props, context) {
|
|
72
67
|
// Refs
|
|
73
68
|
const root = ref();
|
|
@@ -76,18 +71,43 @@ var script = defineComponent({
|
|
|
76
71
|
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
77
72
|
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
78
73
|
// State
|
|
79
|
-
const
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
85
|
-
const fullscreen = ref(false);
|
|
74
|
+
const state = ref('closed');
|
|
75
|
+
const isOpen = computed(() => state.value === 'open');
|
|
76
|
+
const isFullscreen = computed(() => state.value === 'fullscreen');
|
|
77
|
+
const isClosed = computed(() => state.value === 'closed');
|
|
78
|
+
// Events
|
|
86
79
|
watch(state, value => {
|
|
87
|
-
|
|
88
|
-
|
|
80
|
+
context.emit('update:state', value);
|
|
81
|
+
switch (value) {
|
|
82
|
+
case 'open':
|
|
83
|
+
context.emit('update:state:open');
|
|
84
|
+
break;
|
|
85
|
+
case 'fullscreen':
|
|
86
|
+
context.emit('update:state:fullscreen');
|
|
87
|
+
break;
|
|
88
|
+
case 'closed':
|
|
89
|
+
context.emit('update:state:closed');
|
|
90
|
+
break;
|
|
89
91
|
}
|
|
90
92
|
});
|
|
93
|
+
// Methods
|
|
94
|
+
function open() {
|
|
95
|
+
state.value = 'open';
|
|
96
|
+
}
|
|
97
|
+
function close() {
|
|
98
|
+
let auto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
99
|
+
state.value = 'closed';
|
|
100
|
+
if (auto) {
|
|
101
|
+
context.emit('update:state:closed-automatically');
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
// Handlers
|
|
105
|
+
function onSwipeUp() {
|
|
106
|
+
state.value = 'fullscreen';
|
|
107
|
+
}
|
|
108
|
+
function onSwipeDown() {
|
|
109
|
+
state.value = state.value === 'fullscreen' ? 'open' : 'closed';
|
|
110
|
+
}
|
|
91
111
|
// Effects
|
|
92
112
|
// #region Swipe
|
|
93
113
|
const swipeOptions = {
|
|
@@ -112,7 +132,7 @@ var script = defineComponent({
|
|
|
112
132
|
minHeight: '100%',
|
|
113
133
|
maxHeight: '100%'
|
|
114
134
|
});
|
|
115
|
-
|
|
135
|
+
onSwipeUp();
|
|
116
136
|
break;
|
|
117
137
|
case SwipeDirection.DOWN:
|
|
118
138
|
Object.assign(rootElement.style, {
|
|
@@ -120,11 +140,7 @@ var script = defineComponent({
|
|
|
120
140
|
minHeight: '0',
|
|
121
141
|
maxHeight: '50%'
|
|
122
142
|
});
|
|
123
|
-
|
|
124
|
-
fullscreen.value = false;
|
|
125
|
-
} else {
|
|
126
|
-
close();
|
|
127
|
-
}
|
|
143
|
+
onSwipeDown();
|
|
128
144
|
break;
|
|
129
145
|
}
|
|
130
146
|
}
|
|
@@ -141,7 +157,7 @@ var script = defineComponent({
|
|
|
141
157
|
} = _ref;
|
|
142
158
|
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'));
|
|
143
159
|
})) {
|
|
144
|
-
close();
|
|
160
|
+
close(true);
|
|
145
161
|
}
|
|
146
162
|
});
|
|
147
163
|
// #endregion
|
|
@@ -151,10 +167,11 @@ var script = defineComponent({
|
|
|
151
167
|
handleStyles,
|
|
152
168
|
headerStyles,
|
|
153
169
|
state,
|
|
154
|
-
|
|
170
|
+
isOpen,
|
|
171
|
+
isFullscreen,
|
|
172
|
+
isClosed,
|
|
155
173
|
open,
|
|
156
|
-
close
|
|
157
|
-
toggle
|
|
174
|
+
close
|
|
158
175
|
};
|
|
159
176
|
}
|
|
160
177
|
});
|
|
@@ -167,9 +184,9 @@ var __vue_render__ = function () {
|
|
|
167
184
|
var _vm = this;
|
|
168
185
|
var _h = _vm.$createElement;
|
|
169
186
|
var _c = _vm._self._c || _h;
|
|
170
|
-
return _vm.state
|
|
187
|
+
return _vm.state !== 'closed' ? _c('OrOverlay', {
|
|
171
188
|
attrs: {
|
|
172
|
-
"fullscreen": _vm.fullscreen
|
|
189
|
+
"fullscreen": _vm.state === 'fullscreen'
|
|
173
190
|
}
|
|
174
191
|
}, [_c('div', _vm._b({
|
|
175
192
|
ref: "root",
|
|
@@ -179,7 +196,7 @@ var __vue_render__ = function () {
|
|
|
179
196
|
})] : _vm._e(), _vm._v(" "), _c('div', {
|
|
180
197
|
class: _vm.headerStyles
|
|
181
198
|
}, [_vm._t("header")], 2), _vm._v(" "), _c('div', {
|
|
182
|
-
class: [_vm.fullscreen ? 'overflow-y-auto' : 'overflow-hidden']
|
|
199
|
+
class: [_vm.state === 'fullscreen' ? 'overflow-y-auto' : 'overflow-hidden']
|
|
183
200
|
}, [_vm._t("default")], 2)], 2)]) : _vm._e();
|
|
184
201
|
};
|
|
185
202
|
var __vue_staticRenderFns__ = [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1, L as LoaderViews } from './OrLoader-
|
|
2
|
+
import { _ as __vue_component__$1, L as LoaderViews } from './OrLoader-0cc7c73e.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, isVue3 } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__ } from './OrIcon-fa826b6b.js';
|
|
3
|
-
import { _ as __vue_component__$1, L as LoaderViews } from './OrLoader-
|
|
4
|
-
import { B as BUTTON_TYPE, a as BUTTON_COLOR, b as BUTTON_SIZE, H as HTML_BUTTON_TYPE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
3
|
+
import { _ as __vue_component__$1, L as LoaderViews } from './OrLoader-0cc7c73e.js';
|
|
4
|
+
import { B as BUTTON_TYPE, a as BUTTON_COLOR, b as BUTTON_SIZE, H as HTML_BUTTON_TYPE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$1 } from './OrCard-c44d9783.js';
|
|
3
3
|
import { _ as __vue_component__$2 } from './OrIcon-fa826b6b.js';
|
|
4
|
-
import { _ as __vue_component__$3 } from './OrSearch-
|
|
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-
|
|
4
|
+
import { _ as __vue_component__$3 } from './OrSearch-e2941d35.js';
|
|
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
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$3 } from './OrButton-9622e713.js';
|
|
3
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
3
|
+
import { _ as __vue_component__$2 } from './OrIconButton-ee747c71.js';
|
|
4
4
|
import { _ as __vue_component__$6 } from './OrIcon-d35a84d8.js';
|
|
5
5
|
import { _ as __vue_component__$5 } from './OrMenuItem-6f9b8a93.js';
|
|
6
|
-
import { _ as __vue_component__$4 } from './OrMenu-
|
|
7
|
-
import './OrPopover-
|
|
8
|
-
import { _ as __vue_component__$7 } from './OrSearch-
|
|
6
|
+
import { _ as __vue_component__$4 } from './OrMenu-8b902c22.js';
|
|
7
|
+
import './OrPopover-80459663.js';
|
|
8
|
+
import { _ as __vue_component__$7 } from './OrSearch-5aa8154f.js';
|
|
9
9
|
import './OrInputBox.vue_rollup-plugin-vue_script-fe250f7a.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
11
|
|
|
@@ -5,6 +5,10 @@ import { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-63380256.
|
|
|
5
5
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
|
|
8
|
+
function isEmptyValue(val) {
|
|
9
|
+
return val === undefined || val === null || val === '';
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
const CheckboxRoot = [
|
|
9
13
|
// Layout
|
|
10
14
|
'layout-row',
|
|
@@ -94,7 +98,7 @@ var script = defineComponent({
|
|
|
94
98
|
const proxyModelValue = useVModel(props, 'modelValue', emit);
|
|
95
99
|
const isChecked = computed(() => {
|
|
96
100
|
if (Array.isArray(proxyModelValue.value)) {
|
|
97
|
-
return props.value && proxyModelValue.value.includes(props.value);
|
|
101
|
+
return !isEmptyValue(props.value) && proxyModelValue.value.includes(props.value);
|
|
98
102
|
}
|
|
99
103
|
return !!proxyModelValue.value;
|
|
100
104
|
});
|
|
@@ -132,7 +136,7 @@ var script = defineComponent({
|
|
|
132
136
|
}
|
|
133
137
|
});
|
|
134
138
|
|
|
135
|
-
var css_248z = "input[data-v-
|
|
139
|
+
var css_248z = "input[data-v-35085ade]{appearance:none;line-height:0}";
|
|
136
140
|
styleInject(css_248z);
|
|
137
141
|
|
|
138
142
|
/* script */
|
|
@@ -193,7 +197,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
193
197
|
/* style */
|
|
194
198
|
const __vue_inject_styles__ = undefined;
|
|
195
199
|
/* scoped */
|
|
196
|
-
const __vue_scope_id__ = "data-v-
|
|
200
|
+
const __vue_scope_id__ = "data-v-35085ade";
|
|
197
201
|
/* module identifier */
|
|
198
202
|
const __vue_module_identifier__ = undefined;
|
|
199
203
|
/* functional template */
|
|
@@ -209,4 +213,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
209
213
|
staticRenderFns: __vue_staticRenderFns__
|
|
210
214
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
211
215
|
|
|
212
|
-
export { __vue_component__ as _ };
|
|
216
|
+
export { __vue_component__ as _, isEmptyValue as i };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
3
|
import { _ as __vue_component__$2, F as FormGroupDirection } from './OrFormGroup-29a514db.js';
|
|
4
|
-
import { _ as __vue_component__$1 } from './OrCheckboxTree-
|
|
4
|
+
import { _ as __vue_component__$1 } from './OrCheckboxTree-54b0fdc1.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, watch } from 'vue-demi';
|
|
2
2
|
import { useVModel, useToggle } from '@vueuse/core';
|
|
3
|
-
import { _ as __vue_component__$2 } from './OrCheckbox-
|
|
3
|
+
import { _ as __vue_component__$2 } from './OrCheckbox-3a8c93ad.js';
|
|
4
4
|
import { _ as __vue_component__$1 } from './OrIcon-d35a84d8.js';
|
|
5
5
|
import { _ as __vue_component__$3 } from './OrButton-9622e713.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -4,13 +4,13 @@ import { indentWithTab } from '@codemirror/commands';
|
|
|
4
4
|
import { basicSetup, EditorView as EditorView$1 } from 'codemirror';
|
|
5
5
|
import { useElementHover } from '@vueuse/core';
|
|
6
6
|
import { defineComponent, ref } from 'vue-demi';
|
|
7
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
8
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
9
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
7
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js';
|
|
8
|
+
import { _ as __vue_component__$1 } from './OrIconButton-544ee642.js';
|
|
9
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
10
10
|
import { _ as __vue_component__$4 } from './OrError-efc74907.js';
|
|
11
11
|
import { _ as __vue_component__$5 } from './OrHint-7eadc91e.js';
|
|
12
12
|
import { _ as __vue_component__$6 } from './OrLabel-fcceec1b.js';
|
|
13
|
-
import { _ as __vue_component__$2 } from './OrModal-
|
|
13
|
+
import { _ as __vue_component__$2 } from './OrModal-206611f2.js';
|
|
14
14
|
import { _ as __vue_component__$3 } from './OrTeleport.vue2-f0c16c71.js';
|
|
15
15
|
import { html } from '@codemirror/lang-html';
|
|
16
16
|
import { css } from '@codemirror/lang-css';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
2
|
import { logicAnd } from '@vueuse/math';
|
|
3
|
-
import { defineComponent, ref,
|
|
4
|
-
import { u as usePopoverState } from './usePopoverState-4cb59ae5.js';
|
|
3
|
+
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
5
4
|
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-9622e713.js';
|
|
6
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
5
|
+
import { _ as __vue_component__$3 } from './OrInput-8c7b3cce.js';
|
|
7
6
|
import { _ as __vue_component__$1 } from './OrOverlay-4c8c11e2.js';
|
|
8
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
8
|
|
|
@@ -66,10 +65,6 @@ var script = defineComponent({
|
|
|
66
65
|
},
|
|
67
66
|
inheritAttrs: false,
|
|
68
67
|
props: {
|
|
69
|
-
isOpen: {
|
|
70
|
-
type: Boolean,
|
|
71
|
-
default: false
|
|
72
|
-
},
|
|
73
68
|
titleText: {
|
|
74
69
|
type: String,
|
|
75
70
|
required: false,
|
|
@@ -77,18 +72,22 @@ var script = defineComponent({
|
|
|
77
72
|
},
|
|
78
73
|
confirmButtonText: {
|
|
79
74
|
type: String,
|
|
75
|
+
required: false,
|
|
80
76
|
default: 'Confirm'
|
|
81
77
|
},
|
|
82
78
|
cancelButtonText: {
|
|
83
79
|
type: String,
|
|
80
|
+
required: false,
|
|
84
81
|
default: 'Cancel'
|
|
85
82
|
},
|
|
86
83
|
confirmType: {
|
|
87
84
|
type: String,
|
|
85
|
+
required: false,
|
|
88
86
|
default: ConfirmType.C
|
|
89
87
|
},
|
|
90
88
|
loading: {
|
|
91
89
|
type: Boolean,
|
|
90
|
+
required: false,
|
|
92
91
|
default: false
|
|
93
92
|
},
|
|
94
93
|
disabled: {
|
|
@@ -98,35 +97,43 @@ var script = defineComponent({
|
|
|
98
97
|
},
|
|
99
98
|
confirmationText: {
|
|
100
99
|
type: String,
|
|
101
|
-
|
|
100
|
+
required: false,
|
|
101
|
+
default: null
|
|
102
102
|
},
|
|
103
103
|
textConfirmationLabel: {
|
|
104
104
|
type: String,
|
|
105
|
-
|
|
105
|
+
required: false,
|
|
106
|
+
default: null
|
|
106
107
|
},
|
|
107
108
|
textConfirmationPlaceholder: {
|
|
108
109
|
type: String,
|
|
109
|
-
|
|
110
|
+
required: false,
|
|
111
|
+
default: null
|
|
110
112
|
},
|
|
111
113
|
textConfirmationError: {
|
|
112
114
|
type: String,
|
|
115
|
+
required: false,
|
|
116
|
+
default: null
|
|
117
|
+
},
|
|
118
|
+
isOpen: {
|
|
119
|
+
type: Boolean,
|
|
120
|
+
required: false,
|
|
113
121
|
default: undefined
|
|
114
122
|
}
|
|
115
123
|
},
|
|
116
124
|
emits: ['open', 'close', 'confirm'],
|
|
117
|
-
expose: ['root', 'open', 'close'],
|
|
118
|
-
setup(props,
|
|
125
|
+
expose: ['root', 'isActive', 'open', 'close'],
|
|
126
|
+
setup(props, _ref) {
|
|
127
|
+
let {
|
|
128
|
+
emit
|
|
129
|
+
} = _ref;
|
|
119
130
|
// Refs
|
|
120
131
|
const root = ref();
|
|
121
132
|
const confirmationInput = ref();
|
|
122
133
|
const confirmationButton = ref();
|
|
123
134
|
// State
|
|
124
135
|
const touched = ref(false);
|
|
125
|
-
const
|
|
126
|
-
state,
|
|
127
|
-
open,
|
|
128
|
-
close
|
|
129
|
-
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
136
|
+
const isActive = ref(props.isOpen || false);
|
|
130
137
|
const isInputActive = ref(false);
|
|
131
138
|
const confirmationValue = ref('');
|
|
132
139
|
const {
|
|
@@ -139,11 +146,22 @@ var script = defineComponent({
|
|
|
139
146
|
const isConfirmationButtonDisabled = computed(() => !!props.disabled || isInvalid.value);
|
|
140
147
|
const confirmButtonColor = computed(() => props.confirmType === ConfirmType.C ? ButtonColor.Primary : ButtonColor.Danger);
|
|
141
148
|
// Methods
|
|
142
|
-
function
|
|
143
|
-
|
|
144
|
-
|
|
149
|
+
function open() {
|
|
150
|
+
isActive.value = true;
|
|
151
|
+
emit('open');
|
|
152
|
+
}
|
|
153
|
+
function close() {
|
|
154
|
+
// In case if component opened by isOpen - only event can be emited, app will catch it and flip reference
|
|
155
|
+
if (props.isOpen === true) {
|
|
156
|
+
emit('close');
|
|
157
|
+
} else {
|
|
158
|
+
isActive.value = false;
|
|
159
|
+
emit('close');
|
|
145
160
|
}
|
|
146
161
|
}
|
|
162
|
+
function confirm() {
|
|
163
|
+
if (!props.disabled && !isInvalid.value) emit('confirm');
|
|
164
|
+
}
|
|
147
165
|
function onInputFocus() {
|
|
148
166
|
isInputActive.value = true;
|
|
149
167
|
}
|
|
@@ -152,14 +170,20 @@ var script = defineComponent({
|
|
|
152
170
|
touched.value = true;
|
|
153
171
|
}
|
|
154
172
|
// Events
|
|
173
|
+
watch(() => props.isOpen, value => {
|
|
174
|
+
// In case if component opened by isOpen - no need to emmit events, we need just sync local state
|
|
175
|
+
if (value != undefined) {
|
|
176
|
+
isActive.value = value;
|
|
177
|
+
}
|
|
178
|
+
}, {
|
|
179
|
+
immediate: true
|
|
180
|
+
});
|
|
155
181
|
watch(escape, val => {
|
|
156
182
|
if (val) close();
|
|
157
183
|
});
|
|
158
|
-
watch(
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
touched.value = false;
|
|
162
|
-
}
|
|
184
|
+
watch(isActive, () => {
|
|
185
|
+
confirmationValue.value = '';
|
|
186
|
+
touched.value = false;
|
|
163
187
|
});
|
|
164
188
|
// types here are used for fixing TS2349
|
|
165
189
|
watch(confirmationInput, val => {
|
|
@@ -192,7 +216,7 @@ var script = defineComponent({
|
|
|
192
216
|
isInvalid,
|
|
193
217
|
isConfirmationButtonDisabled,
|
|
194
218
|
touched,
|
|
195
|
-
|
|
219
|
+
isActive,
|
|
196
220
|
isInputActive,
|
|
197
221
|
escape,
|
|
198
222
|
rootStyles,
|
|
@@ -217,9 +241,9 @@ var __vue_render__ = function () {
|
|
|
217
241
|
var _vm = this;
|
|
218
242
|
var _h = _vm.$createElement;
|
|
219
243
|
var _c = _vm._self._c || _h;
|
|
220
|
-
return _vm.
|
|
244
|
+
return _vm.isActive ? _c('OrOverlay', {
|
|
221
245
|
attrs: {
|
|
222
|
-
"fullscreen":
|
|
246
|
+
"fullscreen": ""
|
|
223
247
|
}
|
|
224
248
|
}, [_c('div', _vm._b({
|
|
225
249
|
ref: "root",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrButton-
|
|
3
|
-
import { a as BUTTON_COLOR } from './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
4
|
-
import { _ as __vue_component__$2, O as OrModalSizes } from './OrModal-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrButton-b60290c4.js';
|
|
3
|
+
import { a as BUTTON_COLOR } from './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
4
|
+
import { _ as __vue_component__$2, O as OrModalSizes } from './OrModal-206611f2.js';
|
|
5
5
|
import { _ as __vue_component__$3 } from './OrInput-014d2e47.js';
|
|
6
6
|
import { useMagicKeys, useActiveElement, whenever } from '@vueuse/core';
|
|
7
7
|
import { logicAnd } from '@vueuse/math';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import { _ as __vue_component__$3, a as __vue_component__$5, b as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-9e49aba0.js';
|
|
4
|
-
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$4 } from './OrDateTimePickerMonthSelect-
|
|
4
|
+
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$4 } from './OrDateTimePickerMonthSelect-e35404a7.js';
|
|
5
5
|
import { _ as __vue_component__$7 } from './OrError-4ffc1c39.js';
|
|
6
6
|
import { _ as __vue_component__$8 } from './OrHint-aa221198.js';
|
|
7
|
-
import { _ as __vue_component__$a } from './OrIconButton-
|
|
7
|
+
import { _ as __vue_component__$a } from './OrIconButton-ee747c71.js';
|
|
8
8
|
import { _ as __vue_component__$9 } from './OrIcon-d35a84d8.js';
|
|
9
9
|
import { _ as __vue_component__$b } from './OrInputBox-d36b1323.js';
|
|
10
10
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-fe250f7a.js';
|
|
11
11
|
import { _ as __vue_component__$c } from './OrLabel-63380256.js';
|
|
12
|
-
import { _ as __vue_component__$d } from './OrPopover-
|
|
12
|
+
import { _ as __vue_component__$d } from './OrPopover-80459663.js';
|
|
13
13
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
14
14
|
|
|
15
15
|
const DatePicker = [
|
|
@@ -261,7 +261,7 @@ var __vue_render__ = function () {
|
|
|
261
261
|
"placement": 'bottom-start'
|
|
262
262
|
},
|
|
263
263
|
on: {
|
|
264
|
-
"
|
|
264
|
+
"update:state:closed-automatically": function ($event) {
|
|
265
265
|
return _vm.reset();
|
|
266
266
|
}
|
|
267
267
|
}
|
|
@@ -2,14 +2,14 @@ import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import { _ as __vue_component__$9 } from './OrError-4ffc1c39.js';
|
|
4
4
|
import { _ as __vue_component__$a } from './OrHint-aa221198.js';
|
|
5
|
-
import { _ as __vue_component__$c } from './OrIconButton-
|
|
5
|
+
import { _ as __vue_component__$c } from './OrIconButton-ee747c71.js';
|
|
6
6
|
import { _ as __vue_component__$b } from './OrIcon-d35a84d8.js';
|
|
7
7
|
import { _ as __vue_component__$d } from './OrInputBox-d36b1323.js';
|
|
8
8
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-fe250f7a.js';
|
|
9
9
|
import { _ as __vue_component__$e } from './OrLabel-63380256.js';
|
|
10
|
-
import { _ as __vue_component__$f } from './OrPopover-
|
|
10
|
+
import { _ as __vue_component__$f } from './OrPopover-80459663.js';
|
|
11
11
|
import { _ as __vue_component__$3, a as __vue_component__$5, b as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-9e49aba0.js';
|
|
12
|
-
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$4 } from './OrDateTimePickerMonthSelect-
|
|
12
|
+
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$4 } from './OrDateTimePickerMonthSelect-e35404a7.js';
|
|
13
13
|
import { _ as __vue_component__$7, a as __vue_component__$8 } from './OrDateTimePickerTimeSelect-aed7d33d.js';
|
|
14
14
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
15
15
|
|
|
@@ -338,7 +338,7 @@ var __vue_render__ = function () {
|
|
|
338
338
|
"placement": 'bottom-start'
|
|
339
339
|
},
|
|
340
340
|
on: {
|
|
341
|
-
"
|
|
341
|
+
"update:state:closed-automatically": function ($event) {
|
|
342
342
|
return _vm.reset();
|
|
343
343
|
}
|
|
344
344
|
}
|
|
@@ -398,7 +398,7 @@ var __vue_render__ = function () {
|
|
|
398
398
|
"placement": 'bottom-start'
|
|
399
399
|
},
|
|
400
400
|
on: {
|
|
401
|
-
"
|
|
401
|
+
"update:state:closed-automatically": function ($event) {
|
|
402
402
|
return _vm.reset();
|
|
403
403
|
}
|
|
404
404
|
}
|
|
@@ -6,9 +6,9 @@ import { _ as __vue_component__$3 } from './OrLabel-fcceec1b.js';
|
|
|
6
6
|
import { _ as __vue_component__$4 } from './OrError-efc74907.js';
|
|
7
7
|
import { _ as __vue_component__$5 } from './OrHint-7eadc91e.js';
|
|
8
8
|
import { _ as __vue_component__$6 } from './OrCollapse-9b5d590f.js';
|
|
9
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
10
|
-
import { _ as __vue_component__$7 } from './OrIconButton-
|
|
11
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
9
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js';
|
|
10
|
+
import { _ as __vue_component__$7 } from './OrIconButton-544ee642.js';
|
|
11
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
12
12
|
import { s as setStyle, r as requestAF, d as getCS, a as reflow, c as cancelAF } from './dom-f1d55b67.js';
|
|
13
13
|
import { p as pxToRem } from './px-to-rem-0b26b83e.js';
|
|
14
14
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
3
3
|
import { _ as __vue_component__$3 } from './OrButton-9622e713.js';
|
|
4
|
-
import { _ as __vue_component__$5 } from './OrIconButton-
|
|
4
|
+
import { _ as __vue_component__$5 } from './OrIconButton-ee747c71.js';
|
|
5
5
|
import { _ as __vue_component__$4 } from './OrIcon-d35a84d8.js';
|
|
6
6
|
import { _ as __vue_component__$7 } from './OrMenuItem-6f9b8a93.js';
|
|
7
|
-
import { _ as __vue_component__$6 } from './OrMenu-
|
|
8
|
-
import './OrPopover-
|
|
7
|
+
import { _ as __vue_component__$6 } from './OrMenu-8b902c22.js';
|
|
8
|
+
import './OrPopover-80459663.js';
|
|
9
9
|
|
|
10
10
|
function useDatePlaceholder() {
|
|
11
11
|
const sample = new Date(Date.UTC(1111, 1, 3, 4, 5)).toLocaleString(navigator.language, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
1
|
+
import { s as script } from './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
2
2
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
3
3
|
|
|
4
4
|
/* script */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, isVue3 } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$1, I as IconSize } from './OrIcon-d35a84d8.js';
|
|
3
|
-
import { _ as __vue_component__$2 } from './OrTooltip-
|
|
4
|
-
import './OrPopover-
|
|
3
|
+
import { _ as __vue_component__$2 } from './OrTooltip-5a6e0f64.js';
|
|
4
|
+
import './OrPopover-80459663.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
7
7
|
var IconButtonColor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, isVue3, h } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$2 } from './OrIcon-fa826b6b.js';
|
|
3
|
-
import { _ as __vue_component__$3 } from './OrLoader-
|
|
3
|
+
import { _ as __vue_component__$3 } from './OrLoader-0cc7c73e.js';
|
|
4
4
|
import { _ as __vue_component__$1 } from './OrTooltip-0bbf1ed5.js';
|
|
5
5
|
import './OrTooltipContent-57a25502.js';
|
|
6
6
|
import { O as OrFloatingPlacements } from './OrFloating-e7ac7618.js';
|
|
@@ -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, I as InlineInputBoxSize } 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';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, getCurrentInstance } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$1 } from './OrCollapse-9b5d590f.js';
|
|
3
3
|
import { _ as __vue_component__$2 } from './OrError-efc74907.js';
|
|
4
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
5
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
6
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
4
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js';
|
|
5
|
+
import { _ as __vue_component__$3 } from './OrIconButton-544ee642.js';
|
|
6
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
7
7
|
import { useVModel } from '@vueuse/core';
|
|
8
8
|
import { s as setStyle, r as requestAF, d as getCS, a as reflow, c as cancelAF } from './dom-f1d55b67.js';
|
|
9
9
|
import { p as pxToRem } from './px-to-rem-0b26b83e.js';
|