@plumile/ui 0.1.116 → 0.1.120

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 (248) hide show
  1. package/README.md +2 -0
  2. package/lib/esm/admin/organisms/admin_sidebar/AdminSidebar.js +2 -1
  3. package/lib/esm/admin/organisms/admin_sidebar/AdminSidebar.js.map +1 -1
  4. package/lib/esm/atomic/molecules/markdown/components/MarkdownFootnoteReference.css.js +1 -0
  5. package/lib/esm/atomic/molecules/markdown/components/MarkdownTableCell.css.js +0 -1
  6. package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js +90 -94
  7. package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js.map +1 -1
  8. package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js +2 -2
  9. package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js.map +1 -1
  10. package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js +159 -62
  11. package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js.map +1 -1
  12. package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js +2 -2
  13. package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js.map +1 -1
  14. package/lib/esm/i18n/locales/en/ui.js +12 -6
  15. package/lib/esm/i18n/locales/en/ui.js.map +1 -1
  16. package/lib/esm/i18n/locales/fr/ui.js +12 -6
  17. package/lib/esm/i18n/locales/fr/ui.js.map +1 -1
  18. package/lib/esm/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +46 -0
  19. package/lib/esm/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js.map +1 -0
  20. package/lib/esm/node_modules/@dnd-kit/core/dist/core.esm.js +1966 -0
  21. package/lib/esm/node_modules/@dnd-kit/core/dist/core.esm.js.map +1 -0
  22. package/lib/esm/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +348 -0
  23. package/lib/esm/node_modules/@dnd-kit/sortable/dist/sortable.esm.js.map +1 -0
  24. package/lib/esm/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +157 -0
  25. package/lib/esm/node_modules/@dnd-kit/utilities/dist/utilities.esm.js.map +1 -0
  26. package/lib/esm/node_modules/dagre-d3-es/src/dagre/layout.js +49 -49
  27. package/lib/esm/node_modules/dagre-d3-es/src/dagre/position/bk.js +69 -69
  28. package/lib/esm/node_modules/es-toolkit/dist/_internal/globalThis.js +8 -0
  29. package/lib/esm/node_modules/es-toolkit/dist/_internal/globalThis.js.map +1 -0
  30. package/lib/esm/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +8 -0
  31. package/lib/esm/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js.map +1 -0
  32. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +8 -0
  33. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js.map +1 -0
  34. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/getTag.js +8 -0
  35. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/getTag.js.map +1 -0
  36. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js +9 -0
  37. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js.map +1 -0
  38. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/tags.js +6 -0
  39. package/lib/esm/node_modules/es-toolkit/dist/compat/_internal/tags.js.map +1 -0
  40. package/lib/esm/node_modules/es-toolkit/dist/compat/function/memoize.js +16 -0
  41. package/lib/esm/node_modules/es-toolkit/dist/compat/function/memoize.js.map +1 -0
  42. package/lib/esm/node_modules/es-toolkit/dist/compat/object/clone.js +101 -0
  43. package/lib/esm/node_modules/es-toolkit/dist/compat/object/clone.js.map +1 -0
  44. package/lib/esm/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +9 -0
  45. package/lib/esm/node_modules/es-toolkit/dist/compat/object/cloneDeep.js.map +1 -0
  46. package/lib/esm/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +33 -0
  47. package/lib/esm/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js.map +1 -0
  48. package/lib/esm/node_modules/es-toolkit/dist/compat/object/merge.js +10 -0
  49. package/lib/esm/node_modules/es-toolkit/dist/compat/object/merge.js.map +1 -0
  50. package/lib/esm/node_modules/es-toolkit/dist/compat/object/mergeWith.js +53 -0
  51. package/lib/esm/node_modules/es-toolkit/dist/compat/object/mergeWith.js.map +1 -0
  52. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +9 -0
  53. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArguments.js.map +1 -0
  54. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArray.js +8 -0
  55. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArray.js.map +1 -0
  56. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +9 -0
  57. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js.map +1 -0
  58. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +10 -0
  59. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js.map +1 -0
  60. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js +20 -0
  61. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js.map +1 -0
  62. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +8 -0
  63. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js.map +1 -0
  64. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js +16 -0
  65. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js.map +1 -0
  66. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js +9 -0
  67. package/lib/esm/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js.map +1 -0
  68. package/lib/esm/node_modules/es-toolkit/dist/function/noop.js +6 -0
  69. package/lib/esm/node_modules/es-toolkit/dist/function/noop.js.map +1 -0
  70. package/lib/esm/node_modules/es-toolkit/dist/object/clone.js +28 -0
  71. package/lib/esm/node_modules/es-toolkit/dist/object/clone.js.map +1 -0
  72. package/lib/esm/node_modules/es-toolkit/dist/object/cloneDeepWith.js +118 -0
  73. package/lib/esm/node_modules/es-toolkit/dist/object/cloneDeepWith.js.map +1 -0
  74. package/lib/esm/node_modules/es-toolkit/dist/predicate/isBuffer.js +9 -0
  75. package/lib/esm/node_modules/es-toolkit/dist/predicate/isBuffer.js.map +1 -0
  76. package/lib/esm/node_modules/es-toolkit/dist/predicate/isLength.js +8 -0
  77. package/lib/esm/node_modules/es-toolkit/dist/predicate/isLength.js.map +1 -0
  78. package/lib/esm/node_modules/es-toolkit/dist/predicate/isPrimitive.js +8 -0
  79. package/lib/esm/node_modules/es-toolkit/dist/predicate/isPrimitive.js.map +1 -0
  80. package/lib/esm/node_modules/es-toolkit/dist/predicate/isTypedArray.js +8 -0
  81. package/lib/esm/node_modules/es-toolkit/dist/predicate/isTypedArray.js.map +1 -0
  82. package/lib/esm/node_modules/lodash-es/_arrayLikeKeys.js +8 -8
  83. package/lib/esm/node_modules/lodash-es/_assignMergeValue.js +3 -3
  84. package/lib/esm/node_modules/lodash-es/_assignValue.js +3 -3
  85. package/lib/esm/node_modules/lodash-es/_baseClone.js +31 -31
  86. package/lib/esm/node_modules/lodash-es/_baseForOwn.js +3 -3
  87. package/lib/esm/node_modules/lodash-es/_baseIsEqualDeep.js +10 -10
  88. package/lib/esm/node_modules/lodash-es/_baseMerge.js +9 -9
  89. package/lib/esm/node_modules/lodash-es/_baseMergeDeep.js +17 -17
  90. package/lib/esm/node_modules/lodash-es/_baseOrderBy.js +11 -11
  91. package/lib/esm/node_modules/lodash-es/_baseRest.js +3 -3
  92. package/lib/esm/node_modules/lodash-es/_baseSet.js +4 -4
  93. package/lib/esm/node_modules/lodash-es/_baseSetToString.js +7 -7
  94. package/lib/esm/node_modules/lodash-es/_baseToString.js +5 -5
  95. package/lib/esm/node_modules/lodash-es/_createRange.js +3 -3
  96. package/lib/esm/node_modules/lodash-es/_createSet.js +5 -5
  97. package/lib/esm/node_modules/lodash-es/_flatRest.js +3 -3
  98. package/lib/esm/node_modules/lodash-es/_getSymbolsIn.js +7 -7
  99. package/lib/esm/node_modules/lodash-es/_getTag.js +7 -7
  100. package/lib/esm/node_modules/lodash-es/_hasPath.js +4 -4
  101. package/lib/esm/node_modules/lodash-es/_initCloneByTag.js +8 -8
  102. package/lib/esm/node_modules/lodash-es/_initCloneObject.js +3 -3
  103. package/lib/esm/node_modules/lodash-es/_isFlattenable.js +3 -3
  104. package/lib/esm/node_modules/lodash-es/_isIterateeCall.js +4 -4
  105. package/lib/esm/node_modules/lodash-es/_isKey.js +4 -4
  106. package/lib/esm/node_modules/lodash-es/_setToString.js +3 -3
  107. package/lib/esm/node_modules/lodash-es/defaults.js +9 -9
  108. package/lib/esm/node_modules/lodash-es/forIn.js +3 -3
  109. package/lib/esm/node_modules/lodash-es/isEmpty.js +6 -6
  110. package/lib/esm/node_modules/lodash-es/isPlainObject.js +4 -4
  111. package/lib/esm/node_modules/lodash-es/map.js +3 -3
  112. package/lib/esm/node_modules/lodash-es/merge.js +4 -4
  113. package/lib/esm/node_modules/lodash-es/toNumber.js +7 -7
  114. package/lib/esm/node_modules/lodash-es/union.js +5 -5
  115. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{architectureDiagram-Q4EWVU46.js → architectureDiagram-3BPJPVTR.js} +14 -12
  116. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{architectureDiagram-Q4EWVU46.js.map → architectureDiagram-3BPJPVTR.js.map} +1 -1
  117. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{blockDiagram-DXYQGD6D.js → blockDiagram-GPEHLZMM.js} +453 -428
  118. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-GPEHLZMM.js.map +1 -0
  119. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{c4Diagram-AHTNJAMY.js → c4Diagram-AAUBKEIU.js} +5 -5
  120. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{c4Diagram-AHTNJAMY.js.map → c4Diagram-AAUBKEIU.js.map} +1 -1
  121. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-EDXVE4YY.js → chunk-2J33WTMH.js} +3 -3
  122. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-EDXVE4YY.js.map → chunk-2J33WTMH.js.map} +1 -1
  123. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-5FUZZQ4R.js → chunk-3OPIFGDE.js} +290 -262
  124. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-3OPIFGDE.js.map +1 -0
  125. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-5PVQY5BW.js → chunk-5ZQYHXKU.js} +6 -6
  126. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5ZQYHXKU.js.map +1 -0
  127. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-4TB4RGXK.js → chunk-727SXJPM.js} +487 -391
  128. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-727SXJPM.js.map +1 -0
  129. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-OYMX7WX6.js → chunk-AQP2D5EJ.js} +157 -147
  130. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AQP2D5EJ.js.map +1 -0
  131. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ICPOFSXX.js → chunk-CSCIHK7Q.js} +193 -99
  132. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CSCIHK7Q.js.map +1 -0
  133. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ENJZ2VHE.js → chunk-KSCS5N6A.js} +14 -14
  134. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-KSCS5N6A.js.map +1 -0
  135. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ZZ45TVLE.js → chunk-L5ZTLDWV.js} +4 -4
  136. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-ZZ45TVLE.js.map → chunk-L5ZTLDWV.js.map} +1 -1
  137. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-336JU56O.js → chunk-LZXEDZCA.js} +7 -7
  138. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-336JU56O.js.map → chunk-LZXEDZCA.js.map} +1 -1
  139. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-YZCP3GAM.js → chunk-ND2GUHAM.js} +3 -3
  140. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-YZCP3GAM.js.map → chunk-ND2GUHAM.js.map} +1 -1
  141. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-X2U36JSP.js → chunk-NZK2D7GU.js} +3 -3
  142. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-X2U36JSP.js.map → chunk-NZK2D7GU.js.map} +1 -1
  143. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-U2HBQHQK.js → chunk-O5CBEL6O.js} +4 -4
  144. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-U2HBQHQK.js.map → chunk-O5CBEL6O.js.map} +1 -1
  145. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-426QAEUC.js → chunk-WU5MYG2G.js} +3 -3
  146. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{chunk-426QAEUC.js.map → chunk-WU5MYG2G.js.map} +1 -1
  147. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{classDiagram-6PBFFD2Q.js → classDiagram-4FO5ZUOK.js} +13 -13
  148. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{classDiagram-6PBFFD2Q.js.map → classDiagram-4FO5ZUOK.js.map} +1 -1
  149. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{classDiagram-v2-HSJHXN6E.js → classDiagram-v2-Q7XG4LA2.js} +13 -13
  150. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{classDiagram-v2-HSJHXN6E.js.map → classDiagram-v2-Q7XG4LA2.js.map} +1 -1
  151. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{dagre-KV5264BT.js → dagre-BM42HDAG.js} +10 -10
  152. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{dagre-KV5264BT.js.map → dagre-BM42HDAG.js.map} +1 -1
  153. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-MMDJMWI5.js → diagram-2AECGRRQ.js} +5 -5
  154. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-MMDJMWI5.js.map → diagram-2AECGRRQ.js.map} +1 -1
  155. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-5BDNPKRD.js → diagram-5GNKFQAL.js} +5 -5
  156. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-5BDNPKRD.js.map → diagram-5GNKFQAL.js.map} +1 -1
  157. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/diagram-KO2AKTUF.js +435 -0
  158. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/diagram-KO2AKTUF.js.map +1 -0
  159. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-TYMM5635.js → diagram-LMA3HP47.js} +5 -5
  160. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-TYMM5635.js.map → diagram-LMA3HP47.js.map} +1 -1
  161. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-G4DWMVQ6.js → diagram-OG6HWLK6.js} +7 -7
  162. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{diagram-G4DWMVQ6.js.map → diagram-OG6HWLK6.js.map} +1 -1
  163. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{erDiagram-SMLLAGMA.js → erDiagram-TEJ5UH35.js} +11 -11
  164. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{erDiagram-SMLLAGMA.js.map → erDiagram-TEJ5UH35.js.map} +1 -1
  165. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{flowDiagram-DWJPFMVM.js → flowDiagram-I6XJVG4X.js} +12 -12
  166. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{flowDiagram-DWJPFMVM.js.map → flowDiagram-I6XJVG4X.js.map} +1 -1
  167. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{ganttDiagram-T4ZO3ILL.js → ganttDiagram-6RSMTGT7.js} +9 -6
  168. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-6RSMTGT7.js.map +1 -0
  169. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{gitGraphDiagram-UUTBAWPF.js → gitGraphDiagram-PVQCEYII.js} +4 -4
  170. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{gitGraphDiagram-UUTBAWPF.js.map → gitGraphDiagram-PVQCEYII.js.map} +1 -1
  171. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{infoDiagram-42DDH7IO.js → infoDiagram-5YYISTIA.js} +5 -5
  172. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{infoDiagram-42DDH7IO.js.map → infoDiagram-5YYISTIA.js.map} +1 -1
  173. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{ishikawaDiagram-UXIWVN3A.js → ishikawaDiagram-YF4QCWOH.js} +5 -5
  174. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{ishikawaDiagram-UXIWVN3A.js.map → ishikawaDiagram-YF4QCWOH.js.map} +1 -1
  175. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{journeyDiagram-VCZTEJTY.js → journeyDiagram-JHISSGLW.js} +4 -4
  176. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{journeyDiagram-VCZTEJTY.js.map → journeyDiagram-JHISSGLW.js.map} +1 -1
  177. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{kanban-definition-6JOO6SKY.js → kanban-definition-UN3LZRKU.js} +9 -9
  178. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{kanban-definition-6JOO6SKY.js.map → kanban-definition-UN3LZRKU.js.map} +1 -1
  179. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{mindmap-definition-QFDTVHPH.js → mindmap-definition-RKZ34NQL.js} +12 -12
  180. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{mindmap-definition-QFDTVHPH.js.map → mindmap-definition-RKZ34NQL.js.map} +1 -1
  181. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{pieDiagram-DEJITSTG.js → pieDiagram-4H26LBE5.js} +5 -5
  182. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{pieDiagram-DEJITSTG.js.map → pieDiagram-4H26LBE5.js.map} +1 -1
  183. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{quadrantDiagram-34T5L4WZ.js → quadrantDiagram-W4KKPZXB.js} +316 -289
  184. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-W4KKPZXB.js.map +1 -0
  185. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{requirementDiagram-MS252O5E.js → requirementDiagram-4Y6WPE33.js} +11 -11
  186. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{requirementDiagram-MS252O5E.js.map → requirementDiagram-4Y6WPE33.js.map} +1 -1
  187. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{sankeyDiagram-XADWPNL6.js → sankeyDiagram-5OEKKPKP.js} +80 -31
  188. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{sankeyDiagram-XADWPNL6.js.map → sankeyDiagram-5OEKKPKP.js.map} +1 -1
  189. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{sequenceDiagram-FGHM5R23.js → sequenceDiagram-3UESZ5HK.js} +17 -10
  190. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-3UESZ5HK.js.map +1 -0
  191. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{stateDiagram-FHFEXIEX.js → stateDiagram-AJRCARHV.js} +12 -12
  192. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{stateDiagram-FHFEXIEX.js.map → stateDiagram-AJRCARHV.js.map} +1 -1
  193. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{stateDiagram-v2-QKLJ7IA2.js → stateDiagram-v2-BHNVJYJU.js} +12 -12
  194. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{stateDiagram-v2-QKLJ7IA2.js.map → stateDiagram-v2-BHNVJYJU.js.map} +1 -1
  195. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{timeline-definition-GMOUNBTQ.js → timeline-definition-PNZ67QCA.js} +5 -5
  196. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{timeline-definition-GMOUNBTQ.js.map → timeline-definition-PNZ67QCA.js.map} +1 -1
  197. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{vennDiagram-DHZGUBPP.js → vennDiagram-CIIHVFJN.js} +5 -5
  198. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{vennDiagram-DHZGUBPP.js.map → vennDiagram-CIIHVFJN.js.map} +1 -1
  199. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{wardleyDiagram-NUSXRM2D.js → wardleyDiagram-YWT4CUSO.js} +188 -122
  200. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-YWT4CUSO.js.map +1 -0
  201. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{xychartDiagram-5P7HB3ND.js → xychartDiagram-2RQKCTM6.js} +6 -6
  202. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/{xychartDiagram-5P7HB3ND.js.map → xychartDiagram-2RQKCTM6.js.map} +1 -1
  203. package/lib/esm/node_modules/mermaid/dist/mermaid.core.js +308 -281
  204. package/lib/esm/node_modules/mermaid/dist/mermaid.core.js.map +1 -1
  205. package/lib/esm/node_modules/stylis/src/Enum.js +2 -2
  206. package/lib/esm/node_modules/stylis/src/Enum.js.map +1 -1
  207. package/lib/esm/node_modules/stylis/src/Middleware.js +13 -0
  208. package/lib/esm/node_modules/stylis/src/Middleware.js.map +1 -0
  209. package/lib/esm/node_modules/uuid/dist/rng.js +9 -0
  210. package/lib/esm/node_modules/uuid/dist/rng.js.map +1 -0
  211. package/lib/esm/node_modules/uuid/dist/{esm-browser/stringify.js → stringify.js} +1 -1
  212. package/lib/esm/node_modules/uuid/dist/stringify.js.map +1 -0
  213. package/lib/esm/node_modules/uuid/dist/v4.js +21 -0
  214. package/lib/esm/node_modules/uuid/dist/v4.js.map +1 -0
  215. package/lib/esm/style.css +1 -1
  216. package/lib/types/admin/organisms/admin_sidebar/AdminSidebar.d.ts +2 -1
  217. package/lib/types/admin/organisms/admin_sidebar/AdminSidebar.d.ts.map +1 -1
  218. package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts +4 -7
  219. package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts.map +1 -1
  220. package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts +1 -0
  221. package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts.map +1 -1
  222. package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts +6 -1
  223. package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts.map +1 -1
  224. package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts +6 -0
  225. package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts.map +1 -1
  226. package/lib/types/i18n/resources.d.ts +8 -0
  227. package/lib/types/i18n/resources.d.ts.map +1 -1
  228. package/package.json +9 -6
  229. package/src/i18n/locales/en/ui.json +4 -0
  230. package/src/i18n/locales/fr/ui.json +4 -0
  231. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js.map +0 -1
  232. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4TB4RGXK.js.map +0 -1
  233. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js.map +0 -1
  234. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js.map +0 -1
  235. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js.map +0 -1
  236. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js.map +0 -1
  237. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js.map +0 -1
  238. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js.map +0 -1
  239. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-34T5L4WZ.js.map +0 -1
  240. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js.map +0 -1
  241. package/lib/esm/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js.map +0 -1
  242. package/lib/esm/node_modules/uuid/dist/esm-browser/native.js +0 -5
  243. package/lib/esm/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
  244. package/lib/esm/node_modules/uuid/dist/esm-browser/rng.js +0 -13
  245. package/lib/esm/node_modules/uuid/dist/esm-browser/rng.js.map +0 -1
  246. package/lib/esm/node_modules/uuid/dist/esm-browser/stringify.js.map +0 -1
  247. package/lib/esm/node_modules/uuid/dist/esm-browser/v4.js +0 -20
  248. package/lib/esm/node_modules/uuid/dist/esm-browser/v4.js.map +0 -1
