@leanspec/ui-components 0.2.21 → 0.2.23

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 (171) hide show
  1. package/dist/{_baseUniq-KSDS6tgF.js → _baseUniq-C4bkXOdh.js} +2 -2
  2. package/dist/{_baseUniq-ifpVq4u5.cjs → _baseUniq-NOqaX5H-.cjs} +1 -1
  3. package/dist/{arc-C-X5Xt_b.js → arc-DFohBtPV.js} +1 -1
  4. package/dist/{arc-CutFaiCL.cjs → arc-tyrH719b.cjs} +1 -1
  5. package/dist/{architecture-U656AL7Q-BB1A66AM.js → architecture-U656AL7Q-BBwC7kfZ.js} +1 -1
  6. package/dist/{architecture-U656AL7Q-DOVRDeZr.cjs → architecture-U656AL7Q-SovojSOj.cjs} +1 -1
  7. package/dist/architectureDiagram-VXUJARFQ-C4hhcqJd.cjs +36 -0
  8. package/dist/{architectureDiagram-VXUJARFQ-Bal8NTn4.js → architectureDiagram-VXUJARFQ-_R9_zrc5.js} +1272 -1279
  9. package/dist/{blockDiagram-VD42YOAC-B2gTo5wW.js → blockDiagram-VD42YOAC-CiyHYW6w.js} +911 -920
  10. package/dist/blockDiagram-VD42YOAC-DDU7DL-t.cjs +122 -0
  11. package/dist/c4Diagram-YG6GDRKO-B2Hnd24N.cjs +10 -0
  12. package/dist/{c4Diagram-YG6GDRKO-dIf_vNCY.js → c4Diagram-YG6GDRKO-D9NuNc3r.js} +162 -163
  13. package/dist/channel-CCjQuxFu.cjs +1 -0
  14. package/dist/{channel-klR7o7JB.js → channel-mhjF1lKa.js} +1 -1
  15. package/dist/chunk-4BX2VUAB-8sPjSRf4.cjs +1 -0
  16. package/dist/chunk-4BX2VUAB-D4Zhvat9.js +8 -0
  17. package/dist/{chunk-55IACEB6-C88Xx0rU.cjs → chunk-55IACEB6-BuOA2zgr.cjs} +1 -1
  18. package/dist/{chunk-55IACEB6-Dd3NjClm.js → chunk-55IACEB6-C_MzxCLx.js} +1 -1
  19. package/dist/{chunk-B4BG7PRW-BTU_nPVE.cjs → chunk-B4BG7PRW-C0iFhfj1.cjs} +6 -6
  20. package/dist/{chunk-B4BG7PRW-DLUrgkJI.js → chunk-B4BG7PRW-Q8H7OQ1o.js} +247 -248
  21. package/dist/chunk-DI55MBZ5-DFTfH1ih.cjs +220 -0
  22. package/dist/{chunk-DI55MBZ5-BwHLqSW9.js → chunk-DI55MBZ5-qwPYmgAw.js} +440 -452
  23. package/dist/{chunk-FMBD7UC4-CedTj9g2.cjs → chunk-FMBD7UC4-CPX03hX9.cjs} +1 -1
  24. package/dist/{chunk-FMBD7UC4-6dsbMKM7.js → chunk-FMBD7UC4-DhXvRHU3.js} +1 -1
  25. package/dist/chunk-QN33PNHL-BL0nCK1x.cjs +1 -0
  26. package/dist/chunk-QN33PNHL-CLwAcvO2.js +19 -0
  27. package/dist/{chunk-QZHKN3VN-CVAEdzef.js → chunk-QZHKN3VN-3tLb49S_.js} +1 -1
  28. package/dist/{chunk-QZHKN3VN-CU1cLvn7.cjs → chunk-QZHKN3VN-NXe7XoPI.cjs} +1 -1
  29. package/dist/{chunk-TZMSLE5B-Dy6zxWyY.cjs → chunk-TZMSLE5B-DG9JqGDb.cjs} +1 -1
  30. package/dist/{chunk-TZMSLE5B-Cc8_PJIq.js → chunk-TZMSLE5B-DfaYobmr.js} +1 -1
  31. package/dist/{classDiagram-2ON5EDUG-CJQWUYqu.cjs → classDiagram-2ON5EDUG-CV-RQXaH.cjs} +1 -1
  32. package/dist/{classDiagram-v2-WZHVMYZB-D7bjndmT.js → classDiagram-2ON5EDUG-xB0RyXwt.js} +2 -2
  33. package/dist/{classDiagram-v2-WZHVMYZB-CJQWUYqu.cjs → classDiagram-v2-WZHVMYZB-CV-RQXaH.cjs} +1 -1
  34. package/dist/{classDiagram-2ON5EDUG-D7bjndmT.js → classDiagram-v2-WZHVMYZB-xB0RyXwt.js} +2 -2
  35. package/dist/clone-Db2amhxD.cjs +1 -0
  36. package/dist/{clone-7srXemyd.js → clone-DqT6If4_.js} +1 -1
  37. package/dist/{code-block-37QAKDTI-MRm4xHKr.js → code-block-37QAKDTI-CWOOD74I.js} +1 -1
  38. package/dist/{code-block-37QAKDTI-BAYBliUK.cjs → code-block-37QAKDTI-uxfAy-E5.cjs} +1 -1
  39. package/dist/components/graph/dependency-graph.d.ts.map +1 -1
  40. package/dist/components/hierarchy/hierarchy-tree.d.ts +24 -0
  41. package/dist/components/hierarchy/hierarchy-tree.d.ts.map +1 -0
  42. package/dist/components/hierarchy/index.d.ts +2 -0
  43. package/dist/components/hierarchy/index.d.ts.map +1 -0
  44. package/dist/components/index.d.ts +1 -0
  45. package/dist/components/index.d.ts.map +1 -1
  46. package/dist/components/layout/index.d.ts +1 -1
  47. package/dist/components/layout/index.d.ts.map +1 -1
  48. package/dist/components/layout/loading-skeletons.d.ts +39 -0
  49. package/dist/components/layout/loading-skeletons.d.ts.map +1 -1
  50. package/dist/components/spec/spec-card.d.ts +1 -1
  51. package/dist/components/spec/spec-card.d.ts.map +1 -1
  52. package/dist/components/ui/index.d.ts +3 -3
  53. package/dist/components/ui/index.d.ts.map +1 -1
  54. package/dist/{cose-bilkent-S5V4N54A-0O3dLIoy.js → cose-bilkent-S5V4N54A-DBS7wwrE.js} +281 -281
  55. package/dist/cose-bilkent-S5V4N54A-SbkkFEUD.cjs +1 -0
  56. package/dist/cytoscape.esm-CNUX3VTg.cjs +321 -0
  57. package/dist/{cytoscape.esm-CjI2IsL8.js → cytoscape.esm-Cvf3sx9F.js} +18 -49
  58. package/dist/dagre-6UL2VRFP-Lv6cE2gX.js +443 -0
  59. package/dist/dagre-6UL2VRFP-PalD6t9U.cjs +4 -0
  60. package/dist/{diagram-PSM6KHXK-s2xYLlND.js → diagram-PSM6KHXK-8QKT-Vki.js} +17 -19
  61. package/dist/diagram-PSM6KHXK-v8YbZXb0.cjs +24 -0
  62. package/dist/{diagram-QEK2KX5R-D700jvoY.js → diagram-QEK2KX5R-Bqh-tlSV.js} +10 -14
  63. package/dist/diagram-QEK2KX5R-BzjP3pVl.cjs +43 -0
  64. package/dist/{diagram-S2PKOQOG-BkgBSa1Q.js → diagram-S2PKOQOG-Csj0p-s-.js} +22 -23
  65. package/dist/diagram-S2PKOQOG-IkbiPUJ8.cjs +24 -0
  66. package/dist/{erDiagram-Q2GNP2WA-DKKIPwgH.cjs → erDiagram-Q2GNP2WA-BkUigWGJ.cjs} +3 -3
  67. package/dist/{erDiagram-Q2GNP2WA-CXv6THpi.js → erDiagram-Q2GNP2WA-sDpapMNP.js} +73 -74
  68. package/dist/{flowDiagram-NV44I4VS-Dsrv00Gy.js → flowDiagram-NV44I4VS-CitCGiJE.js} +438 -445
  69. package/dist/flowDiagram-NV44I4VS-CkSnWJRl.cjs +162 -0
  70. package/dist/{ganttDiagram-JELNMOA3-BuwyOUxF.cjs → ganttDiagram-JELNMOA3-7lQJBEfz.cjs} +1 -1
  71. package/dist/{ganttDiagram-JELNMOA3-CqVYbgbk.js → ganttDiagram-JELNMOA3-DAaUYzNs.js} +2 -2
  72. package/dist/{gitGraph-F6HP7TQM-BtoBLEOj.cjs → gitGraph-F6HP7TQM-BOxOUe-M.cjs} +1 -1
  73. package/dist/{gitGraph-F6HP7TQM-q5owfB75.js → gitGraph-F6HP7TQM-C2AsvVF3.js} +1 -1
  74. package/dist/gitGraphDiagram-NY62KEGX-ZRyPj0Wi.cjs +65 -0
  75. package/dist/gitGraphDiagram-NY62KEGX-lj732X3H.js +699 -0
  76. package/dist/{graph-rt_wscbL.js → graph-Bg_3T7Ud.js} +2 -2
  77. package/dist/{graph-CxpBbnBw.cjs → graph-Cu_dYuuO.cjs} +1 -1
  78. package/dist/hooks/index.d.ts +1 -0
  79. package/dist/hooks/index.d.ts.map +1 -1
  80. package/dist/hooks/use-spec-sync.d.ts +13 -0
  81. package/dist/hooks/use-spec-sync.d.ts.map +1 -0
  82. package/dist/index-Dy6CZ8M8.cjs +2103 -0
  83. package/dist/{index-BsdeQX2F.js → index-sw7mRKux.js} +32343 -31696
  84. package/dist/index.cjs +1 -1
  85. package/dist/index.js +525 -503
  86. package/dist/{info-NVLQJR56-Ctx23Jwq.cjs → info-NVLQJR56-CVPwWxmd.cjs} +1 -1
  87. package/dist/info-NVLQJR56-CkwixcJh.js +5 -0
  88. package/dist/{infoDiagram-WHAUD3N6-ICmXrgfx.cjs → infoDiagram-WHAUD3N6-BMwDBsqy.cjs} +1 -1
  89. package/dist/{infoDiagram-WHAUD3N6-Fq8ToFQ6.js → infoDiagram-WHAUD3N6-BbjOpAi3.js} +2 -2
  90. package/dist/{journeyDiagram-XKPGCS4Q-BzZgPZwu.js → journeyDiagram-XKPGCS4Q-Cx34P8cj.js} +4 -4
  91. package/dist/{journeyDiagram-XKPGCS4Q-BkYLuV5M.cjs → journeyDiagram-XKPGCS4Q-owe1muzO.cjs} +1 -1
  92. package/dist/kanban-definition-3W4ZIXB7-BG76XYj7.cjs +89 -0
  93. package/dist/kanban-definition-3W4ZIXB7-BP3ykzKL.js +719 -0
  94. package/dist/{layout-CeChnsru.cjs → layout-BM-_iYaN.cjs} +1 -1
  95. package/dist/{layout-CX9neEHw.js → layout-Bft_7Aja.js} +4 -4
  96. package/dist/lib/hierarchy.d.ts +18 -0
  97. package/dist/lib/hierarchy.d.ts.map +1 -0
  98. package/dist/lib/index.d.ts +1 -0
  99. package/dist/lib/index.d.ts.map +1 -1
  100. package/dist/{linear-CkUVga7d.js → linear-BDIyMYXP.js} +1 -1
  101. package/dist/{linear-DLfe3Is-.cjs → linear-DTAQTaEQ.cjs} +1 -1
  102. package/dist/{mermaid-4DMBBIKO-DK6bOe0l.cjs → mermaid-4DMBBIKO-B7O_d629.cjs} +1 -1
  103. package/dist/mermaid-4DMBBIKO-hCNdiULh.js +4 -0
  104. package/dist/{mermaid-parser.core-B7VTdQ1C.js → mermaid-parser.core-BQu7eTx9.js} +2740 -2756
  105. package/dist/mermaid-parser.core-DYuBLIYw.cjs +128 -0
  106. package/dist/{min-C_bmS8M7.cjs → min-B_0S1fKc.cjs} +1 -1
  107. package/dist/{min-Ar5ebLd-.js → min-g4o2CnuX.js} +2 -2
  108. package/dist/mindmap-definition-VGOIOE7T-CkItDrx9.cjs +68 -0
  109. package/dist/{mindmap-definition-VGOIOE7T-DeGZNL21.js → mindmap-definition-VGOIOE7T-CteUNe1z.js} +166 -169
  110. package/dist/{ordinal-DfAQgscy.js → ordinal-B6-f3MAq.js} +1 -1
  111. package/dist/{packet-BFZMPI3H-DFZzoAsC.js → packet-BFZMPI3H-85mavqoW.js} +1 -1
  112. package/dist/{packet-BFZMPI3H-BVRarKKV.cjs → packet-BFZMPI3H-Dvo7vnhK.cjs} +1 -1
  113. package/dist/{pie-7BOR55EZ-0edBRKAY.cjs → pie-7BOR55EZ-CSQSin36.cjs} +1 -1
  114. package/dist/pie-7BOR55EZ-DEUNQ2Gx.js +5 -0
  115. package/dist/{pieDiagram-ADFJNKIX-Ceq-kf3C.cjs → pieDiagram-ADFJNKIX-BHhXUCfj.cjs} +2 -2
  116. package/dist/{pieDiagram-ADFJNKIX-C_V2NX6O.js → pieDiagram-ADFJNKIX-COS6mtim.js} +21 -21
  117. package/dist/quadrantDiagram-AYHSOK5B-D_HlZ7yZ.cjs +7 -0
  118. package/dist/{quadrantDiagram-AYHSOK5B-B8fSnYQi.js → quadrantDiagram-AYHSOK5B-DmRa7VCS.js} +227 -229
  119. package/dist/{radar-NHE76QYJ-gAJ22qc7.cjs → radar-NHE76QYJ-BcVzBWDr.cjs} +1 -1
  120. package/dist/radar-NHE76QYJ-CdgX_Cpr.js +5 -0
  121. package/dist/{requirementDiagram-UZGBJVZJ-D6BE-Q1l.cjs → requirementDiagram-UZGBJVZJ-BHFRZggR.cjs} +7 -7
  122. package/dist/{requirementDiagram-UZGBJVZJ-MnXD59Yw.js → requirementDiagram-UZGBJVZJ-CcQIz-20.js} +186 -188
  123. package/dist/{sankeyDiagram-TZEHDZUN-Dx8_KSIc.cjs → sankeyDiagram-TZEHDZUN-CSkEJj9g.cjs} +5 -5
  124. package/dist/{sankeyDiagram-TZEHDZUN-Dfyu7oJ6.js → sankeyDiagram-TZEHDZUN-CpcshR0Z.js} +186 -186
  125. package/dist/{sequenceDiagram-WL72ISMW-D2pgAoWi.js → sequenceDiagram-WL72ISMW-B1iDbV8x.js} +213 -220
  126. package/dist/{sequenceDiagram-WL72ISMW-CUYHrDfm.cjs → sequenceDiagram-WL72ISMW-DscxgBA5.cjs} +16 -16
  127. package/dist/{stateDiagram-FKZM4ZOC-DYV-na53.js → stateDiagram-FKZM4ZOC-DIutB6RS.js} +4 -4
  128. package/dist/{stateDiagram-FKZM4ZOC-CtYt1Ixa.cjs → stateDiagram-FKZM4ZOC-c19kgfCN.cjs} +1 -1
  129. package/dist/{stateDiagram-v2-4FDKWEC3-Kp4sxr9o.js → stateDiagram-v2-4FDKWEC3-BKEaZomO.js} +2 -2
  130. package/dist/{stateDiagram-v2-4FDKWEC3-CeSnHO3T.cjs → stateDiagram-v2-4FDKWEC3-CCn-Iy_C.cjs} +1 -1
  131. package/dist/timeline-definition-IT6M3QCI-CfRSUfqZ.cjs +61 -0
  132. package/dist/{timeline-definition-IT6M3QCI-621ePKJ0.js → timeline-definition-IT6M3QCI-D1yY4TSO.js} +211 -215
  133. package/dist/{treemap-KMMF4GRG-DSNryTu7.cjs → treemap-KMMF4GRG-Cn6nuBab.cjs} +1 -1
  134. package/dist/{treemap-KMMF4GRG-l6HrdCLC.js → treemap-KMMF4GRG-KtkxYt13.js} +1 -1
  135. package/dist/types/specs.d.ts +2 -0
  136. package/dist/types/specs.d.ts.map +1 -1
  137. package/dist/ui-components.css +1 -1
  138. package/dist/{xychartDiagram-PRI3JC2R-C2_xziD5.cjs → xychartDiagram-PRI3JC2R-OeJ2-Nwx.cjs} +1 -1
  139. package/dist/{xychartDiagram-PRI3JC2R-CkfCv2o_.js → xychartDiagram-PRI3JC2R-a_g9ptTp.js} +3 -3
  140. package/package.json +5 -2
  141. package/dist/architectureDiagram-VXUJARFQ-WCtQIdet.cjs +0 -36
  142. package/dist/blockDiagram-VD42YOAC-CGdaLv7H.cjs +0 -122
  143. package/dist/c4Diagram-YG6GDRKO-DfRXyZHM.cjs +0 -10
  144. package/dist/channel-CMrUjUoZ.cjs +0 -1
  145. package/dist/chunk-4BX2VUAB-BQgzc1Sm.js +0 -9
  146. package/dist/chunk-4BX2VUAB-CO5acanJ.cjs +0 -1
  147. package/dist/chunk-DI55MBZ5-lVvJu2kr.cjs +0 -220
  148. package/dist/chunk-QN33PNHL-DHNejhbC.js +0 -20
  149. package/dist/chunk-QN33PNHL-Dr9ghdFD.cjs +0 -1
  150. package/dist/clone-Chgndk5P.cjs +0 -1
  151. package/dist/cose-bilkent-S5V4N54A-CPai-c_a.cjs +0 -1
  152. package/dist/cytoscape.esm-o9WRfNPd.cjs +0 -331
  153. package/dist/dagre-6UL2VRFP-BqaZre9N.js +0 -446
  154. package/dist/dagre-6UL2VRFP-CeIiJJG5.cjs +0 -4
  155. package/dist/diagram-PSM6KHXK-oD045yZG.cjs +0 -24
  156. package/dist/diagram-QEK2KX5R-VH7_rcp0.cjs +0 -43
  157. package/dist/diagram-S2PKOQOG-CjDpLVdl.cjs +0 -24
  158. package/dist/flowDiagram-NV44I4VS-U52jVnrS.cjs +0 -162
  159. package/dist/gitGraphDiagram-NY62KEGX-DH1I05Ix.cjs +0 -65
  160. package/dist/gitGraphDiagram-NY62KEGX-DOanbk62.js +0 -712
  161. package/dist/index-Cg8ByiK0.cjs +0 -2153
  162. package/dist/info-NVLQJR56-hH82KARZ.js +0 -5
  163. package/dist/kanban-definition-3W4ZIXB7-BV7UYL3n.cjs +0 -89
  164. package/dist/kanban-definition-3W4ZIXB7-CrmrjRAg.js +0 -721
  165. package/dist/mermaid-4DMBBIKO-wnX9ATcq.js +0 -4
  166. package/dist/mermaid-parser.core-DvlzR6J2.cjs +0 -128
  167. package/dist/mindmap-definition-VGOIOE7T-BBqv9TKM.cjs +0 -68
  168. package/dist/pie-7BOR55EZ-zLMdfI8h.js +0 -5
  169. package/dist/quadrantDiagram-AYHSOK5B-BButfYaS.cjs +0 -7
  170. package/dist/radar-NHE76QYJ-DeqJwy76.js +0 -5
  171. package/dist/timeline-definition-IT6M3QCI-4fRZfQpb.cjs +0 -61
