@firecms/collection_editor 3.0.0-canary.127 → 3.0.0-canary.128
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 +5 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +8 -8
- package/src/ui/HomePageEditorCollectionAction.tsx +2 -2
- package/src/ui/collection_editor/PropertyEditView.tsx +6 -6
- package/src/ui/collection_editor/SubcollectionsEditTab.tsx +11 -11
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { FieldCaption, SearchIconsView, toSnakeCase, singular, IconForView, ArrayContainer, serializeRegExp, useSnackbarController, resolveEnumValues, isPropertyBuilder, useCustomizationController, getFieldConfig, ErrorBoundary, PropertyConfigBadge, unslugify, useNavigationController, mergeDeep, DEFAULT_FIELD_CONFIGS, isValidRegExp, getFieldId,
|
|
2
|
+
import { FieldCaption, SearchIconsView, toSnakeCase, singular, IconForView, ArrayContainer, serializeRegExp, useSnackbarController, resolveEnumValues, isPropertyBuilder, useCustomizationController, getFieldConfig, ErrorBoundary, PropertyConfigBadge, unslugify, useNavigationController, mergeDeep, DEFAULT_FIELD_CONFIGS, isValidRegExp, getFieldId, ConfirmationDialog, useLargeLayout, makePropertiesEditable, resolveEntityView, useSelectionController, CircularProgressCenter, EntityCollectionTable, slugify, useAuthController, randomString, removeUndefined, ErrorView, removeInitialAndTrailingSlashes, getDefaultPropertiesOrder, joinCollectionLists } from "@firecms/core";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import React__default, { useContext, useState, useEffect, useMemo, useRef, useDeferredValue, useCallback } from "react";
|
|
5
5
|
import equal from "react-fast-compare";
|
|
@@ -3550,7 +3550,7 @@ function PropertyEditFormFields({
|
|
|
3550
3550
|
/* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(AdvancedPropertyValidation, { disabled }) })
|
|
3551
3551
|
] }),
|
|
3552
3552
|
onDelete && /* @__PURE__ */ jsx(
|
|
3553
|
-
|
|
3553
|
+
ConfirmationDialog,
|
|
3554
3554
|
{
|
|
3555
3555
|
open: deleteDialogOpen,
|
|
3556
3556
|
onAccept: () => onDelete(values?.id, propertyNamespace),
|
|
@@ -4347,7 +4347,7 @@ function SubcollectionsEditTab({
|
|
|
4347
4347
|
] }) }),
|
|
4348
4348
|
/* @__PURE__ */ jsx("div", { style: { height: "52px" } }),
|
|
4349
4349
|
subcollectionToDelete && /* @__PURE__ */ jsx(
|
|
4350
|
-
|
|
4350
|
+
ConfirmationDialog,
|
|
4351
4351
|
{
|
|
4352
4352
|
open: Boolean(subcollectionToDelete),
|
|
4353
4353
|
onAccept: () => {
|
|
@@ -4371,7 +4371,7 @@ function SubcollectionsEditTab({
|
|
|
4371
4371
|
}
|
|
4372
4372
|
),
|
|
4373
4373
|
viewToDelete && /* @__PURE__ */ jsx(
|
|
4374
|
-
|
|
4374
|
+
ConfirmationDialog,
|
|
4375
4375
|
{
|
|
4376
4376
|
open: Boolean(viewToDelete),
|
|
4377
4377
|
onAccept: () => {
|
|
@@ -6306,7 +6306,7 @@ function HomePageEditorCollectionAction({
|
|
|
6306
6306
|
)
|
|
6307
6307
|
] }),
|
|
6308
6308
|
/* @__PURE__ */ jsx(
|
|
6309
|
-
|
|
6309
|
+
ConfirmationDialog,
|
|
6310
6310
|
{
|
|
6311
6311
|
open: deleteRequested,
|
|
6312
6312
|
onAccept: deleteCollection,
|