@mcurros2/microm 1.1.244-0 → 1.1.246-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
@@ -43997,8 +43997,6 @@ $parcel$export(module.exports, "ACTMicromGetGeneratedCode", function () { return
43997
43997
 
43998
43998
 
43999
43999
 
44000
- parcelRequire("2eyXi");
44001
- var $iKzSR = parcelRequire("iKzSR");
44002
44000
  parcelRequire("l6Ov6");
44003
44001
  var $lpixK = parcelRequire("lpixK");
44004
44002
  const $05a35911b9ee1cc1$export$c4813e640ac43a7f = {
@@ -44016,10 +44014,10 @@ const $05a35911b9ee1cc1$export$b74e17f706abc590 = {
44016
44014
  icon: $05a35911b9ee1cc1$export$c4813e640ac43a7f.icon,
44017
44015
  showActionInViewMode: true,
44018
44016
  onClick: async ({ entity: entity, modal: modal, selectedKeys: selectedKeys, element: element })=>{
44019
- const apt = entity;
44020
- const code = new (0, $lpixK.MicromDeveloperToolsCodeGen)(apt.API.client);
44021
- (0, $iKzSR.setValues)(code.def.columns, apt.def.columns, null, true);
44022
- (0, $iKzSR.setValues)(code.def.columns, selectedKeys?.[0], null, true);
44017
+ const types = entity;
44018
+ const code = new (0, $lpixK.MicromDeveloperToolsCodeGen)(types.API.client);
44019
+ const selected = selectedKeys?.[0][types.def.columns.vc_entity_name.name];
44020
+ code.def.columns.vc_classname.value = selected || '';
44023
44021
  if (modal) await modal.open({
44024
44022
  modalProps: {
44025
44023
  title: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Text), {