weapp-vite 6.1.5 → 6.1.7

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.
Files changed (33) hide show
  1. package/client.d.ts +9 -0
  2. package/dist/auto-routes.cjs +4 -4
  3. package/dist/auto-routes.mjs +3 -3
  4. package/dist/{chunk-AFJRLGGM.mjs → chunk-6A45KJFL.mjs} +335 -68
  5. package/dist/{chunk-ZYMEFZ75.mjs → chunk-6F5BZCDQ.mjs} +5890 -4207
  6. package/dist/{chunk-TVEKQD2W.mjs → chunk-CJBPYXRU.mjs} +19 -7
  7. package/dist/{chunk-GRW3TYTK.mjs → chunk-JTGH3PEL.mjs} +1 -1
  8. package/dist/{chunk-PO65WBH3.cjs → chunk-NPTVRYTZ.cjs} +5962 -4279
  9. package/dist/{chunk-FDYEZH5I.cjs → chunk-QF5CWMA4.cjs} +19 -7
  10. package/dist/{chunk-TBP2DJFV.cjs → chunk-XW6LOJ66.cjs} +4 -4
  11. package/dist/{chunk-DNJSS66X.cjs → chunk-XXLT6UYQ.cjs} +316 -49
  12. package/dist/cli.cjs +61 -61
  13. package/dist/cli.mjs +4 -4
  14. package/dist/{config-D79Qh21D.d.ts → config-C5__FZs4.d.ts} +69 -2
  15. package/dist/{config-lxLI9teg.d.cts → config-rbHVRqZv.d.cts} +69 -2
  16. package/dist/config.d.cts +2 -1
  17. package/dist/config.d.ts +2 -1
  18. package/dist/file-2WSZZOYP.cjs +29 -0
  19. package/dist/{file-LUMNS4FP.mjs → file-5436MJMR.mjs} +1 -1
  20. package/dist/index.cjs +5 -5
  21. package/dist/index.d.cts +2 -2
  22. package/dist/index.d.ts +2 -2
  23. package/dist/index.mjs +4 -4
  24. package/dist/json.d.cts +2 -1
  25. package/dist/json.d.ts +2 -1
  26. package/dist/jsonMacros-7PZCQO67.cjs +10 -0
  27. package/dist/{jsonMacros-6L5CHHKN.mjs → jsonMacros-Q2Y5TVOJ.mjs} +2 -2
  28. package/dist/types.d.cts +1 -1
  29. package/dist/types.d.ts +1 -1
  30. package/modules/analyze-dashboard/assets/vue.js +1 -1
  31. package/package.json +7 -7
  32. package/dist/file-XA63IVYY.cjs +0 -29
  33. package/dist/jsonMacros-KRLKHAGM.cjs +0 -10
package/client.d.ts CHANGED
@@ -46,3 +46,12 @@ declare function definePageJson(config: __WEAPP_PAGE_JSON__): __WEAPP_PAGE_JSON_
46
46
  declare function defineComponentJson(config: () => __WEAPP_COMPONENT_JSON__): () => __WEAPP_COMPONENT_JSON__
47
47
  declare function defineComponentJson(config: () => Promise<__WEAPP_COMPONENT_JSON__>): () => Promise<__WEAPP_COMPONENT_JSON__>
48
48
  declare function defineComponentJson(config: __WEAPP_COMPONENT_JSON__): __WEAPP_COMPONENT_JSON__
49
+
50
+ declare module 'vue' {
51
+ interface ComponentCustomOptions {
52
+ /**
53
+ * Mini-program Component options (multipleSlots/styleIsolation/etc).
54
+ */
55
+ options?: WechatMiniprogram.Component.ComponentOptions
56
+ }
57
+ }
@@ -1,8 +1,8 @@
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 _chunkPO65WBH3cjs = require('./chunk-PO65WBH3.cjs');
4
- require('./chunk-DNJSS66X.cjs');
5
- require('./chunk-FDYEZH5I.cjs');
3
+ var _chunkNPTVRYTZcjs = require('./chunk-NPTVRYTZ.cjs');
4
+ require('./chunk-XXLT6UYQ.cjs');
5
+ require('./chunk-QF5CWMA4.cjs');
6
6
  require('./chunk-HL25C7YQ.cjs');
7
7
  require('./chunk-2CHNKORP.cjs');
8
8
 
@@ -26,7 +26,7 @@ function createGetter(resolver) {
26
26
  get: resolver
27
27
  };
28
28
  }
29
- var ctx = _chunkPO65WBH3cjs.getCompilerContext.call(void 0, );
29
+ var ctx = _chunkNPTVRYTZcjs.getCompilerContext.call(void 0, );
30
30
  var service = ctx.autoRoutesService;
31
31
  var routes = {};
32
32
  Object.defineProperties(routes, {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getCompilerContext
3
- } from "./chunk-ZYMEFZ75.mjs";
4
- import "./chunk-AFJRLGGM.mjs";
5
- import "./chunk-TVEKQD2W.mjs";
3
+ } from "./chunk-6F5BZCDQ.mjs";
4
+ import "./chunk-6A45KJFL.mjs";
5
+ import "./chunk-CJBPYXRU.mjs";
6
6
  import "./chunk-AZBN7A5I.mjs";
7
7
  import "./chunk-V5RMQ6TF.mjs";
8
8
  import {