@nxgt/material-vue 0.16.0 → 0.19.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 (157) hide show
  1. package/README.md +4 -0
  2. package/dist/_baseIsEqual-Cj6hHjs0.js +226 -0
  3. package/dist/abnfDiagram-O67JEVCF-Cl_I9xuI.js +89 -0
  4. package/dist/arc-DNNg1pxp.js +80 -0
  5. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  6. package/dist/architectureDiagram-NJMV4G6O-CVS4UUCi.js +4146 -0
  7. package/dist/array-CApNbSU9.js +6 -0
  8. package/dist/blockDiagram-BEXU5L5S-B5Z0jbc8.js +1946 -0
  9. package/dist/c4Diagram-YGBWAQC7-B6jKsl3h.js +2990 -0
  10. package/dist/{camera-Cbd1TWFd.js → camera-oxz1xItP.js} +4 -4
  11. package/dist/channel-BA1GJyZ7.js +5 -0
  12. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  13. package/dist/chunk-3FUC2YCW-CX-v_TQz.js +364 -0
  14. package/dist/chunk-5DYCD2WN-B9vjeX2u.js +37 -0
  15. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  16. package/dist/chunk-6AEJRKK7-D9IaQdwq.js +10 -0
  17. package/dist/chunk-742MDFTN-BIhVe9GR.js +275 -0
  18. package/dist/chunk-7INBJB4K-CwPgdc2G.js +4487 -0
  19. package/dist/chunk-7M6MHVWA-Deh_-m6x.js +4256 -0
  20. package/dist/chunk-7PRAP22T-CofnNOEr.js +67 -0
  21. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  22. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  23. package/dist/chunk-GNY47TPC-rS2K544k.js +75 -0
  24. package/dist/chunk-GTNCS2PH-BR0O70z_.js +490 -0
  25. package/dist/chunk-GWA4HPMP-DU9lUCZD.js +61 -0
  26. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  27. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  28. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  29. package/dist/chunk-MBY4JIJT-HYVRUG_P.js +1847 -0
  30. package/dist/chunk-NETBCI7D-C8amwD_P.js +236 -0
  31. package/dist/chunk-O7XYJQB3-WMQqqzRb.js +3922 -0
  32. package/dist/chunk-UA2S7LBM-DtBatid7.js +363 -0
  33. package/dist/chunk-WEXAMYUT-Cc10h8ed.js +26 -0
  34. package/dist/chunk-XXDRQBXY-B2pGFcse.js +9 -0
  35. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  36. package/dist/chunk-Z7XXMR3K-CJmsOGTV.js +676 -0
  37. package/dist/chunk-ZIGJFQKS-DBdWb0bj.js +1366 -0
  38. package/dist/classDiagram-v2-NBCMYWYE-Caqw5P6A.js +3397 -0
  39. package/dist/{components-DLtnz66n.js → components-IbdMALGv.js} +43465 -18610
  40. package/dist/components.js +5 -5
  41. package/dist/{composables-BJ2GgDD0.js → composables-6zV0t-y7.js} +1 -1
  42. package/dist/composables.js +1 -1
  43. package/dist/cose-bilkent-JH36ORCC-DStMi-eo.js +2251 -0
  44. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  45. package/dist/cynefinDiagram-VND7K2PF-0Mq0e5NQ.js +349 -0
  46. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  47. package/dist/dagre-6A5THRUB-EHXNn6Wq.js +2192 -0
  48. package/dist/defaultLocale-DnzPsei5.js +201 -0
  49. package/dist/diagram-22UHCM2B-B3RAQlqQ.js +5084 -0
  50. package/dist/diagram-3UASUU5V-BznCZHss.js +525 -0
  51. package/dist/diagram-ATOU4E4O-DtIUxSAn.js +432 -0
  52. package/dist/diagram-CDSNMT55-DOjN3BR2.js +301 -0
  53. package/dist/diagram-MLGK6HIB-Dx2UboD6.js +134 -0
  54. package/dist/diagram-MPIPVDR6-DnPL3RV0.js +214 -0
  55. package/dist/dist-D9zvfe2i.js +59 -0
  56. package/dist/{dnd-Cmcrm28l.js → dnd-CaDeYjQx.js} +1 -1
  57. package/dist/dnd.js +1 -1
  58. package/dist/ebnfDiagram-ZINNZB2B-BNbxCL0b.js +100 -0
  59. package/dist/elk-276RUBZZ-B9WeHolc.js +47597 -0
  60. package/dist/erDiagram-OPXOYQCR-DReZElBu.js +1970 -0
  61. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  62. package/dist/flowDiagram-KWPJA3E3-DYss4vEI.js +17 -0
  63. package/dist/ganttDiagram-FUAMR5RP-64EZDDmC.js +3083 -0
  64. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  65. package/dist/gitGraphDiagram-X574FWY7-DmMMrp5A.js +729 -0
  66. package/dist/graphlib-CrmIPC4m.js +372 -0
  67. package/dist/{i18n-DmMS3ID3.js → i18n-OBzfa-B7.js} +233 -924
  68. package/dist/i18n.js +2 -2
  69. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  70. package/dist/infoDiagram-VRGFBTTK-XlBUAu0t.js +20 -0
  71. package/dist/init-MwSGRDIl.js +15 -0
  72. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  73. package/dist/isEmpty-CMjyBU-a.js +136 -0
  74. package/dist/ishikawaDiagram-OU5B5YK6-C9cMWMPO.js +719 -0
  75. package/dist/journeyDiagram-ZHPQQLJL-DXdfP9BW.js +884 -0
  76. package/dist/kanban-definition-PNTS6WVX-DhOBy3A0.js +976 -0
  77. package/dist/katex-BMQ6LGsM.js +21962 -0
  78. package/dist/lib/components/index.d.ts +4 -0
  79. package/dist/lib/components/ui/chat/chat-composer-mentions.vue.d.ts +13 -0
  80. package/dist/lib/components/ui/chat/chat-composer.vue.d.ts +6 -2
  81. package/dist/lib/components/ui/contacts/consts.d.ts +1 -1
  82. package/dist/lib/components/ui/emoji/emoji-list.vue.d.ts +11 -0
  83. package/dist/lib/components/ui/emoji/emoji-picker.vue.d.ts +12 -0
  84. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  85. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  86. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  87. package/dist/lib/components/ui/markdown/index.d.ts +2 -0
  88. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +10 -0
  89. package/dist/lib/components/ui/markdown/markdown.vue.d.ts +10 -0
  90. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  91. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.vue.d.ts +7 -0
  92. package/dist/lib/components/ui/mentions/index.d.ts +4 -0
  93. package/dist/lib/components/ui/mentions/mention-list.vue.d.ts +16 -0
  94. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  95. package/dist/lib/components/ui/mentions/types.d.ts +5 -0
  96. package/dist/lib/components/ui/terminal/index.d.ts +3 -0
  97. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  98. package/dist/lib/components/ui/terminal/terminal.vue.d.ts +17 -0
  99. package/dist/lib/i18n/resources/en/index.d.ts +7 -0
  100. package/dist/lib/i18n/resources/en/material.json.d.ts +7 -0
  101. package/dist/lib/i18n/resources/fr/index.d.ts +7 -0
  102. package/dist/lib/i18n/resources/fr/material.json.d.ts +7 -0
  103. package/dist/lib/i18n/resources/index.d.ts +14 -0
  104. package/dist/lib/i18n/translator.d.ts +1 -1
  105. package/dist/lib/nuxt/component-names.d.ts +1 -1
  106. package/dist/lib-B9AHrvmh.js +389 -0
  107. package/dist/lib.js +1 -1
  108. package/dist/line-UP6dkL36.js +34 -0
  109. package/dist/linear-bD_QoED_.js +289 -0
  110. package/dist/main.js +9 -9
  111. package/dist/material-vue.css +1 -1
  112. package/dist/merge-B4IBXGaq.js +170 -0
  113. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  114. package/dist/mermaid.core-C_Rtflmc.js +1096 -0
  115. package/dist/mindmap-definition-NLK3R4M7-CO6s2Afv.js +1008 -0
  116. package/dist/ordinal-D_ZgubzR.js +65 -0
  117. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  118. package/dist/path-DGNPZRdx.js +85 -0
  119. package/dist/{pdf-outline-sidebar-BBXJRwdt.js → pdf-outline-sidebar-D5VedBgk.js} +3 -2
  120. package/dist/{pdf-page-DZyTFukn.js → pdf-page-B1Ze518d.js} +1 -1
  121. package/dist/{pdf-page-list-C3GukJ3_.js → pdf-page-list-CBJziavm.js} +3 -2
  122. package/dist/{pdf-reader-Ci4v2Ff9.js → pdf-reader-Cn1uxtJN.js} +13 -13
  123. package/dist/{pdf-sidebar-Dl8fQStG.js → pdf-sidebar-PXfgGlmq.js} +4 -4
  124. package/dist/{pdf-thumbnail-sidebar-GS_V0PGc.js → pdf-thumbnail-sidebar-7agqWsXT.js} +4 -3
  125. package/dist/{pdf-toolbar-D37w-WIK.js → pdf-toolbar-Blm9CFvh.js} +22 -21
  126. package/dist/pegDiagram-GJSIUBJH-gvsGke9W.js +94 -0
  127. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  128. package/dist/pieDiagram-5QR66LMP-DLBcErnI.js +205 -0
  129. package/dist/quadrantDiagram-O4NWA36T-Bn3CmGxM.js +2001 -0
  130. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  131. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  132. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  133. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  134. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  135. package/dist/railroadDiagram-XR7U4H2S-DLeBxWbV.js +76 -0
  136. package/dist/requirementDiagram-PLB6GJNP-JpWB5sEv.js +2228 -0
  137. package/dist/rolldown-runtime-CWhphoD1.js +23 -0
  138. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  139. package/dist/sankeyDiagram-IPEJSGJF-a4rFl5rR.js +970 -0
  140. package/dist/sequenceDiagram-PO4LG4MO-CjUigcL2.js +4200 -0
  141. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  142. package/dist/src-CNRY2AUH.js +2142 -0
  143. package/dist/stateDiagram-v2-GCMORJYK-DJkVDIb0.js +2143 -0
  144. package/dist/{stx-player-C0FOaRjU.js → stx-player-rs3uH0iI.js} +17 -17
  145. package/dist/swimlanes-2SLR337P-D7Ff0hLr.js +4763 -0
  146. package/dist/swimlanesDiagram-TC7HE7FX-DZZ9d76C.js +28 -0
  147. package/dist/timeline-definition-EJHVYXUP-C0aHlt9K.js +1073 -0
  148. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  149. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  150. package/dist/usecaseDiagram-POWQR4AR-BrRAt7Wu.js +9932 -0
  151. package/dist/vennDiagram-UO4OBE2U-B22Jhju8.js +1880 -0
  152. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  153. package/dist/wardleyDiagram-VNRHLVJA-Dw4YgRiQ.js +645 -0
  154. package/dist/xychartDiagram-PMCCYNJV-DtuDs9I7.js +2214 -0
  155. package/lib/nuxt/component-names.ts +2 -0
  156. package/package.json +5 -1
  157. package/dist/lib-CT0uRn8S.js +0 -611
