@rxap/forms 12.7.3 → 12.7.4
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/rxap-forms.umd.js +71 -65
- package/bundles/rxap-forms.umd.js.map +1 -1
- package/esm2015/lib/directives/form-control-error.directive.js +3 -3
- package/esm2015/lib/directives/form-control-error.directive.js.map +1 -1
- package/esm2015/lib/directives/form-control-mark-dirty.directive.js +3 -3
- package/esm2015/lib/directives/form-control-mark-dirty.directive.js.map +1 -1
- package/esm2015/lib/directives/form-control-mark-pristine.directive.js +3 -3
- package/esm2015/lib/directives/form-control-mark-pristine.directive.js.map +1 -1
- package/esm2015/lib/directives/form-control-mark-touched.directive.js +3 -3
- package/esm2015/lib/directives/form-control-mark-touched.directive.js.map +1 -1
- package/esm2015/lib/directives/form-control-mark-untouched.directive.js +3 -3
- package/esm2015/lib/directives/form-control-mark-untouched.directive.js.map +1 -1
- package/esm2015/lib/directives/form-control-name.directive.js +3 -3
- package/esm2015/lib/directives/form-control-name.directive.js.map +1 -1
- package/esm2015/lib/directives/form-group-name.directive.js +3 -3
- package/esm2015/lib/directives/form-group-name.directive.js.map +1 -1
- package/esm2015/lib/directives/form-loaded.directive.js +3 -3
- package/esm2015/lib/directives/form-loaded.directive.js.map +1 -1
- package/esm2015/lib/directives/form-loading-error.directive.js +3 -3
- package/esm2015/lib/directives/form-loading-error.directive.js.map +1 -1
- package/esm2015/lib/directives/form-loading.directive.js +3 -3
- package/esm2015/lib/directives/form-loading.directive.js.map +1 -1
- package/esm2015/lib/directives/form-submit-failed.directive.js +3 -3
- package/esm2015/lib/directives/form-submit-failed.directive.js.map +1 -1
- package/esm2015/lib/directives/form-submit-invalid.directive.js +3 -3
- package/esm2015/lib/directives/form-submit-invalid.directive.js.map +1 -1
- package/esm2015/lib/directives/form-submit-successful.directive.js +3 -3
- package/esm2015/lib/directives/form-submit-successful.directive.js.map +1 -1
- package/esm2015/lib/directives/form-submit.directive.js +3 -3
- package/esm2015/lib/directives/form-submit.directive.js.map +1 -1
- package/esm2015/lib/directives/form-submitting.directive.js +3 -3
- package/esm2015/lib/directives/form-submitting.directive.js.map +1 -1
- package/esm2015/lib/directives/form.directive.js +3 -3
- package/esm2015/lib/directives/form.directive.js.map +1 -1
- package/esm2015/lib/directives/forms.module.js +4 -4
- package/esm2015/lib/directives/forms.module.js.map +1 -1
- package/esm2015/lib/directives/parent-control-container.directive.js +3 -3
- package/esm2015/lib/directives/parent-control-container.directive.js.map +1 -1
- package/esm2015/lib/form-array.js +13 -4
- package/esm2015/lib/form-array.js.map +1 -1
- package/fesm2015/rxap-forms.js +68 -60
- package/fesm2015/rxap-forms.js.map +1 -1
- package/package.json +3 -3
- package/src/schematics/ng-add/index.js +1 -1
- package/src/schematics/ng-add/index.js.map +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/forms'), require('rxjs/operators'), require('rxjs'), require('@rxap/utilities'), require('@angular/core'), require('@rxap/definition'), require('@rxap/utilities/reflect-metadata'), require('@rxap/services'), require('@rxap/utilities/rxjs'), require('@angular/router'), require('@rxap/directives'), require('@rxap/validator')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@rxap/forms', ['exports', '@angular/forms', 'rxjs/operators', 'rxjs', '@rxap/utilities', '@angular/core', '@rxap/definition', '@rxap/utilities/reflect-metadata', '@rxap/services', '@rxap/utilities/rxjs', '@angular/router', '@rxap/directives', '@rxap/validator'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.rxap = global.rxap || {}, global.rxap.forms = {}), global.ng.forms, global.rxjs.operators, global.rxjs, global.utilities, global.ng.core, global.definition, global.reflectMetadata, global.i2, global.rxjs$1, global.ng.router, global.directives, global.validator));
|
|
5
|
-
}(this, (function (exports, i1, operators, rxjs, utilities, i0, definition, reflectMetadata, i2, rxjs$1, i2$1, directives, validator) { 'use strict';
|
|
5
|
+
})(this, (function (exports, i1, operators, rxjs, utilities, i0, definition, reflectMetadata, i2, rxjs$1, i2$1, directives, validator) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -13,14 +13,12 @@
|
|
|
13
13
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
14
|
Object.defineProperty(n, k, d.get ? d : {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return e[k];
|
|
18
|
-
}
|
|
16
|
+
get: function () { return e[k]; }
|
|
19
17
|
});
|
|
20
18
|
}
|
|
21
19
|
});
|
|
22
20
|
}
|
|
23
|
-
n[
|
|
21
|
+
n["default"] = e;
|
|
24
22
|
return Object.freeze(n);
|
|
25
23
|
}
|
|
26
24
|
|
|
@@ -506,7 +504,9 @@
|
|
|
506
504
|
return _super.prototype.getRawValue.call(this);
|
|
507
505
|
};
|
|
508
506
|
RxapFormArray.prototype.insert = function (index, control) {
|
|
509
|
-
|
|
507
|
+
if (i0.isDevMode()) {
|
|
508
|
+
console.warn('It is not recommend to use the FormArray.insert method');
|
|
509
|
+
}
|
|
510
510
|
return _super.prototype.insert.call(this, index, control);
|
|
511
511
|
};
|
|
512
512
|
/**
|
|
@@ -588,7 +588,9 @@
|
|
|
588
588
|
return hasErrorAndDirty(this, errorCode, path);
|
|
589
589
|
};
|
|
590
590
|
RxapFormArray.prototype.removeAt = function (index) {
|
|
591
|
-
|
|
591
|
+
if (i0.isDevMode()) {
|
|
592
|
+
console.warn('It is not recommend to use the FormArray.removeAt method');
|
|
593
|
+
}
|
|
592
594
|
_super.prototype.removeAt.call(this, index);
|
|
593
595
|
this._controlRemovedFn(index);
|
|
594
596
|
};
|
|
@@ -597,7 +599,9 @@
|
|
|
597
599
|
enableControl(this, enable, opts);
|
|
598
600
|
};
|
|
599
601
|
RxapFormArray.prototype.push = function (control) {
|
|
600
|
-
|
|
602
|
+
if (i0.isDevMode()) {
|
|
603
|
+
console.warn('It is not recommend to use the FormArray.push method');
|
|
604
|
+
}
|
|
601
605
|
return _super.prototype.push.call(this, control);
|
|
602
606
|
};
|
|
603
607
|
RxapFormArray.prototype.setDisable = function (disable, opts) {
|
|
@@ -605,7 +609,9 @@
|
|
|
605
609
|
disableControl(this, disable, opts);
|
|
606
610
|
};
|
|
607
611
|
RxapFormArray.prototype.setControl = function (index, control) {
|
|
608
|
-
|
|
612
|
+
if (i0.isDevMode()) {
|
|
613
|
+
console.warn('It is not recommend to use the FormArray.setControl method');
|
|
614
|
+
}
|
|
609
615
|
return _super.prototype.setControl.call(this, index, control);
|
|
610
616
|
};
|
|
611
617
|
RxapFormArray.prototype.markAsTouched = function (opts) {
|
|
@@ -2077,8 +2083,8 @@
|
|
|
2077
2083
|
};
|
|
2078
2084
|
return FormDirective;
|
|
2079
2085
|
}(i1.FormGroupDirective));
|
|
2080
|
-
FormDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2081
|
-
FormDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2086
|
+
FormDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormDirective, deps: [{ token: i0.ChangeDetectorRef }, { token: RXAP_FORM_DEFINITION, optional: true }, { token: RXAP_FORM_SUBMIT_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_LOAD_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_LOAD_FAILED_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_LOAD_SUCCESSFUL_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_SUBMIT_FAILED_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD, optional: true, skipSelf: true }, { token: RXAP_FORM_DEFINITION_BUILDER, optional: true, skipSelf: true }, { token: i2.LoadingIndicatorService, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2087
|
+
FormDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormDirective, selector: "form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]", inputs: { initial: "initial", useFormDefinition: ["rxapForm", "useFormDefinition"], submitMethod: "submitMethod" }, outputs: { ngSubmit: "ngSubmit", rxapSubmit: "rxapSubmit", invalidSubmit: "invalidSubmit", submitSuccessful$: "submitSuccessful" }, host: { listeners: { "reset": "onReset()" }, properties: { "class.rxap-submitting": "this.submitting", "class.rxap-submit-error": "this.submitError", "class.rxap-loading": "this.loading", "class.rxap-loaded": "this.loaded", "class.rxap-loading-error": "this.loadingError" } }, providers: [
|
|
2082
2088
|
{
|
|
2083
2089
|
provide: i1.ControlContainer,
|
|
2084
2090
|
// ignore coverage
|
|
@@ -2125,7 +2131,7 @@
|
|
|
2125
2131
|
utilities.Required,
|
|
2126
2132
|
__metadata("design:type", Object)
|
|
2127
2133
|
], FormDirective.prototype, "_formDefinition", void 0);
|
|
2128
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2134
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormDirective, decorators: [{
|
|
2129
2135
|
type: i0.Directive,
|
|
2130
2136
|
args: [{
|
|
2131
2137
|
selector: 'form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]',
|
|
@@ -2292,9 +2298,9 @@
|
|
|
2292
2298
|
};
|
|
2293
2299
|
return FormSubmitFailedDirective;
|
|
2294
2300
|
}());
|
|
2295
|
-
FormSubmitFailedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2296
|
-
FormSubmitFailedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2297
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2301
|
+
FormSubmitFailedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormSubmitFailedDirective, deps: [{ token: FormDirective }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2302
|
+
FormSubmitFailedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormSubmitFailedDirective, selector: "[rxapFormSubmitFailed]", ngImport: i0__namespace });
|
|
2303
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormSubmitFailedDirective, decorators: [{
|
|
2298
2304
|
type: i0.Directive,
|
|
2299
2305
|
args: [{
|
|
2300
2306
|
selector: '[rxapFormSubmitFailed]'
|
|
@@ -2333,9 +2339,9 @@
|
|
|
2333
2339
|
};
|
|
2334
2340
|
return FormLoadingDirective;
|
|
2335
2341
|
}());
|
|
2336
|
-
FormLoadingDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2337
|
-
FormLoadingDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2338
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2342
|
+
FormLoadingDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormLoadingDirective, deps: [{ token: FormDirective }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2343
|
+
FormLoadingDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormLoadingDirective, selector: "[rxapFormLoading]", ngImport: i0__namespace });
|
|
2344
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormLoadingDirective, decorators: [{
|
|
2339
2345
|
type: i0.Directive,
|
|
2340
2346
|
args: [{
|
|
2341
2347
|
selector: '[rxapFormLoading]'
|
|
@@ -2374,9 +2380,9 @@
|
|
|
2374
2380
|
};
|
|
2375
2381
|
return FormSubmittingDirective;
|
|
2376
2382
|
}());
|
|
2377
|
-
FormSubmittingDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2378
|
-
FormSubmittingDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2379
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2383
|
+
FormSubmittingDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormSubmittingDirective, deps: [{ token: FormDirective }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2384
|
+
FormSubmittingDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormSubmittingDirective, selector: "[rxapFormSubmitting]", ngImport: i0__namespace });
|
|
2385
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormSubmittingDirective, decorators: [{
|
|
2380
2386
|
type: i0.Directive,
|
|
2381
2387
|
args: [{
|
|
2382
2388
|
selector: '[rxapFormSubmitting]'
|
|
@@ -2415,9 +2421,9 @@
|
|
|
2415
2421
|
};
|
|
2416
2422
|
return FormLoadedDirective;
|
|
2417
2423
|
}());
|
|
2418
|
-
FormLoadedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2419
|
-
FormLoadedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2420
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2424
|
+
FormLoadedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormLoadedDirective, deps: [{ token: FormDirective }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2425
|
+
FormLoadedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormLoadedDirective, selector: "[rxapFormLoaded]", ngImport: i0__namespace });
|
|
2426
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormLoadedDirective, decorators: [{
|
|
2421
2427
|
type: i0.Directive,
|
|
2422
2428
|
args: [{
|
|
2423
2429
|
selector: '[rxapFormLoaded]'
|
|
@@ -2456,9 +2462,9 @@
|
|
|
2456
2462
|
};
|
|
2457
2463
|
return FormLoadingErrorDirective;
|
|
2458
2464
|
}());
|
|
2459
|
-
FormLoadingErrorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2460
|
-
FormLoadingErrorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2461
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2465
|
+
FormLoadingErrorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormLoadingErrorDirective, deps: [{ token: FormDirective }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2466
|
+
FormLoadingErrorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormLoadingErrorDirective, selector: "[rxapFormLoadingError]", ngImport: i0__namespace });
|
|
2467
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormLoadingErrorDirective, decorators: [{
|
|
2462
2468
|
type: i0.Directive,
|
|
2463
2469
|
args: [{
|
|
2464
2470
|
selector: '[rxapFormLoadingError]'
|
|
@@ -2505,8 +2511,8 @@
|
|
|
2505
2511
|
};
|
|
2506
2512
|
return FormControlErrorDirective;
|
|
2507
2513
|
}());
|
|
2508
|
-
FormControlErrorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2509
|
-
FormControlErrorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2514
|
+
FormControlErrorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlErrorDirective, deps: [{ token: i0__namespace.TemplateRef }, { token: i1__namespace.ControlContainer, host: true, skipSelf: true }, { token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2515
|
+
FormControlErrorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlErrorDirective, selector: "[rxapFormControlError]", inputs: { name: ["rxapFormControlErrorFrom", "name"], errorKey: ["rxapFormControlErrorIf", "errorKey"] }, ngImport: i0__namespace });
|
|
2510
2516
|
__decorate([
|
|
2511
2517
|
utilities.Required,
|
|
2512
2518
|
__metadata("design:type", String)
|
|
@@ -2515,7 +2521,7 @@
|
|
|
2515
2521
|
utilities.Required,
|
|
2516
2522
|
__metadata("design:type", String)
|
|
2517
2523
|
], FormControlErrorDirective.prototype, "errorKey", void 0);
|
|
2518
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2524
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlErrorDirective, decorators: [{
|
|
2519
2525
|
type: i0.Directive,
|
|
2520
2526
|
args: [{
|
|
2521
2527
|
selector: '[rxapFormControlError]'
|
|
@@ -2549,9 +2555,9 @@
|
|
|
2549
2555
|
};
|
|
2550
2556
|
return FormControlMarkDirtyDirective;
|
|
2551
2557
|
}());
|
|
2552
|
-
FormControlMarkDirtyDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2553
|
-
FormControlMarkDirtyDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2554
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2558
|
+
FormControlMarkDirtyDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlMarkDirtyDirective, deps: [{ token: i1__namespace.ControlContainer }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2559
|
+
FormControlMarkDirtyDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlMarkDirtyDirective, selector: "[rxapFormControlMarkDirty]", host: { listeners: { "click": "onClick()" } }, ngImport: i0__namespace });
|
|
2560
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlMarkDirtyDirective, decorators: [{
|
|
2555
2561
|
type: i0.Directive,
|
|
2556
2562
|
args: [{
|
|
2557
2563
|
selector: '[rxapFormControlMarkDirty]'
|
|
@@ -2571,9 +2577,9 @@
|
|
|
2571
2577
|
};
|
|
2572
2578
|
return FormControlMarkTouchedDirective;
|
|
2573
2579
|
}());
|
|
2574
|
-
FormControlMarkTouchedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2575
|
-
FormControlMarkTouchedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2576
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2580
|
+
FormControlMarkTouchedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlMarkTouchedDirective, deps: [{ token: i1__namespace.ControlContainer }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2581
|
+
FormControlMarkTouchedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlMarkTouchedDirective, selector: "[rxapFormControlMarkTouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0__namespace });
|
|
2582
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlMarkTouchedDirective, decorators: [{
|
|
2577
2583
|
type: i0.Directive,
|
|
2578
2584
|
args: [{
|
|
2579
2585
|
selector: '[rxapFormControlMarkTouched]'
|
|
@@ -2598,9 +2604,9 @@
|
|
|
2598
2604
|
};
|
|
2599
2605
|
return FormControlMarkUntouchedDirective;
|
|
2600
2606
|
}());
|
|
2601
|
-
FormControlMarkUntouchedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2602
|
-
FormControlMarkUntouchedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2603
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2607
|
+
FormControlMarkUntouchedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlMarkUntouchedDirective, deps: [{ token: i1__namespace.ControlContainer }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2608
|
+
FormControlMarkUntouchedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlMarkUntouchedDirective, selector: "[rxapFormControlMarkUntouched]", host: { listeners: { "click": "onClick()" } }, ngImport: i0__namespace });
|
|
2609
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlMarkUntouchedDirective, decorators: [{
|
|
2604
2610
|
type: i0.Directive,
|
|
2605
2611
|
args: [{
|
|
2606
2612
|
selector: '[rxapFormControlMarkUntouched]'
|
|
@@ -2625,9 +2631,9 @@
|
|
|
2625
2631
|
};
|
|
2626
2632
|
return FormControlMarkPristineDirective;
|
|
2627
2633
|
}());
|
|
2628
|
-
FormControlMarkPristineDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2629
|
-
FormControlMarkPristineDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2630
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2634
|
+
FormControlMarkPristineDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlMarkPristineDirective, deps: [{ token: i1__namespace.ControlContainer }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2635
|
+
FormControlMarkPristineDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlMarkPristineDirective, selector: "[rxapFormControlMarkPristine]", host: { listeners: { "click": "onClick()" } }, ngImport: i0__namespace });
|
|
2636
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlMarkPristineDirective, decorators: [{
|
|
2631
2637
|
type: i0.Directive,
|
|
2632
2638
|
args: [{
|
|
2633
2639
|
selector: '[rxapFormControlMarkPristine]'
|
|
@@ -2679,9 +2685,9 @@
|
|
|
2679
2685
|
};
|
|
2680
2686
|
return FormSubmitDirective;
|
|
2681
2687
|
}(directives.ConfirmClick));
|
|
2682
|
-
FormSubmitDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2683
|
-
FormSubmitDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2684
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2688
|
+
FormSubmitDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormSubmitDirective, deps: [{ token: FormDirective }, { token: i2$1.Router, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2689
|
+
FormSubmitDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormSubmitDirective, selector: "[rxapFormSubmit]", inputs: { type: "type", resetAfterSubmit: "resetAfterSubmit", navigateAfterSubmit: "navigateAfterSubmit" }, outputs: { afterSubmit: "afterSubmit" }, host: { listeners: { "click": "onClick()", "confirmed": "onConfirm()" }, properties: { "type": "this.type" } }, usesInheritance: true, ngImport: i0__namespace });
|
|
2690
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormSubmitDirective, decorators: [{
|
|
2685
2691
|
type: i0.Directive,
|
|
2686
2692
|
args: [{
|
|
2687
2693
|
selector: '[rxapFormSubmit]',
|
|
@@ -2735,14 +2741,14 @@
|
|
|
2735
2741
|
});
|
|
2736
2742
|
return FormGroupNameDirective;
|
|
2737
2743
|
}(i1.FormGroupName));
|
|
2738
|
-
FormGroupNameDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2739
|
-
FormGroupNameDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2744
|
+
FormGroupNameDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormGroupNameDirective, deps: [{ token: i1__namespace.ControlContainer, optional: true, skipSelf: true }, { token: i1.NG_VALIDATORS, optional: true, self: true }, { token: i1.NG_ASYNC_VALIDATORS, optional: true, self: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2745
|
+
FormGroupNameDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormGroupNameDirective, selector: "[rxapFormGroupName]", inputs: { name: ["rxapFormGroupName", "name"] }, providers: [
|
|
2740
2746
|
{
|
|
2741
2747
|
provide: i1.ControlContainer,
|
|
2742
2748
|
useExisting: i0.forwardRef(function () { return FormGroupNameDirective; })
|
|
2743
2749
|
}
|
|
2744
2750
|
], exportAs: ["rxapFormGroup"], usesInheritance: true, ngImport: i0__namespace });
|
|
2745
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2751
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormGroupNameDirective, decorators: [{
|
|
2746
2752
|
type: i0.Directive,
|
|
2747
2753
|
args: [{
|
|
2748
2754
|
selector: '[rxapFormGroupName]',
|
|
@@ -2792,14 +2798,14 @@
|
|
|
2792
2798
|
}
|
|
2793
2799
|
return FormControlNameDirective;
|
|
2794
2800
|
}(i1.FormControlName));
|
|
2795
|
-
FormControlNameDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2796
|
-
FormControlNameDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2801
|
+
FormControlNameDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlNameDirective, deps: [{ token: i1__namespace.ControlContainer, optional: true, skipSelf: true }, { token: i1.NG_VALIDATORS, optional: true, self: true }, { token: i1.NG_ASYNC_VALIDATORS, optional: true, self: true }, { token: i1.NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2802
|
+
FormControlNameDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormControlNameDirective, selector: "[rxapFormControlName]", inputs: { name: ["rxapFormControlName", "name"] }, providers: [
|
|
2797
2803
|
{
|
|
2798
2804
|
provide: i1.NgControl,
|
|
2799
2805
|
useExisting: i0.forwardRef(function () { return FormControlNameDirective; })
|
|
2800
2806
|
}
|
|
2801
2807
|
], exportAs: ["rxapFormControl"], usesInheritance: true, ngImport: i0__namespace });
|
|
2802
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2808
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormControlNameDirective, decorators: [{
|
|
2803
2809
|
type: i0.Directive,
|
|
2804
2810
|
args: [{
|
|
2805
2811
|
selector: '[rxapFormControlName]',
|
|
@@ -2848,14 +2854,14 @@
|
|
|
2848
2854
|
}
|
|
2849
2855
|
return ParentControlContainerDirective;
|
|
2850
2856
|
}());
|
|
2851
|
-
ParentControlContainerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2852
|
-
ParentControlContainerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2857
|
+
ParentControlContainerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ParentControlContainerDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2858
|
+
ParentControlContainerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ParentControlContainerDirective, selector: "[formControlName][parentControlContainer],[formControlGroup][parentControlContainer]", providers: [
|
|
2853
2859
|
{
|
|
2854
2860
|
provide: i1.ControlContainer,
|
|
2855
2861
|
useExisting: i1.ControlContainer
|
|
2856
2862
|
}
|
|
2857
2863
|
], ngImport: i0__namespace });
|
|
2858
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2864
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ParentControlContainerDirective, decorators: [{
|
|
2859
2865
|
type: i0.Directive,
|
|
2860
2866
|
args: [{
|
|
2861
2867
|
selector: '[formControlName][parentControlContainer],[formControlGroup][parentControlContainer]',
|
|
@@ -2887,9 +2893,9 @@
|
|
|
2887
2893
|
};
|
|
2888
2894
|
return FormSubmitSuccessfulDirective;
|
|
2889
2895
|
}());
|
|
2890
|
-
FormSubmitSuccessfulDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2891
|
-
FormSubmitSuccessfulDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2892
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2896
|
+
FormSubmitSuccessfulDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormSubmitSuccessfulDirective, deps: [{ token: FormDirective }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2897
|
+
FormSubmitSuccessfulDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormSubmitSuccessfulDirective, selector: "[rxapFormSubmitSuccessful]", ngImport: i0__namespace });
|
|
2898
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormSubmitSuccessfulDirective, decorators: [{
|
|
2893
2899
|
type: i0.Directive,
|
|
2894
2900
|
args: [{
|
|
2895
2901
|
selector: '[rxapFormSubmitSuccessful]'
|
|
@@ -2926,9 +2932,9 @@
|
|
|
2926
2932
|
};
|
|
2927
2933
|
return FormSubmitInvalidDirective;
|
|
2928
2934
|
}());
|
|
2929
|
-
FormSubmitInvalidDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2930
|
-
FormSubmitInvalidDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.
|
|
2931
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2935
|
+
FormSubmitInvalidDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormSubmitInvalidDirective, deps: [{ token: FormDirective }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2936
|
+
FormSubmitInvalidDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FormSubmitInvalidDirective, selector: "[rxapFormSubmitInvalid]", ngImport: i0__namespace });
|
|
2937
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormSubmitInvalidDirective, decorators: [{
|
|
2932
2938
|
type: i0.Directive,
|
|
2933
2939
|
args: [{
|
|
2934
2940
|
selector: '[rxapFormSubmitInvalid]'
|
|
@@ -2951,8 +2957,8 @@
|
|
|
2951
2957
|
}
|
|
2952
2958
|
return RxapFormsModule;
|
|
2953
2959
|
}());
|
|
2954
|
-
RxapFormsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.
|
|
2955
|
-
RxapFormsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.
|
|
2960
|
+
RxapFormsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RxapFormsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2961
|
+
RxapFormsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RxapFormsModule, declarations: [FormDirective,
|
|
2956
2962
|
FormSubmitFailedDirective,
|
|
2957
2963
|
FormLoadingDirective,
|
|
2958
2964
|
FormSubmittingDirective,
|
|
@@ -2985,8 +2991,8 @@
|
|
|
2985
2991
|
ParentControlContainerDirective,
|
|
2986
2992
|
FormSubmitSuccessfulDirective,
|
|
2987
2993
|
FormSubmitInvalidDirective] });
|
|
2988
|
-
RxapFormsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.
|
|
2989
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.
|
|
2994
|
+
RxapFormsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RxapFormsModule });
|
|
2995
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RxapFormsModule, decorators: [{
|
|
2990
2996
|
type: i0.NgModule,
|
|
2991
2997
|
args: [{
|
|
2992
2998
|
declarations: [
|
|
@@ -3517,5 +3523,5 @@
|
|
|
3517
3523
|
|
|
3518
3524
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3519
3525
|
|
|
3520
|
-
}))
|
|
3526
|
+
}));
|
|
3521
3527
|
//# sourceMappingURL=rxap-forms.umd.js.map
|