@linzjs/step-ag-grid 15.1.1 → 15.1.3
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/step-ag-grid.esm.js
CHANGED
|
@@ -28318,7 +28318,15 @@ const quickSelector = (props, container) => {
|
|
|
28318
28318
|
const matcher = getMatcher(lastIQueryQuick.text);
|
|
28319
28319
|
els = els.filter(matcher);
|
|
28320
28320
|
}
|
|
28321
|
-
return {
|
|
28321
|
+
return {
|
|
28322
|
+
selector: [
|
|
28323
|
+
selector,
|
|
28324
|
+
typeof lastIQueryQuick.text == "string" ? JSON.stringify(lastIQueryQuick.text) : lastIQueryQuick.text,
|
|
28325
|
+
]
|
|
28326
|
+
.filter((r) => r)
|
|
28327
|
+
.join(" "),
|
|
28328
|
+
els,
|
|
28329
|
+
};
|
|
28322
28330
|
};
|
|
28323
28331
|
/**
|
|
28324
28332
|
* Query by filter.
|
|
@@ -28352,7 +28360,7 @@ const queryAllQuick = (filter, container) => quickSelector(filter, container)?.e
|
|
|
28352
28360
|
const getAllQuick = (filter, container) => {
|
|
28353
28361
|
const els = queryAllQuick(filter, container);
|
|
28354
28362
|
if (els.length == 0) {
|
|
28355
|
-
throw Error(`getAllQuick not found, selector: ${quickSelector(filter)}`);
|
|
28363
|
+
throw Error(`getAllQuick not found, selector: ${quickSelector(filter).selector}`);
|
|
28356
28364
|
}
|
|
28357
28365
|
return els;
|
|
28358
28366
|
};
|
|
@@ -28522,8 +28530,8 @@ const typeInputByPlaceholder = async (value, placeholder) => typeInput(value, {
|
|
|
28522
28530
|
});
|
|
28523
28531
|
const typeOtherInput = async (value) => typeInput(value, { classes: ".subComponent", child: { tagName: "input[type='text']" } });
|
|
28524
28532
|
const typeOtherTextArea = async (value) => typeInput(value, { classes: ".subComponent", child: { tagName: "textarea" } });
|
|
28525
|
-
const closeMenu = () =>
|
|
28526
|
-
const closePopover = () =>
|
|
28533
|
+
const closeMenu = () => user.click(document.body);
|
|
28534
|
+
const closePopover = () => user.click(document.body);
|
|
28527
28535
|
const findActionButton = (text, container) => findQuick({ tagName: "button", child: { classes: ".ActionButton-minimalAreaDisplay", text: text } }, container);
|
|
28528
28536
|
const clickActionButton = async (text, container) => {
|
|
28529
28537
|
const button = await findActionButton(text, container);
|