package/README.md CHANGED
@@ -574,9 +574,13 @@ Every field takes `label`, `helperText`, `error`, `required`, `disabled` and
574
574
  | `Kanban` | Board with columns, swimlane groups, WIP limits, drag-and-drop, search and quick add. | `Kanban` |
575
575
  | `EventCalendar` | Month, week, work-week, day and agenda views; drag, resize and create events. | `EventCalendar` |
576
576
  | `BarChart`, `LineChart`, `AreaChart`, `PieChart`, `RadarChart`, `ScatterChart`, `HeatmapChart`, `FunnelChart`, `ChartContainer` | ECharts wrappers themed from the CSS tokens, with loading and empty states. | `BarChart`, `LineChart`, `AreaChart`, `PieChart`, `RadarChart`, `ScatterChart`, `HeatmapChart`, `FunnelChart`, `ChartContainer` |
577
+ | `EmojiPicker`, `EmojiList` | Shared picker. ChatComposer `emojis`, Markdown `:shortcode:`, RTE toolbar. | `EmojiPicker`, `EmojiList` |
578
+ | `MentionList` | `@` mention list from an `items` prop (local search). ChatComposer and the RTE suggestion list use it. | `MentionList` |
577
579
  | `RichTextEditor` · `RichTextEditorFormField` | Tiptap editor: toolbar, tables, images, mentions, callouts, character limit. | `RichTextEditor` · `RichTextEditorFormField` |
