nuxt-ignis 0.5.2 → 0.5.3
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/.data/content/contents.sqlite +0 -0
- package/.env +1 -1
- package/.nuxt/components.d.ts +480 -858
- package/.nuxt/content/components.ts +177 -320
- package/.nuxt/dev/index.mjs +542 -530
- package/.nuxt/dev/index.mjs.map +1 -1
- package/.nuxt/dist/server/client.manifest.mjs +1 -1
- package/.nuxt/dist/server/client.precomputed.mjs +1 -1
- package/.nuxt/eslint-typegen.d.ts +60 -111
- package/.nuxt/eslint.config.d.mts +2 -2
- package/.nuxt/eslint.config.mjs +9 -9
- package/.nuxt/imports.d.ts +71 -70
- package/.nuxt/manifest/latest.json +1 -1
- package/.nuxt/manifest/meta/dev.json +1 -1
- package/.nuxt/module/nuxt-robots.d.ts +13 -12
- package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
- package/.nuxt/module/nuxt-site-config.d.ts +8 -8
- package/.nuxt/module/nuxt-sitemap.d.ts +18 -18
- package/.nuxt/nitro.json +4 -4
- package/.nuxt/nuxt.d.ts +6 -6
- package/.nuxt/nuxt.json +2 -2
- package/.nuxt/nuxt.node.d.ts +7 -6
- package/.nuxt/tsconfig.app.json +192 -188
- package/.nuxt/tsconfig.json +195 -191
- package/.nuxt/tsconfig.node.json +108 -104
- package/.nuxt/tsconfig.server.json +128 -127
- package/.nuxt/tsconfig.shared.json +62 -62
- package/.nuxt/types/build.d.ts +1 -1
- package/.nuxt/types/components.d.ts +480 -858
- package/.nuxt/types/i18n-plugin.d.ts +2 -2
- package/.nuxt/types/imports.d.ts +368 -366
- package/.nuxt/types/modules.d.ts +22 -24
- package/.nuxt/types/nitro-imports.d.ts +66 -66
- package/.nuxt/types/nitro-nuxt.d.ts +1 -1
- package/.nuxt/types/nitro-routes.d.ts +16 -16
- package/.nuxt/types/plugins.d.ts +37 -37
- package/.nuxt/types/runtime-config.d.ts +3 -1
- package/.output/nitro.json +2 -2
- package/.output/public/_ignis-config.json +6 -0
- package/.output/public/_nuxt/-OUwOzoZ.js +1 -0
- package/.output/public/_nuxt/-z2jk33i.js +1 -0
- package/.output/public/_nuxt/3L5yAyVe.js +1 -0
- package/.output/public/_nuxt/8nlalpbc.js +1 -0
- package/.output/public/_nuxt/As5Zy5cG.js +1 -0
- package/.output/public/_nuxt/B-TDuiGE.js +1 -0
- package/.output/public/_nuxt/B04mZI32.js +1 -0
- package/.output/public/_nuxt/B3zmx-p1.js +1 -0
- package/.output/public/_nuxt/B4eQjLRH.js +1 -0
- package/.output/public/_nuxt/B6WOJ0Em.js +1 -0
- package/.output/public/_nuxt/BB2ULiwb.js +1 -0
- package/.output/public/_nuxt/BEvX3xjB.js +1 -0
- package/.output/public/_nuxt/BFcGh2xo.js +1 -0
- package/.output/public/_nuxt/BFdGKCUO.js +1 -0
- package/.output/public/_nuxt/BG-5V6Ik.js +1 -0
- package/.output/public/_nuxt/BeRTSVEP.js +1 -0
- package/.output/public/_nuxt/Bh-DZrTV.js +1 -0
- package/.output/public/_nuxt/BvFz8iHh.js +1 -0
- package/.output/public/_nuxt/BwUgVogm.js +1 -0
- package/.output/public/_nuxt/C1fHW8CN.js +1 -0
- package/.output/public/_nuxt/C1getMtX.js +49 -0
- package/.output/public/_nuxt/C4nGy0Yj.js +1 -0
- package/.output/public/_nuxt/CExm4AMI.js +1 -0
- package/.output/public/_nuxt/CHcd0nHy.js +1 -0
- package/.output/public/_nuxt/CTbEZMxa.js +1 -0
- package/.output/public/_nuxt/CZ5QNOH8.js +1 -0
- package/.output/public/_nuxt/Cna7T5zY.js +1 -0
- package/.output/public/_nuxt/CnghUxEk.js +1 -0
- package/.output/public/_nuxt/CvJSUdvI.js +1 -0
- package/.output/public/_nuxt/CwgBHvd_.js +1 -0
- package/.output/public/_nuxt/D1nIr4-J.js +1 -0
- package/.output/public/_nuxt/D2atCez-.js +1 -0
- package/.output/public/_nuxt/D3WX5Hmk.js +1 -0
- package/.output/public/_nuxt/D5duQQkG.js +1 -0
- package/.output/public/_nuxt/D9RSHNPZ.js +1 -0
- package/.output/public/_nuxt/DB3c8m3K.js +1 -0
- package/.output/public/_nuxt/DFP1sKjc.js +1 -0
- package/.output/public/_nuxt/DI5_qtj_.js +1 -0
- package/.output/public/_nuxt/DKCDh1Eq.js +1 -0
- package/.output/public/_nuxt/DN3AlbuD.js +1 -0
- package/.output/public/_nuxt/DPDbQA17.js +1 -0
- package/.output/public/_nuxt/DSErOj49.js +1 -0
- package/.output/public/_nuxt/DXrSmKSt.js +1 -0
- package/.output/public/_nuxt/DbZ1CQfQ.js +1 -0
- package/.output/public/_nuxt/DgCebJqk.js +1 -0
- package/.output/public/_nuxt/DhhwMwQM.js +1 -0
- package/.output/public/_nuxt/Djhwz52y.js +1 -0
- package/.output/public/_nuxt/DnE1KSqg.js +1 -0
- package/.output/public/_nuxt/DncFEy6i.js +1 -0
- package/.output/public/_nuxt/DpZCZGQO.js +1 -0
- package/.output/public/_nuxt/Dx95U2T3.js +1 -0
- package/.output/public/_nuxt/FUdAqSn9.js +9 -0
- package/.output/public/_nuxt/GvxWNFgu.js +1 -0
- package/.output/public/_nuxt/HgKyGH3C.js +1 -0
- package/.output/public/_nuxt/Hxhp1Hz0.js +1 -0
- package/.output/public/_nuxt/LpFrvoF7.js +1 -0
- package/.output/public/_nuxt/{Pre.DHQaXnEy.css → Pre.HegCCrfd.css} +1 -1
- package/.output/public/_nuxt/Sz6HDPqh.js +1 -0
- package/.output/public/_nuxt/U1_7ggcx.js +1 -0
- package/.output/public/_nuxt/X8ZdEYzW.js +1 -0
- package/.output/public/_nuxt/ahq42_9S.js +1 -0
- package/.output/public/_nuxt/b0AtYQ73.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/78080714-55fa-441d-9998-a6fb0c7ee057.json +1 -0
- package/.output/public/_nuxt/efC_w6sP.js +1 -0
- package/.output/public/_nuxt/entry.9ygoOcLs.css +1 -0
- package/.output/public/_nuxt/error-404.0Tbhbu-E.css +1 -0
- package/.output/public/_nuxt/error-500.ClQbyW3Z.css +1 -0
- package/.output/public/_nuxt/ulE7jr93.js +1 -0
- package/.output/public/_nuxt/xHyrElgL.js +1 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/_/i18n.config.mjs.map +1 -1
- package/.output/server/chunks/_/nitro.mjs +1176 -1775
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
- package/.output/server/chunks/build/database.compressed.mjs.map +1 -1
- package/.output/server/chunks/raw/headers.mjs.map +1 -1
- package/.output/server/chunks/routes/api/neonTest.mjs +2 -2
- package/.output/server/chunks/routes/api/neonTest.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +27 -2
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -1
- package/.output/server/chunks/virtual/child-sources.mjs.map +1 -1
- package/.output/server/chunks/virtual/global-sources.mjs +0 -8
- package/.output/server/chunks/virtual/global-sources.mjs.map +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/.nitro/{entities@4.5.0/lib/decode_codepoint.js → entities@7.0.0/dist/commonjs/decode-codepoint.js} +16 -15
- package/.output/server/node_modules/.nitro/{entities@4.5.0/lib → entities@7.0.0/dist/commonjs}/decode.js +200 -168
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/package.json +113 -0
- package/.output/server/node_modules/@intlify/core/dist/core.mjs +1 -1
- package/.output/server/node_modules/@intlify/core/package.json +3 -3
- package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +2 -2
- package/.output/server/node_modules/@intlify/core-base/package.json +4 -4
- package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1 -1
- package/.output/server/node_modules/@intlify/message-compiler/package.json +2 -2
- package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +1 -1
- package/.output/server/node_modules/@intlify/shared/package.json +1 -1
- package/.output/server/node_modules/@neondatabase/serverless/package.json +4 -4
- package/.output/server/node_modules/@poppinss/exception/build/index.js +36 -55
- package/.output/server/node_modules/@poppinss/exception/package.json +19 -16
- package/.output/server/node_modules/@poppinss/string/build/index.js +2 -6
- package/.output/server/node_modules/@poppinss/string/build/string-ArFSN0fl.js +464 -0
- package/.output/server/node_modules/@poppinss/string/package.json +28 -25
- package/.output/server/node_modules/@shikijs/core/dist/index.mjs +111 -31
- package/.output/server/node_modules/@shikijs/core/package.json +2 -2
- package/.output/server/node_modules/@shikijs/engine-javascript/package.json +2 -2
- package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
- package/.output/server/node_modules/@shikijs/langs/package.json +2 -2
- package/.output/server/node_modules/@shikijs/themes/package.json +2 -2
- package/.output/server/node_modules/@shikijs/transformers/dist/index.mjs +56 -16
- package/.output/server/node_modules/@shikijs/transformers/package.json +3 -3
- package/.output/server/node_modules/@shikijs/types/package.json +1 -1
- package/.output/server/node_modules/{.nitro/@vue/compiler-core@3.5.25 → @vue/compiler-core}/dist/compiler-core.cjs.prod.js +106 -85
- package/.output/server/node_modules/{.nitro/@vue/compiler-core@3.5.25 → @vue/compiler-core}/package.json +3 -3
- package/.output/server/node_modules/{.nitro/@vue/compiler-dom@3.5.22 → @vue/compiler-dom}/dist/compiler-dom.cjs.prod.js +54 -54
- package/.output/server/node_modules/{.nitro/@vue/compiler-dom@3.5.22 → @vue/compiler-dom}/package.json +3 -3
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +26 -26
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/{.nitro/@vue/reactivity@3.5.25 → @vue/reactivity}/dist/reactivity.cjs.prod.js +4 -4
- package/.output/server/node_modules/{.nitro/@vue/reactivity@3.5.22 → @vue/reactivity}/package.json +2 -2
- package/.output/server/node_modules/{.nitro/@vue/runtime-core@3.5.25 → @vue/runtime-core}/dist/runtime-core.cjs.prod.js +175 -155
- package/.output/server/node_modules/{.nitro/@vue/runtime-core@3.5.22 → @vue/runtime-core}/package.json +3 -3
- package/.output/server/node_modules/{.nitro/@vue/runtime-dom@3.5.25 → @vue/runtime-dom}/dist/runtime-dom.cjs.prod.js +9 -9
- package/.output/server/node_modules/{.nitro/@vue/runtime-dom@3.5.22 → @vue/runtime-dom}/package.json +5 -5
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
- package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
- package/.output/server/node_modules/{.nitro/@vue/shared@3.5.25 → @vue/shared}/dist/shared.cjs.prod.js +1 -1
- package/.output/server/node_modules/{.nitro/@vue/shared@3.5.22 → @vue/shared}/package.json +1 -1
- package/.output/server/node_modules/devalue/index.js +1 -0
- package/.output/server/node_modules/devalue/package.json +1 -1
- package/.output/server/node_modules/devalue/src/parse.js +5 -1
- package/.output/server/node_modules/devalue/src/stringify.js +7 -3
- package/.output/server/node_modules/devalue/src/uneval.js +7 -3
- package/.output/server/node_modules/devalue/src/utils.js +5 -1
- package/.output/server/node_modules/fast-xml-parser/package.json +4 -2
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +19 -8
- package/.output/server/node_modules/hast-util-to-parse5/lib/index.js +13 -19
- package/.output/server/node_modules/hast-util-to-parse5/package.json +8 -7
- package/.output/server/node_modules/jose/dist/webapi/index.js +4 -2
- package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js +2 -2
- package/.output/server/node_modules/jose/package.json +1 -1
- package/.output/server/node_modules/node-mock-http/package.json +10 -10
- package/.output/server/node_modules/regex/package.json +6 -6
- package/.output/server/node_modules/regex/src/atomic.js +6 -3
- package/.output/server/node_modules/shiki/package.json +7 -7
- package/.output/server/node_modules/strnum/package.json +1 -1
- package/.output/server/node_modules/strnum/strnum.js +1 -1
- package/.output/server/node_modules/unhead/dist/plugins.mjs +2 -2
- package/.output/server/node_modules/unhead/dist/server.mjs +3 -3
- package/.output/server/node_modules/unhead/dist/shared/{unhead.DH45uomy.mjs → unhead.CGCfDSEL.mjs} +3 -3
- package/.output/server/node_modules/unhead/dist/shared/{unhead.BpRRHAhY.mjs → unhead.CYpwL2hc.mjs} +12 -12
- package/.output/server/node_modules/unhead/dist/shared/{unhead.DZbvapt-.mjs → unhead.CbpEuj3y.mjs} +3 -2
- package/.output/server/node_modules/unhead/dist/shared/{unhead.Djo8ep_Y.mjs → unhead.ckV6dpEQ.mjs} +1 -1
- package/.output/server/node_modules/unhead/dist/utils.mjs +2 -2
- package/.output/server/node_modules/unhead/package.json +1 -1
- package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/dist/vue.cjs.js +1 -1
- package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/dist/vue.cjs.prod.js +1 -1
- package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/package.json +6 -6
- package/.output/server/node_modules/vue-router/dist/{devtools-BLCumUwL.mjs → devtools-EWN81iOl.mjs} +6 -4
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +3 -3
- package/.output/server/node_modules/vue-router/package.json +2 -3
- package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +1 -1
- package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +1 -1
- package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +2 -2
- package/.output/server/node_modules/yaml/dist/errors.js +1 -1
- package/.output/server/node_modules/yaml/dist/nodes/Alias.js +1 -1
- package/.output/server/node_modules/yaml/dist/parse/parser.js +2 -2
- package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +1 -1
- package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +1 -1
- package/.output/server/node_modules/yaml/package.json +4 -4
- package/.output/server/package.json +35 -38
- package/bin/set-app-vue.js +1 -1
- package/bin/set-css.js +1 -1
- package/bin/set-eslint.js +1 -1
- package/bin/setup.js +3 -3
- package/eslint.config.mjs +7 -4
- package/package.json +7 -7
- package/public/_ignis-config.json +6 -0
- package/vitest.config.ts +1 -3
- package/.output/public/_nuxt/-PRJHlJd.js +0 -1
- package/.output/public/_nuxt/38NkCNo_.js +0 -0
- package/.output/public/_nuxt/4p0_eEbF.js +0 -0
- package/.output/public/_nuxt/5P9Ak6Zm.js +0 -0
- package/.output/public/_nuxt/5msm7UDY.js +0 -0
- package/.output/public/_nuxt/7I_cTX05.js +0 -1
- package/.output/public/_nuxt/7N8aGG8C.js +0 -1
- package/.output/public/_nuxt/9j0d6I4O.js +0 -0
- package/.output/public/_nuxt/B7b1sBVf.js +0 -0
- package/.output/public/_nuxt/B7pFyPXj.js +0 -1
- package/.output/public/_nuxt/B8s7UrMM.js +0 -1
- package/.output/public/_nuxt/BHBmrOu8.js +0 -1
- package/.output/public/_nuxt/BHIv_dM4.js +0 -0
- package/.output/public/_nuxt/BI2n4fU-.js +0 -0
- package/.output/public/_nuxt/BJos6QuZ.js +0 -0
- package/.output/public/_nuxt/BKsXoEBs.js +0 -0
- package/.output/public/_nuxt/BNKvjWkT.js +0 -1
- package/.output/public/_nuxt/BQmtXkqc.js +0 -1
- package/.output/public/_nuxt/BQuCJQB8.js +0 -0
- package/.output/public/_nuxt/BSEIdlOb.js +0 -0
- package/.output/public/_nuxt/BST7mczs.js +0 -1
- package/.output/public/_nuxt/BTAjWPAo.js +0 -1
- package/.output/public/_nuxt/BYIIksjz.js +0 -0
- package/.output/public/_nuxt/BfZ1Ro0X.js +0 -1
- package/.output/public/_nuxt/Bg-6qayI.js +0 -1
- package/.output/public/_nuxt/BgP-osMP.js +0 -1
- package/.output/public/_nuxt/BiCkyLWS.js +0 -1
- package/.output/public/_nuxt/BjN_umGo.js +0 -1
- package/.output/public/_nuxt/BqK0HYmw.js +0 -1
- package/.output/public/_nuxt/BrSteMIA.js +0 -1
- package/.output/public/_nuxt/C-MeLOeF.js +0 -1
- package/.output/public/_nuxt/C-OKZMJp.js +0 -1
- package/.output/public/_nuxt/C6tJinWY.js +0 -0
- package/.output/public/_nuxt/C7lLQr2h.js +0 -0
- package/.output/public/_nuxt/CDLGLk8m.js +0 -1
- package/.output/public/_nuxt/CDT62st6.js +0 -1
- package/.output/public/_nuxt/CFimyBH-.js +0 -0
- package/.output/public/_nuxt/CG7cd7Sy.js +0 -1
- package/.output/public/_nuxt/CKPnIC-C.js +0 -0
- package/.output/public/_nuxt/COPw3T3p.js +0 -1
- package/.output/public/_nuxt/CQGFUxxa.js +0 -1
- package/.output/public/_nuxt/CSX_cLY6.js +0 -1
- package/.output/public/_nuxt/CaVNnfk7.js +0 -0
- package/.output/public/_nuxt/Cd1ifhTP.js +0 -0
- package/.output/public/_nuxt/CdygaddQ.js +0 -9
- package/.output/public/_nuxt/Cf-VPxfE.js +0 -1
- package/.output/public/_nuxt/CfmMK6-y.js +0 -1
- package/.output/public/_nuxt/Civ5r6YF.js +0 -1
- package/.output/public/_nuxt/CkdnMzBA.js +0 -0
- package/.output/public/_nuxt/CnlJVizr.js +0 -1
- package/.output/public/_nuxt/Coqgx10n.js +0 -0
- package/.output/public/_nuxt/CxMUMwzI.js +0 -1
- package/.output/public/_nuxt/Cyw3rpDt.js +0 -1
- package/.output/public/_nuxt/CzKgiVVn.js +0 -1
- package/.output/public/_nuxt/D-qXrpoJ.js +0 -0
- package/.output/public/_nuxt/D2vgCRoc.js +0 -1
- package/.output/public/_nuxt/D4fuXfD_.js +0 -1
- package/.output/public/_nuxt/D5IuxRu4.js +0 -1
- package/.output/public/_nuxt/D5j9Embb.js +0 -1
- package/.output/public/_nuxt/D6YL6Hhi.js +0 -0
- package/.output/public/_nuxt/DAIwjxRT.js +0 -0
- package/.output/public/_nuxt/DBEY94Mo.js +0 -0
- package/.output/public/_nuxt/DCQOMtdo.js +0 -1
- package/.output/public/_nuxt/DEQ3hSSO.js +0 -1
- package/.output/public/_nuxt/DFfCkFZ3.js +0 -1
- package/.output/public/_nuxt/DL4qe-W_.js +0 -0
- package/.output/public/_nuxt/DLKI6lgi.js +0 -0
- package/.output/public/_nuxt/DOAeoYpG.js +0 -0
- package/.output/public/_nuxt/DPQeTxQ3.js +0 -1
- package/.output/public/_nuxt/DP_txrAq.js +0 -1
- package/.output/public/_nuxt/DQKS5ddY.js +0 -1
- package/.output/public/_nuxt/DXXu9Lvl.js +0 -1
- package/.output/public/_nuxt/DcUS3ReQ.js +0 -0
- package/.output/public/_nuxt/DdWDmJe7.js +0 -0
- package/.output/public/_nuxt/Df59gZou.js +0 -0
- package/.output/public/_nuxt/DiIccoHR.js +0 -0
- package/.output/public/_nuxt/DiL3rzK6.js +0 -1
- package/.output/public/_nuxt/DkEHW4Vs.js +0 -0
- package/.output/public/_nuxt/DmRrrdJv.js +0 -1
- package/.output/public/_nuxt/Do5nYv4E.js +0 -0
- package/.output/public/_nuxt/DqyxgTAQ.js +0 -0
- package/.output/public/_nuxt/DrE64K_R.js +0 -1
- package/.output/public/_nuxt/DrskXsQH.js +0 -1
- package/.output/public/_nuxt/Ds7AWph0.js +0 -0
- package/.output/public/_nuxt/Dvcv58Mc.js +0 -1
- package/.output/public/_nuxt/FMWwyTQ_.js +0 -0
- package/.output/public/_nuxt/Q6bGSN8C.js +0 -0
- package/.output/public/_nuxt/QyE4cqYn.js +0 -1
- package/.output/public/_nuxt/Tcmkoyas.js +0 -1
- package/.output/public/_nuxt/Tj4XPHLn.js +0 -1
- package/.output/public/_nuxt/VOEA7UHD.js +0 -0
- package/.output/public/_nuxt/WOOfaOjG.js +0 -1
- package/.output/public/_nuxt/Y6FRsTFQ.js +0 -0
- package/.output/public/_nuxt/ZDbum-dK.js +0 -1
- package/.output/public/_nuxt/ZTY82FYd.js +0 -0
- package/.output/public/_nuxt/asVu8S_S.js +0 -51
- package/.output/public/_nuxt/builds/meta/68901e1f-eb2d-48db-9c33-8ac67fff1d62.json +0 -1
- package/.output/public/_nuxt/cjlVjclE.js +0 -1
- package/.output/public/_nuxt/entry.UZgisdi2.css +0 -1
- package/.output/public/_nuxt/error-404.DQ5oEvRi.css +0 -1
- package/.output/public/_nuxt/error-500.c8JA_zlB.css +0 -1
- package/.output/public/_nuxt/gmjYz5n6.js +0 -0
- package/.output/public/_nuxt/iatO0zkI.js +0 -1
- package/.output/public/_nuxt/jieRiiOw.js +0 -0
- package/.output/public/_nuxt/lAhMwKxb.js +0 -1
- package/.output/public/_nuxt/mHcxE7OD.js +0 -0
- package/.output/public/_nuxt/n17zLPF6.js +0 -0
- package/.output/public/_nuxt/ncv2QjU2.js +0 -1
- package/.output/public/_nuxt/osXHzmfu.js +0 -1
- package/.output/public/_nuxt/plapqmiu.js +0 -1
- package/.output/public/_nuxt/pnNmDVjA.js +0 -0
- package/.output/public/_nuxt/rxAL1Pmw.js +0 -1
- package/.output/public/_nuxt/ryzXmKdZ.js +0 -1
- package/.output/public/_nuxt/t9C3L8ir.js +0 -1
- package/.output/public/_nuxt/wQgAJ5T0.js +0 -1
- package/.output/public/_nuxt/z6h75OXJ.js +0 -1
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.22/dist/compiler-core.cjs.prod.js +0 -6741
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.22/package.json +0 -58
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.25/dist/compiler-dom.cjs.prod.js +0 -689
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.25/package.json +0 -57
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.22/dist/reactivity.cjs.prod.js +0 -1807
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.25/package.json +0 -55
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.22/dist/runtime-core.cjs.prod.js +0 -6732
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.25/package.json +0 -52
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.22/dist/runtime-dom.cjs.prod.js +0 -1703
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.25/package.json +0 -60
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.22/dist/shared.cjs.prod.js +0 -604
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.25/package.json +0 -47
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-html.js +0 -9
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-xml.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/index.js +0 -18
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/aria.js +0 -59
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/find.js +0 -68
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/hast-to-react.js +0 -28
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/html.js +0 -322
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/normalize.js +0 -7
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/svg.js +0 -567
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-insensitive-transform.js +0 -10
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-sensitive-transform.js +0 -8
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/create.js +0 -58
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/defined-info.js +0 -44
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/info.js +0 -25
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/merge.js +0 -26
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/schema.js +0 -28
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xlink.js +0 -17
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xml.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xmlns.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/package.json +0 -93
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/types.js +0 -13
- package/.output/server/node_modules/.nitro/vue@3.5.22/dist/vue.cjs.prod.js +0 -66
- package/.output/server/node_modules/.nitro/vue@3.5.22/package.json +0 -112
- package/.output/server/node_modules/.nitro/vue@3.5.25/dist/vue.cjs.js +0 -80
- package/.output/server/node_modules/.nitro/vue@3.5.25/index.js +0 -7
- package/.output/server/node_modules/.nitro/vue@3.5.25/index.mjs +0 -1
- package/.output/server/node_modules/@lukeed/ms/dist/index.mjs +0 -34
- package/.output/server/node_modules/@lukeed/ms/package.json +0 -48
- package/.output/server/node_modules/@poppinss/string/build/chunk-LJJE2S3U.js +0 -407
- package/.output/server/node_modules/bytes/index.js +0 -170
- package/.output/server/node_modules/bytes/package.json +0 -42
- package/.output/server/node_modules/truncatise/index.js +0 -188
- package/.output/server/node_modules/truncatise/package.json +0 -36
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/index.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/aria.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/find.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/hast-to-react.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/html.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/normalize.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/svg.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-insensitive-transform.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-sensitive-transform.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/create.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/defined-info.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/info.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/merge.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/schema.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@6.5.0 → property-information}/lib/util/types.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xlink.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xml.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xmlns.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/package.json +0 -0
- /package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/index.js +0 -0
- /package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/index.mjs +0 -0
- /package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/server-renderer/index.mjs +0 -0
package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.22/dist/runtime-dom.cjs.prod.js
DELETED
|
@@ -1,1703 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @vue/runtime-dom v3.5.22
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**/
|
|
6
|
-
'use strict';
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
-
|
|
10
|
-
var runtimeCore = require('@vue/runtime-core');
|
|
11
|
-
var shared = require('@vue/shared');
|
|
12
|
-
|
|
13
|
-
let policy = void 0;
|
|
14
|
-
const tt = typeof window !== "undefined" && window.trustedTypes;
|
|
15
|
-
if (tt) {
|
|
16
|
-
try {
|
|
17
|
-
policy = /* @__PURE__ */ tt.createPolicy("vue", {
|
|
18
|
-
createHTML: (val) => val
|
|
19
|
-
});
|
|
20
|
-
} catch (e) {
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
const unsafeToTrustedHTML = policy ? (val) => policy.createHTML(val) : (val) => val;
|
|
24
|
-
const svgNS = "http://www.w3.org/2000/svg";
|
|
25
|
-
const mathmlNS = "http://www.w3.org/1998/Math/MathML";
|
|
26
|
-
const doc = typeof document !== "undefined" ? document : null;
|
|
27
|
-
const templateContainer = doc && /* @__PURE__ */ doc.createElement("template");
|
|
28
|
-
const nodeOps = {
|
|
29
|
-
insert: (child, parent, anchor) => {
|
|
30
|
-
parent.insertBefore(child, anchor || null);
|
|
31
|
-
},
|
|
32
|
-
remove: (child) => {
|
|
33
|
-
const parent = child.parentNode;
|
|
34
|
-
if (parent) {
|
|
35
|
-
parent.removeChild(child);
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
createElement: (tag, namespace, is, props) => {
|
|
39
|
-
const el = namespace === "svg" ? doc.createElementNS(svgNS, tag) : namespace === "mathml" ? doc.createElementNS(mathmlNS, tag) : is ? doc.createElement(tag, { is }) : doc.createElement(tag);
|
|
40
|
-
if (tag === "select" && props && props.multiple != null) {
|
|
41
|
-
el.setAttribute("multiple", props.multiple);
|
|
42
|
-
}
|
|
43
|
-
return el;
|
|
44
|
-
},
|
|
45
|
-
createText: (text) => doc.createTextNode(text),
|
|
46
|
-
createComment: (text) => doc.createComment(text),
|
|
47
|
-
setText: (node, text) => {
|
|
48
|
-
node.nodeValue = text;
|
|
49
|
-
},
|
|
50
|
-
setElementText: (el, text) => {
|
|
51
|
-
el.textContent = text;
|
|
52
|
-
},
|
|
53
|
-
parentNode: (node) => node.parentNode,
|
|
54
|
-
nextSibling: (node) => node.nextSibling,
|
|
55
|
-
querySelector: (selector) => doc.querySelector(selector),
|
|
56
|
-
setScopeId(el, id) {
|
|
57
|
-
el.setAttribute(id, "");
|
|
58
|
-
},
|
|
59
|
-
// __UNSAFE__
|
|
60
|
-
// Reason: innerHTML.
|
|
61
|
-
// Static content here can only come from compiled templates.
|
|
62
|
-
// As long as the user only uses trusted templates, this is safe.
|
|
63
|
-
insertStaticContent(content, parent, anchor, namespace, start, end) {
|
|
64
|
-
const before = anchor ? anchor.previousSibling : parent.lastChild;
|
|
65
|
-
if (start && (start === end || start.nextSibling)) {
|
|
66
|
-
while (true) {
|
|
67
|
-
parent.insertBefore(start.cloneNode(true), anchor);
|
|
68
|
-
if (start === end || !(start = start.nextSibling)) break;
|
|
69
|
-
}
|
|
70
|
-
} else {
|
|
71
|
-
templateContainer.innerHTML = unsafeToTrustedHTML(
|
|
72
|
-
namespace === "svg" ? `<svg>${content}</svg>` : namespace === "mathml" ? `<math>${content}</math>` : content
|
|
73
|
-
);
|
|
74
|
-
const template = templateContainer.content;
|
|
75
|
-
if (namespace === "svg" || namespace === "mathml") {
|
|
76
|
-
const wrapper = template.firstChild;
|
|
77
|
-
while (wrapper.firstChild) {
|
|
78
|
-
template.appendChild(wrapper.firstChild);
|
|
79
|
-
}
|
|
80
|
-
template.removeChild(wrapper);
|
|
81
|
-
}
|
|
82
|
-
parent.insertBefore(template, anchor);
|
|
83
|
-
}
|
|
84
|
-
return [
|
|
85
|
-
// first
|
|
86
|
-
before ? before.nextSibling : parent.firstChild,
|
|
87
|
-
// last
|
|
88
|
-
anchor ? anchor.previousSibling : parent.lastChild
|
|
89
|
-
];
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
const TRANSITION = "transition";
|
|
94
|
-
const ANIMATION = "animation";
|
|
95
|
-
const vtcKey = Symbol("_vtc");
|
|
96
|
-
const DOMTransitionPropsValidators = {
|
|
97
|
-
name: String,
|
|
98
|
-
type: String,
|
|
99
|
-
css: {
|
|
100
|
-
type: Boolean,
|
|
101
|
-
default: true
|
|
102
|
-
},
|
|
103
|
-
duration: [String, Number, Object],
|
|
104
|
-
enterFromClass: String,
|
|
105
|
-
enterActiveClass: String,
|
|
106
|
-
enterToClass: String,
|
|
107
|
-
appearFromClass: String,
|
|
108
|
-
appearActiveClass: String,
|
|
109
|
-
appearToClass: String,
|
|
110
|
-
leaveFromClass: String,
|
|
111
|
-
leaveActiveClass: String,
|
|
112
|
-
leaveToClass: String
|
|
113
|
-
};
|
|
114
|
-
const TransitionPropsValidators = /* @__PURE__ */ shared.extend(
|
|
115
|
-
{},
|
|
116
|
-
runtimeCore.BaseTransitionPropsValidators,
|
|
117
|
-
DOMTransitionPropsValidators
|
|
118
|
-
);
|
|
119
|
-
const decorate$1 = (t) => {
|
|
120
|
-
t.displayName = "Transition";
|
|
121
|
-
t.props = TransitionPropsValidators;
|
|
122
|
-
return t;
|
|
123
|
-
};
|
|
124
|
-
const Transition = /* @__PURE__ */ decorate$1(
|
|
125
|
-
(props, { slots }) => runtimeCore.h(runtimeCore.BaseTransition, resolveTransitionProps(props), slots)
|
|
126
|
-
);
|
|
127
|
-
const callHook = (hook, args = []) => {
|
|
128
|
-
if (shared.isArray(hook)) {
|
|
129
|
-
hook.forEach((h2) => h2(...args));
|
|
130
|
-
} else if (hook) {
|
|
131
|
-
hook(...args);
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
const hasExplicitCallback = (hook) => {
|
|
135
|
-
return hook ? shared.isArray(hook) ? hook.some((h2) => h2.length > 1) : hook.length > 1 : false;
|
|
136
|
-
};
|
|
137
|
-
function resolveTransitionProps(rawProps) {
|
|
138
|
-
const baseProps = {};
|
|
139
|
-
for (const key in rawProps) {
|
|
140
|
-
if (!(key in DOMTransitionPropsValidators)) {
|
|
141
|
-
baseProps[key] = rawProps[key];
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
if (rawProps.css === false) {
|
|
145
|
-
return baseProps;
|
|
146
|
-
}
|
|
147
|
-
const {
|
|
148
|
-
name = "v",
|
|
149
|
-
type,
|
|
150
|
-
duration,
|
|
151
|
-
enterFromClass = `${name}-enter-from`,
|
|
152
|
-
enterActiveClass = `${name}-enter-active`,
|
|
153
|
-
enterToClass = `${name}-enter-to`,
|
|
154
|
-
appearFromClass = enterFromClass,
|
|
155
|
-
appearActiveClass = enterActiveClass,
|
|
156
|
-
appearToClass = enterToClass,
|
|
157
|
-
leaveFromClass = `${name}-leave-from`,
|
|
158
|
-
leaveActiveClass = `${name}-leave-active`,
|
|
159
|
-
leaveToClass = `${name}-leave-to`
|
|
160
|
-
} = rawProps;
|
|
161
|
-
const durations = normalizeDuration(duration);
|
|
162
|
-
const enterDuration = durations && durations[0];
|
|
163
|
-
const leaveDuration = durations && durations[1];
|
|
164
|
-
const {
|
|
165
|
-
onBeforeEnter,
|
|
166
|
-
onEnter,
|
|
167
|
-
onEnterCancelled,
|
|
168
|
-
onLeave,
|
|
169
|
-
onLeaveCancelled,
|
|
170
|
-
onBeforeAppear = onBeforeEnter,
|
|
171
|
-
onAppear = onEnter,
|
|
172
|
-
onAppearCancelled = onEnterCancelled
|
|
173
|
-
} = baseProps;
|
|
174
|
-
const finishEnter = (el, isAppear, done, isCancelled) => {
|
|
175
|
-
el._enterCancelled = isCancelled;
|
|
176
|
-
removeTransitionClass(el, isAppear ? appearToClass : enterToClass);
|
|
177
|
-
removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass);
|
|
178
|
-
done && done();
|
|
179
|
-
};
|
|
180
|
-
const finishLeave = (el, done) => {
|
|
181
|
-
el._isLeaving = false;
|
|
182
|
-
removeTransitionClass(el, leaveFromClass);
|
|
183
|
-
removeTransitionClass(el, leaveToClass);
|
|
184
|
-
removeTransitionClass(el, leaveActiveClass);
|
|
185
|
-
done && done();
|
|
186
|
-
};
|
|
187
|
-
const makeEnterHook = (isAppear) => {
|
|
188
|
-
return (el, done) => {
|
|
189
|
-
const hook = isAppear ? onAppear : onEnter;
|
|
190
|
-
const resolve = () => finishEnter(el, isAppear, done);
|
|
191
|
-
callHook(hook, [el, resolve]);
|
|
192
|
-
nextFrame(() => {
|
|
193
|
-
removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass);
|
|
194
|
-
addTransitionClass(el, isAppear ? appearToClass : enterToClass);
|
|
195
|
-
if (!hasExplicitCallback(hook)) {
|
|
196
|
-
whenTransitionEnds(el, type, enterDuration, resolve);
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
|
-
return shared.extend(baseProps, {
|
|
202
|
-
onBeforeEnter(el) {
|
|
203
|
-
callHook(onBeforeEnter, [el]);
|
|
204
|
-
addTransitionClass(el, enterFromClass);
|
|
205
|
-
addTransitionClass(el, enterActiveClass);
|
|
206
|
-
},
|
|
207
|
-
onBeforeAppear(el) {
|
|
208
|
-
callHook(onBeforeAppear, [el]);
|
|
209
|
-
addTransitionClass(el, appearFromClass);
|
|
210
|
-
addTransitionClass(el, appearActiveClass);
|
|
211
|
-
},
|
|
212
|
-
onEnter: makeEnterHook(false),
|
|
213
|
-
onAppear: makeEnterHook(true),
|
|
214
|
-
onLeave(el, done) {
|
|
215
|
-
el._isLeaving = true;
|
|
216
|
-
const resolve = () => finishLeave(el, done);
|
|
217
|
-
addTransitionClass(el, leaveFromClass);
|
|
218
|
-
if (!el._enterCancelled) {
|
|
219
|
-
forceReflow(el);
|
|
220
|
-
addTransitionClass(el, leaveActiveClass);
|
|
221
|
-
} else {
|
|
222
|
-
addTransitionClass(el, leaveActiveClass);
|
|
223
|
-
forceReflow(el);
|
|
224
|
-
}
|
|
225
|
-
nextFrame(() => {
|
|
226
|
-
if (!el._isLeaving) {
|
|
227
|
-
return;
|
|
228
|
-
}
|
|
229
|
-
removeTransitionClass(el, leaveFromClass);
|
|
230
|
-
addTransitionClass(el, leaveToClass);
|
|
231
|
-
if (!hasExplicitCallback(onLeave)) {
|
|
232
|
-
whenTransitionEnds(el, type, leaveDuration, resolve);
|
|
233
|
-
}
|
|
234
|
-
});
|
|
235
|
-
callHook(onLeave, [el, resolve]);
|
|
236
|
-
},
|
|
237
|
-
onEnterCancelled(el) {
|
|
238
|
-
finishEnter(el, false, void 0, true);
|
|
239
|
-
callHook(onEnterCancelled, [el]);
|
|
240
|
-
},
|
|
241
|
-
onAppearCancelled(el) {
|
|
242
|
-
finishEnter(el, true, void 0, true);
|
|
243
|
-
callHook(onAppearCancelled, [el]);
|
|
244
|
-
},
|
|
245
|
-
onLeaveCancelled(el) {
|
|
246
|
-
finishLeave(el);
|
|
247
|
-
callHook(onLeaveCancelled, [el]);
|
|
248
|
-
}
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
|
-
function normalizeDuration(duration) {
|
|
252
|
-
if (duration == null) {
|
|
253
|
-
return null;
|
|
254
|
-
} else if (shared.isObject(duration)) {
|
|
255
|
-
return [NumberOf(duration.enter), NumberOf(duration.leave)];
|
|
256
|
-
} else {
|
|
257
|
-
const n = NumberOf(duration);
|
|
258
|
-
return [n, n];
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
function NumberOf(val) {
|
|
262
|
-
const res = shared.toNumber(val);
|
|
263
|
-
return res;
|
|
264
|
-
}
|
|
265
|
-
function addTransitionClass(el, cls) {
|
|
266
|
-
cls.split(/\s+/).forEach((c) => c && el.classList.add(c));
|
|
267
|
-
(el[vtcKey] || (el[vtcKey] = /* @__PURE__ */ new Set())).add(cls);
|
|
268
|
-
}
|
|
269
|
-
function removeTransitionClass(el, cls) {
|
|
270
|
-
cls.split(/\s+/).forEach((c) => c && el.classList.remove(c));
|
|
271
|
-
const _vtc = el[vtcKey];
|
|
272
|
-
if (_vtc) {
|
|
273
|
-
_vtc.delete(cls);
|
|
274
|
-
if (!_vtc.size) {
|
|
275
|
-
el[vtcKey] = void 0;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
function nextFrame(cb) {
|
|
280
|
-
requestAnimationFrame(() => {
|
|
281
|
-
requestAnimationFrame(cb);
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
let endId = 0;
|
|
285
|
-
function whenTransitionEnds(el, expectedType, explicitTimeout, resolve) {
|
|
286
|
-
const id = el._endId = ++endId;
|
|
287
|
-
const resolveIfNotStale = () => {
|
|
288
|
-
if (id === el._endId) {
|
|
289
|
-
resolve();
|
|
290
|
-
}
|
|
291
|
-
};
|
|
292
|
-
if (explicitTimeout != null) {
|
|
293
|
-
return setTimeout(resolveIfNotStale, explicitTimeout);
|
|
294
|
-
}
|
|
295
|
-
const { type, timeout, propCount } = getTransitionInfo(el, expectedType);
|
|
296
|
-
if (!type) {
|
|
297
|
-
return resolve();
|
|
298
|
-
}
|
|
299
|
-
const endEvent = type + "end";
|
|
300
|
-
let ended = 0;
|
|
301
|
-
const end = () => {
|
|
302
|
-
el.removeEventListener(endEvent, onEnd);
|
|
303
|
-
resolveIfNotStale();
|
|
304
|
-
};
|
|
305
|
-
const onEnd = (e) => {
|
|
306
|
-
if (e.target === el && ++ended >= propCount) {
|
|
307
|
-
end();
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
setTimeout(() => {
|
|
311
|
-
if (ended < propCount) {
|
|
312
|
-
end();
|
|
313
|
-
}
|
|
314
|
-
}, timeout + 1);
|
|
315
|
-
el.addEventListener(endEvent, onEnd);
|
|
316
|
-
}
|
|
317
|
-
function getTransitionInfo(el, expectedType) {
|
|
318
|
-
const styles = window.getComputedStyle(el);
|
|
319
|
-
const getStyleProperties = (key) => (styles[key] || "").split(", ");
|
|
320
|
-
const transitionDelays = getStyleProperties(`${TRANSITION}Delay`);
|
|
321
|
-
const transitionDurations = getStyleProperties(`${TRANSITION}Duration`);
|
|
322
|
-
const transitionTimeout = getTimeout(transitionDelays, transitionDurations);
|
|
323
|
-
const animationDelays = getStyleProperties(`${ANIMATION}Delay`);
|
|
324
|
-
const animationDurations = getStyleProperties(`${ANIMATION}Duration`);
|
|
325
|
-
const animationTimeout = getTimeout(animationDelays, animationDurations);
|
|
326
|
-
let type = null;
|
|
327
|
-
let timeout = 0;
|
|
328
|
-
let propCount = 0;
|
|
329
|
-
if (expectedType === TRANSITION) {
|
|
330
|
-
if (transitionTimeout > 0) {
|
|
331
|
-
type = TRANSITION;
|
|
332
|
-
timeout = transitionTimeout;
|
|
333
|
-
propCount = transitionDurations.length;
|
|
334
|
-
}
|
|
335
|
-
} else if (expectedType === ANIMATION) {
|
|
336
|
-
if (animationTimeout > 0) {
|
|
337
|
-
type = ANIMATION;
|
|
338
|
-
timeout = animationTimeout;
|
|
339
|
-
propCount = animationDurations.length;
|
|
340
|
-
}
|
|
341
|
-
} else {
|
|
342
|
-
timeout = Math.max(transitionTimeout, animationTimeout);
|
|
343
|
-
type = timeout > 0 ? transitionTimeout > animationTimeout ? TRANSITION : ANIMATION : null;
|
|
344
|
-
propCount = type ? type === TRANSITION ? transitionDurations.length : animationDurations.length : 0;
|
|
345
|
-
}
|
|
346
|
-
const hasTransform = type === TRANSITION && /\b(?:transform|all)(?:,|$)/.test(
|
|
347
|
-
getStyleProperties(`${TRANSITION}Property`).toString()
|
|
348
|
-
);
|
|
349
|
-
return {
|
|
350
|
-
type,
|
|
351
|
-
timeout,
|
|
352
|
-
propCount,
|
|
353
|
-
hasTransform
|
|
354
|
-
};
|
|
355
|
-
}
|
|
356
|
-
function getTimeout(delays, durations) {
|
|
357
|
-
while (delays.length < durations.length) {
|
|
358
|
-
delays = delays.concat(delays);
|
|
359
|
-
}
|
|
360
|
-
return Math.max(...durations.map((d, i) => toMs(d) + toMs(delays[i])));
|
|
361
|
-
}
|
|
362
|
-
function toMs(s) {
|
|
363
|
-
if (s === "auto") return 0;
|
|
364
|
-
return Number(s.slice(0, -1).replace(",", ".")) * 1e3;
|
|
365
|
-
}
|
|
366
|
-
function forceReflow(el) {
|
|
367
|
-
const targetDocument = el ? el.ownerDocument : document;
|
|
368
|
-
return targetDocument.body.offsetHeight;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
function patchClass(el, value, isSVG) {
|
|
372
|
-
const transitionClasses = el[vtcKey];
|
|
373
|
-
if (transitionClasses) {
|
|
374
|
-
value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(" ");
|
|
375
|
-
}
|
|
376
|
-
if (value == null) {
|
|
377
|
-
el.removeAttribute("class");
|
|
378
|
-
} else if (isSVG) {
|
|
379
|
-
el.setAttribute("class", value);
|
|
380
|
-
} else {
|
|
381
|
-
el.className = value;
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
const vShowOriginalDisplay = Symbol("_vod");
|
|
386
|
-
const vShowHidden = Symbol("_vsh");
|
|
387
|
-
const vShow = {
|
|
388
|
-
// used for prop mismatch check during hydration
|
|
389
|
-
name: "show",
|
|
390
|
-
beforeMount(el, { value }, { transition }) {
|
|
391
|
-
el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
|
|
392
|
-
if (transition && value) {
|
|
393
|
-
transition.beforeEnter(el);
|
|
394
|
-
} else {
|
|
395
|
-
setDisplay(el, value);
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
mounted(el, { value }, { transition }) {
|
|
399
|
-
if (transition && value) {
|
|
400
|
-
transition.enter(el);
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
updated(el, { value, oldValue }, { transition }) {
|
|
404
|
-
if (!value === !oldValue) return;
|
|
405
|
-
if (transition) {
|
|
406
|
-
if (value) {
|
|
407
|
-
transition.beforeEnter(el);
|
|
408
|
-
setDisplay(el, true);
|
|
409
|
-
transition.enter(el);
|
|
410
|
-
} else {
|
|
411
|
-
transition.leave(el, () => {
|
|
412
|
-
setDisplay(el, false);
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
} else {
|
|
416
|
-
setDisplay(el, value);
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
beforeUnmount(el, { value }) {
|
|
420
|
-
setDisplay(el, value);
|
|
421
|
-
}
|
|
422
|
-
};
|
|
423
|
-
function setDisplay(el, value) {
|
|
424
|
-
el.style.display = value ? el[vShowOriginalDisplay] : "none";
|
|
425
|
-
el[vShowHidden] = !value;
|
|
426
|
-
}
|
|
427
|
-
function initVShowForSSR() {
|
|
428
|
-
vShow.getSSRProps = ({ value }) => {
|
|
429
|
-
if (!value) {
|
|
430
|
-
return { style: { display: "none" } };
|
|
431
|
-
}
|
|
432
|
-
};
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
const CSS_VAR_TEXT = Symbol("");
|
|
436
|
-
function useCssVars(getter) {
|
|
437
|
-
return;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
const displayRE = /(?:^|;)\s*display\s*:/;
|
|
441
|
-
function patchStyle(el, prev, next) {
|
|
442
|
-
const style = el.style;
|
|
443
|
-
const isCssString = shared.isString(next);
|
|
444
|
-
let hasControlledDisplay = false;
|
|
445
|
-
if (next && !isCssString) {
|
|
446
|
-
if (prev) {
|
|
447
|
-
if (!shared.isString(prev)) {
|
|
448
|
-
for (const key in prev) {
|
|
449
|
-
if (next[key] == null) {
|
|
450
|
-
setStyle(style, key, "");
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
} else {
|
|
454
|
-
for (const prevStyle of prev.split(";")) {
|
|
455
|
-
const key = prevStyle.slice(0, prevStyle.indexOf(":")).trim();
|
|
456
|
-
if (next[key] == null) {
|
|
457
|
-
setStyle(style, key, "");
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
for (const key in next) {
|
|
463
|
-
if (key === "display") {
|
|
464
|
-
hasControlledDisplay = true;
|
|
465
|
-
}
|
|
466
|
-
setStyle(style, key, next[key]);
|
|
467
|
-
}
|
|
468
|
-
} else {
|
|
469
|
-
if (isCssString) {
|
|
470
|
-
if (prev !== next) {
|
|
471
|
-
const cssVarText = style[CSS_VAR_TEXT];
|
|
472
|
-
if (cssVarText) {
|
|
473
|
-
next += ";" + cssVarText;
|
|
474
|
-
}
|
|
475
|
-
style.cssText = next;
|
|
476
|
-
hasControlledDisplay = displayRE.test(next);
|
|
477
|
-
}
|
|
478
|
-
} else if (prev) {
|
|
479
|
-
el.removeAttribute("style");
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
if (vShowOriginalDisplay in el) {
|
|
483
|
-
el[vShowOriginalDisplay] = hasControlledDisplay ? style.display : "";
|
|
484
|
-
if (el[vShowHidden]) {
|
|
485
|
-
style.display = "none";
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
const importantRE = /\s*!important$/;
|
|
490
|
-
function setStyle(style, name, val) {
|
|
491
|
-
if (shared.isArray(val)) {
|
|
492
|
-
val.forEach((v) => setStyle(style, name, v));
|
|
493
|
-
} else {
|
|
494
|
-
if (val == null) val = "";
|
|
495
|
-
if (name.startsWith("--")) {
|
|
496
|
-
style.setProperty(name, val);
|
|
497
|
-
} else {
|
|
498
|
-
const prefixed = autoPrefix(style, name);
|
|
499
|
-
if (importantRE.test(val)) {
|
|
500
|
-
style.setProperty(
|
|
501
|
-
shared.hyphenate(prefixed),
|
|
502
|
-
val.replace(importantRE, ""),
|
|
503
|
-
"important"
|
|
504
|
-
);
|
|
505
|
-
} else {
|
|
506
|
-
style[prefixed] = val;
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
const prefixes = ["Webkit", "Moz", "ms"];
|
|
512
|
-
const prefixCache = {};
|
|
513
|
-
function autoPrefix(style, rawName) {
|
|
514
|
-
const cached = prefixCache[rawName];
|
|
515
|
-
if (cached) {
|
|
516
|
-
return cached;
|
|
517
|
-
}
|
|
518
|
-
let name = runtimeCore.camelize(rawName);
|
|
519
|
-
if (name !== "filter" && name in style) {
|
|
520
|
-
return prefixCache[rawName] = name;
|
|
521
|
-
}
|
|
522
|
-
name = shared.capitalize(name);
|
|
523
|
-
for (let i = 0; i < prefixes.length; i++) {
|
|
524
|
-
const prefixed = prefixes[i] + name;
|
|
525
|
-
if (prefixed in style) {
|
|
526
|
-
return prefixCache[rawName] = prefixed;
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
return rawName;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
const xlinkNS = "http://www.w3.org/1999/xlink";
|
|
533
|
-
function patchAttr(el, key, value, isSVG, instance, isBoolean = shared.isSpecialBooleanAttr(key)) {
|
|
534
|
-
if (isSVG && key.startsWith("xlink:")) {
|
|
535
|
-
if (value == null) {
|
|
536
|
-
el.removeAttributeNS(xlinkNS, key.slice(6, key.length));
|
|
537
|
-
} else {
|
|
538
|
-
el.setAttributeNS(xlinkNS, key, value);
|
|
539
|
-
}
|
|
540
|
-
} else {
|
|
541
|
-
if (value == null || isBoolean && !shared.includeBooleanAttr(value)) {
|
|
542
|
-
el.removeAttribute(key);
|
|
543
|
-
} else {
|
|
544
|
-
el.setAttribute(
|
|
545
|
-
key,
|
|
546
|
-
isBoolean ? "" : shared.isSymbol(value) ? String(value) : value
|
|
547
|
-
);
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
function patchDOMProp(el, key, value, parentComponent, attrName) {
|
|
553
|
-
if (key === "innerHTML" || key === "textContent") {
|
|
554
|
-
if (value != null) {
|
|
555
|
-
el[key] = key === "innerHTML" ? unsafeToTrustedHTML(value) : value;
|
|
556
|
-
}
|
|
557
|
-
return;
|
|
558
|
-
}
|
|
559
|
-
const tag = el.tagName;
|
|
560
|
-
if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
|
|
561
|
-
!tag.includes("-")) {
|
|
562
|
-
const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
|
|
563
|
-
const newValue = value == null ? (
|
|
564
|
-
// #11647: value should be set as empty string for null and undefined,
|
|
565
|
-
// but <input type="checkbox"> should be set as 'on'.
|
|
566
|
-
el.type === "checkbox" ? "on" : ""
|
|
567
|
-
) : String(value);
|
|
568
|
-
if (oldValue !== newValue || !("_value" in el)) {
|
|
569
|
-
el.value = newValue;
|
|
570
|
-
}
|
|
571
|
-
if (value == null) {
|
|
572
|
-
el.removeAttribute(key);
|
|
573
|
-
}
|
|
574
|
-
el._value = value;
|
|
575
|
-
return;
|
|
576
|
-
}
|
|
577
|
-
let needRemove = false;
|
|
578
|
-
if (value === "" || value == null) {
|
|
579
|
-
const type = typeof el[key];
|
|
580
|
-
if (type === "boolean") {
|
|
581
|
-
value = shared.includeBooleanAttr(value);
|
|
582
|
-
} else if (value == null && type === "string") {
|
|
583
|
-
value = "";
|
|
584
|
-
needRemove = true;
|
|
585
|
-
} else if (type === "number") {
|
|
586
|
-
value = 0;
|
|
587
|
-
needRemove = true;
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
try {
|
|
591
|
-
el[key] = value;
|
|
592
|
-
} catch (e) {
|
|
593
|
-
}
|
|
594
|
-
needRemove && el.removeAttribute(attrName || key);
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
function addEventListener(el, event, handler, options) {
|
|
598
|
-
el.addEventListener(event, handler, options);
|
|
599
|
-
}
|
|
600
|
-
function removeEventListener(el, event, handler, options) {
|
|
601
|
-
el.removeEventListener(event, handler, options);
|
|
602
|
-
}
|
|
603
|
-
const veiKey = Symbol("_vei");
|
|
604
|
-
function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
605
|
-
const invokers = el[veiKey] || (el[veiKey] = {});
|
|
606
|
-
const existingInvoker = invokers[rawName];
|
|
607
|
-
if (nextValue && existingInvoker) {
|
|
608
|
-
existingInvoker.value = nextValue;
|
|
609
|
-
} else {
|
|
610
|
-
const [name, options] = parseName(rawName);
|
|
611
|
-
if (nextValue) {
|
|
612
|
-
const invoker = invokers[rawName] = createInvoker(
|
|
613
|
-
nextValue,
|
|
614
|
-
instance
|
|
615
|
-
);
|
|
616
|
-
addEventListener(el, name, invoker, options);
|
|
617
|
-
} else if (existingInvoker) {
|
|
618
|
-
removeEventListener(el, name, existingInvoker, options);
|
|
619
|
-
invokers[rawName] = void 0;
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
const optionsModifierRE = /(?:Once|Passive|Capture)$/;
|
|
624
|
-
function parseName(name) {
|
|
625
|
-
let options;
|
|
626
|
-
if (optionsModifierRE.test(name)) {
|
|
627
|
-
options = {};
|
|
628
|
-
let m;
|
|
629
|
-
while (m = name.match(optionsModifierRE)) {
|
|
630
|
-
name = name.slice(0, name.length - m[0].length);
|
|
631
|
-
options[m[0].toLowerCase()] = true;
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
const event = name[2] === ":" ? name.slice(3) : shared.hyphenate(name.slice(2));
|
|
635
|
-
return [event, options];
|
|
636
|
-
}
|
|
637
|
-
let cachedNow = 0;
|
|
638
|
-
const p = /* @__PURE__ */ Promise.resolve();
|
|
639
|
-
const getNow = () => cachedNow || (p.then(() => cachedNow = 0), cachedNow = Date.now());
|
|
640
|
-
function createInvoker(initialValue, instance) {
|
|
641
|
-
const invoker = (e) => {
|
|
642
|
-
if (!e._vts) {
|
|
643
|
-
e._vts = Date.now();
|
|
644
|
-
} else if (e._vts <= invoker.attached) {
|
|
645
|
-
return;
|
|
646
|
-
}
|
|
647
|
-
runtimeCore.callWithAsyncErrorHandling(
|
|
648
|
-
patchStopImmediatePropagation(e, invoker.value),
|
|
649
|
-
instance,
|
|
650
|
-
5,
|
|
651
|
-
[e]
|
|
652
|
-
);
|
|
653
|
-
};
|
|
654
|
-
invoker.value = initialValue;
|
|
655
|
-
invoker.attached = getNow();
|
|
656
|
-
return invoker;
|
|
657
|
-
}
|
|
658
|
-
function patchStopImmediatePropagation(e, value) {
|
|
659
|
-
if (shared.isArray(value)) {
|
|
660
|
-
const originalStop = e.stopImmediatePropagation;
|
|
661
|
-
e.stopImmediatePropagation = () => {
|
|
662
|
-
originalStop.call(e);
|
|
663
|
-
e._stopped = true;
|
|
664
|
-
};
|
|
665
|
-
return value.map(
|
|
666
|
-
(fn) => (e2) => !e2._stopped && fn && fn(e2)
|
|
667
|
-
);
|
|
668
|
-
} else {
|
|
669
|
-
return value;
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
const isNativeOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // lowercase letter
|
|
674
|
-
key.charCodeAt(2) > 96 && key.charCodeAt(2) < 123;
|
|
675
|
-
const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) => {
|
|
676
|
-
const isSVG = namespace === "svg";
|
|
677
|
-
if (key === "class") {
|
|
678
|
-
patchClass(el, nextValue, isSVG);
|
|
679
|
-
} else if (key === "style") {
|
|
680
|
-
patchStyle(el, prevValue, nextValue);
|
|
681
|
-
} else if (shared.isOn(key)) {
|
|
682
|
-
if (!shared.isModelListener(key)) {
|
|
683
|
-
patchEvent(el, key, prevValue, nextValue, parentComponent);
|
|
684
|
-
}
|
|
685
|
-
} else if (key[0] === "." ? (key = key.slice(1), true) : key[0] === "^" ? (key = key.slice(1), false) : shouldSetAsProp(el, key, nextValue, isSVG)) {
|
|
686
|
-
patchDOMProp(el, key, nextValue);
|
|
687
|
-
if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
|
|
688
|
-
patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
|
|
689
|
-
}
|
|
690
|
-
} else if (
|
|
691
|
-
// #11081 force set props for possible async custom element
|
|
692
|
-
el._isVueCE && (/[A-Z]/.test(key) || !shared.isString(nextValue))
|
|
693
|
-
) {
|
|
694
|
-
patchDOMProp(el, shared.camelize(key), nextValue, parentComponent, key);
|
|
695
|
-
} else {
|
|
696
|
-
if (key === "true-value") {
|
|
697
|
-
el._trueValue = nextValue;
|
|
698
|
-
} else if (key === "false-value") {
|
|
699
|
-
el._falseValue = nextValue;
|
|
700
|
-
}
|
|
701
|
-
patchAttr(el, key, nextValue, isSVG);
|
|
702
|
-
}
|
|
703
|
-
};
|
|
704
|
-
function shouldSetAsProp(el, key, value, isSVG) {
|
|
705
|
-
if (isSVG) {
|
|
706
|
-
if (key === "innerHTML" || key === "textContent") {
|
|
707
|
-
return true;
|
|
708
|
-
}
|
|
709
|
-
if (key in el && isNativeOn(key) && shared.isFunction(value)) {
|
|
710
|
-
return true;
|
|
711
|
-
}
|
|
712
|
-
return false;
|
|
713
|
-
}
|
|
714
|
-
if (key === "spellcheck" || key === "draggable" || key === "translate" || key === "autocorrect") {
|
|
715
|
-
return false;
|
|
716
|
-
}
|
|
717
|
-
if (key === "form") {
|
|
718
|
-
return false;
|
|
719
|
-
}
|
|
720
|
-
if (key === "list" && el.tagName === "INPUT") {
|
|
721
|
-
return false;
|
|
722
|
-
}
|
|
723
|
-
if (key === "type" && el.tagName === "TEXTAREA") {
|
|
724
|
-
return false;
|
|
725
|
-
}
|
|
726
|
-
if (key === "width" || key === "height") {
|
|
727
|
-
const tag = el.tagName;
|
|
728
|
-
if (tag === "IMG" || tag === "VIDEO" || tag === "CANVAS" || tag === "SOURCE") {
|
|
729
|
-
return false;
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
if (isNativeOn(key) && shared.isString(value)) {
|
|
733
|
-
return false;
|
|
734
|
-
}
|
|
735
|
-
return key in el;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
const REMOVAL = {};
|
|
739
|
-
// @__NO_SIDE_EFFECTS__
|
|
740
|
-
function defineCustomElement(options, extraOptions, _createApp) {
|
|
741
|
-
let Comp = runtimeCore.defineComponent(options, extraOptions);
|
|
742
|
-
if (shared.isPlainObject(Comp)) Comp = shared.extend({}, Comp, extraOptions);
|
|
743
|
-
class VueCustomElement extends VueElement {
|
|
744
|
-
constructor(initialProps) {
|
|
745
|
-
super(Comp, initialProps, _createApp);
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
VueCustomElement.def = Comp;
|
|
749
|
-
return VueCustomElement;
|
|
750
|
-
}
|
|
751
|
-
const defineSSRCustomElement = (/* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
|
|
752
|
-
return /* @__PURE__ */ defineCustomElement(options, extraOptions, createSSRApp);
|
|
753
|
-
});
|
|
754
|
-
const BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
|
|
755
|
-
};
|
|
756
|
-
class VueElement extends BaseClass {
|
|
757
|
-
constructor(_def, _props = {}, _createApp = createApp) {
|
|
758
|
-
super();
|
|
759
|
-
this._def = _def;
|
|
760
|
-
this._props = _props;
|
|
761
|
-
this._createApp = _createApp;
|
|
762
|
-
this._isVueCE = true;
|
|
763
|
-
/**
|
|
764
|
-
* @internal
|
|
765
|
-
*/
|
|
766
|
-
this._instance = null;
|
|
767
|
-
/**
|
|
768
|
-
* @internal
|
|
769
|
-
*/
|
|
770
|
-
this._app = null;
|
|
771
|
-
/**
|
|
772
|
-
* @internal
|
|
773
|
-
*/
|
|
774
|
-
this._nonce = this._def.nonce;
|
|
775
|
-
this._connected = false;
|
|
776
|
-
this._resolved = false;
|
|
777
|
-
this._numberProps = null;
|
|
778
|
-
this._styleChildren = /* @__PURE__ */ new WeakSet();
|
|
779
|
-
this._ob = null;
|
|
780
|
-
if (this.shadowRoot && _createApp !== createApp) {
|
|
781
|
-
this._root = this.shadowRoot;
|
|
782
|
-
} else {
|
|
783
|
-
if (_def.shadowRoot !== false) {
|
|
784
|
-
this.attachShadow(
|
|
785
|
-
shared.extend({}, _def.shadowRootOptions, {
|
|
786
|
-
mode: "open"
|
|
787
|
-
})
|
|
788
|
-
);
|
|
789
|
-
this._root = this.shadowRoot;
|
|
790
|
-
} else {
|
|
791
|
-
this._root = this;
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
connectedCallback() {
|
|
796
|
-
if (!this.isConnected) return;
|
|
797
|
-
if (!this.shadowRoot && !this._resolved) {
|
|
798
|
-
this._parseSlots();
|
|
799
|
-
}
|
|
800
|
-
this._connected = true;
|
|
801
|
-
let parent = this;
|
|
802
|
-
while (parent = parent && (parent.parentNode || parent.host)) {
|
|
803
|
-
if (parent instanceof VueElement) {
|
|
804
|
-
this._parent = parent;
|
|
805
|
-
break;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
if (!this._instance) {
|
|
809
|
-
if (this._resolved) {
|
|
810
|
-
this._mount(this._def);
|
|
811
|
-
} else {
|
|
812
|
-
if (parent && parent._pendingResolve) {
|
|
813
|
-
this._pendingResolve = parent._pendingResolve.then(() => {
|
|
814
|
-
this._pendingResolve = void 0;
|
|
815
|
-
this._resolveDef();
|
|
816
|
-
});
|
|
817
|
-
} else {
|
|
818
|
-
this._resolveDef();
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
_setParent(parent = this._parent) {
|
|
824
|
-
if (parent) {
|
|
825
|
-
this._instance.parent = parent._instance;
|
|
826
|
-
this._inheritParentContext(parent);
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
_inheritParentContext(parent = this._parent) {
|
|
830
|
-
if (parent && this._app) {
|
|
831
|
-
Object.setPrototypeOf(
|
|
832
|
-
this._app._context.provides,
|
|
833
|
-
parent._instance.provides
|
|
834
|
-
);
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
disconnectedCallback() {
|
|
838
|
-
this._connected = false;
|
|
839
|
-
runtimeCore.nextTick(() => {
|
|
840
|
-
if (!this._connected) {
|
|
841
|
-
if (this._ob) {
|
|
842
|
-
this._ob.disconnect();
|
|
843
|
-
this._ob = null;
|
|
844
|
-
}
|
|
845
|
-
this._app && this._app.unmount();
|
|
846
|
-
if (this._instance) this._instance.ce = void 0;
|
|
847
|
-
this._app = this._instance = null;
|
|
848
|
-
if (this._teleportTargets) {
|
|
849
|
-
this._teleportTargets.clear();
|
|
850
|
-
this._teleportTargets = void 0;
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
});
|
|
854
|
-
}
|
|
855
|
-
_processMutations(mutations) {
|
|
856
|
-
for (const m of mutations) {
|
|
857
|
-
this._setAttr(m.attributeName);
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
/**
|
|
861
|
-
* resolve inner component definition (handle possible async component)
|
|
862
|
-
*/
|
|
863
|
-
_resolveDef() {
|
|
864
|
-
if (this._pendingResolve) {
|
|
865
|
-
return;
|
|
866
|
-
}
|
|
867
|
-
for (let i = 0; i < this.attributes.length; i++) {
|
|
868
|
-
this._setAttr(this.attributes[i].name);
|
|
869
|
-
}
|
|
870
|
-
this._ob = new MutationObserver(this._processMutations.bind(this));
|
|
871
|
-
this._ob.observe(this, { attributes: true });
|
|
872
|
-
const resolve = (def, isAsync = false) => {
|
|
873
|
-
this._resolved = true;
|
|
874
|
-
this._pendingResolve = void 0;
|
|
875
|
-
const { props, styles } = def;
|
|
876
|
-
let numberProps;
|
|
877
|
-
if (props && !shared.isArray(props)) {
|
|
878
|
-
for (const key in props) {
|
|
879
|
-
const opt = props[key];
|
|
880
|
-
if (opt === Number || opt && opt.type === Number) {
|
|
881
|
-
if (key in this._props) {
|
|
882
|
-
this._props[key] = shared.toNumber(this._props[key]);
|
|
883
|
-
}
|
|
884
|
-
(numberProps || (numberProps = /* @__PURE__ */ Object.create(null)))[shared.camelize(key)] = true;
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
this._numberProps = numberProps;
|
|
889
|
-
this._resolveProps(def);
|
|
890
|
-
if (this.shadowRoot) {
|
|
891
|
-
this._applyStyles(styles);
|
|
892
|
-
}
|
|
893
|
-
this._mount(def);
|
|
894
|
-
};
|
|
895
|
-
const asyncDef = this._def.__asyncLoader;
|
|
896
|
-
if (asyncDef) {
|
|
897
|
-
this._pendingResolve = asyncDef().then((def) => {
|
|
898
|
-
def.configureApp = this._def.configureApp;
|
|
899
|
-
resolve(this._def = def, true);
|
|
900
|
-
});
|
|
901
|
-
} else {
|
|
902
|
-
resolve(this._def);
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
_mount(def) {
|
|
906
|
-
this._app = this._createApp(def);
|
|
907
|
-
this._inheritParentContext();
|
|
908
|
-
if (def.configureApp) {
|
|
909
|
-
def.configureApp(this._app);
|
|
910
|
-
}
|
|
911
|
-
this._app._ceVNode = this._createVNode();
|
|
912
|
-
this._app.mount(this._root);
|
|
913
|
-
const exposed = this._instance && this._instance.exposed;
|
|
914
|
-
if (!exposed) return;
|
|
915
|
-
for (const key in exposed) {
|
|
916
|
-
if (!shared.hasOwn(this, key)) {
|
|
917
|
-
Object.defineProperty(this, key, {
|
|
918
|
-
// unwrap ref to be consistent with public instance behavior
|
|
919
|
-
get: () => runtimeCore.unref(exposed[key])
|
|
920
|
-
});
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
_resolveProps(def) {
|
|
925
|
-
const { props } = def;
|
|
926
|
-
const declaredPropKeys = shared.isArray(props) ? props : Object.keys(props || {});
|
|
927
|
-
for (const key of Object.keys(this)) {
|
|
928
|
-
if (key[0] !== "_" && declaredPropKeys.includes(key)) {
|
|
929
|
-
this._setProp(key, this[key]);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
for (const key of declaredPropKeys.map(shared.camelize)) {
|
|
933
|
-
Object.defineProperty(this, key, {
|
|
934
|
-
get() {
|
|
935
|
-
return this._getProp(key);
|
|
936
|
-
},
|
|
937
|
-
set(val) {
|
|
938
|
-
this._setProp(key, val, true, true);
|
|
939
|
-
}
|
|
940
|
-
});
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
_setAttr(key) {
|
|
944
|
-
if (key.startsWith("data-v-")) return;
|
|
945
|
-
const has = this.hasAttribute(key);
|
|
946
|
-
let value = has ? this.getAttribute(key) : REMOVAL;
|
|
947
|
-
const camelKey = shared.camelize(key);
|
|
948
|
-
if (has && this._numberProps && this._numberProps[camelKey]) {
|
|
949
|
-
value = shared.toNumber(value);
|
|
950
|
-
}
|
|
951
|
-
this._setProp(camelKey, value, false, true);
|
|
952
|
-
}
|
|
953
|
-
/**
|
|
954
|
-
* @internal
|
|
955
|
-
*/
|
|
956
|
-
_getProp(key) {
|
|
957
|
-
return this._props[key];
|
|
958
|
-
}
|
|
959
|
-
/**
|
|
960
|
-
* @internal
|
|
961
|
-
*/
|
|
962
|
-
_setProp(key, val, shouldReflect = true, shouldUpdate = false) {
|
|
963
|
-
if (val !== this._props[key]) {
|
|
964
|
-
if (val === REMOVAL) {
|
|
965
|
-
delete this._props[key];
|
|
966
|
-
} else {
|
|
967
|
-
this._props[key] = val;
|
|
968
|
-
if (key === "key" && this._app) {
|
|
969
|
-
this._app._ceVNode.key = val;
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
if (shouldUpdate && this._instance) {
|
|
973
|
-
this._update();
|
|
974
|
-
}
|
|
975
|
-
if (shouldReflect) {
|
|
976
|
-
const ob = this._ob;
|
|
977
|
-
if (ob) {
|
|
978
|
-
this._processMutations(ob.takeRecords());
|
|
979
|
-
ob.disconnect();
|
|
980
|
-
}
|
|
981
|
-
if (val === true) {
|
|
982
|
-
this.setAttribute(shared.hyphenate(key), "");
|
|
983
|
-
} else if (typeof val === "string" || typeof val === "number") {
|
|
984
|
-
this.setAttribute(shared.hyphenate(key), val + "");
|
|
985
|
-
} else if (!val) {
|
|
986
|
-
this.removeAttribute(shared.hyphenate(key));
|
|
987
|
-
}
|
|
988
|
-
ob && ob.observe(this, { attributes: true });
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
_update() {
|
|
993
|
-
const vnode = this._createVNode();
|
|
994
|
-
if (this._app) vnode.appContext = this._app._context;
|
|
995
|
-
render(vnode, this._root);
|
|
996
|
-
}
|
|
997
|
-
_createVNode() {
|
|
998
|
-
const baseProps = {};
|
|
999
|
-
if (!this.shadowRoot) {
|
|
1000
|
-
baseProps.onVnodeMounted = baseProps.onVnodeUpdated = this._renderSlots.bind(this);
|
|
1001
|
-
}
|
|
1002
|
-
const vnode = runtimeCore.createVNode(this._def, shared.extend(baseProps, this._props));
|
|
1003
|
-
if (!this._instance) {
|
|
1004
|
-
vnode.ce = (instance) => {
|
|
1005
|
-
this._instance = instance;
|
|
1006
|
-
instance.ce = this;
|
|
1007
|
-
instance.isCE = true;
|
|
1008
|
-
const dispatch = (event, args) => {
|
|
1009
|
-
this.dispatchEvent(
|
|
1010
|
-
new CustomEvent(
|
|
1011
|
-
event,
|
|
1012
|
-
shared.isPlainObject(args[0]) ? shared.extend({ detail: args }, args[0]) : { detail: args }
|
|
1013
|
-
)
|
|
1014
|
-
);
|
|
1015
|
-
};
|
|
1016
|
-
instance.emit = (event, ...args) => {
|
|
1017
|
-
dispatch(event, args);
|
|
1018
|
-
if (shared.hyphenate(event) !== event) {
|
|
1019
|
-
dispatch(shared.hyphenate(event), args);
|
|
1020
|
-
}
|
|
1021
|
-
};
|
|
1022
|
-
this._setParent();
|
|
1023
|
-
};
|
|
1024
|
-
}
|
|
1025
|
-
return vnode;
|
|
1026
|
-
}
|
|
1027
|
-
_applyStyles(styles, owner) {
|
|
1028
|
-
if (!styles) return;
|
|
1029
|
-
if (owner) {
|
|
1030
|
-
if (owner === this._def || this._styleChildren.has(owner)) {
|
|
1031
|
-
return;
|
|
1032
|
-
}
|
|
1033
|
-
this._styleChildren.add(owner);
|
|
1034
|
-
}
|
|
1035
|
-
const nonce = this._nonce;
|
|
1036
|
-
for (let i = styles.length - 1; i >= 0; i--) {
|
|
1037
|
-
const s = document.createElement("style");
|
|
1038
|
-
if (nonce) s.setAttribute("nonce", nonce);
|
|
1039
|
-
s.textContent = styles[i];
|
|
1040
|
-
this.shadowRoot.prepend(s);
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
/**
|
|
1044
|
-
* Only called when shadowRoot is false
|
|
1045
|
-
*/
|
|
1046
|
-
_parseSlots() {
|
|
1047
|
-
const slots = this._slots = {};
|
|
1048
|
-
let n;
|
|
1049
|
-
while (n = this.firstChild) {
|
|
1050
|
-
const slotName = n.nodeType === 1 && n.getAttribute("slot") || "default";
|
|
1051
|
-
(slots[slotName] || (slots[slotName] = [])).push(n);
|
|
1052
|
-
this.removeChild(n);
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
/**
|
|
1056
|
-
* Only called when shadowRoot is false
|
|
1057
|
-
*/
|
|
1058
|
-
_renderSlots() {
|
|
1059
|
-
const outlets = this._getSlots();
|
|
1060
|
-
const scopeId = this._instance.type.__scopeId;
|
|
1061
|
-
for (let i = 0; i < outlets.length; i++) {
|
|
1062
|
-
const o = outlets[i];
|
|
1063
|
-
const slotName = o.getAttribute("name") || "default";
|
|
1064
|
-
const content = this._slots[slotName];
|
|
1065
|
-
const parent = o.parentNode;
|
|
1066
|
-
if (content) {
|
|
1067
|
-
for (const n of content) {
|
|
1068
|
-
if (scopeId && n.nodeType === 1) {
|
|
1069
|
-
const id = scopeId + "-s";
|
|
1070
|
-
const walker = document.createTreeWalker(n, 1);
|
|
1071
|
-
n.setAttribute(id, "");
|
|
1072
|
-
let child;
|
|
1073
|
-
while (child = walker.nextNode()) {
|
|
1074
|
-
child.setAttribute(id, "");
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
1077
|
-
parent.insertBefore(n, o);
|
|
1078
|
-
}
|
|
1079
|
-
} else {
|
|
1080
|
-
while (o.firstChild) parent.insertBefore(o.firstChild, o);
|
|
1081
|
-
}
|
|
1082
|
-
parent.removeChild(o);
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
/**
|
|
1086
|
-
* @internal
|
|
1087
|
-
*/
|
|
1088
|
-
_getSlots() {
|
|
1089
|
-
const roots = [this];
|
|
1090
|
-
if (this._teleportTargets) {
|
|
1091
|
-
roots.push(...this._teleportTargets);
|
|
1092
|
-
}
|
|
1093
|
-
return roots.reduce((res, i) => {
|
|
1094
|
-
res.push(...Array.from(i.querySelectorAll("slot")));
|
|
1095
|
-
return res;
|
|
1096
|
-
}, []);
|
|
1097
|
-
}
|
|
1098
|
-
/**
|
|
1099
|
-
* @internal
|
|
1100
|
-
*/
|
|
1101
|
-
_injectChildStyle(comp) {
|
|
1102
|
-
this._applyStyles(comp.styles, comp);
|
|
1103
|
-
}
|
|
1104
|
-
/**
|
|
1105
|
-
* @internal
|
|
1106
|
-
*/
|
|
1107
|
-
_removeChildStyle(comp) {
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
function useHost(caller) {
|
|
1111
|
-
const instance = runtimeCore.getCurrentInstance();
|
|
1112
|
-
const el = instance && instance.ce;
|
|
1113
|
-
if (el) {
|
|
1114
|
-
return el;
|
|
1115
|
-
}
|
|
1116
|
-
return null;
|
|
1117
|
-
}
|
|
1118
|
-
function useShadowRoot() {
|
|
1119
|
-
const el = useHost();
|
|
1120
|
-
return el && el.shadowRoot;
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
function useCssModule(name = "$style") {
|
|
1124
|
-
{
|
|
1125
|
-
const instance = runtimeCore.getCurrentInstance();
|
|
1126
|
-
if (!instance) {
|
|
1127
|
-
return shared.EMPTY_OBJ;
|
|
1128
|
-
}
|
|
1129
|
-
const modules = instance.type.__cssModules;
|
|
1130
|
-
if (!modules) {
|
|
1131
|
-
return shared.EMPTY_OBJ;
|
|
1132
|
-
}
|
|
1133
|
-
const mod = modules[name];
|
|
1134
|
-
if (!mod) {
|
|
1135
|
-
return shared.EMPTY_OBJ;
|
|
1136
|
-
}
|
|
1137
|
-
return mod;
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
1142
|
-
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
1143
|
-
const moveCbKey = Symbol("_moveCb");
|
|
1144
|
-
const enterCbKey = Symbol("_enterCb");
|
|
1145
|
-
const decorate = (t) => {
|
|
1146
|
-
delete t.props.mode;
|
|
1147
|
-
return t;
|
|
1148
|
-
};
|
|
1149
|
-
const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
|
1150
|
-
name: "TransitionGroup",
|
|
1151
|
-
props: /* @__PURE__ */ shared.extend({}, TransitionPropsValidators, {
|
|
1152
|
-
tag: String,
|
|
1153
|
-
moveClass: String
|
|
1154
|
-
}),
|
|
1155
|
-
setup(props, { slots }) {
|
|
1156
|
-
const instance = runtimeCore.getCurrentInstance();
|
|
1157
|
-
const state = runtimeCore.useTransitionState();
|
|
1158
|
-
let prevChildren;
|
|
1159
|
-
let children;
|
|
1160
|
-
runtimeCore.onUpdated(() => {
|
|
1161
|
-
if (!prevChildren.length) {
|
|
1162
|
-
return;
|
|
1163
|
-
}
|
|
1164
|
-
const moveClass = props.moveClass || `${props.name || "v"}-move`;
|
|
1165
|
-
if (!hasCSSTransform(
|
|
1166
|
-
prevChildren[0].el,
|
|
1167
|
-
instance.vnode.el,
|
|
1168
|
-
moveClass
|
|
1169
|
-
)) {
|
|
1170
|
-
prevChildren = [];
|
|
1171
|
-
return;
|
|
1172
|
-
}
|
|
1173
|
-
prevChildren.forEach(callPendingCbs);
|
|
1174
|
-
prevChildren.forEach(recordPosition);
|
|
1175
|
-
const movedChildren = prevChildren.filter(applyTranslation);
|
|
1176
|
-
forceReflow(instance.vnode.el);
|
|
1177
|
-
movedChildren.forEach((c) => {
|
|
1178
|
-
const el = c.el;
|
|
1179
|
-
const style = el.style;
|
|
1180
|
-
addTransitionClass(el, moveClass);
|
|
1181
|
-
style.transform = style.webkitTransform = style.transitionDuration = "";
|
|
1182
|
-
const cb = el[moveCbKey] = (e) => {
|
|
1183
|
-
if (e && e.target !== el) {
|
|
1184
|
-
return;
|
|
1185
|
-
}
|
|
1186
|
-
if (!e || e.propertyName.endsWith("transform")) {
|
|
1187
|
-
el.removeEventListener("transitionend", cb);
|
|
1188
|
-
el[moveCbKey] = null;
|
|
1189
|
-
removeTransitionClass(el, moveClass);
|
|
1190
|
-
}
|
|
1191
|
-
};
|
|
1192
|
-
el.addEventListener("transitionend", cb);
|
|
1193
|
-
});
|
|
1194
|
-
prevChildren = [];
|
|
1195
|
-
});
|
|
1196
|
-
return () => {
|
|
1197
|
-
const rawProps = runtimeCore.toRaw(props);
|
|
1198
|
-
const cssTransitionProps = resolveTransitionProps(rawProps);
|
|
1199
|
-
let tag = rawProps.tag || runtimeCore.Fragment;
|
|
1200
|
-
prevChildren = [];
|
|
1201
|
-
if (children) {
|
|
1202
|
-
for (let i = 0; i < children.length; i++) {
|
|
1203
|
-
const child = children[i];
|
|
1204
|
-
if (child.el && child.el instanceof Element) {
|
|
1205
|
-
prevChildren.push(child);
|
|
1206
|
-
runtimeCore.setTransitionHooks(
|
|
1207
|
-
child,
|
|
1208
|
-
runtimeCore.resolveTransitionHooks(
|
|
1209
|
-
child,
|
|
1210
|
-
cssTransitionProps,
|
|
1211
|
-
state,
|
|
1212
|
-
instance
|
|
1213
|
-
)
|
|
1214
|
-
);
|
|
1215
|
-
positionMap.set(
|
|
1216
|
-
child,
|
|
1217
|
-
child.el.getBoundingClientRect()
|
|
1218
|
-
);
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
children = slots.default ? runtimeCore.getTransitionRawChildren(slots.default()) : [];
|
|
1223
|
-
for (let i = 0; i < children.length; i++) {
|
|
1224
|
-
const child = children[i];
|
|
1225
|
-
if (child.key != null) {
|
|
1226
|
-
runtimeCore.setTransitionHooks(
|
|
1227
|
-
child,
|
|
1228
|
-
runtimeCore.resolveTransitionHooks(child, cssTransitionProps, state, instance)
|
|
1229
|
-
);
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1232
|
-
return runtimeCore.createVNode(tag, null, children);
|
|
1233
|
-
};
|
|
1234
|
-
}
|
|
1235
|
-
});
|
|
1236
|
-
const TransitionGroup = TransitionGroupImpl;
|
|
1237
|
-
function callPendingCbs(c) {
|
|
1238
|
-
const el = c.el;
|
|
1239
|
-
if (el[moveCbKey]) {
|
|
1240
|
-
el[moveCbKey]();
|
|
1241
|
-
}
|
|
1242
|
-
if (el[enterCbKey]) {
|
|
1243
|
-
el[enterCbKey]();
|
|
1244
|
-
}
|
|
1245
|
-
}
|
|
1246
|
-
function recordPosition(c) {
|
|
1247
|
-
newPositionMap.set(c, c.el.getBoundingClientRect());
|
|
1248
|
-
}
|
|
1249
|
-
function applyTranslation(c) {
|
|
1250
|
-
const oldPos = positionMap.get(c);
|
|
1251
|
-
const newPos = newPositionMap.get(c);
|
|
1252
|
-
const dx = oldPos.left - newPos.left;
|
|
1253
|
-
const dy = oldPos.top - newPos.top;
|
|
1254
|
-
if (dx || dy) {
|
|
1255
|
-
const s = c.el.style;
|
|
1256
|
-
s.transform = s.webkitTransform = `translate(${dx}px,${dy}px)`;
|
|
1257
|
-
s.transitionDuration = "0s";
|
|
1258
|
-
return c;
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
function hasCSSTransform(el, root, moveClass) {
|
|
1262
|
-
const clone = el.cloneNode();
|
|
1263
|
-
const _vtc = el[vtcKey];
|
|
1264
|
-
if (_vtc) {
|
|
1265
|
-
_vtc.forEach((cls) => {
|
|
1266
|
-
cls.split(/\s+/).forEach((c) => c && clone.classList.remove(c));
|
|
1267
|
-
});
|
|
1268
|
-
}
|
|
1269
|
-
moveClass.split(/\s+/).forEach((c) => c && clone.classList.add(c));
|
|
1270
|
-
clone.style.display = "none";
|
|
1271
|
-
const container = root.nodeType === 1 ? root : root.parentNode;
|
|
1272
|
-
container.appendChild(clone);
|
|
1273
|
-
const { hasTransform } = getTransitionInfo(clone);
|
|
1274
|
-
container.removeChild(clone);
|
|
1275
|
-
return hasTransform;
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
const getModelAssigner = (vnode) => {
|
|
1279
|
-
const fn = vnode.props["onUpdate:modelValue"] || false;
|
|
1280
|
-
return shared.isArray(fn) ? (value) => shared.invokeArrayFns(fn, value) : fn;
|
|
1281
|
-
};
|
|
1282
|
-
function onCompositionStart(e) {
|
|
1283
|
-
e.target.composing = true;
|
|
1284
|
-
}
|
|
1285
|
-
function onCompositionEnd(e) {
|
|
1286
|
-
const target = e.target;
|
|
1287
|
-
if (target.composing) {
|
|
1288
|
-
target.composing = false;
|
|
1289
|
-
target.dispatchEvent(new Event("input"));
|
|
1290
|
-
}
|
|
1291
|
-
}
|
|
1292
|
-
const assignKey = Symbol("_assign");
|
|
1293
|
-
const vModelText = {
|
|
1294
|
-
created(el, { modifiers: { lazy, trim, number } }, vnode) {
|
|
1295
|
-
el[assignKey] = getModelAssigner(vnode);
|
|
1296
|
-
const castToNumber = number || vnode.props && vnode.props.type === "number";
|
|
1297
|
-
addEventListener(el, lazy ? "change" : "input", (e) => {
|
|
1298
|
-
if (e.target.composing) return;
|
|
1299
|
-
let domValue = el.value;
|
|
1300
|
-
if (trim) {
|
|
1301
|
-
domValue = domValue.trim();
|
|
1302
|
-
}
|
|
1303
|
-
if (castToNumber) {
|
|
1304
|
-
domValue = shared.looseToNumber(domValue);
|
|
1305
|
-
}
|
|
1306
|
-
el[assignKey](domValue);
|
|
1307
|
-
});
|
|
1308
|
-
if (trim) {
|
|
1309
|
-
addEventListener(el, "change", () => {
|
|
1310
|
-
el.value = el.value.trim();
|
|
1311
|
-
});
|
|
1312
|
-
}
|
|
1313
|
-
if (!lazy) {
|
|
1314
|
-
addEventListener(el, "compositionstart", onCompositionStart);
|
|
1315
|
-
addEventListener(el, "compositionend", onCompositionEnd);
|
|
1316
|
-
addEventListener(el, "change", onCompositionEnd);
|
|
1317
|
-
}
|
|
1318
|
-
},
|
|
1319
|
-
// set value on mounted so it's after min/max for type="range"
|
|
1320
|
-
mounted(el, { value }) {
|
|
1321
|
-
el.value = value == null ? "" : value;
|
|
1322
|
-
},
|
|
1323
|
-
beforeUpdate(el, { value, oldValue, modifiers: { lazy, trim, number } }, vnode) {
|
|
1324
|
-
el[assignKey] = getModelAssigner(vnode);
|
|
1325
|
-
if (el.composing) return;
|
|
1326
|
-
const elValue = (number || el.type === "number") && !/^0\d/.test(el.value) ? shared.looseToNumber(el.value) : el.value;
|
|
1327
|
-
const newValue = value == null ? "" : value;
|
|
1328
|
-
if (elValue === newValue) {
|
|
1329
|
-
return;
|
|
1330
|
-
}
|
|
1331
|
-
if (document.activeElement === el && el.type !== "range") {
|
|
1332
|
-
if (lazy && value === oldValue) {
|
|
1333
|
-
return;
|
|
1334
|
-
}
|
|
1335
|
-
if (trim && el.value.trim() === newValue) {
|
|
1336
|
-
return;
|
|
1337
|
-
}
|
|
1338
|
-
}
|
|
1339
|
-
el.value = newValue;
|
|
1340
|
-
}
|
|
1341
|
-
};
|
|
1342
|
-
const vModelCheckbox = {
|
|
1343
|
-
// #4096 array checkboxes need to be deep traversed
|
|
1344
|
-
deep: true,
|
|
1345
|
-
created(el, _, vnode) {
|
|
1346
|
-
el[assignKey] = getModelAssigner(vnode);
|
|
1347
|
-
addEventListener(el, "change", () => {
|
|
1348
|
-
const modelValue = el._modelValue;
|
|
1349
|
-
const elementValue = getValue(el);
|
|
1350
|
-
const checked = el.checked;
|
|
1351
|
-
const assign = el[assignKey];
|
|
1352
|
-
if (shared.isArray(modelValue)) {
|
|
1353
|
-
const index = shared.looseIndexOf(modelValue, elementValue);
|
|
1354
|
-
const found = index !== -1;
|
|
1355
|
-
if (checked && !found) {
|
|
1356
|
-
assign(modelValue.concat(elementValue));
|
|
1357
|
-
} else if (!checked && found) {
|
|
1358
|
-
const filtered = [...modelValue];
|
|
1359
|
-
filtered.splice(index, 1);
|
|
1360
|
-
assign(filtered);
|
|
1361
|
-
}
|
|
1362
|
-
} else if (shared.isSet(modelValue)) {
|
|
1363
|
-
const cloned = new Set(modelValue);
|
|
1364
|
-
if (checked) {
|
|
1365
|
-
cloned.add(elementValue);
|
|
1366
|
-
} else {
|
|
1367
|
-
cloned.delete(elementValue);
|
|
1368
|
-
}
|
|
1369
|
-
assign(cloned);
|
|
1370
|
-
} else {
|
|
1371
|
-
assign(getCheckboxValue(el, checked));
|
|
1372
|
-
}
|
|
1373
|
-
});
|
|
1374
|
-
},
|
|
1375
|
-
// set initial checked on mount to wait for true-value/false-value
|
|
1376
|
-
mounted: setChecked,
|
|
1377
|
-
beforeUpdate(el, binding, vnode) {
|
|
1378
|
-
el[assignKey] = getModelAssigner(vnode);
|
|
1379
|
-
setChecked(el, binding, vnode);
|
|
1380
|
-
}
|
|
1381
|
-
};
|
|
1382
|
-
function setChecked(el, { value, oldValue }, vnode) {
|
|
1383
|
-
el._modelValue = value;
|
|
1384
|
-
let checked;
|
|
1385
|
-
if (shared.isArray(value)) {
|
|
1386
|
-
checked = shared.looseIndexOf(value, vnode.props.value) > -1;
|
|
1387
|
-
} else if (shared.isSet(value)) {
|
|
1388
|
-
checked = value.has(vnode.props.value);
|
|
1389
|
-
} else {
|
|
1390
|
-
if (value === oldValue) return;
|
|
1391
|
-
checked = shared.looseEqual(value, getCheckboxValue(el, true));
|
|
1392
|
-
}
|
|
1393
|
-
if (el.checked !== checked) {
|
|
1394
|
-
el.checked = checked;
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
const vModelRadio = {
|
|
1398
|
-
created(el, { value }, vnode) {
|
|
1399
|
-
el.checked = shared.looseEqual(value, vnode.props.value);
|
|
1400
|
-
el[assignKey] = getModelAssigner(vnode);
|
|
1401
|
-
addEventListener(el, "change", () => {
|
|
1402
|
-
el[assignKey](getValue(el));
|
|
1403
|
-
});
|
|
1404
|
-
},
|
|
1405
|
-
beforeUpdate(el, { value, oldValue }, vnode) {
|
|
1406
|
-
el[assignKey] = getModelAssigner(vnode);
|
|
1407
|
-
if (value !== oldValue) {
|
|
1408
|
-
el.checked = shared.looseEqual(value, vnode.props.value);
|
|
1409
|
-
}
|
|
1410
|
-
}
|
|
1411
|
-
};
|
|
1412
|
-
const vModelSelect = {
|
|
1413
|
-
// <select multiple> value need to be deep traversed
|
|
1414
|
-
deep: true,
|
|
1415
|
-
created(el, { value, modifiers: { number } }, vnode) {
|
|
1416
|
-
const isSetModel = shared.isSet(value);
|
|
1417
|
-
addEventListener(el, "change", () => {
|
|
1418
|
-
const selectedVal = Array.prototype.filter.call(el.options, (o) => o.selected).map(
|
|
1419
|
-
(o) => number ? shared.looseToNumber(getValue(o)) : getValue(o)
|
|
1420
|
-
);
|
|
1421
|
-
el[assignKey](
|
|
1422
|
-
el.multiple ? isSetModel ? new Set(selectedVal) : selectedVal : selectedVal[0]
|
|
1423
|
-
);
|
|
1424
|
-
el._assigning = true;
|
|
1425
|
-
runtimeCore.nextTick(() => {
|
|
1426
|
-
el._assigning = false;
|
|
1427
|
-
});
|
|
1428
|
-
});
|
|
1429
|
-
el[assignKey] = getModelAssigner(vnode);
|
|
1430
|
-
},
|
|
1431
|
-
// set value in mounted & updated because <select> relies on its children
|
|
1432
|
-
// <option>s.
|
|
1433
|
-
mounted(el, { value }) {
|
|
1434
|
-
setSelected(el, value);
|
|
1435
|
-
},
|
|
1436
|
-
beforeUpdate(el, _binding, vnode) {
|
|
1437
|
-
el[assignKey] = getModelAssigner(vnode);
|
|
1438
|
-
},
|
|
1439
|
-
updated(el, { value }) {
|
|
1440
|
-
if (!el._assigning) {
|
|
1441
|
-
setSelected(el, value);
|
|
1442
|
-
}
|
|
1443
|
-
}
|
|
1444
|
-
};
|
|
1445
|
-
function setSelected(el, value) {
|
|
1446
|
-
const isMultiple = el.multiple;
|
|
1447
|
-
const isArrayValue = shared.isArray(value);
|
|
1448
|
-
if (isMultiple && !isArrayValue && !shared.isSet(value)) {
|
|
1449
|
-
return;
|
|
1450
|
-
}
|
|
1451
|
-
for (let i = 0, l = el.options.length; i < l; i++) {
|
|
1452
|
-
const option = el.options[i];
|
|
1453
|
-
const optionValue = getValue(option);
|
|
1454
|
-
if (isMultiple) {
|
|
1455
|
-
if (isArrayValue) {
|
|
1456
|
-
const optionType = typeof optionValue;
|
|
1457
|
-
if (optionType === "string" || optionType === "number") {
|
|
1458
|
-
option.selected = value.some((v) => String(v) === String(optionValue));
|
|
1459
|
-
} else {
|
|
1460
|
-
option.selected = shared.looseIndexOf(value, optionValue) > -1;
|
|
1461
|
-
}
|
|
1462
|
-
} else {
|
|
1463
|
-
option.selected = value.has(optionValue);
|
|
1464
|
-
}
|
|
1465
|
-
} else if (shared.looseEqual(getValue(option), value)) {
|
|
1466
|
-
if (el.selectedIndex !== i) el.selectedIndex = i;
|
|
1467
|
-
return;
|
|
1468
|
-
}
|
|
1469
|
-
}
|
|
1470
|
-
if (!isMultiple && el.selectedIndex !== -1) {
|
|
1471
|
-
el.selectedIndex = -1;
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
function getValue(el) {
|
|
1475
|
-
return "_value" in el ? el._value : el.value;
|
|
1476
|
-
}
|
|
1477
|
-
function getCheckboxValue(el, checked) {
|
|
1478
|
-
const key = checked ? "_trueValue" : "_falseValue";
|
|
1479
|
-
return key in el ? el[key] : checked;
|
|
1480
|
-
}
|
|
1481
|
-
const vModelDynamic = {
|
|
1482
|
-
created(el, binding, vnode) {
|
|
1483
|
-
callModelHook(el, binding, vnode, null, "created");
|
|
1484
|
-
},
|
|
1485
|
-
mounted(el, binding, vnode) {
|
|
1486
|
-
callModelHook(el, binding, vnode, null, "mounted");
|
|
1487
|
-
},
|
|
1488
|
-
beforeUpdate(el, binding, vnode, prevVNode) {
|
|
1489
|
-
callModelHook(el, binding, vnode, prevVNode, "beforeUpdate");
|
|
1490
|
-
},
|
|
1491
|
-
updated(el, binding, vnode, prevVNode) {
|
|
1492
|
-
callModelHook(el, binding, vnode, prevVNode, "updated");
|
|
1493
|
-
}
|
|
1494
|
-
};
|
|
1495
|
-
function resolveDynamicModel(tagName, type) {
|
|
1496
|
-
switch (tagName) {
|
|
1497
|
-
case "SELECT":
|
|
1498
|
-
return vModelSelect;
|
|
1499
|
-
case "TEXTAREA":
|
|
1500
|
-
return vModelText;
|
|
1501
|
-
default:
|
|
1502
|
-
switch (type) {
|
|
1503
|
-
case "checkbox":
|
|
1504
|
-
return vModelCheckbox;
|
|
1505
|
-
case "radio":
|
|
1506
|
-
return vModelRadio;
|
|
1507
|
-
default:
|
|
1508
|
-
return vModelText;
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
}
|
|
1512
|
-
function callModelHook(el, binding, vnode, prevVNode, hook) {
|
|
1513
|
-
const modelToUse = resolveDynamicModel(
|
|
1514
|
-
el.tagName,
|
|
1515
|
-
vnode.props && vnode.props.type
|
|
1516
|
-
);
|
|
1517
|
-
const fn = modelToUse[hook];
|
|
1518
|
-
fn && fn(el, binding, vnode, prevVNode);
|
|
1519
|
-
}
|
|
1520
|
-
function initVModelForSSR() {
|
|
1521
|
-
vModelText.getSSRProps = ({ value }) => ({ value });
|
|
1522
|
-
vModelRadio.getSSRProps = ({ value }, vnode) => {
|
|
1523
|
-
if (vnode.props && shared.looseEqual(vnode.props.value, value)) {
|
|
1524
|
-
return { checked: true };
|
|
1525
|
-
}
|
|
1526
|
-
};
|
|
1527
|
-
vModelCheckbox.getSSRProps = ({ value }, vnode) => {
|
|
1528
|
-
if (shared.isArray(value)) {
|
|
1529
|
-
if (vnode.props && shared.looseIndexOf(value, vnode.props.value) > -1) {
|
|
1530
|
-
return { checked: true };
|
|
1531
|
-
}
|
|
1532
|
-
} else if (shared.isSet(value)) {
|
|
1533
|
-
if (vnode.props && value.has(vnode.props.value)) {
|
|
1534
|
-
return { checked: true };
|
|
1535
|
-
}
|
|
1536
|
-
} else if (value) {
|
|
1537
|
-
return { checked: true };
|
|
1538
|
-
}
|
|
1539
|
-
};
|
|
1540
|
-
vModelDynamic.getSSRProps = (binding, vnode) => {
|
|
1541
|
-
if (typeof vnode.type !== "string") {
|
|
1542
|
-
return;
|
|
1543
|
-
}
|
|
1544
|
-
const modelToUse = resolveDynamicModel(
|
|
1545
|
-
// resolveDynamicModel expects an uppercase tag name, but vnode.type is lowercase
|
|
1546
|
-
vnode.type.toUpperCase(),
|
|
1547
|
-
vnode.props && vnode.props.type
|
|
1548
|
-
);
|
|
1549
|
-
if (modelToUse.getSSRProps) {
|
|
1550
|
-
return modelToUse.getSSRProps(binding, vnode);
|
|
1551
|
-
}
|
|
1552
|
-
};
|
|
1553
|
-
}
|
|
1554
|
-
|
|
1555
|
-
const systemModifiers = ["ctrl", "shift", "alt", "meta"];
|
|
1556
|
-
const modifierGuards = {
|
|
1557
|
-
stop: (e) => e.stopPropagation(),
|
|
1558
|
-
prevent: (e) => e.preventDefault(),
|
|
1559
|
-
self: (e) => e.target !== e.currentTarget,
|
|
1560
|
-
ctrl: (e) => !e.ctrlKey,
|
|
1561
|
-
shift: (e) => !e.shiftKey,
|
|
1562
|
-
alt: (e) => !e.altKey,
|
|
1563
|
-
meta: (e) => !e.metaKey,
|
|
1564
|
-
left: (e) => "button" in e && e.button !== 0,
|
|
1565
|
-
middle: (e) => "button" in e && e.button !== 1,
|
|
1566
|
-
right: (e) => "button" in e && e.button !== 2,
|
|
1567
|
-
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
1568
|
-
};
|
|
1569
|
-
const withModifiers = (fn, modifiers) => {
|
|
1570
|
-
const cache = fn._withMods || (fn._withMods = {});
|
|
1571
|
-
const cacheKey = modifiers.join(".");
|
|
1572
|
-
return cache[cacheKey] || (cache[cacheKey] = ((event, ...args) => {
|
|
1573
|
-
for (let i = 0; i < modifiers.length; i++) {
|
|
1574
|
-
const guard = modifierGuards[modifiers[i]];
|
|
1575
|
-
if (guard && guard(event, modifiers)) return;
|
|
1576
|
-
}
|
|
1577
|
-
return fn(event, ...args);
|
|
1578
|
-
}));
|
|
1579
|
-
};
|
|
1580
|
-
const keyNames = {
|
|
1581
|
-
esc: "escape",
|
|
1582
|
-
space: " ",
|
|
1583
|
-
up: "arrow-up",
|
|
1584
|
-
left: "arrow-left",
|
|
1585
|
-
right: "arrow-right",
|
|
1586
|
-
down: "arrow-down",
|
|
1587
|
-
delete: "backspace"
|
|
1588
|
-
};
|
|
1589
|
-
const withKeys = (fn, modifiers) => {
|
|
1590
|
-
const cache = fn._withKeys || (fn._withKeys = {});
|
|
1591
|
-
const cacheKey = modifiers.join(".");
|
|
1592
|
-
return cache[cacheKey] || (cache[cacheKey] = ((event) => {
|
|
1593
|
-
if (!("key" in event)) {
|
|
1594
|
-
return;
|
|
1595
|
-
}
|
|
1596
|
-
const eventKey = shared.hyphenate(event.key);
|
|
1597
|
-
if (modifiers.some(
|
|
1598
|
-
(k) => k === eventKey || keyNames[k] === eventKey
|
|
1599
|
-
)) {
|
|
1600
|
-
return fn(event);
|
|
1601
|
-
}
|
|
1602
|
-
}));
|
|
1603
|
-
};
|
|
1604
|
-
|
|
1605
|
-
const rendererOptions = /* @__PURE__ */ shared.extend({ patchProp }, nodeOps);
|
|
1606
|
-
let renderer;
|
|
1607
|
-
let enabledHydration = false;
|
|
1608
|
-
function ensureRenderer() {
|
|
1609
|
-
return renderer || (renderer = runtimeCore.createRenderer(rendererOptions));
|
|
1610
|
-
}
|
|
1611
|
-
function ensureHydrationRenderer() {
|
|
1612
|
-
renderer = enabledHydration ? renderer : runtimeCore.createHydrationRenderer(rendererOptions);
|
|
1613
|
-
enabledHydration = true;
|
|
1614
|
-
return renderer;
|
|
1615
|
-
}
|
|
1616
|
-
const render = ((...args) => {
|
|
1617
|
-
ensureRenderer().render(...args);
|
|
1618
|
-
});
|
|
1619
|
-
const hydrate = ((...args) => {
|
|
1620
|
-
ensureHydrationRenderer().hydrate(...args);
|
|
1621
|
-
});
|
|
1622
|
-
const createApp = ((...args) => {
|
|
1623
|
-
const app = ensureRenderer().createApp(...args);
|
|
1624
|
-
const { mount } = app;
|
|
1625
|
-
app.mount = (containerOrSelector) => {
|
|
1626
|
-
const container = normalizeContainer(containerOrSelector);
|
|
1627
|
-
if (!container) return;
|
|
1628
|
-
const component = app._component;
|
|
1629
|
-
if (!shared.isFunction(component) && !component.render && !component.template) {
|
|
1630
|
-
component.template = container.innerHTML;
|
|
1631
|
-
}
|
|
1632
|
-
if (container.nodeType === 1) {
|
|
1633
|
-
container.textContent = "";
|
|
1634
|
-
}
|
|
1635
|
-
const proxy = mount(container, false, resolveRootNamespace(container));
|
|
1636
|
-
if (container instanceof Element) {
|
|
1637
|
-
container.removeAttribute("v-cloak");
|
|
1638
|
-
container.setAttribute("data-v-app", "");
|
|
1639
|
-
}
|
|
1640
|
-
return proxy;
|
|
1641
|
-
};
|
|
1642
|
-
return app;
|
|
1643
|
-
});
|
|
1644
|
-
const createSSRApp = ((...args) => {
|
|
1645
|
-
const app = ensureHydrationRenderer().createApp(...args);
|
|
1646
|
-
const { mount } = app;
|
|
1647
|
-
app.mount = (containerOrSelector) => {
|
|
1648
|
-
const container = normalizeContainer(containerOrSelector);
|
|
1649
|
-
if (container) {
|
|
1650
|
-
return mount(container, true, resolveRootNamespace(container));
|
|
1651
|
-
}
|
|
1652
|
-
};
|
|
1653
|
-
return app;
|
|
1654
|
-
});
|
|
1655
|
-
function resolveRootNamespace(container) {
|
|
1656
|
-
if (container instanceof SVGElement) {
|
|
1657
|
-
return "svg";
|
|
1658
|
-
}
|
|
1659
|
-
if (typeof MathMLElement === "function" && container instanceof MathMLElement) {
|
|
1660
|
-
return "mathml";
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
-
function normalizeContainer(container) {
|
|
1664
|
-
if (shared.isString(container)) {
|
|
1665
|
-
const res = document.querySelector(container);
|
|
1666
|
-
return res;
|
|
1667
|
-
}
|
|
1668
|
-
return container;
|
|
1669
|
-
}
|
|
1670
|
-
let ssrDirectiveInitialized = false;
|
|
1671
|
-
const initDirectivesForSSR = () => {
|
|
1672
|
-
if (!ssrDirectiveInitialized) {
|
|
1673
|
-
ssrDirectiveInitialized = true;
|
|
1674
|
-
initVModelForSSR();
|
|
1675
|
-
initVShowForSSR();
|
|
1676
|
-
}
|
|
1677
|
-
} ;
|
|
1678
|
-
|
|
1679
|
-
exports.Transition = Transition;
|
|
1680
|
-
exports.TransitionGroup = TransitionGroup;
|
|
1681
|
-
exports.VueElement = VueElement;
|
|
1682
|
-
exports.createApp = createApp;
|
|
1683
|
-
exports.createSSRApp = createSSRApp;
|
|
1684
|
-
exports.defineCustomElement = defineCustomElement;
|
|
1685
|
-
exports.defineSSRCustomElement = defineSSRCustomElement;
|
|
1686
|
-
exports.hydrate = hydrate;
|
|
1687
|
-
exports.initDirectivesForSSR = initDirectivesForSSR;
|
|
1688
|
-
exports.render = render;
|
|
1689
|
-
exports.useCssModule = useCssModule;
|
|
1690
|
-
exports.useCssVars = useCssVars;
|
|
1691
|
-
exports.useHost = useHost;
|
|
1692
|
-
exports.useShadowRoot = useShadowRoot;
|
|
1693
|
-
exports.vModelCheckbox = vModelCheckbox;
|
|
1694
|
-
exports.vModelDynamic = vModelDynamic;
|
|
1695
|
-
exports.vModelRadio = vModelRadio;
|
|
1696
|
-
exports.vModelSelect = vModelSelect;
|
|
1697
|
-
exports.vModelText = vModelText;
|
|
1698
|
-
exports.vShow = vShow;
|
|
1699
|
-
exports.withKeys = withKeys;
|
|
1700
|
-
exports.withModifiers = withModifiers;
|
|
1701
|
-
Object.keys(runtimeCore).forEach(function (k) {
|
|
1702
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = runtimeCore[k];
|
|
1703
|
-
});
|