@firecms/data_import_export 3.0.0-canary.56 → 3.0.0-canary.58
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/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +6 -6
- package/src/export_import/BasicExportAction.tsx +5 -5
- package/src/export_import/ExportCollectionAction.tsx +5 -5
- package/src/export_import/ImportCollectionAction.tsx +2 -2
package/package.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@firecms/data_import_export",
|
3
3
|
"type": "module",
|
4
|
-
"version": "3.0.0-canary.
|
4
|
+
"version": "3.0.0-canary.58",
|
5
5
|
"access": "public",
|
6
6
|
"main": "./dist/index.umd.js",
|
7
7
|
"module": "./dist/index.es.js",
|
8
8
|
"types": "./dist/index.d.ts",
|
9
9
|
"source": "src/index.ts",
|
10
10
|
"dependencies": {
|
11
|
-
"@firecms/core": "^3.0.0-canary.
|
12
|
-
"@firecms/formex": "^3.0.0-canary.
|
13
|
-
"@firecms/schema_inference": "^3.0.0-canary.
|
14
|
-
"@firecms/ui": "^3.0.0-canary.
|
11
|
+
"@firecms/core": "^3.0.0-canary.58",
|
12
|
+
"@firecms/formex": "^3.0.0-canary.58",
|
13
|
+
"@firecms/schema_inference": "^3.0.0-canary.58",
|
14
|
+
"@firecms/ui": "^3.0.0-canary.58",
|
15
15
|
"xlsx": "^0.18.5"
|
16
16
|
},
|
17
17
|
"peerDependencies": {
|
@@ -101,5 +101,5 @@
|
|
101
101
|
"publishConfig": {
|
102
102
|
"access": "public"
|
103
103
|
},
|
104
|
-
"gitHead": "
|
104
|
+
"gitHead": "8fb738b6abf384c0cba679f293b049a0ac56a7c2"
|
105
105
|
}
|
@@ -4,7 +4,7 @@ import { Entity, ResolvedProperties } from "@firecms/core";
|
|
4
4
|
import {
|
5
5
|
BooleanSwitchWithLabel,
|
6
6
|
Button,
|
7
|
-
|
7
|
+
cls,
|
8
8
|
Dialog,
|
9
9
|
DialogActions,
|
10
10
|
DialogContent,
|
@@ -82,7 +82,7 @@ export function BasicExportAction({
|
|
82
82
|
<input id="radio-csv" type="radio" value="csv" name="exportType"
|
83
83
|
checked={exportType === "csv"}
|
84
84
|
onChange={() => setExportType("csv")}
|
85
|
-
className={
|
85
|
+
className={cls(focusedMixin, "w-4 text-primary-dark bg-gray-100 border-gray-300 dark:bg-gray-700 dark:border-gray-600")}/>
|
86
86
|
<label htmlFor="radio-csv"
|
87
87
|
className="p-2 text-sm font-medium text-gray-900 dark:text-slate-300">CSV</label>
|
88
88
|
</div>
|
@@ -90,7 +90,7 @@ export function BasicExportAction({
|
|
90
90
|
<input id="radio-json" type="radio" value="json" name="exportType"
|
91
91
|
checked={exportType === "json"}
|
92
92
|
onChange={() => setExportType("json")}
|
93
|
-
className={
|
93
|
+
className={cls(focusedMixin, "w-4 text-primary-dark bg-gray-100 border-gray-300 dark:bg-gray-700 dark:border-gray-600")}/>
|
94
94
|
<label htmlFor="radio-json"
|
95
95
|
className="p-2 text-sm font-medium text-gray-900 dark:text-slate-300">JSON</label>
|
96
96
|
</div>
|
@@ -101,7 +101,7 @@ export function BasicExportAction({
|
|
101
101
|
<input id="radio-timestamp" type="radio" value="timestamp" name="dateExportType"
|
102
102
|
checked={dateExportType === "timestamp"}
|
103
103
|
onChange={() => setDateExportType("timestamp")}
|
104
|
-
className={
|
104
|
+
className={cls(focusedMixin, "w-4 text-primary-dark bg-gray-100 border-gray-300 dark:bg-gray-700 dark:border-gray-600")}/>
|
105
105
|
<label htmlFor="radio-timestamp"
|
106
106
|
className="p-2 text-sm font-medium text-gray-900 dark:text-slate-300">Dates as
|
107
107
|
timestamps ({dateRef.current.getTime()})</label>
|
@@ -110,7 +110,7 @@ export function BasicExportAction({
|
|
110
110
|
<input id="radio-string" type="radio" value="string" name="dateExportType"
|
111
111
|
checked={dateExportType === "string"}
|
112
112
|
onChange={() => setDateExportType("string")}
|
113
|
-
className={
|
113
|
+
className={cls(focusedMixin, "w-4 text-primary-dark bg-gray-100 border-gray-300 dark:bg-gray-700 dark:border-gray-600")}/>
|
114
114
|
<label htmlFor="radio-string"
|
115
115
|
className="p-2 text-sm font-medium text-gray-900 dark:text-slate-300">Dates as
|
116
116
|
strings ({dateRef.current.toISOString()})</label>
|
@@ -19,7 +19,7 @@ import {
|
|
19
19
|
BooleanSwitchWithLabel,
|
20
20
|
Button,
|
21
21
|
CircularProgress,
|
22
|
-
|
22
|
+
cls,
|
23
23
|
Dialog,
|
24
24
|
DialogActions,
|
25
25
|
DialogContent,
|
@@ -212,7 +212,7 @@ export function ExportCollectionAction<M extends Record<string, any>, UserType e
|
|
212
212
|
<input id="radio-csv" type="radio" value="csv" name="exportType"
|
213
213
|
checked={exportType === "csv"}
|
214
214
|
onChange={() => setExportType("csv")}
|
215
|
-
className={
|
215
|
+
className={cls(focusedMixin, "w-4 text-primary-dark bg-gray-100 border-gray-300 dark:bg-gray-700 dark:border-gray-600")}/>
|
216
216
|
<label htmlFor="radio-csv"
|
217
217
|
className="p-2 text-sm font-medium text-gray-900 dark:text-slate-300">CSV</label>
|
218
218
|
</div>
|
@@ -220,7 +220,7 @@ export function ExportCollectionAction<M extends Record<string, any>, UserType e
|
|
220
220
|
<input id="radio-json" type="radio" value="json" name="exportType"
|
221
221
|
checked={exportType === "json"}
|
222
222
|
onChange={() => setExportType("json")}
|
223
|
-
className={
|
223
|
+
className={cls(focusedMixin, "w-4 text-primary-dark bg-gray-100 border-gray-300 dark:bg-gray-700 dark:border-gray-600")}/>
|
224
224
|
<label htmlFor="radio-json"
|
225
225
|
className="p-2 text-sm font-medium text-gray-900 dark:text-slate-300">JSON</label>
|
226
226
|
</div>
|
@@ -231,7 +231,7 @@ export function ExportCollectionAction<M extends Record<string, any>, UserType e
|
|
231
231
|
<input id="radio-timestamp" type="radio" value="timestamp" name="dateExportType"
|
232
232
|
checked={dateExportType === "timestamp"}
|
233
233
|
onChange={() => setDateExportType("timestamp")}
|
234
|
-
className={
|
234
|
+
className={cls(focusedMixin, "w-4 text-primary-dark bg-gray-100 border-gray-300 dark:bg-gray-700 dark:border-gray-600")}/>
|
235
235
|
<label htmlFor="radio-timestamp"
|
236
236
|
className="p-2 text-sm font-medium text-gray-900 dark:text-slate-300">Dates as
|
237
237
|
timestamps ({dateRef.current.getTime()})</label>
|
@@ -240,7 +240,7 @@ export function ExportCollectionAction<M extends Record<string, any>, UserType e
|
|
240
240
|
<input id="radio-string" type="radio" value="string" name="dateExportType"
|
241
241
|
checked={dateExportType === "string"}
|
242
242
|
onChange={() => setDateExportType("string")}
|
243
|
-
className={
|
243
|
+
className={cls(focusedMixin, "w-4 text-primary-dark bg-gray-100 border-gray-300 dark:bg-gray-700 dark:border-gray-600")}/>
|
244
244
|
<label htmlFor="radio-string"
|
245
245
|
className="p-2 text-sm font-medium text-gray-900 dark:text-slate-300">Dates as
|
246
246
|
strings ({dateRef.current.toISOString()})</label>
|
@@ -18,7 +18,7 @@ import {
|
|
18
18
|
} from "@firecms/core";
|
19
19
|
import {
|
20
20
|
Button,
|
21
|
-
|
21
|
+
cls,
|
22
22
|
defaultBorderMixin,
|
23
23
|
Dialog,
|
24
24
|
DialogActions,
|
@@ -342,7 +342,7 @@ export function PropertySelectEntry({
|
|
342
342
|
className="flex flex-row w-full text-start items-center h-full">
|
343
343
|
|
344
344
|
{new Array(level).fill(0).map((_, index) =>
|
345
|
-
<div className={
|
345
|
+
<div className={cls(defaultBorderMixin, "ml-8 border-l h-12")} key={index}/>)}
|
346
346
|
|
347
347
|
<div className={"m-4"}>
|
348
348
|
<Tooltip title={widget?.name}>
|