@nxgt/material 1.13.0 → 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 +4 -0
- 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-BGGDEbJ3.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-DReKyuyc.js → hooks-C5xy0u03.js} +1 -1
- package/dist/hooks.js +1 -1
- package/dist/{i18n-DtDrodl8.js → i18n-Cech9IAc.js} +314 -841
- 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/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 +7 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +7 -0
- package/dist/lib/i18n/resources/fr/index.d.ts +7 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +7 -0
- package/dist/lib/i18n/resources/index.d.ts +14 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/{lib-CD3tyuc8.js → lib-Bbw5QPoj.js} +472 -471
- package/dist/lib.js +2 -2
- package/dist/{main-r84Yresa.js → main-BjDU9FDM.js} +59393 -30376
- 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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Lm as e } from "./main-BjDU9FDM.js";
|
|
2
|
+
//#region node_modules/@braintree/sanitize-url/dist/constants.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.BLANK_URL = e.relativeFirstCharacters = e.whitespaceEscapeCharsRegex = e.urlSchemeRegex = e.ctrlCharactersRegex = e.htmlCtrlEntityRegex = e.htmlEntitiesRegex = e.invalidProtocolRegex = void 0, e.invalidProtocolRegex = /^([^\w]*)(javascript|data|vbscript)/im, e.htmlEntitiesRegex = /&#(\w+)(^\w|;)?/g, e.htmlCtrlEntityRegex = /&(newline|tab);/gi, e.ctrlCharactersRegex = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim, e.urlSchemeRegex = /^.+(:|:)/gim, e.whitespaceEscapeCharsRegex = /(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g, e.relativeFirstCharacters = [".", "/"], e.BLANK_URL = "about:blank";
|
|
5
|
+
})), n = /* @__PURE__ */ e(((e) => {
|
|
6
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.sanitizeUrl = s;
|
|
7
|
+
var n = t();
|
|
8
|
+
function r(e) {
|
|
9
|
+
return n.relativeFirstCharacters.indexOf(e[0]) > -1;
|
|
10
|
+
}
|
|
11
|
+
function i(e) {
|
|
12
|
+
return e.replace(n.ctrlCharactersRegex, "").replace(n.htmlEntitiesRegex, function(e, t) {
|
|
13
|
+
return String.fromCharCode(t);
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function a(e) {
|
|
17
|
+
return URL.canParse(e);
|
|
18
|
+
}
|
|
19
|
+
function o(e) {
|
|
20
|
+
try {
|
|
21
|
+
return decodeURIComponent(e);
|
|
22
|
+
} catch {
|
|
23
|
+
return e;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function s(e) {
|
|
27
|
+
if (!e) return n.BLANK_URL;
|
|
28
|
+
var t, s = o(e.trim());
|
|
29
|
+
do
|
|
30
|
+
s = i(s).replace(n.htmlCtrlEntityRegex, "").replace(n.ctrlCharactersRegex, "").replace(n.whitespaceEscapeCharsRegex, "").trim(), s = o(s), t = s.match(n.ctrlCharactersRegex) || s.match(n.htmlEntitiesRegex) || s.match(n.htmlCtrlEntityRegex) || s.match(n.whitespaceEscapeCharsRegex);
|
|
31
|
+
while (t && t.length > 0);
|
|
32
|
+
var c = s;
|
|
33
|
+
if (!c) return n.BLANK_URL;
|
|
34
|
+
if (r(c)) return c;
|
|
35
|
+
var l = c.trimStart(), u = l.match(n.urlSchemeRegex);
|
|
36
|
+
if (!u) return c;
|
|
37
|
+
var d = u[0].toLowerCase().trim();
|
|
38
|
+
if (n.invalidProtocolRegex.test(d)) return n.BLANK_URL;
|
|
39
|
+
var f = l.replace(/\\/g, "/");
|
|
40
|
+
if (d === "mailto:" || d.includes("://")) return f;
|
|
41
|
+
if (d === "http:" || d === "https:") {
|
|
42
|
+
if (!a(f)) return n.BLANK_URL;
|
|
43
|
+
var p = new URL(f);
|
|
44
|
+
return p.protocol = p.protocol.toLowerCase(), p.hostname = p.hostname.toLowerCase(), p.toString();
|
|
45
|
+
}
|
|
46
|
+
return f;
|
|
47
|
+
}
|
|
48
|
+
}));
|
|
49
|
+
//#endregion
|
|
50
|
+
export { n as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Bm as e, Lm as t, Rm as n } from "./main-BjDU9FDM.js";
|
|
2
|
+
import { ot as r } from "./lib-Bbw5QPoj.js";
|
|
3
3
|
import { createContext as i, forwardRef as a, useCallback as o, useContext as s, useEffect as c, useImperativeHandle as l, useLayoutEffect as u, useMemo as d, useReducer as f, useRef as p } from "react";
|
|
4
4
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
5
5
|
//#region node_modules/pdfjs-dist/build/pdf.mjs
|
package/dist/dnd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $o as e, Go as t,
|
|
2
|
-
export {
|
|
1
|
+
import { $o as e, Go as t, Jo as n, Ko as r, Qo as i, Wo as a, Xo as o, Yo as s, Zo as c, as as l, cs as u, es as d, is as f, ns as p, os as m, qo as h, rs as g, ss as _, ts as v } from "./main-BjDU9FDM.js";
|
|
2
|
+
export { u as CSS, i as DndOverlay, c as DndProvider, o as DragHandle, s as Draggable, n as DraggableDroppable, h as Droppable, t as Sortable, a as SortableProvider, p as arrayMove, l as closestCenter, v as composeRefs, g as horizontalListSortingStrategy, r as insertIds, m as pointerWithin, _ as rectIntersection, e as useDndActiveId, d as useDndItem, f as verticalListSortingStrategy };
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { n as e } from "./src-B4npqWNl.js";
|
|
2
|
+
import { f 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/ebnfDiagram-ZINNZB2B.mjs
|
|
9
|
+
var c = t().RailroadEbnf.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
|
+
}, "transformChoice"), u = /* @__PURE__ */ r((e) => {
|
|
16
|
+
let t = e.elements.map(p);
|
|
17
|
+
return t.length === 1 ? t[0] : {
|
|
18
|
+
type: "sequence",
|
|
19
|
+
elements: t
|
|
20
|
+
};
|
|
21
|
+
}, "transformSequence"), d = /* @__PURE__ */ r((e) => {
|
|
22
|
+
switch (e.$type) {
|
|
23
|
+
case "EbnfTerminal": return {
|
|
24
|
+
type: "terminal",
|
|
25
|
+
value: e.value
|
|
26
|
+
};
|
|
27
|
+
case "EbnfNonTerminal": return {
|
|
28
|
+
type: "nonterminal",
|
|
29
|
+
name: e.name
|
|
30
|
+
};
|
|
31
|
+
case "EbnfSpecial": return {
|
|
32
|
+
type: "special",
|
|
33
|
+
text: e.text
|
|
34
|
+
};
|
|
35
|
+
case "EbnfGroup": return l(e.element);
|
|
36
|
+
case "EbnfOptional": return {
|
|
37
|
+
type: "optional",
|
|
38
|
+
element: l(e.element)
|
|
39
|
+
};
|
|
40
|
+
case "EbnfRepetition": return {
|
|
41
|
+
type: "repetition",
|
|
42
|
+
element: l(e.element),
|
|
43
|
+
min: 0,
|
|
44
|
+
max: Infinity
|
|
45
|
+
};
|
|
46
|
+
default: throw Error(`Unsupported EBNF primary node: ${e.$type}`);
|
|
47
|
+
}
|
|
48
|
+
}, "transformPrimary"), f = /* @__PURE__ */ r((e, t) => {
|
|
49
|
+
switch (t.$type) {
|
|
50
|
+
case "EbnfOptionalPostfix": return {
|
|
51
|
+
type: "optional",
|
|
52
|
+
element: e
|
|
53
|
+
};
|
|
54
|
+
case "EbnfZeroOrMorePostfix": return {
|
|
55
|
+
type: "repetition",
|
|
56
|
+
element: e,
|
|
57
|
+
min: 0,
|
|
58
|
+
max: Infinity
|
|
59
|
+
};
|
|
60
|
+
case "EbnfOneOrMorePostfix": return {
|
|
61
|
+
type: "repetition",
|
|
62
|
+
element: e,
|
|
63
|
+
min: 1,
|
|
64
|
+
max: Infinity
|
|
65
|
+
};
|
|
66
|
+
case "EbnfExceptionPostfix": return {
|
|
67
|
+
type: "sequence",
|
|
68
|
+
elements: [
|
|
69
|
+
e,
|
|
70
|
+
{
|
|
71
|
+
type: "terminal",
|
|
72
|
+
value: "-"
|
|
73
|
+
},
|
|
74
|
+
d(t.except)
|
|
75
|
+
]
|
|
76
|
+
};
|
|
77
|
+
default: throw Error(`Unsupported EBNF postfix node: ${t.$type}`);
|
|
78
|
+
}
|
|
79
|
+
}, "transformPostfix"), p = /* @__PURE__ */ r((e) => e.postfixes.reduce((e, t) => f(e, t), d(e.base)), "transformTerm"), m = /* @__PURE__ */ r((e) => ({
|
|
80
|
+
name: e.name,
|
|
81
|
+
definition: l(e.definition)
|
|
82
|
+
}), "transformRule"), h = /* @__PURE__ */ r((e) => {
|
|
83
|
+
s(e, o), e.title && o.setTitle(e.title), e.rules.map((e) => o.addRule(m(e)));
|
|
84
|
+
}, "populateDb"), g = {
|
|
85
|
+
parser: {
|
|
86
|
+
parse: /* @__PURE__ */ r((t) => {
|
|
87
|
+
o.clear(), e.debug("[EBNF Parser] Starting Langium parse");
|
|
88
|
+
let r = c.parse(t);
|
|
89
|
+
if (r.lexerErrors.length > 0 || r.parserErrors.length > 0) throw new n(r);
|
|
90
|
+
let i = r.value;
|
|
91
|
+
e.debug("[EBNF Parser] Parsed rules:", i.rules.length), h(i), e.debug("[EBNF Parser] Parse complete");
|
|
92
|
+
}, "parse"),
|
|
93
|
+
parser: { yy: o }
|
|
94
|
+
},
|
|
95
|
+
db: o,
|
|
96
|
+
renderer: a,
|
|
97
|
+
styles: i
|
|
98
|
+
};
|
|
99
|
+
//#endregion
|
|
100
|
+
export { g as diagram };
|