@@ -1,13 +1,13 @@
1
1
  import { __name as e, log as t } from "./chunk-AGHRB4JF.js";
2
- import { evaluate as n, getConfig as r, getConfig2 as i, getEffectiveHtmlLabels as a, hasKatex as o, parseGenericTypes as s, sanitizeText as c, sanitizeText3 as l } from "./chunk-ICPOFSXX.js";
2
+ import { evaluate as n, getConfig as r, getConfig2 as i, getEffectiveHtmlLabels as a, hasKatex as o, parseGenericTypes as s, sanitizeText as c, sanitizeText3 as l } from "./chunk-CSCIHK7Q.js";
3
3
  import u from "../../../../d3-selection/src/select.js";
4
4
  import "../../../../d3/src/index.js";
5
- import { calculateTextWidth as d, decodeEntities as f, handleUndefinedAttr as p } from "./chunk-5PVQY5BW.js";
6
- import { createText as m, getIconSVG as h } from "./chunk-U2HBQHQK.js";
7
- import { configureLabelImages as g, getSubGraphTitleMargins as _ } from "./chunk-ZZ45TVLE.js";
8
- import { compileStyles as v, solidStateFill as y, styles2String as b, userNodeOverrides as x } from "./chunk-X2U36JSP.js";
5
+ import { calculateTextWidth as d, decodeEntities as f, handleUndefinedAttr as p } from "./chunk-5ZQYHXKU.js";
6
+ import { createText as m, getIconSVG as h } from "./chunk-O5CBEL6O.js";
7
+ import { configureLabelImages as g, getSubGraphTitleMargins as _ } from "./chunk-L5ZTLDWV.js";
8
+ import { compileStyles as v, solidStateFill as y, styles2String as b, userNodeOverrides as x } from "./chunk-NZK2D7GU.js";
9
9
  import { at as S } from "../../../../roughjs/bundled/rough.esm.js";
