@vtj/materials 0.13.32 → 0.13.34

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,4 +1,4 @@
1
- /*! Element Plus v2.11.5 */
1
+ /*! Element Plus v2.11.7 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -20,7 +20,10 @@
20
20
  alphaLabel: "\u9009\u62E9\u900F\u660E\u5EA6\u7684\u503C",
21
21
  alphaDescription: "\u900F\u660E\u5EA6 {alpha}, \u5F53\u524D\u989C\u8272 {color}",
22
22
  hueLabel: "\u9009\u62E9\u8272\u76F8\u503C",
23
- hueDescription: "\u8272\u76F8 {hue}, \u5F53\u524D\u989C\u8272 {color}"
23
+ hueDescription: "\u8272\u76F8 {hue}, \u5F53\u524D\u989C\u8272 {color}",
24
+ svLabel: "\u9009\u62E9\u9971\u548C\u5EA6\u4E0E\u660E\u5EA6\u7684\u503C",
25
+ svDescription: "\u9971\u548C\u5EA6 {saturation}, \u660E\u5EA6 {brightness}, \u5F53\u524D\u989C\u8272 {color}",
26
+ predefineDescription: "\u9009\u62E9 {value} \u4F5C\u4E3A\u989C\u8272"
24
27
  },
25
28
  datepicker: {
26
29
  now: "\u6B64\u523B",
@@ -1,11 +1,13 @@
1
1
  /*!
2
- * pinia v3.0.3
2
+ * pinia v3.0.4
3
3
  * (c) 2025 Eduardo San Martin Morote
4
4
  * @license MIT
5
5
  */
