@highstate/designer 0.20.0 → 0.21.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 (224) hide show
  1. package/.output/nitro.json +4 -4
  2. package/.output/public/_nuxt/{f3TOpYbw.js → -OnKOwAh.js} +1 -1
  3. package/.output/public/_nuxt/32ctXXKs.js +1 -0
  4. package/.output/public/_nuxt/{DCR009rv.js → 5gjbd9sK.js} +1 -1
  5. package/.output/public/_nuxt/{DQHHT9y-.js → 9OHRRPkh.js} +1 -1
  6. package/.output/public/_nuxt/{Dbwml2gB.js → B-dJABhs.js} +1 -1
  7. package/.output/public/_nuxt/{rcFevLEP.js → B2SoM2pd.js} +1 -1
  8. package/.output/public/_nuxt/{G13IRnB2.js → B4FDp1sn.js} +1 -1
  9. package/.output/public/_nuxt/{BxaP9l2T.js → B7RpoNQl.js} +1 -1
  10. package/.output/public/_nuxt/BA47KaF1.js +1 -0
  11. package/.output/public/_nuxt/{Cm-2nZ05.js → BArXRmKu.js} +1 -1
  12. package/.output/public/_nuxt/{ziXKbM2N.js → BCJKqJxW.js} +1 -1
  13. package/.output/public/_nuxt/{BDs6uo3D.js → BD_Kvn-W.js} +1 -1
  14. package/.output/public/_nuxt/{CV5MeYf9.js → BIPWeF69.js} +1 -1
  15. package/.output/public/_nuxt/{DxERyYWQ.js → BKIVPvZX.js} +1 -1
  16. package/.output/public/_nuxt/BN7gUcg9.js +1 -0
  17. package/.output/public/_nuxt/{CcOKGYBt.js → BTd2ZN65.js} +1 -1
  18. package/.output/public/_nuxt/{D6fh7rEe.js → BXphdu9w.js} +1 -1
  19. package/.output/public/_nuxt/{BuJgCY_C.js → BYmSxWA_.js} +1 -1
  20. package/.output/public/_nuxt/{BkNNRtnm.js → BdRuKvw2.js} +1 -1
  21. package/.output/public/_nuxt/{BA0jw7CM.js → Bdd5S2WL.js} +1 -1
  22. package/.output/public/_nuxt/BeH2EWoN.js +1 -0
  23. package/.output/public/_nuxt/{CPZSvMBB.js → BhozkjGO.js} +1 -1
  24. package/.output/public/_nuxt/{xp27HhqZ.js → Bl_Sz9PU.js} +1 -1
  25. package/.output/public/_nuxt/{ChaZkl1J.js → Bs8TB6Bu.js} +1 -1
  26. package/.output/public/_nuxt/{DsS90Fp6.js → BtrNScOx.js} +1 -1
  27. package/.output/public/_nuxt/{DyMmfYiE.js → Bu1xs0Fv.js} +1 -1
  28. package/.output/public/_nuxt/{o_m1mZtJ.js → BupMEc6X.js} +1 -1
  29. package/.output/public/_nuxt/{GDxZ_Nvm.js → Bv_vOb-Y.js} +1 -1
  30. package/.output/public/_nuxt/{rgN_MdZl.js → BwKAHWnp.js} +1 -1
  31. package/.output/public/_nuxt/{CaJ-zn_Z.js → ByE1aAlg.js} +1 -1
  32. package/.output/public/_nuxt/{BDAHnC4j.js → BzhaMbyl.js} +1 -1
  33. package/.output/public/_nuxt/{Aopv2gwH.js → C2zyO9uX.js} +1 -1
  34. package/.output/public/_nuxt/{DOMRsNpU.js → C4XpvUuq.js} +1 -1
  35. package/.output/public/_nuxt/C5BYcBs_.js +1 -0
  36. package/.output/public/_nuxt/{tsyQDnRt.js → C973_vs5.js} +1 -1
  37. package/.output/public/_nuxt/{BlfjmxyP.js → CBIEPWAA.js} +1 -1
  38. package/.output/public/_nuxt/{BUNf2Yb8.js → CBVcjGJL.js} +1 -1
  39. package/.output/public/_nuxt/CENFIVCM.js +1 -0
  40. package/.output/public/_nuxt/{DCinzvm1.js → CJN4g-3R.js} +1 -1
  41. package/.output/public/_nuxt/{DCBCRx0O.js → CPsHsqGU.js} +1 -1
  42. package/.output/public/_nuxt/{DWQRqdcR.js → CTRkBkra.js} +1 -1
  43. package/.output/public/_nuxt/{BLF3u89x.js → CYL3VlR9.js} +1 -1
  44. package/.output/public/_nuxt/CYpkKp66.js +1 -0
  45. package/.output/public/_nuxt/{D27ZAKIj.js → CaehGOgh.js} +1 -1
  46. package/.output/public/_nuxt/{CxEW7TG8.js → CemiMtCX.js} +1 -1
  47. package/.output/public/_nuxt/{CGscLIrv.js → CgK0fS9t.js} +1 -1
  48. package/.output/public/_nuxt/{n0RAZLbO.js → CmJE87KM.js} +1 -1
  49. package/.output/public/_nuxt/Cn-bp-IR.js +1 -0
  50. package/.output/public/_nuxt/{xdsXwj_J.js → CnhVSb6R.js} +1 -1
  51. package/.output/public/_nuxt/{9I37tBe7.js → CpGRan2R.js} +1 -1
  52. package/.output/public/_nuxt/{C1FLL1Qz.js → CqQg8Ldy.js} +1 -1
  53. package/.output/public/_nuxt/{BJK6uMxG.js → Cs-GjQ8R.js} +1 -1
  54. package/.output/public/_nuxt/{BPcwi1q2.js → CtbC3i8L.js} +1 -1
  55. package/.output/public/_nuxt/{xA6NntuA.js → CvSiusML.js} +1 -1
  56. package/.output/public/_nuxt/CxoCegAs.js +13 -0
  57. package/.output/public/_nuxt/{BpkvlDNi.js → Cz-197mS.js} +1 -1
  58. package/.output/public/_nuxt/Cz2AlsmD.js +1 -0
  59. package/.output/public/_nuxt/{CJWmG4YP.js → D-7HtdRe.js} +1 -1
  60. package/.output/public/_nuxt/{Dg5xB15N.js → D82vCrfD.js} +1 -1
  61. package/.output/public/_nuxt/D8l8udqQ.js +1 -0
  62. package/.output/public/_nuxt/{mUFnM-_q.js → DCK6hB22.js} +1 -1
  63. package/.output/public/_nuxt/{RNghxpo_.js → DDvzSYfr.js} +1 -1
  64. package/.output/public/_nuxt/{BEEt8Am7.js → DEtIJe2u.js} +1 -1
  65. package/.output/public/_nuxt/{BDa1f6PF.js → DHJ62FKo.js} +1 -1
  66. package/.output/public/_nuxt/{DiTMzCP2.js → DKWXhhCy.js} +1 -1
  67. package/.output/public/_nuxt/DPOp833l.js +1 -0
  68. package/.output/public/_nuxt/DRJZaHtK.js +1 -0
  69. package/.output/public/_nuxt/{RCBWmVHz.js → DSDbyhpJ.js} +1 -1
  70. package/.output/public/_nuxt/{TsXTqZ29.js → DSeZwD4N.js} +1 -1
  71. package/.output/public/_nuxt/{DNqd6Nek.js → DSpiceQe.js} +1 -1
  72. package/.output/public/_nuxt/{CzSiA7V6.js → DTPYfUid.js} +1 -1
  73. package/.output/public/_nuxt/{BCVaR2pQ.js → DUHba1vY.js} +1 -1
  74. package/.output/public/_nuxt/{D2obegTF.js → DXyfavJr.js} +1 -1
  75. package/.output/public/_nuxt/DYE7WIF3.js +1 -0
  76. package/.output/public/_nuxt/{ZbicA1ry.js → D_wY_uke.js} +1 -1
  77. package/.output/public/_nuxt/{DKhcu7kD.js → Dahes9VH.js} +1 -1
  78. package/.output/public/_nuxt/{D-wGZMZP.js → DdvHdmGh.js} +1 -1
  79. package/.output/public/_nuxt/DgsIRcX7.js +1 -0
  80. package/.output/public/_nuxt/{BtvRca6l.js → DjAJT7YJ.js} +1 -1
  81. package/.output/public/_nuxt/{DzWdbJvx.js → Djg8J2AC.js} +1 -1
  82. package/.output/public/_nuxt/{CudFwYib.js → DkkrdwgN.js} +1 -1
  83. package/.output/public/_nuxt/{pxXmJ8QX.js → DnpKvmH_.js} +1 -1
  84. package/.output/public/_nuxt/{B8nw2aST.js → DrWe3t51.js} +1 -1
  85. package/.output/public/_nuxt/{D2aToa54.js → DsG1SoRB.js} +1 -1
  86. package/.output/public/_nuxt/{8MSfy8uY.js → DtBrxin9.js} +1 -1
  87. package/.output/public/_nuxt/{B13uiJCv.js → EnN6XTXK.js} +1 -1
  88. package/.output/public/_nuxt/{DJN0y8jO.js → Fcs-0n6A.js} +1 -1
  89. package/.output/public/_nuxt/{DQwYQDb2.js → FtFNcQmh.js} +1 -1
  90. package/.output/public/_nuxt/{C8lm7lgC.js → GXzlut8R.js} +1 -1
  91. package/.output/public/_nuxt/{xrNU8mHG.js → Lks7C8cK.js} +1 -1
  92. package/.output/public/_nuxt/M0WOzN-S.js +269 -0
  93. package/.output/public/_nuxt/{d-NZQb9b.js → OuCcJFrZ.js} +1 -1
  94. package/.output/public/_nuxt/{GgtqCdye.js → UD_auLNX.js} +1 -1
  95. package/.output/public/_nuxt/Ve4PFQV2.js +1 -0
  96. package/.output/public/_nuxt/{57B6Rca8.js → ZpmLW6rw.js} +1 -1
  97. package/.output/public/_nuxt/_H4v1dQx.js +1 -0
  98. package/.output/public/_nuxt/builds/latest.json +1 -1
  99. package/.output/public/_nuxt/builds/meta/d356de5d-6230-4e66-aba2-c48f455ae207.json +1 -0
  100. package/.output/public/_nuxt/builds/meta/ed797280-2bf0-44e6-a601-2ff2462bfbbc.json +1 -0
  101. package/.output/public/_nuxt/{CPpO8vcZ.js → c6k-jVO-.js} +1 -1
  102. package/.output/public/_nuxt/eo99z4R2.js +1 -0
  103. package/.output/public/_nuxt/error-404.iOXvqd5J.css +1 -0
  104. package/.output/public/_nuxt/error-500.D0BgXBui.css +1 -0
  105. package/.output/public/_nuxt/graph-resolver-E9RSC1Ga.js +180 -0
  106. package/.output/public/_nuxt/{DWa2aw6r.js → hAFXcJ2_.js} +1 -1
  107. package/.output/public/_nuxt/monaco-editor.DOXZIHvr.css +1 -0
  108. package/.output/public/_nuxt/oH_c3LbQ.js +1 -0
  109. package/.output/public/_nuxt/rZm6bMo-.js +1 -0
  110. package/.output/public/_nuxt/{ByBNG4eo.js → rscZxuQ2.js} +1 -1
  111. package/.output/public/_nuxt/sB5TSp0H.js +18 -0
  112. package/.output/public/_nuxt/{DOPqH6_T.js → wCosSBIO.js} +1 -1
  113. package/.output/public/_nuxt/{DRfxs3PN.js → xnReCuE4.js} +1 -1
  114. package/.output/public/_nuxt/{D5z-4QVk.js → y0GN4iGv.js} +1 -1
  115. package/.output/public/_nuxt/{yaml.worker-C1Cl1y5J.js → yaml.worker-CYOhFCVP.js} +248 -252
  116. package/.output/server/index.mjs +3959 -9221
  117. package/.output/server/index.mjs.map +1 -1
  118. package/.output/server/node_modules/@babel/parser/lib/index.js +1 -1
  119. package/.output/server/node_modules/@babel/parser/package.json +1 -1
  120. package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/index.cjs +57 -0
  121. package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/index.mjs +2 -2
  122. package/.output/server/node_modules/@trpc/server/dist/codes-BfZsPdy-.cjs +222 -0
  123. package/.output/server/node_modules/@trpc/server/dist/{contentTypeParsers-SN4WL9ze.mjs → contentTypeParsers-iAFF_pJG.cjs} +7 -2
  124. package/.output/server/node_modules/@trpc/server/dist/getErrorShape-MR4DZeb7.cjs +341 -0
  125. package/.output/server/node_modules/@trpc/server/dist/http.cjs +14 -0
  126. package/.output/server/node_modules/@trpc/server/dist/index.cjs +22 -0
  127. package/.output/server/node_modules/@trpc/server/dist/index.mjs +2 -2
  128. package/.output/server/node_modules/@trpc/server/dist/{initTRPC-RoZMIBeA.mjs → initTRPC-B1ggxyJl.mjs} +2 -2
  129. package/.output/server/node_modules/@trpc/server/dist/initTRPC-BXPPV9Tx.cjs +416 -0
  130. package/.output/server/node_modules/@trpc/server/dist/observable/index.cjs +13 -0
  131. package/.output/server/node_modules/@trpc/server/dist/observable-B1Nk6r1H.cjs +181 -0
  132. package/.output/server/node_modules/@trpc/server/dist/{observable-CUiPknO-.mjs → observable-BVzLuBs6.cjs} +42 -8
  133. package/.output/server/node_modules/@trpc/server/dist/{parseTRPCMessage-CTow-umk.mjs → parseTRPCMessage-7Ltmq-Fb.cjs} +14 -4
  134. package/.output/server/node_modules/@trpc/server/dist/resolveResponse-B0CCg8nq.cjs +2365 -0
  135. package/.output/server/node_modules/@trpc/server/dist/{resolveResponse-BVDlNZwN.mjs → resolveResponse-C5I6V_wc.mjs} +67 -18
  136. package/.output/server/node_modules/@trpc/server/dist/rpc.cjs +6 -0
  137. package/.output/server/node_modules/@trpc/server/dist/{tracked-Bjtgv3wJ.mjs → tracked-DiE3uR1B.mjs} +12 -3
  138. package/.output/server/node_modules/@trpc/server/dist/tracked-Dj_dpOJE.cjs +486 -0
  139. package/.output/server/node_modules/@trpc/server/package.json +15 -5
  140. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +2 -2
  141. package/.output/server/node_modules/@vue/compiler-core/package.json +3 -3
  142. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +1 -1
  143. package/.output/server/node_modules/@vue/compiler-dom/package.json +3 -3
  144. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1 -1
  145. package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
  146. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +31 -13
  147. package/.output/server/node_modules/@vue/reactivity/package.json +2 -2
  148. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +144 -81
  149. package/.output/server/node_modules/@vue/runtime-core/package.json +3 -3
  150. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +70 -9
  151. package/.output/server/node_modules/@vue/runtime-dom/package.json +4 -4
  152. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +6 -2
  153. package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
  154. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +1 -1
  155. package/.output/server/node_modules/@vue/shared/package.json +1 -1
  156. package/.output/server/node_modules/devalue/package.json +5 -2
  157. package/.output/server/node_modules/devalue/src/base64.js +46 -96
  158. package/.output/server/node_modules/devalue/src/parse.js +32 -10
  159. package/.output/server/node_modules/devalue/src/stringify.js +13 -28
  160. package/.output/server/node_modules/devalue/src/uneval.js +117 -55
  161. package/.output/server/node_modules/devalue/src/utils.js +3 -7
  162. package/.output/server/node_modules/hookable/dist/index.mjs +5 -14
  163. package/.output/server/node_modules/hookable/package.json +24 -23
  164. package/.output/server/node_modules/trpc-bun-adapter/dist/index.js +406 -0
  165. package/.output/server/node_modules/trpc-bun-adapter/package.json +44 -0
  166. package/.output/server/node_modules/unhead/dist/plugins.mjs +3 -3
  167. package/.output/server/node_modules/unhead/dist/server.mjs +2 -2
  168. package/.output/server/node_modules/unhead/dist/shared/{unhead.eK9_7LaY.mjs → unhead.B5FWS6X0.mjs} +22 -13
  169. package/.output/server/node_modules/unhead/dist/shared/{unhead.BFfcxOoW.mjs → unhead.Ct24BOby.mjs} +4 -2
  170. package/.output/server/node_modules/unhead/dist/shared/unhead.D4vSFytZ.mjs +236 -0
  171. package/.output/server/node_modules/unhead/dist/shared/{unhead.ckV6dpEQ.mjs → unhead.TxTMM7cM.mjs} +1 -1
  172. package/.output/server/node_modules/unhead/dist/utils.mjs +1 -1
  173. package/.output/server/node_modules/unhead/package.json +1 -1
  174. package/.output/server/node_modules/vue/dist/vue.cjs.js +1 -1
  175. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +1 -1
  176. package/.output/server/node_modules/vue/package.json +7 -7
  177. package/.output/server/package.json +16 -16
  178. package/package.json +20 -14
  179. package/.output/public/_nuxt/83L43bj1.js +0 -1
  180. package/.output/public/_nuxt/B93PlW-d.js +0 -1
  181. package/.output/public/_nuxt/BE_Meo09.js +0 -269
  182. package/.output/public/_nuxt/Ba13S78F.js +0 -1
  183. package/.output/public/_nuxt/BhRPY-oY.js +0 -1
  184. package/.output/public/_nuxt/Bhrxn6JZ.js +0 -1
  185. package/.output/public/_nuxt/Bo8jzlL1.js +0 -18
  186. package/.output/public/_nuxt/BrzmwbiE.js +0 -1
  187. package/.output/public/_nuxt/C-sUppwS.js +0 -1
  188. package/.output/public/_nuxt/C47S-Tmv.js +0 -1
  189. package/.output/public/_nuxt/CMjwMIkn.js +0 -1
  190. package/.output/public/_nuxt/CQ8jqdy-.js +0 -1
  191. package/.output/public/_nuxt/CjoLj4QM.js +0 -1
  192. package/.output/public/_nuxt/D91rOou-.js +0 -13
  193. package/.output/public/_nuxt/DMwsHuHA.js +0 -1
  194. package/.output/public/_nuxt/DYoxhk2S.js +0 -1
  195. package/.output/public/_nuxt/Dv7Oe6Be.js +0 -1
  196. package/.output/public/_nuxt/VCDPK7BO.js +0 -1
  197. package/.output/public/_nuxt/builds/meta/a1fec520-0c95-4ae0-af5e-964780fad341.json +0 -1
  198. package/.output/public/_nuxt/error-404.X7H_YhdC.css +0 -1
  199. package/.output/public/_nuxt/error-500.BOQe1fsk.css +0 -1
  200. package/.output/public/_nuxt/graph-resolver-DKNtntr2.js +0 -180
  201. package/.output/public/_nuxt/monaco-editor.D_J4ItrK.css +0 -1
  202. package/.output/server/node_modules/@trpc/server/dist/adapters/ws.mjs +0 -15
  203. package/.output/server/node_modules/@trpc/server/dist/node-http-DtA2iLK9.mjs +0 -224
  204. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import-9NNw8uQM.mjs +0 -31
  205. package/.output/server/node_modules/@trpc/server/dist/ws-CJgZE7Hg.mjs +0 -460
  206. package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +0 -148
  207. package/.output/server/node_modules/ws/lib/buffer-util.js +0 -131
  208. package/.output/server/node_modules/ws/lib/constants.js +0 -19
  209. package/.output/server/node_modules/ws/lib/event-target.js +0 -292
  210. package/.output/server/node_modules/ws/lib/extension.js +0 -203
  211. package/.output/server/node_modules/ws/lib/limiter.js +0 -55
  212. package/.output/server/node_modules/ws/lib/permessage-deflate.js +0 -528
  213. package/.output/server/node_modules/ws/lib/receiver.js +0 -706
  214. package/.output/server/node_modules/ws/lib/sender.js +0 -602
  215. package/.output/server/node_modules/ws/lib/stream.js +0 -161
  216. package/.output/server/node_modules/ws/lib/subprotocol.js +0 -62
  217. package/.output/server/node_modules/ws/lib/validation.js +0 -152
  218. package/.output/server/node_modules/ws/lib/websocket-server.js +0 -554
  219. package/.output/server/node_modules/ws/lib/websocket.js +0 -1393
  220. package/.output/server/node_modules/ws/package.json +0 -69
  221. package/.output/server/node_modules/ws/wrapper.mjs +0 -8
  222. package/LICENSE +0 -21
  223. /package/.output/public/_nuxt/{XEA9GSJd.js → B69Z0Xk1.js} +0 -0
  224. /package/.output/server/node_modules/@trpc/server/dist/{http-CWyjOa1l.mjs → http-DXy3XyhL.cjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/reactivity v3.5.28
2
+ * @vue/reactivity v3.5.33
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -102,7 +102,18 @@ class EffectScope {
102
102
  */
103
103
  off() {
104
104
  if (this._on > 0 && --this._on === 0) {
105
- activeEffectScope = this.prevScope;
105
+ if (activeEffectScope === this) {
106
+ activeEffectScope = this.prevScope;
107
+ } else {
108
+ let current = activeEffectScope;
109
+ while (current) {
110
+ if (current.prevScope === this) {
111
+ current.prevScope = this.prevScope;
112
+ break;
113
+ }
114
+ current = current.prevScope;
115
+ }
116
+ }
106
117
  this.prevScope = void 0;
107
118
  }
108
119
  }
@@ -855,10 +866,17 @@ function apply(self, method, fn, thisArg, wrappedRetFn, args) {
855
866
  }
856
867
  function reduce(self, method, fn, args) {
857
868
  const arr = shallowReadArray(self);
869
+ const needsWrap = arr !== self && !isShallow(self);
858
870
  let wrappedFn = fn;
871
+ let wrapInitialAccumulator = false;
859
872
  if (arr !== self) {
860
- if (!isShallow(self)) {
873
+ if (needsWrap) {
874
+ wrapInitialAccumulator = args.length === 0;
861
875
  wrappedFn = function(acc, item, index) {
876
+ if (wrapInitialAccumulator) {
877
+ wrapInitialAccumulator = false;
878
+ acc = toWrapped(self, acc);
879
+ }
862
880
  return fn.call(this, acc, toWrapped(self, item), index, self);
863
881
  };
864
882
  } else if (fn.length > 3) {
@@ -867,7 +885,8 @@ function reduce(self, method, fn, args) {
867
885
  };
868
886
  }
869
887
  }
870
- return arr[method](wrappedFn, ...args);
888
+ const result = arr[method](wrappedFn, ...args);
889
+ return wrapInitialAccumulator ? toWrapped(self, result) : result;
871
890
  }
872
891
  function searchProxy(self, method, args) {
873
892
  const arr = toRaw(self);
@@ -1132,15 +1151,14 @@ function createInstrumentations(readonly, shallow) {
1132
1151
  clear: createReadonlyMethod("clear")
1133
1152
  } : {
1134
1153
  add(value) {
1135
- if (!shallow && !isShallow(value) && !isReadonly(value)) {
1136
- value = toRaw(value);
1137
- }
1138
1154
  const target = toRaw(this);
1139
1155
  const proto = getProto(target);
1140
- const hadKey = proto.has.call(target, value);
1156
+ const rawValue = toRaw(value);
1157
+ const valueToAdd = !shallow && !isShallow(value) && !isReadonly(value) ? rawValue : value;
1158
+ const hadKey = proto.has.call(target, valueToAdd) || shared.hasChanged(value, valueToAdd) && proto.has.call(target, value) || shared.hasChanged(rawValue, valueToAdd) && proto.has.call(target, rawValue);
1141
1159
  if (!hadKey) {
1142
- target.add(value);
1143
- trigger(target, "add", value, value);
1160
+ target.add(valueToAdd);
1161
+ trigger(target, "add", valueToAdd, valueToAdd);
1144
1162
  }
1145
1163
  return this;
1146
1164
  },
@@ -1456,16 +1474,16 @@ function toRefs(object) {
1456
1474
  return ret;
1457
1475
  }
1458
1476
  class ObjectRefImpl {
1459
- constructor(_object, _key, _defaultValue) {
1477
+ constructor(_object, key, _defaultValue) {
1460
1478
  this._object = _object;
1461
- this._key = _key;
1462
1479
  this._defaultValue = _defaultValue;
1463
1480
  this["__v_isRef"] = true;
1464
1481
  this._value = void 0;
1482
+ this._key = shared.isSymbol(key) ? key : String(key);
1465
1483
  this._raw = toRaw(_object);
1466
1484
  let shallow = true;
1467
1485
  let obj = _object;
1468
- if (!shared.isArray(_object) || !shared.isIntegerKey(String(_key))) {
1486
+ if (!shared.isArray(_object) || shared.isSymbol(this._key) || !shared.isIntegerKey(this._key)) {
1469
1487
  do {
1470
1488
  shallow = !isProxy(obj) || isShallow(obj);
1471
1489
  } while (shallow && (obj = obj["__v_raw"]));
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/reactivity",
3
- "version": "3.5.28",
3
+ "version": "3.5.33",
4
4
  "description": "@vue/reactivity",
5
5
  "main": "index.js",
6
6
  "module": "dist/reactivity.esm-bundler.js",
@@ -50,6 +50,6 @@
50
50
  },
51
51
  "homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
52
52
  "dependencies": {
53
- "@vue/shared": "3.5.28"
53
+ "@vue/shared": "3.5.33"
54
54
  }
55
55
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-core v3.5.28
2
+ * @vue/runtime-core v3.5.33
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -512,6 +512,7 @@ function createPathGetter(ctx, path) {
512
512
  };
513
513
  }
514
514
 
515
+ const pendingMounts = /* @__PURE__ */ new WeakMap();
515
516
  const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
516
517
  const isTeleport = (type) => type.__isTeleport;
517
518
  const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
@@ -539,81 +540,82 @@ const TeleportImpl = {
539
540
  mc: mountChildren,
540
541
  pc: patchChildren,
541
542
  pbc: patchBlockChildren,
542
- o: { insert, querySelector, createText, createComment }
543
+ o: { insert, querySelector, createText, createComment, parentNode }
543
544
  } = internals;
544
545
  const disabled = isTeleportDisabled(n2.props);
545
- let { shapeFlag, children, dynamicChildren } = n2;
546
+ let { dynamicChildren } = n2;
547
+ const mount = (vnode, container2, anchor2) => {
548
+ if (vnode.shapeFlag & 16) {
549
+ mountChildren(
550
+ vnode.children,
551
+ container2,
552
+ anchor2,
553
+ parentComponent,
554
+ parentSuspense,
555
+ namespace,
556
+ slotScopeIds,
557
+ optimized
558
+ );
559
+ }
560
+ };
561
+ const mountToTarget = (vnode = n2) => {
562
+ const disabled2 = isTeleportDisabled(vnode.props);
563
+ const target = vnode.target = resolveTarget(vnode.props, querySelector);
564
+ const targetAnchor = prepareAnchor(target, vnode, createText, insert);
565
+ if (target) {
566
+ if (namespace !== "svg" && isTargetSVG(target)) {
567
+ namespace = "svg";
568
+ } else if (namespace !== "mathml" && isTargetMathML(target)) {
569
+ namespace = "mathml";
570
+ }
571
+ if (parentComponent && parentComponent.isCE) {
572
+ (parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
573
+ }
574
+ if (!disabled2) {
575
+ mount(vnode, target, targetAnchor);
576
+ updateCssVars(vnode, false);
577
+ }
578
+ }
579
+ };
580
+ const queuePendingMount = (vnode) => {
581
+ const mountJob = () => {
582
+ if (pendingMounts.get(vnode) !== mountJob) return;
583
+ pendingMounts.delete(vnode);
584
+ if (isTeleportDisabled(vnode.props)) {
585
+ const mountContainer = parentNode(vnode.el) || container;
586
+ mount(vnode, mountContainer, vnode.anchor);
587
+ updateCssVars(vnode, true);
588
+ }
589
+ mountToTarget(vnode);
590
+ };
591
+ pendingMounts.set(vnode, mountJob);
592
+ queuePostRenderEffect(mountJob, parentSuspense);
593
+ };
546
594
  if (n1 == null) {
547
595
  const placeholder = n2.el = createText("");
548
596
  const mainAnchor = n2.anchor = createText("");
549
597
  insert(placeholder, container, anchor);
550
598
  insert(mainAnchor, container, anchor);
551
- const mount = (container2, anchor2) => {
552
- if (shapeFlag & 16) {
553
- mountChildren(
554
- children,
555
- container2,
556
- anchor2,
557
- parentComponent,
558
- parentSuspense,
559
- namespace,
560
- slotScopeIds,
561
- optimized
562
- );
563
- }
564
- };
565
- const mountToTarget = () => {
566
- const target = n2.target = resolveTarget(n2.props, querySelector);
567
- const targetAnchor = prepareAnchor(target, n2, createText, insert);
568
- if (target) {
569
- if (namespace !== "svg" && isTargetSVG(target)) {
570
- namespace = "svg";
571
- } else if (namespace !== "mathml" && isTargetMathML(target)) {
572
- namespace = "mathml";
573
- }
574
- if (parentComponent && parentComponent.isCE) {
575
- (parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
576
- }
577
- if (!disabled) {
578
- mount(target, targetAnchor);
579
- updateCssVars(n2, false);
580
- }
581
- }
582
- };
599
+ if (isTeleportDeferred(n2.props) || parentSuspense && parentSuspense.pendingBranch) {
600
+ queuePendingMount(n2);
601
+ return;
602
+ }
583
603
  if (disabled) {
584
- mount(container, mainAnchor);
604
+ mount(n2, container, mainAnchor);
585
605
  updateCssVars(n2, true);
586
606
  }
587
- if (isTeleportDeferred(n2.props)) {
588
- n2.el.__isMounted = false;
589
- queuePostRenderEffect(() => {
590
- mountToTarget();
591
- delete n2.el.__isMounted;
592
- }, parentSuspense);
593
- } else {
594
- mountToTarget();
595
- }
607
+ mountToTarget();
596
608
  } else {
597
- if (isTeleportDeferred(n2.props) && n1.el.__isMounted === false) {
598
- queuePostRenderEffect(() => {
599
- TeleportImpl.process(
600
- n1,
601
- n2,
602
- container,
603
- anchor,
604
- parentComponent,
605
- parentSuspense,
606
- namespace,
607
- slotScopeIds,
608
- optimized,
609
- internals
610
- );
611
- }, parentSuspense);
609
+ n2.el = n1.el;
610
+ const mainAnchor = n2.anchor = n1.anchor;
611
+ const pendingMount = pendingMounts.get(n1);
612
+ if (pendingMount) {
613
+ pendingMount.flags |= 8;
614
+ pendingMounts.delete(n1);
615
+ queuePendingMount(n2);
612
616
  return;
613
617
  }
614
- n2.el = n1.el;
615
618
  n2.targetStart = n1.targetStart;
616
- const mainAnchor = n2.anchor = n1.anchor;
617
619
  const target = n2.target = n1.target;
618
620
  const targetAnchor = n2.targetAnchor = n1.targetAnchor;
619
621
  const wasDisabled = isTeleportDisabled(n1.props);
@@ -700,13 +702,19 @@ const TeleportImpl = {
700
702
  target,
701
703
  props
702
704
  } = vnode;
705
+ let shouldRemove = doRemove || !isTeleportDisabled(props);
706
+ const pendingMount = pendingMounts.get(vnode);
707
+ if (pendingMount) {
708
+ pendingMount.flags |= 8;
709
+ pendingMounts.delete(vnode);
710
+ shouldRemove = false;
711
+ }
703
712
  if (target) {
704
713
  hostRemove(targetStart);
705
714
  hostRemove(targetAnchor);
706
715
  }
707
716
  doRemove && hostRemove(anchor);
708
717
  if (shapeFlag & 16) {
709
- const shouldRemove = doRemove || !isTeleportDisabled(props);
710
718
  for (let i = 0; i < children.length; i++) {
711
719
  const child = children[i];
712
720
  unmount(
@@ -731,7 +739,7 @@ function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }
731
739
  if (isReorder) {
732
740
  insert(el, container, parentAnchor);
733
741
  }
734
- if (!isReorder || isTeleportDisabled(props)) {
742
+ if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {
735
743
  if (shapeFlag & 16) {
736
744
  for (let i = 0; i < children.length; i++) {
737
745
  move(
@@ -905,10 +913,14 @@ const BaseTransitionImpl = {
905
913
  const state = useTransitionState();
906
914
  return () => {
907
915
  const children = slots.default && getTransitionRawChildren(slots.default(), true);
908
- if (!children || !children.length) {
916
+ const child = children && children.length ? findNonCommentChild(children) : (
917
+ // Keep explicit default-slot conditionals on the same transition path
918
+ // as regular v-if branches, which render a comment placeholder.
919
+ instance.subTree ? createCommentVNode() : void 0
920
+ );
921
+ if (!child) {
909
922
  return;
910
923
  }
911
- const child = findNonCommentChild(children);
912
924
  const rawProps = reactivity.toRaw(props);
913
925
  const { mode } = rawProps;
914
926
  if (state.isLeaving) {
@@ -1062,6 +1074,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
1062
1074
  callHook(hook, [el]);
1063
1075
  },
1064
1076
  enter(el) {
1077
+ if (leavingVNodesCache[key] === vnode) return;
1065
1078
  let hook = onEnter;
1066
1079
  let afterHook = onAfterEnter;
1067
1080
  let cancelHook = onEnterCancelled;
@@ -2448,9 +2461,11 @@ function renderList(source, renderItem, cache, index) {
2448
2461
  );
2449
2462
  }
2450
2463
  } else if (typeof source === "number") {
2451
- ret = new Array(source);
2452
- for (let i = 0; i < source; i++) {
2453
- ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);
2464
+ {
2465
+ ret = new Array(source);
2466
+ for (let i = 0; i < source; i++) {
2467
+ ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);
2468
+ }
2454
2469
  }
2455
2470
  } else if (shared.isObject(source)) {
2456
2471
  if (source[Symbol.iterator]) {
@@ -2757,15 +2772,39 @@ function createPropsRestProxy(props, excludedKeys) {
2757
2772
  }
2758
2773
  function withAsyncContext(getAwaitable) {
2759
2774
  const ctx = getCurrentInstance();
2775
+ const inSSRSetup = isInSSRComponentSetup;
2760
2776
  let awaitable = getAwaitable();
2761
2777
  unsetCurrentInstance();
2778
+ if (inSSRSetup) {
2779
+ setInSSRSetupState(false);
2780
+ }
2781
+ const restore = () => {
2782
+ setCurrentInstance(ctx);
2783
+ if (inSSRSetup) {
2784
+ setInSSRSetupState(true);
2785
+ }
2786
+ };
2787
+ const cleanup = () => {
2788
+ if (getCurrentInstance() !== ctx) ctx.scope.off();
2789
+ unsetCurrentInstance();
2790
+ if (inSSRSetup) {
2791
+ setInSSRSetupState(false);
2792
+ }
2793
+ };
2762
2794
  if (shared.isPromise(awaitable)) {
2763
2795
  awaitable = awaitable.catch((e) => {
2764
- setCurrentInstance(ctx);
2796
+ restore();
2797
+ Promise.resolve().then(() => Promise.resolve().then(cleanup));
2765
2798
  throw e;
2766
2799
  });
2767
2800
  }
2768
- return [awaitable, () => setCurrentInstance(ctx)];
2801
+ return [
2802
+ awaitable,
2803
+ () => {
2804
+ restore();
2805
+ Promise.resolve().then(cleanup);
2806
+ }
2807
+ ];
2769
2808
  }
2770
2809
 
2771
2810
  let shouldCacheAccess = true;
@@ -3597,11 +3636,12 @@ function hasPropValueChanged(nextProps, prevProps, key) {
3597
3636
  }
3598
3637
  return nextProp !== prevProp;
3599
3638
  }
3600
- function updateHOCHostEl({ vnode, parent }, el) {
3639
+ function updateHOCHostEl({ vnode, parent, suspense }, el) {
3601
3640
  while (parent) {
3602
3641
  const root = parent.subTree;
3603
3642
  if (root.suspense && root.suspense.activeBranch === vnode) {
3604
- root.el = vnode.el;
3643
+ root.suspense.vnode.el = root.el = el;
3644
+ vnode = root;
3605
3645
  }
3606
3646
  if (root === vnode) {
3607
3647
  (vnode = parent.vnode).el = el;
@@ -3610,6 +3650,9 @@ function updateHOCHostEl({ vnode, parent }, el) {
3610
3650
  break;
3611
3651
  }
3612
3652
  }
3653
+ if (suspense && suspense.activeBranch === vnode) {
3654
+ suspense.vnode.el = el;
3655
+ }
3613
3656
  }
3614
3657
 
3615
3658
  const internalObjectProto = {};
@@ -4236,9 +4279,12 @@ function baseCreateRenderer(options, createHydrationFns) {
4236
4279
  hostInsert(el, container, anchor);
4237
4280
  if ((vnodeHook = props && props.onVnodeMounted) || needCallTransitionHooks || dirs) {
4238
4281
  queuePostRenderEffect(() => {
4239
- vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
4240
- needCallTransitionHooks && transition.enter(el);
4241
- dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted");
4282
+ try {
4283
+ vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
4284
+ needCallTransitionHooks && transition.enter(el);
4285
+ dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted");
4286
+ } finally {
4287
+ }
4242
4288
  }, parentSuspense);
4243
4289
  }
4244
4290
  };
@@ -4596,7 +4642,10 @@ function baseCreateRenderer(options, createHydrationFns) {
4596
4642
  }
4597
4643
  } else {
4598
4644
  if (root.ce && root.ce._hasShadowRoot()) {
4599
- root.ce._injectChildStyle(type);
4645
+ root.ce._injectChildStyle(
4646
+ type,
4647
+ instance.parent ? instance.parent.type : void 0
4648
+ );
4600
4649
  }
4601
4650
  const subTree = instance.subTree = renderComponentRoot(instance);
4602
4651
  patch(
@@ -5062,7 +5111,8 @@ function baseCreateRenderer(options, createHydrationFns) {
5062
5111
  shapeFlag,
5063
5112
  patchFlag,
5064
5113
  dirs,
5065
- cacheIndex
5114
+ cacheIndex,
5115
+ memo
5066
5116
  } = vnode;
5067
5117
  if (patchFlag === -2) {
5068
5118
  optimized = false;
@@ -5124,10 +5174,14 @@ function baseCreateRenderer(options, createHydrationFns) {
5124
5174
  remove(vnode);
5125
5175
  }
5126
5176
  }
5127
- if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeUnmounted) || shouldInvokeDirs) {
5177
+ const shouldInvalidateMemo = memo != null && cacheIndex == null;
5178
+ if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeUnmounted) || shouldInvokeDirs || shouldInvalidateMemo) {
5128
5179
  queuePostRenderEffect(() => {
5129
5180
  vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
5130
5181
  shouldInvokeDirs && invokeDirectiveHook(vnode, null, parentComponent, "unmounted");
5182
+ if (shouldInvalidateMemo) {
5183
+ vnode.el = null;
5184
+ }
5131
5185
  }, parentSuspense);
5132
5186
  }
5133
5187
  };
@@ -5654,6 +5708,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
5654
5708
  pendingId: suspenseId++,
5655
5709
  timeout: typeof timeout === "number" ? timeout : -1,
5656
5710
  activeBranch: null,
5711
+ isFallbackMountPending: false,
5657
5712
  pendingBranch: null,
5658
5713
  isInFallback: !isHydrating,
5659
5714
  isHydrating,
@@ -5691,7 +5746,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
5691
5746
  }
5692
5747
  };
5693
5748
  }
5694
- if (activeBranch) {
5749
+ if (activeBranch && !suspense.isFallbackMountPending) {
5695
5750
  if (parentNode(activeBranch.el) === container2) {
5696
5751
  anchor = next(activeBranch);
5697
5752
  }
@@ -5704,6 +5759,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
5704
5759
  move(pendingBranch, container2, anchor, 0);
5705
5760
  }
5706
5761
  }
5762
+ suspense.isFallbackMountPending = false;
5707
5763
  setActiveBranch(suspense, pendingBranch);
5708
5764
  suspense.pendingBranch = null;
5709
5765
  suspense.isInFallback = false;
@@ -5739,6 +5795,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
5739
5795
  triggerEvent(vnode2, "onFallback");
5740
5796
  const anchor2 = next(activeBranch);
5741
5797
  const mountFallback = () => {
5798
+ suspense.isFallbackMountPending = false;
5742
5799
  if (!suspense.isInFallback) {
5743
5800
  return;
5744
5801
  }
@@ -5758,6 +5815,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
5758
5815
  };
5759
5816
  const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === "out-in";
5760
5817
  if (delayEnter) {
5818
+ suspense.isFallbackMountPending = true;
5761
5819
  activeBranch.transition.afterLeave = mountFallback;
5762
5820
  }
5763
5821
  suspense.isInFallback = true;
@@ -5792,6 +5850,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
5792
5850
  if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {
5793
5851
  return;
5794
5852
  }
5853
+ unsetCurrentInstance();
5795
5854
  instance.asyncResolved = true;
5796
5855
  const { vnode: vnode2 } = instance;
5797
5856
  handleSetupResult(instance, asyncSetupResult, false);
@@ -6262,6 +6321,10 @@ function mergeProps(...args) {
6262
6321
  const incoming = toMerge[key];
6263
6322
  if (incoming && existing !== incoming && !(shared.isArray(existing) && existing.includes(incoming))) {
6264
6323
  ret[key] = existing ? [].concat(existing, incoming) : incoming;
6324
+ } else if (incoming == null && existing == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
6325
+ // the model listener.
6326
+ !shared.isModelListener(key)) {
6327
+ ret[key] = incoming;
6265
6328
  }
6266
6329
  } else if (key !== "") {
6267
6330
  ret[key] = toMerge[key];
@@ -6628,7 +6691,7 @@ function isMemoSame(cached, memo) {
6628
6691
  return true;
6629
6692
  }
6630
6693
 
6631
- const version = "3.5.28";
6694
+ const version = "3.5.33";
6632
6695
  const warn$1 = shared.NOOP;
6633
6696
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
6634
6697
  const devtools = void 0;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/runtime-core",
3
- "version": "3.5.28",
3
+ "version": "3.5.33",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
48
48
  "dependencies": {
49
- "@vue/shared": "3.5.28",
50
- "@vue/reactivity": "3.5.28"
49
+ "@vue/shared": "3.5.33",
50
+ "@vue/reactivity": "3.5.33"
51
51
  }
52
52
  }