@recursyve/nice-ui-kit.v2 14.0.0-beta.103 → 14.0.0-beta.105
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/esm2020/lib/components/base-form/base-form.component.mjs +3 -14
- package/esm2020/lib/components/base-form/nice-base.form.mjs +1 -1
- package/esm2020/lib/components/form-error/control-status.directive.mjs +2 -2
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs +2 -12
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs +2 -12
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/lib/components/base-form/base-form.component.d.ts +0 -1
- package/lib/components/base-form/nice-base.form.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3243,13 +3243,6 @@ class NiceBaseFormComponent {
|
|
|
3243
3243
|
this.unsubscribeAll$ = new Subject();
|
|
3244
3244
|
this.propagate = () => { };
|
|
3245
3245
|
}
|
|
3246
|
-
onChange(event) {
|
|
3247
|
-
if (event) {
|
|
3248
|
-
if (event.code === KeyboardCodes.Enter) {
|
|
3249
|
-
this.clickSubmit();
|
|
3250
|
-
}
|
|
3251
|
-
}
|
|
3252
|
-
}
|
|
3253
3246
|
ngOnInit() {
|
|
3254
3247
|
this.formGroup.valueChanges.pipe(takeUntil(this.unsubscribeAll$)).subscribe(() => {
|
|
3255
3248
|
this.onValueChange(this.formGroup.getRawValue());
|
|
@@ -3310,7 +3303,7 @@ class NiceBaseFormComponent {
|
|
|
3310
3303
|
}
|
|
3311
3304
|
}
|
|
3312
3305
|
NiceBaseFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: NiceBaseFormComponent, deps: [{ token: i1$4.GeneratedFormGroup }], target: i0.ɵɵFactoryTarget.Component });
|
|
3313
|
-
NiceBaseFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.3", type: NiceBaseFormComponent, selector: "ng-component", inputs: { loading: "loading" }, outputs: { submit: "submit" },
|
|
3306
|
+
NiceBaseFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.3", type: NiceBaseFormComponent, selector: "ng-component", inputs: { loading: "loading" }, outputs: { submit: "submit" }, viewQueries: [{ propertyName: "stepper", first: true, predicate: CdkStepper, descendants: true }], ngImport: i0, template: ``, isInline: true });
|
|
3314
3307
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImport: i0, type: NiceBaseFormComponent, decorators: [{
|
|
3315
3308
|
type: Component,
|
|
3316
3309
|
args: [{
|
|
@@ -3323,9 +3316,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.3", ngImpor
|
|
|
3323
3316
|
type: Input
|
|
3324
3317
|
}], submit: [{
|
|
3325
3318
|
type: Output
|
|
3326
|
-
}], onChange: [{
|
|
3327
|
-
type: HostListener,
|
|
3328
|
-
args: ["keyup", ["$event"]]
|
|
3329
3319
|
}] } });
|
|
3330
3320
|
|
|
3331
3321
|
class NiceFormSubmitDirective {
|
|
@@ -5265,7 +5255,7 @@ class NiceControlStatusDirective {
|
|
|
5265
5255
|
}
|
|
5266
5256
|
if (error === "max") {
|
|
5267
5257
|
param = {
|
|
5268
|
-
|
|
5258
|
+
max: this.control.errors[error].max,
|
|
5269
5259
|
actual: this.control.errors[error].actual
|
|
5270
5260
|
};
|
|
5271
5261
|
}
|