@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.cjs.js
CHANGED
|
@@ -28339,7 +28339,15 @@ const quickSelector = (props, container) => {
|
|
|
28339
28339
|
const matcher = getMatcher(lastIQueryQuick.text);
|
|
28340
28340
|
els = els.filter(matcher);
|
|
28341
28341
|
}
|
|
28342
|
-
return {
|
|
28342
|
+
return {
|
|
28343
|
+
selector: [
|
|
28344
|
+
selector,
|
|
28345
|
+
typeof lastIQueryQuick.text == "string" ? JSON.stringify(lastIQueryQuick.text) : lastIQueryQuick.text,
|
|
28346
|
+
]
|
|
28347
|
+
.filter((r) => r)
|
|
28348
|
+
.join(" "),
|
|
28349
|
+
els,
|
|
28350
|
+
};
|
|
28343
28351
|
};
|
|
28344
28352
|
/**
|
|
28345
28353
|
* Query by filter.
|
|
@@ -28373,7 +28381,7 @@ const queryAllQuick = (filter, container) => quickSelector(filter, container)?.e
|
|
|
28373
28381
|
const getAllQuick = (filter, container) => {
|
|
28374
28382
|
const els = queryAllQuick(filter, container);
|
|
28375
28383
|
if (els.length == 0) {
|
|
28376
|
-
throw Error(`getAllQuick not found, selector: ${quickSelector(filter)}`);
|
|
28384
|
+
throw Error(`getAllQuick not found, selector: ${quickSelector(filter).selector}`);
|
|
28377
28385
|
}
|
|
28378
28386
|
return els;
|
|
28379
28387
|
};
|
|
@@ -28543,8 +28551,8 @@ const typeInputByPlaceholder = async (value, placeholder) => typeInput(value, {
|
|
|
28543
28551
|
});
|
|
28544
28552
|
const typeOtherInput = async (value) => typeInput(value, { classes: ".subComponent", child: { tagName: "input[type='text']" } });
|
|
28545
28553
|
const typeOtherTextArea = async (value) => typeInput(value, { classes: ".subComponent", child: { tagName: "textarea" } });
|
|
28546
|
-
const closeMenu = () =>
|
|
28547
|
-
const closePopover = () =>
|
|
28554
|
+
const closeMenu = () => user.click(document.body);
|
|
28555
|
+
const closePopover = () => user.click(document.body);
|
|
28548
28556
|
const findActionButton = (text, container) => findQuick({ tagName: "button", child: { classes: ".ActionButton-minimalAreaDisplay", text: text } }, container);
|
|
28549
28557
|
const clickActionButton = async (text, container) => {
|
|
28550
28558
|
const button = await findActionButton(text, container);
|