@onereach/ui-components 4.6.2-beta.2782.0 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +47 -30
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +10 -19
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +0 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +0 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +0 -1
- package/dist/bundled/v2/components/OrCheckboxGroupV3/OrCheckboxGroup.js +1 -0
- package/dist/bundled/v2/components/OrCheckboxGroupV3/index.js +1 -0
- package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.js +1 -0
- package/dist/bundled/v2/components/OrCheckboxTreeV3/index.js +1 -0
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +4 -3
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +1 -0
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +52 -28
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.vue.d.ts +36 -18
- package/dist/bundled/v2/components/OrConfirmV3/index.js +0 -1
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +2 -3
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -2
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +3 -4
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -2
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +0 -1
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +0 -1
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +0 -1
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +0 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +0 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +0 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +0 -1
- package/dist/bundled/v2/components/OrInputV3/index.js +0 -1
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +48 -21
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.vue.d.ts +16 -13
- package/dist/bundled/v2/components/OrMenuV3/index.js +0 -1
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +65 -220
- package/dist/bundled/v2/components/OrModalV3/OrModal.vue.d.ts +19 -13
- package/dist/bundled/v2/components/OrModalV3/index.js +8 -9
- package/dist/bundled/v2/components/OrModalV3/styles.d.ts +3 -0
- package/dist/bundled/v2/components/OrModalV3/styles.js +16 -1
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +0 -1
- package/dist/bundled/v2/components/OrNotificationV3/index.js +0 -1
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +1 -2
- package/dist/bundled/v2/components/OrPaginationV3/index.js +0 -1
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +102 -31
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +12 -19
- package/dist/bundled/v2/components/OrPopoverV3/index.js +0 -1
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +0 -1
- package/dist/bundled/v2/components/OrSearchV3/index.js +0 -1
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +6 -2
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +2 -0
- package/dist/bundled/v2/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +0 -1
- package/dist/bundled/v2/components/OrSidebarV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +0 -1
- package/dist/bundled/v2/components/OrTabsV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +0 -1
- package/dist/bundled/v2/components/OrTagV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +0 -1
- package/dist/bundled/v2/components/OrTagsV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +1 -2
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +0 -1
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +0 -1
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +0 -1
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +0 -1
- package/dist/bundled/v2/components/OrToastV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +40 -31
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +17 -20
- package/dist/bundled/v2/components/OrTooltipV3/index.js +0 -1
- package/dist/bundled/v2/components/index.js +2 -2
- package/dist/bundled/v2/hooks/index.d.ts +0 -1
- package/dist/bundled/v2/hooks/index.js +0 -1
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +2 -1
- package/dist/bundled/v2/hooks/useElevation.js +1 -3
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/bundled/v2/index.js +3 -3
- package/dist/bundled/v2/utils/isEmpty.d.ts +1 -1
- package/dist/bundled/v2/utils/isEmpty.js +3 -1
- package/dist/bundled/v2/utils/isEmptyValue.d.ts +1 -0
- package/dist/bundled/v2/utils/isEmptyValue.js +5 -0
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-18f9c167.js → OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js} +45 -28
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-c3c54670.js → OrButton.vue_vue_type_script_lang-cc8aa3a7.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-ccc178b8.js → OrButton.vue_vue_type_script_lang-e9677805.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-1dfa1d6c.js → OrCardCollection.vue_vue_type_script_lang-1f2d30f3.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-9cf3741e.js → OrCardCollection.vue_vue_type_script_lang-34390dfe.js} +3 -3
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-75c6053a.js → OrCheckbox.vue_vue_type_script_lang-cfeb4a4e.js} +2 -1
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-1e71771d.js → OrCheckboxGroup.vue_vue_type_script_lang-f931fc03.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-46436cf3.js → OrCheckboxTree.vue_vue_type_script_lang-7e5bebf5.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-0a713357.js → OrCode.vue_vue_type_script_lang-5bfa4f9c.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-50cf8d05.js → OrConfirm.vue_vue_type_script_lang-2cb65fae.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-710de7be.js → OrConfirm.vue_vue_type_script_lang-e1390930.js} +52 -28
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-609cd431.js → OrDatePicker.vue_vue_type_script_lang-d071d109.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-eecb2974.js → OrDateTimePicker.vue_vue_type_script_lang-8aa80833.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-9eeb7b20.js → OrDateTimePicker.vue_vue_type_script_lang-b8045270.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-747d8207.js → OrDateTimePickerMonthSelect-387c2096.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-851fe8b9.js → OrIconButton.vue_vue_type_script_lang-5bba9f3f.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-a9aa6ad1.js → OrIconButton.vue_vue_type_script_lang-b5d5718b.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-80e21acb.js → OrInlineInput.vue_vue_type_script_lang-3c6b0958.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-1f6e165b.js → OrInlineTextEdit.vue_vue_type_script_lang-f669de9e.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-7cbe9490.js → OrInlineTextarea.vue_vue_type_script_lang-da59cd8e.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-b42a6626.js → OrInput.vue_vue_type_script_lang-6242286b.js} +1 -1
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-d305eadc.js → OrList.vue_vue_type_script_lang-29a5842e.js} +2 -2
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-b13756a1.js → OrListOfInputs.vue_vue_type_script_lang-740154ee.js} +2 -2
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-115f2c60.js +93 -0
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-0cc960ad.js → OrModal.vue_vue_type_script_lang-05916fd8.js} +1 -1
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-202c4e2f.js +71 -0
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-5609733f.js → OrNotification.vue_vue_type_script_lang-463e1a82.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-50d99f88.js → OrNotification.vue_vue_type_script_lang-4e5a04fa.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-8ce757fb.js → OrOverflowMenu.vue_vue_type_script_lang-1b4af3a6.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-d778e42d.js → OrPagination.vue_vue_type_script_lang-bdc8d9fb.js} +1 -1
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-a82a53ab.js → OrPassword.vue_vue_type_script_lang-28c99eb3.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-27a7448c.js → OrPopover.vue_vue_type_script_lang-7b1b2488.js} +98 -27
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-499bbce0.js → OrSearch.vue_vue_type_script_lang-0bcc597c.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-f5158c63.js → OrSearch.vue_vue_type_script_lang-8dbecb52.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-60b42f3d.js → OrSelect.vue_vue_type_script_lang-4bf05f8b.js} +9 -4
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-34a366c9.js → OrSelect.vue_vue_type_script_lang-a8a2875f.js} +1 -1
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-7097ef23.js → OrSidebar.vue_vue_type_script_lang-780eaa84.js} +1 -1
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-a708d93b.js → OrStepper.vue_vue_type_script_lang-c2dffcac.js} +1 -1
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-888fbcef.js → OrSwitch.vue_vue_type_script_lang-3ef06bbd.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-09e8c09e.js → OrTabs.vue_vue_type_script_lang-9d4221f1.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-7287f234.js → OrTag.vue_vue_type_script_lang-09948d1f.js} +1 -1
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-67848ef7.js → OrTags.vue_vue_type_script_lang-71fb4f1d.js} +2 -2
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-89fae7b5.js → OrTextbox.vue_vue_type_script_lang-ed48ed9b.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-3da85afb.js → OrTimePicker.vue_vue_type_script_lang-c52a2a0b.js} +2 -2
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-bb3db5bf.js +72 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +6 -7
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +10 -16
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +2 -3
- package/dist/bundled/v3/components/OrButton/OrButton.js +3 -3
- package/dist/bundled/v3/components/OrButton/index.js +2 -2
- package/dist/bundled/v3/components/OrButtonV2/OrButton.js +3 -3
- package/dist/bundled/v3/components/OrButtonV2/index.js +3 -3
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +5 -5
- package/dist/bundled/v3/components/OrCardCollection/index.js +4 -4
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +10 -11
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +9 -10
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +5 -4
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +4 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +4 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +3 -2
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +3 -2
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -1
- package/dist/bundled/v3/components/OrCode/OrCode.js +5 -5
- package/dist/bundled/v3/components/OrCode/index.js +4 -4
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +6 -6
- package/dist/bundled/v3/components/OrConfirm/index.js +5 -5
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +10 -11
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +35 -18
- package/dist/bundled/v3/components/OrConfirmV3/index.js +7 -8
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +10 -11
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +8 -9
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +4 -4
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +3 -3
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +11 -12
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +8 -9
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +3 -3
- package/dist/bundled/v3/components/OrIconButtonV2/index.js +2 -2
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +6 -7
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +5 -6
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +7 -8
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +6 -7
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +4 -4
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +3 -3
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +7 -8
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +6 -7
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +7 -8
- package/dist/bundled/v3/components/OrInputV3/index.js +6 -7
- package/dist/bundled/v3/components/OrList/OrList.js +5 -5
- package/dist/bundled/v3/components/OrList/index.js +4 -4
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +6 -6
- package/dist/bundled/v3/components/OrListOfInputs/index.js +5 -5
- package/dist/bundled/v3/components/OrLoader/OrLoader.js +2 -2
- package/dist/bundled/v3/components/OrLoader/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +8 -9
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +5 -13
- package/dist/bundled/v3/components/OrMenuV3/index.js +4 -5
- package/dist/bundled/v3/components/OrModal/OrModal.js +4 -4
- package/dist/bundled/v3/components/OrModal/index.js +3 -3
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +33 -36
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +16 -14
- package/dist/bundled/v3/components/OrModalV3/index.js +14 -15
- package/dist/bundled/v3/components/OrModalV3/styles.d.ts +3 -0
- package/dist/bundled/v3/components/OrModalV3/styles.js +16 -1
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +4 -4
- package/dist/bundled/v3/components/OrNotification/index.js +3 -3
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +7 -8
- package/dist/bundled/v3/components/OrNotificationV3/index.js +6 -7
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +5 -5
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +4 -4
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +7 -8
- package/dist/bundled/v3/components/OrPaginationV3/index.js +5 -6
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +4 -4
- package/dist/bundled/v3/components/OrPassword/index.js +3 -3
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +7 -8
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +11 -16
- package/dist/bundled/v3/components/OrPopoverV3/index.js +3 -4
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +4 -4
- package/dist/bundled/v3/components/OrSearch/index.js +3 -3
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +8 -9
- package/dist/bundled/v3/components/OrSearchV3/index.js +7 -8
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +3 -3
- package/dist/bundled/v3/components/OrSelect/index.js +2 -2
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +12 -12
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +1 -0
- package/dist/bundled/v3/components/OrSelectV3/index.js +10 -10
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +7 -8
- package/dist/bundled/v3/components/OrSidebarV3/index.js +6 -7
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +4 -4
- package/dist/bundled/v3/components/OrStepper/index.js +3 -3
- package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +3 -3
- package/dist/bundled/v3/components/OrSwitch/index.js +2 -2
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +6 -7
- package/dist/bundled/v3/components/OrTabsV3/index.js +5 -6
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +7 -8
- package/dist/bundled/v3/components/OrTagV3/index.js +6 -7
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +8 -9
- package/dist/bundled/v3/components/OrTagsV3/index.js +7 -8
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +4 -4
- package/dist/bundled/v3/components/OrTextbox/index.js +3 -3
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +8 -9
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +6 -7
- package/dist/bundled/v3/components/OrToast/OrToast.js +2 -2
- package/dist/bundled/v3/components/OrToast/index.js +3 -3
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +4 -4
- package/dist/bundled/v3/components/OrToastContainer/index.js +3 -3
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +7 -8
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +6 -7
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +5 -6
- package/dist/bundled/v3/components/OrToastV3/index.js +6 -7
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +9 -12
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +6 -17
- package/dist/bundled/v3/components/OrTooltipV3/index.js +4 -5
- package/dist/bundled/v3/components/index.js +50 -50
- package/dist/bundled/v3/hooks/index.d.ts +0 -1
- package/dist/bundled/v3/hooks/index.js +0 -1
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +2 -1
- package/dist/bundled/v3/hooks/useElevation.js +1 -3
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/bundled/v3/index.js +51 -51
- package/dist/bundled/v3/utils/isEmpty.d.ts +1 -1
- package/dist/bundled/v3/utils/isEmpty.js +3 -1
- package/dist/bundled/v3/utils/isEmptyValue.d.ts +1 -0
- package/dist/bundled/v3/utils/isEmptyValue.js +5 -0
- package/dist/esm/v2/{OrBottomSheet-f858cabb.js → OrBottomSheet-ffa029ca.js} +48 -31
- package/dist/esm/v2/{OrButton-22d9ecc5.js → OrButton-b60290c4.js} +1 -1
- package/dist/esm/v2/{OrButton-a8f685e9.js → OrButton-bafb6cad.js} +1 -1
- package/dist/esm/v2/{OrButton.vue_rollup-plugin-vue_styles.0-0b3d0a46.js → OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js} +2 -2
- package/dist/esm/v2/{OrCardCollection-e70e44bb.js → OrCardCollection-4eb5c533.js} +4 -4
- package/dist/esm/v2/{OrCardCollection-7ba11168.js → OrCardCollection-e23d4238.js} +4 -4
- package/dist/esm/v2/{OrCheckbox-59332f84.js → OrCheckbox-3a8c93ad.js} +8 -4
- package/dist/esm/v2/{OrCheckboxGroup-f470f938.js → OrCheckboxGroup-b0d95dd6.js} +1 -1
- package/dist/esm/v2/{OrCheckboxTree-1304ae59.js → OrCheckboxTree-54b0fdc1.js} +1 -1
- package/dist/esm/v2/{OrCode-a157e15f.js → OrCode-cbd05828.js} +4 -4
- package/dist/esm/v2/{OrConfirm-1a1becc7.js → OrConfirm-8ec55f84.js} +54 -30
- package/dist/esm/v2/{OrConfirm-49df6698.js → OrConfirm-f4eec5b2.js} +3 -3
- package/dist/esm/v2/{OrDatePicker-219d2400.js → OrDatePicker-b6ebf44a.js} +4 -4
- package/dist/esm/v2/{OrDateTimePicker-98a24b20.js → OrDateTimePicker-85c08b90.js} +5 -5
- package/dist/esm/v2/{OrDateTimePicker-d095cd1e.js → OrDateTimePicker-fb410167.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-fe0170bc.js → OrDateTimePickerMonthSelect-e35404a7.js} +3 -3
- package/dist/esm/v2/{OrIconButton-e60f47af.js → OrIconButton-544ee642.js} +1 -1
- package/dist/esm/v2/{OrIconButton-1f0ff5dc.js → OrIconButton-ee747c71.js} +2 -2
- package/dist/esm/v2/{OrIconButton.vue_rollup-plugin-vue_styles.0-8e03311b.js → OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-d5168a53.js → OrInlineInput-a131caf4.js} +1 -1
- package/dist/esm/v2/{OrInlineTextEdit-362e9f5b.js → OrInlineTextEdit-f52267aa.js} +3 -3
- package/dist/esm/v2/{OrInlineTextarea-6285d2fc.js → OrInlineTextarea-7cc45396.js} +1 -1
- package/dist/esm/v2/{OrInput-ad560a10.js → OrInput-8c7b3cce.js} +1 -1
- package/dist/esm/v2/{OrList-5ecdd0d6.js → OrList-2e65227a.js} +3 -3
- package/dist/esm/v2/{OrListOfInputs-75414b31.js → OrListOfInputs-9b7522fa.js} +4 -4
- package/dist/esm/v2/{OrLoader-52bb8afa.js → OrLoader-0cc7c73e.js} +3 -1
- package/dist/esm/v2/{OrMenu-f01d0df1.js → OrMenu-8b902c22.js} +49 -23
- package/dist/esm/v2/OrModal-1f80d87f.js +174 -0
- package/dist/esm/v2/{OrModal-82c27104.js → OrModal-206611f2.js} +3 -3
- package/dist/esm/v2/{OrNotification-1b795836.js → OrNotification-16e6d4ff.js} +1 -1
- package/dist/esm/v2/{OrNotification-99620c47.js → OrNotification-44bc1f50.js} +3 -3
- package/dist/esm/v2/{OrOverflowMenu-a58cbd67.js → OrOverflowMenu-e3ae75a3.js} +4 -4
- package/dist/esm/v2/{OrOverlay-f791976c.js → OrOverlay-4c8c11e2.js} +1 -1
- package/dist/esm/v2/{OrPagination-cf75e50e.js → OrPagination-36583054.js} +3 -3
- package/dist/esm/v2/{OrPassword-12a00ddc.js → OrPassword-1de0dc6c.js} +3 -3
- package/dist/esm/v2/{OrPopover-8f2fbc1b.js → OrPopover-80459663.js} +104 -33
- package/dist/esm/v2/{OrSearch-6cffa183.js → OrSearch-5aa8154f.js} +1 -1
- package/dist/esm/v2/{OrSearch-b447018e.js → OrSearch-e2941d35.js} +3 -3
- package/dist/esm/v2/{OrSelect-b49b6e4a.js → OrSelect-49239b74.js} +1 -1
- package/dist/esm/v2/{OrSelect-1ee200b7.js → OrSelect-dd8affc1.js} +9 -5
- package/dist/esm/v2/{OrSidebar-00ba8017.js → OrSidebar-638b1d60.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-fcef54c9.js → OrSidebarCollapseButton-2c81d465.js} +1 -1
- package/dist/esm/v2/{OrStepper-6b35550a.js → OrStepper-3707ec50.js} +2 -2
- package/dist/esm/v2/{OrSwitch-9fa5adeb.js → OrSwitch-75458852.js} +1 -1
- package/dist/esm/v2/{OrTabs-c25f1fe2.js → OrTabs-653258a2.js} +2 -2
- package/dist/esm/v2/{OrTag-3612d8c1.js → OrTag-6256623c.js} +1 -1
- package/dist/esm/v2/{OrTags-e29da4e0.js → OrTags-db2608dc.js} +2 -2
- package/dist/esm/v2/{OrTextbox-b666b30b.js → OrTextbox-c85d7fe6.js} +3 -3
- package/dist/esm/v2/{OrTimePicker-c1898f16.js → OrTimePicker-696e29ed.js} +3 -3
- package/dist/esm/v2/{OrToastContainer-913c152f.js → OrToastContainer-7017d12b.js} +3 -3
- package/dist/esm/v2/{OrTooltip-f341039a.js → OrTooltip-5a6e0f64.js} +41 -32
- package/dist/esm/v2/components/index.js +53 -54
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +10 -19
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -4
- package/dist/esm/v2/components/or-button/index.js +2 -2
- package/dist/esm/v2/components/or-button-v2/index.js +5 -5
- package/dist/esm/v2/components/or-card-collection/index.js +6 -6
- package/dist/esm/v2/components/or-card-collection-v3/index.js +10 -11
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v2/components/or-code/index.js +6 -6
- package/dist/esm/v2/components/or-confirm/index.js +7 -7
- package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +36 -18
- package/dist/esm/v2/components/or-confirm-v3/index.js +8 -9
- package/dist/esm/v2/components/or-date-picker-v3/index.js +9 -10
- package/dist/esm/v2/components/or-date-time-picker/index.js +5 -5
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +9 -10
- package/dist/esm/v2/components/or-icon-button-v2/index.js +3 -3
- package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -7
- package/dist/esm/v2/components/or-inline-input-v3/index.js +7 -8
- package/dist/esm/v2/components/or-inline-text-edit/index.js +5 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +7 -8
- package/dist/esm/v2/components/or-input-v3/index.js +7 -8
- package/dist/esm/v2/components/or-list/index.js +6 -6
- package/dist/esm/v2/components/or-list-of-inputs/index.js +7 -7
- package/dist/esm/v2/components/or-loader/index.js +1 -1
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +16 -13
- package/dist/esm/v2/components/or-menu-v3/index.js +6 -7
- package/dist/esm/v2/components/or-modal/index.js +5 -5
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +19 -13
- package/dist/esm/v2/components/or-modal-v3/index.js +11 -12
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +3 -0
- package/dist/esm/v2/components/or-notification/index.js +5 -5
- package/dist/esm/v2/components/or-notification-v3/index.js +7 -8
- package/dist/esm/v2/components/or-overflow-menu/index.js +6 -6
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +6 -7
- package/dist/esm/v2/components/or-password/index.js +5 -5
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +12 -19
- package/dist/esm/v2/components/or-popover-v3/index.js +4 -5
- package/dist/esm/v2/components/or-search/index.js +5 -5
- package/dist/esm/v2/components/or-search-v3/index.js +8 -9
- package/dist/esm/v2/components/or-select/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-select-v3/index.js +10 -11
- package/dist/esm/v2/components/or-sidebar-v3/index.js +8 -9
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +7 -8
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -8
- package/dist/esm/v2/components/or-stepper/index.js +5 -5
- package/dist/esm/v2/components/or-switch/index.js +2 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +6 -7
- package/dist/esm/v2/components/or-tag-v3/index.js +7 -8
- package/dist/esm/v2/components/or-tags-v3/index.js +8 -9
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textbox/index.js +5 -5
- package/dist/esm/v2/components/or-time-picker-v3/index.js +7 -8
- package/dist/esm/v2/components/or-toast/index.js +5 -5
- package/dist/esm/v2/components/or-toast/or-toast-container/index.js +5 -5
- package/dist/esm/v2/components/or-toast-v3/index.js +7 -8
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +7 -8
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +17 -20
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -6
- package/dist/esm/v2/hooks/index.d.ts +0 -1
- package/dist/esm/v2/hooks/index.js +1 -2
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +2 -1
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/esm/v2/index.js +53 -54
- package/dist/esm/v2/{types-e365967d.js → types-4a7d24f3.js} +2 -2
- package/dist/esm/{v3/useElevation-a50ec347.js → v2/useElevation-b5a49746.js} +1 -3
- package/dist/esm/v2/utils/isEmpty.d.ts +1 -1
- package/dist/esm/v2/utils/isEmptyValue.d.ts +1 -0
- package/dist/esm/v3/{OrBottomSheet-348fe528.js → OrBottomSheet-5969a217.js} +48 -31
- package/dist/esm/v3/{OrButton-5410e79f.js → OrButton-0082a3ce.js} +1 -1
- package/dist/esm/v3/{OrButton-e44f6f03.js → OrButton-78a118d7.js} +2 -2
- package/dist/esm/v3/{OrCardCollection-126e4eb3.js → OrCardCollection-b9218f98.js} +3 -3
- package/dist/esm/v3/{OrCardCollection-97807bb9.js → OrCardCollection-d5390215.js} +4 -4
- package/dist/esm/v3/{OrCheckbox-56d7b6eb.js → OrCheckbox-7093e9c2.js} +6 -2
- package/dist/esm/v3/{OrCheckboxGroup-c41a99ba.js → OrCheckboxGroup-f755d216.js} +1 -1
- package/dist/esm/v3/{OrCheckboxTree-fa6288af.js → OrCheckboxTree-99f6eaec.js} +1 -1
- package/dist/esm/v3/{OrCode-cae13dcc.js → OrCode-2f8cdf96.js} +3 -3
- package/dist/esm/v3/{OrConfirm-a004c8b6.js → OrConfirm-704f817e.js} +3 -3
- package/dist/esm/v3/{OrConfirm-06350a61.js → OrConfirm-fe8617ac.js} +54 -30
- package/dist/esm/v3/{OrDatePicker-db267041.js → OrDatePicker-f144d074.js} +4 -4
- package/dist/esm/v3/{OrDateTimePicker-f505ab31.js → OrDateTimePicker-2214cd85.js} +5 -5
- package/dist/esm/v3/{OrDateTimePicker-cde869f4.js → OrDateTimePicker-c19dcefc.js} +2 -2
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-eac28443.js → OrDateTimePickerMonthSelect-5a7b7b5c.js} +3 -3
- package/dist/esm/v3/{OrIconButton-440b9f36.js → OrIconButton-ad0cbc8d.js} +1 -1
- package/dist/esm/v3/{OrIconButton-3d1ffea6.js → OrIconButton-b7217ea5.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-3785a2fd.js → OrInlineInput-dcb28ea2.js} +1 -1
- package/dist/esm/v3/{OrInlineTextEdit-be428430.js → OrInlineTextEdit-6bf54bd0.js} +2 -2
- package/dist/esm/v3/{OrInlineTextarea-7d5e758d.js → OrInlineTextarea-88eac437.js} +1 -1
- package/dist/esm/v3/{OrInput-2e83e367.js → OrInput-af5bb98a.js} +1 -1
- package/dist/esm/v3/{OrList-9872c4e6.js → OrList-042d8681.js} +2 -2
- package/dist/esm/v3/{OrListOfInputs-916d8682.js → OrListOfInputs-ce0d6ac0.js} +3 -3
- package/dist/esm/v3/{OrLoader-7d0021b7.js → OrLoader-7b006619.js} +3 -1
- package/dist/esm/v3/{OrMenu-458e495d.js → OrMenu-8a53ccf9.js} +50 -24
- package/dist/esm/v3/OrModal-1366926a.js +150 -0
- package/dist/esm/v3/{OrModal-03ad23ea.js → OrModal-f3a4813a.js} +2 -2
- package/dist/esm/v3/{OrNotification-cdbd93bc.js → OrNotification-09216b8b.js} +1 -1
- package/dist/esm/v3/{OrNotification-69eff848.js → OrNotification-538f8e92.js} +2 -2
- package/dist/esm/v3/{OrOverflowMenu-40bdbf02.js → OrOverflowMenu-4d0bf63a.js} +2 -2
- package/dist/esm/v3/{OrOverlay-28952099.js → OrOverlay-bf72f582.js} +1 -1
- package/dist/esm/v3/{OrPagination-ad365d85.js → OrPagination-c6046af4.js} +3 -3
- package/dist/esm/v3/{OrPassword-42208c82.js → OrPassword-9192b9ea.js} +2 -2
- package/dist/esm/v3/{OrPopover-9bc36ad6.js → OrPopover-15c2968f.js} +102 -31
- package/dist/esm/v3/{OrSearch-cdb1eeb4.js → OrSearch-d0c8aca7.js} +2 -2
- package/dist/esm/v3/{OrSearch-ad1a1b36.js → OrSearch-ecad7638.js} +1 -1
- package/dist/esm/v3/{OrSelect-24937c69.js → OrSelect-60205145.js} +1 -1
- package/dist/esm/v3/{OrSelect-04f5014d.js → OrSelect-cfb336db.js} +9 -5
- package/dist/esm/v3/{OrSidebar-20aaf94a.js → OrSidebar-1579ad80.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-8d1f1bd0.js → OrSidebarCollapseButton-2668946c.js} +1 -1
- package/dist/esm/v3/{OrStepper-6c1a95f6.js → OrStepper-651a619a.js} +2 -2
- package/dist/esm/v3/{OrSwitch-9edf6e63.js → OrSwitch-10747a24.js} +1 -1
- package/dist/esm/v3/{OrTabs-867f01e7.js → OrTabs-a2d87627.js} +2 -2
- package/dist/esm/v3/{OrTag-fb9d3047.js → OrTag-8605e9e6.js} +1 -1
- package/dist/esm/v3/{OrTags-a818974a.js → OrTags-3724ff59.js} +2 -2
- package/dist/esm/v3/{OrTextbox-5bdb513f.js → OrTextbox-56714f51.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-7a47802d.js → OrTimePicker-68de86d9.js} +3 -3
- package/dist/esm/v3/{OrToastContainer-000547a2.js → OrToastContainer-72b52576.js} +2 -2
- package/dist/esm/v3/{OrTooltip-00037d45.js → OrTooltip-3d5fcaf9.js} +42 -27
- package/dist/esm/v3/components/index.js +51 -52
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +10 -16
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -4
- package/dist/esm/v3/components/or-button/index.js +2 -2
- package/dist/esm/v3/components/or-button-v2/index.js +3 -3
- package/dist/esm/v3/components/or-card-collection/index.js +5 -5
- package/dist/esm/v3/components/or-card-collection-v3/index.js +10 -11
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v3/components/or-code/index.js +5 -5
- package/dist/esm/v3/components/or-confirm/index.js +5 -5
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +35 -18
- package/dist/esm/v3/components/or-confirm-v3/index.js +8 -9
- package/dist/esm/v3/components/or-date-picker-v3/index.js +9 -10
- package/dist/esm/v3/components/or-date-time-picker/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +9 -10
- package/dist/esm/v3/components/or-icon-button-v2/index.js +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -7
- package/dist/esm/v3/components/or-inline-input-v3/index.js +7 -8
- package/dist/esm/v3/components/or-inline-text-edit/index.js +4 -4
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +7 -8
- package/dist/esm/v3/components/or-input-v3/index.js +7 -8
- package/dist/esm/v3/components/or-list/index.js +4 -4
- package/dist/esm/v3/components/or-list-of-inputs/index.js +5 -5
- package/dist/esm/v3/components/or-loader/index.js +1 -1
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +5 -13
- package/dist/esm/v3/components/or-menu-v3/index.js +6 -7
- package/dist/esm/v3/components/or-modal/index.js +4 -4
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +16 -14
- package/dist/esm/v3/components/or-modal-v3/index.js +10 -11
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +3 -0
- package/dist/esm/v3/components/or-notification/index.js +4 -4
- package/dist/esm/v3/components/or-notification-v3/index.js +7 -8
- package/dist/esm/v3/components/or-overflow-menu/index.js +4 -4
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +6 -7
- package/dist/esm/v3/components/or-password/index.js +4 -4
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +11 -16
- package/dist/esm/v3/components/or-popover-v3/index.js +4 -5
- package/dist/esm/v3/components/or-search/index.js +4 -4
- package/dist/esm/v3/components/or-search-v3/index.js +8 -9
- package/dist/esm/v3/components/or-select/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/index.js +10 -11
- package/dist/esm/v3/components/or-sidebar-v3/index.js +8 -9
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +7 -8
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -8
- package/dist/esm/v3/components/or-stepper/index.js +4 -4
- package/dist/esm/v3/components/or-switch/index.js +2 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +6 -7
- package/dist/esm/v3/components/or-tag-v3/index.js +7 -8
- package/dist/esm/v3/components/or-tags-v3/index.js +8 -9
- package/dist/esm/v3/components/or-textbox/index.js +4 -4
- package/dist/esm/v3/components/or-time-picker-v3/index.js +7 -8
- package/dist/esm/v3/components/or-toast/index.js +4 -4
- package/dist/esm/v3/components/or-toast/or-toast-container/index.js +4 -4
- package/dist/esm/v3/components/or-toast-v3/index.js +7 -8
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +7 -8
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +6 -17
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -6
- package/dist/esm/v3/hooks/index.d.ts +0 -1
- package/dist/esm/v3/hooks/index.js +1 -2
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +2 -1
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/esm/v3/index.js +51 -52
- package/dist/esm/v3/{types-f97d54b8.js → types-9e1555eb.js} +2 -2
- package/dist/esm/{v2/useElevation-a50ec347.js → v3/useElevation-b5a49746.js} +1 -3
- package/dist/esm/v3/utils/isEmpty.d.ts +1 -1
- package/dist/esm/v3/utils/isEmptyValue.d.ts +1 -0
- package/package.json +3 -2
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +58 -29
- package/src/components/or-checkbox-v3/OrCheckbox.vue +2 -1
- package/src/components/or-confirm-v3/OrConfirm.vue +50 -29
- package/src/components/or-date-picker-v3/OrDatePicker.vue +1 -1
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +2 -2
- package/src/components/or-menu-v3/OrMenu.vue +40 -18
- package/src/components/or-modal-v3/OrModal.vue +66 -32
- package/src/components/or-modal-v3/styles.ts +25 -0
- package/src/components/or-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-popover-v3/OrPopover.vue +125 -28
- package/src/components/or-select-v3/OrSelect.vue +9 -1
- package/src/components/or-time-picker-v3/OrTimePicker.vue +1 -1
- package/src/components/or-tooltip-v3/OrTooltip.vue +40 -25
- package/src/hooks/index.ts +0 -1
- package/src/hooks/useControlAttributes.ts +1 -1
- package/src/hooks/useElevation.ts +1 -3
- package/src/hooks/useValidationAttributes.ts +1 -1
- package/src/utils/isEmpty.ts +3 -1
- package/src/utils/isEmptyValue.ts +3 -0
- package/dist/bundled/v2/hooks/usePopoverState.d.ts +0 -8
- package/dist/bundled/v2/hooks/usePopoverState.js +0 -40
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-97d5a16c.js +0 -66
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-00b3317a.js +0 -160
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-0f90dccb.js +0 -55
- package/dist/bundled/v3/hooks/usePopoverState.d.ts +0 -8
- package/dist/bundled/v3/hooks/usePopoverState.js +0 -40
- package/dist/esm/v2/OrModal-ce0e3a9f.js +0 -312
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +0 -8
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-content/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +0 -8
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +0 -12
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-header/styles.d.ts +0 -1
- package/dist/esm/v2/hooks/usePopoverState.d.ts +0 -8
- package/dist/esm/v2/usePopoverState-30ac6da1.js +0 -40
- package/dist/esm/v3/OrModal-d6bb9576.js +0 -226
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +0 -5
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +0 -5
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +0 -7
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/styles.d.ts +0 -1
- package/dist/esm/v3/hooks/usePopoverState.d.ts +0 -8
- package/dist/esm/v3/usePopoverState-30ac6da1.js +0 -40
- package/src/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue +0 -37
- package/src/components/or-modal-v3/partials/or-modal-content/styles.ts +0 -10
- package/src/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue +0 -37
- package/src/components/or-modal-v3/partials/or-modal-footer/styles.ts +0 -4
- package/src/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue +0 -54
- package/src/components/or-modal-v3/partials/or-modal-header/styles.ts +0 -10
- package/src/hooks/usePopoverState.ts +0 -55
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-bf92c66b.js → OrDateTimePickerMonthSelect-75089f80.js} +0 -0
- /package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-27847e63.js → OrLoader.vue_vue_type_script_lang-a1fed697.js} +0 -0
- /package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-29ff6fd8.js → OrOverlay.vue_vue_type_script_lang-86c7b93a.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-fc32e90b.js → OrToastContainer.vue_vue_type_script_lang-485ef171.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-99d1a2c3.js → OrToastContainer.vue_vue_type_script_lang-6512c2eb.js} +0 -0
|
@@ -1 +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,10 +1,9 @@
|
|
|
1
1
|
import { usePointerSwipe, onClickOutside, SwipeDirection } from '@vueuse/core';
|
|
2
|
-
import { defineComponent, ref, computed,
|
|
2
|
+
import { defineComponent, ref, computed, watch, unref } from 'vue-demi';
|
|
3
3
|
import { BottomSheetVariant } from './components/OrBottomSheetV3/props.js';
|
|
4
4
|
import { BottomSheet, BottomSheetVariants, BottomSheetHandle, BottomSheetHeader } from './components/OrBottomSheetV3/styles.js';
|
|
5
5
|
import './components/OrOverlayV3/OrOverlay.js';
|
|
6
|
-
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-
|
|
7
|
-
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
6
|
+
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
8
7
|
|
|
9
8
|
var script = defineComponent({
|
|
10
9
|
name: 'OrBottomSheet',
|
|
@@ -13,17 +12,13 @@ var script = defineComponent({
|
|
|
13
12
|
},
|
|
14
13
|
inheritAttrs: false,
|
|
15
14
|
props: {
|
|
16
|
-
isOpen: {
|
|
17
|
-
type: Boolean,
|
|
18
|
-
default: false
|
|
19
|
-
},
|
|
20
15
|
variant: {
|
|
21
16
|
type: String,
|
|
22
17
|
default: BottomSheetVariant.Advanced
|
|
23
18
|
}
|
|
24
19
|
},
|
|
25
|
-
emits: ['update:state', 'open', '
|
|
26
|
-
expose: ['root', 'state', '
|
|
20
|
+
emits: ['update:state', 'update:state:open', 'update:state:fullscreen', 'update:state:closed', 'update:state:closed-automatically'],
|
|
21
|
+
expose: ['root', 'state', 'isOpen', 'isFullscreen', 'isClosed', 'open', 'close'],
|
|
27
22
|
setup(props, context) {
|
|
28
23
|
// Refs
|
|
29
24
|
const root = ref();
|
|
@@ -32,18 +27,43 @@ var script = defineComponent({
|
|
|
32
27
|
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
33
28
|
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
34
29
|
// State
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
41
|
-
const fullscreen = ref(false);
|
|
30
|
+
const state = ref('closed');
|
|
31
|
+
const isOpen = computed(() => state.value === 'open');
|
|
32
|
+
const isFullscreen = computed(() => state.value === 'fullscreen');
|
|
33
|
+
const isClosed = computed(() => state.value === 'closed');
|
|
34
|
+
// Events
|
|
42
35
|
watch(state, value => {
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
context.emit('update:state', value);
|
|
37
|
+
switch (value) {
|
|
38
|
+
case 'open':
|
|
39
|
+
context.emit('update:state:open');
|
|
40
|
+
break;
|
|
41
|
+
case 'fullscreen':
|
|
42
|
+
context.emit('update:state:fullscreen');
|
|
43
|
+
break;
|
|
44
|
+
case 'closed':
|
|
45
|
+
context.emit('update:state:closed');
|
|
46
|
+
break;
|
|
45
47
|
}
|
|
46
48
|
});
|
|
49
|
+
// Methods
|
|
50
|
+
function open() {
|
|
51
|
+
state.value = 'open';
|
|
52
|
+
}
|
|
53
|
+
function close() {
|
|
54
|
+
let auto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
55
|
+
state.value = 'closed';
|
|
56
|
+
if (auto) {
|
|
57
|
+
context.emit('update:state:closed-automatically');
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
// Handlers
|
|
61
|
+
function onSwipeUp() {
|
|
62
|
+
state.value = 'fullscreen';
|
|
63
|
+
}
|
|
64
|
+
function onSwipeDown() {
|
|
65
|
+
state.value = state.value === 'fullscreen' ? 'open' : 'closed';
|
|
66
|
+
}
|
|
47
67
|
// Effects
|
|
48
68
|
// #region Swipe
|
|
49
69
|
const swipeOptions = {
|
|
@@ -68,7 +88,7 @@ var script = defineComponent({
|
|
|
68
88
|
minHeight: '100%',
|
|
69
89
|
maxHeight: '100%'
|
|
70
90
|
});
|
|
71
|
-
|
|
91
|
+
onSwipeUp();
|
|
72
92
|
break;
|
|
73
93
|
case SwipeDirection.DOWN:
|
|
74
94
|
Object.assign(rootElement.style, {
|
|
@@ -76,11 +96,7 @@ var script = defineComponent({
|
|
|
76
96
|
minHeight: '0',
|
|
77
97
|
maxHeight: '50%'
|
|
78
98
|
});
|
|
79
|
-
|
|
80
|
-
fullscreen.value = false;
|
|
81
|
-
} else {
|
|
82
|
-
close();
|
|
83
|
-
}
|
|
99
|
+
onSwipeDown();
|
|
84
100
|
break;
|
|
85
101
|
}
|
|
86
102
|
}
|
|
@@ -97,7 +113,7 @@ var script = defineComponent({
|
|
|
97
113
|
} = _ref;
|
|
98
114
|
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'));
|
|
99
115
|
})) {
|
|
100
|
-
close();
|
|
116
|
+
close(true);
|
|
101
117
|
}
|
|
102
118
|
});
|
|
103
119
|
// #endregion
|
|
@@ -107,10 +123,11 @@ var script = defineComponent({
|
|
|
107
123
|
handleStyles,
|
|
108
124
|
headerStyles,
|
|
109
125
|
state,
|
|
110
|
-
|
|
126
|
+
isOpen,
|
|
127
|
+
isFullscreen,
|
|
128
|
+
isClosed,
|
|
111
129
|
open,
|
|
112
|
-
close
|
|
113
|
-
toggle
|
|
130
|
+
close
|
|
114
131
|
};
|
|
115
132
|
}
|
|
116
133
|
});
|
|
@@ -3,7 +3,7 @@ import { BUTTON_TYPE, BUTTON_COLOR, BUTTON_SIZE, HTML_BUTTON_TYPE } from './comp
|
|
|
3
3
|
import './components/OrIcon/OrIcon.js';
|
|
4
4
|
import './components/OrLoader/OrLoader.js';
|
|
5
5
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-22a17b06.js';
|
|
6
|
-
import { s as script$2 } from './OrLoader.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$2 } from './OrLoader.vue_vue_type_script_lang-a1fed697.js';
|
|
7
7
|
import { LoaderViews } from './components/OrLoader/constants.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue-demi';
|
|
2
2
|
import { OrButtonColors, OrButtonViews } from './components/OrButton/constants.js';
|
|
3
3
|
import './components/OrLoader/OrLoader.js';
|
|
4
|
-
import { s as script$1 } from './OrLoader.vue_vue_type_script_lang-
|
|
4
|
+
import { s as script$1 } from './OrLoader.vue_vue_type_script_lang-a1fed697.js';
|
|
5
5
|
import { LoaderViews } from './components/OrLoader/constants.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
@@ -4,10 +4,10 @@ import './components/OrCard/OrCard.js';
|
|
|
4
4
|
import { s as script$1 } from './OrCard.vue_vue_type_script_lang-81561dd8.js';
|
|
5
5
|
import './components/OrIcon/OrIcon.js';
|
|
6
6
|
import './components/OrSearch/OrSearch.js';
|
|
7
|
-
import { s as script$3 } from './OrSearch.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$3 } from './OrSearch.vue_vue_type_script_lang-8dbecb52.js';
|
|
8
8
|
import './components/OrIconButtonV2/OrIconButton.js';
|
|
9
9
|
import { s as script$2 } from './OrIcon.vue_vue_type_script_lang-22a17b06.js';
|
|
10
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-b5d5718b.js';
|
|
11
11
|
|
|
12
12
|
var script = defineComponent({
|
|
13
13
|
name: 'OrCardCollection',
|
|
@@ -6,13 +6,13 @@ import './components/OrIconButtonV3/OrIconButton.js';
|
|
|
6
6
|
import './components/OrButtonV3/OrButton.js';
|
|
7
7
|
import { s as script$3 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
8
8
|
import './components/OrMenuV3/OrMenu.js';
|
|
9
|
-
import { s as script$4 } from './OrMenu.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$4 } from './OrMenu.vue_vue_type_script_lang-115f2c60.js';
|
|
10
10
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
11
11
|
import { s as script$5 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
12
12
|
import './components/OrIconV3/OrIcon.js';
|
|
13
13
|
import './components/OrSearchV3/OrSearch.js';
|
|
14
|
-
import { s as script$7 } from './OrSearch.vue_vue_type_script_lang-
|
|
15
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
14
|
+
import { s as script$7 } from './OrSearch.vue_vue_type_script_lang-0bcc597c.js';
|
|
15
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
16
16
|
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
17
17
|
|
|
18
18
|
var script$1 = defineComponent({
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
|
+
import { isEmptyValue } from './utils/isEmptyValue.js';
|
|
3
4
|
import { CheckboxRoot, CheckboxControl, CheckboxControlHandle } from './components/OrCheckboxV3/styles.js';
|
|
4
5
|
import './components/OrLabelV3/OrLabel.js';
|
|
5
6
|
import { LabelVariant } from './components/OrLabelV3/props.js';
|
|
@@ -66,7 +67,7 @@ var script = defineComponent({
|
|
|
66
67
|
const proxyModelValue = useVModel(props, 'modelValue', emit);
|
|
67
68
|
const isChecked = computed(() => {
|
|
68
69
|
if (Array.isArray(proxyModelValue.value)) {
|
|
69
|
-
return props.value && proxyModelValue.value.includes(props.value);
|
|
70
|
+
return !isEmptyValue(props.value) && proxyModelValue.value.includes(props.value);
|
|
70
71
|
}
|
|
71
72
|
return !!proxyModelValue.value;
|
|
72
73
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
3
|
import './components/OrCheckboxTreeV3/OrCheckboxTree.js';
|
|
4
|
-
import { s as script$1 } from './OrCheckboxTree.vue_vue_type_script_lang-
|
|
4
|
+
import { s as script$1 } from './OrCheckboxTree.vue_vue_type_script_lang-7e5bebf5.js';
|
|
5
5
|
import './components/OrFormGroupV3/OrFormGroup.js';
|
|
6
6
|
import { s as script$2 } from './OrFormGroup.vue_vue_type_script_lang-1c6844d6.js';
|
|
7
7
|
import { FormGroupDirection } from './components/OrFormGroupV3/props.js';
|
|
@@ -4,7 +4,7 @@ import { CheckboxTreeRoot, CheckboxTreeRootParent } from './components/OrCheckbo
|
|
|
4
4
|
import flattenDeep from './utils/functions/flattenDeep.js';
|
|
5
5
|
import './components/OrIconV3/OrIcon.js';
|
|
6
6
|
import './components/OrCheckboxV3/OrCheckbox.js';
|
|
7
|
-
import { s as script$2 } from './OrCheckbox.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$2 } from './OrCheckbox.vue_vue_type_script_lang-cfeb4a4e.js';
|
|
8
8
|
import './components/OrButtonV3/OrButton.js';
|
|
9
9
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
10
10
|
import { s as script$3 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
@@ -7,11 +7,11 @@ import { OrCodeLanguages } from './components/OrCode/constants.js';
|
|
|
7
7
|
import theme from './components/OrCode/theme.js';
|
|
8
8
|
import './components/OrIconButtonV2/OrIconButton.js';
|
|
9
9
|
import './components/OrModal/OrModal.js';
|
|
10
|
-
import { s as script$2 } from './OrModal.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$2 } from './OrModal.vue_vue_type_script_lang-05916fd8.js';
|
|
11
11
|
import './components/OrError/OrError.js';
|
|
12
12
|
import './components/OrHint/OrHint.js';
|
|
13
13
|
import './components/OrLabel/OrLabel.js';
|
|
14
|
-
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-
|
|
14
|
+
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-b5d5718b.js';
|
|
15
15
|
import { s as script$4 } from './OrError.vue_vue_type_script_lang-450321b8.js';
|
|
16
16
|
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-5eb3ee22.js';
|
|
17
17
|
import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-6243e348.js';
|
|
@@ -2,12 +2,12 @@ import { defineComponent, ref, computed } from 'vue-demi';
|
|
|
2
2
|
import { useMagicKeys, useActiveElement, whenever } from '@vueuse/core';
|
|
3
3
|
import { l as logicAnd } from './index-968c331a.js';
|
|
4
4
|
import './components/OrButtonV2/OrButton.js';
|
|
5
|
-
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-
|
|
5
|
+
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-cc8aa3a7.js';
|
|
6
6
|
import './components/OrModal/OrModal.js';
|
|
7
7
|
import './components/OrInput/OrInput.js';
|
|
8
8
|
import { BUTTON_COLOR } from './components/OrButtonV2/constants.js';
|
|
9
9
|
import { OrModalSizes } from './components/OrModal/constants.js';
|
|
10
|
-
import { s as script$2 } from './OrModal.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$2 } from './OrModal.vue_vue_type_script_lang-05916fd8.js';
|
|
11
11
|
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-5404596e.js';
|
|
12
12
|
|
|
13
13
|
var script = defineComponent({
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
2
|
import { l as logicAnd } from './index-968c331a.js';
|
|
3
|
-
import { defineComponent, ref,
|
|
3
|
+
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
4
|
import { ConfirmType } from './components/OrConfirmV3/props.js';
|
|
5
5
|
import { ConfirmRoot, ConfirmHeader, ConfirmInput, ConfirmFooter, ConfirmFooterTypes, ConfirmFooterButtons } from './components/OrConfirmV3/styles.js';
|
|
6
6
|
import './components/OrOverlayV3/OrOverlay.js';
|
|
7
7
|
import './components/OrButtonV3/OrButton.js';
|
|
8
8
|
import './components/OrInputV3/OrInput.js';
|
|
9
|
-
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
10
9
|
import { ButtonColor } from './components/OrButtonV3/props.js';
|
|
11
|
-
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
12
11
|
import { s as script$2 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
13
|
-
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-6242286b.js';
|
|
14
13
|
|
|
15
14
|
var script = defineComponent({
|
|
16
15
|
name: 'OrConfirm',
|
|
@@ -21,10 +20,6 @@ var script = defineComponent({
|
|
|
21
20
|
},
|
|
22
21
|
inheritAttrs: false,
|
|
23
22
|
props: {
|
|
24
|
-
isOpen: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: false
|
|
27
|
-
},
|
|
28
23
|
titleText: {
|
|
29
24
|
type: String,
|
|
30
25
|
required: false,
|
|
@@ -32,18 +27,22 @@ var script = defineComponent({
|
|
|
32
27
|
},
|
|
33
28
|
confirmButtonText: {
|
|
34
29
|
type: String,
|
|
30
|
+
required: false,
|
|
35
31
|
default: 'Confirm'
|
|
36
32
|
},
|
|
37
33
|
cancelButtonText: {
|
|
38
34
|
type: String,
|
|
35
|
+
required: false,
|
|
39
36
|
default: 'Cancel'
|
|
40
37
|
},
|
|
41
38
|
confirmType: {
|
|
42
39
|
type: String,
|
|
40
|
+
required: false,
|
|
43
41
|
default: ConfirmType.C
|
|
44
42
|
},
|
|
45
43
|
loading: {
|
|
46
44
|
type: Boolean,
|
|
45
|
+
required: false,
|
|
47
46
|
default: false
|
|
48
47
|
},
|
|
49
48
|
disabled: {
|
|
@@ -53,35 +52,43 @@ var script = defineComponent({
|
|
|
53
52
|
},
|
|
54
53
|
confirmationText: {
|
|
55
54
|
type: String,
|
|
56
|
-
|
|
55
|
+
required: false,
|
|
56
|
+
default: null
|
|
57
57
|
},
|
|
58
58
|
textConfirmationLabel: {
|
|
59
59
|
type: String,
|
|
60
|
-
|
|
60
|
+
required: false,
|
|
61
|
+
default: null
|
|
61
62
|
},
|
|
62
63
|
textConfirmationPlaceholder: {
|
|
63
64
|
type: String,
|
|
64
|
-
|
|
65
|
+
required: false,
|
|
66
|
+
default: null
|
|
65
67
|
},
|
|
66
68
|
textConfirmationError: {
|
|
67
69
|
type: String,
|
|
70
|
+
required: false,
|
|
71
|
+
default: null
|
|
72
|
+
},
|
|
73
|
+
isOpen: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
required: false,
|
|
68
76
|
default: undefined
|
|
69
77
|
}
|
|
70
78
|
},
|
|
71
|
-
emits: ['
|
|
72
|
-
expose: ['root', '
|
|
73
|
-
setup(props,
|
|
79
|
+
emits: ['open', 'close', 'confirm'],
|
|
80
|
+
expose: ['root', 'isActive', 'open', 'close'],
|
|
81
|
+
setup(props, _ref) {
|
|
82
|
+
let {
|
|
83
|
+
emit
|
|
84
|
+
} = _ref;
|
|
74
85
|
// Refs
|
|
75
86
|
const root = ref();
|
|
76
87
|
const confirmationInput = ref();
|
|
77
88
|
const confirmationButton = ref();
|
|
78
89
|
// State
|
|
79
90
|
const touched = ref(false);
|
|
80
|
-
const
|
|
81
|
-
state,
|
|
82
|
-
open,
|
|
83
|
-
close
|
|
84
|
-
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
91
|
+
const isActive = ref(props.isOpen || false);
|
|
85
92
|
const isInputActive = ref(false);
|
|
86
93
|
const confirmationValue = ref('');
|
|
87
94
|
const {
|
|
@@ -94,11 +101,22 @@ var script = defineComponent({
|
|
|
94
101
|
const isConfirmationButtonDisabled = computed(() => !!props.disabled || isInvalid.value);
|
|
95
102
|
const confirmButtonColor = computed(() => props.confirmType === ConfirmType.C ? ButtonColor.Primary : ButtonColor.Danger);
|
|
96
103
|
// Methods
|
|
97
|
-
function
|
|
98
|
-
|
|
99
|
-
|
|
104
|
+
function open() {
|
|
105
|
+
isActive.value = true;
|
|
106
|
+
emit('open');
|
|
107
|
+
}
|
|
108
|
+
function close() {
|
|
109
|
+
// In case if component opened by isOpen - only event can be emited, app will catch it and flip reference
|
|
110
|
+
if (props.isOpen === true) {
|
|
111
|
+
emit('close');
|
|
112
|
+
} else {
|
|
113
|
+
isActive.value = false;
|
|
114
|
+
emit('close');
|
|
100
115
|
}
|
|
101
116
|
}
|
|
117
|
+
function confirm() {
|
|
118
|
+
if (!props.disabled && !isInvalid.value) emit('confirm');
|
|
119
|
+
}
|
|
102
120
|
function onInputFocus() {
|
|
103
121
|
isInputActive.value = true;
|
|
104
122
|
}
|
|
@@ -107,14 +125,20 @@ var script = defineComponent({
|
|
|
107
125
|
touched.value = true;
|
|
108
126
|
}
|
|
109
127
|
// Events
|
|
128
|
+
watch(() => props.isOpen, value => {
|
|
129
|
+
// In case if component opened by isOpen - no need to emmit events, we need just sync local state
|
|
130
|
+
if (value != undefined) {
|
|
131
|
+
isActive.value = value;
|
|
132
|
+
}
|
|
133
|
+
}, {
|
|
134
|
+
immediate: true
|
|
135
|
+
});
|
|
110
136
|
watch(escape, val => {
|
|
111
137
|
if (val) close();
|
|
112
138
|
});
|
|
113
|
-
watch(
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
touched.value = false;
|
|
117
|
-
}
|
|
139
|
+
watch(isActive, () => {
|
|
140
|
+
confirmationValue.value = '';
|
|
141
|
+
touched.value = false;
|
|
118
142
|
});
|
|
119
143
|
// types here are used for fixing TS2349
|
|
120
144
|
watch(confirmationInput, val => {
|
|
@@ -147,7 +171,7 @@ var script = defineComponent({
|
|
|
147
171
|
isInvalid,
|
|
148
172
|
isConfirmationButtonDisabled,
|
|
149
173
|
touched,
|
|
150
|
-
|
|
174
|
+
isActive,
|
|
151
175
|
isInputActive,
|
|
152
176
|
escape,
|
|
153
177
|
rootStyles,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from './components/OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
|
-
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-
|
|
3
|
+
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-387c2096.js';
|
|
4
4
|
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader-f81b902f.js';
|
|
5
5
|
import { DatePicker, DatePickerPopover } from './components/OrDatePickerV3/styles.js';
|
|
6
6
|
import './components/OrErrorV3/OrError.js';
|
|
@@ -15,10 +15,10 @@ import { DropdownOpen } from './directives/dropdown-open.js';
|
|
|
15
15
|
import { s as script$7 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
16
16
|
import { s as script$8 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
17
17
|
import { s as script$9 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
18
|
-
import { s as script$a } from './OrIconButton.vue_vue_type_script_lang-
|
|
18
|
+
import { s as script$a } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
19
19
|
import { s as script$b } from './OrInputBox.vue_vue_type_script_lang-a21db166.js';
|
|
20
20
|
import { s as script$c } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
21
|
-
import { s as script$d } from './OrPopover.vue_vue_type_script_lang-
|
|
21
|
+
import { s as script$d } from './OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
22
22
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
23
23
|
|
|
24
24
|
var script = defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from './components/OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
|
-
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-
|
|
3
|
+
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-387c2096.js';
|
|
4
4
|
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader-f81b902f.js';
|
|
5
5
|
import { s as script$7, a as script$8 } from './OrDateTimePickerTimeSelect-8bdb97b7.js';
|
|
6
6
|
import { DateTimePicker, DateTimePickerDatePopover, DateTimePickerTimePopover } from './components/OrDateTimePickerV3/styles.js';
|
|
@@ -14,10 +14,10 @@ import './components/OrPopoverV3/OrPopover.js';
|
|
|
14
14
|
import { s as script$9 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
15
15
|
import { s as script$a } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
16
16
|
import { s as script$b } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
17
|
-
import { s as script$c } from './OrIconButton.vue_vue_type_script_lang-
|
|
17
|
+
import { s as script$c } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
18
18
|
import { s as script$d } from './OrInputBox.vue_vue_type_script_lang-a21db166.js';
|
|
19
19
|
import { s as script$e } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
20
|
-
import { s as script$f } from './OrPopover.vue_vue_type_script_lang-
|
|
20
|
+
import { s as script$f } from './OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
21
21
|
import { DropdownClose } from './directives/dropdown-close.js';
|
|
22
22
|
import { DropdownOpen } from './directives/dropdown-open.js';
|
|
23
23
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
@@ -17,7 +17,7 @@ import { s as script$3 } from './OrLabel.vue_vue_type_script_lang-6243e348.js';
|
|
|
17
17
|
import { s as script$4 } from './OrError.vue_vue_type_script_lang-450321b8.js';
|
|
18
18
|
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-5eb3ee22.js';
|
|
19
19
|
import { s as script$6 } from './OrCollapse.vue_vue_type_script_lang-35fdcade.js';
|
|
20
|
-
import { s as script$7 } from './OrIconButton.vue_vue_type_script_lang-
|
|
20
|
+
import { s as script$7 } from './OrIconButton.vue_vue_type_script_lang-b5d5718b.js';
|
|
21
21
|
|
|
22
22
|
var script$1 = defineComponent({
|
|
23
23
|
name: 'OrDateTimePickerCalendarItem',
|
|
@@ -8,8 +8,8 @@ import './components/OrIconButtonV3/OrIconButton.js';
|
|
|
8
8
|
import './components/OrMenuV3/OrMenu.js';
|
|
9
9
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
10
10
|
import { s as script$4 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
11
|
-
import { s as script$5 } from './OrIconButton.vue_vue_type_script_lang-
|
|
12
|
-
import { s as script$6 } from './OrMenu.vue_vue_type_script_lang-
|
|
11
|
+
import { s as script$5 } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
12
|
+
import { s as script$6 } from './OrMenu.vue_vue_type_script_lang-115f2c60.js';
|
|
13
13
|
import { s as script$7 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
14
14
|
|
|
15
15
|
const DateTimePickerDateControl = [
|
|
@@ -3,7 +3,7 @@ import { IconButtonColor } from './components/OrIconButtonV3/props.js';
|
|
|
3
3
|
import { IconButtonRoot, IconButtonRootColors } from './components/OrIconButtonV3/styles.js';
|
|
4
4
|
import './components/OrIconV3/OrIcon.js';
|
|
5
5
|
import './components/OrTooltipV3/OrTooltip.js';
|
|
6
|
-
import { s as script$2 } from './OrTooltip.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$2 } from './OrTooltip.vue_vue_type_script_lang-bb3db5bf.js';
|
|
7
7
|
import { IconSize } from './components/OrIconV3/props.js';
|
|
8
8
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
9
9
|
|
|
@@ -6,7 +6,7 @@ import { ICON_BUTTON_TYPE, HTML_BUTTON_TYPE, BUTTON_SIZE, BUTTON_COLOR } from '.
|
|
|
6
6
|
import './components/OrIcon/OrIcon.js';
|
|
7
7
|
import './components/OrLoader/OrLoader.js';
|
|
8
8
|
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-22a17b06.js';
|
|
9
|
-
import { s as script$4 } from './OrLoader.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$4 } from './OrLoader.vue_vue_type_script_lang-a1fed697.js';
|
|
10
10
|
|
|
11
11
|
/** Acts as pseudo "v-if" between <template /> and <or-tooltip /> */
|
|
12
12
|
var script$1 = defineComponent({
|
|
@@ -12,7 +12,7 @@ import { useControlAttributes } from './hooks/useControlAttributes.js';
|
|
|
12
12
|
import { useValidationAttributes } from './hooks/useValidationAttributes.js';
|
|
13
13
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
14
14
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
15
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
15
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
16
16
|
|
|
17
17
|
var script = defineComponent({
|
|
18
18
|
name: 'OrInlineInput',
|
|
@@ -8,7 +8,7 @@ import './components/OrError/OrError.js';
|
|
|
8
8
|
import './components/OrIconButtonV2/OrIconButton.js';
|
|
9
9
|
import { s as script$1 } from './OrCollapse.vue_vue_type_script_lang-35fdcade.js';
|
|
10
10
|
import { s as script$2 } from './OrError.vue_vue_type_script_lang-450321b8.js';
|
|
11
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
11
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-b5d5718b.js';
|
|
12
12
|
|
|
13
13
|
var script = defineComponent({
|
|
14
14
|
name: 'OrInlineTextEdit',
|
|
@@ -9,7 +9,7 @@ import { useControlAttributes } from './hooks/useControlAttributes.js';
|
|
|
9
9
|
import { useValidationAttributes } from './hooks/useValidationAttributes.js';
|
|
10
10
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
11
11
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
12
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
13
13
|
import { s as script$4 } from './OrInlineInputBox.vue_vue_type_script_lang-fe99c485.js';
|
|
14
14
|
|
|
15
15
|
var script = defineComponent({
|
|
@@ -7,7 +7,7 @@ import './components/OrHintV3/OrHint.js';
|
|
|
7
7
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
8
8
|
import './components/OrIconV3/OrIcon.js';
|
|
9
9
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
10
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
11
11
|
import './components/OrInputBoxV3/OrInputBox.js';
|
|
12
12
|
import { s as script$5 } from './OrInputBox.vue_vue_type_script_lang-a21db166.js';
|
|
13
13
|
import './components/OrLabelV3/OrLabel.js';
|
|
@@ -9,8 +9,8 @@ import './components/OrIconButtonV2/OrIconButton.js';
|
|
|
9
9
|
import './components/OrIcon/OrIcon.js';
|
|
10
10
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-450321b8.js';
|
|
11
11
|
import { s as script$2 } from './OrLabel.vue_vue_type_script_lang-6243e348.js';
|
|
12
|
-
import { s as script$3 } from './OrButton.vue_vue_type_script_lang-
|
|
13
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrButton.vue_vue_type_script_lang-cc8aa3a7.js';
|
|
13
|
+
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-b5d5718b.js';
|
|
14
14
|
import { s as script$5 } from './OrIcon.vue_vue_type_script_lang-22a17b06.js';
|
|
15
15
|
|
|
16
16
|
/**!
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
2
|
import './components/OrList/OrList.js';
|
|
3
|
-
import { s as script$1 } from './OrList.vue_vue_type_script_lang-
|
|
3
|
+
import { s as script$1 } from './OrList.vue_vue_type_script_lang-29a5842e.js';
|
|
4
4
|
import './components/OrInput/OrInput.js';
|
|
5
5
|
import './components/OrIcon/OrIcon.js';
|
|
6
6
|
import './components/OrIconButtonV2/OrIconButton.js';
|
|
7
7
|
import { s as script$2 } from './OrInput.vue_vue_type_script_lang-5404596e.js';
|
|
8
8
|
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-22a17b06.js';
|
|
9
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-b5d5718b.js';
|
|
10
10
|
|
|
11
11
|
var script = defineComponent({
|
|
12
12
|
name: 'OrListOfInputs',
|