578
580
  | `CodeEditor` | Monaco editor with a language picker and word wrap (client-only). | `CodeEditor` · `CodeEditorFormField` |
579
581
  | `CodeBlock`, `CodeDiff`, `JsonViewer`, `CodeGroup` | Highlighted code, side-by-side diff, collapsible JSON tree, and tabbed samples. | `CodeBlock`, `CodeDiff`, `JsonViewer`, `CodeGroup` |
582
+ | `Markdown` | GFM markdown with KaTeX math and mermaid diagrams (`clientOnly`). Fences reuse `CodeBlock`. `ChatMarkdown` renders through it. | `Markdown` |
583
+ | `Terminal` | Display-only log with prompt, copy, and error/input tones. Container queries. | `Terminal` |
580
584
  | `ApiEndpoint`, `ApiOperation` | HTTP method badge, path and copy; `ApiOperation` adds a param table and example `CodeGroup`. | `ApiEndpoint`, `ApiOperation` |
581
585
  | `ParamTable` | Name / type / default / description table; stacked cards below `sm`. | `ParamTable` |
582
586
  | `StxPlayer`, `StxPlayerProvider`, `StxPlayerViewport`, `StxPlayerControls`, `StxPlayerQueue`, `StxPlayerMini`, `StxPlayerExtras` | Audio/video player with a queue, captions and a `full` or `mini` layout (client-only). `VideoPlayer` is a deprecated alias. | `StxPlayer`, `StxPlayerProvider`, `StxPlayerViewport`, `StxPlayerControls`, `StxPlayerQueue`, `StxPlayerMini`, `StxPlayerExtras` |
