@nxgt/material 1.12.3 → 1.16.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.
- package/README.md +5 -1
- package/dist/abnfDiagram-O67JEVCF-mm89LXw2.js +89 -0
- package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
- package/dist/architectureDiagram-NJMV4G6O-CGoA5SIv.js +4146 -0
- package/dist/array-CApNbSU9.js +6 -0
- package/dist/blockDiagram-BEXU5L5S-Dq8gitB4.js +1946 -0
- package/dist/c4Diagram-YGBWAQC7-DO_alqIu.js +2990 -0
- package/dist/channel-1fT-W0NS.js +5 -0
- package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
- package/dist/chunk-3FUC2YCW-C3yD2fMw.js +364 -0
- package/dist/chunk-5DYCD2WN-Dn2jrYde.js +37 -0
- package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
- package/dist/chunk-6AEJRKK7-JyfUnUEu.js +10 -0
- package/dist/chunk-742MDFTN-BbWkrtj2.js +275 -0
- package/dist/chunk-7INBJB4K-C3x7JNTG.js +4487 -0
- package/dist/chunk-7M6MHVWA-Cc7UTu4b.js +4256 -0
- package/dist/chunk-7PRAP22T-C8rsGRvH.js +67 -0
- package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
- package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
- package/dist/chunk-GNY47TPC-d-Bi8r0p.js +75 -0
- package/dist/chunk-GTNCS2PH-CTS015lZ.js +490 -0
- package/dist/chunk-GWA4HPMP-B4pgM-E1.js +61 -0
- package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
- package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
- package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
- package/dist/chunk-MBY4JIJT-Dg6AeftH.js +1847 -0
- package/dist/chunk-NETBCI7D-TXZM0vKz.js +236 -0
- package/dist/chunk-O7XYJQB3-md6vjVm4.js +3922 -0
- package/dist/chunk-UA2S7LBM-DQTYPe9y.js +363 -0
- package/dist/chunk-WEXAMYUT-DmKWJz6y.js +26 -0
- package/dist/chunk-XXDRQBXY-C9XIYQdM.js +9 -0
- package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
- package/dist/chunk-Z7XXMR3K-BoDf6lxl.js +677 -0
- package/dist/chunk-ZIGJFQKS-CP5430fN.js +663 -0
- package/dist/classDiagram-v2-NBCMYWYE-6KoTmufe.js +3397 -0
- package/dist/components.js +3 -3
- package/dist/cose-bilkent-JH36ORCC-CejnZl_t.js +2251 -0
- package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
- package/dist/cynefinDiagram-VND7K2PF-DZnc0dlm.js +349 -0
- package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
- package/dist/dagre-6A5THRUB-cuS57NO5.js +2192 -0
- package/dist/diagram-22UHCM2B-zQSFmH0t.js +5084 -0
- package/dist/diagram-3UASUU5V-D45Fgu1j.js +724 -0
- package/dist/diagram-ATOU4E4O-YMtQnlqd.js +432 -0
- package/dist/diagram-CDSNMT55-DP7UmEW1.js +301 -0
- package/dist/diagram-MLGK6HIB-WvSqrTRC.js +134 -0
- package/dist/diagram-MPIPVDR6-C2F3__mt.js +214 -0
- package/dist/dist-1DdJvBEt.js +50 -0
- package/dist/{dist-DGsPFADz.js → dist-DppLdkXt.js} +2 -2
- package/dist/dnd.js +2 -2
- package/dist/ebnfDiagram-ZINNZB2B-BZC6cSiy.js +100 -0
- package/dist/elk-276RUBZZ-7DJf1MEV.js +47598 -0
- package/dist/erDiagram-OPXOYQCR-YKlEVEF0.js +1970 -0
- package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
- package/dist/flowDiagram-KWPJA3E3-DyLvzIlg.js +17 -0
- package/dist/ganttDiagram-FUAMR5RP-KIaOrYOF.js +2928 -0
- package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
- package/dist/gitGraphDiagram-X574FWY7-DpFW-7JE.js +729 -0
- package/dist/graphlib-DFaO_iIU.js +372 -0
- package/dist/{hooks-BjSuqEof.js → hooks-C5xy0u03.js} +1 -1
- package/dist/hooks.js +1 -1
- package/dist/{i18n-DmVqVJXj.js → i18n-Cech9IAc.js} +328 -843
- package/dist/i18n.js +1 -1
- package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
- package/dist/infoDiagram-VRGFBTTK-H3F-BCnu.js +20 -0
- package/dist/init-Buj1GKRa.js +27 -0
- package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
- package/dist/ishikawaDiagram-OU5B5YK6-DgQDmcF3.js +719 -0
- package/dist/journeyDiagram-ZHPQQLJL-CanDOlfn.js +884 -0
- package/dist/kanban-definition-PNTS6WVX-DmnUgxgb.js +976 -0
- package/dist/katex-BMQ6LGsM.js +21962 -0
- package/dist/lib/components/index.d.ts +4 -0
- package/dist/lib/components/ui/action-card.d.ts +1 -1
- package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +8 -0
- package/dist/lib/components/ui/chat/chat-composer.d.ts +5 -1
- package/dist/lib/components/ui/chat/chat-markdown.d.ts +2 -2
- package/dist/lib/components/ui/emoji/emoji-list.d.ts +5 -0
- package/dist/lib/components/ui/emoji/emoji-picker.d.ts +7 -0
- package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
- package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/emoji/index.d.ts +4 -0
- package/dist/lib/components/ui/emoji/types.d.ts +6 -0
- package/dist/lib/components/ui/entity-header.stories.d.ts +1 -0
- package/dist/lib/components/ui/kanban/kanban.stories.d.ts +1 -0
- package/dist/lib/components/ui/markdown/index.d.ts +3 -0
- package/dist/lib/components/ui/markdown/markdown.d.ts +7 -0
- package/dist/lib/components/ui/markdown/markdown.stories.d.ts +14 -0
- package/dist/lib/components/ui/markdown/markdown.test.d.ts +1 -0
- package/dist/lib/components/ui/markdown/markdown.utils.d.ts +1 -0
- package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
- package/dist/lib/components/ui/markdown/partials/markdown-code.d.ts +2 -0
- package/dist/lib/components/ui/markdown/partials/mermaid-diagram.d.ts +4 -0
- package/dist/lib/components/ui/mentions/index.d.ts +3 -0
- package/dist/lib/components/ui/mentions/mention-list.d.ts +8 -0
- package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
- package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/mentions/types.d.ts +7 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +12 -1
- package/dist/lib/components/ui/terminal/index.d.ts +2 -0
- package/dist/lib/components/ui/terminal/terminal.d.ts +11 -0
- package/dist/lib/components/ui/terminal/terminal.stories.d.ts +14 -0
- package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
- package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +1 -0
- package/dist/lib/i18n/resources/en/index.d.ts +13 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +14 -1
- package/dist/lib/i18n/resources/fr/index.d.ts +13 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +14 -1
- package/dist/lib/i18n/resources/index.d.ts +26 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/{lib-B1KXma-r.js → lib-Bbw5QPoj.js} +472 -471
- package/dist/lib.js +2 -2
- package/dist/{main-Cw-Yaqo9.js → main-BjDU9FDM.js} +58614 -29566
- package/dist/main.js +6 -6
- package/dist/material.css +1 -1
- package/dist/math-C5EhTgJw.js +10 -0
- package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
- package/dist/mermaid.core-BI1sunfX.js +1096 -0
- package/dist/mindmap-definition-NLK3R4M7-DW0BIU_q.js +1008 -0
- package/dist/ordinal-DuP05kVQ.js +65 -0
- package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
- package/dist/path-Cjou0lUh.js +85 -0
- package/dist/pegDiagram-GJSIUBJH-CJIx0u4M.js +94 -0
- package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
- package/dist/pieDiagram-5QR66LMP-zAhv5fKz.js +157 -0
- package/dist/quadrantDiagram-O4NWA36T-CO4n_yQo.js +2001 -0
- package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
- package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
- package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
- package/dist/railroadDiagram-XR7U4H2S-B8iV7mfe.js +76 -0
- package/dist/requirementDiagram-PLB6GJNP-CGoX1NrW.js +2228 -0
- package/dist/rough.esm-rcMoXTJj.js +1352 -0
- package/dist/sankeyDiagram-IPEJSGJF-DdSM2wiI.js +962 -0
- package/dist/sequenceDiagram-PO4LG4MO-CCRqF5XO.js +4200 -0
- package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
- package/dist/src-B4npqWNl.js +1775 -0
- package/dist/stateDiagram-v2-GCMORJYK-CQTX5ks8.js +2143 -0
- package/dist/step-B6KjpKgN.js +706 -0
- package/dist/string-B-ZWXCs2.js +392 -0
- package/dist/swimlanes-2SLR337P-C2NNOb5n.js +4763 -0
- package/dist/swimlanesDiagram-TC7HE7FX-CPsqPrbP.js +28 -0
- package/dist/timeline-definition-EJHVYXUP-DuxGHv-N.js +1073 -0
- package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
- package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
- package/dist/usecaseDiagram-POWQR4AR-cuAeIBW3.js +9932 -0
- package/dist/vennDiagram-UO4OBE2U-DLwBSAnC.js +1880 -0
- package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
- package/dist/wardleyDiagram-VNRHLVJA-D7IZU6vu.js +645 -0
- package/dist/xychartDiagram-PMCCYNJV-BDOFv_xK.js +2167 -0
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -341,6 +341,8 @@ Vue has none. "(same parts)" means Vue exports the same sub-components.
|
|
|
341
341
|
| `Timeline`, `TimelineItem`, `RelativeTime` | Vertical event timeline with toned icons and relative times. | `Timeline`, `TimelineItem`, `RelativeTime` |
|
|
342
342
|
| `EventChip` | Calendar event pill with time, all-day and continuation edges. | `EventChip` |
|
|
343
343
|
| `CodeBlock`, `CodeDiff`, `JsonViewer`, `CodeGroup` | Highlighted code with line numbers and copy, a Monaco diff, a collapsible JSON tree, and tabbed samples (`Tabs variant="line"`). | `CodeBlock`, `CodeDiff`, `JsonViewer`, `CodeGroup` |
|
|
344
|
+
| `Markdown` | GFM markdown with KaTeX math and mermaid diagrams (`clientOnly`). Fences reuse `CodeBlock`. `ChatMarkdown` renders through it. | `Markdown` |
|
|
345
|
+
| `Terminal` | Display-only log with prompt, copy, and error/input tones. Container queries. | `Terminal` |
|
|
344
346
|
| `Figure` | Framed media with an optional caption. | `Figure` |
|
|
345
347
|
| `ApiEndpoint`, `ApiOperation` | HTTP method badge, path and copy; `ApiOperation` adds a param table and example `CodeGroup`. | `ApiEndpoint`, `ApiOperation` |
|
|
346
348
|
| `ParamTable` | Name / type / default / description table; stacked cards below `sm`. | `ParamTable` |
|
|
@@ -438,9 +440,11 @@ Vue has none. "(same parts)" means Vue exports the same sub-components.
|
|
|
438
440
|
| `Kanban` | Board with columns, swimlanes, WIP limits, search, and drag-and-drop cards and columns. | `Kanban` |
|
|
439
441
|
| `EventCalendar` | Month / week / day / agenda calendar with drag, resize and slot creation. | `EventCalendar` |
|
|
440
442
|
| `AreaChart`, `BarChart`, `LineChart`, `PieChart`, `RadarChart`, `ScatterChart`, `FunnelChart`, `HeatmapChart` | Nivo charts themed from the CSS tokens, with loading and empty states (`ChartContainer`). | same names |
|
|
443
|
+
| `EmojiPicker`, `EmojiList` | Shared picker. `ChatComposer` takes `emojis`; `Markdown` expands `:shortcode:`; the RTE toolbar uses the same picker. | `EmojiPicker`, `EmojiList` |
|
|
444
|
+
| `MentionList` | `@` mention list from an `items` prop (local search). ChatComposer and the RTE suggestion list use it. | `MentionList` |
|
|
441
445
|
| `RichTextEditor` · `RichTextEditorFormField` | Tiptap editor with toolbar, bubble menu, slash commands, mentions, tables, emoji and images. | `RichTextEditor`, `RichTextEditorFormField` |
|
|
442
446
|
| `CodeEditor` · `CodeEditorFormField` | Monaco editor field with a label and a language switch. | `CodeEditor` |
|
|
443
|
-
| `Quiz`, `QuestionCard` |
|
|
447
|
+
| `Quiz`, `QuestionCard` | Quiz and question cards composed from Card, ActionCard, GaugeCard, ChecklistCard, ProgressField and TextField. Container queries. | `Quiz`, `QuestionCard` |
|
|
444
448
|
|
|
445
449
|
`@nxgt/material-vue` also has components with no React counterpart here:
|
|
446
450
|
`Camera`, `ScrollArea`, `NativeSelect` and the `InputOTP` primitives.
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { n as e } from "./src-B4npqWNl.js";
|
|
2
|
+
import { m as t, t as n } from "./mermaid-parser.core-Cz-MfB4Z.js";
|
|
3
|
+
import { n as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import "./chunk-O7XYJQB3-md6vjVm4.js";
|
|
5
|
+
import "./chunk-6AEJRKK7-JyfUnUEu.js";
|
|
6
|
+
import { n as i, r as a, t as o } from "./chunk-GTNCS2PH-CTS015lZ.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 = t().RailroadAbnf.parser.LangiumParser, l = /* @__PURE__ */ r((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__ */ r((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__ */ r((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__ */ r((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__ */ r((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__ */ r((e) => ({
|
|
69
|
+
name: e.name,
|
|
70
|
+
definition: l(e.definition)
|
|
71
|
+
}), "transformRule"), h = /* @__PURE__ */ r((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__ */ r((t) => {
|
|
76
|
+
o.clear(), e.debug("[ABNF Parser] Starting Langium parse");
|
|
77
|
+
let r = c.parse(t);
|
|
78
|
+
if (r.lexerErrors.length > 0 || r.parserErrors.length > 0) throw new n(r);
|
|
79
|
+
let i = r.value;
|
|
80
|
+
e.debug("[ABNF Parser] Parsed rules:", i.rules.length), h(i), e.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 };
|