@webority/ui-react 0.146.1 → 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
@@ -63634,6 +63646,7 @@ var $Ge = [
63634
63646
  3,
63635
63647
  4,
63636
63648
  6,
63649
+ 8,
63637
63650
  12
63638
63651
  ];
63639
63652
  function eKe(e) {
@@ -66300,7 +66313,7 @@ var uqe = Object.freeze({
66300
66313
  focus: "wui-force-focus",
66301
66314
  active: "wui-force-active"
66302
66315
  }), dqe = 1200, fqe = ["start", "end"], $K = {
66303
- comfortable: 54,
66316
+ comfortable: 72,
66304
66317
  cozy: 48,
66305
66318
  compact: 40
66306
66319
  }, eq = {
@@ -66418,7 +66431,7 @@ function kqe(e) {
66418
66431
  for (let t of e) t.ok || n.push(eq.notSaved(t.label, t.message));
66419
66432
  return n.join(" ");
66420
66433
  }
66421
- // ../elements/dist/WuiDataTable-XscBy1ct.js
66434
+ // ../elements/dist/WuiDataTable-DAxAegnG.js
66422
66435
  jm();
66423
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 {
66424
66437
  constructor() {
@@ -89436,7 +89449,7 @@ function s2e(e) {
89436
89449
  return t.startsWith("+") ? "up" : t.startsWith("-") || t.startsWith("−") ? "down" : "flat";
89437
89450
  }
89438
89451
  function c2e(e) {
89439
- 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;
89440
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);
89441
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 ? {
89442
89455
  ...C,
@@ -90830,22 +90843,28 @@ function eQ(e, t) {
90830
90843
  f4e.lastIndex = o;
90831
90844
  let t = f4e.exec(e);
90832
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");
90833
90848
  a(), r.push({
90834
90849
  type: "link",
90835
- href: t[2],
90836
- children: eQ(t[1])
90850
+ href: n,
90851
+ children: eQ(e)
90837
90852
  }), o += t[0].length;
90838
90853
  continue;
90839
90854
  }
90840
90855
  if (n) {
90841
90856
  m4e.lastIndex = o;
90842
90857
  let t = m4e.exec(e);
90843
- if (t && n(t[1])) {
90844
- a(), r.push({
90845
- type: "citation",
90846
- text: t[1]
90847
- }), o += t[0].length;
90848
- 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
+ }
90849
90868
  }
90850
90869
  }
90851
90870
  }
@@ -90853,9 +90872,11 @@ function eQ(e, t) {
90853
90872
  p4e.lastIndex = o;
90854
90873
  let t = p4e.exec(e);
90855
90874
  if (t) {
90875
+ let e = t[1];
90876
+ if (e === void 0) throw Error("The image pattern always captures its alt text");
90856
90877
  a(), r.push({
90857
90878
  type: "image",
90858
- children: eQ(t[1])
90879
+ children: eQ(e)
90859
90880
  }), o += t[0].length;
90860
90881
  continue;
90861
90882
  }
@@ -90875,10 +90896,14 @@ function w4e(e) {
90875
90896
  return t.startsWith("|") && (t = t.slice(1)), t.endsWith("|") && (t = t.slice(0, -1)), t.split("|").map((e) => e.trim());
90876
90897
  }
90877
90898
  function T4e(e, t) {
90878
- 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);
90879
90903
  }
90880
90904
  function E4e(e, t) {
90881
90905
  let n = e[t];
90906
+ if (n === void 0) throw Error("startsBlock was called past the last source line");
90882
90907
  return tQ.test(n) || nQ.test(n) || b4e.test(n) || x4e.test(n) || v4e.test(n) || y4e.test(n) || T4e(e, t);
90883
90908
  }
90884
90909
  function D4e(e) {
@@ -90887,31 +90912,46 @@ function D4e(e) {
90887
90912
  }
90888
90913
  function O4e(e) {
90889
90914
  let t = x4e.exec(e);
90890
- if (t) return {
90891
- text: t[3],
90892
- depth: D4e(t[1]),
90893
- ordered: !0,
90894
- number: Number(t[2])
90895
- };
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
+ }
90896
90925
  let n = b4e.exec(e);
90897
- return n ? {
90898
- text: n[2],
90899
- depth: D4e(n[1]),
90900
- ordered: !1,
90901
- number: 0
90902
- } : 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;
90903
90937
  }
90904
90938
  function k4e(e) {
90905
90939
  let t = (e ?? "").replace(/\r\n?/g, "\n").split("\n"), n = [], r = 0;
90906
90940
  for (; r < t.length;) {
90907
90941
  let e = t[r];
90942
+ if (e === void 0) throw Error("parseMarkdown read past the last source line");
90908
90943
  if (!e.trim()) {
90909
90944
  r += 1;
90910
90945
  continue;
90911
90946
  }
90912
90947
  if (tQ.test(e)) {
90913
90948
  let i = _4e.exec(e)?.[1] || null, a = [];
90914
- 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
+ }
90915
90955
  r += 1, n.push({
90916
90956
  type: "code",
90917
90957
  text: a.join("\n"),
@@ -90921,7 +90961,12 @@ function k4e(e) {
90921
90961
  }
90922
90962
  if (T4e(t, r)) {
90923
90963
  let i = w4e(e), a = [];
90924
- 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
+ }
90925
90970
  n.push({
90926
90971
  type: "table",
90927
90972
  header: i,
@@ -90935,19 +90980,25 @@ function k4e(e) {
90935
90980
  }
90936
90981
  let i = v4e.exec(e);
90937
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");
90938
90985
  n.push({
90939
90986
  type: "heading",
90940
- level: i[1].length,
90941
- text: i[2]
90987
+ level: e.length,
90988
+ text: t
90942
90989
  }), r += 1;
90943
90990
  continue;
90944
90991
  }
90945
90992
  if (nQ.test(e)) {
90946
90993
  let e = [];
90947
90994
  for (; r < t.length;) {
90948
- let n = nQ.exec(t[r]);
90949
- if (!n) break;
90950
- 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;
90951
91002
  }
90952
91003
  n.push({
90953
91004
  type: "quote",
@@ -90958,13 +91009,20 @@ function k4e(e) {
90958
91009
  let a = O4e(e);
90959
91010
  if (a) {
90960
91011
  let e = [];
90961
- for (; r < t.length && t[r].trim();) {
90962
- let n = O4e(t[r]);
90963
- if (n) {
90964
- if (n.depth === 0 && n.ordered !== a.ordered) break;
90965
- 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);
90966
91020
  } else if (E4e(t, r)) break;
90967
- 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
+ }
90968
91026
  r += 1;
90969
91027
  }
90970
91028
  n.push({
@@ -90976,7 +91034,12 @@ function k4e(e) {
90976
91034
  continue;
90977
91035
  }
90978
91036
  let o = [e];
90979
- 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
+ }
90980
91043
  n.push({
90981
91044
  type: "paragraph",
90982
91045
  lines: o
@@ -90987,7 +91050,7 @@ function k4e(e) {
90987
91050
  key: t
90988
91051
  }));
90989
91052
  }
90990
- // ../elements/dist/WuiMarkdown-DmgLFkB-.js
91053
+ // ../elements/dist/WuiMarkdown-D5vm4sp4.js
90991
91054
  jm();
90992
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);
90993
91056
  function F4e(e, t) {
@@ -91057,22 +91120,28 @@ function iQ(e, t) {
91057
91120
  M4e.lastIndex = o;
91058
91121
  let t = M4e.exec(e);
91059
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");
91060
91125
  a(), r.push({
91061
91126
  type: "link",
91062
- href: t[2],
91063
- children: iQ(t[1])
91127
+ href: n,
91128
+ children: iQ(e)
91064
91129
  }), o += t[0].length;
91065
91130
  continue;
91066
91131
  }
91067
91132
  if (n) {
91068
91133
  P4e.lastIndex = o;
91069
91134
  let t = P4e.exec(e);
91070
- if (t && n(t[1])) {
91071
- a(), r.push({
91072
- type: "citation",
91073
- text: t[1]
91074
- }), o += t[0].length;
91075
- 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
+ }
91076
91145
  }
91077
91146
  }
91078
91147
  }
@@ -91080,9 +91149,11 @@ function iQ(e, t) {
91080
91149
  N4e.lastIndex = o;
91081
91150
  let t = N4e.exec(e);
91082
91151
  if (t) {
91152
+ let e = t[1];
91153
+ if (e === void 0) throw Error("The image pattern always captures its alt text");
91083
91154
  a(), r.push({
91084
91155
  type: "image",
91085
- children: iQ(t[1])
91156
+ children: iQ(e)
91086
91157
  }), o += t[0].length;
91087
91158
  continue;
91088
91159
  }
@@ -91150,10 +91221,14 @@ function n3e(e) {
91150
91221
  return t.startsWith("|") && (t = t.slice(1)), t.endsWith("|") && (t = t.slice(0, -1)), t.split("|").map((e) => e.trim());
91151
91222
  }
91152
91223
  function r3e(e, t) {
91153
- 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);
91154
91228
  }
91155
91229
  function i3e(e, t) {
91156
91230
  let n = e[t];
91231
+ if (n === void 0) throw Error("startsBlock was called past the last source line");
91157
91232
  return aQ.test(n) || oQ.test(n) || Q4e.test(n) || $4e.test(n) || X4e.test(n) || Z4e.test(n) || r3e(e, t);
91158
91233
  }
91159
91234
  function a3e(e) {
@@ -91162,31 +91237,46 @@ function a3e(e) {
91162
91237
  }
91163
91238
  function o3e(e) {
91164
91239
  let t = $4e.exec(e);
91165
- if (t) return {
91166
- text: t[3],
91167
- depth: a3e(t[1]),
91168
- ordered: !0,
91169
- number: Number(t[2])
91170
- };
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
+ }
91171
91250
  let n = Q4e.exec(e);
91172
- return n ? {
91173
- text: n[2],
91174
- depth: a3e(n[1]),
91175
- ordered: !1,
91176
- number: 0
91177
- } : 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;
91178
91262
  }
91179
91263
  function s3e(e) {
91180
91264
  let t = (e ?? "").replace(/\r\n?/g, "\n").split("\n"), n = [], r = 0;
91181
91265
  for (; r < t.length;) {
91182
91266
  let e = t[r];
91267
+ if (e === void 0) throw Error("parseMarkdown read past the last source line");
91183
91268
  if (!e.trim()) {
91184
91269
  r += 1;
91185
91270
  continue;
91186
91271
  }
91187
91272
  if (aQ.test(e)) {
91188
91273
  let i = Y4e.exec(e)?.[1] || null, a = [];
91189
- 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
+ }
91190
91280
  r += 1, n.push({
91191
91281
  type: "code",
91192
91282
  text: a.join("\n"),
@@ -91196,7 +91286,12 @@ function s3e(e) {
91196
91286
  }
91197
91287
  if (r3e(t, r)) {
91198
91288
  let i = n3e(e), a = [];
91199
- 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
+ }
91200
91295
  n.push({
91201
91296
  type: "table",
91202
91297
  header: i,
@@ -91210,19 +91305,25 @@ function s3e(e) {
91210
91305
  }
91211
91306
  let i = X4e.exec(e);
91212
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");
91213
91310
  n.push({
91214
91311
  type: "heading",
91215
- level: i[1].length,
91216
- text: i[2]
91312
+ level: e.length,
91313
+ text: t
91217
91314
  }), r += 1;
91218
91315
  continue;
91219
91316
  }
91220
91317
  if (oQ.test(e)) {
91221
91318
  let e = [];
91222
91319
  for (; r < t.length;) {
91223
- let n = oQ.exec(t[r]);
91224
- if (!n) break;
91225
- 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;
91226
91327
  }
91227
91328
  n.push({
91228
91329
  type: "quote",
@@ -91233,13 +91334,20 @@ function s3e(e) {
91233
91334
  let a = o3e(e);
91234
91335
  if (a) {
91235
91336
  let e = [];
91236
- for (; r < t.length && t[r].trim();) {
91237
- let n = o3e(t[r]);
91238
- if (n) {
91239
- if (n.depth === 0 && n.ordered !== a.ordered) break;
91240
- 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);
91241
91345
  } else if (i3e(t, r)) break;
91242
- 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
+ }
91243
91351
  r += 1;
91244
91352
  }
91245
91353
  n.push({
@@ -91251,7 +91359,12 @@ function s3e(e) {
91251
91359
  continue;
91252
91360
  }
91253
91361
  let o = [e];
91254
- 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
+ }
91255
91368
  n.push({
91256
91369
  type: "paragraph",
91257
91370
  lines: o
@@ -128152,7 +128265,7 @@ var V_t = 99, H_t = 4, U_t = 5, W_t = /^[a-z0-9-]+$/, G_t = ["prefix", "exact"],
128152
128265
  return [...s, ...c].filter(Boolean);
128153
128266
  };
128154
128267
  function tvt(e) {
128155
- 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;
128156
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);
128157
128270
  let Te = k > 0 ? {
128158
128271
  ...Ce,
@@ -133857,19 +133970,19 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133857
133970
  },
133858
133971
  border: {
133859
133972
  light: "#ebedf3",
133860
- dark: "#2a2f3a"
133973
+ dark: "#3d4554"
133861
133974
  },
133862
133975
  "border-strong": {
133863
133976
  light: "#c4cada",
133864
- dark: "#3a414f"
133977
+ dark: "#515b6e"
133865
133978
  },
133866
133979
  "border-subtle": {
133867
133980
  light: "#f4f6f8",
133868
- dark: "#2a2f3a80"
133981
+ dark: "#3d455480"
133869
133982
  },
133870
133983
  "chart-1": {
133871
133984
  light: "#4f46e5",
133872
- dark: "#9590ef"
133985
+ dark: "#aeaaf5"
133873
133986
  },
133874
133987
  "chart-2": {
133875
133988
  light: "#eb6834",
@@ -133901,7 +134014,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133901
134014
  },
133902
134015
  "chart-axis": {
133903
134016
  light: "#c4cada",
133904
- dark: "#3a414f"
134017
+ dark: "#515b6e"
133905
134018
  },
133906
134019
  "chart-diverging-high": {
133907
134020
  light: "#2a78d6",
@@ -133917,7 +134030,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133917
134030
  },
133918
134031
  "chart-grid": {
133919
134032
  light: "#ebedf3",
133920
- dark: "#2a2f3a"
134033
+ dark: "#3d4554"
133921
134034
  },
133922
134035
  "chart-label": {
133923
134036
  light: "#626a82",
@@ -133993,23 +134106,23 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
133993
134106
  },
133994
134107
  "field-border": {
133995
134108
  light: "#dfe2ea",
133996
- dark: "#2a2f3a"
134109
+ dark: "#3d4554"
133997
134110
  },
133998
134111
  "field-border-focus": {
133999
134112
  light: "#a5b4fc",
134000
- dark: "#9590ef"
134113
+ dark: "#aeaaf5"
134001
134114
  },
134002
134115
  "field-border-hover": {
134003
134116
  light: "#c4cada",
134004
- dark: "#3a414f"
134117
+ dark: "#515b6e"
134005
134118
  },
134006
134119
  "focus-ring": {
134007
134120
  light: "#4f46e5",
134008
- dark: "#9590ef"
134121
+ dark: "#aeaaf5"
134009
134122
  },
134010
134123
  "focus-ring-soft": {
134011
134124
  light: "#4f46e540",
134012
- dark: "#9590ef40"
134125
+ dark: "#aeaaf540"
134013
134126
  },
134014
134127
  info: {
134015
134128
  light: "#056ee9",
@@ -134041,7 +134154,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
134041
134154
  },
134042
134155
  link: {
134043
134156
  light: "#4f46e5",
134044
- dark: "#9590ef"
134157
+ dark: "#aeaaf5"
134045
134158
  },
134046
134159
  neutral: {
134047
134160
  light: "#07143714",
@@ -134125,11 +134238,11 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
134125
134238
  },
134126
134239
  primary: {
134127
134240
  light: "#4f46e5",
134128
- dark: "#9590ef"
134241
+ dark: "#aeaaf5"
134129
134242
  },
134130
134243
  "primary-hover": {
134131
134244
  light: "#4338ca",
134132
- dark: "#a29df1"
134245
+ dark: "#c3c0f8"
134133
134246
  },
134134
134247
  "primary-soft": {
134135
134248
  light: "#e0e7ff",
@@ -134137,15 +134250,15 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
134137
134250
  },
134138
134251
  "primary-text": {
134139
134252
  light: "#4f46e5",
134140
- dark: "#9590ef"
134253
+ dark: "#aeaaf5"
134141
134254
  },
134142
134255
  "primary-wash": {
134143
134256
  light: "#4f46e514",
134144
- dark: "#9590ef14"
134257
+ dark: "#aeaaf514"
134145
134258
  },
134146
134259
  "primary-wash-strong": {
134147
134260
  light: "#4f46e533",
134148
- dark: "#9590ef33"
134261
+ dark: "#aeaaf533"
134149
134262
  },
134150
134263
  "progress-label": {
134151
134264
  light: "#ffffff",
@@ -134435,7 +134548,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
134435
134548
  kind: "WeborityWeb",
134436
134549
  library: {
134437
134550
  name: "@webority/ui-react",
134438
- version: "0.146.1"
134551
+ version: "0.147.0"
134439
134552
  },
134440
134553
  rendererProtocolVersion: 13,
134441
134554
  platform: "Web",
@@ -137909,6 +138022,12 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
137909
138022
  description: "Extra classes on the element.",
137910
138023
  default: ""
137911
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
+ },
137912
138031
  {
137913
138032
  name: "disabled",
137914
138033
  type: "boolean",
@@ -137934,6 +138053,12 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
137934
138053
  required: !1,
137935
138054
  description: "aria-label for the dismiss button."
137936
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
+ },
137937
138062
  {
137938
138063
  name: "size",
137939
138064
  type: "enum",
@@ -140780,6 +140905,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
140780
140905
  3,
140781
140906
  4,
140782
140907
  6,
140908
+ 8,
140783
140909
  12
140784
140910
  ],
140785
140911
  required: !1,
@@ -140792,7 +140918,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
140792
140918
  usage: {
140793
140919
  when: ["Inside an AppDashboardGrid, to say how many of its twelve columns a card or tile takes.", "A card or tile inside should fill the cell's height."],
140794
140920
  whenNot: [{
140795
- text: "A layout that needs other widths than 3, 4, 6 or 12.",
140921
+ text: "A layout that needs other widths than 3, 4, 6, 8 or 12.",
140796
140922
  instead: "Bootstrap's Row and Col"
140797
140923
  }],
140798
140924
  do: [],
@@ -140820,7 +140946,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
140820
140946
  text: "A form or a content page.",
140821
140947
  instead: "AppFormSection"
140822
140948
  }, {
140823
- text: "A layout that needs other widths than 3, 4, 6 or 12.",
140949
+ text: "A layout that needs other widths than 3, 4, 6, 8 or 12.",
140824
140950
  instead: "Bootstrap's Row and Col"
140825
140951
  }],
140826
140952
  do: [],
@@ -146270,7 +146396,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
146270
146396
  ],
146271
146397
  required: !1,
146272
146398
  description: "The icon style of a named icon; a node icon is drawn as given.",
146273
- default: "linear"
146399
+ default: "twotone"
146274
146400
  },
146275
146401
  {
146276
146402
  name: "inline",
@@ -154117,7 +154243,8 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
154117
154243
  "twotone"
154118
154244
  ],
154119
154245
  required: !1,
154120
- 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"
154121
154248
  },
154122
154249
  {
154123
154250
  name: "itemHeight",
@@ -160420,19 +160547,19 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160420
160547
  },
160421
160548
  border: {
160422
160549
  light: "#ebedf3",
160423
- dark: "#2a2f3a"
160550
+ dark: "#3d4554"
160424
160551
  },
160425
160552
  "border-strong": {
160426
160553
  light: "#c4cada",
160427
- dark: "#3a414f"
160554
+ dark: "#515b6e"
160428
160555
  },
160429
160556
  "border-subtle": {
160430
160557
  light: "#f4f6f8",
160431
- dark: "#2a2f3a80"
160558
+ dark: "#3d455480"
160432
160559
  },
160433
160560
  "chart-1": {
160434
160561
  light: "#4f46e5",
160435
- dark: "#9590ef"
160562
+ dark: "#aeaaf5"
160436
160563
  },
160437
160564
  "chart-2": {
160438
160565
  light: "#eb6834",
@@ -160464,7 +160591,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160464
160591
  },
160465
160592
  "chart-axis": {
160466
160593
  light: "#c4cada",
160467
- dark: "#3a414f"
160594
+ dark: "#515b6e"
160468
160595
  },
160469
160596
  "chart-diverging-high": {
160470
160597
  light: "#2a78d6",
@@ -160480,7 +160607,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160480
160607
  },
160481
160608
  "chart-grid": {
160482
160609
  light: "#ebedf3",
160483
- dark: "#2a2f3a"
160610
+ dark: "#3d4554"
160484
160611
  },
160485
160612
  "chart-label": {
160486
160613
  light: "#626a82",
@@ -160556,23 +160683,23 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160556
160683
  },
160557
160684
  "field-border": {
160558
160685
  light: "#dfe2ea",
160559
- dark: "#2a2f3a"
160686
+ dark: "#3d4554"
160560
160687
  },
160561
160688
  "field-border-focus": {
160562
160689
  light: "#a5b4fc",
160563
- dark: "#9590ef"
160690
+ dark: "#aeaaf5"
160564
160691
  },
160565
160692
  "field-border-hover": {
160566
160693
  light: "#c4cada",
160567
- dark: "#3a414f"
160694
+ dark: "#515b6e"
160568
160695
  },
160569
160696
  "focus-ring": {
160570
160697
  light: "#4f46e5",
160571
- dark: "#9590ef"
160698
+ dark: "#aeaaf5"
160572
160699
  },
160573
160700
  "focus-ring-soft": {
160574
160701
  light: "#4f46e540",
160575
- dark: "#9590ef40"
160702
+ dark: "#aeaaf540"
160576
160703
  },
160577
160704
  info: {
160578
160705
  light: "#056ee9",
@@ -160604,7 +160731,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160604
160731
  },
160605
160732
  link: {
160606
160733
  light: "#4f46e5",
160607
- dark: "#9590ef"
160734
+ dark: "#aeaaf5"
160608
160735
  },
160609
160736
  neutral: {
160610
160737
  light: "#07143714",
@@ -160688,11 +160815,11 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160688
160815
  },
160689
160816
  primary: {
160690
160817
  light: "#4f46e5",
160691
- dark: "#9590ef"
160818
+ dark: "#aeaaf5"
160692
160819
  },
160693
160820
  "primary-hover": {
160694
160821
  light: "#4338ca",
160695
- dark: "#a29df1"
160822
+ dark: "#c3c0f8"
160696
160823
  },
160697
160824
  "primary-soft": {
160698
160825
  light: "#e0e7ff",
@@ -160700,15 +160827,15 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
160700
160827
  },
160701
160828
  "primary-text": {
160702
160829
  light: "#4f46e5",
160703
- dark: "#9590ef"
160830
+ dark: "#aeaaf5"
160704
160831
  },
160705
160832
  "primary-wash": {
160706
160833
  light: "#4f46e514",
160707
- dark: "#9590ef14"
160834
+ dark: "#aeaaf514"
160708
160835
  },
160709
160836
  "primary-wash-strong": {
160710
160837
  light: "#4f46e533",
160711
- dark: "#9590ef33"
160838
+ dark: "#aeaaf533"
160712
160839
  },
160713
160840
  "progress-label": {
160714
160841
  light: "#ffffff",