6
6
  var Pinia = (function (exports, vue, devtoolsApi) {
7
7
  'use strict';
8
8
 
9
+ const IS_CLIENT = typeof window !== 'undefined';
10
+
9
11
  /**
10
12
  * setActivePinia must be called to handle SSR at the top of functions like
11
13
  * `fetch`, `setup`, `serverPrefetch` and others
@@ -22,7 +24,15 @@ var Pinia = (function (exports, vue, devtoolsApi) {
22
24
  /**
23
25
  * Get the currently active pinia if there is any.
24
26
  */
25
- const getActivePinia = () => (vue.hasInjectionContext() && vue.inject(piniaSymbol)) || activePinia;
27
+ const getActivePinia = () => {
28
+ const pinia = vue.hasInjectionContext() && vue.inject(piniaSymbol);
29
+ if (!pinia && !IS_CLIENT) {
30
+ console.error(`[🍍]: Pinia instance not found in context. This falls back to the global activePinia which exposes you to cross-request pollution on the server. Most of the time, it means you are calling "useStore()" in the wrong place.\n` +
31
+ `Read https://vuejs.org/guide/reusability/composables.html to learn more`);
32
+ }
33
+ return pinia || activePinia;
34
+ }
35
+ ;
26
36
  const piniaSymbol = (Symbol('pinia') );
27
37
 
28
38
  function isPlainObject(
@@ -63,8 +73,6 @@ var Pinia = (function (exports, vue, devtoolsApi) {
63
73
  // maybe reset? for $state = {} and $reset
64
74
  })(exports.MutationType || (exports.MutationType = {}));
65
75
 
66
- const IS_CLIENT = typeof window !== 'undefined';
67
-
68
76
  /*
69
77
  * FileSaver.js A saveAs() FileSaver implementation.
70
78
  *
@@ -1130,13 +1138,10 @@ var Pinia = (function (exports, vue, devtoolsApi) {
1130
1138
 
1131
1139
  const noop = () => { };
1132
1140
  function addSubscription(subscriptions, callback, detached, onCleanup = noop) {
1133
- subscriptions.push(callback);
1141
+ subscriptions.add(callback);
1134
1142
  const removeSubscription = () => {
1135
- const idx = subscriptions.indexOf(callback);
1136
- if (idx > -1) {
1137
- subscriptions.splice(idx, 1);
1138
- onCleanup();
1139
- }
1143
+ const isDel = subscriptions.delete(callback);
1144
+ isDel && onCleanup();
1140
1145
  };
1141
1146
  if (!detached && vue.getCurrentScope()) {
1142
1147
  vue.onScopeDispose(removeSubscription);
@@ -1144,7 +1149,7 @@ var Pinia = (function (exports, vue, devtoolsApi) {
1144
1149
  return removeSubscription;
1145
1150
  }
1146
1151
  function triggerSubscriptions(subscriptions, ...args) {
1147
- subscriptions.slice().forEach((callback) => {
1152
+ subscriptions.forEach((callback) => {
1148
1153
  callback(...args);
1149
1154
  });
1150
1155
  }
@@ -1284,8 +1289,8 @@ var Pinia = (function (exports, vue, devtoolsApi) {
1284
1289
  // internal state
1285
1290
  let isListening; // set to true at the end
1286
1291
  let isSyncListening; // set to true at the end
1287
- let subscriptions = [];
1288
- let actionSubscriptions = [];
1292
+ let subscriptions = new Set();
1293
+ let actionSubscriptions = new Set();
1289
1294
  let debuggerEvents;
1290
1295
  const initialState = pinia.state.value[$id];
1291
1296
  // avoid setting the state for option stores if it is set
@@ -1350,8 +1355,8 @@ var Pinia = (function (exports, vue, devtoolsApi) {
1350
1355
  ;
1351
1356
  function $dispose() {
1352
1357
  scope.stop();
1353
- subscriptions = [];
1354
- actionSubscriptions = [];
1358
+ subscriptions.clear();
1359
+ actionSubscriptions.clear();
1355
1360
  pinia._s.delete($id);
1356
1361
  }
1357
1362
  /**
@@ -1367,13 +1372,13 @@ var Pinia = (function (exports, vue, devtoolsApi) {
1367
1372
  const wrappedAction = function () {
1368
1373
  setActivePinia(pinia);
1369
1374
  const args = Array.from(arguments);
1370
- const afterCallbackList = [];
1371
- const onErrorCallbackList = [];
1375
+ const afterCallbackSet = new Set();
1376
+ const onErrorCallbackSet = new Set();
1372
1377
  function after(callback) {
1373
- afterCallbackList.push(callback);
1378
+ afterCallbackSet.add(callback);
1374
1379
  }
1375
1380
  function onError(callback) {
1376
- onErrorCallbackList.push(callback);
1381
+ onErrorCallbackSet.add(callback);
1377
1382
  }
1378
1383
  // @ts-expect-error
1379
1384
  triggerSubscriptions(actionSubscriptions, {
@@ -1389,22 +1394,22 @@ var Pinia = (function (exports, vue, devtoolsApi) {
1389
1394
  // handle sync errors
1390
1395
  }
1391
1396
  catch (error) {
1392
- triggerSubscriptions(onErrorCallbackList, error);
1397
+ triggerSubscriptions(onErrorCallbackSet, error);
1393
1398
  throw error;
1394
1399
  }
1395
1400
  if (ret instanceof Promise) {
1396
1401
  return ret
1397
1402
  .then((value) => {
1398
- triggerSubscriptions(afterCallbackList, value);
1403
+ triggerSubscriptions(afterCallbackSet, value);
1399
1404
  return value;
1400
1405
  })
1401
1406
  .catch((error) => {
1402
- triggerSubscriptions(onErrorCallbackList, error);
1407
+ triggerSubscriptions(onErrorCallbackSet, error);
1403
1408
  return Promise.reject(error);
1404
1409
  });
1405
1410
  }
1406
1411
  // trigger after callbacks
1407
- triggerSubscriptions(afterCallbackList, ret);
1412
+ triggerSubscriptions(afterCallbackSet, ret);
1408
1413
  return ret;
1409
1414
  };
1410
1415
  wrappedAction[ACTION_MARKER] = true;
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * pinia v3.0.3
2
+ * pinia v3.0.4
3
3
  * (c) 2025 Eduardo San Martin Morote
4
4
  * @license MIT
5
5
  */
6
- var Pinia=function(t,e){"use strict";let n;const o=t=>n=t,i=Symbol();function c(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var r;t.MutationType=void 0,(r=t.MutationType||(t.MutationType={})).direct="direct",r.patchObject="patch object",r.patchFunction="patch function";const s=()=>{};function a(t,n,o,i=s){t.push(n);const c=()=>{const e=t.indexOf(n);e>-1&&(t.splice(e,1),i())};return!o&&e.getCurrentScope()&&e.onScopeDispose(c),c}function u(t,...e){t.slice().forEach((t=>{t(...e)}))}const f=t=>t(),p=Symbol(),l=Symbol();function h(t,n){t instanceof Map&&n instanceof Map?n.forEach(((e,n)=>t.set(n,e))):t instanceof Set&&n instanceof Set&&n.forEach(t.add,t);for(const o in n){if(!n.hasOwnProperty(o))continue;const i=n[o],r=t[o];t[o]=c(r)&&c(i)&&t.hasOwnProperty(o)&&!e.isRef(i)&&!e.isReactive(i)?h(r,i):i}return t}const y=Symbol();function d(t){return!c(t)||!Object.prototype.hasOwnProperty.call(t,y)}const{assign:v}=Object;function b(n,i,c={},r,y,b){let $;const _=v({actions:{}},c),j={deep:!0};let S,m,O,R=[],g=[];const P=r.state.value[n];let A;function M(o){let i;S=m=!1,"function"==typeof o?(o(r.state.value[n]),i={type:t.MutationType.patchFunction,storeId:n,events:O}):(h(r.state.value[n],o),i={type:t.MutationType.patchObject,payload:o,storeId:n,events:O});const c=A=Symbol();e.nextTick().then((()=>{A===c&&(S=!0)})),m=!0,u(R,i,r.state.value[n])}b||P||(r.state.value[n]={}),e.ref({});const w=b?function(){const{state:t}=c,e=t?t():{};this.$patch((t=>{v(t,e)}))}:s;const k=(t,e="")=>{if(p in t)return t[l]=e,t;const i=function(){o(r);const e=Array.from(arguments),c=[],s=[];let a;u(g,{args:e,name:i[l],store:x,after:function(t){c.push(t)},onError:function(t){s.push(t)}});try{a=t.apply(this&&this.$id===n?this:x,e)}catch(t){throw u(s,t),t}return a instanceof Promise?a.then((t=>(u(c,t),t))).catch((t=>(u(s,t),Promise.reject(t)))):(u(c,a),a)};return i[p]=!0,i[l]=e,i},T={_p:r,$id:n,$onAction:a.bind(null,g),$patch:M,$reset:w,$subscribe(o,i={}){const c=a(R,o,i.detached,(()=>s())),s=$.run((()=>e.watch((()=>r.state.value[n]),(e=>{("sync"===i.flush?m:S)&&o({storeId:n,type:t.MutationType.direct,events:O},e)}),v({},j,i))));return c},$dispose:function(){$.stop(),R=[],g=[],r._s.delete(n)}},x=e.reactive(T);r._s.set(n,x);const E=(r._a&&r._a.runWithContext||f)((()=>r._e.run((()=>($=e.effectScope()).run((()=>i({action:k})))))));for(const t in E){const o=E[t];if(e.isRef(o)&&(!e.isRef(I=o)||!I.effect)||e.isReactive(o))b||(P&&d(o)&&(e.isRef(o)?o.value=P[t]:h(o,P[t])),r.state.value[n][t]=o);else if("function"==typeof o){const e=k(o,t);E[t]=e,_.actions[t]=o}}var I;return v(x,E),v(e.toRaw(x),E),Object.defineProperty(x,"$state",{get:()=>r.state.value[n],set:t=>{M((e=>{v(e,t)}))}}),r._p.forEach((t=>{v(x,$.run((()=>t({store:x,app:r._a,pinia:r,options:_}))))})),P&&b&&c.hydrate&&c.hydrate(x.$state,P),S=!0,m=!0,x}
7
- /*! #__NO_SIDE_EFFECTS__ */let $="Store";function _(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(){return t(this.$pinia)[n]},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(){const n=t(this.$pinia),i=e[o];return"function"==typeof i?i.call(this,n):n[i]},n)),{})}const j=_;return t.acceptHMRUpdate=function(t,e){return()=>{}},t.createPinia=function(){const t=e.effectScope(!0),n=t.run((()=>e.ref({})));let c=[],r=[];const s=e.markRaw({install(t){o(s),s._a=t,t.provide(i,s),t.config.globalProperties.$pinia=s,r.forEach((t=>c.push(t))),r=[]},use(t){return this._a?c.push(t):r.push(t),this},_p:c,_a:null,_e:t,_s:new Map,state:n});return s},t.defineStore=function(t,c,r){let s;const a="function"==typeof c;function u(r,u){const f=e.hasInjectionContext();(r=r||(f?e.inject(i,null):null))&&o(r),(r=n)._s.has(t)||(a?b(t,c,s,r):function(t,n,i){const{state:c,actions:r,getters:s}=n,a=i.state.value[t];let u;u=b(t,(function(){a||(i.state.value[t]=c?c():{});const n=e.toRefs(i.state.value[t]);return v(n,r,Object.keys(s||{}).reduce(((n,c)=>(n[c]=e.markRaw(e.computed((()=>{o(i);const e=i._s.get(t);return s[c].call(e,e)}))),n)),{}))}),n,i,0,!0)}(t,s,r));return r._s.get(t)}return s=a?r:c,u.$id=t,u},t.disposePinia=function(t){t._e.stop(),t._s.clear(),t._p.splice(0),t.state.value={},t._a=null},t.getActivePinia=()=>e.hasInjectionContext()&&e.inject(i)||n,t.mapActions=function(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(...e){return t(this.$pinia)[n](...e)},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(...n){return t(this.$pinia)[e[o]](...n)},n)),{})},t.mapGetters=j,t.mapState=_,t.mapStores=function(...t){return t.reduce(((t,e)=>(t[e.$id+$]=function(){return e(this.$pinia)},t)),{})},t.mapWritableState=function(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]={get(){return t(this.$pinia)[n]},set(e){return t(this.$pinia)[n]=e}},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]={get(){return t(this.$pinia)[e[o]]},set(n){return t(this.$pinia)[e[o]]=n}},n)),{})},t.setActivePinia=o,t.setMapStoreSuffix=function(t){$=t},t.shouldHydrate=d,t.skipHydrate=function(t){return Object.defineProperty(t,y,{})},t.storeToRefs=function(t){const n=e.toRaw(t),o={};for(const i in n){const c=n[i];c.effect?o[i]=e.computed({get:()=>t[i],set(e){t[i]=e}}):(e.isRef(c)||e.isReactive(c))&&(o[i]=e.toRef(t,i))}return o},t}({},Vue);
6
+ var Pinia=function(t,e){"use strict";let n;const o=t=>n=t,c=Symbol();function i(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var r;t.MutationType=void 0,(r=t.MutationType||(t.MutationType={})).direct="direct",r.patchObject="patch object",r.patchFunction="patch function";const s=()=>{};function a(t,n,o,c=s){t.add(n);const i=()=>{t.delete(n)&&c()};return!o&&e.getCurrentScope()&&e.onScopeDispose(i),i}function u(t,...e){t.forEach((t=>{t(...e)}))}const f=t=>t(),p=Symbol(),l=Symbol();function h(t,n){t instanceof Map&&n instanceof Map?n.forEach(((e,n)=>t.set(n,e))):t instanceof Set&&n instanceof Set&&n.forEach(t.add,t);for(const o in n){if(!n.hasOwnProperty(o))continue;const c=n[o],r=t[o];t[o]=i(r)&&i(c)&&t.hasOwnProperty(o)&&!e.isRef(c)&&!e.isReactive(c)?h(r,c):c}return t}const d=Symbol();function y(t){return!i(t)||!Object.prototype.hasOwnProperty.call(t,d)}const{assign:v}=Object;function b(n,c,i={},r,d,b){let S;const $=v({actions:{}},i),_={deep:!0};let j,m,O,R=new Set,g=new Set;const w=r.state.value[n];let P;function A(o){let c;j=m=!1,"function"==typeof o?(o(r.state.value[n]),c={type:t.MutationType.patchFunction,storeId:n,events:O}):(h(r.state.value[n],o),c={type:t.MutationType.patchObject,payload:o,storeId:n,events:O});const i=P=Symbol();e.nextTick().then((()=>{P===i&&(j=!0)})),m=!0,u(R,c,r.state.value[n])}b||w||(r.state.value[n]={}),e.ref({});const M=b?function(){const{state:t}=i,e=t?t():{};this.$patch((t=>{v(t,e)}))}:s;const k=(t,e="")=>{if(p in t)return t[l]=e,t;const c=function(){o(r);const e=Array.from(arguments),i=new Set,s=new Set;let a;u(g,{args:e,name:c[l],store:E,after:function(t){i.add(t)},onError:function(t){s.add(t)}});try{a=t.apply(this&&this.$id===n?this:E,e)}catch(t){throw u(s,t),t}return a instanceof Promise?a.then((t=>(u(i,t),t))).catch((t=>(u(s,t),Promise.reject(t)))):(u(i,a),a)};return c[p]=!0,c[l]=e,c},T={_p:r,$id:n,$onAction:a.bind(null,g),$patch:A,$reset:M,$subscribe(o,c={}){const i=a(R,o,c.detached,(()=>s())),s=S.run((()=>e.watch((()=>r.state.value[n]),(e=>{("sync"===c.flush?m:j)&&o({storeId:n,type:t.MutationType.direct,events:O},e)}),v({},_,c))));return i},$dispose:function(){S.stop(),R.clear(),g.clear(),r._s.delete(n)}},E=e.reactive(T);r._s.set(n,E);const x=(r._a&&r._a.runWithContext||f)((()=>r._e.run((()=>(S=e.effectScope()).run((()=>c({action:k})))))));for(const t in x){const o=x[t];if(e.isRef(o)&&(!e.isRef(I=o)||!I.effect)||e.isReactive(o))b||(w&&y(o)&&(e.isRef(o)?o.value=w[t]:h(o,w[t])),r.state.value[n][t]=o);else if("function"==typeof o){const e=k(o,t);x[t]=e,$.actions[t]=o}}var I;return v(E,x),v(e.toRaw(E),x),Object.defineProperty(E,"$state",{get:()=>r.state.value[n],set:t=>{A((e=>{v(e,t)}))}}),r._p.forEach((t=>{v(E,S.run((()=>t({store:E,app:r._a,pinia:r,options:$}))))})),w&&b&&i.hydrate&&i.hydrate(E.$state,w),j=!0,m=!0,E}
7
+ /*! #__NO_SIDE_EFFECTS__ */let S="Store";function $(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(){return t(this.$pinia)[n]},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(){const n=t(this.$pinia),c=e[o];return"function"==typeof c?c.call(this,n):n[c]},n)),{})}const _=$;return t.acceptHMRUpdate=function(t,e){return()=>{}},t.createPinia=function(){const t=e.effectScope(!0),n=t.run((()=>e.ref({})));let i=[],r=[];const s=e.markRaw({install(t){o(s),s._a=t,t.provide(c,s),t.config.globalProperties.$pinia=s,r.forEach((t=>i.push(t))),r=[]},use(t){return this._a?i.push(t):r.push(t),this},_p:i,_a:null,_e:t,_s:new Map,state:n});return s},t.defineStore=function(t,i,r){let s;const a="function"==typeof i;function u(r,u){const f=e.hasInjectionContext();(r=r||(f?e.inject(c,null):null))&&o(r),(r=n)._s.has(t)||(a?b(t,i,s,r):function(t,n,c){const{state:i,actions:r,getters:s}=n,a=c.state.value[t];let u;u=b(t,(function(){a||(c.state.value[t]=i?i():{});const n=e.toRefs(c.state.value[t]);return v(n,r,Object.keys(s||{}).reduce(((n,i)=>(n[i]=e.markRaw(e.computed((()=>{o(c);const e=c._s.get(t);return s[i].call(e,e)}))),n)),{}))}),n,c,0,!0)}(t,s,r));return r._s.get(t)}return s=a?r:i,u.$id=t,u},t.disposePinia=function(t){t._e.stop(),t._s.clear(),t._p.splice(0),t.state.value={},t._a=null},t.getActivePinia=()=>e.hasInjectionContext()&&e.inject(c)||n,t.mapActions=function(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(...e){return t(this.$pinia)[n](...e)},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]=function(...n){return t(this.$pinia)[e[o]](...n)},n)),{})},t.mapGetters=_,t.mapState=$,t.mapStores=function(...t){return t.reduce(((t,e)=>(t[e.$id+S]=function(){return e(this.$pinia)},t)),{})},t.mapWritableState=function(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]={get(){return t(this.$pinia)[n]},set(e){return t(this.$pinia)[n]=e}},e)),{}):Object.keys(e).reduce(((n,o)=>(n[o]={get(){return t(this.$pinia)[e[o]]},set(n){return t(this.$pinia)[e[o]]=n}},n)),{})},t.setActivePinia=o,t.setMapStoreSuffix=function(t){S=t},t.shouldHydrate=y,t.skipHydrate=function(t){return Object.defineProperty(t,d,{})},t.storeToRefs=function(t){const n=e.toRaw(t),o={};for(const c in n){const i=n[c];i.effect?o[c]=e.computed({get:()=>t[c],set(e){t[c]=e}}):(e.isRef(i)||e.isReactive(i))&&(o[c]=e.toRef(t,c))}return o},t}({},Vue);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.5.22
2
+ * vue v3.5.24
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -4197,14 +4197,16 @@ Server rendered element contains more child nodes than client vdom.`
4197
4197
  if (clientText[0] === "\n" && (el.tagName === "PRE" || el.tagName === "TEXTAREA")) {
4198
4198
  clientText = clientText.slice(1);
4199
4199
  }
4200
- if (el.textContent !== clientText) {
4200
+ const { textContent } = el;
4201
+ if (textContent !== clientText && // innerHTML normalize \r\n or \r into a single \n in the DOM
4202
+ textContent !== clientText.replace(/\r\n|\r/g, "\n")) {
4201
4203
  if (!isMismatchAllowed(el, 0 /* TEXT */)) {
4202
4204
  warn$1(
4203
4205
  `Hydration text content mismatch on`,
4204
4206
  el,
4205
4207
  `
