@webiny/app-file-manager 6.5.2-beta.2 → 6.5.2-beta.3
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-file-manager",
|
|
3
|
-
"version": "6.5.2-beta.
|
|
3
|
+
"version": "6.5.2-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.js",
|
|
@@ -14,22 +14,22 @@
|
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@types/react": "18.3.31",
|
|
17
|
-
"@webiny/admin-ui": "6.5.2-beta.
|
|
18
|
-
"@webiny/app": "6.5.2-beta.
|
|
19
|
-
"@webiny/app-aco": "6.5.2-beta.
|
|
20
|
-
"@webiny/app-admin": "6.5.2-beta.
|
|
21
|
-
"@webiny/app-headless-cms": "6.5.2-beta.
|
|
22
|
-
"@webiny/app-headless-cms-common": "6.5.2-beta.
|
|
23
|
-
"@webiny/app-websockets": "6.5.2-beta.
|
|
17
|
+
"@webiny/admin-ui": "6.5.2-beta.3",
|
|
18
|
+
"@webiny/app": "6.5.2-beta.3",
|
|
19
|
+
"@webiny/app-aco": "6.5.2-beta.3",
|
|
20
|
+
"@webiny/app-admin": "6.5.2-beta.3",
|
|
21
|
+
"@webiny/app-headless-cms": "6.5.2-beta.3",
|
|
22
|
+
"@webiny/app-headless-cms-common": "6.5.2-beta.3",
|
|
23
|
+
"@webiny/app-websockets": "6.5.2-beta.3",
|
|
24
24
|
"@webiny/di": "1.1.0",
|
|
25
|
-
"@webiny/feature": "6.5.2-beta.
|
|
26
|
-
"@webiny/form": "6.5.2-beta.
|
|
27
|
-
"@webiny/icons": "6.5.2-beta.
|
|
28
|
-
"@webiny/plugins": "6.5.2-beta.
|
|
29
|
-
"@webiny/react-composition": "6.5.2-beta.
|
|
30
|
-
"@webiny/react-properties": "6.5.2-beta.
|
|
31
|
-
"@webiny/sdk": "6.5.2-beta.
|
|
32
|
-
"@webiny/validation": "6.5.2-beta.
|
|
25
|
+
"@webiny/feature": "6.5.2-beta.3",
|
|
26
|
+
"@webiny/form": "6.5.2-beta.3",
|
|
27
|
+
"@webiny/icons": "6.5.2-beta.3",
|
|
28
|
+
"@webiny/plugins": "6.5.2-beta.3",
|
|
29
|
+
"@webiny/react-composition": "6.5.2-beta.3",
|
|
30
|
+
"@webiny/react-properties": "6.5.2-beta.3",
|
|
31
|
+
"@webiny/sdk": "6.5.2-beta.3",
|
|
32
|
+
"@webiny/validation": "6.5.2-beta.3",
|
|
33
33
|
"bytes": "3.1.2",
|
|
34
34
|
"dayjs": "1.11.23",
|
|
35
35
|
"lodash": "4.18.1",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"zod": "4.6.7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@webiny/build-tools": "6.5.2-beta.
|
|
46
|
+
"@webiny/build-tools": "6.5.2-beta.3",
|
|
47
47
|
"rimraf": "6.1.4",
|
|
48
48
|
"typescript": "7.0.2",
|
|
49
49
|
"vitest": "5.1.0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentation/FileList/components/BulkActions/domain/Field.js","sources":["../../../../../../src/presentation/FileList/components/BulkActions/domain/Field.ts"],"sourcesContent":["import type { CmsModelField } from \"@webiny/app-headless-cms-common/types/model.js\";\n\nexport type FieldRaw = CmsModelField;\n\nexport enum OperatorType {\n OVERRIDE = \"OVERRIDE\",\n APPEND = \"APPEND\",\n REMOVE = \"REMOVE\"\n}\n\nexport interface FieldDTO {\n label: string;\n value: string;\n operators: OperatorDTO[];\n raw: FieldRaw;\n}\n\nexport class Field {\n public readonly label: string;\n public readonly value: string;\n public readonly operators: Operator[];\n public readonly raw: FieldRaw;\n\n static createFromRaw(field: FieldRaw) {\n const label = field.label;\n const value = field.fieldId;\n const operators = Operator.createFromField(field);\n return new Field(label, value, operators, field);\n }\n\n private constructor(label: string, value: string, operators: Operator[], renderer: FieldRaw) {\n this.label = label;\n this.value = value;\n this.operators = operators;\n this.raw = renderer;\n }\n}\n\nexport interface OperatorDTO {\n label: string;\n value: string;\n}\n\nexport class Operator {\n public readonly label: string;\n public readonly value: string;\n\n static createFrom(rawData: OperatorDTO) {\n return new Operator(rawData.label, rawData.value);\n }\n\n static createFromField(field: CmsModelField) {\n const operators = [\n {\n label: \"Override existing values\",\n value: OperatorType.OVERRIDE\n },\n {\n label: \"Clear all existing values\",\n value: OperatorType.REMOVE\n }\n ];\n\n if (field.list) {\n operators.push({\n label: \"Append to existing values\",\n value: OperatorType.APPEND\n });\n }\n\n return operators.map(operator => this.createFrom(operator));\n }\n\n private constructor(label: string, value: string) {\n this.label = label;\n this.value = value;\n }\n}\n"],"names":["OperatorType","Field","field","label","value","operators","Operator","renderer","rawData","operator"],"mappings":"AAIO,IAAKA,qBAAYA,WAAAA,GAAAA,
|
|
1
|
+
{"version":3,"file":"presentation/FileList/components/BulkActions/domain/Field.js","sources":["../../../../../../src/presentation/FileList/components/BulkActions/domain/Field.ts"],"sourcesContent":["import type { CmsModelField } from \"@webiny/app-headless-cms-common/types/model.js\";\n\nexport type FieldRaw = CmsModelField;\n\nexport enum OperatorType {\n OVERRIDE = \"OVERRIDE\",\n APPEND = \"APPEND\",\n REMOVE = \"REMOVE\"\n}\n\nexport interface FieldDTO {\n label: string;\n value: string;\n operators: OperatorDTO[];\n raw: FieldRaw;\n}\n\nexport class Field {\n public readonly label: string;\n public readonly value: string;\n public readonly operators: Operator[];\n public readonly raw: FieldRaw;\n\n static createFromRaw(field: FieldRaw) {\n const label = field.label;\n const value = field.fieldId;\n const operators = Operator.createFromField(field);\n return new Field(label, value, operators, field);\n }\n\n private constructor(label: string, value: string, operators: Operator[], renderer: FieldRaw) {\n this.label = label;\n this.value = value;\n this.operators = operators;\n this.raw = renderer;\n }\n}\n\nexport interface OperatorDTO {\n label: string;\n value: string;\n}\n\nexport class Operator {\n public readonly label: string;\n public readonly value: string;\n\n static createFrom(rawData: OperatorDTO) {\n return new Operator(rawData.label, rawData.value);\n }\n\n static createFromField(field: CmsModelField) {\n const operators = [\n {\n label: \"Override existing values\",\n value: OperatorType.OVERRIDE\n },\n {\n label: \"Clear all existing values\",\n value: OperatorType.REMOVE\n }\n ];\n\n if (field.list) {\n operators.push({\n label: \"Append to existing values\",\n value: OperatorType.APPEND\n });\n }\n\n return operators.map(operator => this.createFrom(operator));\n }\n\n private constructor(label: string, value: string) {\n this.label = label;\n this.value = value;\n }\n}\n"],"names":["OperatorType","Field","field","label","value","operators","Operator","renderer","rawData","operator"],"mappings":"AAIO,IAAKA,qBAAYA,WAAAA,GAAAA,SAAAA,YAAAA;;;;;;AAajB,MAAMC;IAMT,OAAO,cAAcC,KAAe,EAAE;QAClC,MAAMC,QAAQD,MAAM,KAAK;QACzB,MAAME,QAAQF,MAAM,OAAO;QAC3B,MAAMG,YAAYC,SAAS,eAAe,CAACJ;QAC3C,OAAO,IAAID,MAAME,OAAOC,OAAOC,WAAWH;IAC9C;IAEA,YAAoBC,KAAa,EAAEC,KAAa,EAAEC,SAAqB,EAAEE,QAAkB,CAAE;QACzF,IAAI,CAAC,KAAK,GAAGJ;QACb,IAAI,CAAC,KAAK,GAAGC;QACb,IAAI,CAAC,SAAS,GAAGC;QACjB,IAAI,CAAC,GAAG,GAAGE;IACf;AACJ;AAOO,MAAMD;IAIT,OAAO,WAAWE,OAAoB,EAAE;QACpC,OAAO,IAAIF,SAASE,QAAQ,KAAK,EAAEA,QAAQ,KAAK;IACpD;IAEA,OAAO,gBAAgBN,KAAoB,EAAE;QACzC,MAAMG,YAAY;YACd;gBACI,OAAO;gBACP,OAAO;YACX;YACA;gBACI,OAAO;gBACP,OAAO;YACX;SACH;QAED,IAAIH,MAAM,IAAI,EACVG,UAAU,IAAI,CAAC;YACX,OAAO;YACP,OAAO;QACX;QAGJ,OAAOA,UAAU,GAAG,CAACI,CAAAA,WAAY,IAAI,CAAC,UAAU,CAACA;IACrD;IAEA,YAAoBN,KAAa,EAAEC,KAAa,CAAE;QAC9C,IAAI,CAAC,KAAK,GAAGD;QACb,IAAI,CAAC,KAAK,GAAGC;IACjB;AACJ"}
|