10
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.mjs
10
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-3OPIFGDE.mjs
11
11
  var C = /* @__PURE__ */ e(async (e, t, r) => {
12
12
  let a, o = t.useHtmlLabels || n(i()?.htmlLabels);
13
13
  a = r || "node default";
@@ -892,7 +892,42 @@ async function Se(e, t) {
892
892
  }, s;
893
893
  }
894
894
  e(Se, "cylinder");
895
- async function Ce(e, t) {
895
+ async function Ce(e, t, n) {
896
+ let { labelStyles: r, nodeStyles: i } = b(t);
897
+ t.labelStyle = r;
898
+ let { shapeSvg: a, bbox: o } = await C(e, t, E(t)), s = Math.max(o.width + n.labelPaddingX * 2, t?.width || 0), c = Math.max(o.height + n.labelPaddingY * 2, t?.height || 0), l = -s / 2, u = -c / 2, d, { rx: f, ry: m } = t, { cssStyles: h } = t;
899
+ if (n?.rx && n.ry && (f = n.rx, m = n.ry), t.look === "handDrawn") {
900
+ let e = S.svg(a), n = x(t, {}), r = f || m ? e.path(N(l, u, s, c, f || 0), n) : e.rectangle(l, u, s, c, n);
901
+ d = a.insert(() => r, ":first-child"), d.attr("class", "basic label-container").attr("style", p(h));
902
+ } else d = a.insert("rect", ":first-child"), d.attr("class", "basic label-container").attr("style", i).attr("rx", p(f)).attr("ry", p(m)).attr("x", l).attr("y", u).attr("width", s).attr("height", c);
903
+ return T(t, d), t.calcIntersect = function(e, t) {
904
+ return W.rect(e, t);
905
+ }, t.intersect = function(e) {
906
+ return W.rect(t, e);
907
+ }, a;
908
+ }
909
+ e(Ce, "drawRect");
910
+ async function we(e, t) {
911
+ let { cssClasses: n, labelPaddingX: r, labelPaddingY: i, padding: a, width: o, height: s } = t, c = await Ce(e, t, {
912
+ rx: 0,
913
+ ry: 0,
914
+ classes: n ?? "",
915
+ labelPaddingX: r ?? (a ?? 0) * 2,
916
+ labelPaddingY: i ?? a ?? 0
917
+ });
918
+ if (t.look === "handDrawn") {
919
+ let e = S.svg(c), n = x(t, {}), r = c.select(".basic.label-container > path:nth-child(2)"), i = r.node();
920
+ if (!i) return c;
921
+ let a = null;
922
+ if (i instanceof SVGGraphicsElement) a = i.getBBox();
923
+ else return c;
924
+ return c.insert(() => e.line(a.x, a.y, a.x + a.width, a.y, n), ".basic.label-container g.label"), c.insert(() => e.line(a.x, a.y + a.height, a.x + a.width, a.y + a.height, n), ".basic.label-container g.label"), r.remove(), c;
925
+ }
926
+ let l = c.select(".basic.label-container"), u = (Number(l.attr("width")) || o) ?? 0, d = (Number(l.attr("height")) || s) ?? 0;
927
+ return u > 0 && d > 0 && l.attr("stroke-dasharray", `${u} ${d}`), c;
928
+ }
929
+ e(we, "datastore");
930
+ async function Te(e, t) {
896
931
  let { labelStyles: n, nodeStyles: r } = b(t);
897
932
  t.labelStyle = n;
898
933
  let i = t.look === "neo" ? 16 : t.padding ?? 0, a = t.look === "neo" ? 16 : t.padding ?? 0, { shapeSvg: o, bbox: s, label: c } = await C(e, t, E(t)), l = s.width + i, u = s.height + a, d = u * .2, f = -l / 2, p = -u / 2 - d / 2, { cssStyles: m } = t, h = S.svg(o), g = x(t, {});
@@ -931,8 +966,8 @@ async function Ce(e, t) {
931
966
  return W.rect(t, e);
932
967
  }, o;
933
968
  }
934
- e(Ce, "dividedRectangle");
935
- async function we(e, n) {
969
+ e(Te, "dividedRectangle");
970
+ async function Ee(e, n) {
936
971
  let { labelStyles: r, nodeStyles: i } = b(n), a = n.look === "neo" ? 12 : 5;
937
972
  n.labelStyle = r;
938
973
  let o = n.padding ?? 0, s = n.look === "neo" ? 16 : o, { shapeSvg: c, bbox: l } = await C(e, n, E(n)), u = (n?.width ? n?.width / 2 : l.width / 2) + (s ?? 0), d = u - a, f, { cssStyles: m } = n;
@@ -954,8 +989,8 @@ async function we(e, n) {
954
989
  return t.info("DoubleCircle intersect", n, u, e), W.circle(n, u, e);
955
990
  }, c;
956
991
  }
957
- e(we, "doublecircle");
958
- function Te(e, n, { config: { themeVariables: r } }) {
992
+ e(Ee, "doublecircle");
993
+ function De(e, n, { config: { themeVariables: r } }) {
959
994
  let { labelStyles: i, nodeStyles: a } = b(n);
960
995
  n.label = "", n.labelStyle = i;
961
996
  let o = e.insert("g").attr("class", E(n)).attr("id", n.domId ?? n.id), { cssStyles: s } = n, c = S.svg(o), { nodeBorder: l } = r, u = x(n, { fillStyle: "solid" });
@@ -968,13 +1003,13 @@ function Te(e, n, { config: { themeVariables: r } }) {
968
1003
  }), W.circle(n, 7, e);
969
1004
  }, o;
970
1005
  }
971
- e(Te, "filledCircle");
972
- var Ee = 10, De = 10;
973
- async function Oe(e, n) {
1006
+ e(De, "filledCircle");
1007
+ var Oe = 10, ke = 10;
1008
+ async function Ae(e, n) {
974
1009
  let { labelStyles: r, nodeStyles: i } = b(n);
975
1010
  n.labelStyle = r;
976
1011
  let a = n.padding ?? 0, o = n.look === "neo" ? a * 2 : a;
977
- (n.width || n.height) && (n.height = n?.height ?? 0, n.height < Ee && (n.height = Ee), n.width = (n?.width ?? 0) - o - o / 2, n.width < De && (n.width = De));
1012
+ (n.width || n.height) && (n.height = n?.height ?? 0, n.height < Oe && (n.height = Oe), n.width = (n?.width ?? 0) - o - o / 2, n.width < ke && (n.width = ke));
978
1013
  let { shapeSvg: s, bbox: c, label: l } = await C(e, n, E(n)), u = (n?.width ? n?.width : c.width) + (o ?? 0), d = n?.height ? n?.height : u + c.height, f = d, p = [
979
1014
  {
980
1015
  x: 0,
@@ -995,8 +1030,8 @@ async function Oe(e, n) {
995
1030
  return t.info("Triangle intersect", n, p, e), W.polygon(n, p, e);
996
1031
  }, s;
997
1032
  }
998
- e(Oe, "flippedTriangle");
999
- function ke(e, t, { dir: n, config: { state: r, themeVariables: i } }) {
1033
+ e(Ae, "flippedTriangle");
1034
+ function je(e, t, { dir: n, config: { state: r, themeVariables: i } }) {
1000
1035
  let { nodeStyles: a } = b(t);
1001
1036
  t.label = "";
1002
1037
  let o = e.insert("g").attr("class", E(t)).attr("id", t.domId ?? t.id), { cssStyles: s } = t, c = Math.max(70, t?.width ?? 0), l = Math.max(10, t?.height ?? 0);
@@ -1013,8 +1048,8 @@ function ke(e, t, { dir: n, config: { state: r, themeVariables: i } }) {
1013
1048
  return W.rect(t, e);
1014
1049
  }, o;
1015
1050
  }
1016
- e(ke, "forkJoin");
1017
- async function Ae(e, n) {
1051
+ e(je, "forkJoin");
1052
+ async function Me(e, n) {
1018
1053
  let { labelStyles: r, nodeStyles: i } = b(n);
1019
1054
  n.labelStyle = r;
1020
1055
  let a = n.look === "neo" ? 16 : n.padding ?? 0, o = n.look === "neo" ? 12 : n.padding ?? 0;
@@ -1047,8 +1082,8 @@ async function Ae(e, n) {
1047
1082
  }), W.polygon(n, h, e);
1048
1083
  }, s;
1049
1084
  }
1050
- e(Ae, "halfRoundedRectangle");
1051
- var je = /* @__PURE__ */ e((e, t, n, r, i) => [
1085
+ e(Me, "halfRoundedRectangle");
1086
+ var Ne = /* @__PURE__ */ e((e, t, n, r, i) => [
1052
1087
  `M${e + i},${t}`,
1053
1088
  `L${e + n - i},${t}`,
1054
1089
  `L${e + n},${t - r / 2}`,
@@ -1057,7 +1092,7 @@ var je = /* @__PURE__ */ e((e, t, n, r, i) => [
1057
1092
  `L${e},${t - r / 2}`,
1058
1093
  "Z"
1059
1094
  ].join(" "), "createHexagonPathD");
1060
- async function Me(e, t) {
1095
+ async function Pe(e, t) {
1061
1096
  let { labelStyles: n, nodeStyles: r } = b(t), i = t.look === "neo" ? 3.5 : 4;
1062
1097
  t.labelStyle = n;
1063
1098
  let a = t.padding ?? 0, o = t.look === "neo" ? 70 : a, s = t.look === "neo" ? 32 : a;
@@ -1092,15 +1127,15 @@ async function Me(e, t) {
1092
1127
  }
1093
1128
  ], m, { cssStyles: h } = t;
1094
1129
  if (t.look === "handDrawn") {
1095
- let e = S.svg(c), n = x(t, {}), r = je(0, 0, f, u, d), i = e.path(r, n);
1130
+ let e = S.svg(c), n = x(t, {}), r = Ne(0, 0, f, u, d), i = e.path(r, n);
1096
1131
  m = c.insert(() => i, ":first-child").attr("transform", `translate(${-f / 2}, ${u / 2})`), h && m.attr("style", h);
1097
1132
  } else m = q(c, f, u, p);
1098
1133
  return r && m.attr("style", r), t.width = f, t.height = u, T(t, m), t.intersect = function(e) {
1099
1134
  return W.polygon(t, p, e);
1100
1135
  }, c;
1101
1136
  }
1102
- e(Me, "hexagon");
1103
- async function Ne(e, n) {
1137
+ e(Pe, "hexagon");
1138
+ async function Fe(e, n) {
1104
1139
  let { labelStyles: r, nodeStyles: i } = b(n);
1105
1140
  n.label = "", n.labelStyle = r;
1106
1141
  let { shapeSvg: a } = await C(e, n, E(n)), o = Math.max(30, n?.width ?? 0), s = Math.max(30, n?.height ?? 0), { cssStyles: c } = n, l = S.svg(a), u = x(n, {});
@@ -1127,8 +1162,8 @@ async function Ne(e, n) {
1127
1162
  return t.info("Pill intersect", n, { points: d }), W.polygon(n, d, e);
1128
1163
  }, a;
1129
1164
  }
1130
- e(Ne, "hourglass");
1131
- async function Pe(e, n, { config: { themeVariables: r, flowchart: i } }) {
1165
+ e(Fe, "hourglass");
1166
+ async function Ie(e, n, { config: { themeVariables: r, flowchart: i } }) {
1132
1167
  let { labelStyles: a } = b(n);
1133
1168
  n.labelStyle = a;
1134
1169
  let o = n.assetHeight ?? 48, s = n.assetWidth ?? 48, c = Math.max(o, s), l = i?.wrappingWidth;
@@ -1225,8 +1260,8 @@ async function Pe(e, n, { config: { themeVariables: r, flowchart: i } }) {
1225
1260
  ], W.polygon(n, o, e);
1226
1261
  }, u;
1227
1262
  }
1228
- e(Pe, "icon");
1229
- async function Fe(e, n, { config: { themeVariables: r, flowchart: i } }) {
1263
+ e(Ie, "icon");
1264
+ async function Le(e, n, { config: { themeVariables: r, flowchart: i } }) {
1230
1265
  let { labelStyles: a } = b(n);
1231
1266
  n.labelStyle = a;
1232
1267
  let o = n.assetHeight ?? 48, s = n.assetWidth ?? 48, c = Math.max(o, s), l = i?.wrappingWidth;
@@ -1248,8 +1283,8 @@ async function Fe(e, n, { config: { themeVariables: r, flowchart: i } }) {
1248
1283
  return t.info("iconSquare intersect", n, e), W.rect(n, e);
1249
1284
  }, u;
1250
1285
  }
1251
- e(Fe, "iconCircle");
1252
- async function Ie(e, n, { config: { themeVariables: r, flowchart: i } }) {
1286
+ e(Le, "iconCircle");
1287
+ async function Re(e, n, { config: { themeVariables: r, flowchart: i } }) {
1253
1288
  let { labelStyles: a } = b(n);
1254
1289
  n.labelStyle = a;
1255
1290
  let o = n.assetHeight ?? 48, s = n.assetWidth ?? 48, c = Math.max(o, s), l = i?.wrappingWidth;
@@ -1343,8 +1378,8 @@ async function Ie(e, n, { config: { themeVariables: r, flowchart: i } }) {
1343
1378
  ], W.polygon(n, o, e);
1344
1379
  }, u;
1345
1380
  }
1346
- e(Ie, "iconRounded");
1347
- async function Le(e, n, { config: { themeVariables: r, flowchart: i } }) {
1381
+ e(Re, "iconRounded");
1382
+ async function ze(e, n, { config: { themeVariables: r, flowchart: i } }) {
1348
1383
  let { labelStyles: a } = b(n);
1349
1384
  n.labelStyle = a;
1350
1385
  let o = n.assetHeight ?? 48, s = n.assetWidth ?? 48, c = Math.max(o, s), l = i?.wrappingWidth;
@@ -1438,8 +1473,8 @@ async function Le(e, n, { config: { themeVariables: r, flowchart: i } }) {
1438
1473
  ], W.polygon(n, o, e);
1439
1474
  }, u;
1440
1475
  }
1441
- e(Le, "iconSquare");
1442
- async function Re(e, n, { config: { flowchart: r } }) {
1476
+ e(ze, "iconSquare");
1477
+ async function Be(e, n, { config: { flowchart: r } }) {
1443
1478
  let i = new Image();
1444
1479
  i.src = n?.img ?? "", await i.decode();
1445
1480
  let a = Number(i.naturalWidth.toString().replace("px", "")), o = Number(i.naturalHeight.toString().replace("px", ""));
@@ -1533,8 +1568,8 @@ async function Re(e, n, { config: { flowchart: r } }) {
1533
1568
  ], W.polygon(n, o, e);
1534
1569
  }, f;
1535
1570
  }
1536
- e(Re, "imageSquare");
1537
- async function ze(e, t) {
1571
+ e(Be, "imageSquare");
1572
+ async function Ve(e, t) {
1538
1573
  let { labelStyles: n, nodeStyles: r } = b(t);
1539
1574
  t.labelStyle = n;
1540
1575
  let i = t.padding ?? 0, a = i, o = t.look === "neo" ? i * 2 : i, { shapeSvg: s, bbox: c } = await C(e, t, E(t)), l = Math.max(c.width + (o ?? 0) * 2, t?.width ?? 0), u = Math.max(c.height + (a ?? 0) * 2, t?.height ?? 0), d = [
@@ -1563,30 +1598,15 @@ async function ze(e, t) {
1563
1598
  return W.polygon(t, d, e);
1564
1599
  }, s;
1565
1600
  }
1566
- e(ze, "inv_trapezoid");
1567
- async function Be(e, t, n) {
1568
- let { labelStyles: r, nodeStyles: i } = b(t);
1569
- t.labelStyle = r;
1570
- let { shapeSvg: a, bbox: o } = await C(e, t, E(t)), s = Math.max(o.width + n.labelPaddingX * 2, t?.width || 0), c = Math.max(o.height + n.labelPaddingY * 2, t?.height || 0), l = -s / 2, u = -c / 2, d, { rx: f, ry: m } = t, { cssStyles: h } = t;
1571
- if (n?.rx && n.ry && (f = n.rx, m = n.ry), t.look === "handDrawn") {
1572
- let e = S.svg(a), n = x(t, {}), r = f || m ? e.path(N(l, u, s, c, f || 0), n) : e.rectangle(l, u, s, c, n);
1573
- d = a.insert(() => r, ":first-child"), d.attr("class", "basic label-container").attr("style", p(h));
1574
- } else d = a.insert("rect", ":first-child"), d.attr("class", "basic label-container").attr("style", i).attr("rx", p(f)).attr("ry", p(m)).attr("x", l).attr("y", u).attr("width", s).attr("height", c);
1575
- return T(t, d), t.calcIntersect = function(e, t) {
1576
- return W.rect(e, t);
1577
- }, t.intersect = function(e) {
1578
- return W.rect(t, e);
1579
- }, a;
1580
- }
1581
- e(Be, "drawRect");
1582
- async function Ve(e, t) {
1601
+ e(Ve, "inv_trapezoid");
1602
+ async function He(e, t) {
1583
1603
  let { shapeSvg: n, bbox: r, label: i } = await C(e, t, "label"), a = n.insert("rect", ":first-child");
1584
1604
  return a.attr("width", .1).attr("height", .1), n.attr("class", "label edgeLabel"), i.attr("transform", `translate(${-(r.width / 2) - (r.x - (r.left ?? 0))}, ${-(r.height / 2) - (r.y - (r.top ?? 0))})`), T(t, a), t.intersect = function(e) {
1585
1605
  return W.rect(t, e);
1586
1606
  }, n;
1587
1607
  }
1588
- e(Ve, "labelRect");
1589
- async function He(e, t) {
1608
+ e(He, "labelRect");
1609
+ async function Ue(e, t) {
1590
1610
  let { labelStyles: n, nodeStyles: r } = b(t);
1591
1611
  t.labelStyle = n;
1592
1612
  let i = t.padding ?? 0, a = i, o = t.look === "neo" ? i * 2 : i, { shapeSvg: s, bbox: c } = await C(e, t, E(t)), l = (t?.height ?? c.height) + a, u = (t?.width ?? c.width) + o, d = [
@@ -1615,8 +1635,8 @@ async function He(e, t) {
1615
1635
  return W.polygon(t, d, e);
1616
1636
  }, s;
1617
1637
  }
1618
- e(He, "lean_left");
1619
- async function Ue(e, t) {
1638
+ e(Ue, "lean_left");
1639
+ async function We(e, t) {
1620
1640
  let { labelStyles: n, nodeStyles: r } = b(t);
1621
1641
  t.labelStyle = n;
1622
1642
  let i = t.padding ?? 0, a = i, o = t.look === "neo" ? i * 2 : i, { shapeSvg: s, bbox: c } = await C(e, t, E(t)), l = (t?.height ?? c.height) + a, u = (t?.width ?? c.width) + o, d = [
@@ -1645,8 +1665,8 @@ async function Ue(e, t) {
1645
1665
  return W.polygon(t, d, e);
1646
1666
  }, s;
1647
1667
  }
1648
- e(Ue, "lean_right");
1649
- function We(e, n) {
1668
+ e(We, "lean_right");
1669
+ function Ge(e, n) {
1650
1670
  let { labelStyles: r, nodeStyles: i } = b(n);
1651
1671
  n.label = "", n.labelStyle = r;
1652
1672
  let a = e.insert("g").attr("class", E(n)).attr("id", n.domId ?? n.id), { cssStyles: o } = n, s = Math.max(35, n?.width ?? 0), c = Math.max(35, n?.height ?? 0), l = [
@@ -1681,8 +1701,8 @@ function We(e, n) {
1681
1701
  return t.info("lightningBolt intersect", n, e), W.polygon(n, l, e);
1682
1702
  }, a;
1683
1703
  }
1684
- e(We, "lightningBolt");
1685
- var Ge = /* @__PURE__ */ e((e, t, n, r, i, a, o) => [
1704
+ e(Ge, "lightningBolt");
1705
+ var Ke = /* @__PURE__ */ e((e, t, n, r, i, a, o) => [
1686
1706
  `M${e},${t + a}`,
1687
1707
  `a${i},${a} 0,0,0 ${n},0`,
1688
1708
  `a${i},${a} 0,0,0 ${-n},0`,
@@ -1691,7 +1711,7 @@ var Ge = /* @__PURE__ */ e((e, t, n, r, i, a, o) => [
1691
1711
  `l0,${-r}`,
1692
1712
  `M${e},${t + a + o}`,
1693
1713
  `a${i},${a} 0,0,0 ${n},0`
1694
- ].join(" "), "createCylinderPathD"), Ke = /* @__PURE__ */ e((e, t, n, r, i, a, o) => [
1714
+ ].join(" "), "createCylinderPathD"), qe = /* @__PURE__ */ e((e, t, n, r, i, a, o) => [
1695
1715
  `M${e},${t + a}`,
1696
1716
  `M${e + n},${t + a}`,
1697
1717
  `a${i},${a} 0,0,0 ${-n},0`,
@@ -1700,23 +1720,23 @@ var Ge = /* @__PURE__ */ e((e, t, n, r, i, a, o) => [
1700
1720
  `l0,${-r}`,
1701
1721
  `M${e},${t + a + o}`,
1702
1722
  `a${i},${a} 0,0,0 ${n},0`
1703
- ].join(" "), "createOuterCylinderPathD"), qe = /* @__PURE__ */ e((e, t, n, r, i, a) => [`M${e - n / 2},${-r / 2}`, `a${i},${a} 0,0,0 ${n},0`].join(" "), "createInnerCylinderPathD"), Je = 10, Ye = 10;
1704
- async function Xe(e, t) {
1723
+ ].join(" "), "createOuterCylinderPathD"), Je = /* @__PURE__ */ e((e, t, n, r, i, a) => [`M${e - n / 2},${-r / 2}`, `a${i},${a} 0,0,0 ${n},0`].join(" "), "createInnerCylinderPathD"), Ye = 10, Xe = 10;
1724
+ async function Ze(e, t) {
1705
1725
  let { labelStyles: n, nodeStyles: r } = b(t);
1706
1726
  t.labelStyle = n;
1707
1727
  let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 24 : i;
1708
1728
  if (t.width || t.height) {
1709
1729
  let e = t.width ?? 0;
1710
- t.width = (t.width ?? 0) - a, t.width < Ye && (t.width = Ye);
1730
+ t.width = (t.width ?? 0) - a, t.width < Xe && (t.width = Xe);
1711
1731
  let n = e / 2 / (2.5 + e / 50);
1712
- t.height = (t.height ?? 0) - o - n * 3, t.height < Je && (t.height = Je);
1732
+ t.height = (t.height ?? 0) - o - n * 3, t.height < Ye && (t.height = Ye);
1713
1733
  }
1714
1734
  let { shapeSvg: s, bbox: c, label: l } = await C(e, t, E(t)), u = (t?.width ? t?.width : c.width) + a * 2, d = u / 2, f = d / (2.5 + u / 50), m = (t?.height ? t?.height : c.height) + f + o * 2, h = m * .1, g, { cssStyles: _ } = t;
1715
1735
  if (t.look === "handDrawn") {
1716
- let e = S.svg(s), n = Ke(0, 0, u, m, d, f, h), r = qe(0, f, u, m, d, f), i = x(t, {}), a = e.path(n, i), o = e.path(r, i);
1736
+ let e = S.svg(s), n = qe(0, 0, u, m, d, f, h), r = Je(0, f, u, m, d, f), i = x(t, {}), a = e.path(n, i), o = e.path(r, i);
1717
1737
  s.insert(() => o, ":first-child").attr("class", "line"), g = s.insert(() => a, ":first-child"), g.attr("class", "basic label-container"), _ && g.attr("style", _);
1718
1738
  } else {
1719
- let e = Ge(0, 0, u, m, d, f, h);
1739
+ let e = Ke(0, 0, u, m, d, f, h);
1720
1740
  g = s.insert("path", ":first-child").attr("d", e).attr("class", "basic label-container outer-path").attr("style", p(_)).attr("style", r);
1721
1741
  }
1722
1742
  return g.attr("label-offset-y", f), g.attr("transform", `translate(${-u / 2}, ${-(m / 2 + f)})`), T(t, g), l.attr("transform", `translate(${-(c.width / 2) - (c.x - (c.left ?? 0))}, ${-(c.height / 2) + f - (c.y - (c.top ?? 0))})`), t.intersect = function(e) {
@@ -1728,8 +1748,8 @@ async function Xe(e, t) {
1728
1748
  return n;
1729
1749
  }, s;
1730
1750
  }
1731
- e(Xe, "linedCylinder");
1732
- async function Ze(e, t) {
1751
+ e(Ze, "linedCylinder");
1752
+ async function Qe(e, t) {
1733
1753
  let { labelStyles: n, nodeStyles: r } = b(t);
1734
1754
  t.labelStyle = n;
1735
1755
  let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i;
@@ -1771,8 +1791,8 @@ async function Ze(e, t) {
1771
1791
  return W.polygon(t, _, e);
1772
1792
  }, s;
1773
1793
  }
1774
- e(Ze, "linedWaveEdgedRect");
1775
- async function Qe(e, t) {
1794
+ e(Qe, "linedWaveEdgedRect");
1795
+ async function $e(e, t) {
1776
1796
  let { labelStyles: n, nodeStyles: r } = b(t);
1777
1797
  t.labelStyle = n;
1778
1798
  let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i, s = t.look === "neo" ? 10 : 5;
@@ -1860,8 +1880,8 @@ async function Qe(e, t) {
1860
1880
  return W.polygon(t, w, e);
1861
1881
  }, c;
1862
1882
  }
1863
- e(Qe, "multiRect");
1864
- async function $e(e, t) {
1883
+ e($e, "multiRect");
1884
+ async function et(e, t) {
1865
1885
  let { labelStyles: n, nodeStyles: r } = b(t);
1866
1886
  t.labelStyle = n;
1867
1887
  let { shapeSvg: i, bbox: a, label: o } = await C(e, t, E(t)), s = t.padding ?? 0, c = t.look === "neo" ? 16 : s, l = t.look === "neo" ? 12 : s, u = !0;
@@ -1944,8 +1964,8 @@ async function $e(e, t) {
1944
1964
  return W.polygon(t, w, e);
1945
1965
  }, i;
1946
1966
  }
1947
- e($e, "multiWaveEdgedRectangle");
1948
- async function et(e, t, { config: { themeVariables: n } }) {
1967
+ e(et, "multiWaveEdgedRectangle");
1968
+ async function tt(e, t, { config: { themeVariables: n } }) {
1949
1969
  let { labelStyles: i, nodeStyles: o } = b(t);
1950
1970
  t.labelStyle = i, t.useHtmlLabels || a(r()) || (t.centerLabel = !0);
1951
1971
  let { shapeSvg: s, bbox: c, label: l } = await C(e, t, E(t)), u = Math.max(c.width + (t.padding ?? 0) * 2, t?.width ?? 0), d = Math.max(c.height + (t.padding ?? 0) * 2, t?.height ?? 0), f = -u / 2, p = -d / 2, { cssStyles: m } = t, h = S.svg(s), g = x(t, {
@@ -1958,15 +1978,15 @@ async function et(e, t, { config: { themeVariables: n } }) {
1958
1978
  return W.rect(t, e);
1959
1979
  }, s;
1960
1980
  }
1961
- e(et, "note");
1962
- var tt = /* @__PURE__ */ e((e, t, n) => [
1981
+ e(tt, "note");
1982
+ var nt = /* @__PURE__ */ e((e, t, n) => [
1963
1983
  `M${e + n / 2},${t}`,
1964
1984
  `L${e + n},${t - n / 2}`,
1965
1985
  `L${e + n / 2},${t - n}`,
1966
1986
  `L${e},${t - n / 2}`,
1967
1987
  "Z"
1968
1988
  ].join(" "), "createDecisionBoxPathD");
1969
- async function nt(e, t) {
1989
+ async function rt(e, t) {
1970
1990
  let { labelStyles: n, nodeStyles: r } = b(t);
1971
1991
  t.labelStyle = n;
1972
1992
  let { shapeSvg: i, bbox: a } = await C(e, t, E(t)), o = a.width + (t.padding ?? 0) + (a.height + (t.padding ?? 0)), s = .5, c = [
@@ -1988,7 +2008,7 @@ async function nt(e, t) {
1988
2008
  }
1989
2009
  ], l, { cssStyles: u } = t;
1990
2010
  if (t.look === "handDrawn") {
1991
- let e = S.svg(i), n = x(t, {}), r = tt(0, 0, o), a = e.path(r, n);
2011
+ let e = S.svg(i), n = x(t, {}), r = nt(0, 0, o), a = e.path(r, n);
1992
2012
  l = i.insert(() => a, ":first-child").attr("transform", `translate(${-o / 2 + s}, ${o / 2})`), u && l.attr("style", u);
1993
2013
  } else l = q(i, o, o, c), l.attr("transform", `translate(${-o / 2 + s}, ${o / 2})`);
1994
2014
  return r && l.attr("style", r), T(t, l), t.calcIntersect = function(e, t) {
@@ -2018,8 +2038,8 @@ async function nt(e, t) {
2018
2038
  return this.calcIntersect(t, e);
2019
2039
  }, i;
2020
2040
  }
2021
- e(nt, "question");
2022
- async function rt(e, t) {
2041
+ e(rt, "question");
2042
+ async function it(e, t) {
2023
2043
  let { labelStyles: n, nodeStyles: r } = b(t);
2024
2044
  t.labelStyle = n;
2025
2045
  let i = t.padding ?? 0, a = t.look === "neo" ? 21 : i ?? 0, o = t.look === "neo" ? 12 : i ?? 0, { shapeSvg: s, bbox: c, label: l } = await C(e, t, E(t)), u = (t?.width ?? c.width) + (t.look === "neo" ? a * 2 : a), d = (t?.height ?? c.height) + (t.look === "neo" ? o * 2 : o), f = -u / 2, p = -d / 2, m = p / 2, h = [
@@ -2050,8 +2070,8 @@ async function rt(e, t) {
2050
2070
  return W.polygon(t, h, e);
2051
2071
  }, s;
2052
2072
  }
2053
- e(rt, "rect_left_inv_arrow");
2054
- async function it(e, n) {
2073
+ e(it, "rect_left_inv_arrow");
2074
+ async function at(e, n) {
2055
2075
  let { labelStyles: r, nodeStyles: o } = b(n);
2056
2076
  n.labelStyle = r;
2057
2077
  let s;
@@ -2078,10 +2098,10 @@ async function it(e, n) {
2078
2098
  return W.rect(n, e);
2079
2099
  }, c;
2080
2100
  }
2081
- e(it, "rectWithTitle");
2082
- async function at(e, t, { config: { themeVariables: n } }) {
2101
+ e(at, "rectWithTitle");
2102
+ async function ot(e, t, { config: { themeVariables: n } }) {
2083
2103
  let r = n?.radius ?? 5;
2084
- return Be(e, t, {
2104
+ return Ce(e, t, {
2085
2105
  rx: r,
2086
2106
  ry: r,
2087
2107
  classes: "",
@@ -2089,9 +2109,9 @@ async function at(e, t, { config: { themeVariables: n } }) {
2089
2109
  labelPaddingY: (t?.padding ?? 0) * 1
2090
2110
  });
2091
2111
  }
2092
- e(at, "roundedRect");
2112
+ e(ot, "roundedRect");
2093
2113
  var Z = 8;
2094
- async function ot(e, t) {
2114
+ async function st(e, t) {
2095
2115
  let { labelStyles: n, nodeStyles: r } = b(t);
2096
2116
  t.labelStyle = n;
2097
2117
  let i = t.look === "neo" ? 16 : t.padding ?? 0, a = t.look === "neo" ? 12 : t.padding ?? 0, { shapeSvg: o, bbox: s, label: c } = await C(e, t, E(t)), l = (t?.width ?? s.width) + i * 2 + (t.look === "neo" ? Z : Z * 2), u = (t?.height ?? s.height) + a * 2, d = l - Z, f = u, m = Z - l / 2, h = -u / 2, { cssStyles: g } = t, _ = S.svg(o), v = x(t, {});
@@ -2130,8 +2150,8 @@ async function ot(e, t) {
2130
2150
  return W.rect(t, e);
2131
2151
  }, o;
2132
2152
  }
2133
- e(ot, "shadedProcess");
2134
- async function st(e, t) {
2153
+ e(st, "shadedProcess");
2154
+ async function ct(e, t) {
2135
2155
  let { labelStyles: n, nodeStyles: r } = b(t);
2136
2156
  t.labelStyle = n;
2137
2157
  let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i;
@@ -2160,10 +2180,10 @@ async function st(e, t) {
2160
2180
  return W.polygon(t, y, e);
2161
2181
  }, s;
2162
2182
  }
2163
- e(st, "slopedRect");
2164
- async function ct(e, t) {
2183
+ e(ct, "slopedRect");
2184
+ async function lt(e, t) {
2165
2185
  let n = t.padding ?? 0, r = t.look === "neo" ? 16 : n * 2, i = t.look === "neo" ? 12 : n;
2166
- return Be(e, t, {
2186
+ return Ce(e, t, {
2167
2187
  rx: 0,
2168
2188
  ry: 0,
2169
2189
  classes: "",
@@ -2171,8 +2191,8 @@ async function ct(e, t) {
2171
2191
  labelPaddingY: i
2172
2192
  });
2173
2193
  }
2174
- e(ct, "squareRect");
2175
- async function lt(e, t) {
2194
+ e(lt, "squareRect");
2195
+ async function ut(e, t) {
2176
2196
  let { labelStyles: n, nodeStyles: r } = b(t);
2177
2197
  t.labelStyle = n;
2178
2198
  let i = t.padding ?? 0, a = t.look === "neo" ? 20 : i, o = t.look === "neo" ? 12 : i, { shapeSvg: s, bbox: c } = await C(e, t, E(t)), l = c.height + (t.look === "neo" ? o * 2 : o), u = c.width + l / 4 + (t.look === "neo" ? a * 2 : a), d = l / 2, { cssStyles: f } = t, p = S.svg(s), m = x(t, {});
@@ -2197,16 +2217,16 @@ async function lt(e, t) {
2197
2217
  return W.polygon(t, h, e);
2198
2218
  }, s;
2199
2219
  }
2200
- e(lt, "stadium");
2201
- async function ut(e, t) {
2202
- return Be(e, t, {
2220
+ e(ut, "stadium");
2221
+ async function dt(e, t) {
2222
+ return Ce(e, t, {
2203
2223
  rx: t.look === "neo" ? 3 : 5,
2204
2224
  ry: t.look === "neo" ? 3 : 5,
2205
2225
  classes: "flowchart-node"
2206
2226
  });
2207
2227
  }
2208
- e(ut, "state");
2209
- function dt(e, t, { config: { themeVariables: n } }) {
2228
+ e(dt, "state");
2229
+ function ft(e, t, { config: { themeVariables: n } }) {
2210
2230
  let { labelStyles: r, nodeStyles: i } = b(t);
2211
2231
  t.labelStyle = r;
2212
2232
  let { cssStyles: a } = t, { lineColor: o, stateBorder: s, nodeBorder: c, nodeShadow: l } = n;
@@ -2232,8 +2252,8 @@ function dt(e, t, { config: { themeVariables: n } }) {
2232
2252
  return W.circle(t, (t.width ?? 0) / 2, e);
2233
2253
  }, u;
2234
2254
  }
2235
- e(dt, "stateEnd");
2236
- function ft(e, t, { config: { themeVariables: n } }) {
2255
+ e(ft, "stateEnd");
2256
+ function pt(e, t, { config: { themeVariables: n } }) {
2237
2257
  let { lineColor: r, nodeShadow: i } = n;
2238
2258
  (t.width || t.height) && ((t.width ?? 0) < 14 && (t.width = 14), (t.height ?? 0) < 14 && (t.height = 14)), t.width ||= 14, t.height ||= 14;
2239
2259
  let a = e.insert("g").attr("class", "node default").attr("id", t.domId || t.id), o;
@@ -2249,12 +2269,12 @@ function ft(e, t, { config: { themeVariables: n } }) {
2249
2269
  return W.circle(t, (t.width ?? 7) / 2, e);
2250
2270
  }, a;
2251
2271
  }
2252
- e(ft, "stateStart");
2253
- var pt = 8;
2254
- async function mt(e, t) {
2272
+ e(pt, "stateStart");
2273
+ var mt = 8;
2274
+ async function ht(e, t) {
2255
2275
  let { labelStyles: n, nodeStyles: r } = b(t);
2256
2276
  t.labelStyle = n;
2257
- let i = t?.padding ?? 8, a = t.look === "neo" ? 28 : i, o = t.look === "neo" ? 12 : i, { shapeSvg: s, bbox: c } = await C(e, t, E(t)), l = (t?.width ?? c.width) + 2 * pt + a, u = (t?.height ?? c.height) + o, d = l - 2 * pt, f = u, m = -l / 2, h = -u / 2, g = [
2277
+ let i = t?.padding ?? 8, a = t.look === "neo" ? 28 : i, o = t.look === "neo" ? 12 : i, { shapeSvg: s, bbox: c } = await C(e, t, E(t)), l = (t?.width ?? c.width) + 2 * mt + a, u = (t?.height ?? c.height) + o, d = l - 2 * mt, f = u, m = -l / 2, h = -u / 2, g = [
2258
2278
  {
2259
2279
  x: 0,
2260
2280
  y: 0
@@ -2297,7 +2317,7 @@ async function mt(e, t) {
2297
2317
  }
2298
2318
  ];
2299
2319
  if (t.look === "handDrawn") {
2300
- let e = S.svg(s), n = x(t, {}), r = e.rectangle(m, h, d + 16, f, n), i = e.line(m + pt, h, m + pt, h + f, n), a = e.line(m + pt + d, h, m + pt + d, h + f, n);
2320
+ let e = S.svg(s), n = x(t, {}), r = e.rectangle(m, h, d + 16, f, n), i = e.line(m + mt, h, m + mt, h + f, n), a = e.line(m + mt + d, h, m + mt + d, h + f, n);
2301
2321
  s.insert(() => i, ":first-child"), s.insert(() => a, ":first-child");
2302
2322
  let o = s.insert(() => r, ":first-child"), { cssStyles: c } = t;
2303
2323
  o.attr("class", "basic label-container").attr("style", p(c)), T(t, o);
@@ -2309,14 +2329,14 @@ async function mt(e, t) {
2309
2329
  return W.polygon(t, g, e);
2310
2330
  }, s;
2311
2331
  }
2312
- e(mt, "subroutine");
2313
- var ht = .2;
2314
- async function gt(e, t) {
2332
+ e(ht, "subroutine");
2333
+ var gt = .2;
2334
+ async function _t(e, t) {
2315
2335
  let { labelStyles: n, nodeStyles: r } = b(t);
2316
2336
  t.labelStyle = n;
2317
2337
  let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i;
2318
- (t.width || t.height) && (t.height = Math.max((t?.height ?? 0) - o * 2, 10), t.width = Math.max((t?.width ?? 0) - a * 2 - ht * (t.height + o * 2), 10));
2319
- let { shapeSvg: s, bbox: c } = await C(e, t, E(t)), l = (t?.height ? t?.height : c.height) + o * 2, u = ht * l, d = ht * l, f = (t?.width ? t?.width : c.width) + a * 2 + u - u, p = l, m = -f / 2, h = -p / 2, { cssStyles: g } = t, _ = S.svg(s), v = x(t, {}), y = [
2338
+ (t.width || t.height) && (t.height = Math.max((t?.height ?? 0) - o * 2, 10), t.width = Math.max((t?.width ?? 0) - a * 2 - gt * (t.height + o * 2), 10));
2339
+ let { shapeSvg: s, bbox: c } = await C(e, t, E(t)), l = (t?.height ? t?.height : c.height) + o * 2, u = gt * l, d = gt * l, f = (t?.width ? t?.width : c.width) + a * 2 + u - u, p = l, m = -f / 2, h = -p / 2, { cssStyles: g } = t, _ = S.svg(s), v = x(t, {}), y = [
2320
2340
  {
2321
2341
  x: m - u / 2,
2322
2342
  y: h
@@ -2356,8 +2376,8 @@ async function gt(e, t) {
2356
2376
  return W.polygon(t, y, e);
2357
2377
  }, s;
2358
2378
  }
2359
- e(gt, "taggedRect");
2360
- async function _t(e, t) {
2379
+ e(_t, "taggedRect");
2380
+ async function vt(e, t) {
2361
2381
  let { labelStyles: n, nodeStyles: r } = b(t);
2362
2382
  t.labelStyle = n;
2363
2383
  let { shapeSvg: i, bbox: a, label: o } = await C(e, t, E(t)), s = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), c = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), l = c / 8, u = .2 * s, d = .2 * c, f = c + l, { cssStyles: p } = t, m = S.svg(i), h = x(t, {});
@@ -2398,8 +2418,8 @@ async function _t(e, t) {
2398
2418
  return W.polygon(t, g, e);
2399
2419
  }, i;
2400
2420
  }
2401
- e(_t, "taggedWaveEdgedRectangle");
2402
- async function vt(e, t) {
2421
+ e(vt, "taggedWaveEdgedRectangle");
2422
+ async function yt(e, t) {
2403
2423
  let { labelStyles: n, nodeStyles: r } = b(t);
2404
2424
  t.labelStyle = n;
2405
2425
  let { shapeSvg: i, bbox: a } = await C(e, t, E(t)), o = Math.max(a.width + (t.padding ?? 0), t?.width || 0), s = Math.max(a.height + (t.padding ?? 0), t?.height || 0), c = -o / 2, l = -s / 2, u = i.insert("rect", ":first-child");
@@ -2407,37 +2427,37 @@ async function vt(e, t) {
2407
2427
  return W.rect(t, e);
2408
2428
  }, i;
2409
2429
  }
2410
- e(vt, "text");
2411
- var yt = /* @__PURE__ */ e((e, t, n, r, i, a) => `M${e},${t}
2430
+ e(yt, "text");
2431
+ var bt = /* @__PURE__ */ e((e, t, n, r, i, a) => `M${e},${t}
2412
2432
  a${i},${a} 0,0,1 0,${-r}
2413
2433
  l${n},0
2414
2434
  a${i},${a} 0,0,1 0,${r}
2415
2435
  M${n},${-r}
2416
2436
  a${i},${a} 0,0,0 0,${r}
2417
- l${-n},0`, "createCylinderPathD"), bt = /* @__PURE__ */ e((e, t, n, r, i, a) => [
2437
+ l${-n},0`, "createCylinderPathD"), xt = /* @__PURE__ */ e((e, t, n, r, i, a) => [
2418
2438
  `M${e},${t}`,
2419
2439
  `M${e + n},${t}`,
2420
2440
  `a${i},${a} 0,0,0 0,${-r}`,
2421
2441
  `l${-n},0`,
2422
2442
  `a${i},${a} 0,0,0 0,${r}`,
2423
2443
  `l${n},0`
2424
- ].join(" "), "createOuterCylinderPathD"), xt = /* @__PURE__ */ e((e, t, n, r, i, a) => [`M${e + n / 2},${-r / 2}`, `a${i},${a} 0,0,0 0,${r}`].join(" "), "createInnerCylinderPathD"), St = 5, Ct = 10;
2425
- async function wt(e, t) {
2444
+ ].join(" "), "createOuterCylinderPathD"), St = /* @__PURE__ */ e((e, t, n, r, i, a) => [`M${e + n / 2},${-r / 2}`, `a${i},${a} 0,0,0 0,${r}`].join(" "), "createInnerCylinderPathD"), Ct = 5, wt = 10;
2445
+ async function Tt(e, t) {
2426
2446
  let { labelStyles: n, nodeStyles: r } = b(t);
2427
2447
  t.labelStyle = n;
2428
2448
  let i = t.padding ?? 0, a = t.look === "neo" ? 12 : i / 2;
2429
2449
  if (t.width || t.height) {
2430
2450
  let e = t.height ?? 0;
2431
- t.height = (t.height ?? 0) - a, t.height < St && (t.height = St);
2451
+ t.height = (t.height ?? 0) - a, t.height < Ct && (t.height = Ct);
2432
2452
  let n = e / 2 / (2.5 + e / 50);
2433
- t.width = (t.width ?? 0) - a - n * 3, t.width < Ct && (t.width = Ct);
2453
+ t.width = (t.width ?? 0) - a - n * 3, t.width < wt && (t.width = wt);
2434
2454
  }
2435
2455
  let { shapeSvg: o, bbox: s, label: c } = await C(e, t, E(t)), l = (t.height ? t.height : s.height) + a, u = l / 2, d = u / (2.5 + l / 50), f = (t.width ? t.width : s.width) + d + a, { cssStyles: m } = t, h;
2436
2456
  if (t.look === "handDrawn") {
2437
- let e = S.svg(o), n = bt(0, 0, f, l, d, u), r = xt(0, 0, f, l, d, u), i = e.path(n, x(t, {})), a = e.path(r, x(t, { fill: "none" }));
2457
+ let e = S.svg(o), n = xt(0, 0, f, l, d, u), r = St(0, 0, f, l, d, u), i = e.path(n, x(t, {})), a = e.path(r, x(t, { fill: "none" }));
2438
2458
  h = o.insert(() => a, ":first-child"), h = o.insert(() => i, ":first-child"), h.attr("class", "basic label-container"), m && h.attr("style", m);
2439
2459
  } else {
2440
- let e = yt(0, 0, f, l, d, u);
2460
+ let e = bt(0, 0, f, l, d, u);
2441
2461
  h = o.insert("path", ":first-child").attr("d", e).attr("class", "basic label-container").attr("style", p(m)).attr("style", r), h.attr("class", "basic label-container outer-path"), m && h.selectAll("path").attr("style", m), r && h.selectAll("path").attr("style", r);
2442
2462
  }
2443
2463
  return h.attr("label-offset-x", d), h.attr("transform", `translate(${-f / 2}, ${l / 2} )`), c.attr("transform", `translate(${-(s.width / 2) - d - (s.x - (s.left ?? 0))}, ${-(s.height / 2) - (s.y - (s.top ?? 0))})`), T(t, h), t.intersect = function(e) {
@@ -2449,8 +2469,8 @@ async function wt(e, t) {
2449
2469
  return n;
2450
2470
  }, o;
2451
2471
  }
2452
- e(wt, "tiltedCylinder");
2453
- async function Tt(e, t) {
2472
+ e(Tt, "tiltedCylinder");
2473
+ async function Et(e, t) {
2454
2474
  let { labelStyles: n, nodeStyles: r } = b(t);
2455
2475
  t.labelStyle = n;
2456
2476
  let i = t.padding ?? 0, a = (t.look, i), o = t.look === "neo" ? i * 2 : i, { shapeSvg: s, bbox: c } = await C(e, t, E(t)), l = (t?.height ?? c.height) + a, u = (t?.width ?? c.width) + o, d = [
@@ -2479,8 +2499,8 @@ async function Tt(e, t) {
2479
2499
  return W.polygon(t, d, e);
2480
2500
  }, s;
2481
2501
  }
2482
- e(Tt, "trapezoid");
2483
- async function Et(e, t) {
2502
+ e(Et, "trapezoid");
2503
+ async function Dt(e, t) {
2484
2504
  let { labelStyles: n, nodeStyles: r } = b(t);
2485
2505
  t.labelStyle = n;
2486
2506
  let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i;
@@ -2517,13 +2537,13 @@ async function Et(e, t) {
2517
2537
  return W.polygon(t, m, e);
2518
2538
  }, s;
2519
2539
  }
2520
- e(Et, "trapezoidalPentagon");
2521
- var Dt = 10, Ot = 10;
2522
- async function kt(e, r) {
2540
+ e(Dt, "trapezoidalPentagon");
2541
+ var Ot = 10, kt = 10;
2542
+ async function At(e, r) {
2523
2543
  let { labelStyles: a, nodeStyles: o } = b(r);
2524
2544
  r.labelStyle = a;
2525
2545
  let s = r.padding ?? 0, c = r.look === "neo" ? s * 2 : s;
2526
- (r.width || r.height) && (r.width = ((r?.width ?? 0) - c) / 2, r.width < Ot && (r.width = Ot), r.height = r?.height ?? 0, r.height < Dt && (r.height = Dt));
2546
+ (r.width || r.height) && (r.width = ((r?.width ?? 0) - c) / 2, r.width < kt && (r.width = kt), r.height = r?.height ?? 0, r.height < Ot && (r.height = Ot));
2527
2547
  let { shapeSvg: l, bbox: u, label: d } = await C(e, r, E(r)), f = n(i().flowchart?.htmlLabels), p = (r?.width ? r?.width : u.width) + c, m = r?.height ? r?.height : p + u.height, h = m, g = [
2528
2548
  {
2529
2549
  x: 0,
@@ -2544,8 +2564,8 @@ async function kt(e, r) {
2544
2564
  return t.info("Triangle intersect", r, g, e), W.polygon(r, g, e);
2545
2565
  }, l;
2546
2566
  }
2547
- e(kt, "triangle");
2548
- async function At(e, t) {
2567
+ e(At, "triangle");
2568
+ async function jt(e, t) {
2549
2569
  let { labelStyles: n, nodeStyles: r } = b(t);
2550
2570
  t.labelStyle = n;
2551
2571
  let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 12 : i, s = !0;
@@ -2571,8 +2591,8 @@ async function At(e, t) {
2571
2591
  return W.polygon(t, w, e);
2572
2592
  }, c;
2573
2593
  }
2574
- e(At, "waveEdgedRectangle");
2575
- async function jt(e, t) {
2594
+ e(jt, "waveEdgedRectangle");
2595
+ async function Mt(e, t) {
2576
2596
  let { labelStyles: n, nodeStyles: r } = b(t);
2577
2597
  t.labelStyle = n;
2578
2598
  let i = t.padding ?? 0, a = t.look === "neo" ? 16 : i, o = t.look === "neo" ? 20 : i;
@@ -2599,9 +2619,9 @@ async function jt(e, t) {
2599
2619
  return W.polygon(t, g, e);
2600
2620
  }, s;
2601
2621
  }
2602
- e(jt, "waveRectangle");
2622
+ e(Mt, "waveRectangle");
2603
2623
  var Q = 10;
2604
- async function Mt(e, t) {
2624
+ async function Nt(e, t) {
2605
2625
  let { labelStyles: n, nodeStyles: r } = b(t);
2606
2626
  t.labelStyle = n;
2607
2627
  let i = t.look === "neo" ? 16 : t.padding ?? 0, a = t.look === "neo" ? 12 : t.padding ?? 0;
@@ -2632,20 +2652,20 @@ async function Mt(e, t) {
2632
2652
  return W.polygon(t, v, e);
2633
2653
  }, o;
2634
2654
  }
2635
- e(Mt, "windowPane");
2636
- var Nt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), Pt = /* @__PURE__ */ new Set([
2655
+ e(Nt, "windowPane");
2656
+ var Pt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), Ft = /* @__PURE__ */ new Set([
2637
2657
  "redux",
2638
2658
  "redux-dark",
2639
2659
  "redux-color",
2640
2660
  "redux-dark-color"
2641
2661
  ]);
2642
- async function Ft(e, t) {
2662
+ async function It(e, t) {
2643
2663
  let i = t;
2644
2664
  i.alias && (t.label = i.alias);
2645
2665
  let { theme: a, themeVariables: o } = r(), { rowEven: s, rowOdd: c, nodeBorder: l, borderColorArray: f } = o;
2646
2666
  if (t.look === "handDrawn") {
2647
2667
  let { themeVariables: n } = r(), { background: i } = n;
2648
- await Ft(e, {
2668
+ await It(e, {
2649
2669
  ...t,
2650
2670
  id: t.id + "-background",
2651
2671
  domId: (t.domId || t.id) + "-background",
@@ -2665,8 +2685,8 @@ async function Ft(e, t) {
2665
2685
  classes: ""
2666
2686
  };
2667
2687
  d(t.label, p) + r.labelPaddingX * 2 < p.er.minEntityWidth && (t.width = p.er.minEntityWidth);
2668
- let o = await Be(e, t, r);
2669
- if (a != null && Nt.has(a)) {
2688
+ let o = await Ce(e, t, r);
2689
+ if (a != null && Pt.has(a)) {
2670
2690
  let e = i.colorIndex ?? 0;
2671
2691
  o.attr("data-color-id", `color-${e % f.length}`);
2672
2692
  }
@@ -2679,17 +2699,17 @@ async function Ft(e, t) {
2679
2699
  p.htmlLabels || (m *= 1.25, h *= 1.25);
2680
2700
  let y = E(t);
2681
2701
  y ||= "node default";
2682
- let C = e.insert("g").attr("class", y).attr("id", t.domId || t.id), w = await It(C, t.label ?? "", p, 0, 0, ["name"], _);
2702
+ let C = e.insert("g").attr("class", y).attr("id", t.domId || t.id), w = await Lt(C, t.label ?? "", p, 0, 0, ["name"], _);
2683
2703
  w.height += h;
2684
2704
  let D = 0, O = [], k = [], A = 0, j = 0, M = 0, N = 0, P = !0, F = !0;
2685
2705
  for (let e of i.attributes) {
2686
- let t = await It(C, e.type, p, 0, D, ["attribute-type"], _);
2706
+ let t = await Lt(C, e.type, p, 0, D, ["attribute-type"], _);
2687
2707
  A = Math.max(A, t.width + m);
2688
- let n = await It(C, e.name, p, 0, D, ["attribute-name"], _);
2708
+ let n = await Lt(C, e.name, p, 0, D, ["attribute-name"], _);
2689
2709
  j = Math.max(j, n.width + m);
2690
- let r = await It(C, e.keys.join(), p, 0, D, ["attribute-keys"], _);
2710
+ let r = await Lt(C, e.keys.join(), p, 0, D, ["attribute-keys"], _);
2691
2711
  M = Math.max(M, r.width + m);
2692
- let i = await It(C, e.comment, p, 0, D, ["attribute-comment"], _);
2712
+ let i = await Lt(C, e.comment, p, 0, D, ["attribute-comment"], _);
2693
2713
  N = Math.max(N, i.width + m);
2694
2714
  let a = Math.max(t.height, n.height, r.height, i.height) + h;
2695
2715
  k.push({
@@ -2716,7 +2736,7 @@ async function Ft(e, t) {
2716
2736
  e && (a = parseFloat(e[1]), o = parseFloat(e[2]), r.attr("class").includes("attribute-name") ? a += A : r.attr("class").includes("attribute-keys") ? a += A + j : r.attr("class").includes("attribute-comment") && (a += A + j + M));
2717
2737
  }
2718
2738
  r.attr("transform", `translate(${V + m / 2 + a}, ${o + H + w.height + h / 2})`);
2719
- }), C.select(".name").attr("transform", "translate(" + -w.width / 2 + ", " + (H + h / 2) + ")"), a != null && Nt.has(a)) {
2739
+ }), C.select(".name").attr("transform", "translate(" + -w.width / 2 + ", " + (H + h / 2) + ")"), a != null && Pt.has(a)) {
2720
2740
  let e = i.colorIndex ?? 0;
2721
2741
  C.attr("data-color-id", `color-${e % f.length}`);
2722
2742
  }
@@ -2730,20 +2750,20 @@ async function Ft(e, t) {
2730
2750
  });
2731
2751
  C.insert(() => r, "g.label").attr("style", g.join("")).attr("class", `row-rect-${n ? "even" : "odd"}`);
2732
2752
  }
2733
- let U = 1e-4, G = Lt(V, w.height + H, z + V, w.height + H, U), K = L.polygon(G.map((e) => [e.x, e.y]), R);
2734
- if (C.insert(() => K).attr("class", "divider"), G = Lt(A + V, w.height + H, A + V, B + H, U), K = L.polygon(G.map((e) => [e.x, e.y]), R), C.insert(() => K).attr("class", "divider"), P) {
2753
+ let U = 1e-4, G = Rt(V, w.height + H, z + V, w.height + H, U), K = L.polygon(G.map((e) => [e.x, e.y]), R);
2754
+ if (C.insert(() => K).attr("class", "divider"), G = Rt(A + V, w.height + H, A + V, B + H, U), K = L.polygon(G.map((e) => [e.x, e.y]), R), C.insert(() => K).attr("class", "divider"), P) {
2735
2755
  let e = A + j + V;
2736
- G = Lt(e, w.height + H, e, B + H, U), K = L.polygon(G.map((e) => [e.x, e.y]), R), C.insert(() => K).attr("class", "divider");
2756
+ G = Rt(e, w.height + H, e, B + H, U), K = L.polygon(G.map((e) => [e.x, e.y]), R), C.insert(() => K).attr("class", "divider");
2737
2757
  }
2738
2758
  if (F) {
2739
2759
  let e = A + j + M + V;
2740
- G = Lt(e, w.height + H, e, B + H, U), K = L.polygon(G.map((e) => [e.x, e.y]), R), C.insert(() => K).attr("class", "divider");
2760
+ G = Rt(e, w.height + H, e, B + H, U), K = L.polygon(G.map((e) => [e.x, e.y]), R), C.insert(() => K).attr("class", "divider");
2741
2761
  }
2742
2762
  for (let e of O) {
2743
2763
  let t = w.height + H + e;
2744
- G = Lt(V, t, z + V, t, U), K = L.polygon(G.map((e) => [e.x, e.y]), R), C.insert(() => K).attr("class", "divider");
2764
+ G = Rt(V, t, z + V, t, U), K = L.polygon(G.map((e) => [e.x, e.y]), R), C.insert(() => K).attr("class", "divider");
2745
2765
  }
2746
- if (T(t, ie), v && t.look !== "handDrawn") if (a != null && Pt.has(a)) C.selectAll("path").attr("style", v);
2766
+ if (T(t, ie), v && t.look !== "handDrawn") if (a != null && Ft.has(a)) C.selectAll("path").attr("style", v);
2747
2767
  else {
2748
2768
  let e = v.split(";")?.filter((e) => e.includes("stroke"))?.map((e) => `${e}`).join("; ");
2749
2769
  C.selectAll("path").attr("style", e ?? ""), C.selectAll(".row-rect-even path").attr("style", v);
@@ -2752,8 +2772,8 @@ async function Ft(e, t) {
2752
2772
  return W.rect(t, e);
2753
2773
  }, C;
2754
2774
  }
2755
- e(Ft, "erBox");
2756
- async function It(e, t, r, i = 0, a = 0, o = [], c = "") {
2775
+ e(It, "erBox");
2776
+ async function Lt(e, t, r, i = 0, a = 0, o = [], c = "") {
2757
2777
  let l = e.insert("g").attr("class", `label ${o.join(" ")}`).attr("transform", `translate(${i}, ${a})`).attr("style", c);
2758
2778
  t !== s(t) && (t = s(t), t = t.replaceAll("<", "&lt;").replaceAll(">", "&gt;"));
2759
2779
  let f = l.node().appendChild(await m(l, t, {
@@ -2774,8 +2794,8 @@ async function It(e, t, r, i = 0, a = 0, o = [], c = "") {
2774
2794
  }
2775
2795
  return p;
2776
2796
  }
2777
- e(It, "addText");
2778
- function Lt(e, t, n, r, i) {
2797
+ e(Lt, "addText");
2798
+ function Rt(e, t, n, r, i) {
2779
2799
  return e === n ? [
2780
2800
  {
2781
2801
  x: e - i / 2,
@@ -2812,25 +2832,25 @@ function Lt(e, t, n, r, i) {
2812
2832
  }
2813
2833
  ];
2814
2834
  }
2815
- e(Lt, "lineToPolygon");
2816
- async function Rt(e, t, n, r, i = n.class.padding ?? 12) {
2835
+ e(Rt, "lineToPolygon");
2836
+ async function zt(e, t, n, r, i = n.class.padding ?? 12) {
2817
2837
  let a = r ? 0 : 3, o = e.insert("g").attr("class", E(t)).attr("id", t.domId || t.id), s = null, c = null, l = null, u = null, d = 0, f = 0, p = 0;
2818
2838
  if (s = o.insert("g").attr("class", "annotation-group text"), t.annotations.length > 0) {
2819
2839
  let e = t.annotations[0];
2820
- await zt(s, { text: `\xAB${e}\xBB` }, 0), d = s.node().getBBox().height;
2840
+ await Bt(s, { text: `\xAB${e}\xBB` }, 0), d = s.node().getBBox().height;
2821
2841
  }
2822
- c = o.insert("g").attr("class", "label-group text"), await zt(c, t, 0, ["font-weight: bolder"]);
2842
+ c = o.insert("g").attr("class", "label-group text"), await Bt(c, t, 0, ["font-weight: bolder"]);
2823
2843
  let m = c.node().getBBox();
2824
2844
  f = m.height, l = o.insert("g").attr("class", "members-group text");
2825
2845
  let h = 0;
2826
2846
  for (let e of t.members) {
2827
- let t = await zt(l, e, h, [e.parseClassifier()]);
2847
+ let t = await Bt(l, e, h, [e.parseClassifier()]);
2828
2848
  h += t + a;
2829
2849
  }
2830
2850
  p = l.node().getBBox().height, p <= 0 && (p = i / 2), u = o.insert("g").attr("class", "methods-group text");
2831
2851
  let g = 0;
2832
2852
  for (let e of t.methods) {
2833
- let t = await zt(u, e, g, [e.parseClassifier()]);
2853
+ let t = await Bt(u, e, g, [e.parseClassifier()]);
2834
2854
  g += t + a;
2835
2855
  }
2836
2856
  let _ = o.node().getBBox();
@@ -2843,8 +2863,8 @@ async function Rt(e, t, n, r, i = n.class.padding ?? 12) {
2843
2863
  bbox: _
2844
2864
  };
2845
2865
  }
2846
- e(Rt, "textHelper");
2847
- async function zt(t, i, a, s = []) {
2866
+ e(zt, "textHelper");
2867
+ async function Bt(t, i, a, s = []) {
2848
2868
  let c = t.insert("g").attr("class", "label").attr("style", s.join("; ")), p = r(), h = "useHtmlLabels" in i ? i.useHtmlLabels : n(p.htmlLabels) ?? !0, g = "";
2849
2869
  g = "text" in i ? i.text : i.label, !h && g.startsWith("\\") && (g = g.substring(1)), o(g) && (h = !0);
2850
2870
  let _ = await m(c, l(f(g)), {
@@ -2879,11 +2899,11 @@ async function zt(t, i, a, s = []) {
2879
2899
  }
2880
2900
  return c.attr("transform", "translate(0," + (-v.height / (2 * y) + a) + ")"), v.height;
2881
2901
  }
2882
- e(zt, "addText");
2883
- async function Bt(e, t) {
2902
+ e(Bt, "addText");
2903
+ async function Vt(e, t) {
2884
2904
  let r = i(), { themeVariables: a } = r, { useGradient: o } = a, s = r.class.padding ?? 12, c = s, l = t.useHtmlLabels ?? n(r.htmlLabels) ?? !0, d = t;
2885
2905
  d.annotations = d.annotations ?? [], d.members = d.members ?? [], d.methods = d.methods ?? [];
2886
- let { shapeSvg: f, bbox: p } = await Rt(e, t, r, l, c), { labelStyles: m, nodeStyles: h } = b(t);
2906
+ let { shapeSvg: f, bbox: p } = await zt(e, t, r, l, c), { labelStyles: m, nodeStyles: h } = b(t);
2887
2907
  t.labelStyle = m, t.cssStyles = d.styles || "";
2888
2908
  let g = d.styles?.join(";") || h || "";
2889
2909
  t.cssStyles ||= g.replaceAll("!important", "").split(";");
@@ -2937,8 +2957,8 @@ async function Bt(e, t) {
2937
2957
  return W.rect(t, e);
2938
2958
  }, f;
2939
2959
  }
2940
- e(Bt, "classBox");
2941
- async function Vt(e, t) {
2960
+ e(Vt, "classBox");
2961
+ async function Ht(e, t) {
2942
2962
  let { labelStyles: n, nodeStyles: r } = b(t);
2943
2963
  t.labelStyle = n;
2944
2964
  let a = t, o = t, s = "verifyMethod" in t, c = E(t), { themeVariables: l } = i(), { borderColorArray: d, requirementEdgeLabelBackground: f } = l, p = e.insert("g").attr("class", c).attr("id", t.domId ?? t.id), m;
@@ -2987,7 +3007,7 @@ async function Vt(e, t) {
2987
3007
  return W.rect(t, e);
2988
3008
  }, r && t.look !== "handDrawn" && (f || d?.length) && p.selectAll("path").attr("style", r), p;
2989
3009
  }
2990
- e(Vt, "requirementBox");
3010
+ e(Ht, "requirementBox");
2991
3011
  async function $(e, t, n, r = "") {
2992
3012
  if (t === "") return 0;
2993
3013
  let a = e.insert("g").attr("class", "label").attr("style", r), o = i(), s = o.htmlLabels ?? !0, c = await m(a, l(f(t)), {
@@ -3007,7 +3027,7 @@ async function $(e, t, n, r = "") {
3007
3027
  return a.attr("transform", `translate(${-p.width / 2},${-p.height / 2 + n})`), p.height;
3008
3028
  }
3009
3029
  e($, "addText");
3010
- var Ht = /* @__PURE__ */ e((e) => {
3030
+ var Ut = /* @__PURE__ */ e((e) => {
3011
3031
  switch (e) {
3012
3032
  case "Very High": return "red";
3013
3033
  case "High": return "orange";
@@ -3016,7 +3036,7 @@ var Ht = /* @__PURE__ */ e((e) => {
3016
3036
  case "Very Low": return "lightblue";
3017
3037
  }
3018
3038
  }, "colorFromPriority");
3019
- async function Ut(e, t, { config: n }) {
3039
+ async function Wt(e, t, { config: n }) {
3020
3040
  let { labelStyles: r, nodeStyles: i } = b(t);
3021
3041
  t.labelStyle = r || "";
3022
3042
  let a = t.width;
@@ -3045,15 +3065,15 @@ async function Ut(e, t, { config: n }) {
3045
3065
  let e = "priority" in t && t.priority;
3046
3066
  if (e) {
3047
3067
  let t = o.append("line"), n = D + 2, r = O + Math.floor((A ?? 0) / 2), i = O + y - Math.floor((A ?? 0) / 2);
3048
- t.attr("x1", n).attr("y1", r).attr("x2", n).attr("y2", i).attr("stroke-width", "4").attr("stroke", Ht(e));
3068
+ t.attr("x1", n).attr("y1", r).attr("x2", n).attr("y2", i).attr("stroke-width", "4").attr("stroke", Ut(e));
3049
3069
  }
3050
3070
  }
3051
3071
  return T(t, k), t.height = y, t.intersect = function(e) {
3052
3072
  return W.rect(t, e);
3053
3073
  }, o;
3054
3074
  }
3055
- e(Ut, "kanbanItem");
3056
- async function Wt(e, n) {
3075
+ e(Wt, "kanbanItem");
3076
+ async function Gt(e, n) {
3057
3077
  let { labelStyles: r, nodeStyles: i } = b(n);
3058
3078
  n.labelStyle = r;
3059
3079
  let { shapeSvg: a, bbox: o, halfPadding: s, label: c } = await C(e, n, E(n)), l = o.width + 10 * s, u = o.height + 8 * s, d = .15 * l, { cssStyles: f } = n, m = o.width + 20, h = o.height + 20, g = Math.max(l, m), _ = Math.max(u, h);
@@ -3087,8 +3107,8 @@ async function Wt(e, n) {
3087
3107
  return t.info("Bang intersect", n, e), W.rect(n, e);
3088
3108
  }, a;
3089
3109
  }
3090
- e(Wt, "bang");
3091
- async function Gt(e, n) {
3110
+ e(Gt, "bang");
3111
+ async function Kt(e, n) {
3092
3112
  let { labelStyles: r, nodeStyles: i } = b(n);
3093
3113
  n.labelStyle = r;
3094
3114
  let { shapeSvg: a, bbox: o, halfPadding: s, label: c } = await C(e, n, E(n)), l = o.width + 2 * s, u = o.height + 2 * s, d = .15 * l, f = .25 * l, m = .35 * l, h = .2 * l, { cssStyles: g } = n, _, v = `M0 0
@@ -3116,8 +3136,8 @@ async function Gt(e, n) {
3116
3136
  return t.info("Cloud intersect", n, e), W.rect(n, e);
3117
3137
  }, a;
3118
3138
  }
3119
- e(Gt, "cloud");
3120
- async function Kt(e, t) {
3139
+ e(Kt, "cloud");
3140
+ async function qt(e, t) {
3121
3141
  let { labelStyles: n, nodeStyles: r } = b(t);
3122
3142
  t.labelStyle = n;
3123
3143
  let { shapeSvg: i, bbox: a, halfPadding: o, label: s } = await C(e, t, E(t)), c = a.width + 8 * o, l = a.height + 2 * o, u = t.look === "neo" ? `
@@ -3149,12 +3169,12 @@ async function Kt(e, t) {
3149
3169
  return W.rect(t, e);
3150
3170
  }, i;
3151
3171
  }
3152
- e(Kt, "defaultMindmapNode");
3153
- async function qt(e, t) {
3172
+ e(qt, "defaultMindmapNode");
3173
+ async function Jt(e, t) {
3154
3174
  return ue(e, t, { padding: t.padding ?? 0 });
3155
3175
  }
3156
- e(qt, "mindmapCircle");
3157
- var Jt = [
3176
+ e(Jt, "mindmapCircle");
3177
+ var Yt = [
3158
3178
  {
3159
3179
  semanticName: "Process",
3160
3180
  name: "Rectangle",
@@ -3166,7 +3186,7 @@ var Jt = [
3166
3186
  "rectangle"
3167
3187
  ],
3168
3188
  internalAliases: ["squareRect"],
3169
- handler: ct
3189
+ handler: lt
3170
3190
  },
3171
3191
  {
3172
3192
  semanticName: "Event",
@@ -3175,7 +3195,7 @@ var Jt = [
3175
3195
  description: "Represents an event",
3176
3196
  aliases: ["event"],
3177
3197
  internalAliases: ["roundedRect"],
3178
- handler: at
3198
+ handler: ot
3179
3199
  },
3180
3200
  {
3181
3201
  semanticName: "Terminal Point",
@@ -3183,7 +3203,7 @@ var Jt = [
3183
3203
  shortName: "stadium",
3184
3204
  description: "Terminal point",
3185
3205
  aliases: ["terminal", "pill"],
3186
- handler: lt
3206
+ handler: ut
3187
3207
  },
3188
3208
  {
3189
3209
  semanticName: "Subprocess",
@@ -3196,7 +3216,7 @@ var Jt = [
3196
3216
  "framed-rectangle",
3197
3217
  "subroutine"
3198
3218
  ],
3199
- handler: mt
3219
+ handler: ht
3200
3220
  },
3201
3221
  {
3202
3222
  semanticName: "Database",
@@ -3210,6 +3230,14 @@ var Jt = [
3210
3230
  ],
3211
3231
  handler: Se
3212
3232
  },
3233
+ {
3234
+ semanticName: "Data Store",
3235
+ name: "Data Store",
3236
+ shortName: "datastore",
3237
+ description: "Data flow diagram data store",
3238
+ aliases: ["data-store"],
3239
+ handler: we
3240
+ },
3213
3241
  {
3214
3242
  semanticName: "Start",
3215
3243
  name: "Circle",
@@ -3224,7 +3252,7 @@ var Jt = [
3224
3252
  shortName: "bang",
3225
3253
  description: "Bang",
3226
3254
  aliases: ["bang"],
3227
- handler: Wt
3255
+ handler: Gt
3228
3256
  },
3229
3257
  {
3230
3258
  semanticName: "Cloud",
@@ -3232,7 +3260,7 @@ var Jt = [
3232
3260
  shortName: "cloud",
3233
3261
  description: "cloud",
3234
3262
  aliases: ["cloud"],
3235
- handler: Gt
3263
+ handler: Kt
3236
3264
  },
3237
3265
  {
3238
3266
  semanticName: "Decision",
@@ -3244,7 +3272,7 @@ var Jt = [
3244
3272
  "diamond",
3245
3273
  "question"
3246
3274
  ],
3247
- handler: nt
3275
+ handler: rt
3248
3276
  },
3249
3277
  {
3250
3278
  semanticName: "Prepare Conditional",
@@ -3252,7 +3280,7 @@ var Jt = [
3252
3280
  shortName: "hex",
3253
3281
  description: "Preparation or condition step",
3254
3282
  aliases: ["hexagon", "prepare"],
3255
- handler: Me
3283
+ handler: Pe
3256
3284
  },
3257
3285
  {
3258
3286
  semanticName: "Data Input/Output",
@@ -3261,7 +3289,7 @@ var Jt = [
3261
3289
  description: "Represents input or output",
3262
3290
  aliases: ["lean-right", "in-out"],
3263
3291
  internalAliases: ["lean_right"],
3264
- handler: Ue
3292
+ handler: We
3265
3293
  },
3266
3294
  {
3267
3295
  semanticName: "Data Input/Output",
@@ -3270,7 +3298,7 @@ var Jt = [
3270
3298
  description: "Represents output or input",
3271
3299
  aliases: ["lean-left", "out-in"],
3272
3300
  internalAliases: ["lean_left"],
3273
- handler: He
3301
+ handler: Ue
3274
3302
  },
3275
3303
  {
3276
3304
  semanticName: "Priority Action",
@@ -3282,7 +3310,7 @@ var Jt = [
3282
3310
  "trapezoid-bottom",
3283
3311
  "trapezoid"
3284
3312
  ],
3285
- handler: Tt
3313
+ handler: Et
3286
3314
  },
3287
3315
  {
3288
3316
  semanticName: "Manual Operation",
@@ -3295,7 +3323,7 @@ var Jt = [
3295
3323
  "inv-trapezoid"
3296
3324
  ],
3297
3325
  internalAliases: ["inv_trapezoid"],
3298
- handler: ze
3326
+ handler: Ve
3299
3327
  },
3300
3328
  {
3301
3329
  semanticName: "Stop",
@@ -3304,14 +3332,14 @@ var Jt = [
3304
3332
  description: "Represents a stop point",
3305
3333
  aliases: ["double-circle"],
3306
3334
  internalAliases: ["doublecircle"],
3307
- handler: we
3335
+ handler: Ee
3308
3336
  },
3309
3337
  {
3310
3338
  semanticName: "Text Block",
3311
3339
  name: "Text Block",
3312
3340
  shortName: "text",
3313
3341
  description: "Text block",
3314
- handler: vt
3342
+ handler: yt
3315
3343
  },
3316
3344
  {
3317
3345
  semanticName: "Card",
@@ -3332,7 +3360,7 @@ var Jt = [
3332
3360
  "lin-proc",
3333
3361
  "shaded-process"
3334
3362
  ],
3335
- handler: ot
3363
+ handler: st
3336
3364
  },
3337
3365
  {
3338
3366
  semanticName: "Start",
@@ -3341,7 +3369,7 @@ var Jt = [
3341
3369
  description: "Small starting point",
3342
3370
  aliases: ["start", "small-circle"],
3343
3371
  internalAliases: ["stateStart"],
3344
- handler: ft
3372
+ handler: pt
3345
3373
  },
3346
3374
  {
3347
3375
  semanticName: "Stop",
@@ -3350,7 +3378,7 @@ var Jt = [
3350
3378
  description: "Stop point",
3351
3379
  aliases: ["stop", "framed-circle"],
3352
3380
  internalAliases: ["stateEnd"],
3353
- handler: dt
3381
+ handler: ft
3354
3382
  },
3355
3383
  {
3356
3384
  semanticName: "Fork/Join",
@@ -3359,7 +3387,7 @@ var Jt = [
3359
3387
  description: "Fork or join in process flow",
3360
3388
  aliases: ["join"],
3361
3389
  internalAliases: ["forkJoin"],
3362
- handler: ke
3390
+ handler: je
3363
3391
  },
3364
3392
  {
3365
3393
  semanticName: "Collate",
@@ -3367,7 +3395,7 @@ var Jt = [
3367
3395
  shortName: "hourglass",
3368
3396
  description: "Represents a collate operation",
3369
3397
  aliases: ["hourglass", "collate"],
3370
- handler: Ne
3398
+ handler: Fe
3371
3399
  },
3372
3400
  {
3373
3401
  semanticName: "Comment",
@@ -3397,7 +3425,7 @@ var Jt = [
3397
3425
  shortName: "bolt",
3398
3426
  description: "Communication link",
3399
3427
  aliases: ["com-link", "lightning-bolt"],
3400
- handler: We
3428
+ handler: Ge
3401
3429
  },
3402
3430
  {
3403
3431
  semanticName: "Document",
@@ -3405,7 +3433,7 @@ var Jt = [
3405
3433
  shortName: "doc",
3406
3434
  description: "Represents a document",
3407
3435
  aliases: ["doc", "document"],
3408
- handler: At
3436
+ handler: jt
3409
3437
  },
3410
3438
  {
3411
3439
  semanticName: "Delay",
@@ -3413,7 +3441,7 @@ var Jt = [
3413
3441
  shortName: "delay",
3414
3442
  description: "Represents a delay",
3415
3443
  aliases: ["half-rounded-rectangle"],
3416
- handler: Ae
3444
+ handler: Me
3417
3445
  },
3418
3446
  {
3419
3447
  semanticName: "Direct Access Storage",
@@ -3421,7 +3449,7 @@ var Jt = [
3421
3449
  shortName: "h-cyl",
3422
3450
  description: "Direct access storage",
3423
3451
  aliases: ["das", "horizontal-cylinder"],
3424
- handler: wt
3452
+ handler: Tt
3425
3453
  },
3426
3454
  {
3427
3455
  semanticName: "Disk Storage",
@@ -3429,7 +3457,7 @@ var Jt = [
3429
3457
  shortName: "lin-cyl",
3430
3458
  description: "Disk storage",
3431
3459
  aliases: ["disk", "lined-cylinder"],
3432
- handler: Xe
3460
+ handler: Ze
3433
3461
  },
3434
3462
  {
3435
3463
  semanticName: "Display",
@@ -3449,7 +3477,7 @@ var Jt = [
3449
3477
  "divided-rectangle",
3450
3478
  "divided-process"
3451
3479
  ],
3452
- handler: Ce
3480
+ handler: Te
3453
3481
  },
3454
3482
  {
3455
3483
  semanticName: "Extract",
@@ -3457,7 +3485,7 @@ var Jt = [
3457
3485
  shortName: "tri",
3458
3486
  description: "Extraction process",
3459
3487
  aliases: ["extract", "triangle"],
3460
- handler: kt
3488
+ handler: At
3461
3489
  },
3462
3490
  {
3463
3491
  semanticName: "Internal Storage",
@@ -3465,7 +3493,7 @@ var Jt = [
3465
3493
  shortName: "win-pane",
3466
3494
  description: "Internal storage",
3467
3495
  aliases: ["internal-storage", "window-pane"],
3468
- handler: Mt
3496
+ handler: Nt
3469
3497
  },
3470
3498
  {
3471
3499
  semanticName: "Junction",
@@ -3473,7 +3501,7 @@ var Jt = [
3473
3501
  shortName: "f-circ",
3474
3502
  description: "Junction point",
3475
3503
  aliases: ["junction", "filled-circle"],
3476
- handler: Te
3504
+ handler: De
3477
3505
  },
3478
3506
  {
3479
3507
  semanticName: "Loop Limit",
@@ -3481,7 +3509,7 @@ var Jt = [
3481
3509
  shortName: "notch-pent",
3482
3510
  description: "Loop limit step",
3483
3511
  aliases: ["loop-limit", "notched-pentagon"],
3484
- handler: Et
3512
+ handler: Dt
3485
3513
  },
3486
3514
  {
3487
3515
  semanticName: "Manual File",
@@ -3489,7 +3517,7 @@ var Jt = [
3489
3517
  shortName: "flip-tri",
3490
3518
  description: "Manual file operation",
3491
3519
  aliases: ["manual-file", "flipped-triangle"],
3492
- handler: Oe
3520
+ handler: Ae
3493
3521
  },
3494
3522
  {
3495
3523
  semanticName: "Manual Input",
@@ -3497,7 +3525,7 @@ var Jt = [
3497
3525
  shortName: "sl-rect",
3498
3526
  description: "Manual input step",
3499
3527
  aliases: ["manual-input", "sloped-rectangle"],
3500
- handler: st
3528
+ handler: ct
3501
3529
  },
3502
3530
  {
3503
3531
  semanticName: "Multi-Document",
@@ -3509,7 +3537,7 @@ var Jt = [
3509
3537
  "st-doc",
3510
3538
  "stacked-document"
3511
3539
  ],
3512
- handler: $e
3540
+ handler: et
3513
3541
  },
3514
3542
  {
3515
3543
  semanticName: "Multi-Process",
@@ -3521,7 +3549,7 @@ var Jt = [
3521
3549
  "processes",
3522
3550
  "stacked-rectangle"
3523
3551
  ],
3524
- handler: Qe
3552
+ handler: $e
3525
3553
  },
3526
3554
  {
3527
3555
  semanticName: "Stored Data",
@@ -3545,7 +3573,7 @@ var Jt = [
3545
3573
  shortName: "tag-doc",
3546
3574
  description: "Tagged document",
3547
3575
  aliases: ["tag-doc", "tagged-document"],
3548
- handler: _t
3576
+ handler: vt
3549
3577
  },
3550
3578
  {
3551
3579
  semanticName: "Tagged Process",
@@ -3557,7 +3585,7 @@ var Jt = [
3557
3585
  "tag-proc",
3558
3586
  "tagged-process"
3559
3587
  ],
3560
- handler: gt
3588
+ handler: _t
3561
3589
  },
3562
3590
  {
3563
3591
  semanticName: "Paper Tape",
@@ -3565,7 +3593,7 @@ var Jt = [
3565
3593
  shortName: "flag",
3566
3594
  description: "Paper tape",
3567
3595
  aliases: ["paper-tape"],
3568
- handler: jt
3596
+ handler: Mt
3569
3597
  },
3570
3598
  {
3571
3599
  semanticName: "Odd",
@@ -3573,7 +3601,7 @@ var Jt = [
3573
3601
  shortName: "odd",
3574
3602
  description: "Odd shape",
3575
3603
  internalAliases: ["rect_left_inv_arrow"],
3576
- handler: rt
3604
+ handler: it
3577
3605
  },
3578
3606
  {
3579
3607
  semanticName: "Lined Document",
@@ -3581,62 +3609,62 @@ var Jt = [
3581
3609
  shortName: "lin-doc",
3582
3610
  description: "Lined document",
3583
3611
  aliases: ["lined-document"],
3584
- handler: Ze
3612
+ handler: Qe
3585
3613
  }
3586
- ], Yt = (/* @__PURE__ */ e(() => {
3614
+ ], Xt = (/* @__PURE__ */ e(() => {
3587
3615
  let e = [...Object.entries({
3588
- state: ut,
3616
+ state: dt,
3589
3617
  choice: le,
3590
- note: et,
3591
- rectWithTitle: it,
3592
- labelRect: Ve,
3593
- iconSquare: Le,
3594
- iconCircle: Fe,
3595
- icon: Pe,
3596
- iconRounded: Ie,
3597
- imageSquare: Re,
3618
+ note: tt,
3619
+ rectWithTitle: at,
3620
+ labelRect: He,
3621
+ iconSquare: ze,
3622
+ iconCircle: Le,
3623
+ icon: Ie,
3624
+ iconRounded: Re,
3625
+ imageSquare: Be,
3598
3626
  anchor: G,
3599
- kanbanItem: Ut,
3600
- mindmapCircle: qt,
3601
- defaultMindmapNode: Kt,
3602
- classBox: Bt,
3603
- erBox: Ft,
3604
- requirementBox: Vt
3605
- }), ...Jt.flatMap((e) => [
3627
+ kanbanItem: Wt,
3628
+ mindmapCircle: Jt,
3629
+ defaultMindmapNode: qt,
3630
+ classBox: Vt,
3631
+ erBox: It,
3632
+ requirementBox: Ht
3633
+ }), ...Yt.flatMap((e) => [
3606
3634
  e.shortName,
3607
3635
  ..."aliases" in e ? e.aliases : [],
3608
3636
  ..."internalAliases" in e ? e.internalAliases : []
3609
3637
  ].map((t) => [t, e.handler]))];
3610
3638
  return Object.fromEntries(e);
3611
3639
  }, "generateShapeMap"))();
3612
- function Xt(e) {
3613
- return e in Yt;
3640
+ function Zt(e) {
3641
+ return e in Xt;
3614
3642
  }
3615
- e(Xt, "isValidShape");
3616
- var Zt = /* @__PURE__ */ new Map();
3617
- async function Qt(e, t, n) {
3643
+ e(Zt, "isValidShape");
3644
+ var Qt = /* @__PURE__ */ new Map();
3645
+ async function $t(e, t, n) {
3618
3646
  let r, i;
3619
3647
  t.shape === "rect" && (t.rx && t.ry ? t.shape = "roundedRect" : t.shape = "squareRect");
3620
- let a = t.shape ? Yt[t.shape] : void 0;
3648
+ let a = t.shape ? Xt[t.shape] : void 0;
3621
3649
  if (!a) throw Error(`No such shape: ${t.shape}. Please check your syntax.`);
3622
3650
  if (t.link) {
3623
3651
  let o;
3624
3652
  n.config.securityLevel === "sandbox" ? o = "_top" : t.linkTarget && (o = t.linkTarget || "_blank"), r = e.insert("svg:a").attr("xlink:href", t.link).attr("target", o ?? null), i = await a(r, t, n);
3625
3653
  } else i = await a(e, t, n), r = i;
3626
- return r.attr("data-look", p(t.look)), t.tooltip && i.attr("title", t.tooltip), Zt.set(t.id, r), t.haveCallback && r.attr("class", r.attr("class") + " clickable"), r;
3627
- }
3628
- e(Qt, "insertNode");
3629
- var $t = /* @__PURE__ */ e((e, t) => {
3630
- Zt.set(t.id, e);
3631
- }, "setNodeElem"), en = /* @__PURE__ */ e(() => {
3632
- Zt.clear();
3633
- }, "clear"), tn = /* @__PURE__ */ e((e) => {
3634
- let n = Zt.get(e.id);
3654
+ return r.attr("data-look", p(t.look)), t.tooltip && i.attr("title", t.tooltip), Qt.set(t.id, r), t.haveCallback && r.attr("class", r.attr("class") + " clickable"), r;
3655
+ }
3656
+ e($t, "insertNode");
3657
+ var en = /* @__PURE__ */ e((e, t) => {
3658
+ Qt.set(t.id, e);
3659
+ }, "setNodeElem"), tn = /* @__PURE__ */ e(() => {
3660
+ Qt.clear();
3661
+ }, "clear"), nn = /* @__PURE__ */ e((e) => {
3662
+ let n = Qt.get(e.id);
3635
3663
  t.trace("Transforming node", e.diff, e, "translate(" + (e.x - e.width / 2 - 5) + ", " + e.width / 2 + ")");
3636
3664
  let r = e.diff || 0;
3637
3665
  return e.clusterNode ? n.attr("transform", "translate(" + (e.x + r - e.width / 2) + ", " + (e.y - e.height / 2 - 8) + ")") : n.attr("transform", "translate(" + e.x + ", " + e.y + ")"), r;
3638
3666
  }, "positionNode");
3639
3667
  //#endregion
3640
- export { te as clear, en as clear2, M as createLabel_default, ee as insertCluster, Qt as insertNode, Xt as isValidShape, C as labelHelper, tn as positionNode, $t as setNodeElem, T as updateNodeBounds };
3668
+ export { te as clear, tn as clear2, M as createLabel_default, ee as insertCluster, $t as insertNode, Zt as isValidShape, C as labelHelper, nn as positionNode, en as setNodeElem, T as updateNodeBounds };
3641
3669
 
3642
- //# sourceMappingURL=chunk-5FUZZQ4R.js.map
3670
+ //# sourceMappingURL=chunk-3OPIFGDE.js.map