4206
- - rendered on server: ${el.textContent}
4207
- - expected on client: ${vnode.children}`
4208
+ - rendered on server: ${textContent}
4209
+ - expected on client: ${clientText}`
4208
4210
  );
4209
4211
  logMismatchError();
4210
4212
  }
@@ -4799,7 +4801,10 @@ Server rendered element contains fewer child nodes than client vdom.`
4799
4801
  error: error.value
4800
4802
  });
4801
4803
  } else if (loadingComponent && !delayed.value) {
4802
- return createVNode(loadingComponent);
4804
+ return createInnerComp(
4805
+ loadingComponent,
4806
+ instance
4807
+ );
4803
4808
  }
4804
4809
  };
4805
4810
  }
@@ -7091,15 +7096,25 @@ If you want to remount the same app, move your app creation logic into a factory
7091
7096
  optimized
7092
7097
  );
7093
7098
  } else {
7094
- patchElement(
7095
- n1,
7096
- n2,
7097
- parentComponent,
7098
- parentSuspense,
7099
- namespace,
7100
- slotScopeIds,
7101
- optimized
7102
- );
7099
+ const customElement = !!(n1.el && n1.el._isVueCE) ? n1.el : null;
7100
+ try {
7101
+ if (customElement) {
7102
+ customElement._beginPatch();
7103
+ }
7104
+ patchElement(
7105
+ n1,
7106
+ n2,
7107
+ parentComponent,
7108
+ parentSuspense,
7109
+ namespace,
7110
+ slotScopeIds,
7111
+ optimized
7112
+ );
7113
+ } finally {
7114
+ if (customElement) {
7115
+ customElement._endPatch();
7116
+ }
7117
+ }
7103
7118
  }
7104
7119
  };
7105
7120
  const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
@@ -9313,7 +9328,8 @@ If you want to remount the same app, move your app creation logic into a factory
9313
9328
  pendingId,
9314
9329
  effects,
9315
9330
  parentComponent: parentComponent2,
9316
- container: container2
9331
+ container: container2,
9332
+ isInFallback
9317
9333
  } = suspense;
9318
9334
  let delayEnter = false;
9319
9335
  if (suspense.isHydrating) {
@@ -9330,6 +9346,9 @@ If you want to remount the same app, move your app creation logic into a factory
9330
9346
  0
9331
9347
  );
9332
9348
  queuePostFlushCb(effects);
9349
+ if (isInFallback && vnode2.ssFallback) {
9350
+ vnode2.ssFallback.el = null;
9351
+ }
9333
9352
  }
9334
9353
  };
9335
9354
  }
@@ -9338,6 +9357,9 @@ If you want to remount the same app, move your app creation logic into a factory
9338
9357
  anchor = next(activeBranch);
9339
9358
  }
9340
9359
  unmount(activeBranch, parentComponent2, suspense, true);
9360
+ if (!delayEnter && isInFallback && vnode2.ssFallback) {
9361
+ vnode2.ssFallback.el = null;
9362
+ }
9341
9363
  }
9342
9364
  if (!delayEnter) {
9343
9365
  move(pendingBranch, container2, anchor, 0);
@@ -9456,6 +9478,7 @@ If you want to remount the same app, move your app creation logic into a factory
9456
9478
  optimized2
9457
9479
  );
9458
9480
  if (placeholder) {
9481
+ vnode2.placeholder = null;
9459
9482
  remove(placeholder);
9460
9483
  }
9461
9484
  updateHOCHostEl(instance, vnode2.el);
@@ -10617,7 +10640,7 @@ Component that was made reactive: `,
10617
10640
  return true;
