@vtj/pro 0.17.8 → 0.18.1

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 (78) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  8. package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
  9. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +3 -3
  10. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  11. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +3 -3
  12. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +5 -5
  13. package/dist/@vtj/materials/deps/uni-app/index.umd.js +1 -1
  14. package/dist/@vtj/materials/deps/uni-h5/index.umd.js +8 -8
  15. package/dist/@vtj/materials/deps/uni-h5/style.css +1 -1
  16. package/dist/@vtj/materials/deps/uni-h5-vue/index.umd.js +3 -3
  17. package/dist/@vtj/materials/deps/uni-h5-vue/uni-h5-vue.js +237 -35
  18. package/dist/@vtj/materials/deps/uni-h5-vue/uni-h5-vue.prod.js +3 -3
  19. package/dist/@vtj/materials/deps/uni-ui/index.umd.js +1 -1
  20. package/dist/@vtj/materials/deps/uni-ui/style.css +1 -1
  21. package/dist/@vtj/materials/deps/vue/vue.global.js +35 -12
  22. package/dist/@vtj/materials/deps/vue/vue.global.prod.js +5 -5
  23. package/dist/assets/{@element-plus-icons-vue-CXRJnQYo.js → @element-plus-icons-vue-DA02k83P.js} +1 -1
  24. package/dist/assets/{@vueuse-w7qmHU3H.js → @vueuse-SvwMwBjL.js} +1 -1
  25. package/dist/assets/Editor-Cp4OJwRP-BArfNxqi.js +437 -0
  26. package/dist/assets/{Editor-CPtl6CLF-NMmAvvAr.css → Editor-Cp4OJwRP-C4uXNc6V.css} +1 -1
  27. package/dist/assets/auth-DOpi_Pep.js +1 -0
  28. package/dist/assets/axios-Cc-15rbk.js +9 -0
  29. package/dist/assets/{element-plus-Bgelixwu.js → element-plus-_gYoEp33.js} +1 -1
  30. package/dist/assets/index-C14303GT.js +1 -0
  31. package/dist/assets/index-_h8C4pLC.js +2 -0
  32. package/dist/assets/{mockjs-C_1w07tn.js → mockjs-Cu-wxkKz.js} +5 -5
  33. package/dist/assets/page-Biw6vpZo.js +2 -0
  34. package/dist/assets/preview-DO5IPc9_.js +2 -0
  35. package/dist/assets/{uni-page-BrivKbVY.js → uni-page--udw_bNq.js} +1 -1
  36. package/dist/assets/utils-BDATXCnf.js +1 -0
  37. package/dist/assets/vue-fMktb-5o.js +35 -0
  38. package/dist/assets/{vue-router-B2eGcVGj.js → vue-router-CDqTjrgM.js} +1 -1
  39. package/dist/assets/{vxe-C7ZzhQxY.js → vxe-BulginLS.js} +1 -1
  40. package/dist/index.html +8 -8
  41. package/dist/uni/assets/@dcloudio-uni-h5-vue-DC2wuYrq.js +5 -0
  42. package/dist/uni/assets/@dcloudio-uni-shared-BN07FyFa.js +1 -0
  43. package/dist/uni/assets/axios-Cc-15rbk.js +9 -0
  44. package/dist/uni/assets/index-kFtL2kyW.js +89 -0
  45. package/dist/uni/assets/{vue-router-BuyipnGj.js → vue-router-Br7a6pVO.js} +1 -1
  46. package/dist/uni/index.html +5 -4
  47. package/package.json +16 -14
  48. package/src/.vtj/files/2kychh4s.json +25 -0
  49. package/src/.vtj/files/bkz0vptc.json +42 -0
  50. package/src/.vtj/histories/bkz0vptc/1kz1e16d.json +35 -0
  51. package/src/.vtj/histories/bkz0vptc/1kz1mo20.json +35 -0
  52. package/src/.vtj/histories/bkz0vptc/1kz1t7kp.json +35 -0
  53. package/src/.vtj/histories/bkz0vptc/2kz1evp1.json +35 -0
  54. package/src/.vtj/histories/bkz0vptc/2kz1tzul.json +35 -0
  55. package/src/.vtj/histories/bkz0vptc/2l41me17.json +47 -0
  56. package/src/.vtj/histories/bkz0vptc/3l41mi91.json +47 -0
  57. package/src/.vtj/histories/bkz0vptc/4l41ml44.json +47 -0
  58. package/src/.vtj/histories/bkz0vptc/ckz0wst3.json +35 -0
  59. package/src/.vtj/histories/bkz0vptc.json +50 -0
  60. package/src/.vtj/materials/@vtj/pro.json +2 -2
  61. package/src/.vtj/projects/@vtj/pro.json +53 -15
  62. package/src/App.vue +1 -7
  63. package/src/manifest.json +1 -1
  64. package/src/pages/2kychh4s.vue +12 -0
  65. package/src/pages/bkz0vptc.vue +20 -0
  66. package/src/pages.json +10 -1
  67. package/dist/assets/Editor-CPtl6CLF-CZK-iRjd.js +0 -546
  68. package/dist/assets/auth-DPcwTwML.js +0 -1
  69. package/dist/assets/index-B4KQg9YW.js +0 -1
  70. package/dist/assets/index-DoeCvv0h.js +0 -2
  71. package/dist/assets/page-DC0UpU2I.js +0 -2
  72. package/dist/assets/preview-BPqKBjpN.js +0 -2
  73. package/dist/assets/utils-BjOPfXIU.js +0 -1
  74. package/dist/assets/vue-BaPf1eHv.js +0 -35
  75. package/dist/uni/assets/@dcloudio-uni-h5-vue-CKVTfNUF.js +0 -5
  76. package/dist/uni/assets/@dcloudio-uni-shared-bWpOwtAM.js +0 -1
  77. package/dist/uni/assets/index-n3NvAQNA.js +0 -91
  78. package/src/.vtj/files/1kv36oys.json +0 -114
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.5.35
2
+ * vue v3.5.38
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -2243,8 +2243,9 @@ var Vue = (function (exports) {
2243
2243
  if (once && cb) {
2244
2244
  const _cb = cb;
2245
2245
  cb = (...args) => {
2246
- _cb(...args);
2246
+ const res = _cb(...args);
2247
2247
  watchHandle();
2248
+ return res;
2248
2249
  };
2249
2250
  }
2250
2251
  let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;
@@ -2254,7 +2255,7 @@ var Vue = (function (exports) {
2254
2255
  }
2255
2256
  if (cb) {
2256
2257
  const newValue = effect.run();
2257
- if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue))) {
2258
+ if (immediateFirstRun || deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue))) {
2258
2259
  if (cleanup) {
2259
2260
  cleanup();
2260
2261
  }
@@ -5039,13 +5040,21 @@ Server rendered element contains fewer child nodes than client vdom.`
5039
5040
  const loaded = ref(false);
5040
5041
  const error = ref();
5041
5042
  const delayed = ref(!!delay);
5043
+ let timeoutTimer;
5044
+ let delayTimer;
5045
+ onUnmounted(() => {
5046
+ if (timeoutTimer != null) clearTimeout(timeoutTimer);
5047
+ if (delayTimer != null) clearTimeout(delayTimer);
5048
+ });
5042
5049
  if (delay) {
5043
- setTimeout(() => {
5050
+ delayTimer = setTimeout(() => {
5051
+ if (instance.isUnmounted) return;
5044
5052
  delayed.value = false;
5045
5053
  }, delay);
5046
5054
  }
5047
5055
  if (timeout != null) {
5048
- setTimeout(() => {
5056
+ timeoutTimer = setTimeout(() => {
5057
+ if (instance.isUnmounted) return;
5049
5058
  if (!loaded.value && !error.value) {
5050
5059
  const err = new Error(
5051
5060
  `Async component timed out after ${timeout}ms.`
@@ -5056,11 +5065,16 @@ Server rendered element contains fewer child nodes than client vdom.`
5056
5065
  }, timeout);
