weapp-vite 5.9.2 → 5.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk77N2IGMCcjs = require('../chunk-77N2IGMC.cjs');
3
+ var _chunkUUINGAX5cjs = require('../chunk-UUINGAX5.cjs');
4
4
 
5
5
  // src/auto-import-components/resolvers/index.ts
6
- _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
6
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
7
7
 
8
8
  // src/auto-import-components/resolvers/tdesign.ts
9
- _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
9
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
10
10
  var _shared = require('@weapp-core/shared');
11
11
 
12
12
  // src/auto-import-components/resolvers/json/tdesign.json
@@ -38,6 +38,8 @@ var tdesign_default = [
38
38
  "empty",
39
39
  "fab",
40
40
  "footer",
41
+ "form",
42
+ "form-item",
41
43
  "grid",
42
44
  "grid-item",
43
45
  "guide",
@@ -59,11 +61,13 @@ var tdesign_default = [
59
61
  "popup",
60
62
  "progress",
61
63
  "pull-down-refresh",
64
+ "qrcode",
62
65
  "radio",
63
66
  "radio-group",
64
67
  "rate",
65
68
  "result",
66
69
  "row",
70
+ "scroll-view",
67
71
  "search",
68
72
  "side-bar",
69
73
  "side-bar-item",
@@ -86,7 +90,8 @@ var tdesign_default = [
86
90
  "toast",
87
91
  "transition",
88
92
  "tree-select",
89
- "upload"
93
+ "upload",
94
+ "watermark"
90
95
  ];
91
96
 
92
97
  // src/auto-import-components/resolvers/tdesign.ts
@@ -124,10 +129,10 @@ var TDesignResolver = (opts) => {
124
129
  };
125
130
 
126
131
  // src/auto-import-components/resolvers/types.ts
127
- _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
132
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
128
133
 
129
134
  // src/auto-import-components/resolvers/vant.ts
130
- _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
135
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
131
136
 
132
137
 
133
138
  // src/auto-import-components/resolvers/json/vant.json
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "../chunk-YNQOGMVA.mjs";
3
+ } from "../chunk-BABWFO2J.mjs";
4
4
 
5
5
  // src/auto-import-components/resolvers/index.ts
6
6
  init_esm_shims();
@@ -38,6 +38,8 @@ var tdesign_default = [
38
38
  "empty",
39
39
  "fab",
40
40
  "footer",
41
+ "form",
42
+ "form-item",
41
43
  "grid",
42
44
  "grid-item",
43
45
  "guide",
@@ -59,11 +61,13 @@ var tdesign_default = [
59
61
  "popup",
60
62
  "progress",
61
63
  "pull-down-refresh",
64
+ "qrcode",
62
65
  "radio",
63
66
  "radio-group",
64
67
  "rate",
65
68
  "result",
66
69
  "row",
70
+ "scroll-view",
67
71
  "search",
68
72
  "side-bar",
69
73
  "side-bar-item",
@@ -86,7 +90,8 @@ var tdesign_default = [
86
90
  "toast",
87
91
  "transition",
88
92
  "tree-select",
89
- "upload"
93
+ "upload",
94
+ "watermark"
90
95
  ];
91
96
 
92
97
  // src/auto-import-components/resolvers/tdesign.ts
@@ -1,20 +1,20 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkSLKURDA7cjs = require('./chunk-SLKURDA7.cjs');
4
- require('./chunk-P7EZJV5N.cjs');
5
- require('./chunk-2B6AVWBB.cjs');
3
+ var _chunkX7NDPMSXcjs = require('./chunk-X7NDPMSX.cjs');
4
+ require('./chunk-G2OEXJ54.cjs');
5
+ require('./chunk-QE4CCPIM.cjs');
6
6
 
7
7
 
8
- var _chunk77N2IGMCcjs = require('./chunk-77N2IGMC.cjs');
8
+ var _chunkUUINGAX5cjs = require('./chunk-UUINGAX5.cjs');
9
9
 
10
10
  // src/auto-routes.ts
11
- _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
11
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
12
12
 
13
13
  // src/context/index.ts
14
- _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
14
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
15
15
 
16
16
  // src/context/CompilerContext.ts
17
- _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
17
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
18
18
 
19
19
  // src/auto-routes.ts
20
20
  function createGetter(resolver) {
@@ -24,7 +24,7 @@ function createGetter(resolver) {
24
24
  get: resolver
25
25
  };
26
26
  }
27
- var ctx = _chunkSLKURDA7cjs.getCompilerContext.call(void 0, );
27
+ var ctx = _chunkX7NDPMSXcjs.getCompilerContext.call(void 0, );
28
28
  var service = ctx.autoRoutesService;
29
29
  var routes = {};
30
30
  Object.defineProperties(routes, {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getCompilerContext
3
- } from "./chunk-NTLT7DQQ.mjs";
4
- import "./chunk-KODYLWCP.mjs";
5
- import "./chunk-U52F47CT.mjs";
3
+ } from "./chunk-MEDNWDUE.mjs";
4
+ import "./chunk-ADHMUOMA.mjs";
5
+ import "./chunk-6UMXPFUN.mjs";
6
6
  import {
7
7
  init_esm_shims
8
- } from "./chunk-YNQOGMVA.mjs";
8
+ } from "./chunk-BABWFO2J.mjs";
9
9
 
10
10
  // src/auto-routes.ts
11
11
  init_esm_shims();
@@ -2,20 +2,20 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkSLKURDA7cjs = require('./chunk-SLKURDA7.cjs');
5
+ var _chunkX7NDPMSXcjs = require('./chunk-X7NDPMSX.cjs');
6
6
 
7
7
 
8
- var _chunk77N2IGMCcjs = require('./chunk-77N2IGMC.cjs');
8
+ var _chunkUUINGAX5cjs = require('./chunk-UUINGAX5.cjs');
9
9
 
10
10
  // src/createContext.ts
11
- _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
11
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
12
12
  async function createCompilerContext(options) {
13
13
  const key = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _ => _.key]), () => ( "default"));
