@onereach/ui-components 2.68.0-beta.2082.0 → 2.68.0-beta.2083.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/{OrAvatar-cd6afe7f.js → OrAvatar-470e8799.js} +3 -4
- package/dist/bundled/v2/{OrButton-e240a292.js → OrButton-2ca1c3d6.js} +3 -4
- package/dist/bundled/v2/{OrCardCollection-e0a08528.js → OrCardCollection-7665a617.js} +9 -10
- package/dist/bundled/v2/{OrCardCollection-1867fd4c.js → OrCardCollection-e518ecc2.js} +6 -6
- package/dist/bundled/v2/{OrChipsInput-43d611b8.js → OrChipsInput-2f8ed982.js} +0 -0
- package/dist/bundled/v2/{OrCode-3f0505e4.js → OrCode-2405ac7e.js} +12 -12
- package/dist/bundled/v2/{OrColorPicker-7a7b8173.js → OrColorPicker-422f51fe.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-e7ecbf43.js → OrConfirm-5cdcfd4f.js} +3 -3
- package/dist/bundled/v2/{OrFloating-55665d61.js → OrFloating-7a3e6fdd.js} +1 -1
- package/dist/bundled/v2/{OrIcon-b54b605a.js → OrIcon-bb0cf737.js} +2 -3
- package/dist/bundled/v2/{OrIconButton-cf05263d.js → OrIconButton-6fd136ab.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-cea08e41.js → OrInlineInput-c54cc6c5.js} +3 -3
- package/dist/bundled/v2/{OrInlineTextEdit-0764ee64.js → OrInlineTextEdit-032ae10f.js} +5 -5
- package/dist/bundled/v2/{OrInput-ad5f47e0.js → OrInput-90e09980.js} +4 -5
- package/dist/bundled/v2/{OrLoader-16a453c4.js → OrLoader-003941a2.js} +1 -2
- package/dist/bundled/v2/{OrModal-cdf88541.js → OrModal-14ec9014.js} +2 -2
- package/dist/bundled/v2/{OrModal-a1b766dd.js → OrModal-4cbfc32b.js} +5 -6
- package/dist/bundled/v2/{OrNotification-411dd28f.js → OrNotification-438280b1.js} +1 -1
- package/dist/bundled/v2/{OrNotification-2aa63ccc.js → OrNotification-dd5a2c82.js} +5 -6
- package/dist/bundled/v2/{OrPopover-f03a8230.js → OrPopover-021897c6.js} +2 -2
- package/dist/bundled/v2/{OrProgress-d4c4446d.js → OrProgress-4ee24824.js} +1 -2
- package/dist/bundled/v2/{OrSegmentedControl-fb21fb51.js → OrSegmentedControl-4f08cd8c.js} +1 -1
- package/dist/bundled/v2/{OrSidebar-c40baf64.js → OrSidebar-7d6125bb.js} +1 -2
- package/dist/bundled/v2/OrSkeletonText-de14d2a1.js +107 -0
- package/dist/bundled/v2/{OrTabs-9a5a5702.js → OrTabs-1194dcd5.js} +3 -3
- package/dist/bundled/v2/{OrTag-d15f40a7.js → OrTag-ba34d014.js} +1 -1
- package/dist/bundled/v2/{OrTextbox-ffc9bf3d.js → OrTextbox-49bc89c9.js} +11 -11
- package/dist/bundled/v2/{OrToast-64917bd0.js → OrToast-64c8f602.js} +1 -1
- package/dist/bundled/v2/components/OrAvatar/OrAvatar.js +12 -3
- package/dist/bundled/v2/components/OrAvatar/index.js +4 -4
- package/dist/bundled/v2/components/OrAvatarV3/OrAvatarV3.js +5 -0
- package/dist/bundled/v2/components/{OrBottomSheet/OrBottomSheet.js → OrBottomSheetV3/OrBottomSheetV3.js} +2 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +3 -3
- package/dist/bundled/v2/components/OrButton/OrButton.js +4 -3
- package/dist/bundled/v2/components/OrButton/index.js +2 -2
- package/dist/bundled/v2/{OrButton-a036fc0c.js → components/OrButtonV2/OrButtonV2.js} +17 -9
- package/dist/bundled/v2/components/OrButtonV2/index.js +9 -9
- package/dist/bundled/v2/components/OrButtonV3/OrButtonV3.js +5 -0
- package/dist/bundled/v2/components/OrCard/OrCard.js +35 -35
- package/dist/bundled/v2/components/OrCard/index.js +1 -1
- package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +22 -19
- package/dist/bundled/v2/components/OrCardCollection/index.js +14 -14
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollectionV3.js +24 -0
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +12 -12
- package/dist/bundled/v2/components/OrCardV3/OrCardV3.js +68 -0
- package/dist/bundled/v2/components/OrCardV3/index.js +1 -1
- package/dist/bundled/v2/components/OrCarousel/OrCarousel.js +4 -4
- package/dist/bundled/v2/components/OrCarousel/index.js +3 -3
- package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +118 -133
- package/dist/bundled/v2/components/OrCheckbox/index.js +4 -4
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckboxV3.js +207 -0
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +1 -1
- package/dist/bundled/v2/components/OrChip/OrChip.js +4 -4
- package/dist/bundled/v2/components/OrChips/OrChips.js +8 -8
- package/dist/bundled/v2/components/OrChips/index.js +6 -6
- package/dist/bundled/v2/components/OrChipsInput/OrChipsInput.js +4 -4
- package/dist/bundled/v2/components/OrCode/OrCode.js +14 -14
- package/dist/bundled/v2/components/OrCode/index.js +14 -14
- package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +1 -1
- package/dist/bundled/v2/components/OrCollapse/index.js +1 -1
- package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +3 -3
- package/dist/bundled/v2/components/OrColorPicker/index.js +3 -3
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +278 -23
- package/dist/bundled/v2/components/OrConfirm/index.js +15 -15
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirmV3.js +25 -0
- package/dist/bundled/v2/components/OrConfirmV3/index.js +10 -10
- package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +17 -17
- package/dist/bundled/v2/components/OrDateTimePicker/index.js +11 -11
- package/dist/bundled/v2/components/OrError/OrError.js +20 -58
- package/dist/bundled/v2/components/OrError/index.js +1 -1
- package/dist/bundled/v2/components/{OrErrorTag/OrErrorTag.js → OrErrorTagV3/OrErrorTagV3.js} +0 -0
- package/dist/bundled/v2/components/OrErrorTagV3/index.js +1 -1
- package/dist/bundled/v2/components/OrErrorV3/OrErrorV3.js +93 -0
- package/dist/bundled/v2/components/OrErrorV3/index.js +1 -1
- package/dist/bundled/v2/components/{OrExpansionPanel/OrExpansionPanel.js → OrExpansionPanelV3/OrExpansionPanelV3.js} +0 -0
- package/dist/bundled/v2/components/{OrFab/OrFab.js → OrFabV3/OrFabV3.js} +0 -0
- package/dist/bundled/v2/components/OrFloating/OrFloating.js +2 -2
- package/dist/bundled/v2/components/OrFloating/index.js +2 -2
- package/dist/bundled/v2/components/OrHint/OrHint.js +23 -58
- package/dist/bundled/v2/components/OrHint/index.js +1 -1
- package/dist/bundled/v2/components/OrHintV3/OrHintV3.js +93 -0
- package/dist/bundled/v2/components/OrHintV3/index.js +1 -1
- package/dist/bundled/v2/components/OrIcon/OrIcon.js +11 -2
- package/dist/bundled/v2/components/OrIcon/index.js +3 -3
- package/dist/bundled/v2/{OrIconButton-05c25d9d.js → components/OrIconButtonV2/OrIconButtonV2.js} +20 -12
- package/dist/bundled/v2/components/{OrIconButton/OrIconButton.js → OrIconButtonV3/OrIconButtonV3.js} +6 -6
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +6 -6
- package/dist/bundled/v2/components/OrIconV3/OrIconV3.js +4 -0
- package/dist/bundled/v2/components/{OrInlineInputBox/OrInlineInputBox.js → OrInlineInputBoxV3/OrInlineInputBoxV3.js} +0 -0
- package/dist/bundled/v2/components/{OrInlineInput/OrInlineInput.js → OrInlineInputV3/OrInlineInputV3.js} +9 -9
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +9 -9
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +10 -10
- package/dist/bundled/v2/components/OrInlineTextEdit/index.js +10 -10
- package/dist/bundled/v2/components/{OrInlineTextarea/OrInlineTextarea.js → OrInlineTextareaV3/OrInlineTextareaV3.js} +8 -8
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +9 -9
- package/dist/bundled/v2/components/OrInput/OrInput.js +9 -9
- package/dist/bundled/v2/components/{OrInputBox/OrInputBox.js → OrInputBoxV3/OrInputBoxV3.js} +0 -0
- package/dist/bundled/v2/components/OrInputV3/OrInputV3.js +21 -0
- package/dist/bundled/v2/components/OrInputV3/index.js +9 -9
- package/dist/bundled/v2/components/OrInputs/index.js +13 -13
- package/dist/bundled/v2/components/OrLabel/OrLabel.js +81 -4
- package/dist/bundled/v2/components/OrLabel/index.js +1 -1
- package/dist/bundled/v2/components/OrLabelV3/OrLabelV3.js +4 -0
- package/dist/bundled/v2/components/{OrLink/OrLink.js → OrLinkV3/OrLinkV3.js} +0 -0
- package/dist/bundled/v2/components/OrList/OrList.js +17 -17
- package/dist/bundled/v2/components/OrList/index.js +11 -11
- package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +15 -15
- package/dist/bundled/v2/components/OrListOfInputs/index.js +12 -12
- package/dist/bundled/v2/components/OrLoader/OrLoader.js +3 -2
- package/dist/bundled/v2/components/OrLoader/index.js +1 -1
- package/dist/bundled/v2/components/OrLoaderV3/OrLoaderV3.js +4 -0
- package/dist/bundled/v2/components/{OrMenuItem/OrMenuItem.js → OrMenuItemV3/OrMenuItemV3.js} +0 -0
- package/dist/bundled/v2/components/OrMenuItemV3/index.js +1 -1
- package/dist/bundled/v2/components/{OrMenu/OrMenu.js → OrMenuV3/OrMenuV3.js} +4 -4
- package/dist/bundled/v2/components/OrMenuV3/index.js +5 -5
- package/dist/bundled/v2/components/OrModal/OrModal.js +16 -11
- package/dist/bundled/v2/components/OrModal/index.js +10 -10
- package/dist/bundled/v2/components/OrModalV3/OrModalV3.js +16 -0
- package/dist/bundled/v2/components/OrModalV3/index.js +7 -7
- package/dist/bundled/v2/components/OrNotification/OrNotification.js +16 -13
- package/dist/bundled/v2/components/OrNotification/index.js +9 -9
- package/dist/bundled/v2/components/OrNotificationV3/OrNotificationV3.js +16 -0
- package/dist/bundled/v2/components/OrNotificationV3/index.js +7 -7
- package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +4 -4
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +13 -13
- package/dist/bundled/v2/components/OrOverflowMenu/index.js +9 -9
- package/dist/bundled/v2/components/OrOverflowMenuItem/OrOverflowMenuItem.js +7 -7
- package/dist/bundled/v2/components/OrOverlay/OrOverlay.js +36 -50
- package/dist/bundled/v2/components/OrOverlay/index.js +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/OrOverlayV3.js +88 -0
- package/dist/bundled/v2/components/OrOverlayV3/index.js +2 -2
- package/dist/bundled/v2/components/OrPassword/OrPassword.js +12 -12
- package/dist/bundled/v2/components/{OrPopover/OrPopover.js → OrPopoverV3/OrPopoverV3.js} +4 -4
- package/dist/bundled/v2/components/OrPopoverV3/index.js +4 -4
- package/dist/bundled/v2/components/OrProgress/OrProgress.js +2 -4
- package/dist/bundled/v2/components/OrProgress/index.js +1 -1
- package/dist/bundled/v2/components/OrProgressV3/OrProgressV3.js +7 -0
- package/dist/bundled/v2/components/OrRadio/OrRadio.js +77 -120
- package/dist/bundled/v2/components/OrRadio/index.js +1 -1
- package/dist/bundled/v2/components/OrRadioV3/OrRadioV3.js +187 -0
- package/dist/bundled/v2/components/OrRadioV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSearch/OrSearch.js +194 -81
- package/dist/bundled/v2/components/OrSearchV3/OrSearchV3.js +150 -0
- package/dist/bundled/v2/components/OrSearchV3/index.js +10 -10
- package/dist/bundled/v2/components/{OrSegmentedControlItem/OrSegmentedControlItem.js → OrSegmentedControlItemV3/OrSegmentedControlItemV3.js} +0 -0
- package/dist/bundled/v2/components/OrSegmentedControlV3/OrSegmentedControlV3.js +5 -0
- package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSelect/OrSelect.js +171 -460
- package/dist/bundled/v2/components/OrSelect/index.js +9 -9
- package/dist/bundled/v2/components/OrSelectContent/OrSelectContent.js +13 -13
- package/dist/bundled/v2/components/OrSelectContentEmpty/OrSelectContentEmpty.js +1 -1
- package/dist/bundled/v2/components/OrSelectContentOptions/OrSelectContentOptions.js +5 -5
- package/dist/bundled/v2/components/OrSelectInput/OrSelectInput.js +7 -7
- package/dist/bundled/v2/components/OrSelectInputValue/OrSelectInputValue.js +4 -4
- package/dist/bundled/v2/components/OrSelectMain/OrSelectMain.js +6 -6
- package/dist/bundled/v2/components/OrSelectOption/OrSelectOption.js +5 -5
- package/dist/bundled/v2/components/OrSelectSearchOptions/OrSelectSearchOptions.js +5 -5
- package/dist/bundled/v2/components/OrSelectV3/OrSelectV3.js +525 -0
- package/dist/bundled/v2/components/OrSelectV3/index.js +13 -13
- package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +2 -1
- package/dist/bundled/v2/components/OrSidebar/index.js +1 -1
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebarV3.js +5 -0
- package/dist/bundled/v2/components/OrSkeleton/index.js +3 -1
- package/dist/bundled/v2/components/OrSkeletonCircle/OrSkeletonCircle.js +29 -32
- package/dist/bundled/v2/components/OrSkeletonCircleV3/OrSkeletonCircleV3.js +84 -0
- package/dist/bundled/v2/components/OrSkeletonRect/OrSkeletonRect.js +29 -32
- package/dist/bundled/v2/components/OrSkeletonRectV3/OrSkeletonRectV3.js +87 -0
- package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.js +6 -116
- package/dist/bundled/v2/components/OrSkeletonTextV3/OrSkeletonTextV3.js +116 -0
- package/dist/bundled/v2/components/OrSkeletonV3/index.js +3 -3
- package/dist/bundled/v2/components/OrSlider/OrSlider.js +4 -4
- package/dist/bundled/v2/components/OrSlider/index.js +3 -3
- package/dist/bundled/v2/components/{OrSortHeader/OrSortHeader.js → OrSortHeaderV3/OrSortHeaderV3.js} +0 -0
- package/dist/bundled/v2/components/OrSortHeaderV3/index.js +1 -1
- package/dist/bundled/v2/components/OrStepper/OrStepper.js +6 -6
- package/dist/bundled/v2/components/OrStepper/index.js +6 -6
- package/dist/bundled/v2/components/OrStepperButtonOptions/OrStepperButtonOptions.js +7 -7
- package/dist/bundled/v2/components/OrStepperOptionHorizontal/OrStepperOptionHorizontal.js +6 -6
- package/dist/bundled/v2/components/OrStepperOptionVertical/OrStepperOptionVertical.js +6 -6
- package/dist/bundled/v2/components/OrSwitch/OrSwitch.js +87 -167
- package/dist/bundled/v2/components/OrSwitch/index.js +2 -2
- package/dist/bundled/v2/components/OrSwitchV3/OrSwitchV3.js +235 -0
- package/dist/bundled/v2/components/OrSwitchV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTab/OrTab.js +71 -57
- package/dist/bundled/v2/components/OrTab/index.js +1 -1
- package/dist/bundled/v2/components/OrTabV3/OrTabV3.js +96 -0
- package/dist/bundled/v2/components/OrTabV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTabs/OrTabs.js +115 -17
- package/dist/bundled/v2/components/OrTabs/index.js +1 -1
- package/dist/bundled/v2/components/OrTabsV3/OrTabsV3.js +17 -0
- package/dist/bundled/v2/components/OrTabsV3/index.js +8 -8
- package/dist/bundled/v2/components/OrTag/OrTag.js +125 -15
- package/dist/bundled/v2/components/OrTag/index.js +4 -4
- package/dist/bundled/v2/components/OrTagV3/OrTagV3.js +16 -0
- package/dist/bundled/v2/components/OrTagV3/index.js +7 -7
- package/dist/bundled/v2/components/{OrTeleport.vue2/OrTeleport.vue2.js → OrTeleport.vue2V3/OrTeleport.vue2V3.js} +0 -0
- package/dist/bundled/v2/components/{OrTeleport.vue3/OrTeleport.vue3.js → OrTeleport.vue3V3/OrTeleport.vue3V3.js} +0 -0
- package/dist/bundled/v2/components/OrTeleportV3/index.js +1 -1
- package/dist/bundled/v2/components/{OrText/OrText.js → OrTextV3/OrTextV3.js} +0 -0
- package/dist/bundled/v2/components/OrTextV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +240 -145
- package/dist/bundled/v2/components/OrTextareaV3/OrTextareaV3.js +234 -0
- package/dist/bundled/v2/components/OrTextareaV3/index.js +3 -3
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +12 -12
- package/dist/bundled/v2/components/OrTextbox/index.js +12 -12
- package/dist/bundled/v2/components/OrToast/OrToast.js +156 -17
- package/dist/bundled/v2/components/OrToast/index.js +4 -2
- package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +99 -103
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainerV3.js +222 -0
- package/dist/bundled/v2/components/OrToastV3/OrToastV3.js +19 -0
- package/dist/bundled/v2/components/OrTooltip/OrTooltip.js +115 -125
- package/dist/bundled/v2/components/OrTooltip/index.js +3 -3
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltipV3.js +173 -0
- package/dist/bundled/v2/components/OrTooltipV3/index.js +5 -5
- package/dist/bundled/v2/components/{OrTooltipWrapper/OrTooltipWrapper.js → OrTooltipWrapperV2/OrTooltipWrapperV2.js} +5 -5
- package/dist/bundled/v2/components/index.js +88 -82
- package/dist/bundled/v2/constants-25998e4c.js +24 -0
- package/dist/bundled/{v3/constants-0e039de8.js → v2/constants-59507e57.js} +1 -1
- package/dist/bundled/v2/{constants-6678dfb5.js → constants-c5d1139f.js} +1 -1
- package/dist/bundled/v2/{dom-ba0fb2e2.js → dom-28f5f62a.js} +1 -1
- package/dist/bundled/v2/index.js +85 -79
- package/dist/bundled/v2/types-668300dd.js +5 -0
- package/dist/bundled/v2/useToast-0c42015d.js +115 -0
- package/dist/bundled/v2/useToastEventBus-578adc7c.js +55 -0
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-d1400693.js → OrAvatar.vue_vue_type_script_lang-c4736ba4.js} +2 -2
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-09679ad9.js → OrBottomSheet.vue_vue_type_script_lang-34f23911.js} +2 -2
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-a9c5ef76.js → OrButton.vue_vue_type_script_lang-255594c4.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-9355421f.js → OrButton.vue_vue_type_script_lang-530056ac.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-e8c1cece.js → OrButton.vue_vue_type_script_lang-a0fdda7f.js} +4 -4
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-7ba771b4.js +107 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-141d29ac.js → OrCardCollection.vue_vue_type_script_lang-d715fda0.js} +7 -7
- package/dist/bundled/v3/{OrCarousel.vue_vue_type_script_lang-9a0994ce.js → OrCarousel.vue_vue_type_script_lang-4a5c0885.js} +2 -2
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-45641503.js → OrCheckbox.vue_vue_type_script_lang-8099010e.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-d11f0d34.js → OrCheckbox.vue_vue_type_script_lang-ef0d1fc7.js} +2 -2
- package/dist/bundled/v3/{OrChips.vue_vue_type_script_lang-2b237b38.js → OrChips.vue_vue_type_script_lang-2c869503.js} +3 -3
- package/dist/bundled/v3/{OrChipsInput-9a30cf50.js → OrChipsInput-006429d5.js} +0 -0
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-e6a90141.js → OrCode.vue_vue_type_script_lang-ba6f6967.js} +8 -8
- package/dist/bundled/v3/{OrCollapse.vue_vue_type_script_lang-0dfd5dea.js → OrCollapse.vue_vue_type_script_lang-76f0f586.js} +1 -1
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-e855c8e1.js → OrColorPicker.vue_vue_type_script_lang-b1583c1d.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-41e9c687.js → OrConfirm.vue_vue_type_script_lang-01f99902.js} +6 -6
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-49ae70d3.js → OrConfirm.vue_vue_type_script_lang-34d925f6.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-6fa60fa4.js → OrDateTimePicker.vue_vue_type_script_lang-7bc603fd.js} +8 -8
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-e0023f89.js → OrErrorTag.vue_vue_type_script_lang-a97b4bde.js} +1 -1
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-d1f8ac93.js → OrExpansionPanel.vue_vue_type_script_lang-73d3cf14.js} +1 -1
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-0ddad598.js → OrFab.vue_vue_type_script_lang-696b9c8b.js} +1 -1
- package/dist/bundled/v3/{OrFloating.vue_vue_type_script_lang-21499d17.js → OrFloating.vue_vue_type_script_lang-91fd6681.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-3c949339.js → OrIcon.vue_vue_type_script_lang-63e18388.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-ef6a0fbf.js → OrIconButton.vue_vue_type_script_lang-7c94b69b.js} +6 -6
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-7c25ed7b.js → OrIconButton.vue_vue_type_script_lang-8db5f6cf.js} +3 -3
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-eb63f759.js → OrInlineInput.vue_vue_type_script_lang-bb756766.js} +5 -5
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-2f7580e9.js → OrInlineTextEdit.vue_vue_type_script_lang-a90f8a3e.js} +5 -5
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-b18633e1.js → OrInlineTextarea.vue_vue_type_script_lang-138d2c0d.js} +5 -5
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-2dfa8684.js → OrInput.vue_vue_type_script_lang-73a237e6.js} +7 -7
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-6068dc91.js → OrList.vue_vue_type_script_lang-62f51c05.js} +8 -8
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-ac489de9.js → OrListOfInputs.vue_vue_type_script_lang-29f8ee75.js} +5 -5
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-46ecf85f.js → OrMenu.vue_vue_type_script_lang-0f9a9e75.js} +2 -2
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-eb21950f.js → OrMenuItem.vue_vue_type_script_lang-1ec589a5.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-bd9984fa.js → OrModal.vue_vue_type_script_lang-9bdd57a8.js} +4 -4
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-67de248c.js → OrModal.vue_vue_type_script_lang-c1dd0512.js} +6 -20
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-3ab2d11d.js → OrNotification.vue_vue_type_script_lang-5dd49ad9.js} +4 -4
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-a676b8d5.js → OrNotification.vue_vue_type_script_lang-942e8585.js} +3 -3
- package/dist/bundled/v3/{OrNumberInput.vue_vue_type_script_lang-10f2b9a6.js → OrNumberInput.vue_vue_type_script_lang-a0c074e0.js} +0 -0
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-f9f091b5.js → OrOverflowMenu.vue_vue_type_script_lang-27fe72a7.js} +3 -3
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-66c0fa0e.js → OrOverlay.vue_vue_type_script_lang-44194ab4.js} +1 -1
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-4be4a210.js → OrPassword.vue_vue_type_script_lang-ded3b1dd.js} +3 -3
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-ef43169d.js → OrPopover.vue_vue_type_script_lang-10f5e5a2.js} +3 -3
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-0fa15ff0.js → OrRadio.vue_vue_type_script_lang-7b5bb449.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-cb2c1fd1.js → OrSearch.vue_vue_type_script_lang-7248d03f.js} +3 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-79213131.js → OrSearch.vue_vue_type_script_lang-7fe6bb5f.js} +2 -2
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-d1000e00.js → OrSegmentedControl.vue_vue_type_script_lang-940759f9.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-b28438b6.js → OrSelect.vue_vue_type_script_lang-22578105.js} +17 -17
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-07d984d8.js → OrSelect.vue_vue_type_script_lang-5f2464ac.js} +3 -3
- package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-30516785.js +39 -0
- package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-71f648ad.js +42 -0
- package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-2a1e065a.js +60 -0
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-29aa72fc.js → OrSlider.vue_vue_type_script_lang-d9c49e71.js} +3 -3
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-60cacb5e.js → OrSortHeader.vue_vue_type_script_lang-447f9a3b.js} +1 -1
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-0f15b9f1.js → OrStepper.vue_vue_type_script_lang-092aa4c4.js} +0 -0
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-8324e7aa.js → OrSwitch.vue_vue_type_script_lang-74871640.js} +2 -2
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-62744582.js → OrSwitch.vue_vue_type_script_lang-85ca85ee.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-af79a4fc.js → OrTabs.vue_vue_type_script_lang-625ffb79.js} +6 -6
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-688bd067.js → OrTag.vue_vue_type_script_lang-74173e5c.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-24e4ef85.js → OrTag.vue_vue_type_script_lang-a97805af.js} +2 -2
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-53696813.js → OrTextarea.vue_vue_type_script_lang-3fb6c069.js} +4 -4
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-866fc139.js → OrTextarea.vue_vue_type_script_lang-4d16fddd.js} +6 -6
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-9836d533.js → OrTextbox.vue_vue_type_script_lang-7443f6bc.js} +7 -7
- package/dist/bundled/v3/{OrToast-086db518.js → OrToast-870fab47.js} +3 -3
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-d5df88b8.js → OrToastContainer.vue_vue_type_script_lang-140c8724.js} +2 -2
- package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-cfcaa81d.js +134 -0
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-f5885526.js → OrTooltip.vue_vue_type_script_lang-4595c67d.js} +2 -2
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-8f654b1b.js → OrTooltip.vue_vue_type_script_lang-e9e6c805.js} +1 -1
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +33 -14
- package/dist/bundled/v3/components/OrAvatar/index.js +5 -5
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatarV3.js +22 -0
- package/dist/bundled/v3/components/{OrBottomSheet/OrBottomSheet.js → OrBottomSheetV3/OrBottomSheetV3.js} +5 -5
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +4 -4
- package/dist/bundled/v3/components/OrButton/OrButton.js +35 -26
- package/dist/bundled/v3/components/OrButton/index.js +2 -2
- package/dist/bundled/v3/{OrButton-a1b966c0.js → components/OrButtonV2/OrButtonV2.js} +18 -2
- package/dist/bundled/v3/components/OrButtonV2/index.js +11 -10
- package/dist/bundled/v3/components/OrButtonV3/OrButtonV3.js +38 -0
- package/dist/bundled/v3/components/OrButtonV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCard/OrCard.js +16 -10
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +108 -90
- package/dist/bundled/v3/components/OrCardCollection/index.js +19 -16
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollectionV3.js +104 -0
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +22 -22
- package/dist/bundled/v3/components/OrCardV3/OrCardV3.js +16 -0
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +6 -6
- package/dist/bundled/v3/components/OrCarousel/index.js +5 -5
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +63 -33
- package/dist/bundled/v3/components/OrCheckbox/index.js +5 -5
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckboxV3.js +46 -0
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -2
- package/dist/bundled/v3/components/OrChip/OrChip.js +4 -4
- package/dist/bundled/v3/components/OrChips/OrChips.js +9 -9
- package/dist/bundled/v3/components/OrChips/index.js +8 -8
- package/dist/bundled/v3/components/OrChipsInput/OrChipsInput.js +5 -5
- package/dist/bundled/v3/components/OrCode/OrCode.js +19 -17
- package/dist/bundled/v3/components/OrCode/index.js +18 -16
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +3 -3
- package/dist/bundled/v3/components/OrCollapse/index.js +2 -2
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +4 -4
- package/dist/bundled/v3/components/OrColorPicker/index.js +3 -3
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +77 -83
- package/dist/bundled/v3/components/OrConfirm/index.js +21 -19
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirmV3.js +103 -0
- package/dist/bundled/v3/components/OrConfirmV3/index.js +22 -22
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +17 -16
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +16 -15
- package/dist/bundled/v3/components/OrError/OrError.js +13 -16
- package/dist/bundled/v3/components/{OrErrorTag/OrErrorTag.js → OrErrorTagV3/OrErrorTagV3.js} +3 -3
- package/dist/bundled/v3/components/OrErrorTagV3/index.js +2 -2
- package/dist/bundled/v3/components/OrErrorV3/OrErrorV3.js +22 -0
- package/dist/bundled/v3/components/{OrExpansionPanel/OrExpansionPanel.js → OrExpansionPanelV3/OrExpansionPanelV3.js} +3 -3
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +2 -2
- package/dist/bundled/v3/components/{OrFab/OrFab.js → OrFabV3/OrFabV3.js} +3 -3
- package/dist/bundled/v3/components/OrFabV3/index.js +2 -2
- package/dist/bundled/v3/components/OrFloating/OrFloating.js +3 -3
- package/dist/bundled/v3/components/OrFloating/index.js +2 -2
- package/dist/bundled/v3/components/OrHint/OrHint.js +14 -16
- package/dist/bundled/v3/components/OrHintV3/OrHintV3.js +22 -0
- package/dist/bundled/v3/components/OrIcon/OrIcon.js +44 -10
- package/dist/bundled/v3/components/OrIcon/index.js +3 -3
- package/dist/bundled/v3/{OrIconButton-54994f76.js → components/OrIconButtonV2/OrIconButtonV2.js} +21 -2
- package/dist/bundled/v3/components/{OrIconButton/OrIconButton.js → OrIconButtonV3/OrIconButtonV3.js} +12 -12
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +11 -11
- package/dist/bundled/v3/components/OrIconV3/OrIconV3.js +16 -0
- package/dist/bundled/v3/components/{OrInlineInputBox/OrInlineInputBox.js → OrInlineInputBoxV3/OrInlineInputBoxV3.js} +0 -0
- package/dist/bundled/v3/components/{OrInlineInput/OrInlineInput.js → OrInlineInputV3/OrInlineInputV3.js} +17 -17
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +16 -16
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +15 -14
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +14 -13
- package/dist/bundled/v3/components/{OrInlineTextarea/OrInlineTextarea.js → OrInlineTextareaV3/OrInlineTextareaV3.js} +17 -17
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +16 -16
- package/dist/bundled/v3/components/OrInput/OrInput.js +5 -5
- package/dist/bundled/v3/components/{OrInputBox/OrInputBox.js → OrInputBoxV3/OrInputBoxV3.js} +0 -0
- package/dist/bundled/v3/{OrInput-0540584e.js → components/OrInputV3/OrInputV3.js} +31 -2
- package/dist/bundled/v3/components/OrInputV3/index.js +17 -17
- package/dist/bundled/v3/components/OrInputs/index.js +19 -18
- package/dist/bundled/v3/components/OrLabel/OrLabel.js +17 -20
- package/dist/bundled/v3/components/OrLabelV3/OrLabelV3.js +26 -0
- package/dist/bundled/v3/components/{OrLink/OrLink.js → OrLinkV3/OrLinkV3.js} +0 -0
- package/dist/bundled/v3/components/OrList/OrList.js +17 -16
- package/dist/bundled/v3/components/OrList/index.js +16 -15
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +20 -19
- package/dist/bundled/v3/components/OrListOfInputs/index.js +19 -18
- package/dist/bundled/v3/components/OrLoader/OrLoader.js +35 -49
- package/dist/bundled/v3/components/OrLoaderV3/OrLoaderV3.js +59 -0
- package/dist/bundled/v3/components/{OrMenuItem/OrMenuItem.js → OrMenuItemV3/OrMenuItemV3.js} +3 -3
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +2 -2
- package/dist/bundled/v3/components/{OrMenu/OrMenu.js → OrMenuV3/OrMenuV3.js} +9 -9
- package/dist/bundled/v3/components/OrMenuV3/index.js +8 -8
- package/dist/bundled/v3/components/OrModal/OrModal.js +59 -43
- package/dist/bundled/v3/components/OrModal/index.js +13 -11
- package/dist/bundled/v3/components/OrModalV3/OrModalV3.js +59 -0
- package/dist/bundled/v3/components/OrModalV3/index.js +13 -13
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +46 -39
- package/dist/bundled/v3/components/OrNotification/index.js +12 -11
- package/dist/bundled/v3/components/OrNotificationV3/OrNotificationV3.js +49 -0
- package/dist/bundled/v3/components/OrNotificationV3/index.js +13 -13
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +7 -7
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +15 -14
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +14 -13
- package/dist/bundled/v3/components/OrOverflowMenuItem/OrOverflowMenuItem.js +8 -8
- package/dist/bundled/v3/components/OrOverlay/OrOverlay.js +12 -21
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlayV3.js +27 -0
- package/dist/bundled/v3/components/OrOverlayV3/index.js +2 -2
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +17 -16
- package/dist/bundled/v3/components/{OrPopover/OrPopover.js → OrPopoverV3/OrPopoverV3.js} +7 -7
- package/dist/bundled/v3/components/OrPopoverV3/index.js +6 -6
- package/dist/bundled/v3/components/OrProgress/OrProgress.js +48 -66
- package/dist/bundled/v3/components/OrProgressV3/OrProgressV3.js +83 -0
- package/dist/bundled/v3/components/OrRadio/OrRadio.js +24 -35
- package/dist/bundled/v3/components/OrRadioV3/OrRadioV3.js +45 -0
- package/dist/bundled/v3/components/OrRadioV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +91 -52
- package/dist/bundled/v3/components/OrSearchV3/OrSearchV3.js +62 -0
- package/dist/bundled/v3/components/OrSearchV3/index.js +19 -19
- package/dist/bundled/v3/components/{OrSegmentedControlItem/OrSegmentedControlItem.js → OrSegmentedControlItemV3/OrSegmentedControlItemV3.js} +0 -0
- package/dist/bundled/v3/components/{OrSegmentedControl/OrSegmentedControl.js → OrSegmentedControlV3/OrSegmentedControlV3.js} +3 -3
- package/dist/bundled/v3/components/OrSegmentedControlV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +73 -234
- package/dist/bundled/v3/components/OrSelect/index.js +11 -10
- package/dist/bundled/v3/components/OrSelectContent/OrSelectContent.js +8 -7
- package/dist/bundled/v3/components/OrSelectContentEmpty/OrSelectContentEmpty.js +1 -1
- package/dist/bundled/v3/components/OrSelectContentOptions/OrSelectContentOptions.js +7 -6
- package/dist/bundled/v3/components/OrSelectInput/OrSelectInput.js +5 -5
- package/dist/bundled/v3/components/OrSelectInputValue/OrSelectInputValue.js +5 -5
- package/dist/bundled/v3/components/OrSelectMain/OrSelectMain.js +8 -7
- package/dist/bundled/v3/components/OrSelectOption/OrSelectOption.js +7 -66
- package/dist/bundled/v3/components/OrSelectSearchOptions/OrSelectSearchOptions.js +5 -5
- package/dist/bundled/v3/components/OrSelectV3/OrSelectV3.js +248 -0
- package/dist/bundled/v3/components/OrSelectV3/index.js +27 -27
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +28 -18
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebarV3.js +30 -0
- package/dist/bundled/v3/components/OrSkeleton/index.js +4 -2
- package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.js +14 -13
- package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircleV3.js +20 -0
- package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.js +14 -13
- package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRectV3.js +20 -0
- package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +16 -16
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonTextV3.js +26 -0
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +6 -6
- package/dist/bundled/v3/components/OrSlider/index.js +5 -5
- package/dist/bundled/v3/components/{OrSortHeader/OrSortHeader.js → OrSortHeaderV3/OrSortHeaderV3.js} +3 -3
- package/dist/bundled/v3/components/OrSortHeaderV3/index.js +2 -2
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +10 -10
- package/dist/bundled/v3/components/OrStepper/index.js +9 -9
- package/dist/bundled/v3/components/OrStepperButtonOptions/OrStepperButtonOptions.js +8 -8
- package/dist/bundled/v3/components/OrStepperOptionHorizontal/OrStepperOptionHorizontal.js +8 -8
- package/dist/bundled/v3/components/OrStepperOptionVertical/OrStepperOptionVertical.js +8 -8
- package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +39 -47
- package/dist/bundled/v3/components/OrSwitch/index.js +2 -2
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitchV3.js +59 -0
- package/dist/bundled/v3/components/OrSwitchV3/index.js +3 -3
- package/dist/bundled/v3/components/OrTab/OrTab.js +16 -16
- package/dist/bundled/v3/components/OrTabV3/OrTabV3.js +22 -0
- package/dist/bundled/v3/components/OrTabs/OrTabs.js +41 -74
- package/dist/bundled/v3/components/OrTabsV3/OrTabsV3.js +80 -0
- package/dist/bundled/v3/components/OrTabsV3/index.js +14 -14
- package/dist/bundled/v3/components/OrTag/OrTag.js +35 -39
- package/dist/bundled/v3/components/OrTag/index.js +5 -5
- package/dist/bundled/v3/components/OrTagV3/OrTagV3.js +48 -0
- package/dist/bundled/v3/components/OrTagV3/index.js +13 -13
- package/dist/bundled/v3/components/{OrTeleport.vue2/OrTeleport.vue2.js → OrTeleport.vue2V3/OrTeleport.vue2V3.js} +0 -0
- package/dist/bundled/v3/components/{OrTeleport.vue3/OrTeleport.vue3.js → OrTeleport.vue3V3/OrTeleport.vue3V3.js} +0 -0
- package/dist/bundled/v3/components/{OrText/OrText.js → OrTextV3/OrTextV3.js} +0 -0
- package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +104 -73
- package/dist/bundled/v3/components/OrTextareaV3/OrTextareaV3.js +90 -0
- package/dist/bundled/v3/components/OrTextareaV3/index.js +5 -5
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +17 -16
- package/dist/bundled/v3/components/OrTextbox/index.js +16 -15
- package/dist/bundled/v3/components/OrToast/OrToast.js +130 -23
- package/dist/bundled/v3/components/OrToast/index.js +4 -2
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +37 -35
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainerV3.js +66 -0
- package/dist/bundled/v3/components/OrToastV3/OrToastV3.js +26 -0
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +43 -34
- package/dist/bundled/v3/components/OrTooltip/index.js +3 -3
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltipV3.js +44 -0
- package/dist/bundled/v3/components/OrTooltipV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTooltipWrapperV2/OrTooltipWrapperV2.js +60 -0
- package/dist/bundled/v3/components/index.js +118 -106
- package/dist/bundled/v3/constants-25998e4c.js +24 -0
- package/dist/bundled/{v2/constants-0e039de8.js → v3/constants-59507e57.js} +1 -1
- package/dist/bundled/v3/{constants-6678dfb5.js → constants-c5d1139f.js} +1 -1
- package/dist/bundled/v3/{dom-ba0fb2e2.js → dom-28f5f62a.js} +1 -1
- package/dist/bundled/v3/index.js +130 -796
- package/dist/bundled/v3/types-668300dd.js +5 -0
- package/dist/bundled/v3/useToast-0c42015d.js +115 -0
- package/dist/bundled/v3/useToastEventBus-578adc7c.js +55 -0
- package/package.json +2 -2
- package/dist/bundled/v2/OrCard-36967325.js +0 -69
- package/dist/bundled/v2/OrCheckbox-886d6bec.js +0 -185
- package/dist/bundled/v2/OrConfirm-e1abcf12.js +0 -262
- package/dist/bundled/v2/OrError-9c32e442.js +0 -56
- package/dist/bundled/v2/OrHint-4b5e2e20.js +0 -59
- package/dist/bundled/v2/OrLabel-0574b639.js +0 -82
- package/dist/bundled/v2/OrOverlay-f25c0d05.js +0 -75
- package/dist/bundled/v2/OrRadio-48d04879.js +0 -145
- package/dist/bundled/v2/OrSearch-9718ba70.js +0 -247
- package/dist/bundled/v2/OrSelect-6fdcd339.js +0 -216
- package/dist/bundled/v2/OrSkeletonText-f2e3313c.js +0 -261
- package/dist/bundled/v2/OrSwitch-94e95571.js +0 -156
- package/dist/bundled/v2/OrTab-557007ba.js +0 -111
- package/dist/bundled/v2/OrTabs-c495a9ef.js +0 -115
- package/dist/bundled/v2/OrTag-414c7744.js +0 -118
- package/dist/bundled/v2/OrTextarea-33486937.js +0 -329
- package/dist/bundled/v2/OrTooltip-cf20df81.js +0 -159
- package/dist/bundled/v2/components/OrSegmentedControl/OrSegmentedControl.js +0 -5
- package/dist/bundled/v2/types-b6999357.js +0 -345
- package/dist/bundled/v2/useToast-4fbe0e5a.js +0 -188
- package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-98a0556f.js +0 -191
- package/dist/bundled/v3/OrError-dff84d09.js +0 -17
- package/dist/bundled/v3/OrHint-f6730014.js +0 -17
- package/dist/bundled/v3/OrIcon-6f6eb367.js +0 -39
- package/dist/bundled/v3/OrLabel-48580954.js +0 -20
- package/dist/bundled/v3/OrLoader-c4809493.js +0 -42
- package/dist/bundled/v3/OrModal-1e176a11.js +0 -51
- package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-f7d269f4.js +0 -131
- package/dist/bundled/v3/components/OrTooltipWrapper/OrTooltipWrapper.js +0 -99
- package/dist/bundled/v3/types-b803a88a.js +0 -306
- package/dist/bundled/v3/useToast-4fbe0e5a.js +0 -188
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
import { defineComponent, nextTick } from 'vue-demi';
|
|
2
|
-
import { O as OrProgress } from './OrProgress-d4c4446d.js';
|
|
3
|
-
import { c as ToastType, P as PositionsX, b as PositionsY, T as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-4fbe0e5a.js';
|
|
4
|
-
import { O as OrIconButton } from './OrIconButton-05c25d9d.js';
|
|
5
|
-
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
|
-
import { c as createInjector } from './browser-82dea9ed.js';
|
|
7
|
-
import __vue_component__$3 from './components/OrTeleportVue2/OrTeleportVue2.js';
|
|
8
|
-
import { useToggle } from '@vueuse/core';
|
|
9
|
-
|
|
10
|
-
var script$1 = defineComponent({
|
|
11
|
-
name: 'OrToast',
|
|
12
|
-
components: {
|
|
13
|
-
OrProgress,
|
|
14
|
-
OrIconButton
|
|
15
|
-
},
|
|
16
|
-
props: {
|
|
17
|
-
toastType: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: null
|
|
20
|
-
},
|
|
21
|
-
link: {
|
|
22
|
-
type: Object,
|
|
23
|
-
default: () => {}
|
|
24
|
-
},
|
|
25
|
-
messageText: {
|
|
26
|
-
type: String,
|
|
27
|
-
default: null
|
|
28
|
-
},
|
|
29
|
-
dismissible: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: true
|
|
32
|
-
},
|
|
33
|
-
loadingProgress: {
|
|
34
|
-
type: Number,
|
|
35
|
-
default: null
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
emits: ['close'],
|
|
39
|
-
computed: {
|
|
40
|
-
getEmoji() {
|
|
41
|
-
switch (this.toastType) {
|
|
42
|
-
case ToastType.success:
|
|
43
|
-
return '🎉';
|
|
44
|
-
case ToastType.error:
|
|
45
|
-
return '❌';
|
|
46
|
-
default:
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
hrefTarget() {
|
|
51
|
-
var _a;
|
|
52
|
-
return ((_a = this.link) === null || _a === void 0 ? void 0 : _a.target) ? this.link.target : '_self';
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
methods: {
|
|
56
|
-
onClose() {
|
|
57
|
-
this.$emit('close');
|
|
58
|
-
},
|
|
59
|
-
onLinkClick(e) {
|
|
60
|
-
var _a, _b, _c;
|
|
61
|
-
if ((_a = this.link) === null || _a === void 0 ? void 0 : _a.callback) {
|
|
62
|
-
e.preventDefault();
|
|
63
|
-
(_c = (_b = this.link).callback) === null || _c === void 0 ? void 0 : _c.call(_b);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
/* script */
|
|
70
|
-
const __vue_script__$1 = script$1;
|
|
71
|
-
|
|
72
|
-
/* template */
|
|
73
|
-
var __vue_render__$1 = function () {
|
|
74
|
-
var _vm = this;
|
|
75
|
-
var _h = _vm.$createElement;
|
|
76
|
-
var _c = _vm._self._c || _h;
|
|
77
|
-
return _c('div', {
|
|
78
|
-
staticClass: "or-toast"
|
|
79
|
-
}, [_vm._t("content", function () {
|
|
80
|
-
return [_vm.toastType === 'loading' ? _c('or-progress', {
|
|
81
|
-
attrs: {
|
|
82
|
-
"type": "circle",
|
|
83
|
-
"color": "primary",
|
|
84
|
-
"is-loading": _vm.loadingProgress == null,
|
|
85
|
-
"progress": _vm.loadingProgress
|
|
86
|
-
}
|
|
87
|
-
}) : _vm.getEmoji ? _c('div', {
|
|
88
|
-
staticClass: "toast-emoji"
|
|
89
|
-
}, [_vm._v("\n " + _vm._s(_vm.getEmoji) + "\n ")]) : _vm._e(), _vm._v(" "), _vm.messageText ? _c('div', {
|
|
90
|
-
staticClass: "or-toast__message",
|
|
91
|
-
domProps: {
|
|
92
|
-
"innerHTML": _vm._s(_vm.messageText)
|
|
93
|
-
}
|
|
94
|
-
}) : _vm._e(), _vm._v(" "), _vm.link ? _c('a', {
|
|
95
|
-
staticClass: "or-toast__link",
|
|
96
|
-
attrs: {
|
|
97
|
-
"href": _vm.link.href,
|
|
98
|
-
"target": _vm.hrefTarget
|
|
99
|
-
},
|
|
100
|
-
on: {
|
|
101
|
-
"click": _vm.onLinkClick
|
|
102
|
-
}
|
|
103
|
-
}, [_vm._v("\n " + _vm._s(_vm.link.title) + "\n ")]) : _vm._e()];
|
|
104
|
-
}), _vm._v(" "), _c('div', {
|
|
105
|
-
staticClass: "or-toast__action"
|
|
106
|
-
}, [_vm.dismissible ? _c('or-icon-button', {
|
|
107
|
-
staticClass: "or-toast__action-button",
|
|
108
|
-
attrs: {
|
|
109
|
-
"icon": "close",
|
|
110
|
-
"icon-color": "neutral-0"
|
|
111
|
-
},
|
|
112
|
-
on: {
|
|
113
|
-
"click": function ($event) {
|
|
114
|
-
$event.stopPropagation();
|
|
115
|
-
return _vm.onClose();
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}) : _vm._e()], 1)], 2);
|
|
119
|
-
};
|
|
120
|
-
var __vue_staticRenderFns__$1 = [];
|
|
121
|
-
|
|
122
|
-
/* style */
|
|
123
|
-
const __vue_inject_styles__$1 = function (inject) {
|
|
124
|
-
if (!inject) return;
|
|
125
|
-
inject("data-v-5445d671_0", {
|
|
126
|
-
source: "@keyframes spinAround-data-v-5445d671{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-5445d671{from{opacity:1}to{opacity:0}}.or-toast[data-v-5445d671]{display:flex;flex-grow:1;gap:var(--s-4);max-width:512px;min-height:48px;padding:var(--s-4);background-color:var(--c-neutral-6);border-radius:var(--s-2);box-shadow:0 0 8px 1px rgba(0,0,0,.08)}.toast-emoji[data-v-5445d671]{font-size:var(--fs-3)}.or-toast__link[data-v-5445d671]{color:var(--c-primary);word-break:break-word;white-space:nowrap;cursor:pointer}.or-toast__action-button[data-v-5445d671]{display:flex;padding:0;cursor:pointer}@media (hover:hover) and (pointer:fine){.or-toast__action-button[data-v-5445d671]:not(.or-toast__action-button.is-loading):not(.or-toast__action-button.is-disabled):not(.or-toast__action-button.is-readonly):not(.or-toast__action-button:disabled):not(.or-toast__action-button.is-focused):not(.or-toast__action-button:active):hover{background-color:initial}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.or-toast__action-button[data-v-5445d671]:not(.or-toast__action-button.is-loading):not(.or-toast__action-button.is-disabled):not(.or-toast__action-button.is-readonly):not(.or-toast__action-button:disabled):not(.or-toast__action-button.is-focused):not(.or-toast__action-button:active):hover{background-color:initial}}.or-toast__message[data-v-5445d671]{flex-grow:1;font-size:var(--fs-0);font-weight:400;line-height:21px;color:var(--c-neutral-0);cursor:default}",
|
|
127
|
-
map: undefined,
|
|
128
|
-
media: undefined
|
|
129
|
-
});
|
|
130
|
-
};
|
|
131
|
-
/* scoped */
|
|
132
|
-
const __vue_scope_id__$1 = "data-v-5445d671";
|
|
133
|
-
/* module identifier */
|
|
134
|
-
const __vue_module_identifier__$1 = undefined;
|
|
135
|
-
/* functional template */
|
|
136
|
-
const __vue_is_functional_template__$1 = false;
|
|
137
|
-
/* style inject SSR */
|
|
138
|
-
|
|
139
|
-
/* style inject shadow dom */
|
|
140
|
-
|
|
141
|
-
const __vue_component__$2 = /*#__PURE__*/normalizeComponent({
|
|
142
|
-
render: __vue_render__$1,
|
|
143
|
-
staticRenderFns: __vue_staticRenderFns__$1
|
|
144
|
-
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, createInjector, undefined, undefined);
|
|
145
|
-
var OrToast = __vue_component__$2;
|
|
146
|
-
|
|
147
|
-
var script = defineComponent({
|
|
148
|
-
name: 'OrToastContainer',
|
|
149
|
-
components: {
|
|
150
|
-
OrToast,
|
|
151
|
-
OrTeleport: __vue_component__$3
|
|
152
|
-
},
|
|
153
|
-
props: {
|
|
154
|
-
includeHeaderHeight: {
|
|
155
|
-
type: Boolean,
|
|
156
|
-
default: true
|
|
157
|
-
},
|
|
158
|
-
position: {
|
|
159
|
-
type: Object,
|
|
160
|
-
default: () => ({
|
|
161
|
-
positionX: PositionsX.right,
|
|
162
|
-
positionY: PositionsY.bottom
|
|
163
|
-
})
|
|
164
|
-
},
|
|
165
|
-
transition: {
|
|
166
|
-
type: String,
|
|
167
|
-
default: TransitionType.slide
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
setup() {
|
|
171
|
-
const {
|
|
172
|
-
on,
|
|
173
|
-
off
|
|
174
|
-
} = useToastEventBus();
|
|
175
|
-
const {
|
|
176
|
-
queue,
|
|
177
|
-
addItem,
|
|
178
|
-
removeItem,
|
|
179
|
-
clearAll,
|
|
180
|
-
getItem
|
|
181
|
-
} = useQueue();
|
|
182
|
-
const [isActive, toggle] = useToggle(false);
|
|
183
|
-
return {
|
|
184
|
-
on,
|
|
185
|
-
off,
|
|
186
|
-
isActive,
|
|
187
|
-
toggle,
|
|
188
|
-
queue,
|
|
189
|
-
addItem,
|
|
190
|
-
removeItem,
|
|
191
|
-
clearAll,
|
|
192
|
-
getItem
|
|
193
|
-
};
|
|
194
|
-
},
|
|
195
|
-
computed: {
|
|
196
|
-
getQueue() {
|
|
197
|
-
return this.queue.map(i => i.value);
|
|
198
|
-
},
|
|
199
|
-
classes() {
|
|
200
|
-
var _a, _b, _c;
|
|
201
|
-
return [`position--${(_a = this.position) === null || _a === void 0 ? void 0 : _a.positionX}`, `position--${(_b = this.position) === null || _b === void 0 ? void 0 : _b.positionY}`, {
|
|
202
|
-
'position--top--with-header': ((_c = this.position) === null || _c === void 0 ? void 0 : _c.positionY) === PositionsY.top && this.includeHeaderHeight
|
|
203
|
-
}];
|
|
204
|
-
},
|
|
205
|
-
transitionName() {
|
|
206
|
-
var _a;
|
|
207
|
-
return `or-toast--position-${(_a = this.position) === null || _a === void 0 ? void 0 : _a.positionX} or-toast--transition-${this.transition}`;
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
beforeMount() {
|
|
211
|
-
this.on('toastNotify', this.createToast);
|
|
212
|
-
this.on('toastClose', this.toastRemove);
|
|
213
|
-
this.on('toastUpdate', this.toastUpdate);
|
|
214
|
-
this.on('toastCloseAll', this.clearAll);
|
|
215
|
-
},
|
|
216
|
-
beforeDestroy() {
|
|
217
|
-
this.off('toastNotify', this.createToast);
|
|
218
|
-
this.off('toastClose', this.toastRemove);
|
|
219
|
-
this.off('toastUpdate', this.toastUpdate);
|
|
220
|
-
this.off('toastCloseAll', this.clearAll);
|
|
221
|
-
},
|
|
222
|
-
methods: {
|
|
223
|
-
createToast(toastConfiguration) {
|
|
224
|
-
const caller = () => {
|
|
225
|
-
var _a;
|
|
226
|
-
this.addItem(toastConfiguration);
|
|
227
|
-
(_a = toastConfiguration.timer) === null || _a === void 0 ? void 0 : _a.start(this.toastRemove.bind(null, toastConfiguration), toastConfiguration.toastBehaviour.duration);
|
|
228
|
-
};
|
|
229
|
-
if (!this.isActive) {
|
|
230
|
-
// before create toast we need change isActive props, to render or-teleport,
|
|
231
|
-
// in other case first item will not be animated
|
|
232
|
-
this.toggle(true);
|
|
233
|
-
nextTick(caller);
|
|
234
|
-
} else {
|
|
235
|
-
caller();
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
toastUpdate(toast) {
|
|
239
|
-
const toastItem = this.getItem(item => {
|
|
240
|
-
return item.hash === toast.hash;
|
|
241
|
-
});
|
|
242
|
-
if (toastItem) toastItem.value = toast;
|
|
243
|
-
},
|
|
244
|
-
toastRemove(toast) {
|
|
245
|
-
this.removeItem(item => {
|
|
246
|
-
var _a, _b, _c;
|
|
247
|
-
if (item.hash === toast.hash) {
|
|
248
|
-
(_b = (_a = item.toastBehaviour) === null || _a === void 0 ? void 0 : _a.onToastClose) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
249
|
-
(_c = item.timer) === null || _c === void 0 ? void 0 : _c.stop();
|
|
250
|
-
return true;
|
|
251
|
-
}
|
|
252
|
-
return false;
|
|
253
|
-
});
|
|
254
|
-
},
|
|
255
|
-
onToastEnter(toast) {
|
|
256
|
-
var _a;
|
|
257
|
-
if (toast.toastBehaviour.pauseOnHover) (_a = toast.timer) === null || _a === void 0 ? void 0 : _a.pause();
|
|
258
|
-
},
|
|
259
|
-
onToastLeave(toast) {
|
|
260
|
-
var _a;
|
|
261
|
-
if (toast.toastBehaviour.pauseOnHover) (_a = toast.timer) === null || _a === void 0 ? void 0 : _a.resume();
|
|
262
|
-
},
|
|
263
|
-
onClick(toastBehaviour) {
|
|
264
|
-
var _a;
|
|
265
|
-
(_a = toastBehaviour.onToastClick) === null || _a === void 0 ? void 0 : _a.call(toastBehaviour);
|
|
266
|
-
},
|
|
267
|
-
onToastHidden() {
|
|
268
|
-
this.toggle(this.queue.length > 0);
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
|
-
|
|
273
|
-
/* script */
|
|
274
|
-
const __vue_script__ = script;
|
|
275
|
-
|
|
276
|
-
/* template */
|
|
277
|
-
var __vue_render__ = function () {
|
|
278
|
-
var _vm = this;
|
|
279
|
-
var _h = _vm.$createElement;
|
|
280
|
-
var _c = _vm._self._c || _h;
|
|
281
|
-
return _vm.isActive ? _c('or-teleport', [_c('div', {
|
|
282
|
-
staticClass: "or-toast-container",
|
|
283
|
-
class: _vm.classes
|
|
284
|
-
}, [_c('transition-group', {
|
|
285
|
-
attrs: {
|
|
286
|
-
"name": _vm.transitionName
|
|
287
|
-
},
|
|
288
|
-
on: {
|
|
289
|
-
"after-leave": _vm.onToastHidden
|
|
290
|
-
}
|
|
291
|
-
}, _vm._l(_vm.getQueue, function (toastConfiguration) {
|
|
292
|
-
return _c('div', {
|
|
293
|
-
key: toastConfiguration.hash,
|
|
294
|
-
on: {
|
|
295
|
-
"click": function ($event) {
|
|
296
|
-
return _vm.onClick(toastConfiguration.toastBehaviour);
|
|
297
|
-
},
|
|
298
|
-
"mouseenter": function ($event) {
|
|
299
|
-
return _vm.onToastEnter(toastConfiguration);
|
|
300
|
-
},
|
|
301
|
-
"mouseleave": function ($event) {
|
|
302
|
-
return _vm.onToastLeave(toastConfiguration);
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
}, [_c('or-toast', _vm._b({
|
|
306
|
-
on: {
|
|
307
|
-
"close": function ($event) {
|
|
308
|
-
return _vm.toastRemove(toastConfiguration);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}, 'or-toast', toastConfiguration.toastProps, false))], 1);
|
|
312
|
-
}), 0)], 1)]) : _vm._e();
|
|
313
|
-
};
|
|
314
|
-
var __vue_staticRenderFns__ = [];
|
|
315
|
-
|
|
316
|
-
/* style */
|
|
317
|
-
const __vue_inject_styles__ = function (inject) {
|
|
318
|
-
if (!inject) return;
|
|
319
|
-
inject("data-v-bf11cbf6_0", {
|
|
320
|
-
source: "@keyframes spinAround-data-v-bf11cbf6{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-bf11cbf6{from{opacity:1}to{opacity:0}}.or-toast-container[data-v-bf11cbf6]{position:absolute;z-index:26;display:flex;flex-direction:column;gap:var(--s-3);justify-content:center;width:512px;max-width:calc(100% - var(--s-6));overflow:hidden}.or-toast-container span[data-v-bf11cbf6]{display:flex;flex-direction:column;gap:var(--s-3);justify-content:center}.position[data-v-bf11cbf6]{align-items:center}.position--bottom[data-v-bf11cbf6]{top:initial;bottom:var(--s-6)}.position--top[data-v-bf11cbf6]{top:var(--s-6);bottom:initial}.position--top--with-header[data-v-bf11cbf6]{top:calc(var(--s-6) + 48px)}.position--right[data-v-bf11cbf6]{right:var(--s-6);left:initial}.position--left[data-v-bf11cbf6]{right:initial;left:var(--s-6)}.position--center[data-v-bf11cbf6]{right:var(--s-6);left:var(--s-6)}.or-toast--transition-slide-enter-active[data-v-bf11cbf6],.or-toast--transition-slide-leave-active[data-v-bf11cbf6]{transition:transform .4s ease}.or-toast--transition-slide-enter.or-toast--position-right[data-v-bf11cbf6],.or-toast--transition-slide-leave-active.or-toast--position-right[data-v-bf11cbf6]{transform:translateX(999px)}.or-toast--transition-slide-enter.or-toast--position-left[data-v-bf11cbf6],.or-toast--transition-slide-leave-active.or-toast--position-left[data-v-bf11cbf6]{transform:translateX(-999px)}.or-toast--transition-fade-enter-active[data-v-bf11cbf6],.or-toast--transition-fade-leave-active[data-v-bf11cbf6]{transition:opacity .4s ease}.or-toast--transition-fade-enter[data-v-bf11cbf6],.or-toast--transition-fade-leave-active[data-v-bf11cbf6]{opacity:0}",
|
|
321
|
-
map: undefined,
|
|
322
|
-
media: undefined
|
|
323
|
-
});
|
|
324
|
-
};
|
|
325
|
-
/* scoped */
|
|
326
|
-
const __vue_scope_id__ = "data-v-bf11cbf6";
|
|
327
|
-
/* module identifier */
|
|
328
|
-
const __vue_module_identifier__ = undefined;
|
|
329
|
-
/* functional template */
|
|
330
|
-
const __vue_is_functional_template__ = false;
|
|
331
|
-
/* style inject SSR */
|
|
332
|
-
|
|
333
|
-
/* style inject shadow dom */
|
|
334
|
-
|
|
335
|
-
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
336
|
-
render: __vue_render__,
|
|
337
|
-
staticRenderFns: __vue_staticRenderFns__
|
|
338
|
-
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);
|
|
339
|
-
var __vue_component__$1 = __vue_component__;
|
|
340
|
-
|
|
341
|
-
var types = /*#__PURE__*/Object.freeze({
|
|
342
|
-
__proto__: null
|
|
343
|
-
});
|
|
344
|
-
|
|
345
|
-
export { OrToast as O, __vue_component__$1 as _, types as t };
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { ref } from 'vue-demi';
|
|
2
|
-
import { createSharedComposable, useEventBus, noop } from '@vueuse/core';
|
|
3
|
-
|
|
4
|
-
var PositionsX;
|
|
5
|
-
(function (PositionsX) {
|
|
6
|
-
PositionsX["right"] = "right";
|
|
7
|
-
PositionsX["left"] = "left";
|
|
8
|
-
PositionsX["center"] = "center";
|
|
9
|
-
})(PositionsX || (PositionsX = {}));
|
|
10
|
-
var PositionsY;
|
|
11
|
-
(function (PositionsY) {
|
|
12
|
-
PositionsY["top"] = "top";
|
|
13
|
-
PositionsY["bottom"] = "bottom";
|
|
14
|
-
})(PositionsY || (PositionsY = {}));
|
|
15
|
-
var TransitionType;
|
|
16
|
-
(function (TransitionType) {
|
|
17
|
-
TransitionType["slide"] = "slide";
|
|
18
|
-
TransitionType["fade"] = "fade";
|
|
19
|
-
})(TransitionType || (TransitionType = {}));
|
|
20
|
-
var ToastType;
|
|
21
|
-
(function (ToastType) {
|
|
22
|
-
ToastType["success"] = "success";
|
|
23
|
-
ToastType["error"] = "error";
|
|
24
|
-
ToastType["loading"] = "loading";
|
|
25
|
-
})(ToastType || (ToastType = {}));
|
|
26
|
-
|
|
27
|
-
function useQueue(initialValue) {
|
|
28
|
-
//generic needed! see https://github.com/vuejs/core/issues/2136
|
|
29
|
-
const queue = ref(initialValue || []);
|
|
30
|
-
const addItem = item => {
|
|
31
|
-
const refItem = ref(item);
|
|
32
|
-
queue.value.push(refItem);
|
|
33
|
-
};
|
|
34
|
-
const removeItem = condition => {
|
|
35
|
-
const index = queue.value.findIndex((i, idx, q) => {
|
|
36
|
-
return condition === null || condition === void 0 ? void 0 : condition(i.value, idx, q);
|
|
37
|
-
});
|
|
38
|
-
if (index !== -1) queue.value.splice(index, 1);
|
|
39
|
-
};
|
|
40
|
-
const getItem = condition => {
|
|
41
|
-
return queue.value.filter((i, idx, q) => {
|
|
42
|
-
return condition === null || condition === void 0 ? void 0 : condition(i.value, idx, q);
|
|
43
|
-
})[0];
|
|
44
|
-
};
|
|
45
|
-
const clearAll = () => {
|
|
46
|
-
queue.value = [];
|
|
47
|
-
};
|
|
48
|
-
return {
|
|
49
|
-
queue,
|
|
50
|
-
addItem,
|
|
51
|
-
removeItem,
|
|
52
|
-
clearAll,
|
|
53
|
-
getItem
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
const useToastEventBus = () => {
|
|
58
|
-
const busPull = {
|
|
59
|
-
toastNotify: useEventBus('toastNotify'),
|
|
60
|
-
toastClose: useEventBus('toastClose'),
|
|
61
|
-
toastCloseAll: useEventBus('toastCloseAll'),
|
|
62
|
-
toastUpdate: useEventBus('toastUpdate')
|
|
63
|
-
};
|
|
64
|
-
return {
|
|
65
|
-
on: (namedQueue, listener) => {
|
|
66
|
-
busPull[namedQueue].on(listener);
|
|
67
|
-
},
|
|
68
|
-
off: (namedQueue, listener) => {
|
|
69
|
-
busPull[namedQueue].off(listener);
|
|
70
|
-
},
|
|
71
|
-
emit: (namedQueue, data) => {
|
|
72
|
-
busPull[namedQueue].emit(data);
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
var useToastEventBus$1 = createSharedComposable(useToastEventBus);
|
|
77
|
-
|
|
78
|
-
class Timer {
|
|
79
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
80
|
-
constructor() {
|
|
81
|
-
this.startedAt = null;
|
|
82
|
-
this.timer = null;
|
|
83
|
-
this.callback = noop;
|
|
84
|
-
this.delay = 0;
|
|
85
|
-
}
|
|
86
|
-
start(callback, delay) {
|
|
87
|
-
if (delay && delay > 0) {
|
|
88
|
-
this.callback = callback;
|
|
89
|
-
this.delay = delay;
|
|
90
|
-
this.startedAt = Date.now();
|
|
91
|
-
this.timer = setTimeout(this.callback, this.delay);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
pause() {
|
|
95
|
-
if (this.timer && this.startedAt) {
|
|
96
|
-
this.stop();
|
|
97
|
-
this.delay -= Date.now() - this.startedAt;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
resume() {
|
|
101
|
-
this.stop();
|
|
102
|
-
if (this.delay > 0) {
|
|
103
|
-
this.startedAt = Date.now();
|
|
104
|
-
this.timer = setTimeout(this.callback, this.delay);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
stop() {
|
|
108
|
-
if (this.timer) clearTimeout(this.timer);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
function useToast(globalToastProps = {}) {
|
|
113
|
-
const {
|
|
114
|
-
emit
|
|
115
|
-
} = useToastEventBus$1();
|
|
116
|
-
function notify(props, behaviour = {}) {
|
|
117
|
-
const {
|
|
118
|
-
duration = 5000,
|
|
119
|
-
pauseOnHover = true,
|
|
120
|
-
onToastClose,
|
|
121
|
-
onToastClick
|
|
122
|
-
} = behaviour;
|
|
123
|
-
const propsData = {
|
|
124
|
-
...props,
|
|
125
|
-
...globalToastProps
|
|
126
|
-
};
|
|
127
|
-
const config = {
|
|
128
|
-
toastProps: propsData,
|
|
129
|
-
//generate ToastHash
|
|
130
|
-
hash: Math.random().toString(36).slice(2),
|
|
131
|
-
...(Number.isInteger(duration) && {
|
|
132
|
-
timer: new Timer()
|
|
133
|
-
}),
|
|
134
|
-
toastBehaviour: {
|
|
135
|
-
duration,
|
|
136
|
-
pauseOnHover,
|
|
137
|
-
onToastClose,
|
|
138
|
-
onToastClick
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
emit('toastNotify', config);
|
|
142
|
-
return {
|
|
143
|
-
close: () => emit('toastClose', config),
|
|
144
|
-
update: data => emit('toastUpdate', {
|
|
145
|
-
...config,
|
|
146
|
-
toastProps: {
|
|
147
|
-
...config.toastProps,
|
|
148
|
-
...data
|
|
149
|
-
}
|
|
150
|
-
})
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
function clearAll() {
|
|
154
|
-
emit('toastCloseAll');
|
|
155
|
-
}
|
|
156
|
-
function success(props, behaviour = {}) {
|
|
157
|
-
return notify({
|
|
158
|
-
...props,
|
|
159
|
-
toastType: ToastType.success
|
|
160
|
-
}, behaviour);
|
|
161
|
-
}
|
|
162
|
-
function error(props, behaviour = {}) {
|
|
163
|
-
return notify({
|
|
164
|
-
...props,
|
|
165
|
-
toastType: ToastType.error
|
|
166
|
-
}, behaviour);
|
|
167
|
-
}
|
|
168
|
-
function loading(props, behaviour = {}) {
|
|
169
|
-
return notify({
|
|
170
|
-
...props,
|
|
171
|
-
toastType: ToastType.loading,
|
|
172
|
-
dismissible: false
|
|
173
|
-
}, {
|
|
174
|
-
...behaviour,
|
|
175
|
-
duration: 0 // <- toast with type "loading" will not cloe automatically
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
return {
|
|
180
|
-
notify,
|
|
181
|
-
clearAll,
|
|
182
|
-
success,
|
|
183
|
-
error,
|
|
184
|
-
loading
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
export { PositionsX as P, TransitionType as T, useQueue as a, PositionsY as b, ToastType as c, useToastEventBus$1 as d, useToast as u };
|