@firecms/core 3.0.0-canary.270 → 3.0.0-canary.272
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 +6 -12
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +6 -12
- package/dist/index.umd.js.map +1 -1
- package/dist/types/collections.d.ts +2 -0
- package/package.json +5 -5
- package/src/components/SelectableTable/filters/StringNumberFilterField.tsx +1 -1
- package/src/components/common/useColumnsIds.tsx +1 -8
- package/src/types/collections.ts +2 -0
package/dist/index.es.js
CHANGED
|
@@ -9878,21 +9878,15 @@ function useColumnIds(collection, includeSubcollections) {
|
|
|
9878
9878
|
let t0;
|
|
9879
9879
|
bb0: {
|
|
9880
9880
|
if (collection.propertiesOrder) {
|
|
9881
|
-
let
|
|
9881
|
+
let t12;
|
|
9882
9882
|
if ($[0] !== collection) {
|
|
9883
|
-
|
|
9884
|
-
if (collection.collectionGroup) {
|
|
9885
|
-
propertyColumnConfigs.push({
|
|
9886
|
-
key: COLLECTION_GROUP_PARENT_ID,
|
|
9887
|
-
disabled: true
|
|
9888
|
-
});
|
|
9889
|
-
}
|
|
9883
|
+
t12 = hideAndExpandKeys(collection, collection.propertiesOrder);
|
|
9890
9884
|
$[0] = collection;
|
|
9891
|
-
$[1] =
|
|
9885
|
+
$[1] = t12;
|
|
9892
9886
|
} else {
|
|
9893
|
-
|
|
9887
|
+
t12 = $[1];
|
|
9894
9888
|
}
|
|
9895
|
-
t0 =
|
|
9889
|
+
t0 = t12;
|
|
9896
9890
|
break bb0;
|
|
9897
9891
|
}
|
|
9898
9892
|
let t1;
|
|
@@ -11166,7 +11160,7 @@ function StringNumberFilterField(t0) {
|
|
|
11166
11160
|
t7 = !enumValues && /* @__PURE__ */ jsx(TextField, { type: dataType === "number" ? "number" : void 0, value: internalValue !== void 0 && internalValue != null ? String(internalValue) : "", onChange: (evt) => {
|
|
11167
11161
|
const val_0 = dataType === "number" ? parseFloat(evt.target.value) : evt.target.value;
|
|
11168
11162
|
updateFilter(operation, val_0);
|
|
11169
|
-
}, endAdornment: internalValue && /* @__PURE__ */ jsx(IconButton, { onClick: (e) => updateFilter(operation, void 0), children: /* @__PURE__ */ jsx(CloseIcon, {}) }) });
|
|
11163
|
+
}, endAdornment: internalValue !== void 0 && internalValue != null && /* @__PURE__ */ jsx(IconButton, { onClick: (e) => updateFilter(operation, void 0), children: /* @__PURE__ */ jsx(CloseIcon, {}) }) });
|
|
11170
11164
|
$[20] = dataType;
|
|
11171
11165
|
$[21] = enumValues;
|
|
11172
11166
|
$[22] = internalValue;
|