@nxgt/material 2.4.2 → 2.6.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 +28 -21
- package/dist/{_Uint8Array-DEXn42kj.js → _Uint8Array-CDlDeQmw.js} +1 -1
- package/dist/_overRest-CWIWQwDJ.js +81 -0
- package/dist/{abnfDiagram-O67JEVCF-C7NxOWqd.js → abnfDiagram-O67JEVCF-Cl4ukf6a.js} +4 -4
- package/dist/{architectureDiagram-NJMV4G6O-BIvwyzEh.js → architectureDiagram-NJMV4G6O-WmFlBQF5.js} +7 -7
- package/dist/{client-only.utils-DhcBUmau.js → async-slice-Qoen0Mqm.js} +164 -93
- package/dist/{blockDiagram-BEXU5L5S-CzgMFdtn.js → blockDiagram-BEXU5L5S-_6EVgQ2-.js} +11 -11
- package/dist/{c4Diagram-YGBWAQC7-WgqlRIL5.js → c4Diagram-YGBWAQC7-D9xSt2QO.js} +8 -8
- package/dist/{channel-Ba8pEAWx.js → channel-Dg92Hoym.js} +1 -1
- package/dist/{chunk-3FUC2YCW-DnIzetwB.js → chunk-3FUC2YCW-CRQHl-Jx.js} +8 -8
- package/dist/{chunk-5DYCD2WN-Bqi3iL5i.js → chunk-5DYCD2WN-Cja1INgd.js} +3 -3
- package/dist/{chunk-6AEJRKK7-DDXoGWDs.js → chunk-6AEJRKK7-3YWRP4aV.js} +2 -2
- package/dist/{chunk-742MDFTN-nG_ROTnT.js → chunk-742MDFTN-Cs1qGiTK.js} +2 -2
- package/dist/{chunk-7INBJB4K-Dg64CbhT.js → chunk-7INBJB4K-BY5n77ka.js} +6 -6
- package/dist/{chunk-7M6MHVWA-CPdb6LVf.js → chunk-7M6MHVWA-DqXpf6CM.js} +9 -9
- package/dist/{chunk-7PRAP22T-DIiYRAce.js → chunk-7PRAP22T-_Av9vcXz.js} +1 -1
- package/dist/{chunk-GNY47TPC-CxWZwDbp.js → chunk-GNY47TPC-BgMsLbCS.js} +11 -11
- package/dist/{chunk-GTNCS2PH-CzDYTYNy.js → chunk-GTNCS2PH-BZ9WMD1v.js} +3 -3
- package/dist/{chunk-GWA4HPMP-CmsxMX3A.js → chunk-GWA4HPMP-Co-A6dtV.js} +3 -3
- package/dist/{chunk-MBY4JIJT-IA2XBafa.js → chunk-MBY4JIJT-C3RQP_Nk.js} +4 -4
- package/dist/{chunk-NETBCI7D-Cq92-0cA.js → chunk-NETBCI7D-CsyH43bj.js} +1 -1
- package/dist/{chunk-O7XYJQB3-C87zK8E5.js → chunk-O7XYJQB3-A66QSOPA.js} +1 -1
- package/dist/{chunk-UA2S7LBM-B0LGFGu3.js → chunk-UA2S7LBM-BNeHeMx9.js} +6 -6
- package/dist/{chunk-WEXAMYUT-C-QP0DFq.js → chunk-WEXAMYUT-CucJfehv.js} +2 -2
- package/dist/{chunk-XXDRQBXY-Bq4sFnO2.js → chunk-XXDRQBXY-FgXU14Bh.js} +1 -1
- package/dist/{chunk-Z7XXMR3K-vh8Pvgr_.js → chunk-Z7XXMR3K-CoCjTVVx.js} +8 -8
- package/dist/{chunk-ZIGJFQKS-HDJ6e6OJ.js → chunk-ZIGJFQKS-C3xUAXJq.js} +3 -3
- package/dist/{classDiagram-v2-NBCMYWYE-BSyQx7Df.js → classDiagram-v2-NBCMYWYE-j4vk04t-.js} +14 -14
- package/dist/{components-C3jpOwPw.js → components-C3wIUrWw.js} +26931 -25668
- package/dist/components.js +6 -6
- package/dist/{cose-bilkent-JH36ORCC-11-T1rfk.js → cose-bilkent-JH36ORCC-DRUT3qBb.js} +2 -2
- package/dist/{cynefinDiagram-VND7K2PF-1kHi2rGa.js → cynefinDiagram-VND7K2PF-B9HrdQW8.js} +4 -4
- package/dist/{dagre-6A5THRUB-BDk37t1_.js → dagre-6A5THRUB-DXq_YBNL.js} +572 -613
- package/dist/{diagram-22UHCM2B-BvH24G-C.js → diagram-22UHCM2B-He8NDldw.js} +15 -15
- package/dist/{diagram-3UASUU5V-DAKVPT0Q.js → diagram-3UASUU5V-CeILva4U.js} +7 -7
- package/dist/{diagram-ATOU4E4O-Clju_0RY.js → diagram-ATOU4E4O-CNY-8kl0.js} +3 -3
- package/dist/{diagram-CDSNMT55-w7kkJ6MU.js → diagram-CDSNMT55-C8Mk1smi.js} +5 -5
- package/dist/{diagram-MLGK6HIB-mUOtRVmm.js → diagram-MLGK6HIB-CpfeILwW.js} +4 -4
- package/dist/{diagram-MPIPVDR6-DEUw58dq.js → diagram-MPIPVDR6-Do7bUnTd.js} +4 -4
- package/dist/{dist-gYpAi-su.js → dist-C3YK_ean.js} +1 -1
- package/dist/{dist-CeHNxLJG.js → dist-CRbPtqwD.js} +1 -1
- package/dist/dnd.js +1 -1
- package/dist/{ebnfDiagram-ZINNZB2B-BYfatie5.js → ebnfDiagram-ZINNZB2B-1GewX9Zq.js} +4 -4
- package/dist/{elk-276RUBZZ-CtsHzWCy.js → elk-276RUBZZ-DFn4kTey.js} +13 -13
- package/dist/{erDiagram-OPXOYQCR-DTrqayuU.js → erDiagram-OPXOYQCR-BzVUcUwh.js} +14 -14
- package/dist/{field-blur-EUOqpHbF.js → field-blur-BlrE9fOD.js} +1109 -1083
- package/dist/flowDiagram-KWPJA3E3-B4pJCj2Q.js +17 -0
- package/dist/{ganttDiagram-FUAMR5RP-DxWSt8R4.js → ganttDiagram-FUAMR5RP-B4A4UFFi.js} +6 -6
- package/dist/{gitGraphDiagram-X574FWY7-DcGaPSwy.js → gitGraphDiagram-X574FWY7-80yOq8dE.js} +3 -3
- package/dist/{graphlib-BOTXrGOf.js → graphlib-CQ3hLS1N.js} +103 -139
- package/dist/hooks.js +2 -2
- package/dist/{i18n-provider-XTTU9ArK.js → i18n-provider-CbYD2KxP.js} +1 -1
- package/dist/i18n.js +6 -6
- package/dist/{icon-button-Dl9PDYCE.js → icon-button-BxySFfrr.js} +581 -581
- package/dist/{infoDiagram-VRGFBTTK-Cvj167dl.js → infoDiagram-VRGFBTTK-Cboh-B9n.js} +3 -3
- package/dist/isArrayLikeObject-5rnYwEK7.js +28 -0
- package/dist/isEmpty-DChvniYe.js +53 -0
- package/dist/{ishikawaDiagram-OU5B5YK6-ChBwjCfr.js → ishikawaDiagram-OU5B5YK6-DwTd1YxL.js} +4 -4
- package/dist/{journeyDiagram-ZHPQQLJL-BycdRLE6.js → journeyDiagram-ZHPQQLJL-C91SPPkY.js} +4 -4
- package/dist/{kanban-definition-PNTS6WVX-BRoa-Yp5.js → kanban-definition-PNTS6WVX-S8plI4wn.js} +10 -10
- package/dist/lib/components/ui/actions/button/button.compound-variants.d.ts +114 -0
- package/dist/lib/components/ui/actions/button/button.d.ts +4 -7
- package/dist/lib/components/ui/actions/button/button.variants.d.ts +7 -0
- package/dist/lib/components/ui/actions/button/has-text-content.d.ts +10 -0
- package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-table/data-table-context.d.ts +4 -0
- package/dist/lib/components/ui/collections/data-table/data-table-pagination.d.ts +3 -1
- package/dist/lib/components/ui/collections/data-table/data-table.d.ts +12 -2
- package/dist/lib/components/ui/collections/data-table/hooks.d.ts +13 -13
- package/dist/lib/components/ui/collections/data-table/partials/data-table-body.d.ts +9 -5
- package/dist/lib/components/ui/collections/data-table/partials/data-table-empty-row.d.ts +14 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-skeleton-rows.d.ts +7 -0
- package/dist/lib/components/ui/collections/filter/filter-field-number-range.d.ts +15 -0
- package/dist/lib/components/ui/collections/pagination/index.d.ts +1 -1
- package/dist/lib/components/ui/collections/pagination/pagination.d.ts +9 -1
- package/dist/lib/components/ui/collections/tree/use-tree.d.ts +2 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field-trigger.d.ts +1 -1
- package/dist/lib/components/ui/dates/date-range-field/date-range-field.d.ts +10 -1
- package/dist/lib/components/ui/dates/date-range-field/date-range-field.utils.d.ts +13 -0
- package/dist/lib/components/ui/dates/date-range-field/index.d.ts +1 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/date-range-field-content.d.ts +25 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/date-range-presets.d.ts +11 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/date-range-times.d.ts +11 -0
- package/dist/lib/components/ui/dates/date-range-field/use-date-range-presets.d.ts +22 -0
- package/dist/lib/components/ui/dates/time-picker/time-picker-utils.d.ts +7 -0
- package/dist/lib/components/ui/display/chip/chip.d.ts +1 -1
- package/dist/lib/components/ui/feedback/toast/toast.d.ts +9 -4
- package/dist/lib/components/ui/fields/number-field/number-field.d.ts +3 -1
- package/dist/lib/components/ui/fields/otp-field/index.d.ts +1 -0
- package/dist/lib/components/ui/fields/otp-field/input-otp.d.ts +1 -1
- package/dist/lib/components/ui/fields/slider/slider-header.d.ts +19 -0
- package/dist/lib/components/ui/fields/slider/slider-readout.d.ts +5 -1
- package/dist/lib/components/ui/fields/slider/slider.d.ts +7 -0
- package/dist/lib/components/ui/fields/switch/switch.d.ts +7 -0
- package/dist/lib/components/ui/layout/stepper/stepper-step.d.ts +17 -0
- package/dist/lib/components/ui/media/camera/camera-content.d.ts +1 -2
- package/dist/lib/components/ui/media/camera/camera-context.d.ts +4 -0
- package/dist/lib/components/ui/media/camera/camera-provider.d.ts +2 -0
- package/dist/lib/components/ui/media/camera/camera.d.ts +6 -3
- package/dist/lib/components/ui/media/camera/capture-photo.d.ts +13 -0
- package/dist/lib/components/ui/media/camera/index.d.ts +9 -1
- package/dist/lib/components/ui/media/camera/state/camera.reducers.d.ts +1 -1
- package/dist/lib/components/ui/media/camera/state/camera.slice.d.ts +4 -9
- package/dist/lib/components/ui/media/camera/state/camera.store.d.ts +11 -5
- package/dist/lib/components/ui/media/camera/state/camera.thunks.d.ts +4 -4
- package/dist/lib/components/ui/media/camera/types.d.ts +19 -9
- package/dist/lib/components/ui/media/camera/use-camera.d.ts +5 -11
- package/dist/lib/components/ui/media/camera/utils/camera.utils.d.ts +0 -1
- package/dist/lib/components/ui/media/file-preview/file-preview-pdf.lazy.d.ts +9 -0
- package/dist/lib/components/ui/media/file-preview/file-preview.d.ts +12 -0
- package/dist/lib/components/ui/media/file-preview/index.d.ts +3 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-body.d.ts +9 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-card.d.ts +20 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-media.d.ts +11 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-pdf.d.ts +10 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-status.d.ts +17 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-text.d.ts +13 -0
- package/dist/lib/components/ui/media/file-preview/types.d.ts +23 -0
- package/dist/lib/components/ui/media/file-preview/use-file-preview.d.ts +22 -0
- package/dist/lib/components/ui/media/file-preview/use-text-preview.d.ts +15 -0
- package/dist/lib/components/ui/media/index.d.ts +2 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-image-preview.d.ts +6 -0
- package/dist/lib/components/ui/overlays/dialog/dialog-outside.d.ts +5 -0
- package/dist/lib/components/ui/overlays/dialog/dialog-scroll-content.d.ts +9 -0
- package/dist/lib/components/ui/overlays/dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/icon/icon-context.d.ts +1 -1
- package/dist/lib/components/ui/primitives/table/table.d.ts +6 -1
- package/dist/lib/components/ui/selection/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/native-select/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/native-select/native-select.d.ts +11 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +8 -1
- package/dist/lib/components/ui/selection/tree-select-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-content.d.ts +13 -0
- package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-panel.d.ts +19 -0
- package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-trigger.d.ts +24 -0
- package/dist/lib/components/ui/selection/tree-select-field/tree-select-field.d.ts +9 -0
- package/dist/lib/components/ui/selection/tree-select-field/tree-select-form-field.d.ts +8 -0
- package/dist/lib/components/ui/selection/tree-select-field/tree-select.utils.d.ts +35 -0
- package/dist/lib/components/ui/selection/tree-select-field/types.d.ts +37 -0
- package/dist/lib/components/ui/selection/tree-select-field/use-tree-select-field.d.ts +20 -0
- package/dist/lib/i18n/resources/en/en.d.ts +40 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +43 -3
- package/dist/lib/i18n/resources/fr/fr.d.ts +40 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +43 -3
- package/dist/lib/i18n/resources/resources.d.ts +80 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/lib/redux/status-slice.d.ts +1 -1
- package/dist/lib.js +295 -4
- package/dist/main.js +16 -16
- package/dist/map.js +5 -5
- package/dist/material.css +1 -1
- package/dist/merge-_Awk4ywA.js +156 -0
- package/dist/{mermaid.core-BGAQ3ZAZ.js → mermaid.core-DciYB1MV.js} +49 -49
- package/dist/{mindmap-definition-NLK3R4M7-HIqs4Eil.js → mindmap-definition-NLK3R4M7-Brf_2jIE.js} +13 -13
- package/dist/{pegDiagram-GJSIUBJH-Dcm3LCQX.js → pegDiagram-GJSIUBJH-CAO6aYvj.js} +4 -4
- package/dist/{pieDiagram-5QR66LMP-DQ6djEkW.js → pieDiagram-5QR66LMP-MPh-EWf-.js} +5 -5
- package/dist/print.js +2 -2
- package/dist/{quadrantDiagram-O4NWA36T-yUWorB72.js → quadrantDiagram-O4NWA36T-CwDeE9KB.js} +3 -3
- package/dist/{railroadDiagram-XR7U4H2S-CzOJlTUA.js → railroadDiagram-XR7U4H2S-DmKDXg8V.js} +4 -4
- package/dist/{requirementDiagram-PLB6GJNP-Cs5-8Nro.js → requirementDiagram-PLB6GJNP-CCP3YtvB.js} +13 -13
- package/dist/{sankeyDiagram-IPEJSGJF-CCqxyVoj.js → sankeyDiagram-IPEJSGJF-vgVchd2a.js} +3 -3
- package/dist/{sequenceDiagram-PO4LG4MO-DMLeIQ03.js → sequenceDiagram-PO4LG4MO-B2qb55A5.js} +5 -5
- package/dist/{sortable-provider-DuRzFvwe.js → sortable-provider-CzSnl6It.js} +17 -17
- package/dist/{src-CJ8DNrI1.js → src-C9kQSo6K.js} +1 -1
- package/dist/{stateDiagram-v2-GCMORJYK-D-8sLHg8.js → stateDiagram-v2-GCMORJYK-T-oIXh-8.js} +14 -14
- package/dist/{stored-language-BP90Ydtg.js → stored-language-DmUUhRb5.js} +90 -6
- package/dist/{swimlanes-2SLR337P-DM_lDm6v.js → swimlanes-2SLR337P-tW3_wBWO.js} +12 -12
- package/dist/swimlanesDiagram-TC7HE7FX-B1lWzHp1.js +28 -0
- package/dist/{timeline-definition-EJHVYXUP-D3Tz-JnK.js → timeline-definition-EJHVYXUP-SdA6wt2-.js} +5 -5
- package/dist/{translate-material-Ctzt0Y2N.js → translate-material-DuY12xca.js} +2 -2
- package/dist/{translator-Cfug7hC5.js → translator-CaIYjyFP.js} +1 -1
- package/dist/{use-heading-spy-DtVo2HBk.js → use-heading-spy-Crdz4OH5.js} +2 -2
- package/dist/{use-material-translation-CJswHOmK.js → use-material-translation-Od0QsFPA.js} +2 -2
- package/dist/{usecaseDiagram-POWQR4AR-Cxx8PDrr.js → usecaseDiagram-POWQR4AR-B3rBcR4E.js} +13 -13
- package/dist/{vennDiagram-UO4OBE2U-Aql8mhcy.js → vennDiagram-UO4OBE2U-CO0yFCI8.js} +4 -4
- package/dist/{wardleyDiagram-VNRHLVJA-tknlhG_t.js → wardleyDiagram-VNRHLVJA-QkwghAYo.js} +4 -4
- package/dist/{xychartDiagram-PMCCYNJV-CM0QlWD5.js → xychartDiagram-PMCCYNJV-stQWLgCx.js} +7 -7
- package/docs/components/README.md +2 -1
- package/docs/components/buttons-and-actions.md +8 -3
- package/docs/components/data-display.md +4 -4
- package/docs/components/data-table-filter-and-lists.md +100 -6
- package/docs/components/date-and-time.md +106 -6
- package/docs/components/feedback-and-status.md +4 -3
- package/docs/components/form-fields.md +55 -5
- package/docs/components/media-and-files.md +117 -8
- package/docs/components/navigation-and-layout.md +6 -1
- package/docs/components/overlays-and-menus.md +27 -2
- package/docs/components/primitives.md +34 -3
- package/docs/components/rich-widgets.md +1 -1
- package/docs/components/selection-and-choice.md +111 -8
- package/docs/guides/forms.md +2 -1
- package/docs/guides/i18n.md +58 -9
- package/docs/guides/ssr.md +3 -1
- package/docs/previews/date-time-daterangefield.webp +0 -0
- package/docs/previews/media-files-camera.webp +0 -0
- package/docs/previews/media-files-filepreview.webp +0 -0
- package/docs/previews/navigation-layout-stepper.webp +0 -0
- package/docs/previews/selection-choice-treeselectfield.webp +0 -0
- package/docs/roadmap.md +42 -3
- package/docs/troubleshooting.md +167 -0
- package/package.json +2 -2
- package/dist/flowDiagram-KWPJA3E3-B8Isvcc5.js +0 -17
- package/dist/isArrayLikeObject-CCJDO2RL.js +0 -86
- package/dist/lib/components/ui/fields/slider/slider-ticks.d.ts +0 -1
- package/dist/lib/components/ui/media/camera/camera.provider.d.ts +0 -6
- package/dist/lib/components/ui/media/camera/state/index.d.ts +0 -2
- package/dist/lib/components/ui/media/camera/utils/index.d.ts +0 -1
- package/dist/lib-DIj5dvbb.js +0 -367
- package/dist/merge-Dm-kHFxo.js +0 -172
- package/dist/swimlanesDiagram-TC7HE7FX-CbV1TsML.js +0 -28
|
@@ -46,6 +46,7 @@ export declare const resources: {
|
|
|
46
46
|
cancel: string;
|
|
47
47
|
processing: string;
|
|
48
48
|
failed: string;
|
|
49
|
+
"form-failed": string;
|
|
49
50
|
};
|
|
50
51
|
"scroll-progress": string;
|
|
51
52
|
"skip-link": string;
|
|
@@ -321,6 +322,7 @@ export declare const resources: {
|
|
|
321
322
|
};
|
|
322
323
|
};
|
|
323
324
|
table: {
|
|
325
|
+
loading: string;
|
|
324
326
|
labels: {
|
|
325
327
|
asc: string;
|
|
326
328
|
desc: string;
|
|
@@ -623,6 +625,12 @@ export declare const resources: {
|
|
|
623
625
|
expand: string;
|
|
624
626
|
collapse: string;
|
|
625
627
|
};
|
|
628
|
+
"tree-select-field": {
|
|
629
|
+
placeholder: string;
|
|
630
|
+
search: string;
|
|
631
|
+
empty: string;
|
|
632
|
+
selected: string;
|
|
633
|
+
};
|
|
626
634
|
"image-cropper": {
|
|
627
635
|
title: string;
|
|
628
636
|
zoom: string;
|
|
@@ -747,6 +755,8 @@ export declare const resources: {
|
|
|
747
755
|
};
|
|
748
756
|
stepper: {
|
|
749
757
|
step: string;
|
|
758
|
+
completed: string;
|
|
759
|
+
error: string;
|
|
750
760
|
};
|
|
751
761
|
"location-field": {
|
|
752
762
|
placeholder: string;
|
|
@@ -1162,6 +1172,11 @@ export declare const resources: {
|
|
|
1162
1172
|
spinner: {
|
|
1163
1173
|
loading: string;
|
|
1164
1174
|
};
|
|
1175
|
+
slider: {
|
|
1176
|
+
minimum: string;
|
|
1177
|
+
maximum: string;
|
|
1178
|
+
value: string;
|
|
1179
|
+
};
|
|
1165
1180
|
"scroll-to-top": {
|
|
1166
1181
|
label: string;
|
|
1167
1182
|
};
|
|
@@ -1197,6 +1212,31 @@ export declare const resources: {
|
|
|
1197
1212
|
"time-picker": {
|
|
1198
1213
|
am: string;
|
|
1199
1214
|
pm: string;
|
|
1215
|
+
hours: string;
|
|
1216
|
+
minutes: string;
|
|
1217
|
+
};
|
|
1218
|
+
"date-range-field": {
|
|
1219
|
+
presets: string;
|
|
1220
|
+
preset: {
|
|
1221
|
+
today: string;
|
|
1222
|
+
yesterday: string;
|
|
1223
|
+
"last-7-days": string;
|
|
1224
|
+
"last-30-days": string;
|
|
1225
|
+
"this-month": string;
|
|
1226
|
+
"last-month": string;
|
|
1227
|
+
"this-year": string;
|
|
1228
|
+
};
|
|
1229
|
+
"start-time": string;
|
|
1230
|
+
"end-time": string;
|
|
1231
|
+
};
|
|
1232
|
+
"file-preview": {
|
|
1233
|
+
label: string;
|
|
1234
|
+
untitled: string;
|
|
1235
|
+
loading: string;
|
|
1236
|
+
error: string;
|
|
1237
|
+
download: string;
|
|
1238
|
+
truncated: string;
|
|
1239
|
+
content: string;
|
|
1200
1240
|
};
|
|
1201
1241
|
};
|
|
1202
1242
|
};
|
|
@@ -1241,6 +1281,7 @@ export declare const resources: {
|
|
|
1241
1281
|
cancel: string;
|
|
1242
1282
|
processing: string;
|
|
1243
1283
|
failed: string;
|
|
1284
|
+
"form-failed": string;
|
|
1244
1285
|
};
|
|
1245
1286
|
"scroll-progress": string;
|
|
1246
1287
|
"skip-link": string;
|
|
@@ -1516,6 +1557,7 @@ export declare const resources: {
|
|
|
1516
1557
|
};
|
|
1517
1558
|
};
|
|
1518
1559
|
table: {
|
|
1560
|
+
loading: string;
|
|
1519
1561
|
labels: {
|
|
1520
1562
|
asc: string;
|
|
1521
1563
|
desc: string;
|
|
@@ -1818,6 +1860,12 @@ export declare const resources: {
|
|
|
1818
1860
|
expand: string;
|
|
1819
1861
|
collapse: string;
|
|
1820
1862
|
};
|
|
1863
|
+
"tree-select-field": {
|
|
1864
|
+
placeholder: string;
|
|
1865
|
+
search: string;
|
|
1866
|
+
empty: string;
|
|
1867
|
+
selected: string;
|
|
1868
|
+
};
|
|
1821
1869
|
"image-cropper": {
|
|
1822
1870
|
title: string;
|
|
1823
1871
|
zoom: string;
|
|
@@ -1942,6 +1990,8 @@ export declare const resources: {
|
|
|
1942
1990
|
};
|
|
1943
1991
|
stepper: {
|
|
1944
1992
|
step: string;
|
|
1993
|
+
completed: string;
|
|
1994
|
+
error: string;
|
|
1945
1995
|
};
|
|
1946
1996
|
"location-field": {
|
|
1947
1997
|
placeholder: string;
|
|
@@ -2357,6 +2407,11 @@ export declare const resources: {
|
|
|
2357
2407
|
spinner: {
|
|
2358
2408
|
loading: string;
|
|
2359
2409
|
};
|
|
2410
|
+
slider: {
|
|
2411
|
+
minimum: string;
|
|
2412
|
+
maximum: string;
|
|
2413
|
+
value: string;
|
|
2414
|
+
};
|
|
2360
2415
|
"scroll-to-top": {
|
|
2361
2416
|
label: string;
|
|
2362
2417
|
};
|
|
@@ -2392,6 +2447,31 @@ export declare const resources: {
|
|
|
2392
2447
|
"time-picker": {
|
|
2393
2448
|
am: string;
|
|
2394
2449
|
pm: string;
|
|
2450
|
+
hours: string;
|
|
2451
|
+
minutes: string;
|
|
2452
|
+
};
|
|
2453
|
+
"date-range-field": {
|
|
2454
|
+
presets: string;
|
|
2455
|
+
preset: {
|
|
2456
|
+
today: string;
|
|
2457
|
+
yesterday: string;
|
|
2458
|
+
"last-7-days": string;
|
|
2459
|
+
"last-30-days": string;
|
|
2460
|
+
"this-month": string;
|
|
2461
|
+
"last-month": string;
|
|
2462
|
+
"this-year": string;
|
|
2463
|
+
};
|
|
2464
|
+
"start-time": string;
|
|
2465
|
+
"end-time": string;
|
|
2466
|
+
};
|
|
2467
|
+
"file-preview": {
|
|
2468
|
+
label: string;
|
|
2469
|
+
untitled: string;
|
|
2470
|
+
loading: string;
|
|
2471
|
+
error: string;
|
|
2472
|
+
download: string;
|
|
2473
|
+
truncated: string;
|
|
2474
|
+
content: string;
|
|
2395
2475
|
};
|
|
2396
2476
|
};
|
|
2397
2477
|
};
|
|
@@ -25,4 +25,4 @@ export declare function getLanguage(): Language;
|
|
|
25
25
|
*/
|
|
26
26
|
export declare function createTranslator<K extends string = MaterialLocaleKey>(bundle?: Record<string, any>, localeProvider?: LanguageProvider): Translate<K>;
|
|
27
27
|
/** Translator bound to the base bundle owned by `@nxgt/material`. */
|
|
28
|
-
export declare const translate: Translate<"material.scroll-progress" | "material.skip-link" | "material.see-also" | "material.code.copy" | "material.code.language" | "material.code.copied" | "material.code.word-wrap" | "material.map.you-are-here" | "material.map.zoom-in" | "material.map.zoom-out" | "material.map.my-position" | "material.map.preview" | "material.map.preview-named" | "material.pagination.next" | "material.pagination.previous" | "material.table.pagination.next" | "material.table.pagination.previous" | "material.table.pagination.go-to-next-page" | "material.table.pagination.go-to-previous-page" | "material.table.pagination.go-to-first-page" | "material.table.pagination.go-to-last-page" | "material.table.pagination.rows-per-page" | "material.table.pagination.rows-selected" | "material.table.pagination.page-of" | "material.table.labels.desc" | "material.table.labels.view" | "material.table.labels.hide" | "material.table.labels.asc" | "material.table.labels.actions" | "material.table.labels.delete-selected-rows" | "material.table.labels.toggle-columns" | "material.table.labels.no-data" | "material.table.labels.select-all" | "material.table.labels.select-row" | "material.table.labels.toggle-row" | "material.table.delete-confirm.title" | "material.table.delete-confirm.description" | "material.table.delete-confirm.confirm" | "material.table.delete-confirm.cancel" | "material.filter.title" | "material.filter.max" | "material.filter.min" | "material.filter.trigger" | "material.filter.active-count" | "material.filter.apply" | "material.filter.reset" | "material.filter.clear-all" | "material.filter.empty" | "material.filter.more" | "material.filter.value.yes" | "material.filter.value.no" | "material.filter.value.from" | "material.filter.value.until" | "material.filter.value.up-to" | "material.filter.presets.description" | "material.filter.presets.name" | "material.filter.presets.cancel" | "material.filter.presets.load" | "material.filter.presets.saved" | "material.filter.presets.manage" | "material.filter.presets.set-default" | "material.filter.presets.unset-default" | "material.filter.presets.delete" | "material.filter.presets.create" | "material.filter.presets.limit" | "material.filter.presets.dialog-title" | "material.filter.presets.dialog-description" | "material.filter.presets.name-placeholder" | "material.filter.presets.usage" | "material.filter.presets.description-placeholder" | "material.filter.presets.submit" | "material.banner.dismiss" | "material.tree.label" | "material.tree.expand" | "material.tree.collapse" | "material.copy.copy" | "material.copy.copied" | "material.emoji.search" | "material.emoji.empty" | "material.emoji.picker" | "material.emoji.pick" | "material.carousel.next" | "material.carousel.previous" | "material.carousel.slide" | "material.carousel.roledescription" | "material.pagination.label" | "material.pagination.page" | "material.pagination.more" | "material.pagination.first" | "material.pagination.last" | "material.breadcrumb.label" | "material.breadcrumb.more" | "material.empty-state.search.title" | "material.empty-state.search.description" | "material.empty-state.empty.title" | "material.empty-state.empty.description" | "material.empty-state.not-found.title" | "material.empty-state.not-found.description" | "material.empty-state.unauthorized.title" | "material.empty-state.unauthorized.description" | "material.empty-state.generic.title" | "material.empty-state.generic.description" | "material.empty-state.offline.title" | "material.empty-state.offline.description" | "material.empty-state.maintenance.title" | "material.empty-state.maintenance.description" | "material.command.title" | "material.command.description" | "material.confirm-dialog.confirm" | "material.confirm-dialog.cancel" | "material.confirm-dialog.processing" | "material.confirm-dialog.failed" | "material.mentions.empty" | "material.cards.vs" | "material.cards.per-month" | "material.cards.total" | "material.cards.rating" | "material.cards.unread" | "material.metrics.of-target" | "material.metrics.of-limit" | "material.metrics.this-period" | "material.metrics.last-period" | "material.metrics.weekdays" | "material.pager.next" | "material.pager.previous" | "material.toc.on-this-page" | "material.upload.failed" | "material.upload.retry" | "material.upload.remove" | "material.upload.replace-named" | "material.upload.invalid-type" | "material.upload.too-large" | "material.upload.max-files" | "material.upload.dropzone.max-files" | "material.upload.dropzone.idle" | "material.upload.dropzone.at-capacity" | "material.upload.dropzone.max-size" | "material.upload.dropzone.files-selected" | "material.image-field.replace" | "material.image-field.retry" | "material.image-field.remove" | "material.image-field.choose" | "material.language.fr" | "material.language.en" | "material.buttons.delete" | "material.buttons.load-more" | "material.buttons.ok" | "material.buttons.add" | "material.buttons.save" | "material.buttons.close" | "material.json-viewer.items" | "material.json-viewer.empty" | "material.json-viewer.expand" | "material.json-viewer.collapse" | "material.json-viewer.invalid" | "material.chat.send" | "material.chat.copy" | "material.chat.empty" | "material.chat.retry" | "material.chat.attach" | "material.chat.remove-attachment" | "material.chat.scroll-to-latest" | "material.chat.add-reaction" | "material.chat.attachment-type" | "material.chat.attachment-max-files" | "material.chat.attachment-max-size" | "material.chat.placeholder" | "material.chat.message" | "material.chat.typing" | "material.chat.empty-description" | "material.chat.back" | "material.chat.pick-conversation" | "material.chat.pick-conversation-description" | "material.chat.send-failed" | "material.gallery.label" | "material.gallery.select" | "material.gallery.repeat" | "material.gallery.next" | "material.gallery.previous" | "material.gallery.zoom-in" | "material.gallery.zoom-out" | "material.gallery.empty" | "material.gallery.more" | "material.gallery.delete" | "material.gallery.close" | "material.gallery.empty-description" | "material.gallery.of" | "material.gallery.open" | "material.gallery.repeat-off" | "material.gallery.play" | "material.gallery.download" | "material.gallery.selected" | "material.gallery.clear-selection" | "material.notifications.label" | "material.notifications.search" | "material.notifications.empty" | "material.notifications.dismiss" | "material.notifications.empty-description" | "material.notifications.empty-unread" | "material.notifications.empty-unread-description" | "material.notifications.read-all" | "material.notifications.filter-all" | "material.notifications.filter-unread" | "material.notifications.filter-category-all" | "material.notifications.dismiss-item" | "material.education.progress" | "material.education.results" | "material.education.true" | "material.education.false" | "material.education.next" | "material.education.previous" | "material.education.empty" | "material.education.submit" | "material.education.retry" | "material.education.answer-placeholder" | "material.education.expected" | "material.education.answered" | "material.education.score" | "material.education.quiz" | "material.education.review" | "material.education.kind-choice" | "material.education.kind-multi" | "material.education.kind-boolean" | "material.education.kind-text" | "material.stx-player.audio" | "material.stx-player.label" | "material.stx-player.video" | "material.stx-player.repeat" | "material.stx-player.next" | "material.stx-player.previous" | "material.stx-player.retry" | "material.stx-player.empty-description" | "material.stx-player.repeat-off" | "material.stx-player.play" | "material.stx-player.pause" | "material.stx-player.mute" | "material.stx-player.unmute" | "material.stx-player.volume" | "material.stx-player.fullscreen" | "material.stx-player.exit-fullscreen" | "material.stx-player.pip" | "material.stx-player.exit-pip" | "material.stx-player.captions" | "material.stx-player.captions-off" | "material.stx-player.playback-rate" | "material.stx-player.queue" | "material.stx-player.now-playing" | "material.stx-player.loading" | "material.stx-player.buffering" | "material.stx-player.error" | "material.stx-player.empty-title" | "material.stx-player.normal" | "material.camera.stop" | "material.camera.capture" | "material.camera.captured" | "material.camera.start" | "material.attributes.buttons.add" | "material.attributes.buttons.save" | "material.attributes.form.label.label" | "material.attributes.form.label.placeholder" | "material.attributes.form.description.label" | "material.attributes.form.description.placeholder" | "material.attributes.form.name.label" | "material.attributes.form.name.placeholder" | "material.attributes.form.type.label" | "material.attributes.form.type.placeholder" | "material.attributes.form.default-value.label" | "material.attributes.form.default-value.placeholder" | "material.attributes.form.priority.label" | "material.attributes.form.priority.placeholder" | "material.attributes.form.options.label" | "material.attributes.form.options.placeholder" | "material.attributes.form.unit.label" | "material.attributes.form.unit.placeholder" | "material.attributes.buttons.details" | "material.attributes.buttons.cancel" | "material.attributes.buttons.remove" | "material.attributes.buttons.edit" | "material.attributes.buttons.add-option" | "material.attributes.labels.attributes" | "material.attributes.labels.new-attribute" | "material.attributes.messages.dialog" | "material.attributes.messages.empty" | "material.attributes.messages.create-succeeded" | "material.attributes.messages.update-succeeded" | "material.attributes.messages.delete-succeeded" | "material.attributes.messages.add-first" | "material.attributes.types.string" | "material.attributes.types.number" | "material.attributes.types.boolean" | "material.attributes.types.select" | "material.attributes.types.time" | "material.attributes.types.text" | "material.attributes.types.color" | "material.attributes.types.date" | "material.attributes.types.datetime" | "material.attributes.types.multi-select" | "material.attributes.types.rich-text" | "material.attributes.fields.label" | "material.attributes.fields.description" | "material.attributes.fields.name" | "material.attributes.fields.type" | "material.attributes.fields.default-value" | "material.attributes.fields.priority" | "material.attributes.fields.options" | "material.attributes.fields.unit" | "material.contacts.buttons.add" | "material.contacts.buttons.save" | "material.contacts.buttons.cancel" | "material.contacts.buttons.remove" | "material.contacts.buttons.edit" | "material.contacts.messages.dialog" | "material.contacts.messages.add-first" | "material.contacts.fields.label" | "material.contacts.fields.type" | "material.contacts.labels.contacts" | "material.contacts.messages.no-contacts" | "material.contacts.types.email" | "material.contacts.types.phone" | "material.contacts.types.fax" | "material.contacts.types.mobile" | "material.contacts.types.website" | "material.contacts.fields.value" | "material.contacts.placeholders.label" | "material.contacts.placeholders.email" | "material.contacts.placeholders.type" | "material.contacts.placeholders.value" | "material.contacts.placeholders.phone" | "material.contacts.placeholders.fax" | "material.contacts.placeholders.mobile" | "material.contacts.placeholders.website" | "material.opening-hours.buttons.add" | "material.opening-hours.buttons.save" | "material.opening-hours.buttons.cancel" | "material.opening-hours.buttons.remove" | "material.opening-hours.buttons.edit" | "material.opening-hours.messages.dialog" | "material.opening-hours.messages.add-first" | "material.opening-hours.buttons.add-all" | "material.opening-hours.labels.closed-all-day" | "material.opening-hours.labels.open-hours" | "material.opening-hours.messages.no-hours" | "material.opening-hours.fields.dayOfWeek" | "material.opening-hours.fields.openTime" | "material.opening-hours.fields.closeTime" | "material.opening-hours.fields.isClosed" | "material.opening-hours.placeholders.dayOfWeek" | "material.opening-hours.placeholders.openTime" | "material.opening-hours.placeholders.closeTime" | "material.opening-hours.days.0" | "material.opening-hours.days.1" | "material.opening-hours.days.2" | "material.opening-hours.days.3" | "material.opening-hours.days.4" | "material.opening-hours.days.5" | "material.opening-hours.days.6" | "material.opening-hours.daysShort.0" | "material.opening-hours.daysShort.1" | "material.opening-hours.daysShort.2" | "material.opening-hours.daysShort.3" | "material.opening-hours.daysShort.4" | "material.opening-hours.daysShort.5" | "material.opening-hours.daysShort.6" | "material.postal-address.buttons.add" | "material.postal-address.buttons.save" | "material.postal-address.buttons.cancel" | "material.postal-address.buttons.remove" | "material.postal-address.buttons.edit" | "material.postal-address.messages.dialog" | "material.postal-address.messages.empty" | "material.postal-address.messages.add-first" | "material.postal-address.labels.address" | "material.postal-address.fields.region" | "material.postal-address.fields.street" | "material.postal-address.fields.locality" | "material.postal-address.fields.postalCode" | "material.postal-address.fields.country" | "material.postal-address.placeholders.region" | "material.postal-address.placeholders.street" | "material.postal-address.placeholders.locality" | "material.postal-address.placeholders.postalCode" | "material.postal-address.placeholders.country" | "material.toast.buttons.close" | "material.toast.operations.loading.title" | "material.toast.operations.error.title" | "material.toast.operations.success.title" | "material.zod.required" | "material.zod.invalid_value_single" | "material.zod.invalid_value_multiple" | "material.zod.too_big_inclusive" | "material.zod.too_big_exclusive" | "material.zod.too_big_no_unit_inclusive" | "material.zod.too_big_no_unit_exclusive" | "material.zod.too_small_inclusive" | "material.zod.too_small_exclusive" | "material.zod.too_small_no_unit_inclusive" | "material.zod.too_small_no_unit_exclusive" | "material.zod.not_multiple_of" | "material.zod.unrecognized_keys_single" | "material.zod.unrecognized_keys_multiple" | "material.zod.invalid_key" | "material.zod.invalid_union" | "material.zod.invalid_element" | "material.zod.default" | "material.zod.invalid_type.string" | "material.zod.invalid_type.number" | "material.zod.invalid_type.bigint" | "material.zod.invalid_type.boolean" | "material.zod.invalid_type.symbol" | "material.zod.invalid_type.undefined" | "material.zod.invalid_type.object" | "material.zod.invalid_type.function" | "material.zod.invalid_type.date" | "material.zod.invalid_type.default" | "material.zod.invalid_type.array" | "material.zod.invalid_type.null" | "material.zod.invalid_type.enum" | "material.zod.invalid_format.includes" | "material.zod.invalid_format.default" | "material.zod.invalid_format.starts_with" | "material.zod.invalid_format.ends_with" | "material.zod.invalid_format.regex" | "material.zod.nouns.time" | "material.zod.nouns.url" | "material.zod.nouns.email" | "material.zod.nouns.date" | "material.zod.nouns.emoji" | "material.zod.nouns.nanoid" | "material.zod.nouns.cuid" | "material.zod.nouns.cuid2" | "material.zod.nouns.duration" | "material.zod.nouns.datetime" | "material.zod.nouns.regex" | "material.zod.nouns.uuid" | "material.zod.nouns.uuidv4" | "material.zod.nouns.uuidv6" | "material.zod.nouns.guid" | "material.zod.nouns.ulid" | "material.zod.nouns.xid" | "material.zod.nouns.ksuid" | "material.zod.nouns.ipv4" | "material.zod.nouns.ipv6" | "material.zod.nouns.mac" | "material.zod.nouns.cidrv4" | "material.zod.nouns.cidrv6" | "material.zod.nouns.base64" | "material.zod.nouns.base64url" | "material.zod.nouns.json_string" | "material.zod.nouns.e164" | "material.zod.nouns.jwt" | "material.zod.nouns.template_literal" | "material.zod.sizing.string.unit" | "material.zod.sizing.string.verb" | "material.zod.sizing.set.unit" | "material.zod.sizing.set.verb" | "material.zod.sizing.array.unit" | "material.zod.sizing.array.verb" | "material.zod.sizing.file.unit" | "material.zod.sizing.file.verb" | "material.pdf-reader.label" | "material.pdf-reader.search" | "material.pdf-reader.rotate" | "material.pdf-reader.sidebar" | "material.pdf-reader.print" | "material.pdf-reader.zoom-in" | "material.pdf-reader.zoom-out" | "material.pdf-reader.empty" | "material.pdf-reader.download" | "material.pdf-reader.fullscreen" | "material.pdf-reader.exit-fullscreen" | "material.pdf-reader.loading" | "material.pdf-reader.error" | "material.pdf-reader.password" | "material.pdf-reader.password-placeholder" | "material.pdf-reader.password-label" | "material.pdf-reader.unlock" | "material.pdf-reader.password-incorrect" | "material.pdf-reader.pages" | "material.pdf-reader.outline" | "material.pdf-reader.outline-empty" | "material.pdf-reader.fit-width" | "material.pdf-reader.fit-page" | "material.pdf-reader.fit-width-full" | "material.pdf-reader.fit-page-full" | "material.pdf-reader.sidebar-toggle" | "material.pdf-reader.previous-page" | "material.pdf-reader.next-page" | "material.pdf-reader.current-page" | "material.pdf-reader.search-shortcut" | "material.pdf-reader.search-next" | "material.pdf-reader.search-prev" | "material.pdf-reader.night" | "material.pdf-reader.day" | "material.pdf-reader.thumbnails" | "material.pdf-reader.go-to-page" | "material.pdf-reader.default-file-name" | "material.pdf-reader.zoom-menu" | "material.pdf-reader.untitled" | "material.image-cropper.title" | "material.image-cropper.cancel" | "material.image-cropper.apply" | "material.image-cropper.error" | "material.image-cropper.zoom" | "material.image-cropper.rotate-left" | "material.image-cropper.rotate-right" | "material.image-cropper.free" | "material.timeline.label" | "material.timeline.empty" | "material.qrcode.label" | "material.barecode.label" | "material.avatar-group.more" | "material.search-field.placeholder" | "material.search-field.clear" | "material.password-field.strong" | "material.password-field.show" | "material.password-field.hide" | "material.password-field.too-weak" | "material.password-field.weak" | "material.password-field.fair" | "material.password-field.very-strong" | "material.stat-card.increase" | "material.stat-card.decrease" | "material.stat-card.unchanged" | "material.color-field.open" | "material.split-button.more" | "material.file-list.label" | "material.file-list.replace" | "material.file-list.empty" | "material.file-list.retry" | "material.file-list.remove" | "material.file-list.download" | "material.inline-edit.cancel" | "material.inline-edit.save" | "material.inline-edit.placeholder" | "material.inline-edit.edit" | "material.number-field.increase" | "material.number-field.decrease" | "material.textarea-field.count" | "material.skeleton.loading" | "material.chip.dismiss" | "material.chip.dismiss-label" | "material.phone-field.search" | "material.phone-field.empty" | "material.phone-field.placeholder" | "material.phone-field.country" | "material.rating-field.star" | "material.theme-toggle.light" | "material.theme-toggle.dark" | "material.theme-toggle.system" | "material.language-switcher.label" | "material.email-field.invalid" | "material.email-field.mailto" | "material.url-field.invalid" | "material.url-field.open" | "material.stepper.step" | "material.location-field.confirm" | "material.location-field.dialog-title" | "material.location-field.placeholder" | "material.combobox-field.empty" | "material.combobox-field.placeholder" | "material.autocomplete.empty" | "material.autocomplete.add" | "material.avatar.active" | "material.avatar.offline" | "material.avatar.online" | "material.avatar.away" | "material.avatar.busy" | "material.country-field.placeholder" | "material.duration-field.hours" | "material.duration-field.minutes" | "material.duration-field.hours-label" | "material.duration-field.minutes-label" | "material.count-badge.label" | "material.timezone-field.placeholder" | "material.app-shell.home" | "material.app-shell.open-menu" | "material.transfer-list.search" | "material.transfer-list.max" | "material.transfer-list.select-all" | "material.transfer-list.selected" | "material.transfer-list.count" | "material.transfer-list.available" | "material.transfer-list.move-to-selected" | "material.transfer-list.move-all-to-selected" | "material.transfer-list.move-to-available" | "material.transfer-list.move-all-to-available" | "material.transfer-list.move-up" | "material.transfer-list.move-down" | "material.transfer-list.empty-available" | "material.transfer-list.empty-selected" | "material.transfer-list.empty-filter" | "material.transfer-list.locked" | "material.transfer-list.drag" | "material.sortable-list.search" | "material.sortable-list.empty" | "material.sortable-list.move-up" | "material.sortable-list.move-down" | "material.sortable-list.empty-filter" | "material.sortable-list.drag" | "material.event-calendar.search" | "material.event-calendar.title" | "material.event-calendar.color" | "material.event-calendar.next" | "material.event-calendar.previous" | "material.event-calendar.description" | "material.event-calendar.delete-confirm" | "material.event-calendar.empty" | "material.event-calendar.more" | "material.event-calendar.delete" | "material.event-calendar.add" | "material.event-calendar.day" | "material.event-calendar.drag" | "material.event-calendar.today" | "material.event-calendar.month" | "material.event-calendar.week" | "material.event-calendar.workweek" | "material.event-calendar.agenda" | "material.event-calendar.all-day" | "material.event-calendar.events" | "material.event-calendar.resize" | "material.event-calendar.new-event" | "material.event-calendar.new-all-day" | "material.event-calendar.pick-date" | "material.event-calendar.no-results" | "material.dnd.drag" | "material.rich-text-editor.blockquote" | "material.rich-text-editor.caption" | "material.rich-text-editor.header" | "material.rich-text-editor.label" | "material.rich-text-editor.link" | "material.rich-text-editor.table" | "material.rich-text-editor.title" | "material.rich-text-editor.content" | "material.rich-text-editor.bold" | "material.rich-text-editor.words" | "material.rich-text-editor.characters" | "material.rich-text-editor.heading" | "material.rich-text-editor.icon" | "material.rich-text-editor.description" | "material.rich-text-editor.type" | "material.rich-text-editor.orientation" | "material.rich-text-editor.size" | "material.rich-text-editor.emoji" | "material.rich-text-editor.gallery" | "material.rich-text-editor.cancel" | "material.rich-text-editor.apply" | "material.rich-text-editor.remove" | "material.rich-text-editor.placeholder" | "material.rich-text-editor.options" | "material.rich-text-editor.add-option" | "material.rich-text-editor.clear" | "material.rich-text-editor.italic" | "material.rich-text-editor.underline" | "material.rich-text-editor.strikethrough" | "material.rich-text-editor.subscript" | "material.rich-text-editor.superscript" | "material.rich-text-editor.code-block" | "material.rich-text-editor.heading-n" | "material.rich-text-editor.font-family" | "material.rich-text-editor.text-color" | "material.rich-text-editor.highlight" | "material.rich-text-editor.pick-color" | "material.rich-text-editor.align-left" | "material.rich-text-editor.align-center" | "material.rich-text-editor.align-right" | "material.rich-text-editor.justify" | "material.rich-text-editor.bullet-list" | "material.rich-text-editor.ordered-list" | "material.rich-text-editor.task-list" | "material.rich-text-editor.horizontal-rule" | "material.rich-text-editor.insert-image" | "material.rich-text-editor.image-url" | "material.rich-text-editor.remove-link" | "material.rich-text-editor.youtube-url" | "material.rich-text-editor.embed-youtube" | "material.rich-text-editor.emoji-picker" | "material.rich-text-editor.emoji-description" | "material.rich-text-editor.no-result" | "material.rich-text-editor.no-commands" | "material.rich-text-editor.insert-table" | "material.rich-text-editor.delete-table" | "material.rich-text-editor.table-properties" | "material.rich-text-editor.rows" | "material.rich-text-editor.columns" | "material.rich-text-editor.insert-before" | "material.rich-text-editor.insert-after" | "material.rich-text-editor.toggle-header-row" | "material.rich-text-editor.toggle-header-column" | "material.rich-text-editor.cell-background" | "material.rich-text-editor.merge-splitting" | "material.rich-text-editor.merge-cells" | "material.rich-text-editor.split-cell" | "material.rich-text-editor.caption-placeholder" | "material.rich-text-editor.caption-alignment" | "material.rich-text-editor.alignment" | "material.rich-text-editor.insert-callout" | "material.rich-text-editor.edit-callout" | "material.rich-text-editor.edit-callout-description" | "material.rich-text-editor.add-description" | "material.rich-text-editor.accordion" | "material.rich-text-editor.edit-item" | "material.rich-text-editor.edit-item-description" | "material.rich-text-editor.remove-item" | "material.rich-text-editor.add-item" | "material.rich-text-editor.action-card" | "material.rich-text-editor.action-card-settings" | "material.rich-text-editor.action-card-settings-description" | "material.rich-text-editor.edit-card" | "material.rich-text-editor.edit-card-description" | "material.rich-text-editor.remove-card" | "material.rich-text-editor.add-card" | "material.rich-text-editor.link-optional" | "material.rich-text-editor.edit-gallery" | "material.rich-text-editor.edit-gallery-description" | "material.rich-text-editor.images" | "material.rich-text-editor.add-image" | "material.rich-text-editor.add-images" | "material.rich-text-editor.alt-text" | "material.rich-text-editor.no-images" | "material.rich-text-editor.select-chips" | "material.rich-text-editor.select-cards" | "material.rich-text-editor.edit-selector" | "material.rich-text-editor.edit-selector-description" | "material.rich-text-editor.selector-settings" | "material.rich-text-editor.selector-settings-description" | "material.rich-text-editor.optional-heading" | "material.rich-text-editor.selection" | "material.rich-text-editor.add-options" | "material.rich-text-editor.edit-option" | "material.rich-text-editor.edit-option-description" | "material.rich-text-editor.remove-option" | "material.rich-text-editor.checkbox-group" | "material.rich-text-editor.edit-checkbox-group" | "material.rich-text-editor.edit-checkbox-group-description" | "material.rich-text-editor.radio-group" | "material.rich-text-editor.edit-radio-group" | "material.rich-text-editor.edit-radio-group-description" | "material.rich-text-editor.font-default" | "material.rich-text-editor.font-sans" | "material.rich-text-editor.font-serif" | "material.rich-text-editor.font-mono" | "material.rich-text-editor.table-align-left" | "material.rich-text-editor.table-align-center" | "material.rich-text-editor.table-align-right" | "material.rich-text-editor.insert-emoji" | "material.rich-text-editor.slash-menu.items.blockquote.title" | "material.rich-text-editor.slash-menu.items.blockquote.description" | "material.rich-text-editor.slash-menu.items.table.title" | "material.rich-text-editor.slash-menu.items.table.description" | "material.rich-text-editor.slash-menu.items.gallery.title" | "material.rich-text-editor.slash-menu.items.gallery.description" | "material.rich-text-editor.slash-menu.items.code-block.title" | "material.rich-text-editor.slash-menu.items.code-block.description" | "material.rich-text-editor.slash-menu.items.bullet-list.title" | "material.rich-text-editor.slash-menu.items.bullet-list.description" | "material.rich-text-editor.slash-menu.items.ordered-list.title" | "material.rich-text-editor.slash-menu.items.ordered-list.description" | "material.rich-text-editor.slash-menu.items.task-list.title" | "material.rich-text-editor.slash-menu.items.task-list.description" | "material.rich-text-editor.slash-menu.items.horizontal-rule.title" | "material.rich-text-editor.slash-menu.items.horizontal-rule.description" | "material.rich-text-editor.slash-menu.items.accordion.title" | "material.rich-text-editor.slash-menu.items.accordion.description" | "material.rich-text-editor.slash-menu.items.action-card.title" | "material.rich-text-editor.slash-menu.items.action-card.description" | "material.rich-text-editor.slash-menu.items.checkbox-group.title" | "material.rich-text-editor.slash-menu.items.checkbox-group.description" | "material.rich-text-editor.slash-menu.items.radio-group.title" | "material.rich-text-editor.slash-menu.items.radio-group.description" | "material.rich-text-editor.slash-menu.items.paragraph.title" | "material.rich-text-editor.slash-menu.items.paragraph.description" | "material.rich-text-editor.slash-menu.items.heading-1.title" | "material.rich-text-editor.slash-menu.items.heading-1.description" | "material.rich-text-editor.slash-menu.items.heading-2.title" | "material.rich-text-editor.slash-menu.items.heading-2.description" | "material.rich-text-editor.slash-menu.items.heading-3.title" | "material.rich-text-editor.slash-menu.items.heading-3.description" | "material.rich-text-editor.slash-menu.items.callout.title" | "material.rich-text-editor.slash-menu.items.callout.description" | "material.rich-text-editor.slash-menu.items.select-chip.title" | "material.rich-text-editor.slash-menu.items.select-chip.description" | "material.rich-text-editor.slash-menu.items.select-card.title" | "material.rich-text-editor.slash-menu.items.select-card.description" | "material.rich-text-editor.slash-menu.groups.basic" | "material.rich-text-editor.slash-menu.groups.insert" | "material.kanban.search" | "material.kanban.card-title" | "material.kanban.empty" | "material.kanban.drag" | "material.kanban.no-results" | "material.kanban.add-card" | "material.kanban.wip" | "material.kanban.drag-column" | "material.kanban.ungrouped" | "material.kanban.collapse-group" | "material.kanban.expand-group" | "material.kanban.collapse-column" | "material.kanban.expand-column" | "material.kanban.new-card" | "material.kanban.subtitle" | "material.kanban.wip-full" | "material.doc.menu" | "material.doc.search" | "material.doc.filter" | "material.doc.next" | "material.doc.previous" | "material.doc.breadcrumb" | "material.doc.see-also" | "material.doc.expand" | "material.doc.collapse" | "material.doc.on-this-page" | "material.doc.edit" | "material.doc.no-results" | "material.doc.search-placeholder" | "material.doc.filter-empty" | "material.doc.search-navigate" | "material.doc.search-select" | "material.doc.search-close" | "material.doc.skip-to-content" | "material.doc.reading-progress" | "material.doc.menu-description" | "material.doc.copy-link" | "material.doc.copied-link" | "material.doc.copy-page" | "material.doc.copy-markdown" | "material.doc.last-updated" | "material.doc.callout.note" | "material.doc.callout.success" | "material.doc.callout.tip" | "material.doc.callout.info" | "material.doc.callout.warning" | "material.doc.callout.danger" | "material.param-table.description" | "material.param-table.name" | "material.param-table.type" | "material.param-table.required" | "material.param-table.default" | "material.calendar.today" | "material.calendar.previous-year" | "material.calendar.previous-month" | "material.calendar.next-month" | "material.calendar.next-year" | "material.calendar.previous-years" | "material.calendar.next-years" | "material.calendar.choose-year" | "material.calendar.back-to-days" | "material.spinner.loading" | "material.scroll-to-top.label" | "material.sidebar.toggle" | "material.print.page" | "material.print.page-of" | "material.print.table.empty" | "material.print.table.total" | "material.circular-progress.label" | "material.pane-layout.sheet-title" | "material.time-picker.am" | "material.time-picker.pm">;
|
|
28
|
+
export declare const translate: Translate<"material.scroll-progress" | "material.skip-link" | "material.see-also" | "material.code.copy" | "material.code.language" | "material.code.copied" | "material.code.word-wrap" | "material.map.you-are-here" | "material.map.zoom-in" | "material.map.zoom-out" | "material.map.my-position" | "material.map.preview" | "material.map.preview-named" | "material.pagination.next" | "material.pagination.previous" | "material.table.loading" | "material.table.pagination.next" | "material.table.pagination.previous" | "material.table.pagination.go-to-next-page" | "material.table.pagination.go-to-previous-page" | "material.table.pagination.go-to-first-page" | "material.table.pagination.go-to-last-page" | "material.table.pagination.rows-per-page" | "material.table.pagination.rows-selected" | "material.table.pagination.page-of" | "material.table.labels.desc" | "material.table.labels.view" | "material.table.labels.hide" | "material.table.labels.asc" | "material.table.labels.actions" | "material.table.labels.delete-selected-rows" | "material.table.labels.toggle-columns" | "material.table.labels.no-data" | "material.table.labels.select-all" | "material.table.labels.select-row" | "material.table.labels.toggle-row" | "material.table.delete-confirm.title" | "material.table.delete-confirm.description" | "material.table.delete-confirm.confirm" | "material.table.delete-confirm.cancel" | "material.filter.title" | "material.filter.max" | "material.filter.min" | "material.filter.trigger" | "material.filter.active-count" | "material.filter.apply" | "material.filter.reset" | "material.filter.clear-all" | "material.filter.empty" | "material.filter.more" | "material.filter.value.yes" | "material.filter.value.no" | "material.filter.value.from" | "material.filter.value.until" | "material.filter.value.up-to" | "material.filter.presets.description" | "material.filter.presets.name" | "material.filter.presets.cancel" | "material.filter.presets.load" | "material.filter.presets.saved" | "material.filter.presets.manage" | "material.filter.presets.set-default" | "material.filter.presets.unset-default" | "material.filter.presets.delete" | "material.filter.presets.create" | "material.filter.presets.limit" | "material.filter.presets.dialog-title" | "material.filter.presets.dialog-description" | "material.filter.presets.name-placeholder" | "material.filter.presets.usage" | "material.filter.presets.description-placeholder" | "material.filter.presets.submit" | "material.banner.dismiss" | "material.slider.value" | "material.slider.minimum" | "material.slider.maximum" | "material.tree.label" | "material.tree.expand" | "material.tree.collapse" | "material.copy.copy" | "material.copy.copied" | "material.emoji.search" | "material.emoji.empty" | "material.emoji.picker" | "material.emoji.pick" | "material.carousel.next" | "material.carousel.previous" | "material.carousel.slide" | "material.carousel.roledescription" | "material.pagination.label" | "material.pagination.page" | "material.pagination.more" | "material.pagination.first" | "material.pagination.last" | "material.breadcrumb.label" | "material.breadcrumb.more" | "material.empty-state.search.title" | "material.empty-state.search.description" | "material.empty-state.empty.title" | "material.empty-state.empty.description" | "material.empty-state.not-found.title" | "material.empty-state.not-found.description" | "material.empty-state.unauthorized.title" | "material.empty-state.unauthorized.description" | "material.empty-state.generic.title" | "material.empty-state.generic.description" | "material.empty-state.offline.title" | "material.empty-state.offline.description" | "material.empty-state.maintenance.title" | "material.empty-state.maintenance.description" | "material.command.title" | "material.command.description" | "material.confirm-dialog.confirm" | "material.confirm-dialog.cancel" | "material.confirm-dialog.processing" | "material.confirm-dialog.failed" | "material.confirm-dialog.form-failed" | "material.mentions.empty" | "material.cards.vs" | "material.cards.per-month" | "material.cards.total" | "material.cards.rating" | "material.cards.unread" | "material.metrics.of-target" | "material.metrics.of-limit" | "material.metrics.this-period" | "material.metrics.last-period" | "material.metrics.weekdays" | "material.pager.next" | "material.pager.previous" | "material.toc.on-this-page" | "material.upload.failed" | "material.upload.retry" | "material.upload.remove" | "material.upload.replace-named" | "material.upload.invalid-type" | "material.upload.too-large" | "material.upload.max-files" | "material.upload.dropzone.max-files" | "material.upload.dropzone.idle" | "material.upload.dropzone.at-capacity" | "material.upload.dropzone.max-size" | "material.upload.dropzone.files-selected" | "material.image-field.replace" | "material.image-field.retry" | "material.image-field.remove" | "material.image-field.choose" | "material.language.fr" | "material.language.en" | "material.buttons.delete" | "material.buttons.load-more" | "material.buttons.ok" | "material.buttons.add" | "material.buttons.save" | "material.buttons.close" | "material.json-viewer.items" | "material.json-viewer.empty" | "material.json-viewer.expand" | "material.json-viewer.collapse" | "material.json-viewer.invalid" | "material.chat.send" | "material.chat.copy" | "material.chat.empty" | "material.chat.retry" | "material.chat.attach" | "material.chat.remove-attachment" | "material.chat.scroll-to-latest" | "material.chat.add-reaction" | "material.chat.attachment-type" | "material.chat.attachment-max-files" | "material.chat.attachment-max-size" | "material.chat.placeholder" | "material.chat.message" | "material.chat.typing" | "material.chat.empty-description" | "material.chat.back" | "material.chat.pick-conversation" | "material.chat.pick-conversation-description" | "material.chat.send-failed" | "material.gallery.label" | "material.gallery.select" | "material.gallery.repeat" | "material.gallery.next" | "material.gallery.previous" | "material.gallery.zoom-in" | "material.gallery.zoom-out" | "material.gallery.empty" | "material.gallery.more" | "material.gallery.delete" | "material.gallery.close" | "material.gallery.empty-description" | "material.gallery.of" | "material.gallery.open" | "material.gallery.repeat-off" | "material.gallery.play" | "material.gallery.download" | "material.gallery.selected" | "material.gallery.clear-selection" | "material.notifications.label" | "material.notifications.search" | "material.notifications.empty" | "material.notifications.dismiss" | "material.notifications.empty-description" | "material.notifications.empty-unread" | "material.notifications.empty-unread-description" | "material.notifications.read-all" | "material.notifications.filter-all" | "material.notifications.filter-unread" | "material.notifications.filter-category-all" | "material.notifications.dismiss-item" | "material.education.progress" | "material.education.results" | "material.education.true" | "material.education.false" | "material.education.next" | "material.education.previous" | "material.education.empty" | "material.education.submit" | "material.education.retry" | "material.education.answer-placeholder" | "material.education.expected" | "material.education.answered" | "material.education.score" | "material.education.quiz" | "material.education.review" | "material.education.kind-choice" | "material.education.kind-multi" | "material.education.kind-boolean" | "material.education.kind-text" | "material.stx-player.audio" | "material.stx-player.label" | "material.stx-player.video" | "material.stx-player.repeat" | "material.stx-player.next" | "material.stx-player.previous" | "material.stx-player.loading" | "material.stx-player.retry" | "material.stx-player.empty-description" | "material.stx-player.repeat-off" | "material.stx-player.play" | "material.stx-player.pause" | "material.stx-player.mute" | "material.stx-player.unmute" | "material.stx-player.volume" | "material.stx-player.fullscreen" | "material.stx-player.exit-fullscreen" | "material.stx-player.pip" | "material.stx-player.exit-pip" | "material.stx-player.captions" | "material.stx-player.captions-off" | "material.stx-player.playback-rate" | "material.stx-player.queue" | "material.stx-player.now-playing" | "material.stx-player.buffering" | "material.stx-player.error" | "material.stx-player.empty-title" | "material.stx-player.normal" | "material.camera.stop" | "material.camera.capture" | "material.camera.captured" | "material.camera.start" | "material.attributes.buttons.add" | "material.attributes.buttons.save" | "material.attributes.form.label.label" | "material.attributes.form.label.placeholder" | "material.attributes.form.description.label" | "material.attributes.form.description.placeholder" | "material.attributes.form.name.label" | "material.attributes.form.name.placeholder" | "material.attributes.form.type.label" | "material.attributes.form.type.placeholder" | "material.attributes.form.default-value.label" | "material.attributes.form.default-value.placeholder" | "material.attributes.form.priority.label" | "material.attributes.form.priority.placeholder" | "material.attributes.form.options.label" | "material.attributes.form.options.placeholder" | "material.attributes.form.unit.label" | "material.attributes.form.unit.placeholder" | "material.attributes.buttons.details" | "material.attributes.buttons.cancel" | "material.attributes.buttons.remove" | "material.attributes.buttons.edit" | "material.attributes.buttons.add-option" | "material.attributes.labels.attributes" | "material.attributes.labels.new-attribute" | "material.attributes.messages.dialog" | "material.attributes.messages.empty" | "material.attributes.messages.create-succeeded" | "material.attributes.messages.update-succeeded" | "material.attributes.messages.delete-succeeded" | "material.attributes.messages.add-first" | "material.attributes.types.string" | "material.attributes.types.number" | "material.attributes.types.boolean" | "material.attributes.types.select" | "material.attributes.types.time" | "material.attributes.types.text" | "material.attributes.types.color" | "material.attributes.types.date" | "material.attributes.types.datetime" | "material.attributes.types.multi-select" | "material.attributes.types.rich-text" | "material.attributes.fields.label" | "material.attributes.fields.description" | "material.attributes.fields.name" | "material.attributes.fields.type" | "material.attributes.fields.default-value" | "material.attributes.fields.priority" | "material.attributes.fields.options" | "material.attributes.fields.unit" | "material.contacts.buttons.add" | "material.contacts.buttons.save" | "material.contacts.buttons.cancel" | "material.contacts.buttons.remove" | "material.contacts.buttons.edit" | "material.contacts.messages.dialog" | "material.contacts.messages.add-first" | "material.contacts.fields.label" | "material.contacts.fields.type" | "material.contacts.labels.contacts" | "material.contacts.messages.no-contacts" | "material.contacts.types.email" | "material.contacts.types.phone" | "material.contacts.types.fax" | "material.contacts.types.mobile" | "material.contacts.types.website" | "material.contacts.fields.value" | "material.contacts.placeholders.label" | "material.contacts.placeholders.email" | "material.contacts.placeholders.type" | "material.contacts.placeholders.value" | "material.contacts.placeholders.phone" | "material.contacts.placeholders.fax" | "material.contacts.placeholders.mobile" | "material.contacts.placeholders.website" | "material.opening-hours.buttons.add" | "material.opening-hours.buttons.save" | "material.opening-hours.buttons.cancel" | "material.opening-hours.buttons.remove" | "material.opening-hours.buttons.edit" | "material.opening-hours.messages.dialog" | "material.opening-hours.messages.add-first" | "material.opening-hours.buttons.add-all" | "material.opening-hours.labels.closed-all-day" | "material.opening-hours.labels.open-hours" | "material.opening-hours.messages.no-hours" | "material.opening-hours.fields.dayOfWeek" | "material.opening-hours.fields.openTime" | "material.opening-hours.fields.closeTime" | "material.opening-hours.fields.isClosed" | "material.opening-hours.placeholders.dayOfWeek" | "material.opening-hours.placeholders.openTime" | "material.opening-hours.placeholders.closeTime" | "material.opening-hours.days.0" | "material.opening-hours.days.1" | "material.opening-hours.days.2" | "material.opening-hours.days.3" | "material.opening-hours.days.4" | "material.opening-hours.days.5" | "material.opening-hours.days.6" | "material.opening-hours.daysShort.0" | "material.opening-hours.daysShort.1" | "material.opening-hours.daysShort.2" | "material.opening-hours.daysShort.3" | "material.opening-hours.daysShort.4" | "material.opening-hours.daysShort.5" | "material.opening-hours.daysShort.6" | "material.postal-address.buttons.add" | "material.postal-address.buttons.save" | "material.postal-address.buttons.cancel" | "material.postal-address.buttons.remove" | "material.postal-address.buttons.edit" | "material.postal-address.messages.dialog" | "material.postal-address.messages.empty" | "material.postal-address.messages.add-first" | "material.postal-address.labels.address" | "material.postal-address.fields.region" | "material.postal-address.fields.street" | "material.postal-address.fields.locality" | "material.postal-address.fields.postalCode" | "material.postal-address.fields.country" | "material.postal-address.placeholders.region" | "material.postal-address.placeholders.street" | "material.postal-address.placeholders.locality" | "material.postal-address.placeholders.postalCode" | "material.postal-address.placeholders.country" | "material.toast.buttons.close" | "material.toast.operations.loading.title" | "material.toast.operations.error.title" | "material.toast.operations.success.title" | "material.zod.required" | "material.zod.invalid_value_single" | "material.zod.invalid_value_multiple" | "material.zod.too_big_inclusive" | "material.zod.too_big_exclusive" | "material.zod.too_big_no_unit_inclusive" | "material.zod.too_big_no_unit_exclusive" | "material.zod.too_small_inclusive" | "material.zod.too_small_exclusive" | "material.zod.too_small_no_unit_inclusive" | "material.zod.too_small_no_unit_exclusive" | "material.zod.not_multiple_of" | "material.zod.unrecognized_keys_single" | "material.zod.unrecognized_keys_multiple" | "material.zod.invalid_key" | "material.zod.invalid_union" | "material.zod.invalid_element" | "material.zod.default" | "material.zod.invalid_type.string" | "material.zod.invalid_type.number" | "material.zod.invalid_type.bigint" | "material.zod.invalid_type.boolean" | "material.zod.invalid_type.symbol" | "material.zod.invalid_type.undefined" | "material.zod.invalid_type.object" | "material.zod.invalid_type.function" | "material.zod.invalid_type.date" | "material.zod.invalid_type.default" | "material.zod.invalid_type.array" | "material.zod.invalid_type.null" | "material.zod.invalid_type.enum" | "material.zod.invalid_format.includes" | "material.zod.invalid_format.default" | "material.zod.invalid_format.starts_with" | "material.zod.invalid_format.ends_with" | "material.zod.invalid_format.regex" | "material.zod.nouns.time" | "material.zod.nouns.url" | "material.zod.nouns.email" | "material.zod.nouns.date" | "material.zod.nouns.emoji" | "material.zod.nouns.nanoid" | "material.zod.nouns.cuid" | "material.zod.nouns.cuid2" | "material.zod.nouns.duration" | "material.zod.nouns.datetime" | "material.zod.nouns.regex" | "material.zod.nouns.uuid" | "material.zod.nouns.uuidv4" | "material.zod.nouns.uuidv6" | "material.zod.nouns.guid" | "material.zod.nouns.ulid" | "material.zod.nouns.xid" | "material.zod.nouns.ksuid" | "material.zod.nouns.ipv4" | "material.zod.nouns.ipv6" | "material.zod.nouns.mac" | "material.zod.nouns.cidrv4" | "material.zod.nouns.cidrv6" | "material.zod.nouns.base64" | "material.zod.nouns.base64url" | "material.zod.nouns.json_string" | "material.zod.nouns.e164" | "material.zod.nouns.jwt" | "material.zod.nouns.template_literal" | "material.zod.sizing.string.unit" | "material.zod.sizing.string.verb" | "material.zod.sizing.set.unit" | "material.zod.sizing.set.verb" | "material.zod.sizing.array.unit" | "material.zod.sizing.array.verb" | "material.zod.sizing.file.unit" | "material.zod.sizing.file.verb" | "material.pdf-reader.label" | "material.pdf-reader.search" | "material.pdf-reader.rotate" | "material.pdf-reader.sidebar" | "material.pdf-reader.print" | "material.pdf-reader.zoom-in" | "material.pdf-reader.zoom-out" | "material.pdf-reader.loading" | "material.pdf-reader.empty" | "material.pdf-reader.download" | "material.pdf-reader.fullscreen" | "material.pdf-reader.exit-fullscreen" | "material.pdf-reader.error" | "material.pdf-reader.password" | "material.pdf-reader.password-placeholder" | "material.pdf-reader.password-label" | "material.pdf-reader.unlock" | "material.pdf-reader.password-incorrect" | "material.pdf-reader.pages" | "material.pdf-reader.outline" | "material.pdf-reader.outline-empty" | "material.pdf-reader.fit-width" | "material.pdf-reader.fit-page" | "material.pdf-reader.fit-width-full" | "material.pdf-reader.fit-page-full" | "material.pdf-reader.sidebar-toggle" | "material.pdf-reader.previous-page" | "material.pdf-reader.next-page" | "material.pdf-reader.current-page" | "material.pdf-reader.search-shortcut" | "material.pdf-reader.search-next" | "material.pdf-reader.search-prev" | "material.pdf-reader.night" | "material.pdf-reader.day" | "material.pdf-reader.thumbnails" | "material.pdf-reader.go-to-page" | "material.pdf-reader.default-file-name" | "material.pdf-reader.zoom-menu" | "material.pdf-reader.untitled" | "material.tree-select-field.search" | "material.tree-select-field.empty" | "material.tree-select-field.placeholder" | "material.tree-select-field.selected" | "material.image-cropper.title" | "material.image-cropper.cancel" | "material.image-cropper.apply" | "material.image-cropper.error" | "material.image-cropper.zoom" | "material.image-cropper.rotate-left" | "material.image-cropper.rotate-right" | "material.image-cropper.free" | "material.timeline.label" | "material.timeline.empty" | "material.qrcode.label" | "material.barecode.label" | "material.avatar-group.more" | "material.search-field.placeholder" | "material.search-field.clear" | "material.password-field.strong" | "material.password-field.show" | "material.password-field.hide" | "material.password-field.too-weak" | "material.password-field.weak" | "material.password-field.fair" | "material.password-field.very-strong" | "material.stat-card.increase" | "material.stat-card.decrease" | "material.stat-card.unchanged" | "material.color-field.open" | "material.split-button.more" | "material.file-list.label" | "material.file-list.replace" | "material.file-list.empty" | "material.file-list.retry" | "material.file-list.remove" | "material.file-list.download" | "material.inline-edit.cancel" | "material.inline-edit.save" | "material.inline-edit.placeholder" | "material.inline-edit.edit" | "material.number-field.increase" | "material.number-field.decrease" | "material.textarea-field.count" | "material.skeleton.loading" | "material.chip.dismiss" | "material.chip.dismiss-label" | "material.phone-field.search" | "material.phone-field.empty" | "material.phone-field.placeholder" | "material.phone-field.country" | "material.rating-field.star" | "material.theme-toggle.light" | "material.theme-toggle.dark" | "material.theme-toggle.system" | "material.language-switcher.label" | "material.email-field.invalid" | "material.email-field.mailto" | "material.url-field.invalid" | "material.url-field.open" | "material.stepper.step" | "material.stepper.error" | "material.stepper.completed" | "material.location-field.confirm" | "material.location-field.dialog-title" | "material.location-field.placeholder" | "material.combobox-field.empty" | "material.combobox-field.placeholder" | "material.autocomplete.empty" | "material.autocomplete.add" | "material.avatar.active" | "material.avatar.offline" | "material.avatar.online" | "material.avatar.away" | "material.avatar.busy" | "material.country-field.placeholder" | "material.duration-field.hours" | "material.duration-field.minutes" | "material.duration-field.hours-label" | "material.duration-field.minutes-label" | "material.count-badge.label" | "material.timezone-field.placeholder" | "material.app-shell.home" | "material.app-shell.open-menu" | "material.transfer-list.search" | "material.transfer-list.max" | "material.transfer-list.select-all" | "material.transfer-list.selected" | "material.transfer-list.count" | "material.transfer-list.available" | "material.transfer-list.move-to-selected" | "material.transfer-list.move-all-to-selected" | "material.transfer-list.move-to-available" | "material.transfer-list.move-all-to-available" | "material.transfer-list.move-up" | "material.transfer-list.move-down" | "material.transfer-list.empty-available" | "material.transfer-list.empty-selected" | "material.transfer-list.empty-filter" | "material.transfer-list.locked" | "material.transfer-list.drag" | "material.sortable-list.search" | "material.sortable-list.empty" | "material.sortable-list.move-up" | "material.sortable-list.move-down" | "material.sortable-list.empty-filter" | "material.sortable-list.drag" | "material.event-calendar.search" | "material.event-calendar.title" | "material.event-calendar.color" | "material.event-calendar.next" | "material.event-calendar.previous" | "material.event-calendar.description" | "material.event-calendar.delete-confirm" | "material.event-calendar.empty" | "material.event-calendar.more" | "material.event-calendar.delete" | "material.event-calendar.add" | "material.event-calendar.day" | "material.event-calendar.drag" | "material.event-calendar.today" | "material.event-calendar.month" | "material.event-calendar.week" | "material.event-calendar.workweek" | "material.event-calendar.agenda" | "material.event-calendar.all-day" | "material.event-calendar.events" | "material.event-calendar.resize" | "material.event-calendar.new-event" | "material.event-calendar.new-all-day" | "material.event-calendar.pick-date" | "material.event-calendar.no-results" | "material.dnd.drag" | "material.rich-text-editor.blockquote" | "material.rich-text-editor.caption" | "material.rich-text-editor.header" | "material.rich-text-editor.label" | "material.rich-text-editor.link" | "material.rich-text-editor.table" | "material.rich-text-editor.title" | "material.rich-text-editor.content" | "material.rich-text-editor.bold" | "material.rich-text-editor.words" | "material.rich-text-editor.characters" | "material.rich-text-editor.heading" | "material.rich-text-editor.icon" | "material.rich-text-editor.description" | "material.rich-text-editor.type" | "material.rich-text-editor.orientation" | "material.rich-text-editor.size" | "material.rich-text-editor.emoji" | "material.rich-text-editor.gallery" | "material.rich-text-editor.cancel" | "material.rich-text-editor.apply" | "material.rich-text-editor.remove" | "material.rich-text-editor.placeholder" | "material.rich-text-editor.options" | "material.rich-text-editor.add-option" | "material.rich-text-editor.clear" | "material.rich-text-editor.italic" | "material.rich-text-editor.underline" | "material.rich-text-editor.strikethrough" | "material.rich-text-editor.subscript" | "material.rich-text-editor.superscript" | "material.rich-text-editor.code-block" | "material.rich-text-editor.heading-n" | "material.rich-text-editor.font-family" | "material.rich-text-editor.text-color" | "material.rich-text-editor.highlight" | "material.rich-text-editor.pick-color" | "material.rich-text-editor.align-left" | "material.rich-text-editor.align-center" | "material.rich-text-editor.align-right" | "material.rich-text-editor.justify" | "material.rich-text-editor.bullet-list" | "material.rich-text-editor.ordered-list" | "material.rich-text-editor.task-list" | "material.rich-text-editor.horizontal-rule" | "material.rich-text-editor.insert-image" | "material.rich-text-editor.image-url" | "material.rich-text-editor.remove-link" | "material.rich-text-editor.youtube-url" | "material.rich-text-editor.embed-youtube" | "material.rich-text-editor.emoji-picker" | "material.rich-text-editor.emoji-description" | "material.rich-text-editor.no-result" | "material.rich-text-editor.no-commands" | "material.rich-text-editor.insert-table" | "material.rich-text-editor.delete-table" | "material.rich-text-editor.table-properties" | "material.rich-text-editor.rows" | "material.rich-text-editor.columns" | "material.rich-text-editor.insert-before" | "material.rich-text-editor.insert-after" | "material.rich-text-editor.toggle-header-row" | "material.rich-text-editor.toggle-header-column" | "material.rich-text-editor.cell-background" | "material.rich-text-editor.merge-splitting" | "material.rich-text-editor.merge-cells" | "material.rich-text-editor.split-cell" | "material.rich-text-editor.caption-placeholder" | "material.rich-text-editor.caption-alignment" | "material.rich-text-editor.alignment" | "material.rich-text-editor.insert-callout" | "material.rich-text-editor.edit-callout" | "material.rich-text-editor.edit-callout-description" | "material.rich-text-editor.add-description" | "material.rich-text-editor.accordion" | "material.rich-text-editor.edit-item" | "material.rich-text-editor.edit-item-description" | "material.rich-text-editor.remove-item" | "material.rich-text-editor.add-item" | "material.rich-text-editor.action-card" | "material.rich-text-editor.action-card-settings" | "material.rich-text-editor.action-card-settings-description" | "material.rich-text-editor.edit-card" | "material.rich-text-editor.edit-card-description" | "material.rich-text-editor.remove-card" | "material.rich-text-editor.add-card" | "material.rich-text-editor.link-optional" | "material.rich-text-editor.edit-gallery" | "material.rich-text-editor.edit-gallery-description" | "material.rich-text-editor.images" | "material.rich-text-editor.add-image" | "material.rich-text-editor.add-images" | "material.rich-text-editor.alt-text" | "material.rich-text-editor.no-images" | "material.rich-text-editor.select-chips" | "material.rich-text-editor.select-cards" | "material.rich-text-editor.edit-selector" | "material.rich-text-editor.edit-selector-description" | "material.rich-text-editor.selector-settings" | "material.rich-text-editor.selector-settings-description" | "material.rich-text-editor.optional-heading" | "material.rich-text-editor.selection" | "material.rich-text-editor.add-options" | "material.rich-text-editor.edit-option" | "material.rich-text-editor.edit-option-description" | "material.rich-text-editor.remove-option" | "material.rich-text-editor.checkbox-group" | "material.rich-text-editor.edit-checkbox-group" | "material.rich-text-editor.edit-checkbox-group-description" | "material.rich-text-editor.radio-group" | "material.rich-text-editor.edit-radio-group" | "material.rich-text-editor.edit-radio-group-description" | "material.rich-text-editor.font-default" | "material.rich-text-editor.font-sans" | "material.rich-text-editor.font-serif" | "material.rich-text-editor.font-mono" | "material.rich-text-editor.table-align-left" | "material.rich-text-editor.table-align-center" | "material.rich-text-editor.table-align-right" | "material.rich-text-editor.insert-emoji" | "material.rich-text-editor.slash-menu.items.blockquote.title" | "material.rich-text-editor.slash-menu.items.blockquote.description" | "material.rich-text-editor.slash-menu.items.table.title" | "material.rich-text-editor.slash-menu.items.table.description" | "material.rich-text-editor.slash-menu.items.gallery.title" | "material.rich-text-editor.slash-menu.items.gallery.description" | "material.rich-text-editor.slash-menu.items.code-block.title" | "material.rich-text-editor.slash-menu.items.code-block.description" | "material.rich-text-editor.slash-menu.items.bullet-list.title" | "material.rich-text-editor.slash-menu.items.bullet-list.description" | "material.rich-text-editor.slash-menu.items.ordered-list.title" | "material.rich-text-editor.slash-menu.items.ordered-list.description" | "material.rich-text-editor.slash-menu.items.task-list.title" | "material.rich-text-editor.slash-menu.items.task-list.description" | "material.rich-text-editor.slash-menu.items.horizontal-rule.title" | "material.rich-text-editor.slash-menu.items.horizontal-rule.description" | "material.rich-text-editor.slash-menu.items.accordion.title" | "material.rich-text-editor.slash-menu.items.accordion.description" | "material.rich-text-editor.slash-menu.items.action-card.title" | "material.rich-text-editor.slash-menu.items.action-card.description" | "material.rich-text-editor.slash-menu.items.checkbox-group.title" | "material.rich-text-editor.slash-menu.items.checkbox-group.description" | "material.rich-text-editor.slash-menu.items.radio-group.title" | "material.rich-text-editor.slash-menu.items.radio-group.description" | "material.rich-text-editor.slash-menu.items.paragraph.title" | "material.rich-text-editor.slash-menu.items.paragraph.description" | "material.rich-text-editor.slash-menu.items.heading-1.title" | "material.rich-text-editor.slash-menu.items.heading-1.description" | "material.rich-text-editor.slash-menu.items.heading-2.title" | "material.rich-text-editor.slash-menu.items.heading-2.description" | "material.rich-text-editor.slash-menu.items.heading-3.title" | "material.rich-text-editor.slash-menu.items.heading-3.description" | "material.rich-text-editor.slash-menu.items.callout.title" | "material.rich-text-editor.slash-menu.items.callout.description" | "material.rich-text-editor.slash-menu.items.select-chip.title" | "material.rich-text-editor.slash-menu.items.select-chip.description" | "material.rich-text-editor.slash-menu.items.select-card.title" | "material.rich-text-editor.slash-menu.items.select-card.description" | "material.rich-text-editor.slash-menu.groups.basic" | "material.rich-text-editor.slash-menu.groups.insert" | "material.kanban.search" | "material.kanban.card-title" | "material.kanban.empty" | "material.kanban.drag" | "material.kanban.no-results" | "material.kanban.add-card" | "material.kanban.wip" | "material.kanban.drag-column" | "material.kanban.ungrouped" | "material.kanban.collapse-group" | "material.kanban.expand-group" | "material.kanban.collapse-column" | "material.kanban.expand-column" | "material.kanban.new-card" | "material.kanban.subtitle" | "material.kanban.wip-full" | "material.doc.menu" | "material.doc.search" | "material.doc.filter" | "material.doc.next" | "material.doc.previous" | "material.doc.breadcrumb" | "material.doc.see-also" | "material.doc.expand" | "material.doc.collapse" | "material.doc.on-this-page" | "material.doc.edit" | "material.doc.no-results" | "material.doc.search-placeholder" | "material.doc.filter-empty" | "material.doc.search-navigate" | "material.doc.search-select" | "material.doc.search-close" | "material.doc.skip-to-content" | "material.doc.reading-progress" | "material.doc.menu-description" | "material.doc.copy-link" | "material.doc.copied-link" | "material.doc.copy-page" | "material.doc.copy-markdown" | "material.doc.last-updated" | "material.doc.callout.note" | "material.doc.callout.success" | "material.doc.callout.tip" | "material.doc.callout.info" | "material.doc.callout.warning" | "material.doc.callout.danger" | "material.param-table.description" | "material.param-table.name" | "material.param-table.type" | "material.param-table.required" | "material.param-table.default" | "material.calendar.today" | "material.calendar.previous-year" | "material.calendar.previous-month" | "material.calendar.next-month" | "material.calendar.next-year" | "material.calendar.previous-years" | "material.calendar.next-years" | "material.calendar.choose-year" | "material.calendar.back-to-days" | "material.spinner.loading" | "material.scroll-to-top.label" | "material.sidebar.toggle" | "material.print.page" | "material.print.page-of" | "material.print.table.empty" | "material.print.table.total" | "material.circular-progress.label" | "material.pane-layout.sheet-title" | "material.time-picker.hours" | "material.time-picker.minutes" | "material.time-picker.am" | "material.time-picker.pm" | "material.date-range-field.presets" | "material.date-range-field.start-time" | "material.date-range-field.end-time" | "material.date-range-field.preset.today" | "material.date-range-field.preset.yesterday" | "material.date-range-field.preset.last-7-days" | "material.date-range-field.preset.last-30-days" | "material.date-range-field.preset.this-month" | "material.date-range-field.preset.last-month" | "material.date-range-field.preset.this-year" | "material.file-preview.label" | "material.file-preview.content" | "material.file-preview.loading" | "material.file-preview.download" | "material.file-preview.error" | "material.file-preview.untitled" | "material.file-preview.truncated">;
|
|
@@ -45,6 +45,6 @@ export declare const createStatusesSlice: <T extends Record<string, Status<any>>
|
|
|
45
45
|
} ? {
|
|
46
46
|
prepare(...a: never[]): Omit<A, "type">;
|
|
47
47
|
} : {}; }, Name, Name, Selectors & {
|
|
48
|
-
status(state: T, path: any): "
|
|
48
|
+
status(state: T, path: any): "loading" | "idle" | "error" | "success";
|
|
49
49
|
}>;
|
|
50
50
|
export {};
|
package/dist/lib.js
CHANGED
|
@@ -1,5 +1,296 @@
|
|
|
1
1
|
import { t as e } from "./utils-UBn-46YY.js";
|
|
2
|
-
import { a as t,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
2
|
+
import { a as t, i as n, t as r } from "./stored-language-DmUUhRb5.js";
|
|
3
|
+
import { i, r as a, v as o } from "./translator-CaIYjyFP.js";
|
|
4
|
+
import { _ as s, a as c, c as l, d as u, f as d, g as f, h as p, i as m, l as h, m as g, n as _, o as ee, p as te, r as v, s as y, t as b, u as x } from "./async-slice-Qoen0Mqm.js";
|
|
5
|
+
import { n as S, r as C, t as w } from "./number.utils-BiBN2hWJ.js";
|
|
6
|
+
import { useCallback as T } from "react";
|
|
7
|
+
import { createSlice as E } from "@reduxjs/toolkit";
|
|
8
|
+
import { createFormatters as D, formatAmount as O, formatDate as k } from "@nxgt/material-core/print-format";
|
|
9
|
+
//#region lib/lib/array.utils.ts
|
|
10
|
+
function A(e) {
|
|
11
|
+
return Array.from(new Set(e));
|
|
12
|
+
}
|
|
13
|
+
function j(e, t, n) {
|
|
14
|
+
return e.find((e) => e[t] === n);
|
|
15
|
+
}
|
|
16
|
+
function M(e, t, n) {
|
|
17
|
+
return e.filter((e) => n.includes(e[t]));
|
|
18
|
+
}
|
|
19
|
+
function N(e, t) {
|
|
20
|
+
return {
|
|
21
|
+
findByKey: T((n) => j(e, t, n), [e, t]),
|
|
22
|
+
findByKeyIn: T((n) => M(e, t, n), [e, t])
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function P(e) {
|
|
26
|
+
return N(e, "id");
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region lib/lib/build-field-options.ts
|
|
30
|
+
function F(e, { valueKey: t, label: n }) {
|
|
31
|
+
return e.map((e) => ({
|
|
32
|
+
value: i(e, t),
|
|
33
|
+
label: typeof n == "function" ? n(e) : i(e, n)
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region lib/lib/format.utils.ts
|
|
38
|
+
function I(e, t) {
|
|
39
|
+
return e?.length ? e : t;
|
|
40
|
+
}
|
|
41
|
+
function ne(e, t) {
|
|
42
|
+
return e?.length ? e : t;
|
|
43
|
+
}
|
|
44
|
+
function L(e) {
|
|
45
|
+
let t = new FormData();
|
|
46
|
+
return typeof e == "object" && Object.entries(e).forEach(([e, n]) => {
|
|
47
|
+
f(n) || t.append(e, n);
|
|
48
|
+
}), t;
|
|
49
|
+
}
|
|
50
|
+
function R(e) {
|
|
51
|
+
let t = {};
|
|
52
|
+
for (let [n, r] of e.entries()) t[n] = r;
|
|
53
|
+
return t;
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region lib/lib/object.utils.ts
|
|
57
|
+
function z(e, t) {
|
|
58
|
+
let n = {};
|
|
59
|
+
if (!Array.isArray(t)) n[t] = e?.[t];
|
|
60
|
+
else for (let r of t) n[r] = e?.[r];
|
|
61
|
+
return n;
|
|
62
|
+
}
|
|
63
|
+
function B(e, t) {
|
|
64
|
+
let n = { ...e };
|
|
65
|
+
if (Array.isArray(t)) for (let e of t) delete n?.[e];
|
|
66
|
+
else delete n?.[t];
|
|
67
|
+
return n ?? {};
|
|
68
|
+
}
|
|
69
|
+
function V(e) {
|
|
70
|
+
return e;
|
|
71
|
+
}
|
|
72
|
+
async function H(e) {
|
|
73
|
+
return await e;
|
|
74
|
+
}
|
|
75
|
+
function U(e, t = !1) {
|
|
76
|
+
return Object.fromEntries(Object.entries(e).filter(([e, n]) => t ? n != null && n !== void 0 : n !== void 0));
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region lib/lib/promise.utils.ts
|
|
80
|
+
function W(e) {
|
|
81
|
+
return new Promise((t) => setTimeout(t, e));
|
|
82
|
+
}
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region lib/lib/redux/filter-slice.ts
|
|
85
|
+
function G({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }) {
|
|
86
|
+
return E({
|
|
87
|
+
name: e,
|
|
88
|
+
initialState: t,
|
|
89
|
+
reducers: (e) => ({
|
|
90
|
+
updateFilter: e.reducer((e, t) => {
|
|
91
|
+
let { filter: n, sort: r } = t.payload;
|
|
92
|
+
n && (e.filter = {
|
|
93
|
+
...e.filter,
|
|
94
|
+
...n
|
|
95
|
+
}), r && (e.sort = {
|
|
96
|
+
...e.sort,
|
|
97
|
+
...r
|
|
98
|
+
});
|
|
99
|
+
}),
|
|
100
|
+
resetFilter: e.reducer((e) => {
|
|
101
|
+
e.filter = t.filter, e.sort = t.sort;
|
|
102
|
+
}),
|
|
103
|
+
...n?.(e)
|
|
104
|
+
}),
|
|
105
|
+
selectors: { ...r }
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region lib/lib/redux/status-slice.ts
|
|
110
|
+
var K = ({ name: e, initialState: t = { status: "idle" }, reducers: n = {}, selectors: r = {} }) => E({
|
|
111
|
+
name: e,
|
|
112
|
+
initialState: t,
|
|
113
|
+
reducers: {
|
|
114
|
+
reset(e) {
|
|
115
|
+
e.status = t.status;
|
|
116
|
+
},
|
|
117
|
+
start(e) {
|
|
118
|
+
e.status = "loading";
|
|
119
|
+
},
|
|
120
|
+
success(e, t) {
|
|
121
|
+
e.data = t.payload, e.status = "success";
|
|
122
|
+
},
|
|
123
|
+
error(e, t) {
|
|
124
|
+
e.error = t.payload, e.status = "error";
|
|
125
|
+
},
|
|
126
|
+
...n
|
|
127
|
+
},
|
|
128
|
+
selectors: { ...r }
|
|
129
|
+
}), q = ({ name: e, initialState: t, reducers: n = {}, selectors: r = {} }) => E({
|
|
130
|
+
name: e,
|
|
131
|
+
initialState: t,
|
|
132
|
+
reducers: {
|
|
133
|
+
reset(e, n) {
|
|
134
|
+
e[n.payload] = t[n.payload];
|
|
135
|
+
},
|
|
136
|
+
start(e, t) {
|
|
137
|
+
e[t.payload].status = "loading";
|
|
138
|
+
},
|
|
139
|
+
success(e, t) {
|
|
140
|
+
let n = t.payload.path;
|
|
141
|
+
e[n].data = t.payload.data, e[n].status = "success";
|
|
142
|
+
},
|
|
143
|
+
error(e, t) {
|
|
144
|
+
let n = t.payload.path;
|
|
145
|
+
e[n].error = t.payload.message, e[n].status = "error";
|
|
146
|
+
},
|
|
147
|
+
...n
|
|
148
|
+
},
|
|
149
|
+
selectors: {
|
|
150
|
+
...r,
|
|
151
|
+
status(e, t) {
|
|
152
|
+
return e[t].status;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region lib/lib/storage.utils.ts
|
|
158
|
+
function J(e, t) {
|
|
159
|
+
try {
|
|
160
|
+
let n = localStorage.getItem(e);
|
|
161
|
+
if (n) return typeof t == "string" ? n : JSON.parse(n);
|
|
162
|
+
} catch (t) {
|
|
163
|
+
console.warn(`Failed to restore state for key "${e}":`, t);
|
|
164
|
+
}
|
|
165
|
+
return t;
|
|
166
|
+
}
|
|
167
|
+
function Y(e, t) {
|
|
168
|
+
try {
|
|
169
|
+
localStorage.setItem(e, typeof t == "string" ? t : JSON.stringify(t));
|
|
170
|
+
} catch (t) {
|
|
171
|
+
console.warn(`Failed to store state for key "${e}":`, t);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
function X(e) {
|
|
175
|
+
try {
|
|
176
|
+
localStorage.removeItem(e);
|
|
177
|
+
} catch (t) {
|
|
178
|
+
console.warn(`Failed to remove state for key "${e}":`, t);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
var Z = {
|
|
182
|
+
safeGetItem: J,
|
|
183
|
+
safeSetItem: Y,
|
|
184
|
+
safeRemoveItem: X
|
|
185
|
+
}, Q = {
|
|
186
|
+
isDirty: !1,
|
|
187
|
+
step: 0,
|
|
188
|
+
values: {}
|
|
189
|
+
}, re = ({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }) => {
|
|
190
|
+
let i = () => ({
|
|
191
|
+
...Q,
|
|
192
|
+
values: t ?? Q.values
|
|
193
|
+
}), a = E({
|
|
194
|
+
name: e,
|
|
195
|
+
initialState: () => {
|
|
196
|
+
if (typeof localStorage > "u") return i();
|
|
197
|
+
let t = J(e, null);
|
|
198
|
+
if (!t || typeof t.step != "number" || typeof t.values != "object" || t.values === null) return i();
|
|
199
|
+
let n = i();
|
|
200
|
+
return {
|
|
201
|
+
isDirty: !!t.isDirty,
|
|
202
|
+
step: t.step,
|
|
203
|
+
values: {
|
|
204
|
+
...n.values,
|
|
205
|
+
...t.values
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
},
|
|
209
|
+
reducers: (t) => ({
|
|
210
|
+
updateStep: t.reducer((t, n) => {
|
|
211
|
+
t.step = typeof n.payload == "function" ? n.payload(t.step) : n.payload, Y(e, t);
|
|
212
|
+
}),
|
|
213
|
+
updateFormValues: t.reducer((e, t) => {
|
|
214
|
+
e.values = {
|
|
215
|
+
...e.values,
|
|
216
|
+
...typeof t.payload == "function" ? t.payload(e.values) : t.payload
|
|
217
|
+
}, e.isDirty = !s(e.values, Q.values);
|
|
218
|
+
}),
|
|
219
|
+
reset: t.reducer((t) => {
|
|
220
|
+
X(e), Object.assign(t, i());
|
|
221
|
+
}),
|
|
222
|
+
...n?.(t)
|
|
223
|
+
}),
|
|
224
|
+
selectors: { ...r }
|
|
225
|
+
});
|
|
226
|
+
return x(a, i), a;
|
|
227
|
+
}, ie = { colorFromVariable(e, t = 1) {
|
|
228
|
+
return `rgb(from var(--${e}) r g b / ${t})`;
|
|
229
|
+
} }, ae = (e, t) => typeof e == "function" ? e(t) : e, oe = (e, t = "files") => {
|
|
230
|
+
let n = new FormData();
|
|
231
|
+
return (o(e) ? e.filter(Boolean) : [e]).forEach((e) => {
|
|
232
|
+
n.append(t, e, e.name);
|
|
233
|
+
}), n;
|
|
234
|
+
}, $ = (e) => {
|
|
235
|
+
let t = typeof e;
|
|
236
|
+
switch (t) {
|
|
237
|
+
case "number": return Number.isNaN(e) ? "NaN" : "number";
|
|
238
|
+
case "object":
|
|
239
|
+
if (Array.isArray(e)) return "array";
|
|
240
|
+
if (e === null) return "null";
|
|
241
|
+
if (Object.getPrototypeOf(e) !== Object.prototype && e.constructor) return e.constructor.name;
|
|
242
|
+
}
|
|
243
|
+
return t;
|
|
244
|
+
}, se = ({ storageKey: e = n, language: i, translate: o = a } = {}) => {
|
|
245
|
+
let s = () => typeof i == "function" ? i() : i ?? r(e, "en", t);
|
|
246
|
+
return (e) => {
|
|
247
|
+
let t = s(), n = (e, n) => o(e, n, t), r = (e, t) => {
|
|
248
|
+
let r = n(e, t);
|
|
249
|
+
return r === e ? void 0 : r;
|
|
250
|
+
}, i = r(`material.zod.sizing.${e.origin}.unit`);
|
|
251
|
+
switch (e.code) {
|
|
252
|
+
case "invalid_type": {
|
|
253
|
+
let t = {
|
|
254
|
+
expected: e.expected,
|
|
255
|
+
received: $(e.input)
|
|
256
|
+
};
|
|
257
|
+
return e.input ? r(`material.zod.invalid_type.${e.expected}`, t) ?? n("material.zod.invalid_type.default", t) : n("material.zod.required", t);
|
|
258
|
+
}
|
|
259
|
+
case "invalid_value": return e.values.length === 1 ? n("material.zod.invalid_value_single", { value: e.values[0] }) : n("material.zod.invalid_value_multiple", { values: e.values.join(" | ") });
|
|
260
|
+
case "too_big": {
|
|
261
|
+
let t = e.inclusive ? "inclusive" : "exclusive", r = e.maximum.toString(), a = e.origin ?? "value";
|
|
262
|
+
return i ? n(`material.zod.too_big_${t}`, {
|
|
263
|
+
origin: a,
|
|
264
|
+
maximum: r,
|
|
265
|
+
unit: i
|
|
266
|
+
}) : n(`material.zod.too_big_no_unit_${t}`, {
|
|
267
|
+
origin: a,
|
|
268
|
+
maximum: r
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
case "too_small": {
|
|
272
|
+
let t = e.inclusive ? "inclusive" : "exclusive", r = e.minimum.toString(), a = e.origin;
|
|
273
|
+
return i ? n(`material.zod.too_small_${t}`, {
|
|
274
|
+
origin: a,
|
|
275
|
+
minimum: r,
|
|
276
|
+
unit: i
|
|
277
|
+
}) : n(`material.zod.too_small_no_unit_${t}`, {
|
|
278
|
+
origin: a,
|
|
279
|
+
minimum: r
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
case "invalid_format": {
|
|
283
|
+
let { format: t } = e;
|
|
284
|
+
return t === "starts_with" ? n("material.zod.invalid_format.starts_with", { prefix: e.prefix }) : t === "ends_with" ? n("material.zod.invalid_format.ends_with", { suffix: e.suffix }) : t === "includes" ? n("material.zod.invalid_format.includes", { includes: e.includes }) : t === "regex" ? n("material.zod.invalid_format.regex", { pattern: e.pattern }) : n("material.zod.invalid_format.default", { noun: r(`material.zod.nouns.${t}`) ?? t });
|
|
285
|
+
}
|
|
286
|
+
case "not_multiple_of": return n("material.zod.not_multiple_of", { divisor: e.divisor });
|
|
287
|
+
case "unrecognized_keys": return n(`material.zod.unrecognized_keys_${e.keys.length > 1 ? "multiple" : "single"}`, { keys: e.keys.join(", ") });
|
|
288
|
+
case "invalid_key": return n("material.zod.invalid_key", { origin: e.origin });
|
|
289
|
+
case "invalid_union": return n("material.zod.invalid_union");
|
|
290
|
+
case "invalid_element": return n("material.zod.invalid_element", { origin: e.origin });
|
|
291
|
+
default: return n("material.zod.default");
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
//#endregion
|
|
296
|
+
export { S as DATE_UTILS, Z as LOCALE_STORE_UTILS, u as STRING_UTILS, ie as STYLES_UTILS, F as buildFieldOptions, V as cast, H as castAsync, U as cleanObject, v as clientOnly, e as cn, oe as convertToFormData, b as createAsyncSlice, D as createFormatters, G as createSliceWithFilter, K as createStatusSlice, q as createStatusesSlice, re as createStepFormSlice, W as delay, d as enumToKebabCase, j as findByKey, M as findByKeyIn, R as formDataToObject, O as formatAmount, k as formatDate, C as formatDateRangeFilter, w as formatNumber, ne as ifEmptyList, I as ifEmptyString, m as isExternalHref, te as joinTruthyParts, L as objectToFormData, B as omit, $ as parsedType, z as pick, ae as renderSlot, l as resolveSliceState, J as safeGetItem, X as safeRemoveItem, Y as safeSetItem, c as searchParam, ee as searchParams, g as slugify, p as splitMatch, A as uniqueArray, _ as useActions, P as useFindById, N as useFindByKey, h as useSliceReducer, y as useSliceSelector, se as zodLocaleError };
|