orcaq 1.0.20
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/.output/nitro.json +15 -0
- package/.output/public/_nuxt/8qASMGdV.js +1 -0
- package/.output/public/_nuxt/9lJACZIQ.js +19 -0
- package/.output/public/_nuxt/B2DnNiWd.js +1 -0
- package/.output/public/_nuxt/B6E6ObS_.js +8 -0
- package/.output/public/_nuxt/BH83_dXo.js +39 -0
- package/.output/public/_nuxt/BIKqrFbQ.js +1 -0
- package/.output/public/_nuxt/BNjPC06x.js +1 -0
- package/.output/public/_nuxt/BPQ-Pz1w.js +39 -0
- package/.output/public/_nuxt/BRpgKkVT.js +51 -0
- package/.output/public/_nuxt/BTCLPbPY.js +4 -0
- package/.output/public/_nuxt/BUV-RarV.js +1 -0
- package/.output/public/_nuxt/Bh6RgYlO.js +1 -0
- package/.output/public/_nuxt/Bq3cyzOD.js +1 -0
- package/.output/public/_nuxt/Bt9sU68B.js +9 -0
- package/.output/public/_nuxt/BwpH2ZxJ.js +1 -0
- package/.output/public/_nuxt/C25Tmn1m.js +1 -0
- package/.output/public/_nuxt/C2HlI1ss.js +1 -0
- package/.output/public/_nuxt/CU3ZV9iV.js +1 -0
- package/.output/public/_nuxt/CbcyysXi.js +1 -0
- package/.output/public/_nuxt/CepyvMhE.js +1 -0
- package/.output/public/_nuxt/CrgoNCm2.js +2 -0
- package/.output/public/_nuxt/CuBKbBH_.js +1 -0
- package/.output/public/_nuxt/CulD8qYQ.js +193 -0
- package/.output/public/_nuxt/CustomEdge.BNBpjEHb.css +1 -0
- package/.output/public/_nuxt/CylkLpwm.js +1 -0
- package/.output/public/_nuxt/D-bWLYHw.js +1 -0
- package/.output/public/_nuxt/D-zecHND.js +1 -0
- package/.output/public/_nuxt/D8vj6kFe.js +160 -0
- package/.output/public/_nuxt/DIETYtCL.js +1 -0
- package/.output/public/_nuxt/DJ4vUzxS.js +1 -0
- package/.output/public/_nuxt/DK-itzXx.js +8 -0
- package/.output/public/_nuxt/DL3T5jYo.js +3867 -0
- package/.output/public/_nuxt/DUsuhY9i.js +1 -0
- package/.output/public/_nuxt/DXV2HFBA.js +224 -0
- package/.output/public/_nuxt/Dh2zppOR.js +1 -0
- package/.output/public/_nuxt/DlAUqK2U.js +1 -0
- package/.output/public/_nuxt/DlmSeCnw.js +5 -0
- package/.output/public/_nuxt/DswTpYG4.js +1 -0
- package/.output/public/_nuxt/DynamicTable.DJeANwbG.css +1 -0
- package/.output/public/_nuxt/G830WtVn.js +1 -0
- package/.output/public/_nuxt/ICwM1E4-.js +15 -0
- package/.output/public/_nuxt/QZbJy9YW.js +31 -0
- package/.output/public/_nuxt/QuickQueryTable.DS_ON57S.css +1 -0
- package/.output/public/_nuxt/UXhX8z2W.js +1 -0
- package/.output/public/_nuxt/WrapperErdDiagram.DwhUd9Wr.css +1 -0
- package/.output/public/_nuxt/_fileId_.DmPfwyyD.css +1 -0
- package/.output/public/_nuxt/_tabViewId_.9Axt3zoi.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/6364d5cf-4642-479f-ba12-6440c56702af.json +1 -0
- package/.output/public/_nuxt/default.DixIpIal.css +1 -0
- package/.output/public/_nuxt/entry.GqPNPe1e.css +1 -0
- package/.output/public/_nuxt/index.CrXmf4gr.css +1 -0
- package/.output/public/_nuxt/ivUnXl9B.js +1 -0
- package/.output/public/_nuxt/pAheHeBV.js +36 -0
- package/.output/public/_nuxt/s5fCn4j5.js +1 -0
- package/.output/public/favicon.ico +0 -0
- package/.output/public/logo.png +0 -0
- package/.output/public/manifest.json +25 -0
- package/.output/public/robots.txt +1 -0
- package/.output/public/vite.svg +1 -0
- package/.output/server/chunks/_/error-500.mjs +8 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/build/client.manifest.mjs +773 -0
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +6432 -0
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/.output/server/chunks/routes/api/ai/chat.mjs +77 -0
- package/.output/server/chunks/routes/api/ai/chat.mjs.map +1 -0
- package/.output/server/chunks/routes/api/execute-bulk-delete.mjs +100 -0
- package/.output/server/chunks/routes/api/execute-bulk-delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/execute-bulk-update.mjs +105 -0
- package/.output/server/chunks/routes/api/execute-bulk-update.mjs.map +1 -0
- package/.output/server/chunks/routes/api/execute.mjs +47 -0
- package/.output/server/chunks/routes/api/execute.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-one-function.mjs +28 -0
- package/.output/server/chunks/routes/api/get-one-function.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-one-table.mjs +180 -0
- package/.output/server/chunks/routes/api/get-one-table.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-over-view-function.mjs +41 -0
- package/.output/server/chunks/routes/api/get-over-view-function.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-over-view-tables.mjs +53 -0
- package/.output/server/chunks/routes/api/get-over-view-tables.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-reverse-table-schemas.mjs +112 -0
- package/.output/server/chunks/routes/api/get-reverse-table-schemas.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-schema-meta-data.mjs +152 -0
- package/.output/server/chunks/routes/api/get-schema-meta-data.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-table-size.mjs +49 -0
- package/.output/server/chunks/routes/api/get-table-size.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-table-structure.mjs +111 -0
- package/.output/server/chunks/routes/api/get-table-structure.mjs.map +1 -0
- package/.output/server/chunks/routes/api/get-tables.mjs +287 -0
- package/.output/server/chunks/routes/api/get-tables.mjs.map +1 -0
- package/.output/server/chunks/routes/api/getMetricMonitor.mjs +46 -0
- package/.output/server/chunks/routes/api/getMetricMonitor.mjs.map +1 -0
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs +28 -0
- package/.output/server/chunks/routes/api/managment-connection/health-check.mjs.map +1 -0
- package/.output/server/chunks/routes/api/raw-execute.mjs +48 -0
- package/.output/server/chunks/routes/api/raw-execute.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +316 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/index.mjs +14 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/@ai-sdk/anthropic/dist/index.mjs +4374 -0
- package/.output/server/node_modules/@ai-sdk/anthropic/package.json +74 -0
- package/.output/server/node_modules/@ai-sdk/gateway/dist/index.mjs +1082 -0
- package/.output/server/node_modules/@ai-sdk/gateway/package.json +69 -0
- package/.output/server/node_modules/@ai-sdk/google/dist/index.mjs +2007 -0
- package/.output/server/node_modules/@ai-sdk/google/package.json +74 -0
- package/.output/server/node_modules/@ai-sdk/openai/dist/index.mjs +5956 -0
- package/.output/server/node_modules/@ai-sdk/openai/package.json +74 -0
- package/.output/server/node_modules/@ai-sdk/openai-compatible/dist/index.mjs +1551 -0
- package/.output/server/node_modules/@ai-sdk/openai-compatible/package.json +74 -0
- package/.output/server/node_modules/@ai-sdk/provider/dist/index.mjs +377 -0
- package/.output/server/node_modules/@ai-sdk/provider/package.json +57 -0
- package/.output/server/node_modules/@ai-sdk/provider-utils/dist/index.mjs +2549 -0
- package/.output/server/node_modules/@ai-sdk/provider-utils/package.json +75 -0
- package/.output/server/node_modules/@ai-sdk/xai/dist/index.mjs +2214 -0
- package/.output/server/node_modules/@ai-sdk/xai/package.json +68 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14246 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.mjs +350 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.mjs +188 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/common.mjs +90 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/format.mjs +38 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.mjs +76 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.mjs +168 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.mjs +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.mjs +14 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.mjs +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.mjs +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.mjs +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.mjs +51 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.mjs +84 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.mjs +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.mjs +44 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.mjs +58 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.mjs +231 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.mjs +31 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.mjs +164 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.mjs +216 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.mjs +113 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.mjs +104 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.mjs +34 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.mjs +75 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.mjs +97 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.mjs +54 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.mjs +97 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.mjs +45 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.mjs +105 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.mjs +54 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.mjs +24 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.mjs +20 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.mjs +53 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.mjs +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.mjs +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.mjs +182 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.mjs +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.mjs +46 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.mjs +66 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.mjs +51 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.mjs +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.mjs +62 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.mjs +161 -0
- package/.output/server/node_modules/@iconify/utils/lib/index.mjs +64 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.mjs +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.mjs +59 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.mjs +80 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.mjs +92 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.mjs +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.mjs +17 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.mjs +5 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.mjs +119 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.mjs +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.mjs +20 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.mjs +9 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.mjs +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.mjs +19 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.mjs +83 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.mjs +70 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.mjs +40 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.mjs +5 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.mjs +11 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.mjs +8 -0
- package/.output/server/node_modules/@iconify/utils/package.json +447 -0
- package/.output/server/node_modules/@ioredis/commands/built/commands.json +2447 -0
- package/.output/server/node_modules/@ioredis/commands/built/index.js +208 -0
- package/.output/server/node_modules/@ioredis/commands/package.json +52 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/api/context.js +81 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/api/diag.js +93 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/api/metrics.js +61 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/api/propagation.js +89 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/api/trace.js +79 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js +63 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js +55 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js +23 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/baggage/utils.js +51 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js +38 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/context/context.js +55 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/context-api.js +24 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js +59 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js +57 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js +45 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/diag/types.js +44 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/diag-api.js +29 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/index.js +81 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/internal/global-utils.js +64 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/internal/semver.js +122 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/metrics/Metric.js +25 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js +127 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js +31 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/metrics-api.js +24 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/platform/index.js +29 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/platform/node/globalThis.js +22 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/platform/node/index.js +29 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js +34 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js +41 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/propagation-api.js +24 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js +69 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js +75 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js +32 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js +55 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js +54 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js +42 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/context-utils.js +82 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js +103 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js +46 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/internal/utils.js +24 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js +27 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/span_kind.js +46 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js +49 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/status.js +23 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace/trace_flags.js +26 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/trace-api.js +24 -0
- package/.output/server/node_modules/@opentelemetry/api/build/src/version.js +21 -0
- package/.output/server/node_modules/@opentelemetry/api/package.json +113 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/core/Formatter.js +234 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/core/Indentation.js +42 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/core/InlineBlock.js +60 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/core/Params.js +21 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/core/Tokenizer.js +272 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/core/escapeRegExp.js +10 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/core/last.js +7 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/core/types.js +22 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/languages/Db2Formatter.js +585 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/languages/N1qlFormatter.js +257 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/languages/PlSqlFormatter.js +459 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/languages/StandardSqlFormatter.js +369 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/languages/utils/abstract.js +23 -0
- package/.output/server/node_modules/@sqltools/formatter/lib/sqlFormatter.js +34 -0
- package/.output/server/node_modules/@sqltools/formatter/package.json +59 -0
- package/.output/server/node_modules/@standard-schema/spec/dist/index.js +0 -0
- package/.output/server/node_modules/@standard-schema/spec/package.json +52 -0
- package/.output/server/node_modules/@vercel/oidc/dist/auth-config.js +84 -0
- package/.output/server/node_modules/@vercel/oidc/dist/get-context.js +34 -0
- package/.output/server/node_modules/@vercel/oidc/dist/get-vercel-oidc-token.js +80 -0
- package/.output/server/node_modules/@vercel/oidc/dist/index.js +33 -0
- package/.output/server/node_modules/@vercel/oidc/dist/oauth.js +88 -0
- package/.output/server/node_modules/@vercel/oidc/dist/token-error.js +40 -0
- package/.output/server/node_modules/@vercel/oidc/dist/token-io.js +78 -0
- package/.output/server/node_modules/@vercel/oidc/dist/token-util.js +198 -0
- package/.output/server/node_modules/@vercel/oidc/dist/token.js +53 -0
- package/.output/server/node_modules/@vercel/oidc/package.json +52 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6690 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1404 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1789 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6654 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1669 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +857 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +594 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/ai/dist/index.mjs +12363 -0
- package/.output/server/node_modules/ai/package.json +106 -0
- package/.output/server/node_modules/ansis/index.js +1 -0
- package/.output/server/node_modules/ansis/package.json +28 -0
- package/.output/server/node_modules/app-root-path/index.js +4 -0
- package/.output/server/node_modules/app-root-path/lib/app-root-path.js +30 -0
- package/.output/server/node_modules/app-root-path/lib/resolve.js +128 -0
- package/.output/server/node_modules/app-root-path/package.json +66 -0
- package/.output/server/node_modules/balanced-match/index.js +62 -0
- package/.output/server/node_modules/balanced-match/package.json +48 -0
- package/.output/server/node_modules/bindings/bindings.js +221 -0
- package/.output/server/node_modules/bindings/package.json +28 -0
- package/.output/server/node_modules/brace-expansion/index.js +203 -0
- package/.output/server/node_modules/brace-expansion/package.json +46 -0
- package/.output/server/node_modules/cluster-key-slot/lib/index.js +166 -0
- package/.output/server/node_modules/cluster-key-slot/package.json +56 -0
- package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/.output/server/node_modules/consola/dist/core.mjs +512 -0
- package/.output/server/node_modules/consola/dist/index.mjs +651 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/.output/server/node_modules/consola/package.json +136 -0
- package/.output/server/node_modules/dayjs/dayjs.min.js +1 -0
- package/.output/server/node_modules/dayjs/package.json +84 -0
- package/.output/server/node_modules/debug/package.json +65 -0
- package/.output/server/node_modules/debug/src/browser.js +272 -0
- package/.output/server/node_modules/debug/src/common.js +292 -0
- package/.output/server/node_modules/debug/src/index.js +10 -0
- package/.output/server/node_modules/debug/src/node.js +263 -0
- package/.output/server/node_modules/dedent/dist/dedent.js +73 -0
- package/.output/server/node_modules/dedent/package.json +119 -0
- package/.output/server/node_modules/denque/index.js +481 -0
- package/.output/server/node_modules/denque/package.json +58 -0
- package/.output/server/node_modules/devalue/index.js +3 -0
- package/.output/server/node_modules/devalue/package.json +34 -0
- package/.output/server/node_modules/devalue/src/base64.js +110 -0
- package/.output/server/node_modules/devalue/src/constants.js +6 -0
- package/.output/server/node_modules/devalue/src/parse.js +160 -0
- package/.output/server/node_modules/devalue/src/stringify.js +232 -0
- package/.output/server/node_modules/devalue/src/uneval.js +351 -0
- package/.output/server/node_modules/devalue/src/utils.js +113 -0
- package/.output/server/node_modules/dotenv/lib/main.js +361 -0
- package/.output/server/node_modules/dotenv/package.json +61 -0
- package/.output/server/node_modules/entities/lib/decode.js +536 -0
- package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/.output/server/node_modules/entities/package.json +90 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/eventsource-parser/dist/index.js +106 -0
- package/.output/server/node_modules/eventsource-parser/dist/stream.js +29 -0
- package/.output/server/node_modules/eventsource-parser/package.json +115 -0
- package/.output/server/node_modules/file-uri-to-path/index.js +66 -0
- package/.output/server/node_modules/file-uri-to-path/package.json +32 -0
- package/.output/server/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/.output/server/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/.output/server/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/.output/server/node_modules/glob/dist/commonjs/index.js +68 -0
- package/.output/server/node_modules/glob/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/.output/server/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/.output/server/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/.output/server/node_modules/glob/package.json +99 -0
- package/.output/server/node_modules/has-flag/index.js +8 -0
- package/.output/server/node_modules/has-flag/package.json +46 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
- package/.output/server/node_modules/hookable/package.json +49 -0
- package/.output/server/node_modules/inherits/inherits.js +9 -0
- package/.output/server/node_modules/inherits/inherits_browser.js +27 -0
- package/.output/server/node_modules/inherits/package.json +29 -0
- package/.output/server/node_modules/ioredis/built/Command.js +349 -0
- package/.output/server/node_modules/ioredis/built/DataHandler.js +220 -0
- package/.output/server/node_modules/ioredis/built/Pipeline.js +334 -0
- package/.output/server/node_modules/ioredis/built/Redis.js +697 -0
- package/.output/server/node_modules/ioredis/built/ScanStream.js +51 -0
- package/.output/server/node_modules/ioredis/built/Script.js +62 -0
- package/.output/server/node_modules/ioredis/built/SubscriptionSet.js +41 -0
- package/.output/server/node_modules/ioredis/built/autoPipelining.js +159 -0
- package/.output/server/node_modules/ioredis/built/cluster/ClusterOptions.js +22 -0
- package/.output/server/node_modules/ioredis/built/cluster/ClusterSubscriber.js +202 -0
- package/.output/server/node_modules/ioredis/built/cluster/ClusterSubscriberGroup.js +224 -0
- package/.output/server/node_modules/ioredis/built/cluster/ConnectionPool.js +154 -0
- package/.output/server/node_modules/ioredis/built/cluster/DelayQueue.js +53 -0
- package/.output/server/node_modules/ioredis/built/cluster/index.js +862 -0
- package/.output/server/node_modules/ioredis/built/cluster/util.js +100 -0
- package/.output/server/node_modules/ioredis/built/connectors/AbstractConnector.js +26 -0
- package/.output/server/node_modules/ioredis/built/connectors/SentinelConnector/FailoverDetector.js +45 -0
- package/.output/server/node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.js +37 -0
- package/.output/server/node_modules/ioredis/built/connectors/SentinelConnector/index.js +305 -0
- package/.output/server/node_modules/ioredis/built/connectors/StandaloneConnector.js +69 -0
- package/.output/server/node_modules/ioredis/built/connectors/index.js +7 -0
- package/.output/server/node_modules/ioredis/built/constants/TLSProfiles.js +149 -0
- package/.output/server/node_modules/ioredis/built/errors/ClusterAllFailedError.js +15 -0
- package/.output/server/node_modules/ioredis/built/errors/MaxRetriesPerRequestError.js +14 -0
- package/.output/server/node_modules/ioredis/built/errors/index.js +5 -0
- package/.output/server/node_modules/ioredis/built/index.js +62 -0
- package/.output/server/node_modules/ioredis/built/redis/RedisOptions.js +55 -0
- package/.output/server/node_modules/ioredis/built/redis/event_handler.js +292 -0
- package/.output/server/node_modules/ioredis/built/transaction.js +93 -0
- package/.output/server/node_modules/ioredis/built/utils/Commander.js +117 -0
- package/.output/server/node_modules/ioredis/built/utils/applyMixin.js +8 -0
- package/.output/server/node_modules/ioredis/built/utils/debug.js +95 -0
- package/.output/server/node_modules/ioredis/built/utils/index.js +297 -0
- package/.output/server/node_modules/ioredis/built/utils/lodash.js +9 -0
- package/.output/server/node_modules/ioredis/package.json +100 -0
- package/.output/server/node_modules/lodash.defaults/index.js +668 -0
- package/.output/server/node_modules/lodash.defaults/package.json +19 -0
- package/.output/server/node_modules/lodash.isarguments/index.js +229 -0
- package/.output/server/node_modules/lodash.isarguments/package.json +19 -0
- package/.output/server/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
- package/.output/server/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/lru-cache/package.json +116 -0
- package/.output/server/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/.output/server/node_modules/minimatch/dist/commonjs/ast.js +592 -0
- package/.output/server/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
- package/.output/server/node_modules/minimatch/dist/commonjs/escape.js +22 -0
- package/.output/server/node_modules/minimatch/dist/commonjs/index.js +1017 -0
- package/.output/server/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
- package/.output/server/node_modules/minimatch/package.json +82 -0
- package/.output/server/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/.output/server/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/minipass/package.json +82 -0
- package/.output/server/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/ms/package.json +38 -0
- package/.output/server/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
- package/.output/server/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/path-scurry/package.json +89 -0
- package/.output/server/node_modules/pg/lib/client.js +650 -0
- package/.output/server/node_modules/pg/lib/connection-parameters.js +167 -0
- package/.output/server/node_modules/pg/lib/connection.js +222 -0
- package/.output/server/node_modules/pg/lib/crypto/cert-signatures.js +121 -0
- package/.output/server/node_modules/pg/lib/crypto/sasl.js +212 -0
- package/.output/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
- package/.output/server/node_modules/pg/lib/crypto/utils-webcrypto.js +88 -0
- package/.output/server/node_modules/pg/lib/crypto/utils.js +9 -0
- package/.output/server/node_modules/pg/lib/defaults.js +84 -0
- package/.output/server/node_modules/pg/lib/index.js +58 -0
- package/.output/server/node_modules/pg/lib/native/client.js +307 -0
- package/.output/server/node_modules/pg/lib/native/index.js +2 -0
- package/.output/server/node_modules/pg/lib/native/query.js +168 -0
- package/.output/server/node_modules/pg/lib/query.js +253 -0
- package/.output/server/node_modules/pg/lib/result.js +108 -0
- package/.output/server/node_modules/pg/lib/stream.js +81 -0
- package/.output/server/node_modules/pg/lib/type-overrides.js +35 -0
- package/.output/server/node_modules/pg/lib/utils.js +206 -0
- package/.output/server/node_modules/pg/package.json +62 -0
- package/.output/server/node_modules/pg-cloudflare/dist/empty.js +4 -0
- package/.output/server/node_modules/pg-cloudflare/package.json +32 -0
- package/.output/server/node_modules/pg-connection-string/index.js +112 -0
- package/.output/server/node_modules/pg-connection-string/package.json +40 -0
- package/.output/server/node_modules/pg-cursor/index.js +265 -0
- package/.output/server/node_modules/pg-cursor/package.json +38 -0
- package/.output/server/node_modules/pg-int8/index.js +100 -0
- package/.output/server/node_modules/pg-int8/package.json +24 -0
- package/.output/server/node_modules/pg-pool/index.js +471 -0
- package/.output/server/node_modules/pg-pool/package.json +41 -0
- package/.output/server/node_modules/pg-protocol/dist/buffer-reader.js +55 -0
- package/.output/server/node_modules/pg-protocol/dist/buffer-writer.js +81 -0
- package/.output/server/node_modules/pg-protocol/dist/index.js +15 -0
- package/.output/server/node_modules/pg-protocol/dist/messages.js +160 -0
- package/.output/server/node_modules/pg-protocol/dist/parser.js +304 -0
- package/.output/server/node_modules/pg-protocol/dist/serializer.js +189 -0
- package/.output/server/node_modules/pg-protocol/package.json +35 -0
- package/.output/server/node_modules/pg-query-stream/dist/index.js +48 -0
- package/.output/server/node_modules/pg-query-stream/package.json +60 -0
- package/.output/server/node_modules/pg-types/index.js +47 -0
- package/.output/server/node_modules/pg-types/lib/arrayParser.js +11 -0
- package/.output/server/node_modules/pg-types/lib/binaryParsers.js +257 -0
- package/.output/server/node_modules/pg-types/lib/builtins.js +73 -0
- package/.output/server/node_modules/pg-types/lib/textParsers.js +215 -0
- package/.output/server/node_modules/pg-types/package.json +42 -0
- package/.output/server/node_modules/pgpass/lib/helper.js +233 -0
- package/.output/server/node_modules/pgpass/lib/index.js +23 -0
- package/.output/server/node_modules/pgpass/package.json +41 -0
- package/.output/server/node_modules/postgres-array/index.js +97 -0
- package/.output/server/node_modules/postgres-array/package.json +35 -0
- package/.output/server/node_modules/postgres-bytea/index.js +31 -0
- package/.output/server/node_modules/postgres-bytea/package.json +34 -0
- package/.output/server/node_modules/postgres-date/index.js +116 -0
- package/.output/server/node_modules/postgres-date/package.json +33 -0
- package/.output/server/node_modules/postgres-interval/index.js +125 -0
- package/.output/server/node_modules/postgres-interval/package.json +36 -0
- package/.output/server/node_modules/redis-errors/index.js +7 -0
- package/.output/server/node_modules/redis-errors/lib/modern.js +59 -0
- package/.output/server/node_modules/redis-errors/lib/old.js +119 -0
- package/.output/server/node_modules/redis-errors/package.json +41 -0
- package/.output/server/node_modules/redis-parser/index.js +3 -0
- package/.output/server/node_modules/redis-parser/lib/parser.js +552 -0
- package/.output/server/node_modules/redis-parser/package.json +53 -0
- package/.output/server/node_modules/reflect-metadata/Reflect.js +1415 -0
- package/.output/server/node_modules/reflect-metadata/package.json +68 -0
- package/.output/server/node_modules/safe-buffer/index.js +65 -0
- package/.output/server/node_modules/safe-buffer/package.json +51 -0
- package/.output/server/node_modules/sha.js/hash.js +81 -0
- package/.output/server/node_modules/sha.js/index.js +15 -0
- package/.output/server/node_modules/sha.js/package.json +30 -0
- package/.output/server/node_modules/sha.js/sha.js +94 -0
- package/.output/server/node_modules/sha.js/sha1.js +99 -0
- package/.output/server/node_modules/sha.js/sha224.js +53 -0
- package/.output/server/node_modules/sha.js/sha256.js +135 -0
- package/.output/server/node_modules/sha.js/sha384.js +57 -0
- package/.output/server/node_modules/sha.js/sha512.js +260 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/split2/index.js +141 -0
- package/.output/server/node_modules/split2/package.json +39 -0
- package/.output/server/node_modules/sql-highlight/lib/escapeHtml.js +59 -0
- package/.output/server/node_modules/sql-highlight/lib/index.js +85 -0
- package/.output/server/node_modules/sql-highlight/lib/keywords.js +145 -0
- package/.output/server/node_modules/sql-highlight/package.json +49 -0
- package/.output/server/node_modules/sqlite3/build/Release/node_sqlite3.node +0 -0
- package/.output/server/node_modules/sqlite3/build/Release/node_sqlite3.node.bak +0 -0
- package/.output/server/node_modules/sqlite3/lib/sqlite3-binding.js +1 -0
- package/.output/server/node_modules/sqlite3/lib/sqlite3.js +207 -0
- package/.output/server/node_modules/sqlite3/lib/trace.js +38 -0
- package/.output/server/node_modules/sqlite3/package.json +89 -0
- package/.output/server/node_modules/standard-as-callback/built/index.js +41 -0
- package/.output/server/node_modules/standard-as-callback/built/utils.js +23 -0
- package/.output/server/node_modules/standard-as-callback/package.json +40 -0
- package/.output/server/node_modules/supports-color/index.js +152 -0
- package/.output/server/node_modules/supports-color/package.json +58 -0
- package/.output/server/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/typeorm/cache/DbQueryResultCache.js +264 -0
- package/.output/server/node_modules/typeorm/cache/QueryResultCacheFactory.js +42 -0
- package/.output/server/node_modules/typeorm/cache/RedisQueryResultCache.js +197 -0
- package/.output/server/node_modules/typeorm/common/DeepPartial.js +4 -0
- package/.output/server/node_modules/typeorm/common/EntityTarget.js +4 -0
- package/.output/server/node_modules/typeorm/common/MixedList.js +4 -0
- package/.output/server/node_modules/typeorm/common/ObjectLiteral.js +4 -0
- package/.output/server/node_modules/typeorm/common/ObjectType.js +4 -0
- package/.output/server/node_modules/typeorm/common/RelationType.js +4 -0
- package/.output/server/node_modules/typeorm/connection/Connection.js +16 -0
- package/.output/server/node_modules/typeorm/connection/ConnectionManager.js +66 -0
- package/.output/server/node_modules/typeorm/connection/ConnectionMetadataBuilder.js +74 -0
- package/.output/server/node_modules/typeorm/connection/ConnectionOptionsReader.js +198 -0
- package/.output/server/node_modules/typeorm/connection/options-reader/ConnectionOptionsEnvReader.js +111 -0
- package/.output/server/node_modules/typeorm/container.js +60 -0
- package/.output/server/node_modules/typeorm/data-source/DataSource.js +517 -0
- package/.output/server/node_modules/typeorm/decorator/Check.js +27 -0
- package/.output/server/node_modules/typeorm/decorator/EntityRepository.js +21 -0
- package/.output/server/node_modules/typeorm/decorator/Exclusion.js +27 -0
- package/.output/server/node_modules/typeorm/decorator/ForeignKey.js +44 -0
- package/.output/server/node_modules/typeorm/decorator/Generated.js +24 -0
- package/.output/server/node_modules/typeorm/decorator/Index.js +56 -0
- package/.output/server/node_modules/typeorm/decorator/Unique.js +50 -0
- package/.output/server/node_modules/typeorm/decorator/columns/Column.js +78 -0
- package/.output/server/node_modules/typeorm/decorator/columns/CreateDateColumn.js +21 -0
- package/.output/server/node_modules/typeorm/decorator/columns/DeleteDateColumn.js +20 -0
- package/.output/server/node_modules/typeorm/decorator/columns/ObjectIdColumn.js +27 -0
- package/.output/server/node_modules/typeorm/decorator/columns/PrimaryColumn.js +63 -0
- package/.output/server/node_modules/typeorm/decorator/columns/PrimaryGeneratedColumn.js +59 -0
- package/.output/server/node_modules/typeorm/decorator/columns/UpdateDateColumn.js +20 -0
- package/.output/server/node_modules/typeorm/decorator/columns/VersionColumn.js +21 -0
- package/.output/server/node_modules/typeorm/decorator/columns/ViewColumn.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/columns/VirtualColumn.js +49 -0
- package/.output/server/node_modules/typeorm/decorator/entity/ChildEntity.js +25 -0
- package/.output/server/node_modules/typeorm/decorator/entity/Entity.js +31 -0
- package/.output/server/node_modules/typeorm/decorator/entity/TableInheritance.js +22 -0
- package/.output/server/node_modules/typeorm/decorator/entity-view/ViewEntity.js +32 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterInsert.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterLoad.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterRecover.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterRemove.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterSoftRemove.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/AfterUpdate.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/BeforeInsert.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/BeforeRecover.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/BeforeRemove.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/BeforeSoftRemove.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/BeforeUpdate.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/listeners/EventSubscriber.js +17 -0
- package/.output/server/node_modules/typeorm/decorator/options/ColumnOptions.js +4 -0
- package/.output/server/node_modules/typeorm/decorator/options/EntityOptions.js +4 -0
- package/.output/server/node_modules/typeorm/decorator/options/IndexOptions.js +4 -0
- package/.output/server/node_modules/typeorm/decorator/options/JoinColumnOptions.js +4 -0
- package/.output/server/node_modules/typeorm/decorator/options/JoinTableOptions.js +4 -0
- package/.output/server/node_modules/typeorm/decorator/options/RelationOptions.js +4 -0
- package/.output/server/node_modules/typeorm/decorator/options/ValueTransformer.js +4 -0
- package/.output/server/node_modules/typeorm/decorator/relations/JoinColumn.js +27 -0
- package/.output/server/node_modules/typeorm/decorator/relations/JoinTable.js +34 -0
- package/.output/server/node_modules/typeorm/decorator/relations/ManyToMany.js +46 -0
- package/.output/server/node_modules/typeorm/decorator/relations/ManyToOne.js +46 -0
- package/.output/server/node_modules/typeorm/decorator/relations/OneToMany.js +37 -0
- package/.output/server/node_modules/typeorm/decorator/relations/OneToOne.js +45 -0
- package/.output/server/node_modules/typeorm/decorator/relations/RelationCount.js +23 -0
- package/.output/server/node_modules/typeorm/decorator/relations/RelationId.js +22 -0
- package/.output/server/node_modules/typeorm/decorator/tree/Tree.js +21 -0
- package/.output/server/node_modules/typeorm/decorator/tree/TreeChildren.js +34 -0
- package/.output/server/node_modules/typeorm/decorator/tree/TreeLevelColumn.js +19 -0
- package/.output/server/node_modules/typeorm/decorator/tree/TreeParent.js +33 -0
- package/.output/server/node_modules/typeorm/driver/DriverFactory.js +98 -0
- package/.output/server/node_modules/typeorm/driver/DriverUtils.js +228 -0
- package/.output/server/node_modules/typeorm/driver/Query.js +16 -0
- package/.output/server/node_modules/typeorm/driver/SqlInMemory.js +15 -0
- package/.output/server/node_modules/typeorm/driver/aurora-mysql/AuroraMysqlDriver.js +847 -0
- package/.output/server/node_modules/typeorm/driver/aurora-mysql/AuroraMysqlQueryRunner.js +1709 -0
- package/.output/server/node_modules/typeorm/driver/aurora-postgres/AuroraPostgresDriver.js +103 -0
- package/.output/server/node_modules/typeorm/driver/aurora-postgres/AuroraPostgresQueryRunner.js +146 -0
- package/.output/server/node_modules/typeorm/driver/better-sqlite3/BetterSqlite3Driver.js +153 -0
- package/.output/server/node_modules/typeorm/driver/better-sqlite3/BetterSqlite3QueryRunner.js +126 -0
- package/.output/server/node_modules/typeorm/driver/capacitor/CapacitorDriver.js +78 -0
- package/.output/server/node_modules/typeorm/driver/capacitor/CapacitorQueryRunner.js +98 -0
- package/.output/server/node_modules/typeorm/driver/cockroachdb/CockroachDriver.js +885 -0
- package/.output/server/node_modules/typeorm/driver/cockroachdb/CockroachQueryRunner.js +2453 -0
- package/.output/server/node_modules/typeorm/driver/cordova/CordovaDriver.js +76 -0
- package/.output/server/node_modules/typeorm/driver/cordova/CordovaQueryRunner.js +170 -0
- package/.output/server/node_modules/typeorm/driver/expo/ExpoDriver.js +29 -0
- package/.output/server/node_modules/typeorm/driver/expo/ExpoDriverFactory.js +22 -0
- package/.output/server/node_modules/typeorm/driver/expo/ExpoQueryRunner.js +65 -0
- package/.output/server/node_modules/typeorm/driver/expo/legacy/ExpoLegacyDriver.js +75 -0
- package/.output/server/node_modules/typeorm/driver/expo/legacy/ExpoLegacyQueryRunner.js +169 -0
- package/.output/server/node_modules/typeorm/driver/mongodb/MongoDriver.js +404 -0
- package/.output/server/node_modules/typeorm/driver/mongodb/MongoQueryRunner.js +701 -0
- package/.output/server/node_modules/typeorm/driver/mongodb/bson.typings.js +5 -0
- package/.output/server/node_modules/typeorm/driver/mongodb/typings.js +23 -0
- package/.output/server/node_modules/typeorm/driver/mysql/MysqlDriver.js +1105 -0
- package/.output/server/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js +2139 -0
- package/.output/server/node_modules/typeorm/driver/nativescript/NativescriptDriver.js +94 -0
- package/.output/server/node_modules/typeorm/driver/nativescript/NativescriptQueryRunner.js +92 -0
- package/.output/server/node_modules/typeorm/driver/oracle/OracleDriver.js +869 -0
- package/.output/server/node_modules/typeorm/driver/oracle/OracleQueryRunner.js +1884 -0
- package/.output/server/node_modules/typeorm/driver/postgres/PostgresDriver.js +1259 -0
- package/.output/server/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js +2729 -0
- package/.output/server/node_modules/typeorm/driver/react-native/ReactNativeDriver.js +728 -0
- package/.output/server/node_modules/typeorm/driver/react-native/ReactNativeQueryRunner.js +107 -0
- package/.output/server/node_modules/typeorm/driver/sap/SapDriver.js +681 -0
- package/.output/server/node_modules/typeorm/driver/sap/SapQueryRunner.js +2054 -0
- package/.output/server/node_modules/typeorm/driver/spanner/SpannerDriver.js +613 -0
- package/.output/server/node_modules/typeorm/driver/spanner/SpannerQueryRunner.js +1464 -0
- package/.output/server/node_modules/typeorm/driver/sqlite/SqliteDriver.js +174 -0
- package/.output/server/node_modules/typeorm/driver/sqlite/SqliteQueryRunner.js +124 -0
- package/.output/server/node_modules/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.js +695 -0
- package/.output/server/node_modules/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.js +1511 -0
- package/.output/server/node_modules/typeorm/driver/sqljs/SqljsDriver.js +250 -0
- package/.output/server/node_modules/typeorm/driver/sqljs/SqljsQueryRunner.js +123 -0
- package/.output/server/node_modules/typeorm/driver/sqlserver/MssqlParameter.js +23 -0
- package/.output/server/node_modules/typeorm/driver/sqlserver/SqlServerDriver.js +922 -0
- package/.output/server/node_modules/typeorm/driver/sqlserver/SqlServerQueryRunner.js +2484 -0
- package/.output/server/node_modules/typeorm/driver/types/DatabaseType.js +4 -0
- package/.output/server/node_modules/typeorm/driver/types/GeoJsonTypes.js +4 -0
- package/.output/server/node_modules/typeorm/driver/types/MetadataTableType.js +11 -0
- package/.output/server/node_modules/typeorm/driver/types/ReplicationMode.js +4 -0
- package/.output/server/node_modules/typeorm/entity-manager/EntityManager.js +853 -0
- package/.output/server/node_modules/typeorm/entity-manager/EntityManagerFactory.js +24 -0
- package/.output/server/node_modules/typeorm/entity-manager/MongoEntityManager.js +668 -0
- package/.output/server/node_modules/typeorm/entity-manager/SqljsEntityManager.js +44 -0
- package/.output/server/node_modules/typeorm/entity-schema/EntitySchema.js +15 -0
- package/.output/server/node_modules/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.js +8 -0
- package/.output/server/node_modules/typeorm/entity-schema/EntitySchemaEmbeddedError.js +18 -0
- package/.output/server/node_modules/typeorm/entity-schema/EntitySchemaOptions.js +11 -0
- package/.output/server/node_modules/typeorm/entity-schema/EntitySchemaTransformer.js +333 -0
- package/.output/server/node_modules/typeorm/error/AlreadyHasActiveConnectionError.js +16 -0
- package/.output/server/node_modules/typeorm/error/CannotAttachTreeChildrenEntityError.js +16 -0
- package/.output/server/node_modules/typeorm/error/CannotConnectAlreadyConnectedError.js +15 -0
- package/.output/server/node_modules/typeorm/error/CannotCreateEntityIdMapError.js +21 -0
- package/.output/server/node_modules/typeorm/error/CannotDetermineEntityError.js +16 -0
- package/.output/server/node_modules/typeorm/error/CannotExecuteNotConnectedError.js +15 -0
- package/.output/server/node_modules/typeorm/error/CannotGetEntityManagerNotConnectedError.js +15 -0
- package/.output/server/node_modules/typeorm/error/CannotReflectMethodParameterTypeError.js +18 -0
- package/.output/server/node_modules/typeorm/error/CircularRelationsError.js +16 -0
- package/.output/server/node_modules/typeorm/error/ColumnTypeUndefinedError.js +19 -0
- package/.output/server/node_modules/typeorm/error/ConnectionIsNotSetError.js +15 -0
- package/.output/server/node_modules/typeorm/error/ConnectionNotFoundError.js +15 -0
- package/.output/server/node_modules/typeorm/error/CustomRepositoryCannotInheritRepositoryError.js +18 -0
- package/.output/server/node_modules/typeorm/error/CustomRepositoryDoesNotHaveEntityError.js +18 -0
- package/.output/server/node_modules/typeorm/error/CustomRepositoryNotFoundError.js +18 -0
- package/.output/server/node_modules/typeorm/error/DataTypeNotSupportedError.js +14 -0
- package/.output/server/node_modules/typeorm/error/DriverOptionNotSetError.js +16 -0
- package/.output/server/node_modules/typeorm/error/DriverPackageNotInstalledError.js +16 -0
- package/.output/server/node_modules/typeorm/error/EntityMetadataNotFoundError.js +29 -0
- package/.output/server/node_modules/typeorm/error/EntityNotFoundError.js +42 -0
- package/.output/server/node_modules/typeorm/error/EntityPropertyNotFoundError.js +17 -0
- package/.output/server/node_modules/typeorm/error/FindRelationsNotFoundError.js +23 -0
- package/.output/server/node_modules/typeorm/error/ForbiddenTransactionModeOverrideError.js +16 -0
- package/.output/server/node_modules/typeorm/error/InitializedRelationError.js +20 -0
- package/.output/server/node_modules/typeorm/error/InsertValuesMissingError.js +16 -0
- package/.output/server/node_modules/typeorm/error/LimitOnUpdateNotSupportedError.js +15 -0
- package/.output/server/node_modules/typeorm/error/LockNotSupportedOnGivenDriverError.js +15 -0
- package/.output/server/node_modules/typeorm/error/MetadataAlreadyExistsError.js +18 -0
- package/.output/server/node_modules/typeorm/error/MetadataWithSuchNameAlreadyExistsError.js +16 -0
- package/.output/server/node_modules/typeorm/error/MissingDeleteDateColumnError.js +12 -0
- package/.output/server/node_modules/typeorm/error/MissingDriverError.js +16 -0
- package/.output/server/node_modules/typeorm/error/MissingJoinColumnError.js +23 -0
- package/.output/server/node_modules/typeorm/error/MissingJoinTableError.js +23 -0
- package/.output/server/node_modules/typeorm/error/MissingPrimaryColumnError.js +13 -0
- package/.output/server/node_modules/typeorm/error/MustBeEntityError.js +15 -0
- package/.output/server/node_modules/typeorm/error/NestedSetMultipleRootError.js +12 -0
- package/.output/server/node_modules/typeorm/error/NoConnectionForRepositoryError.js +16 -0
- package/.output/server/node_modules/typeorm/error/NoConnectionOptionError.js +16 -0
- package/.output/server/node_modules/typeorm/error/NoNeedToReleaseEntityManagerError.js +17 -0
- package/.output/server/node_modules/typeorm/error/NoVersionOrUpdateDateColumnError.js +15 -0
- package/.output/server/node_modules/typeorm/error/OffsetWithoutLimitNotSupportedError.js +17 -0
- package/.output/server/node_modules/typeorm/error/OptimisticLockCanNotBeUsedError.js +15 -0
- package/.output/server/node_modules/typeorm/error/OptimisticLockVersionMismatchError.js +15 -0
- package/.output/server/node_modules/typeorm/error/PersistedEntityNotFoundError.js +15 -0
- package/.output/server/node_modules/typeorm/error/PessimisticLockTransactionRequiredError.js +15 -0
- package/.output/server/node_modules/typeorm/error/PrimaryColumnCannotBeNullableError.js +13 -0
- package/.output/server/node_modules/typeorm/error/QueryFailedError.js +30 -0
- package/.output/server/node_modules/typeorm/error/QueryRunnerAlreadyReleasedError.js +12 -0
- package/.output/server/node_modules/typeorm/error/QueryRunnerProviderAlreadyReleasedError.js +16 -0
- package/.output/server/node_modules/typeorm/error/RepositoryNotTreeError.js +32 -0
- package/.output/server/node_modules/typeorm/error/ReturningStatementNotSupportedError.js +16 -0
- package/.output/server/node_modules/typeorm/error/SubjectRemovedAndUpdatedError.js +16 -0
- package/.output/server/node_modules/typeorm/error/SubjectWithoutIdentifierError.js +17 -0
- package/.output/server/node_modules/typeorm/error/TransactionAlreadyStartedError.js +15 -0
- package/.output/server/node_modules/typeorm/error/TransactionNotStartedError.js +15 -0
- package/.output/server/node_modules/typeorm/error/TreeRepositoryNotSupportedError.js +12 -0
- package/.output/server/node_modules/typeorm/error/TypeORMError.js +23 -0
- package/.output/server/node_modules/typeorm/error/UpdateValuesMissingError.js +12 -0
- package/.output/server/node_modules/typeorm/error/UsingJoinColumnIsNotAllowedError.js +13 -0
- package/.output/server/node_modules/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.js +14 -0
- package/.output/server/node_modules/typeorm/error/UsingJoinTableIsNotAllowedError.js +14 -0
- package/.output/server/node_modules/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.js +14 -0
- package/.output/server/node_modules/typeorm/error/index.js +66 -0
- package/.output/server/node_modules/typeorm/find-options/EqualOperator.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/FindManyOptions.js +4 -0
- package/.output/server/node_modules/typeorm/find-options/FindOneOptions.js +4 -0
- package/.output/server/node_modules/typeorm/find-options/FindOperator.js +96 -0
- package/.output/server/node_modules/typeorm/find-options/FindOperatorType.js +4 -0
- package/.output/server/node_modules/typeorm/find-options/FindOptionsOrder.js +4 -0
- package/.output/server/node_modules/typeorm/find-options/FindOptionsRelations.js +4 -0
- package/.output/server/node_modules/typeorm/find-options/FindOptionsSelect.js +4 -0
- package/.output/server/node_modules/typeorm/find-options/FindOptionsUtils.js +350 -0
- package/.output/server/node_modules/typeorm/find-options/FindOptionsWhere.js +4 -0
- package/.output/server/node_modules/typeorm/find-options/FindTreeOptions.js +4 -0
- package/.output/server/node_modules/typeorm/find-options/JoinOptions.js +4 -0
- package/.output/server/node_modules/typeorm/find-options/OrderByCondition.js +4 -0
- package/.output/server/node_modules/typeorm/find-options/operator/And.js +9 -0
- package/.output/server/node_modules/typeorm/find-options/operator/Any.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/ArrayContainedBy.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/ArrayContains.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/ArrayOverlap.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/Between.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/Equal.js +17 -0
- package/.output/server/node_modules/typeorm/find-options/operator/ILike.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/In.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/IsNull.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/JsonContains.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/LessThan.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/LessThanOrEqual.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/Like.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/MoreThan.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/MoreThanOrEqual.js +13 -0
- package/.output/server/node_modules/typeorm/find-options/operator/Not.js +14 -0
- package/.output/server/node_modules/typeorm/find-options/operator/Or.js +9 -0
- package/.output/server/node_modules/typeorm/find-options/operator/Raw.js +12 -0
- package/.output/server/node_modules/typeorm/globals.js +182 -0
- package/.output/server/node_modules/typeorm/index.js +196 -0
- package/.output/server/node_modules/typeorm/index.mjs +422 -0
- package/.output/server/node_modules/typeorm/logger/AbstractLogger.js +238 -0
- package/.output/server/node_modules/typeorm/logger/AdvancedConsoleLogger.js +56 -0
- package/.output/server/node_modules/typeorm/logger/DebugLogger.js +78 -0
- package/.output/server/node_modules/typeorm/logger/FileLogger.js +88 -0
- package/.output/server/node_modules/typeorm/logger/FormattedConsoleLogger.js +59 -0
- package/.output/server/node_modules/typeorm/logger/Logger.js +4 -0
- package/.output/server/node_modules/typeorm/logger/LoggerFactory.js +39 -0
- package/.output/server/node_modules/typeorm/logger/LoggerOptions.js +4 -0
- package/.output/server/node_modules/typeorm/logger/SimpleConsoleLogger.js +57 -0
- package/.output/server/node_modules/typeorm/metadata/CheckMetadata.js +35 -0
- package/.output/server/node_modules/typeorm/metadata/ColumnMetadata.js +618 -0
- package/.output/server/node_modules/typeorm/metadata/EmbeddedMetadata.js +224 -0
- package/.output/server/node_modules/typeorm/metadata/EntityListenerMetadata.js +77 -0
- package/.output/server/node_modules/typeorm/metadata/EntityMetadata.js +692 -0
- package/.output/server/node_modules/typeorm/metadata/ExclusionMetadata.js +35 -0
- package/.output/server/node_modules/typeorm/metadata/ForeignKeyMetadata.js +57 -0
- package/.output/server/node_modules/typeorm/metadata/IndexMetadata.js +144 -0
- package/.output/server/node_modules/typeorm/metadata/RelationCountMetadata.js +39 -0
- package/.output/server/node_modules/typeorm/metadata/RelationIdMetadata.js +62 -0
- package/.output/server/node_modules/typeorm/metadata/RelationMetadata.js +440 -0
- package/.output/server/node_modules/typeorm/metadata/UniqueMetadata.js +101 -0
- package/.output/server/node_modules/typeorm/metadata/types/EventListenerTypes.js +22 -0
- package/.output/server/node_modules/typeorm/metadata-args/MetadataArgsStorage.js +236 -0
- package/.output/server/node_modules/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.js +145 -0
- package/.output/server/node_modules/typeorm/metadata-builder/EntityMetadataBuilder.js +838 -0
- package/.output/server/node_modules/typeorm/metadata-builder/EntityMetadataValidator.js +258 -0
- package/.output/server/node_modules/typeorm/metadata-builder/JunctionEntityMetadataBuilder.js +287 -0
- package/.output/server/node_modules/typeorm/metadata-builder/MetadataUtils.js +44 -0
- package/.output/server/node_modules/typeorm/metadata-builder/RelationJoinColumnBuilder.js +185 -0
- package/.output/server/node_modules/typeorm/migration/Migration.js +21 -0
- package/.output/server/node_modules/typeorm/migration/MigrationExecutor.js +534 -0
- package/.output/server/node_modules/typeorm/naming-strategy/DefaultNamingStrategy.js +145 -0
- package/.output/server/node_modules/typeorm/naming-strategy/LegacyOracleNamingStrategy.js +50 -0
- package/.output/server/node_modules/typeorm/package.json +268 -0
- package/.output/server/node_modules/typeorm/persistence/EntityPersistExecutor.js +170 -0
- package/.output/server/node_modules/typeorm/persistence/Subject.js +239 -0
- package/.output/server/node_modules/typeorm/persistence/SubjectChangedColumnsComputer.js +216 -0
- package/.output/server/node_modules/typeorm/persistence/SubjectDatabaseEntityLoader.js +135 -0
- package/.output/server/node_modules/typeorm/persistence/SubjectExecutor.js +760 -0
- package/.output/server/node_modules/typeorm/persistence/SubjectTopologicalSorter.js +174 -0
- package/.output/server/node_modules/typeorm/persistence/subject-builder/CascadesSubjectBuilder.js +107 -0
- package/.output/server/node_modules/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.js +218 -0
- package/.output/server/node_modules/typeorm/persistence/subject-builder/OneToManySubjectBuilder.js +181 -0
- package/.output/server/node_modules/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.js +155 -0
- package/.output/server/node_modules/typeorm/persistence/tree/ClosureSubjectExecutor.js +241 -0
- package/.output/server/node_modules/typeorm/persistence/tree/MaterializedPathSubjectExecutor.js +125 -0
- package/.output/server/node_modules/typeorm/persistence/tree/NestedSetSubjectExecutor.js +271 -0
- package/.output/server/node_modules/typeorm/platform/PlatformTools.js +243 -0
- package/.output/server/node_modules/typeorm/query-builder/Alias.js +29 -0
- package/.output/server/node_modules/typeorm/query-builder/Brackets.js +19 -0
- package/.output/server/node_modules/typeorm/query-builder/DeleteQueryBuilder.js +200 -0
- package/.output/server/node_modules/typeorm/query-builder/InsertQueryBuilder.js +745 -0
- package/.output/server/node_modules/typeorm/query-builder/JoinAttribute.js +175 -0
- package/.output/server/node_modules/typeorm/query-builder/NotBrackets.js +17 -0
- package/.output/server/node_modules/typeorm/query-builder/QueryBuilder.js +1139 -0
- package/.output/server/node_modules/typeorm/query-builder/QueryBuilderUtils.js +32 -0
- package/.output/server/node_modules/typeorm/query-builder/QueryExpressionMap.js +328 -0
- package/.output/server/node_modules/typeorm/query-builder/RelationIdLoader.js +503 -0
- package/.output/server/node_modules/typeorm/query-builder/RelationLoader.js +283 -0
- package/.output/server/node_modules/typeorm/query-builder/RelationQueryBuilder.js +155 -0
- package/.output/server/node_modules/typeorm/query-builder/RelationRemover.js +143 -0
- package/.output/server/node_modules/typeorm/query-builder/RelationUpdater.js +152 -0
- package/.output/server/node_modules/typeorm/query-builder/ReturningResultsEntityUpdator.js +176 -0
- package/.output/server/node_modules/typeorm/query-builder/SelectQueryBuilder.js +2656 -0
- package/.output/server/node_modules/typeorm/query-builder/SoftDeleteQueryBuilder.js +368 -0
- package/.output/server/node_modules/typeorm/query-builder/UpdateQueryBuilder.js +498 -0
- package/.output/server/node_modules/typeorm/query-builder/index.js +20 -0
- package/.output/server/node_modules/typeorm/query-builder/relation-count/RelationCountAttribute.js +80 -0
- package/.output/server/node_modules/typeorm/query-builder/relation-count/RelationCountLoader.js +168 -0
- package/.output/server/node_modules/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.js +55 -0
- package/.output/server/node_modules/typeorm/query-builder/relation-id/RelationIdAttribute.js +88 -0
- package/.output/server/node_modules/typeorm/query-builder/relation-id/RelationIdLoader.js +275 -0
- package/.output/server/node_modules/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.js +55 -0
- package/.output/server/node_modules/typeorm/query-builder/result/DeleteResult.js +17 -0
- package/.output/server/node_modules/typeorm/query-builder/result/InsertResult.js +28 -0
- package/.output/server/node_modules/typeorm/query-builder/result/UpdateResult.js +29 -0
- package/.output/server/node_modules/typeorm/query-builder/transformer/DocumentToEntityTransformer.js +196 -0
- package/.output/server/node_modules/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.js +112 -0
- package/.output/server/node_modules/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.js +92 -0
- package/.output/server/node_modules/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.js +447 -0
- package/.output/server/node_modules/typeorm/query-runner/BaseQueryRunner.js +454 -0
- package/.output/server/node_modules/typeorm/query-runner/QueryLock.js +28 -0
- package/.output/server/node_modules/typeorm/query-runner/QueryResult.js +17 -0
- package/.output/server/node_modules/typeorm/repository/AbstractRepository.js +92 -0
- package/.output/server/node_modules/typeorm/repository/BaseEntity.js +328 -0
- package/.output/server/node_modules/typeorm/repository/MongoRepository.js +305 -0
- package/.output/server/node_modules/typeorm/repository/RemoveOptions.js +4 -0
- package/.output/server/node_modules/typeorm/repository/Repository.js +379 -0
- package/.output/server/node_modules/typeorm/repository/SaveOptions.js +4 -0
- package/.output/server/node_modules/typeorm/repository/TreeRepository.js +255 -0
- package/.output/server/node_modules/typeorm/schema-builder/MongoSchemaBuilder.js +66 -0
- package/.output/server/node_modules/typeorm/schema-builder/RdbmsSchemaBuilder.js +929 -0
- package/.output/server/node_modules/typeorm/schema-builder/options/TableCheckOptions.js +4 -0
- package/.output/server/node_modules/typeorm/schema-builder/options/TableColumnOptions.js +4 -0
- package/.output/server/node_modules/typeorm/schema-builder/options/TableExclusionOptions.js +4 -0
- package/.output/server/node_modules/typeorm/schema-builder/options/TableForeignKeyOptions.js +4 -0
- package/.output/server/node_modules/typeorm/schema-builder/options/TableIndexOptions.js +4 -0
- package/.output/server/node_modules/typeorm/schema-builder/options/TableOptions.js +4 -0
- package/.output/server/node_modules/typeorm/schema-builder/options/TableUniqueOptions.js +4 -0
- package/.output/server/node_modules/typeorm/schema-builder/options/ViewOptions.js +4 -0
- package/.output/server/node_modules/typeorm/schema-builder/table/Table.js +296 -0
- package/.output/server/node_modules/typeorm/schema-builder/table/TableCheck.js +49 -0
- package/.output/server/node_modules/typeorm/schema-builder/table/TableColumn.js +117 -0
- package/.output/server/node_modules/typeorm/schema-builder/table/TableExclusion.js +43 -0
- package/.output/server/node_modules/typeorm/schema-builder/table/TableForeignKey.js +72 -0
- package/.output/server/node_modules/typeorm/schema-builder/table/TableIndex.js +68 -0
- package/.output/server/node_modules/typeorm/schema-builder/table/TableUnique.js +50 -0
- package/.output/server/node_modules/typeorm/schema-builder/util/TableUtils.js +41 -0
- package/.output/server/node_modules/typeorm/schema-builder/util/ViewUtils.js +27 -0
- package/.output/server/node_modules/typeorm/schema-builder/view/View.js +71 -0
- package/.output/server/node_modules/typeorm/subscriber/Broadcaster.js +660 -0
- package/.output/server/node_modules/typeorm/subscriber/BroadcasterResult.js +30 -0
- package/.output/server/node_modules/typeorm/subscriber/event/QueryEvent.js +4 -0
- package/.output/server/node_modules/typeorm/util/ApplyValueTransformers.js +25 -0
- package/.output/server/node_modules/typeorm/util/DateUtils.js +229 -0
- package/.output/server/node_modules/typeorm/util/DepGraph.js +230 -0
- package/.output/server/node_modules/typeorm/util/DirectoryExportedClassesLoader.js +65 -0
- package/.output/server/node_modules/typeorm/util/ImportUtils.js +66 -0
- package/.output/server/node_modules/typeorm/util/InstanceChecker.js +104 -0
- package/.output/server/node_modules/typeorm/util/ObjectUtils.js +49 -0
- package/.output/server/node_modules/typeorm/util/OrmUtils.js +443 -0
- package/.output/server/node_modules/typeorm/util/PathUtils.js +33 -0
- package/.output/server/node_modules/typeorm/util/RandomGenerator.js +154 -0
- package/.output/server/node_modules/typeorm/util/SqlTagUtils.js +43 -0
- package/.output/server/node_modules/typeorm/util/StringUtils.js +113 -0
- package/.output/server/node_modules/typeorm/util/TreeRepositoryUtils.js +67 -0
- package/.output/server/node_modules/typeorm/util/VersionUtils.js +27 -0
- package/.output/server/node_modules/typeorm/util/escapeRegExp.js +10 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +630 -0
- package/.output/server/node_modules/ufo/package.json +47 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +94 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +220 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.C13swrCa.mjs +48 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Cp0iF6eN.mjs +177 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DGkFBTYv.mjs +172 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +70 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DeCxexjU.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/.output/server/node_modules/unhead/package.json +101 -0
- package/.output/server/node_modules/uuid/dist/cjs/index.js +31 -0
- package/.output/server/node_modules/uuid/dist/cjs/max.js +3 -0
- package/.output/server/node_modules/uuid/dist/cjs/md5.js +13 -0
- package/.output/server/node_modules/uuid/dist/cjs/native.js +4 -0
- package/.output/server/node_modules/uuid/dist/cjs/nil.js +3 -0
- package/.output/server/node_modules/uuid/dist/cjs/package.json +1 -0
- package/.output/server/node_modules/uuid/dist/cjs/parse.js +11 -0
- package/.output/server/node_modules/uuid/dist/cjs/regex.js +3 -0
- package/.output/server/node_modules/uuid/dist/cjs/rng.js +13 -0
- package/.output/server/node_modules/uuid/dist/cjs/sha1.js +13 -0
- package/.output/server/node_modules/uuid/dist/cjs/stringify.js +39 -0
- package/.output/server/node_modules/uuid/dist/cjs/v1.js +87 -0
- package/.output/server/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
- package/.output/server/node_modules/uuid/dist/cjs/v3.js +14 -0
- package/.output/server/node_modules/uuid/dist/cjs/v35.js +41 -0
- package/.output/server/node_modules/uuid/dist/cjs/v4.js +29 -0
- package/.output/server/node_modules/uuid/dist/cjs/v5.js +14 -0
- package/.output/server/node_modules/uuid/dist/cjs/v6.js +19 -0
- package/.output/server/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
- package/.output/server/node_modules/uuid/dist/cjs/v7.js +69 -0
- package/.output/server/node_modules/uuid/dist/cjs/validate.js +7 -0
- package/.output/server/node_modules/uuid/dist/cjs/version.js +10 -0
- package/.output/server/node_modules/uuid/package.json +132 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
- package/.output/server/node_modules/xtend/mutable.js +17 -0
- package/.output/server/node_modules/xtend/package.json +55 -0
- package/.output/server/node_modules/zod/index.js +4 -0
- package/.output/server/node_modules/zod/package.json +135 -0
- package/.output/server/node_modules/zod/v3/ZodError.js +133 -0
- package/.output/server/node_modules/zod/v3/errors.js +9 -0
- package/.output/server/node_modules/zod/v3/external.js +6 -0
- package/.output/server/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/.output/server/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/.output/server/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/.output/server/node_modules/zod/v3/helpers/util.js +133 -0
- package/.output/server/node_modules/zod/v3/index.js +4 -0
- package/.output/server/node_modules/zod/v3/locales/en.js +109 -0
- package/.output/server/node_modules/zod/v3/package.json +6 -0
- package/.output/server/node_modules/zod/v3/types.js +3695 -0
- package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
- package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
- package/.output/server/node_modules/zod/v4/classic/compat.js +31 -0
- package/.output/server/node_modules/zod/v4/classic/errors.js +48 -0
- package/.output/server/node_modules/zod/v4/classic/external.js +20 -0
- package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/.output/server/node_modules/zod/v4/classic/index.js +4 -0
- package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
- package/.output/server/node_modules/zod/v4/classic/package.json +6 -0
- package/.output/server/node_modules/zod/v4/classic/parse.js +15 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.js +1157 -0
- package/.output/server/node_modules/zod/v4/core/api.js +1082 -0
- package/.output/server/node_modules/zod/v4/core/checks.js +575 -0
- package/.output/server/node_modules/zod/v4/core/core.js +76 -0
- package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
- package/.output/server/node_modules/zod/v4/core/errors.js +182 -0
- package/.output/server/node_modules/zod/v4/core/index.js +16 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
- package/.output/server/node_modules/zod/v4/core/package.json +6 -0
- package/.output/server/node_modules/zod/v4/core/parse.js +93 -0
- package/.output/server/node_modules/zod/v4/core/regexes.js +133 -0
- package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
- package/.output/server/node_modules/zod/v4/core/schemas.js +2095 -0
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +437 -0
- package/.output/server/node_modules/zod/v4/core/util.js +651 -0
- package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
- package/.output/server/node_modules/zod/v4/index.js +3 -0
- package/.output/server/node_modules/zod/v4/locales/ar.js +106 -0
- package/.output/server/node_modules/zod/v4/locales/az.js +105 -0
- package/.output/server/node_modules/zod/v4/locales/be.js +156 -0
- package/.output/server/node_modules/zod/v4/locales/bg.js +120 -0
- package/.output/server/node_modules/zod/v4/locales/ca.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/cs.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/da.js +115 -0
- package/.output/server/node_modules/zod/v4/locales/de.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/en.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/eo.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/es.js +132 -0
- package/.output/server/node_modules/zod/v4/locales/fa.js +114 -0
- package/.output/server/node_modules/zod/v4/locales/fi.js +112 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/fr.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/he.js +214 -0
- package/.output/server/node_modules/zod/v4/locales/hu.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/hy.js +147 -0
- package/.output/server/node_modules/zod/v4/locales/id.js +106 -0
- package/.output/server/node_modules/zod/v4/locales/index.js +49 -0
- package/.output/server/node_modules/zod/v4/locales/is.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/it.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ja.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/ka.js +112 -0
- package/.output/server/node_modules/zod/v4/locales/kh.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/km.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/ko.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/lt.js +203 -0
- package/.output/server/node_modules/zod/v4/locales/mk.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/ms.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/nl.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/no.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ota.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/package.json +6 -0
- package/.output/server/node_modules/zod/v4/locales/pl.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/ps.js +114 -0
- package/.output/server/node_modules/zod/v4/locales/pt.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ru.js +156 -0
- package/.output/server/node_modules/zod/v4/locales/sl.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/sv.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/ta.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/th.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/tr.js +105 -0
- package/.output/server/node_modules/zod/v4/locales/ua.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/uk.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ur.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/uz.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/vi.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/yo.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/.output/server/node_modules/zod/v4/package.json +6 -0
- package/.output/server/package.json +95 -0
- package/README.md +46 -0
- package/bin/cli.mjs +113 -0
- package/bin/entry.cjs +84 -0
- package/package.json +48 -0
|
@@ -0,0 +1,1669 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/runtime-dom v3.5.13
|
|
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();
|
|
220
|
+
addTransitionClass(el, leaveActiveClass);
|
|
221
|
+
} else {
|
|
222
|
+
addTransitionClass(el, leaveActiveClass);
|
|
223
|
+
forceReflow();
|
|
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() {
|
|
367
|
+
return document.body.offsetHeight;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
function patchClass(el, value, isSVG) {
|
|
371
|
+
const transitionClasses = el[vtcKey];
|
|
372
|
+
if (transitionClasses) {
|
|
373
|
+
value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(" ");
|
|
374
|
+
}
|
|
375
|
+
if (value == null) {
|
|
376
|
+
el.removeAttribute("class");
|
|
377
|
+
} else if (isSVG) {
|
|
378
|
+
el.setAttribute("class", value);
|
|
379
|
+
} else {
|
|
380
|
+
el.className = value;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
const vShowOriginalDisplay = Symbol("_vod");
|
|
385
|
+
const vShowHidden = Symbol("_vsh");
|
|
386
|
+
const vShow = {
|
|
387
|
+
beforeMount(el, { value }, { transition }) {
|
|
388
|
+
el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
|
|
389
|
+
if (transition && value) {
|
|
390
|
+
transition.beforeEnter(el);
|
|
391
|
+
} else {
|
|
392
|
+
setDisplay(el, value);
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
mounted(el, { value }, { transition }) {
|
|
396
|
+
if (transition && value) {
|
|
397
|
+
transition.enter(el);
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
updated(el, { value, oldValue }, { transition }) {
|
|
401
|
+
if (!value === !oldValue) return;
|
|
402
|
+
if (transition) {
|
|
403
|
+
if (value) {
|
|
404
|
+
transition.beforeEnter(el);
|
|
405
|
+
setDisplay(el, true);
|
|
406
|
+
transition.enter(el);
|
|
407
|
+
} else {
|
|
408
|
+
transition.leave(el, () => {
|
|
409
|
+
setDisplay(el, false);
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
} else {
|
|
413
|
+
setDisplay(el, value);
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
beforeUnmount(el, { value }) {
|
|
417
|
+
setDisplay(el, value);
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
function setDisplay(el, value) {
|
|
421
|
+
el.style.display = value ? el[vShowOriginalDisplay] : "none";
|
|
422
|
+
el[vShowHidden] = !value;
|
|
423
|
+
}
|
|
424
|
+
function initVShowForSSR() {
|
|
425
|
+
vShow.getSSRProps = ({ value }) => {
|
|
426
|
+
if (!value) {
|
|
427
|
+
return { style: { display: "none" } };
|
|
428
|
+
}
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
const CSS_VAR_TEXT = Symbol("");
|
|
433
|
+
function useCssVars(getter) {
|
|
434
|
+
return;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
const displayRE = /(^|;)\s*display\s*:/;
|
|
438
|
+
function patchStyle(el, prev, next) {
|
|
439
|
+
const style = el.style;
|
|
440
|
+
const isCssString = shared.isString(next);
|
|
441
|
+
let hasControlledDisplay = false;
|
|
442
|
+
if (next && !isCssString) {
|
|
443
|
+
if (prev) {
|
|
444
|
+
if (!shared.isString(prev)) {
|
|
445
|
+
for (const key in prev) {
|
|
446
|
+
if (next[key] == null) {
|
|
447
|
+
setStyle(style, key, "");
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
} else {
|
|
451
|
+
for (const prevStyle of prev.split(";")) {
|
|
452
|
+
const key = prevStyle.slice(0, prevStyle.indexOf(":")).trim();
|
|
453
|
+
if (next[key] == null) {
|
|
454
|
+
setStyle(style, key, "");
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
for (const key in next) {
|
|
460
|
+
if (key === "display") {
|
|
461
|
+
hasControlledDisplay = true;
|
|
462
|
+
}
|
|
463
|
+
setStyle(style, key, next[key]);
|
|
464
|
+
}
|
|
465
|
+
} else {
|
|
466
|
+
if (isCssString) {
|
|
467
|
+
if (prev !== next) {
|
|
468
|
+
const cssVarText = style[CSS_VAR_TEXT];
|
|
469
|
+
if (cssVarText) {
|
|
470
|
+
next += ";" + cssVarText;
|
|
471
|
+
}
|
|
472
|
+
style.cssText = next;
|
|
473
|
+
hasControlledDisplay = displayRE.test(next);
|
|
474
|
+
}
|
|
475
|
+
} else if (prev) {
|
|
476
|
+
el.removeAttribute("style");
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
if (vShowOriginalDisplay in el) {
|
|
480
|
+
el[vShowOriginalDisplay] = hasControlledDisplay ? style.display : "";
|
|
481
|
+
if (el[vShowHidden]) {
|
|
482
|
+
style.display = "none";
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
const importantRE = /\s*!important$/;
|
|
487
|
+
function setStyle(style, name, val) {
|
|
488
|
+
if (shared.isArray(val)) {
|
|
489
|
+
val.forEach((v) => setStyle(style, name, v));
|
|
490
|
+
} else {
|
|
491
|
+
if (val == null) val = "";
|
|
492
|
+
if (name.startsWith("--")) {
|
|
493
|
+
style.setProperty(name, val);
|
|
494
|
+
} else {
|
|
495
|
+
const prefixed = autoPrefix(style, name);
|
|
496
|
+
if (importantRE.test(val)) {
|
|
497
|
+
style.setProperty(
|
|
498
|
+
shared.hyphenate(prefixed),
|
|
499
|
+
val.replace(importantRE, ""),
|
|
500
|
+
"important"
|
|
501
|
+
);
|
|
502
|
+
} else {
|
|
503
|
+
style[prefixed] = val;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
const prefixes = ["Webkit", "Moz", "ms"];
|
|
509
|
+
const prefixCache = {};
|
|
510
|
+
function autoPrefix(style, rawName) {
|
|
511
|
+
const cached = prefixCache[rawName];
|
|
512
|
+
if (cached) {
|
|
513
|
+
return cached;
|
|
514
|
+
}
|
|
515
|
+
let name = runtimeCore.camelize(rawName);
|
|
516
|
+
if (name !== "filter" && name in style) {
|
|
517
|
+
return prefixCache[rawName] = name;
|
|
518
|
+
}
|
|
519
|
+
name = shared.capitalize(name);
|
|
520
|
+
for (let i = 0; i < prefixes.length; i++) {
|
|
521
|
+
const prefixed = prefixes[i] + name;
|
|
522
|
+
if (prefixed in style) {
|
|
523
|
+
return prefixCache[rawName] = prefixed;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
return rawName;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
const xlinkNS = "http://www.w3.org/1999/xlink";
|
|
530
|
+
function patchAttr(el, key, value, isSVG, instance, isBoolean = shared.isSpecialBooleanAttr(key)) {
|
|
531
|
+
if (isSVG && key.startsWith("xlink:")) {
|
|
532
|
+
if (value == null) {
|
|
533
|
+
el.removeAttributeNS(xlinkNS, key.slice(6, key.length));
|
|
534
|
+
} else {
|
|
535
|
+
el.setAttributeNS(xlinkNS, key, value);
|
|
536
|
+
}
|
|
537
|
+
} else {
|
|
538
|
+
if (value == null || isBoolean && !shared.includeBooleanAttr(value)) {
|
|
539
|
+
el.removeAttribute(key);
|
|
540
|
+
} else {
|
|
541
|
+
el.setAttribute(
|
|
542
|
+
key,
|
|
543
|
+
isBoolean ? "" : shared.isSymbol(value) ? String(value) : value
|
|
544
|
+
);
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
function patchDOMProp(el, key, value, parentComponent, attrName) {
|
|
550
|
+
if (key === "innerHTML" || key === "textContent") {
|
|
551
|
+
if (value != null) {
|
|
552
|
+
el[key] = key === "innerHTML" ? unsafeToTrustedHTML(value) : value;
|
|
553
|
+
}
|
|
554
|
+
return;
|
|
555
|
+
}
|
|
556
|
+
const tag = el.tagName;
|
|
557
|
+
if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
|
|
558
|
+
!tag.includes("-")) {
|
|
559
|
+
const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
|
|
560
|
+
const newValue = value == null ? (
|
|
561
|
+
// #11647: value should be set as empty string for null and undefined,
|
|
562
|
+
// but <input type="checkbox"> should be set as 'on'.
|
|
563
|
+
el.type === "checkbox" ? "on" : ""
|
|
564
|
+
) : String(value);
|
|
565
|
+
if (oldValue !== newValue || !("_value" in el)) {
|
|
566
|
+
el.value = newValue;
|
|
567
|
+
}
|
|
568
|
+
if (value == null) {
|
|
569
|
+
el.removeAttribute(key);
|
|
570
|
+
}
|
|
571
|
+
el._value = value;
|
|
572
|
+
return;
|
|
573
|
+
}
|
|
574
|
+
let needRemove = false;
|
|
575
|
+
if (value === "" || value == null) {
|
|
576
|
+
const type = typeof el[key];
|
|
577
|
+
if (type === "boolean") {
|
|
578
|
+
value = shared.includeBooleanAttr(value);
|
|
579
|
+
} else if (value == null && type === "string") {
|
|
580
|
+
value = "";
|
|
581
|
+
needRemove = true;
|
|
582
|
+
} else if (type === "number") {
|
|
583
|
+
value = 0;
|
|
584
|
+
needRemove = true;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
try {
|
|
588
|
+
el[key] = value;
|
|
589
|
+
} catch (e) {
|
|
590
|
+
}
|
|
591
|
+
needRemove && el.removeAttribute(attrName || key);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
function addEventListener(el, event, handler, options) {
|
|
595
|
+
el.addEventListener(event, handler, options);
|
|
596
|
+
}
|
|
597
|
+
function removeEventListener(el, event, handler, options) {
|
|
598
|
+
el.removeEventListener(event, handler, options);
|
|
599
|
+
}
|
|
600
|
+
const veiKey = Symbol("_vei");
|
|
601
|
+
function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
602
|
+
const invokers = el[veiKey] || (el[veiKey] = {});
|
|
603
|
+
const existingInvoker = invokers[rawName];
|
|
604
|
+
if (nextValue && existingInvoker) {
|
|
605
|
+
existingInvoker.value = nextValue;
|
|
606
|
+
} else {
|
|
607
|
+
const [name, options] = parseName(rawName);
|
|
608
|
+
if (nextValue) {
|
|
609
|
+
const invoker = invokers[rawName] = createInvoker(
|
|
610
|
+
nextValue,
|
|
611
|
+
instance
|
|
612
|
+
);
|
|
613
|
+
addEventListener(el, name, invoker, options);
|
|
614
|
+
} else if (existingInvoker) {
|
|
615
|
+
removeEventListener(el, name, existingInvoker, options);
|
|
616
|
+
invokers[rawName] = void 0;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
const optionsModifierRE = /(?:Once|Passive|Capture)$/;
|
|
621
|
+
function parseName(name) {
|
|
622
|
+
let options;
|
|
623
|
+
if (optionsModifierRE.test(name)) {
|
|
624
|
+
options = {};
|
|
625
|
+
let m;
|
|
626
|
+
while (m = name.match(optionsModifierRE)) {
|
|
627
|
+
name = name.slice(0, name.length - m[0].length);
|
|
628
|
+
options[m[0].toLowerCase()] = true;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
const event = name[2] === ":" ? name.slice(3) : shared.hyphenate(name.slice(2));
|
|
632
|
+
return [event, options];
|
|
633
|
+
}
|
|
634
|
+
let cachedNow = 0;
|
|
635
|
+
const p = /* @__PURE__ */ Promise.resolve();
|
|
636
|
+
const getNow = () => cachedNow || (p.then(() => cachedNow = 0), cachedNow = Date.now());
|
|
637
|
+
function createInvoker(initialValue, instance) {
|
|
638
|
+
const invoker = (e) => {
|
|
639
|
+
if (!e._vts) {
|
|
640
|
+
e._vts = Date.now();
|
|
641
|
+
} else if (e._vts <= invoker.attached) {
|
|
642
|
+
return;
|
|
643
|
+
}
|
|
644
|
+
runtimeCore.callWithAsyncErrorHandling(
|
|
645
|
+
patchStopImmediatePropagation(e, invoker.value),
|
|
646
|
+
instance,
|
|
647
|
+
5,
|
|
648
|
+
[e]
|
|
649
|
+
);
|
|
650
|
+
};
|
|
651
|
+
invoker.value = initialValue;
|
|
652
|
+
invoker.attached = getNow();
|
|
653
|
+
return invoker;
|
|
654
|
+
}
|
|
655
|
+
function patchStopImmediatePropagation(e, value) {
|
|
656
|
+
if (shared.isArray(value)) {
|
|
657
|
+
const originalStop = e.stopImmediatePropagation;
|
|
658
|
+
e.stopImmediatePropagation = () => {
|
|
659
|
+
originalStop.call(e);
|
|
660
|
+
e._stopped = true;
|
|
661
|
+
};
|
|
662
|
+
return value.map(
|
|
663
|
+
(fn) => (e2) => !e2._stopped && fn && fn(e2)
|
|
664
|
+
);
|
|
665
|
+
} else {
|
|
666
|
+
return value;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
const isNativeOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // lowercase letter
|
|
671
|
+
key.charCodeAt(2) > 96 && key.charCodeAt(2) < 123;
|
|
672
|
+
const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) => {
|
|
673
|
+
const isSVG = namespace === "svg";
|
|
674
|
+
if (key === "class") {
|
|
675
|
+
patchClass(el, nextValue, isSVG);
|
|
676
|
+
} else if (key === "style") {
|
|
677
|
+
patchStyle(el, prevValue, nextValue);
|
|
678
|
+
} else if (shared.isOn(key)) {
|
|
679
|
+
if (!shared.isModelListener(key)) {
|
|
680
|
+
patchEvent(el, key, prevValue, nextValue, parentComponent);
|
|
681
|
+
}
|
|
682
|
+
} else if (key[0] === "." ? (key = key.slice(1), true) : key[0] === "^" ? (key = key.slice(1), false) : shouldSetAsProp(el, key, nextValue, isSVG)) {
|
|
683
|
+
patchDOMProp(el, key, nextValue);
|
|
684
|
+
if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
|
|
685
|
+
patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
|
|
686
|
+
}
|
|
687
|
+
} else if (
|
|
688
|
+
// #11081 force set props for possible async custom element
|
|
689
|
+
el._isVueCE && (/[A-Z]/.test(key) || !shared.isString(nextValue))
|
|
690
|
+
) {
|
|
691
|
+
patchDOMProp(el, shared.camelize(key), nextValue, parentComponent, key);
|
|
692
|
+
} else {
|
|
693
|
+
if (key === "true-value") {
|
|
694
|
+
el._trueValue = nextValue;
|
|
695
|
+
} else if (key === "false-value") {
|
|
696
|
+
el._falseValue = nextValue;
|
|
697
|
+
}
|
|
698
|
+
patchAttr(el, key, nextValue, isSVG);
|
|
699
|
+
}
|
|
700
|
+
};
|
|
701
|
+
function shouldSetAsProp(el, key, value, isSVG) {
|
|
702
|
+
if (isSVG) {
|
|
703
|
+
if (key === "innerHTML" || key === "textContent") {
|
|
704
|
+
return true;
|
|
705
|
+
}
|
|
706
|
+
if (key in el && isNativeOn(key) && shared.isFunction(value)) {
|
|
707
|
+
return true;
|
|
708
|
+
}
|
|
709
|
+
return false;
|
|
710
|
+
}
|
|
711
|
+
if (key === "spellcheck" || key === "draggable" || key === "translate") {
|
|
712
|
+
return false;
|
|
713
|
+
}
|
|
714
|
+
if (key === "form") {
|
|
715
|
+
return false;
|
|
716
|
+
}
|
|
717
|
+
if (key === "list" && el.tagName === "INPUT") {
|
|
718
|
+
return false;
|
|
719
|
+
}
|
|
720
|
+
if (key === "type" && el.tagName === "TEXTAREA") {
|
|
721
|
+
return false;
|
|
722
|
+
}
|
|
723
|
+
if (key === "width" || key === "height") {
|
|
724
|
+
const tag = el.tagName;
|
|
725
|
+
if (tag === "IMG" || tag === "VIDEO" || tag === "CANVAS" || tag === "SOURCE") {
|
|
726
|
+
return false;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
if (isNativeOn(key) && shared.isString(value)) {
|
|
730
|
+
return false;
|
|
731
|
+
}
|
|
732
|
+
return key in el;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
const REMOVAL = {};
|
|
736
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
737
|
+
// @__NO_SIDE_EFFECTS__
|
|
738
|
+
function defineCustomElement(options, extraOptions, _createApp) {
|
|
739
|
+
const Comp = runtimeCore.defineComponent(options, extraOptions);
|
|
740
|
+
if (shared.isPlainObject(Comp)) shared.extend(Comp, extraOptions);
|
|
741
|
+
class VueCustomElement extends VueElement {
|
|
742
|
+
constructor(initialProps) {
|
|
743
|
+
super(Comp, initialProps, _createApp);
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
VueCustomElement.def = Comp;
|
|
747
|
+
return VueCustomElement;
|
|
748
|
+
}
|
|
749
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
750
|
+
const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
|
|
751
|
+
return /* @__PURE__ */ defineCustomElement(options, extraOptions, createSSRApp);
|
|
752
|
+
};
|
|
753
|
+
const BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
|
|
754
|
+
};
|
|
755
|
+
class VueElement extends BaseClass {
|
|
756
|
+
constructor(_def, _props = {}, _createApp = createApp) {
|
|
757
|
+
super();
|
|
758
|
+
this._def = _def;
|
|
759
|
+
this._props = _props;
|
|
760
|
+
this._createApp = _createApp;
|
|
761
|
+
this._isVueCE = true;
|
|
762
|
+
/**
|
|
763
|
+
* @internal
|
|
764
|
+
*/
|
|
765
|
+
this._instance = null;
|
|
766
|
+
/**
|
|
767
|
+
* @internal
|
|
768
|
+
*/
|
|
769
|
+
this._app = null;
|
|
770
|
+
/**
|
|
771
|
+
* @internal
|
|
772
|
+
*/
|
|
773
|
+
this._nonce = this._def.nonce;
|
|
774
|
+
this._connected = false;
|
|
775
|
+
this._resolved = false;
|
|
776
|
+
this._numberProps = null;
|
|
777
|
+
this._styleChildren = /* @__PURE__ */ new WeakSet();
|
|
778
|
+
this._ob = null;
|
|
779
|
+
if (this.shadowRoot && _createApp !== createApp) {
|
|
780
|
+
this._root = this.shadowRoot;
|
|
781
|
+
} else {
|
|
782
|
+
if (_def.shadowRoot !== false) {
|
|
783
|
+
this.attachShadow({ mode: "open" });
|
|
784
|
+
this._root = this.shadowRoot;
|
|
785
|
+
} else {
|
|
786
|
+
this._root = this;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
if (!this._def.__asyncLoader) {
|
|
790
|
+
this._resolveProps(this._def);
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
connectedCallback() {
|
|
794
|
+
if (!this.isConnected) return;
|
|
795
|
+
if (!this.shadowRoot) {
|
|
796
|
+
this._parseSlots();
|
|
797
|
+
}
|
|
798
|
+
this._connected = true;
|
|
799
|
+
let parent = this;
|
|
800
|
+
while (parent = parent && (parent.parentNode || parent.host)) {
|
|
801
|
+
if (parent instanceof VueElement) {
|
|
802
|
+
this._parent = parent;
|
|
803
|
+
break;
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
if (!this._instance) {
|
|
807
|
+
if (this._resolved) {
|
|
808
|
+
this._setParent();
|
|
809
|
+
this._update();
|
|
810
|
+
} else {
|
|
811
|
+
if (parent && parent._pendingResolve) {
|
|
812
|
+
this._pendingResolve = parent._pendingResolve.then(() => {
|
|
813
|
+
this._pendingResolve = void 0;
|
|
814
|
+
this._resolveDef();
|
|
815
|
+
});
|
|
816
|
+
} else {
|
|
817
|
+
this._resolveDef();
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
_setParent(parent = this._parent) {
|
|
823
|
+
if (parent) {
|
|
824
|
+
this._instance.parent = parent._instance;
|
|
825
|
+
this._instance.provides = parent._instance.provides;
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
disconnectedCallback() {
|
|
829
|
+
this._connected = false;
|
|
830
|
+
runtimeCore.nextTick(() => {
|
|
831
|
+
if (!this._connected) {
|
|
832
|
+
if (this._ob) {
|
|
833
|
+
this._ob.disconnect();
|
|
834
|
+
this._ob = null;
|
|
835
|
+
}
|
|
836
|
+
this._app && this._app.unmount();
|
|
837
|
+
if (this._instance) this._instance.ce = void 0;
|
|
838
|
+
this._app = this._instance = null;
|
|
839
|
+
}
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* resolve inner component definition (handle possible async component)
|
|
844
|
+
*/
|
|
845
|
+
_resolveDef() {
|
|
846
|
+
if (this._pendingResolve) {
|
|
847
|
+
return;
|
|
848
|
+
}
|
|
849
|
+
for (let i = 0; i < this.attributes.length; i++) {
|
|
850
|
+
this._setAttr(this.attributes[i].name);
|
|
851
|
+
}
|
|
852
|
+
this._ob = new MutationObserver((mutations) => {
|
|
853
|
+
for (const m of mutations) {
|
|
854
|
+
this._setAttr(m.attributeName);
|
|
855
|
+
}
|
|
856
|
+
});
|
|
857
|
+
this._ob.observe(this, { attributes: true });
|
|
858
|
+
const resolve = (def, isAsync = false) => {
|
|
859
|
+
this._resolved = true;
|
|
860
|
+
this._pendingResolve = void 0;
|
|
861
|
+
const { props, styles } = def;
|
|
862
|
+
let numberProps;
|
|
863
|
+
if (props && !shared.isArray(props)) {
|
|
864
|
+
for (const key in props) {
|
|
865
|
+
const opt = props[key];
|
|
866
|
+
if (opt === Number || opt && opt.type === Number) {
|
|
867
|
+
if (key in this._props) {
|
|
868
|
+
this._props[key] = shared.toNumber(this._props[key]);
|
|
869
|
+
}
|
|
870
|
+
(numberProps || (numberProps = /* @__PURE__ */ Object.create(null)))[shared.camelize(key)] = true;
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
this._numberProps = numberProps;
|
|
875
|
+
if (isAsync) {
|
|
876
|
+
this._resolveProps(def);
|
|
877
|
+
}
|
|
878
|
+
if (this.shadowRoot) {
|
|
879
|
+
this._applyStyles(styles);
|
|
880
|
+
}
|
|
881
|
+
this._mount(def);
|
|
882
|
+
};
|
|
883
|
+
const asyncDef = this._def.__asyncLoader;
|
|
884
|
+
if (asyncDef) {
|
|
885
|
+
this._pendingResolve = asyncDef().then(
|
|
886
|
+
(def) => resolve(this._def = def, true)
|
|
887
|
+
);
|
|
888
|
+
} else {
|
|
889
|
+
resolve(this._def);
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
_mount(def) {
|
|
893
|
+
this._app = this._createApp(def);
|
|
894
|
+
if (def.configureApp) {
|
|
895
|
+
def.configureApp(this._app);
|
|
896
|
+
}
|
|
897
|
+
this._app._ceVNode = this._createVNode();
|
|
898
|
+
this._app.mount(this._root);
|
|
899
|
+
const exposed = this._instance && this._instance.exposed;
|
|
900
|
+
if (!exposed) return;
|
|
901
|
+
for (const key in exposed) {
|
|
902
|
+
if (!shared.hasOwn(this, key)) {
|
|
903
|
+
Object.defineProperty(this, key, {
|
|
904
|
+
// unwrap ref to be consistent with public instance behavior
|
|
905
|
+
get: () => runtimeCore.unref(exposed[key])
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
_resolveProps(def) {
|
|
911
|
+
const { props } = def;
|
|
912
|
+
const declaredPropKeys = shared.isArray(props) ? props : Object.keys(props || {});
|
|
913
|
+
for (const key of Object.keys(this)) {
|
|
914
|
+
if (key[0] !== "_" && declaredPropKeys.includes(key)) {
|
|
915
|
+
this._setProp(key, this[key]);
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
for (const key of declaredPropKeys.map(shared.camelize)) {
|
|
919
|
+
Object.defineProperty(this, key, {
|
|
920
|
+
get() {
|
|
921
|
+
return this._getProp(key);
|
|
922
|
+
},
|
|
923
|
+
set(val) {
|
|
924
|
+
this._setProp(key, val, true, true);
|
|
925
|
+
}
|
|
926
|
+
});
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
_setAttr(key) {
|
|
930
|
+
if (key.startsWith("data-v-")) return;
|
|
931
|
+
const has = this.hasAttribute(key);
|
|
932
|
+
let value = has ? this.getAttribute(key) : REMOVAL;
|
|
933
|
+
const camelKey = shared.camelize(key);
|
|
934
|
+
if (has && this._numberProps && this._numberProps[camelKey]) {
|
|
935
|
+
value = shared.toNumber(value);
|
|
936
|
+
}
|
|
937
|
+
this._setProp(camelKey, value, false, true);
|
|
938
|
+
}
|
|
939
|
+
/**
|
|
940
|
+
* @internal
|
|
941
|
+
*/
|
|
942
|
+
_getProp(key) {
|
|
943
|
+
return this._props[key];
|
|
944
|
+
}
|
|
945
|
+
/**
|
|
946
|
+
* @internal
|
|
947
|
+
*/
|
|
948
|
+
_setProp(key, val, shouldReflect = true, shouldUpdate = false) {
|
|
949
|
+
if (val !== this._props[key]) {
|
|
950
|
+
if (val === REMOVAL) {
|
|
951
|
+
delete this._props[key];
|
|
952
|
+
} else {
|
|
953
|
+
this._props[key] = val;
|
|
954
|
+
if (key === "key" && this._app) {
|
|
955
|
+
this._app._ceVNode.key = val;
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
if (shouldUpdate && this._instance) {
|
|
959
|
+
this._update();
|
|
960
|
+
}
|
|
961
|
+
if (shouldReflect) {
|
|
962
|
+
const ob = this._ob;
|
|
963
|
+
ob && ob.disconnect();
|
|
964
|
+
if (val === true) {
|
|
965
|
+
this.setAttribute(shared.hyphenate(key), "");
|
|
966
|
+
} else if (typeof val === "string" || typeof val === "number") {
|
|
967
|
+
this.setAttribute(shared.hyphenate(key), val + "");
|
|
968
|
+
} else if (!val) {
|
|
969
|
+
this.removeAttribute(shared.hyphenate(key));
|
|
970
|
+
}
|
|
971
|
+
ob && ob.observe(this, { attributes: true });
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
_update() {
|
|
976
|
+
render(this._createVNode(), this._root);
|
|
977
|
+
}
|
|
978
|
+
_createVNode() {
|
|
979
|
+
const baseProps = {};
|
|
980
|
+
if (!this.shadowRoot) {
|
|
981
|
+
baseProps.onVnodeMounted = baseProps.onVnodeUpdated = this._renderSlots.bind(this);
|
|
982
|
+
}
|
|
983
|
+
const vnode = runtimeCore.createVNode(this._def, shared.extend(baseProps, this._props));
|
|
984
|
+
if (!this._instance) {
|
|
985
|
+
vnode.ce = (instance) => {
|
|
986
|
+
this._instance = instance;
|
|
987
|
+
instance.ce = this;
|
|
988
|
+
instance.isCE = true;
|
|
989
|
+
const dispatch = (event, args) => {
|
|
990
|
+
this.dispatchEvent(
|
|
991
|
+
new CustomEvent(
|
|
992
|
+
event,
|
|
993
|
+
shared.isPlainObject(args[0]) ? shared.extend({ detail: args }, args[0]) : { detail: args }
|
|
994
|
+
)
|
|
995
|
+
);
|
|
996
|
+
};
|
|
997
|
+
instance.emit = (event, ...args) => {
|
|
998
|
+
dispatch(event, args);
|
|
999
|
+
if (shared.hyphenate(event) !== event) {
|
|
1000
|
+
dispatch(shared.hyphenate(event), args);
|
|
1001
|
+
}
|
|
1002
|
+
};
|
|
1003
|
+
this._setParent();
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
return vnode;
|
|
1007
|
+
}
|
|
1008
|
+
_applyStyles(styles, owner) {
|
|
1009
|
+
if (!styles) return;
|
|
1010
|
+
if (owner) {
|
|
1011
|
+
if (owner === this._def || this._styleChildren.has(owner)) {
|
|
1012
|
+
return;
|
|
1013
|
+
}
|
|
1014
|
+
this._styleChildren.add(owner);
|
|
1015
|
+
}
|
|
1016
|
+
const nonce = this._nonce;
|
|
1017
|
+
for (let i = styles.length - 1; i >= 0; i--) {
|
|
1018
|
+
const s = document.createElement("style");
|
|
1019
|
+
if (nonce) s.setAttribute("nonce", nonce);
|
|
1020
|
+
s.textContent = styles[i];
|
|
1021
|
+
this.shadowRoot.prepend(s);
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* Only called when shadowRoot is false
|
|
1026
|
+
*/
|
|
1027
|
+
_parseSlots() {
|
|
1028
|
+
const slots = this._slots = {};
|
|
1029
|
+
let n;
|
|
1030
|
+
while (n = this.firstChild) {
|
|
1031
|
+
const slotName = n.nodeType === 1 && n.getAttribute("slot") || "default";
|
|
1032
|
+
(slots[slotName] || (slots[slotName] = [])).push(n);
|
|
1033
|
+
this.removeChild(n);
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
/**
|
|
1037
|
+
* Only called when shadowRoot is false
|
|
1038
|
+
*/
|
|
1039
|
+
_renderSlots() {
|
|
1040
|
+
const outlets = (this._teleportTarget || this).querySelectorAll("slot");
|
|
1041
|
+
const scopeId = this._instance.type.__scopeId;
|
|
1042
|
+
for (let i = 0; i < outlets.length; i++) {
|
|
1043
|
+
const o = outlets[i];
|
|
1044
|
+
const slotName = o.getAttribute("name") || "default";
|
|
1045
|
+
const content = this._slots[slotName];
|
|
1046
|
+
const parent = o.parentNode;
|
|
1047
|
+
if (content) {
|
|
1048
|
+
for (const n of content) {
|
|
1049
|
+
if (scopeId && n.nodeType === 1) {
|
|
1050
|
+
const id = scopeId + "-s";
|
|
1051
|
+
const walker = document.createTreeWalker(n, 1);
|
|
1052
|
+
n.setAttribute(id, "");
|
|
1053
|
+
let child;
|
|
1054
|
+
while (child = walker.nextNode()) {
|
|
1055
|
+
child.setAttribute(id, "");
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
parent.insertBefore(n, o);
|
|
1059
|
+
}
|
|
1060
|
+
} else {
|
|
1061
|
+
while (o.firstChild) parent.insertBefore(o.firstChild, o);
|
|
1062
|
+
}
|
|
1063
|
+
parent.removeChild(o);
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
* @internal
|
|
1068
|
+
*/
|
|
1069
|
+
_injectChildStyle(comp) {
|
|
1070
|
+
this._applyStyles(comp.styles, comp);
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* @internal
|
|
1074
|
+
*/
|
|
1075
|
+
_removeChildStyle(comp) {
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
function useHost(caller) {
|
|
1079
|
+
const instance = runtimeCore.getCurrentInstance();
|
|
1080
|
+
const el = instance && instance.ce;
|
|
1081
|
+
if (el) {
|
|
1082
|
+
return el;
|
|
1083
|
+
}
|
|
1084
|
+
return null;
|
|
1085
|
+
}
|
|
1086
|
+
function useShadowRoot() {
|
|
1087
|
+
const el = useHost();
|
|
1088
|
+
return el && el.shadowRoot;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
function useCssModule(name = "$style") {
|
|
1092
|
+
{
|
|
1093
|
+
const instance = runtimeCore.getCurrentInstance();
|
|
1094
|
+
if (!instance) {
|
|
1095
|
+
return shared.EMPTY_OBJ;
|
|
1096
|
+
}
|
|
1097
|
+
const modules = instance.type.__cssModules;
|
|
1098
|
+
if (!modules) {
|
|
1099
|
+
return shared.EMPTY_OBJ;
|
|
1100
|
+
}
|
|
1101
|
+
const mod = modules[name];
|
|
1102
|
+
if (!mod) {
|
|
1103
|
+
return shared.EMPTY_OBJ;
|
|
1104
|
+
}
|
|
1105
|
+
return mod;
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
1110
|
+
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
1111
|
+
const moveCbKey = Symbol("_moveCb");
|
|
1112
|
+
const enterCbKey = Symbol("_enterCb");
|
|
1113
|
+
const decorate = (t) => {
|
|
1114
|
+
delete t.props.mode;
|
|
1115
|
+
return t;
|
|
1116
|
+
};
|
|
1117
|
+
const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
|
1118
|
+
name: "TransitionGroup",
|
|
1119
|
+
props: /* @__PURE__ */ shared.extend({}, TransitionPropsValidators, {
|
|
1120
|
+
tag: String,
|
|
1121
|
+
moveClass: String
|
|
1122
|
+
}),
|
|
1123
|
+
setup(props, { slots }) {
|
|
1124
|
+
const instance = runtimeCore.getCurrentInstance();
|
|
1125
|
+
const state = runtimeCore.useTransitionState();
|
|
1126
|
+
let prevChildren;
|
|
1127
|
+
let children;
|
|
1128
|
+
runtimeCore.onUpdated(() => {
|
|
1129
|
+
if (!prevChildren.length) {
|
|
1130
|
+
return;
|
|
1131
|
+
}
|
|
1132
|
+
const moveClass = props.moveClass || `${props.name || "v"}-move`;
|
|
1133
|
+
if (!hasCSSTransform(
|
|
1134
|
+
prevChildren[0].el,
|
|
1135
|
+
instance.vnode.el,
|
|
1136
|
+
moveClass
|
|
1137
|
+
)) {
|
|
1138
|
+
return;
|
|
1139
|
+
}
|
|
1140
|
+
prevChildren.forEach(callPendingCbs);
|
|
1141
|
+
prevChildren.forEach(recordPosition);
|
|
1142
|
+
const movedChildren = prevChildren.filter(applyTranslation);
|
|
1143
|
+
forceReflow();
|
|
1144
|
+
movedChildren.forEach((c) => {
|
|
1145
|
+
const el = c.el;
|
|
1146
|
+
const style = el.style;
|
|
1147
|
+
addTransitionClass(el, moveClass);
|
|
1148
|
+
style.transform = style.webkitTransform = style.transitionDuration = "";
|
|
1149
|
+
const cb = el[moveCbKey] = (e) => {
|
|
1150
|
+
if (e && e.target !== el) {
|
|
1151
|
+
return;
|
|
1152
|
+
}
|
|
1153
|
+
if (!e || /transform$/.test(e.propertyName)) {
|
|
1154
|
+
el.removeEventListener("transitionend", cb);
|
|
1155
|
+
el[moveCbKey] = null;
|
|
1156
|
+
removeTransitionClass(el, moveClass);
|
|
1157
|
+
}
|
|
1158
|
+
};
|
|
1159
|
+
el.addEventListener("transitionend", cb);
|
|
1160
|
+
});
|
|
1161
|
+
});
|
|
1162
|
+
return () => {
|
|
1163
|
+
const rawProps = runtimeCore.toRaw(props);
|
|
1164
|
+
const cssTransitionProps = resolveTransitionProps(rawProps);
|
|
1165
|
+
let tag = rawProps.tag || runtimeCore.Fragment;
|
|
1166
|
+
prevChildren = [];
|
|
1167
|
+
if (children) {
|
|
1168
|
+
for (let i = 0; i < children.length; i++) {
|
|
1169
|
+
const child = children[i];
|
|
1170
|
+
if (child.el && child.el instanceof Element) {
|
|
1171
|
+
prevChildren.push(child);
|
|
1172
|
+
runtimeCore.setTransitionHooks(
|
|
1173
|
+
child,
|
|
1174
|
+
runtimeCore.resolveTransitionHooks(
|
|
1175
|
+
child,
|
|
1176
|
+
cssTransitionProps,
|
|
1177
|
+
state,
|
|
1178
|
+
instance
|
|
1179
|
+
)
|
|
1180
|
+
);
|
|
1181
|
+
positionMap.set(
|
|
1182
|
+
child,
|
|
1183
|
+
child.el.getBoundingClientRect()
|
|
1184
|
+
);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
children = slots.default ? runtimeCore.getTransitionRawChildren(slots.default()) : [];
|
|
1189
|
+
for (let i = 0; i < children.length; i++) {
|
|
1190
|
+
const child = children[i];
|
|
1191
|
+
if (child.key != null) {
|
|
1192
|
+
runtimeCore.setTransitionHooks(
|
|
1193
|
+
child,
|
|
1194
|
+
runtimeCore.resolveTransitionHooks(child, cssTransitionProps, state, instance)
|
|
1195
|
+
);
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
return runtimeCore.createVNode(tag, null, children);
|
|
1199
|
+
};
|
|
1200
|
+
}
|
|
1201
|
+
});
|
|
1202
|
+
const TransitionGroup = TransitionGroupImpl;
|
|
1203
|
+
function callPendingCbs(c) {
|
|
1204
|
+
const el = c.el;
|
|
1205
|
+
if (el[moveCbKey]) {
|
|
1206
|
+
el[moveCbKey]();
|
|
1207
|
+
}
|
|
1208
|
+
if (el[enterCbKey]) {
|
|
1209
|
+
el[enterCbKey]();
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
function recordPosition(c) {
|
|
1213
|
+
newPositionMap.set(c, c.el.getBoundingClientRect());
|
|
1214
|
+
}
|
|
1215
|
+
function applyTranslation(c) {
|
|
1216
|
+
const oldPos = positionMap.get(c);
|
|
1217
|
+
const newPos = newPositionMap.get(c);
|
|
1218
|
+
const dx = oldPos.left - newPos.left;
|
|
1219
|
+
const dy = oldPos.top - newPos.top;
|
|
1220
|
+
if (dx || dy) {
|
|
1221
|
+
const s = c.el.style;
|
|
1222
|
+
s.transform = s.webkitTransform = `translate(${dx}px,${dy}px)`;
|
|
1223
|
+
s.transitionDuration = "0s";
|
|
1224
|
+
return c;
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
function hasCSSTransform(el, root, moveClass) {
|
|
1228
|
+
const clone = el.cloneNode();
|
|
1229
|
+
const _vtc = el[vtcKey];
|
|
1230
|
+
if (_vtc) {
|
|
1231
|
+
_vtc.forEach((cls) => {
|
|
1232
|
+
cls.split(/\s+/).forEach((c) => c && clone.classList.remove(c));
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1235
|
+
moveClass.split(/\s+/).forEach((c) => c && clone.classList.add(c));
|
|
1236
|
+
clone.style.display = "none";
|
|
1237
|
+
const container = root.nodeType === 1 ? root : root.parentNode;
|
|
1238
|
+
container.appendChild(clone);
|
|
1239
|
+
const { hasTransform } = getTransitionInfo(clone);
|
|
1240
|
+
container.removeChild(clone);
|
|
1241
|
+
return hasTransform;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
const getModelAssigner = (vnode) => {
|
|
1245
|
+
const fn = vnode.props["onUpdate:modelValue"] || false;
|
|
1246
|
+
return shared.isArray(fn) ? (value) => shared.invokeArrayFns(fn, value) : fn;
|
|
1247
|
+
};
|
|
1248
|
+
function onCompositionStart(e) {
|
|
1249
|
+
e.target.composing = true;
|
|
1250
|
+
}
|
|
1251
|
+
function onCompositionEnd(e) {
|
|
1252
|
+
const target = e.target;
|
|
1253
|
+
if (target.composing) {
|
|
1254
|
+
target.composing = false;
|
|
1255
|
+
target.dispatchEvent(new Event("input"));
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
const assignKey = Symbol("_assign");
|
|
1259
|
+
const vModelText = {
|
|
1260
|
+
created(el, { modifiers: { lazy, trim, number } }, vnode) {
|
|
1261
|
+
el[assignKey] = getModelAssigner(vnode);
|
|
1262
|
+
const castToNumber = number || vnode.props && vnode.props.type === "number";
|
|
1263
|
+
addEventListener(el, lazy ? "change" : "input", (e) => {
|
|
1264
|
+
if (e.target.composing) return;
|
|
1265
|
+
let domValue = el.value;
|
|
1266
|
+
if (trim) {
|
|
1267
|
+
domValue = domValue.trim();
|
|
1268
|
+
}
|
|
1269
|
+
if (castToNumber) {
|
|
1270
|
+
domValue = shared.looseToNumber(domValue);
|
|
1271
|
+
}
|
|
1272
|
+
el[assignKey](domValue);
|
|
1273
|
+
});
|
|
1274
|
+
if (trim) {
|
|
1275
|
+
addEventListener(el, "change", () => {
|
|
1276
|
+
el.value = el.value.trim();
|
|
1277
|
+
});
|
|
1278
|
+
}
|
|
1279
|
+
if (!lazy) {
|
|
1280
|
+
addEventListener(el, "compositionstart", onCompositionStart);
|
|
1281
|
+
addEventListener(el, "compositionend", onCompositionEnd);
|
|
1282
|
+
addEventListener(el, "change", onCompositionEnd);
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
// set value on mounted so it's after min/max for type="range"
|
|
1286
|
+
mounted(el, { value }) {
|
|
1287
|
+
el.value = value == null ? "" : value;
|
|
1288
|
+
},
|
|
1289
|
+
beforeUpdate(el, { value, oldValue, modifiers: { lazy, trim, number } }, vnode) {
|
|
1290
|
+
el[assignKey] = getModelAssigner(vnode);
|
|
1291
|
+
if (el.composing) return;
|
|
1292
|
+
const elValue = (number || el.type === "number") && !/^0\d/.test(el.value) ? shared.looseToNumber(el.value) : el.value;
|
|
1293
|
+
const newValue = value == null ? "" : value;
|
|
1294
|
+
if (elValue === newValue) {
|
|
1295
|
+
return;
|
|
1296
|
+
}
|
|
1297
|
+
if (document.activeElement === el && el.type !== "range") {
|
|
1298
|
+
if (lazy && value === oldValue) {
|
|
1299
|
+
return;
|
|
1300
|
+
}
|
|
1301
|
+
if (trim && el.value.trim() === newValue) {
|
|
1302
|
+
return;
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
el.value = newValue;
|
|
1306
|
+
}
|
|
1307
|
+
};
|
|
1308
|
+
const vModelCheckbox = {
|
|
1309
|
+
// #4096 array checkboxes need to be deep traversed
|
|
1310
|
+
deep: true,
|
|
1311
|
+
created(el, _, vnode) {
|
|
1312
|
+
el[assignKey] = getModelAssigner(vnode);
|
|
1313
|
+
addEventListener(el, "change", () => {
|
|
1314
|
+
const modelValue = el._modelValue;
|
|
1315
|
+
const elementValue = getValue(el);
|
|
1316
|
+
const checked = el.checked;
|
|
1317
|
+
const assign = el[assignKey];
|
|
1318
|
+
if (shared.isArray(modelValue)) {
|
|
1319
|
+
const index = shared.looseIndexOf(modelValue, elementValue);
|
|
1320
|
+
const found = index !== -1;
|
|
1321
|
+
if (checked && !found) {
|
|
1322
|
+
assign(modelValue.concat(elementValue));
|
|
1323
|
+
} else if (!checked && found) {
|
|
1324
|
+
const filtered = [...modelValue];
|
|
1325
|
+
filtered.splice(index, 1);
|
|
1326
|
+
assign(filtered);
|
|
1327
|
+
}
|
|
1328
|
+
} else if (shared.isSet(modelValue)) {
|
|
1329
|
+
const cloned = new Set(modelValue);
|
|
1330
|
+
if (checked) {
|
|
1331
|
+
cloned.add(elementValue);
|
|
1332
|
+
} else {
|
|
1333
|
+
cloned.delete(elementValue);
|
|
1334
|
+
}
|
|
1335
|
+
assign(cloned);
|
|
1336
|
+
} else {
|
|
1337
|
+
assign(getCheckboxValue(el, checked));
|
|
1338
|
+
}
|
|
1339
|
+
});
|
|
1340
|
+
},
|
|
1341
|
+
// set initial checked on mount to wait for true-value/false-value
|
|
1342
|
+
mounted: setChecked,
|
|
1343
|
+
beforeUpdate(el, binding, vnode) {
|
|
1344
|
+
el[assignKey] = getModelAssigner(vnode);
|
|
1345
|
+
setChecked(el, binding, vnode);
|
|
1346
|
+
}
|
|
1347
|
+
};
|
|
1348
|
+
function setChecked(el, { value, oldValue }, vnode) {
|
|
1349
|
+
el._modelValue = value;
|
|
1350
|
+
let checked;
|
|
1351
|
+
if (shared.isArray(value)) {
|
|
1352
|
+
checked = shared.looseIndexOf(value, vnode.props.value) > -1;
|
|
1353
|
+
} else if (shared.isSet(value)) {
|
|
1354
|
+
checked = value.has(vnode.props.value);
|
|
1355
|
+
} else {
|
|
1356
|
+
if (value === oldValue) return;
|
|
1357
|
+
checked = shared.looseEqual(value, getCheckboxValue(el, true));
|
|
1358
|
+
}
|
|
1359
|
+
if (el.checked !== checked) {
|
|
1360
|
+
el.checked = checked;
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
const vModelRadio = {
|
|
1364
|
+
created(el, { value }, vnode) {
|
|
1365
|
+
el.checked = shared.looseEqual(value, vnode.props.value);
|
|
1366
|
+
el[assignKey] = getModelAssigner(vnode);
|
|
1367
|
+
addEventListener(el, "change", () => {
|
|
1368
|
+
el[assignKey](getValue(el));
|
|
1369
|
+
});
|
|
1370
|
+
},
|
|
1371
|
+
beforeUpdate(el, { value, oldValue }, vnode) {
|
|
1372
|
+
el[assignKey] = getModelAssigner(vnode);
|
|
1373
|
+
if (value !== oldValue) {
|
|
1374
|
+
el.checked = shared.looseEqual(value, vnode.props.value);
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
};
|
|
1378
|
+
const vModelSelect = {
|
|
1379
|
+
// <select multiple> value need to be deep traversed
|
|
1380
|
+
deep: true,
|
|
1381
|
+
created(el, { value, modifiers: { number } }, vnode) {
|
|
1382
|
+
const isSetModel = shared.isSet(value);
|
|
1383
|
+
addEventListener(el, "change", () => {
|
|
1384
|
+
const selectedVal = Array.prototype.filter.call(el.options, (o) => o.selected).map(
|
|
1385
|
+
(o) => number ? shared.looseToNumber(getValue(o)) : getValue(o)
|
|
1386
|
+
);
|
|
1387
|
+
el[assignKey](
|
|
1388
|
+
el.multiple ? isSetModel ? new Set(selectedVal) : selectedVal : selectedVal[0]
|
|
1389
|
+
);
|
|
1390
|
+
el._assigning = true;
|
|
1391
|
+
runtimeCore.nextTick(() => {
|
|
1392
|
+
el._assigning = false;
|
|
1393
|
+
});
|
|
1394
|
+
});
|
|
1395
|
+
el[assignKey] = getModelAssigner(vnode);
|
|
1396
|
+
},
|
|
1397
|
+
// set value in mounted & updated because <select> relies on its children
|
|
1398
|
+
// <option>s.
|
|
1399
|
+
mounted(el, { value }) {
|
|
1400
|
+
setSelected(el, value);
|
|
1401
|
+
},
|
|
1402
|
+
beforeUpdate(el, _binding, vnode) {
|
|
1403
|
+
el[assignKey] = getModelAssigner(vnode);
|
|
1404
|
+
},
|
|
1405
|
+
updated(el, { value }) {
|
|
1406
|
+
if (!el._assigning) {
|
|
1407
|
+
setSelected(el, value);
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
};
|
|
1411
|
+
function setSelected(el, value) {
|
|
1412
|
+
const isMultiple = el.multiple;
|
|
1413
|
+
const isArrayValue = shared.isArray(value);
|
|
1414
|
+
if (isMultiple && !isArrayValue && !shared.isSet(value)) {
|
|
1415
|
+
return;
|
|
1416
|
+
}
|
|
1417
|
+
for (let i = 0, l = el.options.length; i < l; i++) {
|
|
1418
|
+
const option = el.options[i];
|
|
1419
|
+
const optionValue = getValue(option);
|
|
1420
|
+
if (isMultiple) {
|
|
1421
|
+
if (isArrayValue) {
|
|
1422
|
+
const optionType = typeof optionValue;
|
|
1423
|
+
if (optionType === "string" || optionType === "number") {
|
|
1424
|
+
option.selected = value.some((v) => String(v) === String(optionValue));
|
|
1425
|
+
} else {
|
|
1426
|
+
option.selected = shared.looseIndexOf(value, optionValue) > -1;
|
|
1427
|
+
}
|
|
1428
|
+
} else {
|
|
1429
|
+
option.selected = value.has(optionValue);
|
|
1430
|
+
}
|
|
1431
|
+
} else if (shared.looseEqual(getValue(option), value)) {
|
|
1432
|
+
if (el.selectedIndex !== i) el.selectedIndex = i;
|
|
1433
|
+
return;
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
if (!isMultiple && el.selectedIndex !== -1) {
|
|
1437
|
+
el.selectedIndex = -1;
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
function getValue(el) {
|
|
1441
|
+
return "_value" in el ? el._value : el.value;
|
|
1442
|
+
}
|
|
1443
|
+
function getCheckboxValue(el, checked) {
|
|
1444
|
+
const key = checked ? "_trueValue" : "_falseValue";
|
|
1445
|
+
return key in el ? el[key] : checked;
|
|
1446
|
+
}
|
|
1447
|
+
const vModelDynamic = {
|
|
1448
|
+
created(el, binding, vnode) {
|
|
1449
|
+
callModelHook(el, binding, vnode, null, "created");
|
|
1450
|
+
},
|
|
1451
|
+
mounted(el, binding, vnode) {
|
|
1452
|
+
callModelHook(el, binding, vnode, null, "mounted");
|
|
1453
|
+
},
|
|
1454
|
+
beforeUpdate(el, binding, vnode, prevVNode) {
|
|
1455
|
+
callModelHook(el, binding, vnode, prevVNode, "beforeUpdate");
|
|
1456
|
+
},
|
|
1457
|
+
updated(el, binding, vnode, prevVNode) {
|
|
1458
|
+
callModelHook(el, binding, vnode, prevVNode, "updated");
|
|
1459
|
+
}
|
|
1460
|
+
};
|
|
1461
|
+
function resolveDynamicModel(tagName, type) {
|
|
1462
|
+
switch (tagName) {
|
|
1463
|
+
case "SELECT":
|
|
1464
|
+
return vModelSelect;
|
|
1465
|
+
case "TEXTAREA":
|
|
1466
|
+
return vModelText;
|
|
1467
|
+
default:
|
|
1468
|
+
switch (type) {
|
|
1469
|
+
case "checkbox":
|
|
1470
|
+
return vModelCheckbox;
|
|
1471
|
+
case "radio":
|
|
1472
|
+
return vModelRadio;
|
|
1473
|
+
default:
|
|
1474
|
+
return vModelText;
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
function callModelHook(el, binding, vnode, prevVNode, hook) {
|
|
1479
|
+
const modelToUse = resolveDynamicModel(
|
|
1480
|
+
el.tagName,
|
|
1481
|
+
vnode.props && vnode.props.type
|
|
1482
|
+
);
|
|
1483
|
+
const fn = modelToUse[hook];
|
|
1484
|
+
fn && fn(el, binding, vnode, prevVNode);
|
|
1485
|
+
}
|
|
1486
|
+
function initVModelForSSR() {
|
|
1487
|
+
vModelText.getSSRProps = ({ value }) => ({ value });
|
|
1488
|
+
vModelRadio.getSSRProps = ({ value }, vnode) => {
|
|
1489
|
+
if (vnode.props && shared.looseEqual(vnode.props.value, value)) {
|
|
1490
|
+
return { checked: true };
|
|
1491
|
+
}
|
|
1492
|
+
};
|
|
1493
|
+
vModelCheckbox.getSSRProps = ({ value }, vnode) => {
|
|
1494
|
+
if (shared.isArray(value)) {
|
|
1495
|
+
if (vnode.props && shared.looseIndexOf(value, vnode.props.value) > -1) {
|
|
1496
|
+
return { checked: true };
|
|
1497
|
+
}
|
|
1498
|
+
} else if (shared.isSet(value)) {
|
|
1499
|
+
if (vnode.props && value.has(vnode.props.value)) {
|
|
1500
|
+
return { checked: true };
|
|
1501
|
+
}
|
|
1502
|
+
} else if (value) {
|
|
1503
|
+
return { checked: true };
|
|
1504
|
+
}
|
|
1505
|
+
};
|
|
1506
|
+
vModelDynamic.getSSRProps = (binding, vnode) => {
|
|
1507
|
+
if (typeof vnode.type !== "string") {
|
|
1508
|
+
return;
|
|
1509
|
+
}
|
|
1510
|
+
const modelToUse = resolveDynamicModel(
|
|
1511
|
+
// resolveDynamicModel expects an uppercase tag name, but vnode.type is lowercase
|
|
1512
|
+
vnode.type.toUpperCase(),
|
|
1513
|
+
vnode.props && vnode.props.type
|
|
1514
|
+
);
|
|
1515
|
+
if (modelToUse.getSSRProps) {
|
|
1516
|
+
return modelToUse.getSSRProps(binding, vnode);
|
|
1517
|
+
}
|
|
1518
|
+
};
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
const systemModifiers = ["ctrl", "shift", "alt", "meta"];
|
|
1522
|
+
const modifierGuards = {
|
|
1523
|
+
stop: (e) => e.stopPropagation(),
|
|
1524
|
+
prevent: (e) => e.preventDefault(),
|
|
1525
|
+
self: (e) => e.target !== e.currentTarget,
|
|
1526
|
+
ctrl: (e) => !e.ctrlKey,
|
|
1527
|
+
shift: (e) => !e.shiftKey,
|
|
1528
|
+
alt: (e) => !e.altKey,
|
|
1529
|
+
meta: (e) => !e.metaKey,
|
|
1530
|
+
left: (e) => "button" in e && e.button !== 0,
|
|
1531
|
+
middle: (e) => "button" in e && e.button !== 1,
|
|
1532
|
+
right: (e) => "button" in e && e.button !== 2,
|
|
1533
|
+
exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
|
|
1534
|
+
};
|
|
1535
|
+
const withModifiers = (fn, modifiers) => {
|
|
1536
|
+
const cache = fn._withMods || (fn._withMods = {});
|
|
1537
|
+
const cacheKey = modifiers.join(".");
|
|
1538
|
+
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
1539
|
+
for (let i = 0; i < modifiers.length; i++) {
|
|
1540
|
+
const guard = modifierGuards[modifiers[i]];
|
|
1541
|
+
if (guard && guard(event, modifiers)) return;
|
|
1542
|
+
}
|
|
1543
|
+
return fn(event, ...args);
|
|
1544
|
+
});
|
|
1545
|
+
};
|
|
1546
|
+
const keyNames = {
|
|
1547
|
+
esc: "escape",
|
|
1548
|
+
space: " ",
|
|
1549
|
+
up: "arrow-up",
|
|
1550
|
+
left: "arrow-left",
|
|
1551
|
+
right: "arrow-right",
|
|
1552
|
+
down: "arrow-down",
|
|
1553
|
+
delete: "backspace"
|
|
1554
|
+
};
|
|
1555
|
+
const withKeys = (fn, modifiers) => {
|
|
1556
|
+
const cache = fn._withKeys || (fn._withKeys = {});
|
|
1557
|
+
const cacheKey = modifiers.join(".");
|
|
1558
|
+
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
1559
|
+
if (!("key" in event)) {
|
|
1560
|
+
return;
|
|
1561
|
+
}
|
|
1562
|
+
const eventKey = shared.hyphenate(event.key);
|
|
1563
|
+
if (modifiers.some(
|
|
1564
|
+
(k) => k === eventKey || keyNames[k] === eventKey
|
|
1565
|
+
)) {
|
|
1566
|
+
return fn(event);
|
|
1567
|
+
}
|
|
1568
|
+
});
|
|
1569
|
+
};
|
|
1570
|
+
|
|
1571
|
+
const rendererOptions = /* @__PURE__ */ shared.extend({ patchProp }, nodeOps);
|
|
1572
|
+
let renderer;
|
|
1573
|
+
let enabledHydration = false;
|
|
1574
|
+
function ensureRenderer() {
|
|
1575
|
+
return renderer || (renderer = runtimeCore.createRenderer(rendererOptions));
|
|
1576
|
+
}
|
|
1577
|
+
function ensureHydrationRenderer() {
|
|
1578
|
+
renderer = enabledHydration ? renderer : runtimeCore.createHydrationRenderer(rendererOptions);
|
|
1579
|
+
enabledHydration = true;
|
|
1580
|
+
return renderer;
|
|
1581
|
+
}
|
|
1582
|
+
const render = (...args) => {
|
|
1583
|
+
ensureRenderer().render(...args);
|
|
1584
|
+
};
|
|
1585
|
+
const hydrate = (...args) => {
|
|
1586
|
+
ensureHydrationRenderer().hydrate(...args);
|
|
1587
|
+
};
|
|
1588
|
+
const createApp = (...args) => {
|
|
1589
|
+
const app = ensureRenderer().createApp(...args);
|
|
1590
|
+
const { mount } = app;
|
|
1591
|
+
app.mount = (containerOrSelector) => {
|
|
1592
|
+
const container = normalizeContainer(containerOrSelector);
|
|
1593
|
+
if (!container) return;
|
|
1594
|
+
const component = app._component;
|
|
1595
|
+
if (!shared.isFunction(component) && !component.render && !component.template) {
|
|
1596
|
+
component.template = container.innerHTML;
|
|
1597
|
+
}
|
|
1598
|
+
if (container.nodeType === 1) {
|
|
1599
|
+
container.textContent = "";
|
|
1600
|
+
}
|
|
1601
|
+
const proxy = mount(container, false, resolveRootNamespace(container));
|
|
1602
|
+
if (container instanceof Element) {
|
|
1603
|
+
container.removeAttribute("v-cloak");
|
|
1604
|
+
container.setAttribute("data-v-app", "");
|
|
1605
|
+
}
|
|
1606
|
+
return proxy;
|
|
1607
|
+
};
|
|
1608
|
+
return app;
|
|
1609
|
+
};
|
|
1610
|
+
const createSSRApp = (...args) => {
|
|
1611
|
+
const app = ensureHydrationRenderer().createApp(...args);
|
|
1612
|
+
const { mount } = app;
|
|
1613
|
+
app.mount = (containerOrSelector) => {
|
|
1614
|
+
const container = normalizeContainer(containerOrSelector);
|
|
1615
|
+
if (container) {
|
|
1616
|
+
return mount(container, true, resolveRootNamespace(container));
|
|
1617
|
+
}
|
|
1618
|
+
};
|
|
1619
|
+
return app;
|
|
1620
|
+
};
|
|
1621
|
+
function resolveRootNamespace(container) {
|
|
1622
|
+
if (container instanceof SVGElement) {
|
|
1623
|
+
return "svg";
|
|
1624
|
+
}
|
|
1625
|
+
if (typeof MathMLElement === "function" && container instanceof MathMLElement) {
|
|
1626
|
+
return "mathml";
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
function normalizeContainer(container) {
|
|
1630
|
+
if (shared.isString(container)) {
|
|
1631
|
+
const res = document.querySelector(container);
|
|
1632
|
+
return res;
|
|
1633
|
+
}
|
|
1634
|
+
return container;
|
|
1635
|
+
}
|
|
1636
|
+
let ssrDirectiveInitialized = false;
|
|
1637
|
+
const initDirectivesForSSR = () => {
|
|
1638
|
+
if (!ssrDirectiveInitialized) {
|
|
1639
|
+
ssrDirectiveInitialized = true;
|
|
1640
|
+
initVModelForSSR();
|
|
1641
|
+
initVShowForSSR();
|
|
1642
|
+
}
|
|
1643
|
+
} ;
|
|
1644
|
+
|
|
1645
|
+
exports.Transition = Transition;
|
|
1646
|
+
exports.TransitionGroup = TransitionGroup;
|
|
1647
|
+
exports.VueElement = VueElement;
|
|
1648
|
+
exports.createApp = createApp;
|
|
1649
|
+
exports.createSSRApp = createSSRApp;
|
|
1650
|
+
exports.defineCustomElement = defineCustomElement;
|
|
1651
|
+
exports.defineSSRCustomElement = defineSSRCustomElement;
|
|
1652
|
+
exports.hydrate = hydrate;
|
|
1653
|
+
exports.initDirectivesForSSR = initDirectivesForSSR;
|
|
1654
|
+
exports.render = render;
|
|
1655
|
+
exports.useCssModule = useCssModule;
|
|
1656
|
+
exports.useCssVars = useCssVars;
|
|
1657
|
+
exports.useHost = useHost;
|
|
1658
|
+
exports.useShadowRoot = useShadowRoot;
|
|
1659
|
+
exports.vModelCheckbox = vModelCheckbox;
|
|
1660
|
+
exports.vModelDynamic = vModelDynamic;
|
|
1661
|
+
exports.vModelRadio = vModelRadio;
|
|
1662
|
+
exports.vModelSelect = vModelSelect;
|
|
1663
|
+
exports.vModelText = vModelText;
|
|
1664
|
+
exports.vShow = vShow;
|
|
1665
|
+
exports.withKeys = withKeys;
|
|
1666
|
+
exports.withModifiers = withModifiers;
|
|
1667
|
+
Object.keys(runtimeCore).forEach(function (k) {
|
|
1668
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = runtimeCore[k];
|
|
1669
|
+
});
|