10618
10641
  }
10619
10642
 
10620
- const version = "3.5.22";
10643
+ const version = "3.5.24";
10621
10644
  const warn = warn$1 ;
10622
10645
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10623
10646
  const devtools = devtools$1 ;
@@ -11420,6 +11443,9 @@ Expected function or array of functions, received type ${typeof value}.`
11420
11443
  if (key === "spellcheck" || key === "draggable" || key === "translate" || key === "autocorrect") {
11421
11444
  return false;
11422
11445
  }
11446
+ if (key === "sandbox" && el.tagName === "IFRAME") {
11447
+ return false;
11448
+ }
11423
11449
  if (key === "form") {
11424
11450
  return false;
11425
11451
  }
@@ -11480,6 +11506,8 @@ Expected function or array of functions, received type ${typeof value}.`
11480
11506
  this._nonce = this._def.nonce;
11481
11507
  this._connected = false;
11482
11508
  this._resolved = false;
11509
+ this._patching = false;
11510
+ this._dirty = false;
11483
11511
  this._numberProps = null;
11484
11512
  this._styleChildren = /* @__PURE__ */ new WeakSet();
11485
11513
  this._ob = null;
@@ -11655,7 +11683,7 @@ Expected function or array of functions, received type ${typeof value}.`
11655
11683
  return this._getProp(key);
11656
11684
  },
11657
11685
  set(val) {
11658
- this._setProp(key, val, true, true);
11686
+ this._setProp(key, val, true, !this._patching);
11659
11687
  }
11660
11688
  });
11661
11689
  }
@@ -11681,6 +11709,7 @@ Expected function or array of functions, received type ${typeof value}.`
11681
11709
  */
