@linzjs/step-ag-grid 7.3.0 → 7.3.1

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
@@ -3401,7 +3401,7 @@ var GridFormDropDown = function (props) {
3401
3401
  return [2 /*return*/];
3402
3402
  });
3403
3403
  }); }
3404
- } }, { children: item.subComponent && (jsxRuntime.jsx(item.subComponent, {}, "".concat(fieldToString(field), "-").concat(index, "_subcomponent_inner"))) }))); } }), "".concat(item.label, "_subcomponent")))] }, "menu-wrapper-".concat(index)));
3404
+ } }, { children: item.subComponent && (jsxRuntime.jsx("div", __assign({ className: "subComponent" }, { children: jsxRuntime.jsx(item.subComponent, {}, "".concat(fieldToString(field), "-").concat(index, "_subcomponent_inner")) }))) }))); } }), "".concat(item.label, "_subcomponent")))] }, "menu-wrapper-".concat(index)));
3405
3405
  })] }) }))] }));
3406
3406
  };
3407
3407
 
@@ -3772,7 +3772,7 @@ var MenuSubComponent = function (props) {
3772
3772
  subComponentIsValid["".concat(item.value)] = valid;
3773
3773
  },
3774
3774
  triggerSave: triggerSave
3775
- } }, { children: jsxRuntime.jsx(item.subComponent, {}) })));
3775
+ } }, { children: jsxRuntime.jsx("div", __assign({ className: "subComponent" }, { children: jsxRuntime.jsx(item.subComponent, {}) })) })));
3776
3776
  } }), "".concat(item.value, "_subcomponent")));
3777
3777
  };
3778
3778
 
@@ -3918,7 +3918,7 @@ var GridFormPopoverMenu = function (props) {
3918
3918
  subComponentIsValid.current = valid;
3919
3919
  },
3920
3920
  triggerSave: triggerSave
3921
- } }, { children: jsxRuntime.jsx(item.subComponent, {}) })));
3921
+ } }, { children: jsxRuntime.jsx("div", __assign({ className: "subComponent" }, { children: jsxRuntime.jsx(item.subComponent, {}) })) })));
3922
3922
  } }), "".concat(item.label, "_subcomponent")))] }, "".concat(item.label))));
3923
3923
  }) }) })));
3924
3924
  };
@@ -4340,7 +4340,7 @@ var GridFormSubComponentTextArea = function (props) {
4340
4340
  React.useEffect(function () {
4341
4341
  setValid(value != null && invalid() == null);
4342
4342
  }, [setValid, invalid, value]);
4343
- return (jsxRuntime.jsx("div", __assign({ className: clsx("FreeTextInput LuiDeprecatedForms", props.className) }, { children: jsxRuntime.jsx(TextAreaInput, { className: "free-text-input", value: value, onChange: function (e) { return setValue(e.target.value); }, error: invalid(), helpText: helpText, autoFocus: true, placeholder: props.placeholder }) })));
4343
+ return (jsxRuntime.jsx("div", __assign({ className: clsx("FreeTextInput", props.className) }, { children: jsxRuntime.jsx(TextAreaInput, { className: "free-text-input", value: value, onChange: function (e) { return setValue(e.target.value); }, error: invalid(), helpText: helpText, autoFocus: true, placeholder: props.placeholder }) })));
4344
4344
  };
4345
4345
 
4346
4346
  var css_248z = ".ActionButton{align-items:center;display:flex}.ActionButton-minimal{padding-right:38px!important}.ActionButton .LuiIcon{margin:0 4px!important}.ActionButton-minimalArea{position:relative}.ActionButton-minimalAreaDisplay{position:absolute}.ActionButton-minimalAreaExpand{visibility:hidden}.ActionButton-inProgress{background-color:#e2f3f7!important;color:#007198!important;cursor:progress}.ActionButton-inProgress svg *{fill:#0000!important}.ActionButton-fill{justify-content:center;width:100%}";
@@ -24474,14 +24474,14 @@ var editCell = function (rowId, colId, within) { return __awaiter(void 0, void 0
24474
24474
  case 1:
24475
24475
  cell = _a.sent();
24476
24476
  userEvent.dblClick(cell);
24477
- return [4 /*yield*/, findOpenMenu()];
24478
- case 2:
24479
- _a.sent();
24480
24477
  return [2 /*return*/];
24481
24478
  }
24482
24479
  });
24483
24480
  }); })];
24484
24481
  case 1:
24482
+ _a.sent();
24483
+ return [4 /*yield*/, findOpenMenu()];
24484
+ case 2:
24485
24485
  _a.sent();
24486
24486
  return [2 /*return*/];
24487
24487
  }
@@ -24522,7 +24522,7 @@ var findMenuOption = function (menuOptionText) { return __awaiter(void 0, void 0
24522
24522
  return [2 /*return*/, menuOption];
24523
24523
  }
24524
24524
  });
24525
- }); })];
24525
+ }); }, { timeout: 10000 })];
24526
24526
  case 1: return [2 /*return*/, _a.sent()];
24527
24527
  }
24528
24528
  });
@@ -24554,8 +24554,11 @@ var openAndClickMenuOption = function (rowId, colId, menuOptionText, within) { r
24554
24554
  case 0: return [4 /*yield*/, editCell(rowId, colId, within)];
24555
24555
  case 1:
24556
24556
  _a.sent();
24557
- return [4 /*yield*/, clickMenuOption(menuOptionText)];
24557
+ return [4 /*yield*/, wait$2(100)];
24558
24558
  case 2:
24559
+ _a.sent();
24560
+ return [4 /*yield*/, clickMenuOption(menuOptionText)];
24561
+ case 3:
24559
24562
  _a.sent();
24560
24563
  return [2 /*return*/];
24561
24564
  }
@@ -24608,7 +24611,7 @@ var typeOtherInput = function (value) { return __awaiter(void 0, void 0, void 0,
24608
24611
  case 0: return [4 /*yield*/, findOpenMenu()];
24609
24612
  case 1:
24610
24613
  openMenu = _a.sent();
24611
- return [4 /*yield*/, findQuick({ tagName: "input[type='text']" }, openMenu)];
24614
+ return [4 /*yield*/, findQuick({ classes: ".subComponent", child: { tagName: "input[type='text']" } }, openMenu)];
24612
24615
  case 2:
24613
24616
  otherInput = _a.sent();
24614
24617
  userEvent.type(otherInput, value);
@@ -24623,7 +24626,7 @@ var typeOtherTextArea = function (value) { return __awaiter(void 0, void 0, void
24623
24626
  case 0: return [4 /*yield*/, findOpenMenu()];
24624
24627
  case 1:
24625
24628
  openMenu = _a.sent();
24626
- return [4 /*yield*/, findQuick({ tagName: "textarea" }, openMenu)];
24629
+ return [4 /*yield*/, findQuick({ classes: ".subComponent", child: { tagName: "textarea" } }, openMenu)];
24627
24630
  case 2:
24628
24631
  otherTextArea = _a.sent();
24629
24632
  userEvent.type(otherTextArea, value);