@mcurros2/microm 1.1.159-0 → 1.1.161-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.js CHANGED
@@ -33821,10 +33821,15 @@ var $726hz = parcelRequire("726hz");
33821
33821
  const $9987aca4488b336f$export$cfa3d1bdbe24a61 = {
33822
33822
  addingRecords: "Adding records...",
33823
33823
  confirmContent: "Do you wish to add the selected records?",
33824
- showActions: false
33824
+ showActions: false,
33825
+ enableAdd: false,
33826
+ enableEdit: false,
33827
+ enableDelete: false,
33828
+ enableView: false,
33829
+ enableExport: false
33825
33830
  };
33826
33831
  function $9987aca4488b336f$export$deb93aade685e98(props) {
33827
- const { lookupEntity: lookupEntity, viewName: viewName, onOK: onOK, addingRecords: addingRecords, title: title, onCancel: onCancel, onActionFinished: onActionFinished, runOnOpen: runOnOpen, confirmContent: confirmContent, showActions: showActions } = (0, $b4te3$mantinecore.useComponentDefaultProps)('LookupFormAction', $9987aca4488b336f$export$cfa3d1bdbe24a61, props);
33832
+ const { lookupEntity: lookupEntity, viewName: viewName, onOK: onOK, addingRecords: addingRecords, title: title, onCancel: onCancel, onActionFinished: onActionFinished, runOnOpen: runOnOpen, confirmContent: confirmContent, showActions: showActions, enableAdd: enableAdd, enableEdit: enableEdit, enableDelete: enableDelete, enableView: enableView, enableExport: enableExport } = (0, $b4te3$mantinecore.useComponentDefaultProps)('LookupFormAction', $9987aca4488b336f$export$cfa3d1bdbe24a61, props);
33828
33833
  const modal = (0, $k7qj2.useModal)();
33829
33834
  const LookpIcon = lookupEntity.Icon ?? (0, $b4te3$tablericonsreact.IconBoxMultiple);
33830
33835
  const labels = (0, $kjFvY.DataGridDefaultProps).labels;
@@ -33835,9 +33840,12 @@ function $9987aca4488b336f$export$deb93aade685e98(props) {
33835
33840
  limit: "10000",
33836
33841
  refreshOnInit: true,
33837
33842
  selectionMode: 'multi',
33838
- enableAdd: false,
33839
- enableEdit: false,
33840
- enableDelete: false,
33843
+ enableAdd: enableAdd,
33844
+ enableEdit: enableEdit,
33845
+ enableDelete: enableDelete,
33846
+ enableView: enableView,
33847
+ enableExport: enableExport,
33848
+ enableImport: false,
33841
33849
  parentKeys: lookupEntity.parentKeys,
33842
33850
  showActions: showActions
33843
33851
  },