@pb33f/cowboy-components 0.7.17 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (540) hide show
  1. package/dist/_basePickBy-DtTwxTrV.js +151 -0
  2. package/dist/_baseUniq-C5Y4WFmx.js +614 -0
  3. package/dist/arc-a-7w7y90.js +83 -0
  4. package/dist/architecture-U656AL7Q-c_zxypEp.js +5 -0
  5. package/dist/architectureDiagram-VXUJARFQ-CIhQJ6xS.js +4661 -0
  6. package/dist/assets/elk-layout.worker-B71_NI2D.js +1 -0
  7. package/dist/assets/equalizer.worker-A8HFNy4g.js +1 -0
  8. package/dist/assets/graph-dependent.worker-BgWuMZsb.js +1 -0
  9. package/dist/assets/rule-documentation.worker-BCKuwSgZ.js +1 -0
  10. package/dist/assets/search-graph.worker-Cwqb-ecv.js +1 -0
  11. package/dist/assets/search-problems.worker-60kZqr0h.js +1 -0
  12. package/dist/blockDiagram-VD42YOAC-BLl5ID-l.js +2261 -0
  13. package/dist/c4Diagram-YG6GDRKO-BOGfb13x.js +1580 -0
  14. package/dist/channel-DYeI56io.js +5 -0
  15. package/dist/chunk-4BX2VUAB-BeHGB7ON.js +8 -0
  16. package/dist/chunk-55IACEB6-DgHUzWsw.js +8 -0
  17. package/dist/chunk-B4BG7PRW-Vs7GiQMf.js +1375 -0
  18. package/dist/chunk-DI55MBZ5-CHjdGXx0.js +1370 -0
  19. package/dist/chunk-FMBD7UC4-D-H9-bHN.js +19 -0
  20. package/dist/chunk-QN33PNHL-D7uE2r1Y.js +19 -0
  21. package/dist/chunk-QZHKN3VN-Cp3sUp7e.js +15 -0
  22. package/dist/chunk-TZMSLE5B-BmXGcXo9.js +64 -0
  23. package/dist/classDiagram-2ON5EDUG-9ilqiDEi.js +16 -0
  24. package/dist/classDiagram-v2-WZHVMYZB-9ilqiDEi.js +16 -0
  25. package/dist/clone-CybyMoa0.js +8 -0
  26. package/dist/components/attention-box/attention-box.css.js +8 -0
  27. package/dist/components/auth/login-button.js +1 -1
  28. package/dist/components/auth/login-panel.d.ts +4 -0
  29. package/dist/components/auth/login-panel.js +12 -4
  30. package/dist/components/auth/oauth-login.css.js +4 -0
  31. package/dist/components/auth/oauth-login.d.ts +2 -0
  32. package/dist/components/auth/oauth-login.js +12 -3
  33. package/dist/components/brokerable.d.ts +21 -0
  34. package/dist/components/brokerable.js +39 -0
  35. package/dist/components/bundle-toolbar/bundle-toolbar.css.js +110 -0
  36. package/dist/components/bundle-toolbar/bundle-toolbar.d.ts +21 -0
  37. package/dist/components/bundle-toolbar/bundle-toolbar.js +93 -0
  38. package/dist/components/changelog/changelog.css.js +2 -0
  39. package/dist/components/changelog/changelog.d.ts +2 -0
  40. package/dist/components/changelog/changelog.js +10 -1
  41. package/dist/components/changelog/release.css.js +5 -1
  42. package/dist/components/charts/beefy-chart.js +0 -2
  43. package/dist/components/charts/doughnut-chart.d.ts +5 -1
  44. package/dist/components/charts/doughnut-chart.js +20 -1
  45. package/dist/components/credit-ticker/credit-ticker.d.ts +3 -0
  46. package/dist/components/credit-ticker/credit-ticker.js +20 -4
  47. package/dist/components/details-drawer/details-drawer.css.d.ts +2 -0
  48. package/dist/components/{problem-list → details-drawer}/details-drawer.css.js +18 -3
  49. package/dist/components/details-drawer/generic-details-drawer.css.d.ts +1 -0
  50. package/dist/components/details-drawer/generic-details-drawer.css.js +219 -0
  51. package/dist/components/details-drawer/generic-details-drawer.d.ts +38 -0
  52. package/dist/components/details-drawer/generic-details-drawer.js +245 -0
  53. package/dist/components/details-drawer/handlers/diagram-handler.d.ts +35 -0
  54. package/dist/components/details-drawer/handlers/diagram-handler.js +248 -0
  55. package/dist/components/details-drawer/handlers/documentation-handler.d.ts +11 -0
  56. package/dist/components/details-drawer/handlers/documentation-handler.js +46 -0
  57. package/dist/components/details-drawer/handlers/example-handler.d.ts +18 -0
  58. package/dist/components/details-drawer/handlers/example-handler.js +146 -0
  59. package/dist/components/details-drawer/handlers/howto-handler.d.ts +11 -0
  60. package/dist/components/details-drawer/handlers/howto-handler.js +36 -0
  61. package/dist/components/details-drawer/handlers/markdown-handler.d.ts +12 -0
  62. package/dist/components/details-drawer/handlers/markdown-handler.js +54 -0
  63. package/dist/components/editor/editor-breadcrumb.css.js +1 -1
  64. package/dist/components/editor/editor.css.js +42 -0
  65. package/dist/components/editor/editor.d.ts +29 -3
  66. package/dist/components/editor/editor.js +495 -73
  67. package/dist/components/github/github-workspace-view.css.d.ts +2 -0
  68. package/dist/components/github/github-workspace-view.css.js +165 -0
  69. package/dist/components/github/github-workspace-view.d.ts +59 -0
  70. package/dist/components/github/github-workspace-view.js +525 -0
  71. package/dist/components/global-task/global-task-view.css.d.ts +2 -0
  72. package/dist/components/global-task/global-task-view.css.js +392 -0
  73. package/dist/components/global-task/global-task-view.d.ts +48 -0
  74. package/dist/components/global-task/global-task-view.js +359 -0
  75. package/dist/components/header/header.css.js +9 -1
  76. package/dist/components/http-method/http-method.css.js +5 -1
  77. package/dist/components/indeterminate-loader/indeterminate-loader.css.d.ts +2 -0
  78. package/dist/components/indeterminate-loader/indeterminate-loader.css.js +135 -0
  79. package/dist/components/indeterminate-loader/indeterminate-loader.d.ts +35 -0
  80. package/dist/components/indeterminate-loader/indeterminate-loader.js +201 -0
  81. package/dist/components/kv-view/kv-view.css.js +2 -0
  82. package/dist/components/kv-view/kv-view.js +0 -1
  83. package/dist/components/logo-wall/logo-wall.css.js +9 -0
  84. package/dist/components/manage-ruleset/manage-ruleset.css.js +14 -1
  85. package/dist/components/manage-ruleset/manage-ruleset.d.ts +1 -0
  86. package/dist/components/manage-ruleset/manage-ruleset.js +54 -22
  87. package/dist/components/manage-ruleset/rule-action.css.js +2 -0
  88. package/dist/components/manage-ruleset/rule-action.d.ts +10 -3
  89. package/dist/components/manage-ruleset/rule-action.js +118 -129
  90. package/dist/components/manage-ruleset/rule-input.d.ts +3 -1
  91. package/dist/components/manage-ruleset/rule-input.js +38 -34
  92. package/dist/components/manage-ruleset/rule.css.js +15 -1
  93. package/dist/components/manage-ruleset/rule.d.ts +4 -1
  94. package/dist/components/manage-ruleset/rule.js +44 -17
  95. package/dist/components/mermaid/mermaid-renderer.css.d.ts +1 -0
  96. package/dist/components/mermaid/mermaid-renderer.css.js +121 -0
  97. package/dist/components/mermaid/mermaid-renderer.d.ts +75 -0
  98. package/dist/components/mermaid/mermaid-renderer.js +485 -0
  99. package/dist/components/model-icon/doctor-icon.d.ts +9 -0
  100. package/dist/components/model-icon/doctor-icon.js +60 -0
  101. package/dist/components/model-icon/model-icon.d.ts +2 -1
  102. package/dist/components/model-icon/model-icon.js +13 -1
  103. package/dist/components/model-renderer/change.css.js +22 -8
  104. package/dist/components/model-renderer/changes.d.ts +1 -0
  105. package/dist/components/model-renderer/changes.js +47 -32
  106. package/dist/components/model-renderer/clickable-ref.d.ts +9 -3
  107. package/dist/components/model-renderer/clickable-ref.js +49 -10
  108. package/dist/components/model-renderer/components.d.ts +2 -0
  109. package/dist/components/model-renderer/components.js +196 -116
  110. package/dist/components/model-renderer/contact.js +2 -2
  111. package/dist/components/model-renderer/description.css.js +2 -0
  112. package/dist/components/model-renderer/document.d.ts +1 -0
  113. package/dist/components/model-renderer/document.js +14 -9
  114. package/dist/components/model-renderer/encoding.d.ts +2 -0
  115. package/dist/components/model-renderer/encoding.js +16 -7
  116. package/dist/components/model-renderer/example.css.js +5 -1
  117. package/dist/components/model-renderer/example.d.ts +4 -1
  118. package/dist/components/model-renderer/example.js +72 -118
  119. package/dist/components/model-renderer/extensions.d.ts +2 -0
  120. package/dist/components/model-renderer/extensions.js +11 -2
  121. package/dist/components/model-renderer/external-docs.d.ts +2 -0
  122. package/dist/components/model-renderer/external-docs.js +13 -4
  123. package/dist/components/model-renderer/has-changes.js +3 -3
  124. package/dist/components/model-renderer/header.d.ts +2 -0
  125. package/dist/components/model-renderer/header.js +27 -14
  126. package/dist/components/model-renderer/info.d.ts +2 -0
  127. package/dist/components/model-renderer/info.js +20 -7
  128. package/dist/components/model-renderer/link.d.ts +2 -0
  129. package/dist/components/model-renderer/link.js +27 -10
  130. package/dist/components/model-renderer/media-type.js +2 -2
  131. package/dist/components/model-renderer/model-badge.d.ts +11 -0
  132. package/dist/components/model-renderer/model-badge.js +59 -0
  133. package/dist/components/model-renderer/model-shared.css.js +14 -2
  134. package/dist/components/model-renderer/oauth-flows.js +4 -4
  135. package/dist/components/model-renderer/operation.d.ts +2 -1
  136. package/dist/components/model-renderer/operation.js +37 -16
  137. package/dist/components/model-renderer/param-location.js +3 -3
  138. package/dist/components/model-renderer/parameter.d.ts +2 -0
  139. package/dist/components/model-renderer/parameter.js +28 -15
  140. package/dist/components/model-renderer/path-item.d.ts +3 -0
  141. package/dist/components/model-renderer/path-item.js +52 -80
  142. package/dist/components/model-renderer/paths.d.ts +2 -0
  143. package/dist/components/model-renderer/paths.js +10 -3
  144. package/dist/components/model-renderer/problem-node.js +10 -10
  145. package/dist/components/model-renderer/rendered-node.css.js +35 -6
  146. package/dist/components/model-renderer/rendered-node.d.ts +14 -4
  147. package/dist/components/model-renderer/rendered-node.js +121 -58
  148. package/dist/components/model-renderer/rendered-property.js +4 -4
  149. package/dist/components/model-renderer/request-body.d.ts +2 -0
  150. package/dist/components/model-renderer/request-body.js +16 -9
  151. package/dist/components/model-renderer/response.d.ts +2 -0
  152. package/dist/components/model-renderer/response.js +35 -17
  153. package/dist/components/model-renderer/schema.css.js +10 -1
  154. package/dist/components/model-renderer/schema.d.ts +3 -2
  155. package/dist/components/model-renderer/schema.js +127 -129
  156. package/dist/components/model-renderer/security-scheme.js +3 -3
  157. package/dist/components/model-renderer/server.js +18 -8
  158. package/dist/components/model-renderer/tag.js +1 -1
  159. package/dist/components/model-tree/tree.css.js +21 -10
  160. package/dist/components/model-tree/tree.d.ts +39 -22
  161. package/dist/components/model-tree/tree.js +230 -167
  162. package/dist/components/paginator/paginator-navigator.css.js +9 -5
  163. package/dist/components/paginator/paginator-navigator.js +6 -6
  164. package/dist/components/paginator/paginator.css.js +2 -0
  165. package/dist/components/paginator/paginator.js +5 -8
  166. package/dist/components/percent-bar/percent-bar.css.js +133 -13
  167. package/dist/components/percent-bar/percent-bar.d.ts +2 -0
  168. package/dist/components/percent-bar/percent-bar.js +28 -24
  169. package/dist/components/premium-gate/premium-gate.css.d.ts +1 -0
  170. package/dist/components/premium-gate/premium-gate.css.js +117 -0
  171. package/dist/components/premium-gate/premium-gate.d.ts +49 -0
  172. package/dist/components/premium-gate/premium-gate.js +336 -0
  173. package/dist/components/problem-list/problem-list.css.js +72 -1
  174. package/dist/components/problem-list/problem-list.d.ts +17 -9
  175. package/dist/components/problem-list/problem-list.js +222 -226
  176. package/dist/components/problem-list/problem-mainview.css.js +12 -2
  177. package/dist/components/problem-list/problem-mainview.d.ts +3 -0
  178. package/dist/components/problem-list/problem-mainview.js +37 -17
  179. package/dist/components/problem-list/problem-toolbar.css.js +10 -7
  180. package/dist/components/problems-overview/diagnostic-evaluation.css.js +11 -1
  181. package/dist/components/problems-overview/diagnostic-evaluation.js +6 -7
  182. package/dist/components/problems-overview/document-statistic.css.js +6 -0
  183. package/dist/components/problems-overview/document-statistic.js +1 -1
  184. package/dist/components/problems-overview/problem-overview-group.js +5 -5
  185. package/dist/components/problems-overview/problem-statistic.css.js +24 -5
  186. package/dist/components/problems-overview/problem-statistic.js +15 -6
  187. package/dist/components/problems-overview/problem-statistics.css.js +4 -4
  188. package/dist/components/problems-overview/problem-statistics.js +29 -25
  189. package/dist/components/problems-overview/problems-overview.css.js +2 -2
  190. package/dist/components/property-view/property-view.css.js +2 -0
  191. package/dist/components/render-json-path/render-json-path.css.js +11 -3
  192. package/dist/components/render-json-path/render-json-path.js +3 -0
  193. package/dist/components/render-operation-path/render-operation-path.css.js +9 -0
  194. package/dist/components/render-operation-path/render-operation-path.js +7 -22
  195. package/dist/components/rodeo/rodeo.d.ts +1 -0
  196. package/dist/components/rodeo/rodeo.js +5 -0
  197. package/dist/components/rodeo/roundup.js +2 -2
  198. package/dist/components/rodeo/statistic.css.js +25 -2
  199. package/dist/components/rodeo/statistic.js +0 -4
  200. package/dist/components/shader-canvas/shader-canvas.css.d.ts +2 -0
  201. package/dist/components/shader-canvas/shader-canvas.css.js +66 -0
  202. package/dist/components/shader-canvas/shader-canvas.d.ts +36 -0
  203. package/dist/components/shader-canvas/shader-canvas.js +363 -0
  204. package/dist/components/shaders/flowing-waves-shader.d.ts +2 -0
  205. package/dist/components/shaders/flowing-waves-shader.js +70 -0
  206. package/dist/components/shaders/neon-canyon-shader.d.ts +2 -0
  207. package/dist/components/shaders/neon-canyon-shader.js +265 -0
  208. package/dist/components/shaders/neon-lines-shader.d.ts +2 -0
  209. package/dist/components/shaders/neon-lines-shader.js +181 -0
  210. package/dist/components/shaders/neon-squircles-shader.d.ts +2 -0
  211. package/dist/components/shaders/neon-squircles-shader.js +56 -0
  212. package/dist/components/shaders/retro-grid-shader.d.ts +2 -0
  213. package/dist/components/shaders/retro-grid-shader.js +53 -0
  214. package/dist/components/shaders/shader-base.d.ts +9 -0
  215. package/dist/components/shaders/shader-base.js +11 -0
  216. package/dist/components/terminal/terminal-example.css.js +4 -0
  217. package/dist/components/terminal/terminal-example.js +2 -3
  218. package/dist/components/terminal-emulator/terminal-emulator.css.js +12 -2
  219. package/dist/components/terminal-emulator/terminal-emulator.d.ts +7 -1
  220. package/dist/components/terminal-emulator/terminal-emulator.js +10 -5
  221. package/dist/components/the-doctor/doctor-controls-panel.css.d.ts +2 -0
  222. package/dist/components/the-doctor/doctor-controls-panel.css.js +53 -0
  223. package/dist/components/the-doctor/doctor-controls-panel.d.ts +20 -0
  224. package/dist/components/the-doctor/doctor-controls-panel.js +78 -0
  225. package/dist/components/the-doctor/doctor-editor-panel.css.d.ts +2 -0
  226. package/dist/components/the-doctor/doctor-editor-panel.css.js +209 -0
  227. package/dist/components/the-doctor/doctor-editor-panel.d.ts +41 -0
  228. package/dist/components/the-doctor/doctor-editor-panel.js +188 -0
  229. package/dist/components/the-doctor/doctor-navigator-panel.css.d.ts +2 -0
  230. package/dist/components/the-doctor/doctor-navigator-panel.css.js +134 -0
  231. package/dist/components/the-doctor/doctor-navigator-panel.d.ts +35 -0
  232. package/dist/components/the-doctor/doctor-navigator-panel.js +117 -0
  233. package/dist/components/the-doctor/doctor-sidebar-panel.css.d.ts +2 -0
  234. package/dist/components/the-doctor/doctor-sidebar-panel.css.js +143 -0
  235. package/dist/components/the-doctor/doctor-sidebar-panel.d.ts +31 -0
  236. package/dist/components/the-doctor/doctor-sidebar-panel.js +131 -0
  237. package/dist/components/the-doctor/doctor-url-overlay.css.d.ts +2 -0
  238. package/dist/components/the-doctor/doctor-url-overlay.css.js +59 -0
  239. package/dist/components/the-doctor/doctor-url-overlay.d.ts +23 -0
  240. package/dist/components/the-doctor/doctor-url-overlay.js +82 -0
  241. package/dist/components/the-doctor/nuke-workspace.js +4 -3
  242. package/dist/components/the-doctor/settings.css.js +2 -0
  243. package/dist/components/the-doctor/settings.js +5 -8
  244. package/dist/components/the-doctor/status-bar.d.ts +2 -2
  245. package/dist/components/the-doctor/status-bar.js +32 -31
  246. package/dist/components/the-doctor/the-doctor.css.js +47 -238
  247. package/dist/components/the-doctor/the-doctor.d.ts +149 -37
  248. package/dist/components/the-doctor/the-doctor.js +958 -528
  249. package/dist/components/the-doctor/upload-archive.css.js +8 -2
  250. package/dist/components/the-doctor/upload-archive.js +2 -2
  251. package/dist/components/theme-switcher/theme-switcher.js +5 -1
  252. package/dist/components/time-vortex/change-list-item.css.js +18 -4
  253. package/dist/components/time-vortex/change-list-item.d.ts +1 -0
  254. package/dist/components/time-vortex/change-list-item.js +4 -3
  255. package/dist/components/time-vortex/history-picker.css.js +60 -1
  256. package/dist/components/time-vortex/history-picker.d.ts +7 -1
  257. package/dist/components/time-vortex/history-picker.js +109 -5
  258. package/dist/components/time-vortex/tardis-control.css.js +339 -14
  259. package/dist/components/time-vortex/tardis-control.d.ts +31 -3
  260. package/dist/components/time-vortex/tardis-control.js +296 -58
  261. package/dist/components/time-vortex/time-vortex.d.ts +8 -2
  262. package/dist/components/time-vortex/time-vortex.js +54 -13
  263. package/dist/components/toast/toast-component.css.js +1 -0
  264. package/dist/components/toast/toast-component.d.ts +1 -0
  265. package/dist/components/toast/toast-component.js +23 -8
  266. package/dist/components/toast/toast-manager.d.ts +5 -0
  267. package/dist/components/toast/toast-manager.js +29 -7
  268. package/dist/components/visualizer/edge.d.ts +11 -1
  269. package/dist/components/visualizer/edge.js +27 -22
  270. package/dist/components/visualizer/equalizer.css.js +118 -76
  271. package/dist/components/visualizer/equalizer.d.ts +24 -45
  272. package/dist/components/visualizer/equalizer.js +262 -363
  273. package/dist/components/visualizer/explorer.d.ts +94 -14
  274. package/dist/components/visualizer/explorer.js +580 -393
  275. package/dist/components/visualizer/foreign-object.d.ts +12 -2
  276. package/dist/components/visualizer/foreign-object.js +21 -10
  277. package/dist/components/visualizer/key.js +12 -1
  278. package/dist/components/visualizer/nodes/callback.d.ts +2 -1
  279. package/dist/components/visualizer/nodes/callback.js +2 -2
  280. package/dist/components/visualizer/nodes/components.d.ts +2 -1
  281. package/dist/components/visualizer/nodes/components.js +2 -2
  282. package/dist/components/visualizer/nodes/contact.d.ts +2 -1
  283. package/dist/components/visualizer/nodes/contact.js +2 -2
  284. package/dist/components/visualizer/nodes/document.d.ts +2 -1
  285. package/dist/components/visualizer/nodes/document.js +2 -2
  286. package/dist/components/visualizer/nodes/graph-node.d.ts +14 -3
  287. package/dist/components/visualizer/nodes/graph-node.js +94 -43
  288. package/dist/components/visualizer/nodes/header.d.ts +2 -1
  289. package/dist/components/visualizer/nodes/header.js +2 -2
  290. package/dist/components/visualizer/nodes/info.d.ts +2 -1
  291. package/dist/components/visualizer/nodes/info.js +2 -2
  292. package/dist/components/visualizer/nodes/license.d.ts +2 -1
  293. package/dist/components/visualizer/nodes/license.js +2 -2
  294. package/dist/components/visualizer/nodes/link.d.ts +2 -1
  295. package/dist/components/visualizer/nodes/link.js +2 -2
  296. package/dist/components/visualizer/nodes/media-type.d.ts +2 -1
  297. package/dist/components/visualizer/nodes/media-type.js +2 -2
  298. package/dist/components/visualizer/nodes/operation.d.ts +2 -1
  299. package/dist/components/visualizer/nodes/operation.js +3 -4
  300. package/dist/components/visualizer/nodes/parameter.d.ts +3 -1
  301. package/dist/components/visualizer/nodes/parameter.js +3 -4
  302. package/dist/components/visualizer/nodes/path-item.d.ts +2 -1
  303. package/dist/components/visualizer/nodes/path-item.js +2 -2
  304. package/dist/components/visualizer/nodes/request-body.d.ts +2 -1
  305. package/dist/components/visualizer/nodes/request-body.js +2 -2
  306. package/dist/components/visualizer/nodes/response.d.ts +2 -1
  307. package/dist/components/visualizer/nodes/response.js +2 -2
  308. package/dist/components/visualizer/nodes/schema.d.ts +2 -1
  309. package/dist/components/visualizer/nodes/schema.js +64 -9
  310. package/dist/components/visualizer/nodes/security-scheme.d.ts +2 -1
  311. package/dist/components/visualizer/nodes/security-scheme.js +2 -2
  312. package/dist/components/visualizer/nodes/server.d.ts +2 -1
  313. package/dist/components/visualizer/nodes/server.js +3 -4
  314. package/dist/components/visualizer/nodes/tag.d.ts +2 -1
  315. package/dist/components/visualizer/nodes/tag.js +4 -5
  316. package/dist/components/visualizer/nodes/xml.d.ts +2 -1
  317. package/dist/components/visualizer/nodes/xml.js +2 -2
  318. package/dist/components/visualizer/orientation-controls.d.ts +6 -1
  319. package/dist/components/visualizer/orientation-controls.js +65 -7
  320. package/dist/components/visualizer/search.d.ts +2 -1
  321. package/dist/components/visualizer/search.js +22 -29
  322. package/dist/components/visualizer/shared.css.js +55 -18
  323. package/dist/components/visualizer/templates/svg-markers.d.ts +2 -0
  324. package/dist/components/visualizer/templates/svg-markers.js +73 -0
  325. package/dist/components/waiting-line/waiting-line.css.d.ts +2 -0
  326. package/dist/components/waiting-line/waiting-line.css.js +26 -0
  327. package/dist/components/waiting-line/waiting-line.d.ts +30 -0
  328. package/dist/components/waiting-line/waiting-line.js +424 -0
  329. package/dist/components/workspaces/workspace-view.css.js +89 -8
  330. package/dist/components/workspaces/workspace-view.d.ts +8 -1
  331. package/dist/components/workspaces/workspace-view.js +77 -25
  332. package/dist/controllers/auth-controller.d.ts +9 -0
  333. package/dist/controllers/auth-controller.js +12 -5
  334. package/dist/controllers/broker-controller.d.ts +30 -4
  335. package/dist/controllers/broker-controller.js +148 -25
  336. package/dist/controllers/bundle-controller.d.ts +21 -0
  337. package/dist/controllers/bundle-controller.js +122 -0
  338. package/dist/controllers/countdown-controller.d.ts +17 -0
  339. package/dist/controllers/countdown-controller.js +59 -0
  340. package/dist/controllers/diagnostic-controller.d.ts +18 -5
  341. package/dist/controllers/diagnostic-controller.js +206 -218
  342. package/dist/controllers/diagramatron-controller.d.ts +33 -0
  343. package/dist/controllers/diagramatron-controller.js +128 -0
  344. package/dist/controllers/docs-controller.d.ts +11 -5
  345. package/dist/controllers/docs-controller.js +97 -97
  346. package/dist/controllers/github-controller.d.ts +47 -0
  347. package/dist/controllers/github-controller.js +494 -0
  348. package/dist/controllers/global-task-controller.d.ts +46 -0
  349. package/dist/controllers/global-task-controller.js +352 -0
  350. package/dist/controllers/model-controller.d.ts +26 -4
  351. package/dist/controllers/model-controller.js +98 -62
  352. package/dist/controllers/node-clicker-controller.d.ts +121 -4
  353. package/dist/controllers/node-clicker-controller.js +526 -253
  354. package/dist/controllers/problem-controller.d.ts +11 -4
  355. package/dist/controllers/problem-controller.js +98 -39
  356. package/dist/controllers/rolodex-controller.d.ts +8 -3
  357. package/dist/controllers/rolodex-controller.js +117 -83
  358. package/dist/controllers/rule-controller.d.ts +12 -5
  359. package/dist/controllers/rule-controller.js +154 -161
  360. package/dist/controllers/spec-controller.d.ts +16 -4
  361. package/dist/controllers/spec-controller.js +91 -62
  362. package/dist/controllers/state-controller.d.ts +4 -3
  363. package/dist/controllers/state-controller.js +201 -154
  364. package/dist/controllers/tab-cache-controller.d.ts +29 -0
  365. package/dist/controllers/tab-cache-controller.js +68 -0
  366. package/dist/controllers/timeline-controller.d.ts +18 -0
  367. package/dist/controllers/timeline-controller.js +129 -0
  368. package/dist/controllers/wallet-controller.d.ts +3 -3
  369. package/dist/controllers/wallet-controller.js +22 -41
  370. package/dist/controllers/workspace-controller.d.ts +10 -4
  371. package/dist/controllers/workspace-controller.js +67 -22
  372. package/dist/cose-bilkent-S5V4N54A-2TG-C-n3.js +2608 -0
  373. package/dist/cowboy-components-BcyXo9oX.js +68425 -0
  374. package/dist/cowboy-components.css +1 -0
  375. package/dist/cowboy-components.umd.cjs +14050 -6577
  376. package/dist/css/alerts.css.js +2 -0
  377. package/dist/css/badges.css.js +2 -0
  378. package/dist/css/button.css.js +34 -1
  379. package/dist/css/cowboy-components.css +34 -0
  380. package/dist/css/dialog.css.js +11 -2
  381. package/dist/css/filter.css.js +17 -5
  382. package/dist/css/forms.css.js +14 -0
  383. package/dist/css/pb33f-theme.css +87 -16
  384. package/dist/css/syntax.css.js +5 -0
  385. package/dist/css/tabs.css.js +19 -2
  386. package/dist/css/tooltip.css.js +4 -0
  387. package/dist/cytoscape.esm-DfdJODL8.js +18735 -0
  388. package/dist/dagre-6UL2VRFP-BIlmTbhO.js +444 -0
  389. package/dist/defaultLocale-D7EN2tov.js +171 -0
  390. package/dist/diagram-PSM6KHXK-CeWby24E.js +531 -0
  391. package/dist/diagram-QEK2KX5R-DGonyVCK.js +217 -0
  392. package/dist/diagram-S2PKOQOG-mGn-y1uX.js +142 -0
  393. package/dist/erDiagram-Q2GNP2WA-BlBBw4Mz.js +841 -0
  394. package/dist/events/doctor.d.ts +63 -9
  395. package/dist/events/doctor.js +29 -1
  396. package/dist/events/drawer-events.d.ts +7 -0
  397. package/dist/events/drawer-events.js +3 -0
  398. package/dist/events/theme.d.ts +4 -0
  399. package/dist/events/theme.js +1 -0
  400. package/dist/factories/explorer-component-factory.d.ts +49 -0
  401. package/dist/factories/explorer-component-factory.js +205 -0
  402. package/dist/factories/state-controller-deps.factory.d.ts +88 -0
  403. package/dist/factories/state-controller-deps.factory.js +116 -0
  404. package/dist/flowDiagram-NV44I4VS-BlLzzy1C.js +1620 -0
  405. package/dist/ganttDiagram-LVOFAZNH-BoQtPC8k.js +2505 -0
  406. package/dist/gitGraph-F6HP7TQM-CShNSlrW.js +5 -0
  407. package/dist/gitGraphDiagram-NY62KEGX-BdpWBgHy.js +699 -0
  408. package/dist/graph-D9HS4Ahd.js +247 -0
  409. package/dist/helpers/event-wiring.d.ts +72 -0
  410. package/dist/helpers/event-wiring.js +58 -0
  411. package/dist/helpers/file-size-formatter.d.ts +3 -0
  412. package/dist/helpers/file-size-formatter.js +15 -0
  413. package/dist/helpers/filename-colorizer.d.ts +5 -0
  414. package/dist/helpers/filename-colorizer.js +30 -0
  415. package/dist/helpers/navigation-helper.d.ts +54 -0
  416. package/dist/helpers/navigation-helper.js +159 -0
  417. package/dist/helpers/typed-events.d.ts +1 -0
  418. package/dist/helpers/typed-events.js +3 -0
  419. package/dist/info-NVLQJR56-Bpi6I8up.js +5 -0
  420. package/dist/infoDiagram-F6ZHWCRC-DmhhbuMJ.js +24 -0
  421. package/dist/init-DjUOC4st.js +16 -0
  422. package/dist/interfaces/bundle-interfaces.d.ts +7 -0
  423. package/dist/interfaces/bundle-interfaces.js +1 -0
  424. package/dist/interfaces/doctor-interfaces.d.ts +506 -0
  425. package/dist/interfaces/doctor-interfaces.js +1 -0
  426. package/dist/journeyDiagram-XKPGCS4Q-CpkhK8vl.js +834 -0
  427. package/dist/kanban-definition-3W4ZIXB7-BFbucfYE.js +719 -0
  428. package/dist/katex-SsTUIUTC.js +11688 -0
  429. package/dist/layout-B8H1_UrM.js +1324 -0
  430. package/dist/linear-Bo0rJUSQ.js +259 -0
  431. package/dist/managers/drag-handler.d.ts +28 -0
  432. package/dist/managers/drag-handler.js +64 -0
  433. package/dist/managers/event-registration-manager.d.ts +17 -0
  434. package/dist/managers/event-registration-manager.js +34 -0
  435. package/dist/managers/expansion-manager.d.ts +58 -0
  436. package/dist/managers/expansion-manager.js +189 -0
  437. package/dist/managers/layout-filter-manager.d.ts +31 -0
  438. package/dist/managers/layout-filter-manager.js +109 -0
  439. package/dist/managers/panel-divider-manager.d.ts +33 -0
  440. package/dist/managers/panel-divider-manager.js +71 -0
  441. package/dist/managers/view-state-manager.d.ts +48 -0
  442. package/dist/managers/view-state-manager.js +101 -0
  443. package/dist/managers/viewport-manager.d.ts +53 -0
  444. package/dist/managers/viewport-manager.js +198 -0
  445. package/dist/mermaid-parser.core-BPror82d.js +12966 -0
  446. package/dist/mindmap-definition-VGOIOE7T-VAn-EShH.js +784 -0
  447. package/dist/mocks/task-mock-generator.d.ts +13 -0
  448. package/dist/mocks/task-mock-generator.js +200 -0
  449. package/dist/model/api-response.d.ts +2 -7
  450. package/dist/model/api-response.js +0 -2
  451. package/dist/model/bundle.d.ts +35 -0
  452. package/dist/model/bundle.js +1 -0
  453. package/dist/model/channels.d.ts +8 -1
  454. package/dist/model/channels.js +7 -0
  455. package/dist/model/drawer-content.d.ts +80 -0
  456. package/dist/model/drawer-content.js +14 -0
  457. package/dist/model/formable.js +22 -11
  458. package/dist/model/github.d.ts +125 -0
  459. package/dist/model/github.js +1 -0
  460. package/dist/model/graph.d.ts +15 -15
  461. package/dist/model/graph.js +24 -4
  462. package/dist/model/media-type.js +2 -2
  463. package/dist/model/node_type.d.ts +4 -0
  464. package/dist/model/node_type.js +4 -0
  465. package/dist/model/panel-state.d.ts +1 -0
  466. package/dist/model/rolodex.d.ts +3 -0
  467. package/dist/model/task.d.ts +50 -0
  468. package/dist/model/task.js +22 -0
  469. package/dist/model/timeline.d.ts +107 -1
  470. package/dist/model/tree-icon-config.d.ts +11 -0
  471. package/dist/model/tree-icon-config.js +46 -0
  472. package/dist/model/workspace.d.ts +2 -0
  473. package/dist/monacoeditorwork/css.worker.bundle.js +9 -7
  474. package/dist/monacoeditorwork/editor.worker.bundle.js +2 -0
  475. package/dist/monacoeditorwork/html.worker.bundle.js +9 -7
  476. package/dist/monacoeditorwork/json.worker.bundle.js +9 -7
  477. package/dist/monacoeditorwork/yaml.worker..bundle.js +72 -48
  478. package/dist/ordinal-DfAQgscy.js +61 -0
  479. package/dist/packet-BFZMPI3H-CXPCK9Q2.js +5 -0
  480. package/dist/pie-7BOR55EZ-CMcuUZ_S.js +5 -0
  481. package/dist/pieDiagram-ADFJNKIX-C0kdlQqn.js +161 -0
  482. package/dist/quadrantDiagram-AYHSOK5B-CRVq6wY3.js +1022 -0
  483. package/dist/radar-NHE76QYJ-CX_Gyp4h.js +5 -0
  484. package/dist/requirementDiagram-UZGBJVZJ-B8ZGgMKn.js +850 -0
  485. package/dist/sankeyDiagram-TZEHDZUN-CWAUJJue.js +810 -0
  486. package/dist/sequenceDiagram-WL72ISMW-nz81a4Cq.js +2511 -0
  487. package/dist/services/diagramatron-service.d.ts +20 -0
  488. package/dist/services/diagramatron-service.js +48 -0
  489. package/dist/services/doctor-events.d.ts +58 -0
  490. package/dist/services/doctor-events.js +33 -0
  491. package/dist/services/drawer-content-registry.d.ts +9 -0
  492. package/dist/services/drawer-content-registry.js +37 -0
  493. package/dist/services/github-service.d.ts +9 -0
  494. package/dist/services/github-service.js +166 -0
  495. package/dist/services/global-task-service.d.ts +6 -0
  496. package/dist/services/global-task-service.js +27 -0
  497. package/dist/services/header-service.d.ts +5 -3
  498. package/dist/services/header-service.js +13 -0
  499. package/dist/services/linting-service.d.ts +2 -0
  500. package/dist/services/linting-service.js +19 -2
  501. package/dist/services/mermaid-config-service.d.ts +53 -0
  502. package/dist/services/mermaid-config-service.js +519 -0
  503. package/dist/services/model-service.d.ts +12 -7
  504. package/dist/services/model-service.js +64 -11
  505. package/dist/services/rodeo-service.js +12 -12
  506. package/dist/services/timeline-service.d.ts +12 -2
  507. package/dist/services/timeline-service.js +329 -0
  508. package/dist/services/wallet-service.d.ts +1 -1
  509. package/dist/services/wallet-service.js +4 -1
  510. package/dist/services/workspace-service.js +16 -2
  511. package/dist/stateDiagram-FKZM4ZOC-3PFzJlcG.js +263 -0
  512. package/dist/stateDiagram-v2-4FDKWEC3-Bp46vM6_.js +16 -0
  513. package/dist/timeline-definition-IT6M3QCI-utm7jTLb.js +795 -0
  514. package/dist/treemap-KMMF4GRG-BvEKHn43.js +5 -0
  515. package/dist/utils/language-utils.d.ts +1 -0
  516. package/dist/utils/language-utils.js +23 -0
  517. package/dist/utils/lru-cache.d.ts +11 -0
  518. package/dist/utils/lru-cache.js +38 -0
  519. package/dist/utils/node-helpers.d.ts +6 -0
  520. package/dist/utils/node-helpers.js +62 -0
  521. package/dist/utils/path-utils.d.ts +5 -0
  522. package/dist/utils/path-utils.js +22 -0
  523. package/dist/workers/elk-layout.worker.d.ts +2 -0
  524. package/dist/workers/elk-layout.worker.js +31 -0
  525. package/dist/workers/equalizer.worker.d.ts +6 -1
  526. package/dist/workers/equalizer.worker.js +144 -195
  527. package/dist/workers/graph-dependent.worker.js +6 -6
  528. package/dist/workers/rule-documentation.worker.js +12 -48
  529. package/dist/workers/search-graph.worker.js +8 -23
  530. package/dist/xychartDiagram-PRI3JC2R-twqDKWMX.js +1340 -0
  531. package/package.json +17 -10
  532. package/dist/assets/equalizer.worker-DyLD5JTU.js +0 -1
  533. package/dist/assets/graph-dependent.worker-CpVhp0-T.js +0 -1
  534. package/dist/assets/rule-documentation.worker-B7xOWY5M.js +0 -1
  535. package/dist/assets/search-graph.worker-B9zqINrO.js +0 -1
  536. package/dist/assets/search-problems.worker-BAF8L2rX.js +0 -1
  537. package/dist/components/problem-list/details-drawer.d.ts +0 -34
  538. package/dist/components/problem-list/details-drawer.js +0 -200
  539. package/dist/style.css +0 -1
  540. /package/dist/components/{problem-list/details-drawer.css.d.ts → bundle-toolbar/bundle-toolbar.css.d.ts} +0 -0
