@onereach/ui-components 2.65.0-beta.1963.0 → 2.65.0-beta.1964.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/v3/{OrAvatar.vue_vue_type_script_lang-245544e2.js → OrAvatar.vue_vue_type_script_lang-07889664.js} +3 -3
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-b3aaaba0.js → OrAvatar.vue_vue_type_script_lang-22e46ce1.js} +2 -3
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-b1345595.js → OrBottomSheet.vue_vue_type_script_lang-9b8931d3.js} +3 -5
- package/dist/bundled/v3/{OrButton-598a801f.js → OrButton-ec723bb7.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-0fe34baf.js → OrButton.vue_vue_type_script_lang-8cc3e128.js} +4 -5
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-a37eaa34.js → OrButton.vue_vue_type_script_lang-c0800f20.js} +3 -3
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-74e90889.js → OrButton.vue_vue_type_script_lang-ffc66d00.js} +5 -5
- package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-b1191fef.js → OrCard.vue_vue_type_script_lang-90ba001b.js} +1 -1
- package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-7443aae1.js → OrCard.vue_vue_type_script_lang-9d6e1050.js} +2 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-b16296ed.js → OrCardCollection.vue_vue_type_script_lang-d8124dda.js} +7 -9
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-563a3422.js → OrCardCollection.vue_vue_type_script_lang-d87cab2c.js} +8 -10
- package/dist/bundled/v3/{OrCarouselItem-082cdf55.js → OrCarouselItem-f4b9541d.js} +1 -1
- package/dist/bundled/v3/{OrCarouselItem.vue_vue_type_script_lang-81ed97e6.js → OrCarouselItem.vue_vue_type_script_lang-ad286afc.js} +3 -4
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-7e675697.js → OrCheckbox.vue_vue_type_script_lang-10d8b047.js} +4 -5
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-042252f7.js → OrCheckbox.vue_vue_type_script_lang-cd20521b.js} +3 -3
- package/dist/bundled/v3/{OrChip-7e4cb500.js → OrChip-5d502431.js} +3 -4
- package/dist/bundled/v3/{OrChips.vue_vue_type_script_lang-b908761b.js → OrChips.vue_vue_type_script_lang-69917e34.js} +6 -7
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-5c97eb0d.js → OrCode.vue_vue_type_script_lang-ef5e7f04.js} +12 -13
- package/dist/bundled/v3/{OrCollapse-b0a42c33.js → OrCollapse-63e83681.js} +1 -1
- package/dist/bundled/v3/{OrCollapse.vue_vue_type_script_lang-d10f8cf3.js → OrCollapse.vue_vue_type_script_lang-65cbb754.js} +2 -3
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-b7860f4e.js → OrColorPicker.vue_vue_type_script_lang-4141378d.js} +3 -4
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-c5ed7c5a.js → OrConfirm.vue_vue_type_script_lang-0f16fc67.js} +7 -8
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-71cc5743.js → OrConfirm.vue_vue_type_script_lang-79664a62.js} +7 -9
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-143bfecb.js → OrDateTimePicker.vue_vue_type_script_lang-7bfe5005.js} +14 -16
- package/dist/bundled/v3/{OrError-4c75ee93.js → OrError-b43ebad8.js} +1 -1
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-669d3f1f.js → OrError.vue_vue_type_script_lang-7c39e012.js} +1 -1
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-1db70609.js → OrError.vue_vue_type_script_lang-f606d0ee.js} +2 -3
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-f2254efd.js → OrErrorTag.vue_vue_type_script_lang-709a0eeb.js} +4 -5
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-495ab3f0.js → OrExpansionPanel.vue_vue_type_script_lang-7c10d683.js} +4 -5
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-059752a4.js → OrFab.vue_vue_type_script_lang-b0ce93d9.js} +3 -4
- package/dist/bundled/v3/{OrFloating-c505cc90.js → OrFloating-b6672a37.js} +1 -1
- package/dist/bundled/v3/{OrFloating.vue_vue_type_script_lang-0ade39d3.js → OrFloating.vue_vue_type_script_lang-8bf2b7ae.js} +3 -4
- package/dist/bundled/v3/{OrHint-ca2ebe32.js → OrHint-c235be5d.js} +2 -2
- package/dist/bundled/v3/{OrHint-314596a4.js → OrHint-c9114268.js} +1 -1
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-b1871818.js → OrHint.vue_vue_type_script_lang-6286277d.js} +2 -3
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-28fde212.js → OrHint.vue_vue_type_script_lang-78598c8e.js} +1 -1
- package/dist/bundled/v3/{OrIcon-223093d8.js → OrIcon-1cae8a64.js} +1 -1
- package/dist/bundled/v3/{OrIcon-51dd7fb2.js → OrIcon-42f0bfba.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-73fde058.js → OrIcon.vue_vue_type_script_lang-63684968.js} +2 -3
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-079e1007.js → OrIcon.vue_vue_type_script_lang-7e3a17fe.js} +4 -5
- package/dist/bundled/v3/{OrIconButton-f2cbab48.js → OrIconButton-189fec1e.js} +1 -1
- package/dist/bundled/v3/{OrIconButton-d5f6adfe.js → OrIconButton-e637158e.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-26576d68.js → OrIconButton.vue_vue_type_script_lang-40547ab0.js} +7 -8
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-a877b863.js → OrIconButton.vue_vue_type_script_lang-fc55e259.js} +5 -7
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-2edc04c0.js → OrInlineInput.vue_vue_type_script_lang-3ff47f4c.js} +9 -10
- package/dist/bundled/v3/{OrInlineInputBox-6853c15b.js → OrInlineInputBox-2eede01a.js} +1 -1
- package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-e774f6a9.js → OrInlineInputBox.vue_vue_type_script_lang-23b531ad.js} +2 -3
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-9fadeb08.js → OrInlineTextEdit.vue_vue_type_script_lang-da6887aa.js} +8 -9
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8912aa74.js → OrInlineTextarea.vue_vue_type_script_lang-f648240f.js} +9 -10
- package/dist/bundled/v3/{OrInput-c2ea89c4.js → OrInput-7d4b571a.js} +10 -12
- package/dist/bundled/v3/{OrInput-030bfa54.js → OrInput-890c1096.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-78f8a28f.js → OrInput.vue_vue_type_script_lang-3db74e71.js} +13 -14
- package/dist/bundled/v3/{OrInputBox-e0f0ef02.js → OrInputBox-81385a91.js} +1 -1
- package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-52a587c0.js → OrInputBox.vue_vue_type_script_lang-760097b4.js} +2 -3
- package/dist/bundled/v3/{OrLabel-64c21fdf.js → OrLabel-2809e2db.js} +1 -1
- package/dist/bundled/v3/{OrLabel-507a8caf.js → OrLabel-e412c532.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-2c1b25a1.js → OrLabel.vue_vue_type_script_lang-27f8b12d.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-83330c0f.js → OrLabel.vue_vue_type_script_lang-e42de5d1.js} +2 -3
- package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-51cd6568.js → OrLink.vue_vue_type_script_lang-9d3a32c7.js} +2 -3
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-b0a36c16.js → OrList.vue_vue_type_script_lang-c7ab26a0.js} +11 -11
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-cdfcf4ff.js → OrListOfInputs.vue_vue_type_script_lang-62dbf1e7.js} +7 -8
- package/dist/bundled/v3/{OrLoader-7e513800.js → OrLoader-65868e73.js} +1 -1
- package/dist/bundled/v3/{OrLoader-f4bf7e03.js → OrLoader-ee97fef4.js} +1 -1
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-fb938b93.js → OrLoader.vue_vue_type_script_lang-1378ab8e.js} +1 -1
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-9f524853.js → OrLoader.vue_vue_type_script_lang-edd1b404.js} +2 -3
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-08f490af.js → OrMenu.vue_vue_type_script_lang-ae4e9c15.js} +4 -5
- package/dist/bundled/v3/{OrMenuItem-9dd090e6.js → OrMenuItem-3565d1cd.js} +1 -1
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-8d7c58f5.js → OrMenuItem.vue_vue_type_script_lang-62a411d8.js} +4 -5
- package/dist/bundled/v3/{OrModal-a3166776.js → OrModal-868160ef.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-4b0f8a17.js → OrModal.vue_vue_type_script_lang-a1ed2ebb.js} +5 -7
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-ebedb468.js → OrModal.vue_vue_type_script_lang-dcdef24b.js} +6 -7
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-201ed9ab.js → OrNotification.vue_vue_type_script_lang-07163a83.js} +5 -5
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-6e1cd5c2.js → OrNotification.vue_vue_type_script_lang-6d194533.js} +6 -7
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-fcc169b6.js → OrOverflowMenu.vue_vue_type_script_lang-0397533d.js} +7 -9
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-8e070bf3.js → OrOverlay.vue_vue_type_script_lang-4551114e.js} +4 -6
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-8a9a0a30.js → OrOverlay.vue_vue_type_script_lang-b9bf5e50.js} +1 -1
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-dcefb34b.js → OrPassword.vue_vue_type_script_lang-13bc5b00.js} +14 -15
- package/dist/bundled/v3/{OrPopover-8e85ed36.js → OrPopover-398a66a7.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-ab2c9b83.js → OrPopover.vue_vue_type_script_lang-b6b78855.js} +7 -9
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-df72260d.js → OrProgress.vue_vue_type_script_lang-3f9ec654.js} +1 -1
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-c8e8b986.js → OrProgress.vue_vue_type_script_lang-a73c0acf.js} +3 -4
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-67ff8eb8.js → OrRadio.vue_vue_type_script_lang-c956b54b.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2f152d06.js → OrRadio.vue_vue_type_script_lang-e64b14a1.js} +4 -5
- package/dist/bundled/v3/{OrRadioGroup.vue_vue_type_script_lang-cdab1bf9.js → OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-79429563.js → OrSearch.vue_vue_type_script_lang-16fbccc0.js} +4 -5
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-6a509b35.js → OrSearch.vue_vue_type_script_lang-90c5c749.js} +5 -6
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-305769eb.js → OrSegmentedControl.vue_vue_type_script_lang-16a52048.js} +2 -4
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-edf60519.js → OrSelect.vue_vue_type_script_lang-17a83746.js} +22 -24
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-bf266c01.js → OrSelect.vue_vue_type_script_lang-3a6efd93.js} +13 -15
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-8f610552.js → OrSidebar.vue_vue_type_script_lang-7c55ac0a.js} +1 -2
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-dfea0de4.js → OrSidebar.vue_vue_type_script_lang-ce0b152c.js} +1 -2
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-fff544e0.js → OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js} +2 -3
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-6c15a5dd.js → OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-4b15a5bb.js → OrSlider.vue_vue_type_script_lang-d47ff040.js} +4 -5
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-d98b4549.js → OrSortHeader.vue_vue_type_script_lang-4a52bcce.js} +4 -5
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-266d15b6.js → OrStepper.vue_vue_type_script_lang-7de7c1ad.js} +3 -4
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-eb968e26.js → OrSwitch.vue_vue_type_script_lang-b40bf75f.js} +6 -7
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-960ccf27.js → OrSwitch.vue_vue_type_script_lang-f55d33f4.js} +3 -3
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-064b4fbe.js → OrTab.vue_vue_type_script_lang-671949b7.js} +2 -3
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-d31e60e0.js → OrTab.vue_vue_type_script_lang-de7c7063.js} +1 -2
- package/dist/bundled/v3/{OrTabHeaderItem.vue_vue_type_script_lang-1f7ecac2.js → OrTabHeaderItem.vue_vue_type_script_lang-e1f29563.js} +1 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-06bfede1.js → OrTabs.vue_vue_type_script_lang-3662aa75.js} +8 -10
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-f627fa97.js → OrTabs.vue_vue_type_script_lang-40e2a6e9.js} +2 -3
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-25a333ab.js → OrTag.vue_vue_type_script_lang-0a172b96.js} +4 -5
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-7df3cd84.js → OrTag.vue_vue_type_script_lang-8c526c11.js} +3 -3
- package/dist/bundled/v3/{OrTeleport.vue3.vue_vue_type_script_lang-8243a277.js → OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js} +1 -1
- package/dist/bundled/v3/{OrTeleportVue3-fe3e38da.js → OrTeleportVue3-012351e1.js} +1 -2
- package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-820a1823.js → OrText.vue_vue_type_script_lang-d9525d49.js} +2 -3
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-b6fd2a48.js → OrTextarea.vue_vue_type_script_lang-d5a64917.js} +9 -10
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-0c3ee535.js → OrTextbox.vue_vue_type_script_lang-b5c4a93a.js} +13 -14
- package/dist/bundled/v3/{OrToastContainer-0e63f26e.js → OrToastContainer-ac655b5e.js} +1 -1
- package/dist/bundled/v3/{OrToastContainer-b6398f5c.js → OrToastContainer-f5525225.js} +1 -1
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-40cdb9ca.js → OrToastContainer.vue_vue_type_script_lang-4bb702ce.js} +6 -7
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-ac4d2d8a.js → OrTooltip.vue_vue_type_script_lang-d8bca183.js} +4 -5
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-cb79b9c8.js → OrTooltip.vue_vue_type_script_lang-fa52d391.js} +4 -5
- package/dist/bundled/v3/{OrTooltipContent-42bcf4a4.js → OrTooltipContent-b0dcb862.js} +1 -2
- package/dist/bundled/v3/components/index.js +125 -127
- package/dist/bundled/v3/components/or-avatar/index.js +9 -11
- package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +5 -7
- package/dist/bundled/v3/components/or-button/index.js +4 -6
- package/dist/bundled/v3/components/or-button-v2/index.js +13 -15
- package/dist/bundled/v3/components/or-button-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-card/index.js +2 -3
- package/dist/bundled/v3/components/or-card-collection/index.js +24 -26
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +25 -27
- package/dist/bundled/v3/components/or-card-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-carousel/index.js +9 -11
- package/dist/bundled/v3/components/or-checkbox/index.js +9 -11
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-chips/index.js +14 -16
- package/dist/bundled/v3/components/or-code/index.js +22 -24
- package/dist/bundled/v3/components/or-collapse/index.js +3 -4
- package/dist/bundled/v3/components/or-color-picker/index.js +6 -8
- package/dist/bundled/v3/components/or-confirm/index.js +29 -31
- package/dist/bundled/v3/components/or-confirm-v3/index.js +28 -30
- package/dist/bundled/v3/components/or-date-time-picker/index.js +22 -24
- package/dist/bundled/v3/components/or-error/index.js +2 -3
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-error-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-fab-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-floating/index.js +4 -6
- package/dist/bundled/v3/components/or-hint/index.js +2 -3
- package/dist/bundled/v3/components/or-hint-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-icon/index.js +7 -9
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +12 -14
- package/dist/bundled/v3/components/or-icon-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +19 -21
- package/dist/bundled/v3/components/or-inline-text-edit/index.js +18 -20
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +19 -21
- package/dist/bundled/v3/components/or-input-box-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-input-v3/index.js +21 -23
- package/dist/bundled/v3/components/or-inputs/index.js +25 -27
- package/dist/bundled/v3/components/or-label/index.js +2 -3
- package/dist/bundled/v3/components/or-label-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-link-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-list/index.js +20 -22
- package/dist/bundled/v3/components/or-list-of-inputs/index.js +26 -28
- package/dist/bundled/v3/components/or-loader/index.js +2 -3
- package/dist/bundled/v3/components/or-loader-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-menu-v3/index.js +9 -11
- package/dist/bundled/v3/components/or-modal/index.js +15 -17
- package/dist/bundled/v3/components/or-modal-v3/index.js +15 -17
- package/dist/bundled/v3/components/or-notification/index.js +14 -16
- package/dist/bundled/v3/components/or-notification-v3/index.js +14 -16
- package/dist/bundled/v3/components/or-overflow-menu/index.js +16 -18
- package/dist/bundled/v3/components/or-overlay/index.js +2 -3
- package/dist/bundled/v3/components/or-overlay-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-popover-v3/index.js +7 -9
- package/dist/bundled/v3/components/or-progress/index.js +2 -3
- package/dist/bundled/v3/components/or-progress-v3/index.js +4 -5
- package/dist/bundled/v3/components/or-radio/index.js +2 -3
- package/dist/bundled/v3/components/or-radio-group/index.js +2 -3
- package/dist/bundled/v3/components/or-radio-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-search-v3/index.js +24 -26
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +2 -4
- package/dist/bundled/v3/components/or-select/index.js +17 -19
- package/dist/bundled/v3/components/or-select-v3/index.js +30 -32
- package/dist/bundled/v3/components/or-sidebar/index.js +2 -3
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +2 -3
- package/dist/bundled/v3/components/or-skeleton/index.js +2 -3
- package/dist/bundled/v3/components/or-skeleton-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-slider/index.js +9 -11
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +4 -6
- package/dist/bundled/v3/components/or-stepper/index.js +13 -15
- package/dist/bundled/v3/components/or-switch/index.js +4 -6
- package/dist/bundled/v3/components/or-switch-v3/index.js +6 -8
- package/dist/bundled/v3/components/or-tab/index.js +2 -3
- package/dist/bundled/v3/components/or-tab-header-item/index.js +2 -3
- package/dist/bundled/v3/components/or-tab-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-tabs/index.js +3 -5
- package/dist/bundled/v3/components/or-tabs-v3/index.js +15 -17
- package/dist/bundled/v3/components/or-tag/index.js +9 -11
- package/dist/bundled/v3/components/or-tag-v3/index.js +14 -16
- package/dist/bundled/v3/components/or-teleport/index.js +1 -3
- package/dist/bundled/v3/components/or-teleport-v3/index.js +2 -3
- package/dist/bundled/v3/components/or-text-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-textarea-v3/index.js +9 -11
- package/dist/bundled/v3/components/or-textbox/index.js +23 -25
- package/dist/bundled/v3/components/or-toast/composable/index.js +2 -2
- package/dist/bundled/v3/components/or-toast/index.js +17 -19
- package/dist/bundled/v3/components/or-toast-v3/composable/index.js +2 -2
- package/dist/bundled/v3/components/or-toast-v3/index.js +18 -20
- package/dist/bundled/v3/components/or-tooltip/index.js +7 -9
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +9 -11
- package/dist/bundled/v3/directives/index.js +2 -1
- package/dist/bundled/v3/{dom-457196ca.js → dom-d21d0a92.js} +1 -1
- package/dist/bundled/v3/{dropdown-open-49be89ba.js → dropdown-open-293d2de2.js} +2 -0
- package/dist/bundled/v3/hooks/index.js +6 -7
- package/dist/bundled/v3/hooks/useResponsive/index.js +2 -2
- package/dist/bundled/v3/{index-f1ca369e.js → index-01519e46.js} +1 -2
- package/dist/bundled/v3/index.js +173 -175
- package/dist/bundled/v3/{types-f86f81df.js → types-1df2ebd8.js} +8 -10
- package/dist/bundled/v3/{useClassAttribute-1af05c57.js → useClassAttribute-00888f78.js} +1 -1
- package/dist/bundled/v3/{useElevation-60df0bf0.js → useElevation-6aea372d.js} +1 -2
- package/dist/bundled/v3/{useOverflow-c8417b59.js → useOverflow-2468b718.js} +1 -2
- package/dist/bundled/v3/{useResponsive-083b7371.js → useResponsive-9d397e2a.js} +1 -1
- package/dist/bundled/v3/{useToast-1d55a787.js → useToast-4d4329cd.js} +1 -1
- package/dist/bundled/v3/{useToast-90a218be.js → useToast-d5b3c109.js} +1 -1
- package/dist/bundled/v3/{useToggle-2d329d86.js → useToggle-09b6cb90.js} +1 -1
- package/package.json +2 -2
- package/dist/bundled/v3/reactivity.esm-bundler-942db00f.js +0 -957
- package/dist/bundled/v3/runtime-core.esm-bundler-d2b749cd.js +0 -825
|
@@ -1,825 +0,0 @@
|
|
|
1
|
-
import { i as isRef, b as isShallow, c as isReactive, d as isArray, e as isFunction, N as NOOP, R as ReactiveEffect, f as remove, E as EMPTY_OBJ, g as computed$1, h as isObject, j as hasChanged, k as isSet, l as isMap, m as isPlainObject, n as NO, o as isString, p as normalizeClass, q as isProxy, s as extend, v as normalizeStyle, w as isOn, x as isPromise, y as pauseTracking, z as resetTracking, A as track } from './reactivity.esm-bundler-942db00f.js';
|
|
2
|
-
|
|
3
|
-
function callWithErrorHandling(fn, instance, type, args) {
|
|
4
|
-
let res;
|
|
5
|
-
try {
|
|
6
|
-
res = args ? fn(...args) : fn();
|
|
7
|
-
} catch (err) {
|
|
8
|
-
handleError(err, instance, type);
|
|
9
|
-
}
|
|
10
|
-
return res;
|
|
11
|
-
}
|
|
12
|
-
function callWithAsyncErrorHandling(fn, instance, type, args) {
|
|
13
|
-
if (isFunction(fn)) {
|
|
14
|
-
const res = callWithErrorHandling(fn, instance, type, args);
|
|
15
|
-
if (res && isPromise(res)) {
|
|
16
|
-
res.catch(err => {
|
|
17
|
-
handleError(err, instance, type);
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
return res;
|
|
21
|
-
}
|
|
22
|
-
const values = [];
|
|
23
|
-
for (let i = 0; i < fn.length; i++) {
|
|
24
|
-
values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));
|
|
25
|
-
}
|
|
26
|
-
return values;
|
|
27
|
-
}
|
|
28
|
-
function handleError(err, instance, type, throwInDev = true) {
|
|
29
|
-
const contextVNode = instance ? instance.vnode : null;
|
|
30
|
-
if (instance) {
|
|
31
|
-
let cur = instance.parent;
|
|
32
|
-
// the exposed instance is the render proxy to keep it consistent with 2.x
|
|
33
|
-
const exposedInstance = instance.proxy;
|
|
34
|
-
// in production the hook receives only the error code
|
|
35
|
-
const errorInfo = type;
|
|
36
|
-
while (cur) {
|
|
37
|
-
const errorCapturedHooks = cur.ec;
|
|
38
|
-
if (errorCapturedHooks) {
|
|
39
|
-
for (let i = 0; i < errorCapturedHooks.length; i++) {
|
|
40
|
-
if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
cur = cur.parent;
|
|
46
|
-
}
|
|
47
|
-
// app-level handling
|
|
48
|
-
const appErrorHandler = instance.appContext.config.errorHandler;
|
|
49
|
-
if (appErrorHandler) {
|
|
50
|
-
callWithErrorHandling(appErrorHandler, null, 10 /* ErrorCodes.APP_ERROR_HANDLER */, [err, exposedInstance, errorInfo]);
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
logError(err, type, contextVNode, throwInDev);
|
|
55
|
-
}
|
|
56
|
-
function logError(err, type, contextVNode, throwInDev = true) {
|
|
57
|
-
{
|
|
58
|
-
// recover in prod to reduce the impact on end-user
|
|
59
|
-
console.error(err);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
let isFlushing = false;
|
|
63
|
-
let isFlushPending = false;
|
|
64
|
-
const queue = [];
|
|
65
|
-
let flushIndex = 0;
|
|
66
|
-
const pendingPostFlushCbs = [];
|
|
67
|
-
let activePostFlushCbs = null;
|
|
68
|
-
let postFlushIndex = 0;
|
|
69
|
-
const resolvedPromise = /*#__PURE__*/Promise.resolve();
|
|
70
|
-
let currentFlushPromise = null;
|
|
71
|
-
function nextTick(fn) {
|
|
72
|
-
const p = currentFlushPromise || resolvedPromise;
|
|
73
|
-
return fn ? p.then(this ? fn.bind(this) : fn) : p;
|
|
74
|
-
}
|
|
75
|
-
// #2768
|
|
76
|
-
// Use binary-search to find a suitable position in the queue,
|
|
77
|
-
// so that the queue maintains the increasing order of job's id,
|
|
78
|
-
// which can prevent the job from being skipped and also can avoid repeated patching.
|
|
79
|
-
function findInsertionIndex(id) {
|
|
80
|
-
// the start index should be `flushIndex + 1`
|
|
81
|
-
let start = flushIndex + 1;
|
|
82
|
-
let end = queue.length;
|
|
83
|
-
while (start < end) {
|
|
84
|
-
const middle = start + end >>> 1;
|
|
85
|
-
const middleJobId = getId(queue[middle]);
|
|
86
|
-
middleJobId < id ? start = middle + 1 : end = middle;
|
|
87
|
-
}
|
|
88
|
-
return start;
|
|
89
|
-
}
|
|
90
|
-
function queueJob(job) {
|
|
91
|
-
// the dedupe search uses the startIndex argument of Array.includes()
|
|
92
|
-
// by default the search index includes the current job that is being run
|
|
93
|
-
// so it cannot recursively trigger itself again.
|
|
94
|
-
// if the job is a watch() callback, the search will start with a +1 index to
|
|
95
|
-
// allow it recursively trigger itself - it is the user's responsibility to
|
|
96
|
-
// ensure it doesn't end up in an infinite loop.
|
|
97
|
-
if (!queue.length || !queue.includes(job, isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex)) {
|
|
98
|
-
if (job.id == null) {
|
|
99
|
-
queue.push(job);
|
|
100
|
-
} else {
|
|
101
|
-
queue.splice(findInsertionIndex(job.id), 0, job);
|
|
102
|
-
}
|
|
103
|
-
queueFlush();
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
function queueFlush() {
|
|
107
|
-
if (!isFlushing && !isFlushPending) {
|
|
108
|
-
isFlushPending = true;
|
|
109
|
-
currentFlushPromise = resolvedPromise.then(flushJobs);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
function queuePostFlushCb(cb) {
|
|
113
|
-
if (!isArray(cb)) {
|
|
114
|
-
if (!activePostFlushCbs || !activePostFlushCbs.includes(cb, cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex)) {
|
|
115
|
-
pendingPostFlushCbs.push(cb);
|
|
116
|
-
}
|
|
117
|
-
} else {
|
|
118
|
-
// if cb is an array, it is a component lifecycle hook which can only be
|
|
119
|
-
// triggered by a job, which is already deduped in the main queue, so
|
|
120
|
-
// we can skip duplicate check here to improve perf
|
|
121
|
-
pendingPostFlushCbs.push(...cb);
|
|
122
|
-
}
|
|
123
|
-
queueFlush();
|
|
124
|
-
}
|
|
125
|
-
function flushPostFlushCbs(seen) {
|
|
126
|
-
if (pendingPostFlushCbs.length) {
|
|
127
|
-
const deduped = [...new Set(pendingPostFlushCbs)];
|
|
128
|
-
pendingPostFlushCbs.length = 0;
|
|
129
|
-
// #1947 already has active queue, nested flushPostFlushCbs call
|
|
130
|
-
if (activePostFlushCbs) {
|
|
131
|
-
activePostFlushCbs.push(...deduped);
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
activePostFlushCbs = deduped;
|
|
135
|
-
activePostFlushCbs.sort((a, b) => getId(a) - getId(b));
|
|
136
|
-
for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {
|
|
137
|
-
activePostFlushCbs[postFlushIndex]();
|
|
138
|
-
}
|
|
139
|
-
activePostFlushCbs = null;
|
|
140
|
-
postFlushIndex = 0;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
const getId = job => job.id == null ? Infinity : job.id;
|
|
144
|
-
const comparator = (a, b) => {
|
|
145
|
-
const diff = getId(a) - getId(b);
|
|
146
|
-
if (diff === 0) {
|
|
147
|
-
if (a.pre && !b.pre) return -1;
|
|
148
|
-
if (b.pre && !a.pre) return 1;
|
|
149
|
-
}
|
|
150
|
-
return diff;
|
|
151
|
-
};
|
|
152
|
-
function flushJobs(seen) {
|
|
153
|
-
isFlushPending = false;
|
|
154
|
-
isFlushing = true;
|
|
155
|
-
// Sort queue before flush.
|
|
156
|
-
// This ensures that:
|
|
157
|
-
// 1. Components are updated from parent to child. (because parent is always
|
|
158
|
-
// created before the child so its render effect will have smaller
|
|
159
|
-
// priority number)
|
|
160
|
-
// 2. If a component is unmounted during a parent component's update,
|
|
161
|
-
// its update can be skipped.
|
|
162
|
-
queue.sort(comparator);
|
|
163
|
-
// conditional usage of checkRecursiveUpdate must be determined out of
|
|
164
|
-
// try ... catch block since Rollup by default de-optimizes treeshaking
|
|
165
|
-
// inside try-catch. This can leave all warning code unshaked. Although
|
|
166
|
-
// they would get eventually shaken by a minifier like terser, some minifiers
|
|
167
|
-
// would fail to do that (e.g. https://github.com/evanw/esbuild/issues/1610)
|
|
168
|
-
const check = NOOP;
|
|
169
|
-
try {
|
|
170
|
-
for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {
|
|
171
|
-
const job = queue[flushIndex];
|
|
172
|
-
if (job && job.active !== false) {
|
|
173
|
-
if ("production" !== 'production' && check(job)) ;
|
|
174
|
-
// console.log(`running:`, job.id)
|
|
175
|
-
callWithErrorHandling(job, null, 14 /* ErrorCodes.SCHEDULER */);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
} finally {
|
|
179
|
-
flushIndex = 0;
|
|
180
|
-
queue.length = 0;
|
|
181
|
-
flushPostFlushCbs();
|
|
182
|
-
isFlushing = false;
|
|
183
|
-
currentFlushPromise = null;
|
|
184
|
-
// some postFlushCb queued jobs!
|
|
185
|
-
// keep flushing until it drains.
|
|
186
|
-
if (queue.length || pendingPostFlushCbs.length) {
|
|
187
|
-
flushJobs();
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* mark the current rendering instance for asset resolution (e.g.
|
|
194
|
-
* resolveComponent, resolveDirective) during render
|
|
195
|
-
*/
|
|
196
|
-
let currentRenderingInstance = null;
|
|
197
|
-
let currentScopeId = null;
|
|
198
|
-
const isSuspense = type => type.__isSuspense;
|
|
199
|
-
function queueEffectWithSuspense(fn, suspense) {
|
|
200
|
-
if (suspense && suspense.pendingBranch) {
|
|
201
|
-
if (isArray(fn)) {
|
|
202
|
-
suspense.effects.push(...fn);
|
|
203
|
-
} else {
|
|
204
|
-
suspense.effects.push(fn);
|
|
205
|
-
}
|
|
206
|
-
} else {
|
|
207
|
-
queuePostFlushCb(fn);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
function provide(key, value) {
|
|
211
|
-
if (!currentInstance) ; else {
|
|
212
|
-
let provides = currentInstance.provides;
|
|
213
|
-
// by default an instance inherits its parent's provides object
|
|
214
|
-
// but when it needs to provide values of its own, it creates its
|
|
215
|
-
// own provides object using parent provides object as prototype.
|
|
216
|
-
// this way in `inject` we can simply look up injections from direct
|
|
217
|
-
// parent and let the prototype chain do the work.
|
|
218
|
-
const parentProvides = currentInstance.parent && currentInstance.parent.provides;
|
|
219
|
-
if (parentProvides === provides) {
|
|
220
|
-
provides = currentInstance.provides = Object.create(parentProvides);
|
|
221
|
-
}
|
|
222
|
-
// TS doesn't allow symbol as index type
|
|
223
|
-
provides[key] = value;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
227
|
-
// fallback to `currentRenderingInstance` so that this can be called in
|
|
228
|
-
// a functional component
|
|
229
|
-
const instance = currentInstance || currentRenderingInstance;
|
|
230
|
-
if (instance) {
|
|
231
|
-
// #2400
|
|
232
|
-
// to support `app.use` plugins,
|
|
233
|
-
// fallback to appContext's `provides` if the instance is at root
|
|
234
|
-
const provides = instance.parent == null ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides;
|
|
235
|
-
if (provides && key in provides) {
|
|
236
|
-
// TS doesn't allow symbol as index type
|
|
237
|
-
return provides[key];
|
|
238
|
-
} else if (arguments.length > 1) {
|
|
239
|
-
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance.proxy) : defaultValue;
|
|
240
|
-
} else ;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
function watchPostEffect(effect, options) {
|
|
244
|
-
return doWatch(effect, null, {
|
|
245
|
-
flush: 'post'
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
// initial value for watchers to trigger on undefined initial values
|
|
249
|
-
const INITIAL_WATCHER_VALUE = {};
|
|
250
|
-
// implementation
|
|
251
|
-
function watch(source, cb, options) {
|
|
252
|
-
return doWatch(source, cb, options);
|
|
253
|
-
}
|
|
254
|
-
function doWatch(source, cb, {
|
|
255
|
-
immediate,
|
|
256
|
-
deep,
|
|
257
|
-
flush,
|
|
258
|
-
onTrack,
|
|
259
|
-
onTrigger
|
|
260
|
-
} = EMPTY_OBJ) {
|
|
261
|
-
const instance = currentInstance;
|
|
262
|
-
let getter;
|
|
263
|
-
let forceTrigger = false;
|
|
264
|
-
let isMultiSource = false;
|
|
265
|
-
if (isRef(source)) {
|
|
266
|
-
getter = () => source.value;
|
|
267
|
-
forceTrigger = isShallow(source);
|
|
268
|
-
} else if (isReactive(source)) {
|
|
269
|
-
getter = () => source;
|
|
270
|
-
deep = true;
|
|
271
|
-
} else if (isArray(source)) {
|
|
272
|
-
isMultiSource = true;
|
|
273
|
-
forceTrigger = source.some(s => isReactive(s) || isShallow(s));
|
|
274
|
-
getter = () => source.map(s => {
|
|
275
|
-
if (isRef(s)) {
|
|
276
|
-
return s.value;
|
|
277
|
-
} else if (isReactive(s)) {
|
|
278
|
-
return traverse(s);
|
|
279
|
-
} else if (isFunction(s)) {
|
|
280
|
-
return callWithErrorHandling(s, instance, 2 /* ErrorCodes.WATCH_GETTER */);
|
|
281
|
-
} else ;
|
|
282
|
-
});
|
|
283
|
-
} else if (isFunction(source)) {
|
|
284
|
-
if (cb) {
|
|
285
|
-
// getter with cb
|
|
286
|
-
getter = () => callWithErrorHandling(source, instance, 2 /* ErrorCodes.WATCH_GETTER */);
|
|
287
|
-
} else {
|
|
288
|
-
// no cb -> simple effect
|
|
289
|
-
getter = () => {
|
|
290
|
-
if (instance && instance.isUnmounted) {
|
|
291
|
-
return;
|
|
292
|
-
}
|
|
293
|
-
if (cleanup) {
|
|
294
|
-
cleanup();
|
|
295
|
-
}
|
|
296
|
-
return callWithAsyncErrorHandling(source, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [onCleanup]);
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
} else {
|
|
300
|
-
getter = NOOP;
|
|
301
|
-
}
|
|
302
|
-
if (cb && deep) {
|
|
303
|
-
const baseGetter = getter;
|
|
304
|
-
getter = () => traverse(baseGetter());
|
|
305
|
-
}
|
|
306
|
-
let cleanup;
|
|
307
|
-
let onCleanup = fn => {
|
|
308
|
-
cleanup = effect.onStop = () => {
|
|
309
|
-
callWithErrorHandling(fn, instance, 4 /* ErrorCodes.WATCH_CLEANUP */);
|
|
310
|
-
};
|
|
311
|
-
};
|
|
312
|
-
// in SSR there is no need to setup an actual effect, and it should be noop
|
|
313
|
-
// unless it's eager
|
|
314
|
-
if (isInSSRComponentSetup) {
|
|
315
|
-
// we will also not call the invalidate callback (+ runner is not set up)
|
|
316
|
-
onCleanup = NOOP;
|
|
317
|
-
if (!cb) {
|
|
318
|
-
getter();
|
|
319
|
-
} else if (immediate) {
|
|
320
|
-
callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [getter(), isMultiSource ? [] : undefined, onCleanup]);
|
|
321
|
-
}
|
|
322
|
-
return NOOP;
|
|
323
|
-
}
|
|
324
|
-
let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;
|
|
325
|
-
const job = () => {
|
|
326
|
-
if (!effect.active) {
|
|
327
|
-
return;
|
|
328
|
-
}
|
|
329
|
-
if (cb) {
|
|
330
|
-
// watch(source, cb)
|
|
331
|
-
const newValue = effect.run();
|
|
332
|
-
if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue)) || false) {
|
|
333
|
-
// cleanup before running cb again
|
|
334
|
-
if (cleanup) {
|
|
335
|
-
cleanup();
|
|
336
|
-
}
|
|
337
|
-
callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [newValue,
|
|
338
|
-
// pass undefined as the old value when it's changed for the first time
|
|
339
|
-
oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue, onCleanup]);
|
|
340
|
-
oldValue = newValue;
|
|
341
|
-
}
|
|
342
|
-
} else {
|
|
343
|
-
// watchEffect
|
|
344
|
-
effect.run();
|
|
345
|
-
}
|
|
346
|
-
};
|
|
347
|
-
// important: mark the job as a watcher callback so that scheduler knows
|
|
348
|
-
// it is allowed to self-trigger (#1727)
|
|
349
|
-
job.allowRecurse = !!cb;
|
|
350
|
-
let scheduler;
|
|
351
|
-
if (flush === 'sync') {
|
|
352
|
-
scheduler = job; // the scheduler function gets called directly
|
|
353
|
-
} else if (flush === 'post') {
|
|
354
|
-
scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);
|
|
355
|
-
} else {
|
|
356
|
-
// default: 'pre'
|
|
357
|
-
job.pre = true;
|
|
358
|
-
if (instance) job.id = instance.uid;
|
|
359
|
-
scheduler = () => queueJob(job);
|
|
360
|
-
}
|
|
361
|
-
const effect = new ReactiveEffect(getter, scheduler);
|
|
362
|
-
// initial run
|
|
363
|
-
if (cb) {
|
|
364
|
-
if (immediate) {
|
|
365
|
-
job();
|
|
366
|
-
} else {
|
|
367
|
-
oldValue = effect.run();
|
|
368
|
-
}
|
|
369
|
-
} else if (flush === 'post') {
|
|
370
|
-
queuePostRenderEffect(effect.run.bind(effect), instance && instance.suspense);
|
|
371
|
-
} else {
|
|
372
|
-
effect.run();
|
|
373
|
-
}
|
|
374
|
-
return () => {
|
|
375
|
-
effect.stop();
|
|
376
|
-
if (instance && instance.scope) {
|
|
377
|
-
remove(instance.scope.effects, effect);
|
|
378
|
-
}
|
|
379
|
-
};
|
|
380
|
-
}
|
|
381
|
-
function traverse(value, seen) {
|
|
382
|
-
if (!isObject(value) || value["__v_skip" /* ReactiveFlags.SKIP */]) {
|
|
383
|
-
return value;
|
|
384
|
-
}
|
|
385
|
-
seen = seen || new Set();
|
|
386
|
-
if (seen.has(value)) {
|
|
387
|
-
return value;
|
|
388
|
-
}
|
|
389
|
-
seen.add(value);
|
|
390
|
-
if (isRef(value)) {
|
|
391
|
-
traverse(value.value, seen);
|
|
392
|
-
} else if (isArray(value)) {
|
|
393
|
-
for (let i = 0; i < value.length; i++) {
|
|
394
|
-
traverse(value[i], seen);
|
|
395
|
-
}
|
|
396
|
-
} else if (isSet(value) || isMap(value)) {
|
|
397
|
-
value.forEach(v => {
|
|
398
|
-
traverse(v, seen);
|
|
399
|
-
});
|
|
400
|
-
} else if (isPlainObject(value)) {
|
|
401
|
-
for (const key in value) {
|
|
402
|
-
traverse(value[key], seen);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
return value;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
// implementation, close to no-op
|
|
409
|
-
function defineComponent(options) {
|
|
410
|
-
return isFunction(options) ? {
|
|
411
|
-
setup: options,
|
|
412
|
-
name: options.name
|
|
413
|
-
} : options;
|
|
414
|
-
}
|
|
415
|
-
function injectHook(type, hook, target = currentInstance, prepend = false) {
|
|
416
|
-
if (target) {
|
|
417
|
-
const hooks = target[type] || (target[type] = []);
|
|
418
|
-
// cache the error handling wrapper for injected hooks so the same hook
|
|
419
|
-
// can be properly deduped by the scheduler. "__weh" stands for "with error
|
|
420
|
-
// handling".
|
|
421
|
-
const wrappedHook = hook.__weh || (hook.__weh = (...args) => {
|
|
422
|
-
if (target.isUnmounted) {
|
|
423
|
-
return;
|
|
424
|
-
}
|
|
425
|
-
// disable tracking inside all lifecycle hooks
|
|
426
|
-
// since they can potentially be called inside effects.
|
|
427
|
-
pauseTracking();
|
|
428
|
-
// Set currentInstance during hook invocation.
|
|
429
|
-
// This assumes the hook does not synchronously trigger other hooks, which
|
|
430
|
-
// can only be false when the user does something really funky.
|
|
431
|
-
setCurrentInstance(target);
|
|
432
|
-
const res = callWithAsyncErrorHandling(hook, target, type, args);
|
|
433
|
-
unsetCurrentInstance();
|
|
434
|
-
resetTracking();
|
|
435
|
-
return res;
|
|
436
|
-
});
|
|
437
|
-
if (prepend) {
|
|
438
|
-
hooks.unshift(wrappedHook);
|
|
439
|
-
} else {
|
|
440
|
-
hooks.push(wrappedHook);
|
|
441
|
-
}
|
|
442
|
-
return wrappedHook;
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
const createHook = lifecycle => (hook, target = currentInstance) =>
|
|
446
|
-
// post-create lifecycle registrations are noops during SSR (except for serverPrefetch)
|
|
447
|
-
injectHook(lifecycle, (...args) => hook(...args), target);
|
|
448
|
-
const onBeforeMount = createHook("bm" /* LifecycleHooks.BEFORE_MOUNT */);
|
|
449
|
-
const onMounted = createHook("m" /* LifecycleHooks.MOUNTED */);
|
|
450
|
-
const onBeforeUnmount = createHook("bum" /* LifecycleHooks.BEFORE_UNMOUNT */);
|
|
451
|
-
const NULL_DYNAMIC_COMPONENT = Symbol();
|
|
452
|
-
function createAppContext() {
|
|
453
|
-
return {
|
|
454
|
-
app: null,
|
|
455
|
-
config: {
|
|
456
|
-
isNativeTag: NO,
|
|
457
|
-
performance: false,
|
|
458
|
-
globalProperties: {},
|
|
459
|
-
optionMergeStrategies: {},
|
|
460
|
-
errorHandler: undefined,
|
|
461
|
-
warnHandler: undefined,
|
|
462
|
-
compilerOptions: {}
|
|
463
|
-
},
|
|
464
|
-
mixins: [],
|
|
465
|
-
components: {},
|
|
466
|
-
directives: {},
|
|
467
|
-
provides: Object.create(null),
|
|
468
|
-
optionsCache: new WeakMap(),
|
|
469
|
-
propsCache: new WeakMap(),
|
|
470
|
-
emitsCache: new WeakMap()
|
|
471
|
-
};
|
|
472
|
-
}
|
|
473
|
-
const queuePostRenderEffect = queueEffectWithSuspense;
|
|
474
|
-
const isTeleport = type => type.__isTeleport;
|
|
475
|
-
const Fragment = Symbol(undefined);
|
|
476
|
-
const Text = Symbol(undefined);
|
|
477
|
-
const Comment = Symbol(undefined);
|
|
478
|
-
let currentBlock = null;
|
|
479
|
-
|
|
480
|
-
function isVNode(value) {
|
|
481
|
-
return value ? value.__v_isVNode === true : false;
|
|
482
|
-
}
|
|
483
|
-
const InternalObjectKey = `__vInternal`;
|
|
484
|
-
const normalizeKey = ({
|
|
485
|
-
key
|
|
486
|
-
}) => key != null ? key : null;
|
|
487
|
-
const normalizeRef = ({
|
|
488
|
-
ref,
|
|
489
|
-
ref_key,
|
|
490
|
-
ref_for
|
|
491
|
-
}) => {
|
|
492
|
-
return ref != null ? isString(ref) || isRef(ref) || isFunction(ref) ? {
|
|
493
|
-
i: currentRenderingInstance,
|
|
494
|
-
r: ref,
|
|
495
|
-
k: ref_key,
|
|
496
|
-
f: !!ref_for
|
|
497
|
-
} : ref : null;
|
|
498
|
-
};
|
|
499
|
-
function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1 /* ShapeFlags.ELEMENT */, isBlockNode = false, needFullChildrenNormalization = false) {
|
|
500
|
-
const vnode = {
|
|
501
|
-
__v_isVNode: true,
|
|
502
|
-
__v_skip: true,
|
|
503
|
-
type,
|
|
504
|
-
props,
|
|
505
|
-
key: props && normalizeKey(props),
|
|
506
|
-
ref: props && normalizeRef(props),
|
|
507
|
-
scopeId: currentScopeId,
|
|
508
|
-
slotScopeIds: null,
|
|
509
|
-
children,
|
|
510
|
-
component: null,
|
|
511
|
-
suspense: null,
|
|
512
|
-
ssContent: null,
|
|
513
|
-
ssFallback: null,
|
|
514
|
-
dirs: null,
|
|
515
|
-
transition: null,
|
|
516
|
-
el: null,
|
|
517
|
-
anchor: null,
|
|
518
|
-
target: null,
|
|
519
|
-
targetAnchor: null,
|
|
520
|
-
staticCount: 0,
|
|
521
|
-
shapeFlag,
|
|
522
|
-
patchFlag,
|
|
523
|
-
dynamicProps,
|
|
524
|
-
dynamicChildren: null,
|
|
525
|
-
appContext: null
|
|
526
|
-
};
|
|
527
|
-
if (needFullChildrenNormalization) {
|
|
528
|
-
normalizeChildren(vnode, children);
|
|
529
|
-
// normalize suspense children
|
|
530
|
-
if (shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {
|
|
531
|
-
type.normalize(vnode);
|
|
532
|
-
}
|
|
533
|
-
} else if (children) {
|
|
534
|
-
// compiled element vnode - if children is passed, only possible types are
|
|
535
|
-
// string or Array.
|
|
536
|
-
vnode.shapeFlag |= isString(children) ? 8 /* ShapeFlags.TEXT_CHILDREN */ : 16 /* ShapeFlags.ARRAY_CHILDREN */;
|
|
537
|
-
}
|
|
538
|
-
// track vnode for block tree
|
|
539
|
-
if (// avoid a block node from tracking itself
|
|
540
|
-
!isBlockNode &&
|
|
541
|
-
// has current parent block
|
|
542
|
-
currentBlock && (
|
|
543
|
-
// presence of a patch flag indicates this node needs patching on updates.
|
|
544
|
-
// component nodes also should always be patched, because even if the
|
|
545
|
-
// component doesn't need to update, it needs to persist the instance on to
|
|
546
|
-
// the next vnode so that it can be properly unmounted later.
|
|
547
|
-
vnode.patchFlag > 0 || shapeFlag & 6 /* ShapeFlags.COMPONENT */) &&
|
|
548
|
-
// the EVENTS flag is only for hydration and if it is the only flag, the
|
|
549
|
-
// vnode should not be considered dynamic due to handler caching.
|
|
550
|
-
vnode.patchFlag !== 32 /* PatchFlags.HYDRATE_EVENTS */) {
|
|
551
|
-
currentBlock.push(vnode);
|
|
552
|
-
}
|
|
553
|
-
return vnode;
|
|
554
|
-
}
|
|
555
|
-
const createVNode = _createVNode;
|
|
556
|
-
function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
|
|
557
|
-
if (!type || type === NULL_DYNAMIC_COMPONENT) {
|
|
558
|
-
type = Comment;
|
|
559
|
-
}
|
|
560
|
-
if (isVNode(type)) {
|
|
561
|
-
// createVNode receiving an existing vnode. This happens in cases like
|
|
562
|
-
// <component :is="vnode"/>
|
|
563
|
-
// #2078 make sure to merge refs during the clone instead of overwriting it
|
|
564
|
-
const cloned = cloneVNode(type, props, true /* mergeRef: true */);
|
|
565
|
-
if (children) {
|
|
566
|
-
normalizeChildren(cloned, children);
|
|
567
|
-
}
|
|
568
|
-
if (!isBlockNode && currentBlock) {
|
|
569
|
-
if (cloned.shapeFlag & 6 /* ShapeFlags.COMPONENT */) {
|
|
570
|
-
currentBlock[currentBlock.indexOf(type)] = cloned;
|
|
571
|
-
} else {
|
|
572
|
-
currentBlock.push(cloned);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
cloned.patchFlag |= -2 /* PatchFlags.BAIL */;
|
|
576
|
-
return cloned;
|
|
577
|
-
}
|
|
578
|
-
// class component normalization.
|
|
579
|
-
if (isClassComponent(type)) {
|
|
580
|
-
type = type.__vccOpts;
|
|
581
|
-
}
|
|
582
|
-
// class & style normalization.
|
|
583
|
-
if (props) {
|
|
584
|
-
// for reactive or proxy objects, we need to clone it to enable mutation.
|
|
585
|
-
props = guardReactiveProps(props);
|
|
586
|
-
let {
|
|
587
|
-
class: klass,
|
|
588
|
-
style
|
|
589
|
-
} = props;
|
|
590
|
-
if (klass && !isString(klass)) {
|
|
591
|
-
props.class = normalizeClass(klass);
|
|
592
|
-
}
|
|
593
|
-
if (isObject(style)) {
|
|
594
|
-
// reactive state objects need to be cloned since they are likely to be
|
|
595
|
-
// mutated
|
|
596
|
-
if (isProxy(style) && !isArray(style)) {
|
|
597
|
-
style = extend({}, style);
|
|
598
|
-
}
|
|
599
|
-
props.style = normalizeStyle(style);
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
// encode the vnode type information into a bitmap
|
|
603
|
-
const shapeFlag = isString(type) ? 1 /* ShapeFlags.ELEMENT */ : isSuspense(type) ? 128 /* ShapeFlags.SUSPENSE */ : isTeleport(type) ? 64 /* ShapeFlags.TELEPORT */ : isObject(type) ? 4 /* ShapeFlags.STATEFUL_COMPONENT */ : isFunction(type) ? 2 /* ShapeFlags.FUNCTIONAL_COMPONENT */ : 0;
|
|
604
|
-
return createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, isBlockNode, true);
|
|
605
|
-
}
|
|
606
|
-
function guardReactiveProps(props) {
|
|
607
|
-
if (!props) return null;
|
|
608
|
-
return isProxy(props) || InternalObjectKey in props ? extend({}, props) : props;
|
|
609
|
-
}
|
|
610
|
-
function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
611
|
-
// This is intentionally NOT using spread or extend to avoid the runtime
|
|
612
|
-
// key enumeration cost.
|
|
613
|
-
const {
|
|
614
|
-
props,
|
|
615
|
-
ref,
|
|
616
|
-
patchFlag,
|
|
617
|
-
children
|
|
618
|
-
} = vnode;
|
|
619
|
-
const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;
|
|
620
|
-
const cloned = {
|
|
621
|
-
__v_isVNode: true,
|
|
622
|
-
__v_skip: true,
|
|
623
|
-
type: vnode.type,
|
|
624
|
-
props: mergedProps,
|
|
625
|
-
key: mergedProps && normalizeKey(mergedProps),
|
|
626
|
-
ref: extraProps && extraProps.ref ?
|
|
627
|
-
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
628
|
-
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
629
|
-
// the refs so the single vnode can be set on multiple refs
|
|
630
|
-
mergeRef && ref ? isArray(ref) ? ref.concat(normalizeRef(extraProps)) : [ref, normalizeRef(extraProps)] : normalizeRef(extraProps) : ref,
|
|
631
|
-
scopeId: vnode.scopeId,
|
|
632
|
-
slotScopeIds: vnode.slotScopeIds,
|
|
633
|
-
children: children,
|
|
634
|
-
target: vnode.target,
|
|
635
|
-
targetAnchor: vnode.targetAnchor,
|
|
636
|
-
staticCount: vnode.staticCount,
|
|
637
|
-
shapeFlag: vnode.shapeFlag,
|
|
638
|
-
// if the vnode is cloned with extra props, we can no longer assume its
|
|
639
|
-
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
640
|
-
// note: preserve flag for fragments since they use the flag for children
|
|
641
|
-
// fast paths only.
|
|
642
|
-
patchFlag: extraProps && vnode.type !== Fragment ? patchFlag === -1 // hoisted node
|
|
643
|
-
? 16 /* PatchFlags.FULL_PROPS */ : patchFlag | 16 /* PatchFlags.FULL_PROPS */ : patchFlag,
|
|
644
|
-
dynamicProps: vnode.dynamicProps,
|
|
645
|
-
dynamicChildren: vnode.dynamicChildren,
|
|
646
|
-
appContext: vnode.appContext,
|
|
647
|
-
dirs: vnode.dirs,
|
|
648
|
-
transition: vnode.transition,
|
|
649
|
-
// These should technically only be non-null on mounted VNodes. However,
|
|
650
|
-
// they *should* be copied for kept-alive vnodes. So we just always copy
|
|
651
|
-
// them since them being non-null during a mount doesn't affect the logic as
|
|
652
|
-
// they will simply be overwritten.
|
|
653
|
-
component: vnode.component,
|
|
654
|
-
suspense: vnode.suspense,
|
|
655
|
-
ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
|
|
656
|
-
ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
|
|
657
|
-
el: vnode.el,
|
|
658
|
-
anchor: vnode.anchor
|
|
659
|
-
};
|
|
660
|
-
return cloned;
|
|
661
|
-
}
|
|
662
|
-
/**
|
|
663
|
-
* @private
|
|
664
|
-
*/
|
|
665
|
-
function createTextVNode(text = ' ', flag = 0) {
|
|
666
|
-
return createVNode(Text, null, text, flag);
|
|
667
|
-
}
|
|
668
|
-
function normalizeChildren(vnode, children) {
|
|
669
|
-
let type = 0;
|
|
670
|
-
const {
|
|
671
|
-
shapeFlag
|
|
672
|
-
} = vnode;
|
|
673
|
-
if (children == null) {
|
|
674
|
-
children = null;
|
|
675
|
-
} else if (isArray(children)) {
|
|
676
|
-
type = 16 /* ShapeFlags.ARRAY_CHILDREN */;
|
|
677
|
-
} else if (typeof children === 'object') {
|
|
678
|
-
if (shapeFlag & (1 /* ShapeFlags.ELEMENT */ | 64 /* ShapeFlags.TELEPORT */)) {
|
|
679
|
-
// Normalize slot to plain children for plain element and Teleport
|
|
680
|
-
const slot = children.default;
|
|
681
|
-
if (slot) {
|
|
682
|
-
// _c marker is added by withCtx() indicating this is a compiled slot
|
|
683
|
-
slot._c && (slot._d = false);
|
|
684
|
-
normalizeChildren(vnode, slot());
|
|
685
|
-
slot._c && (slot._d = true);
|
|
686
|
-
}
|
|
687
|
-
return;
|
|
688
|
-
} else {
|
|
689
|
-
type = 32 /* ShapeFlags.SLOTS_CHILDREN */;
|
|
690
|
-
const slotFlag = children._;
|
|
691
|
-
if (!slotFlag && !(InternalObjectKey in children)) {
|
|
692
|
-
children._ctx = currentRenderingInstance;
|
|
693
|
-
} else if (slotFlag === 3 /* SlotFlags.FORWARDED */ && currentRenderingInstance) {
|
|
694
|
-
// a child component receives forwarded slots from the parent.
|
|
695
|
-
// its slot type is determined by its parent's slot type.
|
|
696
|
-
if (currentRenderingInstance.slots._ === 1 /* SlotFlags.STABLE */) {
|
|
697
|
-
children._ = 1 /* SlotFlags.STABLE */;
|
|
698
|
-
} else {
|
|
699
|
-
children._ = 2 /* SlotFlags.DYNAMIC */;
|
|
700
|
-
vnode.patchFlag |= 1024 /* PatchFlags.DYNAMIC_SLOTS */;
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
} else if (isFunction(children)) {
|
|
705
|
-
children = {
|
|
706
|
-
default: children,
|
|
707
|
-
_ctx: currentRenderingInstance
|
|
708
|
-
};
|
|
709
|
-
type = 32 /* ShapeFlags.SLOTS_CHILDREN */;
|
|
710
|
-
} else {
|
|
711
|
-
children = String(children);
|
|
712
|
-
// force teleport children to array so it can be moved around
|
|
713
|
-
if (shapeFlag & 64 /* ShapeFlags.TELEPORT */) {
|
|
714
|
-
type = 16 /* ShapeFlags.ARRAY_CHILDREN */;
|
|
715
|
-
children = [createTextVNode(children)];
|
|
716
|
-
} else {
|
|
717
|
-
type = 8 /* ShapeFlags.TEXT_CHILDREN */;
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
vnode.children = children;
|
|
722
|
-
vnode.shapeFlag |= type;
|
|
723
|
-
}
|
|
724
|
-
function mergeProps(...args) {
|
|
725
|
-
const ret = {};
|
|
726
|
-
for (let i = 0; i < args.length; i++) {
|
|
727
|
-
const toMerge = args[i];
|
|
728
|
-
for (const key in toMerge) {
|
|
729
|
-
if (key === 'class') {
|
|
730
|
-
if (ret.class !== toMerge.class) {
|
|
731
|
-
ret.class = normalizeClass([ret.class, toMerge.class]);
|
|
732
|
-
}
|
|
733
|
-
} else if (key === 'style') {
|
|
734
|
-
ret.style = normalizeStyle([ret.style, toMerge.style]);
|
|
735
|
-
} else if (isOn(key)) {
|
|
736
|
-
const existing = ret[key];
|
|
737
|
-
const incoming = toMerge[key];
|
|
738
|
-
if (incoming && existing !== incoming && !(isArray(existing) && existing.includes(incoming))) {
|
|
739
|
-
ret[key] = existing ? [].concat(existing, incoming) : incoming;
|
|
740
|
-
}
|
|
741
|
-
} else if (key !== '') {
|
|
742
|
-
ret[key] = toMerge[key];
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
return ret;
|
|
747
|
-
}
|
|
748
|
-
createAppContext();
|
|
749
|
-
let currentInstance = null;
|
|
750
|
-
const getCurrentInstance = () => currentInstance || currentRenderingInstance;
|
|
751
|
-
const setCurrentInstance = instance => {
|
|
752
|
-
currentInstance = instance;
|
|
753
|
-
instance.scope.on();
|
|
754
|
-
};
|
|
755
|
-
const unsetCurrentInstance = () => {
|
|
756
|
-
currentInstance && currentInstance.scope.off();
|
|
757
|
-
currentInstance = null;
|
|
758
|
-
};
|
|
759
|
-
|
|
760
|
-
let isInSSRComponentSetup = false;
|
|
761
|
-
function createAttrsProxy(instance) {
|
|
762
|
-
return new Proxy(instance.attrs, {
|
|
763
|
-
get(target, key) {
|
|
764
|
-
track(instance, "get" /* TrackOpTypes.GET */, '$attrs');
|
|
765
|
-
return target[key];
|
|
766
|
-
}
|
|
767
|
-
});
|
|
768
|
-
}
|
|
769
|
-
function createSetupContext(instance) {
|
|
770
|
-
const expose = exposed => {
|
|
771
|
-
instance.exposed = exposed || {};
|
|
772
|
-
};
|
|
773
|
-
let attrs;
|
|
774
|
-
{
|
|
775
|
-
return {
|
|
776
|
-
get attrs() {
|
|
777
|
-
return attrs || (attrs = createAttrsProxy(instance));
|
|
778
|
-
},
|
|
779
|
-
slots: instance.slots,
|
|
780
|
-
emit: instance.emit,
|
|
781
|
-
expose
|
|
782
|
-
};
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
function isClassComponent(value) {
|
|
786
|
-
return isFunction(value) && '__vccOpts' in value;
|
|
787
|
-
}
|
|
788
|
-
const computed = (getterOrOptions, debugOptions) => {
|
|
789
|
-
// @ts-ignore
|
|
790
|
-
return computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
|
|
791
|
-
};
|
|
792
|
-
function useSlots() {
|
|
793
|
-
return getContext().slots;
|
|
794
|
-
}
|
|
795
|
-
function getContext() {
|
|
796
|
-
const i = getCurrentInstance();
|
|
797
|
-
return i.setupContext || (i.setupContext = createSetupContext(i));
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
// Actual implementation
|
|
801
|
-
function h(type, propsOrChildren, children) {
|
|
802
|
-
const l = arguments.length;
|
|
803
|
-
if (l === 2) {
|
|
804
|
-
if (isObject(propsOrChildren) && !isArray(propsOrChildren)) {
|
|
805
|
-
// single vnode without props
|
|
806
|
-
if (isVNode(propsOrChildren)) {
|
|
807
|
-
return createVNode(type, null, [propsOrChildren]);
|
|
808
|
-
}
|
|
809
|
-
// props without children
|
|
810
|
-
return createVNode(type, propsOrChildren);
|
|
811
|
-
} else {
|
|
812
|
-
// omit props
|
|
813
|
-
return createVNode(type, null, propsOrChildren);
|
|
814
|
-
}
|
|
815
|
-
} else {
|
|
816
|
-
if (l > 3) {
|
|
817
|
-
children = Array.prototype.slice.call(arguments, 2);
|
|
818
|
-
} else if (l === 3 && isVNode(children)) {
|
|
819
|
-
children = [children];
|
|
820
|
-
}
|
|
821
|
-
return createVNode(type, propsOrChildren, children);
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
export { watch as a, onBeforeUnmount as b, computed as c, defineComponent as d, onBeforeMount as e, getCurrentInstance as g, h, inject as i, nextTick as n, onMounted as o, provide as p, useSlots as u, watchPostEffect as w };
|