ps-toolkit-ui 1.12.85 → 1.12.87
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 +6 -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/components/form/select/form.select.component.js +2 -2
- package/esm2015/lib/components/steps/steps.component.js +6 -6
- package/fesm2015/ps-toolkit-ui.js +6 -6
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2596,17 +2596,17 @@
|
|
|
2596
2596
|
};
|
|
2597
2597
|
StepsComponent.prototype.ngOnInit = function () {
|
|
2598
2598
|
var _this = this;
|
|
2599
|
-
this.saveNext = new InputClass(this.steps.environment, this.steps.l, 'SaveNext', 'fa-duotone fa-arrow-left', exports.InputType.Button, 'f-l w-25 h-25 green left-icon');
|
|
2599
|
+
this.saveNext = new InputClass(this.steps.environment, this.steps.l, 'SaveNext', 'fa-duotone fa-arrow-left', exports.InputType.Button, 'f-l w-1300-25 w-500-50 h-25 green left-icon');
|
|
2600
2600
|
this.saveNext.loadingName = this.steps.l('LoadingText', this.steps.l('Processing'));
|
|
2601
2601
|
this.saveNext.onClick = function () {
|
|
2602
2602
|
_this.nextStep(_this.saveNext);
|
|
2603
2603
|
};
|
|
2604
|
-
this.editNext = new InputClass(this.steps.environment, this.steps.l, 'EditNext', 'fa-duotone fa-arrow-left', exports.InputType.Button, 'f-l w-25 h-25 blue left-icon');
|
|
2604
|
+
this.editNext = new InputClass(this.steps.environment, this.steps.l, 'EditNext', 'fa-duotone fa-arrow-left', exports.InputType.Button, 'f-l w-1300-25 w-500-50 h-25 blue left-icon');
|
|
2605
2605
|
this.editNext.loadingName = this.steps.l('LoadingText', this.steps.l('Processing'));
|
|
2606
2606
|
this.editNext.onClick = function () {
|
|
2607
2607
|
_this.nextStep(_this.editNext);
|
|
2608
2608
|
};
|
|
2609
|
-
this.previous = new InputClass(this.steps.environment, this.steps.l, 'Previous', 'fa-duotone fa-arrow-right', exports.InputType.Button, 'f-r w-25 h-25 red');
|
|
2609
|
+
this.previous = new InputClass(this.steps.environment, this.steps.l, 'Previous', 'fa-duotone fa-arrow-right', exports.InputType.Button, 'f-r w-1300-25 w-500-50 h-25 red');
|
|
2610
2610
|
this.previous.onClick = function () {
|
|
2611
2611
|
var activeStepIndex = _this.steps.items.findIndex(function (x) { return x.active; });
|
|
2612
2612
|
var previousStepIndex = activeStepIndex - 1;
|
|
@@ -2615,11 +2615,11 @@
|
|
|
2615
2615
|
_this.changeStep(previous);
|
|
2616
2616
|
}
|
|
2617
2617
|
};
|
|
2618
|
-
this.saveDone = new InputClass(this.steps.environment, this.steps.l, 'SaveDone', 'fa-duotone fa-check', exports.InputType.Button, 'f-l w-25 h-25 green left-icon');
|
|
2618
|
+
this.saveDone = new InputClass(this.steps.environment, this.steps.l, 'SaveDone', 'fa-duotone fa-check', exports.InputType.Button, 'f-l w-1300-25 w-500-50 h-25 green left-icon');
|
|
2619
2619
|
this.saveDone.onClick = function () {
|
|
2620
2620
|
_this.nextStep(_this.saveDone, true);
|
|
2621
2621
|
};
|
|
2622
|
-
this.editDone = new InputClass(this.steps.environment, this.steps.l, 'EditDone', 'fa-duotone fa-check', exports.InputType.Button, 'f-l w-25 h-25 blue left-icon');
|
|
2622
|
+
this.editDone = new InputClass(this.steps.environment, this.steps.l, 'EditDone', 'fa-duotone fa-check', exports.InputType.Button, 'f-l w-1300-25 w-500-50 h-25 blue left-icon');
|
|
2623
2623
|
this.editDone.onClick = function () {
|
|
2624
2624
|
_this.nextStep(_this.editDone, true);
|
|
2625
2625
|
};
|
|
@@ -5548,7 +5548,7 @@
|
|
|
5548
5548
|
_this.inp.error = exports.InputError.Required;
|
|
5549
5549
|
return false;
|
|
5550
5550
|
}
|
|
5551
|
-
if (_this.inp.addNew && _this.inp.value == null && _this.inp.search != null && /^\d+$/.test(_this.inp.search.replace(/-/g, '').replace(/\./g, ''))) {
|
|
5551
|
+
if (_this.inp.addNew && _this.inp.value == null && _this.inp.search != null && !_this.inp.search.startsWith('0') && /^\d+$/.test(_this.inp.search.replace(/-/g, '').replace(/\./g, ''))) {
|
|
5552
5552
|
_this.inp.error = exports.InputError.Invalid;
|
|
5553
5553
|
return false;
|
|
5554
5554
|
}
|