@sme.up/ketchup2 2.0.0-SNAPSHOT-20251013125800 → 2.0.0-SNAPSHOT-20251014100238

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.
Files changed (144) hide show
  1. package/dist/{_basePickBy-D3ck-my5.js → _basePickBy-7WXhSpq9.js} +2 -2
  2. package/dist/{_basePickBy-IyaWlLIc.cjs → _basePickBy-CD3RQa_o.cjs} +1 -1
  3. package/dist/{_baseUniq-CmG-0UAW.cjs → _baseUniq-BYv0nPaF.cjs} +1 -1
  4. package/dist/{_baseUniq-DiBv0vu4.js → _baseUniq-DEZyfwtz.js} +1 -1
  5. package/dist/{arc-DBdFz7ze.cjs → arc-B62AhBnL.cjs} +1 -1
  6. package/dist/{arc-BtO9om_-.js → arc-CudaeVAv.js} +1 -1
  7. package/dist/{architecture-O4VJ6CD3-DWLSAFlp.cjs → architecture-O4VJ6CD3-KSVtAvDn.cjs} +1 -1
  8. package/dist/{architecture-O4VJ6CD3-D679W0_k.js → architecture-O4VJ6CD3-vOIgt3PU.js} +1 -1
  9. package/dist/{architectureDiagram-VXUJARFQ-Dm8SMyrB.cjs → architectureDiagram-VXUJARFQ-BfrNIFsM.cjs} +1 -1
  10. package/dist/{architectureDiagram-VXUJARFQ-BE3MMpqX.js → architectureDiagram-VXUJARFQ-Zuv5_i9v.js} +3 -3
  11. package/dist/basic-components/button-list/button-list-types.d.ts +6 -2
  12. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  13. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  14. package/dist/basic-components/cell/cell-types.d.ts +0 -1
  15. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  16. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  17. package/dist/basic-components/list/list.d.ts.map +1 -1
  18. package/dist/{blockDiagram-VD42YOAC-BsJf_KIi.cjs → blockDiagram-VD42YOAC-C3UTwNls.cjs} +1 -1
  19. package/dist/{blockDiagram-VD42YOAC-DKH_9XVF.js → blockDiagram-VD42YOAC-zpVD8vFM.js} +5 -5
  20. package/dist/{c4Diagram-YG6GDRKO-DbVdYHmX.cjs → c4Diagram-YG6GDRKO-BIrEIc26.cjs} +1 -1
  21. package/dist/{c4Diagram-YG6GDRKO-BxlHxfel.js → c4Diagram-YG6GDRKO-BcXMBGK2.js} +2 -2
  22. package/dist/channel-CrjnATlQ.cjs +1 -0
  23. package/dist/{channel-7G5-UGCw.js → channel-DzJ67luk.js} +1 -1
  24. package/dist/{chunk-4BX2VUAB-KoUfgaCK.cjs → chunk-4BX2VUAB-Cy9jEi5H.cjs} +1 -1
  25. package/dist/{chunk-4BX2VUAB-5JxrB6sa.js → chunk-4BX2VUAB-nhCxVqnr.js} +1 -1
  26. package/dist/{chunk-55IACEB6-B-EnZwEG.js → chunk-55IACEB6-CDBh_GYh.js} +1 -1
  27. package/dist/{chunk-55IACEB6-DX8I2pt8.cjs → chunk-55IACEB6-D5kVWPYe.cjs} +1 -1
  28. package/dist/{chunk-B4BG7PRW-qVWzYR1Z.cjs → chunk-B4BG7PRW-BcGwX4_l.cjs} +1 -1
  29. package/dist/{chunk-B4BG7PRW-BkGf30xE.js → chunk-B4BG7PRW-D7KytCpX.js} +4 -4
  30. package/dist/{chunk-DI55MBZ5-BBK0IP8y.js → chunk-DI55MBZ5-TSeB_WLu.js} +3 -3
  31. package/dist/{chunk-DI55MBZ5-cunMcyNL.cjs → chunk-DI55MBZ5-nCTwFKog.cjs} +1 -1
  32. package/dist/{chunk-FMBD7UC4-Blgedqof.cjs → chunk-FMBD7UC4-CBoKw49e.cjs} +1 -1
  33. package/dist/{chunk-FMBD7UC4-By8DPVxq.js → chunk-FMBD7UC4-Cq88r71o.js} +1 -1
  34. package/dist/{chunk-QN33PNHL-D4-BnJsZ.js → chunk-QN33PNHL-CGm--Hp6.js} +1 -1
  35. package/dist/{chunk-QN33PNHL-9z2eV1h1.cjs → chunk-QN33PNHL-Cz_9czdm.cjs} +1 -1
  36. package/dist/{chunk-QZHKN3VN-Dgq91yHe.cjs → chunk-QZHKN3VN-BkaZKxTj.cjs} +1 -1
  37. package/dist/{chunk-QZHKN3VN-7GmyqVsd.js → chunk-QZHKN3VN-Dw1GI2t3.js} +1 -1
  38. package/dist/{chunk-TZMSLE5B-bTLbOU3x.js → chunk-TZMSLE5B-Be6yVdy2.js} +1 -1
  39. package/dist/{chunk-TZMSLE5B-Cn7Gaccd.cjs → chunk-TZMSLE5B-Ceb5CFG1.cjs} +1 -1
  40. package/dist/{classDiagram-2ON5EDUG-D7cc-IUZ.cjs → classDiagram-2ON5EDUG-BbiJQWLS.cjs} +1 -1
  41. package/dist/{classDiagram-v2-WZHVMYZB-DeDwI8aS.js → classDiagram-2ON5EDUG-Tigse1zd.js} +2 -2
  42. package/dist/{classDiagram-v2-WZHVMYZB-D7cc-IUZ.cjs → classDiagram-v2-WZHVMYZB-BbiJQWLS.cjs} +1 -1
  43. package/dist/{classDiagram-2ON5EDUG-DeDwI8aS.js → classDiagram-v2-WZHVMYZB-Tigse1zd.js} +2 -2
  44. package/dist/{clone-BKeuGmjD.js → clone-BuGoCXsa.js} +1 -1
  45. package/dist/clone-DpIceeB5.cjs +1 -0
  46. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  47. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  48. package/dist/components/data-table/data-table-types.d.ts +1 -1
  49. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  50. package/dist/components/data-table/filtering/data-table-filter-utils.d.ts.map +1 -1
  51. package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
  52. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  53. package/dist/components/input-panel/input-panel.d.ts.map +1 -1
  54. package/dist/components/toolbar/toolbar-utils/useToolbarInteractions.d.ts.map +1 -1
  55. package/dist/{cose-bilkent-S5V4N54A-CH9J7Gkw.cjs → cose-bilkent-S5V4N54A-B-9WYZ0x.cjs} +1 -1
  56. package/dist/{cose-bilkent-S5V4N54A-40gowIr7.js → cose-bilkent-S5V4N54A-JPXvOwzj.js} +1 -1
  57. package/dist/{dagre-6UL2VRFP-DDOP-4q1.js → dagre-6UL2VRFP-BZtTc9dJ.js} +6 -6
  58. package/dist/{dagre-6UL2VRFP-DJVdcs7q.cjs → dagre-6UL2VRFP-BuVEJjwj.cjs} +1 -1
  59. package/dist/{diagram-PSM6KHXK-3Y82T6eE.js → diagram-PSM6KHXK-Cbbg-Efv.js} +4 -4
  60. package/dist/{diagram-PSM6KHXK-twmlhm0_.cjs → diagram-PSM6KHXK-CnElkxUN.cjs} +1 -1
  61. package/dist/{diagram-QEK2KX5R-Cz4T-ekB.js → diagram-QEK2KX5R-3OsN0WN-.js} +3 -3
  62. package/dist/{diagram-QEK2KX5R-DVIur278.cjs → diagram-QEK2KX5R-D4B8FA2h.cjs} +1 -1
  63. package/dist/{diagram-S2PKOQOG-BJEPaU-6.js → diagram-S2PKOQOG-CyAn0l7i.js} +3 -3
  64. package/dist/{diagram-S2PKOQOG-z2Up-zLx.cjs → diagram-S2PKOQOG-Wq4N9Lly.cjs} +1 -1
  65. package/dist/{erDiagram-Q2GNP2WA-_-g8ByEH.js → erDiagram-Q2GNP2WA-8z_KxWAv.js} +4 -4
  66. package/dist/{erDiagram-Q2GNP2WA-DrkPd4mf.cjs → erDiagram-Q2GNP2WA-D4xmdy-N.cjs} +1 -1
  67. package/dist/{flowDiagram-NV44I4VS-CZYAA252.cjs → flowDiagram-NV44I4VS-CZDUaew8.cjs} +1 -1
  68. package/dist/{flowDiagram-NV44I4VS-DNDlSBXN.js → flowDiagram-NV44I4VS-sA6rCcjQ.js} +5 -5
  69. package/dist/{ganttDiagram-LVOFAZNH-C1OouNYB.js → ganttDiagram-LVOFAZNH-B0flrsT-.js} +2 -2
  70. package/dist/{ganttDiagram-LVOFAZNH-ZARMX44F.cjs → ganttDiagram-LVOFAZNH-CFXHQL2E.cjs} +1 -1
  71. package/dist/{gitGraph-ZV4HHKMB-EMiJhzt5.cjs → gitGraph-ZV4HHKMB-BaT3zsbM.cjs} +1 -1
  72. package/dist/{gitGraph-ZV4HHKMB-Ce1FNxDj.js → gitGraph-ZV4HHKMB-DhH4zbAz.js} +1 -1
  73. package/dist/{gitGraphDiagram-NY62KEGX-ZZTlS1KB.js → gitGraphDiagram-NY62KEGX-C4dz_L72.js} +4 -4
  74. package/dist/{gitGraphDiagram-NY62KEGX-B8Jwg1X8.cjs → gitGraphDiagram-NY62KEGX-DSRsG7ht.cjs} +1 -1
  75. package/dist/{graph-CI9YEM7F.js → graph-CDebNkJx.js} +2 -2
  76. package/dist/{graph-w11lixXY.cjs → graph-GUXt4dSq.cjs} +1 -1
  77. package/dist/{index-3j22HW3w.cjs → index-C_226iyT.cjs} +6 -6
  78. package/dist/{index-pc780O5E.js → index-Ugq6UGya.js} +309 -264
  79. package/dist/{info-63CPKGFF-DpEq0EPO.cjs → info-63CPKGFF-BCYxzCaR.cjs} +1 -1
  80. package/dist/info-63CPKGFF-BHTPHgmy.js +5 -0
  81. package/dist/{infoDiagram-F6ZHWCRC-C6OokBnJ.cjs → infoDiagram-F6ZHWCRC-C12bR3J1.cjs} +1 -1
  82. package/dist/{infoDiagram-F6ZHWCRC-rpRiDjLc.js → infoDiagram-F6ZHWCRC-ltyrUkGn.js} +2 -2
  83. package/dist/{journeyDiagram-XKPGCS4Q-CZ98Iemm.js → journeyDiagram-XKPGCS4Q-B-zEuLUS.js} +4 -4
  84. package/dist/{journeyDiagram-XKPGCS4Q-Caq0FNhn.cjs → journeyDiagram-XKPGCS4Q-DEguOSXx.cjs} +1 -1
  85. package/dist/{kanban-definition-3W4ZIXB7-BnQhVf1L.cjs → kanban-definition-3W4ZIXB7-F6Rm1jos.cjs} +1 -1
  86. package/dist/{kanban-definition-3W4ZIXB7-DSvk3jS-.js → kanban-definition-3W4ZIXB7-mS1t2jog.js} +2 -2
  87. package/dist/ketchup2.cjs.js +1 -1
  88. package/dist/ketchup2.es.js +1 -1
  89. package/dist/{layout-X_8lww0u.js → layout-7FIoZRi5.js} +4 -4
  90. package/dist/{layout-DiW5mrtF.cjs → layout-DK4Pm_-d.cjs} +1 -1
  91. package/dist/{linear-C8xjXDal.cjs → linear-5-A5nn4j.cjs} +1 -1
  92. package/dist/{linear-CUlCvMTM.js → linear-DP44q7dH.js} +1 -1
  93. package/dist/{mermaid-parser.core-Dk3vTp3K.cjs → mermaid-parser.core-DSDBPvqb.cjs} +2 -2
  94. package/dist/{mermaid-parser.core-BOVjMnIb.js → mermaid-parser.core-DzplphY7.js} +11 -11
  95. package/dist/{mindmap-definition-VGOIOE7T-07yPtSft.cjs → mindmap-definition-VGOIOE7T-ClRbTrWK.cjs} +1 -1
  96. package/dist/{mindmap-definition-VGOIOE7T-T3SqFdM9.js → mindmap-definition-VGOIOE7T-UNdwR1Od.js} +3 -3
  97. package/dist/{packet-HUATNLJX-DQfjBHY2.cjs → packet-HUATNLJX-CeDKE7ib.cjs} +1 -1
  98. package/dist/{packet-HUATNLJX-DAgD415g.js → packet-HUATNLJX-CnCZL5Y3.js} +1 -1
  99. package/dist/pie-WTHONI2E-ByDHgAt9.js +5 -0
  100. package/dist/{pie-WTHONI2E-DWqWdxgW.cjs → pie-WTHONI2E-CJ2-W42L.cjs} +1 -1
  101. package/dist/{pieDiagram-ADFJNKIX-DRVCbSUk.js → pieDiagram-ADFJNKIX-BXfZJX5i.js} +4 -4
  102. package/dist/{pieDiagram-ADFJNKIX-Dvv-hWYd.cjs → pieDiagram-ADFJNKIX-DLqbHHKi.cjs} +1 -1
  103. package/dist/{quadrantDiagram-AYHSOK5B-B1ngqnyG.cjs → quadrantDiagram-AYHSOK5B-Bb0RkDS1.cjs} +1 -1
  104. package/dist/{quadrantDiagram-AYHSOK5B-Dem2UCCW.js → quadrantDiagram-AYHSOK5B-oJAvSdPP.js} +2 -2
  105. package/dist/radar-NJJJXTRR-BBlQ0TOg.js +5 -0
  106. package/dist/{radar-NJJJXTRR-CFVfrhrv.cjs → radar-NJJJXTRR-CdLNbLqn.cjs} +1 -1
  107. package/dist/{requirementDiagram-UZGBJVZJ-BuUBF2aP.js → requirementDiagram-UZGBJVZJ-8SwXpZHW.js} +3 -3
  108. package/dist/{requirementDiagram-UZGBJVZJ-BWd8r-HS.cjs → requirementDiagram-UZGBJVZJ-CVn55ei6.cjs} +1 -1
  109. package/dist/{sankeyDiagram-TZEHDZUN-fpCnxH4o.js → sankeyDiagram-TZEHDZUN-CgstHvoU.js} +1 -1
  110. package/dist/{sankeyDiagram-TZEHDZUN-jRIIwskH.cjs → sankeyDiagram-TZEHDZUN-D0208bYZ.cjs} +1 -1
  111. package/dist/{sequenceDiagram-WL72ISMW-BFHzJ3ln.cjs → sequenceDiagram-WL72ISMW-B9Yr8_6o.cjs} +1 -1
  112. package/dist/{sequenceDiagram-WL72ISMW-CF5sRAli.js → sequenceDiagram-WL72ISMW-Ck0fQNAL.js} +3 -3
  113. package/dist/{stateDiagram-FKZM4ZOC-DD_ts2RB.js → stateDiagram-FKZM4ZOC-B4PpwFoT.js} +4 -4
  114. package/dist/{stateDiagram-FKZM4ZOC-Qds9wNFn.cjs → stateDiagram-FKZM4ZOC-BwvnwkTU.cjs} +1 -1
  115. package/dist/{stateDiagram-v2-4FDKWEC3-Bfo7w2Va.js → stateDiagram-v2-4FDKWEC3-CtH32bBJ.js} +2 -2
  116. package/dist/{stateDiagram-v2-4FDKWEC3-C5xMErX7.cjs → stateDiagram-v2-4FDKWEC3-DbyjpwTK.cjs} +1 -1
  117. package/dist/{timeline-definition-IT6M3QCI-DuTLd0uX.js → timeline-definition-IT6M3QCI-BHL0CqJl.js} +2 -2
  118. package/dist/{timeline-definition-IT6M3QCI-Dmug6Bix.cjs → timeline-definition-IT6M3QCI-DwKuPPPS.cjs} +1 -1
  119. package/dist/{treemap-75Q7IDZK-Zgbuw7kH.cjs → treemap-75Q7IDZK-C5WzQI9Y.cjs} +1 -1
  120. package/dist/{treemap-75Q7IDZK-B8SnW8X_.js → treemap-75Q7IDZK-DswdgAm8.js} +1 -1
  121. package/dist/types/data-structures.d.ts +9 -6
  122. package/dist/types/data-structures.d.ts.map +1 -1
  123. package/dist/utils/display-value.d.ts +1 -1
  124. package/dist/utils/display-value.d.ts.map +1 -1
  125. package/dist/utils/objects.d.ts +3 -3
  126. package/dist/utils/objects.d.ts.map +1 -1
  127. package/dist/utils/wrapper-types/boolean.d.ts +2 -2
  128. package/dist/utils/wrapper-types/boolean.d.ts.map +1 -1
  129. package/dist/utils/wrapper-types/date.d.ts +2 -2
  130. package/dist/utils/wrapper-types/date.d.ts.map +1 -1
  131. package/dist/utils/wrapper-types/list.d.ts +2 -2
  132. package/dist/utils/wrapper-types/list.d.ts.map +1 -1
  133. package/dist/utils/wrapper-types/number.d.ts +2 -2
  134. package/dist/utils/wrapper-types/number.d.ts.map +1 -1
  135. package/dist/utils/wrapper-types/time/time.d.ts +2 -2
  136. package/dist/utils/wrapper-types/time/time.d.ts.map +1 -1
  137. package/dist/{xychartDiagram-PRI3JC2R-BHFkua-4.js → xychartDiagram-PRI3JC2R-C1fmrgWv.js} +2 -2
  138. package/dist/{xychartDiagram-PRI3JC2R-08oXBqPn.cjs → xychartDiagram-PRI3JC2R-nfWrOsNQ.cjs} +1 -1
  139. package/package.json +1 -1
  140. package/dist/channel-D7LvABPC.cjs +0 -1
  141. package/dist/clone-DSED2Agf.cjs +0 -1
  142. package/dist/info-63CPKGFF-CQKp__3v.js +0 -5
  143. package/dist/pie-WTHONI2E-fS3AY2Y_.js +0 -5
  144. package/dist/radar-NJJJXTRR-l_iqmTkd.js +0 -5
