@nxgt/material 2.13.0 → 2.15.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/CHANGELOG.md +89 -0
- package/README.md +18 -5
- package/dist/{blockDiagram-BEXU5L5S-CQaNV8rX.js → blockDiagram-BEXU5L5S-BozTHxCb.js} +1 -1
- package/dist/{chunk-3FUC2YCW-DmtO_Y9L.js → chunk-3FUC2YCW-zWkkqKwC.js} +1 -1
- package/dist/{chunk-7M6MHVWA-BQ0cJz5u.js → chunk-7M6MHVWA-CGHIsno5.js} +1 -1
- package/dist/{chunk-GNY47TPC-DiVMvIit.js → chunk-GNY47TPC-BWB3R7nr.js} +4 -4
- package/dist/{chunk-NETBCI7D-B5Av2fJk.js → chunk-NETBCI7D-DwmNwFxb.js} +1 -1
- package/dist/{chunk-Z7XXMR3K-D4uKosJW.js → chunk-Z7XXMR3K-0DGn7Rxi.js} +1 -1
- package/dist/{classDiagram-v2-NBCMYWYE-BYktffst.js → classDiagram-v2-NBCMYWYE-BERam5ND.js} +2 -2
- package/dist/components/components.css +13 -2
- package/dist/components/ui/feedback/spinner/spinner.css +28 -0
- package/dist/components/ui/fields/otp-field/input-otp.css +48 -0
- package/dist/components/ui/media/pdf-viewer/pdf-viewer.css +24 -0
- package/dist/components/ui/overlays/drawer/vaul-drawer.css +199 -0
- package/dist/components/ui/overlays/drawer/vaul-keyframes.css +95 -0
- package/dist/{components-C-y3kTRm.js → components-B-xPQ6XX.js} +118106 -129100
- package/dist/components.js +6 -6
- package/dist/{dagre-6A5THRUB-BvQAvoOX.js → dagre-6A5THRUB-CnIZQoNt.js} +3 -3
- package/dist/{diagram-22UHCM2B-BYd0lEdS.js → diagram-22UHCM2B-DN4-okl5.js} +2 -2
- package/dist/{diagram-3UASUU5V-B3ndNq2p.js → diagram-3UASUU5V-DcrNf7TY.js} +1 -1
- package/dist/{elk-276RUBZZ-BxXn1nvc.js → elk-276RUBZZ-B7yctkbs.js} +3 -3
- package/dist/{erDiagram-OPXOYQCR-DjYy4h_r.js → erDiagram-OPXOYQCR-BVrTNrkn.js} +2 -2
- package/dist/{field-blur-V8o79CDN.js → field-blur-DDfQkuSJ.js} +866 -871
- package/dist/{flowDiagram-KWPJA3E3-BD7xvcMh.js → flowDiagram-KWPJA3E3-BKxvqo0x.js} +3 -3
- package/dist/fonts/katex/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/{ganttDiagram-FUAMR5RP-BAuk7X6i.js → ganttDiagram-FUAMR5RP-Cv9W4LOS.js} +1 -1
- package/dist/hooks.js +25 -25
- package/dist/{journeyDiagram-ZHPQQLJL-h2S56BMC.js → journeyDiagram-ZHPQQLJL-BwSv9L1j.js} +1 -1
- package/dist/lib/components/ui/dates/calendar/use-stable-component.d.ts +10 -0
- package/dist/lib/components/ui/dates/date-field/date-field-trigger.d.ts +1 -1
- package/dist/lib/components/ui/dates/date-range-field/date-range-field-trigger.d.ts +1 -1
- package/dist/lib/components/ui/dates/picker-trigger/use-trigger-locale.d.ts +10 -0
- package/dist/lib/components/ui/fields/attributes/attribute-form/consts.d.ts +5 -1
- package/dist/lib/components/ui/fields/attributes/attribute-form/types.d.ts +2 -2
- package/dist/lib/components/ui/fields/opening-hours/consts.d.ts +12 -1
- package/dist/lib/components/ui/media/image-cropper/image-crop-aspects.d.ts +6 -0
- package/dist/lib/components/ui/media/image-cropper/use-frame-size.d.ts +4 -0
- package/dist/lib/components/ui/primitives/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/nonce-provider/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/nonce-provider/nonce-provider.d.ts +20 -0
- package/dist/lib/components/ui/primitives/typography/typography.d.ts +7 -2
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/extensions.d.ts +2 -2
- package/dist/lib/components/ui/widgets/rich-text-editor/use-rich-text-editor.d.ts +17 -0
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/use-csp-nonce.d.ts +16 -0
- package/dist/lib/lib/index.d.ts +1 -0
- package/dist/lib/vite/index.d.ts +3 -2
- package/dist/lib.js +30 -29
- package/dist/main.js +16 -16
- package/dist/map.js +1 -1
- package/dist/material.css +25 -1
- package/dist/{mermaid.core-BWF4Tq7X.js → mermaid.core-D_eXACPr.js} +21 -21
- package/dist/{mindmap-definition-NLK3R4M7-Q-4J7KMu.js → mindmap-definition-NLK3R4M7-GMAPXP2T.js} +2 -2
- package/dist/{pieDiagram-5QR66LMP-BIxQ164y.js → pieDiagram-5QR66LMP--qZHRFqG.js} +1 -1
- package/dist/{quadrantDiagram-O4NWA36T-BlI0otnv.js → quadrantDiagram-O4NWA36T-BxFGymBB.js} +1 -1
- package/dist/{requirementDiagram-PLB6GJNP-CuVPUh0S.js → requirementDiagram-PLB6GJNP-D4aL7HiM.js} +2 -2
- package/dist/{sankeyDiagram-IPEJSGJF-Cke5i_9w.js → sankeyDiagram-IPEJSGJF-zX1FL2aL.js} +1 -1
- package/dist/{stateDiagram-v2-GCMORJYK-CT53U-pL.js → stateDiagram-v2-GCMORJYK-CDm1mDv2.js} +2 -2
- package/dist/{swimlanes-2SLR337P-BwEtm09G.js → swimlanes-2SLR337P-DNwIhCCu.js} +3 -3
- package/dist/{swimlanesDiagram-TC7HE7FX-36JXV6X2.js → swimlanesDiagram-TC7HE7FX-BaR9zAzq.js} +3 -3
- package/dist/{timeline-definition-EJHVYXUP-BeX-S1oM.js → timeline-definition-EJHVYXUP-B6Xd8Spe.js} +1 -1
- package/dist/{use-heading-spy--7KHY3lw.js → use-heading-spy-wlOv87q3.js} +63 -57
- package/dist/{usecaseDiagram-POWQR4AR-Dfd0rXLr.js → usecaseDiagram-POWQR4AR-XW5of8Kj.js} +2 -2
- package/dist/vite.js +2 -2
- package/dist/{xychartDiagram-PMCCYNJV-D0UPPflL.js → xychartDiagram-PMCCYNJV-DTV6AzhO.js} +1 -1
- package/docs/README.md +1 -0
- package/docs/components/data-display.md +5 -0
- package/docs/components/date-and-time.md +6 -0
- package/docs/components/feedback-and-status.md +3 -1
- package/docs/components/form-fields.md +14 -0
- package/docs/components/primitives.md +41 -2
- package/docs/getting-started.md +5 -1
- package/docs/guides/csp.md +408 -0
- package/docs/guides/helpers.md +2 -0
- package/docs/guides/i18n.md +2 -0
- package/docs/guides/theming.md +27 -0
- package/docs/roadmap.md +17 -1
- package/docs/troubleshooting.md +180 -0
- package/lib/components/components.css +13 -2
- package/lib/components/ui/feedback/spinner/spinner.css +28 -0
- package/lib/components/ui/fields/otp-field/input-otp.css +48 -0
- package/lib/components/ui/media/pdf-viewer/pdf-viewer.css +24 -0
- package/lib/components/ui/overlays/drawer/vaul-drawer.css +199 -0
- package/lib/components/ui/overlays/drawer/vaul-keyframes.css +95 -0
- package/package.json +4 -4
|
@@ -8,9 +8,9 @@ import { a as he } from "./chunk-MBY4JIJT-BFIqOe-8.js";
|
|
|
8
8
|
import "./chunk-7PRAP22T-0C6_H8Li.js";
|
|
9
9
|
import "./chunk-7INBJB4K-k-I67NSP.js";
|
|
10
10
|
import "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
11
|
-
import "./chunk-Z7XXMR3K-
|
|
11
|
+
import "./chunk-Z7XXMR3K-0DGn7Rxi.js";
|
|
12
12
|
import "./chunk-UA2S7LBM-ChuksCDg.js";
|
|
13
|
-
import { n as ge } from "./chunk-GNY47TPC-
|
|
13
|
+
import { n as ge } from "./chunk-GNY47TPC-BWB3R7nr.js";
|
|
14
14
|
import { n as _e, t as ve } from "./chunk-LNGE3PJU-DJjGTS7O.js";
|
|
15
15
|
//#region ../../node_modules/es-toolkit/dist/compat/_internal/isPrototype.mjs
|
|
16
16
|
function ye(e) {
|
|
@@ -302,7 +302,7 @@ var qe = "c4", Je = {
|
|
|
302
302
|
id: Ye,
|
|
303
303
|
detector: /* @__PURE__ */ p((e) => /^\s*(graph|flowchart)/.test(e), "detector"),
|
|
304
304
|
loader: /* @__PURE__ */ p(async () => {
|
|
305
|
-
let { diagram: e } = await import("./flowDiagram-KWPJA3E3-
|
|
305
|
+
let { diagram: e } = await import("./flowDiagram-KWPJA3E3-BKxvqo0x.js");
|
|
306
306
|
return {
|
|
307
307
|
id: Ye,
|
|
308
308
|
diagram: e
|
|
@@ -312,7 +312,7 @@ var qe = "c4", Je = {
|
|
|
312
312
|
id: Ze,
|
|
313
313
|
detector: /* @__PURE__ */ p((e) => /^\s*agentflow-beta\b/.test(e), "detector"),
|
|
314
314
|
loader: /* @__PURE__ */ p(async () => {
|
|
315
|
-
let { diagram: e } = await import("./diagram-22UHCM2B-
|
|
315
|
+
let { diagram: e } = await import("./diagram-22UHCM2B-DN4-okl5.js");
|
|
316
316
|
return {
|
|
317
317
|
id: Ze,
|
|
318
318
|
diagram: e
|
|
@@ -322,7 +322,7 @@ var qe = "c4", Je = {
|
|
|
322
322
|
id: $e,
|
|
323
323
|
detector: /* @__PURE__ */ p((e) => /^\s*swimlane-beta\b/.test(e), "detector"),
|
|
324
324
|
loader: /* @__PURE__ */ p(async () => {
|
|
325
|
-
let { diagram: e } = await import("./swimlanesDiagram-TC7HE7FX-
|
|
325
|
+
let { diagram: e } = await import("./swimlanesDiagram-TC7HE7FX-BaR9zAzq.js");
|
|
326
326
|
return {
|
|
327
327
|
id: $e,
|
|
328
328
|
diagram: e
|
|
@@ -332,7 +332,7 @@ var qe = "c4", Je = {
|
|
|
332
332
|
id: tt,
|
|
333
333
|
detector: /* @__PURE__ */ p((e) => /^\s*erDiagram/.test(e), "detector"),
|
|
334
334
|
loader: /* @__PURE__ */ p(async () => {
|
|
335
|
-
let { diagram: e } = await import("./erDiagram-OPXOYQCR-
|
|
335
|
+
let { diagram: e } = await import("./erDiagram-OPXOYQCR-BVrTNrkn.js");
|
|
336
336
|
return {
|
|
337
337
|
id: tt,
|
|
338
338
|
diagram: e
|
|
@@ -352,7 +352,7 @@ var qe = "c4", Je = {
|
|
|
352
352
|
id: at,
|
|
353
353
|
detector: /* @__PURE__ */ p((e) => /^\s*gantt/.test(e), "detector"),
|
|
354
354
|
loader: /* @__PURE__ */ p(async () => {
|
|
355
|
-
let { diagram: e } = await import("./ganttDiagram-FUAMR5RP-
|
|
355
|
+
let { diagram: e } = await import("./ganttDiagram-FUAMR5RP-Cv9W4LOS.js");
|
|
356
356
|
return {
|
|
357
357
|
id: at,
|
|
358
358
|
diagram: e
|
|
@@ -372,7 +372,7 @@ var qe = "c4", Je = {
|
|
|
372
372
|
id: lt,
|
|
373
373
|
detector: /* @__PURE__ */ p((e) => /^\s*pie/.test(e), "detector"),
|
|
374
374
|
loader: /* @__PURE__ */ p(async () => {
|
|
375
|
-
let { diagram: e } = await import("./pieDiagram-5QR66LMP
|
|
375
|
+
let { diagram: e } = await import("./pieDiagram-5QR66LMP--qZHRFqG.js");
|
|
376
376
|
return {
|
|
377
377
|
id: lt,
|
|
378
378
|
diagram: e
|
|
@@ -382,7 +382,7 @@ var qe = "c4", Je = {
|
|
|
382
382
|
id: dt,
|
|
383
383
|
detector: /* @__PURE__ */ p((e) => /^\s*quadrantChart/.test(e), "detector"),
|
|
384
384
|
loader: /* @__PURE__ */ p(async () => {
|
|
385
|
-
let { diagram: e } = await import("./quadrantDiagram-O4NWA36T-
|
|
385
|
+
let { diagram: e } = await import("./quadrantDiagram-O4NWA36T-BxFGymBB.js");
|
|
386
386
|
return {
|
|
387
387
|
id: dt,
|
|
388
388
|
diagram: e
|
|
@@ -392,7 +392,7 @@ var qe = "c4", Je = {
|
|
|
392
392
|
id: pt,
|
|
393
393
|
detector: /* @__PURE__ */ p((e) => /^\s*xychart(-beta)?/.test(e), "detector"),
|
|
394
394
|
loader: /* @__PURE__ */ p(async () => {
|
|
395
|
-
let { diagram: e } = await import("./xychartDiagram-PMCCYNJV-
|
|
395
|
+
let { diagram: e } = await import("./xychartDiagram-PMCCYNJV-DTV6AzhO.js");
|
|
396
396
|
return {
|
|
397
397
|
id: pt,
|
|
398
398
|
diagram: e
|
|
@@ -402,7 +402,7 @@ var qe = "c4", Je = {
|
|
|
402
402
|
id: ht,
|
|
403
403
|
detector: /* @__PURE__ */ p((e) => /^\s*requirement(Diagram)?/.test(e), "detector"),
|
|
404
404
|
loader: /* @__PURE__ */ p(async () => {
|
|
405
|
-
let { diagram: e } = await import("./requirementDiagram-PLB6GJNP-
|
|
405
|
+
let { diagram: e } = await import("./requirementDiagram-PLB6GJNP-D4aL7HiM.js");
|
|
406
406
|
return {
|
|
407
407
|
id: ht,
|
|
408
408
|
diagram: e
|
|
@@ -422,7 +422,7 @@ var qe = "c4", Je = {
|
|
|
422
422
|
id: yt,
|
|
423
423
|
detector: /* @__PURE__ */ p((e) => /^\s*classDiagram/.test(e), "detector"),
|
|
424
424
|
loader: /* @__PURE__ */ p(async () => {
|
|
425
|
-
let { diagram: e } = await import("./classDiagram-v2-NBCMYWYE-
|
|
425
|
+
let { diagram: e } = await import("./classDiagram-v2-NBCMYWYE-BERam5ND.js");
|
|
426
426
|
return {
|
|
427
427
|
id: yt,
|
|
428
428
|
diagram: e
|
|
@@ -432,7 +432,7 @@ var qe = "c4", Je = {
|
|
|
432
432
|
id: xt,
|
|
433
433
|
detector: /* @__PURE__ */ p((e) => /^\s*stateDiagram/.test(e), "detector"),
|
|
434
434
|
loader: /* @__PURE__ */ p(async () => {
|
|
435
|
-
let { diagram: e } = await import("./stateDiagram-v2-GCMORJYK-
|
|
435
|
+
let { diagram: e } = await import("./stateDiagram-v2-GCMORJYK-CDm1mDv2.js");
|
|
436
436
|
return {
|
|
437
437
|
id: xt,
|
|
438
438
|
diagram: e
|
|
@@ -442,7 +442,7 @@ var qe = "c4", Je = {
|
|
|
442
442
|
id: Ct,
|
|
443
443
|
detector: /* @__PURE__ */ p((e) => /^\s*journey/.test(e), "detector"),
|
|
444
444
|
loader: /* @__PURE__ */ p(async () => {
|
|
445
|
-
let { diagram: e } = await import("./journeyDiagram-ZHPQQLJL-
|
|
445
|
+
let { diagram: e } = await import("./journeyDiagram-ZHPQQLJL-BwSv9L1j.js");
|
|
446
446
|
return {
|
|
447
447
|
id: Ct,
|
|
448
448
|
diagram: e
|
|
@@ -460,7 +460,7 @@ var qe = "c4", Je = {
|
|
|
460
460
|
id: Ot,
|
|
461
461
|
detector: /* @__PURE__ */ p((e, t = {}) => /^\s*flowchart-elk/.test(e) ? (t.layout = "elk", !0) : !1, "detector"),
|
|
462
462
|
loader: /* @__PURE__ */ p(async () => {
|
|
463
|
-
let { diagram: e } = await import("./flowDiagram-KWPJA3E3-
|
|
463
|
+
let { diagram: e } = await import("./flowDiagram-KWPJA3E3-BKxvqo0x.js");
|
|
464
464
|
return {
|
|
465
465
|
id: Ot,
|
|
466
466
|
diagram: e
|
|
@@ -470,7 +470,7 @@ var qe = "c4", Je = {
|
|
|
470
470
|
id: At,
|
|
471
471
|
detector: /* @__PURE__ */ p((e) => /^\s*timeline/.test(e), "detector"),
|
|
472
472
|
loader: /* @__PURE__ */ p(async () => {
|
|
473
|
-
let { diagram: e } = await import("./timeline-definition-EJHVYXUP-
|
|
473
|
+
let { diagram: e } = await import("./timeline-definition-EJHVYXUP-B6Xd8Spe.js");
|
|
474
474
|
return {
|
|
475
475
|
id: At,
|
|
476
476
|
diagram: e
|
|
@@ -480,7 +480,7 @@ var qe = "c4", Je = {
|
|
|
480
480
|
id: Mt,
|
|
481
481
|
detector: /* @__PURE__ */ p((e) => /^\s*mindmap/.test(e), "detector"),
|
|
482
482
|
loader: /* @__PURE__ */ p(async () => {
|
|
483
|
-
let { diagram: e } = await import("./mindmap-definition-NLK3R4M7-
|
|
483
|
+
let { diagram: e } = await import("./mindmap-definition-NLK3R4M7-GMAPXP2T.js");
|
|
484
484
|
return {
|
|
485
485
|
id: Mt,
|
|
486
486
|
diagram: e
|
|
@@ -500,7 +500,7 @@ var qe = "c4", Je = {
|
|
|
500
500
|
id: It,
|
|
501
501
|
detector: /* @__PURE__ */ p((e) => /^\s*sankey(-beta)?/.test(e), "detector"),
|
|
502
502
|
loader: /* @__PURE__ */ p(async () => {
|
|
503
|
-
let { diagram: e } = await import("./sankeyDiagram-IPEJSGJF-
|
|
503
|
+
let { diagram: e } = await import("./sankeyDiagram-IPEJSGJF-zX1FL2aL.js");
|
|
504
504
|
return {
|
|
505
505
|
id: It,
|
|
506
506
|
diagram: e
|
|
@@ -530,7 +530,7 @@ var qe = "c4", Je = {
|
|
|
530
530
|
id: Ht,
|
|
531
531
|
detector: /* @__PURE__ */ p((e) => /^\s*block(-beta)?/.test(e), "detector"),
|
|
532
532
|
loader: /* @__PURE__ */ p(async () => {
|
|
533
|
-
let { diagram: e } = await import("./blockDiagram-BEXU5L5S-
|
|
533
|
+
let { diagram: e } = await import("./blockDiagram-BEXU5L5S-BozTHxCb.js");
|
|
534
534
|
return {
|
|
535
535
|
id: Ht,
|
|
536
536
|
diagram: e
|
|
@@ -590,7 +590,7 @@ var qe = "c4", Je = {
|
|
|
590
590
|
id: en,
|
|
591
591
|
detector: /* @__PURE__ */ p((e) => /^\s*treemap/.test(e), "detector"),
|
|
592
592
|
loader: /* @__PURE__ */ p(async () => {
|
|
593
|
-
let { diagram: e } = await import("./diagram-3UASUU5V-
|
|
593
|
+
let { diagram: e } = await import("./diagram-3UASUU5V-DcrNf7TY.js");
|
|
594
594
|
return {
|
|
595
595
|
id: en,
|
|
596
596
|
diagram: e
|
|
@@ -600,7 +600,7 @@ var qe = "c4", Je = {
|
|
|
600
600
|
id: nn,
|
|
601
601
|
detector: /* @__PURE__ */ p((e) => /^\s*usecase-beta(?:\s|$)/.test(e), "detector"),
|
|
602
602
|
loader: /* @__PURE__ */ p(async () => {
|
|
603
|
-
let { diagram: e } = await import("./usecaseDiagram-POWQR4AR-
|
|
603
|
+
let { diagram: e } = await import("./usecaseDiagram-POWQR4AR-XW5of8Kj.js");
|
|
604
604
|
return {
|
|
605
605
|
id: nn,
|
|
606
606
|
diagram: e
|
package/dist/{mindmap-definition-NLK3R4M7-Q-4J7KMu.js → mindmap-definition-NLK3R4M7-GMAPXP2T.js}
RENAMED
|
@@ -7,11 +7,11 @@ import "./chunk-MBY4JIJT-BFIqOe-8.js";
|
|
|
7
7
|
import "./chunk-7PRAP22T-0C6_H8Li.js";
|
|
8
8
|
import "./chunk-7INBJB4K-k-I67NSP.js";
|
|
9
9
|
import "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
10
|
-
import "./chunk-Z7XXMR3K-
|
|
10
|
+
import "./chunk-Z7XXMR3K-0DGn7Rxi.js";
|
|
11
11
|
import { t as u } from "./chunk-XXDRQBXY-dKXxu_aj.js";
|
|
12
12
|
import { t as d } from "./chunk-WEXAMYUT-CbFOhEve.js";
|
|
13
13
|
import "./chunk-UA2S7LBM-ChuksCDg.js";
|
|
14
|
-
import { r as f, t as p } from "./chunk-GNY47TPC-
|
|
14
|
+
import { r as f, t as p } from "./chunk-GNY47TPC-BWB3R7nr.js";
|
|
15
15
|
//#region ../../node_modules/uuid/dist/stringify.js
|
|
16
16
|
var m = [];
|
|
17
17
|
for (let e = 0; e < 256; ++e) m.push((e + 256).toString(16).slice(1));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ct as e, ot as t } from "./components-
|
|
1
|
+
import { ct as e, ot as t } from "./components-B-xPQ6XX.js";
|
|
2
2
|
import { n } from "./src-CsLQInsN.js";
|
|
3
3
|
import { i as r, p as i } from "./chunk-ZIGJFQKS-9VXArDKF.js";
|
|
4
4
|
import { t as a } from "./ordinal-DwxdXP1t.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { rt as e } from "./components-
|
|
1
|
+
import { rt as e } from "./components-B-xPQ6XX.js";
|
|
2
2
|
import { n as t, t as n } from "./src-CsLQInsN.js";
|
|
3
3
|
import { n as r } from "./chunk-Y2CYZVJY-BAad7w_K.js";
|
|
4
4
|
import { D as i, H as a, U as o, a as s, c, f as l, q as u, v as d, w as f, x as p, y as m, z as h } from "./chunk-O7XYJQB3-BChweQ_V.js";
|
package/dist/{requirementDiagram-PLB6GJNP-CuVPUh0S.js → requirementDiagram-PLB6GJNP-D4aL7HiM.js}
RENAMED
|
@@ -8,11 +8,11 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
|
|
|
8
8
|
import { a as p, i as m, o as h, r as g } from "./chunk-J5ZVWO5B-DmRRmhon.js";
|
|
9
9
|
import "./chunk-7INBJB4K-k-I67NSP.js";
|
|
10
10
|
import "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
11
|
-
import "./chunk-Z7XXMR3K-
|
|
11
|
+
import "./chunk-Z7XXMR3K-0DGn7Rxi.js";
|
|
12
12
|
import { t as _ } from "./chunk-XXDRQBXY-dKXxu_aj.js";
|
|
13
13
|
import { t as v } from "./chunk-WEXAMYUT-CbFOhEve.js";
|
|
14
14
|
import "./chunk-UA2S7LBM-ChuksCDg.js";
|
|
15
|
-
import { r as y, t as b } from "./chunk-GNY47TPC-
|
|
15
|
+
import { r as y, t as b } from "./chunk-GNY47TPC-BWB3R7nr.js";
|
|
16
16
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-PLB6GJNP.mjs
|
|
17
17
|
var x = (function() {
|
|
18
18
|
var e = /* @__PURE__ */ n(function(e, t, n, r) {
|
|
@@ -8,12 +8,12 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
|
|
|
8
8
|
import { a as h, i as g, o as _, r as v } from "./chunk-J5ZVWO5B-DmRRmhon.js";
|
|
9
9
|
import "./chunk-7INBJB4K-k-I67NSP.js";
|
|
10
10
|
import "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
11
|
-
import "./chunk-Z7XXMR3K-
|
|
11
|
+
import "./chunk-Z7XXMR3K-0DGn7Rxi.js";
|
|
12
12
|
import { t as y } from "./chunk-GWA4HPMP-B8jXI0Tl.js";
|
|
13
13
|
import { t as b } from "./chunk-XXDRQBXY-dKXxu_aj.js";
|
|
14
14
|
import { t as x } from "./chunk-WEXAMYUT-CbFOhEve.js";
|
|
15
15
|
import "./chunk-UA2S7LBM-ChuksCDg.js";
|
|
16
|
-
import { r as S, t as C } from "./chunk-GNY47TPC-
|
|
16
|
+
import { r as S, t as C } from "./chunk-GNY47TPC-BWB3R7nr.js";
|
|
17
17
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-GCMORJYK.mjs
|
|
18
18
|
var w = (function() {
|
|
19
19
|
var e = /* @__PURE__ */ i(function(e, t, n, r) {
|
|
@@ -7,10 +7,10 @@ import "./chunk-MBY4JIJT-BFIqOe-8.js";
|
|
|
7
7
|
import "./chunk-7PRAP22T-0C6_H8Li.js";
|
|
8
8
|
import "./chunk-7INBJB4K-k-I67NSP.js";
|
|
9
9
|
import "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
10
|
-
import "./chunk-Z7XXMR3K-
|
|
10
|
+
import "./chunk-Z7XXMR3K-0DGn7Rxi.js";
|
|
11
11
|
import "./chunk-UA2S7LBM-ChuksCDg.js";
|
|
12
|
-
import { r as n } from "./chunk-3FUC2YCW-
|
|
13
|
-
import { t as r } from "./chunk-NETBCI7D-
|
|
12
|
+
import { r as n } from "./chunk-3FUC2YCW-zWkkqKwC.js";
|
|
13
|
+
import { t as r } from "./chunk-NETBCI7D-DwmNwFxb.js";
|
|
14
14
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/swimlanes-2SLR337P.mjs
|
|
15
15
|
function i(e, { measure: t }) {
|
|
16
16
|
let n = e.config?.swimlane?.lineHops;
|
package/dist/{swimlanesDiagram-TC7HE7FX-36JXV6X2.js → swimlanesDiagram-TC7HE7FX-BaR9zAzq.js}
RENAMED
|
@@ -7,14 +7,14 @@ import "./chunk-MBY4JIJT-BFIqOe-8.js";
|
|
|
7
7
|
import "./chunk-7PRAP22T-0C6_H8Li.js";
|
|
8
8
|
import "./chunk-7INBJB4K-k-I67NSP.js";
|
|
9
9
|
import "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
10
|
-
import "./chunk-Z7XXMR3K-
|
|
10
|
+
import "./chunk-Z7XXMR3K-0DGn7Rxi.js";
|
|
11
11
|
import "./chunk-GWA4HPMP-B8jXI0Tl.js";
|
|
12
12
|
import "./chunk-XXDRQBXY-dKXxu_aj.js";
|
|
13
13
|
import "./chunk-WEXAMYUT-CbFOhEve.js";
|
|
14
14
|
import "./chunk-UA2S7LBM-ChuksCDg.js";
|
|
15
|
-
import "./chunk-GNY47TPC-
|
|
15
|
+
import "./chunk-GNY47TPC-BWB3R7nr.js";
|
|
16
16
|
import "./chunk-LNGE3PJU-DJjGTS7O.js";
|
|
17
|
-
import { r as t, t as n } from "./chunk-7M6MHVWA-
|
|
17
|
+
import { r as t, t as n } from "./chunk-7M6MHVWA-CGHIsno5.js";
|
|
18
18
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-TC7HE7FX.mjs
|
|
19
19
|
var r = n({ styles: /* @__PURE__ */ e((e) => `${t(e)}
|
|
20
20
|
.swimlane.cluster:not([data-color-id]) rect {
|
package/dist/{timeline-definition-EJHVYXUP-BeX-S1oM.js → timeline-definition-EJHVYXUP-B6Xd8Spe.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ct as e } from "./components-
|
|
1
|
+
import { ct as e } from "./components-B-xPQ6XX.js";
|
|
2
2
|
import { n as t, t as n } from "./src-CsLQInsN.js";
|
|
3
3
|
import { p as r } from "./chunk-ZIGJFQKS-9VXArDKF.js";
|
|
4
4
|
import { n as i, t as a } from "./chunk-Y2CYZVJY-BAad7w_K.js";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { n as e } from "./stored-language-g121Yv0w.js";
|
|
2
2
|
import { r as t } from "./i18n-provider-D5hkauu6.js";
|
|
3
3
|
import { _ as n, g as r, h as i, n as a, v as o, y as s } from "./number.utils-BiBN2hWJ.js";
|
|
4
|
-
import {
|
|
4
|
+
import { createContext as c, useCallback as l, useContext as u, useEffect as d, useMemo as f, useSyncExternalStore as p } from "react";
|
|
5
5
|
//#region lib/hooks/resolve-theme.ts
|
|
6
|
-
function
|
|
6
|
+
function m(e, t) {
|
|
7
7
|
let n = e === "light" || e === "dark" ? e : "system";
|
|
8
8
|
return {
|
|
9
9
|
theme: n === "system" ? t ? "dark" : "light" : n,
|
|
10
10
|
preference: n
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function h(e) {
|
|
14
14
|
typeof document > "u" || (document.documentElement.classList.toggle("dark", e === "dark"), document.documentElement.style.colorScheme = e);
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region lib/hooks/theme-store.ts
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
let t = e(
|
|
21
|
-
if (t == null) return
|
|
18
|
+
var g = "theme", _ = /* @__PURE__ */ new Set(), v;
|
|
19
|
+
function y() {
|
|
20
|
+
let t = e(g);
|
|
21
|
+
if (t == null) return v;
|
|
22
22
|
try {
|
|
23
23
|
let e = JSON.parse(t);
|
|
24
24
|
return typeof e == "string" ? e : void 0;
|
|
@@ -26,57 +26,63 @@ function _() {
|
|
|
26
26
|
return t;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
for (let e of
|
|
29
|
+
function b() {
|
|
30
|
+
for (let e of _) e();
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
(e.key ===
|
|
32
|
+
function x(e) {
|
|
33
|
+
(e.key === g || e.key === null) && b();
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var S = {
|
|
36
36
|
subscribe(e) {
|
|
37
|
-
return
|
|
38
|
-
|
|
37
|
+
return _.add(e), _.size === 1 && typeof window < "u" && window.addEventListener("storage", x), () => {
|
|
38
|
+
_.delete(e), _.size === 0 && typeof window < "u" && window.removeEventListener("storage", x);
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
|
-
getSnapshot:
|
|
41
|
+
getSnapshot: y,
|
|
42
42
|
getServerSnapshot: () => void 0,
|
|
43
43
|
set(e) {
|
|
44
|
-
|
|
44
|
+
v = e === "system" ? void 0 : e;
|
|
45
45
|
try {
|
|
46
|
-
e === "system" ? globalThis.localStorage?.removeItem(
|
|
46
|
+
e === "system" ? globalThis.localStorage?.removeItem(g) : globalThis.localStorage?.setItem(g, JSON.stringify(e));
|
|
47
47
|
} catch {}
|
|
48
|
-
|
|
48
|
+
b();
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region lib/hooks/use-ssr-media-query.ts
|
|
53
|
-
function
|
|
54
|
-
return
|
|
53
|
+
function C(e, t) {
|
|
54
|
+
return p(l((t) => {
|
|
55
55
|
let n = window.matchMedia(e);
|
|
56
56
|
return n.addEventListener("change", t), () => n.removeEventListener("change", t);
|
|
57
57
|
}, [e]), () => window.matchMedia(e).matches, () => t);
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region lib/hooks/use-theme.ts
|
|
61
|
-
function
|
|
62
|
-
let e =
|
|
61
|
+
function w() {
|
|
62
|
+
let e = C("(prefers-color-scheme: dark)", !1), { theme: t, preference: n } = m(p(S.subscribe, S.getSnapshot, S.getServerSnapshot), e);
|
|
63
63
|
return {
|
|
64
64
|
theme: t,
|
|
65
65
|
preference: n,
|
|
66
|
-
updateTheme:
|
|
67
|
-
|
|
66
|
+
updateTheme: l((t) => {
|
|
67
|
+
S.set(t), h(m(t === "system" ? void 0 : t, e).theme);
|
|
68
68
|
}, [e])
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
//#endregion
|
|
72
|
+
//#region lib/hooks/use-csp-nonce.ts
|
|
73
|
+
var T = c(void 0), E = c(0);
|
|
74
|
+
function D() {
|
|
75
|
+
return u(T);
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
72
78
|
//#region lib/hooks/use-mobile.ts
|
|
73
|
-
var
|
|
74
|
-
function
|
|
75
|
-
return
|
|
79
|
+
var O = 768;
|
|
80
|
+
function k() {
|
|
81
|
+
return C(`(max-width: ${O - 1}px)`, !1);
|
|
76
82
|
}
|
|
77
83
|
//#endregion
|
|
78
84
|
//#region ../../node_modules/date-fns/locale/fr/_lib/formatDistance.js
|
|
79
|
-
var
|
|
85
|
+
var A = {
|
|
80
86
|
lessThanXSeconds: {
|
|
81
87
|
one: "moins d’une seconde",
|
|
82
88
|
other: "moins de {{count}} secondes"
|
|
@@ -138,10 +144,10 @@ var T = {
|
|
|
138
144
|
one: "presqu’un an",
|
|
139
145
|
other: "presque {{count}} ans"
|
|
140
146
|
}
|
|
141
|
-
},
|
|
142
|
-
let r, i =
|
|
147
|
+
}, j = (e, t, n) => {
|
|
148
|
+
let r, i = A[e];
|
|
143
149
|
return r = typeof i == "string" ? i : t === 1 ? i.one : i.other.replace("{{count}}", String(t)), n?.addSuffix ? n.comparison && n.comparison > 0 ? "dans " + r : "il y a " + r : r;
|
|
144
|
-
},
|
|
150
|
+
}, M = {
|
|
145
151
|
date: s({
|
|
146
152
|
formats: {
|
|
147
153
|
full: "EEEE d MMMM y",
|
|
@@ -169,18 +175,18 @@ var T = {
|
|
|
169
175
|
},
|
|
170
176
|
defaultWidth: "full"
|
|
171
177
|
})
|
|
172
|
-
},
|
|
178
|
+
}, N = {
|
|
173
179
|
lastWeek: "eeee 'dernier à' p",
|
|
174
180
|
yesterday: "'hier à' p",
|
|
175
181
|
today: "'aujourd’hui à' p",
|
|
176
182
|
tomorrow: "'demain à' p'",
|
|
177
183
|
nextWeek: "eeee 'prochain à' p",
|
|
178
184
|
other: "P"
|
|
179
|
-
},
|
|
185
|
+
}, P = (e, t, n, r) => N[e], F = {
|
|
180
186
|
narrow: ["av. J.-C", "ap. J.-C"],
|
|
181
187
|
abbreviated: ["av. J.-C", "ap. J.-C"],
|
|
182
188
|
wide: ["avant Jésus-Christ", "après Jésus-Christ"]
|
|
183
|
-
},
|
|
189
|
+
}, I = {
|
|
184
190
|
narrow: [
|
|
185
191
|
"T1",
|
|
186
192
|
"T2",
|
|
@@ -199,7 +205,7 @@ var T = {
|
|
|
199
205
|
"3ème trimestre",
|
|
200
206
|
"4ème trimestre"
|
|
201
207
|
]
|
|
202
|
-
},
|
|
208
|
+
}, L = {
|
|
203
209
|
narrow: [
|
|
204
210
|
"J",
|
|
205
211
|
"F",
|
|
@@ -242,7 +248,7 @@ var T = {
|
|
|
242
248
|
"novembre",
|
|
243
249
|
"décembre"
|
|
244
250
|
]
|
|
245
|
-
},
|
|
251
|
+
}, R = {
|
|
246
252
|
narrow: [
|
|
247
253
|
"D",
|
|
248
254
|
"L",
|
|
@@ -279,7 +285,7 @@ var T = {
|
|
|
279
285
|
"vendredi",
|
|
280
286
|
"samedi"
|
|
281
287
|
]
|
|
282
|
-
},
|
|
288
|
+
}, z = {
|
|
283
289
|
narrow: {
|
|
284
290
|
am: "AM",
|
|
285
291
|
pm: "PM",
|
|
@@ -310,7 +316,7 @@ var T = {
|
|
|
310
316
|
evening: "du soir",
|
|
311
317
|
night: "du matin"
|
|
312
318
|
}
|
|
313
|
-
},
|
|
319
|
+
}, B = (e, t) => {
|
|
314
320
|
let n = Number(e), r = t?.unit;
|
|
315
321
|
if (n === 0) return "0";
|
|
316
322
|
let i = [
|
|
@@ -321,38 +327,38 @@ var T = {
|
|
|
321
327
|
"second"
|
|
322
328
|
], a;
|
|
323
329
|
return a = n === 1 ? r && i.includes(r) ? "ère" : "er" : "ème", n + a;
|
|
324
|
-
},
|
|
330
|
+
}, V = ["MMM", "MMMM"], H = {
|
|
325
331
|
en: i,
|
|
326
332
|
fr: {
|
|
327
333
|
code: "fr",
|
|
328
|
-
formatDistance:
|
|
329
|
-
formatLong:
|
|
330
|
-
formatRelative:
|
|
334
|
+
formatDistance: j,
|
|
335
|
+
formatLong: M,
|
|
336
|
+
formatRelative: P,
|
|
331
337
|
localize: {
|
|
332
|
-
preprocessor: (e, t) => e.getDate() === 1 || !t.some((e) => e.isToken &&
|
|
338
|
+
preprocessor: (e, t) => e.getDate() === 1 || !t.some((e) => e.isToken && V.includes(e.value)) ? t : t.map((e) => e.isToken && e.value === "do" ? {
|
|
333
339
|
isToken: !0,
|
|
334
340
|
value: "d"
|
|
335
341
|
} : e),
|
|
336
|
-
ordinalNumber:
|
|
342
|
+
ordinalNumber: B,
|
|
337
343
|
era: o({
|
|
338
|
-
values:
|
|
344
|
+
values: F,
|
|
339
345
|
defaultWidth: "wide"
|
|
340
346
|
}),
|
|
341
347
|
quarter: o({
|
|
342
|
-
values:
|
|
348
|
+
values: I,
|
|
343
349
|
defaultWidth: "wide",
|
|
344
350
|
argumentCallback: (e) => e - 1
|
|
345
351
|
}),
|
|
346
352
|
month: o({
|
|
347
|
-
values:
|
|
353
|
+
values: L,
|
|
348
354
|
defaultWidth: "wide"
|
|
349
355
|
}),
|
|
350
356
|
day: o({
|
|
351
|
-
values:
|
|
357
|
+
values: R,
|
|
352
358
|
defaultWidth: "wide"
|
|
353
359
|
}),
|
|
354
360
|
dayPeriod: o({
|
|
355
|
-
values:
|
|
361
|
+
values: z,
|
|
356
362
|
defaultWidth: "wide"
|
|
357
363
|
})
|
|
358
364
|
},
|
|
@@ -482,20 +488,20 @@ var T = {
|
|
|
482
488
|
}
|
|
483
489
|
}
|
|
484
490
|
};
|
|
485
|
-
function
|
|
486
|
-
let e = t()?.language ?? "en", n =
|
|
491
|
+
function U() {
|
|
492
|
+
let e = t()?.language ?? "en", n = f(() => H[e] ?? i, [e]);
|
|
487
493
|
return {
|
|
488
494
|
language: e,
|
|
489
495
|
locale: n,
|
|
490
|
-
format:
|
|
496
|
+
format: l((e, t) => a.format(e, t, n), [n])
|
|
491
497
|
};
|
|
492
498
|
}
|
|
493
499
|
//#endregion
|
|
494
500
|
//#region lib/hooks/use-heading-spy.ts
|
|
495
|
-
var
|
|
496
|
-
function
|
|
497
|
-
let r = n?.rootMargin ??
|
|
498
|
-
|
|
501
|
+
var W = "0px 0px -65% 0px", G = [0, 1];
|
|
502
|
+
function K(e, t, n) {
|
|
503
|
+
let r = n?.rootMargin ?? W, i = n?.threshold ?? G;
|
|
504
|
+
d(() => {
|
|
499
505
|
if (e.length === 0) return;
|
|
500
506
|
let n = e.map((e) => document.getElementById(e)).filter((e) => e != null);
|
|
501
507
|
if (n.length === 0) return;
|
|
@@ -516,4 +522,4 @@ function V(e, t, n) {
|
|
|
516
522
|
]);
|
|
517
523
|
}
|
|
518
524
|
//#endregion
|
|
519
|
-
export {
|
|
525
|
+
export { E as a, C as c, T as i, h as l, U as n, D as o, k as r, w as s, K as t, m as u };
|
|
@@ -8,11 +8,11 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
|
|
|
8
8
|
import { a as g, i as _, o as v, r as y } from "./chunk-J5ZVWO5B-DmRRmhon.js";
|
|
9
9
|
import "./chunk-7INBJB4K-k-I67NSP.js";
|
|
10
10
|
import "./chunk-5DYCD2WN-Cd1zazNp.js";
|
|
11
|
-
import "./chunk-Z7XXMR3K-
|
|
11
|
+
import "./chunk-Z7XXMR3K-0DGn7Rxi.js";
|
|
12
12
|
import { t as ee } from "./chunk-XXDRQBXY-dKXxu_aj.js";
|
|
13
13
|
import { t as te } from "./chunk-WEXAMYUT-CbFOhEve.js";
|
|
14
14
|
import "./chunk-UA2S7LBM-ChuksCDg.js";
|
|
15
|
-
import { r as ne, t as re } from "./chunk-GNY47TPC-
|
|
15
|
+
import { r as ne, t as re } from "./chunk-GNY47TPC-BWB3R7nr.js";
|
|
16
16
|
//#region ../../node_modules/chevrotain/node_modules/lodash-es/_freeGlobal.js
|
|
17
17
|
var ie = typeof global == "object" && global && global.Object === Object && global, ae = typeof self == "object" && self && self.Object === Object && self, b = ie || ae || Function("return this")(), oe = b.Symbol, se = Object.prototype, ce = se.hasOwnProperty, le = se.toString, ue = oe ? oe.toStringTag : void 0;
|
|
18
18
|
function de(e) {
|
package/dist/vite.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { e as pdfkitStandardFonts };
|
|
1
|
+
import { cspAssetsInlineLimit as e, pdfkitStandardFonts as t } from "@nxgt/material-core/vite";
|
|
2
|
+
export { e as cspAssetsInlineLimit, t as pdfkitStandardFonts };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as e, rt as t, st as n } from "./components-
|
|
1
|
+
import { at as e, rt as t, st as n } from "./components-B-xPQ6XX.js";
|
|
2
2
|
import { n as r } from "./src-CsLQInsN.js";
|
|
3
3
|
import { i } from "./chunk-ZIGJFQKS-9VXArDKF.js";
|
|
4
4
|
import { n as a } from "./chunk-Y2CYZVJY-BAad7w_K.js";
|
package/docs/README.md
CHANGED
|
@@ -14,6 +14,7 @@ detail: every option, the second example, and the traps.
|
|
|
14
14
|
| [Printing](guides/printing.md) | You render PDF documents with `@nxgt/material/print`, turn them into a download, a new tab or a server response, write them as plain data, or bundle them into an SSR server |
|
|
15
15
|
| [Maps](guides/maps.md) | You render Leaflet maps or a location field with `@nxgt/material/map` |
|
|
16
16
|
| [SSR](guides/ssr.md) | Your app renders on a server and bundles this package |
|
|
17
|
+
| [Content Security Policy](guides/csp.md) | Your app sends a strict CSP: the directives to use, the components that still inject a `<style>`, the zod and KaTeX settings, self-hosting a font, the per-request nonce |
|
|
17
18
|
| [Helpers](guides/helpers.md) | You need a utility, hook, slice factory or type from `/lib`, `/hooks`, `/i18n`, `/models`, `/types` or `/dnd` |
|
|
18
19
|
| [Troubleshooting](troubleshooting.md) | Something failed and you have an error message or a symptom |
|
|
19
20
|
| [Roadmap](roadmap.md) | You want to know what is planned, what shipped, and what will not be done |
|
|
@@ -532,6 +532,11 @@ import { Markdown } from '@nxgt/material/components';
|
|
|
532
532
|
Mermaid diagrams render in the browser only, after mount; on the server the
|
|
533
533
|
fence is left empty.
|
|
534
534
|
|
|
535
|
+
Math needs no import of its own: KaTeX's CSS is in the stylesheet, and its
|
|
536
|
+
fonts are files the stylesheet loads (`dist/fonts/katex/` on the compiled
|
|
537
|
+
route), allowed by `font-src 'self'`. Math in system fonts means the fonts
|
|
538
|
+
were not served ([troubleshooting](../troubleshooting.md#math-renders-in-the-system-fonts)).
|
|
539
|
+
|
|
535
540
|
**Storybook:** `Data display/Markdown` · **Vue:** `Markdown`, `MermaidDiagram`
|
|
536
541
|
|
|
537
542
|
---
|
|
@@ -88,6 +88,8 @@ CalendarContrast).
|
|
|
88
88
|
|
|
89
89
|
Labelled trigger that opens a calendar popover, with an optional time picker.
|
|
90
90
|
|
|
91
|
+
The trigger writes the date in the field's `locale`, else the `I18nProvider` language, else English.
|
|
92
|
+
|
|
91
93
|
```tsx
|
|
92
94
|
import { DateField } from '@nxgt/material/components';
|
|
93
95
|
import { useState } from 'react';
|
|
@@ -146,6 +148,8 @@ calendar is labelled by the trigger, so named by the label.
|
|
|
146
148
|
|
|
147
149
|
From / to range picked in a popover calendar, with presets and times.
|
|
148
150
|
|
|
151
|
+
The trigger writes each date in the field's `locale`, else the `I18nProvider` language, else English.
|
|
152
|
+
|
|
149
153
|
```tsx
|
|
150
154
|
import { type DateRange, DateRangeField } from '@nxgt/material/components';
|
|
151
155
|
import { useState } from 'react';
|
|
@@ -288,6 +292,8 @@ second day is picked.
|
|
|
288
292
|
|
|
289
293
|
Opens a `TimePicker` in a popover, or in a dialog on mobile.
|
|
290
294
|
|
|
295
|
+
The trigger writes the time in the `I18nProvider` language, else English.
|
|
296
|
+
|
|
291
297
|
```tsx
|
|
292
298
|
import { TimeField } from '@nxgt/material/components';
|
|
293
299
|
import { useState } from 'react';
|
|
@@ -310,9 +310,11 @@ import { Button, EmptyState } from '@nxgt/material/components';
|
|
|
310
310
|
| --- | --- | --- | --- |
|
|
311
311
|
| `variant` | `'not-found' \| 'unauthorized' \| 'generic' \| 'empty' \| 'offline' \| 'search' \| 'maintenance'` | `'generic'` | preset icon, well colour, title and description |
|
|
312
312
|
| `icon` | `ReactNode` | the preset's | replaces the icon |
|
|
313
|
-
| `title` / `description` | `ReactNode` | the preset's (translated) | replace the preset text |
|
|
313
|
+
| `title` / `description` | `ReactNode` | the preset's (translated) | replace the preset text; see below |
|
|
314
314
|
| `action` | `ReactNode` | — | shown under the text |
|
|
315
315
|
|
|
316
|
+
The preset's description is the companion of its title: with your own `title` and no `description`, no description is rendered. Pass `description` to keep a line under your own title.
|
|
317
|
+
|
|
316
318
|
**Storybook:** `Feedback & status/EmptyState` · **Vue:** `EmptyState`
|
|
317
319
|
|
|
318
320
|
---
|