ps-toolkit-ui 1.10.26 → 1.10.28
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/bundles/ps-toolkit-ui.umd.js +5 -6
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/form.class.js +1 -2
- package/esm2015/lib/components/form/index/form.component.js +4 -2
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +1 -3
- package/fesm2015/ps-toolkit-ui.js +3 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1746,7 +1746,6 @@
|
|
|
1746
1746
|
};
|
|
1747
1747
|
FormClass.prototype.clearInputs = function () {
|
|
1748
1748
|
this.inputs.filter(function (x) { return x.type !== exports.InputType.Constant; }).forEach(function (inp) {
|
|
1749
|
-
console.log(inp, '$$$$$$$$$');
|
|
1750
1749
|
inp.clear();
|
|
1751
1750
|
});
|
|
1752
1751
|
};
|
|
@@ -4349,9 +4348,11 @@
|
|
|
4349
4348
|
var lastInp = this.form.inputs.map(function (x) { return x.type !== exports.InputType.Submit && x.type !== exports.InputType.Button &&
|
|
4350
4349
|
x.type !== exports.InputType.Label && x.type !== exports.InputType.Hidden && !x.disabled && x.visible; }).lastIndexOf(true);
|
|
4351
4350
|
if (index === lastInp && action === 'Enter') {
|
|
4352
|
-
var
|
|
4353
|
-
if (
|
|
4354
|
-
|
|
4351
|
+
var submit_1 = this.form.inputs.find(function (x) { return x.type === exports.InputType.Submit; });
|
|
4352
|
+
if (submit_1) {
|
|
4353
|
+
setTimeout(function () {
|
|
4354
|
+
submit_1.onClick(submit_1);
|
|
4355
|
+
}, 1000);
|
|
4355
4356
|
return;
|
|
4356
4357
|
}
|
|
4357
4358
|
}
|
|
@@ -5972,7 +5973,6 @@
|
|
|
5972
5973
|
this.inp.setValue = function (v) {
|
|
5973
5974
|
_this.inp.value = v != null ? v.toString() : '';
|
|
5974
5975
|
_this.cValue = _this.inp.value;
|
|
5975
|
-
console.log(_this.inp, _this.inp.value, 'this.inp.value $$$$$$$$$');
|
|
5976
5976
|
};
|
|
5977
5977
|
this.inp.focus = function (changeIndex) {
|
|
5978
5978
|
if (changeIndex === void 0) { changeIndex = false; }
|
|
@@ -6065,7 +6065,6 @@
|
|
|
6065
6065
|
this.inp.clear = function () {
|
|
6066
6066
|
_this.inp.error = null;
|
|
6067
6067
|
_this.inp.setValue(_this.inp.default, false);
|
|
6068
|
-
console.log(_this.inp, _this.inp.default, 'this.inp.default $$$$$$$$$');
|
|
6069
6068
|
};
|
|
6070
6069
|
this.inp.data = function () {
|
|
6071
6070
|
var v = _this.inp.value;
|