@@ -1,12 +1,12 @@
1
- import { g as Dt } from "./chunk-55IACEB6-Dd3NjClm.js";
2
- import { s as wt } from "./chunk-QN33PNHL-DHNejhbC.js";
3
- import { _ as u, e as Vt, d as Lt, s as Mt, g as Bt, y as Ft, z as Yt, f as tt, l as D, D as Pt, C as zt, F as Gt, H as Kt, u as Zt, v as Ut, h as jt, x as Wt } from "./index-BsdeQX2F.js";
4
- import { c as Qt } from "./channel-klR7o7JB.js";
1
+ import { g as Dt } from "./chunk-55IACEB6-C_MzxCLx.js";
2
+ import { s as wt } from "./chunk-QN33PNHL-CLwAcvO2.js";
3
+ import { _ as u, e as Vt, d as Lt, s as Mt, g as Bt, y as Ft, z as Yt, f as tt, l as D, D as Pt, C as zt, F as Gt, H as Kt, u as Zt, v as Ut, h as jt, x as Wt } from "./index-sw7mRKux.js";
4
+ import { c as Qt } from "./channel-mhjF1lKa.js";
5
5
  var dt = (function() {
6
6
  var s = /* @__PURE__ */ u(function(R, n, a, c) {
7
7
  for (a = a || {}, c = R.length; c--; a[R[c]] = n) ;
8
8
  return a;
9
- }, "o"), i = [6, 8, 10, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50], h = [1, 10], d = [1, 11], o = [1, 12], l = [1, 13], f = [1, 20], _ = [1, 21], E = [1, 22], V = [1, 23], Z = [1, 24], S = [1, 19], et = [1, 25], U = [1, 26], T = [1, 18], L = [1, 33], st = [1, 34], it = [1, 35], rt = [1, 36], nt = [1, 37], pt = [6, 8, 10, 13, 15, 17, 20, 21, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50, 63, 64, 65, 66, 67], O = [1, 42], A = [1, 43], M = [1, 52], B = [40, 50, 68, 69], F = [1, 63], Y = [1, 61], N = [1, 58], P = [1, 62], z = [1, 64], j = [6, 8, 10, 13, 17, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 48, 49, 50, 63, 64, 65, 66, 67], yt = [63, 64, 65, 66, 67], ft = [1, 81], _t = [1, 80], gt = [1, 78], bt = [1, 79], mt = [6, 10, 42, 47], v = [6, 10, 13, 41, 42, 47, 48, 49], W = [1, 89], Q = [1, 88], X = [1, 87], G = [19, 56], Et = [1, 98], kt = [1, 97], at = [19, 56, 58, 60], ct = {
9
+ }, "o"), i = [6, 8, 10, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50], l = [1, 10], d = [1, 11], o = [1, 12], h = [1, 13], y = [1, 20], _ = [1, 21], E = [1, 22], V = [1, 23], Z = [1, 24], S = [1, 19], et = [1, 25], U = [1, 26], T = [1, 18], L = [1, 33], st = [1, 34], it = [1, 35], rt = [1, 36], nt = [1, 37], pt = [6, 8, 10, 13, 15, 17, 20, 21, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50, 63, 64, 65, 66, 67], O = [1, 42], A = [1, 43], M = [1, 52], B = [40, 50, 68, 69], F = [1, 63], Y = [1, 61], N = [1, 58], P = [1, 62], z = [1, 64], j = [6, 8, 10, 13, 17, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 48, 49, 50, 63, 64, 65, 66, 67], ft = [63, 64, 65, 66, 67], yt = [1, 81], _t = [1, 80], gt = [1, 78], bt = [1, 79], mt = [6, 10, 42, 47], C = [6, 10, 13, 41, 42, 47, 48, 49], W = [1, 89], Q = [1, 88], X = [1, 87], G = [19, 56], Et = [1, 98], kt = [1, 97], at = [19, 56, 58, 60], ct = {
10
10
  trace: /* @__PURE__ */ u(function() {
11
11
  }, "trace"),
12
12
  yy: {},
@@ -189,7 +189,7 @@ var dt = (function() {
189
189
  break;
190
190
  }
191
191
  }, "anonymous"),
192
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, s(i, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 22: h, 24: d, 26: o, 28: l, 29: 14, 30: 15, 31: 16, 32: 17, 33: f, 34: _, 35: E, 36: V, 37: Z, 40: S, 43: et, 44: U, 50: T }, s(i, [2, 7], { 1: [2, 1] }), s(i, [2, 3]), { 9: 27, 11: 9, 22: h, 24: d, 26: o, 28: l, 29: 14, 30: 15, 31: 16, 32: 17, 33: f, 34: _, 35: E, 36: V, 37: Z, 40: S, 43: et, 44: U, 50: T }, s(i, [2, 5]), s(i, [2, 6]), s(i, [2, 16], { 12: 28, 61: 32, 15: [1, 29], 17: [1, 30], 20: [1, 31], 63: L, 64: st, 65: it, 66: rt, 67: nt }), { 23: [1, 38] }, { 25: [1, 39] }, { 27: [1, 40] }, s(i, [2, 27]), s(i, [2, 28]), s(i, [2, 29]), s(i, [2, 30]), s(i, [2, 31]), s(pt, [2, 54]), s(pt, [2, 55]), s(i, [2, 32]), s(i, [2, 33]), s(i, [2, 34]), s(i, [2, 35]), { 16: 41, 40: O, 41: A }, { 16: 44, 40: O, 41: A }, { 16: 45, 40: O, 41: A }, s(i, [2, 4]), { 11: 46, 40: S, 50: T }, { 16: 47, 40: O, 41: A }, { 18: 48, 19: [1, 49], 51: 50, 52: 51, 56: M }, { 11: 53, 40: S, 50: T }, { 62: 54, 68: [1, 55], 69: [1, 56] }, s(B, [2, 69]), s(B, [2, 70]), s(B, [2, 71]), s(B, [2, 72]), s(B, [2, 73]), s(i, [2, 24]), s(i, [2, 25]), s(i, [2, 26]), { 13: F, 38: 57, 41: Y, 42: N, 45: 59, 46: 60, 48: P, 49: z }, s(j, [2, 37]), s(j, [2, 38]), { 16: 65, 40: O, 41: A, 42: N }, { 13: F, 38: 66, 41: Y, 42: N, 45: 59, 46: 60, 48: P, 49: z }, { 13: [1, 67], 15: [1, 68] }, s(i, [2, 17], { 61: 32, 12: 69, 17: [1, 70], 42: N, 63: L, 64: st, 65: it, 66: rt, 67: nt }), { 19: [1, 71] }, s(i, [2, 14]), { 18: 72, 19: [2, 56], 51: 50, 52: 51, 56: M }, { 53: 73, 56: [1, 74] }, { 56: [2, 62] }, { 21: [1, 75] }, { 61: 76, 63: L, 64: st, 65: it, 66: rt, 67: nt }, s(yt, [2, 74]), s(yt, [2, 75]), { 6: ft, 10: _t, 39: 77, 42: gt, 47: bt }, { 40: [1, 82], 41: [1, 83] }, s(mt, [2, 43], { 46: 84, 13: F, 41: Y, 48: P, 49: z }), s(v, [2, 45]), s(v, [2, 50]), s(v, [2, 51]), s(v, [2, 52]), s(v, [2, 53]), s(i, [2, 41], { 42: N }), { 6: ft, 10: _t, 39: 85, 42: gt, 47: bt }, { 14: 86, 40: W, 50: Q, 70: X }, { 16: 90, 40: O, 41: A }, { 11: 91, 40: S, 50: T }, { 18: 92, 19: [1, 93], 51: 50, 52: 51, 56: M }, s(i, [2, 12]), { 19: [2, 57] }, s(G, [2, 58], { 54: 94, 55: 95, 57: 96, 59: Et, 60: kt }), s([19, 56, 59, 60], [2, 63]), s(i, [2, 22], { 15: [1, 100], 17: [1, 99] }), s([40, 50], [2, 68]), s(i, [2, 36]), { 13: F, 41: Y, 45: 101, 46: 60, 48: P, 49: z }, s(i, [2, 47]), s(i, [2, 48]), s(i, [2, 49]), s(j, [2, 39]), s(j, [2, 40]), s(v, [2, 46]), s(i, [2, 42]), s(i, [2, 8]), s(i, [2, 76]), s(i, [2, 77]), s(i, [2, 78]), { 13: [1, 102], 42: N }, { 13: [1, 104], 15: [1, 103] }, { 19: [1, 105] }, s(i, [2, 15]), s(G, [2, 59], { 55: 106, 58: [1, 107], 60: kt }), s(G, [2, 60]), s(at, [2, 64]), s(G, [2, 67]), s(at, [2, 66]), { 18: 108, 19: [1, 109], 51: 50, 52: 51, 56: M }, { 16: 110, 40: O, 41: A }, s(mt, [2, 44], { 46: 84, 13: F, 41: Y, 48: P, 49: z }), { 14: 111, 40: W, 50: Q, 70: X }, { 16: 112, 40: O, 41: A }, { 14: 113, 40: W, 50: Q, 70: X }, s(i, [2, 13]), s(G, [2, 61]), { 57: 114, 59: Et }, { 19: [1, 115] }, s(i, [2, 20]), s(i, [2, 23], { 17: [1, 116], 42: N }), s(i, [2, 11]), { 13: [1, 117], 42: N }, s(i, [2, 10]), s(at, [2, 65]), s(i, [2, 18]), { 18: 118, 19: [1, 119], 51: 50, 52: 51, 56: M }, { 14: 120, 40: W, 50: Q, 70: X }, { 19: [1, 121] }, s(i, [2, 21]), s(i, [2, 9]), s(i, [2, 19])],
192
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, s(i, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 22: l, 24: d, 26: o, 28: h, 29: 14, 30: 15, 31: 16, 32: 17, 33: y, 34: _, 35: E, 36: V, 37: Z, 40: S, 43: et, 44: U, 50: T }, s(i, [2, 7], { 1: [2, 1] }), s(i, [2, 3]), { 9: 27, 11: 9, 22: l, 24: d, 26: o, 28: h, 29: 14, 30: 15, 31: 16, 32: 17, 33: y, 34: _, 35: E, 36: V, 37: Z, 40: S, 43: et, 44: U, 50: T }, s(i, [2, 5]), s(i, [2, 6]), s(i, [2, 16], { 12: 28, 61: 32, 15: [1, 29], 17: [1, 30], 20: [1, 31], 63: L, 64: st, 65: it, 66: rt, 67: nt }), { 23: [1, 38] }, { 25: [1, 39] }, { 27: [1, 40] }, s(i, [2, 27]), s(i, [2, 28]), s(i, [2, 29]), s(i, [2, 30]), s(i, [2, 31]), s(pt, [2, 54]), s(pt, [2, 55]), s(i, [2, 32]), s(i, [2, 33]), s(i, [2, 34]), s(i, [2, 35]), { 16: 41, 40: O, 41: A }, { 16: 44, 40: O, 41: A }, { 16: 45, 40: O, 41: A }, s(i, [2, 4]), { 11: 46, 40: S, 50: T }, { 16: 47, 40: O, 41: A }, { 18: 48, 19: [1, 49], 51: 50, 52: 51, 56: M }, { 11: 53, 40: S, 50: T }, { 62: 54, 68: [1, 55], 69: [1, 56] }, s(B, [2, 69]), s(B, [2, 70]), s(B, [2, 71]), s(B, [2, 72]), s(B, [2, 73]), s(i, [2, 24]), s(i, [2, 25]), s(i, [2, 26]), { 13: F, 38: 57, 41: Y, 42: N, 45: 59, 46: 60, 48: P, 49: z }, s(j, [2, 37]), s(j, [2, 38]), { 16: 65, 40: O, 41: A, 42: N }, { 13: F, 38: 66, 41: Y, 42: N, 45: 59, 46: 60, 48: P, 49: z }, { 13: [1, 67], 15: [1, 68] }, s(i, [2, 17], { 61: 32, 12: 69, 17: [1, 70], 42: N, 63: L, 64: st, 65: it, 66: rt, 67: nt }), { 19: [1, 71] }, s(i, [2, 14]), { 18: 72, 19: [2, 56], 51: 50, 52: 51, 56: M }, { 53: 73, 56: [1, 74] }, { 56: [2, 62] }, { 21: [1, 75] }, { 61: 76, 63: L, 64: st, 65: it, 66: rt, 67: nt }, s(ft, [2, 74]), s(ft, [2, 75]), { 6: yt, 10: _t, 39: 77, 42: gt, 47: bt }, { 40: [1, 82], 41: [1, 83] }, s(mt, [2, 43], { 46: 84, 13: F, 41: Y, 48: P, 49: z }), s(C, [2, 45]), s(C, [2, 50]), s(C, [2, 51]), s(C, [2, 52]), s(C, [2, 53]), s(i, [2, 41], { 42: N }), { 6: yt, 10: _t, 39: 85, 42: gt, 47: bt }, { 14: 86, 40: W, 50: Q, 70: X }, { 16: 90, 40: O, 41: A }, { 11: 91, 40: S, 50: T }, { 18: 92, 19: [1, 93], 51: 50, 52: 51, 56: M }, s(i, [2, 12]), { 19: [2, 57] }, s(G, [2, 58], { 54: 94, 55: 95, 57: 96, 59: Et, 60: kt }), s([19, 56, 59, 60], [2, 63]), s(i, [2, 22], { 15: [1, 100], 17: [1, 99] }), s([40, 50], [2, 68]), s(i, [2, 36]), { 13: F, 41: Y, 45: 101, 46: 60, 48: P, 49: z }, s(i, [2, 47]), s(i, [2, 48]), s(i, [2, 49]), s(j, [2, 39]), s(j, [2, 40]), s(C, [2, 46]), s(i, [2, 42]), s(i, [2, 8]), s(i, [2, 76]), s(i, [2, 77]), s(i, [2, 78]), { 13: [1, 102], 42: N }, { 13: [1, 104], 15: [1, 103] }, { 19: [1, 105] }, s(i, [2, 15]), s(G, [2, 59], { 55: 106, 58: [1, 107], 60: kt }), s(G, [2, 60]), s(at, [2, 64]), s(G, [2, 67]), s(at, [2, 66]), { 18: 108, 19: [1, 109], 51: 50, 52: 51, 56: M }, { 16: 110, 40: O, 41: A }, s(mt, [2, 44], { 46: 84, 13: F, 41: Y, 48: P, 49: z }), { 14: 111, 40: W, 50: Q, 70: X }, { 16: 112, 40: O, 41: A }, { 14: 113, 40: W, 50: Q, 70: X }, s(i, [2, 13]), s(G, [2, 61]), { 57: 114, 59: Et }, { 19: [1, 115] }, s(i, [2, 20]), s(i, [2, 23], { 17: [1, 116], 42: N }), s(i, [2, 11]), { 13: [1, 117], 42: N }, s(i, [2, 10]), s(at, [2, 65]), s(i, [2, 18]), { 18: 118, 19: [1, 119], 51: 50, 52: 51, 56: M }, { 14: 120, 40: W, 50: Q, 70: X }, { 19: [1, 121] }, s(i, [2, 21]), s(i, [2, 9]), s(i, [2, 19])],
193
193
  defaultActions: { 52: [2, 62], 72: [2, 57] },
