@firecms/data_import_export 3.0.0-canary.9 → 3.0.0-canary.90

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.
Files changed (45) hide show
  1. package/LICENSE +114 -21
  2. package/README.md +1 -1
  3. package/dist/index.d.ts +2 -4
  4. package/dist/index.es.js +13 -995
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/index.umd.js +29 -2
  7. package/dist/index.umd.js.map +1 -1
  8. package/dist/useImportExportPlugin.d.ts +6 -4
  9. package/package.json +18 -34
  10. package/src/index.ts +2 -4
  11. package/src/useImportExportPlugin.tsx +11 -7
  12. package/dist/components/DataNewPropertiesMapping.d.ts +0 -15
  13. package/dist/components/ImportFileUpload.d.ts +0 -3
  14. package/dist/components/ImportNewPropertyFieldPreview.d.ts +0 -10
  15. package/dist/components/ImportSaveInProgress.d.ts +0 -8
  16. package/dist/components/index.d.ts +0 -4
  17. package/dist/export_import/ExportCollectionAction.d.ts +0 -11
  18. package/dist/export_import/ImportCollectionAction.d.ts +0 -15
  19. package/dist/export_import/export.d.ts +0 -10
  20. package/dist/hooks/index.d.ts +0 -1
  21. package/dist/hooks/useImportConfig.d.ts +0 -2
  22. package/dist/types/column_mapping.d.ts +0 -22
  23. package/dist/types/index.d.ts +0 -1
  24. package/dist/utils/data.d.ts +0 -11
  25. package/dist/utils/file_to_json.d.ts +0 -11
  26. package/dist/utils/get_import_inference_type.d.ts +0 -2
  27. package/dist/utils/get_properties_mapping.d.ts +0 -3
  28. package/dist/utils/index.d.ts +0 -4
  29. package/src/components/DataNewPropertiesMapping.tsx +0 -128
  30. package/src/components/ImportFileUpload.tsx +0 -34
  31. package/src/components/ImportNewPropertyFieldPreview.tsx +0 -55
  32. package/src/components/ImportSaveInProgress.tsx +0 -122
  33. package/src/components/index.ts +0 -4
  34. package/src/export_import/ExportCollectionAction.tsx +0 -252
  35. package/src/export_import/ImportCollectionAction.tsx +0 -442
  36. package/src/export_import/export.ts +0 -200
  37. package/src/hooks/index.ts +0 -1
  38. package/src/hooks/useImportConfig.tsx +0 -28
  39. package/src/types/column_mapping.ts +0 -32
  40. package/src/types/index.ts +0 -1
  41. package/src/utils/data.ts +0 -223
  42. package/src/utils/file_to_json.ts +0 -88
  43. package/src/utils/get_import_inference_type.ts +0 -27
  44. package/src/utils/get_properties_mapping.ts +0 -59
  45. package/src/utils/index.ts +0 -4