@@ -0,0 +1,841 @@
1
+ import { g as Dt } from "./chunk-55IACEB6-DgHUzWsw.js";
2
+ import { s as wt } from "./chunk-QN33PNHL-D7uE2r1Y.js";
3
+ import { _ as u, b as Vt, a as Lt, s as Mt, g as Bt, p as Ft, q as Yt, c as tt, l as D, y as Pt, x as zt, A as Gt, B as Kt, o as Zt, r as Ut, d as jt, u as Wt } from "./cowboy-components-BcyXo9oX.js";
4
+ import { c as Qt } from "./channel-DYeI56io.js";
5
+ var dt = (function() {
6
+ var s = /* @__PURE__ */ u(function(R, n, a, c) {
7
+ for (a = a || {}, c = R.length; c--; a[R[c]] = n) ;
8
+ return a;
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
+ trace: /* @__PURE__ */ u(function() {
11
+ }, "trace"),
12
+ yy: {},
13
+ symbols_: { error: 2, start: 3, ER_DIAGRAM: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, entityName: 11, relSpec: 12, COLON: 13, role: 14, STYLE_SEPARATOR: 15, idList: 16, BLOCK_START: 17, attributes: 18, BLOCK_STOP: 19, SQS: 20, SQE: 21, title: 22, title_value: 23, acc_title: 24, acc_title_value: 25, acc_descr: 26, acc_descr_value: 27, acc_descr_multiline_value: 28, direction: 29, classDefStatement: 30, classStatement: 31, styleStatement: 32, direction_tb: 33, direction_bt: 34, direction_rl: 35, direction_lr: 36, CLASSDEF: 37, stylesOpt: 38, separator: 39, UNICODE_TEXT: 40, STYLE_TEXT: 41, COMMA: 42, CLASS: 43, STYLE: 44, style: 45, styleComponent: 46, SEMI: 47, NUM: 48, BRKT: 49, ENTITY_NAME: 50, attribute: 51, attributeType: 52, attributeName: 53, attributeKeyTypeList: 54, attributeComment: 55, ATTRIBUTE_WORD: 56, attributeKeyType: 57, ",": 58, ATTRIBUTE_KEY: 59, COMMENT: 60, cardinality: 61, relType: 62, ZERO_OR_ONE: 63, ZERO_OR_MORE: 64, ONE_OR_MORE: 65, ONLY_ONE: 66, MD_PARENT: 67, NON_IDENTIFYING: 68, IDENTIFYING: 69, WORD: 70, $accept: 0, $end: 1 },
14
+ terminals_: { 2: "error", 4: "ER_DIAGRAM", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 13: "COLON", 15: "STYLE_SEPARATOR", 17: "BLOCK_START", 19: "BLOCK_STOP", 20: "SQS", 21: "SQE", 22: "title", 23: "title_value", 24: "acc_title", 25: "acc_title_value", 26: "acc_descr", 27: "acc_descr_value", 28: "acc_descr_multiline_value", 33: "direction_tb", 34: "direction_bt", 35: "direction_rl", 36: "direction_lr", 37: "CLASSDEF", 40: "UNICODE_TEXT", 41: "STYLE_TEXT", 42: "COMMA", 43: "CLASS", 44: "STYLE", 47: "SEMI", 48: "NUM", 49: "BRKT", 50: "ENTITY_NAME", 56: "ATTRIBUTE_WORD", 58: ",", 59: "ATTRIBUTE_KEY", 60: "COMMENT", 63: "ZERO_OR_ONE", 64: "ZERO_OR_MORE", 65: "ONE_OR_MORE", 66: "ONLY_ONE", 67: "MD_PARENT", 68: "NON_IDENTIFYING", 69: "IDENTIFYING", 70: "WORD" },
15
+ productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 5], [9, 9], [9, 7], [9, 7], [9, 4], [9, 6], [9, 3], [9, 5], [9, 1], [9, 3], [9, 7], [9, 9], [9, 6], [9, 8], [9, 4], [9, 6], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [29, 1], [29, 1], [29, 1], [29, 1], [30, 4], [16, 1], [16, 1], [16, 3], [16, 3], [31, 3], [32, 4], [38, 1], [38, 3], [45, 1], [45, 2], [39, 1], [39, 1], [39, 1], [46, 1], [46, 1], [46, 1], [46, 1], [11, 1], [11, 1], [18, 1], [18, 2], [51, 2], [51, 3], [51, 3], [51, 4], [52, 1], [53, 1], [54, 1], [54, 3], [57, 1], [55, 1], [12, 3], [61, 1], [61, 1], [61, 1], [61, 1], [61, 1], [62, 1], [62, 1], [14, 1], [14, 1], [14, 1]],
16
+ performAction: /* @__PURE__ */ u(function(n, a, c, r, p, t, K) {
17
+ var e = t.length - 1;
18
+ switch (p) {
19
+ case 1:
20
+ break;
21
+ case 2:
22
+ this.$ = [];
23
+ break;
24
+ case 3:
25
+ t[e - 1].push(t[e]), this.$ = t[e - 1];
26
+ break;
27
+ case 4:
28
+ case 5:
29
+ this.$ = t[e];
30
+ break;
31
+ case 6:
32
+ case 7:
33
+ this.$ = [];
34
+ break;
35
+ case 8:
36
+ r.addEntity(t[e - 4]), r.addEntity(t[e - 2]), r.addRelationship(t[e - 4], t[e], t[e - 2], t[e - 3]);
37
+ break;
38
+ case 9:
39
+ r.addEntity(t[e - 8]), r.addEntity(t[e - 4]), r.addRelationship(t[e - 8], t[e], t[e - 4], t[e - 5]), r.setClass([t[e - 8]], t[e - 6]), r.setClass([t[e - 4]], t[e - 2]);
40
+ break;
41
+ case 10:
42
+ r.addEntity(t[e - 6]), r.addEntity(t[e - 2]), r.addRelationship(t[e - 6], t[e], t[e - 2], t[e - 3]), r.setClass([t[e - 6]], t[e - 4]);
43
+ break;
44
+ case 11:
45
+ r.addEntity(t[e - 6]), r.addEntity(t[e - 4]), r.addRelationship(t[e - 6], t[e], t[e - 4], t[e - 5]), r.setClass([t[e - 4]], t[e - 2]);
46
+ break;
47
+ case 12:
48
+ r.addEntity(t[e - 3]), r.addAttributes(t[e - 3], t[e - 1]);
49
+ break;
50
+ case 13:
51
+ r.addEntity(t[e - 5]), r.addAttributes(t[e - 5], t[e - 1]), r.setClass([t[e - 5]], t[e - 3]);
52
+ break;
53
+ case 14:
54
+ r.addEntity(t[e - 2]);
55
+ break;
56
+ case 15:
57
+ r.addEntity(t[e - 4]), r.setClass([t[e - 4]], t[e - 2]);
58
+ break;
59
+ case 16:
60
+ r.addEntity(t[e]);
61
+ break;
62
+ case 17:
63
+ r.addEntity(t[e - 2]), r.setClass([t[e - 2]], t[e]);
64
+ break;
65
+ case 18:
66
+ r.addEntity(t[e - 6], t[e - 4]), r.addAttributes(t[e - 6], t[e - 1]);
67
+ break;
68
+ case 19:
69
+ r.addEntity(t[e - 8], t[e - 6]), r.addAttributes(t[e - 8], t[e - 1]), r.setClass([t[e - 8]], t[e - 3]);
70
+ break;
71
+ case 20:
72
+ r.addEntity(t[e - 5], t[e - 3]);
73
+ break;
74
+ case 21:
75
+ r.addEntity(t[e - 7], t[e - 5]), r.setClass([t[e - 7]], t[e - 2]);
76
+ break;
77
+ case 22:
78
+ r.addEntity(t[e - 3], t[e - 1]);
79
+ break;
80
+ case 23:
81
+ r.addEntity(t[e - 5], t[e - 3]), r.setClass([t[e - 5]], t[e]);
82
+ break;
83
+ case 24:
84
+ case 25:
85
+ this.$ = t[e].trim(), r.setAccTitle(this.$);
86
+ break;
87
+ case 26:
88
+ case 27:
89
+ this.$ = t[e].trim(), r.setAccDescription(this.$);
90
+ break;
91
+ case 32:
92
+ r.setDirection("TB");
93
+ break;
94
+ case 33:
95
+ r.setDirection("BT");
96
+ break;
97
+ case 34:
98
+ r.setDirection("RL");
99
+ break;
100
+ case 35:
101
+ r.setDirection("LR");
102
+ break;
103
+ case 36:
104
+ this.$ = t[e - 3], r.addClass(t[e - 2], t[e - 1]);
105
+ break;
106
+ case 37:
107
+ case 38:
108
+ case 56:
109
+ case 64:
110
+ this.$ = [t[e]];
111
+ break;
112
+ case 39:
113
+ case 40:
114
+ this.$ = t[e - 2].concat([t[e]]);
115
+ break;
116
+ case 41:
117
+ this.$ = t[e - 2], r.setClass(t[e - 1], t[e]);
118
+ break;
119
+ case 42:
120
+ this.$ = t[e - 3], r.addCssStyles(t[e - 2], t[e - 1]);
121
+ break;
122
+ case 43:
123
+ this.$ = [t[e]];
124
+ break;
125
+ case 44:
126
+ t[e - 2].push(t[e]), this.$ = t[e - 2];
127
+ break;
128
+ case 46:
129
+ this.$ = t[e - 1] + t[e];
130
+ break;
131
+ case 54:
132
+ case 76:
133
+ case 77:
134
+ this.$ = t[e].replace(/"/g, "");
135
+ break;
136
+ case 55:
137
+ case 78:
138
+ this.$ = t[e];
139
+ break;
140
+ case 57:
141
+ t[e].push(t[e - 1]), this.$ = t[e];
142
+ break;
143
+ case 58:
144
+ this.$ = { type: t[e - 1], name: t[e] };
145
+ break;
146
+ case 59:
147
+ this.$ = { type: t[e - 2], name: t[e - 1], keys: t[e] };
148
+ break;
149
+ case 60:
150
+ this.$ = { type: t[e - 2], name: t[e - 1], comment: t[e] };
151
+ break;
152
+ case 61:
153
+ this.$ = { type: t[e - 3], name: t[e - 2], keys: t[e - 1], comment: t[e] };
154
+ break;
155
+ case 62:
156
+ case 63:
157
+ case 66:
158
+ this.$ = t[e];
159
+ break;
160
+ case 65:
161
+ t[e - 2].push(t[e]), this.$ = t[e - 2];
162
+ break;
163
+ case 67:
164
+ this.$ = t[e].replace(/"/g, "");
165
+ break;
166
+ case 68:
167
+ this.$ = { cardA: t[e], relType: t[e - 1], cardB: t[e - 2] };
168
+ break;
169
+ case 69:
170
+ this.$ = r.Cardinality.ZERO_OR_ONE;
171
+ break;
172
+ case 70:
173
+ this.$ = r.Cardinality.ZERO_OR_MORE;
174
+ break;
175
+ case 71:
176
+ this.$ = r.Cardinality.ONE_OR_MORE;
177
+ break;
178
+ case 72:
179
+ this.$ = r.Cardinality.ONLY_ONE;
180
+ break;
181
+ case 73:
182
+ this.$ = r.Cardinality.MD_PARENT;
183
+ break;
184
+ case 74:
185
+ this.$ = r.Identification.NON_IDENTIFYING;
186
+ break;
187
+ case 75:
188
+ this.$ = r.Identification.IDENTIFYING;
189
+ break;
190
+ }
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: 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
+ defaultActions: { 52: [2, 62], 72: [2, 57] },
194
+ parseError: /* @__PURE__ */ u(function(n, a) {
195
+ if (a.recoverable)
196
+ this.trace(n);
197
+ else {
198
+ var c = new Error(n);
199
+ throw c.hash = a, c;
200
+ }
201
+ }, "parseError"),
202
+ parse: /* @__PURE__ */ u(function(n) {
203
+ var a = this, c = [0], r = [], p = [null], t = [], K = this.table, e = "", H = 0, St = 0, xt = 2, Tt = 1, It = t.slice.call(arguments, 1), f = Object.create(this.lexer), x = { yy: {} };
204
+ for (var lt in this.yy)
205
+ Object.prototype.hasOwnProperty.call(this.yy, lt) && (x.yy[lt] = this.yy[lt]);
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
+ t.push(ot);
209
+ var Ct = f.options && f.options.ranges;
210
+ typeof x.yy.parseError == "function" ? this.parseError = x.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
211
+ function vt(b) {
212
+ c.length = c.length - 2 * b, p.length = p.length - b, t.length = t.length - b;
213
+ }
214
+ u(vt, "popStack");
215
+ function Ot() {
216
+ var 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
+ }
219
+ u(Ot, "lex");
220
+ for (var g, I, m, ht, v = {}, J, k, At, $; ; ) {
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
+ var ut = "";
223
+ $ = [];
224
+ for (J in K[I])
225
+ this.terminals_[J] && J > xt && $.push("'" + this.terminals_[J] + "'");
226
+ f.showPosition ? ut = "Parse error on line " + (H + 1) + `:
227
+ ` + f.showPosition() + `
228
+ Expecting ` + $.join(", ") + ", got '" + (this.terminals_[g] || g) + "'" : ut = "Parse error on line " + (H + 1) + ": Unexpected " + (g == Tt ? "end of input" : "'" + (this.terminals_[g] || g) + "'"), this.parseError(ut, {
229
+ text: f.match,
230
+ token: this.terminals_[g] || g,
231
+ line: f.yylineno,
232
+ loc: ot,
233
+ expected: $
234
+ });
235
+ }
236
+ if (m[0] instanceof Array && m.length > 1)
237
+ throw new Error("Parse Error: multiple actions possible at state: " + I + ", token: " + g);
238
+ switch (m[0]) {
239
+ case 1:
240
+ c.push(g), p.push(f.yytext), t.push(f.yylloc), c.push(m[1]), g = null, St = f.yyleng, e = f.yytext, H = f.yylineno, ot = f.yylloc;
241
+ break;
242
+ case 2:
243
+ if (k = this.productions_[m[1]][1], v.$ = p[p.length - k], v._$ = {
244
+ first_line: t[t.length - (k || 1)].first_line,
245
+ last_line: t[t.length - 1].last_line,
246
+ first_column: t[t.length - (k || 1)].first_column,
247
+ last_column: t[t.length - 1].last_column
248
+ }, Ct && (v._$.range = [
249
+ t[t.length - (k || 1)].range[0],
250
+ t[t.length - 1].range[1]
251
+ ]), ht = this.performAction.apply(v, [
252
+ e,
253
+ St,
254
+ H,
255
+ x.yy,
256
+ m[1],
257
+ p,
258
+ t
259
+ ].concat(It)), typeof ht < "u")
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(v.$), t.push(v._$), At = K[c[c.length - 2]][c[c.length - 1]], c.push(At);
262
+ break;
263
+ case 3:
264
+ return !0;
265
+ }
266
+ }
267
+ return !0;
268
+ }, "parse")
269
+ }, Rt = /* @__PURE__ */ (function() {
270
+ var R = {
271
+ EOF: 1,
272
+ parseError: /* @__PURE__ */ u(function(a, c) {
273
+ if (this.yy.parser)
274
+ this.yy.parser.parseError(a, c);
275
+ else
276
+ throw new Error(a);
277
+ }, "parseError"),
278
+ // resets the lexer, sets new input
279
+ setInput: /* @__PURE__ */ u(function(n, a) {
280
+ return this.yy = a || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
281
+ first_line: 1,
282
+ first_column: 0,
283
+ last_line: 1,
284
+ last_column: 0
285
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
286
+ }, "setInput"),
287
+ // consumes and returns one char from the input
288
+ input: /* @__PURE__ */ u(function() {
289
+ var n = this._input[0];
290
+ this.yytext += n, this.yyleng++, this.offset++, this.match += n, this.matched += n;
291
+ var a = n.match(/(?:\r\n?|\n).*/g);
292
+ return a ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), n;
293
+ }, "input"),
294
+ // unshifts one char (or a string) into the input
295
+ unput: /* @__PURE__ */ u(function(n) {
296
+ var a = n.length, c = n.split(/(?:\r\n?|\n)/g);
297
+ this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - a), this.offset -= a;
298
+ var r = this.match.split(/(?:\r\n?|\n)/g);
299
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), c.length - 1 && (this.yylineno -= c.length - 1);
300
+ var p = this.yylloc.range;
301
+ return this.yylloc = {
302
+ first_line: this.yylloc.first_line,
303
+ last_line: this.yylineno + 1,
304
+ first_column: this.yylloc.first_column,
305
+ last_column: c ? (c.length === r.length ? this.yylloc.first_column : 0) + r[r.length - c.length].length - c[0].length : this.yylloc.first_column - a
306
+ }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - a]), this.yyleng = this.yytext.length, this;
307
+ }, "unput"),
308
+ // When called from action, caches matched text and appends it on next action
309
+ more: /* @__PURE__ */ u(function() {
310
+ return this._more = !0, this;
311
+ }, "more"),
312
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
313
+ reject: /* @__PURE__ */ u(function() {
314
+ if (this.options.backtrack_lexer)
315
+ this._backtrack = !0;
316
+ else
317
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
318
+ ` + this.showPosition(), {
319
+ text: "",
320
+ token: null,
321
+ line: this.yylineno
322
+ });
323
+ return this;
324
+ }, "reject"),
325
+ // retain first n characters of the match
326
+ less: /* @__PURE__ */ u(function(n) {
327
+ this.unput(this.match.slice(n));
328
+ }, "less"),
329
+ // displays already matched input, i.e. for error messages
330
+ pastInput: /* @__PURE__ */ u(function() {
331
+ var n = this.matched.substr(0, this.matched.length - this.match.length);
332
+ return (n.length > 20 ? "..." : "") + n.substr(-20).replace(/\n/g, "");
333
+ }, "pastInput"),
334
+ // displays upcoming input, i.e. for error messages
335
+ upcomingInput: /* @__PURE__ */ u(function() {
336
+ var n = this.match;
337
+ return n.length < 20 && (n += this._input.substr(0, 20 - n.length)), (n.substr(0, 20) + (n.length > 20 ? "..." : "")).replace(/\n/g, "");
338
+ }, "upcomingInput"),
339
+ // displays the character position where the lexing error occurred, i.e. for error messages
340
+ showPosition: /* @__PURE__ */ u(function() {
341
+ var n = this.pastInput(), a = new Array(n.length + 1).join("-");
342
+ return n + this.upcomingInput() + `
343
+ ` + a + "^";
344
+ }, "showPosition"),
345
+ // test the lexed token: return FALSE when not a match, otherwise return token
346
+ test_match: /* @__PURE__ */ u(function(n, a) {
347
+ var c, r, p;
348
+ if (this.options.backtrack_lexer && (p = {
349
+ yylineno: this.yylineno,
350
+ yylloc: {
351
+ first_line: this.yylloc.first_line,
352
+ last_line: this.last_line,
353
+ first_column: this.yylloc.first_column,
354
+ last_column: this.yylloc.last_column
355
+ },
356
+ yytext: this.yytext,
357
+ match: this.match,
358
+ matches: this.matches,
359
+ matched: this.matched,
360
+ yyleng: this.yyleng,
361
+ offset: this.offset,
362
+ _more: this._more,
363
+ _input: this._input,
364
+ yy: this.yy,
365
+ conditionStack: this.conditionStack.slice(0),
366
+ done: this.done
367
+ }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), r = n[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
368
+ first_line: this.yylloc.last_line,
369
+ last_line: this.yylineno + 1,
370
+ first_column: this.yylloc.last_column,
371
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + n[0].length
372
+ }, this.yytext += n[0], this.match += n[0], this.matches = n, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(n[0].length), this.matched += n[0], c = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c)
373
+ return c;
374
+ if (this._backtrack) {
375
+ for (var t in p)
376
+ this[t] = p[t];
377
+ return !1;
378
+ }
379
+ return !1;
380
+ }, "test_match"),
381
+ // return next match in input
382
+ next: /* @__PURE__ */ u(function() {
383
+ if (this.done)
384
+ return this.EOF;
385
+ this._input || (this.done = !0);
386
+ var n, a, c, r;
387
+ this._more || (this.yytext = "", this.match = "");
388
+ for (var p = this._currentRules(), t = 0; t < p.length; t++)
389
+ if (c = this._input.match(this.rules[p[t]]), c && (!a || c[0].length > a[0].length)) {
390
+ if (a = c, r = t, this.options.backtrack_lexer) {
391
+ if (n = this.test_match(c, p[t]), n !== !1)
392
+ return n;
393
+ if (this._backtrack) {
394
+ a = !1;
395
+ continue;
396
+ } else
397
+ return !1;
398
+ } else if (!this.options.flex)
399
+ break;
400
+ }
401
+ return a ? (n = this.test_match(a, p[r]), n !== !1 ? n : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
402
+ ` + this.showPosition(), {
403
+ text: "",
404
+ token: null,
405
+ line: this.yylineno
406
+ });
407
+ }, "next"),
408
+ // return next match that has a token
409
+ lex: /* @__PURE__ */ u(function() {
410
+ var a = this.next();
411
+ return a || this.lex();
412
+ }, "lex"),
413
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
414
+ begin: /* @__PURE__ */ u(function(a) {
415
+ this.conditionStack.push(a);
416
+ }, "begin"),
417
+ // pop the previously active lexer condition state off the condition stack
418
+ popState: /* @__PURE__ */ u(function() {
419
+ var a = this.conditionStack.length - 1;
420
+ return a > 0 ? this.conditionStack.pop() : this.conditionStack[0];
421
+ }, "popState"),
422
+ // produce the lexer rule set which is active for the currently active lexer condition state
423
+ _currentRules: /* @__PURE__ */ u(function() {
424
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
425
+ }, "_currentRules"),
426
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
427
+ topState: /* @__PURE__ */ u(function(a) {
428
+ return a = this.conditionStack.length - 1 - Math.abs(a || 0), a >= 0 ? this.conditionStack[a] : "INITIAL";
429
+ }, "topState"),
430
+ // alias for begin(condition)
431
+ pushState: /* @__PURE__ */ u(function(a) {
432
+ this.begin(a);
433
+ }, "pushState"),
434
+ // return the number of states currently on the stack
435
+ stateStackSize: /* @__PURE__ */ u(function() {
436
+ return this.conditionStack.length;
437
+ }, "stateStackSize"),
438
+ options: { "case-insensitive": !0 },
439
+ performAction: /* @__PURE__ */ u(function(a, c, r, p) {
440
+ switch (r) {
441
+ case 0:
442
+ return this.begin("acc_title"), 24;
443
+ case 1:
444
+ return this.popState(), "acc_title_value";
445
+ case 2:
446
+ return this.begin("acc_descr"), 26;
447
+ case 3:
448
+ return this.popState(), "acc_descr_value";
449
+ case 4:
450
+ this.begin("acc_descr_multiline");
451
+ break;
452
+ case 5:
453
+ this.popState();
454
+ break;
455
+ case 6:
456
+ return "acc_descr_multiline_value";
457
+ case 7:
458
+ return 33;
459
+ case 8:
460
+ return 34;
461
+ case 9:
462
+ return 35;
463
+ case 10:
464
+ return 36;
465
+ case 11:
466
+ return 10;
467
+ case 12:
468
+ break;
469
+ case 13:
470
+ return 8;
471
+ case 14:
472
+ return 50;
473
+ case 15:
474
+ return 70;
475
+ case 16:
476
+ return 4;
477
+ case 17:
478
+ return this.begin("block"), 17;
479
+ case 18:
480
+ return 49;
481
+ case 19:
482
+ return 49;
483
+ case 20:
484
+ return 42;
485
+ case 21:
486
+ return 15;
487
+ case 22:
488
+ return 13;
489
+ case 23:
490
+ break;
491
+ case 24:
492
+ return 59;
493
+ case 25:
494
+ return 56;
495
+ case 26:
496
+ return 56;
497
+ case 27:
498
+ return 60;
499
+ case 28:
500
+ break;
501
+ case 29:
502
+ return this.popState(), 19;
503
+ case 30:
504
+ return c.yytext[0];
505
+ case 31:
506
+ return 20;
507
+ case 32:
508
+ return 21;
509
+ case 33:
510
+ return this.begin("style"), 44;
511
+ case 34:
512
+ return this.popState(), 10;
513
+ case 35:
514
+ break;
515
+ case 36:
516
+ return 13;
517
+ case 37:
518
+ return 42;
519
+ case 38:
520
+ return 49;
521
+ case 39:
522
+ return this.begin("style"), 37;
523
+ case 40:
524
+ return 43;
525
+ case 41:
526
+ return 63;
527
+ case 42:
528
+ return 65;
529
+ case 43:
530
+ return 65;
531
+ case 44:
532
+ return 65;
533
+ case 45:
534
+ return 63;
535
+ case 46:
536
+ return 63;
537
+ case 47:
538
+ return 64;
539
+ case 48:
540
+ return 64;
541
+ case 49:
542
+ return 64;
543
+ case 50:
544
+ return 64;
545
+ case 51:
546
+ return 64;
547
+ case 52:
548
+ return 65;
549
+ case 53:
550
+ return 64;
551
+ case 54:
552
+ return 65;
553
+ case 55:
554
+ return 66;
555
+ case 56:
556
+ return 66;
557
+ case 57:
558
+ return 66;
559
+ case 58:
560
+ return 66;
561
+ case 59:
562
+ return 63;
563
+ case 60:
564
+ return 64;
565
+ case 61:
566
+ return 65;
567
+ case 62:
568
+ return 67;
569
+ case 63:
570
+ return 68;
571
+ case 64:
572
+ return 69;
573
+ case 65:
574
+ return 69;
575
+ case 66:
576
+ return 68;
577
+ case 67:
578
+ return 68;
579
+ case 68:
580
+ return 68;
581
+ case 69:
582
+ return 41;
583
+ case 70:
584
+ return 47;
585
+ case 71:
586
+ return 40;
587
+ case 72:
588
+ return 48;
589
+ case 73:
590
+ return c.yytext[0];
591
+ case 74:
592
+ return 6;
593
+ }
594
+ }, "anonymous"),
595
+ rules: [/^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:[\s]+)/i, /^(?:"[^"%\r\n\v\b\\]+")/i, /^(?:"[^"]*")/i, /^(?:erDiagram\b)/i, /^(?:\{)/i, /^(?:#)/i, /^(?:#)/i, /^(?:,)/i, /^(?::::)/i, /^(?::)/i, /^(?:\s+)/i, /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i, /^(?:([^\s]*)[~].*[~]([^\s]*))/i, /^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i, /^(?:"[^"]*")/i, /^(?:[\n]+)/i, /^(?:\})/i, /^(?:.)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:style\b)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?::)/i, /^(?:,)/i, /^(?:#)/i, /^(?:classDef\b)/i, /^(?:class\b)/i, /^(?:one or zero\b)/i, /^(?:one or more\b)/i, /^(?:one or many\b)/i, /^(?:1\+)/i, /^(?:\|o\b)/i, /^(?:zero or one\b)/i, /^(?:zero or more\b)/i, /^(?:zero or many\b)/i, /^(?:0\+)/i, /^(?:\}o\b)/i, /^(?:many\(0\))/i, /^(?:many\(1\))/i, /^(?:many\b)/i, /^(?:\}\|)/i, /^(?:one\b)/i, /^(?:only one\b)/i, /^(?:1\b)/i, /^(?:\|\|)/i, /^(?:o\|)/i, /^(?:o\{)/i, /^(?:\|\{)/i, /^(?:\s*u\b)/i, /^(?:\.\.)/i, /^(?:--)/i, /^(?:to\b)/i, /^(?:optionally to\b)/i, /^(?:\.-)/i, /^(?:-\.)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:;)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:[0-9])/i, /^(?:.)/i, /^(?:$)/i],
596
+ conditions: { style: { rules: [34, 35, 36, 37, 38, 69, 70], inclusive: !1 }, acc_descr_multiline: { rules: [5, 6], inclusive: !1 }, acc_descr: { rules: [3], inclusive: !1 }, acc_title: { rules: [1], inclusive: !1 }, block: { rules: [23, 24, 25, 26, 27, 28, 29, 30], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 31, 32, 33, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 71, 72, 73, 74], inclusive: !0 } }
597
+ };
598
+ return R;
599
+ })();
600
+ ct.lexer = Rt;
601
+ function q() {
602
+ this.yy = {};
603
+ }
604
+ return u(q, "Parser"), q.prototype = ct, ct.Parser = q, new q();
605
+ })();
606
+ dt.parser = dt;
607
+ var Xt = dt, w, qt = (w = class {
608
+ constructor() {
609
+ this.entities = /* @__PURE__ */ new Map(), this.relationships = [], this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.Cardinality = {
610
+ ZERO_OR_ONE: "ZERO_OR_ONE",
611
+ ZERO_OR_MORE: "ZERO_OR_MORE",
612
+ ONE_OR_MORE: "ONE_OR_MORE",
613
+ ONLY_ONE: "ONLY_ONE",
614
+ MD_PARENT: "MD_PARENT"
615
+ }, this.Identification = {
616
+ NON_IDENTIFYING: "NON_IDENTIFYING",
617
+ IDENTIFYING: "IDENTIFYING"
618
+ }, this.setAccTitle = Vt, this.getAccTitle = Lt, this.setAccDescription = Mt, this.getAccDescription = Bt, this.setDiagramTitle = Ft, this.getDiagramTitle = Yt, this.getConfig = /* @__PURE__ */ u(() => tt().er, "getConfig"), this.clear(), this.addEntity = this.addEntity.bind(this), this.addAttributes = this.addAttributes.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setDirection = this.setDirection.bind(this), this.addCssStyles = this.addCssStyles.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
619
+ }
620
+ /**
621
+ * Add entity
622
+ * @param name - The name of the entity
623
+ * @param alias - The alias of the entity
624
+ */
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, {
627
+ id: `entity-${i}-${this.entities.size}`,
628
+ label: i,
629
+ attributes: [],
630
+ alias: l,
631
+ shape: "erBox",
632
+ look: tt().look ?? "default",
633
+ cssClasses: "default",
634
+ cssStyles: []
635
+ }), D.info("Added new entity :", i)), this.entities.get(i);
636
+ }
637
+ getEntity(i) {
638
+ return this.entities.get(i);
639
+ }
640
+ getEntities() {
641
+ return this.entities;
642
+ }
643
+ getClasses() {
644
+ return this.classes;
645
+ }
646
+ addAttributes(i, l) {
647
+ const d = this.addEntity(i);
648
+ let o;
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);
651
+ }
652
+ /**
653
+ * Add a relationship
654
+ *
655
+ * @param entA - The first entity in the relationship
656
+ * @param rolA - The role played by the first entity in relation to the second
657
+ * @param entB - The second entity in the relationship
658
+ * @param rSpec - The details of the relationship between the two entities
659
+ */
660
+ addRelationship(i, l, d, o) {
661
+ const h = this.entities.get(i), y = this.entities.get(d);
662
+ if (!h || !y)
663
+ return;
664
+ const _ = {
665
+ entityA: h.id,
666
+ roleA: l,
667
+ entityB: y.id,
668
+ relSpec: o
669
+ };
670
+ this.relationships.push(_), D.debug("Added new relationship :", _);
671
+ }
672
+ getRelationships() {
673
+ return this.relationships;
674
+ }
675
+ getDirection() {
676
+ return this.direction;
677
+ }
678
+ setDirection(i) {
679
+ this.direction = i;
680
+ }
681
+ getCompiledStyles(i) {
682
+ let l = [];
683
+ for (const d of i) {
684
+ const o = this.classes.get(d);
685
+ o?.styles && (l = [...l, ...o.styles ?? []].map((h) => h.trim())), o?.textStyles && (l = [...l, ...o.textStyles ?? []].map((h) => h.trim()));
686
+ }
687
+ return l;
688
+ }
689
+ addCssStyles(i, l) {
690
+ for (const d of i) {
691
+ const o = this.entities.get(d);
692
+ if (!l || !o)
693
+ return;
694
+ for (const h of l)
695
+ o.cssStyles.push(h);
696
+ }
697
+ }
698
+ addClass(i, l) {
699
+ i.forEach((d) => {
700
+ let o = this.classes.get(d);
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);
705
+ }
706
+ o.styles.push(h);
707
+ });
708
+ });
709
+ }
710
+ setClass(i, l) {
711
+ for (const d of i) {
712
+ const o = this.entities.get(d);
713
+ if (o)
714
+ for (const h of l)
715
+ o.cssClasses += " " + h;
716
+ }
717
+ }
718
+ clear() {
719
+ this.entities = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.relationships = [], Pt();
720
+ }
721
+ getData() {
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));
726
+ }
727
+ let o = 0;
728
+ for (const h of this.relationships) {
729
+ const y = {
730
+ id: zt(h.entityA, h.entityB, {
731
+ prefix: "id",
732
+ counter: o++
733
+ }),
734
+ type: "normal",
735
+ curve: "basis",
736
+ start: h.entityA,
737
+ end: h.entityB,
738
+ label: h.roleA,
739
+ labelpos: "c",
740
+ thickness: "normal",
741
+ classes: "relationshipLine",
742
+ arrowTypeStart: h.relSpec.cardB.toLowerCase(),
743
+ arrowTypeEnd: h.relSpec.cardA.toLowerCase(),
744
+ pattern: h.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
745
+ look: d.look
746
+ };
747
+ l.push(y);
748
+ }
749
+ return { nodes: i, edges: l, other: {}, config: d, direction: "TB" };
750
+ }
751
+ }, u(w, "ErDB"), w), Nt = {};
752
+ Kt(Nt, {
753
+ draw: () => Ht
754
+ });
755
+ var Ht = /* @__PURE__ */ u(async function(s, i, l, d) {
756
+ D.info("REF0:"), D.info("Drawing er diagram (unified)", i);
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();
759
+ const V = E.selectAll('[id*="-background"]');
760
+ Array.from(V).length > 0 && V.each(function() {
761
+ const S = jt(this), U = S.attr("id").replace("-background", ""), T = E.select(`#${CSS.escape(U)}`);
762
+ if (!T.empty()) {
763
+ const L = T.attr("transform");
764
+ S.attr("transform", L);
765
+ }
766
+ });
767
+ const Z = 8;
768
+ Wt.insertTitle(
769
+ E,
770
+ "erDiagramTitleText",
771
+ h?.titleTopMargin ?? 25,
772
+ d.db.getDiagramTitle()
773
+ ), wt(E, Z, "erDiagram", h?.useMaxWidth ?? !0);
774
+ }, "draw"), Jt = /* @__PURE__ */ u((s, i) => {
775
+ const l = Qt, d = l(s, "r"), o = l(s, "g"), h = l(s, "b");
776
+ return Gt(d, o, h, i);
777
+ }, "fade"), $t = /* @__PURE__ */ u((s) => `
778
+ .entityBox {
779
+ fill: ${s.mainBkg};
780
+ stroke: ${s.nodeBorder};
781
+ }
782
+
783
+ .relationshipLabelBox {
784
+ fill: ${s.tertiaryColor};
785
+ opacity: 0.7;
786
+ background-color: ${s.tertiaryColor};
787
+ rect {
788
+ opacity: 0.5;
789
+ }
790
+ }
791
+
792
+ .labelBkg {
793
+ background-color: ${Jt(s.tertiaryColor, 0.5)};
794
+ }
795
+
796
+ .edgeLabel .label {
797
+ fill: ${s.nodeBorder};
798
+ font-size: 14px;
799
+ }
800
+
801
+ .label {
802
+ font-family: ${s.fontFamily};
803
+ color: ${s.nodeTextColor || s.textColor};
804
+ }
805
+
806
+ .edge-pattern-dashed {
807
+ stroke-dasharray: 8,8;
808
+ }
809
+
810
+ .node rect,
811
+ .node circle,
812
+ .node ellipse,
813
+ .node polygon
814
+ {
815
+ fill: ${s.mainBkg};
816
+ stroke: ${s.nodeBorder};
817
+ stroke-width: 1px;
818
+ }
819
+
820
+ .relationshipLine {
821
+ stroke: ${s.lineColor};
822
+ stroke-width: 1;
823
+ fill: none;
824
+ }
825
+
826
+ .marker {
827
+ fill: none !important;
828
+ stroke: ${s.lineColor} !important;
829
+ stroke-width: 1;
830
+ }
831
+ `, "getStyles"), te = $t, ne = {
832
+ parser: Xt,
833
+ get db() {
834
+ return new qt();
835
+ },
836
+ renderer: Nt,
837
+ styles: te
838
+ };
839
+ export {
840
+ ne as diagram
841
+ };