@nxgt/material-vue 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -19
- package/dist/{Button-DOcT4Pej.js → Button-C1aaI0Gw.js} +1 -1
- package/dist/{HoverCardTrigger-WQe85PCH.js → HoverCardTrigger-JtHn0IFQ.js} +2 -2
- package/dist/{camera-BNbLUPb1.js → camera-BacVyXl0.js} +13 -13
- package/dist/{components-YlYuHLEI.js → components-DRBKkOqk.js} +15333 -13879
- package/dist/components.js +8 -8
- package/dist/composables.js +2 -2
- package/dist/dnd.js +1 -1
- package/dist/form-scope-VxlJuvFe.js +43 -0
- package/dist/{i18n-provider-DTuxugHO.js → i18n-provider-D0oYv0XS.js} +1 -1
- package/dist/i18n.js +4 -4
- package/dist/{icon-button-DKLuZ2c-.js → icon-button-B2FQtIHS.js} +1 -1
- package/dist/lib/components/ui/collections/tree/use-tree.d.ts +2 -0
- package/dist/lib/components/ui/dates/date-field/date-field.vue.d.ts +10 -1
- package/dist/lib/components/ui/dates/date-field/date-form-field.vue.d.ts +3 -1
- package/dist/lib/components/ui/dates/date-field/day-matcher.d.ts +26 -0
- package/dist/lib/components/ui/dates/date-field/index.d.ts +1 -0
- package/dist/lib/components/ui/dates/date-field/partials/date-field-content.vue.d.ts +2 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field.utils.d.ts +11 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field.vue.d.ts +26 -1
- package/dist/lib/components/ui/dates/date-range-field/date-range-form-field.vue.d.ts +3 -1
- package/dist/lib/components/ui/dates/date-range-field/index.d.ts +1 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/date-range-calendar.vue.d.ts +5 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/date-range-field-trigger.vue.d.ts +2 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/date-range-presets.vue.d.ts +12 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/date-range-times.vue.d.ts +13 -0
- package/dist/lib/components/ui/dates/date-range-field/use-date-range-presets.d.ts +23 -0
- package/dist/lib/components/ui/dates/time-picker/time-picker-utils.d.ts +7 -0
- package/dist/lib/components/ui/display/accordion-card/accordion-card.vue.d.ts +29 -1
- package/dist/lib/components/ui/display/avatar/Avatar.vue.d.ts +14 -3
- package/dist/lib/components/ui/display/avatar/index.d.ts +1 -0
- package/dist/lib/components/ui/display/cards/cards.gallery.d.ts +5 -9
- package/dist/lib/components/ui/display/qrcode/qrcode.vue.d.ts +5 -3
- package/dist/lib/components/ui/display/status-indicator/status-tone.d.ts +3 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog/async-form-scope.d.ts +15 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog/confirmation-dialog.vue.d.ts +37 -24
- package/dist/lib/components/ui/feedback/confirmation-dialog/index.d.ts +1 -1
- package/dist/lib/components/ui/feedback/confirmation-dialog/partials/confirmation-dialog-form-error.vue.d.ts +3 -0
- package/dist/lib/components/ui/fields/attributes/form-schema.d.ts +24 -22
- package/dist/lib/components/ui/fields/contacts/consts.d.ts +1 -1
- package/dist/lib/components/ui/fields/number-field/number-field.vue.d.ts +2 -0
- package/dist/lib/components/ui/fields/slider/partials/slider-field-row.vue.d.ts +32 -0
- package/dist/lib/components/ui/fields/slider/slider-field.vue.d.ts +22 -1
- package/dist/lib/components/ui/fields/slider/slider-form-field.vue.d.ts +13 -1
- package/dist/lib/components/ui/forms/form-scope-schema.d.ts +43 -0
- package/dist/lib/components/ui/forms/form-scope.vue.d.ts +33 -0
- package/dist/lib/components/ui/media/file-preview/file-preview-pdf.lazy.d.ts +8 -0
- package/dist/lib/components/ui/media/file-preview/file-preview.vue.d.ts +9 -0
- package/dist/lib/components/ui/media/file-preview/index.d.ts +3 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-body.vue.d.ts +21 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-card.vue.d.ts +15 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-download.vue.d.ts +11 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-media.vue.d.ts +17 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-pdf.vue.d.ts +21 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-status.vue.d.ts +22 -0
- package/dist/lib/components/ui/media/file-preview/partials/file-preview-text.vue.d.ts +16 -0
- package/dist/lib/components/ui/media/file-preview/types.d.ts +19 -0
- package/dist/lib/components/ui/media/file-preview/use-file-preview.d.ts +21 -0
- package/dist/lib/components/ui/media/file-preview/use-text-preview.d.ts +17 -0
- package/dist/lib/components/ui/media/files-form-field/files-form-field.vue.d.ts +29 -0
- package/dist/lib/components/ui/media/files-form-field/index.d.ts +2 -0
- package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-canvas.vue.d.ts +1 -1
- package/dist/lib/components/ui/media/index.d.ts +2 -0
- package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-page.vue.d.ts +1 -1
- package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-reader-body.vue.d.ts +2 -2
- package/dist/lib/components/ui/media/upload/network-upload-field/use-image-preview.d.ts +9 -1
- package/dist/lib/components/ui/primitives/tabs/Tabs.vue.d.ts +3 -0
- package/dist/lib/components/ui/primitives/tabs/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/tabs/tabs-variant.d.ts +9 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete-form-field.vue.d.ts +31 -5
- package/dist/lib/components/ui/selection/autocomplete/autocomplete-items.d.ts +23 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete.vue.d.ts +48 -13
- package/dist/lib/components/ui/selection/autocomplete/filter-options.d.ts +2 -1
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-box.vue.d.ts +13 -1
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-list.vue.d.ts +17 -3
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-items.d.ts +15 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-open.d.ts +15 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-texts.d.ts +14 -0
- package/dist/lib/components/ui/selection/autocomplete/use-autocomplete.d.ts +34 -0
- package/dist/lib/components/ui/selection/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/select-field/select-field.vue.d.ts +16 -1
- package/dist/lib/components/ui/selection/select-field/select-form-field.vue.d.ts +16 -2
- package/dist/lib/components/ui/selection/tree-select-field/index.d.ts +3 -0
- package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-panel.vue.d.ts +27 -0
- package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-trigger.vue.d.ts +28 -0
- package/dist/lib/components/ui/selection/tree-select-field/tree-select-field.vue.d.ts +8 -0
- package/dist/lib/components/ui/selection/tree-select-field/tree-select-form-field.vue.d.ts +8 -0
- package/dist/lib/components/ui/selection/tree-select-field/tree-select.utils.d.ts +29 -0
- package/dist/lib/components/ui/selection/tree-select-field/types.d.ts +28 -0
- package/dist/lib/components/ui/selection/tree-select-field/use-tree-select-field.d.ts +19 -0
- package/dist/lib/components/ui/widgets/code-editor/code-editor-options.d.ts +4 -1
- package/dist/lib/components/ui/widgets/code-editor/code-editor.vue.d.ts +7 -0
- package/dist/lib/components/ui/widgets/code-editor/index.d.ts +1 -0
- package/dist/lib/components/ui/widgets/code-editor/monaco-editor.vue.d.ts +3 -0
- package/dist/lib/i18n/resources/en/en.d.ts +33 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +36 -3
- package/dist/lib/i18n/resources/fr/fr.d.ts +33 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +36 -3
- package/dist/lib/i18n/resources/resources.d.ts +66 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/nuxt/component-names.d.ts +1 -1
- package/dist/lib.js +2 -2
- package/dist/main.js +17 -17
- package/dist/map.js +4 -4
- package/dist/material-vue.css +1 -1
- package/dist/{pdf-outline-sidebar-0I-LGrgY.js → pdf-outline-sidebar-jJfhNjnN.js} +2 -2
- package/dist/{pdf-page-C74-6lyZ.js → pdf-page-BW1hXzPu.js} +1 -1
- package/dist/{pdf-page-list-DPsquYPY.js → pdf-page-list-D277RtWS.js} +2 -2
- package/dist/{pdf-reader-Bkpp7UZ7.js → pdf-reader-BReUTsn_.js} +73 -71
- package/dist/{pdf-sidebar-BH-1jvy-.js → pdf-sidebar-Bk6PowY1.js} +3 -3
- package/dist/{pdf-thumbnail-sidebar-ByqNaYfz.js → pdf-thumbnail-sidebar-BcNDFsks.js} +3 -3
- package/dist/{pdf-toolbar-BRnmzddi.js → pdf-toolbar-CHjaMhH9.js} +4 -4
- package/dist/pdf.js +2 -2
- package/dist/{sortable-provider-CC9eO1nm.js → sortable-provider-C83VBfGl.js} +2 -2
- package/dist/{stored-language-N_UoPJsY.js → stored-language-CC_vdcCN.js} +72 -6
- package/dist/{stx-player-BGKIDqNX.js → stx-player-BMQ1D2Li.js} +20 -20
- package/dist/{translator-CU0jKvzB.js → translator-B-X_1taI.js} +1 -1
- package/dist/{use-heading-spy-Bw1LIAkC.js → use-heading-spy-C_ySuvTl.js} +1 -1
- package/dist/{use-material-translation-8hUB2M-S.js → use-material-translation-B6sIk0mF.js} +3 -3
- package/docs/components/README.md +2 -1
- package/docs/components/data-display.md +51 -10
- package/docs/components/data-table-filter-and-lists.md +4 -0
- package/docs/components/date-and-time.md +116 -9
- package/docs/components/feedback-and-status.md +56 -4
- package/docs/components/form-fields.md +15 -5
- package/docs/components/media-and-files.md +119 -5
- package/docs/components/navigation-and-layout.md +2 -1
- package/docs/components/primitives.md +21 -4
- package/docs/components/rich-widgets.md +20 -3
- package/docs/components/selection-and-choice.md +135 -9
- package/docs/guides/forms.md +3 -4
- package/docs/guides/i18n.md +44 -4
- package/docs/previews/date-time-daterangefield.webp +0 -0
- package/docs/previews/media-files-filepreview.webp +0 -0
- package/docs/previews/selection-choice-treeselectfield.webp +0 -0
- package/docs/roadmap.md +43 -37
- package/docs/troubleshooting.md +110 -1
- package/lib/nuxt/component-names.ts +4 -0
- package/package.json +2 -2
|
@@ -325,26 +325,22 @@ export declare function cardsGallery(): {
|
|
|
325
325
|
Sparkles: import('@lucide/vue').LucideIcon;
|
|
326
326
|
Zap: import('@lucide/vue').LucideIcon;
|
|
327
327
|
Avatar: {
|
|
328
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
329
|
-
class?: import('vue').HTMLAttributes["class"];
|
|
330
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
328
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../avatar/Avatar.vue').AvatarProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
331
329
|
P: {};
|
|
332
330
|
B: {};
|
|
333
331
|
D: {};
|
|
334
332
|
C: {};
|
|
335
333
|
M: {};
|
|
336
334
|
Defaults: {};
|
|
337
|
-
}, Readonly<{
|
|
338
|
-
class?: import('vue').HTMLAttributes["class"];
|
|
339
|
-
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
335
|
+
}, Readonly<import('../avatar/Avatar.vue').AvatarProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
340
336
|
__isFragment?: never;
|
|
341
337
|
__isTeleport?: never;
|
|
342
338
|
__isSuspense?: never;
|
|
343
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
344
|
-
class?: import('vue').HTMLAttributes["class"];
|
|
345
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
339
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../avatar/Avatar.vue').AvatarProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
346
340
|
$slots: {
|
|
347
341
|
default?: (props: {}) => any;
|
|
342
|
+
} & {
|
|
343
|
+
default?: (props: {}) => any;
|
|
348
344
|
};
|
|
349
345
|
});
|
|
350
346
|
AvatarFallback: {
|
|
@@ -14,9 +14,11 @@ export type QRCodeProps = {
|
|
|
14
14
|
'aria-label'?: string;
|
|
15
15
|
class?: HTMLAttributes['class'];
|
|
16
16
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
type __VLS_Slots = {
|
|
18
|
+
/** The logo, centred over the code on a white pad (React's `logo`). Use `level="H"`. */
|
|
19
|
+
logo?: () => unknown;
|
|
20
|
+
/** The same as `#logo`, kept for code written before it. */
|
|
21
|
+
default?: () => unknown;
|
|
20
22
|
};
|
|
21
23
|
declare const __VLS_base: import('vue').DefineComponent<QRCodeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QRCodeProps> & Readonly<{}>, {
|
|
22
24
|
size: number;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* `FormScope`, loaded only by a dialog with `formOptions`: the others never
|
|
4
|
+
* reach vee-validate (the reason for its import boundary). A failed load is
|
|
5
|
+
* tried once more; a second failure shows a message in the form's place, and
|
|
6
|
+
* confirm stays disabled.
|
|
7
|
+
*/
|
|
8
|
+
export declare function asyncFormScope(loader?: () => Promise<Component | {
|
|
9
|
+
default: Component;
|
|
10
|
+
}>): import('vue').ComponentOptions<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions> | import('vue').FunctionalComponent<any, {}, any, {}> | {
|
|
11
|
+
new (...args: any[]): any;
|
|
12
|
+
__isFragment?: never;
|
|
13
|
+
__isTeleport?: never;
|
|
14
|
+
__isSuspense?: never;
|
|
15
|
+
};
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { IconButtonProps } from '../../actions/icon-button/icon-button.vue';
|
|
2
|
-
|
|
2
|
+
import { FormScopeSchema, FormScopeSlotProps } from '../../forms/form-scope-schema';
|
|
3
|
+
/**
|
|
4
|
+
* A form inside the confirmation: `schema` (a Zod 4 schema, any Standard
|
|
5
|
+
* Schema, or a vee-validate typed schema) and its `defaultValues`. The
|
|
6
|
+
* `#form` slot renders the fields — `*-form-field` wrappers join the form —
|
|
7
|
+
* and `confirm` carries the schema's output, once the form is valid.
|
|
8
|
+
*/
|
|
9
|
+
export type ConfirmationDialogFormOptions<TInput extends Record<string, any> = Record<string, any>, TOutput extends Record<string, any> = TInput> = {
|
|
10
|
+
schema: FormScopeSchema<TInput, TOutput>;
|
|
11
|
+
defaultValues?: Partial<TInput>;
|
|
12
|
+
};
|
|
13
|
+
export type ConfirmationDialogProps<TInput extends Record<string, any> = Record<string, any>, TOutput extends Record<string, any> = TInput> = {
|
|
3
14
|
open?: boolean;
|
|
4
15
|
title?: string;
|
|
5
16
|
description?: string;
|
|
@@ -7,30 +18,32 @@ export type ConfirmationDialogProps = {
|
|
|
7
18
|
confirmText?: string;
|
|
8
19
|
variant?: IconButtonProps['variant'];
|
|
9
20
|
color?: IconButtonProps['color'];
|
|
21
|
+
formOptions?: ConfirmationDialogFormOptions<TInput, TOutput>;
|
|
10
22
|
};
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
23
|
+
declare const __VLS_export: <TInput extends Record<string, any> = Record<string, any>, TOutput extends Record<string, any> = TInput>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
24
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<ConfirmationDialogProps<TInput, TOutput> & {
|
|
25
|
+
onConfirm?: ((values?: TOutput | undefined) => any) | undefined;
|
|
26
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
27
|
+
}> & (typeof globalThis extends {
|
|
28
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
29
|
+
} ? P : {});
|
|
30
|
+
expose: (exposed: {}) => void;
|
|
31
|
+
attrs: any;
|
|
32
|
+
slots: {
|
|
33
|
+
default?: () => unknown;
|
|
34
|
+
trigger?: () => unknown;
|
|
35
|
+
icon?: () => unknown;
|
|
36
|
+
/** The fields of `formOptions`' form (React's `renderForm`). */
|
|
37
|
+
form?: (props: FormScopeSlotProps<TInput>) => unknown;
|
|
38
|
+
};
|
|
39
|
+
emit: ((evt: "confirm", values?: TOutput | undefined) => void) & ((evt: "update:open", open: boolean) => void);
|
|
40
|
+
}>) => import('vue').VNode & {
|
|
41
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
18
42
|
};
|
|
19
|
-
declare const __VLS_base: import('vue').DefineComponent<ConfirmationDialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
-
confirm: () => any;
|
|
21
|
-
"update:open": (open: boolean) => any;
|
|
22
|
-
}, string, import('vue').PublicProps, Readonly<ConfirmationDialogProps> & Readonly<{
|
|
23
|
-
onConfirm?: (() => any) | undefined;
|
|
24
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
25
|
-
}>, {
|
|
26
|
-
variant: "link" | "filled" | "tonal" | "outlined" | "ghost" | null;
|
|
27
|
-
color: "default" | "error" | "success" | "primary" | "secondary" | "info" | "warning" | null;
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
43
|
declare const _default: typeof __VLS_export;
|
|
31
44
|
export default _default;
|
|
32
|
-
type
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
45
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} : {
|
|
48
|
+
[K in keyof T as K]: T[K];
|
|
49
|
+
}) & {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { ConfirmationDialogProps } from './confirmation-dialog.vue';
|
|
1
|
+
export type { ConfirmationDialogFormOptions, ConfirmationDialogProps, } from './confirmation-dialog.vue';
|
|
2
2
|
export { default as ConfirmationDialog } from './confirmation-dialog.vue';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -42,25 +42,27 @@ export declare function attributeTypeLabel(type: string): {
|
|
|
42
42
|
key: MaterialLocaleKey;
|
|
43
43
|
fallback: string;
|
|
44
44
|
};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
45
|
+
/**
|
|
46
|
+
* The attribute schema as vee-validate's typed schema, through the same
|
|
47
|
+
* adapter as `ConfirmationDialog`'s form: nested paths as `options[0]`, and
|
|
48
|
+
* every message for a field under one path.
|
|
49
|
+
*/
|
|
50
|
+
export declare function toAttributeFormSchema(): import('vee-validate').TypedSchema<{
|
|
51
|
+
label: string;
|
|
52
|
+
name: string;
|
|
53
|
+
type: "COLOR" | "DATE" | "DATETIME" | "MULTI_SELECT" | "NUMBER" | "RICH_TEXT" | "SELECT" | "STRING" | "TEXT" | "TIME";
|
|
54
|
+
defaultValue?: any;
|
|
55
|
+
description?: string | null | undefined;
|
|
56
|
+
priority?: unknown;
|
|
57
|
+
options?: string[] | null | undefined;
|
|
58
|
+
unit?: string | null | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
label: string;
|
|
61
|
+
name: string;
|
|
62
|
+
type: "COLOR" | "DATE" | "DATETIME" | "MULTI_SELECT" | "NUMBER" | "RICH_TEXT" | "SELECT" | "STRING" | "TEXT" | "TIME";
|
|
63
|
+
defaultValue?: any;
|
|
64
|
+
description?: string | null | undefined;
|
|
65
|
+
priority?: number | null | undefined;
|
|
66
|
+
options?: string[] | null | undefined;
|
|
67
|
+
unit?: string | null | undefined;
|
|
68
|
+
}>;
|
|
@@ -5,4 +5,4 @@ export declare const EMPTY_CONTACT: Contact;
|
|
|
5
5
|
export declare const CONTACT_TYPE_ICONS: Record<ContactType, IconName>;
|
|
6
6
|
export declare const CONTACT_VALUE_PLACEHOLDERS: Record<string, readonly [MaterialLocaleKey, string]>;
|
|
7
7
|
export declare const DEFAULT_CONTACT_VALUE_PLACEHOLDER: readonly ["material.contacts.placeholders.value", "Enter contact value"];
|
|
8
|
-
export declare function contactValuePlaceholder(type: ContactType | string | null): readonly ["material.scroll-progress" | "material.skip-link" | "material.see-also" | "material.code.language" | "material.code.copy" | "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.previous" | "material.pagination.next" | "material.table.loading" | "material.table.pagination.previous" | "material.table.pagination.next" | "material.table.pagination.go-to-next-page" | "material.table.pagination.go-to-previous-page" | "material.table.pagination.go-to-first-page" | "material.table.pagination.go-to-last-page" | "material.table.pagination.rows-per-page" | "material.table.pagination.rows-selected" | "material.table.pagination.page-of" | "material.table.labels.desc" | "material.table.labels.view" | "material.table.labels.asc" | "material.table.labels.hide" | "material.table.labels.actions" | "material.table.labels.delete-selected-rows" | "material.table.labels.toggle-columns" | "material.table.labels.no-data" | "material.table.labels.select-all" | "material.table.labels.select-row" | "material.table.labels.toggle-row" | "material.table.delete-confirm.title" | "material.table.delete-confirm.description" | "material.table.delete-confirm.confirm" | "material.table.delete-confirm.cancel" | "material.filter.title" | "material.filter.max" | "material.filter.min" | "material.filter.trigger" | "material.filter.active-count" | "material.filter.apply" | "material.filter.reset" | "material.filter.clear-all" | "material.filter.empty" | "material.filter.more" | "material.filter.value.from" | "material.filter.value.yes" | "material.filter.value.no" | "material.filter.value.until" | "material.filter.value.up-to" | "material.filter.presets.description" | "material.filter.presets.name" | "material.filter.presets.cancel" | "material.filter.presets.load" | "material.filter.presets.saved" | "material.filter.presets.manage" | "material.filter.presets.set-default" | "material.filter.presets.unset-default" | "material.filter.presets.delete" | "material.filter.presets.create" | "material.filter.presets.limit" | "material.filter.presets.dialog-title" | "material.filter.presets.dialog-description" | "material.filter.presets.name-placeholder" | "material.filter.presets.usage" | "material.filter.presets.description-placeholder" | "material.filter.presets.submit" | "material.emoji.search" | "material.emoji.empty" | "material.emoji.picker" | "material.emoji.pick" | "material.carousel.slide" | "material.carousel.previous" | "material.carousel.next" | "material.carousel.roledescription" | "material.pagination.label" | "material.pagination.more" | "material.pagination.page" | "material.pagination.first" | "material.pagination.last" | "material.breadcrumb.label" | "material.breadcrumb.more" | "material.empty-state.search.title" | "material.empty-state.search.description" | "material.empty-state.empty.title" | "material.empty-state.empty.description" | "material.empty-state.not-found.title" | "material.empty-state.not-found.description" | "material.empty-state.unauthorized.title" | "material.empty-state.unauthorized.description" | "material.empty-state.generic.title" | "material.empty-state.generic.description" | "material.empty-state.offline.title" | "material.empty-state.offline.description" | "material.empty-state.maintenance.title" | "material.empty-state.maintenance.description" | "material.command.title" | "material.command.description" | "material.confirm-dialog.confirm" | "material.confirm-dialog.cancel" | "material.confirm-dialog.processing" | "material.confirm-dialog.failed" | "material.location-field.confirm" | "material.location-field.dialog-title" | "material.location-field.placeholder" | "material.mentions.empty" | "material.cards.vs" | "material.cards.per-month" | "material.cards.total" | "material.cards.rating" | "material.cards.unread" | "material.metrics.of-target" | "material.metrics.of-limit" | "material.metrics.this-period" | "material.metrics.last-period" | "material.metrics.weekdays" | "material.pager.previous" | "material.pager.next" | "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.en" | "material.language.fr" | "material.buttons.delete" | "material.buttons.load-more" | "material.buttons.ok" | "material.buttons.add" | "material.buttons.save" | "material.buttons.close" | "material.json-viewer.items" | "material.json-viewer.empty" | "material.json-viewer.expand" | "material.json-viewer.collapse" | "material.json-viewer.invalid" | "material.chat.copy" | "material.chat.empty" | "material.chat.placeholder" | "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.send" | "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.zoom-in" | "material.gallery.zoom-out" | "material.gallery.previous" | "material.gallery.next" | "material.gallery.empty" | "material.gallery.more" | "material.gallery.delete" | "material.gallery.close" | "material.gallery.empty-description" | "material.gallery.of" | "material.gallery.open" | "material.gallery.repeat-off" | "material.gallery.play" | "material.gallery.download" | "material.gallery.selected" | "material.gallery.clear-selection" | "material.notifications.label" | "material.notifications.search" | "material.notifications.empty" | "material.notifications.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" | "material.notifications.dismiss-item" | "material.education.progress" | "material.education.previous" | "material.education.next" | "material.education.empty" | "material.education.submit" | "material.education.retry" | "material.education.true" | "material.education.false" | "material.education.answer-placeholder" | "material.education.expected" | "material.education.answered" | "material.education.score" | "material.education.results" | "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.loading" | "material.stx-player.previous" | "material.stx-player.next" | "material.stx-player.retry" | "material.stx-player.empty-description" | "material.stx-player.repeat-off" | "material.stx-player.play" | "material.stx-player.pause" | "material.stx-player.mute" | "material.stx-player.unmute" | "material.stx-player.volume" | "material.stx-player.fullscreen" | "material.stx-player.exit-fullscreen" | "material.stx-player.pip" | "material.stx-player.exit-pip" | "material.stx-player.captions" | "material.stx-player.captions-off" | "material.stx-player.playback-rate" | "material.stx-player.queue" | "material.stx-player.now-playing" | "material.stx-player.buffering" | "material.stx-player.error" | "material.stx-player.empty-title" | "material.stx-player.normal" | "material.camera.stop" | "material.camera.capture" | "material.camera.captured" | "material.camera.start" | "material.attributes.buttons.add" | "material.attributes.buttons.save" | "material.attributes.form.label.label" | "material.attributes.form.label.placeholder" | "material.attributes.form.description.label" | "material.attributes.form.description.placeholder" | "material.attributes.form.name.label" | "material.attributes.form.name.placeholder" | "material.attributes.form.type.label" | "material.attributes.form.type.placeholder" | "material.attributes.form.default-value.label" | "material.attributes.form.default-value.placeholder" | "material.attributes.form.priority.label" | "material.attributes.form.priority.placeholder" | "material.attributes.form.options.label" | "material.attributes.form.options.placeholder" | "material.attributes.form.unit.label" | "material.attributes.form.unit.placeholder" | "material.attributes.buttons.details" | "material.attributes.buttons.cancel" | "material.attributes.buttons.remove" | "material.attributes.buttons.edit" | "material.attributes.buttons.add-option" | "material.attributes.labels.attributes" | "material.attributes.labels.new-attribute" | "material.attributes.messages.dialog" | "material.attributes.messages.empty" | "material.attributes.messages.create-succeeded" | "material.attributes.messages.update-succeeded" | "material.attributes.messages.delete-succeeded" | "material.attributes.messages.add-first" | "material.attributes.types.string" | "material.attributes.types.number" | "material.attributes.types.boolean" | "material.attributes.types.select" | "material.attributes.types.time" | "material.attributes.types.text" | "material.attributes.types.color" | "material.attributes.types.date" | "material.attributes.types.datetime" | "material.attributes.types.multi-select" | "material.attributes.types.rich-text" | "material.attributes.fields.label" | "material.attributes.fields.description" | "material.attributes.fields.name" | "material.attributes.fields.type" | "material.attributes.fields.default-value" | "material.attributes.fields.priority" | "material.attributes.fields.options" | "material.attributes.fields.unit" | "material.contacts.buttons.add" | "material.contacts.buttons.save" | "material.contacts.buttons.cancel" | "material.contacts.buttons.remove" | "material.contacts.buttons.edit" | "material.contacts.messages.dialog" | "material.contacts.messages.add-first" | "material.contacts.fields.label" | "material.contacts.fields.type" | "material.contacts.labels.contacts" | "material.contacts.messages.no-contacts" | "material.contacts.types.phone" | "material.contacts.types.email" | "material.contacts.types.fax" | "material.contacts.types.mobile" | "material.contacts.types.website" | "material.contacts.fields.value" | "material.contacts.placeholders.label" | "material.contacts.placeholders.type" | "material.contacts.placeholders.value" | "material.contacts.placeholders.phone" | "material.contacts.placeholders.email" | "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.street" | "material.postal-address.fields.locality" | "material.postal-address.fields.region" | "material.postal-address.fields.postalCode" | "material.postal-address.fields.country" | "material.postal-address.placeholders.street" | "material.postal-address.placeholders.locality" | "material.postal-address.placeholders.region" | "material.postal-address.placeholders.postalCode" | "material.postal-address.placeholders.country" | "material.toast.buttons.close" | "material.toast.operations.loading.title" | "material.toast.operations.error.title" | "material.toast.operations.success.title" | "material.zod.default" | "material.zod.required" | "material.zod.invalid_value_single" | "material.zod.invalid_value_multiple" | "material.zod.too_big_inclusive" | "material.zod.too_big_exclusive" | "material.zod.too_big_no_unit_inclusive" | "material.zod.too_big_no_unit_exclusive" | "material.zod.too_small_inclusive" | "material.zod.too_small_exclusive" | "material.zod.too_small_no_unit_inclusive" | "material.zod.too_small_no_unit_exclusive" | "material.zod.not_multiple_of" | "material.zod.unrecognized_keys_single" | "material.zod.unrecognized_keys_multiple" | "material.zod.invalid_key" | "material.zod.invalid_union" | "material.zod.invalid_element" | "material.zod.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.default" | "material.zod.invalid_type.date" | "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.emoji" | "material.zod.nouns.nanoid" | "material.zod.nouns.cuid" | "material.zod.nouns.cuid2" | "material.zod.nouns.date" | "material.zod.nouns.duration" | "material.zod.nouns.datetime" | "material.zod.nouns.email" | "material.zod.nouns.regex" | "material.zod.nouns.url" | "material.zod.nouns.uuid" | "material.zod.nouns.uuidv4" | "material.zod.nouns.uuidv6" | "material.zod.nouns.guid" | "material.zod.nouns.ulid" | "material.zod.nouns.xid" | "material.zod.nouns.ksuid" | "material.zod.nouns.ipv4" | "material.zod.nouns.ipv6" | "material.zod.nouns.mac" | "material.zod.nouns.cidrv4" | "material.zod.nouns.cidrv6" | "material.zod.nouns.base64" | "material.zod.nouns.base64url" | "material.zod.nouns.json_string" | "material.zod.nouns.e164" | "material.zod.nouns.jwt" | "material.zod.nouns.template_literal" | "material.zod.sizing.string.unit" | "material.zod.sizing.string.verb" | "material.zod.sizing.set.unit" | "material.zod.sizing.set.verb" | "material.zod.sizing.array.unit" | "material.zod.sizing.array.verb" | "material.zod.sizing.file.unit" | "material.zod.sizing.file.verb" | "material.pdf-reader.label" | "material.pdf-reader.search" | "material.pdf-reader.rotate" | "material.pdf-reader.sidebar" | "material.pdf-reader.print" | "material.pdf-reader.zoom-in" | "material.pdf-reader.zoom-out" | "material.pdf-reader.loading" | "material.pdf-reader.empty" | "material.pdf-reader.download" | "material.pdf-reader.fullscreen" | "material.pdf-reader.exit-fullscreen" | "material.pdf-reader.error" | "material.pdf-reader.password" | "material.pdf-reader.password-placeholder" | "material.pdf-reader.password-label" | "material.pdf-reader.unlock" | "material.pdf-reader.password-incorrect" | "material.pdf-reader.pages" | "material.pdf-reader.outline" | "material.pdf-reader.outline-empty" | "material.pdf-reader.fit-width" | "material.pdf-reader.fit-page" | "material.pdf-reader.fit-width-full" | "material.pdf-reader.fit-page-full" | "material.pdf-reader.sidebar-toggle" | "material.pdf-reader.previous-page" | "material.pdf-reader.next-page" | "material.pdf-reader.current-page" | "material.pdf-reader.search-shortcut" | "material.pdf-reader.search-next" | "material.pdf-reader.search-prev" | "material.pdf-reader.night" | "material.pdf-reader.day" | "material.pdf-reader.thumbnails" | "material.pdf-reader.go-to-page" | "material.pdf-reader.default-file-name" | "material.pdf-reader.zoom-menu" | "material.pdf-reader.untitled" | "material.tree.label" | "material.tree.expand" | "material.tree.collapse" | "material.image-cropper.title" | "material.image-cropper.cancel" | "material.image-cropper.apply" | "material.image-cropper.error" | "material.image-cropper.zoom" | "material.image-cropper.rotate-left" | "material.image-cropper.rotate-right" | "material.image-cropper.free" | "material.timeline.label" | "material.timeline.empty" | "material.copy.copy" | "material.copy.copied" | "material.qrcode.label" | "material.barecode.label" | "material.banner.dismiss" | "material.avatar-group.more" | "material.search-field.placeholder" | "material.search-field.clear" | "material.password-field.strong" | "material.password-field.hide" | "material.password-field.show" | "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.placeholder" | "material.inline-edit.save" | "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.combobox-field.empty" | "material.combobox-field.placeholder" | "material.autocomplete.empty" | "material.autocomplete.add" | "material.avatar.active" | "material.avatar.offline" | "material.avatar.online" | "material.avatar.away" | "material.avatar.busy" | "material.country-field.placeholder" | "material.duration-field.hours" | "material.duration-field.minutes" | "material.duration-field.hours-label" | "material.duration-field.minutes-label" | "material.count-badge.label" | "material.timezone-field.placeholder" | "material.app-shell.home" | "material.app-shell.open-menu" | "material.transfer-list.search" | "material.transfer-list.max" | "material.transfer-list.select-all" | "material.transfer-list.selected" | "material.transfer-list.count" | "material.transfer-list.available" | "material.transfer-list.move-to-selected" | "material.transfer-list.move-all-to-selected" | "material.transfer-list.move-to-available" | "material.transfer-list.move-all-to-available" | "material.transfer-list.move-up" | "material.transfer-list.move-down" | "material.transfer-list.empty-available" | "material.transfer-list.empty-selected" | "material.transfer-list.empty-filter" | "material.transfer-list.locked" | "material.transfer-list.drag" | "material.sortable-list.search" | "material.sortable-list.empty" | "material.sortable-list.move-up" | "material.sortable-list.move-down" | "material.sortable-list.empty-filter" | "material.sortable-list.drag" | "material.event-calendar.title" | "material.event-calendar.search" | "material.event-calendar.description" | "material.event-calendar.color" | "material.event-calendar.delete-confirm" | "material.event-calendar.previous" | "material.event-calendar.next" | "material.event-calendar.empty" | "material.event-calendar.more" | "material.event-calendar.delete" | "material.event-calendar.add" | "material.event-calendar.day" | "material.event-calendar.drag" | "material.event-calendar.today" | "material.event-calendar.month" | "material.event-calendar.week" | "material.event-calendar.workweek" | "material.event-calendar.agenda" | "material.event-calendar.all-day" | "material.event-calendar.events" | "material.event-calendar.resize" | "material.event-calendar.new-event" | "material.event-calendar.new-all-day" | "material.event-calendar.pick-date" | "material.event-calendar.no-results" | "material.dnd.drag" | "material.rich-text-editor.blockquote" | "material.rich-text-editor.caption" | "material.rich-text-editor.header" | "material.rich-text-editor.label" | "material.rich-text-editor.link" | "material.rich-text-editor.table" | "material.rich-text-editor.title" | "material.rich-text-editor.description" | "material.rich-text-editor.bold" | "material.rich-text-editor.icon" | "material.rich-text-editor.type" | "material.rich-text-editor.font-family" | "material.rich-text-editor.orientation" | "material.rich-text-editor.emoji" | "material.rich-text-editor.characters" | "material.rich-text-editor.words" | "material.rich-text-editor.gallery" | "material.rich-text-editor.cancel" | "material.rich-text-editor.apply" | "material.rich-text-editor.placeholder" | "material.rich-text-editor.remove" | "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" | "material.rich-text-editor.heading-n" | "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.content" | "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.size" | "material.rich-text-editor.link-optional" | "material.rich-text-editor.edit-gallery" | "material.rich-text-editor.edit-gallery-description" | "material.rich-text-editor.images" | "material.rich-text-editor.add-image" | "material.rich-text-editor.add-images" | "material.rich-text-editor.alt-text" | "material.rich-text-editor.no-images" | "material.rich-text-editor.select-chips" | "material.rich-text-editor.select-cards" | "material.rich-text-editor.edit-selector" | "material.rich-text-editor.edit-selector-description" | "material.rich-text-editor.selector-settings" | "material.rich-text-editor.selector-settings-description" | "material.rich-text-editor.optional-heading" | "material.rich-text-editor.selection" | "material.rich-text-editor.add-options" | "material.rich-text-editor.edit-option" | "material.rich-text-editor.edit-option-description" | "material.rich-text-editor.remove-option" | "material.rich-text-editor.checkbox-group" | "material.rich-text-editor.edit-checkbox-group" | "material.rich-text-editor.edit-checkbox-group-description" | "material.rich-text-editor.radio-group" | "material.rich-text-editor.edit-radio-group" | "material.rich-text-editor.edit-radio-group-description" | "material.rich-text-editor.font-default" | "material.rich-text-editor.font-sans" | "material.rich-text-editor.font-serif" | "material.rich-text-editor.font-mono" | "material.rich-text-editor.table-align-left" | "material.rich-text-editor.table-align-center" | "material.rich-text-editor.table-align-right" | "material.rich-text-editor.insert-emoji" | "material.rich-text-editor.slash-menu.items.blockquote.title" | "material.rich-text-editor.slash-menu.items.blockquote.description" | "material.rich-text-editor.slash-menu.items.table.title" | "material.rich-text-editor.slash-menu.items.table.description" | "material.rich-text-editor.slash-menu.items.gallery.title" | "material.rich-text-editor.slash-menu.items.gallery.description" | "material.rich-text-editor.slash-menu.items.code-block.title" | "material.rich-text-editor.slash-menu.items.code-block.description" | "material.rich-text-editor.slash-menu.items.bullet-list.title" | "material.rich-text-editor.slash-menu.items.bullet-list.description" | "material.rich-text-editor.slash-menu.items.ordered-list.title" | "material.rich-text-editor.slash-menu.items.ordered-list.description" | "material.rich-text-editor.slash-menu.items.task-list.title" | "material.rich-text-editor.slash-menu.items.task-list.description" | "material.rich-text-editor.slash-menu.items.horizontal-rule.title" | "material.rich-text-editor.slash-menu.items.horizontal-rule.description" | "material.rich-text-editor.slash-menu.items.accordion.title" | "material.rich-text-editor.slash-menu.items.accordion.description" | "material.rich-text-editor.slash-menu.items.action-card.title" | "material.rich-text-editor.slash-menu.items.action-card.description" | "material.rich-text-editor.slash-menu.items.checkbox-group.title" | "material.rich-text-editor.slash-menu.items.checkbox-group.description" | "material.rich-text-editor.slash-menu.items.radio-group.title" | "material.rich-text-editor.slash-menu.items.radio-group.description" | "material.rich-text-editor.slash-menu.items.paragraph.title" | "material.rich-text-editor.slash-menu.items.paragraph.description" | "material.rich-text-editor.slash-menu.items.heading-1.title" | "material.rich-text-editor.slash-menu.items.heading-1.description" | "material.rich-text-editor.slash-menu.items.heading-2.title" | "material.rich-text-editor.slash-menu.items.heading-2.description" | "material.rich-text-editor.slash-menu.items.heading-3.title" | "material.rich-text-editor.slash-menu.items.heading-3.description" | "material.rich-text-editor.slash-menu.items.callout.title" | "material.rich-text-editor.slash-menu.items.callout.description" | "material.rich-text-editor.slash-menu.items.select-chip.title" | "material.rich-text-editor.slash-menu.items.select-chip.description" | "material.rich-text-editor.slash-menu.items.select-card.title" | "material.rich-text-editor.slash-menu.items.select-card.description" | "material.rich-text-editor.slash-menu.groups.basic" | "material.rich-text-editor.slash-menu.groups.insert" | "material.kanban.search" | "material.kanban.card-title" | "material.kanban.empty" | "material.kanban.drag" | "material.kanban.no-results" | "material.kanban.add-card" | "material.kanban.wip" | "material.kanban.drag-column" | "material.kanban.ungrouped" | "material.kanban.collapse-group" | "material.kanban.expand-group" | "material.kanban.collapse-column" | "material.kanban.expand-column" | "material.kanban.new-card" | "material.kanban.subtitle" | "material.kanban.wip-full" | "material.doc.menu" | "material.doc.filter" | "material.doc.search" | "material.doc.breadcrumb" | "material.doc.see-also" | "material.doc.previous" | "material.doc.next" | "material.doc.on-this-page" | "material.doc.expand" | "material.doc.collapse" | "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.param-table.description" | "material.param-table.default" | "material.param-table.name" | "material.param-table.type" | "material.param-table.required" | "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.slider.minimum" | "material.slider.maximum" | "material.scroll-to-top.label" | "material.sidebar.toggle" | "material.print.page-of" | "material.print.page" | "material.print.table.empty" | "material.print.table.total" | "material.circular-progress.label" | "material.pane-layout.sheet-title" | "material.time-picker.am" | "material.time-picker.pm", string];
|
|
8
|
+
export declare function contactValuePlaceholder(type: ContactType | string | null): readonly ["material.scroll-progress" | "material.skip-link" | "material.see-also" | "material.code.language" | "material.code.copy" | "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.previous" | "material.pagination.next" | "material.table.loading" | "material.table.pagination.previous" | "material.table.pagination.next" | "material.table.pagination.go-to-next-page" | "material.table.pagination.go-to-previous-page" | "material.table.pagination.go-to-first-page" | "material.table.pagination.go-to-last-page" | "material.table.pagination.rows-per-page" | "material.table.pagination.rows-selected" | "material.table.pagination.page-of" | "material.table.labels.desc" | "material.table.labels.view" | "material.table.labels.asc" | "material.table.labels.hide" | "material.table.labels.actions" | "material.table.labels.delete-selected-rows" | "material.table.labels.toggle-columns" | "material.table.labels.no-data" | "material.table.labels.select-all" | "material.table.labels.select-row" | "material.table.labels.toggle-row" | "material.table.delete-confirm.title" | "material.table.delete-confirm.description" | "material.table.delete-confirm.confirm" | "material.table.delete-confirm.cancel" | "material.filter.title" | "material.filter.max" | "material.filter.min" | "material.filter.trigger" | "material.filter.active-count" | "material.filter.apply" | "material.filter.reset" | "material.filter.clear-all" | "material.filter.empty" | "material.filter.more" | "material.filter.value.from" | "material.filter.value.yes" | "material.filter.value.no" | "material.filter.value.until" | "material.filter.value.up-to" | "material.filter.presets.description" | "material.filter.presets.name" | "material.filter.presets.cancel" | "material.filter.presets.load" | "material.filter.presets.saved" | "material.filter.presets.manage" | "material.filter.presets.set-default" | "material.filter.presets.unset-default" | "material.filter.presets.delete" | "material.filter.presets.create" | "material.filter.presets.limit" | "material.filter.presets.dialog-title" | "material.filter.presets.dialog-description" | "material.filter.presets.name-placeholder" | "material.filter.presets.usage" | "material.filter.presets.description-placeholder" | "material.filter.presets.submit" | "material.emoji.search" | "material.emoji.empty" | "material.emoji.picker" | "material.emoji.pick" | "material.carousel.slide" | "material.carousel.previous" | "material.carousel.next" | "material.carousel.roledescription" | "material.pagination.label" | "material.pagination.more" | "material.pagination.page" | "material.pagination.first" | "material.pagination.last" | "material.breadcrumb.label" | "material.breadcrumb.more" | "material.empty-state.search.title" | "material.empty-state.search.description" | "material.empty-state.empty.title" | "material.empty-state.empty.description" | "material.empty-state.not-found.title" | "material.empty-state.not-found.description" | "material.empty-state.unauthorized.title" | "material.empty-state.unauthorized.description" | "material.empty-state.generic.title" | "material.empty-state.generic.description" | "material.empty-state.offline.title" | "material.empty-state.offline.description" | "material.empty-state.maintenance.title" | "material.empty-state.maintenance.description" | "material.command.title" | "material.command.description" | "material.confirm-dialog.confirm" | "material.confirm-dialog.cancel" | "material.confirm-dialog.processing" | "material.confirm-dialog.failed" | "material.confirm-dialog.form-failed" | "material.location-field.confirm" | "material.location-field.dialog-title" | "material.location-field.placeholder" | "material.mentions.empty" | "material.cards.vs" | "material.cards.per-month" | "material.cards.total" | "material.cards.rating" | "material.cards.unread" | "material.metrics.of-target" | "material.metrics.of-limit" | "material.metrics.this-period" | "material.metrics.last-period" | "material.metrics.weekdays" | "material.pager.previous" | "material.pager.next" | "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.en" | "material.language.fr" | "material.buttons.delete" | "material.buttons.load-more" | "material.buttons.ok" | "material.buttons.add" | "material.buttons.save" | "material.buttons.close" | "material.json-viewer.items" | "material.json-viewer.empty" | "material.json-viewer.expand" | "material.json-viewer.collapse" | "material.json-viewer.invalid" | "material.chat.copy" | "material.chat.empty" | "material.chat.placeholder" | "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.send" | "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.zoom-in" | "material.gallery.zoom-out" | "material.gallery.previous" | "material.gallery.next" | "material.gallery.empty" | "material.gallery.more" | "material.gallery.delete" | "material.gallery.close" | "material.gallery.empty-description" | "material.gallery.of" | "material.gallery.open" | "material.gallery.repeat-off" | "material.gallery.play" | "material.gallery.download" | "material.gallery.selected" | "material.gallery.clear-selection" | "material.notifications.label" | "material.notifications.search" | "material.notifications.empty" | "material.notifications.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" | "material.notifications.dismiss-item" | "material.education.progress" | "material.education.previous" | "material.education.next" | "material.education.empty" | "material.education.submit" | "material.education.retry" | "material.education.true" | "material.education.false" | "material.education.answer-placeholder" | "material.education.expected" | "material.education.answered" | "material.education.score" | "material.education.results" | "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.loading" | "material.stx-player.previous" | "material.stx-player.next" | "material.stx-player.retry" | "material.stx-player.empty-description" | "material.stx-player.repeat-off" | "material.stx-player.play" | "material.stx-player.pause" | "material.stx-player.mute" | "material.stx-player.unmute" | "material.stx-player.volume" | "material.stx-player.fullscreen" | "material.stx-player.exit-fullscreen" | "material.stx-player.pip" | "material.stx-player.exit-pip" | "material.stx-player.captions" | "material.stx-player.captions-off" | "material.stx-player.playback-rate" | "material.stx-player.queue" | "material.stx-player.now-playing" | "material.stx-player.buffering" | "material.stx-player.error" | "material.stx-player.empty-title" | "material.stx-player.normal" | "material.camera.stop" | "material.camera.capture" | "material.camera.captured" | "material.camera.start" | "material.attributes.buttons.add" | "material.attributes.buttons.save" | "material.attributes.form.label.label" | "material.attributes.form.label.placeholder" | "material.attributes.form.description.label" | "material.attributes.form.description.placeholder" | "material.attributes.form.name.label" | "material.attributes.form.name.placeholder" | "material.attributes.form.type.label" | "material.attributes.form.type.placeholder" | "material.attributes.form.default-value.label" | "material.attributes.form.default-value.placeholder" | "material.attributes.form.priority.label" | "material.attributes.form.priority.placeholder" | "material.attributes.form.options.label" | "material.attributes.form.options.placeholder" | "material.attributes.form.unit.label" | "material.attributes.form.unit.placeholder" | "material.attributes.buttons.details" | "material.attributes.buttons.cancel" | "material.attributes.buttons.remove" | "material.attributes.buttons.edit" | "material.attributes.buttons.add-option" | "material.attributes.labels.attributes" | "material.attributes.labels.new-attribute" | "material.attributes.messages.dialog" | "material.attributes.messages.empty" | "material.attributes.messages.create-succeeded" | "material.attributes.messages.update-succeeded" | "material.attributes.messages.delete-succeeded" | "material.attributes.messages.add-first" | "material.attributes.types.string" | "material.attributes.types.number" | "material.attributes.types.boolean" | "material.attributes.types.select" | "material.attributes.types.time" | "material.attributes.types.text" | "material.attributes.types.color" | "material.attributes.types.date" | "material.attributes.types.datetime" | "material.attributes.types.multi-select" | "material.attributes.types.rich-text" | "material.attributes.fields.label" | "material.attributes.fields.description" | "material.attributes.fields.name" | "material.attributes.fields.type" | "material.attributes.fields.default-value" | "material.attributes.fields.priority" | "material.attributes.fields.options" | "material.attributes.fields.unit" | "material.contacts.buttons.add" | "material.contacts.buttons.save" | "material.contacts.buttons.cancel" | "material.contacts.buttons.remove" | "material.contacts.buttons.edit" | "material.contacts.messages.dialog" | "material.contacts.messages.add-first" | "material.contacts.fields.label" | "material.contacts.fields.type" | "material.contacts.labels.contacts" | "material.contacts.messages.no-contacts" | "material.contacts.types.phone" | "material.contacts.types.email" | "material.contacts.types.fax" | "material.contacts.types.mobile" | "material.contacts.types.website" | "material.contacts.fields.value" | "material.contacts.placeholders.label" | "material.contacts.placeholders.type" | "material.contacts.placeholders.value" | "material.contacts.placeholders.phone" | "material.contacts.placeholders.email" | "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.street" | "material.postal-address.fields.locality" | "material.postal-address.fields.region" | "material.postal-address.fields.postalCode" | "material.postal-address.fields.country" | "material.postal-address.placeholders.street" | "material.postal-address.placeholders.locality" | "material.postal-address.placeholders.region" | "material.postal-address.placeholders.postalCode" | "material.postal-address.placeholders.country" | "material.toast.buttons.close" | "material.toast.operations.loading.title" | "material.toast.operations.error.title" | "material.toast.operations.success.title" | "material.zod.default" | "material.zod.required" | "material.zod.invalid_value_single" | "material.zod.invalid_value_multiple" | "material.zod.too_big_inclusive" | "material.zod.too_big_exclusive" | "material.zod.too_big_no_unit_inclusive" | "material.zod.too_big_no_unit_exclusive" | "material.zod.too_small_inclusive" | "material.zod.too_small_exclusive" | "material.zod.too_small_no_unit_inclusive" | "material.zod.too_small_no_unit_exclusive" | "material.zod.not_multiple_of" | "material.zod.unrecognized_keys_single" | "material.zod.unrecognized_keys_multiple" | "material.zod.invalid_key" | "material.zod.invalid_union" | "material.zod.invalid_element" | "material.zod.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.default" | "material.zod.invalid_type.date" | "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.emoji" | "material.zod.nouns.nanoid" | "material.zod.nouns.cuid" | "material.zod.nouns.cuid2" | "material.zod.nouns.date" | "material.zod.nouns.duration" | "material.zod.nouns.datetime" | "material.zod.nouns.email" | "material.zod.nouns.regex" | "material.zod.nouns.url" | "material.zod.nouns.uuid" | "material.zod.nouns.uuidv4" | "material.zod.nouns.uuidv6" | "material.zod.nouns.guid" | "material.zod.nouns.ulid" | "material.zod.nouns.xid" | "material.zod.nouns.ksuid" | "material.zod.nouns.ipv4" | "material.zod.nouns.ipv6" | "material.zod.nouns.mac" | "material.zod.nouns.cidrv4" | "material.zod.nouns.cidrv6" | "material.zod.nouns.base64" | "material.zod.nouns.base64url" | "material.zod.nouns.json_string" | "material.zod.nouns.e164" | "material.zod.nouns.jwt" | "material.zod.nouns.template_literal" | "material.zod.sizing.string.unit" | "material.zod.sizing.string.verb" | "material.zod.sizing.set.unit" | "material.zod.sizing.set.verb" | "material.zod.sizing.array.unit" | "material.zod.sizing.array.verb" | "material.zod.sizing.file.unit" | "material.zod.sizing.file.verb" | "material.pdf-reader.label" | "material.pdf-reader.search" | "material.pdf-reader.rotate" | "material.pdf-reader.sidebar" | "material.pdf-reader.print" | "material.pdf-reader.zoom-in" | "material.pdf-reader.zoom-out" | "material.pdf-reader.loading" | "material.pdf-reader.empty" | "material.pdf-reader.download" | "material.pdf-reader.fullscreen" | "material.pdf-reader.exit-fullscreen" | "material.pdf-reader.error" | "material.pdf-reader.password" | "material.pdf-reader.password-placeholder" | "material.pdf-reader.password-label" | "material.pdf-reader.unlock" | "material.pdf-reader.password-incorrect" | "material.pdf-reader.pages" | "material.pdf-reader.outline" | "material.pdf-reader.outline-empty" | "material.pdf-reader.fit-width" | "material.pdf-reader.fit-page" | "material.pdf-reader.fit-width-full" | "material.pdf-reader.fit-page-full" | "material.pdf-reader.sidebar-toggle" | "material.pdf-reader.previous-page" | "material.pdf-reader.next-page" | "material.pdf-reader.current-page" | "material.pdf-reader.search-shortcut" | "material.pdf-reader.search-next" | "material.pdf-reader.search-prev" | "material.pdf-reader.night" | "material.pdf-reader.day" | "material.pdf-reader.thumbnails" | "material.pdf-reader.go-to-page" | "material.pdf-reader.default-file-name" | "material.pdf-reader.zoom-menu" | "material.pdf-reader.untitled" | "material.tree.label" | "material.tree.expand" | "material.tree.collapse" | "material.tree-select-field.search" | "material.tree-select-field.empty" | "material.tree-select-field.placeholder" | "material.tree-select-field.selected" | "material.image-cropper.title" | "material.image-cropper.cancel" | "material.image-cropper.apply" | "material.image-cropper.error" | "material.image-cropper.zoom" | "material.image-cropper.rotate-left" | "material.image-cropper.rotate-right" | "material.image-cropper.free" | "material.timeline.label" | "material.timeline.empty" | "material.copy.copy" | "material.copy.copied" | "material.qrcode.label" | "material.barecode.label" | "material.banner.dismiss" | "material.avatar-group.more" | "material.search-field.placeholder" | "material.search-field.clear" | "material.password-field.strong" | "material.password-field.hide" | "material.password-field.show" | "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.placeholder" | "material.inline-edit.save" | "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.combobox-field.empty" | "material.combobox-field.placeholder" | "material.autocomplete.empty" | "material.autocomplete.add" | "material.avatar.active" | "material.avatar.offline" | "material.avatar.online" | "material.avatar.away" | "material.avatar.busy" | "material.country-field.placeholder" | "material.duration-field.hours" | "material.duration-field.minutes" | "material.duration-field.hours-label" | "material.duration-field.minutes-label" | "material.count-badge.label" | "material.timezone-field.placeholder" | "material.app-shell.home" | "material.app-shell.open-menu" | "material.transfer-list.search" | "material.transfer-list.max" | "material.transfer-list.select-all" | "material.transfer-list.selected" | "material.transfer-list.count" | "material.transfer-list.available" | "material.transfer-list.move-to-selected" | "material.transfer-list.move-all-to-selected" | "material.transfer-list.move-to-available" | "material.transfer-list.move-all-to-available" | "material.transfer-list.move-up" | "material.transfer-list.move-down" | "material.transfer-list.empty-available" | "material.transfer-list.empty-selected" | "material.transfer-list.empty-filter" | "material.transfer-list.locked" | "material.transfer-list.drag" | "material.sortable-list.search" | "material.sortable-list.empty" | "material.sortable-list.move-up" | "material.sortable-list.move-down" | "material.sortable-list.empty-filter" | "material.sortable-list.drag" | "material.event-calendar.title" | "material.event-calendar.search" | "material.event-calendar.description" | "material.event-calendar.color" | "material.event-calendar.delete-confirm" | "material.event-calendar.previous" | "material.event-calendar.next" | "material.event-calendar.empty" | "material.event-calendar.more" | "material.event-calendar.delete" | "material.event-calendar.add" | "material.event-calendar.day" | "material.event-calendar.drag" | "material.event-calendar.today" | "material.event-calendar.month" | "material.event-calendar.week" | "material.event-calendar.workweek" | "material.event-calendar.agenda" | "material.event-calendar.all-day" | "material.event-calendar.events" | "material.event-calendar.resize" | "material.event-calendar.new-event" | "material.event-calendar.new-all-day" | "material.event-calendar.pick-date" | "material.event-calendar.no-results" | "material.dnd.drag" | "material.rich-text-editor.blockquote" | "material.rich-text-editor.caption" | "material.rich-text-editor.header" | "material.rich-text-editor.label" | "material.rich-text-editor.link" | "material.rich-text-editor.table" | "material.rich-text-editor.title" | "material.rich-text-editor.description" | "material.rich-text-editor.bold" | "material.rich-text-editor.icon" | "material.rich-text-editor.type" | "material.rich-text-editor.font-family" | "material.rich-text-editor.orientation" | "material.rich-text-editor.emoji" | "material.rich-text-editor.characters" | "material.rich-text-editor.words" | "material.rich-text-editor.gallery" | "material.rich-text-editor.cancel" | "material.rich-text-editor.apply" | "material.rich-text-editor.placeholder" | "material.rich-text-editor.remove" | "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" | "material.rich-text-editor.heading-n" | "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.content" | "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.size" | "material.rich-text-editor.link-optional" | "material.rich-text-editor.edit-gallery" | "material.rich-text-editor.edit-gallery-description" | "material.rich-text-editor.images" | "material.rich-text-editor.add-image" | "material.rich-text-editor.add-images" | "material.rich-text-editor.alt-text" | "material.rich-text-editor.no-images" | "material.rich-text-editor.select-chips" | "material.rich-text-editor.select-cards" | "material.rich-text-editor.edit-selector" | "material.rich-text-editor.edit-selector-description" | "material.rich-text-editor.selector-settings" | "material.rich-text-editor.selector-settings-description" | "material.rich-text-editor.optional-heading" | "material.rich-text-editor.selection" | "material.rich-text-editor.add-options" | "material.rich-text-editor.edit-option" | "material.rich-text-editor.edit-option-description" | "material.rich-text-editor.remove-option" | "material.rich-text-editor.checkbox-group" | "material.rich-text-editor.edit-checkbox-group" | "material.rich-text-editor.edit-checkbox-group-description" | "material.rich-text-editor.radio-group" | "material.rich-text-editor.edit-radio-group" | "material.rich-text-editor.edit-radio-group-description" | "material.rich-text-editor.font-default" | "material.rich-text-editor.font-sans" | "material.rich-text-editor.font-serif" | "material.rich-text-editor.font-mono" | "material.rich-text-editor.table-align-left" | "material.rich-text-editor.table-align-center" | "material.rich-text-editor.table-align-right" | "material.rich-text-editor.insert-emoji" | "material.rich-text-editor.slash-menu.items.blockquote.title" | "material.rich-text-editor.slash-menu.items.blockquote.description" | "material.rich-text-editor.slash-menu.items.table.title" | "material.rich-text-editor.slash-menu.items.table.description" | "material.rich-text-editor.slash-menu.items.gallery.title" | "material.rich-text-editor.slash-menu.items.gallery.description" | "material.rich-text-editor.slash-menu.items.code-block.title" | "material.rich-text-editor.slash-menu.items.code-block.description" | "material.rich-text-editor.slash-menu.items.bullet-list.title" | "material.rich-text-editor.slash-menu.items.bullet-list.description" | "material.rich-text-editor.slash-menu.items.ordered-list.title" | "material.rich-text-editor.slash-menu.items.ordered-list.description" | "material.rich-text-editor.slash-menu.items.task-list.title" | "material.rich-text-editor.slash-menu.items.task-list.description" | "material.rich-text-editor.slash-menu.items.horizontal-rule.title" | "material.rich-text-editor.slash-menu.items.horizontal-rule.description" | "material.rich-text-editor.slash-menu.items.accordion.title" | "material.rich-text-editor.slash-menu.items.accordion.description" | "material.rich-text-editor.slash-menu.items.action-card.title" | "material.rich-text-editor.slash-menu.items.action-card.description" | "material.rich-text-editor.slash-menu.items.checkbox-group.title" | "material.rich-text-editor.slash-menu.items.checkbox-group.description" | "material.rich-text-editor.slash-menu.items.radio-group.title" | "material.rich-text-editor.slash-menu.items.radio-group.description" | "material.rich-text-editor.slash-menu.items.paragraph.title" | "material.rich-text-editor.slash-menu.items.paragraph.description" | "material.rich-text-editor.slash-menu.items.heading-1.title" | "material.rich-text-editor.slash-menu.items.heading-1.description" | "material.rich-text-editor.slash-menu.items.heading-2.title" | "material.rich-text-editor.slash-menu.items.heading-2.description" | "material.rich-text-editor.slash-menu.items.heading-3.title" | "material.rich-text-editor.slash-menu.items.heading-3.description" | "material.rich-text-editor.slash-menu.items.callout.title" | "material.rich-text-editor.slash-menu.items.callout.description" | "material.rich-text-editor.slash-menu.items.select-chip.title" | "material.rich-text-editor.slash-menu.items.select-chip.description" | "material.rich-text-editor.slash-menu.items.select-card.title" | "material.rich-text-editor.slash-menu.items.select-card.description" | "material.rich-text-editor.slash-menu.groups.basic" | "material.rich-text-editor.slash-menu.groups.insert" | "material.kanban.search" | "material.kanban.card-title" | "material.kanban.empty" | "material.kanban.drag" | "material.kanban.no-results" | "material.kanban.add-card" | "material.kanban.wip" | "material.kanban.drag-column" | "material.kanban.ungrouped" | "material.kanban.collapse-group" | "material.kanban.expand-group" | "material.kanban.collapse-column" | "material.kanban.expand-column" | "material.kanban.new-card" | "material.kanban.subtitle" | "material.kanban.wip-full" | "material.doc.menu" | "material.doc.filter" | "material.doc.search" | "material.doc.breadcrumb" | "material.doc.see-also" | "material.doc.previous" | "material.doc.next" | "material.doc.on-this-page" | "material.doc.expand" | "material.doc.collapse" | "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.param-table.description" | "material.param-table.default" | "material.param-table.name" | "material.param-table.type" | "material.param-table.required" | "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.slider.value" | "material.slider.minimum" | "material.slider.maximum" | "material.scroll-to-top.label" | "material.sidebar.toggle" | "material.print.page-of" | "material.print.page" | "material.print.table.empty" | "material.print.table.total" | "material.circular-progress.label" | "material.pane-layout.sheet-title" | "material.time-picker.hours" | "material.time-picker.minutes" | "material.time-picker.am" | "material.time-picker.pm" | "material.date-range-field.presets" | "material.date-range-field.start-time" | "material.date-range-field.end-time" | "material.date-range-field.preset.today" | "material.date-range-field.preset.yesterday" | "material.date-range-field.preset.last-7-days" | "material.date-range-field.preset.last-30-days" | "material.date-range-field.preset.this-month" | "material.date-range-field.preset.last-month" | "material.date-range-field.preset.this-year" | "material.file-preview.label" | "material.file-preview.loading" | "material.file-preview.download" | "material.file-preview.error" | "material.file-preview.untitled" | "material.file-preview.content" | "material.file-preview.truncated", string];
|
|
@@ -16,6 +16,8 @@ export type NumberFieldProps = {
|
|
|
16
16
|
hideSteppers?: boolean;
|
|
17
17
|
/** Names the input when it has no `label` of its own (a part of a larger field). */
|
|
18
18
|
ariaLabel?: string;
|
|
19
|
+
/** Names the input by another element's id (a part of a larger field). */
|
|
20
|
+
ariaLabelledby?: string;
|
|
19
21
|
};
|
|
20
22
|
declare var __VLS_41: {};
|
|
21
23
|
type __VLS_Slots = {} & {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The control's row: what comes before it, the control with its tick marks
|
|
3
|
+
* under it, what comes after it. With none of the three, the control alone,
|
|
4
|
+
* so a `SliderField` without them renders as it always did.
|
|
5
|
+
*/
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
min: number;
|
|
8
|
+
max: number;
|
|
9
|
+
step?: number;
|
|
10
|
+
ticks?: boolean | number;
|
|
11
|
+
hasLeading: boolean;
|
|
12
|
+
hasTrailing: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
16
|
+
default?: (props: typeof __VLS_1) => any;
|
|
17
|
+
} & {
|
|
18
|
+
leading?: (props: typeof __VLS_3) => any;
|
|
19
|
+
} & {
|
|
20
|
+
default?: (props: typeof __VLS_5) => any;
|
|
21
|
+
} & {
|
|
22
|
+
trailing?: (props: typeof __VLS_7) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -16,8 +16,23 @@ export type SliderFieldProps = {
|
|
|
16
16
|
* root `div`. Wins over `error`, as on `@nxgt/material`'s `Slider`.
|
|
17
17
|
*/
|
|
18
18
|
ariaInvalid?: boolean | 'true' | 'false';
|
|
19
|
+
/**
|
|
20
|
+
* Tick marks under the track: `true` one per `step` (at most 21), a
|
|
21
|
+
* number that many, evenly spread, ends included.
|
|
22
|
+
*/
|
|
23
|
+
ticks?: boolean | number;
|
|
24
|
+
/** Before the track, in small muted text (`#leading` takes markup). */
|
|
25
|
+
leading?: string | number;
|
|
26
|
+
/** After the track, in small muted text (`#trailing` takes markup). */
|
|
27
|
+
trailing?: string | number;
|
|
19
28
|
};
|
|
20
|
-
|
|
29
|
+
type __VLS_Slots = {
|
|
30
|
+
/** Before the track: `@nxgt/material`'s `leading`. Defaults to the prop. */
|
|
31
|
+
leading?: () => unknown;
|
|
32
|
+
/** After the track: `@nxgt/material`'s `trailing`. Defaults to the prop. */
|
|
33
|
+
trailing?: () => unknown;
|
|
34
|
+
};
|
|
35
|
+
declare const __VLS_base: import('vue').DefineComponent<SliderFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
36
|
"update:modelValue": (value: number | number[]) => any;
|
|
22
37
|
}, string, import('vue').PublicProps, Readonly<SliderFieldProps> & Readonly<{
|
|
23
38
|
"onUpdate:modelValue"?: ((value: number | number[]) => any) | undefined;
|
|
@@ -28,5 +43,11 @@ declare const __VLS_export: import('vue').DefineComponent<SliderFieldProps, {},
|
|
|
28
43
|
ariaInvalid: boolean | "true" | "false";
|
|
29
44
|
showReadout: boolean;
|
|
30
45
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
47
|
declare const _default: typeof __VLS_export;
|
|
32
48
|
export default _default;
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -2,9 +2,21 @@ import { SliderFieldProps } from './slider-field.vue';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
name: string;
|
|
4
4
|
} & Omit<SliderFieldProps, 'modelValue' | 'error' | 'name'>;
|
|
5
|
-
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
/** Before the track, as on `SliderField`. */
|
|
7
|
+
leading?: () => unknown;
|
|
8
|
+
/** After the track, as on `SliderField`. */
|
|
9
|
+
trailing?: () => unknown;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
12
|
ariaInvalid: boolean | "true" | "false";
|
|
7
13
|
showReadout: boolean;
|
|
8
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
16
|
declare const _default: typeof __VLS_export;
|
|
10
17
|
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { TypedSchema } from 'vee-validate';
|
|
2
|
+
type StandardIssue = {
|
|
3
|
+
readonly message: string;
|
|
4
|
+
readonly path?: ReadonlyArray<PropertyKey | {
|
|
5
|
+
readonly key: PropertyKey;
|
|
6
|
+
}> | undefined;
|
|
7
|
+
};
|
|
8
|
+
type StandardResult<Output> = {
|
|
9
|
+
readonly value: Output;
|
|
10
|
+
readonly issues?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
readonly issues: ReadonlyArray<StandardIssue>;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* A Standard Schema (Zod 4, Valibot, ArkType…), described structurally so no
|
|
16
|
+
* package is needed for its type: the `~standard` property they all carry.
|
|
17
|
+
*/
|
|
18
|
+
export type StandardSchemaLike<Input, Output> = {
|
|
19
|
+
readonly '~standard': {
|
|
20
|
+
readonly validate: (value: unknown) => StandardResult<Output> | Promise<StandardResult<Output>>;
|
|
21
|
+
readonly types?: {
|
|
22
|
+
readonly input: Input;
|
|
23
|
+
readonly output: Output;
|
|
24
|
+
} | undefined;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
/** What a form scope validates with: a Standard Schema, or a vee-validate typed schema. */
|
|
28
|
+
export type FormScopeSchema<Input, Output> = StandardSchemaLike<Input, Output> | TypedSchema<Input, Output>;
|
|
29
|
+
/** The form a scope's slot sees. */
|
|
30
|
+
export type FormScopeSlotProps<Input> = {
|
|
31
|
+
values: Input;
|
|
32
|
+
/** The first error per field path. */
|
|
33
|
+
errors: Partial<Record<string, string | undefined>>;
|
|
34
|
+
meta: {
|
|
35
|
+
valid: boolean;
|
|
36
|
+
dirty: boolean;
|
|
37
|
+
touched: boolean;
|
|
38
|
+
};
|
|
39
|
+
setFieldValue: (field: string, value: unknown) => void;
|
|
40
|
+
};
|
|
41
|
+
/** A Standard Schema as vee-validate's typed schema; a typed schema as it is. */
|
|
42
|
+
export declare function toFormScopeSchema<Input, Output>(schema: FormScopeSchema<Input, Output>): TypedSchema<Input, Output>;
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { FormScopeSchema, FormScopeSlotProps } from './form-scope-schema';
|
|
2
|
+
declare const __VLS_export: <TInput extends Record<string, any>, TOutput extends Record<string, any> = TInput>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
schema: FormScopeSchema<TInput, TOutput>;
|
|
5
|
+
initialValues?: Partial<TInput>;
|
|
6
|
+
} & {
|
|
7
|
+
"onUpdate:valid"?: ((valid: boolean) => any) | undefined;
|
|
8
|
+
}> & (typeof globalThis extends {
|
|
9
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
10
|
+
} ? P : {});
|
|
11
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
12
|
+
submit: () => Promise<{
|
|
13
|
+
valid: true;
|
|
14
|
+
values: TOutput;
|
|
15
|
+
} | {
|
|
16
|
+
valid: false;
|
|
17
|
+
}>;
|
|
18
|
+
}>) => void;
|
|
19
|
+
attrs: any;
|
|
20
|
+
slots: {
|
|
21
|
+
default?: (props: FormScopeSlotProps<TInput>) => unknown;
|
|
22
|
+
};
|
|
23
|
+
emit: (evt: "update:valid", valid: boolean) => void;
|
|
24
|
+
}>) => import('vue').VNode & {
|
|
25
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
|
+
};
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} : {
|
|
32
|
+
[K in keyof T as K]: T[K];
|
|
33
|
+
}) & {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* `PdfReader`, imported on first use: a page that previews no PDF never
|
|
4
|
+
* loads the viewer, and an import that fails (a chunk that cannot be
|
|
5
|
+
* fetched, pdf.js missing from the bundle) rejects, so `FilePreview` falls
|
|
6
|
+
* back to its file card. A failure is not cached; the next call tries again.
|
|
7
|
+
*/
|
|
8
|
+
export declare function loadPdfReader(): Promise<Component>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FilePreviewProps } from './types';
|
|
2
|
+
export type { FilePreviewProps } from './types';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<FilePreviewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
error: (error: unknown) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<FilePreviewProps> & Readonly<{
|
|
6
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { type FileKind, FilePreviewHttpError, type FilePreviewSource, FilePreviewUnsafeUrlError, fileKind, TEXT_PREVIEW_MAX_BYTES, } from '@nxgt/material-core/file-preview';
|
|
2
|
+
export { default as FilePreview } from './file-preview.vue';
|
|
3
|
+
export type { FilePreviewProps, FilePreviewStatus } from './types';
|