@nxgt/material 2.12.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +79 -0
- package/README.md +19 -6
- package/dist/{_Uint8Array-azThpjEP.js → _Uint8Array-QCcRMhXd.js} +1 -1
- package/dist/{_overRest-DMn4Dt71.js → _overRest-C21ZmKyH.js} +1 -1
- package/dist/{async-slice-DhZDjEtw.js → async-slice-TBZ6Taw2.js} +2 -2
- package/dist/{blockDiagram-BEXU5L5S-CnFXw-7E.js → blockDiagram-BEXU5L5S-Cn9cG3vt.js} +2 -2
- package/dist/{chunk-3FUC2YCW-3vMiTgTl.js → chunk-3FUC2YCW-XrT5pZo5.js} +2 -2
- package/dist/{chunk-7M6MHVWA-NPaJJ6Gy.js → chunk-7M6MHVWA-Uf-8NCRF.js} +1 -1
- package/dist/{chunk-GNY47TPC-DCFqYc_z.js → chunk-GNY47TPC-CGgBmY0O.js} +4 -4
- package/dist/{chunk-NETBCI7D-BB4rjLSQ.js → chunk-NETBCI7D-g-jPsM9q.js} +1 -1
- package/dist/{chunk-Z7XXMR3K-vmLFt9Cr.js → chunk-Z7XXMR3K-BzO1efzA.js} +1 -1
- package/dist/{classDiagram-v2-NBCMYWYE-eUVWeh_6.js → classDiagram-v2-NBCMYWYE-7WgpfVcn.js} +2 -2
- package/dist/components/components.css +13 -2
- package/dist/components/ui/feedback/spinner/spinner.css +28 -0
- package/dist/components/ui/fields/otp-field/input-otp.css +48 -0
- package/dist/components/ui/media/pdf-viewer/pdf-viewer.css +24 -0
- package/dist/components/ui/overlays/drawer/vaul-drawer.css +199 -0
- package/dist/components/ui/overlays/drawer/vaul-keyframes.css +95 -0
- package/dist/{components-BYxsGbyO.js → components-qTUjhFuo.js} +116423 -127245
- package/dist/components.js +6 -6
- package/dist/{dagre-6A5THRUB-LmEtEC93.js → dagre-6A5THRUB-BOuRxJdA.js} +11 -11
- package/dist/{diagram-22UHCM2B-BwARaM-x.js → diagram-22UHCM2B-CF0vLJbn.js} +2 -2
- package/dist/{diagram-3UASUU5V-BkeqK_e8.js → diagram-3UASUU5V-RLo-MTfV.js} +1 -1
- package/dist/dnd.js +1 -1
- package/dist/{elk-276RUBZZ-DL4pxCSP.js → elk-276RUBZZ-Dr2yBM7k.js} +3 -3
- package/dist/{erDiagram-OPXOYQCR-Ajlj2lcb.js → erDiagram-OPXOYQCR-l7kPZ4FO.js} +2 -2
- package/dist/{field-blur-DgfIJceK.js → field-blur-BKGVq9_k.js} +865 -870
- package/dist/{flowDiagram-KWPJA3E3-BOEc9KSn.js → flowDiagram-KWPJA3E3-BQEK3XTl.js} +3 -3
- package/dist/fonts/katex/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/fonts/katex/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/{ganttDiagram-FUAMR5RP-DdxLcLNx.js → ganttDiagram-FUAMR5RP-WYm8XV7U.js} +1 -1
- package/dist/{graphlib-DLjE3QPd.js → graphlib-CbcZi5bx.js} +6 -6
- package/dist/hooks.js +26 -26
- package/dist/{i18n-provider-CQL7fqLy.js → i18n-provider-D5hkauu6.js} +1 -1
- package/dist/i18n.js +6 -6
- package/dist/{isArrayLikeObject-CO-5KAzG.js → isArrayLikeObject-COiPdhFP.js} +3 -3
- package/dist/{isEmpty-Bl1drJE7.js → isEmpty-B7UlCLih.js} +3 -3
- package/dist/{journeyDiagram-ZHPQQLJL-BIzB9BVn.js → journeyDiagram-ZHPQQLJL-p90NnenY.js} +1 -1
- package/dist/lib/components/ui/fields/attributes/attribute-form/consts.d.ts +5 -1
- package/dist/lib/components/ui/fields/attributes/attribute-form/types.d.ts +2 -2
- package/dist/lib/components/ui/fields/opening-hours/consts.d.ts +12 -1
- package/dist/lib/components/ui/fields/search-field/index.d.ts +2 -2
- package/dist/lib/components/ui/media/image-cropper/image-crop-aspects.d.ts +6 -0
- package/dist/lib/components/ui/media/image-cropper/use-frame-size.d.ts +4 -0
- package/dist/lib/components/ui/primitives/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/nonce-provider/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/nonce-provider/nonce-provider.d.ts +20 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete.d.ts +2 -34
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-announcer.d.ts +10 -0
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-chips.d.ts +8 -3
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-list-status.d.ts +13 -0
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-popup.d.ts +26 -0
- package/dist/lib/components/ui/selection/autocomplete/types.d.ts +72 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-filter.d.ts +13 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-handlers.d.ts +17 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-search.d.ts +8 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-status.d.ts +28 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-values.d.ts +27 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete.d.ts +29 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +7 -4
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/extensions.d.ts +2 -2
- package/dist/lib/components/ui/widgets/rich-text-editor/use-rich-text-editor.d.ts +17 -0
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/use-csp-nonce.d.ts +16 -0
- package/dist/lib/i18n/resources/en/en.d.ts +4 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +5 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +4 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +5 -1
- package/dist/lib/i18n/resources/resources.d.ts +8 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/lib/index.d.ts +1 -0
- package/dist/lib/vite/index.d.ts +3 -2
- package/dist/lib.js +32 -31
- package/dist/main.js +16 -16
- package/dist/map.js +2 -2
- package/dist/material.css +25 -1
- package/dist/{merge-CwwtONfp.js → merge-KEf_u3Zy.js} +4 -4
- package/dist/{mermaid.core-6yWyNdZa.js → mermaid.core-CW8DO1T1.js} +21 -21
- package/dist/{mindmap-definition-NLK3R4M7-aHycauO9.js → mindmap-definition-NLK3R4M7-DJcCg9PL.js} +2 -2
- package/dist/{pieDiagram-5QR66LMP-DEiooyQu.js → pieDiagram-5QR66LMP-b_dHXzkV.js} +1 -1
- package/dist/print.js +2 -2
- package/dist/{quadrantDiagram-O4NWA36T-CLlaqEdw.js → quadrantDiagram-O4NWA36T-BSqAcBs7.js} +1 -1
- package/dist/{requirementDiagram-PLB6GJNP-DD74Pa6_.js → requirementDiagram-PLB6GJNP-BcxkmIFp.js} +2 -2
- package/dist/{sankeyDiagram-IPEJSGJF-DAR9G0yC.js → sankeyDiagram-IPEJSGJF-aD5r_n1q.js} +1 -1
- package/dist/{sortable-provider-D4S-mqLP.js → sortable-provider-C8mr3XP2.js} +1 -1
- package/dist/{stateDiagram-v2-GCMORJYK-pti7a_r-.js → stateDiagram-v2-GCMORJYK-Ct9ylaoP.js} +2 -2
- package/dist/{stored-language-BW32owje.js → stored-language-g121Yv0w.js} +10 -2
- package/dist/{swimlanes-2SLR337P-D10pSc8m.js → swimlanes-2SLR337P-BwCqwEoR.js} +3 -3
- package/dist/{swimlanesDiagram-TC7HE7FX-B8HgZod5.js → swimlanesDiagram-TC7HE7FX-WxBGUt0w.js} +3 -3
- package/dist/{timeline-definition-EJHVYXUP-D8CWcNj3.js → timeline-definition-EJHVYXUP-5Q8GU13Q.js} +1 -1
- package/dist/{translate-material-ZEzF-LKH.js → translate-material-D3Hp_AI5.js} +2 -2
- package/dist/{translator-BfqVlNGW.js → translator-BMFC0lBV.js} +1 -1
- package/dist/{use-heading-spy-DvZVu15k.js → use-heading-spy-wlOv87q3.js} +65 -59
- package/dist/{use-material-translation-B2GUtxUY.js → use-material-translation-BGFp1yXp.js} +2 -2
- package/dist/{usecaseDiagram-POWQR4AR-DIdH4Oia.js → usecaseDiagram-POWQR4AR-CzGOd4ic.js} +2 -2
- package/dist/vite.js +2 -2
- package/dist/{xychartDiagram-PMCCYNJV-aecZdRhd.js → xychartDiagram-PMCCYNJV-Bh_1zZoW.js} +1 -1
- package/docs/README.md +1 -0
- package/docs/components/data-display.md +5 -0
- package/docs/components/form-fields.md +14 -0
- package/docs/components/primitives.md +31 -0
- package/docs/components/selection-and-choice.md +74 -4
- package/docs/getting-started.md +5 -1
- package/docs/guides/csp.md +408 -0
- package/docs/guides/helpers.md +2 -0
- package/docs/guides/theming.md +27 -0
- package/docs/roadmap.md +21 -1
- package/docs/troubleshooting.md +220 -0
- package/lib/components/components.css +13 -2
- package/lib/components/ui/feedback/spinner/spinner.css +28 -0
- package/lib/components/ui/fields/otp-field/input-otp.css +48 -0
- package/lib/components/ui/media/pdf-viewer/pdf-viewer.css +24 -0
- package/lib/components/ui/overlays/drawer/vaul-drawer.css +199 -0
- package/lib/components/ui/overlays/drawer/vaul-keyframes.css +95 -0
- package/package.json +9 -4
- package/dist/lib/components/ui/fields/search-field/debounce.d.ts +0 -5
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AutocompleteOption, AutocompleteProps } from './types';
|
|
2
|
+
type Readers<T> = {
|
|
3
|
+
getOptionValue: (option: T) => string;
|
|
4
|
+
getOptionLabel: (option: T) => string;
|
|
5
|
+
};
|
|
6
|
+
type Lists<T> = {
|
|
7
|
+
/** The options the list offers now: `options`, or the search results. */
|
|
8
|
+
items: T[];
|
|
9
|
+
/** The options given (`options`): with `items`, what a value may stand for. */
|
|
10
|
+
known: T[];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The list (with every free-solo value that is no option), the options the
|
|
14
|
+
* chips and the Combobox read the selection from — those of `known`, the
|
|
15
|
+
* free-solo values and every option picked so far, so a chip keeps its
|
|
16
|
+
* label once a new search no longer returns it — the selected values as a
|
|
17
|
+
* list, the selected option(s), and whether the query can be added.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useAutocompleteValues<T extends AutocompleteOption>(props: AutocompleteProps<T>, query: string, { items, known }: Lists<T>, { getOptionValue, getOptionLabel }: Readers<T>): {
|
|
20
|
+
fullOptions: T[];
|
|
21
|
+
selectable: T[];
|
|
22
|
+
showAddButton: boolean;
|
|
23
|
+
values: string[];
|
|
24
|
+
selectedValue: T | T[] | null;
|
|
25
|
+
remember: (options: T[]) => void;
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AutocompleteOption, AutocompleteProps } from './types';
|
|
2
|
+
type Readers<T> = {
|
|
3
|
+
getOptionValue: (option: T) => string;
|
|
4
|
+
getOptionLabel: (option: T) => string;
|
|
5
|
+
};
|
|
6
|
+
/** Autocomplete's state and callbacks; the component only lays them out. */
|
|
7
|
+
export declare function useAutocomplete<T extends AutocompleteOption>(props: AutocompleteProps<T>, readers: Readers<T>): {
|
|
8
|
+
handleRemove: (value: string) => void;
|
|
9
|
+
handleValueChange: (value: any) => void;
|
|
10
|
+
handleInputValueChange: (value: string, eventDetails: import('..').ChangeEventDetails) => void;
|
|
11
|
+
fullOptions: T[];
|
|
12
|
+
selectable: T[];
|
|
13
|
+
showAddButton: boolean;
|
|
14
|
+
values: string[];
|
|
15
|
+
selectedValue: T | T[] | null;
|
|
16
|
+
remember: (options: T[]) => void;
|
|
17
|
+
query: string;
|
|
18
|
+
open: boolean;
|
|
19
|
+
setOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
20
|
+
filter: ((option: T, query: string) => boolean) | null;
|
|
21
|
+
status: {
|
|
22
|
+
loading: boolean;
|
|
23
|
+
failure: import('react').ReactNode;
|
|
24
|
+
hint: string | null;
|
|
25
|
+
emptyText: string | number | bigint | true | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | null;
|
|
26
|
+
announcement: import('react').ReactNode;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { RadioGroup as RadioGroupPrimitive } from 'radix-ui';
|
|
2
2
|
import { ComponentProps, ReactNode } from 'react';
|
|
3
|
+
export type RadioGroupOption = {
|
|
4
|
+
value: string;
|
|
5
|
+
label: ReactNode;
|
|
6
|
+
/** Rendered and announced as disabled, skipped by the arrow keys. */
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
3
9
|
export type RadioGroupProps = {
|
|
4
|
-
options:
|
|
5
|
-
value: string;
|
|
6
|
-
label: ReactNode;
|
|
7
|
-
}[];
|
|
10
|
+
options: RadioGroupOption[];
|
|
8
11
|
label?: ReactNode;
|
|
9
12
|
helperText?: ReactNode;
|
|
10
13
|
error?: boolean;
|
|
@@ -18,7 +18,7 @@ export interface BuildExtensionsParams {
|
|
|
18
18
|
*/
|
|
19
19
|
translate?: SlashCommandTranslate;
|
|
20
20
|
}
|
|
21
|
-
export declare const extensions: ({ mentionSuggestionsRef, hasMentions, placeholder, characterLimit, features, translate, }: BuildExtensionsParams) => (import('@tiptap/core').Node<any, any> | import('@tiptap/core').Extension<{
|
|
21
|
+
export declare const extensions: ({ mentionSuggestionsRef, hasMentions, placeholder, characterLimit, features, translate, }: BuildExtensionsParams) => (import('@tiptap/core').Node<import('@tiptap/extension-table').TableOptions, any> | import('@tiptap/core').Node<any, any> | import('@tiptap/core').Extension<{
|
|
22
22
|
features?: RichTextEditorFeatures;
|
|
23
23
|
translate?: SlashCommandTranslate;
|
|
24
|
-
}, any> | import('@tiptap/core').Node<import('@tiptap/extension-table').
|
|
24
|
+
}, any> | import('@tiptap/core').Node<import('@tiptap/extension-table').TableCellOptions, any> | import('@tiptap/core').Extension<import('@tiptap/extension-text-style').TextStyleKitOptions, any> | import('@tiptap/core').Extension<import('@tiptap/extension-text-style').FontFamilyOptions, any> | import('@tiptap/core').Extension<import('@tiptap/starter-kit').StarterKitOptions, any> | import('@tiptap/core').Extension<import('@tiptap/extension-typography').TypographyOptions, any> | import('@tiptap/core').Extension<import('@tiptap/extensions').FocusOptions, any> | import('@tiptap/core').Mark<import('@tiptap/extension-highlight').HighlightOptions, any> | import('@tiptap/core').Mark<import('@tiptap/extension-subscript').SubscriptExtensionOptions, any> | import('@tiptap/core').Extension<import('@tiptap/extension-text-align').TextAlignOptions, any> | import('@tiptap/core').Extension<import('@tiptap/extensions').PlaceholderOptions, any> | import('@tiptap/core').Extension<import('@tiptap/extensions').CharacterCountOptions, import('@tiptap/extensions').CharacterCountStorage> | import('@tiptap/core').Node<import('@tiptap/extension-list').TaskListOptions, any> | import('@tiptap/core').Node<import('@tiptap/extension-list').TaskItemOptions, any> | import('@tiptap/core').Node<import('@tiptap/extension-image').ImageOptions, any> | import('@tiptap/core').Node<import('@tiptap/extension-youtube').YoutubeOptions, any> | import('@tiptap/core').Node<import('@tiptap/extension-emoji').EmojiOptions, import('@tiptap/extension-emoji').EmojiStorage> | import('@tiptap/core').Node<import('@tiptap/extension-code-block-lowlight').CodeBlockLowlightOptions, any> | import('@tiptap/core').Node<import('@tiptap/extension-mention').MentionOptions<any, import('@tiptap/extension-mention').MentionNodeAttrs>, any>)[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Editor, UseEditorOptions } from '@tiptap/react';
|
|
2
|
+
import { RichTextEditorOptions } from './types';
|
|
3
|
+
export type UseRichTextEditorArgs = {
|
|
4
|
+
options?: RichTextEditorOptions;
|
|
5
|
+
label?: unknown;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
editable?: boolean;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
characterLimit?: number;
|
|
10
|
+
content?: UseEditorOptions['content'];
|
|
11
|
+
editorOptions: Omit<UseEditorOptions, 'extensions' | 'editorProps'>;
|
|
12
|
+
};
|
|
13
|
+
/** The TipTap editor of `RichTextEditor`, with the refs that feed it. */
|
|
14
|
+
export declare function useRichTextEditor({ options, label, required, editable, placeholder, characterLimit, content, editorOptions, }: UseRichTextEditorArgs): {
|
|
15
|
+
editor: Editor;
|
|
16
|
+
labelId: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The page's CSP nonce, given by `NonceProvider`. Internal: read it with
|
|
3
|
+
* `useCspNonce`.
|
|
4
|
+
*/
|
|
5
|
+
export declare const CspNonceContext: import('react').Context<string | undefined>;
|
|
6
|
+
/** How many `NonceProvider`s enclose a component. Internal. */
|
|
7
|
+
export declare const CspNonceDepthContext: import('react').Context<number>;
|
|
8
|
+
/**
|
|
9
|
+
* The CSP nonce of the nearest `NonceProvider`, for a `<style>` (or
|
|
10
|
+
* `<script>`) a component renders: `<style nonce={useCspNonce()}>`.
|
|
11
|
+
*
|
|
12
|
+
* `undefined` outside a `NonceProvider`. It never reads the page during
|
|
13
|
+
* render, so the server and the client render the same attribute; code that
|
|
14
|
+
* runs in an effect can fall back to `getCspNonce()` (from `/lib`).
|
|
15
|
+
*/
|
|
16
|
+
export declare function useCspNonce(): string | undefined;
|
|
@@ -787,7 +787,11 @@ declare const _default: {
|
|
|
787
787
|
},
|
|
788
788
|
"autocomplete": {
|
|
789
789
|
"empty": "No option found.",
|
|
790
|
-
"add": "Add \"{query}\""
|
|
790
|
+
"add": "Add \"{query}\"",
|
|
791
|
+
"loading": "Loading…",
|
|
792
|
+
"results": "{count, plural, =0 {No results} one {# result} other {# results}}",
|
|
793
|
+
"search-error": "The search failed. Try again.",
|
|
794
|
+
"min-query": "Type at least {count, plural, one {# character} other {# characters}} to search."
|
|
791
795
|
},
|
|
792
796
|
"avatar": {
|
|
793
797
|
"online": "Online",
|
|
@@ -787,7 +787,11 @@ declare const _default: {
|
|
|
787
787
|
},
|
|
788
788
|
"autocomplete": {
|
|
789
789
|
"empty": "Aucune option.",
|
|
790
|
-
"add": "Ajouter « {query} »"
|
|
790
|
+
"add": "Ajouter « {query} »",
|
|
791
|
+
"loading": "Chargement…",
|
|
792
|
+
"results": "{count, plural, =0 {Aucun résultat} one {# résultat} other {# résultats}}",
|
|
793
|
+
"search-error": "La recherche a échoué. Réessayez.",
|
|
794
|
+
"min-query": "Saisissez au moins {count, plural, one {# caractère} other {# caractères}} pour rechercher."
|
|
791
795
|
},
|
|
792
796
|
"avatar": {
|
|
793
797
|
"online": "En ligne",
|
|
@@ -796,6 +796,10 @@ export declare const resources: {
|
|
|
796
796
|
autocomplete: {
|
|
797
797
|
empty: string;
|
|
798
798
|
add: string;
|
|
799
|
+
loading: string;
|
|
800
|
+
results: string;
|
|
801
|
+
"search-error": string;
|
|
802
|
+
"min-query": string;
|
|
799
803
|
};
|
|
800
804
|
avatar: {
|
|
801
805
|
online: string;
|
|
@@ -2059,6 +2063,10 @@ export declare const resources: {
|
|
|
2059
2063
|
autocomplete: {
|
|
2060
2064
|
empty: string;
|
|
2061
2065
|
add: string;
|
|
2066
|
+
loading: string;
|
|
2067
|
+
results: string;
|
|
2068
|
+
"search-error": string;
|
|
2069
|
+
"min-query": string;
|
|
2062
2070
|
};
|
|
2063
2071
|
avatar: {
|
|
2064
2072
|
online: string;
|
|
@@ -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.label" | "material.pagination.next" | "material.pagination.previous" | "material.table.loading" | "material.table.pagination.label" | "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.pagination.range" | "material.table.pagination.range-open" | "material.table.pagination.range-label" | "material.table.pagination.total" | "material.table.pagination.selected" | "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.labels.scroll-region" | "material.table.delete-confirm.title" | "material.table.delete-confirm.cancel" | "material.table.delete-confirm.description" | "material.table.delete-confirm.confirm" | "material.filter.title" | "material.filter.reset" | "material.filter.max" | "material.filter.min" | "material.filter.trigger" | "material.filter.active-count" | "material.filter.apply" | "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.cancel" | "material.filter.presets.load" | "material.filter.presets.submit" | "material.filter.presets.description" | "material.filter.presets.name" | "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.banner.dismiss" | "material.slider.value" | "material.slider.minimum" | "material.slider.maximum" | "material.tree.label" | "material.tree.expand" | "material.tree.collapse" | "material.command.title" | "material.command.description" | "material.copy.copy" | "material.copy.copied" | "material.copy.failed" | "material.emoji.search" | "material.emoji.empty" | "material.emoji.picker" | "material.emoji.pick" | "material.emoji.groups.all" | "material.emoji.groups.recent" | "material.emoji.groups.general" | "material.emoji.groups.people_body" | "material.emoji.groups.components" | "material.emoji.groups.animals_nature" | "material.emoji.groups.food_drink" | "material.emoji.groups.travel_places" | "material.emoji.groups.activities" | "material.emoji.groups.objects" | "material.emoji.groups.symbols" | "material.emoji.groups.flags" | "material.carousel.next" | "material.carousel.previous" | "material.carousel.slide" | "material.carousel.roledescription" | "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.confirm-dialog.cancel" | "material.confirm-dialog.confirm" | "material.confirm-dialog.failed" | "material.confirm-dialog.processing" | "material.confirm-dialog.form-failed" | "material.mentions.empty" | "material.cards.vs" | "material.cards.total" | "material.cards.per-month" | "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.close" | "material.buttons.delete" | "material.buttons.load-more" | "material.buttons.ok" | "material.buttons.add" | "material.buttons.save" | "material.json-viewer.invalid" | "material.json-viewer.items" | "material.json-viewer.empty" | "material.json-viewer.expand" | "material.json-viewer.collapse" | "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.close" | "material.gallery.play" | "material.gallery.open" | "material.gallery.zoom-in" | "material.gallery.zoom-out" | "material.gallery.selected" | "material.gallery.empty" | "material.gallery.more" | "material.gallery.delete" | "material.gallery.empty-description" | "material.gallery.of" | "material.gallery.repeat-off" | "material.gallery.download" | "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.submit" | "material.education.empty" | "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.error" | "material.stx-player.pause" | "material.stx-player.play" | "material.stx-player.loading" | "material.stx-player.retry" | "material.stx-player.empty-description" | "material.stx-player.repeat-off" | "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.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.error.title" | "material.toast.operations.loading.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.too_big_string_inclusive" | "material.zod.too_big_string_exclusive" | "material.zod.too_small_string_inclusive" | "material.zod.too_small_string_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.error" | "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.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.selected" | "material.tree-select-field.empty" | "material.tree-select-field.placeholder" | "material.image-cropper.title" | "material.image-cropper.cancel" | "material.image-cropper.error" | "material.image-cropper.apply" | "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.error" | "material.stepper.step" | "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.navigation" | "material.app-shell.home" | "material.app-shell.open-menu" | "material.transfer-list.search" | "material.transfer-list.drag" | "material.transfer-list.max" | "material.transfer-list.selected" | "material.transfer-list.select-all" | "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.sortable-list.search" | "material.sortable-list.drag" | "material.sortable-list.empty" | "material.sortable-list.move-up" | "material.sortable-list.move-down" | "material.sortable-list.empty-filter" | "material.event-calendar.search" | "material.event-calendar.title" | "material.event-calendar.color" | "material.event-calendar.next" | "material.event-calendar.previous" | "material.event-calendar.drag" | "material.event-calendar.resize" | "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.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.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.cancel" | "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.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.drag" | "material.kanban.card-title" | "material.kanban.empty" | "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.selected" | "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.total" | "material.print.table.empty" | "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.error" | "material.file-preview.loading" | "material.file-preview.download" | "material.file-preview.untitled" | "material.file-preview.truncated">;
|
|
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.label" | "material.pagination.next" | "material.pagination.previous" | "material.table.loading" | "material.table.pagination.label" | "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.pagination.range" | "material.table.pagination.range-open" | "material.table.pagination.range-label" | "material.table.pagination.total" | "material.table.pagination.selected" | "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.labels.scroll-region" | "material.table.delete-confirm.title" | "material.table.delete-confirm.cancel" | "material.table.delete-confirm.description" | "material.table.delete-confirm.confirm" | "material.filter.title" | "material.filter.reset" | "material.filter.max" | "material.filter.min" | "material.filter.trigger" | "material.filter.active-count" | "material.filter.apply" | "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.cancel" | "material.filter.presets.load" | "material.filter.presets.submit" | "material.filter.presets.description" | "material.filter.presets.name" | "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.banner.dismiss" | "material.slider.value" | "material.slider.minimum" | "material.slider.maximum" | "material.tree.label" | "material.tree.expand" | "material.tree.collapse" | "material.command.title" | "material.command.description" | "material.copy.copy" | "material.copy.copied" | "material.copy.failed" | "material.emoji.search" | "material.emoji.empty" | "material.emoji.picker" | "material.emoji.pick" | "material.emoji.groups.all" | "material.emoji.groups.recent" | "material.emoji.groups.general" | "material.emoji.groups.people_body" | "material.emoji.groups.components" | "material.emoji.groups.animals_nature" | "material.emoji.groups.food_drink" | "material.emoji.groups.travel_places" | "material.emoji.groups.activities" | "material.emoji.groups.objects" | "material.emoji.groups.symbols" | "material.emoji.groups.flags" | "material.carousel.next" | "material.carousel.previous" | "material.carousel.slide" | "material.carousel.roledescription" | "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.confirm-dialog.cancel" | "material.confirm-dialog.confirm" | "material.confirm-dialog.failed" | "material.confirm-dialog.processing" | "material.confirm-dialog.form-failed" | "material.mentions.empty" | "material.cards.vs" | "material.cards.total" | "material.cards.per-month" | "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.close" | "material.buttons.delete" | "material.buttons.load-more" | "material.buttons.ok" | "material.buttons.add" | "material.buttons.save" | "material.json-viewer.invalid" | "material.json-viewer.items" | "material.json-viewer.empty" | "material.json-viewer.expand" | "material.json-viewer.collapse" | "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.close" | "material.gallery.play" | "material.gallery.open" | "material.gallery.zoom-in" | "material.gallery.zoom-out" | "material.gallery.selected" | "material.gallery.empty" | "material.gallery.more" | "material.gallery.delete" | "material.gallery.empty-description" | "material.gallery.of" | "material.gallery.repeat-off" | "material.gallery.download" | "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.submit" | "material.education.empty" | "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.error" | "material.stx-player.pause" | "material.stx-player.play" | "material.stx-player.loading" | "material.stx-player.retry" | "material.stx-player.empty-description" | "material.stx-player.repeat-off" | "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.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.error.title" | "material.toast.operations.loading.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.too_big_string_inclusive" | "material.zod.too_big_string_exclusive" | "material.zod.too_small_string_inclusive" | "material.zod.too_small_string_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.error" | "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.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.selected" | "material.tree-select-field.empty" | "material.tree-select-field.placeholder" | "material.image-cropper.title" | "material.image-cropper.cancel" | "material.image-cropper.error" | "material.image-cropper.apply" | "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.error" | "material.stepper.step" | "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.results" | "material.autocomplete.loading" | "material.autocomplete.empty" | "material.autocomplete.add" | "material.autocomplete.search-error" | "material.autocomplete.min-query" | "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.navigation" | "material.app-shell.home" | "material.app-shell.open-menu" | "material.transfer-list.search" | "material.transfer-list.drag" | "material.transfer-list.max" | "material.transfer-list.selected" | "material.transfer-list.select-all" | "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.sortable-list.search" | "material.sortable-list.drag" | "material.sortable-list.empty" | "material.sortable-list.move-up" | "material.sortable-list.move-down" | "material.sortable-list.empty-filter" | "material.event-calendar.search" | "material.event-calendar.title" | "material.event-calendar.color" | "material.event-calendar.next" | "material.event-calendar.previous" | "material.event-calendar.drag" | "material.event-calendar.resize" | "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.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.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.cancel" | "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.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.drag" | "material.kanban.card-title" | "material.kanban.empty" | "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.selected" | "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.total" | "material.print.table.empty" | "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.error" | "material.file-preview.loading" | "material.file-preview.download" | "material.file-preview.untitled" | "material.file-preview.truncated">;
|
package/dist/lib/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { getCspNonce, setCspNonce } from '@nxgt/material-core/csp-nonce';
|
|
1
2
|
export { createFormatters, type DateInput, type FormatAmountOptions, type FormatDateOptions, type Formatters, type FormattersOptions, formatAmount, formatDate, } from '@nxgt/material-core/print-format';
|
|
2
3
|
export * from './array.utils';
|
|
3
4
|
export * from './build-field-options';
|
package/dist/lib/vite/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Build-time helpers for the apps that consume this library: Node code that
|
|
3
3
|
* runs inside a consumer's `vite.config.ts`. The one copy lives in
|
|
4
4
|
* `@nxgt/material-core/vite`, shared with the sister library; this entry keeps
|
|
5
|
-
* the subpath consumers already import. See `pdfkitStandardFonts`
|
|
5
|
+
* the subpath consumers already import. See `pdfkitStandardFonts` and
|
|
6
|
+
* `cspAssetsInlineLimit` there.
|
|
6
7
|
*/
|
|
7
|
-
export { pdfkitStandardFonts } from '@nxgt/material-core/vite';
|
|
8
|
+
export { cspAssetsInlineLimit, pdfkitStandardFonts, } from '@nxgt/material-core/vite';
|
package/dist/lib.js
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
import { t as e } from "./utils-DC8bw9A_.js";
|
|
2
|
-
import { a as t, i as n, t as r } from "./stored-language-
|
|
3
|
-
import { i, r as a, v as o } from "./translator-
|
|
4
|
-
import { _ as s, a as c, c as l, d as u, f as d, g as
|
|
5
|
-
import { n as
|
|
6
|
-
import { useCallback as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
2
|
+
import { a as t, i as n, t as r } from "./stored-language-g121Yv0w.js";
|
|
3
|
+
import { i, r as a, v as o } from "./translator-BMFC0lBV.js";
|
|
4
|
+
import { _ as s, a as c, c as l, d as u, f as d, g as ee, h as te, i as ne, l as re, m as ie, n as ae, o as oe, p as f, r as p, s as m, t as h, u as g } from "./async-slice-TBZ6Taw2.js";
|
|
5
|
+
import { n as _, r as v, t as y } from "./number.utils-BiBN2hWJ.js";
|
|
6
|
+
import { useCallback as b } from "react";
|
|
7
|
+
import { getCspNonce as x, setCspNonce as S } from "@nxgt/material-core/csp-nonce";
|
|
8
|
+
import { createSlice as C } from "@reduxjs/toolkit";
|
|
9
|
+
import { createFormatters as w, formatAmount as T, formatDate as E } from "@nxgt/material-core/print-format";
|
|
10
|
+
import { invalidFormatMessage as D, sizeMessage as O } from "@nxgt/material-core/zod-issue-messages";
|
|
10
11
|
//#region lib/lib/array.utils.ts
|
|
11
|
-
function
|
|
12
|
+
function k(e) {
|
|
12
13
|
return Array.from(new Set(e));
|
|
13
14
|
}
|
|
14
|
-
function
|
|
15
|
+
function A(e, t, n) {
|
|
15
16
|
return e.find((e) => e[t] === n);
|
|
16
17
|
}
|
|
17
|
-
function
|
|
18
|
+
function j(e, t, n) {
|
|
18
19
|
return e.filter((e) => n.includes(e[t]));
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
+
function M(e, t) {
|
|
21
22
|
return {
|
|
22
|
-
findByKey:
|
|
23
|
-
findByKeyIn:
|
|
23
|
+
findByKey: b((n) => A(e, t, n), [e, t]),
|
|
24
|
+
findByKeyIn: b((n) => j(e, t, n), [e, t])
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
|
-
function
|
|
27
|
-
return
|
|
27
|
+
function N(e) {
|
|
28
|
+
return M(e, "id");
|
|
28
29
|
}
|
|
29
30
|
//#endregion
|
|
30
31
|
//#region lib/lib/build-field-options.ts
|
|
31
|
-
function
|
|
32
|
+
function P(e, { valueKey: t, label: n }) {
|
|
32
33
|
return e.map((e) => ({
|
|
33
34
|
value: i(e, t),
|
|
34
35
|
label: typeof n == "function" ? n(e) : i(e, n)
|
|
@@ -45,7 +46,7 @@ function I(e, t) {
|
|
|
45
46
|
function L(e) {
|
|
46
47
|
let t = new FormData();
|
|
47
48
|
return typeof e == "object" && Object.entries(e).forEach(([e, n]) => {
|
|
48
|
-
|
|
49
|
+
ee(n) || t.append(e, n);
|
|
49
50
|
}), t;
|
|
50
51
|
}
|
|
51
52
|
function R(e) {
|
|
@@ -84,7 +85,7 @@ function W(e) {
|
|
|
84
85
|
//#endregion
|
|
85
86
|
//#region lib/lib/redux/filter-slice.ts
|
|
86
87
|
function G({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }) {
|
|
87
|
-
return
|
|
88
|
+
return C({
|
|
88
89
|
name: e,
|
|
89
90
|
initialState: t,
|
|
90
91
|
reducers: (e) => ({
|
|
@@ -108,7 +109,7 @@ function G({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }
|
|
|
108
109
|
}
|
|
109
110
|
//#endregion
|
|
110
111
|
//#region lib/lib/redux/status-slice.ts
|
|
111
|
-
var K = ({ name: e, initialState: t = { status: "idle" }, reducers: n = {}, selectors: r = {} }) =>
|
|
112
|
+
var K = ({ name: e, initialState: t = { status: "idle" }, reducers: n = {}, selectors: r = {} }) => C({
|
|
112
113
|
name: e,
|
|
113
114
|
initialState: t,
|
|
114
115
|
reducers: {
|
|
@@ -127,7 +128,7 @@ var K = ({ name: e, initialState: t = { status: "idle" }, reducers: n = {}, sele
|
|
|
127
128
|
...n
|
|
128
129
|
},
|
|
129
130
|
selectors: { ...r }
|
|
130
|
-
}), q = ({ name: e, initialState: t, reducers: n = {}, selectors: r = {} }) =>
|
|
131
|
+
}), q = ({ name: e, initialState: t, reducers: n = {}, selectors: r = {} }) => C({
|
|
131
132
|
name: e,
|
|
132
133
|
initialState: t,
|
|
133
134
|
reducers: {
|
|
@@ -179,7 +180,7 @@ function X(e) {
|
|
|
179
180
|
console.warn(`Failed to remove state for key "${e}":`, t);
|
|
180
181
|
}
|
|
181
182
|
}
|
|
182
|
-
var
|
|
183
|
+
var se = {
|
|
183
184
|
safeGetItem: J,
|
|
184
185
|
safeSetItem: Y,
|
|
185
186
|
safeRemoveItem: X
|
|
@@ -187,11 +188,11 @@ var ae = {
|
|
|
187
188
|
isDirty: !1,
|
|
188
189
|
step: 0,
|
|
189
190
|
values: {}
|
|
190
|
-
},
|
|
191
|
+
}, ce = ({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }) => {
|
|
191
192
|
let i = () => ({
|
|
192
193
|
...Z,
|
|
193
194
|
values: t ?? Z.values
|
|
194
|
-
}), a =
|
|
195
|
+
}), a = C({
|
|
195
196
|
name: e,
|
|
196
197
|
initialState: () => {
|
|
197
198
|
if (typeof localStorage > "u") return i();
|
|
@@ -224,10 +225,10 @@ var ae = {
|
|
|
224
225
|
}),
|
|
225
226
|
selectors: { ...r }
|
|
226
227
|
});
|
|
227
|
-
return
|
|
228
|
-
},
|
|
228
|
+
return g(a, i), a;
|
|
229
|
+
}, le = { colorFromVariable(e, t = 1) {
|
|
229
230
|
return `rgb(from var(--${e}) r g b / ${t})`;
|
|
230
|
-
} },
|
|
231
|
+
} }, ue = (e, t) => typeof e == "function" ? e(t) : e, Q = (e, t = "files") => {
|
|
231
232
|
let n = new FormData();
|
|
232
233
|
return (o(e) ? e.filter(Boolean) : [e]).forEach((e) => {
|
|
233
234
|
n.append(t, e, e.name);
|
|
@@ -242,7 +243,7 @@ var ae = {
|
|
|
242
243
|
if (Object.getPrototypeOf(e) !== Object.prototype && e.constructor) return e.constructor.name;
|
|
243
244
|
}
|
|
244
245
|
return t;
|
|
245
|
-
},
|
|
246
|
+
}, de = ({ storageKey: e = n, language: i, translate: o = a } = {}) => {
|
|
246
247
|
let s = () => typeof i == "function" ? i() : i ?? r(e, "en", t);
|
|
247
248
|
return (e) => {
|
|
248
249
|
let t = s(), n = (e, n) => o(e, n, t), r = (e, t) => {
|
|
@@ -259,11 +260,11 @@ var ae = {
|
|
|
259
260
|
}
|
|
260
261
|
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(" | ") });
|
|
261
262
|
case "too_big":
|
|
262
|
-
case "too_small": return
|
|
263
|
+
case "too_small": return O(e, {
|
|
263
264
|
translate: n,
|
|
264
265
|
lookup: r
|
|
265
266
|
});
|
|
266
|
-
case "invalid_format": return
|
|
267
|
+
case "invalid_format": return D(e, {
|
|
267
268
|
translate: n,
|
|
268
269
|
lookup: r
|
|
269
270
|
});
|
|
@@ -277,4 +278,4 @@ var ae = {
|
|
|
277
278
|
};
|
|
278
279
|
};
|
|
279
280
|
//#endregion
|
|
280
|
-
export {
|
|
281
|
+
export { _ as DATE_UTILS, se as LOCALE_STORE_UTILS, u as STRING_UTILS, le as STYLES_UTILS, P as buildFieldOptions, V as cast, H as castAsync, U as cleanObject, p as clientOnly, e as cn, Q as convertToFormData, h as createAsyncSlice, w as createFormatters, G as createSliceWithFilter, K as createStatusSlice, q as createStatusesSlice, ce as createStepFormSlice, W as delay, d as enumToKebabCase, A as findByKey, j as findByKeyIn, R as formDataToObject, T as formatAmount, E as formatDate, v as formatDateRangeFilter, y as formatNumber, x as getCspNonce, I as ifEmptyList, F as ifEmptyString, ne as isExternalHref, f as joinTruthyParts, L as objectToFormData, B as omit, $ as parsedType, z as pick, ue as renderSlot, l as resolveSliceState, J as safeGetItem, X as safeRemoveItem, Y as safeSetItem, c as searchParam, oe as searchParams, S as setCspNonce, ie as slugify, te as splitMatch, k as uniqueArray, ae as useActions, N as useFindById, M as useFindByKey, re as useSliceReducer, m as useSliceSelector, de as zodLocaleError };
|