194
194
  parseError: /* @__PURE__ */ u(function(n, a) {
195
195
  if (a.recoverable)
@@ -200,35 +200,35 @@ var dt = (function() {
200
200
  }
201
201
  }, "parseError"),
202
202
  parse: /* @__PURE__ */ u(function(n) {
203
- var a = this, c = [0], r = [], p = [null], t = [], K = this.table, e = "", q = 0, St = 0, xt = 2, Tt = 1, It = t.slice.call(arguments, 1), y = Object.create(this.lexer), x = { yy: {} };
203
+ var a = this, c = [0], r = [], p = [null], t = [], K = this.table, e = "", q = 0, St = 0, xt = 2, Tt = 1, It = t.slice.call(arguments, 1), f = Object.create(this.lexer), x = { yy: {} };
204
204
  for (var lt in this.yy)
205
205
  Object.prototype.hasOwnProperty.call(this.yy, lt) && (x.yy[lt] = this.yy[lt]);
206
- y.setInput(n, x.yy), x.yy.lexer = y, x.yy.parser = this, typeof y.yylloc > "u" && (y.yylloc = {});
207
- var ot = y.yylloc;
206
+ f.setInput(n, x.yy), x.yy.lexer = f, x.yy.parser = this, typeof f.yylloc > "u" && (f.yylloc = {});
207
+ var ot = f.yylloc;
208
208
  t.push(ot);
209
- var vt = y.options && y.options.ranges;
209
+ var Ct = f.options && f.options.ranges;
210
210
  typeof x.yy.parseError == "function" ? this.parseError = x.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
211
- function Ct(b) {
211
+ function vt(b) {
212
212
  c.length = c.length - 2 * b, p.length = p.length - b, t.length = t.length - b;
213
213
  }
214
- u(Ct, "popStack");
214
+ u(vt, "popStack");
215
215
  function Ot() {
216
216
  var b;
217
- return b = r.pop() || y.lex() || Tt, typeof b != "number" && (b instanceof Array && (r = b, b = r.pop()), b = a.symbols_[b] || b), b;
217
+ return b = r.pop() || f.lex() || Tt, typeof b != "number" && (b instanceof Array && (r = b, b = r.pop()), b = a.symbols_[b] || b), b;
218
218
  }
219
219
  u(Ot, "lex");
220
- for (var g, I, m, ht, C = {}, J, k, At, $; ; ) {
220
+ for (var g, I, m, ht, v = {}, J, k, At, $; ; ) {
221
221
  if (I = c[c.length - 1], this.defaultActions[I] ? m = this.defaultActions[I] : ((g === null || typeof g > "u") && (g = Ot()), m = K[I] && K[I][g]), typeof m > "u" || !m.length || !m[0]) {
222
222
  var ut = "";
223
223
  $ = [];
224
224
  for (J in K[I])
225
225
  this.terminals_[J] && J > xt && $.push("'" + this.terminals_[J] + "'");
226
- y.showPosition ? ut = "Parse error on line " + (q + 1) + `:
227
- ` + y.showPosition() + `
226
+ f.showPosition ? ut = "Parse error on line " + (q + 1) + `:
227
+ ` + f.showPosition() + `
228
228
  Expecting ` + $.join(", ") + ", got '" + (this.terminals_[g] || g) + "'" : ut = "Parse error on line " + (q + 1) + ": Unexpected " + (g == Tt ? "end of input" : "'" + (this.terminals_[g] || g) + "'"), this.parseError(ut, {
229
- text: y.match,
229
+ text: f.match,
230
230
  token: this.terminals_[g] || g,
231
- line: y.yylineno,
231
+ line: f.yylineno,
232
232
  loc: ot,
233
233
  expected: $
234
234
  });
@@ -237,18 +237,18 @@ Expecting ` + $.join(", ") + ", got '" + (this.terminals_[g] || g) + "'" : ut =
237
237
  throw new Error("Parse Error: multiple actions possible at state: " + I + ", token: " + g);
238
238
  switch (m[0]) {
239
239
  case 1:
240
- c.push(g), p.push(y.yytext), t.push(y.yylloc), c.push(m[1]), g = null, St = y.yyleng, e = y.yytext, q = y.yylineno, ot = y.yylloc;
240
+ c.push(g), p.push(f.yytext), t.push(f.yylloc), c.push(m[1]), g = null, St = f.yyleng, e = f.yytext, q = f.yylineno, ot = f.yylloc;
241
241
  break;
242
242
  case 2:
243
- if (k = this.productions_[m[1]][1], C.$ = p[p.length - k], C._$ = {
243
+ if (k = this.productions_[m[1]][1], v.$ = p[p.length - k], v._$ = {
244
244
  first_line: t[t.length - (k || 1)].first_line,
245
245
  last_line: t[t.length - 1].last_line,
246
246
  first_column: t[t.length - (k || 1)].first_column,
247
247
  last_column: t[t.length - 1].last_column
248
- }, vt && (C._$.range = [
248
+ }, Ct && (v._$.range = [
249
249
  t[t.length - (k || 1)].range[0],
250
250
  t[t.length - 1].range[1]
251
- ]), ht = this.performAction.apply(C, [
251
+ ]), ht = this.performAction.apply(v, [
252
252
  e,
253
253
  St,
254
254
  q,
@@ -258,7 +258,7 @@ Expecting ` + $.join(", ") + ", got '" + (this.terminals_[g] || g) + "'" : ut =
258
258
  t
259
259
  ].concat(It)), typeof ht < "u")
260
260
  return ht;
261
- k && (c = c.slice(0, -1 * k * 2), p = p.slice(0, -1 * k), t = t.slice(0, -1 * k)), c.push(this.productions_[m[1]][0]), p.push(C.$), t.push(C._$), At = K[c[c.length - 2]][c[c.length - 1]], c.push(At);
261
+ k && (c = c.slice(0, -1 * k * 2), p = p.slice(0, -1 * k), t = t.slice(0, -1 * k)), c.push(this.productions_[m[1]][0]), p.push(v.$), t.push(v._$), At = K[c[c.length - 2]][c[c.length - 1]], c.push(At);
262
262
  break;
263
263
  case 3:
264
264
  return !0;
@@ -622,13 +622,12 @@ var Xt = dt, w, Ht = (w = class {
622
622
  * @param name - The name of the entity
623
623
  * @param alias - The alias of the entity
624
624
  */
625
- addEntity(i, h = "") {
626
- var d;
627
- return this.entities.has(i) ? !((d = this.entities.get(i)) != null && d.alias) && h && (this.entities.get(i).alias = h, D.info(`Add alias '${h}' to entity '${i}'`)) : (this.entities.set(i, {
625
+ addEntity(i, l = "") {
626
+ return this.entities.has(i) ? !this.entities.get(i)?.alias && l && (this.entities.get(i).alias = l, D.info(`Add alias '${l}' to entity '${i}'`)) : (this.entities.set(i, {
628
627
  id: `entity-${i}-${this.entities.size}`,
629
628
  label: i,
630
629
  attributes: [],
631
- alias: h,
630
+ alias: l,
632
631
  shape: "erBox",
633
632
  look: tt().look ?? "default",
634
633
  cssClasses: "default",
@@ -644,11 +643,11 @@ var Xt = dt, w, Ht = (w = class {
644
643
  getClasses() {
645
644
  return this.classes;
646
645
  }
647
- addAttributes(i, h) {
646
+ addAttributes(i, l) {
648
647
  const d = this.addEntity(i);
649
648
  let o;
650
- for (o = h.length - 1; o >= 0; o--)
651
- h[o].keys || (h[o].keys = []), h[o].comment || (h[o].comment = ""), d.attributes.push(h[o]), D.debug("Added attribute ", h[o].name);
649
+ for (o = l.length - 1; o >= 0; o--)
650
+ l[o].keys || (l[o].keys = []), l[o].comment || (l[o].comment = ""), d.attributes.push(l[o]), D.debug("Added attribute ", l[o].name);
652
651
  }
653
652
  /**
654
653
  * Add a relationship
@@ -658,14 +657,14 @@ var Xt = dt, w, Ht = (w = class {
658
657
  * @param entB - The second entity in the relationship
659
658
  * @param rSpec - The details of the relationship between the two entities
660
659
  */
661
- addRelationship(i, h, d, o) {
662
- const l = this.entities.get(i), f = this.entities.get(d);
663
- if (!l || !f)
660
+ addRelationship(i, l, d, o) {
661
+ const h = this.entities.get(i), y = this.entities.get(d);
662
+ if (!h || !y)
664
663
  return;
665
664
  const _ = {
666
- entityA: l.id,
667
- roleA: h,
668
- entityB: f.id,
665
+ entityA: h.id,
666
+ roleA: l,
667
+ entityB: y.id,
669
668
  relSpec: o
670
669
  };
671
670
  this.relationships.push(_), D.debug("Added new relationship :", _);
@@ -680,83 +679,83 @@ var Xt = dt, w, Ht = (w = class {
680
679
  this.direction = i;
681
680
  }
682
681
  getCompiledStyles(i) {
683
- let h = [];
682
+ let l = [];
684
683
  for (const d of i) {
685
684
  const o = this.classes.get(d);
686
- o != null && o.styles && (h = [...h, ...o.styles ?? []].map((l) => l.trim())), o != null && o.textStyles && (h = [...h, ...o.textStyles ?? []].map((l) => l.trim()));
685
+ o?.styles && (l = [...l, ...o.styles ?? []].map((h) => h.trim())), o?.textStyles && (l = [...l, ...o.textStyles ?? []].map((h) => h.trim()));
687
686
  }
688
- return h;
687
+ return l;
689
688
  }
690
- addCssStyles(i, h) {
689
+ addCssStyles(i, l) {
691
690
  for (const d of i) {
692
691
  const o = this.entities.get(d);
693
- if (!h || !o)
692
+ if (!l || !o)
694
693
  return;
695
- for (const l of h)
696
- o.cssStyles.push(l);
694
+ for (const h of l)
695
+ o.cssStyles.push(h);
697
696
  }
698
697
  }
699
- addClass(i, h) {
698
+ addClass(i, l) {
700
699
  i.forEach((d) => {
701
700
  let o = this.classes.get(d);
702
- o === void 0 && (o = { id: d, styles: [], textStyles: [] }, this.classes.set(d, o)), h && h.forEach(function(l) {
703
- if (/color/.exec(l)) {
704
- const f = l.replace("fill", "bgFill");
705
- o.textStyles.push(f);
701
+ o === void 0 && (o = { id: d, styles: [], textStyles: [] }, this.classes.set(d, o)), l && l.forEach(function(h) {
702
+ if (/color/.exec(h)) {
703
+ const y = h.replace("fill", "bgFill");
704
+ o.textStyles.push(y);
706
705
  }
707
- o.styles.push(l);
706
+ o.styles.push(h);
708
707
  });
709
708
  });
710
709
  }
711
- setClass(i, h) {
710
+ setClass(i, l) {
712
711
  for (const d of i) {
713
712
  const o = this.entities.get(d);
714
713
  if (o)
715
- for (const l of h)
716
- o.cssClasses += " " + l;
714
+ for (const h of l)
715
+ o.cssClasses += " " + h;
717
716
  }
718
717
  }
719
718
  clear() {
720
719
  this.entities = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.relationships = [], Pt();
721
720
  }
722
721
  getData() {
723
- const i = [], h = [], d = tt();
724
- for (const l of this.entities.keys()) {
725
- const f = this.entities.get(l);
726
- f && (f.cssCompiledStyles = this.getCompiledStyles(f.cssClasses.split(" ")), i.push(f));
722
+ const i = [], l = [], d = tt();
723
+ for (const h of this.entities.keys()) {
724
+ const y = this.entities.get(h);
725
+ y && (y.cssCompiledStyles = this.getCompiledStyles(y.cssClasses.split(" ")), i.push(y));
727
726
  }
728
727
  let o = 0;
729
- for (const l of this.relationships) {
730
- const f = {
731
- id: zt(l.entityA, l.entityB, {
728
+ for (const h of this.relationships) {
729
+ const y = {
730
+ id: zt(h.entityA, h.entityB, {
732
731
  prefix: "id",
733
732
  counter: o++
734
733
  }),
735
734
  type: "normal",
736
735
  curve: "basis",
737
- start: l.entityA,
738
- end: l.entityB,
739
- label: l.roleA,
736
+ start: h.entityA,
737
+ end: h.entityB,
738
+ label: h.roleA,
740
739
  labelpos: "c",
741
740
  thickness: "normal",
742
741
  classes: "relationshipLine",
743
- arrowTypeStart: l.relSpec.cardB.toLowerCase(),
744
- arrowTypeEnd: l.relSpec.cardA.toLowerCase(),
745
- pattern: l.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
742
+ arrowTypeStart: h.relSpec.cardB.toLowerCase(),
743
+ arrowTypeEnd: h.relSpec.cardA.toLowerCase(),
744
+ pattern: h.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
746
745
  look: d.look
747
746
  };
748
- h.push(f);
747
+ l.push(y);
749
748
  }
750
- return { nodes: i, edges: h, other: {}, config: d, direction: "TB" };
749
+ return { nodes: i, edges: l, other: {}, config: d, direction: "TB" };
751
750
  }
752
751
  }, u(w, "ErDB"), w), Nt = {};
753
752
  Kt(Nt, {
754
753
  draw: () => qt
755
754
  });
756
- var qt = /* @__PURE__ */ u(async function(s, i, h, d) {
755
+ var qt = /* @__PURE__ */ u(async function(s, i, l, d) {
757
756
  D.info("REF0:"), D.info("Drawing er diagram (unified)", i);
758
- const { securityLevel: o, er: l, layout: f } = tt(), _ = d.db.getData(), E = Dt(i, o);
759
- _.type = d.type, _.layoutAlgorithm = Zt(f), _.config.flowchart.nodeSpacing = (l == null ? void 0 : l.nodeSpacing) || 140, _.config.flowchart.rankSpacing = (l == null ? void 0 : l.rankSpacing) || 80, _.direction = d.db.getDirection(), _.markers = ["only_one", "zero_or_one", "one_or_more", "zero_or_more"], _.diagramId = i, await Ut(_, E), _.layoutAlgorithm === "elk" && E.select(".edges").lower();
757
+ const { securityLevel: o, er: h, layout: y } = tt(), _ = d.db.getData(), E = Dt(i, o);
758
+ _.type = d.type, _.layoutAlgorithm = Zt(y), _.config.flowchart.nodeSpacing = h?.nodeSpacing || 140, _.config.flowchart.rankSpacing = h?.rankSpacing || 80, _.direction = d.db.getDirection(), _.markers = ["only_one", "zero_or_one", "one_or_more", "zero_or_more"], _.diagramId = i, await Ut(_, E), _.layoutAlgorithm === "elk" && E.select(".edges").lower();
760
759
  const V = E.selectAll('[id*="-background"]');
761
760
  Array.from(V).length > 0 && V.each(function() {
762
761
  const S = jt(this), U = S.attr("id").replace("-background", ""), T = E.select(`#${CSS.escape(U)}`);
@@ -769,12 +768,12 @@ var qt = /* @__PURE__ */ u(async function(s, i, h, d) {
769
768
  Wt.insertTitle(
770
769
  E,
771
770
  "erDiagramTitleText",
772
- (l == null ? void 0 : l.titleTopMargin) ?? 25,
771
+ h?.titleTopMargin ?? 25,
773
772
  d.db.getDiagramTitle()
774
- ), wt(E, Z, "erDiagram", (l == null ? void 0 : l.useMaxWidth) ?? !0);
773
+ ), wt(E, Z, "erDiagram", h?.useMaxWidth ?? !0);
775
774
  }, "draw"), Jt = /* @__PURE__ */ u((s, i) => {
776
- const h = Qt, d = h(s, "r"), o = h(s, "g"), l = h(s, "b");
777
- return Gt(d, o, l, i);
775
+ const l = Qt, d = l(s, "r"), o = l(s, "g"), h = l(s, "b");
776
+ return Gt(d, o, h, i);
778
777
  }, "fade"), $t = /* @__PURE__ */ u((s) => `
779
778
  .entityBox {
780
779
  fill: ${s.mainBkg};