@mcurros2/microm 1.1.53-0 → 1.1.55-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 +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36461,12 +36461,13 @@ const $55dd21617ac1c7dc$export$8d0177ff9f5686ad = {
|
|
|
36461
36461
|
showActions: true,
|
|
36462
36462
|
showToolbar: true,
|
|
36463
36463
|
showDeleteOnlyWhenMultiselect: true,
|
|
36464
|
-
withModalFullscreenButton: true
|
|
36464
|
+
withModalFullscreenButton: true,
|
|
36465
|
+
CardRowAlign: "flex-start"
|
|
36465
36466
|
};
|
|
36466
36467
|
const $55dd21617ac1c7dc$export$5e15d737b33a1c27 = /*#__PURE__*/ (0, $b4te3$react.forwardRef)(function DataView(props, ref) {
|
|
36467
36468
|
var _a;
|
|
36468
36469
|
props = (0, $b4te3$mantinecore.useComponentDefaultProps)("DataView", $55dd21617ac1c7dc$export$8d0177ff9f5686ad, props);
|
|
36469
|
-
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;
|
|
36470
|
+
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, CardRowAlign: CardRowAlign } = props;
|
|
36470
36471
|
const [searchData, setSearchData] = (0, $b4te3$react.useState)(search === null || search === void 0 ? void 0 : search.map((s)=>{
|
|
36471
36472
|
return {
|
|
36472
36473
|
value: s,
|
|
@@ -36576,6 +36577,7 @@ const $55dd21617ac1c7dc$export$5e15d737b33a1c27 = /*#__PURE__*/ (0, $b4te3$react
|
|
|
36576
36577
|
children: labels === null || labels === void 0 ? void 0 : labels.noRecordsFoundLabel
|
|
36577
36578
|
}),
|
|
36578
36579
|
dataViewAPI.data.length > 0 && (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Group), {
|
|
36580
|
+
align: CardRowAlign,
|
|
36579
36581
|
children: CardContainer && entity && dataViewAPI.data.map((record, index)=>{
|
|
36580
36582
|
return (0, $b4te3$reactjsxruntime.jsx)(CardContainer, {
|
|
36581
36583
|
record: record,
|
|
@@ -36655,7 +36657,7 @@ const $1ac999cc924a9b5d$export$d13f8a6d57c9f999 = {
|
|
|
36655
36657
|
};
|
|
36656
36658
|
function $1ac999cc924a9b5d$export$a1905d17a14ce215(props) {
|
|
36657
36659
|
var _a, _b, _c;
|
|
36658
|
-
const { recordIndex: recordIndex, selected: selected, handleDeleteClick: handleDeleteClick, handleDeselectRecord: handleDeselectRecord, handleEditClick: handleEditClick, handleSelectRecord: handleSelectRecord, handleViewClick: handleViewClick, enableDelete: enableDelete, enableEdit: enableEdit, enableView: enableView, entity: entity, record: record, toggleSelectable: toggleSelectable, EntityCard: EntityCard, CardProps: CardProps, refreshView: refreshView, handleCardClick: handleCardClick, cardHrefRootURL: cardHrefRootURL, cardHrefTarget: cardHrefTarget } = (0, $b4te3$mantinecore.useComponentDefaultProps)("DataViewCardContainer", $1ac999cc924a9b5d$export$d13f8a6d57c9f999, props);
|
|
36660
|
+
const { recordIndex: recordIndex, selected: selected, handleDeleteClick: handleDeleteClick, handleDeselectRecord: handleDeselectRecord, handleEditClick: handleEditClick, handleSelectRecord: handleSelectRecord, handleViewClick: handleViewClick, enableDelete: enableDelete, enableEdit: enableEdit, enableView: enableView, entity: entity, record: record, toggleSelectable: toggleSelectable, EntityCard: EntityCard, CardProps: CardProps, refreshView: refreshView, handleCardClick: handleCardClick, cardHrefRootURL: cardHrefRootURL, cardHrefTarget: cardHrefTarget, handleExecuteAction: handleExecuteAction } = (0, $b4te3$mantinecore.useComponentDefaultProps)("DataViewCardContainer", $1ac999cc924a9b5d$export$d13f8a6d57c9f999, props);
|
|
36659
36661
|
const theme = (0, $b4te3$mantinecore.useMantineTheme)();
|
|
36660
36662
|
const editElement = (0, $b4te3$react.useRef)(null);
|
|
36661
36663
|
const deleteElement = (0, $b4te3$react.useRef)(null);
|
|
@@ -36686,6 +36688,7 @@ function $1ac999cc924a9b5d$export$a1905d17a14ce215(props) {
|
|
|
36686
36688
|
handleEditClick: handleEditClick,
|
|
36687
36689
|
handleViewClick: handleViewClick,
|
|
36688
36690
|
handleCardClick: handleCardClick,
|
|
36691
|
+
handleExecuteAction: handleExecuteAction,
|
|
36689
36692
|
selected: selected,
|
|
36690
36693
|
toggleSelectable: toggleSelectable,
|
|
36691
36694
|
refreshView: refreshView,
|