@pastweb/vue 2.0.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/LICENSE +21 -0
- package/README.md +1455 -0
- package/dist/EntryAdapter/EntryAdapter.cjs +6 -0
- package/dist/EntryAdapter/EntryAdapter.cjs.map +1 -0
- package/dist/EntryAdapter/EntryAdapter.js +7 -0
- package/dist/EntryAdapter/EntryAdapter.js.map +1 -0
- package/dist/EntryAdapter/EntryAdapter.vue.d.cts +36 -0
- package/dist/EntryAdapter/EntryAdapter.vue.d.ts +37 -0
- package/dist/EntryAdapter/EntryAdapter.vue_vue_type_script_lang.cjs +62 -0
- package/dist/EntryAdapter/EntryAdapter.vue_vue_type_script_lang.cjs.map +1 -0
- package/dist/EntryAdapter/EntryAdapter.vue_vue_type_script_lang.js +62 -0
- package/dist/EntryAdapter/EntryAdapter.vue_vue_type_script_lang.js.map +1 -0
- package/dist/EntryAdapter/constants.cjs +14 -0
- package/dist/EntryAdapter/constants.cjs.map +1 -0
- package/dist/EntryAdapter/constants.d.cts +14 -0
- package/dist/EntryAdapter/constants.d.ts +14 -0
- package/dist/EntryAdapter/constants.js +13 -0
- package/dist/EntryAdapter/constants.js.map +1 -0
- package/dist/EntryAdapter/index.cjs +3 -0
- package/dist/EntryAdapter/index.d.cts +2 -0
- package/dist/EntryAdapter/index.d.ts +2 -0
- package/dist/EntryAdapter/index.js +2 -0
- package/dist/EntryAdapter/types.cjs +0 -0
- package/dist/EntryAdapter/types.d.cts +44 -0
- package/dist/EntryAdapter/types.d.ts +44 -0
- package/dist/EntryAdapter/types.js +0 -0
- package/dist/EntryAdapter/utils.cjs +62 -0
- package/dist/EntryAdapter/utils.cjs.map +1 -0
- package/dist/EntryAdapter/utils.d.cts +36 -0
- package/dist/EntryAdapter/utils.d.ts +36 -0
- package/dist/EntryAdapter/utils.js +60 -0
- package/dist/EntryAdapter/utils.js.map +1 -0
- package/dist/Island/Island.cjs +6 -0
- package/dist/Island/Island.cjs.map +1 -0
- package/dist/Island/Island.js +7 -0
- package/dist/Island/Island.js.map +1 -0
- package/dist/Island/Island.vue.d.cts +22 -0
- package/dist/Island/Island.vue.d.ts +23 -0
- package/dist/Island/Island.vue_vue_type_script_setup_true_lang.cjs +145 -0
- package/dist/Island/Island.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/Island/Island.vue_vue_type_script_setup_true_lang.js +144 -0
- package/dist/Island/Island.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/Island/constants.cjs +12 -0
- package/dist/Island/constants.cjs.map +1 -0
- package/dist/Island/constants.d.cts +11 -0
- package/dist/Island/constants.d.ts +11 -0
- package/dist/Island/constants.js +10 -0
- package/dist/Island/constants.js.map +1 -0
- package/dist/Island/index.cjs +9 -0
- package/dist/Island/index.d.cts +5 -0
- package/dist/Island/index.d.ts +5 -0
- package/dist/Island/index.js +4 -0
- package/dist/Island/types.cjs +0 -0
- package/dist/Island/types.d.cts +18 -0
- package/dist/Island/types.d.ts +18 -0
- package/dist/Island/types.js +0 -0
- package/dist/Island/useIsland.cjs +23 -0
- package/dist/Island/useIsland.cjs.map +1 -0
- package/dist/Island/useIsland.d.cts +15 -0
- package/dist/Island/useIsland.d.ts +15 -0
- package/dist/Island/useIsland.js +21 -0
- package/dist/Island/useIsland.js.map +1 -0
- package/dist/Render/Render.cjs +6 -0
- package/dist/Render/Render.cjs.map +1 -0
- package/dist/Render/Render.js +7 -0
- package/dist/Render/Render.js.map +1 -0
- package/dist/Render/Render.vue.d.cts +10 -0
- package/dist/Render/Render.vue.d.ts +11 -0
- package/dist/Render/Render.vue_vue_type_script_lang.cjs +47 -0
- package/dist/Render/Render.vue_vue_type_script_lang.cjs.map +1 -0
- package/dist/Render/Render.vue_vue_type_script_lang.js +47 -0
- package/dist/Render/Render.vue_vue_type_script_lang.js.map +1 -0
- package/dist/Render/index.cjs +3 -0
- package/dist/Render/index.d.cts +3 -0
- package/dist/Render/index.d.ts +3 -0
- package/dist/Render/index.js +2 -0
- package/dist/Render/types.cjs +0 -0
- package/dist/Render/types.d.cts +21 -0
- package/dist/Render/types.d.ts +21 -0
- package/dist/Render/types.js +0 -0
- package/dist/Slot/Slot.cjs +89 -0
- package/dist/Slot/Slot.cjs.map +1 -0
- package/dist/Slot/Slot.d.cts +38 -0
- package/dist/Slot/Slot.d.ts +39 -0
- package/dist/Slot/Slot.js +89 -0
- package/dist/Slot/Slot.js.map +1 -0
- package/dist/Slot/index.cjs +3 -0
- package/dist/Slot/index.d.cts +3 -0
- package/dist/Slot/index.d.ts +3 -0
- package/dist/Slot/index.js +2 -0
- package/dist/Slot/types.cjs +0 -0
- package/dist/Slot/types.d.cts +17 -0
- package/dist/Slot/types.d.ts +17 -0
- package/dist/Slot/types.js +0 -0
- package/dist/_virtual/_rolldown/runtime.cjs +4 -0
- package/dist/api/hooks/index.cjs +20 -0
- package/dist/api/hooks/index.d.cts +12 -0
- package/dist/api/hooks/index.d.ts +12 -0
- package/dist/api/hooks/index.js +13 -0
- package/dist/api/hooks/reuseQuery/index.cjs +4 -0
- package/dist/api/hooks/reuseQuery/index.d.cts +2 -0
- package/dist/api/hooks/reuseQuery/index.d.ts +2 -0
- package/dist/api/hooks/reuseQuery/index.js +2 -0
- package/dist/api/hooks/reuseQuery/reuseQuery.cjs +44 -0
- package/dist/api/hooks/reuseQuery/reuseQuery.cjs.map +1 -0
- package/dist/api/hooks/reuseQuery/reuseQuery.d.cts +37 -0
- package/dist/api/hooks/reuseQuery/reuseQuery.d.ts +37 -0
- package/dist/api/hooks/reuseQuery/reuseQuery.js +42 -0
- package/dist/api/hooks/reuseQuery/reuseQuery.js.map +1 -0
- package/dist/api/hooks/useApiQueryCache/index.cjs +3 -0
- package/dist/api/hooks/useApiQueryCache/index.d.cts +2 -0
- package/dist/api/hooks/useApiQueryCache/index.d.ts +2 -0
- package/dist/api/hooks/useApiQueryCache/index.js +2 -0
- package/dist/api/hooks/useApiQueryCache/useApiQueryCache.cjs +31 -0
- package/dist/api/hooks/useApiQueryCache/useApiQueryCache.cjs.map +1 -0
- package/dist/api/hooks/useApiQueryCache/useApiQueryCache.d.cts +24 -0
- package/dist/api/hooks/useApiQueryCache/useApiQueryCache.d.ts +24 -0
- package/dist/api/hooks/useApiQueryCache/useApiQueryCache.js +30 -0
- package/dist/api/hooks/useApiQueryCache/useApiQueryCache.js.map +1 -0
- package/dist/api/hooks/useInfiniteQuery/index.cjs +3 -0
- package/dist/api/hooks/useInfiniteQuery/index.d.cts +3 -0
- package/dist/api/hooks/useInfiniteQuery/index.d.ts +3 -0
- package/dist/api/hooks/useInfiniteQuery/index.js +2 -0
- package/dist/api/hooks/useInfiniteQuery/useInfiniteQuery.cjs +34 -0
- package/dist/api/hooks/useInfiniteQuery/useInfiniteQuery.cjs.map +1 -0
- package/dist/api/hooks/useInfiniteQuery/useInfiniteQuery.d.cts +29 -0
- package/dist/api/hooks/useInfiniteQuery/useInfiniteQuery.d.ts +29 -0
- package/dist/api/hooks/useInfiniteQuery/useInfiniteQuery.js +33 -0
- package/dist/api/hooks/useInfiniteQuery/useInfiniteQuery.js.map +1 -0
- package/dist/api/hooks/useMutation/index.cjs +3 -0
- package/dist/api/hooks/useMutation/index.d.cts +3 -0
- package/dist/api/hooks/useMutation/index.d.ts +3 -0
- package/dist/api/hooks/useMutation/index.js +2 -0
- package/dist/api/hooks/useMutation/useMutation.cjs +30 -0
- package/dist/api/hooks/useMutation/useMutation.cjs.map +1 -0
- package/dist/api/hooks/useMutation/useMutation.d.cts +25 -0
- package/dist/api/hooks/useMutation/useMutation.d.ts +25 -0
- package/dist/api/hooks/useMutation/useMutation.js +29 -0
- package/dist/api/hooks/useMutation/useMutation.js.map +1 -0
- package/dist/api/hooks/useQueries/index.cjs +3 -0
- package/dist/api/hooks/useQueries/index.d.cts +3 -0
- package/dist/api/hooks/useQueries/index.d.ts +3 -0
- package/dist/api/hooks/useQueries/index.js +2 -0
- package/dist/api/hooks/useQueries/useQueries.cjs +32 -0
- package/dist/api/hooks/useQueries/useQueries.cjs.map +1 -0
- package/dist/api/hooks/useQueries/useQueries.d.cts +28 -0
- package/dist/api/hooks/useQueries/useQueries.d.ts +28 -0
- package/dist/api/hooks/useQueries/useQueries.js +31 -0
- package/dist/api/hooks/useQueries/useQueries.js.map +1 -0
- package/dist/api/hooks/useQuery/index.cjs +3 -0
- package/dist/api/hooks/useQuery/index.d.cts +3 -0
- package/dist/api/hooks/useQuery/index.d.ts +3 -0
- package/dist/api/hooks/useQuery/index.js +2 -0
- package/dist/api/hooks/useQuery/useQuery.cjs +30 -0
- package/dist/api/hooks/useQuery/useQuery.cjs.map +1 -0
- package/dist/api/hooks/useQuery/useQuery.d.cts +25 -0
- package/dist/api/hooks/useQuery/useQuery.d.ts +25 -0
- package/dist/api/hooks/useQuery/useQuery.js +29 -0
- package/dist/api/hooks/useQuery/useQuery.js.map +1 -0
- package/dist/api/hooks/utils/index.cjs +4 -0
- package/dist/api/hooks/utils/index.d.cts +2 -0
- package/dist/api/hooks/utils/index.d.ts +2 -0
- package/dist/api/hooks/utils/index.js +2 -0
- package/dist/api/hooks/utils/useReactiveRender.cjs +56 -0
- package/dist/api/hooks/utils/useReactiveRender.cjs.map +1 -0
- package/dist/api/hooks/utils/useReactiveRender.d.cts +29 -0
- package/dist/api/hooks/utils/useReactiveRender.d.ts +29 -0
- package/dist/api/hooks/utils/useReactiveRender.js +54 -0
- package/dist/api/hooks/utils/useReactiveRender.js.map +1 -0
- package/dist/api/index.cjs +18 -0
- package/dist/api/index.d.cts +15 -0
- package/dist/api/index.d.ts +15 -0
- package/dist/api/index.js +10 -0
- package/dist/api/installApiCache/index.cjs +3 -0
- package/dist/api/installApiCache/index.d.cts +3 -0
- package/dist/api/installApiCache/index.d.ts +3 -0
- package/dist/api/installApiCache/index.js +2 -0
- package/dist/api/installApiCache/installApiCache.cjs +35 -0
- package/dist/api/installApiCache/installApiCache.cjs.map +1 -0
- package/dist/api/installApiCache/installApiCache.d.cts +29 -0
- package/dist/api/installApiCache/installApiCache.d.ts +29 -0
- package/dist/api/installApiCache/installApiCache.js +34 -0
- package/dist/api/installApiCache/installApiCache.js.map +1 -0
- package/dist/api/installApiCache/types.cjs +0 -0
- package/dist/api/installApiCache/types.d.cts +21 -0
- package/dist/api/installApiCache/types.d.ts +21 -0
- package/dist/api/installApiCache/types.js +0 -0
- package/dist/api/types.cjs +0 -0
- package/dist/api/types.d.cts +2 -0
- package/dist/api/types.d.ts +2 -0
- package/dist/api/types.js +0 -0
- package/dist/computed/computed.cjs +28 -0
- package/dist/computed/computed.cjs.map +1 -0
- package/dist/computed/computed.d.cts +25 -0
- package/dist/computed/computed.d.ts +25 -0
- package/dist/computed/computed.js +27 -0
- package/dist/computed/computed.js.map +1 -0
- package/dist/computed/index.cjs +3 -0
- package/dist/computed/index.d.cts +2 -0
- package/dist/computed/index.d.ts +2 -0
- package/dist/computed/index.js +2 -0
- package/dist/createEntry/UpdateEntry/UpdateEntry.cjs +6 -0
- package/dist/createEntry/UpdateEntry/UpdateEntry.cjs.map +1 -0
- package/dist/createEntry/UpdateEntry/UpdateEntry.js +7 -0
- package/dist/createEntry/UpdateEntry/UpdateEntry.js.map +1 -0
- package/dist/createEntry/UpdateEntry/UpdateEntry.vue.d.cts +6 -0
- package/dist/createEntry/UpdateEntry/UpdateEntry.vue.d.ts +7 -0
- package/dist/createEntry/UpdateEntry/UpdateEntry.vue_vue_type_script_setup_true_lang.cjs +35 -0
- package/dist/createEntry/UpdateEntry/UpdateEntry.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/createEntry/UpdateEntry/UpdateEntry.vue_vue_type_script_setup_true_lang.js +35 -0
- package/dist/createEntry/UpdateEntry/UpdateEntry.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/createEntry/UpdateEntry/Vnode.cjs +19 -0
- package/dist/createEntry/UpdateEntry/Vnode.cjs.map +1 -0
- package/dist/createEntry/UpdateEntry/Vnode.d.cts +20 -0
- package/dist/createEntry/UpdateEntry/Vnode.d.ts +20 -0
- package/dist/createEntry/UpdateEntry/Vnode.js +18 -0
- package/dist/createEntry/UpdateEntry/Vnode.js.map +1 -0
- package/dist/createEntry/UpdateEntry/index.cjs +3 -0
- package/dist/createEntry/UpdateEntry/index.d.cts +3 -0
- package/dist/createEntry/UpdateEntry/index.d.ts +3 -0
- package/dist/createEntry/UpdateEntry/index.js +2 -0
- package/dist/createEntry/UpdateEntry/types.cjs +0 -0
- package/dist/createEntry/UpdateEntry/types.d.cts +18 -0
- package/dist/createEntry/UpdateEntry/types.d.ts +18 -0
- package/dist/createEntry/UpdateEntry/types.js +0 -0
- package/dist/createEntry/WaitFor/WaitFor.cjs +6 -0
- package/dist/createEntry/WaitFor/WaitFor.cjs.map +1 -0
- package/dist/createEntry/WaitFor/WaitFor.js +7 -0
- package/dist/createEntry/WaitFor/WaitFor.js.map +1 -0
- package/dist/createEntry/WaitFor/WaitFor.vue.d.cts +6 -0
- package/dist/createEntry/WaitFor/WaitFor.vue.d.ts +7 -0
- package/dist/createEntry/WaitFor/WaitFor.vue_vue_type_script_setup_true_lang.cjs +50 -0
- package/dist/createEntry/WaitFor/WaitFor.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/createEntry/WaitFor/WaitFor.vue_vue_type_script_setup_true_lang.js +50 -0
- package/dist/createEntry/WaitFor/WaitFor.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/createEntry/WaitFor/index.cjs +3 -0
- package/dist/createEntry/WaitFor/index.d.cts +3 -0
- package/dist/createEntry/WaitFor/index.d.ts +3 -0
- package/dist/createEntry/WaitFor/index.js +2 -0
- package/dist/createEntry/WaitFor/types.cjs +0 -0
- package/dist/createEntry/WaitFor/types.d.cts +21 -0
- package/dist/createEntry/WaitFor/types.d.ts +21 -0
- package/dist/createEntry/WaitFor/types.js +0 -0
- package/dist/createEntry/createEntry.cjs +32 -0
- package/dist/createEntry/createEntry.cjs.map +1 -0
- package/dist/createEntry/createEntry.d.cts +17 -0
- package/dist/createEntry/createEntry.d.ts +17 -0
- package/dist/createEntry/createEntry.js +31 -0
- package/dist/createEntry/createEntry.js.map +1 -0
- package/dist/createEntry/createServerEntry.cjs +45 -0
- package/dist/createEntry/createServerEntry.cjs.map +1 -0
- package/dist/createEntry/createServerEntry.d.cts +17 -0
- package/dist/createEntry/createServerEntry.d.ts +17 -0
- package/dist/createEntry/createServerEntry.js +43 -0
- package/dist/createEntry/createServerEntry.js.map +1 -0
- package/dist/createEntry/index.cjs +5 -0
- package/dist/createEntry/index.d.cts +5 -0
- package/dist/createEntry/index.d.ts +5 -0
- package/dist/createEntry/index.js +3 -0
- package/dist/createEntry/types.cjs +0 -0
- package/dist/createEntry/types.d.cts +75 -0
- package/dist/createEntry/types.d.ts +75 -0
- package/dist/createEntry/types.js +0 -0
- package/dist/createEntry/utils/createServerVueApp/createServerVueApp.cjs +28 -0
- package/dist/createEntry/utils/createServerVueApp/createServerVueApp.cjs.map +1 -0
- package/dist/createEntry/utils/createServerVueApp/createServerVueApp.d.cts +27 -0
- package/dist/createEntry/utils/createServerVueApp/createServerVueApp.d.ts +27 -0
- package/dist/createEntry/utils/createServerVueApp/createServerVueApp.js +27 -0
- package/dist/createEntry/utils/createServerVueApp/createServerVueApp.js.map +1 -0
- package/dist/createEntry/utils/createServerVueApp/index.cjs +3 -0
- package/dist/createEntry/utils/createServerVueApp/index.d.cts +2 -0
- package/dist/createEntry/utils/createServerVueApp/index.d.ts +2 -0
- package/dist/createEntry/utils/createServerVueApp/index.js +2 -0
- package/dist/createEntry/utils/createServerVueApp/types.cjs +0 -0
- package/dist/createEntry/utils/createServerVueApp/types.d.cts +7 -0
- package/dist/createEntry/utils/createServerVueApp/types.d.ts +7 -0
- package/dist/createEntry/utils/createServerVueApp/types.js +0 -0
- package/dist/createEntry/utils/createVueApp/createVueApp.cjs +43 -0
- package/dist/createEntry/utils/createVueApp/createVueApp.cjs.map +1 -0
- package/dist/createEntry/utils/createVueApp/createVueApp.d.cts +22 -0
- package/dist/createEntry/utils/createVueApp/createVueApp.d.ts +22 -0
- package/dist/createEntry/utils/createVueApp/createVueApp.js +42 -0
- package/dist/createEntry/utils/createVueApp/createVueApp.js.map +1 -0
- package/dist/createEntry/utils/createVueApp/index.cjs +3 -0
- package/dist/createEntry/utils/createVueApp/index.d.cts +2 -0
- package/dist/createEntry/utils/createVueApp/index.d.ts +2 -0
- package/dist/createEntry/utils/createVueApp/index.js +2 -0
- package/dist/createEntry/utils/index.cjs +10 -0
- package/dist/createEntry/utils/index.d.cts +5 -0
- package/dist/createEntry/utils/index.d.ts +5 -0
- package/dist/createEntry/utils/index.js +6 -0
- package/dist/createEntry/utils/normalizeVueOptions/index.cjs +3 -0
- package/dist/createEntry/utils/normalizeVueOptions/index.d.cts +2 -0
- package/dist/createEntry/utils/normalizeVueOptions/index.d.ts +2 -0
- package/dist/createEntry/utils/normalizeVueOptions/index.js +2 -0
- package/dist/createEntry/utils/normalizeVueOptions/normalizeVueOptions.cjs +28 -0
- package/dist/createEntry/utils/normalizeVueOptions/normalizeVueOptions.cjs.map +1 -0
- package/dist/createEntry/utils/normalizeVueOptions/normalizeVueOptions.d.cts +17 -0
- package/dist/createEntry/utils/normalizeVueOptions/normalizeVueOptions.d.ts +17 -0
- package/dist/createEntry/utils/normalizeVueOptions/normalizeVueOptions.js +27 -0
- package/dist/createEntry/utils/normalizeVueOptions/normalizeVueOptions.js.map +1 -0
- package/dist/createEntry/utils/setupVueEntry/index.cjs +3 -0
- package/dist/createEntry/utils/setupVueEntry/index.d.cts +2 -0
- package/dist/createEntry/utils/setupVueEntry/index.d.ts +2 -0
- package/dist/createEntry/utils/setupVueEntry/index.js +2 -0
- package/dist/createEntry/utils/setupVueEntry/setupVueEntry.cjs +31 -0
- package/dist/createEntry/utils/setupVueEntry/setupVueEntry.cjs.map +1 -0
- package/dist/createEntry/utils/setupVueEntry/setupVueEntry.d.cts +17 -0
- package/dist/createEntry/utils/setupVueEntry/setupVueEntry.d.ts +17 -0
- package/dist/createEntry/utils/setupVueEntry/setupVueEntry.js +30 -0
- package/dist/createEntry/utils/setupVueEntry/setupVueEntry.js.map +1 -0
- package/dist/createPiniaAsyncStore/createPiniaAsyncStore.cjs +49 -0
- package/dist/createPiniaAsyncStore/createPiniaAsyncStore.cjs.map +1 -0
- package/dist/createPiniaAsyncStore/createPiniaAsyncStore.d.cts +33 -0
- package/dist/createPiniaAsyncStore/createPiniaAsyncStore.d.ts +33 -0
- package/dist/createPiniaAsyncStore/createPiniaAsyncStore.js +48 -0
- package/dist/createPiniaAsyncStore/createPiniaAsyncStore.js.map +1 -0
- package/dist/createPiniaAsyncStore/index.cjs +3 -0
- package/dist/createPiniaAsyncStore/index.d.cts +3 -0
- package/dist/createPiniaAsyncStore/index.d.ts +3 -0
- package/dist/createPiniaAsyncStore/index.js +2 -0
- package/dist/createPiniaAsyncStore/types.cjs +0 -0
- package/dist/createPiniaAsyncStore/types.d.cts +22 -0
- package/dist/createPiniaAsyncStore/types.d.ts +22 -0
- package/dist/createPiniaAsyncStore/types.js +0 -0
- package/dist/getContext/getContext.cjs +29 -0
- package/dist/getContext/getContext.cjs.map +1 -0
- package/dist/getContext/getContext.d.cts +24 -0
- package/dist/getContext/getContext.d.ts +24 -0
- package/dist/getContext/getContext.js +28 -0
- package/dist/getContext/getContext.js.map +1 -0
- package/dist/getContext/index.cjs +3 -0
- package/dist/getContext/index.d.cts +2 -0
- package/dist/getContext/index.d.ts +2 -0
- package/dist/getContext/index.js +2 -0
- package/dist/getEventHandlers/getEventHandlers.cjs +65 -0
- package/dist/getEventHandlers/getEventHandlers.cjs.map +1 -0
- package/dist/getEventHandlers/getEventHandlers.d.cts +45 -0
- package/dist/getEventHandlers/getEventHandlers.d.ts +45 -0
- package/dist/getEventHandlers/getEventHandlers.js +64 -0
- package/dist/getEventHandlers/getEventHandlers.js.map +1 -0
- package/dist/getEventHandlers/index.cjs +3 -0
- package/dist/getEventHandlers/index.d.cts +3 -0
- package/dist/getEventHandlers/index.d.ts +3 -0
- package/dist/getEventHandlers/index.js +2 -0
- package/dist/getEventHandlers/types.cjs +0 -0
- package/dist/getEventHandlers/types.d.cts +7 -0
- package/dist/getEventHandlers/types.d.ts +7 -0
- package/dist/getEventHandlers/types.js +0 -0
- package/dist/index.cjs +104 -0
- package/dist/index.d.cts +61 -0
- package/dist/index.d.ts +61 -0
- package/dist/index.js +62 -0
- package/dist/node_modules/@babel/parser/lib/index.cjs +12599 -0
- package/dist/node_modules/@babel/parser/lib/index.cjs.map +1 -0
- package/dist/node_modules/@vue/compiler-core/dist/compiler-core.cjs.cjs +4832 -0
- package/dist/node_modules/@vue/compiler-core/dist/compiler-core.cjs.cjs.map +1 -0
- package/dist/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.cjs +4775 -0
- package/dist/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.cjs.map +1 -0
- package/dist/node_modules/@vue/compiler-core/index.cjs +18 -0
- package/dist/node_modules/@vue/compiler-core/index.cjs.map +1 -0
- package/dist/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.cjs +665 -0
- package/dist/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.cjs.map +1 -0
- package/dist/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.cjs +447 -0
- package/dist/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.cjs.map +1 -0
- package/dist/node_modules/@vue/compiler-dom/index.cjs +18 -0
- package/dist/node_modules/@vue/compiler-dom/index.cjs.map +1 -0
- package/dist/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.cjs +848 -0
- package/dist/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.cjs.map +1 -0
- package/dist/node_modules/@vue/server-renderer/dist/server-renderer.cjs.cjs +830 -0
- package/dist/node_modules/@vue/server-renderer/dist/server-renderer.cjs.cjs.map +1 -0
- package/dist/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.cjs +605 -0
- package/dist/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.cjs.map +1 -0
- package/dist/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +532 -0
- package/dist/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -0
- package/dist/node_modules/@vue/server-renderer/index.cjs +18 -0
- package/dist/node_modules/@vue/server-renderer/index.cjs.map +1 -0
- package/dist/node_modules/@vue/shared/dist/shared.cjs.cjs +496 -0
- package/dist/node_modules/@vue/shared/dist/shared.cjs.cjs.map +1 -0
- package/dist/node_modules/@vue/shared/dist/shared.cjs.prod.cjs +495 -0
- package/dist/node_modules/@vue/shared/dist/shared.cjs.prod.cjs.map +1 -0
- package/dist/node_modules/@vue/shared/dist/shared.esm-bundler.js +166 -0
- package/dist/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -0
- package/dist/node_modules/@vue/shared/index.cjs +18 -0
- package/dist/node_modules/@vue/shared/index.cjs.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/decode-codepoint.cjs +81 -0
- package/dist/node_modules/entities/dist/commonjs/decode-codepoint.cjs.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/decode.cjs +474 -0
- package/dist/node_modules/entities/dist/commonjs/decode.cjs.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.cjs +18 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.cjs.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.cjs +18 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.cjs.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/internal/bin-trie-flags.cjs +32 -0
- package/dist/node_modules/entities/dist/commonjs/internal/bin-trie-flags.cjs.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/internal/decode-shared.cjs +26 -0
- package/dist/node_modules/entities/dist/commonjs/internal/decode-shared.cjs.map +1 -0
- package/dist/node_modules/estree-walker/dist/umd/estree-walker.cjs +254 -0
- package/dist/node_modules/estree-walker/dist/umd/estree-walker.cjs.map +1 -0
- package/dist/node_modules/source-map-js/lib/array-set.cjs +102 -0
- package/dist/node_modules/source-map-js/lib/array-set.cjs.map +1 -0
- package/dist/node_modules/source-map-js/lib/base64-vlq.cjs +75 -0
- package/dist/node_modules/source-map-js/lib/base64-vlq.cjs.map +1 -0
- package/dist/node_modules/source-map-js/lib/base64.cjs +42 -0
- package/dist/node_modules/source-map-js/lib/base64.cjs.map +1 -0
- package/dist/node_modules/source-map-js/lib/binary-search.cjs +69 -0
- package/dist/node_modules/source-map-js/lib/binary-search.cjs.map +1 -0
- package/dist/node_modules/source-map-js/lib/mapping-list.cjs +79 -0
- package/dist/node_modules/source-map-js/lib/mapping-list.cjs.map +1 -0
- package/dist/node_modules/source-map-js/lib/quick-sort.cjs +90 -0
- package/dist/node_modules/source-map-js/lib/quick-sort.cjs.map +1 -0
- package/dist/node_modules/source-map-js/lib/source-map-consumer.cjs +790 -0
- package/dist/node_modules/source-map-js/lib/source-map-consumer.cjs.map +1 -0
- package/dist/node_modules/source-map-js/lib/source-map-generator.cjs +297 -0
- package/dist/node_modules/source-map-js/lib/source-map-generator.cjs.map +1 -0
- package/dist/node_modules/source-map-js/lib/source-node.cjs +295 -0
- package/dist/node_modules/source-map-js/lib/source-node.cjs.map +1 -0
- package/dist/node_modules/source-map-js/lib/util.cjs +353 -0
- package/dist/node_modules/source-map-js/lib/util.cjs.map +1 -0
- package/dist/node_modules/source-map-js/source-map.cjs +19 -0
- package/dist/node_modules/source-map-js/source-map.cjs.map +1 -0
- package/dist/portals/Portal/Portal.cjs +6 -0
- package/dist/portals/Portal/Portal.cjs.map +1 -0
- package/dist/portals/Portal/Portal.js +7 -0
- package/dist/portals/Portal/Portal.js.map +1 -0
- package/dist/portals/Portal/Portal.vue.d.cts +6 -0
- package/dist/portals/Portal/Portal.vue.d.ts +7 -0
- package/dist/portals/Portal/Portal.vue_vue_type_script_setup_true_lang.cjs +56 -0
- package/dist/portals/Portal/Portal.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/portals/Portal/Portal.vue_vue_type_script_setup_true_lang.js +56 -0
- package/dist/portals/Portal/Portal.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/portals/Portal/index.cjs +3 -0
- package/dist/portals/Portal/index.d.cts +3 -0
- package/dist/portals/Portal/index.d.ts +3 -0
- package/dist/portals/Portal/index.js +2 -0
- package/dist/portals/Portal/types.cjs +0 -0
- package/dist/portals/Portal/types.d.cts +19 -0
- package/dist/portals/Portal/types.d.ts +19 -0
- package/dist/portals/Portal/types.js +0 -0
- package/dist/portals/index.cjs +13 -0
- package/dist/portals/index.d.cts +8 -0
- package/dist/portals/index.d.ts +8 -0
- package/dist/portals/index.js +8 -0
- package/dist/portals/installPortals/index.cjs +3 -0
- package/dist/portals/installPortals/index.d.cts +3 -0
- package/dist/portals/installPortals/index.d.ts +3 -0
- package/dist/portals/installPortals/index.js +2 -0
- package/dist/portals/installPortals/installPortals.cjs +25 -0
- package/dist/portals/installPortals/installPortals.cjs.map +1 -0
- package/dist/portals/installPortals/installPortals.d.cts +25 -0
- package/dist/portals/installPortals/installPortals.d.ts +25 -0
- package/dist/portals/installPortals/installPortals.js +24 -0
- package/dist/portals/installPortals/installPortals.js.map +1 -0
- package/dist/portals/installPortals/types.cjs +0 -0
- package/dist/portals/installPortals/types.d.cts +23 -0
- package/dist/portals/installPortals/types.d.ts +23 -0
- package/dist/portals/installPortals/types.js +0 -0
- package/dist/portals/types.cjs +0 -0
- package/dist/portals/types.d.cts +40 -0
- package/dist/portals/types.d.ts +40 -0
- package/dist/portals/types.js +0 -0
- package/dist/portals/usePortal.cjs +44 -0
- package/dist/portals/usePortal.cjs.map +1 -0
- package/dist/portals/usePortal.d.cts +17 -0
- package/dist/portals/usePortal.d.ts +17 -0
- package/dist/portals/usePortal.js +43 -0
- package/dist/portals/usePortal.js.map +1 -0
- package/dist/portals/usePortalAnchors.cjs +21 -0
- package/dist/portals/usePortalAnchors.cjs.map +1 -0
- package/dist/portals/usePortalAnchors.d.cts +14 -0
- package/dist/portals/usePortalAnchors.d.ts +14 -0
- package/dist/portals/usePortalAnchors.js +20 -0
- package/dist/portals/usePortalAnchors.js.map +1 -0
- package/dist/portals/usePortals.cjs +21 -0
- package/dist/portals/usePortals.cjs.map +1 -0
- package/dist/portals/usePortals.d.cts +14 -0
- package/dist/portals/usePortals.d.ts +14 -0
- package/dist/portals/usePortals.js +20 -0
- package/dist/portals/usePortals.js.map +1 -0
- package/dist/router/RouterLink/RouterLink.cjs +6 -0
- package/dist/router/RouterLink/RouterLink.cjs.map +1 -0
- package/dist/router/RouterLink/RouterLink.js +7 -0
- package/dist/router/RouterLink/RouterLink.js.map +1 -0
- package/dist/router/RouterLink/RouterLink.vue.d.cts +18 -0
- package/dist/router/RouterLink/RouterLink.vue.d.ts +19 -0
- package/dist/router/RouterLink/RouterLink.vue_vue_type_script_setup_true_lang.cjs +59 -0
- package/dist/router/RouterLink/RouterLink.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/router/RouterLink/RouterLink.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/router/RouterLink/RouterLink.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/router/RouterLink/index.cjs +3 -0
- package/dist/router/RouterLink/index.d.cts +3 -0
- package/dist/router/RouterLink/index.d.ts +3 -0
- package/dist/router/RouterLink/index.js +2 -0
- package/dist/router/RouterLink/types.cjs +0 -0
- package/dist/router/RouterLink/types.d.cts +11 -0
- package/dist/router/RouterLink/types.d.ts +11 -0
- package/dist/router/RouterLink/types.js +0 -0
- package/dist/router/RouterView/RouterView.cjs +6 -0
- package/dist/router/RouterView/RouterView.cjs.map +1 -0
- package/dist/router/RouterView/RouterView.js +7 -0
- package/dist/router/RouterView/RouterView.js.map +1 -0
- package/dist/router/RouterView/RouterView.vue.d.cts +6 -0
- package/dist/router/RouterView/RouterView.vue.d.ts +7 -0
- package/dist/router/RouterView/RouterView.vue_vue_type_script_setup_true_lang.cjs +58 -0
- package/dist/router/RouterView/RouterView.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/router/RouterView/RouterView.vue_vue_type_script_setup_true_lang.js +58 -0
- package/dist/router/RouterView/RouterView.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/router/RouterView/index.cjs +3 -0
- package/dist/router/RouterView/index.d.cts +2 -0
- package/dist/router/RouterView/index.d.ts +2 -0
- package/dist/router/RouterView/index.js +2 -0
- package/dist/router/RouterView/types.cjs +0 -0
- package/dist/router/RouterView/types.d.cts +15 -0
- package/dist/router/RouterView/types.d.ts +15 -0
- package/dist/router/RouterView/types.js +0 -0
- package/dist/router/index.cjs +28 -0
- package/dist/router/index.d.cts +12 -0
- package/dist/router/index.d.ts +12 -0
- package/dist/router/index.js +18 -0
- package/dist/router/installRouter.cjs +34 -0
- package/dist/router/installRouter.cjs.map +1 -0
- package/dist/router/installRouter.d.cts +14 -0
- package/dist/router/installRouter.d.ts +14 -0
- package/dist/router/installRouter.js +33 -0
- package/dist/router/installRouter.js.map +1 -0
- package/dist/router/types.cjs +1 -0
- package/dist/router/types.d.cts +21 -0
- package/dist/router/types.d.ts +21 -0
- package/dist/router/types.js +1 -0
- package/dist/router/useLocation/index.cjs +3 -0
- package/dist/router/useLocation/index.d.cts +2 -0
- package/dist/router/useLocation/index.d.ts +2 -0
- package/dist/router/useLocation/index.js +2 -0
- package/dist/router/useLocation/useLocation.cjs +24 -0
- package/dist/router/useLocation/useLocation.cjs.map +1 -0
- package/dist/router/useLocation/useLocation.d.cts +12 -0
- package/dist/router/useLocation/useLocation.d.ts +12 -0
- package/dist/router/useLocation/useLocation.js +23 -0
- package/dist/router/useLocation/useLocation.js.map +1 -0
- package/dist/router/useNavigate/index.cjs +3 -0
- package/dist/router/useNavigate/index.d.cts +2 -0
- package/dist/router/useNavigate/index.d.ts +2 -0
- package/dist/router/useNavigate/index.js +2 -0
- package/dist/router/useNavigate/useNavigate.cjs +17 -0
- package/dist/router/useNavigate/useNavigate.cjs.map +1 -0
- package/dist/router/useNavigate/useNavigate.d.cts +12 -0
- package/dist/router/useNavigate/useNavigate.d.ts +12 -0
- package/dist/router/useNavigate/useNavigate.js +16 -0
- package/dist/router/useNavigate/useNavigate.js.map +1 -0
- package/dist/router/usePaths/index.cjs +3 -0
- package/dist/router/usePaths/index.d.cts +2 -0
- package/dist/router/usePaths/index.d.ts +2 -0
- package/dist/router/usePaths/index.js +2 -0
- package/dist/router/usePaths/usePaths.cjs +27 -0
- package/dist/router/usePaths/usePaths.cjs.map +1 -0
- package/dist/router/usePaths/usePaths.d.cts +14 -0
- package/dist/router/usePaths/usePaths.d.ts +14 -0
- package/dist/router/usePaths/usePaths.js +26 -0
- package/dist/router/usePaths/usePaths.js.map +1 -0
- package/dist/router/useRoute/index.cjs +3 -0
- package/dist/router/useRoute/index.d.cts +2 -0
- package/dist/router/useRoute/index.d.ts +2 -0
- package/dist/router/useRoute/index.js +2 -0
- package/dist/router/useRoute/useRoute.cjs +28 -0
- package/dist/router/useRoute/useRoute.cjs.map +1 -0
- package/dist/router/useRoute/useRoute.d.cts +12 -0
- package/dist/router/useRoute/useRoute.d.ts +12 -0
- package/dist/router/useRoute/useRoute.js +27 -0
- package/dist/router/useRoute/useRoute.js.map +1 -0
- package/dist/router/useRouter/index.cjs +3 -0
- package/dist/router/useRouter/index.d.cts +2 -0
- package/dist/router/useRouter/index.d.ts +2 -0
- package/dist/router/useRouter/index.js +2 -0
- package/dist/router/useRouter/useRouter.cjs +17 -0
- package/dist/router/useRouter/useRouter.cjs.map +1 -0
- package/dist/router/useRouter/useRouter.d.cts +12 -0
- package/dist/router/useRouter/useRouter.d.ts +12 -0
- package/dist/router/useRouter/useRouter.js +16 -0
- package/dist/router/useRouter/useRouter.js.map +1 -0
- package/dist/router/useRouterLink/index.cjs +3 -0
- package/dist/router/useRouterLink/index.d.cts +3 -0
- package/dist/router/useRouterLink/index.d.ts +3 -0
- package/dist/router/useRouterLink/index.js +2 -0
- package/dist/router/useRouterLink/types.cjs +0 -0
- package/dist/router/useRouterLink/types.d.cts +2 -0
- package/dist/router/useRouterLink/types.d.ts +2 -0
- package/dist/router/useRouterLink/types.js +0 -0
- package/dist/router/useRouterLink/useRouterLink.cjs +37 -0
- package/dist/router/useRouterLink/useRouterLink.cjs.map +1 -0
- package/dist/router/useRouterLink/useRouterLink.d.cts +13 -0
- package/dist/router/useRouterLink/useRouterLink.d.ts +13 -0
- package/dist/router/useRouterLink/useRouterLink.js +36 -0
- package/dist/router/useRouterLink/useRouterLink.js.map +1 -0
- package/dist/router/useSearchParams/index.cjs +3 -0
- package/dist/router/useSearchParams/index.d.cts +2 -0
- package/dist/router/useSearchParams/index.d.ts +2 -0
- package/dist/router/useSearchParams/index.js +2 -0
- package/dist/router/useSearchParams/useSearchParams.cjs +29 -0
- package/dist/router/useSearchParams/useSearchParams.cjs.map +1 -0
- package/dist/router/useSearchParams/useSearchParams.d.cts +14 -0
- package/dist/router/useSearchParams/useSearchParams.d.ts +14 -0
- package/dist/router/useSearchParams/useSearchParams.js +28 -0
- package/dist/router/useSearchParams/useSearchParams.js.map +1 -0
- package/dist/setContext/index.cjs +3 -0
- package/dist/setContext/index.d.cts +2 -0
- package/dist/setContext/index.d.ts +2 -0
- package/dist/setContext/index.js +2 -0
- package/dist/setContext/setContext.cjs +29 -0
- package/dist/setContext/setContext.cjs.map +1 -0
- package/dist/setContext/setContext.d.cts +24 -0
- package/dist/setContext/setContext.d.ts +24 -0
- package/dist/setContext/setContext.js +28 -0
- package/dist/setContext/setContext.js.map +1 -0
- package/dist/useBeforeMount/index.cjs +3 -0
- package/dist/useBeforeMount/index.d.cts +2 -0
- package/dist/useBeforeMount/index.d.ts +2 -0
- package/dist/useBeforeMount/index.js +2 -0
- package/dist/useBeforeMount/useBeforeMount.cjs +29 -0
- package/dist/useBeforeMount/useBeforeMount.cjs.map +1 -0
- package/dist/useBeforeMount/useBeforeMount.d.cts +24 -0
- package/dist/useBeforeMount/useBeforeMount.d.ts +24 -0
- package/dist/useBeforeMount/useBeforeMount.js +28 -0
- package/dist/useBeforeMount/useBeforeMount.js.map +1 -0
- package/dist/useBeforeUnmount/index.cjs +3 -0
- package/dist/useBeforeUnmount/index.d.cts +2 -0
- package/dist/useBeforeUnmount/index.d.ts +2 -0
- package/dist/useBeforeUnmount/index.js +2 -0
- package/dist/useBeforeUnmount/useBeforeUnmount.cjs +29 -0
- package/dist/useBeforeUnmount/useBeforeUnmount.cjs.map +1 -0
- package/dist/useBeforeUnmount/useBeforeUnmount.d.cts +24 -0
- package/dist/useBeforeUnmount/useBeforeUnmount.d.ts +24 -0
- package/dist/useBeforeUnmount/useBeforeUnmount.js +28 -0
- package/dist/useBeforeUnmount/useBeforeUnmount.js.map +1 -0
- package/dist/useChildren/index.cjs +3 -0
- package/dist/useChildren/index.d.cts +2 -0
- package/dist/useChildren/index.d.ts +2 -0
- package/dist/useChildren/index.js +2 -0
- package/dist/useChildren/useChildren.cjs +35 -0
- package/dist/useChildren/useChildren.cjs.map +1 -0
- package/dist/useChildren/useChildren.d.cts +26 -0
- package/dist/useChildren/useChildren.d.ts +26 -0
- package/dist/useChildren/useChildren.js +34 -0
- package/dist/useChildren/useChildren.js.map +1 -0
- package/dist/useColorScheme/index.cjs +3 -0
- package/dist/useColorScheme/index.d.cts +2 -0
- package/dist/useColorScheme/index.d.ts +2 -0
- package/dist/useColorScheme/index.js +2 -0
- package/dist/useColorScheme/useColorScheme.cjs +46 -0
- package/dist/useColorScheme/useColorScheme.cjs.map +1 -0
- package/dist/useColorScheme/useColorScheme.d.cts +29 -0
- package/dist/useColorScheme/useColorScheme.d.ts +29 -0
- package/dist/useColorScheme/useColorScheme.js +45 -0
- package/dist/useColorScheme/useColorScheme.js.map +1 -0
- package/dist/useMediator/index.cjs +3 -0
- package/dist/useMediator/index.d.cts +3 -0
- package/dist/useMediator/index.d.ts +3 -0
- package/dist/useMediator/index.js +2 -0
- package/dist/useMediator/types.cjs +0 -0
- package/dist/useMediator/types.d.cts +2 -0
- package/dist/useMediator/types.d.ts +2 -0
- package/dist/useMediator/types.js +0 -0
- package/dist/useMediator/useMediator.cjs +137 -0
- package/dist/useMediator/useMediator.cjs.map +1 -0
- package/dist/useMediator/useMediator.d.cts +61 -0
- package/dist/useMediator/useMediator.d.ts +61 -0
- package/dist/useMediator/useMediator.js +136 -0
- package/dist/useMediator/useMediator.js.map +1 -0
- package/dist/useMediator/utils.cjs +22 -0
- package/dist/useMediator/utils.cjs.map +1 -0
- package/dist/useMediator/utils.d.cts +14 -0
- package/dist/useMediator/utils.d.ts +14 -0
- package/dist/useMediator/utils.js +21 -0
- package/dist/useMediator/utils.js.map +1 -0
- package/dist/useMounted/index.cjs +3 -0
- package/dist/useMounted/index.d.cts +2 -0
- package/dist/useMounted/index.d.ts +2 -0
- package/dist/useMounted/index.js +2 -0
- package/dist/useMounted/useMounted.cjs +29 -0
- package/dist/useMounted/useMounted.cjs.map +1 -0
- package/dist/useMounted/useMounted.d.cts +24 -0
- package/dist/useMounted/useMounted.d.ts +24 -0
- package/dist/useMounted/useMounted.js +28 -0
- package/dist/useMounted/useMounted.js.map +1 -0
- package/dist/useRef/index.cjs +3 -0
- package/dist/useRef/index.d.cts +2 -0
- package/dist/useRef/index.d.ts +2 -0
- package/dist/useRef/index.js +2 -0
- package/dist/useRef/useRef.cjs +28 -0
- package/dist/useRef/useRef.cjs.map +1 -0
- package/dist/useRef/useRef.d.cts +25 -0
- package/dist/useRef/useRef.d.ts +25 -0
- package/dist/useRef/useRef.js +27 -0
- package/dist/useRef/useRef.js.map +1 -0
- package/dist/withDefaultProps/constants.cjs +10 -0
- package/dist/withDefaultProps/constants.cjs.map +1 -0
- package/dist/withDefaultProps/constants.d.cts +8 -0
- package/dist/withDefaultProps/constants.d.ts +8 -0
- package/dist/withDefaultProps/constants.js +9 -0
- package/dist/withDefaultProps/constants.js.map +1 -0
- package/dist/withDefaultProps/index.cjs +3 -0
- package/dist/withDefaultProps/index.d.cts +3 -0
- package/dist/withDefaultProps/index.d.ts +3 -0
- package/dist/withDefaultProps/index.js +2 -0
- package/dist/withDefaultProps/types.cjs +0 -0
- package/dist/withDefaultProps/types.d.cts +25 -0
- package/dist/withDefaultProps/types.d.ts +25 -0
- package/dist/withDefaultProps/types.js +0 -0
- package/dist/withDefaultProps/withDefaultProps.cjs +85 -0
- package/dist/withDefaultProps/withDefaultProps.cjs.map +1 -0
- package/dist/withDefaultProps/withDefaultProps.d.cts +48 -0
- package/dist/withDefaultProps/withDefaultProps.d.ts +48 -0
- package/dist/withDefaultProps/withDefaultProps.js +84 -0
- package/dist/withDefaultProps/withDefaultProps.js.map +1 -0
- package/dist/withDefaultPropsHandlers/constants.cjs +7 -0
- package/dist/withDefaultPropsHandlers/constants.cjs.map +1 -0
- package/dist/withDefaultPropsHandlers/constants.d.cts +5 -0
- package/dist/withDefaultPropsHandlers/constants.d.ts +5 -0
- package/dist/withDefaultPropsHandlers/constants.js +6 -0
- package/dist/withDefaultPropsHandlers/constants.js.map +1 -0
- package/dist/withDefaultPropsHandlers/index.cjs +3 -0
- package/dist/withDefaultPropsHandlers/index.d.cts +3 -0
- package/dist/withDefaultPropsHandlers/index.d.ts +3 -0
- package/dist/withDefaultPropsHandlers/index.js +2 -0
- package/dist/withDefaultPropsHandlers/types.cjs +0 -0
- package/dist/withDefaultPropsHandlers/types.d.cts +12 -0
- package/dist/withDefaultPropsHandlers/types.d.ts +12 -0
- package/dist/withDefaultPropsHandlers/types.js +0 -0
- package/dist/withDefaultPropsHandlers/withDefaultPropsHandlers.cjs +81 -0
- package/dist/withDefaultPropsHandlers/withDefaultPropsHandlers.cjs.map +1 -0
- package/dist/withDefaultPropsHandlers/withDefaultPropsHandlers.d.cts +49 -0
- package/dist/withDefaultPropsHandlers/withDefaultPropsHandlers.d.ts +49 -0
- package/dist/withDefaultPropsHandlers/withDefaultPropsHandlers.js +80 -0
- package/dist/withDefaultPropsHandlers/withDefaultPropsHandlers.js.map +1 -0
- package/package.json +647 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server-renderer.esm-bundler.js","names":["normalizeClass","warn"],"sources":["../../../../../node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js"],"sourcesContent":["/**\n* @vue/server-renderer v3.5.39\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nimport { createVNode, ssrUtils, ssrContextKey, warn as warn$2, Fragment, Static, Comment, Text, mergeProps, createApp, initDirectivesForSSR } from 'vue';\nimport { isOn, escapeHtml, isRenderableAttrValue, isSVGTag, propsToAttrMap, isBooleanAttr, includeBooleanAttr, isSSRSafeAttrName, normalizeClass, isString, normalizeStyle, stringifyStyle, isArray, isObject, normalizeCssVarValue, makeMap, isPromise, toDisplayString, isFunction, EMPTY_OBJ, getGlobalThis, NOOP, looseEqual, looseIndexOf, escapeHtmlComment, isVoidTag, hasOwn } from '@vue/shared';\nexport { includeBooleanAttr as ssrIncludeBooleanAttr } from '@vue/shared';\n\nconst shouldIgnoreProp = /* @__PURE__ */ makeMap(\n `,key,ref,innerHTML,textContent,ref_key,ref_for`\n);\nfunction ssrRenderAttrs(props, tag) {\n let ret = \"\";\n for (let key in props) {\n if (shouldIgnoreProp(key) || isOn(key) || tag === \"textarea\" && key === \"value\" || // force as property (not rendered in SSR)\n key.startsWith(\".\")) {\n continue;\n }\n const value = props[key];\n if (key.startsWith(\"^\")) key = key.slice(1);\n if (key === \"class\") {\n ret += ` class=\"${ssrRenderClass(value)}\"`;\n } else if (key === \"style\") {\n ret += ` style=\"${ssrRenderStyle(value)}\"`;\n } else if (key === \"className\") {\n if (value != null) {\n ret += ` class=\"${escapeHtml(String(value))}\"`;\n }\n } else {\n ret += ssrRenderDynamicAttr(key, value, tag);\n }\n }\n return ret;\n}\nfunction ssrRenderDynamicAttr(key, value, tag) {\n if (!isRenderableAttrValue(value)) {\n return ``;\n }\n const attrKey = tag && (tag.indexOf(\"-\") > 0 || isSVGTag(tag)) ? key : propsToAttrMap[key] || key.toLowerCase();\n if (isBooleanAttr(attrKey)) {\n return includeBooleanAttr(value) ? ` ${attrKey}` : ``;\n } else if (isSSRSafeAttrName(attrKey)) {\n return value === \"\" ? ` ${attrKey}` : ` ${attrKey}=\"${escapeHtml(value)}\"`;\n } else {\n console.warn(\n `[@vue/server-renderer] Skipped rendering unsafe attribute name: ${attrKey}`\n );\n return ``;\n }\n}\nfunction ssrRenderAttr(key, value) {\n if (!isRenderableAttrValue(value)) {\n return ``;\n }\n return ` ${key}=\"${escapeHtml(value)}\"`;\n}\nfunction ssrRenderClass(raw) {\n return escapeHtml(normalizeClass(raw));\n}\nfunction ssrRenderStyle(raw) {\n if (!raw) {\n return \"\";\n }\n if (isString(raw)) {\n return escapeHtml(raw);\n }\n const styles = normalizeStyle(ssrResetCssVars(raw));\n return escapeHtml(stringifyStyle(styles));\n}\nfunction ssrResetCssVars(raw) {\n if (!isArray(raw) && isObject(raw)) {\n const res = {};\n for (const key in raw) {\n if (key.startsWith(\":--\")) {\n res[key.slice(1)] = normalizeCssVarValue(raw[key]);\n } else {\n res[key] = raw[key];\n }\n }\n return res;\n }\n return raw;\n}\n\nfunction ssrRenderComponent(comp, props = null, children = null, parentComponent = null, slotScopeId) {\n return renderComponentVNode(\n createVNode(comp, props, children),\n parentComponent,\n slotScopeId\n );\n}\n\nconst { ensureValidVNode } = ssrUtils;\nfunction ssrRenderSlot(slots, slotName, slotProps, fallbackRenderFn, push, parentComponent, slotScopeId) {\n push(`<!--[-->`);\n ssrRenderSlotInner(\n slots,\n slotName,\n slotProps,\n fallbackRenderFn,\n push,\n parentComponent,\n slotScopeId\n );\n push(`<!--]-->`);\n}\nfunction ssrRenderSlotInner(slots, slotName, slotProps, fallbackRenderFn, push, parentComponent, slotScopeId, transition) {\n const slotFn = slots[slotName];\n if (slotFn) {\n const slotBuffer = [];\n const bufferedPush = (item) => {\n slotBuffer.push(item);\n };\n const ret = slotFn(\n slotProps,\n bufferedPush,\n parentComponent,\n slotScopeId ? \" \" + slotScopeId : \"\"\n );\n if (isArray(ret)) {\n const validSlotContent = ensureValidVNode(ret);\n if (validSlotContent) {\n renderVNodeChildren(\n push,\n validSlotContent,\n parentComponent,\n slotScopeId\n );\n } else if (fallbackRenderFn) {\n fallbackRenderFn();\n } else if (transition) {\n push(`<!---->`);\n }\n } else {\n let isEmptySlot = true;\n if (transition) {\n isEmptySlot = false;\n } else {\n for (let i = 0; i < slotBuffer.length; i++) {\n if (!isComment(slotBuffer[i])) {\n isEmptySlot = false;\n break;\n }\n }\n }\n if (isEmptySlot) {\n if (fallbackRenderFn) {\n fallbackRenderFn();\n }\n } else {\n let start = 0;\n let end = slotBuffer.length;\n if (transition && slotBuffer[0] === \"<!--[-->\" && slotBuffer[end - 1] === \"<!--]-->\") {\n start++;\n end--;\n }\n if (start < end) {\n for (let i = start; i < end; i++) {\n push(slotBuffer[i]);\n }\n } else if (transition) {\n push(`<!---->`);\n }\n }\n }\n } else if (fallbackRenderFn) {\n fallbackRenderFn();\n } else if (transition) {\n push(`<!---->`);\n }\n}\nconst commentTestRE = /^<!--[\\s\\S]*-->$/;\nconst commentRE = /<!--[^]*?-->/gm;\nfunction isComment(item) {\n if (typeof item !== \"string\" || !commentTestRE.test(item)) return false;\n if (item.length <= 8) return true;\n return !item.replace(commentRE, \"\").trim();\n}\n\nfunction ssrRenderTeleport(parentPush, contentRenderFn, target, disabled, parentComponent) {\n parentPush(\"<!--teleport start-->\");\n const context = parentComponent.appContext.provides[ssrContextKey];\n const teleportBuffers = context.__teleportBuffers || (context.__teleportBuffers = {});\n const targetBuffer = teleportBuffers[target] || (teleportBuffers[target] = []);\n const bufferIndex = targetBuffer.length;\n let teleportContent;\n if (disabled) {\n contentRenderFn(parentPush);\n teleportContent = `<!--teleport start anchor--><!--teleport anchor-->`;\n } else {\n const { getBuffer, push } = createBuffer();\n push(`<!--teleport start anchor-->`);\n contentRenderFn(push);\n push(`<!--teleport anchor-->`);\n teleportContent = getBuffer();\n }\n targetBuffer.splice(bufferIndex, 0, teleportContent);\n if (isPromise(teleportContent) || isArray(teleportContent) && teleportContent.hasAsync) {\n targetBuffer.hasAsync = true;\n }\n parentPush(\"<!--teleport end-->\");\n}\n\nfunction ssrInterpolate(value) {\n return escapeHtml(toDisplayString(value));\n}\n\n// @__NO_SIDE_EFFECTS__\nfunction isProxy(value) {\n return value ? !!value[\"__v_raw\"] : false;\n}\n// @__NO_SIDE_EFFECTS__\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? /* @__PURE__ */ toRaw(raw) : observed;\n}\n\n// @__NO_SIDE_EFFECTS__\nfunction isRef(r) {\n return r ? r[\"__v_isRef\"] === true : false;\n}\n\nconst stack = [];\nfunction pushWarningContext$1(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext$1() {\n stack.pop();\n}\nlet isWarning = false;\nfunction warn$1(msg, ...args) {\n if (isWarning) return;\n isWarning = true;\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n // eslint-disable-next-line no-restricted-syntax\n msg + args.map((a) => {\n var _a, _b;\n return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);\n }).join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n isWarning = false;\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush\",\n [15]: \"component update\",\n [16]: \"app unmount cleanup function\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n try {\n return args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n const { errorHandler, throwUnhandledErrorInProduction } = instance && instance.appContext.config || EMPTY_OBJ;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings[type] : `https://vuejs.org/error-reference/#runtime-${type}`;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n if (errorHandler) {\n callWithErrorHandling(errorHandler, null, 10, [\n err,\n exposedInstance,\n errorInfo\n ]);\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev, throwUnhandledErrorInProduction);\n}\nfunction logError(err, type, contextVNode, throwInDev = true, throwInProd = false) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext$1(contextVNode);\n }\n warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext$1();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else if (throwInProd) {\n throw err;\n } else {\n console.error(err);\n }\n}\n\nlet devtools;\nlet buffer = [];\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n // eslint-disable-next-line no-restricted-syntax\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n buffer = [];\n }\n }, 3e3);\n } else {\n buffer = [];\n }\n}\n\n{\n const g = getGlobalThis();\n const registerGlobalSetter = (key, setter) => {\n let setters;\n if (!(setters = g[key])) setters = g[key] = [];\n setters.push(setter);\n return (v) => {\n if (setters.length > 1) setters.forEach((set) => set(v));\n else setters[0](v);\n };\n };\n registerGlobalSetter(\n `__VUE_INSTANCE_SETTERS__`,\n (v) => v\n );\n registerGlobalSetter(\n `__VUE_SSR_SETTERS__`,\n (v) => v\n );\n}\n!!(process.env.NODE_ENV !== \"production\") ? {\n } : {\n };\nconst classifyRE = /(?:^|[-_])\\w/g;\nconst classify = (str) => str.replace(classifyRE, (c) => c.toUpperCase()).replace(/[-_]/g, \"\");\nfunction getComponentName(Component, includeInferred = true) {\n return isFunction(Component) ? Component.displayName || Component.name : Component.name || includeInferred && Component.__name;\n}\nfunction formatComponentName(instance, Component, isRoot = false) {\n let name = getComponentName(Component);\n if (!name && Component.__file) {\n const match = Component.__file.match(/([^/\\\\]+)\\.\\w+$/);\n if (match) {\n name = match[1];\n }\n }\n if (!name && instance) {\n const inferFromRegistry = (registry) => {\n for (const key in registry) {\n if (registry[key] === Component) {\n return key;\n }\n }\n };\n name = inferFromRegistry(instance.components) || instance.parent && inferFromRegistry(\n instance.parent.type.components\n ) || inferFromRegistry(instance.appContext.components);\n }\n return name ? classify(name) : isRoot ? `App` : `Anonymous`;\n}\nfunction isClassComponent(value) {\n return isFunction(value) && \"__vccOpts\" in value;\n}\n\nconst warn = !!(process.env.NODE_ENV !== \"production\") ? warn$1 : NOOP;\n!!(process.env.NODE_ENV !== \"production\") || true ? devtools : void 0;\n!!(process.env.NODE_ENV !== \"production\") || true ? setDevtoolsHook : NOOP;\n\nfunction ssrRenderList(source, renderItem) {\n if (isArray(source) || isString(source)) {\n for (let i = 0, l = source.length; i < l; i++) {\n renderItem(source[i], i);\n }\n } else if (typeof source === \"number\") {\n if (!!(process.env.NODE_ENV !== \"production\") && (!Number.isInteger(source) || source < 0)) {\n warn(\n `The v-for range expects a positive integer value but got ${source}.`\n );\n return;\n }\n for (let i = 0; i < source; i++) {\n renderItem(i + 1, i);\n }\n } else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n let i = 0;\n for (const item of source) {\n renderItem(item, i++);\n }\n } else {\n const keys = Object.keys(source);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n renderItem(source[key], key, i);\n }\n }\n }\n}\n\nfunction ssrRenderSuspense(push, { default: renderContent }) {\n if (renderContent) {\n renderContent();\n } else {\n push(`<!---->`);\n }\n}\n\nfunction ssrGetDirectiveProps(instance, dir, value, arg, modifiers = {}) {\n if (typeof dir !== \"function\" && dir.getSSRProps) {\n return dir.getSSRProps(\n {\n dir,\n instance: ssrUtils.getComponentPublicInstance(instance.$),\n value,\n oldValue: void 0,\n arg,\n modifiers\n },\n null\n ) || {};\n }\n return {};\n}\n\nconst ssrLooseEqual = looseEqual;\nfunction ssrLooseContain(arr, value) {\n return looseIndexOf(arr, value) > -1;\n}\nfunction ssrRenderDynamicModel(type, model, value) {\n switch (type) {\n case \"radio\":\n return looseEqual(model, value) ? \" checked\" : \"\";\n case \"checkbox\":\n return (isArray(model) ? ssrLooseContain(model, value) : model) ? \" checked\" : \"\";\n default:\n return ssrRenderAttr(\"value\", model);\n }\n}\nfunction ssrGetDynamicModelProps(existingProps = {}, model) {\n const { type, value } = existingProps;\n switch (type) {\n case \"radio\":\n return looseEqual(model, value) ? { checked: true } : null;\n case \"checkbox\":\n return (isArray(model) ? ssrLooseContain(model, value) : model) ? { checked: true } : null;\n default:\n return { value: model };\n }\n}\n\nfunction ssrCompile(template, instance) {\n {\n throw new Error(\n `On-the-fly template compilation is not supported in the ESM build of @vue/server-renderer. All templates must be pre-compiled into render functions.`\n );\n }\n}\n\nconst {\n createComponentInstance,\n setCurrentRenderingInstance,\n setupComponent,\n renderComponentRoot,\n normalizeVNode,\n pushWarningContext,\n popWarningContext\n} = ssrUtils;\nfunction createBuffer() {\n let appendable = false;\n const buffer = [];\n return {\n getBuffer() {\n return buffer;\n },\n push(item) {\n const isStringItem = isString(item);\n if (appendable && isStringItem) {\n buffer[buffer.length - 1] += item;\n return;\n }\n buffer.push(item);\n appendable = isStringItem;\n if (isPromise(item) || isArray(item) && item.hasAsync) {\n buffer.hasAsync = true;\n }\n }\n };\n}\nfunction renderComponentVNode(vnode, parentComponent = null, slotScopeId) {\n const instance = vnode.component = createComponentInstance(\n vnode,\n parentComponent,\n null\n );\n if (!!(process.env.NODE_ENV !== \"production\")) pushWarningContext(vnode);\n const res = setupComponent(\n instance,\n true\n /* isSSR */\n );\n if (!!(process.env.NODE_ENV !== \"production\")) popWarningContext();\n const hasAsyncSetup = isPromise(res);\n let prefetches = instance.sp;\n if (hasAsyncSetup || prefetches) {\n const p = Promise.resolve(res).then(() => {\n if (hasAsyncSetup) prefetches = instance.sp;\n if (prefetches) {\n return Promise.all(\n prefetches.map((prefetch) => prefetch.call(instance.proxy))\n );\n }\n }).catch(NOOP);\n return p.then(() => renderComponentSubTree(instance, slotScopeId));\n } else {\n return renderComponentSubTree(instance, slotScopeId);\n }\n}\nfunction renderComponentSubTree(instance, slotScopeId) {\n if (!!(process.env.NODE_ENV !== \"production\")) pushWarningContext(instance.vnode);\n const comp = instance.type;\n const { getBuffer, push } = createBuffer();\n if (isFunction(comp)) {\n let root = renderComponentRoot(instance);\n if (!comp.props) {\n for (const key in instance.attrs) {\n if (key.startsWith(`data-v-`)) {\n (root.props || (root.props = {}))[key] = ``;\n }\n }\n }\n renderVNode(push, instance.subTree = root, instance, slotScopeId);\n } else {\n if ((!instance.render || instance.render === NOOP) && !instance.ssrRender && !comp.ssrRender && isString(comp.template)) {\n comp.ssrRender = ssrCompile(comp.template);\n }\n const ssrRender = instance.ssrRender || comp.ssrRender;\n if (ssrRender) {\n let attrs = instance.inheritAttrs !== false ? instance.attrs : void 0;\n let hasCloned = false;\n let cur = instance;\n while (true) {\n const scopeId = cur.vnode.scopeId;\n if (scopeId) {\n if (!hasCloned) {\n attrs = { ...attrs };\n hasCloned = true;\n }\n attrs[scopeId] = \"\";\n }\n const parent = cur.parent;\n if (parent && parent.subTree && parent.subTree === cur.vnode) {\n cur = parent;\n } else {\n break;\n }\n }\n if (slotScopeId) {\n if (!hasCloned) attrs = { ...attrs };\n const slotScopeIdList = slotScopeId.trim().split(\" \");\n for (let i = 0; i < slotScopeIdList.length; i++) {\n attrs[slotScopeIdList[i]] = \"\";\n }\n }\n const prev = setCurrentRenderingInstance(instance);\n try {\n ssrRender(\n instance.proxy,\n push,\n instance,\n attrs,\n // compiler-optimized bindings\n instance.props,\n instance.setupState,\n instance.data,\n instance.ctx\n );\n } finally {\n setCurrentRenderingInstance(prev);\n }\n } else if (instance.render && instance.render !== NOOP) {\n renderVNode(\n push,\n instance.subTree = renderComponentRoot(instance),\n instance,\n slotScopeId\n );\n } else {\n const componentName = comp.name || comp.__file || `<Anonymous>`;\n warn$2(`Component ${componentName} is missing template or render function.`);\n push(`<!---->`);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\")) popWarningContext();\n return getBuffer();\n}\nfunction renderVNode(push, vnode, parentComponent, slotScopeId) {\n const { type, shapeFlag, children, dirs, props } = vnode;\n if (dirs) {\n vnode.props = applySSRDirectives(vnode, props, dirs);\n }\n switch (type) {\n case Text:\n push(escapeHtml(children));\n break;\n case Comment:\n push(\n children ? `<!--${escapeHtmlComment(children)}-->` : `<!---->`\n );\n break;\n case Static:\n push(children);\n break;\n case Fragment:\n if (vnode.slotScopeIds) {\n slotScopeId = (slotScopeId ? slotScopeId + \" \" : \"\") + vnode.slotScopeIds.join(\" \");\n }\n push(`<!--[-->`);\n renderVNodeChildren(\n push,\n children,\n parentComponent,\n slotScopeId\n );\n push(`<!--]-->`);\n break;\n default:\n if (shapeFlag & 1) {\n renderElementVNode(push, vnode, parentComponent, slotScopeId);\n } else if (shapeFlag & 6) {\n push(renderComponentVNode(vnode, parentComponent, slotScopeId));\n } else if (shapeFlag & 64) {\n renderTeleportVNode(push, vnode, parentComponent, slotScopeId);\n } else if (shapeFlag & 128) {\n renderVNode(push, vnode.ssContent, parentComponent, slotScopeId);\n } else {\n warn$2(\n \"[@vue/server-renderer] Invalid VNode type:\",\n type,\n `(${typeof type})`\n );\n }\n }\n}\nfunction renderVNodeChildren(push, children, parentComponent, slotScopeId) {\n for (let i = 0; i < children.length; i++) {\n renderVNode(push, normalizeVNode(children[i]), parentComponent, slotScopeId);\n }\n}\nfunction renderElementVNode(push, vnode, parentComponent, slotScopeId) {\n const tag = vnode.type;\n let { props, children, shapeFlag, scopeId } = vnode;\n let openTag = `<${tag}`;\n if (props) {\n openTag += ssrRenderAttrs(props, tag);\n }\n const renderedScopeIds = [];\n const appendScopeId = (id) => {\n if (id && (!props || !hasOwn(props, id)) && !renderedScopeIds.includes(id)) {\n openTag += ` ${id}`;\n renderedScopeIds.push(id);\n }\n };\n if (scopeId) {\n appendScopeId(scopeId);\n }\n let curParent = parentComponent;\n let curVnode = vnode;\n while (curParent && curVnode === curParent.subTree) {\n curVnode = curParent.vnode;\n if (curVnode.scopeId) {\n appendScopeId(curVnode.scopeId);\n }\n curParent = curParent.parent;\n }\n if (slotScopeId) {\n const slotScopeIdList = slotScopeId.trim().split(\" \");\n for (let i = 0; i < slotScopeIdList.length; i++) {\n appendScopeId(slotScopeIdList[i]);\n }\n }\n push(openTag + `>`);\n if (!isVoidTag(tag)) {\n let hasChildrenOverride = false;\n if (props) {\n if (props.innerHTML) {\n hasChildrenOverride = true;\n push(props.innerHTML);\n } else if (props.textContent) {\n hasChildrenOverride = true;\n push(escapeHtml(props.textContent));\n } else if (tag === \"textarea\" && props.value) {\n hasChildrenOverride = true;\n push(escapeHtml(props.value));\n }\n }\n if (!hasChildrenOverride) {\n if (shapeFlag & 8) {\n push(escapeHtml(children));\n } else if (shapeFlag & 16) {\n renderVNodeChildren(\n push,\n children,\n parentComponent,\n slotScopeId\n );\n }\n }\n push(`</${tag}>`);\n }\n}\nfunction applySSRDirectives(vnode, rawProps, dirs) {\n const toMerge = [];\n for (let i = 0; i < dirs.length; i++) {\n const binding = dirs[i];\n const {\n dir: { getSSRProps }\n } = binding;\n if (getSSRProps) {\n const props = getSSRProps(binding, vnode);\n if (props) toMerge.push(props);\n }\n }\n return mergeProps(rawProps || {}, ...toMerge);\n}\nfunction renderTeleportVNode(push, vnode, parentComponent, slotScopeId) {\n const target = vnode.props && vnode.props.to;\n const disabled = vnode.props && vnode.props.disabled;\n if (!target) {\n if (!disabled) {\n warn$2(`[@vue/server-renderer] Teleport is missing target prop.`);\n }\n return [];\n }\n if (!isString(target)) {\n warn$2(\n `[@vue/server-renderer] Teleport target must be a query selector string.`\n );\n return [];\n }\n ssrRenderTeleport(\n push,\n (push2) => {\n renderVNodeChildren(\n push2,\n vnode.children,\n parentComponent,\n slotScopeId\n );\n },\n target,\n disabled || disabled === \"\",\n parentComponent\n );\n}\n\nconst { isVNode: isVNode$1 } = ssrUtils;\nfunction nestedUnrollBuffer(buffer, parentRet, startIndex) {\n if (!buffer.hasAsync) {\n return parentRet + unrollBufferSync$1(buffer);\n }\n let ret = parentRet;\n for (let i = startIndex; i < buffer.length; i += 1) {\n const item = buffer[i];\n if (isString(item)) {\n ret += item;\n continue;\n }\n if (isPromise(item)) {\n return item.then((nestedItem) => {\n buffer[i] = nestedItem;\n return nestedUnrollBuffer(buffer, ret, i);\n });\n }\n const result = nestedUnrollBuffer(item, ret, 0);\n if (isPromise(result)) {\n return result.then((nestedItem) => {\n buffer[i] = nestedItem;\n return nestedUnrollBuffer(buffer, \"\", i);\n });\n }\n ret = result;\n }\n return ret;\n}\nfunction unrollBuffer$1(buffer) {\n return nestedUnrollBuffer(buffer, \"\", 0);\n}\nfunction unrollBufferSync$1(buffer) {\n let ret = \"\";\n for (let i = 0; i < buffer.length; i++) {\n let item = buffer[i];\n if (isString(item)) {\n ret += item;\n } else {\n ret += unrollBufferSync$1(item);\n }\n }\n return ret;\n}\nasync function renderToString(input, context = {}) {\n if (isVNode$1(input)) {\n return renderToString(createApp({ render: () => input }), context);\n }\n const vnode = createVNode(input._component, input._props);\n vnode.appContext = input._context;\n input.provide(ssrContextKey, context);\n const buffer = await renderComponentVNode(vnode);\n const result = await unrollBuffer$1(buffer);\n await resolveTeleports(context);\n if (context.__watcherHandles) {\n for (const unwatch of context.__watcherHandles) {\n unwatch();\n }\n }\n return result;\n}\nasync function resolveTeleports(context) {\n if (context.__teleportBuffers) {\n context.teleports = context.teleports || {};\n for (const key in context.__teleportBuffers) {\n context.teleports[key] = await unrollBuffer$1(\n context.__teleportBuffers[key]\n );\n }\n }\n}\n\nconst { isVNode } = ssrUtils;\nasync function unrollBuffer(buffer, stream) {\n if (buffer.hasAsync) {\n for (let i = 0; i < buffer.length; i++) {\n let item = buffer[i];\n if (isPromise(item)) {\n item = await item;\n }\n if (isString(item)) {\n stream.push(item);\n } else {\n await unrollBuffer(item, stream);\n }\n }\n } else {\n unrollBufferSync(buffer, stream);\n }\n}\nfunction unrollBufferSync(buffer, stream) {\n for (let i = 0; i < buffer.length; i++) {\n let item = buffer[i];\n if (isString(item)) {\n stream.push(item);\n } else {\n unrollBufferSync(item, stream);\n }\n }\n}\nfunction renderToSimpleStream(input, context, stream) {\n if (isVNode(input)) {\n return renderToSimpleStream(\n createApp({ render: () => input }),\n context,\n stream\n );\n }\n const vnode = createVNode(input._component, input._props);\n vnode.appContext = input._context;\n input.provide(ssrContextKey, context);\n Promise.resolve(renderComponentVNode(vnode)).then((buffer) => unrollBuffer(buffer, stream)).then(() => resolveTeleports(context)).then(() => {\n if (context.__watcherHandles) {\n for (const unwatch of context.__watcherHandles) {\n unwatch();\n }\n }\n }).then(() => stream.push(null)).catch((error) => {\n stream.destroy(error);\n });\n return stream;\n}\nfunction renderToStream(input, context = {}) {\n console.warn(\n `[@vue/server-renderer] renderToStream is deprecated - use renderToNodeStream instead.`\n );\n return renderToNodeStream(input, context);\n}\nfunction renderToNodeStream(input, context = {}) {\n {\n throw new Error(\n `ESM build of renderToStream() does not support renderToNodeStream(). Use pipeToNodeWritable() with an existing Node.js Writable stream instance instead.`\n );\n }\n}\nfunction pipeToNodeWritable(input, context = {}, writable) {\n renderToSimpleStream(input, context, {\n push(content) {\n if (content != null) {\n writable.write(content);\n } else {\n writable.end();\n }\n },\n destroy(err) {\n writable.destroy(err);\n }\n });\n}\nfunction renderToWebStream(input, context = {}) {\n if (typeof ReadableStream !== \"function\") {\n throw new Error(\n `ReadableStream constructor is not available in the global scope. If the target environment does support web streams, consider using pipeToWebWritable() with an existing WritableStream instance instead.`\n );\n }\n const encoder = new TextEncoder();\n let cancelled = false;\n return new ReadableStream({\n start(controller) {\n renderToSimpleStream(input, context, {\n push(content) {\n if (cancelled) return;\n if (content != null) {\n controller.enqueue(encoder.encode(content));\n } else {\n controller.close();\n }\n },\n destroy(err) {\n controller.error(err);\n }\n });\n },\n cancel() {\n cancelled = true;\n }\n });\n}\nfunction pipeToWebWritable(input, context = {}, writable) {\n const writer = writable.getWriter();\n const encoder = new TextEncoder();\n let hasReady = false;\n try {\n hasReady = isPromise(writer.ready);\n } catch (e) {\n }\n renderToSimpleStream(input, context, {\n async push(content) {\n if (hasReady) {\n await writer.ready;\n }\n if (content != null) {\n return writer.write(encoder.encode(content));\n } else {\n return writer.close();\n }\n },\n destroy(err) {\n console.log(err);\n writer.close();\n }\n });\n}\n\ninitDirectivesForSSR();\n\nexport { pipeToNodeWritable, pipeToWebWritable, renderToNodeStream, renderToSimpleStream, renderToStream, renderToString, renderToWebStream, ssrGetDirectiveProps, ssrGetDynamicModelProps, ssrInterpolate, ssrLooseContain, ssrLooseEqual, ssrRenderAttr, ssrRenderAttrs, ssrRenderClass, ssrRenderComponent, ssrRenderDynamicAttr, ssrRenderDynamicModel, ssrRenderList, ssrRenderSlot, ssrRenderSlotInner, ssrRenderStyle, ssrRenderSuspense, ssrRenderTeleport, renderVNode as ssrRenderVNode };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AASA,MAAM,mBAAmC,wBACvC,gDACF;AACA,SAAS,eAAe,OAAO,KAAK;CAClC,IAAI,MAAM;CACV,KAAK,IAAI,OAAO,OAAO;EACrB,IAAI,iBAAiB,GAAG,KAAK,KAAK,GAAG,KAAK,QAAQ,cAAc,QAAQ,WACxE,IAAI,WAAW,GAAG,GAChB;EAEF,MAAM,QAAQ,MAAM;EACpB,IAAI,IAAI,WAAW,GAAG,GAAG,MAAM,IAAI,MAAM,CAAC;EAC1C,IAAI,QAAQ,SACV,OAAO,WAAW,eAAe,KAAK,EAAE;OACnC,IAAI,QAAQ,SACjB,OAAO,WAAW,eAAe,KAAK,EAAE;OACnC,IAAI,QAAQ;OACb,SAAS,MACX,OAAO,WAAW,WAAW,OAAO,KAAK,CAAC,EAAE;EAAA,OAG9C,OAAO,qBAAqB,KAAK,OAAO,GAAG;CAE/C;CACA,OAAO;AACT;AACA,SAAS,qBAAqB,KAAK,OAAO,KAAK;CAC7C,IAAI,CAAC,sBAAsB,KAAK,GAC9B,OAAO;CAET,MAAM,UAAU,QAAQ,IAAI,QAAQ,GAAG,IA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,GAAG,OAAO;CAEnE,MAAM,QAAQ,YAAY,MAAM,YAAY,MAAM,MAAM;CACxD,MAAM,aAAa,MAAM;CACzB,MAAM,QAAQ,eAAe,OAAO;CAEpC,MAAM,SAAS,MAAM,eAAe,MADf,qBAAqB,KAAK,CACL;CAC1C,MAAM,iBAAiB,OAAO;CAC9B,IAAI,QAAQ,kBACV,KAAK,MAAM,WAAW,QAAQ,kBAC5B,QAAQ;CAGZ,OAAO;AACT;AACA,eAAe,iBAAiB,SAAS;CACvC,IAAI,QAAQ,mBAAmB;EAC7B,QAAQ,YAAY,QAAQ,aAAa,CAAC;EAC1C,KAAK,MAAM,OAAO,QAAQ,mBACxB,QAAQ,UAAU,OAAO,MAAM,eAC7B,QAAQ,kBAAkB,IAC5B;CAEJ;AACF;AAEA,MAAM,EAAE,SAAA,cAAY;AAoIpB,qBAAqB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
const require_server_renderer_cjs_prod$1 = require("./dist/server-renderer.cjs.prod.cjs");
|
|
4
|
+
const require_server_renderer_cjs$1 = require("./dist/server-renderer.cjs.cjs");
|
|
5
|
+
//#region node_modules/@vue/server-renderer/index.js
|
|
6
|
+
var require_server_renderer = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, module) => {
|
|
7
|
+
if (process.env.NODE_ENV === "production") module.exports = require_server_renderer_cjs_prod$1.default;
|
|
8
|
+
else module.exports = require_server_renderer_cjs$1.default;
|
|
9
|
+
}));
|
|
10
|
+
//#endregion
|
|
11
|
+
Object.defineProperty(exports, "default", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function() {
|
|
14
|
+
return require_server_renderer();
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","names":[],"sources":["../../../../node_modules/@vue/server-renderer/index.js"],"sourcesContent":["'use strict'\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./dist/server-renderer.cjs.prod.js')\n} else {\n module.exports = require('./dist/server-renderer.cjs.js')\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAEA,IAAI,QAAQ,IAAI,aAAa,cAC3B,OAAO,UAAA,mCAAA;MAEP,OAAO,UAAA,8BAAA"}
|
|
@@ -0,0 +1,496 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region node_modules/@vue/shared/dist/shared.cjs.js
|
|
3
|
+
/**
|
|
4
|
+
* @vue/shared v3.5.39
|
|
5
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
6
|
+
* @license MIT
|
|
7
|
+
**/
|
|
8
|
+
var require_shared_cjs = /* @__PURE__ */ require("../../../../_virtual/_rolldown/runtime.cjs").__commonJSMin(((exports) => {
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
// @__NO_SIDE_EFFECTS__
|
|
11
|
+
function makeMap(str) {
|
|
12
|
+
const map = /* @__PURE__ */ Object.create(null);
|
|
13
|
+
for (const key of str.split(",")) map[key] = 1;
|
|
14
|
+
return (val) => val in map;
|
|
15
|
+
}
|
|
16
|
+
const EMPTY_OBJ = Object.freeze({});
|
|
17
|
+
const EMPTY_ARR = Object.freeze([]);
|
|
18
|
+
const NOOP = () => {};
|
|
19
|
+
const NO = () => false;
|
|
20
|
+
const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && (key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);
|
|
21
|
+
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
22
|
+
const extend = Object.assign;
|
|
23
|
+
const remove = (arr, el) => {
|
|
24
|
+
const i = arr.indexOf(el);
|
|
25
|
+
if (i > -1) arr.splice(i, 1);
|
|
26
|
+
};
|
|
27
|
+
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
28
|
+
const hasOwn = (val, key) => hasOwnProperty.call(val, key);
|
|
29
|
+
const isArray = Array.isArray;
|
|
30
|
+
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
31
|
+
const isSet = (val) => toTypeString(val) === "[object Set]";
|
|
32
|
+
const isDate = (val) => toTypeString(val) === "[object Date]";
|
|
33
|
+
const isRegExp = (val) => toTypeString(val) === "[object RegExp]";
|
|
34
|
+
const isFunction = (val) => typeof val === "function";
|
|
35
|
+
const isString = (val) => typeof val === "string";
|
|
36
|
+
const isSymbol = (val) => typeof val === "symbol";
|
|
37
|
+
const isObject = (val) => val !== null && typeof val === "object";
|
|
38
|
+
const isPromise = (val) => {
|
|
39
|
+
return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);
|
|
40
|
+
};
|
|
41
|
+
const objectToString = Object.prototype.toString;
|
|
42
|
+
const toTypeString = (value) => objectToString.call(value);
|
|
43
|
+
const toRawType = (value) => {
|
|
44
|
+
return toTypeString(value).slice(8, -1);
|
|
45
|
+
};
|
|
46
|
+
const isPlainObject = (val) => toTypeString(val) === "[object Object]";
|
|
47
|
+
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
48
|
+
const isReservedProp = /* @__PURE__ */ makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted");
|
|
49
|
+
const isBuiltInDirective = /* @__PURE__ */ makeMap("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo");
|
|
50
|
+
const cacheStringFunction = (fn) => {
|
|
51
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
52
|
+
return ((str) => {
|
|
53
|
+
return cache[str] || (cache[str] = fn(str));
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
const camelizeRE = /-\w/g;
|
|
57
|
+
const camelize = cacheStringFunction((str) => {
|
|
58
|
+
return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
|
|
59
|
+
});
|
|
60
|
+
const hyphenateRE = /\B([A-Z])/g;
|
|
61
|
+
const hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
|
|
62
|
+
const capitalize = cacheStringFunction((str) => {
|
|
63
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
64
|
+
});
|
|
65
|
+
const toHandlerKey = cacheStringFunction((str) => {
|
|
66
|
+
return str ? `on${capitalize(str)}` : ``;
|
|
67
|
+
});
|
|
68
|
+
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
69
|
+
const invokeArrayFns = (fns, ...arg) => {
|
|
70
|
+
for (let i = 0; i < fns.length; i++) fns[i](...arg);
|
|
71
|
+
};
|
|
72
|
+
const def = (obj, key, value, writable = false) => {
|
|
73
|
+
Object.defineProperty(obj, key, {
|
|
74
|
+
configurable: true,
|
|
75
|
+
enumerable: false,
|
|
76
|
+
writable,
|
|
77
|
+
value
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
const looseToNumber = (val) => {
|
|
81
|
+
const n = parseFloat(val);
|
|
82
|
+
return isNaN(n) ? val : n;
|
|
83
|
+
};
|
|
84
|
+
const toNumber = (val) => {
|
|
85
|
+
const n = isString(val) ? Number(val) : NaN;
|
|
86
|
+
return isNaN(n) ? val : n;
|
|
87
|
+
};
|
|
88
|
+
let _globalThis;
|
|
89
|
+
const getGlobalThis = () => {
|
|
90
|
+
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
|
|
91
|
+
};
|
|
92
|
+
const identRE = /^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;
|
|
93
|
+
function genPropsAccessExp(name) {
|
|
94
|
+
return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;
|
|
95
|
+
}
|
|
96
|
+
function genCacheKey(source, options) {
|
|
97
|
+
return source + JSON.stringify(options, (_, val) => typeof val === "function" ? val.toString() : val);
|
|
98
|
+
}
|
|
99
|
+
const PatchFlags = {
|
|
100
|
+
"TEXT": 1,
|
|
101
|
+
"1": "TEXT",
|
|
102
|
+
"CLASS": 2,
|
|
103
|
+
"2": "CLASS",
|
|
104
|
+
"STYLE": 4,
|
|
105
|
+
"4": "STYLE",
|
|
106
|
+
"PROPS": 8,
|
|
107
|
+
"8": "PROPS",
|
|
108
|
+
"FULL_PROPS": 16,
|
|
109
|
+
"16": "FULL_PROPS",
|
|
110
|
+
"NEED_HYDRATION": 32,
|
|
111
|
+
"32": "NEED_HYDRATION",
|
|
112
|
+
"STABLE_FRAGMENT": 64,
|
|
113
|
+
"64": "STABLE_FRAGMENT",
|
|
114
|
+
"KEYED_FRAGMENT": 128,
|
|
115
|
+
"128": "KEYED_FRAGMENT",
|
|
116
|
+
"UNKEYED_FRAGMENT": 256,
|
|
117
|
+
"256": "UNKEYED_FRAGMENT",
|
|
118
|
+
"NEED_PATCH": 512,
|
|
119
|
+
"512": "NEED_PATCH",
|
|
120
|
+
"DYNAMIC_SLOTS": 1024,
|
|
121
|
+
"1024": "DYNAMIC_SLOTS",
|
|
122
|
+
"DEV_ROOT_FRAGMENT": 2048,
|
|
123
|
+
"2048": "DEV_ROOT_FRAGMENT",
|
|
124
|
+
"CACHED": -1,
|
|
125
|
+
"-1": "CACHED",
|
|
126
|
+
"BAIL": -2,
|
|
127
|
+
"-2": "BAIL"
|
|
128
|
+
};
|
|
129
|
+
const PatchFlagNames = {
|
|
130
|
+
[1]: `TEXT`,
|
|
131
|
+
[2]: `CLASS`,
|
|
132
|
+
[4]: `STYLE`,
|
|
133
|
+
[8]: `PROPS`,
|
|
134
|
+
[16]: `FULL_PROPS`,
|
|
135
|
+
[32]: `NEED_HYDRATION`,
|
|
136
|
+
[64]: `STABLE_FRAGMENT`,
|
|
137
|
+
[128]: `KEYED_FRAGMENT`,
|
|
138
|
+
[256]: `UNKEYED_FRAGMENT`,
|
|
139
|
+
[512]: `NEED_PATCH`,
|
|
140
|
+
[1024]: `DYNAMIC_SLOTS`,
|
|
141
|
+
[2048]: `DEV_ROOT_FRAGMENT`,
|
|
142
|
+
[-1]: `CACHED`,
|
|
143
|
+
[-2]: `BAIL`
|
|
144
|
+
};
|
|
145
|
+
const ShapeFlags = {
|
|
146
|
+
"ELEMENT": 1,
|
|
147
|
+
"1": "ELEMENT",
|
|
148
|
+
"FUNCTIONAL_COMPONENT": 2,
|
|
149
|
+
"2": "FUNCTIONAL_COMPONENT",
|
|
150
|
+
"STATEFUL_COMPONENT": 4,
|
|
151
|
+
"4": "STATEFUL_COMPONENT",
|
|
152
|
+
"TEXT_CHILDREN": 8,
|
|
153
|
+
"8": "TEXT_CHILDREN",
|
|
154
|
+
"ARRAY_CHILDREN": 16,
|
|
155
|
+
"16": "ARRAY_CHILDREN",
|
|
156
|
+
"SLOTS_CHILDREN": 32,
|
|
157
|
+
"32": "SLOTS_CHILDREN",
|
|
158
|
+
"TELEPORT": 64,
|
|
159
|
+
"64": "TELEPORT",
|
|
160
|
+
"SUSPENSE": 128,
|
|
161
|
+
"128": "SUSPENSE",
|
|
162
|
+
"COMPONENT_SHOULD_KEEP_ALIVE": 256,
|
|
163
|
+
"256": "COMPONENT_SHOULD_KEEP_ALIVE",
|
|
164
|
+
"COMPONENT_KEPT_ALIVE": 512,
|
|
165
|
+
"512": "COMPONENT_KEPT_ALIVE",
|
|
166
|
+
"COMPONENT": 6,
|
|
167
|
+
"6": "COMPONENT"
|
|
168
|
+
};
|
|
169
|
+
const SlotFlags = {
|
|
170
|
+
"STABLE": 1,
|
|
171
|
+
"1": "STABLE",
|
|
172
|
+
"DYNAMIC": 2,
|
|
173
|
+
"2": "DYNAMIC",
|
|
174
|
+
"FORWARDED": 3,
|
|
175
|
+
"3": "FORWARDED"
|
|
176
|
+
};
|
|
177
|
+
const slotFlagsText = {
|
|
178
|
+
[1]: "STABLE",
|
|
179
|
+
[2]: "DYNAMIC",
|
|
180
|
+
[3]: "FORWARDED"
|
|
181
|
+
};
|
|
182
|
+
const isGloballyAllowed = /* @__PURE__ */ makeMap("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");
|
|
183
|
+
const isGloballyWhitelisted = isGloballyAllowed;
|
|
184
|
+
const range = 2;
|
|
185
|
+
function generateCodeFrame(source, start = 0, end = source.length) {
|
|
186
|
+
start = Math.max(0, Math.min(start, source.length));
|
|
187
|
+
end = Math.max(0, Math.min(end, source.length));
|
|
188
|
+
if (start > end) return "";
|
|
189
|
+
let lines = source.split(/(\r?\n)/);
|
|
190
|
+
const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);
|
|
191
|
+
lines = lines.filter((_, idx) => idx % 2 === 0);
|
|
192
|
+
let count = 0;
|
|
193
|
+
const res = [];
|
|
194
|
+
for (let i = 0; i < lines.length; i++) {
|
|
195
|
+
count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);
|
|
196
|
+
if (count >= start) {
|
|
197
|
+
for (let j = i - range; j <= i + range || end > count; j++) {
|
|
198
|
+
if (j < 0 || j >= lines.length) continue;
|
|
199
|
+
const line = j + 1;
|
|
200
|
+
res.push(`${line}${" ".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`);
|
|
201
|
+
const lineLength = lines[j].length;
|
|
202
|
+
const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;
|
|
203
|
+
if (j === i) {
|
|
204
|
+
const pad = start - (count - (lineLength + newLineSeqLength));
|
|
205
|
+
const length = Math.max(1, end > count ? lineLength - pad : end - start);
|
|
206
|
+
res.push(` | ` + " ".repeat(pad) + "^".repeat(length));
|
|
207
|
+
} else if (j > i) {
|
|
208
|
+
if (end > count) {
|
|
209
|
+
const length = Math.max(Math.min(end - count, lineLength), 1);
|
|
210
|
+
res.push(` | ` + "^".repeat(length));
|
|
211
|
+
}
|
|
212
|
+
count += lineLength + newLineSeqLength;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
break;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return res.join("\n");
|
|
219
|
+
}
|
|
220
|
+
function normalizeStyle(value) {
|
|
221
|
+
if (isArray(value)) {
|
|
222
|
+
const res = {};
|
|
223
|
+
for (let i = 0; i < value.length; i++) {
|
|
224
|
+
const item = value[i];
|
|
225
|
+
const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);
|
|
226
|
+
if (normalized) for (const key in normalized) res[key] = normalized[key];
|
|
227
|
+
}
|
|
228
|
+
return res;
|
|
229
|
+
} else if (isString(value) || isObject(value)) return value;
|
|
230
|
+
}
|
|
231
|
+
const listDelimiterRE = /;(?![^(]*\))/g;
|
|
232
|
+
const propertyDelimiterRE = /:([^]+)/;
|
|
233
|
+
const styleCommentRE = /\/\*[^]*?\*\//g;
|
|
234
|
+
function parseStringStyle(cssText) {
|
|
235
|
+
const ret = {};
|
|
236
|
+
cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
|
|
237
|
+
if (item) {
|
|
238
|
+
const tmp = item.split(propertyDelimiterRE);
|
|
239
|
+
tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
return ret;
|
|
243
|
+
}
|
|
244
|
+
function stringifyStyle(styles) {
|
|
245
|
+
if (!styles) return "";
|
|
246
|
+
if (isString(styles)) return styles;
|
|
247
|
+
let ret = "";
|
|
248
|
+
for (const key in styles) {
|
|
249
|
+
const value = styles[key];
|
|
250
|
+
if (isString(value) || typeof value === "number") {
|
|
251
|
+
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
|
|
252
|
+
ret += `${normalizedKey}:${value};`;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
return ret;
|
|
256
|
+
}
|
|
257
|
+
function normalizeClass(value) {
|
|
258
|
+
let res = "";
|
|
259
|
+
if (isString(value)) res = value;
|
|
260
|
+
else if (isArray(value)) for (let i = 0; i < value.length; i++) {
|
|
261
|
+
const normalized = normalizeClass(value[i]);
|
|
262
|
+
if (normalized) res += normalized + " ";
|
|
263
|
+
}
|
|
264
|
+
else if (isObject(value)) {
|
|
265
|
+
for (const name in value) if (value[name]) res += name + " ";
|
|
266
|
+
}
|
|
267
|
+
return res.trim();
|
|
268
|
+
}
|
|
269
|
+
function normalizeProps(props) {
|
|
270
|
+
if (!props) return null;
|
|
271
|
+
let { class: klass, style } = props;
|
|
272
|
+
if (klass && !isString(klass)) props.class = normalizeClass(klass);
|
|
273
|
+
if (style) props.style = normalizeStyle(style);
|
|
274
|
+
return props;
|
|
275
|
+
}
|
|
276
|
+
const HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
|
|
277
|
+
const SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
|
|
278
|
+
const MATH_TAGS = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics";
|
|
279
|
+
const VOID_TAGS = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr";
|
|
280
|
+
const isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);
|
|
281
|
+
const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
|
|
282
|
+
const isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
|
|
283
|
+
const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
|
|
284
|
+
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
285
|
+
const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
|
|
286
|
+
const isBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);
|
|
287
|
+
function includeBooleanAttr(value) {
|
|
288
|
+
return !!value || value === "";
|
|
289
|
+
}
|
|
290
|
+
const unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/;
|
|
291
|
+
const attrValidationCache = {};
|
|
292
|
+
function isSSRSafeAttrName(name) {
|
|
293
|
+
if (attrValidationCache.hasOwnProperty(name)) return attrValidationCache[name];
|
|
294
|
+
const isUnsafe = unsafeAttrCharRE.test(name);
|
|
295
|
+
if (isUnsafe) console.error(`unsafe attribute name: ${name}`);
|
|
296
|
+
return attrValidationCache[name] = !isUnsafe;
|
|
297
|
+
}
|
|
298
|
+
const propsToAttrMap = {
|
|
299
|
+
acceptCharset: "accept-charset",
|
|
300
|
+
className: "class",
|
|
301
|
+
htmlFor: "for",
|
|
302
|
+
httpEquiv: "http-equiv"
|
|
303
|
+
};
|
|
304
|
+
const isKnownHtmlAttr = /* @__PURE__ */ makeMap(`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`);
|
|
305
|
+
const isKnownSvgAttr = /* @__PURE__ */ makeMap(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);
|
|
306
|
+
const isKnownMathMLAttr = /* @__PURE__ */ makeMap(`accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns`);
|
|
307
|
+
function isRenderableAttrValue(value) {
|
|
308
|
+
if (value == null) return false;
|
|
309
|
+
const type = typeof value;
|
|
310
|
+
return type === "string" || type === "number" || type === "boolean";
|
|
311
|
+
}
|
|
312
|
+
const escapeRE = /["'&<>]/;
|
|
313
|
+
function escapeHtml(string) {
|
|
314
|
+
const str = "" + string;
|
|
315
|
+
const match = escapeRE.exec(str);
|
|
316
|
+
if (!match) return str;
|
|
317
|
+
let html = "";
|
|
318
|
+
let escaped;
|
|
319
|
+
let index;
|
|
320
|
+
let lastIndex = 0;
|
|
321
|
+
for (index = match.index; index < str.length; index++) {
|
|
322
|
+
switch (str.charCodeAt(index)) {
|
|
323
|
+
case 34:
|
|
324
|
+
escaped = """;
|
|
325
|
+
break;
|
|
326
|
+
case 38:
|
|
327
|
+
escaped = "&";
|
|
328
|
+
break;
|
|
329
|
+
case 39:
|
|
330
|
+
escaped = "'";
|
|
331
|
+
break;
|
|
332
|
+
case 60:
|
|
333
|
+
escaped = "<";
|
|
334
|
+
break;
|
|
335
|
+
case 62:
|
|
336
|
+
escaped = ">";
|
|
337
|
+
break;
|
|
338
|
+
default: continue;
|
|
339
|
+
}
|
|
340
|
+
if (lastIndex !== index) html += str.slice(lastIndex, index);
|
|
341
|
+
lastIndex = index + 1;
|
|
342
|
+
html += escaped;
|
|
343
|
+
}
|
|
344
|
+
return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
|
|
345
|
+
}
|
|
346
|
+
const commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;
|
|
347
|
+
function escapeHtmlComment(src) {
|
|
348
|
+
return src.replace(commentStripRE, "");
|
|
349
|
+
}
|
|
350
|
+
const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
|
|
351
|
+
function getEscapedCssVarName(key, doubleEscape) {
|
|
352
|
+
return key.replace(cssVarNameEscapeSymbolsRE, (s) => doubleEscape ? s === "\"" ? "\\\\\\\"" : `\\\\${s}` : `\\${s}`);
|
|
353
|
+
}
|
|
354
|
+
function looseCompareArrays(a, b) {
|
|
355
|
+
if (a.length !== b.length) return false;
|
|
356
|
+
let equal = true;
|
|
357
|
+
for (let i = 0; equal && i < a.length; i++) equal = looseEqual(a[i], b[i]);
|
|
358
|
+
return equal;
|
|
359
|
+
}
|
|
360
|
+
function looseEqual(a, b) {
|
|
361
|
+
if (a === b) return true;
|
|
362
|
+
let aValidType = isDate(a);
|
|
363
|
+
let bValidType = isDate(b);
|
|
364
|
+
if (aValidType || bValidType) return aValidType && bValidType ? a.getTime() === b.getTime() : false;
|
|
365
|
+
aValidType = isSymbol(a);
|
|
366
|
+
bValidType = isSymbol(b);
|
|
367
|
+
if (aValidType || bValidType) return a === b;
|
|
368
|
+
aValidType = isArray(a);
|
|
369
|
+
bValidType = isArray(b);
|
|
370
|
+
if (aValidType || bValidType) return aValidType && bValidType ? looseCompareArrays(a, b) : false;
|
|
371
|
+
aValidType = isObject(a);
|
|
372
|
+
bValidType = isObject(b);
|
|
373
|
+
if (aValidType || bValidType) {
|
|
374
|
+
if (!aValidType || !bValidType) return false;
|
|
375
|
+
if (Object.keys(a).length !== Object.keys(b).length) return false;
|
|
376
|
+
for (const key in a) {
|
|
377
|
+
const aHasKey = a.hasOwnProperty(key);
|
|
378
|
+
const bHasKey = b.hasOwnProperty(key);
|
|
379
|
+
if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) return false;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
return String(a) === String(b);
|
|
383
|
+
}
|
|
384
|
+
function looseIndexOf(arr, val) {
|
|
385
|
+
return arr.findIndex((item) => looseEqual(item, val));
|
|
386
|
+
}
|
|
387
|
+
const isRef = (val) => {
|
|
388
|
+
return !!(val && val["__v_isRef"] === true);
|
|
389
|
+
};
|
|
390
|
+
const toDisplayString = (val) => {
|
|
391
|
+
return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? isRef(val) ? toDisplayString(val.value) : JSON.stringify(val, replacer, 2) : String(val);
|
|
392
|
+
};
|
|
393
|
+
const replacer = (_key, val) => {
|
|
394
|
+
if (isRef(val)) return replacer(_key, val.value);
|
|
395
|
+
else if (isMap(val)) return { [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2], i) => {
|
|
396
|
+
entries[stringifySymbol(key, i) + " =>"] = val2;
|
|
397
|
+
return entries;
|
|
398
|
+
}, {}) };
|
|
399
|
+
else if (isSet(val)) return { [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v)) };
|
|
400
|
+
else if (isSymbol(val)) return stringifySymbol(val);
|
|
401
|
+
else if (isObject(val) && !isArray(val) && !isPlainObject(val)) return String(val);
|
|
402
|
+
return val;
|
|
403
|
+
};
|
|
404
|
+
const stringifySymbol = (v, i = "") => {
|
|
405
|
+
var _a;
|
|
406
|
+
return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;
|
|
407
|
+
};
|
|
408
|
+
function normalizeCssVarValue(value) {
|
|
409
|
+
if (value == null) return "initial";
|
|
410
|
+
if (typeof value === "string") return value === "" ? " " : value;
|
|
411
|
+
if (typeof value !== "number" || !Number.isFinite(value)) console.warn("[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:", value);
|
|
412
|
+
return String(value);
|
|
413
|
+
}
|
|
414
|
+
exports.EMPTY_ARR = EMPTY_ARR;
|
|
415
|
+
exports.EMPTY_OBJ = EMPTY_OBJ;
|
|
416
|
+
exports.NO = NO;
|
|
417
|
+
exports.NOOP = NOOP;
|
|
418
|
+
exports.PatchFlagNames = PatchFlagNames;
|
|
419
|
+
exports.PatchFlags = PatchFlags;
|
|
420
|
+
exports.ShapeFlags = ShapeFlags;
|
|
421
|
+
exports.SlotFlags = SlotFlags;
|
|
422
|
+
exports.camelize = camelize;
|
|
423
|
+
exports.capitalize = capitalize;
|
|
424
|
+
exports.cssVarNameEscapeSymbolsRE = cssVarNameEscapeSymbolsRE;
|
|
425
|
+
exports.def = def;
|
|
426
|
+
exports.escapeHtml = escapeHtml;
|
|
427
|
+
exports.escapeHtmlComment = escapeHtmlComment;
|
|
428
|
+
exports.extend = extend;
|
|
429
|
+
exports.genCacheKey = genCacheKey;
|
|
430
|
+
exports.genPropsAccessExp = genPropsAccessExp;
|
|
431
|
+
exports.generateCodeFrame = generateCodeFrame;
|
|
432
|
+
exports.getEscapedCssVarName = getEscapedCssVarName;
|
|
433
|
+
exports.getGlobalThis = getGlobalThis;
|
|
434
|
+
exports.hasChanged = hasChanged;
|
|
435
|
+
exports.hasOwn = hasOwn;
|
|
436
|
+
exports.hyphenate = hyphenate;
|
|
437
|
+
exports.includeBooleanAttr = includeBooleanAttr;
|
|
438
|
+
exports.invokeArrayFns = invokeArrayFns;
|
|
439
|
+
exports.isArray = isArray;
|
|
440
|
+
exports.isBooleanAttr = isBooleanAttr;
|
|
441
|
+
exports.isBuiltInDirective = isBuiltInDirective;
|
|
442
|
+
exports.isDate = isDate;
|
|
443
|
+
exports.isFunction = isFunction;
|
|
444
|
+
exports.isGloballyAllowed = isGloballyAllowed;
|
|
445
|
+
exports.isGloballyWhitelisted = isGloballyWhitelisted;
|
|
446
|
+
exports.isHTMLTag = isHTMLTag;
|
|
447
|
+
exports.isIntegerKey = isIntegerKey;
|
|
448
|
+
exports.isKnownHtmlAttr = isKnownHtmlAttr;
|
|
449
|
+
exports.isKnownMathMLAttr = isKnownMathMLAttr;
|
|
450
|
+
exports.isKnownSvgAttr = isKnownSvgAttr;
|
|
451
|
+
exports.isMap = isMap;
|
|
452
|
+
exports.isMathMLTag = isMathMLTag;
|
|
453
|
+
exports.isModelListener = isModelListener;
|
|
454
|
+
exports.isObject = isObject;
|
|
455
|
+
exports.isOn = isOn;
|
|
456
|
+
exports.isPlainObject = isPlainObject;
|
|
457
|
+
exports.isPromise = isPromise;
|
|
458
|
+
exports.isRegExp = isRegExp;
|
|
459
|
+
exports.isRenderableAttrValue = isRenderableAttrValue;
|
|
460
|
+
exports.isReservedProp = isReservedProp;
|
|
461
|
+
exports.isSSRSafeAttrName = isSSRSafeAttrName;
|
|
462
|
+
exports.isSVGTag = isSVGTag;
|
|
463
|
+
exports.isSet = isSet;
|
|
464
|
+
exports.isSpecialBooleanAttr = isSpecialBooleanAttr;
|
|
465
|
+
exports.isString = isString;
|
|
466
|
+
exports.isSymbol = isSymbol;
|
|
467
|
+
exports.isVoidTag = isVoidTag;
|
|
468
|
+
exports.looseEqual = looseEqual;
|
|
469
|
+
exports.looseIndexOf = looseIndexOf;
|
|
470
|
+
exports.looseToNumber = looseToNumber;
|
|
471
|
+
exports.makeMap = makeMap;
|
|
472
|
+
exports.normalizeClass = normalizeClass;
|
|
473
|
+
exports.normalizeCssVarValue = normalizeCssVarValue;
|
|
474
|
+
exports.normalizeProps = normalizeProps;
|
|
475
|
+
exports.normalizeStyle = normalizeStyle;
|
|
476
|
+
exports.objectToString = objectToString;
|
|
477
|
+
exports.parseStringStyle = parseStringStyle;
|
|
478
|
+
exports.propsToAttrMap = propsToAttrMap;
|
|
479
|
+
exports.remove = remove;
|
|
480
|
+
exports.slotFlagsText = slotFlagsText;
|
|
481
|
+
exports.stringifyStyle = stringifyStyle;
|
|
482
|
+
exports.toDisplayString = toDisplayString;
|
|
483
|
+
exports.toHandlerKey = toHandlerKey;
|
|
484
|
+
exports.toNumber = toNumber;
|
|
485
|
+
exports.toRawType = toRawType;
|
|
486
|
+
exports.toTypeString = toTypeString;
|
|
487
|
+
}));
|
|
488
|
+
//#endregion
|
|
489
|
+
Object.defineProperty(exports, "default", {
|
|
490
|
+
enumerable: true,
|
|
491
|
+
get: function() {
|
|
492
|
+
return require_shared_cjs();
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
|
|
496
|
+
//# sourceMappingURL=shared.cjs.cjs.map
|