@mcurros2/microm 1.1.35-0 → 1.1.37-0
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.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32756,7 +32756,7 @@ function $dedc41fffbcb9b37$export$ee9dff5c41556888(props) {
|
|
|
32756
32756
|
return (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Box), {
|
|
32757
32757
|
children: (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$mantinecore.Group), {
|
|
32758
32758
|
children: [
|
|
32759
|
-
enableAdd && onAddClick && (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
|
|
32759
|
+
enableAdd && onAddClick && parentFormMode !== "view" && (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
|
|
32760
32760
|
size: buttonsSize,
|
|
32761
32761
|
ref: addElement,
|
|
32762
32762
|
variant: actionsButtonVariant,
|
|
@@ -32765,7 +32765,7 @@ function $dedc41fffbcb9b37$export$ee9dff5c41556888(props) {
|
|
|
32765
32765
|
}),
|
|
32766
32766
|
children: addLabel
|
|
32767
32767
|
}),
|
|
32768
|
-
enableEdit && onEditClick && (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
|
|
32768
|
+
enableEdit && onEditClick && parentFormMode !== "view" && (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
|
|
32769
32769
|
size: buttonsSize,
|
|
32770
32770
|
ref: editElement,
|
|
32771
32771
|
variant: actionsButtonVariant,
|
|
@@ -32774,7 +32774,7 @@ function $dedc41fffbcb9b37$export$ee9dff5c41556888(props) {
|
|
|
32774
32774
|
}),
|
|
32775
32775
|
children: editLabel
|
|
32776
32776
|
}),
|
|
32777
|
-
enableDelete && onDeleteClick && (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
|
|
32777
|
+
enableDelete && onDeleteClick && parentFormMode !== "view" && (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Button), {
|
|
32778
32778
|
size: buttonsSize,
|
|
32779
32779
|
ref: deleteElement,
|
|
32780
32780
|
variant: actionsButtonVariant,
|
|
@@ -36438,7 +36438,7 @@ const $55dd21617ac1c7dc$export$8d0177ff9f5686ad = {
|
|
|
36438
36438
|
const $55dd21617ac1c7dc$export$5e15d737b33a1c27 = /*#__PURE__*/ (0, $b4te3$react.forwardRef)(function DataView(props, ref) {
|
|
36439
36439
|
var _a;
|
|
36440
36440
|
props = (0, $b4te3$mantinecore.useComponentDefaultProps)("DataView", $55dd21617ac1c7dc$export$8d0177ff9f5686ad, props);
|
|
36441
|
-
const { entity: entity, autoFocus: autoFocus, toolbarIconVariant: toolbarIconVariant, actionsButtonVariant: actionsButtonVariant, enableAdd: enableAdd, enableEdit: enableEdit, enableDelete: enableDelete, enableView: enableView, enableExport: enableExport, labels: labels, Card: Card, CardContainer: CardContainer, limit: limit, search: search, viewName: viewName, filtersFormSize: filtersFormSize, toolbarSize: toolbarSize, showAppliedFilters: showAppliedFilters, showRefreshButton: showRefreshButton, hideCheckboxToggle: hideCheckboxToggle, showFiltersButton: showFiltersButton, searchPlaceholder: searchPlaceholder, showActions: showActions, parentKeys: parentKeys, visibleFilters: visibleFilters, setInitialFiltersFromColumns: setInitialFiltersFromColumns, cardHrefRootURL: cardHrefRootURL, cardHrefTarget: cardHrefTarget, showSearchInput: showSearchInput, showSelectRowsButton: showSelectRowsButton, showToolbar: showToolbar, showDeleteOnlyWhenMultiselect: showDeleteOnlyWhenMultiselect } = props;
|
|
36441
|
+
const { entity: entity, autoFocus: autoFocus, toolbarIconVariant: toolbarIconVariant, actionsButtonVariant: actionsButtonVariant, enableAdd: enableAdd, enableEdit: enableEdit, enableDelete: enableDelete, enableView: enableView, enableExport: enableExport, labels: labels, Card: Card, CardContainer: CardContainer, limit: limit, search: search, viewName: viewName, filtersFormSize: filtersFormSize, toolbarSize: toolbarSize, showAppliedFilters: showAppliedFilters, showRefreshButton: showRefreshButton, hideCheckboxToggle: hideCheckboxToggle, showFiltersButton: showFiltersButton, searchPlaceholder: searchPlaceholder, showActions: showActions, parentKeys: parentKeys, visibleFilters: visibleFilters, setInitialFiltersFromColumns: setInitialFiltersFromColumns, cardHrefRootURL: cardHrefRootURL, cardHrefTarget: cardHrefTarget, showSearchInput: showSearchInput, showSelectRowsButton: showSelectRowsButton, showToolbar: showToolbar, showDeleteOnlyWhenMultiselect: showDeleteOnlyWhenMultiselect, parentFormAPI: parentFormAPI, formMode: formMode } = props;
|
|
36442
36442
|
const [searchData, setSearchData] = (0, $b4te3$react.useState)(search === null || search === void 0 ? void 0 : search.map((s)=>{
|
|
36443
36443
|
return {
|
|
36444
36444
|
value: s,
|
|
@@ -36505,7 +36505,8 @@ const $55dd21617ac1c7dc$export$5e15d737b33a1c27 = /*#__PURE__*/ (0, $b4te3$react
|
|
|
36505
36505
|
enableView: false,
|
|
36506
36506
|
actionsButtonVariant: actionsButtonVariant,
|
|
36507
36507
|
clientActions: entity ? entity.def.clientActions : {},
|
|
36508
|
-
handleExecuteAction: dataViewAPI.handleExecuteAction
|
|
36508
|
+
handleExecuteAction: dataViewAPI.handleExecuteAction,
|
|
36509
|
+
parentFormMode: formMode || (parentFormAPI === null || parentFormAPI === void 0 ? void 0 : parentFormAPI.formMode)
|
|
36509
36510
|
})),
|
|
36510
36511
|
dataViewAPI.isLoading && (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$mantinecore.Group), {
|
|
36511
36512
|
children: [
|