@@ -1,5 +1,5 @@
1
1
  import * as Qp from "react";
2
- import Ed, { useState as At, useEffect as oe, useRef as ge, useCallback as ye, useLayoutEffect as jU, useContext as UU, useId as hs, useMemo as Yl, createElement as YU } from "react";
2
+ import Ed, { useState as At, useEffect as ae, useRef as ge, useCallback as ye, useLayoutEffect as jU, useContext as UU, useId as hs, useMemo as Yl, createElement as YU } from "react";
3
3
  import { createPortal as qU } from "react-dom";
4
4
  function XU(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -1437,7 +1437,7 @@ function Mi({
1437
1437
  children: e
1438
1438
  }) {
1439
1439
  const [t, r] = At(!1);
1440
- return oe(() => {
1440
+ return ae(() => {
1441
1441
  r(!0);
1442
1442
  }, []), t ? qU(e, document.body) : null;
1443
1443
  }
@@ -1606,7 +1606,7 @@ const ex = {
1606
1606
  };
1607
1607
  let n = r.sections, i = r.content;
1608
1608
  return r.content?.length && r.columns && +r.columns > 1 && (n = w7(
1609
- r.content.filter((o) => t.includes(o.id)),
1609
+ r.content.filter((o) => t.includes(o.id || "")),
1610
1610
  +r.columns
1611
1611
  ).map(
1612
1612
  (o, s) => ({
@@ -1889,8 +1889,9 @@ function I7(e, t, r) {
1889
1889
  const d = {
1890
1890
  ...f,
1891
1891
  obj: {
1892
- ...f.obj,
1893
- k: u.obj.k
1892
+ t: f.obj?.t || "",
1893
+ p: f.obj?.p || "",
1894
+ k: u.obj?.k || ""
1894
1895
  }
1895
1896
  };
1896
1897
  return r?.(d), d;
@@ -1900,7 +1901,7 @@ function I7(e, t, r) {
1900
1901
  }
1901
1902
  const GF = (e) => {
1902
1903
  const t = ge(null);
1903
- return oe(() => () => {
1904
+ return ae(() => () => {
1904
1905
  t.current && clearTimeout(t.current);
1905
1906
  }, []), (n) => {
1906
1907
  t.current && clearTimeout(t.current), t.current = setTimeout(() => {
@@ -1913,13 +1914,13 @@ const GF = (e) => {
1913
1914
  if (r)
1914
1915
  switch (r) {
1915
1916
  case "CodeOnly":
1916
- return e;
1917
+ return e || "";
1917
1918
  case "DescOnly":
1918
1919
  return t || "";
1919
1920
  case "Both":
1920
1921
  return `${e} - ${t}`;
1921
1922
  }
1922
- return e;
1923
+ return e || "";
1923
1924
  }, rx = {
1924
1925
  key: "f4",
1925
1926
  ctrlKey: !1,
@@ -1942,7 +1943,7 @@ const GF = (e) => {
1942
1943
  "smp-textfield-fullWidth": "_smp-textfield-fullWidth_1w0g1_130",
1943
1944
  "smp-textfield-top-right-indicator": "_smp-textfield-top-right-indicator_1w0g1_134"
1944
1945
  }, WF = Ed.createContext({}), P7 = () => UU(WF), du = (e, t, r) => {
1945
- oe(() => {
1946
+ ae(() => {
1946
1947
  if (!t) return;
1947
1948
  const n = (i) => {
1948
1949
  e?.some((o) => {
@@ -2183,7 +2184,7 @@ function R7(e, t, r = "14px IBM Plex Sans, sans-serif", n = 32) {
2183
2184
  let o = 0;
2184
2185
  for (const s of e) {
2185
2186
  const l = bp(
2186
- s.obj.k,
2187
+ s.obj?.k,
2187
2188
  s.decode,
2188
2189
  t
2189
2190
  ), u = a.measureText(l);
@@ -2228,13 +2229,13 @@ const Pu = {
2228
2229
  containerHeight: 200,
2229
2230
  overscan: 5
2230
2231
  });
2231
- oe(() => {
2232
+ ae(() => {
2232
2233
  a !== null && a !== g && m(a);
2233
- }, [a]), oe(() => {
2234
+ }, [a]), ae(() => {
2234
2235
  g >= 0 && g < w.length && M(g);
2235
- }, [g, w]), oe(() => {
2236
+ }, [g, w]), ae(() => {
2236
2237
  c && x?.current && x.current.focus(), c && b?.current && b.current.focus();
2237
- }, [c, x]), oe(() => {
2238
+ }, [c, x]), ae(() => {
2238
2239
  const F = R7(t, r);
2239
2240
  _(F);
2240
2241
  }, [t, r]);
@@ -2290,7 +2291,7 @@ const Pu = {
2290
2291
  onKeyDown: P,
2291
2292
  "aria-activedescendant": g >= 0 && g < w.length ? w[g]?.obj?.k : void 0,
2292
2293
  children: /* @__PURE__ */ V.jsx("div", { ...A, className: N.virtualScroll, children: T.map(({ item: F, index: B, offsetTop: $ }) => {
2293
- const L = o.includes(F.obj?.k);
2294
+ const L = F.obj?.k ? o.includes(F.obj.k) : !1;
2294
2295
  return (
2295
2296
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
2296
2297
  /* @__PURE__ */ V.jsxs(
@@ -2314,8 +2315,19 @@ const Pu = {
2314
2315
  },
2315
2316
  children: [
2316
2317
  /* @__PURE__ */ V.jsxs("div", { className: N.listItemLeft, children: [
2317
- f && /* @__PURE__ */ V.jsx(_e, { icon: F.icon || "", width: 16, placeholderIcon: F.placeholderIcon || "" }),
2318
- bp(F.obj?.k, F?.decode || F?.value, r)
2318
+ f && /* @__PURE__ */ V.jsx(
2319
+ _e,
2320
+ {
2321
+ icon: F.icon || "",
2322
+ width: 16,
2323
+ placeholderIcon: F.placeholderIcon || ""
2324
+ }
2325
+ ),
2326
+ bp(
2327
+ F.obj?.k,
2328
+ F?.decode || F?.value,
2329
+ r
2330
+ )
2319
2331
  ] }),
2320
2332
  L && /* @__PURE__ */ V.jsx(_e, { icon: "check", width: 16 })
2321
2333
  ]
@@ -2462,7 +2474,7 @@ const Pu = {
2462
2474
  registerRef: a
2463
2475
  }) => {
2464
2476
  const o = ge(/* @__PURE__ */ new Map()), [s, l] = At(e);
2465
- oe(() => {
2477
+ ae(() => {
2466
2478
  a && s && o.current.forEach((g) => {
2467
2479
  g && a({ current: g });
2468
2480
  });
@@ -2478,7 +2490,7 @@ const Pu = {
2478
2490
  ), d = GF(400), p = {
2479
2491
  floatingContainer: ja["smp-floating-toolbar-container"]
2480
2492
  };
2481
- oe(() => {
2493
+ ae(() => {
2482
2494
  if (!s && i) {
2483
2495
  const g = i();
2484
2496
  g && typeof g.then == "function" && g.then((m) => l(m)).catch((m) => {
@@ -2721,7 +2733,7 @@ const Yr = ({
2721
2733
  onTabAiIconClick: l
2722
2734
  }) => {
2723
2735
  const [u, c] = At(n ?? 0), [h, f] = At(!1), [d, p] = At(!1), v = ge(null);
2724
- if (oe(() => {
2736
+ if (ae(() => {
2725
2737
  const S = v.current;
2726
2738
  if (!S) return;
2727
2739
  _();
@@ -2729,7 +2741,7 @@ const Yr = ({
2729
2741
  return S.addEventListener("scroll", w), window.addEventListener("resize", _), () => {
2730
2742
  S.removeEventListener("scroll", w), window.removeEventListener("resize", _);
2731
2743
  };
2732
- }, []), oe(() => {
2744
+ }, []), ae(() => {
2733
2745
  n !== void 0 && c(n);
2734
2746
  }, [n]), !e.children || e.children.length === 0)
2735
2747
  return /* @__PURE__ */ V.jsx("div", { className: "tab-bar-empty", children: "No tabs available" });
@@ -2863,7 +2875,7 @@ const Yr = ({
2863
2875
  }) : m = In["smp-layout-section-flex"]), {
2864
2876
  ...v,
2865
2877
  ...y,
2866
- [g.id]: {
2878
+ [g.id || ""]: {
2867
2879
  classes: `${m} ${In[g.horizontal ? "smp-layout-section-horizontal" : "smp-layout-section-vertical"]} ${x} ${g.justify ? `smp-justifyContent-${g.justify}` : ""} ${g.align ? `smp-alignItems-${g.align}` : ""}`,
2868
2880
  styles: _
2869
2881
  }
@@ -2879,8 +2891,8 @@ const Yr = ({
2879
2891
  "div",
2880
2892
  {
2881
2893
  "smp-id": `section-${p.id}`,
2882
- className: u[p.id].classes,
2883
- style: u[p.id].styles,
2894
+ className: u[p.id || ""].classes,
2895
+ style: u[p.id || ""].styles,
2884
2896
  children: p.sections?.length ? p.sections.map((m) => f(m)) : p.content?.map(
2885
2897
  (m) => d(m, p.justify, p.align)
2886
2898
  )
@@ -2905,7 +2917,7 @@ const Yr = ({
2905
2917
  `title-section-${p.id}`
2906
2918
  ) : g;
2907
2919
  }, d = (p, v, g) => {
2908
- const m = i[p.id];
2920
+ const m = i[p.id || ""];
2909
2921
  if (!m) return null;
2910
2922
  const _ = {
2911
2923
  gridColumnStart: (p.colSpan && p.colSpan > 0 ? `span ${p.colSpan}` : p.colStart && p.colStart < 1 ? "1" : void 0) ?? p.colStart,
@@ -2963,8 +2975,8 @@ const Xh = {
2963
2975
  const t = e, r = t.columns.filter((a) => a.visible !== !1), n = r[0]?.name ?? "", i = r[1]?.name ?? n;
2964
2976
  return t.rows.reduce((a, o) => {
2965
2977
  const s = {
2966
- ...o.cells[n],
2967
- decode: o.cells[i]?.value || o.cells[n].obj.k
2978
+ ...o.cells?.[n],
2979
+ decode: o.cells?.[i]?.value || o.cells?.[n].obj?.k
2968
2980
  };
2969
2981
  return [...a, s];
2970
2982
  }, []);
@@ -2989,16 +3001,16 @@ const Xh = {
2989
3001
  const c = e?.children || i, [h, f] = At(
2990
3002
  c
2991
3003
  );
2992
- oe(() => {
3004
+ ae(() => {
2993
3005
  f(c);
2994
3006
  }, [c]);
2995
3007
  const d = ge(null), [p, v] = At(!1), [g, m] = At(0);
2996
- oe(() => {
3008
+ ae(() => {
2997
3009
  !h && r && t && r(t, void 0).then(
2998
3010
  (P) => f(ho(P) || [])
2999
3011
  ).catch((P) => {
3000
3012
  console.error(
3001
- "Errore nel caricamento delle opzioni per ButtonList",
3013
+ "Errore nel caricamento delle opzioni per Breadcrumbs",
3002
3014
  P
3003
3015
  );
3004
3016
  });
@@ -3044,7 +3056,14 @@ const Xh = {
3044
3056
  className: S.breacrumbItem,
3045
3057
  "aria-current": F ? "page" : void 0,
3046
3058
  children: [
3047
- (P?.icon || P?.placeholderIcon) && /* @__PURE__ */ V.jsx(_e, { icon: P.icon || "", placeholderIcon: P.placeholderIcon || "", width: 16 }),
3059
+ (P?.icon || P?.placeholderIcon) && /* @__PURE__ */ V.jsx(
3060
+ _e,
3061
+ {
3062
+ icon: P.icon || "",
3063
+ placeholderIcon: P.placeholderIcon || "",
3064
+ width: 16
3065
+ }
3066
+ ),
3048
3067
  P?.fun && !F ? /* @__PURE__ */ V.jsx(
3049
3068
  "a",
3050
3069
  {
@@ -3070,9 +3089,7 @@ const Xh = {
3070
3089
  },
3071
3090
  N
3072
3091
  );
3073
- }, { shouldCollapse: A, first: M, last: D, middleItems: I } = T(
3074
- h
3075
- );
3092
+ }, { shouldCollapse: A, first: M, last: D, middleItems: I } = T(h);
3076
3093
  return /* @__PURE__ */ V.jsx("nav", { "aria-label": "Breadcrumbs", children: /* @__PURE__ */ V.jsxs("ol", { className: S.breadcrumbs, children: [
3077
3094
  k(M, 0, !1),
3078
3095
  A && /* @__PURE__ */ V.jsxs(
@@ -3120,7 +3137,7 @@ const Xh = {
3120
3137
  !0
3121
3138
  )
3122
3139
  ] }) });
3123
- }, hS = (e) => e.t == "D8" || e.t == "A8", XF = (e) => e.t == "NR", Y7 = (e) => e.t == "I1", q7 = (e) => {
3140
+ }, hS = (e) => e ? e.t == "D8" || e.t == "A8" : !1, XF = (e) => e ? e.t == "NR" : !1, Y7 = (e) => e ? e.t == "I1" : !1, q7 = (e) => {
3124
3141
  if (e) {
3125
3142
  const t = e.split(";");
3126
3143
  if (t.length >= 3)
@@ -3143,13 +3160,16 @@ class bm {
3143
3160
  this.class = t, this.value = r;
3144
3161
  }
3145
3162
  static fromDataObj(t) {
3146
- return new bm(t, t.k == "1" || t.k == "true");
3163
+ return new bm(
3164
+ t,
3165
+ !!(t && (t.k == "1" || t.k == "true"))
3166
+ );
3147
3167
  }
3148
3168
  getValue() {
3149
3169
  return this.value;
3150
3170
  }
3151
3171
  getLegacyValue() {
3152
- if (this.class.t == "V2") {
3172
+ if (this.class?.t == "V2") {
3153
3173
  if (this.class.p == "SI/NO")
3154
3174
  return this.value ? "1" : " ";
3155
3175
  if (this.class.p == "ON/OFF")
@@ -3265,18 +3285,24 @@ class Xc {
3265
3285
  this.class = t, this.date = r;
3266
3286
  }
3267
3287
  static fromDataObj(t) {
3268
- const r = HD.get(`${t.t}${t.p}`);
3269
- if (r)
3270
- return new Xc(t, r.legacyToIso(t.k));
3271
- throw new Error(`Date creation from ${t.t}${t.p} not implemented yet`);
3288
+ if (t) {
3289
+ const r = HD.get(`${t.t}${t.p}`);
3290
+ if (r)
3291
+ return new Xc(t, r.legacyToIso(t.k));
3292
+ throw new Error(`Date creation from ${t.t}${t.p} not implemented yet`);
3293
+ } else
3294
+ throw new Error("Date creation from obj undefined not implemented yet");
3272
3295
  }
3273
3296
  getLegacyValue() {
3274
- const t = HD.get(`${this.class.t}${this.class.p}`);
3275
- if (t)
3276
- return t.isoToLegacy(this.date);
3277
- throw new Error(
3278
- `Date object not implemented ${this.class.t}${this.class.p}`
3279
- );
3297
+ if (this.class) {
3298
+ const t = HD.get(`${this.class.t}${this.class.p}`);
3299
+ if (t)
3300
+ return t.isoToLegacy(this.date);
3301
+ throw new Error(
3302
+ `Date object not implemented ${this.class.t}${this.class.p}`
3303
+ );
3304
+ }
3305
+ throw new Error("Date object not implemented for obj undefined");
3280
3306
  }
3281
3307
  getValue() {
3282
3308
  return this.date;
@@ -3372,14 +3398,20 @@ class ql {
3372
3398
  * @throws {Error} When number creation for the given type is not implemented
3373
3399
  */
3374
3400
  static fromDataObj(t, r) {
3375
- const n = r === "." ? "," : ".";
3376
- if (t.k === "")
3377
- return new ql(t, void 0, r);
3378
- let i = t.k.trim();
3379
- const a = i.endsWith("-");
3380
- a && (i = i.slice(0, -1));
3381
- const s = i.replace(new RegExp(`\\${n}`, "g"), "").replace(r, "."), l = parseFloat(s), u = a ? -l : l;
3382
- return new ql(t, u, r);
3401
+ if (t) {
3402
+ const n = r === "." ? "," : ".";
3403
+ if (t.k === "")
3404
+ return new ql(t, void 0, r);
3405
+ let i = t.k.trim();
3406
+ const a = i.endsWith("-");
3407
+ a && (i = i.slice(0, -1));
3408
+ const s = i.replace(
3409
+ new RegExp(`\\${n}`, "g"),
3410
+ ""
3411
+ ).replace(r, "."), l = parseFloat(s), u = a ? -l : l;
3412
+ return new ql(t, u, r);
3413
+ }
3414
+ throw new Error("Number not implemented for obj undefined");
3383
3415
  }
3384
3416
  /**
3385
3417
  * Gets the value in legacy format (with configured decimal separator)
@@ -3407,18 +3439,24 @@ class wm {
3407
3439
  this.class = t, this.time = r;
3408
3440
  }
3409
3441
  static fromDataObj(t) {
3410
- const r = jD.get(`${t.t}${t.p}`);
3411
- if (r)
3412
- return new wm(t, r.legacyToIso(t.k));
3413
- throw new Error(`time creation from ${t.t}${t.p} not implemented yet`);
3442
+ if (t) {
3443
+ const r = jD.get(`${t.t}${t.p}`);
3444
+ if (r)
3445
+ return new wm(t, r.legacyToIso(t.k));
3446
+ throw new Error(`time creation from ${t.t}${t.p} not implemented yet`);
3447
+ }
3448
+ throw new Error("time creation from obj undefined not implemented yet");
3414
3449
  }
3415
3450
  getLegacyValue() {
3416
- const t = jD.get(`${this.class.t}${this.class.p}`);
3417
- if (t)
3418
- return t.isoToLegacy(this.time);
3419
- throw new Error(
3420
- `Time object not implemented ${this.class.t}${this.class.p}`
3421
- );
3451
+ if (this.class) {
3452
+ const t = jD.get(`${this.class.t}${this.class.p}`);
3453
+ if (t)
3454
+ return t.isoToLegacy(this.time);
3455
+ throw new Error(
3456
+ `Time object not implemented ${this.class.t}${this.class.p}`
3457
+ );
3458
+ }
3459
+ throw new Error("Time object not implemented for obj undefined");
3422
3460
  }
3423
3461
  getValue() {
3424
3462
  return this.time;
@@ -4890,7 +4928,9 @@ class Xl {
4890
4928
  this.class = t, this.value = r;
4891
4929
  }
4892
4930
  static fromDataObj(t) {
4893
- return new Xl(t, t.k == "" ? [] : t.k.split(";"));
4931
+ if (t)
4932
+ return new Xl(t, t.k == "" ? [] : t.k.split(";"));
4933
+ throw new Error("time creation from obj undefined not implemented yet");
4894
4934
  }
4895
4935
  static fromString(t) {
4896
4936
  return new Xl(
@@ -4911,8 +4951,8 @@ class Xl {
4911
4951
  const ul = (e, t) => ({
4912
4952
  ...e,
4913
4953
  obj: {
4914
- t: t.objClass?.t ? t.objClass.t : e.obj.t,
4915
- p: t.objClass?.p ? t.objClass.p : e.obj.p,
4954
+ t: t.objClass?.t ? t.objClass.t : e.obj?.t || "",
4955
+ p: t.objClass?.p ? t.objClass.p : e.obj?.p || "",
4916
4956
  k: t.bindValue
4917
4957
  },
4918
4958
  decode: t.optionalDisplayValue ?? e.decode,
@@ -4936,10 +4976,10 @@ const ul = (e, t) => ({
4936
4976
  optionalDisplayValue: n
4937
4977
  });
4938
4978
  }, fs = (e) => ({
4939
- bindValue: e.obj?.k,
4979
+ bindValue: e.obj?.k || "",
4940
4980
  objClass: {
4941
- t: e.obj.t,
4942
- p: e.obj.p
4981
+ t: e.obj?.t || "",
4982
+ p: e.obj?.p || ""
4943
4983
  },
4944
4984
  fun: e.fun,
4945
4985
  optionalDisplayValue: e.decode
@@ -4969,12 +5009,12 @@ const ul = (e, t) => ({
4969
5009
  }, []);
4970
5010
  du([P], S, () => F());
4971
5011
  const B = GF(400);
4972
- oe(() => {
5012
+ ae(() => {
4973
5013
  p != null && (h ? h(s, void 0).then((H) => {
4974
5014
  const Q = ho(H) || [];
4975
5015
  T(Q), p < Q.length && z(Q[p]);
4976
5016
  }) : p < r.length && z(r[p]));
4977
- }, []), oe(() => {
5017
+ }, []), ae(() => {
4978
5018
  l || (y(e), x(t));
4979
5019
  }, [e, t, l]);
4980
5020
  const $ = (H) => {
@@ -4990,11 +5030,11 @@ const ul = (e, t) => ({
4990
5030
  }, O = () => {
4991
5031
  S || f?.();
4992
5032
  }, z = (H) => {
4993
- l ? (y(""), x("")) : (y(H.obj?.k), x(H.decode)), u?.(fs(H)), c?.(fs(H));
5033
+ l ? (y(""), x("")) : (y(H.obj?.k || ""), x(H.decode)), u?.(fs(H)), c?.(fs(H));
4994
5034
  const Q = C.findIndex(
4995
5035
  (at) => at.obj?.k === H.obj?.k
4996
5036
  );
4997
- A(Q), D([H.obj?.k]), F();
5037
+ A(Q), D([H.obj?.k || ""]), F();
4998
5038
  }, G = (H) => {
4999
5039
  H.key === "Escape" && (F(), A(-1));
5000
5040
  }, W = (H) => {
@@ -5073,7 +5113,7 @@ const ul = (e, t) => ({
5073
5113
  const [c, h] = At(a), f = hs(), d = (v) => {
5074
5114
  t || (u.onChange?.(fs(v)), u.onConfirmedChange?.(fs(v)));
5075
5115
  };
5076
- oe(() => {
5116
+ ae(() => {
5077
5117
  !c && o && s && o(s, void 0).then(
5078
5118
  (v) => h(ho(v))
5079
5119
  ).catch((v) => {
@@ -5106,11 +5146,11 @@ const ul = (e, t) => ({
5106
5146
  {
5107
5147
  appearance: "raised",
5108
5148
  variant: "base",
5109
- active: e === v.obj.k,
5149
+ active: e === v.obj?.k,
5110
5150
  onClick: () => d(v),
5111
- bindValue: v.obj.k,
5151
+ bindValue: v.obj?.k || "",
5112
5152
  optionalDisplayValue: bp(
5113
- v.obj.k,
5153
+ v.obj?.k,
5114
5154
  v.decode,
5115
5155
  n
5116
5156
  ),
@@ -5119,63 +5159,68 @@ const ul = (e, t) => ({
5119
5159
  icon: v.icon,
5120
5160
  buttonExt: `oneButton-${He(i) ? "vertical" : "horizontal"}`
5121
5161
  },
5122
- v.obj.k
5162
+ v.obj?.k
5123
5163
  )) })
5124
5164
  ]
5125
5165
  }
5126
5166
  );
5127
5167
  }, WY = ({
5128
- options: e,
5129
- fun: t,
5130
- direction: r = "row",
5131
- disposition: n = "start",
5132
- sizing: i,
5133
- variant: a,
5134
- appearance: o,
5135
- showText: s,
5136
- showIcon: l,
5137
- fullWidth: u,
5138
- disabled: c,
5139
- justify: h,
5140
- squared: f,
5141
- onClick: d,
5142
- onOptionsRequest: p
5168
+ data: e,
5169
+ options: t,
5170
+ fun: r,
5171
+ direction: n = "row",
5172
+ disposition: i = "start",
5173
+ sizing: a,
5174
+ variant: o,
5175
+ appearance: s,
5176
+ showText: l,
5177
+ showIcon: u,
5178
+ fullWidth: c,
5179
+ disabled: h,
5180
+ justify: f,
5181
+ squared: d,
5182
+ onClick: p,
5183
+ onOptionsRequest: v
5143
5184
  }) => {
5144
- const [v, g] = At(e);
5145
- oe(() => {
5146
- !v && p && t && p(t, void 0).then(
5147
- (_) => g(ho(_))
5148
- ).catch((_) => {
5185
+ const g = e?.children || t, [m, y] = At(
5186
+ g
5187
+ );
5188
+ ae(() => {
5189
+ y(g);
5190
+ }, [g]), ae(() => {
5191
+ !m && v && r && v(r, void 0).then(
5192
+ (b) => y(ho(b) || [])
5193
+ ).catch((b) => {
5149
5194
  console.error(
5150
5195
  "Errore nel caricamento delle opzioni per ButtonList",
5151
- _
5196
+ b
5152
5197
  );
5153
5198
  });
5154
- }, [v, t, p]);
5155
- const m = {
5156
- container: `smp-button-list smp-button-list-${r} smp-justifyContent-${n}`
5157
- }, y = v?.map((_, x) => {
5158
- const b = {
5159
- bindValue: _.obj.k,
5160
- optionalDisplayValue: _.decode,
5161
- fun: _.fun,
5162
- icon: _.icon,
5163
- variant: a,
5164
- appearance: o,
5165
- showText: s,
5166
- showIcon: l,
5167
- fullWidth: u,
5168
- disabled: c,
5169
- sizing: i,
5170
- justify: h,
5171
- squared: f,
5199
+ }, [m, r, v]);
5200
+ const _ = {
5201
+ container: `smp-button-list smp-button-list-${n} smp-justifyContent-${i}`
5202
+ }, x = m?.map((b, S) => {
5203
+ const w = {
5204
+ bindValue: b.obj?.k || "",
5205
+ optionalDisplayValue: b.decode ?? b.value ?? b.obj?.k ?? "",
5206
+ fun: b.fun,
5207
+ icon: b.icon,
5208
+ variant: o,
5209
+ appearance: s,
5210
+ showText: l,
5211
+ showIcon: u,
5212
+ fullWidth: c,
5213
+ disabled: h,
5214
+ sizing: a,
5215
+ justify: f,
5216
+ squared: d,
5172
5217
  onClick: () => {
5173
- d?.(_.obj.k, _.fun);
5218
+ p?.(b);
5174
5219
  }
5175
5220
  };
5176
- return /* @__PURE__ */ V.jsx(Ue, { ...b }, `button-${x}`);
5221
+ return /* @__PURE__ */ V.jsx(Ue, { ...w }, `button-${S}`);
5177
5222
  });
5178
- return /* @__PURE__ */ V.jsx("div", { role: "list", "data-component": "button-list", className: m.container, children: y });
5223
+ return /* @__PURE__ */ V.jsx("div", { role: "list", "data-component": "button-list", className: _.container, children: x });
5179
5224
  }, HY = {
5180
5225
  "smp-checkbox-wrapper": "_smp-checkbox-wrapper_d8uan_2"
5181
5226
  }, PT = ({
@@ -5221,7 +5266,7 @@ const ul = (e, t) => ({
5221
5266
  };
5222
5267
  function RT(e, t) {
5223
5268
  const r = ge(null);
5224
- oe(() => {
5269
+ ae(() => {
5225
5270
  if (!e) return;
5226
5271
  const n = typeof t == "object" && t !== null && "current" in t ? t.current : null;
5227
5272
  if (!n) return;
@@ -5277,7 +5322,7 @@ const vS = ({
5277
5322
  }), T = ye(() => {
5278
5323
  p(!1), f?.current?.focus();
5279
5324
  }, []);
5280
- du([w, S], d, () => T()), RT(d, w), oe(() => {
5325
+ du([w, S], d, () => T()), RT(d, w), ae(() => {
5281
5326
  o != null && (l ? l(s, void 0).then((I) => {
5282
5327
  const P = ho(I) || [];
5283
5328
  g(P), o < P.length && k(P[o]);
@@ -5285,8 +5330,8 @@ const vS = ({
5285
5330
  }, []);
5286
5331
  const k = (I) => {
5287
5332
  t?.(fs(I)), u?.(fs(I));
5288
- const P = v.findIndex((N) => N.obj.k === I.obj.k);
5289
- y(P), x([I.obj.k]), T();
5333
+ const P = v.findIndex((N) => N.obj?.k === I.obj?.k);
5334
+ y(P), x([I.obj?.k || ""]), T();
5290
5335
  }, A = (I) => {
5291
5336
  I.key === "Escape" && (T(), y(-1));
5292
5337
  }, M = (I) => {
@@ -5560,7 +5605,7 @@ function UY({
5560
5605
  N.push(null);
5561
5606
  P.push(N), N = [];
5562
5607
  }
5563
- }), oe(() => {
5608
+ }), ae(() => {
5564
5609
  if (p !== null) {
5565
5610
  const $ = I.findIndex(
5566
5611
  (L) => L !== null && L.getDate() === p
@@ -5768,7 +5813,7 @@ const YY = {
5768
5813
  },
5769
5814
  [_, y]
5770
5815
  );
5771
- oe(() => {
5816
+ ae(() => {
5772
5817
  const { formattedDate: A, isoDate: M, isValid: D } = x(e);
5773
5818
  f(D && M || e), p(D && A || e);
5774
5819
  }, [e, y, x]);
@@ -5864,15 +5909,15 @@ const YY = {
5864
5909
  progress: 0
5865
5910
  }))
5866
5911
  ), [M, D] = At(!1), [I, P] = At(null), N = (...j) => j.filter(Boolean).join(" "), F = typeof a == "string" ? a === "1" || a === "true" : a, B = ge(o);
5867
- oe(() => {
5912
+ ae(() => {
5868
5913
  B.current = o;
5869
5914
  }, [o]);
5870
5915
  const $ = ge(u);
5871
- oe(() => {
5916
+ ae(() => {
5872
5917
  $.current = u;
5873
5918
  }, [u]);
5874
5919
  const L = ge(null);
5875
- oe(() => {
5920
+ ae(() => {
5876
5921
  const j = L.current, X = {};
5877
5922
  k.forEach((ot) => X[ot.id] = ot.status ?? "idle");
5878
5923
  let it = !1;
@@ -6182,7 +6227,7 @@ const YY = {
6182
6227
  ), y = ye(BY, [v, g]), _ = ye(RY, [e, t]), [x, b] = At(
6183
6228
  a ? m(a) : ""
6184
6229
  ), S = ge(a ?? null);
6185
- oe(() => {
6230
+ ae(() => {
6186
6231
  a ? (b(m(a)), S.current = a) : (b(""), S.current = null);
6187
6232
  }, [a, m]);
6188
6233
  const w = ye(
@@ -6418,7 +6463,7 @@ const Nu = {
6418
6463
  ...u
6419
6464
  }) => {
6420
6465
  const [c, h] = At(i), f = hs();
6421
- oe(() => {
6466
+ ae(() => {
6422
6467
  !c && a && s && a(s, void 0).then(
6423
6468
  (S) => h(ho(S))
6424
6469
  ).catch((S) => {
@@ -6457,9 +6502,9 @@ const Nu = {
6457
6502
  {
6458
6503
  type: "radio",
6459
6504
  name: b,
6460
- value: S.obj.k,
6505
+ value: S.obj?.k,
6461
6506
  disabled: e,
6462
- checked: S.obj.k === u.bindValue,
6507
+ checked: S.obj?.k === u.bindValue,
6463
6508
  onChange: () => x(S),
6464
6509
  onBlur: _
6465
6510
  }
@@ -6469,7 +6514,7 @@ const Nu = {
6469
6514
  {
6470
6515
  variant: "body",
6471
6516
  bindValue: bp(
6472
- S.obj.k,
6517
+ S.obj?.k,
6473
6518
  S.decode,
6474
6519
  t
6475
6520
  )
@@ -6580,7 +6625,7 @@ const Nu = {
6580
6625
  isOpen: n
6581
6626
  }) => {
6582
6627
  const i = ge(null);
6583
- oe(() => {
6628
+ ae(() => {
6584
6629
  n && i?.current && i.current.focus();
6585
6630
  }, [n, i]);
6586
6631
  const [a, o, s] = e, l = (u) => Array.from({ length: u }, (c, h) => /* @__PURE__ */ V.jsx("option", { value: h, children: h.toString().padStart(2, "0") }, h));
@@ -6648,10 +6693,10 @@ const Nu = {
6648
6693
  }), v = ye(() => {
6649
6694
  l(!1), o?.current?.focus();
6650
6695
  }, []);
6651
- du([p, d], s, () => l(!1)), RT(s, p), oe(() => {
6696
+ du([p, d], s, () => l(!1)), RT(s, p), ae(() => {
6652
6697
  const S = e || "", w = uM(S) ? S : e || "";
6653
6698
  c(S), f(w);
6654
- }, [e]), oe(() => {
6699
+ }, [e]), ae(() => {
6655
6700
  const S = (w) => {
6656
6701
  w.key === "Escape" && l(!1);
6657
6702
  };
@@ -6891,7 +6936,7 @@ const Wi = {
6891
6936
  "smp-tree": "_smp-tree_19u9h_1"
6892
6937
  }, aq = ({ fun: e, onOptionsRequest: t, onClick: r }) => {
6893
6938
  const [n, i] = At(void 0);
6894
- oe(() => {
6939
+ ae(() => {
6895
6940
  !n && t && e && t(e, void 0).then((o) => i(ho(o))).catch((o) => {
6896
6941
  console.error("Errore nel caricamento delle opzioni per il Tree", o);
6897
6942
  });
@@ -6983,8 +7028,9 @@ const Wi = {
6983
7028
  }) => {
6984
7029
  const T = {
6985
7030
  obj: {
6986
- ...n,
6987
- k: f?.forceUppercase ? n.k.toLocaleUpperCase() : n.k
7031
+ t: n?.t || "",
7032
+ p: n?.p || "",
7033
+ k: n?.k ? f?.forceUppercase ? n?.k.toLocaleUpperCase() : n.k : ""
6988
7034
  },
6989
7035
  shape: r,
6990
7036
  decode: t,
@@ -7056,10 +7102,8 @@ const Wi = {
7056
7102
  case ve.BUTTON_LIST: {
7057
7103
  const L = {
7058
7104
  ...D,
7059
- options: h,
7060
- onClick: (O, z) => {
7061
- const G = { ...T, fun: z };
7062
- m?.(I(G, { bindValue: O }));
7105
+ onClick: (O) => {
7106
+ m?.(O);
7063
7107
  }
7064
7108
  };
7065
7109
  return /* @__PURE__ */ V.jsx(WY, { ...L });
@@ -7067,7 +7111,6 @@ const Wi = {
7067
7111
  case ve.BREADCRUMBS: {
7068
7112
  const L = {
7069
7113
  ...D,
7070
- options: h,
7071
7114
  onClick: (O) => {
7072
7115
  m?.(O);
7073
7116
  }
@@ -7336,7 +7379,7 @@ const Wi = {
7336
7379
  const l = s.rows[0];
7337
7380
  return s.columns.filter((u) => u.visible).reduce((u, c) => {
7338
7381
  const f = {
7339
- ...l.cells[c.name],
7382
+ ...l.cells?.[c.name],
7340
7383
  id: c.name,
7341
7384
  onChange: (d) => {
7342
7385
  a((p) => p && {
@@ -7344,8 +7387,9 @@ const Wi = {
7344
7387
  [c.name]: {
7345
7388
  ...p[c.name],
7346
7389
  obj: {
7347
- ...p[c.name].obj,
7348
- k: d.obj.k
7390
+ t: p[c.name].obj?.t || "",
7391
+ p: p[c.name].obj?.p || "",
7392
+ k: d.obj?.k || ""
7349
7393
  }
7350
7394
  }
7351
7395
  });
@@ -7368,12 +7412,12 @@ const Wi = {
7368
7412
  },
7369
7413
  [t, r, n]
7370
7414
  );
7371
- return oe(() => {
7415
+ return ae(() => {
7372
7416
  e && a(o(e));
7373
7417
  }, [e, o]), !e?.rows?.length || !e.columns?.length ? null : i && /* @__PURE__ */ V.jsx("header", { className: "smp-appbar", "aria-label": "App Bar", children: /* @__PURE__ */ V.jsx(xm, { layout: e.rows[0].layout, children: Object.values(i).map((s) => /* @__PURE__ */ V.jsx(Nl, { ...s })) }) });
7374
7418
  }, LLt = ({
7375
7419
  ColumnsNumber: e = 1,
7376
- data: t = {},
7420
+ data: t,
7377
7421
  ForceText: r,
7378
7422
  TextColName: n,
7379
7423
  TextColor: i = "var(--smp-dashList-color-base)",
@@ -7425,10 +7469,10 @@ const Wi = {
7425
7469
  }, H = (it) => it.includes(";") ? it.split(";") : [it], Q = (it) => {
7426
7470
  const ot = (gt) => {
7427
7471
  if (gt)
7428
- return it?.cells[gt]?.obj.k;
7472
+ return it?.cells?.[gt]?.obj?.k;
7429
7473
  }, dt = (gt) => {
7430
7474
  if (!(b.length <= gt))
7431
- return it?.cells[b[gt].name]?.obj?.k;
7475
+ return it?.cells?.[b[gt].name]?.obj?.k;
7432
7476
  };
7433
7477
  return {
7434
7478
  descr: r || ot(n) || dt(2) || "",
@@ -7527,7 +7571,7 @@ function cq(e, t, r, n) {
7527
7571
  function s(h, f) {
7528
7572
  const d = /* @__PURE__ */ new Map();
7529
7573
  for (const p of h) {
7530
- const v = (p.cells[f]?.decode || p.cells[f]?.value) ?? "N/D";
7574
+ const v = (p.cells?.[f]?.decode || p.cells?.[f]?.value) ?? "N/D";
7531
7575
  d.has(v) || d.set(v, []), d.get(v).push(p);
7532
7576
  }
7533
7577
  return d;
@@ -7557,7 +7601,7 @@ const hq = ({
7557
7601
  sizingMode: n
7558
7602
  }) => {
7559
7603
  const [i, a] = At({}), o = 3, s = 7;
7560
- return oe(() => {
7604
+ return ae(() => {
7561
7605
  if (!(!e || e.length === 0)) {
7562
7606
  if (n === "fixed") {
7563
7607
  const u = Object.fromEntries(
@@ -7693,15 +7737,15 @@ function i5(e, t) {
7693
7737
  return yq(e, t);
7694
7738
  }
7695
7739
  function yq(e, t) {
7696
- const { field: r, operator: n, value: i, columnsType: a } = e, o = t.cells?.[r?.obj?.k], s = _q(o);
7740
+ const { field: r, operator: n, value: i, columnsType: a } = e, o = t.cells?.[r?.obj?.k || ""], s = _q(o);
7697
7741
  if (s == null) return !1;
7698
7742
  switch (a) {
7699
7743
  case "string":
7700
- return xq(s, n.obj.k, i);
7744
+ return xq(s, n.obj?.k || "", i);
7701
7745
  case "number":
7702
- return bq(s, n.obj.k, i);
7746
+ return bq(s, n.obj?.k || "", i);
7703
7747
  case "date":
7704
- return Sq(s, n.obj.k, i);
7748
+ return Sq(s, n.obj?.k || "", i);
7705
7749
  default:
7706
7750
  return !1;
7707
7751
  }
@@ -7798,13 +7842,12 @@ function Tq(e, t) {
7798
7842
  }
7799
7843
  function a5(e, t, r, n = ".") {
7800
7844
  const i = e.columns.find((o) => o.name === t);
7801
- if (!i)
7802
- return e;
7845
+ if (!i) return e;
7803
7846
  const a = [...e.rows].sort((o, s) => {
7804
- const l = o.cells[t].obj, u = s.cells[t].obj;
7805
- if (l.k == null && u.k != null) return r === "asc" ? 1 : -1;
7806
- if (l.k != null && u.k == null) return r === "asc" ? -1 : 1;
7807
- if (l.k == null && u.k == null) return 0;
7847
+ const l = o.cells?.[t].obj, u = s.cells?.[t].obj;
7848
+ if (l?.k == null && u?.k != null) return r === "asc" ? 1 : -1;
7849
+ if (l?.k != null && u?.k == null) return r === "asc" ? -1 : 1;
7850
+ if (l?.k == null && u?.k == null) return 0;
7808
7851
  switch (i.obj?.t) {
7809
7852
  case "NR": {
7810
7853
  const c = ql.fromDataObj(l, n).getValue() ?? NaN, h = ql.fromDataObj(u, n).getValue() ?? NaN;
@@ -7816,7 +7859,7 @@ function a5(e, t, r, n = ".") {
7816
7859
  return isNaN(c.getTime()) && isNaN(h.getTime()) ? 0 : isNaN(c.getTime()) ? r === "asc" ? 1 : -1 : isNaN(h.getTime()) ? r === "asc" ? -1 : 1 : r === "asc" ? c.getTime() - h.getTime() : h.getTime() - c.getTime();
7817
7860
  }
7818
7861
  default:
7819
- return r === "asc" ? String(l.k).localeCompare(String(u.k)) : String(u.k).localeCompare(String(l.k));
7862
+ return r === "asc" ? String(l?.k).localeCompare(String(u?.k)) : String(u?.k).localeCompare(String(l?.k));
7820
7863
  }
7821
7864
  });
7822
7865
  return {
@@ -8031,7 +8074,7 @@ const wc = {
8031
8074
  {
8032
8075
  bindValue: e.field.obj.k,
8033
8076
  options: n.map((f) => ({
8034
- obj: { t: "", p: "", k: f?.obj?.k },
8077
+ obj: { t: "", p: "", k: f?.obj?.k || "" },
8035
8078
  decode: f.decode,
8036
8079
  shape: void 0
8037
8080
  })),
@@ -8044,7 +8087,7 @@ const wc = {
8044
8087
  /* @__PURE__ */ V.jsx(
8045
8088
  vS,
8046
8089
  {
8047
- bindValue: e.operator?.obj?.k,
8090
+ bindValue: e.operator?.obj.k,
8048
8091
  options: o[e.columnsType],
8049
8092
  onChange: (f) => l(f.bindValue),
8050
8093
  listDisplayMode: xc.BOTH,
@@ -8097,7 +8140,7 @@ const wc = {
8097
8140
  let m;
8098
8141
  if (l) {
8099
8142
  const _ = a.find(
8100
- (b) => b.obj.k === l
8143
+ (b) => b.obj?.k === l
8101
8144
  ), x = { ...Ng };
8102
8145
  m = {
8103
8146
  field: _ || a[0] || "",
@@ -8480,7 +8523,7 @@ const wc = {
8480
8523
  {
8481
8524
  filters: s,
8482
8525
  fieldOptions: l.filter(
8483
- (L) => L.obj.k === o
8526
+ (L) => L.obj?.k === o
8484
8527
  ),
8485
8528
  onChange: g,
8486
8529
  hasSubGroups: !0,
@@ -8551,12 +8594,12 @@ const wc = {
8551
8594
  containerHeight: dt(r),
8552
8595
  overscan: 5
8553
8596
  });
8554
- oe(() => {
8597
+ ae(() => {
8555
8598
  if (He(l) && h) {
8556
8599
  const ht = Array.from(b).map((bt) => d.rows[bt]).filter(Boolean);
8557
8600
  h(ht);
8558
8601
  }
8559
- }, [b, l, d.rows, h]), oe(() => {
8602
+ }, [b, l, d.rows, h]), ae(() => {
8560
8603
  let ht = e?.rows ?? [];
8561
8604
  k?.filters?.length > 0 && (ht = mq(ht, k));
8562
8605
  let bt = ht;
@@ -8737,7 +8780,7 @@ const wc = {
8737
8780
  return {};
8738
8781
  const b = x.rows[0];
8739
8782
  return x.columns.filter((S) => S.visible ?? !0).reduce((S, w) => {
8740
- const C = b.cells[w.name];
8783
+ const C = b.cells?.[w.name];
8741
8784
  if (!C || !f && He(n) && C.shape !== ve.BUTTON && C.shape !== ve.BUTTON_LIST)
8742
8785
  return S;
8743
8786
  const T = {
@@ -8777,9 +8820,9 @@ const wc = {
8777
8820
  }, [s]), y = () => {
8778
8821
  He(n) ? d((x) => !x) : (d(!1), s?.());
8779
8822
  };
8780
- if (oe(() => {
8823
+ if (ae(() => {
8781
8824
  h(g(e));
8782
- }, [e]), oe(() => {
8825
+ }, [e]), ae(() => {
8783
8826
  if (!p.current)
8784
8827
  return;
8785
8828
  if (!He(n)) {
@@ -8793,7 +8836,7 @@ const wc = {
8793
8836
  x.endsWith("ms") ? b = parseFloat(x) : x.endsWith("s") && (b = parseFloat(x) * 1e3), setTimeout(() => {
8794
8837
  h(g(e));
8795
8838
  }, b / 2);
8796
- }, [f, n]), oe(() => {
8839
+ }, [f, n]), ae(() => {
8797
8840
  r !== void 0 && !He(n) && d(r);
8798
8841
  }, [n, r]), !e?.rows?.length || !e.columns?.length)
8799
8842
  return null;
@@ -8867,7 +8910,7 @@ const wc = {
8867
8910
  onOptionsRequest: c
8868
8911
  }) => {
8869
8912
  const [h, f] = At();
8870
- oe(() => {
8913
+ ae(() => {
8871
8914
  f(() => {
8872
8915
  if (!e)
8873
8916
  return;
@@ -8935,7 +8978,7 @@ const wc = {
8935
8978
  Object.entries(e).map(([i, a]) => {
8936
8979
  if (a?.data?.mappedCommandId) {
8937
8980
  const o = r.findIndex(
8938
- (s) => s.obj.k === a?.data?.mappedCommandId
8981
+ (s) => s.obj?.k === a?.data?.mappedCommandId
8939
8982
  );
8940
8983
  if (o !== -1) {
8941
8984
  const [s] = r.splice(o, 1), l = {
@@ -8945,7 +8988,8 @@ const wc = {
8945
8988
  fun: s.fun,
8946
8989
  data: l,
8947
8990
  obj: {
8948
- ...a.obj,
8991
+ t: a.obj?.t || "",
8992
+ p: a.obj?.p || "",
8949
8993
  k: a.data.mappedCommandId
8950
8994
  // Override or assign new value to `k`
8951
8995
  }
@@ -8965,7 +9009,7 @@ const wc = {
8965
9009
  );
8966
9010
  return {
8967
9011
  state: e.columns.filter((o) => o.visible ?? !0).reduce((o, s) => {
8968
- const l = i.cells[s.name] ?? n.cells[s.name], u = {
9012
+ const l = i.cells[s.name] ?? n.cells?.[s.name], u = {
8969
9013
  ...l,
8970
9014
  id: s.name,
8971
9015
  label: s.title,
@@ -9007,7 +9051,7 @@ const wc = {
9007
9051
  onAdvanceResearchLoadInitialData: g
9008
9052
  }) => {
9009
9053
  const m = ge(!1), y = ge([]), { state: _, commandState: x } = dM(e, o, r), [b, S] = At(_), [w] = At(x), { translate: C } = La(), T = hs(), k = ge(null);
9010
- oe(() => {
9054
+ ae(() => {
9011
9055
  const $ = k.current;
9012
9056
  if (!$) return;
9013
9057
  const L = (O) => {
@@ -9022,11 +9066,11 @@ const wc = {
9022
9066
  L
9023
9067
  );
9024
9068
  };
9025
- }, []), oe(() => {
9069
+ }, []), ae(() => {
9026
9070
  m.current ? S(dM(e, o, r).state) : (m.current = !0, k.current && k.current.querySelectorAll('[type="text"]').forEach((L) => {
9027
9071
  L instanceof HTMLInputElement && y.current.push(L);
9028
9072
  }));
9029
- }, [e]), oe(() => {
9073
+ }, [e]), ae(() => {
9030
9074
  s && k.current && y.current.length > 0 && y.current[0].focus();
9031
9075
  }, [s]);
9032
9076
  const A = ($, L) => {
@@ -9035,8 +9079,9 @@ const wc = {
9035
9079
  [$]: {
9036
9080
  ...O[$],
9037
9081
  obj: {
9038
- ...O[$].obj,
9039
- k: L.obj.k
9082
+ t: O[$].obj?.t || "",
9083
+ p: O[$].obj?.p || "",
9084
+ k: L.obj?.k || ""
9040
9085
  },
9041
9086
  decode: L.decode,
9042
9087
  data: {
@@ -9044,7 +9089,7 @@ const wc = {
9044
9089
  error: void 0
9045
9090
  },
9046
9091
  // FIXME: remove this when webup.js will not use value
9047
- value: L.obj.k
9092
+ value: L.obj?.k
9048
9093
  }
9049
9094
  })), a && (L.shape == ve.CHECKBOX || L.shape == ve.SWITCH)) {
9050
9095
  const O = structuredClone(b);
@@ -9081,7 +9126,7 @@ const wc = {
9081
9126
  fun: L || ""
9082
9127
  });
9083
9128
  }, I = async ($) => {
9084
- if (b[$].obj.k != e.rows[0].cells[$].obj.k && (b[$].inputSettings?.checkObject && f && ((await f({
9129
+ if (b[$].obj?.k != e.rows[0].cells?.[$].obj?.k && (b[$].inputSettings?.checkObject && f && ((await f({
9085
9130
  obj: b[$].obj,
9086
9131
  fun: b[$].fun,
9087
9132
  cellId: $
@@ -9112,7 +9157,7 @@ const wc = {
9112
9157
  id: `command-${L}`,
9113
9158
  key: `command-${L}`,
9114
9159
  shape: ve.BUTTON,
9115
- onClick: () => M($.obj.k)
9160
+ onClick: () => M($.obj?.k)
9116
9161
  }
9117
9162
  )) || [];
9118
9163
  n || P.unshift(
@@ -9189,7 +9234,7 @@ const wc = {
9189
9234
  onBlur: () => I($.id),
9190
9235
  onContextMenu: d,
9191
9236
  onClick: () => {
9192
- ($.shape == "BTN" || $.shape == "CFM") && ($.fun ? D($.id, $.fun) : $.data?.mappedCommandId && M($.obj.k));
9237
+ ($.shape == "BTN" || $.shape == "CFM") && ($.fun ? D($.id, $.fun) : $.data?.mappedCommandId && M($.obj?.k));
9193
9238
  },
9194
9239
  data: {
9195
9240
  ...$.data,
@@ -23239,11 +23284,11 @@ var Jat = /* @__PURE__ */ E((e, t, r, n) => {
23239
23284
  I4([
23240
23285
  {
23241
23286
  name: "dagre",
23242
- loader: /* @__PURE__ */ E(async () => await import("./dagre-6UL2VRFP-DDOP-4q1.js"), "loader")
23287
+ loader: /* @__PURE__ */ E(async () => await import("./dagre-6UL2VRFP-BZtTc9dJ.js"), "loader")
23243
23288
  },
23244
23289
  {
23245
23290
  name: "cose-bilkent",
23246
- loader: /* @__PURE__ */ E(async () => await import("./cose-bilkent-S5V4N54A-40gowIr7.js"), "loader")
23291
+ loader: /* @__PURE__ */ E(async () => await import("./cose-bilkent-S5V4N54A-JPXvOwzj.js"), "loader")
23247
23292
  }
23248
23293
  ]);
23249
23294
  }, "registerDefaultLayoutLoaders");
@@ -23590,119 +23635,119 @@ function HL(e) {
23590
23635
  return !0;
23591
23636
  }
23592
23637
  var $4 = "c4", Xot = /* @__PURE__ */ E((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"), Zot = /* @__PURE__ */ E(async () => {
23593
- const { diagram: e } = await import("./c4Diagram-YG6GDRKO-BxlHxfel.js");
23638
+ const { diagram: e } = await import("./c4Diagram-YG6GDRKO-BcXMBGK2.js");
23594
23639
  return { id: $4, diagram: e };
23595
23640
  }, "loader"), Kot = {
23596
23641
  id: $4,
23597
23642
  detector: Xot,
23598
23643
  loader: Zot
23599
23644
  }, Jot = Kot, V4 = "flowchart", Qot = /* @__PURE__ */ E((e, t) => t?.flowchart?.defaultRenderer === "dagre-wrapper" || t?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(e), "detector"), tst = /* @__PURE__ */ E(async () => {
23600
- const { diagram: e } = await import("./flowDiagram-NV44I4VS-DNDlSBXN.js");
23645
+ const { diagram: e } = await import("./flowDiagram-NV44I4VS-sA6rCcjQ.js");
23601
23646
  return { id: V4, diagram: e };
23602
23647
  }, "loader"), est = {
23603
23648
  id: V4,
23604
23649
  detector: Qot,
23605
23650
  loader: tst
23606
23651
  }, rst = est, z4 = "flowchart-v2", nst = /* @__PURE__ */ E((e, t) => t?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (t?.flowchart?.defaultRenderer === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && t?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e)), "detector"), ist = /* @__PURE__ */ E(async () => {
23607
- const { diagram: e } = await import("./flowDiagram-NV44I4VS-DNDlSBXN.js");
23652
+ const { diagram: e } = await import("./flowDiagram-NV44I4VS-sA6rCcjQ.js");
23608
23653
  return { id: z4, diagram: e };
23609
23654
  }, "loader"), ast = {
23610
23655
  id: z4,
23611
23656
  detector: nst,
23612
23657
  loader: ist
23613
23658
  }, ost = ast, G4 = "er", sst = /* @__PURE__ */ E((e) => /^\s*erDiagram/.test(e), "detector"), lst = /* @__PURE__ */ E(async () => {
23614
- const { diagram: e } = await import("./erDiagram-Q2GNP2WA-_-g8ByEH.js");
23659
+ const { diagram: e } = await import("./erDiagram-Q2GNP2WA-8z_KxWAv.js");
23615
23660
  return { id: G4, diagram: e };
23616
23661
  }, "loader"), ust = {
23617
23662
  id: G4,
23618
23663
  detector: sst,
23619
23664
  loader: lst
23620
23665
  }, cst = ust, W4 = "gitGraph", hst = /* @__PURE__ */ E((e) => /^\s*gitGraph/.test(e), "detector"), fst = /* @__PURE__ */ E(async () => {
23621
- const { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-ZZTlS1KB.js");
23666
+ const { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-C4dz_L72.js");
23622
23667
  return { id: W4, diagram: e };
23623
23668
  }, "loader"), dst = {
23624
23669
  id: W4,
23625
23670
  detector: hst,
23626
23671
  loader: fst
23627
23672
  }, pst = dst, H4 = "gantt", vst = /* @__PURE__ */ E((e) => /^\s*gantt/.test(e), "detector"), gst = /* @__PURE__ */ E(async () => {
23628
- const { diagram: e } = await import("./ganttDiagram-LVOFAZNH-C1OouNYB.js");
23673
+ const { diagram: e } = await import("./ganttDiagram-LVOFAZNH-B0flrsT-.js");
23629
23674
  return { id: H4, diagram: e };
23630
23675
  }, "loader"), mst = {
23631
23676
  id: H4,
23632
23677
  detector: vst,
23633
23678
  loader: gst
23634
23679
  }, yst = mst, j4 = "info", _st = /* @__PURE__ */ E((e) => /^\s*info/.test(e), "detector"), xst = /* @__PURE__ */ E(async () => {
23635
- const { diagram: e } = await import("./infoDiagram-F6ZHWCRC-rpRiDjLc.js");
23680
+ const { diagram: e } = await import("./infoDiagram-F6ZHWCRC-ltyrUkGn.js");
23636
23681
  return { id: j4, diagram: e };
23637
23682
  }, "loader"), bst = {
23638
23683
  id: j4,
23639
23684
  detector: _st,
23640
23685
  loader: xst
23641
23686
  }, U4 = "pie", Sst = /* @__PURE__ */ E((e) => /^\s*pie/.test(e), "detector"), wst = /* @__PURE__ */ E(async () => {
23642
- const { diagram: e } = await import("./pieDiagram-ADFJNKIX-DRVCbSUk.js");
23687
+ const { diagram: e } = await import("./pieDiagram-ADFJNKIX-BXfZJX5i.js");
23643
23688
  return { id: U4, diagram: e };
23644
23689
  }, "loader"), Cst = {
23645
23690
  id: U4,
23646
23691
  detector: Sst,
23647
23692
  loader: wst
23648
23693
  }, Y4 = "quadrantChart", Tst = /* @__PURE__ */ E((e) => /^\s*quadrantChart/.test(e), "detector"), kst = /* @__PURE__ */ E(async () => {
23649
- const { diagram: e } = await import("./quadrantDiagram-AYHSOK5B-Dem2UCCW.js");
23694
+ const { diagram: e } = await import("./quadrantDiagram-AYHSOK5B-oJAvSdPP.js");
23650
23695
  return { id: Y4, diagram: e };
23651
23696
  }, "loader"), Ast = {
23652
23697
  id: Y4,
23653
23698
  detector: Tst,
23654
23699
  loader: kst
23655
23700
  }, Dst = Ast, q4 = "xychart", Mst = /* @__PURE__ */ E((e) => /^\s*xychart(-beta)?/.test(e), "detector"), Lst = /* @__PURE__ */ E(async () => {
23656
- const { diagram: e } = await import("./xychartDiagram-PRI3JC2R-BHFkua-4.js");
23701
+ const { diagram: e } = await import("./xychartDiagram-PRI3JC2R-C1fmrgWv.js");
23657
23702
  return { id: q4, diagram: e };
23658
23703
  }, "loader"), Est = {
23659
23704
  id: q4,
23660
23705
  detector: Mst,
23661
23706
  loader: Lst
23662
23707
  }, Ist = Est, X4 = "requirement", Pst = /* @__PURE__ */ E((e) => /^\s*requirement(Diagram)?/.test(e), "detector"), Rst = /* @__PURE__ */ E(async () => {
23663
- const { diagram: e } = await import("./requirementDiagram-UZGBJVZJ-BuUBF2aP.js");
23708
+ const { diagram: e } = await import("./requirementDiagram-UZGBJVZJ-8SwXpZHW.js");
23664
23709
  return { id: X4, diagram: e };
23665
23710
  }, "loader"), Nst = {
23666
23711
  id: X4,
23667
23712
  detector: Pst,
23668
23713
  loader: Rst
23669
23714
  }, Ost = Nst, Z4 = "sequence", Bst = /* @__PURE__ */ E((e) => /^\s*sequenceDiagram/.test(e), "detector"), Fst = /* @__PURE__ */ E(async () => {
23670
- const { diagram: e } = await import("./sequenceDiagram-WL72ISMW-CF5sRAli.js");
23715
+ const { diagram: e } = await import("./sequenceDiagram-WL72ISMW-Ck0fQNAL.js");
23671
23716
  return { id: Z4, diagram: e };
23672
23717
  }, "loader"), $st = {
23673
23718
  id: Z4,
23674
23719
  detector: Bst,
23675
23720
  loader: Fst
23676
23721
  }, Vst = $st, K4 = "class", zst = /* @__PURE__ */ E((e, t) => t?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e), "detector"), Gst = /* @__PURE__ */ E(async () => {
23677
- const { diagram: e } = await import("./classDiagram-2ON5EDUG-DeDwI8aS.js");
23722
+ const { diagram: e } = await import("./classDiagram-2ON5EDUG-Tigse1zd.js");
23678
23723
  return { id: K4, diagram: e };
23679
23724
  }, "loader"), Wst = {
23680
23725
  id: K4,
23681
23726
  detector: zst,
23682
23727
  loader: Gst
23683
23728
  }, Hst = Wst, J4 = "classDiagram", jst = /* @__PURE__ */ E((e, t) => /^\s*classDiagram/.test(e) && t?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e), "detector"), Ust = /* @__PURE__ */ E(async () => {
23684
- const { diagram: e } = await import("./classDiagram-v2-WZHVMYZB-DeDwI8aS.js");
23729
+ const { diagram: e } = await import("./classDiagram-v2-WZHVMYZB-Tigse1zd.js");
23685
23730
  return { id: J4, diagram: e };
23686
23731
  }, "loader"), Yst = {
23687
23732
  id: J4,
23688
23733
  detector: jst,
23689
23734
  loader: Ust
23690
23735
  }, qst = Yst, Q4 = "state", Xst = /* @__PURE__ */ E((e, t) => t?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e), "detector"), Zst = /* @__PURE__ */ E(async () => {
23691
- const { diagram: e } = await import("./stateDiagram-FKZM4ZOC-DD_ts2RB.js");
23736
+ const { diagram: e } = await import("./stateDiagram-FKZM4ZOC-B4PpwFoT.js");
23692
23737
  return { id: Q4, diagram: e };
23693
23738
  }, "loader"), Kst = {
23694
23739
  id: Q4,
23695
23740
  detector: Xst,
23696
23741
  loader: Zst
23697
23742
  }, Jst = Kst, tG = "stateDiagram", Qst = /* @__PURE__ */ E((e, t) => !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && t?.state?.defaultRenderer === "dagre-wrapper"), "detector"), tlt = /* @__PURE__ */ E(async () => {
23698
- const { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3-Bfo7w2Va.js");
23743
+ const { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3-CtH32bBJ.js");
23699
23744
  return { id: tG, diagram: e };
23700
23745
  }, "loader"), elt = {
23701
23746
  id: tG,
23702
23747
  detector: Qst,
23703
23748
  loader: tlt
23704
23749
  }, rlt = elt, eG = "journey", nlt = /* @__PURE__ */ E((e) => /^\s*journey/.test(e), "detector"), ilt = /* @__PURE__ */ E(async () => {
23705
- const { diagram: e } = await import("./journeyDiagram-XKPGCS4Q-CZ98Iemm.js");
23750
+ const { diagram: e } = await import("./journeyDiagram-XKPGCS4Q-B-zEuLUS.js");
23706
23751
  return { id: eG, diagram: e };
23707
23752
  }, "loader"), alt = {
23708
23753
  id: eG,
@@ -23743,70 +23788,70 @@ var $4 = "c4", Xot = /* @__PURE__ */ E((e) => /^\s*C4Context|C4Container|C4Compo
23743
23788
  /^\s*flowchart-elk/.test(e) || // If a flowchart/graph diagram has their default renderer set to elk
23744
23789
  /^\s*(flowchart|graph)/.test(e) && t?.flowchart?.defaultRenderer === "elk" ? (t.layout = "elk", !0) : !1
23745
23790
  ), "detector"), flt = /* @__PURE__ */ E(async () => {
23746
- const { diagram: e } = await import("./flowDiagram-NV44I4VS-DNDlSBXN.js");
23791
+ const { diagram: e } = await import("./flowDiagram-NV44I4VS-sA6rCcjQ.js");
23747
23792
  return { id: nG, diagram: e };
23748
23793
  }, "loader"), dlt = {
23749
23794
  id: nG,
23750
23795
  detector: hlt,
23751
23796
  loader: flt
23752
23797
  }, plt = dlt, iG = "timeline", vlt = /* @__PURE__ */ E((e) => /^\s*timeline/.test(e), "detector"), glt = /* @__PURE__ */ E(async () => {
23753
- const { diagram: e } = await import("./timeline-definition-IT6M3QCI-DuTLd0uX.js");
23798
+ const { diagram: e } = await import("./timeline-definition-IT6M3QCI-BHL0CqJl.js");
23754
23799
  return { id: iG, diagram: e };
23755
23800
  }, "loader"), mlt = {
23756
23801
  id: iG,
23757
23802
  detector: vlt,
23758
23803
  loader: glt
23759
23804
  }, ylt = mlt, aG = "mindmap", _lt = /* @__PURE__ */ E((e) => /^\s*mindmap/.test(e), "detector"), xlt = /* @__PURE__ */ E(async () => {
23760
- const { diagram: e } = await import("./mindmap-definition-VGOIOE7T-T3SqFdM9.js");
23805
+ const { diagram: e } = await import("./mindmap-definition-VGOIOE7T-UNdwR1Od.js");
23761
23806
  return { id: aG, diagram: e };
23762
23807
  }, "loader"), blt = {
23763
23808
  id: aG,
23764
23809
  detector: _lt,
23765
23810
  loader: xlt
23766
23811
  }, Slt = blt, oG = "kanban", wlt = /* @__PURE__ */ E((e) => /^\s*kanban/.test(e), "detector"), Clt = /* @__PURE__ */ E(async () => {
23767
- const { diagram: e } = await import("./kanban-definition-3W4ZIXB7-DSvk3jS-.js");
23812
+ const { diagram: e } = await import("./kanban-definition-3W4ZIXB7-mS1t2jog.js");
23768
23813
  return { id: oG, diagram: e };
23769
23814
  }, "loader"), Tlt = {
23770
23815
  id: oG,
23771
23816
  detector: wlt,
23772
23817
  loader: Clt
23773
23818
  }, klt = Tlt, sG = "sankey", Alt = /* @__PURE__ */ E((e) => /^\s*sankey(-beta)?/.test(e), "detector"), Dlt = /* @__PURE__ */ E(async () => {
23774
- const { diagram: e } = await import("./sankeyDiagram-TZEHDZUN-fpCnxH4o.js");
23819
+ const { diagram: e } = await import("./sankeyDiagram-TZEHDZUN-CgstHvoU.js");
23775
23820
  return { id: sG, diagram: e };
23776
23821
  }, "loader"), Mlt = {
23777
23822
  id: sG,
23778
23823
  detector: Alt,
23779
23824
  loader: Dlt
23780
23825
  }, Llt = Mlt, lG = "packet", Elt = /* @__PURE__ */ E((e) => /^\s*packet(-beta)?/.test(e), "detector"), Ilt = /* @__PURE__ */ E(async () => {
23781
- const { diagram: e } = await import("./diagram-S2PKOQOG-BJEPaU-6.js");
23826
+ const { diagram: e } = await import("./diagram-S2PKOQOG-CyAn0l7i.js");
23782
23827
  return { id: lG, diagram: e };
23783
23828
  }, "loader"), Plt = {
23784
23829
  id: lG,
23785
23830
  detector: Elt,
23786
23831
  loader: Ilt
23787
23832
  }, uG = "radar", Rlt = /* @__PURE__ */ E((e) => /^\s*radar-beta/.test(e), "detector"), Nlt = /* @__PURE__ */ E(async () => {
23788
- const { diagram: e } = await import("./diagram-QEK2KX5R-Cz4T-ekB.js");
23833
+ const { diagram: e } = await import("./diagram-QEK2KX5R-3OsN0WN-.js");
23789
23834
  return { id: uG, diagram: e };
23790
23835
  }, "loader"), Olt = {
23791
23836
  id: uG,
23792
23837
  detector: Rlt,
23793
23838
  loader: Nlt
23794
23839
  }, cG = "block", Blt = /* @__PURE__ */ E((e) => /^\s*block(-beta)?/.test(e), "detector"), Flt = /* @__PURE__ */ E(async () => {
23795
- const { diagram: e } = await import("./blockDiagram-VD42YOAC-DKH_9XVF.js");
23840
+ const { diagram: e } = await import("./blockDiagram-VD42YOAC-zpVD8vFM.js");
23796
23841
  return { id: cG, diagram: e };
23797
23842
  }, "loader"), $lt = {
23798
23843
  id: cG,
23799
23844
  detector: Blt,
23800
23845
  loader: Flt
23801
23846
  }, Vlt = $lt, hG = "architecture", zlt = /* @__PURE__ */ E((e) => /^\s*architecture/.test(e), "detector"), Glt = /* @__PURE__ */ E(async () => {
23802
- const { diagram: e } = await import("./architectureDiagram-VXUJARFQ-BE3MMpqX.js");
23847
+ const { diagram: e } = await import("./architectureDiagram-VXUJARFQ-Zuv5_i9v.js");
23803
23848
  return { id: hG, diagram: e };
23804
23849
  }, "loader"), Wlt = {
23805
23850
  id: hG,
23806
23851
  detector: zlt,
23807
23852
  loader: Glt
23808
23853
  }, Hlt = Wlt, fG = "treemap", jlt = /* @__PURE__ */ E((e) => /^\s*treemap/.test(e), "detector"), Ult = /* @__PURE__ */ E(async () => {
23809
- const { diagram: e } = await import("./diagram-PSM6KHXK-3Y82T6eE.js");
23854
+ const { diagram: e } = await import("./diagram-PSM6KHXK-Cbbg-Efv.js");
23810
23855
  return { id: fG, diagram: e };
23811
23856
  }, "loader"), Ylt = {
23812
23857
  id: fG,
@@ -24315,7 +24360,7 @@ const hEt = ({ data: e }) => {
24315
24360
  }
24316
24361
  return null;
24317
24362
  }, []);
24318
- oe(() => {
24363
+ ae(() => {
24319
24364
  (async () => {
24320
24365
  const s = e.children?.map(i).find((l) => l) ?? null;
24321
24366
  if (s)
@@ -28421,7 +28466,7 @@ function pW(e, t) {
28421
28466
  function Ve(e, t) {
28422
28467
  l_("warn", e, t);
28423
28468
  }
28424
- function ae(e, t) {
28469
+ function oe(e, t) {
28425
28470
  l_("error", e, t);
28426
28471
  }
28427
28472
  function Ta(e) {
@@ -28736,9 +28781,9 @@ function Lh(e, t, r, n) {
28736
28781
  if (i === "none" || i === !1) {
28737
28782
  if (n.enableNone)
28738
28783
  return s.models = [], s;
28739
- process.env.NODE_ENV !== "production" && ae('`"none"` or `false` is not a valid value on index option.'), i = -1;
28784
+ process.env.NODE_ENV !== "production" && oe('`"none"` or `false` is not a valid value on index option.'), i = -1;
28740
28785
  }
28741
- return i === "all" && (n.enableAll ? i = a = o = null : (process.env.NODE_ENV !== "production" && ae('`"all"` is not a valid value on index option.'), i = -1)), s.models = e.queryComponents({
28786
+ return i === "all" && (n.enableAll ? i = a = o = null : (process.env.NODE_ENV !== "production" && oe('`"all"` is not a valid value on index option.'), i = -1)), s.models = e.queryComponents({
28742
28787
  mainType: t,
28743
28788
  index: i,
28744
28789
  id: a,
@@ -30621,7 +30666,7 @@ function Zw(e, t, r) {
30621
30666
  function Gft(e, t, r) {
30622
30667
  var n = e.seriesIndex, i = e.getData(t.dataType);
30623
30668
  if (!i) {
30624
- process.env.NODE_ENV !== "production" && ae("Unknown dataType " + t.dataType);
30669
+ process.env.NODE_ENV !== "production" && oe("Unknown dataType " + t.dataType);
30625
30670
  return;
30626
30671
  }
30627
30672
  var a = au(i, t);
@@ -30652,7 +30697,7 @@ function sk(e, t, r, n) {
30652
30697
  if (!o || !o.findHighDownDispatchers)
30653
30698
  return i;
30654
30699
  for (var s = o.findHighDownDispatchers(r), l, u = 0; u < s.length; u++)
30655
- if (process.env.NODE_ENV !== "production" && !ys(s[u]) && ae("param should be highDownDispatcher"), Et(s[u]).focus === "self") {
30700
+ if (process.env.NODE_ENV !== "production" && !ys(s[u]) && oe("param should be highDownDispatcher"), Et(s[u]).focus === "self") {
30656
30701
  l = !0;
30657
30702
  break;
30658
30703
  }
@@ -30662,14 +30707,14 @@ function sk(e, t, r, n) {
30662
30707
  };
30663
30708
  }
30664
30709
  function Wft(e, t, r) {
30665
- process.env.NODE_ENV !== "production" && !ys(e) && ae("param should be highDownDispatcher");
30710
+ process.env.NODE_ENV !== "production" && !ys(e) && oe("param should be highDownDispatcher");
30666
30711
  var n = Et(e), i = sk(n.componentMainType, n.componentIndex, n.componentHighDownName, r), a = i.dispatchers, o = i.focusSelf;
30667
30712
  a ? (o && Zw(n.componentMainType, n.componentIndex, r), R(a, function(s) {
30668
30713
  return nI(s, t);
30669
30714
  })) : (Xw(n.seriesIndex, n.focus, n.blurScope, r), n.focus === "self" && Zw(n.componentMainType, n.componentIndex, r), nI(e, t));
30670
30715
  }
30671
30716
  function Hft(e, t, r) {
30672
- process.env.NODE_ENV !== "production" && !ys(e) && ae("param should be highDownDispatcher"), VW(r);
30717
+ process.env.NODE_ENV !== "production" && !ys(e) && oe("param should be highDownDispatcher"), VW(r);
30673
30718
  var n = Et(e), i = sk(n.componentMainType, n.componentIndex, n.componentHighDownName, r).dispatchers;
30674
30719
  i ? R(i, function(a) {
30675
30720
  return iI(a, t);
@@ -32816,7 +32861,7 @@ function SH(e, t) {
32816
32861
  var r = e.getShallow("coordinateSystem"), n = e.getShallow("coordinateSystemUsage", !0), i = n != null, a = aa.none;
32817
32862
  if (r) {
32818
32863
  var o = e.mainType === "series";
32819
- n == null && (n = o ? "data" : "box"), n === "data" ? (a = aa.dataCoordSys, o || (process.env.NODE_ENV !== "production" && i && t && ae('coordinateSystemUsage "data" is not supported in non-series components.'), a = aa.none)) : n === "box" && (a = aa.boxCoordSys, !o && !ipt(r) && (process.env.NODE_ENV !== "production" && i && t && ae('coordinateSystem "' + r + '" cannot be used' + (' as coordinateSystemUsage "box" for "' + e.type + '" yet.')), a = aa.none));
32864
+ n == null && (n = o ? "data" : "box"), n === "data" ? (a = aa.dataCoordSys, o || (process.env.NODE_ENV !== "production" && i && t && oe('coordinateSystemUsage "data" is not supported in non-series components.'), a = aa.none)) : n === "box" && (a = aa.boxCoordSys, !o && !ipt(r) && (process.env.NODE_ENV !== "production" && i && t && oe('coordinateSystem "' + r + '" cannot be used' + (' as coordinateSystemUsage "box" for "' + e.type + '" yet.')), a = aa.none));
32820
32865
  }
32821
32866
  return {
32822
32867
  coordSysType: r,
@@ -32830,7 +32875,7 @@ function $p(e) {
32830
32875
  if (i && s !== aa.dataCoordSys && (s = aa.dataCoordSys, l = r), s === aa.none || l !== r)
32831
32876
  return !1;
32832
32877
  var u = n(r, t);
32833
- return u ? (s === aa.dataCoordSys ? (process.env.NODE_ENV !== "production" && vt(t.mainType === "series"), t.coordinateSystem = u) : t.boxCoordinateSystem = u, !0) : (process.env.NODE_ENV !== "production" && (a || ae(r + " cannot be found for" + (" " + t.type + " (index: " + t.componentIndex + ")."))), !1);
32878
+ return u ? (s === aa.dataCoordSys ? (process.env.NODE_ENV !== "production" && vt(t.mainType === "series"), t.coordinateSystem = u) : t.boxCoordinateSystem = u, !0) : (process.env.NODE_ENV !== "production" && (a || oe(r + " cannot be found for" + (" " + t.type + " (index: " + t.componentIndex + ")."))), !1);
32834
32879
  }
32835
32880
  var wH = function(e, t) {
32836
32881
  var r = t.getReferringComponents(e, je).models[0];
@@ -32944,7 +32989,7 @@ function vr(e, t, r) {
32944
32989
  a = nd.rect, s = c;
32945
32990
  var h = o.dataToLayout(u);
32946
32991
  n = h.contentRect || h.rect;
32947
- } else r && r.enableLayoutOnlyByCenter && o.dataToPoint ? (a = nd.point, s = c, i = o.dataToPoint(u)) : process.env.NODE_ENV !== "production" && ae(e.type + "[" + e.componentIndex + "]" + (" layout based on " + o.type + " is not supported."));
32992
+ } else r && r.enableLayoutOnlyByCenter && o.dataToPoint ? (a = nd.point, s = c, i = o.dataToPoint(u)) : process.env.NODE_ENV !== "production" && oe(e.type + "[" + e.componentIndex + "]" + (" layout based on " + o.type + " is not supported."));
32948
32993
  }
32949
32994
  return a == null && (a = nd.rect), a === nd.rect && (n || (n = {
32950
32995
  x: 0,
@@ -33530,7 +33575,7 @@ function Spt(e) {
33530
33575
  R(e, function(t, r) {
33531
33576
  if (!Jt.hasClass(r)) {
33532
33577
  var n = xpt[r];
33533
- n && !Ly[n] && (ae("Component " + r + ` is used but not imported.
33578
+ n && !Ly[n] && (oe("Component " + r + ` is used but not imported.
33534
33579
  import { ` + n + ` } from 'echarts/components';
33535
33580
  echarts.use([` + n + "]);"), Ly[n] = !0);
33536
33581
  }
@@ -33598,7 +33643,7 @@ var Ak = (
33598
33643
  if (!k) {
33599
33644
  if (process.env.NODE_ENV !== "production") {
33600
33645
  var A = b.keyInfo.subType, M = bpt[A];
33601
- Ly[A] || (Ly[A] = !0, ae(M ? "Series " + A + ` is used but not imported.
33646
+ Ly[A] || (Ly[A] = !0, oe(M ? "Series " + A + ` is used but not imported.
33602
33647
  import { ` + M + ` } from 'echarts/charts';
33603
33648
  echarts.use([` + M + "]);" : "Unknown series " + A));
33604
33649
  }
@@ -33889,8 +33934,8 @@ var Tpt = [
33889
33934
  function Dpt(e, t, r) {
33890
33935
  var n = [], i, a, o = e.baseOption, s = e.timeline, l = e.options, u = e.media, c = !!e.media, h = !!(l || s || o && o.timeline);
33891
33936
  o ? (a = o, a.timeline || (a.timeline = s)) : ((h || c) && (e.options = e.media = null), a = e), c && (tt(u) ? R(u, function(d) {
33892
- process.env.NODE_ENV !== "production" && d && !d.option && Ct(d.query) && Ct(d.query.option) && ae("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"), d && d.option && (d.query ? n.push(d) : i || (i = d));
33893
- }) : process.env.NODE_ENV !== "production" && ae("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")), f(a), R(l, function(d) {
33937
+ process.env.NODE_ENV !== "production" && d && !d.option && Ct(d.query) && Ct(d.query.option) && oe("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"), d && d.option && (d.query ? n.push(d) : i || (i = d));
33938
+ }) : process.env.NODE_ENV !== "production" && oe("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")), f(a), R(l, function(d) {
33894
33939
  return f(d);
33895
33940
  }), R(n, function(d) {
33896
33941
  return f(d.option);
@@ -34400,11 +34445,11 @@ var tl, el, rl, nl, FI, $I, GH = (
34400
34445
  }(), e;
34401
34446
  }()
34402
34447
  ), Gv = function(e) {
34403
- tt(e) || ae("series.data or dataset.source must be an array.");
34448
+ tt(e) || oe("series.data or dataset.source must be an array.");
34404
34449
  }, Hpt = (tl = {}, tl[Pr + "_" + Di] = Gv, tl[Pr + "_" + Cu] = Gv, tl[jn] = Gv, tl[Fi] = function(e, t) {
34405
34450
  for (var r = 0; r < t.length; r++) {
34406
34451
  var n = t[r].name;
34407
- n == null && ae("dimension name must not be null/undefined.");
34452
+ n == null && oe("dimension name must not be null/undefined.");
34408
34453
  }
34409
34454
  }, tl[Hn] = Gv, tl), VI = function(e, t, r, n) {
34410
34455
  return e[n];
@@ -34513,7 +34558,7 @@ var qpt = /\{@(.+?)\}/g, k_ = (
34513
34558
  var c = bH(a, l);
34514
34559
  return c.replace(qpt, function(h, f) {
34515
34560
  var d = f.length, p = f;
34516
- p.charAt(0) === "[" && p.charAt(d - 1) === "]" && (p = +p.slice(1, d - 1), process.env.NODE_ENV !== "production" && isNaN(p) && ae("Invalide label formatter: @" + f + ", only support @[0], @[1], @[2], ..."));
34561
+ p.charAt(0) === "[" && p.charAt(d - 1) === "]" && (p = +p.slice(1, d - 1), process.env.NODE_ENV !== "production" && isNaN(p) && oe("Invalide label formatter: @" + f + ", only support @[0], @[1], @[2], ..."));
34517
34562
  var v = ch(s, t, p);
34518
34563
  if (o && tt(o.interpolatedValue)) {
34519
34564
  var g = s.getDimensionIndex(p);
@@ -35900,14 +35945,14 @@ var s6 = Zt(), Avt = Bh(), xe = (
35900
35945
  }, e.prototype.highlight = function(t, r, n, i) {
35901
35946
  var a = t.getData(i && i.dataType);
35902
35947
  if (!a) {
35903
- process.env.NODE_ENV !== "production" && ae("Unknown dataType " + i.dataType);
35948
+ process.env.NODE_ENV !== "production" && oe("Unknown dataType " + i.dataType);
35904
35949
  return;
35905
35950
  }
35906
35951
  JI(a, i, "emphasis");
35907
35952
  }, e.prototype.downplay = function(t, r, n, i) {
35908
35953
  var a = t.getData(i && i.dataType);
35909
35954
  if (!a) {
35910
- process.env.NODE_ENV !== "production" && ae("Unknown dataType " + i.dataType);
35955
+ process.env.NODE_ENV !== "production" && oe("Unknown dataType " + i.dataType);
35911
35956
  return;
35912
35957
  }
35913
35958
  JI(a, i, "normal");
@@ -37442,10 +37487,10 @@ function Sgt(e, t) {
37442
37487
  }
37443
37488
  var yi = new pi(), By = {};
37444
37489
  function wgt(e, t) {
37445
- process.env.NODE_ENV !== "production" && By[e] && ae("Already has an implementation of " + e + "."), By[e] = t;
37490
+ process.env.NODE_ENV !== "production" && By[e] && oe("Already has an implementation of " + e + "."), By[e] = t;
37446
37491
  }
37447
37492
  function Cgt(e) {
37448
- return process.env.NODE_ENV !== "production" && (By[e] || ae("Implementation of " + e + " doesn't exists.")), By[e];
37493
+ return process.env.NODE_ENV !== "production" && (By[e] || oe("Implementation of " + e + " doesn't exists.")), By[e];
37449
37494
  }
37450
37495
  var w6 = {};
37451
37496
  function Tgt(e, t) {
@@ -37578,7 +37623,7 @@ var il, Mb, Yv, za, qv, Lb, Eb, Xu, Zu, _P, xP, Ib, bP, Xv, SP, I6, qn, wP, Ku,
37578
37623
  return this._ssr;
37579
37624
  }, t.prototype.setOption = function(r, n, i) {
37580
37625
  if (this[lr]) {
37581
- process.env.NODE_ENV !== "production" && ae("`setOption` should not be called during main process.");
37626
+ process.env.NODE_ENV !== "production" && oe("`setOption` should not be called during main process.");
37582
37627
  return;
37583
37628
  }
37584
37629
  if (this._disposed) {
@@ -37612,7 +37657,7 @@ var il, Mb, Yv, za, qv, Lb, Eb, Xu, Zu, _P, xP, Ib, bP, Xv, SP, I6, qn, wP, Ku,
37612
37657
  }
37613
37658
  }, t.prototype.setTheme = function(r, n) {
37614
37659
  if (this[lr]) {
37615
- process.env.NODE_ENV !== "production" && ae("`setTheme` should not be called during main process.");
37660
+ process.env.NODE_ENV !== "production" && oe("`setTheme` should not be called during main process.");
37616
37661
  return;
37617
37662
  }
37618
37663
  if (this._disposed) {
@@ -37833,7 +37878,7 @@ var il, Mb, Yv, za, qv, Lb, Eb, Xu, Zu, _P, xP, Ib, bP, Xv, SP, I6, qn, wP, Ku,
37833
37878
  }), n._zr.dispose(), n._dom = n._model = n._chartsMap = n._componentsMap = n._chartsViews = n._componentsViews = n._scheduler = n._api = n._zr = n._throttledZrFlush = n._theme = n._coordSysMgr = n._messageCenter = null, delete Ad[n.id];
37834
37879
  }, t.prototype.resize = function(r) {
37835
37880
  if (this[lr]) {
37836
- process.env.NODE_ENV !== "production" && ae("`resize` should not be called during main process.");
37881
+ process.env.NODE_ENV !== "production" && oe("`resize` should not be called during main process.");
37837
37882
  return;
37838
37883
  }
37839
37884
  if (this._disposed) {
@@ -38399,7 +38444,7 @@ function Pa(e, t, r) {
38399
38444
  update: o,
38400
38445
  action: r,
38401
38446
  refineEvent: a
38402
- }, xC[i] = 1, a && s && (xC[u] = 1), process.env.NODE_ENV !== "production" && $y[u] && ae(u + ' must not be shared; use "refineEvent" if you intend to share an event name.'), $y[u] = n);
38447
+ }, xC[i] = 1, a && s && (xC[u] = 1), process.env.NODE_ENV !== "production" && $y[u] && oe(u + ' must not be shared; use "refineEvent" if you intend to share an event name.'), $y[u] = n);
38403
38448
  }
38404
38449
  function Ygt(e, t) {
38405
38450
  Oh.register(e, t);
@@ -40420,11 +40465,11 @@ function a8(e) {
40420
40465
  var t = e.get("breaks", !0);
40421
40466
  if (t != null) {
40422
40467
  if (!nr()) {
40423
- process.env.NODE_ENV !== "production" && ae('Must `import {AxisBreak} from "echarts/features.js"; use(AxisBreak);` first if using breaks option.');
40468
+ process.env.NODE_ENV !== "production" && oe('Must `import {AxisBreak} from "echarts/features.js"; use(AxisBreak);` first if using breaks option.');
40424
40469
  return;
40425
40470
  }
40426
40471
  if (!Umt(e.axis)) {
40427
- process.env.NODE_ENV !== "production" && ae("Axis '" + e.axis.dim + "'-'" + e.axis.type + "' does not support break.");
40472
+ process.env.NODE_ENV !== "production" && oe("Axis '" + e.axis.dim + "'-'" + e.axis.type + "' does not support break.");
40428
40473
  return;
40429
40474
  }
40430
40475
  return t;
@@ -46969,9 +47014,9 @@ function dj(e, t, r, n, i, a) {
46969
47014
  }
46970
47015
  function G_t(e, t, r) {
46971
47016
  var n, i = e.get("outerBoundsMode", !0);
46972
- i === "same" ? n = t.clone() : i == null || i === "auto" ? n = Be(e.get("outerBounds", !0) || Q8, r.refContainer) : i !== "none" && process.env.NODE_ENV !== "production" && ae("Invalid grid[" + e.componentIndex + "].outerBoundsMode.");
47017
+ i === "same" ? n = t.clone() : i == null || i === "auto" ? n = Be(e.get("outerBounds", !0) || Q8, r.refContainer) : i !== "none" && process.env.NODE_ENV !== "production" && oe("Invalid grid[" + e.componentIndex + "].outerBoundsMode.");
46973
47018
  var a = e.get("outerBoundsContain", !0), o;
46974
- a == null || a === "auto" ? o = "all" : Gt(["all", "axisLabel"], a) < 0 ? (process.env.NODE_ENV !== "production" && ae("Invalid grid[" + e.componentIndex + "].outerBoundsContain."), o = "all") : o = a;
47019
+ a == null || a === "auto" ? o = "all" : Gt(["all", "axisLabel"], a) < 0 ? (process.env.NODE_ENV !== "production" && oe("Invalid grid[" + e.componentIndex + "].outerBoundsContain."), o = "all") : o = a;
46975
47020
  var s = [by(mt(e.get("outerBoundsClampWidth", !0), Ky[0]), t.width), by(mt(e.get("outerBoundsClampHeight", !0), Ky[1]), t.height)];
46976
47021
  return {
46977
47022
  outerBoundsRect: n,
@@ -57370,7 +57415,7 @@ var S9 = (
57370
57415
  reset: function(e) {
57371
57416
  var t = e.coordinateSystem;
57372
57417
  if (!t) {
57373
- process.env.NODE_ENV !== "production" && ae("The lines series must have a coordinate system.");
57418
+ process.env.NODE_ENV !== "production" && oe("The lines series must have a coordinate system.");
57374
57419
  return;
57375
57420
  }
57376
57421
  var r = e.get("polyline"), n = e.pipelineContext.large;
@@ -62127,7 +62172,7 @@ var ZO = (
62127
62172
  function e(t, r) {
62128
62173
  this._cells = [], this._levels = [], this.dim = t, this.dimIdx = t === "x" ? 0 : 1, this._model = r, this._uniqueValueGen = N2t(t);
62129
62174
  var n = r.get("data", !0);
62130
- n != null && !tt(n) && (process.env.NODE_ENV !== "production" && ae("Illegal echarts option - matrix." + this.dim + ".data must be an array if specified."), n = []), n ? this._initByDimModelData(n) : this._initBySeriesData();
62175
+ n != null && !tt(n) && (process.env.NODE_ENV !== "production" && oe("Illegal echarts option - matrix." + this.dim + ".data must be an array if specified."), n = []), n ? this._initByDimModelData(n) : this._initBySeriesData();
62131
62176
  }
62132
62177
  return e.prototype._initByDimModelData = function(t) {
62133
62178
  var r = this, n = r._cells, i = r._levels, a = [], o = 0;
@@ -62143,7 +62188,7 @@ var ZO = (
62143
62188
  value: null
62144
62189
  })) : (g = {
62145
62190
  value: null
62146
- }, d != null && (v = !0)), v && process.env.NODE_ENV !== "production" && ae("Illegal echarts option - matrix." + r.dim + ".data[" + p + "] must be `string | {value: string}`.");
62191
+ }, d != null && (v = !0)), v && process.env.NODE_ENV !== "production" && oe("Illegal echarts option - matrix." + r.dim + ".data[" + p + "] must be `string | {value: string}`.");
62147
62192
  var m = {
62148
62193
  type: Ja.nonLeaf,
62149
62194
  ordinal: NaN,
@@ -62308,14 +62353,14 @@ var KO = (
62308
62353
  return r || (r = t._cellMap = yt(), n()), r;
62309
62354
  function n() {
62310
62355
  var a = [], o = t._model.getShallow("data");
62311
- o && !tt(o) && (process.env.NODE_ENV !== "production" && ae("matrix." + o + ".data must be an array if specified."), o = null), R(o, function(p, v) {
62356
+ o && !tt(o) && (process.env.NODE_ENV !== "production" && oe("matrix." + o + ".data must be an array if specified."), o = null), R(o, function(p, v) {
62312
62357
  if (!Ct(p) || !tt(p.coord)) {
62313
- process.env.NODE_ENV !== "production" && ae("Illegal matrix." + t._kind + ".data[" + v + "], must be a {coord: [...], ...}");
62358
+ process.env.NODE_ENV !== "production" && oe("Illegal matrix." + t._kind + ".data[" + v + "], must be a {coord: [...], ...}");
62314
62359
  return;
62315
62360
  }
62316
62361
  var g = tU([]), m = null;
62317
62362
  if (process.env.NODE_ENV !== "production" && (m = []), eU(g, m, p.coord, t._dims, p.coordClamp ? co[t._kind] : co.none), xg(g, 0) || xg(g, 1)) {
62318
- process.env.NODE_ENV !== "production" && ae("Can not determine cells by option matrix." + t._kind + ".data[" + v + "]: " + ("" + m.join(" ")));
62363
+ process.env.NODE_ENV !== "production" && oe("Can not determine cells by option matrix." + t._kind + ".data[" + v + "]: " + ("" + m.join(" ")));
62319
62364
  return;
62320
62365
  }
62321
62366
  var y = p && p.mergeCells, _ = {
@@ -62676,7 +62721,7 @@ var Y2t = (
62676
62721
  var a = n.rect = n.rect || {};
62677
62722
  a.x = a.y = a.width = a.height = NaN;
62678
62723
  var o = n.matrixXYLocatorRange = tU(n.matrixXYLocatorRange);
62679
- return tt(t) ? (eU(o, null, t, i, mt(r && r.clamp, co.none)), (!r || !r.ignoreMergeCells) && ((!r || r.clamp !== co.corner) && this._model.getBody().expandRangeByCellMerge(o), (!r || r.clamp !== co.body) && this._model.getCorner().expandRangeByCellMerge(o)), XO(a, o, i, 0), XO(a, o, i, 1), n) : (process.env.NODE_ENV !== "production" && ae("Input data must be an array in `convertToLayout`, `convertToPixel`"), n);
62724
+ return tt(t) ? (eU(o, null, t, i, mt(r && r.clamp, co.none)), (!r || !r.ignoreMergeCells) && ((!r || r.clamp !== co.corner) && this._model.getBody().expandRangeByCellMerge(o), (!r || r.clamp !== co.body) && this._model.getCorner().expandRangeByCellMerge(o)), XO(a, o, i, 0), XO(a, o, i, 1), n) : (process.env.NODE_ENV !== "production" && oe("Input data must be an array in `convertToLayout`, `convertToPixel`"), n);
62680
62725
  }, e.prototype.pointToData = function(t, r, n) {
62681
62726
  var i = this._dims;
62682
62727
  return aB(Zi, 0, i, t, r && r.clamp), aB(Zi, 1, i, t, r && r.clamp), n = n || [], n[0] = n[1] = NaN, Zi.y === $r.inCorner && Zi.x === $r.inBody ? oB(Zi, n, 0, i) : Zi.x === $r.inCorner && Zi.y === $r.inBody ? oB(Zi, n, 1, i) : (sB(Zi, n, 0, i), sB(Zi, n, 1, i)), n;
@@ -69842,7 +69887,7 @@ var eMt = (
69842
69887
  enableAll: !1,
69843
69888
  enableNone: !1
69844
69889
  }).models[0];
69845
- return r ? r.subType !== "graph" && (r = null, process.env.NODE_ENV !== "production" && ae("series." + r.subType + " is not supported in thumbnail.", !0)) : r = this.ecModel.queryComponents({
69890
+ return r ? r.subType !== "graph" && (r = null, process.env.NODE_ENV !== "production" && oe("series." + r.subType + " is not supported in thumbnail.", !0)) : r = this.ecModel.queryComponents({
69846
69891
  mainType: "series",
69847
69892
  subType: "graph"
69848
69893
  })[0], this._target = {
@@ -71537,11 +71582,11 @@ function AT(e, t, r) {
71537
71582
  breaks: n
71538
71583
  };
71539
71584
  function i(o, s) {
71540
- return o >= 0 && o < 1 - 1e-5 ? !0 : (process.env.NODE_ENV !== "production" && ae(s + " must be >= 0 and < 1, rather than " + o + " ."), !1);
71585
+ return o >= 0 && o < 1 - 1e-5 ? !0 : (process.env.NODE_ENV !== "production" && oe(s + " must be >= 0 and < 1, rather than " + o + " ."), !1);
71541
71586
  }
71542
71587
  R(e, function(o) {
71543
71588
  if (!o || o.start == null || o.end == null) {
71544
- process.env.NODE_ENV !== "production" && ae("The input axis breaks start/end should not be empty.");
71589
+ process.env.NODE_ENV !== "production" && oe("The input axis breaks start/end should not be empty.");
71545
71590
  return;
71546
71591
  }
71547
71592
  if (!o.isExpanded) {
@@ -71566,11 +71611,11 @@ function AT(e, t, r) {
71566
71611
  }
71567
71612
  if (!l) {
71568
71613
  var h = t(o.gap);
71569
- (!isFinite(h) || h < 0) && (process.env.NODE_ENV !== "production" && ae("Axis breaks gap must positive finite rather than (" + o.gap + ")."), h = 0), s.gapParsed.type = "tpAbs", s.gapParsed.val = h;
71614
+ (!isFinite(h) || h < 0) && (process.env.NODE_ENV !== "production" && oe("Axis breaks gap must positive finite rather than (" + o.gap + ")."), h = 0), s.gapParsed.type = "tpAbs", s.gapParsed.val = h;
71570
71615
  }
71571
71616
  }
71572
71617
  if (s.vmin === s.vmax && (s.gapParsed.type = "tpAbs", s.gapParsed.val = 0), r && r.noNegative && R(["vmin", "vmax"], function(d) {
71573
- s[d] < 0 && (process.env.NODE_ENV !== "production" && ae("Axis break." + d + " must not be negative."), s[d] = 0);
71618
+ s[d] < 0 && (process.env.NODE_ENV !== "production" && oe("Axis break." + d + " must not be negative."), s[d] = 0);
71574
71619
  }), s.vmin > s.vmax) {
71575
71620
  var f = s.vmax;
71576
71621
  s.vmax = s.vmin, s.vmin = f;
@@ -71582,7 +71627,7 @@ function AT(e, t, r) {
71582
71627
  });
71583
71628
  var a = -1 / 0;
71584
71629
  return R(n, function(o, s) {
71585
- a > o.vmin && (process.env.NODE_ENV !== "production" && ae("Axis breaks must not overlap."), n[s] = null), a = o.vmax;
71630
+ a > o.vmin && (process.env.NODE_ENV !== "production" && oe("Axis breaks must not overlap."), n[s] = null), a = o.vmax;
71586
71631
  }), {
71587
71632
  breaks: n.filter(function(o) {
71588
71633
  return !!o;
@@ -72026,7 +72071,7 @@ const dEt = ({ data: e }) => {
72026
72071
  },
72027
72072
  []
72028
72073
  );
72029
- return oe(() => {
72074
+ return ae(() => {
72030
72075
  const a = e?.children?.[0], o = a ? i(a) : null;
72031
72076
  if (!t.current) return;
72032
72077
  r.current && r.current.dispose(), r.current = Wgt(t.current), o ? r.current.setOption(o) : t.current.innerHTML = '<pre style="color: orange">No valid ECharts option found in data.</pre>';
@@ -72133,7 +72178,7 @@ const Pg = {
72133
72178
  e.buttons && e.buttons.length > 0 && t && /* @__PURE__ */ V.jsx("div", { className: o.buttons, children: e.buttons.map((l, u) => /* @__PURE__ */ V.jsx(
72134
72179
  Ue,
72135
72180
  {
72136
- bindValue: l?.data?.label || l.obj.k || l.decode || "Action",
72181
+ bindValue: l?.data?.label || l.obj?.k || l.decode || "Action",
72137
72182
  icon: l.icon || l.placeholderIcon || "",
72138
72183
  variant: "base",
72139
72184
  appearance: "outlined",