@wbc-ui/core2 1.0.0-r10 โ†’ 1.0.0-r11

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/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
  </p>
16
16
 
17
17
  <p align="center">
18
- <a href="https://flow.wbc-ui.com">๐Ÿ“˜ Docs</a> ยท
18
+ <a href="https://wbcore2.wbc-ui.com">๐Ÿ“˜ Docs</a> ยท
19
19
  <a href="https://github.com/wbc-ui/core2">๐Ÿ™ GitHub</a> ยท
20
20
  <a href="https://demo.wbc-ui.com/lab">โ–ถ๏ธ Playground</a> ยท
21
21
  <a href="https://wbc-ui.com">๐Ÿ’Ž Pro</a>
@@ -259,7 +259,7 @@ Other available extensions: `@wbc-ui/alert2`, `@wbc-ui/cli2`, `@wbc-ui/dataviewe
259
259
  | Components render but unstyled | Vuetify CSS isn't loaded | Import once in `main.js`: `import 'vuetify/dist/vuetify.min.css';` |
260
260
  | `Multiple instances of Vue detected` warning | The bundler resolved Vue from two locations | In Vite: add an alias in `vite.config.js` mapping `vue` to a single absolute path. The `wbcVitePlugin()` does this automatically for the default setup. |
261
261
 
262
- For a longer walkthrough with worked examples, see the documentation hub at [flow.wbc-ui.com](https://flow.wbc-ui.com) *(content is being migrated to match the new `@wbc-ui` scope; some pages may still show the legacy `wbc-ui2` name during the transition)*.
262
+ For a longer walkthrough with worked examples, see the documentation hub at [wbcore2.wbc-ui.com](https://wbcore2.wbc-ui.com) *(content is being migrated to match the new `@wbc-ui` scope; some pages may still show the legacy `wbc-ui2` name during the transition)*.
263
263
 
264
264
  ---
265
265
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "package": "@wbc-ui/core2",
3
- "version": "1.0.0-r10",
3
+ "version": "1.0.0-r11",
4
4
  "tier": "free",
5
- "builtAt": "2026-05-26T14:05:24.798Z",
5
+ "builtAt": "2026-05-31T13:07:49.216Z",
6
6
  "commit": null,
7
7
  "node": "v24.15.0"
8
8
  }
package/dist/core2.es.js CHANGED
@@ -402,7 +402,7 @@ function Ju(e) {
402
402
  return Object.keys(e).length > 0;
403
403
  }
404
404
  function Uc(e, t, r) {
405
- var i, u, a, s, o, c, f, p, l, h, d, _, C, T, I, L, S, w, y, F, B, Q, H, z, ue, re, E, x, k;
405
+ var i, u, a, s, o, c, f, p, l, h, d, _, C, T, I, L, S, w, y, F, B, Q, H, z, ie, re, E, x, k;
406
406
  let n;
407
407
  if (typeof (t == null ? void 0 : t[0]) == "string" && ((i = t == null ? void 0 : t[0]) != null && i.startsWith("<")) && ((u = t == null ? void 0 : t[0]) != null && u.endsWith(">"))) {
408
408
  let D, A, P, V = t == null ? void 0 : t[0].replace("<", "").replace(">", "").split(",");
@@ -491,7 +491,7 @@ function Uc(e, t, r) {
491
491
  })
492
492
  );
493
493
  }
494
- }) : (((ue = (z = t == null ? void 0 : t[0]) == null ? void 0 : z.options) == null ? void 0 : ue.disposition) == "adjacent" || (E = (re = t == null ? void 0 : t[0]) == null ? void 0 : re.comp) != null && E.startsWith("<") && ((k = (x = t == null ? void 0 : t[0]) == null ? void 0 : x.comp) != null && k.endsWith(">"))) && (D = t.slice(1).map((P, V) => e.toWBC_(A, r, P))), n = D;
494
+ }) : (((ie = (z = t == null ? void 0 : t[0]) == null ? void 0 : z.options) == null ? void 0 : ie.disposition) == "adjacent" || (E = (re = t == null ? void 0 : t[0]) == null ? void 0 : re.comp) != null && E.startsWith("<") && ((k = (x = t == null ? void 0 : t[0]) == null ? void 0 : x.comp) != null && k.endsWith(">"))) && (D = t.slice(1).map((P, V) => e.toWBC_(A, r, P))), n = D;
495
495
  } else
496
496
  n = [r("WBC", {
497
497
  ref: "rawHtml",
@@ -843,7 +843,7 @@ function el(e, t, r, n) {
843
843
  return e.toWBC_(r, t);
844
844
  }
845
845
  function tl(e, t, r, n) {
846
- var T, I, L, S, w, y, F, B, Q, H, z, ue, re, E;
846
+ var T, I, L, S, w, y, F, B, Q, H, z, ie, re, E;
847
847
  let {
848
848
  externalChildren: i,
849
849
  insideHeadersVN: u,
@@ -984,7 +984,7 @@ function tl(e, t, r, n) {
984
984
  });
985
985
  else {
986
986
  let x, k, D, A = e.html(t);
987
- typeof (h == null ? void 0 : h.html) == "object" || typeof (h == null ? void 0 : h.html) == "function" || (H = h == null ? void 0 : h.html) != null && H.startsWith("https://") || (z = h == null ? void 0 : h.html) != null && z.startsWith("http://") || (ue = h == null ? void 0 : h.html) != null && ue.startsWith("/") || (re = h == null ? void 0 : h.html) != null && re.startsWith("./") || (E = h == null ? void 0 : h.html) != null && E.startsWith("../") || e.isVnode(h == null ? void 0 : h.html) || ["VSpacer", "VDivider"].includes(h == null ? void 0 : h.html) ? x = r("WBC", {
987
+ typeof (h == null ? void 0 : h.html) == "object" || typeof (h == null ? void 0 : h.html) == "function" || (H = h == null ? void 0 : h.html) != null && H.startsWith("https://") || (z = h == null ? void 0 : h.html) != null && z.startsWith("http://") || (ie = h == null ? void 0 : h.html) != null && ie.startsWith("/") || (re = h == null ? void 0 : h.html) != null && re.startsWith("./") || (E = h == null ? void 0 : h.html) != null && E.startsWith("../") || e.isVnode(h == null ? void 0 : h.html) || ["VSpacer", "VDivider"].includes(h == null ? void 0 : h.html) ? x = r("WBC", {
988
988
  key: `wbc-key-inner-html-${e.computedKey}`,
989
989
  props: { item: A }
990
990
  }) : (k = A, x = e.isNonEmpty(k) ? r("WBHtml", {
@@ -1437,7 +1437,7 @@ function _l(e, t, r, n) {
1437
1437
  }
1438
1438
  function vl(e, t, r) {
1439
1439
  var a;
1440
- const n = e.wbCode_ == null ? null : e.vNodes.wbCode, i = e.wbCodeFile_ == null ? null : e.vNodes.wbCodeFile, u = e.wbDataViewer_ == null ? null : e.vNodes.wbDataViewer;
1440
+ const n = e.resolvedWbCode == null ? null : e.vNodes.wbCode, i = e.resolvedWbCodeFile == null ? null : e.vNodes.wbCodeFile, u = e.resolvedWbDataViewer == null ? null : e.vNodes.wbDataViewer;
1441
1441
  if (n || i || u) {
1442
1442
  let s = {
1443
1443
  options: {},
@@ -2085,7 +2085,7 @@ const Pl = {
2085
2085
  this.vNodes = {}, this.content = { input: {}, output: {} }, this.$_finalRender = null;
2086
2086
  },
2087
2087
  created() {
2088
- var t, r, n, i, u, a, s, o, c, f, p, l, h, d, _, C, T, I, L, S, w, y, F, B, Q, H, z, ue, re;
2088
+ var t, r, n, i, u, a, s, o, c, f, p, l, h, d, _, C, T, I, L, S, w, y, F, B, Q, H, z, ie, re;
2089
2089
  if ((r = (t = this.$store) == null ? void 0 : t.getters) == null || r._wbcDev, (this.item === void 0 || this.item === null) && this.$slots && this.$slots.default) {
2090
2090
  const E = this.$slots.default.map((x) => x && (x.text !== void 0 ? x.text : x.children && x.children.map((k) => k.text).join("")) || "").join("").trim();
2091
2091
  if (E)
@@ -2127,11 +2127,11 @@ const Pl = {
2127
2127
  this.item_,
2128
2128
  this.itemAccessibility,
2129
2129
  this.lang
2130
- )), this.itemListeners = ((Q = (B = this == null ? void 0 : this.item_) == null ? void 0 : B.options) == null ? void 0 : Q.on) || {}, (z = (H = this.$store) == null ? void 0 : H.getters) == null || z._wbcProAuthorized, (re = (ue = this.item_) == null ? void 0 : ue.watch) != null && re.length && console.warn("[WBC-UI2] Reactive watch[] orchestration requires a PRO license.");
2130
+ )), this.itemListeners = ((Q = (B = this == null ? void 0 : this.item_) == null ? void 0 : B.options) == null ? void 0 : Q.on) || {}, (z = (H = this.$store) == null ? void 0 : H.getters) == null || z._wbcProAuthorized, (re = (ie = this.item_) == null ? void 0 : ie.watch) != null && re.length && console.warn("[WBC-UI2] Reactive watch[] orchestration requires a PRO license.");
2131
2131
  },
2132
2132
  mounted() {
2133
- var e, t;
2134
- this.isPlainObject(this.item_) && ((this.isWbcPro || es) && typeof ((e = this.item_) == null ? void 0 : e.init) == "function" && this.item_.init(this.itemAccessibility), (this.isWbcPro || es) && typeof ((t = this.item_) == null ? void 0 : t.logic) == "function" && this.item_.logic(this.itemAccessibility)), this.$el.addEventListener("mousedown", this.handleMouseDown);
2133
+ var e, t, r;
2134
+ this.isPlainObject(this.item_) && ((this.isWbcPro || es) && typeof ((e = this.item_) == null ? void 0 : e.init) == "function" && this.item_.init(this.itemAccessibility), (this.isWbcPro || es) && typeof ((t = this.item_) == null ? void 0 : t.logic) == "function" && this.item_.logic(this.itemAccessibility)), ((r = this.item_) == null ? void 0 : r.comp) == "meta" && this.setMetaParams(this.item_, this.$store.state.lg), this.$el.addEventListener("mousedown", this.handleMouseDown);
2135
2135
  },
2136
2136
  updated() {
2137
2137
  var e, t, r;
@@ -3240,7 +3240,7 @@ function _a() {
3240
3240
  J.content && J.content.ownerDocument && (r = J.content.ownerDocument);
3241
3241
  }
3242
3242
  let y, F = "";
3243
- const B = r, Q = B.implementation, H = B.createNodeIterator, z = B.createDocumentFragment, ue = B.getElementsByTagName, re = n.importNode;
3243
+ const B = r, Q = B.implementation, H = B.createNodeIterator, z = B.createDocumentFragment, ie = B.getElementsByTagName, re = n.importNode;
3244
3244
  let E = hs();
3245
3245
  t.isSupported = typeof xa == "function" && typeof S == "function" && Q && Q.createHTMLDocument !== void 0;
3246
3246
  const x = Wf, k = zf, D = Uf, A = Hf, P = qf, V = Gf, Z = Kf, $ = Yf;
@@ -3321,8 +3321,8 @@ function _a() {
3321
3321
  namespaceURI: Nt,
3322
3322
  tagName: "template"
3323
3323
  });
3324
- const q = jr(g.tagName), ie = jr(j.tagName);
3325
- return Et[g.namespaceURI] ? g.namespaceURI === ur ? j.namespaceURI === Ue ? q === "svg" : j.namespaceURI === wt ? q === "svg" && (ie === "annotation-xml" || rt[ie]) : !!on[q] : g.namespaceURI === wt ? j.namespaceURI === Ue ? q === "math" : j.namespaceURI === ur ? q === "math" && Or[ie] : !!At[q] : g.namespaceURI === Ue ? j.namespaceURI === ur && !Or[ie] || j.namespaceURI === wt && !rt[ie] ? !1 : !At[q] && (ci[q] || !on[q]) : !!(Gt === "application/xhtml+xml" && Et[g.namespaceURI]) : !1;
3324
+ const q = jr(g.tagName), ue = jr(j.tagName);
3325
+ return Et[g.namespaceURI] ? g.namespaceURI === ur ? j.namespaceURI === Ue ? q === "svg" : j.namespaceURI === wt ? q === "svg" && (ue === "annotation-xml" || rt[ue]) : !!on[q] : g.namespaceURI === wt ? j.namespaceURI === Ue ? q === "math" : j.namespaceURI === ur ? q === "math" && Or[ue] : !!At[q] : g.namespaceURI === Ue ? j.namespaceURI === ur && !Or[ue] || j.namespaceURI === wt && !rt[ue] ? !1 : !At[q] && (ci[q] || !on[q]) : !!(Gt === "application/xhtml+xml" && Et[g.namespaceURI]) : !1;
3326
3326
  }, He = function(g) {
3327
3327
  lr(t.removed, {
3328
3328
  element: g
@@ -3364,21 +3364,21 @@ function _a() {
3364
3364
  q = ye && ye[0];
3365
3365
  }
3366
3366
  Gt === "application/xhtml+xml" && Nt === Ue && (g = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + g + "</body></html>");
3367
- const ie = y ? y.createHTML(g) : g;
3367
+ const ue = y ? y.createHTML(g) : g;
3368
3368
  if (Nt === Ue)
3369
3369
  try {
3370
- j = new h().parseFromString(ie, Gt);
3370
+ j = new h().parseFromString(ue, Gt);
3371
3371
  } catch {
3372
3372
  }
3373
3373
  if (!j || !j.documentElement) {
3374
3374
  j = Q.createDocument(Nt, "template", null);
3375
3375
  try {
3376
- j.documentElement.innerHTML = sr ? F : ie;
3376
+ j.documentElement.innerHTML = sr ? F : ue;
3377
3377
  } catch {
3378
3378
  }
3379
3379
  }
3380
3380
  const ve = j.body || j.documentElement;
3381
- return g && q && ve.insertBefore(r.createTextNode(q), ve.childNodes[0] || null), Nt === Ue ? ue.call(j, vt ? "html" : "body")[0] : vt ? j.documentElement : ve;
3381
+ return g && q && ve.insertBefore(r.createTextNode(q), ve.childNodes[0] || null), Nt === Ue ? ie.call(j, vt ? "html" : "body")[0] : vt ? j.documentElement : ve;
3382
3382
  }, ln = function(g) {
3383
3383
  return H.call(
3384
3384
  g.ownerDocument || g,
@@ -3398,10 +3398,10 @@ function _a() {
3398
3398
  );
3399
3399
  let q = j.nextNode();
3400
3400
  for (; q; ) {
3401
- let ie = q.data;
3401
+ let ue = q.data;
3402
3402
  cr([x, k, D], (ve) => {
3403
- ie = fr(ie, ve, " ");
3404
- }), q.data = ie, q = j.nextNode();
3403
+ ue = fr(ue, ve, " ");
3404
+ }), q.data = ue, q = j.nextNode();
3405
3405
  }
3406
3406
  }, Fr = function(g) {
3407
3407
  return g instanceof l && (typeof g.nodeName != "string" || typeof g.textContent != "string" || typeof g.removeChild != "function" || !(g.attributes instanceof p) || typeof g.removeAttribute != "function" || typeof g.setAttribute != "function" || typeof g.namespaceURI != "string" || typeof g.insertBefore != "function" || typeof g.hasChildNodes != "function");
@@ -3433,29 +3433,29 @@ function _a() {
3433
3433
  if (!Ce[q] && or(q) && (te.tagNameCheck instanceof RegExp && Oe(te.tagNameCheck, q) || te.tagNameCheck instanceof Function && te.tagNameCheck(q)))
3434
3434
  return !1;
3435
3435
  if (Sr && !ze[q]) {
3436
- const ie = S(g) || g.parentNode, ve = L(g) || g.childNodes;
3437
- if (ve && ie) {
3436
+ const ue = S(g) || g.parentNode, ve = L(g) || g.childNodes;
3437
+ if (ve && ue) {
3438
3438
  const ye = ve.length;
3439
3439
  for (let Ie = ye - 1; Ie >= 0; --Ie) {
3440
3440
  const ht = C(ve[Ie], !0);
3441
- ie.insertBefore(ht, I(g));
3441
+ ue.insertBefore(ht, I(g));
3442
3442
  }
3443
3443
  }
3444
3444
  }
3445
3445
  return He(g), !0;
3446
3446
  }
3447
- return g instanceof o && !hi(g) || (q === "noscript" || q === "noembed" || q === "noframes") && Oe(/<\/no(script|embed|frames)/i, g.innerHTML) ? (He(g), !0) : (ct && g.nodeType === pr.text && (j = g.textContent, cr([x, k, D], (ie) => {
3448
- j = fr(j, ie, " ");
3447
+ return g instanceof o && !hi(g) || (q === "noscript" || q === "noembed" || q === "noframes") && Oe(/<\/no(script|embed|frames)/i, g.innerHTML) ? (He(g), !0) : (ct && g.nodeType === pr.text && (j = g.textContent, cr([x, k, D], (ue) => {
3448
+ j = fr(j, ue, " ");
3449
3449
  }), g.textContent !== j && (lr(t.removed, {
3450
3450
  element: g.cloneNode()
3451
3451
  }), g.textContent = j)), nt(E.afterSanitizeElements, g, null), !1);
3452
3452
  }, pn = function(g, j, q) {
3453
3453
  if (me[j] || Er && (j === "id" || j === "name") && (q in r || q in pi))
3454
3454
  return !1;
3455
- const ie = M[j] || we.attributeCheck instanceof Function && we.attributeCheck(j, g);
3455
+ const ue = M[j] || we.attributeCheck instanceof Function && we.attributeCheck(j, g);
3456
3456
  if (!(ot && !me[j] && Oe(A, j))) {
3457
3457
  if (!(tt && Oe(P, j))) {
3458
- if (!ie || me[j]) {
3458
+ if (!ue || me[j]) {
3459
3459
  if (
3460
3460
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
3461
3461
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
@@ -3491,9 +3491,9 @@ function _a() {
3491
3491
  allowedAttributes: M,
3492
3492
  forceKeepAttr: void 0
3493
3493
  };
3494
- let ie = j.length;
3495
- for (; ie--; ) {
3496
- const ve = j[ie], ye = ve.name, Ie = ve.namespaceURI, ht = ve.value, it = fe(ye), Lr = ht;
3494
+ let ue = j.length;
3495
+ for (; ue--; ) {
3496
+ const ve = j[ue], ye = ve.name, Ie = ve.namespaceURI, ht = ve.value, it = fe(ye), Lr = ht;
3497
3497
  let Ee = ye === "value" ? Lr : Lf(Lr);
3498
3498
  if (q.attrName = it, q.attrValue = Ee, q.keepAttr = !0, q.forceKeepAttr = void 0, nt(E.uponSanitizeAttribute, g, q), Ee = q.attrValue, Ar && (it === "id" || it === "name") && us(Ee, un) !== 0 && (St(ye, g), Ee = un + Ee), qt && Oe(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Ee)) {
3499
3499
  St(ye, g);
@@ -3548,21 +3548,21 @@ function _a() {
3548
3548
  nt(E.afterSanitizeShadowDOM, g, null);
3549
3549
  }, jt = function(g) {
3550
3550
  if (g.nodeType === pr.element && g.shadowRoot instanceof u) {
3551
- const ie = g.shadowRoot;
3552
- jt(ie), Rt(ie);
3551
+ const ue = g.shadowRoot;
3552
+ jt(ue), Rt(ue);
3553
3553
  }
3554
3554
  const j = g.childNodes;
3555
3555
  if (!j)
3556
3556
  return;
3557
3557
  const q = [];
3558
- cr(j, (ie) => {
3559
- lr(q, ie);
3558
+ cr(j, (ue) => {
3559
+ lr(q, ue);
3560
3560
  });
3561
- for (const ie of q)
3562
- jt(ie);
3561
+ for (const ue of q)
3562
+ jt(ue);
3563
3563
  };
3564
3564
  return t.sanitize = function(J) {
3565
- let g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, j = null, q = null, ie = null, ve = null;
3565
+ let g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, j = null, q = null, ue = null, ve = null;
3566
3566
  if (sr = !J, sr && (J = "<!-->"), typeof J != "string" && !ar(J) && (J = Bf(J), typeof J != "string"))
3567
3567
  throw yn("dirty is not a string, aborting");
3568
3568
  if (!t.isSupported)
@@ -3586,8 +3586,8 @@ function _a() {
3586
3586
  }
3587
3587
  j && Lt && He(j.firstChild);
3588
3588
  const ye = ln(ft ? J : j);
3589
- for (; ie = ye.nextNode(); )
3590
- fn(ie), hn(ie), ie.content instanceof u && Rt(ie.content);
3589
+ for (; ue = ye.nextNode(); )
3590
+ fn(ue), hn(ue), ue.content instanceof u && Rt(ue.content);
3591
3591
  if (ft)
3592
3592
  return ct && Dt(J), J;
3593
3593
  if (lt) {
@@ -3610,8 +3610,8 @@ function _a() {
3610
3610
  Pt = null, wr = !1;
3611
3611
  }, t.isValidAttribute = function(J, g, j) {
3612
3612
  Pt || Ir({});
3613
- const q = fe(J), ie = fe(g);
3614
- return pn(q, ie, j);
3613
+ const q = fe(J), ue = fe(g);
3614
+ return pn(q, ue, j);
3615
3615
  }, t.addHook = function(J, g) {
3616
3616
  typeof g == "function" && lr(E[J], g);
3617
3617
  }, t.removeHook = function(J, g) {
@@ -7472,16 +7472,18 @@ const np = {
7472
7472
  },
7473
7473
  render(e) {
7474
7474
  let t;
7475
- if (t = {
7475
+ t = {
7476
7476
  props: {},
7477
7477
  style: {
7478
7478
  "text-decoration": "none",
7479
7479
  ...this.style_
7480
7480
  }
7481
- }, t.attrs = {
7482
- href: this.to,
7481
+ };
7482
+ let r = typeof this.to == "string" ? this.to.trim() : this.to;
7483
+ if (t.attrs = {
7484
+ href: r,
7483
7485
  ...this.attrs_
7484
- }, this.to[this.to.length - 1] == ">" && (t.attrs.href = this.to.slice(0, -1), t.attrs.target = "_blank"), this.isInternalLink)
7486
+ }, typeof r == "string" && r[r.length - 1] == ">" && (t.attrs.href = r.slice(0, -1), t.attrs.target = "_blank"), this.isInternalLink)
7485
7487
  return t.attrs = {
7486
7488
  ...this.attrs_
7487
7489
  }, t.props.to = this.to, e("RouterLink", t, [this.html]);
@@ -7499,7 +7501,7 @@ const np = {
7499
7501
  innerHTML: va([this == null ? void 0 : this.html].join(""))
7500
7502
  },
7501
7503
  attrs: {
7502
- href: this.to,
7504
+ href: r,
7503
7505
  ...this.attrs_
7504
7506
  }
7505
7507
  }, this.isExternalLink)
@@ -7634,7 +7636,7 @@ function oo() {
7634
7636
  function z($, N, R) {
7635
7637
  return N && H($.prototype, N), R && H($, R), $;
7636
7638
  }
7637
- function ue($, N) {
7639
+ function ie($, N) {
7638
7640
  if (typeof N != "function" && N !== null)
7639
7641
  throw new TypeError("Super expression must either be null or a function");
7640
7642
  $.prototype = Object.create(N && N.prototype, { constructor: { value: $, writable: !0, configurable: !0 } }), N && re($, N);
@@ -7685,7 +7687,7 @@ function oo() {
7685
7687
  return N.getAttribute(R);
7686
7688
  }
7687
7689
  var V = /* @__PURE__ */ (function($) {
7688
- ue(R, $);
7690
+ ie(R, $);
7689
7691
  var N = E(R);
7690
7692
  function R(U, M) {
7691
7693
  var X;
@@ -8495,13 +8497,13 @@ function cp() {
8495
8497
  }
8496
8498
  };
8497
8499
  };
8498
- var z, ue = (z = [], function(E, x) {
8500
+ var z, ie = (z = [], function(E, x) {
8499
8501
  return z[E] = x, z.filter(Boolean).join(`
