@onereach/ui-components 2.77.0-beta.2447.0 → 2.77.0-beta.2456.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrAvatarV3/{OrAvatarV3.js → OrAvatar.js} +1 -1
- package/dist/bundled/v2/components/OrAvatarV3/index.js +2 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/{OrBottomSheetV3.js → OrBottomSheet.js} +2 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +3 -3
- package/dist/bundled/v2/components/OrButtonV2/index.js +2 -2
- package/dist/bundled/v2/components/OrButtonV3/{OrButtonV3.js → OrButton.js} +1 -1
- 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/components/OrCardCollectionV3/{OrCardCollectionV3.js → OrCardCollection.js} +17 -17
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +18 -18
- package/dist/bundled/v2/components/OrCardV3/index.js +1 -1
- package/dist/bundled/v2/components/OrCheckboxV3/{OrCheckboxV3.js → OrCheckbox.js} +1 -1
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +2 -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/index.js +1 -1
- package/dist/bundled/v2/components/OrCombinedInputV3/{OrCombinedInputV3.js → OrCombinedInput.js} +3 -3
- package/dist/bundled/v2/components/OrCombinedInputV3/index.js +4 -4
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +2 -2
- package/dist/bundled/v2/components/OrConfirm/index.js +2 -2
- package/dist/bundled/v2/components/OrConfirmV3/{OrConfirmV3.js → OrConfirm.js} +14 -14
- 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/OrEmptyStateV3/index.js +1 -1
- package/dist/bundled/v2/components/OrErrorTagV3/{OrErrorTagV3.js → OrErrorTag.js} +1 -1
- package/dist/bundled/v2/components/OrErrorTagV3/index.js +2 -2
- package/dist/bundled/v2/components/OrErrorV3/index.js +1 -1
- package/dist/bundled/v2/components/OrExpansionPanelV3/{OrExpansionPanelV3.js → OrExpansionPanel.js} +1 -1
- package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +2 -2
- package/dist/bundled/v2/components/OrFabV3/{OrFabV3.js → OrFab.js} +1 -1
- package/dist/bundled/v2/components/OrFabV3/index.js +2 -2
- package/dist/bundled/v2/components/OrHintV3/index.js +1 -1
- package/dist/bundled/v2/components/OrIconButtonV2/index.js +1 -1
- package/dist/bundled/v2/components/OrIconButtonV3/{OrIconButtonV3.js → OrIconButton.js} +6 -6
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +7 -7
- package/dist/bundled/v2/components/OrIconV3/index.js +1 -1
- package/dist/bundled/v2/components/OrInlineInputBoxV3/index.js +1 -1
- package/dist/bundled/v2/components/OrInlineInputV3/{OrInlineInputV3.js → OrInlineInput.js} +10 -10
- 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/OrInlineTextareaV3/{OrInlineTextareaV3.js → OrInlineTextarea.js} +10 -10
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +11 -11
- package/dist/bundled/v2/components/OrInputBoxV3/index.js +1 -1
- package/dist/bundled/v2/components/OrInputV3/{OrInputV3.js → OrInput.js} +12 -12
- package/dist/bundled/v2/components/OrInputV3/index.js +13 -13
- package/dist/bundled/v2/components/OrLabelV3/index.js +1 -1
- package/dist/bundled/v2/components/OrLinkV3/index.js +1 -1
- package/dist/bundled/v2/components/OrList/OrList.js +2 -2
- 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/components/OrLoaderV3/index.js +1 -1
- package/dist/bundled/v2/components/OrMenuItemV3/{OrMenuItemV3.js → OrMenuItem.js} +1 -1
- package/dist/bundled/v2/components/OrMenuItemV3/index.js +2 -2
- package/dist/bundled/v2/components/OrMenuV3/{OrMenuV3.js → OrMenu.js} +4 -4
- 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/components/OrModalV3/{OrModalV3.js → OrModal.js} +7 -7
- 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/components/OrNotificationV3/{OrNotificationV3.js → OrNotification.js} +7 -7
- package/dist/bundled/v2/components/OrNotificationV3/index.js +8 -8
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +2 -2
- package/dist/bundled/v2/components/OrOverflowMenu/index.js +2 -2
- package/dist/bundled/v2/components/OrOverlayV3/{OrOverlayV3.js → OrOverlay.js} +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/index.js +2 -2
- package/dist/bundled/v2/components/OrPaginationV3/{OrPaginationV3.js → OrPagination.js} +9 -9
- 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/OrPopoverV3/{OrPopoverV3.js → OrPopover.js} +3 -3
- package/dist/bundled/v2/components/OrPopoverV3/index.js +4 -4
- package/dist/bundled/v2/components/OrProgressV3/index.js +1 -1
- package/dist/bundled/v2/components/OrRadioV3/{OrRadioV3.js → OrRadio.js} +1 -1
- 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/components/OrSearchV3/{OrSearchV3.js → OrSearch.js} +13 -13
- package/dist/bundled/v2/components/OrSearchV3/index.js +14 -14
- package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/{OrSelectV3.js → OrSelect.js} +17 -17
- package/dist/bundled/v2/components/OrSelectV3/index.js +18 -18
- package/dist/bundled/v2/components/OrSidebarV3/{OrSidebarV3.js → OrSidebar.js} +7 -7
- package/dist/bundled/v2/components/OrSidebarV3/index.js +8 -8
- package/dist/bundled/v2/components/OrSkeletonCircleV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSkeletonRectV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSkeletonTextV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSkeletonV3/index.js +3 -3
- package/dist/bundled/v2/components/OrSortHeaderV3/{OrSortHeaderV3.js → OrSortHeader.js} +1 -1
- package/dist/bundled/v2/components/OrSortHeaderV3/index.js +2 -2
- package/dist/bundled/v2/components/OrStepper/OrStepper.js +1 -1
- package/dist/bundled/v2/components/OrStepper/index.js +1 -1
- package/dist/bundled/v2/components/OrSwitchV3/{OrSwitchV3.js → OrSwitch.js} +2 -2
- package/dist/bundled/v2/components/OrSwitchV3/index.js +3 -3
- package/dist/bundled/v2/components/OrTabV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTabsV3/{OrTabsV3.js → OrTabs.js} +8 -8
- package/dist/bundled/v2/components/OrTabsV3/index.js +9 -9
- package/dist/bundled/v2/components/OrTagV3/{OrTagV3.js → OrTag.js} +7 -7
- package/dist/bundled/v2/components/OrTagV3/index.js +8 -8
- package/dist/bundled/v2/components/OrTeleportV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTextV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTextareaV3/{OrTextareaV3.js → OrTextarea.js} +4 -4
- 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/index.js +29 -6
- 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/{OrToastContainerV3.js → OrToastContainer.js} +11 -11
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +13 -13
- package/dist/bundled/v2/components/OrToastV3/{OrToastV3.js → OrToast.js} +8 -8
- package/dist/bundled/v2/components/OrToastV3/index.js +36 -6
- package/dist/bundled/v2/components/OrTooltipV3/{OrTooltipV3.js → OrTooltip.js} +4 -4
- package/dist/bundled/v2/components/OrTooltipV3/index.js +5 -5
- package/dist/bundled/v2/components/index.js +78 -78
- package/dist/bundled/v2/index.js +59 -59
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-a358ed4c.js → OrAvatar.vue_vue_type_script_lang-78b30c30.js} +1 -1
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-1b744aad.js → OrBottomSheet.vue_vue_type_script_lang-398a517b.js} +2 -2
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-0d4df1e4.js → OrButton.vue_vue_type_script_lang-a840ee7d.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-1c9505bc.js → OrCardCollection.vue_vue_type_script_lang-3e87a19b.js} +11 -11
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-01a77066.js → OrCardCollection.vue_vue_type_script_lang-ac1c8efe.js} +2 -2
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-d46f3519.js → OrCheckbox.vue_vue_type_script_lang-de522e20.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-b6145e06.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-c29579b4.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f4ed6548.js → OrConfirm.vue_vue_type_script_lang-0111d143.js} +6 -6
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-1f3926f9.js → OrConfirm.vue_vue_type_script_lang-128506dd.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-2d6e9590.js → OrDateTimePicker.vue_vue_type_script_lang-380587c6.js} +1 -1
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-56a52f39.js → OrErrorTag.vue_vue_type_script_lang-54097585.js} +1 -1
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-5ebc5933.js → OrExpansionPanel.vue_vue_type_script_lang-5e94d368.js} +1 -1
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-a2ba6b14.js → OrFab.vue_vue_type_script_lang-decad76e.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-40d2387f.js → OrIconButton.vue_vue_type_script_lang-7a36beed.js} +3 -3
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-b5aa4fe2.js → OrInlineInput.vue_vue_type_script_lang-c5c851b6.js} +5 -5
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-9af4e959.js → OrInlineTextEdit.vue_vue_type_script_lang-956e4ba2.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a32a8f71.js → OrInlineTextarea.vue_vue_type_script_lang-4f15b59f.js} +5 -5
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-4f36ecd1.js → OrInput.vue_vue_type_script_lang-9f6f9afc.js} +8 -8
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-3dbbf404.js → OrList.vue_vue_type_script_lang-040c4ce1.js} +2 -2
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-4d0e2e67.js → OrListOfInputs.vue_vue_type_script_lang-4155853b.js} +2 -2
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-cd85435a.js → OrMenu.vue_vue_type_script_lang-d7a5bf28.js} +2 -2
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-54c89599.js → OrMenuItem.vue_vue_type_script_lang-2c0c186d.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-a671df0e.js → OrModal.vue_vue_type_script_lang-f9561803.js} +4 -4
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-dae1159c.js → OrModal.vue_vue_type_script_lang-fdbd986e.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-3ec5fade.js → OrNotification.vue_vue_type_script_lang-58fd2766.js} +3 -3
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-5eb1c354.js → OrNotification.vue_vue_type_script_lang-994aa838.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-21f1e792.js → OrOverflowMenu.vue_vue_type_script_lang-75e6a081.js} +2 -2
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-6c4b63bf.js → OrOverlay.vue_vue_type_script_lang-683dc1bb.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-26b985af.js → OrPagination.vue_vue_type_script_lang-97fa485d.js} +7 -7
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-2493a8af.js → OrPassword.vue_vue_type_script_lang-f46acddb.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-ea0e5f7b.js → OrPopover.vue_vue_type_script_lang-49cc4886.js} +3 -3
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-637f6c90.js → OrRadio.vue_vue_type_script_lang-202f4e21.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-fe3fd110.js → OrSearch.vue_vue_type_script_lang-8de954cf.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-12aa0495.js → OrSearch.vue_vue_type_script_lang-fbb85b2a.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-5976b51d.js → OrSelect.vue_vue_type_script_lang-a86b9abc.js} +17 -17
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-e83e5c17.js → OrSidebar.vue_vue_type_script_lang-88cfa4ba.js} +2 -2
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-d9c91f0a.js → OrSortHeader.vue_vue_type_script_lang-851671ab.js} +1 -1
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-325369a3.js → OrStepper.vue_vue_type_script_lang-88a01c20.js} +1 -1
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-ec9eccfe.js → OrSwitch.vue_vue_type_script_lang-7acd91e9.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-3bb69c31.js → OrTabs.vue_vue_type_script_lang-5e20b0b5.js} +6 -6
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-4a17d4d5.js → OrTag.vue_vue_type_script_lang-cd555f11.js} +2 -2
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-e5621a66.js → OrTextarea.vue_vue_type_script_lang-1b3f2396.js} +4 -4
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-6752fab9.js → OrTextbox.vue_vue_type_script_lang-686e0310.js} +1 -1
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-c7cabe6c.js → OrToastContainer.vue_vue_type_script_lang-3bb6f082.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-57ebe1e4.js → OrToastContainer.vue_vue_type_script_lang-e98944bc.js} +4 -4
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-cba8024f.js → OrTooltip.vue_vue_type_script_lang-196b0605.js} +2 -2
- package/dist/bundled/v3/components/OrAvatarV3/{OrAvatarV3.js → OrAvatar.js} +3 -3
- package/dist/bundled/v3/components/OrAvatarV3/index.js +2 -2
- package/dist/bundled/v3/components/OrBottomSheetV3/{OrBottomSheetV3.js → OrBottomSheet.js} +5 -5
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +4 -4
- package/dist/bundled/v3/components/OrButtonV3/{OrButtonV3.js → OrButton.js} +3 -3
- 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/{OrCardCollectionV3.js → OrCardCollection.js} +29 -29
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +28 -28
- package/dist/bundled/v3/components/OrCheckboxV3/{OrCheckboxV3.js → OrCheckbox.js} +3 -3
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -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/index.js +2 -2
- package/dist/bundled/v3/components/OrCombinedInputV3/{OrCombinedInputV3.js → OrCombinedInput.js} +3 -3
- package/dist/bundled/v3/components/OrCombinedInputV3/index.js +4 -4
- 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/{OrConfirmV3.js → OrConfirm.js} +23 -23
- package/dist/bundled/v3/components/OrConfirmV3/index.js +22 -22
- 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/OrErrorTagV3/{OrErrorTagV3.js → OrErrorTag.js} +3 -3
- package/dist/bundled/v3/components/OrErrorTagV3/index.js +2 -2
- package/dist/bundled/v3/components/OrExpansionPanelV3/{OrExpansionPanelV3.js → OrExpansionPanel.js} +3 -3
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +2 -2
- package/dist/bundled/v3/components/OrFabV3/{OrFabV3.js → OrFab.js} +3 -3
- package/dist/bundled/v3/components/OrFabV3/index.js +2 -2
- package/dist/bundled/v3/components/OrIconButtonV3/{OrIconButtonV3.js → OrIconButton.js} +12 -12
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +11 -11
- package/dist/bundled/v3/components/OrInlineInputV3/{OrInlineInputV3.js → OrInlineInput.js} +17 -17
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +16 -16
- 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/OrInlineTextareaV3/{OrInlineTextareaV3.js → OrInlineTextarea.js} +17 -17
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +16 -16
- package/dist/bundled/v3/components/OrInputV3/{OrInputV3.js → OrInput.js} +19 -19
- package/dist/bundled/v3/components/OrInputV3/index.js +18 -18
- 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/components/OrMenuItemV3/{OrMenuItemV3.js → OrMenuItem.js} +3 -3
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +2 -2
- package/dist/bundled/v3/components/OrMenuV3/{OrMenuV3.js → OrMenu.js} +9 -9
- package/dist/bundled/v3/components/OrMenuV3/index.js +8 -8
- 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/{OrModalV3.js → OrModal.js} +14 -14
- package/dist/bundled/v3/components/OrModalV3/index.js +13 -13
- 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/{OrNotificationV3.js → OrNotification.js} +14 -14
- package/dist/bundled/v3/components/OrNotificationV3/index.js +13 -13
- 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/{OrOverlayV3.js → OrOverlay.js} +3 -3
- package/dist/bundled/v3/components/OrOverlayV3/index.js +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/{OrPaginationV3.js → OrPagination.js} +17 -17
- package/dist/bundled/v3/components/OrPaginationV3/index.js +16 -16
- 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/OrPopoverV3/{OrPopoverV3.js → OrPopover.js} +7 -7
- package/dist/bundled/v3/components/OrPopoverV3/index.js +6 -6
- package/dist/bundled/v3/components/OrRadioV3/{OrRadioV3.js → OrRadio.js} +3 -3
- 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/{OrSearchV3.js → OrSearch.js} +21 -21
- package/dist/bundled/v3/components/OrSearchV3/index.js +20 -20
- package/dist/bundled/v3/components/OrSelectV3/{OrSelectV3.js → OrSelect.js} +29 -29
- package/dist/bundled/v3/components/OrSelectV3/index.js +28 -28
- package/dist/bundled/v3/components/OrSidebarV3/{OrSidebarV3.js → OrSidebar.js} +14 -14
- package/dist/bundled/v3/components/OrSidebarV3/index.js +13 -13
- package/dist/bundled/v3/components/OrSortHeaderV3/{OrSortHeaderV3.js → OrSortHeader.js} +3 -3
- 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/{OrSwitchV3.js → OrSwitch.js} +4 -4
- package/dist/bundled/v3/components/OrSwitchV3/index.js +3 -3
- package/dist/bundled/v3/components/OrTabsV3/{OrTabsV3.js → OrTabs.js} +15 -15
- package/dist/bundled/v3/components/OrTabsV3/index.js +14 -14
- package/dist/bundled/v3/components/OrTagV3/{OrTagV3.js → OrTag.js} +14 -14
- package/dist/bundled/v3/components/OrTagV3/index.js +13 -13
- package/dist/bundled/v3/components/OrTextareaV3/{OrTextareaV3.js → OrTextarea.js} +6 -6
- package/dist/bundled/v3/components/OrTextareaV3/index.js +5 -5
- 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/index.js +35 -6
- 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/{OrToastContainerV3.js → OrToastContainer.js} +18 -18
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +18 -18
- package/dist/bundled/v3/components/OrToastV3/{OrToastV3.js → OrToast.js} +13 -13
- package/dist/bundled/v3/components/OrToastV3/index.js +43 -6
- package/dist/bundled/v3/components/OrTooltipV3/{OrTooltipV3.js → OrTooltip.js} +9 -9
- package/dist/bundled/v3/components/OrTooltipV3/index.js +8 -8
- package/dist/bundled/v3/components/index.js +82 -82
- package/dist/bundled/v3/index.js +106 -106
- package/package.json +2 -2
- package/dist/bundled/v2/components/OrColorPicker/defultPalette.js +0 -15
- package/dist/bundled/v2/components/OrToast/useQueue.js +0 -33
- package/dist/bundled/v2/components/OrToast/useToast.js +0 -82
- package/dist/bundled/v2/components/OrToast/useToastEventBus.js +0 -24
- package/dist/bundled/v2/components/OrToastV3/useQueue.js +0 -33
- package/dist/bundled/v2/components/OrToastV3/useToast.js +0 -82
- package/dist/bundled/v2/components/OrToastV3/useToastEventBus.js +0 -24
- package/dist/bundled/v3/components/OrColorPicker/defultPalette.js +0 -15
- package/dist/bundled/v3/components/OrToast/useQueue.js +0 -33
- package/dist/bundled/v3/components/OrToast/useToast.js +0 -82
- package/dist/bundled/v3/components/OrToast/useToastEventBus.js +0 -24
- package/dist/bundled/v3/components/OrToastV3/useQueue.js +0 -33
- package/dist/bundled/v3/components/OrToastV3/useToast.js +0 -82
- package/dist/bundled/v3/components/OrToastV3/useToastEventBus.js +0 -24
- /package/dist/bundled/v2/components/OrButtonV2/{OrButtonV2.js → OrButton.js} +0 -0
- /package/dist/bundled/v2/components/OrCardV3/{OrCardV3.js → OrCard.js} +0 -0
- /package/dist/bundled/v2/components/OrEmptyStateV3/{OrEmptyStateV3.js → OrEmptyState.js} +0 -0
- /package/dist/bundled/v2/components/OrErrorV3/{OrErrorV3.js → OrError.js} +0 -0
- /package/dist/bundled/v2/components/OrHintV3/{OrHintV3.js → OrHint.js} +0 -0
- /package/dist/bundled/v2/components/OrIconButtonV2/{OrIconButtonV2.js → OrIconButton.js} +0 -0
- /package/dist/bundled/v2/components/OrIconV3/{OrIconV3.js → OrIcon.js} +0 -0
- /package/dist/bundled/v2/components/OrInlineInputBoxV3/{OrInlineInputBoxV3.js → OrInlineInputBox.js} +0 -0
- /package/dist/bundled/v2/components/OrInputBoxV3/{OrInputBoxV3.js → OrInputBox.js} +0 -0
- /package/dist/bundled/v2/components/OrLabelV3/{OrLabelV3.js → OrLabel.js} +0 -0
- /package/dist/bundled/v2/components/OrLinkV3/{OrLinkV3.js → OrLink.js} +0 -0
- /package/dist/bundled/v2/components/OrLoaderV3/{OrLoaderV3.js → OrLoader.js} +0 -0
- /package/dist/bundled/v2/components/OrProgressV3/{OrProgressV3.js → OrProgress.js} +0 -0
- /package/dist/bundled/v2/components/OrSegmentedControlV3/{OrSegmentedControlV3.js → OrSegmentedControl.js} +0 -0
- /package/dist/bundled/v2/components/OrSkeletonCircleV3/{OrSkeletonCircleV3.js → OrSkeletonCircle.js} +0 -0
- /package/dist/bundled/v2/components/OrSkeletonRectV3/{OrSkeletonRectV3.js → OrSkeletonRect.js} +0 -0
- /package/dist/bundled/v2/components/OrSkeletonTextV3/{OrSkeletonTextV3.js → OrSkeletonText.js} +0 -0
- /package/dist/bundled/v2/components/OrTabV3/{OrTabV3.js → OrTab.js} +0 -0
- /package/dist/bundled/v2/components/OrTeleportV3/{OrTeleportV3.js → OrTeleport.js} +0 -0
- /package/dist/bundled/v2/components/OrTextV3/{OrTextV3.js → OrText.js} +0 -0
- /package/dist/bundled/v3/components/OrButtonV2/{OrButtonV2.js → OrButton.js} +0 -0
- /package/dist/bundled/v3/components/OrCardV3/{OrCardV3.js → OrCard.js} +0 -0
- /package/dist/bundled/v3/components/OrEmptyStateV3/{OrEmptyStateV3.js → OrEmptyState.js} +0 -0
- /package/dist/bundled/v3/components/OrErrorV3/{OrErrorV3.js → OrError.js} +0 -0
- /package/dist/bundled/v3/components/OrHintV3/{OrHintV3.js → OrHint.js} +0 -0
- /package/dist/bundled/v3/components/OrIconButtonV2/{OrIconButtonV2.js → OrIconButton.js} +0 -0
- /package/dist/bundled/v3/components/OrIconV3/{OrIconV3.js → OrIcon.js} +0 -0
- /package/dist/bundled/v3/components/OrInlineInputBoxV3/{OrInlineInputBoxV3.js → OrInlineInputBox.js} +0 -0
- /package/dist/bundled/v3/components/OrInputBoxV3/{OrInputBoxV3.js → OrInputBox.js} +0 -0
- /package/dist/bundled/v3/components/OrLabelV3/{OrLabelV3.js → OrLabel.js} +0 -0
- /package/dist/bundled/v3/components/OrLinkV3/{OrLinkV3.js → OrLink.js} +0 -0
- /package/dist/bundled/v3/components/OrLoaderV3/{OrLoaderV3.js → OrLoader.js} +0 -0
- /package/dist/bundled/v3/components/OrProgressV3/{OrProgressV3.js → OrProgress.js} +0 -0
- /package/dist/bundled/v3/components/OrSegmentedControlV3/{OrSegmentedControlV3.js → OrSegmentedControl.js} +0 -0
- /package/dist/bundled/v3/components/OrSkeletonCircleV3/{OrSkeletonCircleV3.js → OrSkeletonCircle.js} +0 -0
- /package/dist/bundled/v3/components/OrSkeletonRectV3/{OrSkeletonRectV3.js → OrSkeletonRect.js} +0 -0
- /package/dist/bundled/v3/components/OrSkeletonTextV3/{OrSkeletonTextV3.js → OrSkeletonText.js} +0 -0
- /package/dist/bundled/v3/components/OrTabV3/{OrTabV3.js → OrTab.js} +0 -0
- /package/dist/bundled/v3/components/OrTeleportV3/{OrTeleportV3.js → OrTeleport.js} +0 -0
- /package/dist/bundled/v3/components/OrTextV3/{OrTextV3.js → OrText.js} +0 -0
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { b as ToastType } from '../../props-7be029c7.js';
|
|
2
|
-
import Timer from './Timer.js';
|
|
3
|
-
import useToastEventBus from './useToastEventBus.js';
|
|
4
|
-
import '@vueuse/core';
|
|
5
|
-
|
|
6
|
-
function useToast(globalToastProps = {}) {
|
|
7
|
-
const {
|
|
8
|
-
emit
|
|
9
|
-
} = useToastEventBus();
|
|
10
|
-
function notify(props, behaviour = {}) {
|
|
11
|
-
const {
|
|
12
|
-
duration = 5000,
|
|
13
|
-
pauseOnHover = true,
|
|
14
|
-
onToastClose,
|
|
15
|
-
onToastClick
|
|
16
|
-
} = behaviour;
|
|
17
|
-
const propsData = {
|
|
18
|
-
...props,
|
|
19
|
-
...globalToastProps
|
|
20
|
-
};
|
|
21
|
-
const config = {
|
|
22
|
-
toastProps: propsData,
|
|
23
|
-
//generate ToastHash
|
|
24
|
-
hash: Math.random().toString(36).slice(2),
|
|
25
|
-
...(Number.isInteger(duration) && {
|
|
26
|
-
timer: new Timer()
|
|
27
|
-
}),
|
|
28
|
-
toastBehaviour: {
|
|
29
|
-
duration,
|
|
30
|
-
pauseOnHover,
|
|
31
|
-
onToastClose,
|
|
32
|
-
onToastClick
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
emit('toastNotify', config);
|
|
36
|
-
return {
|
|
37
|
-
close: () => emit('toastClose', config),
|
|
38
|
-
update: data => emit('toastUpdate', {
|
|
39
|
-
...config,
|
|
40
|
-
toastProps: {
|
|
41
|
-
...config.toastProps,
|
|
42
|
-
...data
|
|
43
|
-
}
|
|
44
|
-
})
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function clearAll() {
|
|
48
|
-
emit('toastCloseAll');
|
|
49
|
-
}
|
|
50
|
-
function success(props, behaviour = {}) {
|
|
51
|
-
return notify({
|
|
52
|
-
...props,
|
|
53
|
-
toastType: ToastType.Success
|
|
54
|
-
}, behaviour);
|
|
55
|
-
}
|
|
56
|
-
function error(props, behaviour = {}) {
|
|
57
|
-
return notify({
|
|
58
|
-
...props,
|
|
59
|
-
toastType: ToastType.Error
|
|
60
|
-
}, behaviour);
|
|
61
|
-
}
|
|
62
|
-
function loading(props, behaviour = {}) {
|
|
63
|
-
return notify({
|
|
64
|
-
...props,
|
|
65
|
-
toastType: ToastType.Loading,
|
|
66
|
-
dismissible: false
|
|
67
|
-
}, {
|
|
68
|
-
...behaviour,
|
|
69
|
-
duration: 0 // <- toast with type "loading" will not cloe automatically
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
return {
|
|
74
|
-
notify,
|
|
75
|
-
clearAll,
|
|
76
|
-
success,
|
|
77
|
-
error,
|
|
78
|
-
loading
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export { useToast as default };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { createSharedComposable, useEventBus } from '@vueuse/core';
|
|
2
|
-
|
|
3
|
-
const useToastEventBus = () => {
|
|
4
|
-
const busPull = {
|
|
5
|
-
toastNotify: useEventBus('toastNotify'),
|
|
6
|
-
toastClose: useEventBus('toastClose'),
|
|
7
|
-
toastCloseAll: useEventBus('toastCloseAll'),
|
|
8
|
-
toastUpdate: useEventBus('toastUpdate')
|
|
9
|
-
};
|
|
10
|
-
return {
|
|
11
|
-
on: (namedQueue, listener) => {
|
|
12
|
-
busPull[namedQueue].on(listener);
|
|
13
|
-
},
|
|
14
|
-
off: (namedQueue, listener) => {
|
|
15
|
-
busPull[namedQueue].off(listener);
|
|
16
|
-
},
|
|
17
|
-
emit: (namedQueue, data) => {
|
|
18
|
-
busPull[namedQueue].emit(data);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
var useToastEventBus$1 = createSharedComposable(useToastEventBus);
|
|
23
|
-
|
|
24
|
-
export { useToastEventBus$1 as default };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Palette from './constants.js';
|
|
2
|
-
|
|
3
|
-
const defaultTones = ['900', '700', '500', '300', '100'];
|
|
4
|
-
function defaultPalette() {
|
|
5
|
-
return Object.entries(Palette).reduce((acc, [color, schema]) => {
|
|
6
|
-
if (color === 'black' || color === 'white') {
|
|
7
|
-
acc.push([Palette[color].default]);
|
|
8
|
-
} else {
|
|
9
|
-
acc.push(defaultTones === null || defaultTones === void 0 ? void 0 : defaultTones.map(tone => schema[tone]));
|
|
10
|
-
}
|
|
11
|
-
return acc;
|
|
12
|
-
}, []);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { defaultPalette as default };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ref } from 'vue-demi';
|
|
2
|
-
|
|
3
|
-
function useQueue(initialValue) {
|
|
4
|
-
//generic needed! see https://github.com/vuejs/core/issues/2136
|
|
5
|
-
const queue = ref(initialValue || []);
|
|
6
|
-
const addItem = item => {
|
|
7
|
-
const refItem = ref(item);
|
|
8
|
-
queue.value.push(refItem);
|
|
9
|
-
};
|
|
10
|
-
const removeItem = condition => {
|
|
11
|
-
const index = queue.value.findIndex((i, idx, q) => {
|
|
12
|
-
return condition === null || condition === void 0 ? void 0 : condition(i.value, idx, q);
|
|
13
|
-
});
|
|
14
|
-
if (index !== -1) queue.value.splice(index, 1);
|
|
15
|
-
};
|
|
16
|
-
const getItem = condition => {
|
|
17
|
-
return queue.value.filter((i, idx, q) => {
|
|
18
|
-
return condition === null || condition === void 0 ? void 0 : condition(i.value, idx, q);
|
|
19
|
-
})[0];
|
|
20
|
-
};
|
|
21
|
-
const clearAll = () => {
|
|
22
|
-
queue.value = [];
|
|
23
|
-
};
|
|
24
|
-
return {
|
|
25
|
-
queue,
|
|
26
|
-
addItem,
|
|
27
|
-
removeItem,
|
|
28
|
-
clearAll,
|
|
29
|
-
getItem
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export { useQueue as default };
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import Timer from './Timer.js';
|
|
2
|
-
import useToastEventBus from './useToastEventBus.js';
|
|
3
|
-
import { ToastType } from './constants.js';
|
|
4
|
-
import '@vueuse/core';
|
|
5
|
-
|
|
6
|
-
function useToast(globalToastProps = {}) {
|
|
7
|
-
const {
|
|
8
|
-
emit
|
|
9
|
-
} = useToastEventBus();
|
|
10
|
-
function notify(props, behaviour = {}) {
|
|
11
|
-
const {
|
|
12
|
-
duration = 5000,
|
|
13
|
-
pauseOnHover = true,
|
|
14
|
-
onToastClose,
|
|
15
|
-
onToastClick
|
|
16
|
-
} = behaviour;
|
|
17
|
-
const propsData = {
|
|
18
|
-
...props,
|
|
19
|
-
...globalToastProps
|
|
20
|
-
};
|
|
21
|
-
const config = {
|
|
22
|
-
toastProps: propsData,
|
|
23
|
-
//generate ToastHash
|
|
24
|
-
hash: Math.random().toString(36).slice(2),
|
|
25
|
-
...(Number.isInteger(duration) && {
|
|
26
|
-
timer: new Timer()
|
|
27
|
-
}),
|
|
28
|
-
toastBehaviour: {
|
|
29
|
-
duration,
|
|
30
|
-
pauseOnHover,
|
|
31
|
-
onToastClose,
|
|
32
|
-
onToastClick
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
emit('toastNotify', config);
|
|
36
|
-
return {
|
|
37
|
-
close: () => emit('toastClose', config),
|
|
38
|
-
update: data => emit('toastUpdate', {
|
|
39
|
-
...config,
|
|
40
|
-
toastProps: {
|
|
41
|
-
...config.toastProps,
|
|
42
|
-
...data
|
|
43
|
-
}
|
|
44
|
-
})
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function clearAll() {
|
|
48
|
-
emit('toastCloseAll');
|
|
49
|
-
}
|
|
50
|
-
function success(props, behaviour = {}) {
|
|
51
|
-
return notify({
|
|
52
|
-
...props,
|
|
53
|
-
toastType: ToastType.success
|
|
54
|
-
}, behaviour);
|
|
55
|
-
}
|
|
56
|
-
function error(props, behaviour = {}) {
|
|
57
|
-
return notify({
|
|
58
|
-
...props,
|
|
59
|
-
toastType: ToastType.error
|
|
60
|
-
}, behaviour);
|
|
61
|
-
}
|
|
62
|
-
function loading(props, behaviour = {}) {
|
|
63
|
-
return notify({
|
|
64
|
-
...props,
|
|
65
|
-
toastType: ToastType.loading,
|
|
66
|
-
dismissible: false
|
|
67
|
-
}, {
|
|
68
|
-
...behaviour,
|
|
69
|
-
duration: 0 // <- toast with type "loading" will not cloe automatically
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
return {
|
|
74
|
-
notify,
|
|
75
|
-
clearAll,
|
|
76
|
-
success,
|
|
77
|
-
error,
|
|
78
|
-
loading
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export { useToast as default };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { createSharedComposable, useEventBus } from '@vueuse/core';
|
|
2
|
-
|
|
3
|
-
const useToastEventBus = () => {
|
|
4
|
-
const busPull = {
|
|
5
|
-
toastNotify: useEventBus('toastNotify'),
|
|
6
|
-
toastClose: useEventBus('toastClose'),
|
|
7
|
-
toastCloseAll: useEventBus('toastCloseAll'),
|
|
8
|
-
toastUpdate: useEventBus('toastUpdate')
|
|
9
|
-
};
|
|
10
|
-
return {
|
|
11
|
-
on: (namedQueue, listener) => {
|
|
12
|
-
busPull[namedQueue].on(listener);
|
|
13
|
-
},
|
|
14
|
-
off: (namedQueue, listener) => {
|
|
15
|
-
busPull[namedQueue].off(listener);
|
|
16
|
-
},
|
|
17
|
-
emit: (namedQueue, data) => {
|
|
18
|
-
busPull[namedQueue].emit(data);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
var useToastEventBus$1 = createSharedComposable(useToastEventBus);
|
|
23
|
-
|
|
24
|
-
export { useToastEventBus$1 as default };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ref } from 'vue-demi';
|
|
2
|
-
|
|
3
|
-
function useQueue(initialValue) {
|
|
4
|
-
//generic needed! see https://github.com/vuejs/core/issues/2136
|
|
5
|
-
const queue = ref(initialValue || []);
|
|
6
|
-
const addItem = item => {
|
|
7
|
-
const refItem = ref(item);
|
|
8
|
-
queue.value.push(refItem);
|
|
9
|
-
};
|
|
10
|
-
const removeItem = condition => {
|
|
11
|
-
const index = queue.value.findIndex((i, idx, q) => {
|
|
12
|
-
return condition === null || condition === void 0 ? void 0 : condition(i.value, idx, q);
|
|
13
|
-
});
|
|
14
|
-
if (index !== -1) queue.value.splice(index, 1);
|
|
15
|
-
};
|
|
16
|
-
const getItem = condition => {
|
|
17
|
-
return queue.value.filter((i, idx, q) => {
|
|
18
|
-
return condition === null || condition === void 0 ? void 0 : condition(i.value, idx, q);
|
|
19
|
-
})[0];
|
|
20
|
-
};
|
|
21
|
-
const clearAll = () => {
|
|
22
|
-
queue.value = [];
|
|
23
|
-
};
|
|
24
|
-
return {
|
|
25
|
-
queue,
|
|
26
|
-
addItem,
|
|
27
|
-
removeItem,
|
|
28
|
-
clearAll,
|
|
29
|
-
getItem
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export { useQueue as default };
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { b as ToastType } from '../../props-7be029c7.js';
|
|
2
|
-
import Timer from './Timer.js';
|
|
3
|
-
import useToastEventBus from './useToastEventBus.js';
|
|
4
|
-
import '@vueuse/core';
|
|
5
|
-
|
|
6
|
-
function useToast(globalToastProps = {}) {
|
|
7
|
-
const {
|
|
8
|
-
emit
|
|
9
|
-
} = useToastEventBus();
|
|
10
|
-
function notify(props, behaviour = {}) {
|
|
11
|
-
const {
|
|
12
|
-
duration = 5000,
|
|
13
|
-
pauseOnHover = true,
|
|
14
|
-
onToastClose,
|
|
15
|
-
onToastClick
|
|
16
|
-
} = behaviour;
|
|
17
|
-
const propsData = {
|
|
18
|
-
...props,
|
|
19
|
-
...globalToastProps
|
|
20
|
-
};
|
|
21
|
-
const config = {
|
|
22
|
-
toastProps: propsData,
|
|
23
|
-
//generate ToastHash
|
|
24
|
-
hash: Math.random().toString(36).slice(2),
|
|
25
|
-
...(Number.isInteger(duration) && {
|
|
26
|
-
timer: new Timer()
|
|
27
|
-
}),
|
|
28
|
-
toastBehaviour: {
|
|
29
|
-
duration,
|
|
30
|
-
pauseOnHover,
|
|
31
|
-
onToastClose,
|
|
32
|
-
onToastClick
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
emit('toastNotify', config);
|
|
36
|
-
return {
|
|
37
|
-
close: () => emit('toastClose', config),
|
|
38
|
-
update: data => emit('toastUpdate', {
|
|
39
|
-
...config,
|
|
40
|
-
toastProps: {
|
|
41
|
-
...config.toastProps,
|
|
42
|
-
...data
|
|
43
|
-
}
|
|
44
|
-
})
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function clearAll() {
|
|
48
|
-
emit('toastCloseAll');
|
|
49
|
-
}
|
|
50
|
-
function success(props, behaviour = {}) {
|
|
51
|
-
return notify({
|
|
52
|
-
...props,
|
|
53
|
-
toastType: ToastType.Success
|
|
54
|
-
}, behaviour);
|
|
55
|
-
}
|
|
56
|
-
function error(props, behaviour = {}) {
|
|
57
|
-
return notify({
|
|
58
|
-
...props,
|
|
59
|
-
toastType: ToastType.Error
|
|
60
|
-
}, behaviour);
|
|
61
|
-
}
|
|
62
|
-
function loading(props, behaviour = {}) {
|
|
63
|
-
return notify({
|
|
64
|
-
...props,
|
|
65
|
-
toastType: ToastType.Loading,
|
|
66
|
-
dismissible: false
|
|
67
|
-
}, {
|
|
68
|
-
...behaviour,
|
|
69
|
-
duration: 0 // <- toast with type "loading" will not cloe automatically
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
return {
|
|
74
|
-
notify,
|
|
75
|
-
clearAll,
|
|
76
|
-
success,
|
|
77
|
-
error,
|
|
78
|
-
loading
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export { useToast as default };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { createSharedComposable, useEventBus } from '@vueuse/core';
|
|
2
|
-
|
|
3
|
-
const useToastEventBus = () => {
|
|
4
|
-
const busPull = {
|
|
5
|
-
toastNotify: useEventBus('toastNotify'),
|
|
6
|
-
toastClose: useEventBus('toastClose'),
|
|
7
|
-
toastCloseAll: useEventBus('toastCloseAll'),
|
|
8
|
-
toastUpdate: useEventBus('toastUpdate')
|
|
9
|
-
};
|
|
10
|
-
return {
|
|
11
|
-
on: (namedQueue, listener) => {
|
|
12
|
-
busPull[namedQueue].on(listener);
|
|
13
|
-
},
|
|
14
|
-
off: (namedQueue, listener) => {
|
|
15
|
-
busPull[namedQueue].off(listener);
|
|
16
|
-
},
|
|
17
|
-
emit: (namedQueue, data) => {
|
|
18
|
-
busPull[namedQueue].emit(data);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
var useToastEventBus$1 = createSharedComposable(useToastEventBus);
|
|
23
|
-
|
|
24
|
-
export { useToastEventBus$1 as default };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/bundled/v2/components/OrInlineInputBoxV3/{OrInlineInputBoxV3.js → OrInlineInputBox.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/bundled/v2/components/OrSkeletonCircleV3/{OrSkeletonCircleV3.js → OrSkeletonCircle.js}
RENAMED
|
File without changes
|
/package/dist/bundled/v2/components/OrSkeletonRectV3/{OrSkeletonRectV3.js → OrSkeletonRect.js}
RENAMED
|
File without changes
|
/package/dist/bundled/v2/components/OrSkeletonTextV3/{OrSkeletonTextV3.js → OrSkeletonText.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/bundled/v3/components/OrInlineInputBoxV3/{OrInlineInputBoxV3.js → OrInlineInputBox.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/bundled/v3/components/OrSkeletonCircleV3/{OrSkeletonCircleV3.js → OrSkeletonCircle.js}
RENAMED
|
File without changes
|
/package/dist/bundled/v3/components/OrSkeletonRectV3/{OrSkeletonRectV3.js → OrSkeletonRect.js}
RENAMED
|
File without changes
|
/package/dist/bundled/v3/components/OrSkeletonTextV3/{OrSkeletonTextV3.js → OrSkeletonText.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|