@xwiki/cristal-user-ui 0.20.0 → 0.21.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @xwiki/cristal-user-ui
2
2
 
3
+ ## 0.21.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Cristal 0.21 Release
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @xwiki/cristal-authentication-api@0.21.0
13
+
3
14
  ## 0.20.0
4
15
 
5
16
  ### Minor Changes
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/shared v3.5.17
2
+ * @vue/shared v3.5.18
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -45,7 +45,7 @@ function v(e) {
45
45
  e[n] && (t += n + " ");
46
46
  return t.trim();
47
47
  }
48
- const ue = (e) => !!(e && e.__v_isRef === !0), q = (e) => N(e) ? e : e == null ? "" : d(e) || E(e) && (e.toString === le || !S(e.toString)) ? ue(e) ? q(e.value) : JSON.stringify(e, fe, 2) : String(e), fe = (e, t) => ue(t) ? fe(e, t.value) : Fe(t) ? {
48
+ const ue = (e) => !!(e && e.__v_isRef === !0), q = (e) => N(e) ? e : e == null ? "" : d(e) || E(e) && (e.toString === le || !S(e.toString)) ? ue(e) ? q(e.value) : JSON.stringify(e, ae, 2) : String(e), ae = (e, t) => ue(t) ? ae(e, t.value) : Fe(t) ? {
49
49
  [`Map(${t.size})`]: [...t.entries()].reduce(
50
50
  (n, [o, s], r) => (n[j(o, r) + " =>"] = s, n),
51
51
  {}
@@ -61,7 +61,7 @@ const ue = (e) => !!(e && e.__v_isRef === !0), q = (e) => N(e) ? e : e == null ?
61
61
  );
62
62
  };
63
63
  /**
64
- * @vue/reactivity v3.5.17
64
+ * @vue/reactivity v3.5.18
65
65
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
66
66
  * @license MIT
67
67
  **/
@@ -77,8 +77,8 @@ Symbol(
77
77
  new Set(
78
78
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Q)
79
79
  );
80
- function ae(e) {
81
- return W(e) ? ae(e.__v_raw) : !!(e && e.__v_isReactive);
80
+ function fe(e) {
81
+ return W(e) ? fe(e.__v_raw) : !!(e && e.__v_isReactive);
82
82
  }
83
83
  function W(e) {
84
84
  return !!(e && e.__v_isReadonly);
@@ -97,7 +97,7 @@ function ee(e) {
97
97
  return e ? e.__v_isRef === !0 : !1;
98
98
  }
99
99
  /**
100
- * @vue/runtime-core v3.5.17
100
+ * @vue/runtime-core v3.5.18
101
101
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
102
102
  * @license MIT
103
103
  **/
@@ -216,19 +216,19 @@ function te(e, t, n, o) {
216
216
  try {
217
217
  return o ? e(...o) : e();
218
218
  } catch (s) {
219
- me(s, t, n);
219
+ he(s, t, n);
220
220
  }
221
221
  }
222
- function me(e, t, n, o = !0) {
222
+ function he(e, t, n, o = !0) {
223
223
  const s = t ? t.vnode : null, { errorHandler: r, throwUnhandledErrorInProduction: c } = t && t.appContext.config || K;
224
224
  if (t) {
225
225
  let l = t.parent;
226
- const u = t.proxy, h = process.env.NODE_ENV !== "production" ? de[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
226
+ const u = t.proxy, m = process.env.NODE_ENV !== "production" ? de[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
227
227
  for (; l; ) {
228
228
  const g = l.ec;
229
229
  if (g) {
230
230
  for (let i = 0; i < g.length; i++)
231
- if (g[i](e, u, h) === !1)
231
+ if (g[i](e, u, m) === !1)
232
232
  return;
233
233
  }
234
234
  l = l.parent;
@@ -237,7 +237,7 @@ function me(e, t, n, o = !0) {
237
237
  te(r, null, 10, [
238
238
  e,
239
239
  u,
240
- h
240
+ m
241
241
  ]);
242
242
  return;
243
243
  }
@@ -275,14 +275,14 @@ function Ye(e) {
275
275
  if (!(e.flags & 1)) {
276
276
  const t = T(e), n = p[p.length - 1];
277
277
  !n || // fast path when the job id is larger than the tail
278
- !(e.flags & 2) && t >= T(n) ? p.push(e) : p.splice(We(t), 0, e), e.flags |= 1, he();
278
+ !(e.flags & 2) && t >= T(n) ? p.push(e) : p.splice(We(t), 0, e), e.flags |= 1, me();
279
279
  }
280
280
  }
281
- function he() {
281
+ function me() {
282
282
  G || (G = Ke.then(_e));
283
283
  }
284
284
  function Ge(e) {
285
- d(e) ? k.push(...e) : O && e.id === -1 ? O.splice(V + 1, 0, e) : e.flags & 1 || (k.push(e), e.flags |= 1), he();
285
+ d(e) ? k.push(...e) : O && e.id === -1 ? O.splice(V + 1, 0, e) : e.flags & 1 || (k.push(e), e.flags |= 1), me();
286
286
  }
287
287
  function Qe(e) {
288
288
  if (k.length) {
@@ -329,7 +329,7 @@ function ge(e, t) {
329
329
  const n = e.get(t) || 0;
330
330
  if (n > qe) {
331
331
  const o = t.i, s = o && Ce(o.type);
332
- return me(
332
+ return he(
333
333
  `Maximum recursive updates exceeded${s ? ` in component <${s}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
334
334
  null,
335
335
  10
@@ -426,18 +426,18 @@ process.env.NODE_ENV !== "production" && (rt.ownKeys = (e) => (R(
426
426
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
427
427
  ), Reflect.ownKeys(e)));
428
428
  const st = {}, Ne = (e) => Object.getPrototypeOf(e) === st, it = (e) => e.__isSuspense, Se = Symbol.for("v-fgt"), ct = Symbol.for("v-txt"), lt = Symbol.for("v-cmt"), x = [];
429
- let m = null;
429
+ let h = null;
430
430
  function se(e = !1) {
431
- x.push(m = e ? null : []);
431
+ x.push(h = e ? null : []);
432
432
  }
433
433
  function ut() {
434
- x.pop(), m = x[x.length - 1] || null;
434
+ x.pop(), h = x[x.length - 1] || null;
435
435
  }
436
- function ft(e) {
437
- return e.dynamicChildren = m || De, ut(), m && m.push(e), e;
436
+ function at(e) {
437
+ return e.dynamicChildren = h || De, ut(), h && h.push(e), e;
438
438
  }
439
439
  function ie(e, t, n, o, s, r) {
440
- return ft(
440
+ return at(
441
441
  be(
442
442
  e,
443
443
  t,
@@ -449,7 +449,7 @@ function ie(e, t, n, o, s, r) {
449
449
  )
450
450
  );
451
451
  }
452
- function at(e) {
452
+ function ft(e) {
453
453
  return e ? e.__v_isVNode === !0 : !1;
454
454
  }
455
455
  const pt = (...e) => we(
@@ -491,27 +491,27 @@ function be(e, t = null, n = null, o = 0, s = null, r = e === Se ? 0 : 1, c = !1
491
491
  };
492
492
  return l ? (ne(u, n), r & 128 && e.normalize(u)) : n && (u.shapeFlag |= N(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && R("VNode created with invalid key (NaN). VNode type:", u.type), // avoid a block node from tracking itself
493
493
  !c && // has current parent block
494
- m && // presence of a patch flag indicates this node needs patching on updates.
494
+ h && // presence of a patch flag indicates this node needs patching on updates.
495
495
  // component nodes also should always be patched, because even if the
496
496
  // component doesn't need to update, it needs to persist the instance on to
497
497
  // the next vnode so that it can be properly unmounted later.
498
498
  (u.patchFlag > 0 || r & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
499
499
  // vnode should not be considered dynamic due to handler caching.
500
- u.patchFlag !== 32 && m.push(u), u;
500
+ u.patchFlag !== 32 && h.push(u), u;
501
501
  }
502
502
  const dt = process.env.NODE_ENV !== "production" ? pt : we;
503
503
  function we(e, t = null, n = null, o = 0, s = null, r = !1) {
504
- if ((!e || e === ot) && (process.env.NODE_ENV !== "production" && !e && R(`Invalid vnode type when creating vnode: ${e}.`), e = lt), at(e)) {
504
+ if ((!e || e === ot) && (process.env.NODE_ENV !== "production" && !e && R(`Invalid vnode type when creating vnode: ${e}.`), e = lt), ft(e)) {
505
505
  const l = H(
506
506
  e,
507
507
  t,
508
508
  !0
509
509
  /* mergeRef: true */
510
510
  );
511
- return n && ne(l, n), !r && m && (l.shapeFlag & 6 ? m[m.indexOf(e)] = l : m.push(l)), l.patchFlag = -2, l;
511
+ return n && ne(l, n), !r && h && (l.shapeFlag & 6 ? h[h.indexOf(e)] = l : h.push(l)), l.patchFlag = -2, l;
512
512
  }
513
513
  if (Re(e) && (e = e.__vccOpts), t) {
514
- t = mt(t);
514
+ t = ht(t);
515
515
  let { class: l, style: u } = t;
516
516
  l && !N(l) && (t.class = v(l)), E(u) && (Y(u) && !d(u) && (u = F({}, u)), t.style = Z(u));
517
517
  }
@@ -532,16 +532,16 @@ Component that was made reactive: `,
532
532
  !0
533
533
  );
534
534
  }
535
- function mt(e) {
535
+ function ht(e) {
536
536
  return e ? Y(e) || Ne(e) ? F({}, e) : e : null;
537
537
  }
538
538
  function H(e, t, n = !1, o = !1) {
539
- const { props: s, ref: r, patchFlag: c, children: l, transition: u } = e, h = t ? _t(s || {}, t) : s, g = {
539
+ const { props: s, ref: r, patchFlag: c, children: l, transition: u } = e, m = t ? _t(s || {}, t) : s, g = {
540
540
  __v_isVNode: !0,
541
541
  __v_skip: !0,
542
542
  type: e.type,
543
- props: h,
544
- key: h && Oe(h),
543
+ props: m,
544
+ key: m && Oe(m),
545
545
  ref: t && t.ref ? (
546
546
  // #2078 in the case of <component :is="vnode" ref="extra"/>
547
547
  // if the vnode itself already has a ref, cloneVNode will need to merge
@@ -574,6 +574,7 @@ function H(e, t, n = !1, o = !1) {
574
574
  suspense: e.suspense,
575
575
  ssContent: e.ssContent && H(e.ssContent),
576
576
  ssFallback: e.ssFallback && H(e.ssFallback),
577
+ placeholder: e.placeholder,
577
578
  el: e.el,
578
579
  anchor: e.anchor,
579
580
  ctx: e.ctx,
@@ -588,7 +589,7 @@ function Ve(e) {
588
589
  const t = H(e);
589
590
  return d(e.children) && (t.children = e.children.map(Ve)), t;
590
591
  }
591
- function ht(e = " ", t = 0) {
592
+ function mt(e = " ", t = 0) {
592
593
  return dt(ct, null, e, t);
593
594
  }
594
595
  function ne(e, t) {
@@ -605,7 +606,7 @@ function ne(e, t) {
605
606
  return;
606
607
  } else
607
608
  n = 32, !t._ && !Ne(t) && (t._ctx = M);
608
- else S(t) ? (t = { default: t, _ctx: M }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [ht(t)]) : n = 8);
609
+ else S(t) ? (t = { default: t, _ctx: M }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [mt(t)]) : n = 8);
609
610
  e.children = t, e.shapeFlag |= n;
610
611
  }
611
612
  function _t(...e) {
@@ -676,17 +677,17 @@ function Et() {
676
677
  if (i.__isVue)
677
678
  return ["div", e, "VueInstance"];
678
679
  if (ee(i)) {
679
- const f = i.value;
680
+ const a = i.value;
680
681
  return [
681
682
  "div",
682
683
  {},
683
684
  ["span", e, g(i)],
684
685
  "<",
685
- l(f),
686
+ l(a),
686
687
  ">"
687
688
  ];
688
689
  } else {
689
- if (ae(i))
690
+ if (fe(i))
690
691
  return [
691
692
  "div",
692
693
  {},
@@ -720,12 +721,12 @@ function Et() {
720
721
  }
721
722
  };
722
723
  function r(i) {
723
- const f = [];
724
- i.type.props && i.props && f.push(c("props", b(i.props))), i.setupState !== K && f.push(c("setup", i.setupState)), i.data !== K && f.push(c("data", b(i.data)));
725
- const a = u(i, "computed");
726
- a && f.push(c("computed", a));
724
+ const a = [];
725
+ i.type.props && i.props && a.push(c("props", b(i.props))), i.setupState !== K && a.push(c("setup", i.setupState)), i.data !== K && a.push(c("data", b(i.data)));
726
+ const f = u(i, "computed");
727
+ f && a.push(c("computed", f));
727
728
  const _ = u(i, "inject");
728
- return _ && f.push(c("injected", _)), f.push([
729
+ return _ && a.push(c("injected", _)), a.push([
729
730
  "div",
730
731
  {},
731
732
  [
@@ -736,10 +737,10 @@ function Et() {
736
737
  "$ (internal): "
737
738
  ],
738
739
  ["object", { object: i }]
739
- ]), f;
740
+ ]), a;
740
741
  }
741
- function c(i, f) {
742
- return f = F({}, f), Object.keys(f).length ? [
742
+ function c(i, a) {
743
+ return a = F({}, a), Object.keys(a).length ? [
743
744
  "div",
744
745
  { style: "line-height:1.25em;margin-bottom:0.6em" },
745
746
  [
@@ -754,30 +755,30 @@ function Et() {
754
755
  {
755
756
  style: "padding-left:1.25em"
756
757
  },
757
- ...Object.keys(f).map((a) => [
758
+ ...Object.keys(a).map((f) => [
758
759
  "div",
759
760
  {},
760
- ["span", o, a + ": "],
761
- l(f[a], !1)
761
+ ["span", o, f + ": "],
762
+ l(a[f], !1)
762
763
  ])
763
764
  ]
764
765
  ] : ["span", {}];
765
766
  }
766
- function l(i, f = !0) {
767
- return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span", o, i] : E(i) ? ["object", { object: f ? b(i) : i }] : ["span", n, String(i)];
767
+ function l(i, a = !0) {
768
+ return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span", o, i] : E(i) ? ["object", { object: a ? b(i) : i }] : ["span", n, String(i)];
768
769
  }
769
- function u(i, f) {
770
- const a = i.type;
771
- if (S(a))
770
+ function u(i, a) {
771
+ const f = i.type;
772
+ if (S(f))
772
773
  return;
773
774
  const _ = {};
774
775
  for (const D in i.ctx)
775
- h(a, D, f) && (_[D] = i.ctx[D]);
776
+ m(f, D, a) && (_[D] = i.ctx[D]);
776
777
  return _;
777
778
  }
778
- function h(i, f, a) {
779
- const _ = i[a];
780
- if (d(_) && _.includes(f) || E(_) && f in _ || i.extends && h(i.extends, f, a) || i.mixins && i.mixins.some((D) => h(D, f, a)))
779
+ function m(i, a, f) {
780
+ const _ = i[f];
781
+ if (d(_) && _.includes(a) || E(_) && a in _ || i.extends && m(i.extends, a, f) || i.mixins && i.mixins.some((D) => m(D, a, f)))
781
782
  return !0;
782
783
  }
783
784
  function g(i) {
@@ -789,7 +790,7 @@ process.env.NODE_ENV;
789
790
  process.env.NODE_ENV;
790
791
  process.env.NODE_ENV;
791
792
  /**
792
- * vue v3.5.17
793
+ * vue v3.5.18
793
794
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
794
795
  * @license MIT
795
796
  **/