@highstate/designer 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -8
- package/.output/nitro.json +0 -15
- package/.output/public/_nuxt/1jbH28Ud.js +0 -1
- package/.output/public/_nuxt/BAsjE6c8.js +0 -69
- package/.output/public/_nuxt/D4AvvZ3p.js +0 -1
- package/.output/public/_nuxt/DcSK-0AR.js +0 -1
- package/.output/public/_nuxt/builds/latest.json +0 -1
- package/.output/public/_nuxt/builds/meta/0ea9cf82-d280-4ae3-95c8-082f396c88c7.json +0 -1
- package/.output/public/_nuxt/entry.Df9XoxdB.css +0 -1
- package/.output/public/_nuxt/error-404.SWzu_puR.css +0 -1
- package/.output/public/_nuxt/error-500.Bkv_zTjr.css +0 -1
- package/.output/public/favicon.ico +0 -0
- package/.output/public/robots.txt +0 -1
- package/.output/server/chunks/_/error-500.mjs +0 -8
- package/.output/server/chunks/_/error-500.mjs.map +0 -1
- package/.output/server/chunks/_/index.mjs +0 -229
- package/.output/server/chunks/_/index.mjs.map +0 -1
- package/.output/server/chunks/build/ComponentIcon-styles.CVav5bPa.mjs +0 -6
- package/.output/server/chunks/build/ComponentIcon-styles.CVav5bPa.mjs.map +0 -1
- package/.output/server/chunks/build/ComponentIcon-styles.DJ59dQiL.mjs +0 -6
- package/.output/server/chunks/build/ComponentIcon-styles.DJ59dQiL.mjs.map +0 -1
- package/.output/server/chunks/build/ComponentNode-styles.5_iLK35r.mjs +0 -6
- package/.output/server/chunks/build/ComponentNode-styles.5_iLK35r.mjs.map +0 -1
- package/.output/server/chunks/build/ComponentNode-styles.7QJfF7h3.mjs +0 -6
- package/.output/server/chunks/build/ComponentNode-styles.7QJfF7h3.mjs.map +0 -1
- package/.output/server/chunks/build/ProjectCanvas-styles.B6yAk_TI.mjs +0 -7
- package/.output/server/chunks/build/ProjectCanvas-styles.B6yAk_TI.mjs.map +0 -1
- package/.output/server/chunks/build/ProjectCanvas-styles.BxP3nGl6.mjs +0 -6
- package/.output/server/chunks/build/ProjectCanvas-styles.BxP3nGl6.mjs.map +0 -1
- package/.output/server/chunks/build/ProjectCanvas-styles.CsOcKxeb.mjs +0 -6
- package/.output/server/chunks/build/ProjectCanvas-styles.CsOcKxeb.mjs.map +0 -1
- package/.output/server/chunks/build/VAppBar-styles.CaKoZ7v7.mjs +0 -6
- package/.output/server/chunks/build/VAppBar-styles.CaKoZ7v7.mjs.map +0 -1
- package/.output/server/chunks/build/VAvatar-styles.BloWs-NL.mjs +0 -6
- package/.output/server/chunks/build/VAvatar-styles.BloWs-NL.mjs.map +0 -1
- package/.output/server/chunks/build/VBtn-styles.5s8xLaPo.mjs +0 -6
- package/.output/server/chunks/build/VBtn-styles.5s8xLaPo.mjs.map +0 -1
- package/.output/server/chunks/build/VBtnGroup-styles.B8WSSc7t.mjs +0 -6
- package/.output/server/chunks/build/VBtnGroup-styles.B8WSSc7t.mjs.map +0 -1
- package/.output/server/chunks/build/VBtnToggle-styles.DRWSZkHZ.mjs +0 -6
- package/.output/server/chunks/build/VBtnToggle-styles.DRWSZkHZ.mjs.map +0 -1
- package/.output/server/chunks/build/VCard-styles.BpQql6F5.mjs +0 -6
- package/.output/server/chunks/build/VCard-styles.BpQql6F5.mjs.map +0 -1
- package/.output/server/chunks/build/VChip-styles.KvWWirvS.mjs +0 -6
- package/.output/server/chunks/build/VChip-styles.KvWWirvS.mjs.map +0 -1
- package/.output/server/chunks/build/VChipGroup-styles.SezSZY5I.mjs +0 -6
- package/.output/server/chunks/build/VChipGroup-styles.SezSZY5I.mjs.map +0 -1
- package/.output/server/chunks/build/VCounter-styles.DlbjDB7E.mjs +0 -6
- package/.output/server/chunks/build/VCounter-styles.DlbjDB7E.mjs.map +0 -1
- package/.output/server/chunks/build/VDivider-styles.B5vnnFG1.mjs +0 -6
- package/.output/server/chunks/build/VDivider-styles.B5vnnFG1.mjs.map +0 -1
- package/.output/server/chunks/build/VField-styles.DkgSx68C.mjs +0 -6
- package/.output/server/chunks/build/VField-styles.DkgSx68C.mjs.map +0 -1
- package/.output/server/chunks/build/VIcon-styles._8GsAkxR.mjs +0 -6
- package/.output/server/chunks/build/VIcon-styles._8GsAkxR.mjs.map +0 -1
- package/.output/server/chunks/build/VImg-styles.BQYU2VXD.mjs +0 -6
- package/.output/server/chunks/build/VImg-styles.BQYU2VXD.mjs.map +0 -1
- package/.output/server/chunks/build/VInput-styles.Cr1uxB2l.mjs +0 -6
- package/.output/server/chunks/build/VInput-styles.Cr1uxB2l.mjs.map +0 -1
- package/.output/server/chunks/build/VLabel-styles.OzbLNKaZ.mjs +0 -6
- package/.output/server/chunks/build/VLabel-styles.OzbLNKaZ.mjs.map +0 -1
- package/.output/server/chunks/build/VLayout-styles.DBbIk0kn.mjs +0 -6
- package/.output/server/chunks/build/VLayout-styles.DBbIk0kn.mjs.map +0 -1
- package/.output/server/chunks/build/VMain-styles.CI15Xs8y.mjs +0 -6
- package/.output/server/chunks/build/VMain-styles.CI15Xs8y.mjs.map +0 -1
- package/.output/server/chunks/build/VMessages-styles.C9dRMjf9.mjs +0 -6
- package/.output/server/chunks/build/VMessages-styles.C9dRMjf9.mjs.map +0 -1
- package/.output/server/chunks/build/VNavigationDrawer-styles.BcT_iIsk.mjs +0 -6
- package/.output/server/chunks/build/VNavigationDrawer-styles.BcT_iIsk.mjs.map +0 -1
- package/.output/server/chunks/build/VProgressCircular-styles.CWpXfZ6Q.mjs +0 -6
- package/.output/server/chunks/build/VProgressCircular-styles.CWpXfZ6Q.mjs.map +0 -1
- package/.output/server/chunks/build/VProgressLinear-styles.DjitzH7c.mjs +0 -6
- package/.output/server/chunks/build/VProgressLinear-styles.DjitzH7c.mjs.map +0 -1
- package/.output/server/chunks/build/VResponsive-styles.KUuswLet.mjs +0 -6
- package/.output/server/chunks/build/VResponsive-styles.KUuswLet.mjs.map +0 -1
- package/.output/server/chunks/build/VSlideGroup-styles.fT1UQTdA.mjs +0 -6
- package/.output/server/chunks/build/VSlideGroup-styles.fT1UQTdA.mjs.map +0 -1
- package/.output/server/chunks/build/VSpacer-styles.B_L0TU3-.mjs +0 -6
- package/.output/server/chunks/build/VSpacer-styles.B_L0TU3-.mjs.map +0 -1
- package/.output/server/chunks/build/VTextField-styles.e8Z3kCRA.mjs +0 -6
- package/.output/server/chunks/build/VTextField-styles.e8Z3kCRA.mjs.map +0 -1
- package/.output/server/chunks/build/VToolbar-styles.Bvr717Vh.mjs +0 -6
- package/.output/server/chunks/build/VToolbar-styles.Bvr717Vh.mjs.map +0 -1
- package/.output/server/chunks/build/app-styles.-ZJ3yGO7.mjs +0 -6
- package/.output/server/chunks/build/app-styles.-ZJ3yGO7.mjs.map +0 -1
- package/.output/server/chunks/build/app-styles.Ckjy6RrK.mjs +0 -6
- package/.output/server/chunks/build/app-styles.Ckjy6RrK.mjs.map +0 -1
- package/.output/server/chunks/build/client.manifest.mjs +0 -82
- package/.output/server/chunks/build/client.manifest.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-10.mjs-BpLi0qx6.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-10.mjs-BpLi0qx6.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-11.mjs-6TeH4I7w.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-11.mjs-6TeH4I7w.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-12.mjs-DU1igcRL.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-12.mjs-DU1igcRL.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-13.mjs-lZGUjhhD.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-13.mjs-lZGUjhhD.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-14.mjs-BRdr1-px.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-14.mjs-BRdr1-px.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-15.mjs-mUPL6Nc9.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-15.mjs-mUPL6Nc9.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-16.mjs-CPJMcIL1.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-16.mjs-CPJMcIL1.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-17.mjs-CQOORRn5.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-17.mjs-CQOORRn5.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-18.mjs-C7z1LTi9.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-18.mjs-C7z1LTi9.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-19.mjs-it-LBeIM.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-19.mjs-it-LBeIM.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-2.mjs-CIKbACDD.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-2.mjs-CIKbACDD.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-20.mjs-Igpd8vNA.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-20.mjs-Igpd8vNA.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-21.mjs-VGEW4cec.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-21.mjs-VGEW4cec.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-22.mjs-DLAUZ2Ss.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-22.mjs-DLAUZ2Ss.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-23.mjs-D6dUb4Q1.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-23.mjs-D6dUb4Q1.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-24.mjs-CR2CscOT.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-24.mjs-CR2CscOT.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-25.mjs-gcGnyYj1.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-25.mjs-gcGnyYj1.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-26.mjs-BGcP6LjH.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-26.mjs-BGcP6LjH.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-27.mjs-DKPK367G.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-27.mjs-DKPK367G.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-28.mjs-BxlgEOUH.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-28.mjs-BxlgEOUH.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-29.mjs-EoZxjH32.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-29.mjs-EoZxjH32.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-3.mjs-BZeC22He.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-3.mjs-BZeC22He.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-30.mjs-CoAZ885y.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-30.mjs-CoAZ885y.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-31.mjs-JYOGcJtH.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-31.mjs-JYOGcJtH.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-32.mjs-lT-SGbzA.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-32.mjs-lT-SGbzA.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-33.mjs-CGVyg8PA.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-33.mjs-CGVyg8PA.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-4.mjs-DZ0RUZ3Y.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-4.mjs-DZ0RUZ3Y.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-5.mjs-CWoX264H.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-5.mjs-CWoX264H.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-6.mjs-D97cocWn.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-6.mjs-D97cocWn.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-7.mjs-fDLOEPrI.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-7.mjs-fDLOEPrI.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-8.mjs-CogORmQT.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-8.mjs-CogORmQT.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles-9.mjs-CIkuJriK.mjs +0 -4
- package/.output/server/chunks/build/entry-styles-9.mjs-CIkuJriK.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles.CtA8hhgO.mjs +0 -39
- package/.output/server/chunks/build/entry-styles.CtA8hhgO.mjs.map +0 -1
- package/.output/server/chunks/build/error-404-BE32jcXw.mjs +0 -399
- package/.output/server/chunks/build/error-404-BE32jcXw.mjs.map +0 -1
- package/.output/server/chunks/build/error-404-styles-1.mjs-BnwklZPR.mjs +0 -4
- package/.output/server/chunks/build/error-404-styles-1.mjs-BnwklZPR.mjs.map +0 -1
- package/.output/server/chunks/build/error-404-styles.B5NDqGbJ.mjs +0 -6
- package/.output/server/chunks/build/error-404-styles.B5NDqGbJ.mjs.map +0 -1
- package/.output/server/chunks/build/error-404-styles.CeFcgbBS.mjs +0 -6
- package/.output/server/chunks/build/error-404-styles.CeFcgbBS.mjs.map +0 -1
- package/.output/server/chunks/build/error-500-B3vPuajn.mjs +0 -80
- package/.output/server/chunks/build/error-500-B3vPuajn.mjs.map +0 -1
- package/.output/server/chunks/build/error-500-styles-1.mjs-C2TN-owL.mjs +0 -4
- package/.output/server/chunks/build/error-500-styles-1.mjs-C2TN-owL.mjs.map +0 -1
- package/.output/server/chunks/build/error-500-styles.BE3GHqYY.mjs +0 -6
- package/.output/server/chunks/build/error-500-styles.BE3GHqYY.mjs.map +0 -1
- package/.output/server/chunks/build/error-500-styles.LQn8-gvg.mjs +0 -6
- package/.output/server/chunks/build/error-500-styles.LQn8-gvg.mjs.map +0 -1
- package/.output/server/chunks/build/index-C2merokO.mjs +0 -34
- package/.output/server/chunks/build/index-C2merokO.mjs.map +0 -1
- package/.output/server/chunks/build/index-styles.C7jmw0Wl.mjs +0 -6
- package/.output/server/chunks/build/index-styles.C7jmw0Wl.mjs.map +0 -1
- package/.output/server/chunks/build/server.mjs +0 -10495
- package/.output/server/chunks/build/server.mjs.map +0 -1
- package/.output/server/chunks/build/styles.mjs +0 -47
- package/.output/server/chunks/build/styles.mjs.map +0 -1
- package/.output/server/chunks/nitro/nitro.mjs +0 -6203
- package/.output/server/chunks/nitro/nitro.mjs.map +0 -1
- package/.output/server/chunks/routes/api/_trpc_.mjs +0 -209
- package/.output/server/chunks/routes/api/_trpc_.mjs.map +0 -1
- package/.output/server/chunks/routes/renderer.mjs +0 -391
- package/.output/server/chunks/routes/renderer.mjs.map +0 -1
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +0 -4
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +0 -1
- package/.output/server/index.mjs +0 -7
- package/.output/server/index.mjs.map +0 -1
- package/.output/server/node_modules/@babel/parser/lib/index.js +0 -14023
- package/.output/server/node_modules/@babel/parser/package.json +0 -50
- package/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +0 -1996
- package/.output/server/node_modules/@iconify/vue/package.json +0 -65
- package/.output/server/node_modules/@trpc/client/dist/TRPCClientError-38f9a32a.mjs +0 -59
- package/.output/server/node_modules/@trpc/client/dist/httpBatchLink-d0f9eac9.mjs +0 -248
- package/.output/server/node_modules/@trpc/client/dist/httpUtils-b9d0cb48.mjs +0 -144
- package/.output/server/node_modules/@trpc/client/dist/index.mjs +0 -365
- package/.output/server/node_modules/@trpc/client/dist/links/httpLink.mjs +0 -62
- package/.output/server/node_modules/@trpc/client/dist/links/loggerLink.mjs +0 -173
- package/.output/server/node_modules/@trpc/client/dist/links/wsLink.mjs +0 -278
- package/.output/server/node_modules/@trpc/client/dist/splitLink-4c75f7be.mjs +0 -45
- package/.output/server/node_modules/@trpc/client/dist/transformResult-ace864b8.mjs +0 -58
- package/.output/server/node_modules/@trpc/client/package.json +0 -101
- package/.output/server/node_modules/@trpc/server/dist/TRPCError-98d44758.mjs +0 -39
- package/.output/server/node_modules/@trpc/server/dist/batchStreamFormatter-fc1ffb26.mjs +0 -30
- package/.output/server/node_modules/@trpc/server/dist/codes-c924c3db.mjs +0 -44
- package/.output/server/node_modules/@trpc/server/dist/config-d5fdbd39.mjs +0 -196
- package/.output/server/node_modules/@trpc/server/dist/contentType-9fd995d3.mjs +0 -52
- package/.output/server/node_modules/@trpc/server/dist/getCauseFromUnknown-2d66414a.mjs +0 -33
- package/.output/server/node_modules/@trpc/server/dist/http/index.mjs +0 -9
- package/.output/server/node_modules/@trpc/server/dist/index-f91d720c.mjs +0 -97
- package/.output/server/node_modules/@trpc/server/dist/index.mjs +0 -871
- package/.output/server/node_modules/@trpc/server/dist/observable/index.mjs +0 -147
- package/.output/server/node_modules/@trpc/server/dist/observable-ade1bad8.mjs +0 -81
- package/.output/server/node_modules/@trpc/server/dist/resolveHTTPResponse-2fc435bb.mjs +0 -291
- package/.output/server/node_modules/@trpc/server/dist/shared/index.mjs +0 -4
- package/.output/server/node_modules/@trpc/server/dist/transformTRPCResponse-1153b421.mjs +0 -53
- package/.output/server/node_modules/@trpc/server/package.json +0 -177
- package/.output/server/node_modules/@unhead/dom/dist/index.mjs +0 -197
- package/.output/server/node_modules/@unhead/dom/package.json +0 -40
- package/.output/server/node_modules/@unhead/shared/dist/index.mjs +0 -731
- package/.output/server/node_modules/@unhead/shared/package.json +0 -47
- package/.output/server/node_modules/@unhead/ssr/dist/index.mjs +0 -95
- package/.output/server/node_modules/@unhead/ssr/package.json +0 -40
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +0 -6690
- package/.output/server/node_modules/@vue/compiler-core/package.json +0 -58
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +0 -686
- package/.output/server/node_modules/@vue/compiler-dom/package.json +0 -57
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +0 -1404
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +0 -34
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1789
- package/.output/server/node_modules/@vue/reactivity/package.json +0 -55
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +0 -6654
- package/.output/server/node_modules/@vue/runtime-core/package.json +0 -52
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1669
- package/.output/server/node_modules/@vue/runtime-dom/package.json +0 -60
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -857
- package/.output/server/node_modules/@vue/server-renderer/package.json +0 -55
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +0 -594
- package/.output/server/node_modules/@vue/shared/package.json +0 -47
- package/.output/server/node_modules/@vue-flow/background/dist/vue-flow-background.mjs +0 -126
- package/.output/server/node_modules/@vue-flow/background/package.json +0 -73
- package/.output/server/node_modules/@vue-flow/core/dist/vue-flow-core.mjs +0 -9873
- package/.output/server/node_modules/@vue-flow/core/package.json +0 -92
- package/.output/server/node_modules/@vue-flow/minimap/dist/vue-flow-minimap.mjs +0 -2953
- package/.output/server/node_modules/@vue-flow/minimap/package.json +0 -80
- package/.output/server/node_modules/devalue/index.js +0 -3
- package/.output/server/node_modules/devalue/package.json +0 -34
- package/.output/server/node_modules/devalue/src/base64.js +0 -110
- package/.output/server/node_modules/devalue/src/constants.js +0 -6
- package/.output/server/node_modules/devalue/src/parse.js +0 -160
- package/.output/server/node_modules/devalue/src/stringify.js +0 -232
- package/.output/server/node_modules/devalue/src/uneval.js +0 -351
- package/.output/server/node_modules/devalue/src/utils.js +0 -113
- package/.output/server/node_modules/entities/lib/decode.js +0 -536
- package/.output/server/node_modules/entities/lib/decode_codepoint.js +0 -76
- package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +0 -9
- package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
- package/.output/server/node_modules/entities/package.json +0 -90
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
- package/.output/server/node_modules/estree-walker/package.json +0 -37
- package/.output/server/node_modules/hookable/dist/index.mjs +0 -290
- package/.output/server/node_modules/hookable/package.json +0 -49
- package/.output/server/node_modules/nanoid/index.js +0 -46
- package/.output/server/node_modules/nanoid/package.json +0 -41
- package/.output/server/node_modules/nanoid/url-alphabet/index.js +0 -2
- package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +0 -858
- package/.output/server/node_modules/pinia/package.json +0 -100
- package/.output/server/node_modules/source-map-js/lib/array-set.js +0 -121
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +0 -140
- package/.output/server/node_modules/source-map-js/lib/base64.js +0 -67
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +0 -111
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +0 -79
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +0 -132
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +0 -444
- package/.output/server/node_modules/source-map-js/lib/source-node.js +0 -413
- package/.output/server/node_modules/source-map-js/lib/util.js +0 -594
- package/.output/server/node_modules/source-map-js/package.json +0 -71
- package/.output/server/node_modules/source-map-js/source-map.js +0 -8
- package/.output/server/node_modules/ufo/dist/index.mjs +0 -630
- package/.output/server/node_modules/ufo/package.json +0 -47
- package/.output/server/node_modules/unhead/dist/index.mjs +0 -747
- package/.output/server/node_modules/unhead/package.json +0 -46
- package/.output/server/node_modules/vue/dist/vue.cjs.js +0 -80
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +0 -66
- package/.output/server/node_modules/vue/index.js +0 -7
- package/.output/server/node_modules/vue/index.mjs +0 -1
- package/.output/server/node_modules/vue/package.json +0 -112
- package/.output/server/node_modules/vue/server-renderer/index.mjs +0 -1
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +0 -196
- package/.output/server/node_modules/vue-bundle-renderer/package.json +0 -50
- package/.output/server/node_modules/vue-demi/lib/index.cjs +0 -29
- package/.output/server/node_modules/vue-demi/package.json +0 -47
- package/.output/server/node_modules/zod/lib/index.mjs +0 -4236
- package/.output/server/node_modules/zod/package.json +0 -119
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/Options.js +0 -31
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/Refs.js +0 -21
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +0 -14
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/index.js +0 -37
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/package.json +0 -1
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseDef.js +0 -164
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +0 -3
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +0 -25
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +0 -49
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +0 -5
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +0 -4
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +0 -4
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +0 -46
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +0 -7
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +0 -6
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +0 -6
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +0 -52
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +0 -21
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +0 -25
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +0 -16
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +0 -5
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +0 -10
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +0 -33
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +0 -52
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +0 -45
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +0 -20
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +0 -20
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +0 -4
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +0 -4
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +0 -57
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +0 -20
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +0 -324
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +0 -32
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +0 -5
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +0 -80
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +0 -3
- package/.output/server/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +0 -59
- package/.output/server/node_modules/zod-to-json-schema/package.json +0 -89
- package/.output/server/package.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nitro.mjs","sources":["../../../../../node_modules/destr/dist/index.mjs","../../../../../node_modules/ufo/dist/index.mjs","../../../../../node_modules/ohash/dist/index.mjs","../../../../../node_modules/radix3/dist/index.mjs","../../../../../node_modules/defu/dist/defu.mjs","../../../../../node_modules/unenv/runtime/_internal/utils.mjs","../../../../../node_modules/unenv/runtime/node/events/_events.mjs","../../../../../node_modules/unenv/runtime/node/events/index.mjs","../../../../../node_modules/unenv/runtime/node/stream/readable.mjs","../../../../../node_modules/unenv/runtime/node/stream/writable.mjs","../../../../../node_modules/unenv/runtime/node/stream/duplex.mjs","../../../../../node_modules/unenv/runtime/node/net/socket.mjs","../../../../../node_modules/unenv/runtime/node/http/_request.mjs","../../../../../node_modules/unenv/runtime/node/http/_response.mjs","../../../../../node_modules/h3/dist/index.mjs","../../../../../node_modules/hookable/dist/index.mjs","../../../../../node_modules/node-fetch-native/dist/native.mjs","../../../../../node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs","../../../../../node_modules/ofetch/dist/node.mjs","../../../../../node_modules/unenv/runtime/fetch/call.mjs","../../../../../node_modules/unenv/runtime/fetch/index.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../node_modules/nuxt/dist/core/runtime/nitro/error.js","../../../../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/static.mjs","../../../../../node_modules/unstorage/dist/shared/unstorage.d569726e.mjs","../../../../../node_modules/unstorage/dist/index.mjs","../../../../../node_modules/unstorage/drivers/utils/index.mjs","../../../../../node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../node_modules/unstorage/drivers/fs-lite.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../node_modules/klona/dist/index.mjs","../../../../../node_modules/scule/dist/index.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../node_modules/unctx/dist/index.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/renderer.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"sourcesContent":null,"names":["getQuery","__defProp","__defNormalProp","__publicField","createRouter","EventEmitter","_EventEmitter","createError","mergeHeaders","nullBodyResponses","createFetch","nodeFetch","Headers","Headers$1","AbortController$1","normalizeKey","defineDriver","DRIVER_NAME","dirname","fsPromises","resolve","fsp","_inlineAppConfig","createRadixRouter","nitroApp","createLocalFetch","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43]}
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import { resolveHTTPResponse } from '@trpc/server/http';
|
|
2
|
-
import { TRPCError, initTRPC } from '@trpc/server';
|
|
3
|
-
import { e as eventHandler, g as getRequestURL, c as createError, i as isMethod, r as readBody, s as setResponseStatus, a as setResponseHeader } from '../../nitro/nitro.mjs';
|
|
4
|
-
import { getErrorShape } from '@trpc/server/shared';
|
|
5
|
-
import { z } from 'zod';
|
|
6
|
-
import { zodToJsonSchema } from 'zod-to-json-schema';
|
|
7
|
-
import { componentMetaType, isComponent } from '@highstate/contract';
|
|
8
|
-
import { componentArgType } from '@highstate/contract/types';
|
|
9
|
-
import 'node:http';
|
|
10
|
-
import 'node:https';
|
|
11
|
-
import 'node:fs';
|
|
12
|
-
import 'node:path';
|
|
13
|
-
import 'node:url';
|
|
14
|
-
|
|
15
|
-
// src/index.ts
|
|
16
|
-
function getPath(event) {
|
|
17
|
-
const { params } = event.context;
|
|
18
|
-
if (typeof params?.trpc === "string") {
|
|
19
|
-
return params.trpc;
|
|
20
|
-
}
|
|
21
|
-
if (params?.trpc && Array.isArray(params.trpc)) {
|
|
22
|
-
return params.trpc.join("/");
|
|
23
|
-
}
|
|
24
|
-
return null;
|
|
25
|
-
}
|
|
26
|
-
function createNuxtApiHandler({
|
|
27
|
-
router,
|
|
28
|
-
createContext,
|
|
29
|
-
responseMeta,
|
|
30
|
-
onError,
|
|
31
|
-
batching
|
|
32
|
-
}) {
|
|
33
|
-
return eventHandler(async (event) => {
|
|
34
|
-
const {
|
|
35
|
-
req
|
|
36
|
-
} = event.node;
|
|
37
|
-
const $url = getRequestURL(event);
|
|
38
|
-
const path = getPath(event);
|
|
39
|
-
if (path === null) {
|
|
40
|
-
const error = getErrorShape({
|
|
41
|
-
config: router._def._config,
|
|
42
|
-
error: new TRPCError({
|
|
43
|
-
message: 'Query "trpc" not found - is the file named `[trpc]`.ts or `[...trpc].ts`?',
|
|
44
|
-
code: "INTERNAL_SERVER_ERROR"
|
|
45
|
-
}),
|
|
46
|
-
type: "unknown",
|
|
47
|
-
ctx: void 0,
|
|
48
|
-
path: void 0,
|
|
49
|
-
input: void 0
|
|
50
|
-
});
|
|
51
|
-
throw createError({
|
|
52
|
-
statusCode: 500,
|
|
53
|
-
statusMessage: JSON.stringify(error)
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
const httpResponse = await resolveHTTPResponse({
|
|
57
|
-
batching,
|
|
58
|
-
router,
|
|
59
|
-
req: {
|
|
60
|
-
method: req.method,
|
|
61
|
-
headers: req.headers,
|
|
62
|
-
body: isMethod(event, "GET") ? null : await readBody(event),
|
|
63
|
-
query: $url.searchParams
|
|
64
|
-
},
|
|
65
|
-
path,
|
|
66
|
-
createContext: async () => await createContext?.(event),
|
|
67
|
-
responseMeta,
|
|
68
|
-
onError: (o) => {
|
|
69
|
-
onError?.({
|
|
70
|
-
...o,
|
|
71
|
-
req
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
const { status, headers, body } = httpResponse;
|
|
76
|
-
setResponseStatus(event, status);
|
|
77
|
-
headers && Object.keys(headers).forEach((key) => {
|
|
78
|
-
setResponseHeader(event, key, headers[key]);
|
|
79
|
-
});
|
|
80
|
-
return body;
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
const t = initTRPC.context().create();
|
|
85
|
-
const publicProcedure = t.procedure;
|
|
86
|
-
const router = t.router;
|
|
87
|
-
t.middleware;
|
|
88
|
-
|
|
89
|
-
const viewportType = z.object({
|
|
90
|
-
x: z.number(),
|
|
91
|
-
y: z.number(),
|
|
92
|
-
zoom: z.number()
|
|
93
|
-
});
|
|
94
|
-
let viewport = { x: 0, y: 0, zoom: 1 };
|
|
95
|
-
const workspaceRouter = router({
|
|
96
|
-
viewport: publicProcedure.query(() => {
|
|
97
|
-
return viewport;
|
|
98
|
-
}),
|
|
99
|
-
setViewport: publicProcedure.input(viewportType).mutation(({ input }) => {
|
|
100
|
-
viewport = input;
|
|
101
|
-
})
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
const instances = /* @__PURE__ */ new Map();
|
|
105
|
-
const jsonSchemaObjectType = z.object({}).passthrough();
|
|
106
|
-
const componentInputSpecType = z.object({
|
|
107
|
-
name: z.string(),
|
|
108
|
-
type: z.string()
|
|
109
|
-
});
|
|
110
|
-
z.object({
|
|
111
|
-
type: z.string(),
|
|
112
|
-
meta: componentMetaType,
|
|
113
|
-
args: jsonSchemaObjectType,
|
|
114
|
-
inputs: z.array(componentInputSpecType),
|
|
115
|
-
secrets: jsonSchemaObjectType,
|
|
116
|
-
outputs: z.array(componentInputSpecType)
|
|
117
|
-
});
|
|
118
|
-
const componentOutputRef = z.object({
|
|
119
|
-
instanceId: z.string(),
|
|
120
|
-
output: z.string()
|
|
121
|
-
});
|
|
122
|
-
const positionType = z.object({
|
|
123
|
-
x: z.number(),
|
|
124
|
-
y: z.number()
|
|
125
|
-
});
|
|
126
|
-
const componentInstanceModelType = z.object({
|
|
127
|
-
id: z.string().nanoid(),
|
|
128
|
-
type: z.string(),
|
|
129
|
-
name: z.string(),
|
|
130
|
-
position: positionType,
|
|
131
|
-
args: z.record(componentArgType),
|
|
132
|
-
inputs: z.record(componentOutputRef)
|
|
133
|
-
});
|
|
134
|
-
function mapComponentToModel(component) {
|
|
135
|
-
return {
|
|
136
|
-
type: component.type,
|
|
137
|
-
meta: component.meta,
|
|
138
|
-
args: zodToJsonSchema(component.args),
|
|
139
|
-
secrets: zodToJsonSchema(component.secrets),
|
|
140
|
-
inputs: inputsToSpec(component.inputs),
|
|
141
|
-
outputs: inputsToSpec(component.outputs)
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
function inputsToSpec(type) {
|
|
145
|
-
const spec = [];
|
|
146
|
-
for (const key in type.shape) {
|
|
147
|
-
const inputType = type.shape[key];
|
|
148
|
-
if (!inputType.shape) continue;
|
|
149
|
-
const literalType = inputType.shape.type;
|
|
150
|
-
if (!literalType) continue;
|
|
151
|
-
spec.push({
|
|
152
|
-
name: key,
|
|
153
|
-
type: literalType.value
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
return spec;
|
|
157
|
-
}
|
|
158
|
-
function loadComponents(something, components = {}) {
|
|
159
|
-
if (isComponent(something)) {
|
|
160
|
-
const model = mapComponentToModel(something);
|
|
161
|
-
components[model.type] = model;
|
|
162
|
-
return components;
|
|
163
|
-
}
|
|
164
|
-
if (typeof something !== "object" || something === null) {
|
|
165
|
-
return components;
|
|
166
|
-
}
|
|
167
|
-
for (const key in something) {
|
|
168
|
-
loadComponents(something[key], components);
|
|
169
|
-
}
|
|
170
|
-
return components;
|
|
171
|
-
}
|
|
172
|
-
const appRouter = router({
|
|
173
|
-
components: publicProcedure.query(async () => {
|
|
174
|
-
const library = await import('../../_/index.mjs');
|
|
175
|
-
const components = loadComponents(library);
|
|
176
|
-
return components;
|
|
177
|
-
}),
|
|
178
|
-
instances: publicProcedure.query(async () => {
|
|
179
|
-
return Array.from(instances.values());
|
|
180
|
-
}),
|
|
181
|
-
updateInstance: publicProcedure.input(
|
|
182
|
-
z.object({
|
|
183
|
-
instance: componentInstanceModelType
|
|
184
|
-
})
|
|
185
|
-
).mutation(async ({ input }) => {
|
|
186
|
-
instances.set(input.instance.id, input.instance);
|
|
187
|
-
}),
|
|
188
|
-
deleteInstance: publicProcedure.input(
|
|
189
|
-
z.object({
|
|
190
|
-
instanceId: z.string()
|
|
191
|
-
})
|
|
192
|
-
).mutation(async ({ input }) => {
|
|
193
|
-
instances.delete(input.instanceId);
|
|
194
|
-
}),
|
|
195
|
-
workspace: workspaceRouter
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
const createContext = () => ({});
|
|
199
|
-
|
|
200
|
-
const _trpc_ = createNuxtApiHandler({
|
|
201
|
-
router: appRouter,
|
|
202
|
-
createContext,
|
|
203
|
-
onError: (error) => {
|
|
204
|
-
console.error("Server Error", error);
|
|
205
|
-
}
|
|
206
|
-
});
|
|
207
|
-
|
|
208
|
-
export { _trpc_ as default };
|
|
209
|
-
//# sourceMappingURL=_trpc_.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_trpc_.mjs","sources":["../../../../../../node_modules/trpc-nuxt/dist/index.mjs","../../../../../server/trpc/trpc.ts","../../../../../server/trpc/routers/workspace.ts","../../../../../server/trpc/routers/index.ts","../../../../../server/trpc/context.ts","../../../../../server/api/[trpc].ts"],"sourcesContent":null,"names":[],"mappings":"","x_google_ignoreList":[0]}
|
|
@@ -1,391 +0,0 @@
|
|
|
1
|
-
import process from 'node:process';globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:process.env};import { getRequestDependencies, getPreloadLinks, getPrefetchLinks, createRenderer } from 'vue-bundle-renderer/runtime';
|
|
2
|
-
import { j as joinRelativeURL, u as useRuntimeConfig, d as defineRenderHandler, b as getQuery, c as createError, f as getRouteRules, h as getResponseStatus, k as getResponseStatusText, l as useNitroApp } from '../nitro/nitro.mjs';
|
|
3
|
-
import { stringify, uneval } from 'devalue';
|
|
4
|
-
import { renderToString } from 'vue/server-renderer';
|
|
5
|
-
import { propsToString, renderSSRHead } from '@unhead/ssr';
|
|
6
|
-
import { createServerHead as createServerHead$1, CapoPlugin } from 'unhead';
|
|
7
|
-
import { version, unref } from 'vue';
|
|
8
|
-
import { defineHeadPlugin } from '@unhead/shared';
|
|
9
|
-
|
|
10
|
-
const Vue3 = version[0] === "3";
|
|
11
|
-
|
|
12
|
-
function resolveUnref(r) {
|
|
13
|
-
return typeof r === "function" ? r() : unref(r);
|
|
14
|
-
}
|
|
15
|
-
function resolveUnrefHeadInput(ref) {
|
|
16
|
-
if (ref instanceof Promise || ref instanceof Date || ref instanceof RegExp)
|
|
17
|
-
return ref;
|
|
18
|
-
const root = resolveUnref(ref);
|
|
19
|
-
if (!ref || !root)
|
|
20
|
-
return root;
|
|
21
|
-
if (Array.isArray(root))
|
|
22
|
-
return root.map((r) => resolveUnrefHeadInput(r));
|
|
23
|
-
if (typeof root === "object") {
|
|
24
|
-
const resolved = {};
|
|
25
|
-
for (const k in root) {
|
|
26
|
-
if (!Object.prototype.hasOwnProperty.call(root, k)) {
|
|
27
|
-
continue;
|
|
28
|
-
}
|
|
29
|
-
if (k === "titleTemplate" || k[0] === "o" && k[1] === "n") {
|
|
30
|
-
resolved[k] = unref(root[k]);
|
|
31
|
-
continue;
|
|
32
|
-
}
|
|
33
|
-
resolved[k] = resolveUnrefHeadInput(root[k]);
|
|
34
|
-
}
|
|
35
|
-
return resolved;
|
|
36
|
-
}
|
|
37
|
-
return root;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
const VueReactivityPlugin = defineHeadPlugin({
|
|
41
|
-
hooks: {
|
|
42
|
-
"entries:resolve": (ctx) => {
|
|
43
|
-
for (const entry of ctx.entries)
|
|
44
|
-
entry.resolvedInput = resolveUnrefHeadInput(entry.input);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
const headSymbol = "usehead";
|
|
50
|
-
function vueInstall(head) {
|
|
51
|
-
const plugin = {
|
|
52
|
-
install(app) {
|
|
53
|
-
if (Vue3) {
|
|
54
|
-
app.config.globalProperties.$unhead = head;
|
|
55
|
-
app.config.globalProperties.$head = head;
|
|
56
|
-
app.provide(headSymbol, head);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
return plugin.install;
|
|
61
|
-
}
|
|
62
|
-
function createServerHead(options = {}) {
|
|
63
|
-
const head = createServerHead$1(options);
|
|
64
|
-
head.use(VueReactivityPlugin);
|
|
65
|
-
head.install = vueInstall(head);
|
|
66
|
-
return head;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
const unheadPlugins = true ? [CapoPlugin({ track: true })] : [];
|
|
70
|
-
|
|
71
|
-
const renderSSRHeadOptions = {"omitLineBreaks":false};
|
|
72
|
-
|
|
73
|
-
const appHead = {"meta":[{"name":"viewport","content":"width=device-width, initial-scale=1"},{"charset":"utf-8"}],"link":[{"key":"mdi","rel":"stylesheet","href":"https://cdn.jsdelivr.net/npm/@mdi/font@5.x/css/materialdesignicons.min.css","type":"text/css","crossorigin":"anonymous"}],"style":[],"script":[],"noscript":[]};
|
|
74
|
-
|
|
75
|
-
const appRootTag = "div";
|
|
76
|
-
|
|
77
|
-
const appRootAttrs = {"id":"__nuxt"};
|
|
78
|
-
|
|
79
|
-
const appTeleportTag = "div";
|
|
80
|
-
|
|
81
|
-
const appTeleportAttrs = {"id":"teleports"};
|
|
82
|
-
|
|
83
|
-
const componentIslands = false;
|
|
84
|
-
|
|
85
|
-
const appId = "nuxt-app";
|
|
86
|
-
|
|
87
|
-
function baseURL() {
|
|
88
|
-
return useRuntimeConfig().app.baseURL;
|
|
89
|
-
}
|
|
90
|
-
function buildAssetsDir() {
|
|
91
|
-
return useRuntimeConfig().app.buildAssetsDir;
|
|
92
|
-
}
|
|
93
|
-
function buildAssetsURL(...path) {
|
|
94
|
-
return joinRelativeURL(publicAssetsURL(), buildAssetsDir(), ...path);
|
|
95
|
-
}
|
|
96
|
-
function publicAssetsURL(...path) {
|
|
97
|
-
const app = useRuntimeConfig().app;
|
|
98
|
-
const publicBase = app.cdnURL || app.baseURL;
|
|
99
|
-
return path.length ? joinRelativeURL(publicBase, ...path) : publicBase;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
globalThis.__buildAssetsURL = buildAssetsURL;
|
|
103
|
-
globalThis.__publicAssetsURL = publicAssetsURL;
|
|
104
|
-
const getClientManifest = () => import('../build/client.manifest.mjs').then((r) => r.default || r).then((r) => typeof r === "function" ? r() : r);
|
|
105
|
-
const getEntryIds = () => getClientManifest().then((r) => Object.values(r).filter(
|
|
106
|
-
(r2) => (
|
|
107
|
-
// @ts-expect-error internal key set by CSS inlining configuration
|
|
108
|
-
r2._globalCSS
|
|
109
|
-
)
|
|
110
|
-
).map((r2) => r2.src));
|
|
111
|
-
const getServerEntry = () => import('../build/server.mjs').then((r) => r.default || r);
|
|
112
|
-
const getSSRStyles = lazyCachedFunction(() => import('../build/styles.mjs').then((r) => r.default || r));
|
|
113
|
-
const getSSRRenderer = lazyCachedFunction(async () => {
|
|
114
|
-
const manifest = await getClientManifest();
|
|
115
|
-
if (!manifest) {
|
|
116
|
-
throw new Error("client.manifest is not available");
|
|
117
|
-
}
|
|
118
|
-
const createSSRApp = await getServerEntry();
|
|
119
|
-
if (!createSSRApp) {
|
|
120
|
-
throw new Error("Server bundle is not available");
|
|
121
|
-
}
|
|
122
|
-
const options = {
|
|
123
|
-
manifest,
|
|
124
|
-
renderToString: renderToString$1,
|
|
125
|
-
buildAssetsURL
|
|
126
|
-
};
|
|
127
|
-
const renderer = createRenderer(createSSRApp, options);
|
|
128
|
-
async function renderToString$1(input, context) {
|
|
129
|
-
const html = await renderToString(input, context);
|
|
130
|
-
return APP_ROOT_OPEN_TAG + html + APP_ROOT_CLOSE_TAG;
|
|
131
|
-
}
|
|
132
|
-
return renderer;
|
|
133
|
-
});
|
|
134
|
-
const getSPARenderer = lazyCachedFunction(async () => {
|
|
135
|
-
const manifest = await getClientManifest();
|
|
136
|
-
const spaTemplate = await import('../virtual/_virtual_spa-template.mjs').then((r) => r.template).catch(() => "").then((r) => APP_ROOT_OPEN_TAG + r + APP_ROOT_CLOSE_TAG);
|
|
137
|
-
const options = {
|
|
138
|
-
manifest,
|
|
139
|
-
renderToString: () => spaTemplate,
|
|
140
|
-
buildAssetsURL
|
|
141
|
-
};
|
|
142
|
-
const renderer = createRenderer(() => () => {
|
|
143
|
-
}, options);
|
|
144
|
-
const result = await renderer.renderToString({});
|
|
145
|
-
const renderToString = (ssrContext) => {
|
|
146
|
-
const config = useRuntimeConfig(ssrContext.event);
|
|
147
|
-
ssrContext.modules = ssrContext.modules || /* @__PURE__ */ new Set();
|
|
148
|
-
ssrContext.payload.serverRendered = false;
|
|
149
|
-
ssrContext.config = {
|
|
150
|
-
public: config.public,
|
|
151
|
-
app: config.app
|
|
152
|
-
};
|
|
153
|
-
return Promise.resolve(result);
|
|
154
|
-
};
|
|
155
|
-
return {
|
|
156
|
-
rendererContext: renderer.rendererContext,
|
|
157
|
-
renderToString
|
|
158
|
-
};
|
|
159
|
-
});
|
|
160
|
-
const HAS_APP_TELEPORTS = !!(appTeleportAttrs.id);
|
|
161
|
-
const APP_TELEPORT_OPEN_TAG = HAS_APP_TELEPORTS ? `<${appTeleportTag}${propsToString(appTeleportAttrs)}>` : "";
|
|
162
|
-
const APP_TELEPORT_CLOSE_TAG = HAS_APP_TELEPORTS ? `</${appTeleportTag}>` : "";
|
|
163
|
-
const APP_ROOT_OPEN_TAG = `<${appRootTag}${propsToString(appRootAttrs)}>`;
|
|
164
|
-
const APP_ROOT_CLOSE_TAG = `</${appRootTag}>`;
|
|
165
|
-
const PAYLOAD_URL_RE = /\/_payload.json(\?.*)?$/ ;
|
|
166
|
-
const renderer = defineRenderHandler(async (event) => {
|
|
167
|
-
const nitroApp = useNitroApp();
|
|
168
|
-
const ssrError = event.path.startsWith("/__nuxt_error") ? getQuery(event) : null;
|
|
169
|
-
if (ssrError && ssrError.statusCode) {
|
|
170
|
-
ssrError.statusCode = Number.parseInt(ssrError.statusCode);
|
|
171
|
-
}
|
|
172
|
-
if (ssrError && !("__unenv__" in event.node.req)) {
|
|
173
|
-
throw createError({
|
|
174
|
-
statusCode: 404,
|
|
175
|
-
statusMessage: "Page Not Found: /__nuxt_error"
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
const isRenderingIsland = componentIslands;
|
|
179
|
-
const islandContext = void 0;
|
|
180
|
-
let url = ssrError?.url || islandContext?.url || event.path;
|
|
181
|
-
const isRenderingPayload = PAYLOAD_URL_RE.test(url) && !isRenderingIsland;
|
|
182
|
-
if (isRenderingPayload) {
|
|
183
|
-
url = url.substring(0, url.lastIndexOf("/")) || "/";
|
|
184
|
-
event._path = url;
|
|
185
|
-
event.node.req.url = url;
|
|
186
|
-
}
|
|
187
|
-
const routeOptions = getRouteRules(event);
|
|
188
|
-
const head = createServerHead({
|
|
189
|
-
plugins: unheadPlugins
|
|
190
|
-
});
|
|
191
|
-
const headEntryOptions = { mode: "server" };
|
|
192
|
-
{
|
|
193
|
-
head.push(appHead, headEntryOptions);
|
|
194
|
-
}
|
|
195
|
-
const ssrContext = {
|
|
196
|
-
url,
|
|
197
|
-
event,
|
|
198
|
-
runtimeConfig: useRuntimeConfig(event),
|
|
199
|
-
noSSR: event.context.nuxt?.noSSR || routeOptions.ssr === false && !isRenderingIsland || (false),
|
|
200
|
-
head,
|
|
201
|
-
error: !!ssrError,
|
|
202
|
-
nuxt: void 0,
|
|
203
|
-
/* NuxtApp */
|
|
204
|
-
payload: ssrError ? { error: ssrError } : {},
|
|
205
|
-
_payloadReducers: /* @__PURE__ */ Object.create(null),
|
|
206
|
-
modules: /* @__PURE__ */ new Set(),
|
|
207
|
-
islandContext
|
|
208
|
-
};
|
|
209
|
-
const renderer = ssrContext.noSSR ? await getSPARenderer() : await getSSRRenderer();
|
|
210
|
-
{
|
|
211
|
-
for (const id of await getEntryIds()) {
|
|
212
|
-
ssrContext.modules.add(id);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
const _rendered = await renderer.renderToString(ssrContext).catch(async (error) => {
|
|
216
|
-
if (ssrContext._renderResponse && error.message === "skipping render") {
|
|
217
|
-
return {};
|
|
218
|
-
}
|
|
219
|
-
const _err = !ssrError && ssrContext.payload?.error || error;
|
|
220
|
-
await ssrContext.nuxt?.hooks.callHook("app:error", _err);
|
|
221
|
-
throw _err;
|
|
222
|
-
});
|
|
223
|
-
await ssrContext.nuxt?.hooks.callHook("app:rendered", { ssrContext, renderResult: _rendered });
|
|
224
|
-
if (ssrContext._renderResponse) {
|
|
225
|
-
return ssrContext._renderResponse;
|
|
226
|
-
}
|
|
227
|
-
if (ssrContext.payload?.error && !ssrError) {
|
|
228
|
-
throw ssrContext.payload.error;
|
|
229
|
-
}
|
|
230
|
-
if (isRenderingPayload) {
|
|
231
|
-
const response2 = renderPayloadResponse(ssrContext);
|
|
232
|
-
return response2;
|
|
233
|
-
}
|
|
234
|
-
const inlinedStyles = await renderInlineStyles(ssrContext.modules ?? []) ;
|
|
235
|
-
const NO_SCRIPTS = routeOptions.experimentalNoScripts;
|
|
236
|
-
const { styles, scripts } = getRequestDependencies(ssrContext, renderer.rendererContext);
|
|
237
|
-
if (inlinedStyles.length) {
|
|
238
|
-
head.push({ style: inlinedStyles });
|
|
239
|
-
}
|
|
240
|
-
{
|
|
241
|
-
const link = [];
|
|
242
|
-
for (const resource of Object.values(styles)) {
|
|
243
|
-
{
|
|
244
|
-
link.push({ rel: "stylesheet", href: renderer.rendererContext.buildAssetsURL(resource.file), crossorigin: "" });
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
if (link.length) {
|
|
248
|
-
head.push({ link }, headEntryOptions);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
if (!NO_SCRIPTS && !isRenderingIsland) {
|
|
252
|
-
head.push({
|
|
253
|
-
link: getPreloadLinks(ssrContext, renderer.rendererContext)
|
|
254
|
-
}, headEntryOptions);
|
|
255
|
-
head.push({
|
|
256
|
-
link: getPrefetchLinks(ssrContext, renderer.rendererContext)
|
|
257
|
-
}, headEntryOptions);
|
|
258
|
-
head.push({
|
|
259
|
-
script: renderPayloadJsonScript({ ssrContext, data: ssrContext.payload })
|
|
260
|
-
}, {
|
|
261
|
-
...headEntryOptions,
|
|
262
|
-
// this should come before another end of body scripts
|
|
263
|
-
tagPosition: "bodyClose",
|
|
264
|
-
tagPriority: "high"
|
|
265
|
-
});
|
|
266
|
-
}
|
|
267
|
-
if (!routeOptions.experimentalNoScripts && !isRenderingIsland) {
|
|
268
|
-
head.push({
|
|
269
|
-
script: Object.values(scripts).map((resource) => ({
|
|
270
|
-
type: resource.module ? "module" : null,
|
|
271
|
-
src: renderer.rendererContext.buildAssetsURL(resource.file),
|
|
272
|
-
defer: resource.module ? null : true,
|
|
273
|
-
// if we are rendering script tag payloads that import an async payload
|
|
274
|
-
// we need to ensure this resolves before executing the Nuxt entry
|
|
275
|
-
tagPosition: "head",
|
|
276
|
-
crossorigin: ""
|
|
277
|
-
}))
|
|
278
|
-
}, headEntryOptions);
|
|
279
|
-
}
|
|
280
|
-
const { headTags, bodyTags, bodyTagsOpen, htmlAttrs, bodyAttrs } = await renderSSRHead(head, renderSSRHeadOptions);
|
|
281
|
-
const htmlContext = {
|
|
282
|
-
island: isRenderingIsland,
|
|
283
|
-
htmlAttrs: htmlAttrs ? [htmlAttrs] : [],
|
|
284
|
-
head: normalizeChunks([headTags]),
|
|
285
|
-
bodyAttrs: bodyAttrs ? [bodyAttrs] : [],
|
|
286
|
-
bodyPrepend: normalizeChunks([bodyTagsOpen, ssrContext.teleports?.body]),
|
|
287
|
-
body: [
|
|
288
|
-
_rendered.html,
|
|
289
|
-
APP_TELEPORT_OPEN_TAG + (HAS_APP_TELEPORTS ? joinTags([ssrContext.teleports?.[`#${appTeleportAttrs.id}`]]) : "") + APP_TELEPORT_CLOSE_TAG
|
|
290
|
-
],
|
|
291
|
-
bodyAppend: [bodyTags]
|
|
292
|
-
};
|
|
293
|
-
await nitroApp.hooks.callHook("render:html", htmlContext, { event });
|
|
294
|
-
const response = {
|
|
295
|
-
body: renderHTMLDocument(htmlContext),
|
|
296
|
-
statusCode: getResponseStatus(event),
|
|
297
|
-
statusMessage: getResponseStatusText(event),
|
|
298
|
-
headers: {
|
|
299
|
-
"content-type": "text/html;charset=utf-8",
|
|
300
|
-
"x-powered-by": "Nuxt"
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
return response;
|
|
304
|
-
});
|
|
305
|
-
function lazyCachedFunction(fn) {
|
|
306
|
-
let res = null;
|
|
307
|
-
return () => {
|
|
308
|
-
if (res === null) {
|
|
309
|
-
res = fn().catch((err) => {
|
|
310
|
-
res = null;
|
|
311
|
-
throw err;
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
return res;
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
function normalizeChunks(chunks) {
|
|
318
|
-
return chunks.filter(Boolean).map((i) => i.trim());
|
|
319
|
-
}
|
|
320
|
-
function joinTags(tags) {
|
|
321
|
-
return tags.join("");
|
|
322
|
-
}
|
|
323
|
-
function joinAttrs(chunks) {
|
|
324
|
-
if (chunks.length === 0) {
|
|
325
|
-
return "";
|
|
326
|
-
}
|
|
327
|
-
return " " + chunks.join(" ");
|
|
328
|
-
}
|
|
329
|
-
function renderHTMLDocument(html) {
|
|
330
|
-
return `<!DOCTYPE html><html${joinAttrs(html.htmlAttrs)}><head>${joinTags(html.head)}</head><body${joinAttrs(html.bodyAttrs)}>${joinTags(html.bodyPrepend)}${joinTags(html.body)}${joinTags(html.bodyAppend)}</body></html>`;
|
|
331
|
-
}
|
|
332
|
-
async function renderInlineStyles(usedModules) {
|
|
333
|
-
const styleMap = await getSSRStyles();
|
|
334
|
-
const inlinedStyles = /* @__PURE__ */ new Set();
|
|
335
|
-
for (const mod of usedModules) {
|
|
336
|
-
if (mod in styleMap && styleMap[mod]) {
|
|
337
|
-
for (const style of await styleMap[mod]()) {
|
|
338
|
-
inlinedStyles.add(style);
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
return Array.from(inlinedStyles).map((style) => ({ innerHTML: style }));
|
|
343
|
-
}
|
|
344
|
-
function renderPayloadResponse(ssrContext) {
|
|
345
|
-
return {
|
|
346
|
-
body: stringify(splitPayload(ssrContext).payload, ssrContext._payloadReducers) ,
|
|
347
|
-
statusCode: getResponseStatus(ssrContext.event),
|
|
348
|
-
statusMessage: getResponseStatusText(ssrContext.event),
|
|
349
|
-
headers: {
|
|
350
|
-
"content-type": "application/json;charset=utf-8" ,
|
|
351
|
-
"x-powered-by": "Nuxt"
|
|
352
|
-
}
|
|
353
|
-
};
|
|
354
|
-
}
|
|
355
|
-
function renderPayloadJsonScript(opts) {
|
|
356
|
-
const contents = opts.data ? stringify(opts.data, opts.ssrContext._payloadReducers) : "";
|
|
357
|
-
const payload = {
|
|
358
|
-
"type": "application/json",
|
|
359
|
-
"innerHTML": contents,
|
|
360
|
-
"data-nuxt-data": appId,
|
|
361
|
-
"data-ssr": !(opts.ssrContext.noSSR)
|
|
362
|
-
};
|
|
363
|
-
{
|
|
364
|
-
payload.id = "__NUXT_DATA__";
|
|
365
|
-
}
|
|
366
|
-
if (opts.src) {
|
|
367
|
-
payload["data-src"] = opts.src;
|
|
368
|
-
}
|
|
369
|
-
const config = uneval(opts.ssrContext.config);
|
|
370
|
-
return [
|
|
371
|
-
payload,
|
|
372
|
-
{
|
|
373
|
-
innerHTML: `window.__NUXT__={};window.__NUXT__.config=${config}`
|
|
374
|
-
}
|
|
375
|
-
];
|
|
376
|
-
}
|
|
377
|
-
function splitPayload(ssrContext) {
|
|
378
|
-
const { data, prerenderedAt, ...initial } = ssrContext.payload;
|
|
379
|
-
return {
|
|
380
|
-
initial: { ...initial, prerenderedAt },
|
|
381
|
-
payload: { data, prerenderedAt }
|
|
382
|
-
};
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
const renderer$1 = /*#__PURE__*/Object.freeze({
|
|
386
|
-
__proto__: null,
|
|
387
|
-
default: renderer
|
|
388
|
-
});
|
|
389
|
-
|
|
390
|
-
export { baseURL as b, renderer$1 as r };
|
|
391
|
-
//# sourceMappingURL=renderer.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.mjs","sources":["../../../../../node_modules/@unhead/vue/dist/shared/vue.f49591ad.mjs","../../../../../node_modules/nuxt/dist/core/runtime/nitro/paths.js","../../../../../node_modules/nuxt/dist/core/runtime/nitro/renderer.js"],"sourcesContent":null,"names":["renderToString","_renderToString"],"mappings":"","x_google_ignoreList":[0,1,2]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_virtual_spa-template.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;"}
|
package/.output/server/index.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import process from 'node:process';globalThis._importMeta_={url:import.meta.url,env:process.env};import 'node:http';
|
|
2
|
-
import 'node:https';
|
|
3
|
-
export { H as default } from './chunks/nitro/nitro.mjs';
|
|
4
|
-
import 'node:fs';
|
|
5
|
-
import 'node:path';
|
|
6
|
-
import 'node:url';
|
|
7
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;"}
|