@webority/ui-react 0.146.2 → 0.147.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.
@@ -58991,20 +58991,23 @@ var NHe = ["circle"], PHe = d(function(e, n) {
58991
58991
  "solid"
58992
58992
  ], IHe = ["sm", "md"];
58993
58993
  function fG(r) {
58994
- let { marker: i, props: a } = U("AppChip", r), { label: o, children: s, tone: c = "neutral", variant: l = "soft", size: u = "md", leadingIcon: d, avatar: f, onRemove: p, onClick: m, disabled: h = !1, removeLabel: g, className: _ = "", ...v } = a;
58995
- G("AppChip", v), W("AppChip", "tone", c, As), W("AppChip", "variant", l, FHe), W("AppChip", "size", u, IHe);
58996
- let y = o ?? s, b = {}, x = {};
58997
- for (let [e, t] of Object.entries(v)) m && (e.startsWith("aria-") || e.startsWith("data-")) ? b[e] = t : x[e] = t;
58998
- let S = [
58994
+ let { marker: i, props: a } = U("AppChip", r), { label: o, children: s, tone: c = "neutral", variant: l = "soft", size: u = "md", leadingIcon: d, avatar: f, onRemove: p, onClick: m, selected: h, count: g, disabled: _ = !1, removeLabel: v, className: y = "", ...b } = a;
58995
+ if (G("AppChip", b), W("AppChip", "tone", c, As), W("AppChip", "variant", l, FHe), W("AppChip", "size", u, IHe), h != null && !m) throw RangeError("[@webority/ui-react] <AppChip> received selected without onClick. Only a clickable chip can be the chosen filter: pass onClick, or omit selected.");
58996
+ let x = o ?? s, S = g == null ? null : /* @__PURE__ */ t("span", {
58997
+ className: "wui-chip-count",
58998
+ children: g
58999
+ }), C = {}, w = {};
59000
+ for (let [e, t] of Object.entries(b)) m && (e.startsWith("aria-") || e.startsWith("data-")) ? C[e] = t : w[e] = t;
59001
+ let T = [
58999
59002
  "chip",
59000
59003
  c && c !== "neutral" ? c : "",
59001
59004
  l === "outline" ? "chip-outline" : l === "solid" ? "chip-solid" : "",
59002
59005
  u === "sm" ? "chip-sm" : "",
59003
59006
  m ? "chip-clickable" : "",
59004
59007
  p ? "chip-removable" : "",
59005
- h ? "is-disabled" : "",
59006
- _
59007
- ].filter(Boolean).join(" "), C = f ? /* @__PURE__ */ t("span", {
59008
+ _ ? "is-disabled" : "",
59009
+ y
59010
+ ].filter(Boolean).join(" "), E = f ? /* @__PURE__ */ t("span", {
59008
59011
  className: "chip-avatar",
59009
59012
  children: typeof f == "string" ? /* @__PURE__ */ t("img", {
59010
59013
  src: f,
@@ -59016,30 +59019,39 @@ function fG(r) {
59016
59019
  name: d,
59017
59020
  size: u === "sm" ? 12 : 14
59018
59021
  })
59019
- }) : null, w = m ? /* @__PURE__ */ n("button", {
59022
+ }) : null, D = m ? /* @__PURE__ */ n("button", {
59020
59023
  type: "button",
59021
59024
  className: "chip-body",
59022
- ...b,
59025
+ "aria-pressed": h ?? void 0,
59026
+ ...C,
59023
59027
  onClick: m,
59024
- disabled: h,
59025
- children: [C, /* @__PURE__ */ t("span", {
59028
+ disabled: _,
59029
+ children: [
59030
+ E,
59031
+ /* @__PURE__ */ t("span", {
59032
+ className: "chip-label",
59033
+ children: x
59034
+ }),
59035
+ S
59036
+ ]
59037
+ }) : /* @__PURE__ */ n(e, { children: [
59038
+ E,
59039
+ /* @__PURE__ */ t("span", {
59026
59040
  className: "chip-label",
59027
- children: y
59028
- })]
59029
- }) : /* @__PURE__ */ n(e, { children: [C, /* @__PURE__ */ t("span", {
59030
- className: "chip-label",
59031
- children: y
59032
- })] });
59041
+ children: x
59042
+ }),
59043
+ S
59044
+ ] });
59033
59045
  return /* @__PURE__ */ n("span", {
59034
- className: S,
59046
+ className: T,
59035
59047
  ...i,
59036
- ...x,
59037
- children: [w, p && /* @__PURE__ */ t("button", {
59048
+ ...w,
59049
+ children: [D, p && /* @__PURE__ */ t("button", {
59038
59050
  type: "button",
59039
59051
  className: "chip-remove",
59040
59052
  onClick: p,
59041
- disabled: h,
59042
- "aria-label": g || (typeof y == "string" ? `Remove ${y}` : "Remove"),
59053
+ disabled: _,
59054
+ "aria-label": v || (typeof x == "string" ? `Remove ${x}` : "Remove"),
59043
59055
  children: /* @__PURE__ */ t(K, {
59044
59056
  name: "x",
59045
59057
  size: u === "sm" ? 12 : 14
@@ -66301,7 +66313,7 @@ var uqe = Object.freeze({
66301
66313
  focus: "wui-force-focus",
66302
66314
  active: "wui-force-active"
66303
66315
  }), dqe = 1200, fqe = ["start", "end"], $K = {
66304
- comfortable: 54,
66316
+ comfortable: 72,
66305
66317
  cozy: 48,
66306
66318
  compact: 40
66307
66319
  }, eq = {
@@ -66419,7 +66431,7 @@ function kqe(e) {
66419
66431
  for (let t of e) t.ok || n.push(eq.notSaved(t.label, t.message));
66420
66432
  return n.join(" ");
66421
66433
  }
66422
- // ../elements/dist/WuiDataTable-XscBy1ct.js
66434
+ // ../elements/dist/WuiDataTable-DAxAegnG.js
66423
66435
  jm();
66424
66436
  var iq = ".wui-col-resize", aq = ".wui-group-row, .wui-virtual-spacer", oq = ".wui-select-cell, .wui-expand-cell", Aqe = "<svg class=\"wui-icon\" data-icon=\"chevron-down\" data-wui=\"AppIcon\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" stroke-width=\"1.5\" d=\"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95\"></path></svg>", jqe = (e) => e.hasAttribute("data-wui-skeleton") || !!e.querySelector(":scope > td > .skeleton"), Mqe = class extends Am {
66425
66437
  constructor() {
@@ -89437,7 +89449,7 @@ function s2e(e) {
89437
89449
  return t.startsWith("+") ? "up" : t.startsWith("-") || t.startsWith("−") ? "down" : "flat";
89438
89450
  }
89439
89451
  function c2e(e) {
89440
- let { marker: r, props: i } = U("AppKpiTile", e), { label: a, value: o, caption: s, icon: c, iconTone: l, iconVariant: u, delta: d, deltaDirection: f, deltaTone: p, sparkline: m, variant: h = "plain", size: g = "md", valueSize: _, inline: v = !1, attention: y = !1, href: b, linkComponent: x, className: S = "", style: C, iconClassName: w = "", labelClassName: T = "", valueClassName: E = "", captionClassName: D = "", deltaClassName: O = "", sparklineClassName: k = "", ...A } = i;
89452
+ let { marker: r, props: i } = U("AppKpiTile", e), { label: a, value: o, caption: s, icon: c, iconTone: l, iconVariant: u = "twotone", delta: d, deltaDirection: f, deltaTone: p, sparkline: m, variant: h = "plain", size: g = "md", valueSize: _, inline: v = !1, attention: y = !1, href: b, linkComponent: x, className: S = "", style: C, iconClassName: w = "", labelClassName: T = "", valueClassName: E = "", captionClassName: D = "", deltaClassName: O = "", sparklineClassName: k = "", ...A } = i;
89441
89453
  G("AppKpiTile", A), W("AppKpiTile", "variant", h, e2e), W("AppKpiTile", "size", g, t2e), W("AppKpiTile", "iconTone", l, n2e), W("AppKpiTile", "iconVariant", u, r2e), W("AppKpiTile", "deltaDirection", f, i2e), W("AppKpiTile", "deltaTone", p, a2e);
89442
89454
  let j = `kpi${v ? " kpi-inline" : ""}${h === "filled" ? " kpi-filled" : h === "accent" ? " kpi-accent" : h === "spotlight" ? " kpi-spotlight" : ""}${g === "lg" ? " kpi-lg" : g === "sm" ? " kpi-sm" : ""}${y ? " kpi-attention" : ""}${S ? ` ${S}` : ""}`, M = typeof _ == "number" && _ > 0 ? {
89443
89455
  ...C,
@@ -90831,22 +90843,28 @@ function eQ(e, t) {
90831
90843
  f4e.lastIndex = o;
90832
90844
  let t = f4e.exec(e);
90833
90845
  if (t) {
90846
+ let e = t[1], n = t[2];
90847
+ if (e === void 0 || n === void 0) throw Error("The link pattern always captures its label and href");
90834
90848
  a(), r.push({
90835
90849
  type: "link",
90836
- href: t[2],
90837
- children: eQ(t[1])
90850
+ href: n,
90851
+ children: eQ(e)
90838
90852
  }), o += t[0].length;
90839
90853
  continue;
90840
90854
  }
90841
90855
  if (n) {
90842
90856
  m4e.lastIndex = o;
90843
90857
  let t = m4e.exec(e);
90844
- if (t && n(t[1])) {
90845
- a(), r.push({
90846
- type: "citation",
90847
- text: t[1]
90848
- }), o += t[0].length;
90849
- continue;
90858
+ if (t) {
90859
+ let e = t[1];
90860
+ if (e === void 0) throw Error("The citation pattern always captures its inner text");
90861
+ if (n(e)) {
90862
+ a(), r.push({
90863
+ type: "citation",
90864
+ text: e
90865
+ }), o += t[0].length;
90866
+ continue;
90867
+ }
90850
90868
  }
90851
90869
  }
90852
90870
  }
@@ -90854,9 +90872,11 @@ function eQ(e, t) {
90854
90872
  p4e.lastIndex = o;
90855
90873
  let t = p4e.exec(e);
90856
90874
  if (t) {
90875
+ let e = t[1];
90876
+ if (e === void 0) throw Error("The image pattern always captures its alt text");
90857
90877
  a(), r.push({
90858
90878
  type: "image",
90859
- children: eQ(t[1])
90879
+ children: eQ(e)
90860
90880
  }), o += t[0].length;
90861
90881
  continue;
90862
90882
  }
@@ -90876,10 +90896,14 @@ function w4e(e) {
90876
90896
  return t.startsWith("|") && (t = t.slice(1)), t.endsWith("|") && (t = t.slice(0, -1)), t.split("|").map((e) => e.trim());
90877
90897
  }
90878
90898
  function T4e(e, t) {
90879
- return C4e(e[t]) && t + 1 < e.length && e[t + 1].includes("|") && S4e.test(e[t + 1]);
90899
+ let n = e[t];
90900
+ if (n === void 0) throw Error("startsTable was called past the last source line");
90901
+ let r = e[t + 1];
90902
+ return r !== void 0 && C4e(n) && r.includes("|") && S4e.test(r);
90880
90903
  }
90881
90904
  function E4e(e, t) {
90882
90905
  let n = e[t];
90906
+ if (n === void 0) throw Error("startsBlock was called past the last source line");
90883
90907
  return tQ.test(n) || nQ.test(n) || b4e.test(n) || x4e.test(n) || v4e.test(n) || y4e.test(n) || T4e(e, t);
90884
90908
  }
90885
90909
  function D4e(e) {
@@ -90888,31 +90912,46 @@ function D4e(e) {
90888
90912
  }
90889
90913
  function O4e(e) {
90890
90914
  let t = x4e.exec(e);
90891
- if (t) return {
90892
- text: t[3],
90893
- depth: D4e(t[1]),
90894
- ordered: !0,
90895
- number: Number(t[2])
90896
- };
90915
+ if (t) {
90916
+ let e = t[1], n = t[2], r = t[3];
90917
+ if (e === void 0 || n === void 0 || r === void 0) throw Error("The ordered list pattern always captures its indent, number and text");
90918
+ return {
90919
+ text: r,
90920
+ depth: D4e(e),
90921
+ ordered: !0,
90922
+ number: Number(n)
90923
+ };
90924
+ }
90897
90925
  let n = b4e.exec(e);
90898
- return n ? {
90899
- text: n[2],
90900
- depth: D4e(n[1]),
90901
- ordered: !1,
90902
- number: 0
90903
- } : null;
90926
+ if (n) {
90927
+ let e = n[1], t = n[2];
90928
+ if (e === void 0 || t === void 0) throw Error("The bullet list pattern always captures its indent and text");
90929
+ return {
90930
+ text: t,
90931
+ depth: D4e(e),
90932
+ ordered: !1,
90933
+ number: 0
90934
+ };
90935
+ }
90936
+ return null;
90904
90937
  }
90905
90938
  function k4e(e) {
90906
90939
  let t = (e ?? "").replace(/\r\n?/g, "\n").split("\n"), n = [], r = 0;
90907
90940
  for (; r < t.length;) {
90908
90941
  let e = t[r];
90942
+ if (e === void 0) throw Error("parseMarkdown read past the last source line");
90909
90943
  if (!e.trim()) {
90910
90944
  r += 1;
90911
90945
  continue;
90912
90946
  }
90913
90947
  if (tQ.test(e)) {
90914
90948
  let i = _4e.exec(e)?.[1] || null, a = [];
90915
- for (r += 1; r < t.length && !tQ.test(t[r]);) a.push(t[r]), r += 1;
90949
+ for (r += 1; r < t.length;) {
90950
+ let e = t[r];
90951
+ if (e === void 0) throw Error("parseMarkdown read past the last source line");
90952
+ if (tQ.test(e)) break;
90953
+ a.push(e), r += 1;
90954
+ }
90916
90955
  r += 1, n.push({
90917
90956
  type: "code",
90918
90957
  text: a.join("\n"),
@@ -90922,7 +90961,12 @@ function k4e(e) {
90922
90961
  }
90923
90962
  if (T4e(t, r)) {
90924
90963
  let i = w4e(e), a = [];
90925
- for (r += 2; r < t.length && t[r].trim() && C4e(t[r]);) a.push(w4e(t[r])), r += 1;
90964
+ for (r += 2; r < t.length;) {
90965
+ let e = t[r];
90966
+ if (e === void 0) throw Error("parseMarkdown read past the last source line");
90967
+ if (!e.trim() || !C4e(e)) break;
90968
+ a.push(w4e(e)), r += 1;
90969
+ }
90926
90970
  n.push({
90927
90971
  type: "table",
90928
90972
  header: i,
@@ -90936,19 +90980,25 @@ function k4e(e) {
90936
90980
  }
90937
90981
  let i = v4e.exec(e);
90938
90982
  if (i) {
90983
+ let e = i[1], t = i[2];
90984
+ if (e === void 0 || t === void 0) throw Error("The heading pattern always captures its hashes and text");
90939
90985
  n.push({
90940
90986
  type: "heading",
90941
- level: i[1].length,
90942
- text: i[2]
90987
+ level: e.length,
90988
+ text: t
90943
90989
  }), r += 1;
90944
90990
  continue;
90945
90991
  }
90946
90992
  if (nQ.test(e)) {
90947
90993
  let e = [];
90948
90994
  for (; r < t.length;) {
90949
- let n = nQ.exec(t[r]);
90950
- if (!n) break;
90951
- e.push(n[1]), r += 1;
90995
+ let n = t[r];
90996
+ if (n === void 0) throw Error("parseMarkdown read past the last source line");
90997
+ let i = nQ.exec(n);
90998
+ if (!i) break;
90999
+ let a = i[1];
91000
+ if (a === void 0) throw Error("The quote pattern always captures its text");
91001
+ e.push(a), r += 1;
90952
91002
  }
90953
91003
  n.push({
90954
91004
  type: "quote",
@@ -90959,13 +91009,20 @@ function k4e(e) {
90959
91009
  let a = O4e(e);
90960
91010
  if (a) {
90961
91011
  let e = [];
90962
- for (; r < t.length && t[r].trim();) {
90963
- let n = O4e(t[r]);
90964
- if (n) {
90965
- if (n.depth === 0 && n.ordered !== a.ordered) break;
90966
- e.push(n);
91012
+ for (; r < t.length;) {
91013
+ let n = t[r];
91014
+ if (n === void 0) throw Error("parseMarkdown read past the last source line");
91015
+ if (!n.trim()) break;
91016
+ let i = O4e(n);
91017
+ if (i) {
91018
+ if (i.depth === 0 && i.ordered !== a.ordered) break;
91019
+ e.push(i);
90967
91020
  } else if (E4e(t, r)) break;
90968
- else e[e.length - 1].text += ` ${t[r].trim()}`;
91021
+ else {
91022
+ let t = e[e.length - 1];
91023
+ if (t === void 0) throw Error("A list continuation line follows a list with no item");
91024
+ t.text += ` ${n.trim()}`;
91025
+ }
90969
91026
  r += 1;
90970
91027
  }
90971
91028
  n.push({
@@ -90977,7 +91034,12 @@ function k4e(e) {
90977
91034
  continue;
90978
91035
  }
90979
91036
  let o = [e];
90980
- for (r += 1; r < t.length && t[r].trim() && !E4e(t, r);) o.push(t[r]), r += 1;
91037
+ for (r += 1; r < t.length;) {
91038
+ let e = t[r];
91039
+ if (e === void 0) throw Error("parseMarkdown read past the last source line");
91040
+ if (!e.trim() || E4e(t, r)) break;
91041
+ o.push(e), r += 1;
91042
+ }
90981
91043
  n.push({
90982
91044
  type: "paragraph",
90983
91045
  lines: o
@@ -90988,7 +91050,7 @@ function k4e(e) {
90988
91050
  key: t
90989
91051
  }));
90990
91052
  }
90991
- // ../elements/dist/WuiMarkdown-DmgLFkB-.js
91053
+ // ../elements/dist/WuiMarkdown-D5vm4sp4.js
90992
91054
  jm();
90993
91055
  var A4e = /\[([^[\]\n]+)\](?!\()/g, j4e = /* @__PURE__ */ new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"), M4e = /\[([^\]\n]+)\]\(((?:[^()\s]|\([^()\s]*\))+)\)/y, N4e = /!\[([^\]\n]*)\]\(((?:[^()\s]|\([^()\s]*\))+)\)/y, P4e = new RegExp(A4e.source, "y"), rQ = (e) => /[\p{L}\p{N}]/u.test(e);
90994
91056
  function F4e(e, t) {
@@ -91058,22 +91120,28 @@ function iQ(e, t) {
91058
91120
  M4e.lastIndex = o;
91059
91121
  let t = M4e.exec(e);
91060
91122
  if (t) {
91123
+ let e = t[1], n = t[2];
91124
+ if (e === void 0 || n === void 0) throw Error("The link pattern always captures its label and href");
91061
91125
  a(), r.push({
91062
91126
  type: "link",
91063
- href: t[2],
91064
- children: iQ(t[1])
91127
+ href: n,
91128
+ children: iQ(e)
91065
91129
  }), o += t[0].length;
91066
91130
  continue;
91067
91131
  }
91068
91132
  if (n) {
91069
91133
  P4e.lastIndex = o;
91070
91134
  let t = P4e.exec(e);
91071
- if (t && n(t[1])) {
91072
- a(), r.push({
91073
- type: "citation",
91074
- text: t[1]
91075
- }), o += t[0].length;
91076
- continue;
91135
+ if (t) {
91136
+ let e = t[1];
91137
+ if (e === void 0) throw Error("The citation pattern always captures its inner text");
91138
+ if (n(e)) {
91139
+ a(), r.push({
91140
+ type: "citation",
91141
+ text: e
91142
+ }), o += t[0].length;
91143
+ continue;
91144
+ }
91077
91145
  }
91078
91146
  }
91079
91147
  }
@@ -91081,9 +91149,11 @@ function iQ(e, t) {
91081
91149
  N4e.lastIndex = o;
91082
91150
  let t = N4e.exec(e);
91083
91151
  if (t) {
91152
+ let e = t[1];
91153
+ if (e === void 0) throw Error("The image pattern always captures its alt text");
91084
91154
  a(), r.push({
91085
91155
  type: "image",
91086
- children: iQ(t[1])
91156
+ children: iQ(e)
91087
91157
  }), o += t[0].length;
91088
91158
  continue;
91089
91159
  }
@@ -91151,10 +91221,14 @@ function n3e(e) {
91151
91221
  return t.startsWith("|") && (t = t.slice(1)), t.endsWith("|") && (t = t.slice(0, -1)), t.split("|").map((e) => e.trim());
91152
91222
  }
91153
91223
  function r3e(e, t) {
91154
- return t3e(e[t]) && t + 1 < e.length && e[t + 1].includes("|") && e3e.test(e[t + 1]);
91224
+ let n = e[t];
91225
+ if (n === void 0) throw Error("startsTable was called past the last source line");
91226
+ let r = e[t + 1];
91227
+ return r !== void 0 && t3e(n) && r.includes("|") && e3e.test(r);
91155
91228
  }
91156
91229
  function i3e(e, t) {
91157
91230
  let n = e[t];
91231
+ if (n === void 0) throw Error("startsBlock was called past the last source line");
91158
91232
  return aQ.test(n) || oQ.test(n) || Q4e.test(n) || $4e.test(n) || X4e.test(n) || Z4e.test(n) || r3e(e, t);
91159
91233
  }
91160
91234
  function a3e(e) {
@@ -91163,31 +91237,46 @@ function a3e(e) {
91163
91237
  }
91164
91238
  function o3e(e) {
91165
91239
  let t = $4e.exec(e);
91166
- if (t) return {
91167
- text: t[3],
91168
- depth: a3e(t[1]),
91169
- ordered: !0,
91170
- number: Number(t[2])
91171
- };
91240
+ if (t) {
91241
+ let e = t[1], n = t[2], r = t[3];
91242
+ if (e === void 0 || n === void 0 || r === void 0) throw Error("The ordered list pattern always captures its indent, number and text");
91243
+ return {
91244
+ text: r,
91245
+ depth: a3e(e),
91246
+ ordered: !0,
91247
+ number: Number(n)
91248
+ };
91249
+ }
91172
91250
  let n = Q4e.exec(e);
91173
- return n ? {
91174
- text: n[2],
91175
- depth: a3e(n[1]),
91176
- ordered: !1,
91177
- number: 0
91178
- } : null;
91251
+ if (n) {
91252
+ let e = n[1], t = n[2];
91253
+ if (e === void 0 || t === void 0) throw Error("The bullet list pattern always captures its indent and text");
91254
+ return {
91255
+ text: t,
91256
+ depth: a3e(e),
91257
+ ordered: !1,
91258
+ number: 0
91259
+ };
91260
+ }
91261
+ return null;
91179
91262
  }
91180
91263
  function s3e(e) {
91181
91264
  let t = (e ?? "").replace(/\r\n?/g, "\n").split("\n"), n = [], r = 0;
91182
91265
  for (; r < t.length;) {
91183
91266
  let e = t[r];
91267
+ if (e === void 0) throw Error("parseMarkdown read past the last source line");
91184
91268
  if (!e.trim()) {
91185
91269
  r += 1;
91186
91270
  continue;
91187
91271
  }
91188
91272
  if (aQ.test(e)) {
91189
91273
  let i = Y4e.exec(e)?.[1] || null, a = [];
91190
- for (r += 1; r < t.length && !aQ.test(t[r]);) a.push(t[r]), r += 1;
91274
+ for (r += 1; r < t.length;) {
91275
+ let e = t[r];
91276
+ if (e === void 0) throw Error("parseMarkdown read past the last source line");
91277
+ if (aQ.test(e)) break;
91278
+ a.push(e), r += 1;
91279
+ }
91191
91280
  r += 1, n.push({
91192
91281
  type: "code",
91193
91282
  text: a.join("\n"),
@@ -91197,7 +91286,12 @@ function s3e(e) {
91197
91286
  }
91198
91287
  if (r3e(t, r)) {
91199
91288
  let i = n3e(e), a = [];
91200
- for (r += 2; r < t.length && t[r].trim() && t3e(t[r]);) a.push(n3e(t[r])), r += 1;
91289
+ for (r += 2; r < t.length;) {
91290
+ let e = t[r];
91291
+ if (e === void 0) throw Error("parseMarkdown read past the last source line");
91292
+ if (!e.trim() || !t3e(e)) break;
91293
+ a.push(n3e(e)), r += 1;
91294
+ }
91201
91295
  n.push({
91202
91296
  type: "table",
91203
91297
  header: i,
@@ -91211,19 +91305,25 @@ function s3e(e) {
91211
91305
  }
91212
91306
  let i = X4e.exec(e);
91213
91307
  if (i) {
91308
+ let e = i[1], t = i[2];
91309
+ if (e === void 0 || t === void 0) throw Error("The heading pattern always captures its hashes and text");
91214
91310
  n.push({
91215
91311
  type: "heading",
91216
- level: i[1].length,
91217
- text: i[2]
91312
+ level: e.length,
91313
+ text: t
91218
91314
  }), r += 1;
91219
91315
  continue;
91220
91316
  }
91221
91317
  if (oQ.test(e)) {
91222
91318
  let e = [];
91223
91319
  for (; r < t.length;) {
91224
- let n = oQ.exec(t[r]);
91225
- if (!n) break;
91226
- e.push(n[1]), r += 1;
91320
+ let n = t[r];
91321
+ if (n === void 0) throw Error("parseMarkdown read past the last source line");
91322
+ let i = oQ.exec(n);
91323
+ if (!i) break;
91324
+ let a = i[1];
91325
+ if (a === void 0) throw Error("The quote pattern always captures its text");
91326
+ e.push(a), r += 1;
91227
91327
  }
91228
91328
  n.push({
91229
91329
  type: "quote",
@@ -91234,13 +91334,20 @@ function s3e(e) {
91234
91334
  let a = o3e(e);
91235
91335
  if (a) {
91236
91336
  let e = [];
91237
- for (; r < t.length && t[r].trim();) {
91238
- let n = o3e(t[r]);
91239
- if (n) {
91240
- if (n.depth === 0 && n.ordered !== a.ordered) break;
91241
- e.push(n);
91337
+ for (; r < t.length;) {
91338
+ let n = t[r];
91339
+ if (n === void 0) throw Error("parseMarkdown read past the last source line");
91340
+ if (!n.trim()) break;
91341
+ let i = o3e(n);
91342
+ if (i) {
91343
+ if (i.depth === 0 && i.ordered !== a.ordered) break;
91344
+ e.push(i);
91242
91345
  } else if (i3e(t, r)) break;
91243
- else e[e.length - 1].text += ` ${t[r].trim()}`;
91346
+ else {
91347
+ let t = e[e.length - 1];
91348
+ if (t === void 0) throw Error("A list continuation line follows a list with no item");
91349
+ t.text += ` ${n.trim()}`;
91350
+ }
91244
91351
  r += 1;
91245
91352
  }
91246
91353
  n.push({
@@ -91252,7 +91359,12 @@ function s3e(e) {
91252
91359
  continue;
91253
91360
  }
91254
91361
  let o = [e];
91255
- for (r += 1; r < t.length && t[r].trim() && !i3e(t, r);) o.push(t[r]), r += 1;
91362
+ for (r += 1; r < t.length;) {
91363
+ let e = t[r];
91364
+ if (e === void 0) throw Error("parseMarkdown read past the last source line");
91365
+ if (!e.trim() || i3e(t, r)) break;
91366
+ o.push(e), r += 1;
91367
+ }
91256
91368
  n.push({
91257
91369
  type: "paragraph",
91258
91370
  lines: o
@@ -128153,7 +128265,7 @@ var V_t = 99, H_t = 4, U_t = 5, W_t = /^[a-z0-9-]+$/, G_t = ["prefix", "exact"],
128153
128265
  return [...s, ...c].filter(Boolean);
128154
128266
  };
128155
128267
  function tvt(e) {
128156
- let { marker: r, props: i } = U("AppShell", e), { groups: a = [], brand: o, logoLight: s, logoDark: c, markLight: l, markDark: u, brandName: d, sidebarStart: f, sidebarStartCompact: p, sidebarFooter: m, topbarStart: g, topbarEnd: _, footer: v, launcher: y, children: x, collapsed: w, onCollapsedChange: T, noSidebar: E = !1, nav: D = "side", density: O = "comfortable", itemHeight: k, iconVariant: A, topbarTone: j = "neutral", navLabel: M = "Main navigation", linkComponent: N, currentPath: P, rememberCollapsed: F = !1, collapsedCookie: I = "wui-shell-collapsed", foldedCookie: L = S9, tabBarLabel: R = "Quick navigation", moreLabel: z = "More", skipLabel: B = "Skip to content", openNavLabel: V = "Open navigation", closeNavLabel: ee = "Close navigation", expandNavLabel: H = "Expand navigation", collapseNavLabel: te = "Collapse navigation", newLabel: ne = "New", togglePagesLabel: re = "Show or hide {name} pages", accountMenuLabel: ie = "Account menu for {name}", roleLabel: ae = "Role:", rolesLabel: oe = "Roles:", unreadLabel: se = "Unread", markAllReadLabel: ce = "Mark all read", viewAllLabel: le = "View all", loadingNotificationsText: ue = "Loading…", noUnreadText: de = "No unread notifications", unreadNotificationsText: fe = "{count} unread notifications", unreadBellLabel: pe = "{label}, {count} unread", searchResultsLabel: me = "Search results", noResultsText: he = "No results", noResultsForText: ge = "No results for “{value}”", resultsCountText: _e = "{count} results", resultCountText: ve = "{count} result", userMenu: ye, notifications: be, search: xe, className: Se = "", style: Ce, ...we } = i;
128268
+ let { marker: r, props: i } = U("AppShell", e), { groups: a = [], brand: o, logoLight: s, logoDark: c, markLight: l, markDark: u, brandName: d, sidebarStart: f, sidebarStartCompact: p, sidebarFooter: m, topbarStart: g, topbarEnd: _, footer: v, launcher: y, children: x, collapsed: w, onCollapsedChange: T, noSidebar: E = !1, nav: D = "side", density: O = "comfortable", itemHeight: k, iconVariant: A = "twotone", topbarTone: j = "neutral", navLabel: M = "Main navigation", linkComponent: N, currentPath: P, rememberCollapsed: F = !1, collapsedCookie: I = "wui-shell-collapsed", foldedCookie: L = S9, tabBarLabel: R = "Quick navigation", moreLabel: z = "More", skipLabel: B = "Skip to content", openNavLabel: V = "Open navigation", closeNavLabel: ee = "Close navigation", expandNavLabel: H = "Expand navigation", collapseNavLabel: te = "Collapse navigation", newLabel: ne = "New", togglePagesLabel: re = "Show or hide {name} pages", accountMenuLabel: ie = "Account menu for {name}", roleLabel: ae = "Role:", rolesLabel: oe = "Roles:", unreadLabel: se = "Unread", markAllReadLabel: ce = "Mark all read", viewAllLabel: le = "View all", loadingNotificationsText: ue = "Loading…", noUnreadText: de = "No unread notifications", unreadNotificationsText: fe = "{count} unread notifications", unreadBellLabel: pe = "{label}, {count} unread", searchResultsLabel: me = "Search results", noResultsText: he = "No results", noResultsForText: ge = "No results for “{value}”", resultsCountText: _e = "{count} results", resultCountText: ve = "{count} result", userMenu: ye, notifications: be, search: xe, className: Se = "", style: Ce, ...we } = i;
128157
128269
  G("AppShell", we), W("AppShell", "density", O, K_t), W("AppShell", "topbarTone", j, q_t), W("AppShell", "nav", D, J_t), W("AppShell", "iconVariant", A, Y_t);
128158
128270
  let Te = k > 0 ? {
128159
128271
  ...Ce,
@@ -133858,19 +133970,19 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133858
133970
  },
133859
133971
  border: {
133860
133972
  light: "#ebedf3",
133861
- dark: "#2a2f3a"
133973
+ dark: "#3d4554"
133862
133974
  },
133863
133975
  "border-strong": {
133864
133976
  light: "#c4cada",
133865
- dark: "#3a414f"
133977
+ dark: "#515b6e"
133866
133978
  },
133867
133979
  "border-subtle": {
133868
133980
  light: "#f4f6f8",
133869
- dark: "#2a2f3a80"
133981
+ dark: "#3d455480"
133870
133982
  },
133871
133983
  "chart-1": {
133872
133984
  light: "#4f46e5",
133873
- dark: "#9590ef"
133985
+ dark: "#aeaaf5"
133874
133986
  },
133875
133987
  "chart-2": {
133876
133988
  light: "#eb6834",
@@ -133902,7 +134014,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133902
134014
  },
133903
134015
  "chart-axis": {
133904
134016
  light: "#c4cada",
133905
- dark: "#3a414f"
134017
+ dark: "#515b6e"
133906
134018
  },
133907
134019
  "chart-diverging-high": {
133908
134020
  light: "#2a78d6",
@@ -133918,7 +134030,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133918
134030
  },
133919
134031
  "chart-grid": {
133920
134032
  light: "#ebedf3",
133921
- dark: "#2a2f3a"
134033
+ dark: "#3d4554"
133922
134034
  },
133923
134035
  "chart-label": {
133924
134036
  light: "#626a82",
@@ -133994,23 +134106,23 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133994
134106
  },
133995
134107
  "field-border": {
133996
134108
  light: "#dfe2ea",
133997
- dark: "#2a2f3a"
134109
+ dark: "#3d4554"
133998
134110
  },
133999
134111
  "field-border-focus": {
134000
134112
  light: "#a5b4fc",
134001
- dark: "#9590ef"
134113
+ dark: "#aeaaf5"
134002
134114
  },
134003
134115
  "field-border-hover": {
134004
134116
  light: "#c4cada",
134005
- dark: "#3a414f"
134117
+ dark: "#515b6e"
134006
134118
  },
134007
134119
  "focus-ring": {
134008
134120
  light: "#4f46e5",
134009
- dark: "#9590ef"
134121
+ dark: "#aeaaf5"
134010
134122
  },
134011
134123
  "focus-ring-soft": {
134012
134124
  light: "#4f46e540",
134013
- dark: "#9590ef40"
134125
+ dark: "#aeaaf540"
134014
134126
  },
134015
134127
  info: {
134016
134128
  light: "#056ee9",
@@ -134042,7 +134154,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
134042
134154
  },
134043
134155
  link: {
134044
134156
  light: "#4f46e5",
134045
- dark: "#9590ef"
134157
+ dark: "#aeaaf5"
134046
134158
  },
134047
134159
  neutral: {
134048
134160
  light: "#07143714",
@@ -134126,11 +134238,11 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
134126
134238
  },
134127
134239
  primary: {
134128
134240
  light: "#4f46e5",
134129
- dark: "#9590ef"
134241
+ dark: "#aeaaf5"
134130
134242
  },
134131
134243
  "primary-hover": {
134132
134244
  light: "#4338ca",
134133
- dark: "#a29df1"
134245
+ dark: "#c3c0f8"
134134
134246
  },
134135
134247
  "primary-soft": {
134136
134248
  light: "#e0e7ff",
@@ -134138,15 +134250,15 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
134138
134250
  },
134139
134251
  "primary-text": {
134140
134252
  light: "#4f46e5",
134141
- dark: "#9590ef"
134253
+ dark: "#aeaaf5"
134142
134254
  },
134143
134255
  "primary-wash": {
134144
134256
  light: "#4f46e514",
134145
- dark: "#9590ef14"
134257
+ dark: "#aeaaf514"
134146
134258
  },
134147
134259
  "primary-wash-strong": {
134148
134260
  light: "#4f46e533",
134149
- dark: "#9590ef33"
134261
+ dark: "#aeaaf533"
134150
134262
  },
134151
134263
  "progress-label": {
134152
134264
  light: "#ffffff",
@@ -134436,7 +134548,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
134436
134548
  kind: "WeborityWeb",
134437
134549
  library: {
134438
134550
  name: "@webority/ui-react",
134439
- version: "0.146.2"
134551
+ version: "0.147.0"
134440
134552
  },
134441
134553
  rendererProtocolVersion: 13,
134442
134554
  platform: "Web",
@@ -137910,6 +138022,12 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
137910
138022
  description: "Extra classes on the element.",
137911
138023
  default: ""
137912
138024
  },
138025
+ {
138026
+ name: "count",
138027
+ type: "node",
138028
+ required: !1,
138029
+ description: "A count shown after the label, such as a filter's result count."
138030
+ },
137913
138031
  {
137914
138032
  name: "disabled",
137915
138033
  type: "boolean",
@@ -137935,6 +138053,12 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
137935
138053
  required: !1,
137936
138054
  description: "aria-label for the dismiss button."
137937
138055
  },
138056
+ {
138057
+ name: "selected",
138058
+ type: "boolean",
138059
+ required: !1,
138060
+ description: "With onClick, true marks the chip as the chosen filter (its button carries aria-pressed). Needs onClick; a chip that is not clickable refuses it."
138061
+ },
137938
138062
  {
137939
138063
  name: "size",
137940
138064
  type: "enum",
@@ -146272,7 +146396,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
146272
146396
  ],
146273
146397
  required: !1,
146274
146398
  description: "The icon style of a named icon; a node icon is drawn as given.",
146275
- default: "linear"
146399
+ default: "twotone"
146276
146400
  },
146277
146401
  {
146278
146402
  name: "inline",
@@ -154119,7 +154243,8 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
154119
154243
  "twotone"
154120
154244
  ],
154121
154245
  required: !1,
154122
- description: "The iconsax style of every sidebar icon. A row's own iconVariant overrides it; bulk is the filled look. Unset, icons draw in the linear style."
154246
+ description: "The iconsax style of every sidebar icon. A row's own iconVariant overrides it; bulk is the filled look. Unset, icons draw in the twotone style.",
154247
+ default: "twotone"
154123
154248
  },
154124
154249
  {
154125
154250
  name: "itemHeight",
@@ -160422,19 +160547,19 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160422
160547
  },
160423
160548
  border: {
160424
160549
  light: "#ebedf3",
160425
- dark: "#2a2f3a"
160550
+ dark: "#3d4554"
160426
160551
  },
160427
160552
  "border-strong": {
160428
160553
  light: "#c4cada",
160429
- dark: "#3a414f"
160554
+ dark: "#515b6e"
160430
160555
  },
160431
160556
  "border-subtle": {
160432
160557
  light: "#f4f6f8",
160433
- dark: "#2a2f3a80"
160558
+ dark: "#3d455480"
160434
160559
  },
160435
160560
  "chart-1": {
160436
160561
  light: "#4f46e5",
160437
- dark: "#9590ef"
160562
+ dark: "#aeaaf5"
160438
160563
  },
160439
160564
  "chart-2": {
160440
160565
  light: "#eb6834",
@@ -160466,7 +160591,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160466
160591
  },
160467
160592
  "chart-axis": {
160468
160593
  light: "#c4cada",
160469
- dark: "#3a414f"
160594
+ dark: "#515b6e"
160470
160595
  },
160471
160596
  "chart-diverging-high": {
160472
160597
  light: "#2a78d6",
@@ -160482,7 +160607,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160482
160607
  },
160483
160608
  "chart-grid": {
160484
160609
  light: "#ebedf3",
160485
- dark: "#2a2f3a"
160610
+ dark: "#3d4554"
160486
160611
  },
160487
160612
  "chart-label": {
160488
160613
  light: "#626a82",
@@ -160558,23 +160683,23 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160558
160683
  },
160559
160684
  "field-border": {
160560
160685
  light: "#dfe2ea",
160561
- dark: "#2a2f3a"
160686
+ dark: "#3d4554"
160562
160687
  },
160563
160688
  "field-border-focus": {
160564
160689
  light: "#a5b4fc",
160565
- dark: "#9590ef"
160690
+ dark: "#aeaaf5"
160566
160691
  },
160567
160692
  "field-border-hover": {
160568
160693
  light: "#c4cada",
160569
- dark: "#3a414f"
160694
+ dark: "#515b6e"
160570
160695
  },
160571
160696
  "focus-ring": {
160572
160697
  light: "#4f46e5",
160573
- dark: "#9590ef"
160698
+ dark: "#aeaaf5"
160574
160699
  },
160575
160700
  "focus-ring-soft": {
160576
160701
  light: "#4f46e540",
160577
- dark: "#9590ef40"
160702
+ dark: "#aeaaf540"
160578
160703
  },
160579
160704
  info: {
160580
160705
  light: "#056ee9",
@@ -160606,7 +160731,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160606
160731
  },
160607
160732
  link: {
160608
160733
  light: "#4f46e5",
160609
- dark: "#9590ef"
160734
+ dark: "#aeaaf5"
160610
160735
  },
160611
160736
  neutral: {
160612
160737
  light: "#07143714",
@@ -160690,11 +160815,11 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160690
160815
  },
160691
160816
  primary: {
160692
160817
  light: "#4f46e5",
160693
- dark: "#9590ef"
160818
+ dark: "#aeaaf5"
160694
160819
  },
160695
160820
  "primary-hover": {
160696
160821
  light: "#4338ca",
160697
- dark: "#a29df1"
160822
+ dark: "#c3c0f8"
160698
160823
  },
160699
160824
  "primary-soft": {
160700
160825
  light: "#e0e7ff",
@@ -160702,15 +160827,15 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160702
160827
  },
160703
160828
  "primary-text": {
160704
160829
  light: "#4f46e5",
160705
- dark: "#9590ef"
160830
+ dark: "#aeaaf5"
160706
160831
  },
160707
160832
  "primary-wash": {
160708
160833
  light: "#4f46e514",
160709
- dark: "#9590ef14"
160834
+ dark: "#aeaaf514"
160710
160835
  },
160711
160836
  "primary-wash-strong": {
160712
160837
  light: "#4f46e533",
160713
- dark: "#9590ef33"
160838
+ dark: "#aeaaf533"
160714
160839
  },
160715
160840
  "progress-label": {
160716
160841
  light: "#ffffff",