@linzjs/step-ag-grid 7.16.5 → 7.16.6
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
|
@@ -24791,7 +24791,7 @@ var typeInput = function (value, filter) { return __awaiter(void 0, void 0, void
|
|
|
24791
24791
|
var typeOnlyInput = function (value) { return __awaiter(void 0, void 0, void 0, function () {
|
|
24792
24792
|
return __generator(this, function (_a) {
|
|
24793
24793
|
switch (_a.label) {
|
|
24794
|
-
case 0: return [4 /*yield*/, typeInput(value, { child: { tagName: "input[type='text']" } })];
|
|
24794
|
+
case 0: return [4 /*yield*/, typeInput(value, { child: { tagName: "input[type='text'], textarea" } })];
|
|
24795
24795
|
case 1:
|
|
24796
24796
|
_a.sent();
|
|
24797
24797
|
return [2 /*return*/];
|
|
@@ -24799,7 +24799,7 @@ var typeOnlyInput = function (value) { return __awaiter(void 0, void 0, void 0,
|
|
|
24799
24799
|
});
|
|
24800
24800
|
}); };
|
|
24801
24801
|
var typeInputByLabel = function (value, labelText) { return __awaiter(void 0, void 0, void 0, function () {
|
|
24802
|
-
var labels;
|
|
24802
|
+
var labels, inputId;
|
|
24803
24803
|
return __generator(this, function (_a) {
|
|
24804
24804
|
switch (_a.label) {
|
|
24805
24805
|
case 0:
|
|
@@ -24810,7 +24810,8 @@ var typeInputByLabel = function (value, labelText) { return __awaiter(void 0, vo
|
|
|
24810
24810
|
if (labels.length > 1) {
|
|
24811
24811
|
throw Error("Multiple labels found for text: ".concat(labelText));
|
|
24812
24812
|
}
|
|
24813
|
-
|
|
24813
|
+
inputId = labels[0].getAttribute("for");
|
|
24814
|
+
return [4 /*yield*/, typeInput(value, { child: { tagName: "input[id='".concat(inputId, "'], textarea[id='").concat(inputId, "']") } })];
|
|
24814
24815
|
case 1:
|
|
24815
24816
|
_a.sent();
|
|
24816
24817
|
return [2 /*return*/];
|
|
@@ -24820,7 +24821,9 @@ var typeInputByLabel = function (value, labelText) { return __awaiter(void 0, vo
|
|
|
24820
24821
|
var typeInputByPlaceholder = function (value, placeholder) { return __awaiter(void 0, void 0, void 0, function () {
|
|
24821
24822
|
return __generator(this, function (_a) {
|
|
24822
24823
|
switch (_a.label) {
|
|
24823
|
-
case 0: return [4 /*yield*/, typeInput(value, {
|
|
24824
|
+
case 0: return [4 /*yield*/, typeInput(value, {
|
|
24825
|
+
child: { tagName: "input[placeholder='".concat(placeholder, "'], textarea[placeholder='").concat(placeholder, "']") }
|
|
24826
|
+
})];
|
|
24824
24827
|
case 1:
|
|
24825
24828
|
_a.sent();
|
|
24826
24829
|
return [2 /*return*/];
|