package/LICENSE CHANGED
@@ -1,21 +1,114 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 FireCMS
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ Business Source License 1.1
2
+
3
+ Parameters
4
+
5
+ Licensor: Firecms S.L.
6
+ Licensed Work: Firecms CMS packages:
7
+ cli
8
+ collection_editor
9
+ collection_editor_firebase
10
+ data_enhancement
11
+ data_export
12
+ data_export
13
+ editor
14
+ firecms_cloud
15
+ schema_inference
16
+ user_management
17
+
18
+ The Licensed Work is (c) 2024 Firecms S.L
19
+ Additional Use Grant: You may make use of the Licensed Work, provided that
20
+ you may not use the Licensed Work for a CMS Data Enhancement
21
+ Service.
22
+
23
+ A “CMS package” is a commercial offering that
24
+ allows third parties (other than your employees and
25
+ contractors) to access the functionality of the
26
+ Licensed Work by using software to extend the base features of
27
+ content management system controlled by such third parties.
28
+
29
+ Change Date: Four years from the date the Licensed Work is published.
30
+
31
+ Change License: MIT
32
+
33
+ For information about alternative licensing arrangements for the Software,
34
+ please visit: https://firecms.co
35
+
36
+ Notice
37
+
38
+ The Business Source License (this document, or the “License”) is not an Open
39
+ Source license. However, the Licensed Work will eventually be made available
40
+ under an Open Source License, as stated in this License.
41
+
42
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
43
+ “Business Source License” is a trademark of MariaDB Corporation Ab.
44
+
45
+ -----------------------------------------------------------------------------
46
+
47
+ Business Source License 1.1
48
+
49
+ Terms
50
+
51
+ The Licensor hereby grants you the right to copy, modify, create derivative
52
+ works, redistribute, and make non-production use of the Licensed Work. The
53
+ Licensor may make an Additional Use Grant, above, permitting limited
54
+ production use.
55
+
56
+ Effective on the Change Date, or the fourth anniversary of the first publicly
57
+ available distribution of a specific version of the Licensed Work under this
58
+ License, whichever comes first, the Licensor hereby grants you rights under
59
+ the terms of the Change License, and the rights granted in the paragraph
60
+ above terminate.
61
+
62
+ If your use of the Licensed Work does not comply with the requirements
63
+ currently in effect as described in this License, you must purchase a
64
+ commercial license from the Licensor, its affiliated entities, or authorized
65
+ resellers, or you must refrain from using the Licensed Work.
66
+
67
+ All copies of the original and modified Licensed Work, and derivative works
68
+ of the Licensed Work, are subject to this License. This License applies
69
+ separately for each version of the Licensed Work and the Change Date may vary
70
+ for each version of the Licensed Work released by Licensor.
71
+
72
+ You must conspicuously display this License on each original or modified copy
73
+ of the Licensed Work. If you receive the Licensed Work in original or
74
+ modified form from a third party, the terms and conditions set forth in this
75
+ License apply to your use of that work.
76
+
77
+ Any use of the Licensed Work in violation of this License will automatically
78
+ terminate your rights under this License for the current and all other
79
+ versions of the Licensed Work.
80
+
81
+ This License does not grant you any right in any trademark or logo of
82
+ Licensor or its affiliates (provided that you may use a trademark or logo of
83
+ Licensor as expressly required by this License).
84
+
85
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
86
+ AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
87
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
88
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
89
+ TITLE.
90
+
91
+ MariaDB hereby grants you permission to use this License’s text to license
92
+ your works, and to refer to it using the trademark “Business Source License”,
93
+ as long as you comply with the Covenants of Licensor below.
94
+
95
+ Covenants of Licensor
96
+
97
+ In consideration of the right to use this License’s text and the “Business
98
+ Source License” name and trademark, Licensor covenants to MariaDB, and to all
99
+ other recipients of the licensed work to be provided by Licensor:
100
+
101
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
102
+ or a license that is compatible with GPL Version 2.0 or a later version,
103
+ where “compatible” means that software provided under the Change License can
104
+ be included in a program with software provided under GPL Version 2.0 or a
105
+ later version. Licensor may specify additional Change Licenses without
106
+ limitation.
107
+
108
+ 2. To either: (a) specify an additional grant of rights to use that does not
109
+ impose any additional restriction on the right granted in this License, as
110
+ the Additional Use Grant; or (b) insert the text “None”.
111
+
112
+ 3. To specify a Change Date.
113
+
114
+ 4. Not to modify this License in any other way.
package/README.md CHANGED
@@ -26,7 +26,7 @@ No need to add any subscription key or anything like that.
26
26
  import React from "react";
27
27
  import { FirebaseCMSApp } from "@firecms/core";
28
28
  import "typeface-rubik";
29
- import "@fontsource/ibm-plex-mono";
29
+ import "@fontsource/jetbrains-mono";
30
30
 
31
31
  import { useDataImportPlugin } from "@firecms/data_import_export";
32
32
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
1
  export * from "./useImportExportPlugin";
2
- export * from "./components";
3
- export * from "./types";
4
- export * from "./utils";
5
- export * from "./hooks";
2
+ export * from "@firecms/data_export";
3
+ export * from "@firecms/data_import";