@firecms/collection_editor 3.3.0-canary.451aa49 → 3.3.0-canary.5906216
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 +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/config_controller.d.ts +9 -1
- package/dist/ui/AddKanbanColumnAction.d.ts +2 -1
- package/dist/ui/CollectionViewHeaderAction.d.ts +2 -1
- package/dist/ui/EditorCollectionAction.d.ts +1 -1
- package/dist/ui/EditorCollectionActionStart.d.ts +1 -1
- package/dist/ui/EditorEntityAction.d.ts +1 -1
- package/dist/ui/HomePageEditorCollectionAction.d.ts +1 -1
- package/dist/ui/KanbanSetupAction.d.ts +2 -1
- package/dist/ui/MissingReferenceWidget.d.ts +1 -1
- package/dist/ui/NewCollectionButton.d.ts +1 -1
- package/dist/ui/NewCollectionCard.d.ts +1 -1
- package/dist/ui/PropertyAddColumnComponent.d.ts +1 -1
- package/dist/ui/collection_editor/AICollectionGeneratorPopover.d.ts +1 -1
- package/dist/ui/collection_editor/AIModifiedPathsContext.d.ts +1 -1
- package/dist/ui/collection_editor/CollectionDetailsForm.d.ts +2 -1
- package/dist/ui/collection_editor/CollectionEditorDialog.d.ts +2 -2
- package/dist/ui/collection_editor/CollectionEditorWelcomeView.d.ts +2 -2
- package/dist/ui/collection_editor/CollectionJsonImportDialog.d.ts +2 -1
- package/dist/ui/collection_editor/CollectionPropertiesEditorForm.d.ts +1 -1
- package/dist/ui/collection_editor/DisplaySettingsForm.d.ts +2 -1
- package/dist/ui/collection_editor/EntityActionsEditTab.d.ts +2 -1
- package/dist/ui/collection_editor/EntityActionsSelectDialog.d.ts +2 -1
- package/dist/ui/collection_editor/EntityCustomViewsSelectDialog.d.ts +2 -1
- package/dist/ui/collection_editor/EnumForm.d.ts +2 -1
- package/dist/ui/collection_editor/ExtendSettingsForm.d.ts +2 -1
- package/dist/ui/collection_editor/GeneralSettingsForm.d.ts +2 -1
- package/dist/ui/collection_editor/GetCodeDialog.d.ts +2 -1
- package/dist/ui/collection_editor/KanbanConfigSection.d.ts +2 -1
- package/dist/ui/collection_editor/LayoutModeSwitch.d.ts +1 -1
- package/dist/ui/collection_editor/PropertyEditView.d.ts +2 -2
- package/dist/ui/collection_editor/PropertyFieldPreview.d.ts +2 -2
- package/dist/ui/collection_editor/PropertyTree.d.ts +2 -2
- package/dist/ui/collection_editor/SubcollectionsEditTab.d.ts +2 -1
- package/dist/ui/collection_editor/SwitchControl.d.ts +2 -1
- package/dist/ui/collection_editor/UnsavedChangesDialog.d.ts +1 -1
- package/dist/ui/collection_editor/ViewModeSwitch.d.ts +1 -1
- package/dist/ui/collection_editor/import/CollectionEditorImportDataPreview.d.ts +1 -1
- package/dist/ui/collection_editor/import/CollectionEditorImportMapping.d.ts +3 -2
- package/dist/ui/collection_editor/properties/BlockPropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/BooleanPropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/DateTimePropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/EnumPropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/KeyValuePropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/MapPropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/MarkdownPropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/NumberPropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/ReferencePropertyField.d.ts +3 -2
- package/dist/ui/collection_editor/properties/RepeatPropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/StoragePropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/StringPropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/UrlPropertyField.d.ts +2 -1
- package/dist/ui/collection_editor/properties/advanced/AdvancedPropertyValidation.d.ts +2 -1
- package/dist/ui/collection_editor/properties/conditions/ConditionsEditor.d.ts +2 -1
- package/dist/ui/collection_editor/properties/conditions/ConditionsPanel.d.ts +1 -1
- package/dist/ui/collection_editor/properties/conditions/EnumConditionsEditor.d.ts +2 -1
- package/dist/ui/collection_editor/properties/validation/ArrayPropertyValidation.d.ts +2 -1
- package/dist/ui/collection_editor/properties/validation/GeneralPropertyValidation.d.ts +2 -1
- package/dist/ui/collection_editor/properties/validation/NumberPropertyValidation.d.ts +2 -1
- package/dist/ui/collection_editor/properties/validation/StringPropertyValidation.d.ts +2 -1
- package/dist/ui/collection_editor/properties/validation/ValidationPanel.d.ts +1 -1
- package/dist/useCollectionEditorPlugin.d.ts +1 -1
- package/package.json +14 -8
- package/src/types/config_controller.tsx +8 -1
- package/src/ui/collection_editor/CollectionPropertiesEditorForm.tsx +2 -2
package/dist/index.es.js
CHANGED
|
@@ -12147,7 +12147,7 @@ function CollectionPropertiesEditorForm({
|
|
|
12147
12147
|
/* @__PURE__ */ jsx(Button, { className: "mt-8 w-full", size: "large", onClick: () => setNewPropertyDialogOpen(true), startIcon: /* @__PURE__ */ jsx(AddIcon, {}), children: t("add_new_property") })
|
|
12148
12148
|
] }),
|
|
12149
12149
|
!asDialog && /* @__PURE__ */ jsx("div", { className: "col-span-12 lg:col-span-7 p-4 md:py-8 md:px-4 h-full overflow-auto pb-20 md:pb-20", children: /* @__PURE__ */ jsxs("div", { className: "sticky top-8 min-h-full w-full flex flex-col justify-center", children: [
|
|
12150
|
-
selectedPropertyFullId && selectedProperty && !isPropertyBuilder(selectedProperty) && /* @__PURE__ */ jsx(PropertyForm, { inArray: false, existingProperty: !isNewCollection, autoUpdateId: false, allowDataInference: !isNewCollection, autoOpenTypeSelect: false, propertyKey: selectedPropertyKey, propertyNamespace: selectedPropertyNamespace, property: selectedProperty, onPropertyChanged, onDelete: deleteProperty, onError: onPropertyErrorInternal, forceShowErrors: showErrors, initialErrors, getData, propertyConfigs, collectionEditable, collectionProperties: values.properties }, `edit_view_${
|
|
12150
|
+
selectedPropertyFullId && selectedProperty && !isPropertyBuilder(selectedProperty) && /* @__PURE__ */ jsx(PropertyForm, { inArray: false, existingProperty: !isNewCollection, autoUpdateId: false, allowDataInference: !isNewCollection, autoOpenTypeSelect: false, propertyKey: selectedPropertyKey, propertyNamespace: selectedPropertyNamespace, property: selectedProperty, onPropertyChanged, onDelete: deleteProperty, onError: onPropertyErrorInternal, forceShowErrors: showErrors, initialErrors, getData, propertyConfigs, collectionEditable, collectionProperties: values.properties }, `edit_view_${selectedPropertyFullId}_${generationCounter}`),
|
|
12151
12151
|
!selectedProperty && /* @__PURE__ */ jsxs("div", { className: "w-full flex flex-col items-center justify-center h-full gap-4", children: [
|
|
12152
12152
|
/* @__PURE__ */ jsx(Typography, { variant: "label", className: "", children: emptyCollection ? t("add_first_property") : t("select_property_to_edit") }),
|
|
12153
12153
|
/* @__PURE__ */ jsxs(Button, { onClick: () => setNewPropertyDialogOpen(true), children: [
|
|
@@ -12157,7 +12157,7 @@ function CollectionPropertiesEditorForm({
|
|
|
12157
12157
|
] }),
|
|
12158
12158
|
selectedProperty && isPropertyBuilder(selectedProperty) && /* @__PURE__ */ jsx(Typography, { variant: "label", className: "flex items-center justify-center", children: t("property_defined_as_builder") })
|
|
12159
12159
|
] }) }),
|
|
12160
|
-
asDialog && /* @__PURE__ */ jsx(PropertyFormDialog, { inArray: false, open: selectedPropertyIndex !== void 0, autoUpdateId: !selectedProperty, allowDataInference: !isNewCollection, existingProperty: true, autoOpenTypeSelect: false, propertyKey: selectedPropertyKey, propertyNamespace: selectedPropertyNamespace, property: selectedProperty, onPropertyChanged, onDelete: deleteProperty, onError: onPropertyErrorInternal, forceShowErrors: showErrors, initialErrors, getData, propertyConfigs, collectionEditable, collectionProperties: values.properties, onCancel: closePropertyDialog, onOkClicked: asDialog ? closePropertyDialog : void 0 }, `edit_view_${
|
|
12160
|
+
asDialog && /* @__PURE__ */ jsx(PropertyFormDialog, { inArray: false, open: selectedPropertyIndex !== void 0, autoUpdateId: !selectedProperty, allowDataInference: !isNewCollection, existingProperty: true, autoOpenTypeSelect: false, propertyKey: selectedPropertyKey, propertyNamespace: selectedPropertyNamespace, property: selectedProperty, onPropertyChanged, onDelete: deleteProperty, onError: onPropertyErrorInternal, forceShowErrors: showErrors, initialErrors, getData, propertyConfigs, collectionEditable, collectionProperties: values.properties, onCancel: closePropertyDialog, onOkClicked: asDialog ? closePropertyDialog : void 0 }, `edit_view_${selectedPropertyFullId}_${generationCounter}`)
|
|
12161
12161
|
] });
|
|
12162
12162
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12163
12163
|
body,
|