14
14
  if (!_optionalChain([options, 'optionalAccess', _2 => _2.key])) {
15
- _chunkSLKURDA7cjs.resetCompilerContext.call(void 0, key);
15
+ _chunkX7NDPMSXcjs.resetCompilerContext.call(void 0, key);
16
16
  }
17
- _chunkSLKURDA7cjs.setActiveCompilerContextKey.call(void 0, key);
18
- const ctx = _chunkSLKURDA7cjs.getCompilerContext.call(void 0, key);
17
+ _chunkX7NDPMSXcjs.setActiveCompilerContextKey.call(void 0, key);
18
+ const ctx = _chunkX7NDPMSXcjs.getCompilerContext.call(void 0, key);
19
19
  const { configService, scanService, autoRoutesService } = ctx;
20
20
  await configService.load(options);
21
21
  if (autoRoutesService) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-YNQOGMVA.mjs";
3
+ } from "./chunk-BABWFO2J.mjs";
4
4
 
5
5
  // src/types/external.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-YNQOGMVA.mjs";
3
+ } from "./chunk-BABWFO2J.mjs";
4
4
 
5
5
  // src/json.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-YNQOGMVA.mjs";
3
+ } from "./chunk-BABWFO2J.mjs";
4
4
 
5
5
  // src/config.ts
6
6
  init_esm_shims();
@@ -33,11 +33,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  mod
34
34
  ));
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.15.1_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.1_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js
37
37
  import path from "path";
38
38
  import { fileURLToPath } from "url";
39
39
  var init_esm_shims = __esm({
40
- "../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.15.1_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js"() {
40
+ "../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.1_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/esm_shims.js"() {
41
41
  "use strict";
42
42
  }
43
43
  });
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk77N2IGMCcjs = require('./chunk-77N2IGMC.cjs');
3
+ var _chunkUUINGAX5cjs = require('./chunk-UUINGAX5.cjs');
4
4
 
5
5
  // src/config.ts
6
- _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
6
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
7
7
  function defineConfig(config) {
8
8
  return config;
9
9
  }
@@ -3,7 +3,7 @@ import {
3
3
  __require,
4
4
  __toESM,
5
5
  init_esm_shims
6
- } from "./chunk-YNQOGMVA.mjs";
6
+ } from "./chunk-BABWFO2J.mjs";
7
7
 
8
8
  // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js
9
9
  var require_debug = __commonJS({
@@ -30147,8 +30147,10 @@ var components = [
30147
30147
  "ad",
30148
30148
  "ad-custom",
30149
30149
  "official-account",
30150
+ "official-account-publish",
30150
30151
  "open-data",
30151
30152
  "store-coupon",
30153
+ "store-gift",
30152
30154
  "store-home",
30153
30155
  "store-product",
30154
30156
  "web-view",
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk77N2IGMCcjs = require('./chunk-77N2IGMC.cjs');
3
+ var _chunkUUINGAX5cjs = require('./chunk-UUINGAX5.cjs');
4
4
 
5
5
  // src/json.ts
6
- _chunk77N2IGMCcjs.init_cjs_shims.call(void 0, );
6
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
7
7
  var defineAppJson = (config) => {
8
8
  return config;
9
9
  };
@@ -2,10 +2,10 @@ import {
2
2
  getCompilerContext,
3
3
  resetCompilerContext,
4
4
  setActiveCompilerContextKey
5
- } from "./chunk-NTLT7DQQ.mjs";
5
+ } from "./chunk-MEDNWDUE.mjs";
6
6
  import {
7
7
  init_esm_shims
8
- } from "./chunk-YNQOGMVA.mjs";
8
+ } from "./chunk-BABWFO2J.mjs";
9
9
 
10
10
  // src/createContext.ts
11
11
  init_esm_shims();
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunkUUINGAX5cjs = require('./chunk-UUINGAX5.cjs');
4
+
5
+ // src/types/external.ts
6
+ _chunkUUINGAX5cjs.init_cjs_shims.call(void 0, );
@@ -33,12 +33,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  mod
34
34
  ));
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.15.1_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.1_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
37
37
  var getImportMetaUrl, importMetaUrl;
38
38
  var init_cjs_shims = __esm({
39
- "../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.15.1_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.1_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js"() {
40
40
  "use strict";
41
- getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
41
+ getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.tagName.toUpperCase() === "SCRIPT" ? document.currentScript.src : new URL("main.js", document.baseURI).href;
42
42
  importMetaUrl = exports.importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
43
43
  }
44
44
  });