@firecms/collection_editor 3.0.0-alpha.32 → 3.0.0-alpha.34

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 (114) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.es.js +320 -275
  3. package/dist/index.es.js.map +1 -1
  4. package/dist/index.umd.js +1 -1
  5. package/dist/index.umd.js.map +1 -1
  6. package/dist/ui/collection_editor/GetCodeDialog.d.ts +5 -0
  7. package/package.json +4 -4
  8. package/src/ConfigControllerProvider.tsx +2 -2
  9. package/src/index.ts +2 -2
  10. package/src/{components → ui}/collection_editor/CollectionPropertiesEditorForm.tsx +2 -49
  11. package/src/ui/collection_editor/GetCodeDialog.tsx +118 -0
  12. package/src/{components → ui}/collection_editor/PropertyFieldPreview.tsx +0 -4
  13. package/src/{components → ui}/collection_editor/PropertyTree.tsx +1 -1
  14. package/src/useCollectionEditorPlugin.tsx +6 -6
  15. package/src/utils/join_collections.ts +10 -2
  16. /package/dist/{components → ui}/CollectionViewHeaderAction.d.ts +0 -0
  17. /package/dist/{components → ui}/EditorCollectionAction.d.ts +0 -0
  18. /package/dist/{components → ui}/HomePageEditorCollectionAction.d.ts +0 -0
  19. /package/dist/{components → ui}/MissingReferenceWidget.d.ts +0 -0
  20. /package/dist/{components → ui}/NewCollectionCard.d.ts +0 -0
  21. /package/dist/{components → ui}/PropertyAddColumnComponent.d.ts +0 -0
  22. /package/dist/{components → ui}/RootCollectionSuggestions.d.ts +0 -0
  23. /package/dist/{components → ui}/collection_editor/CollectionDetailsForm.d.ts +0 -0
  24. /package/dist/{components → ui}/collection_editor/CollectionEditorDialog.d.ts +0 -0
  25. /package/dist/{components → ui}/collection_editor/CollectionEditorWelcomeView.d.ts +0 -0
  26. /package/dist/{components → ui}/collection_editor/CollectionPropertiesEditorForm.d.ts +0 -0
  27. /package/dist/{components → ui}/collection_editor/CollectionYupValidation.d.ts +0 -0
  28. /package/dist/{components → ui}/collection_editor/EntityCustomViewsSelectDialog.d.ts +0 -0
  29. /package/dist/{components → ui}/collection_editor/EnumForm.d.ts +0 -0
  30. /package/dist/{components → ui}/collection_editor/PropertyEditView.d.ts +0 -0
  31. /package/dist/{components → ui}/collection_editor/PropertyFieldPreview.d.ts +0 -0
  32. /package/dist/{components → ui}/collection_editor/PropertySelectItem.d.ts +0 -0
  33. /package/dist/{components → ui}/collection_editor/PropertyTree.d.ts +0 -0
  34. /package/dist/{components → ui}/collection_editor/SelectIcons.d.ts +0 -0
  35. /package/dist/{components → ui}/collection_editor/SubcollectionsEditTab.d.ts +0 -0
  36. /package/dist/{components → ui}/collection_editor/UnsavedChangesDialog.d.ts +0 -0
  37. /package/dist/{components → ui}/collection_editor/import/CollectionEditorImportDataPreview.d.ts +0 -0
  38. /package/dist/{components → ui}/collection_editor/import/CollectionEditorImportMapping.d.ts +0 -0
  39. /package/dist/{components → ui}/collection_editor/import/clean_import_data.d.ts +0 -0
  40. /package/dist/{components → ui}/collection_editor/properties/BlockPropertyField.d.ts +0 -0
  41. /package/dist/{components → ui}/collection_editor/properties/BooleanPropertyField.d.ts +0 -0
  42. /package/dist/{components → ui}/collection_editor/properties/CommonPropertyFields.d.ts +0 -0
  43. /package/dist/{components → ui}/collection_editor/properties/DateTimePropertyField.d.ts +0 -0
  44. /package/dist/{components → ui}/collection_editor/properties/EnumPropertyField.d.ts +0 -0
  45. /package/dist/{components → ui}/collection_editor/properties/FieldHelperView.d.ts +0 -0
  46. /package/dist/{components → ui}/collection_editor/properties/KeyValuePropertyField.d.ts +0 -0
  47. /package/dist/{components → ui}/collection_editor/properties/MapPropertyField.d.ts +0 -0
  48. /package/dist/{components → ui}/collection_editor/properties/NumberPropertyField.d.ts +0 -0
  49. /package/dist/{components → ui}/collection_editor/properties/ReferencePropertyField.d.ts +0 -0
  50. /package/dist/{components → ui}/collection_editor/properties/RepeatPropertyField.d.ts +0 -0
  51. /package/dist/{components → ui}/collection_editor/properties/StoragePropertyField.d.ts +0 -0
  52. /package/dist/{components → ui}/collection_editor/properties/StringPropertyField.d.ts +0 -0
  53. /package/dist/{components → ui}/collection_editor/properties/advanced/AdvancedPropertyValidation.d.ts +0 -0
  54. /package/dist/{components → ui}/collection_editor/properties/validation/ArrayPropertyValidation.d.ts +0 -0
  55. /package/dist/{components → ui}/collection_editor/properties/validation/GeneralPropertyValidation.d.ts +0 -0
  56. /package/dist/{components → ui}/collection_editor/properties/validation/NumberPropertyValidation.d.ts +0 -0
  57. /package/dist/{components → ui}/collection_editor/properties/validation/StringPropertyValidation.d.ts +0 -0
  58. /package/dist/{components → ui}/collection_editor/properties/validation/ValidationPanel.d.ts +0 -0
  59. /package/dist/{components → ui}/collection_editor/templates/blog_template.d.ts +0 -0
  60. /package/dist/{components → ui}/collection_editor/templates/products_template.d.ts +0 -0
  61. /package/dist/{components → ui}/collection_editor/templates/users_template.d.ts +0 -0
  62. /package/dist/{components → ui}/collection_editor/util.d.ts +0 -0
  63. /package/dist/{components → ui}/collection_editor/utils/strings.d.ts +0 -0
  64. /package/dist/{components → ui}/collection_editor/utils/supported_fields.d.ts +0 -0
  65. /package/dist/{components → ui}/collection_editor/utils/update_property_for_widget.d.ts +0 -0
  66. /package/dist/{components → ui}/collection_editor/utils/useTraceUpdate.d.ts +0 -0
  67. /package/src/{components → ui}/CollectionViewHeaderAction.tsx +0 -0
  68. /package/src/{components → ui}/EditorCollectionAction.tsx +0 -0
  69. /package/src/{components → ui}/HomePageEditorCollectionAction.tsx +0 -0
  70. /package/src/{components → ui}/MissingReferenceWidget.tsx +0 -0
  71. /package/src/{components → ui}/NewCollectionCard.tsx +0 -0
  72. /package/src/{components → ui}/PropertyAddColumnComponent.tsx +0 -0
  73. /package/src/{components → ui}/RootCollectionSuggestions.tsx +0 -0
  74. /package/src/{components → ui}/collection_editor/CollectionDetailsForm.tsx +0 -0
  75. /package/src/{components → ui}/collection_editor/CollectionEditorDialog.tsx +0 -0
  76. /package/src/{components → ui}/collection_editor/CollectionEditorWelcomeView.tsx +0 -0
  77. /package/src/{components → ui}/collection_editor/CollectionYupValidation.tsx +0 -0
  78. /package/src/{components → ui}/collection_editor/EntityCustomViewsSelectDialog.tsx +0 -0
  79. /package/src/{components → ui}/collection_editor/EnumForm.tsx +0 -0
  80. /package/src/{components → ui}/collection_editor/PropertyEditView.tsx +0 -0
  81. /package/src/{components → ui}/collection_editor/PropertySelectItem.tsx +0 -0
  82. /package/src/{components → ui}/collection_editor/SelectIcons.tsx +0 -0
  83. /package/src/{components → ui}/collection_editor/SubcollectionsEditTab.tsx +0 -0
  84. /package/src/{components → ui}/collection_editor/UnsavedChangesDialog.tsx +0 -0
  85. /package/src/{components → ui}/collection_editor/import/CollectionEditorImportDataPreview.tsx +0 -0
  86. /package/src/{components → ui}/collection_editor/import/CollectionEditorImportMapping.tsx +0 -0
  87. /package/src/{components → ui}/collection_editor/import/clean_import_data.ts +0 -0
  88. /package/src/{components → ui}/collection_editor/properties/BlockPropertyField.tsx +0 -0
  89. /package/src/{components → ui}/collection_editor/properties/BooleanPropertyField.tsx +0 -0
  90. /package/src/{components → ui}/collection_editor/properties/CommonPropertyFields.tsx +0 -0
  91. /package/src/{components → ui}/collection_editor/properties/DateTimePropertyField.tsx +0 -0
  92. /package/src/{components → ui}/collection_editor/properties/EnumPropertyField.tsx +0 -0
  93. /package/src/{components → ui}/collection_editor/properties/FieldHelperView.tsx +0 -0
  94. /package/src/{components → ui}/collection_editor/properties/KeyValuePropertyField.tsx +0 -0
  95. /package/src/{components → ui}/collection_editor/properties/MapPropertyField.tsx +0 -0
  96. /package/src/{components → ui}/collection_editor/properties/NumberPropertyField.tsx +0 -0
  97. /package/src/{components → ui}/collection_editor/properties/ReferencePropertyField.tsx +0 -0
  98. /package/src/{components → ui}/collection_editor/properties/RepeatPropertyField.tsx +0 -0
  99. /package/src/{components → ui}/collection_editor/properties/StoragePropertyField.tsx +0 -0
  100. /package/src/{components → ui}/collection_editor/properties/StringPropertyField.tsx +0 -0
  101. /package/src/{components → ui}/collection_editor/properties/advanced/AdvancedPropertyValidation.tsx +0 -0
  102. /package/src/{components → ui}/collection_editor/properties/validation/ArrayPropertyValidation.tsx +0 -0
  103. /package/src/{components → ui}/collection_editor/properties/validation/GeneralPropertyValidation.tsx +0 -0
  104. /package/src/{components → ui}/collection_editor/properties/validation/NumberPropertyValidation.tsx +0 -0
  105. /package/src/{components → ui}/collection_editor/properties/validation/StringPropertyValidation.tsx +0 -0
  106. /package/src/{components → ui}/collection_editor/properties/validation/ValidationPanel.tsx +0 -0
  107. /package/src/{components → ui}/collection_editor/templates/blog_template.ts +0 -0
  108. /package/src/{components → ui}/collection_editor/templates/products_template.ts +0 -0
  109. /package/src/{components → ui}/collection_editor/templates/users_template.ts +0 -0
  110. /package/src/{components → ui}/collection_editor/util.ts +0 -0
  111. /package/src/{components → ui}/collection_editor/utils/strings.ts +0 -0
  112. /package/src/{components → ui}/collection_editor/utils/supported_fields.tsx +0 -0
  113. /package/src/{components → ui}/collection_editor/utils/update_property_for_widget.ts +0 -0
  114. /package/src/{components → ui}/collection_editor/utils/useTraceUpdate.tsx +0 -0
package/dist/index.d.ts CHANGED
@@ -7,5 +7,5 @@ export type { CollectionEditorController } from "./types/collection_editor_contr
7
7
  export type { CollectionEditorPermissions, CollectionEditorPermissionsBuilder } from "./types/config_permissions";
8
8
  export type { PersistedCollection } from "./types/persisted_collection";
9
9
  export type { CollectionInference } from "./types/collection_inference";
10
- export { MissingReferenceWidget } from "./components/MissingReferenceWidget";
11
- export * from "./components/collection_editor/util";
10
+ export { MissingReferenceWidget } from "./ui/MissingReferenceWidget";
11
+ export * from "./ui/collection_editor/util";