@webiny/app-file-manager 5.39.4-beta.0 → 5.39.4
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/components/BulkActions/ActionEdit/BatchEditorDialog/FieldRenderer.js +1 -1
- package/components/BulkActions/ActionEdit/BatchEditorDialog/FieldRenderer.js.map +1 -1
- package/components/BulkActions/ActionEdit/domain/Batch.d.ts +6 -6
- package/modules/FileManagerRenderer/FileManagerView/FileManagerViewConfig.d.ts +14 -10
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/Filter.d.ts +5 -3
- package/modules/FileManagerRenderer/FileManagerView/configComponents/Browser/index.d.ts +5 -3
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/Field.d.ts +5 -3
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.d.ts +2 -2
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.js +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.js.map +1 -1
- package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/index.d.ts +8 -4
- package/package.json +18 -18
|
@@ -26,7 +26,7 @@ var FieldRenderer = function FieldRenderer(props) {
|
|
|
26
26
|
name: props.name
|
|
27
27
|
}, customFieldRenderer.element) : /*#__PURE__*/_react.default.createElement(_form.BindPrefix, {
|
|
28
28
|
name: props.name + ".extensions"
|
|
29
|
-
}, /*#__PURE__*/_react.default.createElement(_appHeadlessCms.
|
|
29
|
+
}, /*#__PURE__*/_react.default.createElement(_appHeadlessCms.FieldElement, {
|
|
30
30
|
field: props.field.raw,
|
|
31
31
|
Bind: _form.Bind,
|
|
32
32
|
contentModel: fileModel
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_appHeadlessCms","_form","_Grid","_domain","_useFileModel","_FileManagerViewConfig","FieldRenderer","props","fileModel","useFileModel","_useFileManagerViewCo","useFileManagerViewConfig","browser","operator","OperatorType","REMOVE","customFieldRenderer","bulkEditFields","find","field","name","value","renderer","default","createElement","BindPrefix","element","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_appHeadlessCms","_form","_Grid","_domain","_useFileModel","_FileManagerViewConfig","FieldRenderer","props","fileModel","useFileModel","_useFileManagerViewCo","useFileManagerViewConfig","browser","operator","OperatorType","REMOVE","customFieldRenderer","bulkEditFields","find","field","name","value","renderer","default","createElement","BindPrefix","element","FieldElement","raw","Bind","contentModel","ModelProvider","model","Cell","span","exports"],"sources":["FieldRenderer.tsx"],"sourcesContent":["import React from \"react\";\nimport { FieldElement, ModelProvider } from \"@webiny/app-headless-cms\";\nimport { Bind, BindPrefix } from \"@webiny/form\";\nimport { Cell } from \"@webiny/ui/Grid\";\nimport { FieldDTO, OperatorType } from \"~/components/BulkActions/ActionEdit/domain\";\nimport { useFileModel } from \"~/hooks/useFileModel\";\nimport { useFileManagerViewConfig } from \"~/modules/FileManagerRenderer/FileManagerView/FileManagerViewConfig\";\n\nexport interface FieldRendererProps {\n name: string;\n operator: string;\n field: FieldDTO;\n}\n\nexport const FieldRenderer = (props: FieldRendererProps) => {\n const fileModel = useFileModel();\n const { browser } = useFileManagerViewConfig();\n\n if (!props.operator || props.operator === OperatorType.REMOVE) {\n return null;\n }\n\n const customFieldRenderer = browser.bulkEditFields.find(\n field => field.name === props.field.value\n );\n\n const renderer = customFieldRenderer ? (\n <BindPrefix name={props.name}>{customFieldRenderer.element}</BindPrefix>\n ) : (\n <BindPrefix name={props.name + \".extensions\"}>\n <FieldElement field={props.field.raw} Bind={Bind as any} contentModel={fileModel} />\n </BindPrefix>\n );\n\n return (\n <ModelProvider model={fileModel}>\n <Cell span={12}>{renderer}</Cell>\n </ModelProvider>\n );\n};\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,sBAAA,GAAAN,OAAA;AAQO,IAAMO,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,KAAyB,EAAK;EACxD,IAAMC,SAAS,GAAG,IAAAC,0BAAY,EAAC,CAAC;EAChC,IAAAC,qBAAA,GAAoB,IAAAC,+CAAwB,EAAC,CAAC;IAAtCC,OAAO,GAAAF,qBAAA,CAAPE,OAAO;EAEf,IAAI,CAACL,KAAK,CAACM,QAAQ,IAAIN,KAAK,CAACM,QAAQ,KAAKC,oBAAY,CAACC,MAAM,EAAE;IAC3D,OAAO,IAAI;EACf;EAEA,IAAMC,mBAAmB,GAAGJ,OAAO,CAACK,cAAc,CAACC,IAAI,CACnD,UAAAC,KAAK;IAAA,OAAIA,KAAK,CAACC,IAAI,KAAKb,KAAK,CAACY,KAAK,CAACE,KAAK;EAAA,CAC7C,CAAC;EAED,IAAMC,QAAQ,GAAGN,mBAAmB,gBAChCnB,MAAA,CAAA0B,OAAA,CAAAC,aAAA,CAACvB,KAAA,CAAAwB,UAAU;IAACL,IAAI,EAAEb,KAAK,CAACa;EAAK,GAAEJ,mBAAmB,CAACU,OAAoB,CAAC,gBAExE7B,MAAA,CAAA0B,OAAA,CAAAC,aAAA,CAACvB,KAAA,CAAAwB,UAAU;IAACL,IAAI,EAAEb,KAAK,CAACa,IAAI,GAAG;EAAc,gBACzCvB,MAAA,CAAA0B,OAAA,CAAAC,aAAA,CAACxB,eAAA,CAAA2B,YAAY;IAACR,KAAK,EAAEZ,KAAK,CAACY,KAAK,CAACS,GAAI;IAACC,IAAI,EAAEA,UAAY;IAACC,YAAY,EAAEtB;EAAU,CAAE,CAC3E,CACf;EAED,oBACIX,MAAA,CAAA0B,OAAA,CAAAC,aAAA,CAACxB,eAAA,CAAA+B,aAAa;IAACC,KAAK,EAAExB;EAAU,gBAC5BX,MAAA,CAAA0B,OAAA,CAAAC,aAAA,CAACtB,KAAA,CAAA+B,IAAI;IAACC,IAAI,EAAE;EAAG,GAAEZ,QAAe,CACrB,CAAC;AAExB,CAAC;AAACa,OAAA,CAAA7B,aAAA,GAAAA,aAAA"}
|
|
@@ -7,21 +7,21 @@ export declare const batchValidationSchema: zod.ZodObject<{
|
|
|
7
7
|
field: zod.ZodString;
|
|
8
8
|
operator: zod.ZodString;
|
|
9
9
|
}, "strip", zod.ZodTypeAny, {
|
|
10
|
-
field: string;
|
|
11
10
|
operator: string;
|
|
12
|
-
}, {
|
|
13
11
|
field: string;
|
|
12
|
+
}, {
|
|
14
13
|
operator: string;
|
|
14
|
+
field: string;
|
|
15
15
|
}>, "many">;
|
|
16
16
|
}, "strip", zod.ZodTypeAny, {
|
|
17
17
|
operations: {
|
|
18
|
-
field: string;
|
|
19
18
|
operator: string;
|
|
19
|
+
field: string;
|
|
20
20
|
}[];
|
|
21
21
|
}, {
|
|
22
22
|
operations: {
|
|
23
|
-
field: string;
|
|
24
23
|
operator: string;
|
|
24
|
+
field: string;
|
|
25
25
|
}[];
|
|
26
26
|
}>;
|
|
27
27
|
export declare class Batch {
|
|
@@ -29,13 +29,13 @@ export declare class Batch {
|
|
|
29
29
|
static createEmpty(): Batch;
|
|
30
30
|
static validate(data: BatchDTO): zod.SafeParseReturnType<{
|
|
31
31
|
operations: {
|
|
32
|
-
field: string;
|
|
33
32
|
operator: string;
|
|
33
|
+
field: string;
|
|
34
34
|
}[];
|
|
35
35
|
}, {
|
|
36
36
|
operations: {
|
|
37
|
-
field: string;
|
|
38
37
|
operator: string;
|
|
38
|
+
field: string;
|
|
39
39
|
}[];
|
|
40
40
|
}>;
|
|
41
41
|
protected constructor(operations: Operation[]);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const FileManagerViewConfig: (({ children }: {
|
|
3
|
-
children: import("react").ReactNode;
|
|
4
|
-
}) => JSX.Element) & {
|
|
2
|
+
export declare const FileManagerViewConfig: (({ priority, children }: import("@webiny/react-properties").ConfigProps) => JSX.Element) & {
|
|
5
3
|
Browser: {
|
|
6
4
|
BulkAction: (({ name, after, before, remove, element }: import("./configComponents/Browser/BulkAction").BulkActionProps) => JSX.Element) & {
|
|
7
5
|
useButtons: () => import("@webiny/app-admin/components/Buttons/useButtons").ButtonsProviderContext;
|
|
@@ -15,11 +13,13 @@ export declare const FileManagerViewConfig: (({ children }: {
|
|
|
15
13
|
useDialog: () => import("@webiny/app-admin").UseDialogWithReportResponse;
|
|
16
14
|
};
|
|
17
15
|
BulkEditField: ({ name, element }: import("./configComponents/Browser/BulkEditField").BulkEditFieldProps) => JSX.Element;
|
|
18
|
-
Filter: (
|
|
19
|
-
original: (
|
|
16
|
+
Filter: import("@webiny/react-composition").GenericComponent<import("./configComponents/Browser/Filter").FilterProps> & {
|
|
17
|
+
original: import("@webiny/react-composition").GenericComponent<import("./configComponents/Browser/Filter").FilterProps>;
|
|
20
18
|
originalName: string;
|
|
21
19
|
} & {
|
|
22
|
-
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(
|
|
20
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(props: import("./configComponents/Browser/Filter").FilterProps) => JSX.Element | null>) => (props: unknown) => JSX.Element;
|
|
21
|
+
} & {
|
|
22
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(props: import("react").PropsWithChildren<import("./configComponents/Browser/Filter").FilterProps>, context?: any) => import("react").ReactElement<any, any> | null>) => (props: {
|
|
23
23
|
name: string;
|
|
24
24
|
}) => JSX.Element;
|
|
25
25
|
};
|
|
@@ -46,16 +46,20 @@ export declare const FileManagerViewConfig: (({ children }: {
|
|
|
46
46
|
FileDetails: {
|
|
47
47
|
Width: ({ value }: import("./configComponents/FileDetails/Width").WidthProps) => JSX.Element;
|
|
48
48
|
GroupFields: import("react").FC<import("./configComponents/FileDetails/GroupFields").GroupFieldsProps>;
|
|
49
|
-
Field: (
|
|
50
|
-
original: (
|
|
49
|
+
Field: import("@webiny/react-composition").GenericComponent<import("./configComponents/FileDetails/Field").FieldProps> & {
|
|
50
|
+
original: import("@webiny/react-composition").GenericComponent<import("./configComponents/FileDetails/Field").FieldProps>;
|
|
51
51
|
originalName: string;
|
|
52
52
|
} & {
|
|
53
|
-
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(
|
|
53
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(props: import("./configComponents/FileDetails/Field").FieldProps) => JSX.Element | null>) => (props: unknown) => JSX.Element;
|
|
54
|
+
} & {
|
|
55
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(props: import("react").PropsWithChildren<import("./configComponents/FileDetails/Field").FieldProps>, context?: any) => import("react").ReactElement<any, any> | null>) => (props: {
|
|
54
56
|
name: string;
|
|
55
57
|
}) => JSX.Element;
|
|
56
58
|
};
|
|
57
59
|
ExtensionField: {
|
|
58
|
-
createDecorator: (decorator: import("@webiny/react-composition").Decorator<import("@webiny/react-composition").GenericComponent<import("@webiny/app-headless-cms
|
|
60
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<import("@webiny/react-composition").GenericComponent<import("@webiny/app-headless-cms").FieldElementProps & {
|
|
61
|
+
children?: import("react").ReactNode;
|
|
62
|
+
}>>) => (props: import("./configComponents/FileDetails/FieldDecorator").FieldDecoratorProps) => JSX.Element;
|
|
59
63
|
};
|
|
60
64
|
};
|
|
61
65
|
};
|
|
@@ -10,11 +10,13 @@ export interface FilterProps {
|
|
|
10
10
|
before?: string;
|
|
11
11
|
after?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const Filter: (
|
|
14
|
-
original: (
|
|
13
|
+
export declare const Filter: import("@webiny/app-admin").GenericComponent<FilterProps> & {
|
|
14
|
+
original: import("@webiny/app-admin").GenericComponent<FilterProps>;
|
|
15
15
|
originalName: string;
|
|
16
16
|
} & {
|
|
17
|
-
createDecorator: (decorator: import("@webiny/app-admin").Decorator<(
|
|
17
|
+
createDecorator: (decorator: import("@webiny/app-admin").Decorator<(props: FilterProps) => JSX.Element | null>) => (props: unknown) => JSX.Element;
|
|
18
|
+
} & {
|
|
19
|
+
createDecorator: (decorator: import("@webiny/app-admin").Decorator<(props: React.PropsWithChildren<FilterProps>, context?: any) => React.ReactElement<any, any> | null>) => (props: {
|
|
18
20
|
name: string;
|
|
19
21
|
}) => JSX.Element;
|
|
20
22
|
};
|
|
@@ -29,11 +29,13 @@ export declare const Browser: {
|
|
|
29
29
|
useDialog: () => import("@webiny/app-admin").UseDialogWithReportResponse;
|
|
30
30
|
};
|
|
31
31
|
BulkEditField: ({ name, element }: import("./BulkEditField").BulkEditFieldProps) => JSX.Element;
|
|
32
|
-
Filter: (
|
|
33
|
-
original: (
|
|
32
|
+
Filter: import("@webiny/react-composition").GenericComponent<import("./Filter").FilterProps> & {
|
|
33
|
+
original: import("@webiny/react-composition").GenericComponent<import("./Filter").FilterProps>;
|
|
34
34
|
originalName: string;
|
|
35
35
|
} & {
|
|
36
|
-
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(
|
|
36
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(props: import("./Filter").FilterProps) => JSX.Element | null>) => (props: unknown) => JSX.Element;
|
|
37
|
+
} & {
|
|
38
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(props: import("react").PropsWithChildren<import("./Filter").FilterProps>, context?: any) => import("react").ReactElement<any, any> | null>) => (props: {
|
|
37
39
|
name: string;
|
|
38
40
|
}) => JSX.Element;
|
|
39
41
|
};
|
|
@@ -10,11 +10,13 @@ export interface FieldProps {
|
|
|
10
10
|
before?: string;
|
|
11
11
|
after?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const Field: (
|
|
14
|
-
original: (
|
|
13
|
+
export declare const Field: import("@webiny/app-admin").GenericComponent<FieldProps> & {
|
|
14
|
+
original: import("@webiny/app-admin").GenericComponent<FieldProps>;
|
|
15
15
|
originalName: string;
|
|
16
16
|
} & {
|
|
17
|
-
createDecorator: (decorator: import("@webiny/app-admin").Decorator<(
|
|
17
|
+
createDecorator: (decorator: import("@webiny/app-admin").Decorator<(props: FieldProps) => JSX.Element | null>) => (props: unknown) => JSX.Element;
|
|
18
|
+
} & {
|
|
19
|
+
createDecorator: (decorator: import("@webiny/app-admin").Decorator<(props: React.PropsWithChildren<FieldProps>, context?: any) => React.ReactElement<any, any> | null>) => (props: {
|
|
18
20
|
name: string;
|
|
19
21
|
}) => JSX.Element;
|
|
20
22
|
};
|
package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { GenericComponent, Decorator } from "@webiny/app-admin";
|
|
3
|
-
import {
|
|
4
|
-
export declare type FieldProps = React.ComponentProps<typeof
|
|
3
|
+
import { FieldElement } from "@webiny/app-headless-cms";
|
|
4
|
+
export declare type FieldProps = React.ComponentProps<typeof FieldElement>;
|
|
5
5
|
export declare type FieldDecoratorProps = {
|
|
6
6
|
id?: string;
|
|
7
7
|
};
|
package/modules/FileManagerRenderer/FileManagerView/configComponents/FileDetails/FieldDecorator.js
CHANGED
|
@@ -23,7 +23,7 @@ var createScopedFieldDecorator = function createScopedFieldDecorator() {
|
|
|
23
23
|
return /*#__PURE__*/_react.default.createElement(_appAdmin.CompositionScope, {
|
|
24
24
|
name: scope
|
|
25
25
|
}, /*#__PURE__*/_react.default.createElement(_appAdmin.Compose, {
|
|
26
|
-
component: _appHeadlessCms.
|
|
26
|
+
component: _appHeadlessCms.FieldElement,
|
|
27
27
|
with: conditionalDecorator
|
|
28
28
|
}));
|
|
29
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_appAdmin","_appHeadlessCms","shouldDecorate","decoratorProps","componentProps","id","field","createScopedFieldDecorator","scope","arguments","length","undefined","decorator","FieldDecorator","props","conditionalDecorator","createConditionalDecorator","default","createElement","CompositionScope","name","Compose","component","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_appAdmin","_appHeadlessCms","shouldDecorate","decoratorProps","componentProps","id","field","createScopedFieldDecorator","scope","arguments","length","undefined","decorator","FieldDecorator","props","conditionalDecorator","createConditionalDecorator","default","createElement","CompositionScope","name","Compose","component","FieldElement","with","exports"],"sources":["FieldDecorator.tsx"],"sourcesContent":["import React from \"react\";\nimport {\n Compose,\n createConditionalDecorator,\n CompositionScope,\n GenericComponent,\n Decorator\n} from \"@webiny/app-admin\";\nimport { FieldElement } from \"@webiny/app-headless-cms\";\n\nexport type FieldProps = React.ComponentProps<typeof FieldElement>;\n\nconst shouldDecorate = (decoratorProps: FieldDecoratorProps, componentProps: FieldProps) => {\n const { id } = decoratorProps;\n\n if (id) {\n return id === \"*\" ? true : id === componentProps.field.id;\n }\n\n return true;\n};\n\nexport type FieldDecoratorProps = {\n id?: string;\n};\n\nexport const createScopedFieldDecorator =\n (scope = \"*\") =>\n (decorator: Decorator<GenericComponent<FieldProps>>) => {\n return function FieldDecorator(props: FieldDecoratorProps) {\n const conditionalDecorator = createConditionalDecorator(\n shouldDecorate,\n decorator,\n props\n );\n\n return (\n <CompositionScope name={scope}>\n <Compose component={FieldElement} with={conditionalDecorator} />\n </CompositionScope>\n );\n };\n };\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAOA,IAAAE,eAAA,GAAAF,OAAA;AAIA,IAAMG,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,cAAmC,EAAEC,cAA0B,EAAK;EACxF,IAAQC,EAAE,GAAKF,cAAc,CAArBE,EAAE;EAEV,IAAIA,EAAE,EAAE;IACJ,OAAOA,EAAE,KAAK,GAAG,GAAG,IAAI,GAAGA,EAAE,KAAKD,cAAc,CAACE,KAAK,CAACD,EAAE;EAC7D;EAEA,OAAO,IAAI;AACf,CAAC;AAMM,IAAME,0BAA0B,GACnC,SADSA,0BAA0BA,CAAA;EAAA,IAClCC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,GAAG;EAAA,OACZ,UAACG,SAAkD,EAAK;IACpD,OAAO,SAASC,cAAcA,CAACC,KAA0B,EAAE;MACvD,IAAMC,oBAAoB,GAAG,IAAAC,oCAA0B,EACnDd,cAAc,EACdU,SAAS,EACTE,KACJ,CAAC;MAED,oBACIjB,MAAA,CAAAoB,OAAA,CAAAC,aAAA,CAAClB,SAAA,CAAAmB,gBAAgB;QAACC,IAAI,EAAEZ;MAAM,gBAC1BX,MAAA,CAAAoB,OAAA,CAAAC,aAAA,CAAClB,SAAA,CAAAqB,OAAO;QAACC,SAAS,EAAEC,4BAAa;QAACC,IAAI,EAAET;MAAqB,CAAE,CACjD,CAAC;IAE3B,CAAC;EACL,CAAC;AAAA;AAACU,OAAA,CAAAlB,0BAAA,GAAAA,0BAAA"}
|
|
@@ -8,15 +8,19 @@ export interface FileDetailsConfig {
|
|
|
8
8
|
export declare const FileDetails: {
|
|
9
9
|
Width: ({ value }: import("./Width").WidthProps) => JSX.Element;
|
|
10
10
|
GroupFields: import("react").FC<import("./GroupFields").GroupFieldsProps>;
|
|
11
|
-
Field: (
|
|
12
|
-
original: (
|
|
11
|
+
Field: import("@webiny/react-composition").GenericComponent<import("./Field").FieldProps> & {
|
|
12
|
+
original: import("@webiny/react-composition").GenericComponent<import("./Field").FieldProps>;
|
|
13
13
|
originalName: string;
|
|
14
14
|
} & {
|
|
15
|
-
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(
|
|
15
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(props: import("./Field").FieldProps) => JSX.Element | null>) => (props: unknown) => JSX.Element;
|
|
16
|
+
} & {
|
|
17
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(props: import("react").PropsWithChildren<import("./Field").FieldProps>, context?: any) => import("react").ReactElement<any, any> | null>) => (props: {
|
|
16
18
|
name: string;
|
|
17
19
|
}) => JSX.Element;
|
|
18
20
|
};
|
|
19
21
|
ExtensionField: {
|
|
20
|
-
createDecorator: (decorator: import("@webiny/react-composition").Decorator<import("@webiny/react-composition").GenericComponent<import("@webiny/app-headless-cms
|
|
22
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<import("@webiny/react-composition").GenericComponent<import("@webiny/app-headless-cms").FieldElementProps & {
|
|
23
|
+
children?: import("react").ReactNode;
|
|
24
|
+
}>>) => (props: import("./FieldDecorator").FieldDecoratorProps) => JSX.Element;
|
|
21
25
|
};
|
|
22
26
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-file-manager",
|
|
3
|
-
"version": "5.39.4
|
|
3
|
+
"version": "5.39.4",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,20 +17,20 @@
|
|
|
17
17
|
"@emotion/styled": "11.10.6",
|
|
18
18
|
"@material-design-icons/svg": "0.14.3",
|
|
19
19
|
"@types/react": "17.0.39",
|
|
20
|
-
"@webiny/app": "5.39.4
|
|
21
|
-
"@webiny/app-aco": "5.39.4
|
|
22
|
-
"@webiny/app-admin": "5.39.4
|
|
23
|
-
"@webiny/app-headless-cms": "5.39.4
|
|
24
|
-
"@webiny/app-headless-cms-common": "5.39.4
|
|
25
|
-
"@webiny/app-security": "5.39.4
|
|
26
|
-
"@webiny/error": "5.39.4
|
|
27
|
-
"@webiny/form": "5.39.4
|
|
28
|
-
"@webiny/plugins": "5.39.4
|
|
29
|
-
"@webiny/react-composition": "5.39.4
|
|
30
|
-
"@webiny/react-properties": "5.39.4
|
|
31
|
-
"@webiny/ui": "5.39.4
|
|
32
|
-
"@webiny/utils": "5.39.4
|
|
33
|
-
"@webiny/validation": "5.39.4
|
|
20
|
+
"@webiny/app": "5.39.4",
|
|
21
|
+
"@webiny/app-aco": "5.39.4",
|
|
22
|
+
"@webiny/app-admin": "5.39.4",
|
|
23
|
+
"@webiny/app-headless-cms": "5.39.4",
|
|
24
|
+
"@webiny/app-headless-cms-common": "5.39.4",
|
|
25
|
+
"@webiny/app-security": "5.39.4",
|
|
26
|
+
"@webiny/error": "5.39.4",
|
|
27
|
+
"@webiny/form": "5.39.4",
|
|
28
|
+
"@webiny/plugins": "5.39.4",
|
|
29
|
+
"@webiny/react-composition": "5.39.4",
|
|
30
|
+
"@webiny/react-properties": "5.39.4",
|
|
31
|
+
"@webiny/ui": "5.39.4",
|
|
32
|
+
"@webiny/utils": "5.39.4",
|
|
33
|
+
"@webiny/validation": "5.39.4",
|
|
34
34
|
"apollo-cache": "1.3.5",
|
|
35
35
|
"apollo-client": "2.6.10",
|
|
36
36
|
"apollo-link": "1.2.14",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"@babel/preset-react": "7.22.5",
|
|
65
65
|
"@babel/preset-typescript": "7.22.5",
|
|
66
66
|
"@svgr/webpack": "6.5.1",
|
|
67
|
-
"@webiny/cli": "5.39.4
|
|
68
|
-
"@webiny/project-utils": "5.39.4
|
|
67
|
+
"@webiny/cli": "5.39.4",
|
|
68
|
+
"@webiny/project-utils": "5.39.4",
|
|
69
69
|
"rimraf": "3.0.2",
|
|
70
70
|
"ttypescript": "1.5.15",
|
|
71
71
|
"typescript": "4.7.4"
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"build": "yarn webiny run build",
|
|
79
79
|
"watch": "yarn webiny run watch"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "e3eb846a11cecc35882c84879464dfa2706cfcd9"
|
|
82
82
|
}
|