8500
8502
  `);
8501
8503
  });
8502
8504
  function re(E, x, A, D) {
8503
8505
  var A = A ? "" : D.css;
8504
- E.styleSheet ? E.styleSheet.cssText = ue(x, A) : (D = document.createTextNode(A), (A = E.childNodes)[x] && E.removeChild(A[x]), A.length ? E.insertBefore(D, A[x]) : E.appendChild(D));
8506
+ E.styleSheet ? E.styleSheet.cssText = ie(x, A) : (D = document.createTextNode(A), (A = E.childNodes)[x] && E.removeChild(A[x]), A.length ? E.insertBefore(D, A[x]) : E.appendChild(D));
8505
8507
  }
8506
8508
  }, function(s, o, c) {
8507
8509
  var f = c(44);
@@ -10286,8 +10288,8 @@ function Dh(e, t, r, n) {
10286
10288
  s = e.push("list_item_open", "li", 1), s.markup = String.fromCharCode(d);
10287
10289
  const Q = [o, 0];
10288
10290
  s.map = Q, p && (s.info = e.src.slice(a, h - 1));
10289
- const H = e.tight, z = e.tShift[o], ue = e.sCount[o], re = e.listIndent;
10290
- if (e.listIndent = e.blkIndent, e.blkIndent = B, e.tight = !0, e.tShift[o] = y - e.bMarks[o], e.sCount[o] = w, y >= i && e.isEmpty(o + 1) ? e.line = Math.min(e.line + 2, r) : e.md.block.tokenize(e, o, r, !0), (!e.tight || T) && (c = !1), T = e.line - o > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = re, e.tShift[o] = z, e.sCount[o] = ue, e.tight = H, s = e.push("list_item_close", "li", -1), s.markup = String.fromCharCode(d), o = e.line, Q[1] = o, o >= r || e.sCount[o] < e.blkIndent || e.sCount[o] - e.blkIndent >= 4)
10291
+ const H = e.tight, z = e.tShift[o], ie = e.sCount[o], re = e.listIndent;
10292
+ if (e.listIndent = e.blkIndent, e.blkIndent = B, e.tight = !0, e.tShift[o] = y - e.bMarks[o], e.sCount[o] = w, y >= i && e.isEmpty(o + 1) ? e.line = Math.min(e.line + 2, r) : e.md.block.tokenize(e, o, r, !0), (!e.tight || T) && (c = !1), T = e.line - o > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = re, e.tShift[o] = z, e.sCount[o] = ie, e.tight = H, s = e.push("list_item_close", "li", -1), s.markup = String.fromCharCode(d), o = e.line, Q[1] = o, o >= r || e.sCount[o] < e.blkIndent || e.sCount[o] - e.blkIndent >= 4)
10291
10293
  break;
10292
10294
  let E = !1;
10293
10295
  for (let x = 0, k = I.length; x < k; x++)
@@ -11949,13 +11951,17 @@ const Qd = {
11949
11951
  let f = [];
11950
11952
  for (let y of (c == null ? void 0 : c[1]) || []) {
11951
11953
  let F, B, Q = typeof y == "string" ? null : this.strToObj(y == null ? void 0 : y[2]), H = typeof y == "string" ? y : y[0], z;
11952
- if (y[0].includes("__") ? (z = y[0].split("__")[0], H = y[0].split("__").slice(1).join("__")) : y[0].trimStart().startsWith("~") && (z = "WBC", H = y[0]), z && (z = z.trim()), z && z !== "WBC" && z !== "MD" && !/^[a-zA-Z][a-zA-Z0-9-]*$/.test(z))
11954
+ if (y[0].includes("__")) {
11955
+ let ie = y[0].split("__")[0];
11956
+ /^[a-zA-Z][a-zA-Z0-9-]*$/.test(ie.trim()) ? (z = ie, H = y[0].split("__").slice(1).join("__")) : H = y[0];
11957
+ } else y[0].trimStart().startsWith("~") && (z = "WBC", H = y[0]);
11958
+ if (z && (z = z.trim()), z && z !== "WBC" && z !== "MD" && !/^[a-zA-Z][a-zA-Z0-9-]*$/.test(z))
11953
11959
  throw new Error(`Bad tag "${z}"`);
11954
11960
  if (typeof y == "string" ? (B = {}, F = {}) : y != null && y[1] && ((C = y == null ? void 0 : y[1]) != null && C.includes("__")) ? (B = this.strToObj((T = y[1].split("__")) == null ? void 0 : T[0]), F = this.strToObj(y[1].split("__").slice(1).join("__"))) : (B = {}, F = this.strToObj((y == null ? void 0 : y[1]) || {})), typeof F == "string" && (F = { class: F }), typeof B == "string" && (B = { class: B }), ["", "null", "undefined"].includes(typeof y == "string" ? y : y[0]))
11955
11961
  return t("div", {}, ["null"]);
11956
11962
  {
11957
- let ue;
11958
- if (typeof H == "string" && (H != null && H.startsWith("./")) ? z = "WBC" : z == "MD" && typeof H == "string" && (H = this.MarkdownIt.render(H)), this.isNonEmpty(Q) ? ue = t("WBLink", {
11963
+ let ie;
11964
+ if (typeof H == "string" && (H != null && H.startsWith("./")) ? z = "WBC" : z == "MD" && typeof H == "string" && (H = this.MarkdownIt.render(H)), this.isNonEmpty(Q) ? ie = t("WBLink", {
11959
11965
  ...z == "MD" ? {
11960
11966
  ...F,
11961
11967
  class: "markdown-body " + ((F == null ? void 0 : F.class) || ""),
@@ -11973,7 +11979,7 @@ const Qd = {
11973
11979
  style_: {},
11974
11980
  attrs_: {}
11975
11981
  }
11976
- }) : z == "WBC" || (F ? ue = t("span", {
11982
+ }) : z == "WBC" || (F ? ie = t("span", {
11977
11983
  ...F,
11978
11984
  domProps: {
11979
11985
  innerHTML: this.sanitizeHtml(this.objLang(
@@ -11981,7 +11987,7 @@ const Qd = {
11981
11987
  (L = (I = this == null ? void 0 : this.$store) == null ? void 0 : I.state) == null ? void 0 : L.lg
11982
11988
  ))
11983
11989
  }
11984
- }) : ue = this.objLang(
11990
+ }) : ie = this.objLang(
11985
11991
  this.strToObj(H),
11986
11992
  (w = (S = this == null ? void 0 : this.$store) == null ? void 0 : S.state) == null ? void 0 : w.lg
11987
11993
  )), z)
@@ -12079,11 +12085,11 @@ const Qd = {
12079
12085
  } : {},
12080
12086
  ...B
12081
12087
  },
12082
- [ue]
12088
+ [ie]
12083
12089
  )
12084
12090
  );
12085
12091
  else
12086
- f.push(ue);
12092
+ f.push(ie);
12087
12093
  }
12088
12094
  }
12089
12095
  let p = "span", l = {}, h = null;
@@ -12121,6 +12127,18 @@ const Qd = {
12121
12127
  e = e.split(n).join(i);
12122
12128
  }), e;
12123
12129
  },
12130
+ // Verbatim/raw-text regions (code-display panels, <script>/<style> examples, and the
12131
+ // copy-button's data-clipboard-text attribute) often contain WBC syntax being *documented*
12132
+ // โ€” literal [[ ]] {{ }} __ | sequences. Those must NOT drive WBC's markup tokenization,
12133
+ // or the bracket/`**` pairing in styling() mis-aligns and a chunk of surrounding HTML is
12134
+ // parsed as a tag ("Bad tag"). Encode ONLY the tokenizer's marker *sequences* to entities:
12135
+ // they render as the exact same glyphs but are inert to the tokenizer. Single { [ _ are
12136
+ // left intact so real CSS/code (and legit single-char content) is untouched.
12137
+ protectCodeRegions(e) {
12138
+ if (typeof e != "string" || e.indexOf("<") === -1) return e;
12139
+ const t = (r) => r.split("[[").join("&lbrack;&lbrack;").split("]]").join("&rbrack;&rbrack;").split("{{").join("&lbrace;&lbrace;").split("}}").join("&rbrace;&rbrace;").split("__").join("&#95;&#95;").split("|").join("&vert;");
12140
+ return e.replace(/<(pre|code|script|style|textarea)\b[\s\S]*?<\/\1>/gi, t).replace(/data-clipboard-text="[^"]*"/gi, t);
12141
+ },
12124
12142
  ...Object.fromEntries(
12125
12143
  Object.entries(ti).filter(
12126
12144
  ([e, t]) => typeof t == "function"
@@ -12132,7 +12150,10 @@ const Qd = {
12132
12150
  WBLink: ri
12133
12151
  },
12134
12152
  created() {
12135
- this.html_ = this.charCoding(this.html_, [
12153
+ typeof this.html_ == "string" && (this.html_ = this.html_.replace(
12154
+ /<!--\s*(\[\[~?\{\s*comp:\s*['"]meta['"][\s\S]*?\}\]\])\s*-->/g,
12155
+ "$1"
12156
+ )), this.html_ = this.protectCodeRegions(this.html_), this.html_ = this.charCoding(this.html_, [
12136
12157
  ["<p>", "<p>[["],
12137
12158
  ["</p>", "]]</p>"],
12138
12159
  ["\\|", "&vert;"],
@@ -12159,7 +12180,7 @@ var r1 = /* @__PURE__ */ ao(
12159
12180
  t1,
12160
12181
  !1,
12161
12182
  null,
12162
- "d7381438"
12183
+ "f790a94c"
12163
12184
  );
12164
12185
  const ju = r1.exports, qr = In.default || In, Bo = Xi.default || Xi;
12165
12186
  qr.prototype.hasOwnProperty("$store") || qr.use(Bo);
@@ -12297,17 +12318,17 @@ const l1 = () => (zi || (zi = new bu({
12297
12318
  title: ((t = this.item_) == null ? void 0 : t.title) || ((r = this.$route) == null ? void 0 : r.name) || "-" + ((i = (n = this.$store) == null ? void 0 : n.state) == null ? void 0 : i.lg) || "en",
12298
12319
  ...((u = this == null ? void 0 : this.$route) == null ? void 0 : u.meta) || {},
12299
12320
  ...this.item_
12300
- }, ue = this.protected_ ? this.protected_ : this.protected ?? null, re = this.load_ ? this.load_ : this.load ?? null, E = this.float_ ? this.float_ : this.float ?? null, x = this.hide_ ? this.hide_ : this.hide ?? null, k = this.close_ ? this.close_ : this.close ?? null, D = this.drag_ ? this.drag_ : this.drag ?? null, A = this.focus_ ? this.focus_ : this.focus ?? null;
12301
- if (this.focusOn_ = this.focusOn_ ? this.focusOn_ : this.focusOn ?? null, x === !0 || this.item_ instanceof Object && ((this.isWbcPro || zs) && typeof ((a = this.item_) == null ? void 0 : a.tracker) == "function" && this.item_.tracker(this.itemAccessibility), ue = this.protected_ ? this.protected_ : ((o = (s = this.item_) == null ? void 0 : s.options) == null ? void 0 : o.protected_) ?? this.protected ?? null, re = this.load_ ? this.load_ : ((f = (c = this.item_) == null ? void 0 : c.options) == null ? void 0 : f.load) ?? this.load ?? null, E = this.float_ ? this.float_ : ((l = (p = this.item_) == null ? void 0 : p.options) == null ? void 0 : l.float) ?? this.float ?? null, x = this.hide_ ? this.hide_ : ((d = (h = this.item_) == null ? void 0 : h.options) == null ? void 0 : d.hide) ?? this.hide ?? null, k = this.close_ ? this.close_ : ((C = (_ = this.item_) == null ? void 0 : _.options) == null ? void 0 : C.close) ?? this.close ?? null, D = this.drag_ ? this.drag_ : ((I = (T = this.item_) == null ? void 0 : T.options) == null ? void 0 : I.drag) ?? this.drag ?? null, A = this.focus_ ? this.focus_ : ((S = (L = this.item_) == null ? void 0 : L.options) == null ? void 0 : S.focus) ?? this.focus ?? null, this.focusOn_ = this.focusOn_ ? this.focusOn_ : ((y = (w = this.item_) == null ? void 0 : w.options) == null ? void 0 : y.focusOn) ?? this.focusOn ?? null, ["LImageOverlay", "LVideoOverlay", "LSVGOverlay"].includes(
12321
+ }, ie = this.protected_ ? this.protected_ : this.protected ?? null, re = this.load_ ? this.load_ : this.load ?? null, E = this.float_ ? this.float_ : this.float ?? null, x = this.hide_ ? this.hide_ : this.hide ?? null, k = this.close_ ? this.close_ : this.close ?? null, D = this.drag_ ? this.drag_ : this.drag ?? null, A = this.focus_ ? this.focus_ : this.focus ?? null;
12322
+ if (this.focusOn_ = this.focusOn_ ? this.focusOn_ : this.focusOn ?? null, x === !0 || this.item_ instanceof Object && ((this.isWbcPro || zs) && typeof ((a = this.item_) == null ? void 0 : a.tracker) == "function" && this.item_.tracker(this.itemAccessibility), ie = this.protected_ ? this.protected_ : ((o = (s = this.item_) == null ? void 0 : s.options) == null ? void 0 : o.protected_) ?? this.protected ?? null, re = this.load_ ? this.load_ : ((f = (c = this.item_) == null ? void 0 : c.options) == null ? void 0 : f.load) ?? this.load ?? null, E = this.float_ ? this.float_ : ((l = (p = this.item_) == null ? void 0 : p.options) == null ? void 0 : l.float) ?? this.float ?? null, x = this.hide_ ? this.hide_ : ((d = (h = this.item_) == null ? void 0 : h.options) == null ? void 0 : d.hide) ?? this.hide ?? null, k = this.close_ ? this.close_ : ((C = (_ = this.item_) == null ? void 0 : _.options) == null ? void 0 : C.close) ?? this.close ?? null, D = this.drag_ ? this.drag_ : ((I = (T = this.item_) == null ? void 0 : T.options) == null ? void 0 : I.drag) ?? this.drag ?? null, A = this.focus_ ? this.focus_ : ((S = (L = this.item_) == null ? void 0 : L.options) == null ? void 0 : S.focus) ?? this.focus ?? null, this.focusOn_ = this.focusOn_ ? this.focusOn_ : ((y = (w = this.item_) == null ? void 0 : w.options) == null ? void 0 : y.focusOn) ?? this.focusOn ?? null, ["LImageOverlay", "LVideoOverlay", "LSVGOverlay"].includes(
12302
12323
  (F = this.item_) == null ? void 0 : F.comp
12303
12324
  ) && !this.mapReady))
12304
12325
  return null;
12305
12326
  let P;
12306
- if (ue) {
12327
+ if (ie) {
12307
12328
  let V = {
12308
12329
  comp: "VAlert",
12309
12330
  options: {
12310
- html: typeof ue == "string" ? ue : `{
12331
+ html: typeof ie == "string" ? ie : `{
12311
12332
  en: "Forbidden access",
12312
12333
  fr:'Accรจs interdit',
12313
12334
  ar:'ุงู„ูˆุตูˆู„ ู…ู…ู†ูˆุน'
@@ -12316,11 +12337,11 @@ const l1 = () => (zi || (zi = new bu({
12316
12337
  props: {
12317
12338
  variant: "outlined"
12318
12339
  },
12319
- ...typeof ue == "object" ? ue : {}
12340
+ ...typeof ie == "object" ? ie : {}
12320
12341
  }
12321
12342
  };
12322
12343
  P = e("WBC", {
12323
- key: `wbc-key-protected-${ue}`,
12344
+ key: `wbc-key-protected-${ie}`,
12324
12345
  props: { item: V }
12325
12346
  });
12326
12347
  } else if (re === !0 || typeof re == "object" && (re == null ? void 0 : re.active) === !0 || typeof re == "string") {
@@ -12524,7 +12545,7 @@ const l1 = () => (zi || (zi = new bu({
12524
12545
  },
12525
12546
  codeOutputWBCVN(e) {
12526
12547
  var s;
12527
- if (this.resolvedWbCode == null) return null;
12548
+ if (this.resolvedWbCode == null || typeof this.item_ == "string" && this.item_.startsWith("./")) return null;
12528
12549
  let {
12529
12550
  activator: t = "div__Show/Hide WBC-Code|align-end font-weight-bold pa-1 ",
12530
12551
  collapsed: r = typeof this.resolvedWbCode == "boolean" ? this.resolvedWbCode : !1,
@@ -12557,7 +12578,7 @@ const l1 = () => (zi || (zi = new bu({
12557
12578
  codeFileOutputVN(e) {
12558
12579
  var f;
12559
12580
  const t = this.itemFileLanguage;
12560
- if (this.resolvedWbCodeFile == null || !t || !this.source) return null;
12581
+ if (this.resolvedWbCodeFile == null || !t || !this.source || typeof this.item_ == "string" && this.item_.startsWith("./")) return null;
12561
12582
  let {
12562
12583
  activator: r,
12563
12584
  collapsed: n,
@@ -12853,7 +12874,7 @@ function m1() {
12853
12874
  } }, w = "en", y = {};
12854
12875
  y[w] = I;
12855
12876
  var F = "$isDayjsObject", B = function(E) {
12856
- return E instanceof ue || !(!E || !E[F]);
12877
+ return E instanceof ie || !(!E || !E[F]);
12857
12878
  }, Q = function E(x, k, D) {
12858
12879
  var A;
12859
12880
  if (!x) return w;
@@ -12870,12 +12891,12 @@ function m1() {
12870
12891
  }, H = function(E, x) {
12871
12892
  if (B(E)) return E.clone();
12872
12893
  var k = typeof x == "object" ? x : {};
12873
- return k.date = E, k.args = arguments, new ue(k);
12894
+ return k.date = E, k.args = arguments, new ie(k);
12874
12895
  }, z = S;
12875
12896
  z.l = Q, z.i = B, z.w = function(E, x) {
12876
12897
  return H(E, { locale: x.$L, utc: x.$u, x: x.$x, $offset: x.$offset });
12877
12898
  };
12878
- var ue = (function() {
12899
+ var ie = (function() {
12879
12900
  function E(k) {
12880
12901
  this.$L = Q(k.locale, null, !0), this.parse(k), this.$x = this.$x || k.x || {}, this[F] = !0;
12881
12902
  }
@@ -13090,13 +13111,13 @@ function m1() {
13090
13111
  }, x.toString = function() {
13091
13112
  return this.$d.toUTCString();
13092
13113
  }, E;
13093
- })(), re = ue.prototype;
13114
+ })(), re = ie.prototype;
13094
13115
  return H.prototype = re, [["$ms", u], ["$s", a], ["$m", s], ["$H", o], ["$W", c], ["$M", p], ["$y", h], ["$D", d]].forEach((function(E) {
13095
13116
  re[E[1]] = function(x) {
13096
13117
  return this.$g(x, E[0], E[1]);
13097
13118
  };
13098
13119
  })), H.extend = function(E, x) {
13099
- return E.$i || (E(x, ue, H), E.$i = !0), H;
13120
+ return E.$i || (E(x, ie, H), E.$i = !0), H;
13100
13121
  }, H.locale = Q, H.isDayjs = B, H.unix = function(E) {
13101
13122
  return H(1e3 * E);
13102
13123
  }, H.en = y[w], H.Ls = y, H.p = {}, H;
@@ -13173,8 +13194,8 @@ Mr.exports;
13173
13194
  var Ks;
13174
13195
  function x1() {
13175
13196
  return Ks || (Ks = 1, (function(e, t) {
13176
- var r = 200, n = "__lodash_hash_undefined__", i = 800, u = 16, a = 9007199254740991, s = "[object Arguments]", o = "[object Array]", c = "[object AsyncFunction]", f = "[object Boolean]", p = "[object Date]", l = "[object Error]", h = "[object Function]", d = "[object GeneratorFunction]", _ = "[object Map]", C = "[object Number]", T = "[object Null]", I = "[object Object]", L = "[object Proxy]", S = "[object RegExp]", w = "[object Set]", y = "[object String]", F = "[object Undefined]", B = "[object WeakMap]", Q = "[object ArrayBuffer]", H = "[object DataView]", z = "[object Float32Array]", ue = "[object Float64Array]", re = "[object Int8Array]", E = "[object Int16Array]", x = "[object Int32Array]", k = "[object Uint8Array]", D = "[object Uint8ClampedArray]", A = "[object Uint16Array]", P = "[object Uint32Array]", V = /[\\^$.*+?()[\]{}|]/g, Z = /^\[object .+?Constructor\]$/, $ = /^(?:0|[1-9]\d*)$/, N = {};
13177
- N[z] = N[ue] = N[re] = N[E] = N[x] = N[k] = N[D] = N[A] = N[P] = !0, N[s] = N[o] = N[Q] = N[f] = N[H] = N[p] = N[l] = N[h] = N[_] = N[C] = N[I] = N[S] = N[w] = N[y] = N[B] = !1;
13197
+ var r = 200, n = "__lodash_hash_undefined__", i = 800, u = 16, a = 9007199254740991, s = "[object Arguments]", o = "[object Array]", c = "[object AsyncFunction]", f = "[object Boolean]", p = "[object Date]", l = "[object Error]", h = "[object Function]", d = "[object GeneratorFunction]", _ = "[object Map]", C = "[object Number]", T = "[object Null]", I = "[object Object]", L = "[object Proxy]", S = "[object RegExp]", w = "[object Set]", y = "[object String]", F = "[object Undefined]", B = "[object WeakMap]", Q = "[object ArrayBuffer]", H = "[object DataView]", z = "[object Float32Array]", ie = "[object Float64Array]", re = "[object Int8Array]", E = "[object Int16Array]", x = "[object Int32Array]", k = "[object Uint8Array]", D = "[object Uint8ClampedArray]", A = "[object Uint16Array]", P = "[object Uint32Array]", V = /[\\^$.*+?()[\]{}|]/g, Z = /^\[object .+?Constructor\]$/, $ = /^(?:0|[1-9]\d*)$/, N = {};
13198
+ N[z] = N[ie] = N[re] = N[E] = N[x] = N[k] = N[D] = N[A] = N[P] = !0, N[s] = N[o] = N[Q] = N[f] = N[H] = N[p] = N[l] = N[h] = N[_] = N[C] = N[I] = N[S] = N[w] = N[y] = N[B] = !1;
13178
13199
  var R = typeof xn == "object" && xn && xn.Object === Object && xn, U = typeof self == "object" && self && self.Object === Object && self, M = R || U || Function("return this")(), X = t && !t.nodeType && t, te = X && !0 && e && !e.nodeType && e, Ce = te && te.exports === X, me = Ce && R.process, we = (function() {
13179
13200
  try {
13180
13201
  var b = te && te.require && te.require("util").types;
@@ -13400,7 +13421,7 @@ function x1() {
13400
13421
  var v = _i(b) ? Sr : Z;
13401
13422
  return v.test(pc(b));
13402
13423
  }
13403
- function ie(b) {
13424
+ function ue(b) {
13404
13425
  return Nr(b) && qu(b.length) && !!N[g(b)];
13405
13426
  }
13406
13427
  function ve(b) {
@@ -13623,7 +13644,7 @@ function x1() {
13623
13644
  var O = We.call(v, "constructor") && v.constructor;
13624
13645
  return typeof O == "function" && O instanceof O && kt.call(O) == un;
13625
13646
  }
13626
- var Gu = tt ? nn(tt) : ie;
13647
+ var Gu = tt ? nn(tt) : ue;
13627
13648
  function mc(b) {
13628
13649
  return Qo(b, Ku(b));
13629
13650
  }