5057
5066
  }
5058
5067
  load().then(() => {
5068
+ if (instance.isUnmounted) return;
5059
5069
  loaded.value = true;
5060
5070
  if (instance.parent && isKeepAlive(instance.parent.vnode)) {
5061
5071
  instance.parent.update();
5062
5072
  }
5063
5073
  }).catch((err) => {
5074
+ if (instance.isUnmounted) {
5075
+ pendingRequest = null;
5076
+ return;
5077
+ }
5064
5078
  onError(err);
5065
5079
  error.value = err;
5066
5080
  });
@@ -6630,13 +6644,20 @@ If you want to remount the same app, move your app creation logic into a factory
6630
6644
  return;
6631
6645
  }
6632
6646
  const rawProps = i.vnode.props;
6633
- if (!(rawProps && // check if parent has passed v-model
6634
- (name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps))) {
6647
+ const hasVModel = !!(rawProps && // check if parent has passed v-model
6648
+ (name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps));
6649
+ if (!hasVModel) {
6635
6650
  localValue = value;
6636
6651
  trigger();
6637
6652
  }
6638
6653
  i.emit(`update:${name}`, emittedValue);
6639
- if (hasChanged(value, emittedValue) && hasChanged(value, prevSetValue) && !hasChanged(emittedValue, prevEmittedValue)) {
6654
+ if (hasChanged(value, prevSetValue) && (hasChanged(value, emittedValue) && !hasChanged(emittedValue, prevEmittedValue) || // #13524: browsers differ in when they flush microtasks between
6655
+ // event listeners. If a v-model listener emits an intermediate value
6656
+ // and a following listener restores the model to its previous prop
6657
+ // value before parent updates are flushed, the parent render can be
6658
+ // deduped as having no prop change. Force a local update so DOM state
6659
+ // such as an input's value is synchronized back to the current model.
6660
+ hasVModel && prevSetValue !== EMPTY_OBJ && !hasChanged(emittedValue, localValue))) {
6640
6661
  trigger();
6641
6662
  }
6642
6663
  prevSetValue = value;
@@ -10856,7 +10877,7 @@ Component that was made reactive: `,
10856
10877
  return true;
10857
10878
  }
10858
10879
 
10859
- const version = "3.5.35";
10880
+ const version = "3.5.38";
10860
10881
  const warn = warn$1 ;
10861
10882
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10862
10883
  const devtools = devtools$1 ;
@@ -12301,7 +12322,8 @@ Expected function or array of functions, received type ${typeof value}.`
12301
12322
  if (children) {
12302
12323
  for (let i = 0; i < children.length; i++) {
12303
12324
  const child = children[i];
12304
- if (child.el && child.el instanceof Element) {
12325
+ if (child.el && child.el instanceof Element && // Hidden v-show nodes have no previous layout box to animate from.
12326
+ !child.el[vShowHidden]) {
12305
12327
  prevChildren.push(child);
12306
12328
  setTransitionHooks(
12307
12329
  child,
@@ -14540,7 +14562,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
14540
14562
  }
14541
14563
  },
14542
14564
  oncdata(start, end) {
14543
- if (stack[0].ns !== 0) {
14565
+ if ((stack[0] ? stack[0].ns : currentOptions.ns) !== 0) {
14544
14566
  onText(getSlice(start, end), start, end);
14545
14567
  } else {
14546
14568
  emitError(1, start - 9);
@@ -15240,6 +15262,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
15240
15262
  imports: [],
15241
15263
  cached: [],
15242
15264
  constantCache: /* @__PURE__ */ new WeakMap(),
15265
+ vForMemoKeyedNodes: /* @__PURE__ */ new WeakSet(),
15243
15266
  temps: 0,
15244
15267
  identifiers: /* @__PURE__ */ Object.create(null),
15245
15268
  scopes: {
@@ -16091,7 +16114,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
16091
16114
  const exp = dir.exp;
16092
16115
  const arg = dir.arg;
16093
16116
  if (exp && exp.type === 4 && !(dir.name === "on" && arg) && // key has been processed in transformFor(vMemo + vFor)
16094
- !(memo && arg && arg.type === 4 && arg.content === "key")) {
16117
+ !(memo && context.vForMemoKeyedNodes.has(node) && arg && arg.type === 4 && arg.content === "key")) {
16095
16118
  dir.exp = processExpression(
16096
16119
  exp,
16097
16120
  context,