denwa-react-shared 1.0.16 → 1.0.18
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/dist/denwa-react-shared.cjs.js +111 -111
- package/dist/denwa-react-shared.css +1 -1
- package/dist/denwa-react-shared.es.js +18543 -19735
- package/dist/denwa-react-shared.umd.js +111 -111
- package/dist/shared/ui/image-upload/types.d.ts +1 -5
- package/package.json +1 -1
- package/dist/shared/ui/image-upload/schema.d.ts +0 -19
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { UploadProps } from 'antd';
|
|
2
2
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
3
|
-
import { IServerImageForm, IUploadImage } from '
|
|
3
|
+
import { IServerImageForm, IUploadImage } from 'denwa-react-shared';
|
|
4
4
|
export interface BaseImageUploadProps extends UploadProps {
|
|
5
5
|
labelText: string;
|
|
6
6
|
loadingErrorText: string;
|
|
7
7
|
emptyText: string;
|
|
8
8
|
downloadText: string;
|
|
9
|
-
requiredText: string;
|
|
10
|
-
minimumCharactersLengthText: string;
|
|
11
9
|
serverImages: IServerImageForm[];
|
|
12
10
|
updatedImages?: IUploadImage[];
|
|
13
11
|
language: string;
|
|
@@ -34,8 +32,6 @@ export interface ItemProps {
|
|
|
34
32
|
labelText: string;
|
|
35
33
|
loadingErrorText: string;
|
|
36
34
|
emptyText: string;
|
|
37
|
-
requiredText: string;
|
|
38
|
-
minimumCharactersLengthText: string;
|
|
39
35
|
file: IUploadFile;
|
|
40
36
|
language: string;
|
|
41
37
|
maxCount: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
interface UseUploadItemSchemaParams {
|
|
3
|
-
requiredText: string;
|
|
4
|
-
minimumCharactersLengthText: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const useUploadItemSchema: ({ requiredText, minimumCharactersLengthText, }: UseUploadItemSchemaParams) => z.ZodObject<{
|
|
7
|
-
altRU: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
8
|
-
altEN: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
9
|
-
altAR: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
10
|
-
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
altRU?: string | undefined;
|
|
12
|
-
altEN?: string | undefined;
|
|
13
|
-
altAR?: string | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
altRU?: string | undefined;
|
|
16
|
-
altEN?: string | undefined;
|
|
17
|
-
altAR?: string | undefined;
|
|
18
|
-
}>;
|
|
19
|
-
export {};
|