11682
11710
  _setProp(key, val, shouldReflect = true, shouldUpdate = false) {
11683
11711
  if (val !== this._props[key]) {
11712
+ this._dirty = true;
11684
11713
  if (val === REMOVAL) {
11685
11714
  delete this._props[key];
11686
11715
  } else {
@@ -11835,10 +11864,14 @@ Expected function or array of functions, received type ${typeof value}.`
11835
11864
  if (this._teleportTargets) {
11836
11865
  roots.push(...this._teleportTargets);
11837
11866
  }
11838
- return roots.reduce((res, i) => {
11839
- res.push(...Array.from(i.querySelectorAll("slot")));
11840
- return res;
11841
- }, []);
11867
+ const slots = /* @__PURE__ */ new Set();
11868
+ for (const root of roots) {
11869
+ const found = root.querySelectorAll("slot");
11870
+ for (let i = 0; i < found.length; i++) {
11871
+ slots.add(found[i]);
11872
+ }
11873
+ }
11874
+ return Array.from(slots);
11842
11875
  }
11843
11876
  /**
11844
11877
  * @internal
@@ -11846,6 +11879,22 @@ Expected function or array of functions, received type ${typeof value}.`
11846
11879
  _injectChildStyle(comp) {
11847
11880
  this._applyStyles(comp.styles, comp);
11848
11881
  }
11882
+ /**
11883
+ * @internal
11884
+ */
11885
+ _beginPatch() {
11886
+ this._patching = true;
11887
+ this._dirty = false;
11888
+ }
11889
+ /**
11890
+ * @internal
11891
+ */
11892
+ _endPatch() {
11893
+ this._patching = false;
11894
+ if (this._dirty && this._instance) {
11895
+ this._update();
11896
+ }
11897
+ }
11849
11898
  /**
11850
11899
  * @internal
11851
11900
  */
@@ -11968,10 +12017,10 @@ Expected function or array of functions, received type ${typeof value}.`
11968
12017
  instance
11969
12018
  )
11970
12019
  );
11971
- positionMap.set(
11972
- child,
11973
- child.el.getBoundingClientRect()
11974
- );
12020
+ positionMap.set(child, {
12021
+ left: child.el.offsetLeft,
12022
+ top: child.el.offsetTop
12023
+ });
11975
12024
  }
11976
12025
  }
11977
12026
  }
@@ -12002,7 +12051,10 @@ Expected function or array of functions, received type ${typeof value}.`
12002
12051
  }
12003
12052
  }
12004
12053
  function recordPosition(c) {
12005
- newPositionMap.set(c, c.el.getBoundingClientRect());
12054
+ newPositionMap.set(c, {
12055
+ left: c.el.offsetLeft,
12056
+ top: c.el.offsetTop
12057
+ });
12006
12058
  }
12007
12059
  function applyTranslation(c) {
12008
12060
  const oldPos = positionMap.get(c);
@@ -12048,24 +12100,22 @@ Expected function or array of functions, received type ${typeof value}.`
12048
12100
  }
12049
12101
  }
12050
12102
  const assignKey = Symbol("_assign");
12103
+ function castValue(value, trim, number) {
12104
+ if (trim) value = value.trim();
12105
+ if (number) value = looseToNumber(value);
12106
+ return value;
12107
+ }
12051
12108
  const vModelText = {
12052
12109
  created(el, { modifiers: { lazy, trim, number } }, vnode) {
12053
12110
  el[assignKey] = getModelAssigner(vnode);
12054
12111
  const castToNumber = number || vnode.props && vnode.props.type === "number";
12055
12112
  addEventListener(el, lazy ? "change" : "input", (e) => {
12056
12113
  if (e.target.composing) return;
12057
- let domValue = el.value;
12058
- if (trim) {
12059
- domValue = domValue.trim();
12060
- }
12061
- if (castToNumber) {
12062
- domValue = looseToNumber(domValue);
12063
- }
12064
- el[assignKey](domValue);
12114
+ el[assignKey](castValue(el.value, trim, castToNumber));
12065
12115
  });
12066
- if (trim) {
12116
+ if (trim || castToNumber) {
12067
12117
  addEventListener(el, "change", () => {
12068
- el.value = el.value.trim();
12118
+ el.value = castValue(el.value, trim, castToNumber);
12069
12119
  });
12070
12120
  }
12071
12121
  if (!lazy) {
@@ -17312,7 +17362,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
17312
17362
  const transformVBindShorthand = (node, context) => {
17313
17363
  if (node.type === 1) {
17314
17364
  for (const prop of node.props) {
17315
- if (prop.type === 7 && prop.name === "bind" && !prop.exp) {
17365
+ if (prop.type === 7 && prop.name === "bind" && (!prop.exp || // #13930 :foo in in-DOM templates will be parsed into :foo="" by browser
17366
+ prop.exp.type === 4 && !prop.exp.content.trim()) && prop.arg) {
17316
17367
  const arg = prop.arg;
17317
17368
  if (arg.type !== 4 || !arg.isStatic) {
17318
17369
  context.onError(