ps-toolkit-ui 1.3.69 → 1.3.72
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 -2
- 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 +2 -1
- package/esm2015/lib/components/form/car/form.car.component.js +3 -1
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +3 -3
- package/fesm2015/ps-toolkit-ui.js +5 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1737,6 +1737,7 @@
|
|
|
1737
1737
|
this.url = null;
|
|
1738
1738
|
this.queryParams = null;
|
|
1739
1739
|
this.urlNewTab = false;
|
|
1740
|
+
this.placeholder = null;
|
|
1740
1741
|
this.addNew = false;
|
|
1741
1742
|
this.description = null;
|
|
1742
1743
|
this.disabled = false;
|
|
@@ -4636,8 +4637,9 @@
|
|
|
4636
4637
|
});
|
|
4637
4638
|
FormPlaqueComponent.prototype.ngOnInit = function () {
|
|
4638
4639
|
var _this = this;
|
|
4640
|
+
console.log(this.inp.placeholder, 'this.inp.placeholder');
|
|
4639
4641
|
this.part1 = new InputClass(this.inp.environment, this.inp.l, 'Part1', null, exports.InputType.Number, 'plaque-part-1 plaque-part-item', null, true);
|
|
4640
|
-
this.part2 = new InputClass(this.inp.environment, this.inp.l, 'Part2', null, exports.InputType.Select, 'plaque-part-2 plaque-part-item',
|
|
4642
|
+
this.part2 = new InputClass(this.inp.environment, this.inp.l, 'Part2', null, exports.InputType.Select, 'plaque-part-2 plaque-part-item', this.inp.placeholder, true);
|
|
4641
4643
|
this.part3 = new InputClass(this.inp.environment, this.inp.l, 'Part3', null, exports.InputType.Number, 'plaque-part-3 plaque-part-item', null, true);
|
|
4642
4644
|
this.part4 = new InputClass(this.inp.environment, this.inp.l, 'Part4', null, exports.InputType.Number, 'plaque-part-4 plaque-part-item', null, true, 10, 99);
|
|
4643
4645
|
this.part2.options = this.alphas.map(function (x) { return new OptionClass(x, x); });
|
|
@@ -4761,7 +4763,6 @@
|
|
|
4761
4763
|
};
|
|
4762
4764
|
};
|
|
4763
4765
|
FormPlaqueComponent.prototype.changeFocus = function (p, a) {
|
|
4764
|
-
console.log(this.inp.type, p, a);
|
|
4765
4766
|
if (this.inp.type === exports.InputType.Plaque) {
|
|
4766
4767
|
if (p === 'Part1') {
|
|
4767
4768
|
if (a === 'Tab' || a === 'Enter') {
|
|
@@ -6618,6 +6619,8 @@
|
|
|
6618
6619
|
this.carF = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-earth-asia', exports.InputType.PlaqueF, 'plaque-inp', null, this.inp.required);
|
|
6619
6620
|
this.motor = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item', 'fa-motorcycle', exports.InputType.PlaqueM, 'plaque-inp', null, this.inp.required);
|
|
6620
6621
|
this.car.displayLabel = this.carF.displayLabel = this.motor.displayLabel = false;
|
|
6622
|
+
this.car.placeholder = this.inp.placeholder;
|
|
6623
|
+
console.log(this.car.placeholder, 'this.car.placeholder');
|
|
6621
6624
|
this.inp.setValue = function (v) {
|
|
6622
6625
|
if (v != null) {
|
|
6623
6626
|
if (v.split('_').length === 2 && v.split('_').some(function (x) { return !isNaN(parseInt(x, 10)); })) {
|