ps-toolkit-ui 1.7.6 → 1.7.7
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 +0 -14
- 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 -7
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +1 -5
- package/esm2015/lib/components/form/select/form.select.component.js +1 -5
- package/fesm2015/ps-toolkit-ui.js +0 -14
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/form.class.d.ts +0 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
- package/src/assets/scripts/base.js +5 -0
|
@@ -1920,7 +1920,6 @@
|
|
|
1920
1920
|
this.allowed = null;
|
|
1921
1921
|
this.row = null;
|
|
1922
1922
|
this.rows = [];
|
|
1923
|
-
this.index = 0;
|
|
1924
1923
|
this.level = null;
|
|
1925
1924
|
this.modal = null;
|
|
1926
1925
|
this.nameFun = null;
|
|
@@ -1969,7 +1968,6 @@
|
|
|
1969
1968
|
if (u) {
|
|
1970
1969
|
this.options = [];
|
|
1971
1970
|
this.hover = -1;
|
|
1972
|
-
this.index = 0;
|
|
1973
1971
|
this.rows = [];
|
|
1974
1972
|
if (typeof u === 'string') {
|
|
1975
1973
|
if (!u.includes('{}')) {
|
|
@@ -2002,9 +2000,6 @@
|
|
|
2002
2000
|
this.setOptions(r);
|
|
2003
2001
|
}
|
|
2004
2002
|
}
|
|
2005
|
-
else if (this.options instanceof Array) {
|
|
2006
|
-
this.options.forEach(function (x) { return x.index = _this.index++; });
|
|
2007
|
-
}
|
|
2008
2003
|
};
|
|
2009
2004
|
InputClass.prototype.setOptions = function (r) {
|
|
2010
2005
|
var _this = this;
|
|
@@ -2035,7 +2030,6 @@
|
|
|
2035
2030
|
}
|
|
2036
2031
|
o.search = x.Search;
|
|
2037
2032
|
o.option = x;
|
|
2038
|
-
o.index = _this.index++;
|
|
2039
2033
|
o.options = tree ? _this.getOptions(r, x.Id) : [];
|
|
2040
2034
|
return o;
|
|
2041
2035
|
});
|
|
@@ -4642,9 +4636,6 @@
|
|
|
4642
4636
|
}
|
|
4643
4637
|
else if (code === 40) {
|
|
4644
4638
|
e.preventDefault();
|
|
4645
|
-
if (this.inp.hover + 1 >= this.inp.index) {
|
|
4646
|
-
return;
|
|
4647
|
-
}
|
|
4648
4639
|
this.inp.hover = this.getHover();
|
|
4649
4640
|
this.setHoverCenter();
|
|
4650
4641
|
}
|
|
@@ -4675,7 +4666,6 @@
|
|
|
4675
4666
|
if (this.inp.rel) {
|
|
4676
4667
|
this.inp.rel.value = null;
|
|
4677
4668
|
this.inp.rel.hover = -1;
|
|
4678
|
-
this.inp.rel.index = 0;
|
|
4679
4669
|
this.inp.rel.search = '';
|
|
4680
4670
|
this.inp.rel.options = [];
|
|
4681
4671
|
this.inp.rel.url = this.inp.relUrl.replace('{}', this.inp.value);
|
|
@@ -5436,9 +5426,6 @@
|
|
|
5436
5426
|
}
|
|
5437
5427
|
else if (code === 40) {
|
|
5438
5428
|
e.preventDefault();
|
|
5439
|
-
if (this.inp.hover + 1 >= this.inp.index) {
|
|
5440
|
-
return;
|
|
5441
|
-
}
|
|
5442
5429
|
this.inp.hover = this.getHover();
|
|
5443
5430
|
this.setHoverCenter();
|
|
5444
5431
|
}
|
|
@@ -5500,7 +5487,6 @@
|
|
|
5500
5487
|
if (this.inp.rel) {
|
|
5501
5488
|
this.inp.rel.value = null;
|
|
5502
5489
|
this.inp.rel.hover = -1;
|
|
5503
|
-
this.inp.rel.index = 0;
|
|
5504
5490
|
this.inp.rel.search = '';
|
|
5505
5491
|
this.inp.rel.options = [];
|
|
5506
5492
|
if (v !== null) {
|