@webiny/app-website-builder 0.0.0-unstable.e0bfc55d5a → 0.0.0-unstable.eb196ccd2f
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-website-builder",
|
|
3
|
-
"version": "0.0.0-unstable.
|
|
3
|
+
"version": "0.0.0-unstable.eb196ccd2f",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,29 +16,29 @@
|
|
|
16
16
|
"@monaco-editor/react": "4.7.0",
|
|
17
17
|
"@svgr/webpack": "6.5.1",
|
|
18
18
|
"@types/react": "18.2.79",
|
|
19
|
-
"@webiny/admin-ui": "0.0.0-unstable.
|
|
20
|
-
"@webiny/app": "0.0.0-unstable.
|
|
21
|
-
"@webiny/app-aco": "0.0.0-unstable.
|
|
22
|
-
"@webiny/app-admin": "0.0.0-unstable.
|
|
23
|
-
"@webiny/app-headless-cms-common": "0.0.0-unstable.
|
|
24
|
-
"@webiny/app-i18n": "0.0.0-unstable.
|
|
25
|
-
"@webiny/app-security": "0.0.0-unstable.
|
|
26
|
-
"@webiny/app-tenancy": "0.0.0-unstable.
|
|
27
|
-
"@webiny/app-utils": "0.0.0-unstable.
|
|
28
|
-
"@webiny/error": "0.0.0-unstable.
|
|
29
|
-
"@webiny/form": "0.0.0-unstable.
|
|
30
|
-
"@webiny/icons": "0.0.0-unstable.
|
|
31
|
-
"@webiny/lexical-converter": "0.0.0-unstable.
|
|
32
|
-
"@webiny/lexical-editor": "0.0.0-unstable.
|
|
33
|
-
"@webiny/lexical-nodes": "0.0.0-unstable.
|
|
34
|
-
"@webiny/lexical-theme": "0.0.0-unstable.
|
|
35
|
-
"@webiny/react-composition": "0.0.0-unstable.
|
|
36
|
-
"@webiny/react-properties": "0.0.0-unstable.
|
|
37
|
-
"@webiny/react-router": "0.0.0-unstable.
|
|
38
|
-
"@webiny/ui": "0.0.0-unstable.
|
|
39
|
-
"@webiny/utils": "0.0.0-unstable.
|
|
40
|
-
"@webiny/validation": "0.0.0-unstable.
|
|
41
|
-
"@webiny/website-builder-sdk": "0.0.0-unstable.
|
|
19
|
+
"@webiny/admin-ui": "0.0.0-unstable.eb196ccd2f",
|
|
20
|
+
"@webiny/app": "0.0.0-unstable.eb196ccd2f",
|
|
21
|
+
"@webiny/app-aco": "0.0.0-unstable.eb196ccd2f",
|
|
22
|
+
"@webiny/app-admin": "0.0.0-unstable.eb196ccd2f",
|
|
23
|
+
"@webiny/app-headless-cms-common": "0.0.0-unstable.eb196ccd2f",
|
|
24
|
+
"@webiny/app-i18n": "0.0.0-unstable.eb196ccd2f",
|
|
25
|
+
"@webiny/app-security": "0.0.0-unstable.eb196ccd2f",
|
|
26
|
+
"@webiny/app-tenancy": "0.0.0-unstable.eb196ccd2f",
|
|
27
|
+
"@webiny/app-utils": "0.0.0-unstable.eb196ccd2f",
|
|
28
|
+
"@webiny/error": "0.0.0-unstable.eb196ccd2f",
|
|
29
|
+
"@webiny/form": "0.0.0-unstable.eb196ccd2f",
|
|
30
|
+
"@webiny/icons": "0.0.0-unstable.eb196ccd2f",
|
|
31
|
+
"@webiny/lexical-converter": "0.0.0-unstable.eb196ccd2f",
|
|
32
|
+
"@webiny/lexical-editor": "0.0.0-unstable.eb196ccd2f",
|
|
33
|
+
"@webiny/lexical-nodes": "0.0.0-unstable.eb196ccd2f",
|
|
34
|
+
"@webiny/lexical-theme": "0.0.0-unstable.eb196ccd2f",
|
|
35
|
+
"@webiny/react-composition": "0.0.0-unstable.eb196ccd2f",
|
|
36
|
+
"@webiny/react-properties": "0.0.0-unstable.eb196ccd2f",
|
|
37
|
+
"@webiny/react-router": "0.0.0-unstable.eb196ccd2f",
|
|
38
|
+
"@webiny/ui": "0.0.0-unstable.eb196ccd2f",
|
|
39
|
+
"@webiny/utils": "0.0.0-unstable.eb196ccd2f",
|
|
40
|
+
"@webiny/validation": "0.0.0-unstable.eb196ccd2f",
|
|
41
|
+
"@webiny/website-builder-sdk": "0.0.0-unstable.eb196ccd2f",
|
|
42
42
|
"apollo-cache": "1.3.5",
|
|
43
43
|
"apollo-client": "2.6.10",
|
|
44
44
|
"apollo-link": "1.2.14",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"@types/react-virtualized": "9.22.0",
|
|
75
75
|
"@types/resize-observer-browser": "0.1.7",
|
|
76
76
|
"@types/store": "2.0.2",
|
|
77
|
-
"@webiny/cli": "0.0.0-unstable.
|
|
78
|
-
"@webiny/project-utils": "0.0.0-unstable.
|
|
77
|
+
"@webiny/cli": "0.0.0-unstable.eb196ccd2f",
|
|
78
|
+
"@webiny/project-utils": "0.0.0-unstable.eb196ccd2f",
|
|
79
79
|
"execa": "5.1.1",
|
|
80
80
|
"rimraf": "6.0.1",
|
|
81
81
|
"typescript": "5.3.3"
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
]
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "eb196ccd2f32296e10f7add6dd7220d4e3abece4"
|
|
99
99
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
import type { FieldElement } from "@webiny/app-headless-cms-common";
|
|
3
|
-
export type FieldProps = React.ComponentProps<typeof FieldElement>;
|
|
4
|
-
export type FolderFieldDecoratorProps = {
|
|
5
|
-
id?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const shouldDecorateFolderField: (decoratorProps: FolderFieldDecoratorProps, componentProps: FieldProps) => boolean;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { useFoldersType } from "@webiny/app-aco";
|
|
2
|
-
export const shouldDecorateFolderField = (decoratorProps, componentProps) => {
|
|
3
|
-
const {
|
|
4
|
-
id
|
|
5
|
-
} = decoratorProps;
|
|
6
|
-
const type = useFoldersType();
|
|
7
|
-
if (type !== "FmFile") {
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
if (id) {
|
|
11
|
-
return id === "*" ? true : id === componentProps.field.id;
|
|
12
|
-
}
|
|
13
|
-
return true;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=FolderFieldDecorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useFoldersType","shouldDecorateFolderField","decoratorProps","componentProps","id","type","field"],"sources":["FolderFieldDecorator.tsx"],"sourcesContent":["import type React from \"react\";\nimport type { FieldElement } from \"@webiny/app-headless-cms-common\";\nimport { useFoldersType } from \"@webiny/app-aco\";\n\nexport type FieldProps = React.ComponentProps<typeof FieldElement>;\n\nexport type FolderFieldDecoratorProps = {\n id?: string;\n};\n\nexport const shouldDecorateFolderField = (\n decoratorProps: FolderFieldDecoratorProps,\n componentProps: FieldProps\n) => {\n const { id } = decoratorProps;\n const type = useFoldersType();\n\n if (type !== \"FmFile\") {\n return false;\n }\n\n if (id) {\n return id === \"*\" ? true : id === componentProps.field.id;\n }\n\n return true;\n};\n"],"mappings":"AAEA,SAASA,cAAc,QAAQ,iBAAiB;AAQhD,OAAO,MAAMC,yBAAyB,GAAGA,CACrCC,cAAyC,EACzCC,cAA0B,KACzB;EACD,MAAM;IAAEC;EAAG,CAAC,GAAGF,cAAc;EAC7B,MAAMG,IAAI,GAAGL,cAAc,CAAC,CAAC;EAE7B,IAAIK,IAAI,KAAK,QAAQ,EAAE;IACnB,OAAO,KAAK;EAChB;EAEA,IAAID,EAAE,EAAE;IACJ,OAAOA,EAAE,KAAK,GAAG,GAAG,IAAI,GAAGA,EAAE,KAAKD,cAAc,CAACG,KAAK,CAACF,EAAE;EAC7D;EAEA,OAAO,IAAI;AACf,CAAC","ignoreList":[]}
|