@@ -0,0 +1,226 @@
1
+ import { A as e, B as t, F as n, R as r, T as i, V as a, b as o, d as s, h as c, i as l, j as u, m as d, p as f, r as p, u as m, v as h, x as g, z as _ } from "./isArrayLikeObject-VG1KOJ3m.js";
2
+ //#region node_modules/lodash-es/_WeakMap.js
3
+ var v = e(a, "WeakMap"), y = f(Object.keys, Object), b = Object.prototype.hasOwnProperty;
4
+ function x(e) {
5
+ if (!o(e)) return y(e);
6
+ var t = [];
7
+ for (var n in Object(e)) b.call(e, n) && n != "constructor" && t.push(n);
8
+ return t;
9
+ }
10
+ //#endregion
11
+ //#region node_modules/lodash-es/keys.js
12
+ function S(e) {
13
+ return g(e) ? d(e) : x(e);
14
+ }
15
+ //#endregion
16
+ //#region node_modules/lodash-es/_arrayPush.js
17
+ function C(e, t) {
18
+ for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
19
+ return e;
20
+ }
21
+ //#endregion
22
+ //#region node_modules/lodash-es/_arrayFilter.js
23
+ function w(e, t) {
24
+ for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
25
+ var o = e[n];
26
+ t(o, n, e) && (a[i++] = o);
27
+ }
28
+ return a;
29
+ }
30
+ //#endregion
31
+ //#region node_modules/lodash-es/stubArray.js
32
+ function T() {
33
+ return [];
34
+ }
35
+ //#endregion
36
+ //#region node_modules/lodash-es/_getSymbols.js
37
+ var ee = Object.prototype.propertyIsEnumerable, E = Object.getOwnPropertySymbols, D = E ? function(e) {
38
+ return e == null ? [] : (e = Object(e), w(E(e), function(t) {
39
+ return ee.call(e, t);
40
+ }));
41
+ } : T;
42
+ //#endregion
43
+ //#region node_modules/lodash-es/_baseGetAllKeys.js
44
+ function O(e, t, r) {
45
+ var i = t(e);
46
+ return n(e) ? i : C(i, r(e));
47
+ }
48
+ //#endregion
49
+ //#region node_modules/lodash-es/_getAllKeys.js
50
+ function k(e) {
51
+ return O(e, S, D);
52
+ }
53
+ //#endregion
54
+ //#region node_modules/lodash-es/_DataView.js
55
+ var A = e(a, "DataView"), j = e(a, "Promise"), M = e(a, "Set"), N = "[object Map]", te = "[object Object]", P = "[object Promise]", F = "[object Set]", I = "[object WeakMap]", L = "[object DataView]", ne = u(A), R = u(s), re = u(j), ie = u(M), ae = u(v), z = _;
56
+ (A && z(new A(/* @__PURE__ */ new ArrayBuffer(1))) != L || s && z(new s()) != N || j && z(j.resolve()) != P || M && z(new M()) != F || v && z(new v()) != I) && (z = function(e) {
57
+ var t = _(e), n = t == te ? e.constructor : void 0, r = n ? u(n) : "";
58
+ if (r) switch (r) {
59
+ case ne: return L;
60
+ case R: return N;
61
+ case re: return P;
62
+ case ie: return F;
63
+ case ae: return I;
64
+ }
65
+ return t;
66
+ });
67
+ var B = z, oe = "__lodash_hash_undefined__";
68
+ function se(e) {
69
+ return this.__data__.set(e, oe), this;
70
+ }
71
+ //#endregion
72
+ //#region node_modules/lodash-es/_setCacheHas.js
73
+ function ce(e) {
74
+ return this.__data__.has(e);
75
+ }
76
+ //#endregion
77
+ //#region node_modules/lodash-es/_SetCache.js
78
+ function V(e) {
79
+ var t = -1, n = e == null ? 0 : e.length;
80
+ for (this.__data__ = new m(); ++t < n;) this.add(e[t]);
81
+ }
82
+ V.prototype.add = V.prototype.push = se, V.prototype.has = ce;
83
+ //#endregion
84
+ //#region node_modules/lodash-es/_arraySome.js
85
+ function le(e, t) {
86
+ for (var n = -1, r = e == null ? 0 : e.length; ++n < r;) if (t(e[n], n, e)) return !0;
87
+ return !1;
88
+ }
89
+ //#endregion
90
+ //#region node_modules/lodash-es/_cacheHas.js
91
+ function H(e, t) {
92
+ return e.has(t);
93
+ }
94
+ //#endregion
95
+ //#region node_modules/lodash-es/_equalArrays.js
96
+ var U = 1, ue = 2;
97
+ function W(e, t, n, r, i, a) {
98
+ var o = n & U, s = e.length, c = t.length;
99
+ if (s != c && !(o && c > s)) return !1;
100
+ var l = a.get(e), u = a.get(t);
101
+ if (l && u) return l == t && u == e;
102
+ var d = -1, f = !0, p = n & ue ? new V() : void 0;
103
+ for (a.set(e, t), a.set(t, e); ++d < s;) {
104
+ var m = e[d], h = t[d];
105
+ if (r) var g = o ? r(h, m, d, t, e, a) : r(m, h, d, e, t, a);
106
+ if (g !== void 0) {
107
+ if (g) continue;
108
+ f = !1;
109
+ break;
110
+ }
111
+ if (p) {
112
+ if (!le(t, function(e, t) {
113
+ if (!H(p, t) && (m === e || i(m, e, n, r, a))) return p.push(t);
114
+ })) {
115
+ f = !1;
116
+ break;
117
+ }
118
+ } else if (!(m === h || i(m, h, n, r, a))) {
119
+ f = !1;
120
+ break;
121
+ }
122
+ }
123
+ return a.delete(e), a.delete(t), f;
124
+ }
125
+ //#endregion
126
+ //#region node_modules/lodash-es/_mapToArray.js
127
+ function de(e) {
128
+ var t = -1, n = Array(e.size);
129
+ return e.forEach(function(e, r) {
130
+ n[++t] = [r, e];
131
+ }), n;
132
+ }
133
+ //#endregion
134
+ //#region node_modules/lodash-es/_setToArray.js
135
+ function G(e) {
136
+ var t = -1, n = Array(e.size);
137
+ return e.forEach(function(e) {
138
+ n[++t] = e;
139
+ }), n;
140
+ }
141
+ //#endregion
142
+ //#region node_modules/lodash-es/_equalByTag.js
143
+ var fe = 1, pe = 2, me = "[object Boolean]", he = "[object Date]", ge = "[object Error]", _e = "[object Map]", ve = "[object Number]", ye = "[object RegExp]", be = "[object Set]", xe = "[object String]", Se = "[object Symbol]", Ce = "[object ArrayBuffer]", we = "[object DataView]", K = t ? t.prototype : void 0, q = K ? K.valueOf : void 0;
144
+ function Te(e, t, n, r, a, o, s) {
145
+ switch (n) {
146
+ case we:
147
+ if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
148
+ e = e.buffer, t = t.buffer;
149
+ case Ce: return !(e.byteLength != t.byteLength || !o(new p(e), new p(t)));
150
+ case me:
151
+ case he:
152
+ case ve: return i(+e, +t);
153
+ case ge: return e.name == t.name && e.message == t.message;
154
+ case ye:
155
+ case xe: return e == t + "";
156
+ case _e: var c = de;
157
+ case be:
158
+ var l = r & fe;
159
+ if (c ||= G, e.size != t.size && !l) return !1;
160
+ var u = s.get(e);
161
+ if (u) return u == t;
162
+ r |= pe, s.set(e, t);
163
+ var d = W(c(e), c(t), r, a, o, s);
164
+ return s.delete(e), d;
165
+ case Se: if (q) return q.call(e) == q.call(t);
166
+ }
167
+ return !1;
168
+ }
169
+ //#endregion
170
+ //#region node_modules/lodash-es/_equalObjects.js
171
+ var J = 1, Ee = Object.prototype.hasOwnProperty;
172
+ function De(e, t, n, r, i, a) {
173
+ var o = n & J, s = k(e), c = s.length;
174
+ if (c != k(t).length && !o) return !1;
175
+ for (var l = c; l--;) {
176
+ var u = s[l];
177
+ if (!(o ? u in t : Ee.call(t, u))) return !1;
178
+ }
179
+ var d = a.get(e), f = a.get(t);
180
+ if (d && f) return d == t && f == e;
181
+ var p = !0;
182
+ a.set(e, t), a.set(t, e);
183
+ for (var m = o; ++l < c;) {
184
+ u = s[l];
185
+ var h = e[u], g = t[u];
186
+ if (r) var _ = o ? r(g, h, u, t, e, a) : r(h, g, u, e, t, a);
187
+ if (!(_ === void 0 ? h === g || i(h, g, n, r, a) : _)) {
188
+ p = !1;
189
+ break;
190
+ }
191
+ m ||= u == "constructor";
192
+ }
193
+ if (p && !m) {
194
+ var v = e.constructor, y = t.constructor;
195
+ v != y && "constructor" in e && "constructor" in t && !(typeof v == "function" && v instanceof v && typeof y == "function" && y instanceof y) && (p = !1);
196
+ }
197
+ return a.delete(e), a.delete(t), p;
198
+ }
199
+ //#endregion
200
+ //#region node_modules/lodash-es/_baseIsEqualDeep.js
201
+ var Oe = 1, Y = "[object Arguments]", X = "[object Array]", Z = "[object Object]", Q = Object.prototype.hasOwnProperty;
202
+ function ke(e, t, r, i, a, o) {
203
+ var s = n(e), u = n(t), d = s ? X : B(e), f = u ? X : B(t);
204
+ d = d == Y ? Z : d, f = f == Y ? Z : f;
205
+ var p = d == Z, m = f == Z, g = d == f;
206
+ if (g && h(e)) {
207
+ if (!h(t)) return !1;
208
+ s = !0, p = !1;
209
+ }
210
+ if (g && !p) return o ||= new l(), s || c(e) ? W(e, t, r, i, a, o) : Te(e, t, d, r, i, a, o);
211
+ if (!(r & Oe)) {
212
+ var _ = p && Q.call(e, "__wrapped__"), v = m && Q.call(t, "__wrapped__");
213
+ if (_ || v) {
214
+ var y = _ ? e.value() : e, b = v ? t.value() : t;
215
+ return o ||= new l(), a(y, b, r, i, o);
216
+ }
217
+ }
218
+ return g ? (o ||= new l(), De(e, t, r, i, a, o)) : !1;
219
+ }
220
+ //#endregion
221
+ //#region node_modules/lodash-es/_baseIsEqual.js
222
+ function $(e, t, n, i, a) {
223
+ return e === t ? !0 : e == null || t == null || !r(e) && !r(t) ? e !== e && t !== t : ke(e, t, n, i, $, a);
224
+ }
225
+ //#endregion
226
+ export { B as a, O as c, w as d, C as f, V as i, D as l, x as m, G as n, M as o, S as p, H as r, k as s, $ as t, T as u };
@@ -0,0 +1,89 @@
1
+ import { m as e, t } from "./mermaid-parser.core-Cz-MfB4Z.js";
2
+ import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ import { m as r } from "./src-CNRY2AUH.js";
4
+ import "./chunk-O7XYJQB3-WMQqqzRb.js";
5
+ import "./chunk-6AEJRKK7-D9IaQdwq.js";
6
+ import { n as i, r as a, t as o } from "./chunk-GTNCS2PH-BR0O70z_.js";
7
+ import { t as s } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
8
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/abnfDiagram-O67JEVCF.mjs
9
+ var c = e().RailroadAbnf.parser.LangiumParser, l = /* @__PURE__ */ n((e) => {
10
+ let t = e.alternatives.map(u);
11
+ return t.length === 1 ? t[0] : {
12
+ type: "choice",
13
+ alternatives: t
14
+ };
15
+ }, "transformAlternation"), u = /* @__PURE__ */ n((e) => {
16
+ let t = e.elements.map(f);
17
+ return t.length === 1 ? t[0] : {
18
+ type: "sequence",
19
+ elements: t
20
+ };
21
+ }, "transformConcatenation"), d = /* @__PURE__ */ n((e) => {
22
+ if (e.includes("*")) {
23
+ let [t, n] = e.split("*");
24
+ return {
25
+ min: t ? parseInt(t, 10) : 0,
26
+ max: n ? parseInt(n, 10) : Infinity
27
+ };
28
+ }
29
+ let t = parseInt(e, 10);
30
+ return {
31
+ min: t,
32
+ max: t
33
+ };
34
+ }, "parseRepeat"), f = /* @__PURE__ */ n((e) => {
35
+ let t = p(e.primary);
36
+ if (!e.repeat) return t;
37
+ let { min: n, max: r } = d(e.repeat);
38
+ return n === 0 && r === 1 ? {
39
+ type: "optional",
40
+ element: t
41
+ } : {
42
+ type: "repetition",
43
+ element: t,
44
+ min: n,
45
+ max: r
46
+ };
47
+ }, "transformElement"), p = /* @__PURE__ */ n((e) => {
48
+ switch (e.$type) {
49
+ case "AbnfStringLiteral": return {
50
+ type: "terminal",
51
+ value: e.value
52
+ };
53
+ case "AbnfNumVal": return {
54
+ type: "terminal",
55
+ value: e.value
56
+ };
57
+ case "AbnfRuleName": return {
58
+ type: "nonterminal",
59
+ name: e.name
60
+ };
61
+ case "AbnfGroup": return l(e.element);
62
+ case "AbnfOptionalGroup": return {
63
+ type: "optional",
64
+ element: l(e.element)
65
+ };
66
+ default: throw Error(`Unsupported ABNF primary node: ${e.$type}`);
67
+ }
68
+ }, "transformPrimary"), m = /* @__PURE__ */ n((e) => ({
69
+ name: e.name,
70
+ definition: l(e.definition)
71
+ }), "transformRule"), h = /* @__PURE__ */ n((e) => {
72
+ s(e, o), e.title && o.setTitle(e.title), e.rules.map((e) => o.addRule(m(e)));
73
+ }, "populateDb"), g = {
74
+ parser: {
75
+ parse: /* @__PURE__ */ n((e) => {
76
+ o.clear(), r.debug("[ABNF Parser] Starting Langium parse");
77
+ let n = c.parse(e);
78
+ if (n.lexerErrors.length > 0 || n.parserErrors.length > 0) throw new t(n);
79
+ let i = n.value;
80
+ r.debug("[ABNF Parser] Parsed rules:", i.rules.length), h(i), r.debug("[ABNF Parser] Parse complete");
81
+ }, "parse"),
82
+ parser: { yy: o }
83
+ },
84
+ db: o,
85
+ renderer: a,
86
+ styles: i
87
+ };
88
+ //#endregion
89
+ export { g as diagram };
@@ -0,0 +1,80 @@
1
+ import { n as e, t } from "./path-DGNPZRdx.js";
2
+ import { a as n, c as r, d as i, f as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, u as p } from "./dist-D9zvfe2i.js";
3
+ //#region node_modules/d3-shape/src/arc.js
4
+ function m(e) {
5
+ return e.innerRadius;
6
+ }
7
+ function h(e) {
8
+ return e.outerRadius;
9
+ }
10
+ function g(e) {
11
+ return e.startAngle;
12
+ }
13
+ function _(e) {
14
+ return e.endAngle;
15
+ }
16
+ function v(e) {
17
+ return e && e.padAngle;
18
+ }
19
+ function y(e, t, n, r, i, a, o, s) {
20
+ var c = n - e, l = r - t, u = o - i, d = s - a, f = d * c - u * l;
21
+ if (!(f * f < 1e-12)) return f = (u * (t - a) - d * (e - i)) / f, [e + f * c, t + f * l];
22
+ }
23
+ function b(e, t, n, r, i, a, o) {
24
+ var c = e - n, l = t - r, u = (o ? a : -a) / d(c * c + l * l), f = u * l, p = -u * c, m = e + f, h = t + p, g = n + f, _ = r + p, v = (m + g) / 2, y = (h + _) / 2, b = g - m, x = _ - h, S = b * b + x * x, C = i - a, w = m * _ - g * h, T = (x < 0 ? -1 : 1) * d(s(0, C * C * S - w * w)), E = (w * x - b * T) / S, D = (-w * b - x * T) / S, O = (w * x + b * T) / S, k = (-w * b + x * T) / S, A = E - v, j = D - y, M = O - v, N = k - y;
25
+ return A * A + j * j > M * M + N * N && (E = O, D = k), {
26
+ cx: E,
27
+ cy: D,
28
+ x01: -f,
29
+ y01: -p,
30
+ x11: E * (i / C - 1),
31
+ y11: D * (i / C - 1)
32
+ };
33
+ }
34
+ function x() {
35
+ var s = m, x = h, S = e(0), C = null, w = g, T = _, E = v, D = null, O = t(k);
36
+ function k() {
37
+ var e, t, m = +s.apply(this, arguments), h = +x.apply(this, arguments), g = w.apply(this, arguments) - r, _ = T.apply(this, arguments) - r, v = l(_ - g), k = _ > g;
38
+ if (D ||= e = O(), h < m && (t = h, h = m, m = t), !(h > 1e-12)) D.moveTo(0, 0);
39
+ else if (v > c - 1e-12) D.moveTo(h * u(g), h * a(g)), D.arc(0, 0, h, g, _, !k), m > 1e-12 && (D.moveTo(m * u(_), m * a(_)), D.arc(0, 0, m, _, g, k));
40
+ else {
41
+ var A = g, j = _, M = g, N = _, P = v, F = v, I = E.apply(this, arguments) / 2, L = I > 1e-12 && (C ? +C.apply(this, arguments) : d(m * m + h * h)), R = p(l(h - m) / 2, +S.apply(this, arguments)), z = R, B = R, V, H;
42
+ if (L > 1e-12) {
43
+ var U = o(L / m * a(I)), W = o(L / h * a(I));
44
+ (P -= U * 2) > 1e-12 ? (U *= k ? 1 : -1, M += U, N -= U) : (P = 0, M = N = (g + _) / 2), (F -= W * 2) > 1e-12 ? (W *= k ? 1 : -1, A += W, j -= W) : (F = 0, A = j = (g + _) / 2);
45
+ }
46
+ var G = h * u(A), K = h * a(A), q = m * u(N), J = m * a(N);
47
+ if (R > 1e-12) {
48
+ var Y = h * u(j), X = h * a(j), Z = m * u(M), Q = m * a(M), $;
49
+ if (v < i) if ($ = y(G, K, Z, Q, Y, X, q, J)) {
50
+ var ee = G - $[0], te = K - $[1], ne = Y - $[0], re = X - $[1], ie = 1 / a(f((ee * ne + te * re) / (d(ee * ee + te * te) * d(ne * ne + re * re))) / 2), ae = d($[0] * $[0] + $[1] * $[1]);
51
+ z = p(R, (m - ae) / (ie - 1)), B = p(R, (h - ae) / (ie + 1));
52
+ } else z = B = 0;
53
+ }
54
+ F > 1e-12 ? B > 1e-12 ? (V = b(Z, Q, G, K, h, B, k), H = b(Y, X, q, J, h, B, k), D.moveTo(V.cx + V.x01, V.cy + V.y01), B < R ? D.arc(V.cx, V.cy, B, n(V.y01, V.x01), n(H.y01, H.x01), !k) : (D.arc(V.cx, V.cy, B, n(V.y01, V.x01), n(V.y11, V.x11), !k), D.arc(0, 0, h, n(V.cy + V.y11, V.cx + V.x11), n(H.cy + H.y11, H.cx + H.x11), !k), D.arc(H.cx, H.cy, B, n(H.y11, H.x11), n(H.y01, H.x01), !k))) : (D.moveTo(G, K), D.arc(0, 0, h, A, j, !k)) : D.moveTo(G, K), !(m > 1e-12) || !(P > 1e-12) ? D.lineTo(q, J) : z > 1e-12 ? (V = b(q, J, Y, X, m, -z, k), H = b(G, K, Z, Q, m, -z, k), D.lineTo(V.cx + V.x01, V.cy + V.y01), z < R ? D.arc(V.cx, V.cy, z, n(V.y01, V.x01), n(H.y01, H.x01), !k) : (D.arc(V.cx, V.cy, z, n(V.y01, V.x01), n(V.y11, V.x11), !k), D.arc(0, 0, m, n(V.cy + V.y11, V.cx + V.x11), n(H.cy + H.y11, H.cx + H.x11), k), D.arc(H.cx, H.cy, z, n(H.y11, H.x11), n(H.y01, H.x01), !k))) : D.arc(0, 0, m, N, M, k);
55
+ }
56
+ if (D.closePath(), e) return D = null, e + "" || null;
57
+ }
58
+ return k.centroid = function() {
59
+ var e = (+s.apply(this, arguments) + +x.apply(this, arguments)) / 2, t = (+w.apply(this, arguments) + +T.apply(this, arguments)) / 2 - i / 2;
60
+ return [u(t) * e, a(t) * e];
61
+ }, k.innerRadius = function(t) {
62
+ return arguments.length ? (s = typeof t == "function" ? t : e(+t), k) : s;
63
+ }, k.outerRadius = function(t) {
64
+ return arguments.length ? (x = typeof t == "function" ? t : e(+t), k) : x;
65
+ }, k.cornerRadius = function(t) {
66
+ return arguments.length ? (S = typeof t == "function" ? t : e(+t), k) : S;
67
+ }, k.padRadius = function(t) {
68
+ return arguments.length ? (C = t == null ? null : typeof t == "function" ? t : e(+t), k) : C;
69
+ }, k.startAngle = function(t) {
70
+ return arguments.length ? (w = typeof t == "function" ? t : e(+t), k) : w;
71
+ }, k.endAngle = function(t) {
72
+ return arguments.length ? (T = typeof t == "function" ? t : e(+t), k) : T;
73
+ }, k.padAngle = function(t) {
74
+ return arguments.length ? (E = typeof t == "function" ? t : e(+t), k) : E;
75
+ }, k.context = function(e) {
76
+ return arguments.length ? (D = e ?? null, k) : D;
77
+ }, k;
78
+ }
79
+ //#endregion
80
+ export { x as t };
@@ -0,0 +1,3 @@
1
+ import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
+ import { M as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
+ export { e as createArchitectureServices };