@onereach/ui-components 2.77.0-beta.2448.0 → 2.77.0-beta.2460.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-7fc11680.js → components/OrAvatarV3/OrAvatar.js} +12 -8
- package/dist/bundled/v2/components/OrAvatarV3/index.js +2 -2
- package/dist/bundled/v2/components/{OrBottomSheet → OrBottomSheetV3}/OrBottomSheet.js +4 -4
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +3 -3
- package/dist/bundled/v2/{OrButton-f41bc4f9.js → components/OrButtonV2/OrButton.js} +18 -8
- package/dist/bundled/v2/components/OrButtonV2/index.js +2 -2
- package/dist/bundled/v2/{OrButton-451e39d6.js → components/OrButtonV3/OrButton.js} +9 -7
- package/dist/bundled/v2/components/OrButtonV3/index.js +2 -2
- package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +1 -1
- package/dist/bundled/v2/components/OrCardCollection/index.js +1 -1
- package/dist/bundled/v2/{OrCardCollection-05d12693.js → components/OrCardCollectionV3/OrCardCollection.js} +62 -19
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +18 -18
- package/dist/bundled/v2/{OrCard-01367884.js → components/OrCardV3/OrCard.js} +3 -4
- package/dist/bundled/v2/components/OrCardV3/index.js +1 -1
- package/dist/bundled/v2/components/OrCarousel/OrCarouselItem.vue.d.ts +2 -0
- package/dist/bundled/v2/components/OrCarousel/index.d.ts +1 -2
- package/dist/bundled/v2/{OrCheckbox-19375a2b.js → components/OrCheckboxV3/OrCheckbox.js} +10 -10
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +2 -2
- package/dist/bundled/v2/components/OrChips/OrChip.vue.d.ts +58 -0
- package/dist/bundled/v2/components/OrChips/index.d.ts +1 -2
- package/dist/bundled/v2/components/OrCode/OrCode.js +1 -1
- package/dist/bundled/v2/components/OrCode/index.js +1 -1
- package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +1 -1
- package/dist/bundled/v2/components/OrColorPicker/defultPalette.d.ts +2 -0
- package/dist/bundled/v2/components/OrColorPicker/index.js +1 -1
- package/dist/bundled/v2/components/OrColorPicker/{defultPalette.js → utils/defultPalette.js} +1 -1
- package/dist/bundled/v2/components/{OrCombinedInput → OrCombinedInputV3}/OrCombinedInput.js +7 -7
- package/dist/bundled/v2/components/OrCombinedInputV3/index.js +4 -4
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +7 -7
- package/dist/bundled/v2/components/OrConfirm/index.js +2 -2
- package/dist/bundled/v2/{OrConfirm-dd824d8a.js → components/OrConfirmV3/OrConfirm.js} +52 -13
- package/dist/bundled/v2/components/OrConfirmV3/index.js +15 -15
- package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePicker/index.js +1 -1
- package/dist/bundled/v2/components/{OrEmptyState → OrEmptyStateV3}/OrEmptyState.js +2 -2
- package/dist/bundled/v2/components/OrEmptyStateV3/index.js +1 -1
- package/dist/bundled/v2/components/{OrErrorTag → OrErrorTagV3}/OrErrorTag.js +3 -3
- package/dist/bundled/v2/components/OrErrorTagV3/index.js +2 -2
- package/dist/bundled/v2/{OrError-516a4334.js → components/OrErrorV3/OrError.js} +3 -4
- package/dist/bundled/v2/components/OrErrorV3/index.js +1 -1
- package/dist/bundled/v2/components/{OrExpansionPanel → OrExpansionPanelV3}/OrExpansionPanel.js +4 -4
- package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +2 -2
- package/dist/bundled/v2/components/{OrFab → OrFabV3}/OrFab.js +4 -4
- package/dist/bundled/v2/components/OrFabV3/index.js +2 -2
- package/dist/bundled/v2/{OrHint-a2dc1e08.js → components/OrHintV3/OrHint.js} +3 -4
- package/dist/bundled/v2/components/OrHintV3/index.js +1 -1
- package/dist/bundled/v2/components/OrIconButtonV2/index.js +1 -1
- package/dist/bundled/v2/{OrIconButton-3c5bac86.js → components/OrIconButtonV3/OrIconButton.js} +25 -10
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +7 -7
- package/dist/bundled/v2/{OrIcon-7582c4d1.js → components/OrIconV3/OrIcon.js} +4 -5
- package/dist/bundled/v2/components/OrIconV3/index.js +1 -1
- package/dist/bundled/v2/components/{OrInlineInputBox → OrInlineInputBoxV3}/OrInlineInputBox.js +2 -2
- package/dist/bundled/v2/components/OrInlineInputBoxV3/index.js +1 -1
- package/dist/bundled/v2/components/{OrInlineInput → OrInlineInputV3}/OrInlineInput.js +16 -16
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +11 -11
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +1 -1
- package/dist/bundled/v2/components/OrInlineTextEdit/index.js +1 -1
- package/dist/bundled/v2/components/{OrInlineTextarea → OrInlineTextareaV3}/OrInlineTextarea.js +15 -15
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +11 -11
- package/dist/bundled/v2/components/{OrInputBox → OrInputBoxV3}/OrInputBox.js +2 -2
- package/dist/bundled/v2/components/OrInputBoxV3/index.js +1 -1
- package/dist/bundled/v2/{OrInput-d2299d9b.js → components/OrInputV3/OrInput.js} +50 -25
- package/dist/bundled/v2/components/OrInputV3/index.js +13 -13
- package/dist/bundled/v2/{OrLabel-705461df.js → components/OrLabelV3/OrLabel.js} +4 -5
- package/dist/bundled/v2/components/OrLabelV3/index.js +1 -1
- package/dist/bundled/v2/components/{OrLink → OrLinkV3}/OrLink.js +2 -2
- package/dist/bundled/v2/components/OrLinkV3/index.js +1 -1
- package/dist/bundled/v2/components/OrList/OrList.js +9 -9
- package/dist/bundled/v2/components/OrList/index.js +2 -2
- package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +2 -2
- package/dist/bundled/v2/components/OrListOfInputs/index.js +2 -2
- package/dist/bundled/v2/{OrLoader-f011afff.js → components/OrLoaderV3/OrLoader.js} +4 -5
- package/dist/bundled/v2/components/OrLoaderV3/index.js +1 -1
- package/dist/bundled/v2/components/{OrMenuItem → OrMenuItemV3}/OrMenuItem.js +3 -3
- package/dist/bundled/v2/components/OrMenuItemV3/index.js +2 -2
- package/dist/bundled/v2/components/{OrMenu → OrMenuV3}/OrMenu.js +5 -5
- package/dist/bundled/v2/components/OrMenuV3/index.js +5 -5
- package/dist/bundled/v2/components/OrModal/OrModal.js +1 -1
- package/dist/bundled/v2/components/OrModal/index.js +1 -1
- package/dist/bundled/v2/{OrModal-e540b95b.js → components/OrModalV3/OrModal.js} +28 -9
- package/dist/bundled/v2/components/OrModalV3/index.js +8 -8
- package/dist/bundled/v2/components/OrNotification/OrNotification.js +1 -1
- package/dist/bundled/v2/components/OrNotification/index.js +1 -1
- package/dist/bundled/v2/{OrNotification-25c7e19c.js → components/OrNotificationV3/OrNotification.js} +28 -9
- package/dist/bundled/v2/components/OrNotificationV3/index.js +8 -8
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +6 -6
- package/dist/bundled/v2/components/OrOverflowMenu/index.js +2 -2
- package/dist/bundled/v2/{OrOverlay-831c4cf3.js → components/OrOverlayV3/OrOverlay.js} +8 -7
- package/dist/bundled/v2/components/OrOverlayV3/index.js +2 -2
- package/dist/bundled/v2/components/{OrPagination → OrPaginationV3}/OrPagination.js +14 -14
- package/dist/bundled/v2/components/OrPaginationV3/index.js +10 -10
- package/dist/bundled/v2/components/OrPassword/OrPassword.js +1 -1
- package/dist/bundled/v2/components/OrPassword/index.js +1 -1
- package/dist/bundled/v2/components/{OrPopover → OrPopoverV3}/OrPopover.js +6 -6
- package/dist/bundled/v2/components/OrPopoverV3/index.js +4 -4
- package/dist/bundled/v2/{OrProgress-66304d97.js → components/OrProgressV3/OrProgress.js} +5 -6
- package/dist/bundled/v2/components/OrProgressV3/index.js +1 -1
- package/dist/bundled/v2/{OrRadio-bd269b6c.js → components/OrRadioV3/OrRadio.js} +10 -10
- package/dist/bundled/v2/components/OrRadioV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSearch/OrSearch.js +1 -1
- package/dist/bundled/v2/components/OrSearch/index.js +1 -1
- package/dist/bundled/v2/{OrSearch-37f87411.js → components/OrSearchV3/OrSearch.js} +44 -6
- package/dist/bundled/v2/components/OrSearchV3/index.js +14 -14
- package/dist/bundled/v2/components/{OrSegmentedControl → OrSegmentedControlV3}/OrSegmentedControl.js +2 -2
- package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +1 -1
- package/dist/bundled/v2/{OrSelect-a3c1cb19.js → components/OrSelectV3/OrSelect.js} +69 -30
- package/dist/bundled/v2/components/OrSelectV3/index.js +18 -18
- package/dist/bundled/v2/{OrSidebar-b19f60bb.js → components/OrSidebarV3/OrSidebar.js} +28 -9
- package/dist/bundled/v2/components/OrSidebarV3/index.js +8 -8
- package/dist/bundled/v2/components/OrSkeleton/OrSkeletonCircle.vue.d.ts +43 -0
- package/dist/bundled/v2/components/OrSkeleton/OrSkeletonRect.vue.d.ts +56 -0
- package/dist/bundled/v2/components/OrSkeleton/OrSkeletonText.vue.d.ts +73 -0
- package/dist/bundled/v2/components/OrSkeleton/index.d.ts +2 -4
- package/dist/bundled/v2/{OrSkeletonCircle-8d795bd0.js → components/OrSkeletonCircleV3/OrSkeletonCircle.js} +4 -5
- package/dist/bundled/v2/components/OrSkeletonCircleV3/index.js +1 -1
- package/dist/bundled/v2/{OrSkeletonRect-b1254c5a.js → components/OrSkeletonRectV3/OrSkeletonRect.js} +4 -5
- package/dist/bundled/v2/components/OrSkeletonRectV3/index.js +1 -1
- package/dist/bundled/v2/{OrSkeletonText-f15c3702.js → components/OrSkeletonTextV3/OrSkeletonText.js} +4 -5
- package/dist/bundled/v2/components/OrSkeletonTextV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSkeletonV3/OrSkeletonCircle.vue.d.ts +51 -0
- package/dist/bundled/v2/components/OrSkeletonV3/OrSkeletonRect.vue.d.ts +60 -0
- package/dist/bundled/v2/components/OrSkeletonV3/OrSkeletonText.vue.d.ts +96 -0
- package/dist/bundled/v2/components/OrSkeletonV3/index.d.ts +1 -3
- package/dist/bundled/v2/components/OrSkeletonV3/index.js +3 -3
- package/dist/bundled/v2/components/{OrSortHeader → OrSortHeaderV3}/OrSortHeader.js +3 -3
- package/dist/bundled/v2/components/OrSortHeaderV3/index.js +2 -2
- package/dist/bundled/v2/components/OrStepper/OrStepper.js +2 -2
- package/dist/bundled/v2/components/OrStepper/index.js +1 -1
- package/dist/bundled/v2/{OrSwitch-1cabf182.js → components/OrSwitchV3/OrSwitch.js} +15 -12
- package/dist/bundled/v2/components/OrSwitchV3/index.js +3 -3
- package/dist/bundled/v2/{OrTab-831a923c.js → components/OrTabV3/OrTab.js} +3 -4
- package/dist/bundled/v2/components/OrTabV3/index.js +1 -1
- package/dist/bundled/v2/{OrTabs-3652b7c1.js → components/OrTabsV3/OrTabs.js} +28 -11
- package/dist/bundled/v2/components/OrTabsV3/index.js +9 -9
- package/dist/bundled/v2/{OrTag-2f788ca4.js → components/OrTagV3/OrTag.js} +27 -7
- package/dist/bundled/v2/components/OrTagV3/index.js +8 -8
- package/dist/bundled/v2/{OrTeleport.vue2-259d6f25.js → components/OrTeleportV3/OrTeleport.js} +2 -3
- package/dist/bundled/v2/components/OrTeleportV3/index.js +1 -1
- package/dist/bundled/v2/components/{OrText → OrTextV3}/OrText.js +1 -1
- package/dist/bundled/v2/components/OrTextV3/index.js +1 -1
- package/dist/bundled/v2/{OrTextarea-e10c98ce.js → components/OrTextareaV3/OrTextarea.js} +21 -17
- package/dist/bundled/v2/components/OrTextareaV3/index.js +5 -5
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +1 -1
- package/dist/bundled/v2/components/OrTextbox/index.js +1 -1
- package/dist/bundled/v2/components/OrToast/OrToast.js +1 -1
- package/dist/bundled/v2/components/OrToast/OrToastContainer.vue.d.ts +93 -0
- package/dist/bundled/v2/components/OrToast/composable/index.js +7 -0
- package/dist/bundled/{v3/components/OrToast → v2/components/OrToast/composable}/useToast.js +2 -2
- package/dist/bundled/v2/components/OrToast/index.d.ts +5 -5
- package/dist/bundled/v2/components/OrToast/index.js +29 -6
- package/dist/bundled/v2/components/OrToast/useQueue.d.ts +8 -0
- package/dist/bundled/v2/components/OrToast/useToast.d.ts +13 -0
- package/dist/bundled/v2/components/OrToast/useToastEventBus.d.ts +9 -0
- package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +3 -3
- package/dist/bundled/v2/components/OrToastContainer/index.js +4 -4
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +232 -0
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +14 -13
- package/dist/bundled/v2/{OrToastContainer-38cc76b5.js → components/OrToastV3/OrToast.js} +39 -219
- package/dist/bundled/v2/components/OrToastV3/OrToastContainer.vue.d.ts +85 -0
- package/dist/bundled/v2/components/OrToastV3/composable/index.js +7 -0
- package/dist/bundled/{v3/components/OrToastV3 → v2/components/OrToastV3/composable}/useToast.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/index.d.ts +4 -5
- package/dist/bundled/v2/components/OrToastV3/index.js +36 -6
- package/dist/bundled/v2/components/OrToastV3/props.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/useQueue.d.ts +8 -0
- package/dist/bundled/v2/components/OrToastV3/useToast.d.ts +13 -0
- package/dist/bundled/v2/components/OrToastV3/useToastEventBus.d.ts +9 -0
- package/dist/bundled/v2/components/OrTooltip/OrTooltipContent.vue.d.ts +38 -0
- package/dist/bundled/v2/components/OrTooltip/index.d.ts +1 -2
- package/dist/bundled/v2/{OrTooltip-6c689e3b.js → components/OrTooltipV3/OrTooltip.js} +16 -6
- package/dist/bundled/v2/components/OrTooltipV3/index.js +5 -5
- package/dist/bundled/v2/components/index.js +85 -84
- package/dist/bundled/v2/index.js +80 -79
- package/dist/bundled/v2/{props-fb3f60a5.js → props-7be029c7.js} +1 -1
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-32273c2f.js → OrAvatar.vue_vue_type_script_lang-78b30c30.js} +1 -1
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-80114a8a.js → OrBottomSheet.vue_vue_type_script_lang-398a517b.js} +2 -20
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-a58d3d78.js → OrButton.vue_vue_type_script_lang-a840ee7d.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-d81e9f9b.js → OrCardCollection.vue_vue_type_script_lang-3e87a19b.js} +19 -45
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-25c62a0c.js → OrCardCollection.vue_vue_type_script_lang-ac1c8efe.js} +2 -2
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-d5aa50c1.js → OrCheckbox.vue_vue_type_script_lang-de522e20.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-92cabe32.js → OrCode.vue_vue_type_script_lang-127ee0fe.js} +2 -2
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-4dd1e630.js → OrColorPicker.vue_vue_type_script_lang-3a799e23.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-a48d6224.js → OrConfirm.vue_vue_type_script_lang-0111d143.js} +6 -6
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-fc02d14d.js → OrConfirm.vue_vue_type_script_lang-128506dd.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-b9dade9d.js → OrDateTimePicker.vue_vue_type_script_lang-380587c6.js} +1 -1
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-02a46c6b.js → OrErrorTag.vue_vue_type_script_lang-54097585.js} +1 -1
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-749ff722.js → OrExpansionPanel.vue_vue_type_script_lang-5e94d368.js} +1 -1
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-96b4fd81.js → OrFab.vue_vue_type_script_lang-decad76e.js} +1 -1
- package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-7a36beed.js +57 -0
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-480bbbe1.js → OrInlineInput.vue_vue_type_script_lang-c5c851b6.js} +7 -6
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-c2eb855d.js → OrInlineTextEdit.vue_vue_type_script_lang-956e4ba2.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-84378895.js → OrInlineTextarea.vue_vue_type_script_lang-4f15b59f.js} +5 -4
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-da9e19d2.js → OrInput.vue_vue_type_script_lang-9f6f9afc.js} +11 -10
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-30a7b0e3.js → OrList.vue_vue_type_script_lang-040c4ce1.js} +2 -2
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-9b8f2b8a.js → OrListOfInputs.vue_vue_type_script_lang-4155853b.js} +2 -2
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-911ded05.js → OrMenu.vue_vue_type_script_lang-d7a5bf28.js} +2 -2
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-7f05cee1.js → OrMenuItem.vue_vue_type_script_lang-2c0c186d.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-005d198c.js → OrModal.vue_vue_type_script_lang-f9561803.js} +4 -4
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-a275bf57.js → OrModal.vue_vue_type_script_lang-fdbd986e.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-4e99b9f1.js → OrNotification.vue_vue_type_script_lang-58fd2766.js} +3 -3
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-2900b303.js → OrNotification.vue_vue_type_script_lang-994aa838.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-0b1d1150.js → OrOverflowMenu.vue_vue_type_script_lang-75e6a081.js} +2 -2
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-fea5839d.js → OrOverlay.vue_vue_type_script_lang-683dc1bb.js} +1 -11
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-f75db050.js → OrPagination.vue_vue_type_script_lang-97fa485d.js} +7 -7
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-46bca9cd.js → OrPassword.vue_vue_type_script_lang-f46acddb.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-2ba79d91.js → OrPopover.vue_vue_type_script_lang-49cc4886.js} +3 -3
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2953870d.js → OrRadio.vue_vue_type_script_lang-202f4e21.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-2eb1c79b.js → OrSearch.vue_vue_type_script_lang-8de954cf.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-b6f85857.js → OrSearch.vue_vue_type_script_lang-fbb85b2a.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-3decc59f.js → OrSelect.vue_vue_type_script_lang-a86b9abc.js} +32 -99
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-c342ffef.js → OrSidebar.vue_vue_type_script_lang-88cfa4ba.js} +2 -2
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-d70f3898.js → OrSortHeader.vue_vue_type_script_lang-851671ab.js} +1 -1
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-42f57de9.js → OrStepper.vue_vue_type_script_lang-88a01c20.js} +1 -1
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-ac699016.js → OrSwitch.vue_vue_type_script_lang-7acd91e9.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-c3739ede.js → OrTabs.vue_vue_type_script_lang-5e20b0b5.js} +12 -28
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-37474827.js → OrTag.vue_vue_type_script_lang-cd555f11.js} +2 -2
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-cda6f95e.js → OrTextarea.vue_vue_type_script_lang-1b3f2396.js} +4 -3
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-20e6c904.js → OrTextbox.vue_vue_type_script_lang-686e0310.js} +1 -1
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-39906821.js → OrToastContainer.vue_vue_type_script_lang-51a3ba56.js} +2 -2
- package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-59d729a6.js +147 -0
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-a27e7f1f.js → OrTooltip.vue_vue_type_script_lang-196b0605.js} +2 -2
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +35 -0
- package/dist/bundled/v3/components/OrAvatarV3/index.js +2 -2
- package/dist/bundled/v3/components/{OrBottomSheet → OrBottomSheetV3}/OrBottomSheet.js +6 -4
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +4 -2
- package/dist/bundled/v3/{OrButton-bf88c2a5.js → components/OrButtonV2/OrButton.js} +22 -2
- package/dist/bundled/v3/{OrButton-cc469bd8.js → components/OrButtonV3/OrButton.js} +10 -1
- package/dist/bundled/v3/components/OrButtonV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +4 -4
- package/dist/bundled/v3/components/OrCardCollection/index.js +3 -3
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +162 -0
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +28 -23
- package/dist/bundled/v3/components/OrCardV3/OrCard.js +15 -0
- package/dist/bundled/v3/components/OrCarousel/OrCarouselItem.vue.d.ts +2 -0
- package/dist/bundled/v3/components/OrCarousel/index.d.ts +1 -2
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +51 -0
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -2
- package/dist/bundled/v3/components/OrChips/OrChip.vue.d.ts +58 -0
- package/dist/bundled/v3/components/OrChips/index.d.ts +1 -2
- package/dist/bundled/v3/components/OrCode/OrCode.js +4 -4
- package/dist/bundled/v3/components/OrCode/index.js +3 -3
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +3 -3
- package/dist/bundled/v3/components/OrColorPicker/defultPalette.d.ts +2 -0
- package/dist/bundled/v3/components/OrColorPicker/index.js +2 -2
- package/dist/bundled/v3/components/OrColorPicker/{defultPalette.js → utils/defultPalette.js} +1 -1
- package/dist/bundled/v3/components/{OrCombinedInput → OrCombinedInputV3}/OrCombinedInput.js +7 -6
- package/dist/bundled/v3/components/OrCombinedInputV3/index.js +4 -3
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +5 -5
- package/dist/bundled/v3/components/OrConfirm/index.js +4 -4
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +129 -0
- package/dist/bundled/v3/components/OrConfirmV3/index.js +23 -19
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +3 -3
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +2 -2
- package/dist/bundled/v3/components/{OrEmptyState → OrEmptyStateV3}/OrEmptyState.js +2 -2
- package/dist/bundled/v3/components/{OrErrorTag → OrErrorTagV3}/OrErrorTag.js +4 -4
- package/dist/bundled/v3/components/OrErrorTagV3/index.js +2 -2
- package/dist/bundled/v3/components/OrErrorV3/OrError.js +21 -0
- package/dist/bundled/v3/components/{OrExpansionPanel → OrExpansionPanelV3}/OrExpansionPanel.js +5 -5
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +2 -2
- package/dist/bundled/v3/components/{OrFab → OrFabV3}/OrFab.js +5 -5
- package/dist/bundled/v3/components/OrFabV3/index.js +2 -2
- package/dist/bundled/v3/components/OrHintV3/OrHint.js +21 -0
- package/dist/bundled/v3/{OrIconButton-0d8e85d9.js → components/OrIconButtonV3/OrIconButton.js} +29 -1
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +11 -8
- package/dist/bundled/v3/{OrIcon-671794cb.js → components/OrIconV3/OrIcon.js} +5 -1
- package/dist/bundled/v3/components/{OrInlineInputBox → OrInlineInputBoxV3}/OrInlineInputBox.js +2 -2
- package/dist/bundled/v3/components/{OrInlineInput → OrInlineInputV3}/OrInlineInput.js +19 -15
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +16 -12
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +3 -3
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +2 -2
- package/dist/bundled/v3/components/{OrInlineTextarea → OrInlineTextareaV3}/OrInlineTextarea.js +18 -14
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +16 -12
- package/dist/bundled/v3/components/{OrInputBox → OrInputBoxV3}/OrInputBox.js +2 -2
- package/dist/bundled/v3/{OrInput-ab04adbb.js → components/OrInputV3/OrInput.js} +55 -2
- package/dist/bundled/v3/components/OrInputV3/index.js +18 -14
- package/dist/bundled/v3/{OrLabel-47f15fc0.js → components/OrLabelV3/OrLabel.js} +5 -1
- package/dist/bundled/v3/components/{OrLink → OrLinkV3}/OrLink.js +2 -2
- package/dist/bundled/v3/components/OrList/OrList.js +4 -4
- package/dist/bundled/v3/components/OrList/index.js +3 -3
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +5 -5
- package/dist/bundled/v3/components/OrListOfInputs/index.js +4 -4
- package/dist/bundled/v3/{OrLoader-1c02d64d.js → components/OrLoaderV3/OrLoader.js} +6 -1
- package/dist/bundled/v3/components/{OrMenuItem → OrMenuItemV3}/OrMenuItem.js +4 -4
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +2 -2
- package/dist/bundled/v3/components/{OrMenu → OrMenuV3}/OrMenu.js +10 -8
- package/dist/bundled/v3/components/OrMenuV3/index.js +8 -6
- package/dist/bundled/v3/components/OrModal/OrModal.js +3 -3
- package/dist/bundled/v3/components/OrModal/index.js +2 -2
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +66 -0
- package/dist/bundled/v3/components/OrModalV3/index.js +14 -11
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +3 -3
- package/dist/bundled/v3/components/OrNotification/index.js +2 -2
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +59 -0
- package/dist/bundled/v3/components/OrNotificationV3/index.js +13 -10
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +4 -4
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +3 -3
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +28 -0
- package/dist/bundled/v3/components/OrOverlayV3/index.js +2 -1
- package/dist/bundled/v3/components/{OrPagination → OrPaginationV3}/OrPagination.js +18 -16
- package/dist/bundled/v3/components/OrPaginationV3/index.js +16 -14
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +3 -3
- package/dist/bundled/v3/components/OrPassword/index.js +2 -2
- package/dist/bundled/v3/components/{OrPopover → OrPopoverV3}/OrPopover.js +9 -7
- package/dist/bundled/v3/components/OrPopoverV3/index.js +6 -4
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +84 -0
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +50 -0
- package/dist/bundled/v3/components/OrRadioV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +3 -3
- package/dist/bundled/v3/components/OrSearch/index.js +2 -2
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +85 -0
- package/dist/bundled/v3/components/OrSearchV3/index.js +20 -16
- package/dist/bundled/v3/components/{OrSegmentedControl → OrSegmentedControlV3}/OrSegmentedControl.js +2 -2
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +294 -0
- package/dist/bundled/v3/components/OrSelectV3/index.js +30 -24
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +75 -0
- package/dist/bundled/v3/components/OrSidebarV3/index.js +13 -10
- package/dist/bundled/v3/components/OrSkeleton/OrSkeletonCircle.vue.d.ts +43 -0
- package/dist/bundled/v3/components/OrSkeleton/OrSkeletonRect.vue.d.ts +56 -0
- package/dist/bundled/v3/components/OrSkeleton/OrSkeletonText.vue.d.ts +73 -0
- package/dist/bundled/v3/components/OrSkeleton/index.d.ts +2 -4
- package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.js +18 -0
- package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.js +18 -0
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.js +24 -0
- package/dist/bundled/v3/components/OrSkeletonV3/OrSkeletonCircle.vue.d.ts +51 -0
- package/dist/bundled/v3/components/OrSkeletonV3/OrSkeletonRect.vue.d.ts +60 -0
- package/dist/bundled/v3/components/OrSkeletonV3/OrSkeletonText.vue.d.ts +96 -0
- package/dist/bundled/v3/components/OrSkeletonV3/index.d.ts +1 -3
- package/dist/bundled/v3/components/{OrSortHeader → OrSortHeaderV3}/OrSortHeader.js +4 -4
- package/dist/bundled/v3/components/OrSortHeaderV3/index.js +2 -2
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +3 -3
- package/dist/bundled/v3/components/OrStepper/index.js +2 -2
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +66 -0
- package/dist/bundled/v3/components/OrSwitchV3/index.js +3 -3
- package/dist/bundled/v3/components/OrTabV3/OrTab.js +21 -0
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +91 -0
- package/dist/bundled/v3/components/OrTabsV3/index.js +14 -11
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +63 -0
- package/dist/bundled/v3/components/OrTagV3/index.js +13 -10
- package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.js +14 -0
- package/dist/bundled/v3/components/{OrText → OrTextV3}/OrText.js +1 -1
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +103 -0
- package/dist/bundled/v3/components/OrTextareaV3/index.js +5 -4
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +3 -3
- package/dist/bundled/v3/components/OrTextbox/index.js +2 -2
- package/dist/bundled/v3/components/OrToast/OrToast.js +1 -1
- package/dist/bundled/v3/components/OrToast/OrToastContainer.vue.d.ts +93 -0
- package/dist/bundled/v3/components/OrToast/composable/index.js +7 -0
- package/dist/bundled/{v2/components/OrToast → v3/components/OrToast/composable}/useToast.js +2 -2
- package/dist/bundled/v3/components/OrToast/index.d.ts +2 -5
- package/dist/bundled/v3/components/OrToast/index.js +35 -6
- package/dist/bundled/v3/components/OrToast/useQueue.d.ts +8 -0
- package/dist/bundled/v3/components/OrToast/useToast.d.ts +13 -0
- package/dist/bundled/v3/components/OrToast/useToastEventBus.d.ts +9 -0
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +5 -5
- package/dist/bundled/v3/components/OrToastContainer/index.js +5 -5
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +79 -0
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +19 -15
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-4da13abb.js → components/OrToastV3/OrToast.js} +43 -156
- package/dist/bundled/v3/components/OrToastV3/OrToastContainer.vue.d.ts +85 -0
- package/dist/bundled/v3/components/OrToastV3/composable/index.js +7 -0
- package/dist/bundled/{v2/components/OrToastV3 → v3/components/OrToastV3/composable}/useToast.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/index.d.ts +2 -5
- package/dist/bundled/v3/components/OrToastV3/index.js +43 -6
- package/dist/bundled/v3/components/OrToastV3/props.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/useQueue.d.ts +8 -0
- package/dist/bundled/v3/components/OrToastV3/useToast.d.ts +13 -0
- package/dist/bundled/v3/components/OrToastV3/useToastEventBus.d.ts +9 -0
- package/dist/bundled/v3/components/OrTooltip/OrTooltipContent.vue.d.ts +38 -0
- package/dist/bundled/v3/components/OrTooltip/index.d.ts +1 -2
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +48 -0
- package/dist/bundled/v3/components/OrTooltipV3/index.js +8 -6
- package/dist/bundled/v3/components/index.js +99 -90
- package/dist/bundled/v3/index.js +115 -979
- package/dist/bundled/v3/{props-fb3f60a5.js → props-7be029c7.js} +1 -1
- package/package.json +2 -2
- package/dist/bundled/v3/OrHint-12428e42.js +0 -35
- package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-5e089ff3.js +0 -83
- /package/dist/bundled/v2/components/{OrIconButton → OrIconButtonV2}/OrIconButton.js +0 -0
- /package/dist/bundled/v2/components/OrToast/{useQueue.js → composable/useQueue.js} +0 -0
- /package/dist/bundled/v2/components/OrToast/{useToastEventBus.js → composable/useToastEventBus.js} +0 -0
- /package/dist/bundled/v2/components/OrToastV3/{useQueue.js → composable/useQueue.js} +0 -0
- /package/dist/bundled/v2/components/OrToastV3/{useToastEventBus.js → composable/useToastEventBus.js} +0 -0
- /package/dist/bundled/v3/components/{OrIconButton → OrIconButtonV2}/OrIconButton.js +0 -0
- /package/dist/bundled/v3/components/OrToast/{useQueue.js → composable/useQueue.js} +0 -0
- /package/dist/bundled/v3/components/OrToast/{useToastEventBus.js → composable/useToastEventBus.js} +0 -0
- /package/dist/bundled/v3/components/OrToastV3/{useQueue.js → composable/useQueue.js} +0 -0
- /package/dist/bundled/v3/components/OrToastV3/{useToastEventBus.js → composable/useToastEventBus.js} +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { Position, ToastBehaviour, ToastConfiguration } from '../types';
|
|
3
|
+
import { PositionsX, PositionsY, TransitionType } from '../constants';
|
|
4
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
5
|
+
on: (namedQueue: import("../composable/useToastEventBus").ToastEventsBusEvents, listener: import("@vueuse/core").EventBusListener<ToastConfiguration, any>) => void;
|
|
6
|
+
off: (namedQueue: import("../composable/useToastEventBus").ToastEventsBusEvents, listener: import("@vueuse/core").EventBusListener<ToastConfiguration, any>) => void;
|
|
7
|
+
isActive: import("@vue/composition-api").Ref<boolean>;
|
|
8
|
+
toggle: (value?: boolean | undefined) => boolean;
|
|
9
|
+
queue: import("@vue/composition-api").Ref<import("@vue/composition-api").Ref<ToastConfiguration>[]>;
|
|
10
|
+
addItem: (item: ToastConfiguration) => void;
|
|
11
|
+
removeItem: (condition: (i: ToastConfiguration, index: number, queue: import("@vue/composition-api").Ref<ToastConfiguration>[]) => boolean) => void;
|
|
12
|
+
clearAll: () => void;
|
|
13
|
+
getItem: (condition: (i: ToastConfiguration, index: number, queue: import("@vue/composition-api").Ref<ToastConfiguration>[]) => boolean) => import("@vue/composition-api").Ref<ToastConfiguration>;
|
|
14
|
+
}> & import("@vue/composition-api").Data, {
|
|
15
|
+
createToast(toastConfiguration: ToastConfiguration): void;
|
|
16
|
+
toastUpdate(toast: ToastConfiguration): void;
|
|
17
|
+
toastRemove(toast: ToastConfiguration): void;
|
|
18
|
+
onToastEnter(toast: ToastConfiguration): void;
|
|
19
|
+
onToastLeave(toast: ToastConfiguration): void;
|
|
20
|
+
onClick(toastBehaviour: ToastBehaviour): void;
|
|
21
|
+
onToastHidden(): void;
|
|
22
|
+
}, {
|
|
23
|
+
getQueue(): ToastConfiguration[];
|
|
24
|
+
classes(): (Record<string, boolean> | string)[];
|
|
25
|
+
transitionName(): string;
|
|
26
|
+
}, {
|
|
27
|
+
includeHeaderHeight: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
position: {
|
|
32
|
+
type: PropType<Position>;
|
|
33
|
+
default: () => {
|
|
34
|
+
positionX: PositionsX;
|
|
35
|
+
positionY: PositionsY;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
transition: {
|
|
39
|
+
type: PropType<TransitionType>;
|
|
40
|
+
default: TransitionType;
|
|
41
|
+
};
|
|
42
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
43
|
+
includeHeaderHeight: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
position: {
|
|
48
|
+
type: PropType<Position>;
|
|
49
|
+
default: () => {
|
|
50
|
+
positionX: PositionsX;
|
|
51
|
+
positionY: PositionsY;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
transition: {
|
|
55
|
+
type: PropType<TransitionType>;
|
|
56
|
+
default: TransitionType;
|
|
57
|
+
};
|
|
58
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
59
|
+
includeHeaderHeight: boolean;
|
|
60
|
+
position: Position;
|
|
61
|
+
transition: TransitionType;
|
|
62
|
+
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
63
|
+
on: (namedQueue: import("../composable/useToastEventBus").ToastEventsBusEvents, listener: import("@vueuse/core").EventBusListener<ToastConfiguration, any>) => void;
|
|
64
|
+
off: (namedQueue: import("../composable/useToastEventBus").ToastEventsBusEvents, listener: import("@vueuse/core").EventBusListener<ToastConfiguration, any>) => void;
|
|
65
|
+
isActive: import("@vue/composition-api").Ref<boolean>;
|
|
66
|
+
toggle: (value?: boolean | undefined) => boolean;
|
|
67
|
+
queue: import("@vue/composition-api").Ref<import("@vue/composition-api").Ref<ToastConfiguration>[]>;
|
|
68
|
+
addItem: (item: ToastConfiguration) => void;
|
|
69
|
+
removeItem: (condition: (i: ToastConfiguration, index: number, queue: import("@vue/composition-api").Ref<ToastConfiguration>[]) => boolean) => void;
|
|
70
|
+
clearAll: () => void;
|
|
71
|
+
getItem: (condition: (i: ToastConfiguration, index: number, queue: import("@vue/composition-api").Ref<ToastConfiguration>[]) => boolean) => import("@vue/composition-api").Ref<ToastConfiguration>;
|
|
72
|
+
}>, import("@vue/composition-api").Data, {
|
|
73
|
+
getQueue(): ToastConfiguration[];
|
|
74
|
+
classes(): (Record<string, boolean> | string)[];
|
|
75
|
+
transitionName(): string;
|
|
76
|
+
}, {
|
|
77
|
+
createToast(toastConfiguration: ToastConfiguration): void;
|
|
78
|
+
toastUpdate(toast: ToastConfiguration): void;
|
|
79
|
+
toastRemove(toast: ToastConfiguration): void;
|
|
80
|
+
onToastEnter(toast: ToastConfiguration): void;
|
|
81
|
+
onToastLeave(toast: ToastConfiguration): void;
|
|
82
|
+
onClick(toastBehaviour: ToastBehaviour): void;
|
|
83
|
+
onToastHidden(): void;
|
|
84
|
+
}, {}, {}, {}, {
|
|
85
|
+
includeHeaderHeight: boolean;
|
|
86
|
+
position: Position;
|
|
87
|
+
transition: TransitionType;
|
|
88
|
+
} & {}, {
|
|
89
|
+
includeHeaderHeight: boolean;
|
|
90
|
+
position: Position;
|
|
91
|
+
transition: TransitionType;
|
|
92
|
+
}, true>);
|
|
93
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Timer from '
|
|
1
|
+
import Timer from '../Timer.js';
|
|
2
2
|
import useToastEventBus from './useToastEventBus.js';
|
|
3
|
-
import { ToastType } from '
|
|
3
|
+
import { ToastType } from '../constants.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
|
|
6
6
|
function useToast(globalToastProps = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as
|
|
3
|
-
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
1
|
+
export { default as useToast } from './useToast';
|
|
2
|
+
export { default as useQueue } from './useQueue';
|
|
3
|
+
|
|
4
|
+
export * from '../types';
|
|
5
|
+
export * from '../constants';
|
|
@@ -1,7 +1,30 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import './constants.js';
|
|
1
|
+
export { default as OrToast } from './OrToast.js';
|
|
2
|
+
export { default as OrToastContainer } from '../OrToastContainer/OrToastContainer.js';
|
|
3
|
+
export { PositionsX, PositionsY, ToastType, TransitionType } from './constants.js';
|
|
4
|
+
export { default as useToast } from './composable/useToast.js';
|
|
5
|
+
export { default as useQueue } from './composable/useQueue.js';
|
|
7
6
|
import 'vue-demi';
|
|
7
|
+
import '../OrProgress/OrProgress.js';
|
|
8
|
+
import 'lodash';
|
|
9
|
+
import '../OrProgress/constants.js';
|
|
10
|
+
import '../../style-inject.es-4c6f2515.js';
|
|
11
|
+
import '../../normalize-component-6e8e3d80.js';
|
|
12
|
+
import '../OrIconButtonV2/OrIconButton.js';
|
|
13
|
+
import '../OrTooltip/OrTooltip.js';
|
|
14
|
+
import '../OrTooltipContent/OrTooltipContent.js';
|
|
15
|
+
import '../OrFloating/OrFloating.js';
|
|
16
|
+
import '../../floating-ui.dom.esm-83eba816.js';
|
|
17
|
+
import '../OrTeleport/OrTeleport.js';
|
|
18
|
+
import 'portal-vue/dist/portal-vue.esm.js';
|
|
19
|
+
import '../OrTeleport/constants.js';
|
|
20
|
+
import '../OrFloating/constants.js';
|
|
21
|
+
import '../../utils/functions/dom.js';
|
|
22
|
+
import '../OrButtonV2/constants.js';
|
|
23
|
+
import '../OrIcon/OrIcon.js';
|
|
24
|
+
import '../OrIcon/constants.js';
|
|
25
|
+
import '../../utils/functions/px-to-rem.js';
|
|
26
|
+
import '../OrLoader/OrLoader.js';
|
|
27
|
+
import '../OrLoader/constants.js';
|
|
28
|
+
import '@vueuse/core';
|
|
29
|
+
import './composable/useToastEventBus.js';
|
|
30
|
+
import './Timer.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ref } from 'vue-demi';
|
|
2
|
+
export default function useQueue<T>(initialValue?: Array<T>): {
|
|
3
|
+
queue: Ref<Ref<T>[]>;
|
|
4
|
+
addItem: (item: T) => void;
|
|
5
|
+
removeItem: (condition: (i: T, index: number, queue: Ref<T>[]) => boolean) => void;
|
|
6
|
+
clearAll: () => void;
|
|
7
|
+
getItem: (condition: (i: T, index: number, queue: Ref<T>[]) => boolean) => Ref<T>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ToastBehaviour, ToastProps } from '../types';
|
|
2
|
+
interface UseToastNotifyReturns {
|
|
3
|
+
close: () => void;
|
|
4
|
+
update: (data: ToastProps) => void;
|
|
5
|
+
}
|
|
6
|
+
export default function useToast(globalToastProps?: ToastProps): {
|
|
7
|
+
notify: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
|
|
8
|
+
clearAll: () => void;
|
|
9
|
+
success: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
|
|
10
|
+
error: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
|
|
11
|
+
loading: (props: ToastProps, behaviour?: ToastBehaviour) => UseToastNotifyReturns;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventBusListener } from '@vueuse/core';
|
|
2
|
+
import { ToastConfiguration } from '../types';
|
|
3
|
+
export type ToastEventsBusEvents = 'toastNotify' | 'toastClose' | 'toastCloseAll' | 'toastUpdate';
|
|
4
|
+
declare const _default: () => {
|
|
5
|
+
on: (namedQueue: ToastEventsBusEvents, listener: EventBusListener<ToastConfiguration, any>) => void;
|
|
6
|
+
off: (namedQueue: ToastEventsBusEvents, listener: EventBusListener<ToastConfiguration, any>) => void;
|
|
7
|
+
emit: (namedQueue: ToastEventsBusEvents, data?: ToastConfiguration | undefined) => void;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -2,15 +2,15 @@ import __vue_component__$1 from '../OrToast/OrToast.js';
|
|
|
2
2
|
import __vue_component__$2 from '../OrTeleport/OrTeleport.js';
|
|
3
3
|
import { defineComponent, nextTick } from 'vue-demi';
|
|
4
4
|
import { useToggle } from '@vueuse/core';
|
|
5
|
-
import useQueue from '../OrToast/useQueue.js';
|
|
6
|
-
import useToastEventBus from '../OrToast/useToastEventBus.js';
|
|
5
|
+
import useQueue from '../OrToast/composable/useQueue.js';
|
|
6
|
+
import useToastEventBus from '../OrToast/composable/useToastEventBus.js';
|
|
7
7
|
import { PositionsX, PositionsY, TransitionType } from '../OrToast/constants.js';
|
|
8
8
|
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
9
9
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
10
10
|
import '../OrProgress/OrProgress.js';
|
|
11
11
|
import 'lodash';
|
|
12
12
|
import '../OrProgress/constants.js';
|
|
13
|
-
import '../
|
|
13
|
+
import '../OrIconButtonV2/OrIconButton.js';
|
|
14
14
|
import '../OrTooltip/OrTooltip.js';
|
|
15
15
|
import '../OrTooltipContent/OrTooltipContent.js';
|
|
16
16
|
import '../OrFloating/OrFloating.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as OrToastContainer } from './OrToastContainer.js';
|
|
2
2
|
export { PositionsX, PositionsY, ToastType, TransitionType } from '../OrToast/constants.js';
|
|
3
|
-
export { default as useToast } from '../OrToast/useToast.js';
|
|
4
|
-
export { default as useQueue } from '../OrToast/useQueue.js';
|
|
3
|
+
export { default as useToast } from '../OrToast/composable/useToast.js';
|
|
4
|
+
export { default as useQueue } from '../OrToast/composable/useQueue.js';
|
|
5
5
|
import '../OrToast/OrToast.js';
|
|
6
6
|
import 'vue-demi';
|
|
7
7
|
import '../OrProgress/OrProgress.js';
|
|
@@ -9,7 +9,7 @@ import 'lodash';
|
|
|
9
9
|
import '../OrProgress/constants.js';
|
|
10
10
|
import '../../style-inject.es-4c6f2515.js';
|
|
11
11
|
import '../../normalize-component-6e8e3d80.js';
|
|
12
|
-
import '../
|
|
12
|
+
import '../OrIconButtonV2/OrIconButton.js';
|
|
13
13
|
import '../OrTooltip/OrTooltip.js';
|
|
14
14
|
import '../OrTooltipContent/OrTooltipContent.js';
|
|
15
15
|
import '../OrFloating/OrFloating.js';
|
|
@@ -26,5 +26,5 @@ import '../../utils/functions/px-to-rem.js';
|
|
|
26
26
|
import '../OrLoader/OrLoader.js';
|
|
27
27
|
import '../OrLoader/constants.js';
|
|
28
28
|
import '@vueuse/core';
|
|
29
|
-
import '../OrToast/useToastEventBus.js';
|
|
29
|
+
import '../OrToast/composable/useToastEventBus.js';
|
|
30
30
|
import '../OrToast/Timer.js';
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { useToggle } from '@vueuse/core';
|
|
2
|
+
import { defineComponent, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
|
|
3
|
+
import useQueue from '../OrToastV3/composable/useQueue.js';
|
|
4
|
+
import useToastEventBus from '../OrToastV3/composable/useToastEventBus.js';
|
|
5
|
+
import __vue_component__$2 from '../OrToastV3/OrToast.js';
|
|
6
|
+
import { P as PositionsX, a as PositionsY, T as TransitionType } from '../../props-7be029c7.js';
|
|
7
|
+
import { ToastContainer, ToastContainerPositions } from '../OrToastV3/styles.js';
|
|
8
|
+
import __vue_component__$1 from '../OrTeleportV3/OrTeleport.js';
|
|
9
|
+
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
10
|
+
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
11
|
+
import '../OrIconButtonV3/OrIconButton.js';
|
|
12
|
+
import '../OrIconButtonV3/props.js';
|
|
13
|
+
import '../OrIconV3/props.js';
|
|
14
|
+
import '../OrIconButtonV3/styles.js';
|
|
15
|
+
import '../OrIconV3/OrIcon.js';
|
|
16
|
+
import '../OrIconV3/styles.js';
|
|
17
|
+
import '../OrTooltipV3/OrTooltip.js';
|
|
18
|
+
import '../OrTooltipV3/styles.js';
|
|
19
|
+
import '../OrPopoverV3/OrPopover.js';
|
|
20
|
+
import '../../floating-ui.dom.esm-83eba816.js';
|
|
21
|
+
import '../OrPopoverV3/props.js';
|
|
22
|
+
import '../OrPopoverV3/styles.js';
|
|
23
|
+
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
24
|
+
import '../OrBottomSheetV3/styles.js';
|
|
25
|
+
import '../OrOverlayV3/OrOverlay.js';
|
|
26
|
+
import '../OrOverlayV3/styles.js';
|
|
27
|
+
import '../../hooks/useElevation.js';
|
|
28
|
+
import '../../utils/isVisible.js';
|
|
29
|
+
import '../../hooks/useResponsive/useResponsive.js';
|
|
30
|
+
import '../OrLoaderV3/OrLoader.js';
|
|
31
|
+
import '../OrLoaderV3/props.js';
|
|
32
|
+
import '../OrLoaderV3/styles.js';
|
|
33
|
+
import 'portal-vue';
|
|
34
|
+
|
|
35
|
+
var script = defineComponent({
|
|
36
|
+
name: 'OrToastContainer',
|
|
37
|
+
components: {
|
|
38
|
+
OrTeleport: __vue_component__$1,
|
|
39
|
+
OrToast: __vue_component__$2
|
|
40
|
+
},
|
|
41
|
+
props: {
|
|
42
|
+
includeHeaderHeight: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: true
|
|
45
|
+
},
|
|
46
|
+
position: {
|
|
47
|
+
type: Object,
|
|
48
|
+
default: {
|
|
49
|
+
positionX: PositionsX.Right,
|
|
50
|
+
positionY: PositionsY.Bottom
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
transition: {
|
|
54
|
+
type: String,
|
|
55
|
+
default: TransitionType.Slide
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
setup(props) {
|
|
59
|
+
const {
|
|
60
|
+
on,
|
|
61
|
+
off
|
|
62
|
+
} = useToastEventBus();
|
|
63
|
+
const {
|
|
64
|
+
queue: queueRef,
|
|
65
|
+
addItem,
|
|
66
|
+
removeItem,
|
|
67
|
+
clearAll,
|
|
68
|
+
getItem
|
|
69
|
+
} = useQueue();
|
|
70
|
+
const [isActive, toggle] = useToggle(false);
|
|
71
|
+
const classes = computed(() => {
|
|
72
|
+
var _a;
|
|
73
|
+
return ['or-toast-container', ...ToastContainer, ...ToastContainerPositions[`${props.position.positionX}-${props.position.positionY}`], {
|
|
74
|
+
'position--top--with-header': ((_a = props.position) === null || _a === void 0 ? void 0 : _a.positionY) === PositionsY.Top && props.includeHeaderHeight
|
|
75
|
+
}];
|
|
76
|
+
});
|
|
77
|
+
const transitionName = computed(() => {
|
|
78
|
+
var _a;
|
|
79
|
+
return `or-toast--position-${(_a = props.position) === null || _a === void 0 ? void 0 : _a.positionX} or-toast--transition-${props.transition}`;
|
|
80
|
+
});
|
|
81
|
+
// State
|
|
82
|
+
const queue = computed(() => {
|
|
83
|
+
return queueRef.value.map(({
|
|
84
|
+
value
|
|
85
|
+
}) => value);
|
|
86
|
+
});
|
|
87
|
+
// Methods
|
|
88
|
+
function createToast(toastConfiguration) {
|
|
89
|
+
const caller = () => {
|
|
90
|
+
var _a;
|
|
91
|
+
addItem(toastConfiguration);
|
|
92
|
+
(_a = toastConfiguration.timer) === null || _a === void 0 ? void 0 : _a.start(toastRemove.bind(null, toastConfiguration), toastConfiguration.toastBehaviour.duration);
|
|
93
|
+
};
|
|
94
|
+
if (!isActive.value) {
|
|
95
|
+
// before create toast we need change isActive props, to render or-teleport,
|
|
96
|
+
// in other case first item will not be animated
|
|
97
|
+
toggle(true);
|
|
98
|
+
nextTick(caller);
|
|
99
|
+
} else {
|
|
100
|
+
caller();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function toastUpdate(toast) {
|
|
104
|
+
const toastItem = getItem(item => {
|
|
105
|
+
return item.hash === toast.hash;
|
|
106
|
+
});
|
|
107
|
+
if (toastItem) toastItem.value = toast;
|
|
108
|
+
}
|
|
109
|
+
function toastRemove(toast) {
|
|
110
|
+
removeItem(item => {
|
|
111
|
+
var _a, _b, _c;
|
|
112
|
+
if (item.hash === toast.hash) {
|
|
113
|
+
(_b = (_a = item.toastBehaviour) === null || _a === void 0 ? void 0 : _a.onToastClose) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
114
|
+
(_c = item.timer) === null || _c === void 0 ? void 0 : _c.stop();
|
|
115
|
+
return true;
|
|
116
|
+
}
|
|
117
|
+
return false;
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
function onToastEnter(toast) {
|
|
121
|
+
var _a;
|
|
122
|
+
if (toast.toastBehaviour.pauseOnHover) (_a = toast.timer) === null || _a === void 0 ? void 0 : _a.pause();
|
|
123
|
+
}
|
|
124
|
+
function onToastLeave(toast) {
|
|
125
|
+
var _a;
|
|
126
|
+
if (toast.toastBehaviour.pauseOnHover) (_a = toast.timer) === null || _a === void 0 ? void 0 : _a.resume();
|
|
127
|
+
}
|
|
128
|
+
function onClick(toastBehaviour) {
|
|
129
|
+
var _a;
|
|
130
|
+
(_a = toastBehaviour.onToastClick) === null || _a === void 0 ? void 0 : _a.call(toastBehaviour);
|
|
131
|
+
}
|
|
132
|
+
function onToastHidden() {
|
|
133
|
+
toggle(queue.value.length > 0);
|
|
134
|
+
}
|
|
135
|
+
// Effects
|
|
136
|
+
onBeforeMount(() => {
|
|
137
|
+
on('toastNotify', createToast);
|
|
138
|
+
on('toastClose', toastRemove);
|
|
139
|
+
on('toastUpdate', toastUpdate);
|
|
140
|
+
on('toastCloseAll', clearAll);
|
|
141
|
+
});
|
|
142
|
+
onBeforeUnmount(() => {
|
|
143
|
+
off('toastNotify', createToast);
|
|
144
|
+
off('toastClose', toastRemove);
|
|
145
|
+
off('toastUpdate', toastUpdate);
|
|
146
|
+
off('toastCloseAll', clearAll);
|
|
147
|
+
});
|
|
148
|
+
return {
|
|
149
|
+
on,
|
|
150
|
+
off,
|
|
151
|
+
classes,
|
|
152
|
+
transitionName,
|
|
153
|
+
isActive,
|
|
154
|
+
toggle,
|
|
155
|
+
addItem,
|
|
156
|
+
removeItem,
|
|
157
|
+
clearAll,
|
|
158
|
+
getItem,
|
|
159
|
+
queue,
|
|
160
|
+
createToast,
|
|
161
|
+
toastUpdate,
|
|
162
|
+
toastRemove,
|
|
163
|
+
onToastEnter,
|
|
164
|
+
onToastLeave,
|
|
165
|
+
onClick,
|
|
166
|
+
onToastHidden
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
var css_248z = ".or-toast-container[data-v-521acbe2]{z-index:26}.or-toast--transition-slide-enter-active[data-v-521acbe2],.or-toast--transition-slide-leave-active[data-v-521acbe2]{transition:transform .4s ease}.or-toast--transition-slide-enter-from.or-toast--position-right[data-v-521acbe2],.or-toast--transition-slide-leave-to.or-toast--position-right[data-v-521acbe2]{transform:translateX(999px)}.or-toast--transition-slide-enter-from.or-toast--position-left[data-v-521acbe2],.or-toast--transition-slide-leave-to.or-toast--position-left[data-v-521acbe2]{transform:translateX(-999px)}.or-toast--transition-fade-enter-active[data-v-521acbe2],.or-toast--transition-fade-leave-active[data-v-521acbe2]{transition:opacity .4s ease}.or-toast--transition-fade-enter-from[data-v-521acbe2],.or-toast--transition-fade-leave-to[data-v-521acbe2]{opacity:0}";
|
|
172
|
+
styleInject(css_248z);
|
|
173
|
+
|
|
174
|
+
/* script */
|
|
175
|
+
const __vue_script__ = script;
|
|
176
|
+
/* template */
|
|
177
|
+
var __vue_render__ = function () {
|
|
178
|
+
var _vm = this;
|
|
179
|
+
var _h = _vm.$createElement;
|
|
180
|
+
var _c = _vm._self._c || _h;
|
|
181
|
+
return _vm.isActive ? _c('OrTeleport', [_c('div', {
|
|
182
|
+
class: _vm.classes
|
|
183
|
+
}, [_c('TransitionGroup', {
|
|
184
|
+
class: ['contents'],
|
|
185
|
+
attrs: {
|
|
186
|
+
"name": _vm.transitionName
|
|
187
|
+
},
|
|
188
|
+
on: {
|
|
189
|
+
"after-leave": _vm.onToastHidden
|
|
190
|
+
}
|
|
191
|
+
}, _vm._l(_vm.queue, function (toastConfiguration) {
|
|
192
|
+
return _c('OrToast', _vm._b({
|
|
193
|
+
key: toastConfiguration.hash,
|
|
194
|
+
on: {
|
|
195
|
+
"click": function ($event) {
|
|
196
|
+
return _vm.onClick(toastConfiguration.toastBehaviour);
|
|
197
|
+
},
|
|
198
|
+
"mouseenter": function ($event) {
|
|
199
|
+
return _vm.onToastEnter(toastConfiguration);
|
|
200
|
+
},
|
|
201
|
+
"mouseleave": function ($event) {
|
|
202
|
+
return _vm.onToastLeave(toastConfiguration);
|
|
203
|
+
},
|
|
204
|
+
"close": function ($event) {
|
|
205
|
+
return _vm.toastRemove(toastConfiguration);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}, 'OrToast', toastConfiguration.toastProps, false));
|
|
209
|
+
}), 1)], 1)]) : _vm._e();
|
|
210
|
+
};
|
|
211
|
+
var __vue_staticRenderFns__ = [];
|
|
212
|
+
|
|
213
|
+
/* style */
|
|
214
|
+
const __vue_inject_styles__ = undefined;
|
|
215
|
+
/* scoped */
|
|
216
|
+
const __vue_scope_id__ = "data-v-521acbe2";
|
|
217
|
+
/* module identifier */
|
|
218
|
+
const __vue_module_identifier__ = undefined;
|
|
219
|
+
/* functional template */
|
|
220
|
+
const __vue_is_functional_template__ = false;
|
|
221
|
+
/* style inject */
|
|
222
|
+
|
|
223
|
+
/* style inject SSR */
|
|
224
|
+
|
|
225
|
+
/* style inject shadow dom */
|
|
226
|
+
|
|
227
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
228
|
+
render: __vue_render__,
|
|
229
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
230
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
231
|
+
|
|
232
|
+
export { __vue_component__ as default };
|
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { default as OrToastContainerV3 } from './OrToastContainer.js';
|
|
2
2
|
export { t as TypesV3 } from '../../types-668300dd.js';
|
|
3
|
-
export { p as PropsV3 } from '../../props-
|
|
4
|
-
export { default as useToastV3 } from '../OrToastV3/useToast.js';
|
|
5
|
-
export { default as useQueueV3 } from '../OrToastV3/useQueue.js';
|
|
3
|
+
export { p as PropsV3 } from '../../props-7be029c7.js';
|
|
4
|
+
export { default as useToastV3 } from '../OrToastV3/composable/useToast.js';
|
|
5
|
+
export { default as useQueueV3 } from '../OrToastV3/composable/useQueue.js';
|
|
6
6
|
import '@vueuse/core';
|
|
7
7
|
import 'vue-demi';
|
|
8
|
-
import '../OrToastV3/useToastEventBus.js';
|
|
8
|
+
import '../OrToastV3/composable/useToastEventBus.js';
|
|
9
|
+
import '../OrToastV3/OrToast.js';
|
|
9
10
|
import '../OrToastV3/styles.js';
|
|
10
|
-
import '
|
|
11
|
+
import '../OrIconButtonV3/OrIconButton.js';
|
|
11
12
|
import '../OrIconButtonV3/props.js';
|
|
12
13
|
import '../OrIconV3/props.js';
|
|
13
14
|
import '../OrIconButtonV3/styles.js';
|
|
14
|
-
import '
|
|
15
|
+
import '../OrIconV3/OrIcon.js';
|
|
15
16
|
import '../OrIconV3/styles.js';
|
|
16
17
|
import '../../normalize-component-6e8e3d80.js';
|
|
17
|
-
import '
|
|
18
|
+
import '../OrTooltipV3/OrTooltip.js';
|
|
18
19
|
import '../OrTooltipV3/styles.js';
|
|
19
|
-
import '../
|
|
20
|
+
import '../OrPopoverV3/OrPopover.js';
|
|
20
21
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
21
22
|
import '../OrPopoverV3/props.js';
|
|
22
23
|
import '../OrPopoverV3/styles.js';
|
|
23
|
-
import '../
|
|
24
|
+
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
24
25
|
import '../OrBottomSheetV3/styles.js';
|
|
25
|
-
import '
|
|
26
|
+
import '../OrOverlayV3/OrOverlay.js';
|
|
26
27
|
import '../OrOverlayV3/styles.js';
|
|
27
|
-
import '
|
|
28
|
+
import '../OrTeleportV3/OrTeleport.js';
|
|
28
29
|
import 'portal-vue';
|
|
29
30
|
import '../../hooks/useElevation.js';
|
|
30
31
|
import '../../utils/isVisible.js';
|
|
31
32
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
32
|
-
import '
|
|
33
|
+
import '../OrLoaderV3/OrLoader.js';
|
|
33
34
|
import '../OrLoaderV3/props.js';
|
|
34
35
|
import '../OrLoaderV3/styles.js';
|
|
35
36
|
import '../../style-inject.es-4c6f2515.js';
|