monkey-front-components 0.0.158 → 0.0.160
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/monkey-front-components.umd.js +133 -60
- package/bundles/monkey-front-components.umd.js.map +1 -1
- package/esm2015/lib/components/base/base-component.js +4 -4
- package/esm2015/lib/components/base/base-dynamic-array.js +4 -4
- package/esm2015/lib/components/base/base-dynamic.js +4 -4
- package/esm2015/lib/components/base/base-validators.js +12 -10
- package/esm2015/lib/components/dynamic/button/button.component.js +4 -4
- package/esm2015/lib/components/dynamic/dynamic-directive.js +6 -4
- package/esm2015/lib/components/dynamic/dynamic.module.js +13 -7
- package/esm2015/lib/components/dynamic/file-upload/file-upload.component.js +4 -4
- package/esm2015/lib/components/dynamic/form/dynamic-form-array.component.js +4 -4
- package/esm2015/lib/components/dynamic/form/dynamic-form.component.js +4 -4
- package/esm2015/lib/components/dynamic/index.js +2 -1
- package/esm2015/lib/components/dynamic/input/input.component.js +4 -4
- package/esm2015/lib/components/dynamic/input-phone/index.js +2 -0
- package/esm2015/lib/components/dynamic/input-phone/input-phone.component.js +66 -0
- package/esm2015/lib/components/dynamic/radio/radio.component.js +4 -4
- package/esm2015/lib/components/dynamic/select/select.component.js +4 -4
- package/esm2015/lib/components/dynamic/select-search/select-search.component.js +4 -4
- package/fesm2015/monkey-front-components.js +120 -51
- package/fesm2015/monkey-front-components.js.map +1 -1
- package/lib/components/base/base-validators.d.ts +9 -7
- package/lib/components/dynamic/dynamic.module.d.ts +10 -9
- package/lib/components/dynamic/index.d.ts +1 -0
- package/lib/components/dynamic/input-phone/index.d.ts +1 -0
- package/lib/components/dynamic/input-phone/input-phone.component.d.ts +20 -0
- package/monkey-front-components-0.0.160.tgz +0 -0
- package/package.json +4 -4
- package/monkey-front-components-0.0.158.tgz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs'), require('@angular/core'), require('rxjs/operators'), require('monkey-style-guide'), require('monkey-front-core'), require('@angular/forms'), require('@ngx-translate/core'), require('@angular/common')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('monkey-front-components', ['exports', 'rxjs', '@angular/core', 'rxjs/operators', 'monkey-style-guide', 'monkey-front-core', '@angular/forms', '@ngx-translate/core', '@angular/common'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global[
|
|
5
|
-
}(this, (function (exports, rxjs, i0, operators, i1, monkeyFrontCore, i1$1,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["monkey-front-components"] = {}, global.rxjs, global.ng.core, global.rxjs.operators, global["monkey-style-guide"], global["monkey-front-core"], global.ng.forms, global["@ngx-translate/core"], global.ng.common));
|
|
5
|
+
})(this, (function (exports, rxjs, i0, operators, i1, monkeyFrontCore, i1$1, i3, i3$1) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -13,22 +13,20 @@
|
|
|
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
|
|
|
27
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
26
|
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1);
|
|
29
27
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1$1);
|
|
30
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
31
28
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
29
|
+
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
32
30
|
|
|
33
31
|
/*! *****************************************************************************
|
|
34
32
|
Copyright (c) Microsoft Corporation.
|
|
@@ -265,7 +263,7 @@
|
|
|
265
263
|
ar[i] = from[i];
|
|
266
264
|
}
|
|
267
265
|
}
|
|
268
|
-
return to.concat(ar || from);
|
|
266
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
269
267
|
}
|
|
270
268
|
function __await(v) {
|
|
271
269
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -592,9 +590,9 @@
|
|
|
592
590
|
};
|
|
593
591
|
return BaseComponent;
|
|
594
592
|
}());
|
|
595
|
-
BaseComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
596
|
-
BaseComponent.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
597
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
593
|
+
BaseComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: BaseComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
594
|
+
BaseComponent.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.14", type: BaseComponent, selector: "[baseComponent]", ngImport: i0__namespace });
|
|
595
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: BaseComponent, decorators: [{
|
|
598
596
|
type: i0.Directive,
|
|
599
597
|
args: [{
|
|
600
598
|
selector: '[baseComponent]'
|
|
@@ -603,11 +601,13 @@
|
|
|
603
601
|
|
|
604
602
|
var validators = {
|
|
605
603
|
required: i1$1.Validators.required,
|
|
606
|
-
email:
|
|
607
|
-
governmentId: monkeyFrontCore.
|
|
608
|
-
governmentIdRut: monkeyFrontCore.
|
|
609
|
-
|
|
610
|
-
|
|
604
|
+
email: monkeyFrontCore.Validators.email,
|
|
605
|
+
governmentId: monkeyFrontCore.Validators.documentBR,
|
|
606
|
+
governmentIdRut: monkeyFrontCore.Validators.documentCL,
|
|
607
|
+
documentBR: monkeyFrontCore.Validators.documentBR,
|
|
608
|
+
documentCL: monkeyFrontCore.Validators.documentCL,
|
|
609
|
+
date: monkeyFrontCore.Validators.date,
|
|
610
|
+
zipCode: monkeyFrontCore.Validators.zipCode,
|
|
611
611
|
minLength: function (param) {
|
|
612
612
|
return i1$1.Validators.minLength(param);
|
|
613
613
|
},
|
|
@@ -691,9 +691,9 @@
|
|
|
691
691
|
};
|
|
692
692
|
return BaseDynamic;
|
|
693
693
|
}(BaseComponent));
|
|
694
|
-
BaseDynamic.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
695
|
-
BaseDynamic.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
696
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
694
|
+
BaseDynamic.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: BaseDynamic, deps: [{ token: i1__namespace.FormBuilder }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
695
|
+
BaseDynamic.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.14", type: BaseDynamic, selector: "[baseDynamic]", inputs: { onHandleSubmit: "onHandleSubmit", onHandleUpdateForm: "onHandleUpdateForm", self: "self", fields: "fields", data: "data", disabled: "disabled" }, outputs: { onHandleSubmitFormReady: "onHandleSubmitFormReady" }, usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
|
|
696
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: BaseDynamic, decorators: [{
|
|
697
697
|
type: i0.Directive,
|
|
698
698
|
args: [{
|
|
699
699
|
selector: '[baseDynamic]'
|
|
@@ -912,9 +912,9 @@
|
|
|
912
912
|
};
|
|
913
913
|
return BaseDynamicArray;
|
|
914
914
|
}(BaseComponent));
|
|
915
|
-
BaseDynamicArray.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
916
|
-
BaseDynamicArray.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
917
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
915
|
+
BaseDynamicArray.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: BaseDynamicArray, deps: [{ token: i1__namespace.FormBuilder }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
916
|
+
BaseDynamicArray.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.14", type: BaseDynamicArray, selector: "[baseDynamicArray]", inputs: { onHandleSubmit: "onHandleSubmit", onHandleUpdateForm: "onHandleUpdateForm", self: "self", fields: "fields", data: "data", qtd: "qtd", disabled: "disabled" }, outputs: { onHandleSubmitFormReady: "onHandleSubmitFormReady" }, usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
|
|
917
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: BaseDynamicArray, decorators: [{
|
|
918
918
|
type: i0.Directive,
|
|
919
919
|
args: [{
|
|
920
920
|
selector: '[baseDynamicArray]'
|
|
@@ -973,9 +973,9 @@
|
|
|
973
973
|
};
|
|
974
974
|
return MECXDynamicFileUploadComponent;
|
|
975
975
|
}());
|
|
976
|
-
MECXDynamicFileUploadComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
977
|
-
MECXDynamicFileUploadComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
978
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
976
|
+
MECXDynamicFileUploadComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicFileUploadComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
977
|
+
MECXDynamicFileUploadComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MECXDynamicFileUploadComponent, selector: "mecx-dynamic-file-upload", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self" }, host: { properties: { "class": "this.className" } }, usesOnChanges: true, ngImport: i0__namespace, template: "<monkey-file-upload\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [icon]=\"_field?.icon\" [formControl]=\"_form.controls[_field?.name]\"\n [placeholder]=\"_field?.placeholder | translate\"\n [helperMessage]=\"_field?.helperMessage | translate\" [label]=\"_field?.label | translate\"\n [maxSize]=\"_field?.maxSize || 5242880\" [fileUpload]=\"_function\"\n [maxSizeErrorMessage]=\"'FIELD.FILE.MAX-FILE' | translate\"\n [allowedExtensionErrorMessage]=\"'FIELD.FILE.ALLOWED-EXTENSION' | translate\"\n [allowedExtensions]=\"_field?.allowedExtensions || []\">\n</monkey-file-upload>", components: [{ type: i1__namespace$1.MonkeyFileUploadComponent, selector: "monkey-file-upload", inputs: ["name", "label", "helperMessage", "placeholder", "icon", "infoMessage", "uploadOngoingMessage", "errorMessage", "listenFiles", "maxSize", "allowedExtensions", "maxSizeErrorMessage", "allowedExtensionErrorMessage", "fileUpload", "value"], outputs: ["onChange", "onHandleFilesReady"] }], directives: [{ type: i1__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "translate": i3__namespace.TranslatePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
978
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicFileUploadComponent, decorators: [{
|
|
979
979
|
type: i0.Component,
|
|
980
980
|
args: [{
|
|
981
981
|
selector: 'mecx-dynamic-file-upload',
|
|
@@ -1030,9 +1030,9 @@
|
|
|
1030
1030
|
};
|
|
1031
1031
|
return MECXDynamicButtonComponent;
|
|
1032
1032
|
}());
|
|
1033
|
-
MECXDynamicButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1034
|
-
MECXDynamicButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1035
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1033
|
+
MECXDynamicButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicButtonComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1034
|
+
MECXDynamicButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MECXDynamicButtonComponent, selector: "mecx-dynamic-button", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self" }, host: { properties: { "class": "this.className" } }, usesOnChanges: true, ngImport: i0__namespace, template: "<monkey-button [icon]=\"_field?.icon\" [type]=\"_field?.type\" [color]=\"_field?.color\"\n (click)=\"onClick()\">\n {{ _field?.label | translate }}\n</monkey-button>", styles: ["mecx-dynamic-button monkey-button button{height:40px}\n"], components: [{ type: i1__namespace$1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], pipes: { "translate": i3__namespace.TranslatePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1035
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicButtonComponent, decorators: [{
|
|
1036
1036
|
type: i0.Component,
|
|
1037
1037
|
args: [{
|
|
1038
1038
|
selector: 'mecx-dynamic-button',
|
|
@@ -1092,9 +1092,9 @@
|
|
|
1092
1092
|
};
|
|
1093
1093
|
return MECXDynamicInputComponent;
|
|
1094
1094
|
}());
|
|
1095
|
-
MECXDynamicInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1096
|
-
MECXDynamicInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1097
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1095
|
+
MECXDynamicInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicInputComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1096
|
+
MECXDynamicInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MECXDynamicInputComponent, selector: "mecx-dynamic-input", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self" }, host: { properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<monkey-input\r\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\r\n [mask]=\"_field?.mask\" [prefix]=\"_field?.prefix\" [name]=\"_field?.name\"\r\n [formControl]=\"_form.controls[_field?.name]\" [placeholder]=\"_field?.placeholder | translate\"\r\n [helperMessage]=\"_field?.helperMessage | translate\" [label]=\"_field?.label | translate\"\r\n [type]=\"_field?.type\" #inputElement (onChange)=\"onChange($event)\"\r\n [onlyNumber]=\"_field?.onlyNumber\" [currency]=\"_field?.currency\" [maxLength]=\"_field?.maxLength\"\r\n [maxDateToday]=\"_field?.maxDateToday\">\r\n</monkey-input>", components: [{ type: i1__namespace$1.MonkeyInputComponent, selector: "monkey-input", inputs: ["name", "label", "helperMessage", "placeholder", "icon", "type", "infoMessage", "errorMessage", "mask", "prefix", "maxLength", "onlyNumber", "onlyAlphaNumeric", "upperCase", "lowerCase", "capitalize", "currency", "percent", "maxDateToday", "value"], outputs: ["onChange"] }], directives: [{ type: i1__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "translate": i3__namespace.TranslatePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1097
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicInputComponent, decorators: [{
|
|
1098
1098
|
type: i0.Component,
|
|
1099
1099
|
args: [{
|
|
1100
1100
|
selector: 'mecx-dynamic-input',
|
|
@@ -1119,6 +1119,72 @@
|
|
|
1119
1119
|
args: ['class']
|
|
1120
1120
|
}] } });
|
|
1121
1121
|
|
|
1122
|
+
var MECXDynamicInputPhoneComponent = /** @class */ (function () {
|
|
1123
|
+
function MECXDynamicInputPhoneComponent(cdr) {
|
|
1124
|
+
this.cdr = cdr;
|
|
1125
|
+
// eslint-disable-next-line object-curly-newline
|
|
1126
|
+
this._formErrors = {};
|
|
1127
|
+
// not to do
|
|
1128
|
+
}
|
|
1129
|
+
Object.defineProperty(MECXDynamicInputPhoneComponent.prototype, "className", {
|
|
1130
|
+
get: function () {
|
|
1131
|
+
var _a, _b;
|
|
1132
|
+
return (_b = (_a = this._field) === null || _a === void 0 ? void 0 : _a.style) === null || _b === void 0 ? void 0 : _b.class;
|
|
1133
|
+
},
|
|
1134
|
+
enumerable: false,
|
|
1135
|
+
configurable: true
|
|
1136
|
+
});
|
|
1137
|
+
MECXDynamicInputPhoneComponent.prototype.ngOnInit = function () {
|
|
1138
|
+
this.cdr.detectChanges();
|
|
1139
|
+
};
|
|
1140
|
+
MECXDynamicInputPhoneComponent.prototype.ngOnChanges = function () {
|
|
1141
|
+
this.cdr.detectChanges();
|
|
1142
|
+
};
|
|
1143
|
+
MECXDynamicInputPhoneComponent.prototype.onChange = function (event) {
|
|
1144
|
+
var _a;
|
|
1145
|
+
var _c = this, _form = _c._form, _field = _c._field, self = _c.self;
|
|
1146
|
+
var name = _field.name;
|
|
1147
|
+
var func = (_a = _field === null || _field === void 0 ? void 0 : _field.functions) === null || _a === void 0 ? void 0 : _a.onChange;
|
|
1148
|
+
var isValid = _form.get(_field.name).valid;
|
|
1149
|
+
if (func) {
|
|
1150
|
+
self[func]({
|
|
1151
|
+
name: name,
|
|
1152
|
+
isValid: isValid,
|
|
1153
|
+
event: event,
|
|
1154
|
+
ctrl: _form.get(this._field.name),
|
|
1155
|
+
form: _form
|
|
1156
|
+
});
|
|
1157
|
+
}
|
|
1158
|
+
};
|
|
1159
|
+
return MECXDynamicInputPhoneComponent;
|
|
1160
|
+
}());
|
|
1161
|
+
MECXDynamicInputPhoneComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicInputPhoneComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1162
|
+
MECXDynamicInputPhoneComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MECXDynamicInputPhoneComponent, selector: "mecx-dynamic-input-phone", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self" }, host: { properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<monkey-input-phone [name]=\"_field?.name\" [label]=\"_field?.label | translate\"\r\n [helperMessage]=\"_field?.helperMessage | translate\"\r\n [placeholder]=\"_field?.placeholder | translate\" [icon]=\"_field?.icon\"\r\n (onChange)=\"onChange($event)\"\r\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\r\n [maxLength]=\"_field?.maxLength\" [formControl]=\"_form.controls[_field?.name]\" #inputElement>\r\n</monkey-input-phone>", components: [{ type: i1__namespace$1.MonkeyInputPhoneComponent, selector: "monkey-input-phone", inputs: ["name", "label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "maxLength", "formControl", "value"], outputs: ["onChange"] }], directives: [{ type: i1__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "translate": i3__namespace.TranslatePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1163
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicInputPhoneComponent, decorators: [{
|
|
1164
|
+
type: i0.Component,
|
|
1165
|
+
args: [{
|
|
1166
|
+
selector: 'mecx-dynamic-input-phone',
|
|
1167
|
+
templateUrl: './input-phone.component.html',
|
|
1168
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1169
|
+
}]
|
|
1170
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { _field: [{
|
|
1171
|
+
type: i0.Input
|
|
1172
|
+
}], _form: [{
|
|
1173
|
+
type: i0.Input
|
|
1174
|
+
}], _formErrors: [{
|
|
1175
|
+
type: i0.Input
|
|
1176
|
+
}], self: [{
|
|
1177
|
+
type: i0.Input
|
|
1178
|
+
}], inputElement: [{
|
|
1179
|
+
type: i0.ViewChild,
|
|
1180
|
+
args: ['inputElement', {
|
|
1181
|
+
static: true
|
|
1182
|
+
}]
|
|
1183
|
+
}], className: [{
|
|
1184
|
+
type: i0.HostBinding,
|
|
1185
|
+
args: ['class']
|
|
1186
|
+
}] } });
|
|
1187
|
+
|
|
1122
1188
|
var MECXDynamicRadioComponent = /** @class */ (function () {
|
|
1123
1189
|
function MECXDynamicRadioComponent() {
|
|
1124
1190
|
// eslint-disable-next-line object-curly-newline
|
|
@@ -1134,9 +1200,9 @@
|
|
|
1134
1200
|
});
|
|
1135
1201
|
return MECXDynamicRadioComponent;
|
|
1136
1202
|
}());
|
|
1137
|
-
MECXDynamicRadioComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1138
|
-
MECXDynamicRadioComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1139
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1203
|
+
MECXDynamicRadioComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicRadioComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1204
|
+
MECXDynamicRadioComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MECXDynamicRadioComponent, selector: "mecx-dynamic-radio", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors" }, host: { properties: { "class": "this.className" } }, ngImport: i0__namespace, template: "<monkey-radiobutton\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\">\n <monkey-option *ngFor=\"let value of _field?.value\" [label]=\"value.description | translate\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-radiobutton>", components: [{ type: i1__namespace$1.MonkeyRadioButtonComponent, selector: "monkey-radiobutton", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "value"], outputs: ["onChange"] }, { type: i1__namespace$1.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i3__namespace.TranslatePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1205
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicRadioComponent, decorators: [{
|
|
1140
1206
|
type: i0.Component,
|
|
1141
1207
|
args: [{
|
|
1142
1208
|
selector: 'mecx-dynamic-radio',
|
|
@@ -1213,9 +1279,9 @@
|
|
|
1213
1279
|
};
|
|
1214
1280
|
return MECXDynamicSelectComponent;
|
|
1215
1281
|
}());
|
|
1216
|
-
MECXDynamicSelectComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1217
|
-
MECXDynamicSelectComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1218
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1282
|
+
MECXDynamicSelectComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicSelectComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1283
|
+
MECXDynamicSelectComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MECXDynamicSelectComponent, selector: "mecx-dynamic-select", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self" }, host: { properties: { "class": "this.className" } }, ngImport: i0__namespace, template: "<monkey-select\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\" (click)=\"onHandleGenericLoad()\"\n [onHandleOptions]=\"_onHandleOptions\" (onChange)=\"onChange($event)\"\n [labelSelect]=\"_form.get(_field?.name).value || ('FIELD.SELECT' | translate)\"\n [placeholder]=\"_field?.placeholder | translate\">\n <monkey-option [label]=\"'FIELD.LOADING' | translate\" *ngIf=\"!_field?.value?.length\"\n enableClick=\"false\">\n </monkey-option>\n <monkey-option *ngFor=\"let value of _field?.value\" [label]=\"value.description | translate\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-select>", components: [{ type: i1__namespace$1.MonkeySelectComponent, selector: "monkey-select", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "labelSelect", "onHandleOptions", "value"], outputs: ["onChange"] }, { type: i1__namespace$1.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i3__namespace.TranslatePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1284
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicSelectComponent, decorators: [{
|
|
1219
1285
|
type: i0.Component,
|
|
1220
1286
|
args: [{
|
|
1221
1287
|
selector: 'mecx-dynamic-select',
|
|
@@ -1294,9 +1360,9 @@
|
|
|
1294
1360
|
};
|
|
1295
1361
|
return MECXDynamicSelectSearchComponent;
|
|
1296
1362
|
}());
|
|
1297
|
-
MECXDynamicSelectSearchComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1298
|
-
MECXDynamicSelectSearchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1299
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1363
|
+
MECXDynamicSelectSearchComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicSelectSearchComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1364
|
+
MECXDynamicSelectSearchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MECXDynamicSelectSearchComponent, selector: "mecx-dynamic-select-search", inputs: { _field: "_field", _form: "_form", _formErrors: "_formErrors", self: "self" }, host: { properties: { "class": "this.className" } }, ngImport: i0__namespace, template: "<monkey-select-search\n errorMessage=\"{{ _formErrors[_field?.name]?.firstMessage | translate }} {{ _formErrors[_field?.name]?.lastMessage }}\"\n [formControl]=\"_form.controls[_field?.name]\" [helperMessage]=\"_field?.helperMessage | translate\"\n [label]=\"_field?.label | translate\" (click)=\"onHandleGenericLoad()\"\n [onHandleOptions]=\"_onHandleOptions\" (onChange)=\"onChange($event)\"\n [fieldToCompare]=\"_field?.fieldToCompare\"\n [labelSelect]=\"_form.get(_field?.name).value || ('FIELD.SELECT' | translate)\"\n [placeholder]=\"_field?.placeholder | translate\">\n <monkey-option [label]=\"'FIELD.LOADING' | translate\" *ngIf=\"!_field?.value?.length\"\n enableClick=\"false\">\n </monkey-option>\n <monkey-option *ngFor=\"let value of _field?.value\" [label]=\"value.description | translate\"\n [value]=\"value.value\">\n </monkey-option>\n</monkey-select-search>", components: [{ type: i1__namespace$1.MonkeySelectSearchComponent, selector: "monkey-select-search", inputs: ["label", "helperMessage", "placeholder", "icon", "infoMessage", "errorMessage", "labelSelect", "fieldToCompare", "onHandleOptions", "value"], outputs: ["onChange", "onSearch"] }, { type: i1__namespace$1.MonkeyOptionComponent, selector: "monkey-option", inputs: ["type", "label", "value", "selectAll", "selected", "enableClick"], outputs: ["onSelectOption"] }], directives: [{ type: i1__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i3__namespace.TranslatePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1365
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicSelectSearchComponent, decorators: [{
|
|
1300
1366
|
type: i0.Component,
|
|
1301
1367
|
args: [{
|
|
1302
1368
|
selector: 'mecx-dynamic-select-search',
|
|
@@ -1318,6 +1384,7 @@
|
|
|
1318
1384
|
|
|
1319
1385
|
var componentMapper = {
|
|
1320
1386
|
input: MECXDynamicInputComponent,
|
|
1387
|
+
'input-phone': MECXDynamicInputPhoneComponent,
|
|
1321
1388
|
radiobutton: MECXDynamicRadioComponent,
|
|
1322
1389
|
select: MECXDynamicSelectComponent,
|
|
1323
1390
|
'select-search': MECXDynamicSelectSearchComponent,
|
|
@@ -1384,9 +1451,9 @@
|
|
|
1384
1451
|
};
|
|
1385
1452
|
return MECXDynamicDirective;
|
|
1386
1453
|
}());
|
|
1387
|
-
MECXDynamicDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1388
|
-
MECXDynamicDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1389
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1454
|
+
MECXDynamicDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicDirective, deps: [{ token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
1455
|
+
MECXDynamicDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.14", type: MECXDynamicDirective, selector: "[MECXDynamic]", inputs: { field: "field", form: "form", formErrors: "formErrors", self: "self", plusValidations: "plusValidations" }, usesOnChanges: true, ngImport: i0__namespace });
|
|
1456
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicDirective, decorators: [{
|
|
1390
1457
|
type: i0.Directive,
|
|
1391
1458
|
args: [{
|
|
1392
1459
|
selector: '[MECXDynamic]'
|
|
@@ -1438,9 +1505,9 @@
|
|
|
1438
1505
|
};
|
|
1439
1506
|
return MECXDynamicFormComponent;
|
|
1440
1507
|
}(BaseDynamic));
|
|
1441
|
-
MECXDynamicFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1442
|
-
MECXDynamicFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1443
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1508
|
+
MECXDynamicFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicFormComponent, deps: [{ token: i1__namespace.FormBuilder }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1509
|
+
MECXDynamicFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MECXDynamicFormComponent, selector: "mecx-dynamic-form", usesInheritance: true, ngImport: i0__namespace, template: "<form name=\"form\" [formGroup]=\"_form\" *ngIf=\"_form\">\n <div class=\"row\">\n <div *ngFor=\"let field of fields;\" MECXDynamic [field]=\"field\" [form]=\"_form\" [self]=\"self\"\n [formErrors]=\"__monkeyexcFormErrors\" [style.display]=\"'none'\">\n </div>\n </div>\n</form>", directives: [{ type: i3__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i3__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: MECXDynamicDirective, selector: "[MECXDynamic]", inputs: ["field", "form", "formErrors", "self", "plusValidations"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1510
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicFormComponent, decorators: [{
|
|
1444
1511
|
type: i0.Component,
|
|
1445
1512
|
args: [{
|
|
1446
1513
|
selector: 'mecx-dynamic-form',
|
|
@@ -1509,9 +1576,9 @@
|
|
|
1509
1576
|
};
|
|
1510
1577
|
return MECXDynamicFormArrayComponent;
|
|
1511
1578
|
}(BaseDynamicArray));
|
|
1512
|
-
MECXDynamicFormArrayComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1513
|
-
MECXDynamicFormArrayComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1514
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1579
|
+
MECXDynamicFormArrayComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicFormArrayComponent, deps: [{ token: i1__namespace.FormBuilder }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1580
|
+
MECXDynamicFormArrayComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.14", type: MECXDynamicFormArrayComponent, selector: "mecx-dynamic-form-array", usesInheritance: true, ngImport: i0__namespace, template: "<form name=\"form\" [formGroup]=\"_form\" *ngIf=\"_form\">\n <div formArrayName=\"fields\">\n <div *ngFor=\"let item of formValues.controls; let indForm=index\" [formGroupName]=\"indForm\">\n <monkey-button type=\"secondary\" color=\"error\" icon=\"close-20\" iconPosition=\"right\"\n [label]=\"'BUTTONS.REMOVE' | translate\" (click)=\"onHandleRemove(indForm)\"\n *ngIf=\"indForm > 0 && !disabled\">\n </monkey-button>\n <div class=\"row mt-3\">\n <div *ngFor=\"let field of fields;\" MECXDynamic [field]=\"field\" [form]=\"item\" [self]=\"self\"\n [formErrors]=\"__monkeyexcFormErrors[indForm]\"\n [plusValidations]=\"_plusValidations[indForm]\" [style.display]=\"'none'\">\n </div>\n </div>\n </div>\n </div>\n</form>\n<monkey-button type=\"secondary\" color=\"theme\" icon=\"more-20\" iconPosition=\"right\"\n [label]=\"'BUTTONS.ADD' | translate\" (click)=\"onHandleAdd()\" *ngIf=\"!disabled\">\n</monkey-button>", styles: ["mecx-dynamic-form-array monkey-button{width:100%}mecx-dynamic-form-array monkey-button button{width:100%;height:40px}\n"], components: [{ type: i1__namespace$1.MonkeyButtonComponent, selector: "monkey-button", inputs: ["label", "icon", "iconPosition", "type", "color", "disabled", "size"] }], directives: [{ type: i3__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1__namespace.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { type: i3__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: MECXDynamicDirective, selector: "[MECXDynamic]", inputs: ["field", "form", "formErrors", "self", "plusValidations"] }], pipes: { "translate": i3__namespace.TranslatePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1581
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicFormArrayComponent, decorators: [{
|
|
1515
1582
|
type: i0.Component,
|
|
1516
1583
|
args: [{
|
|
1517
1584
|
selector: 'mecx-dynamic-form-array',
|
|
@@ -1526,16 +1593,17 @@
|
|
|
1526
1593
|
}
|
|
1527
1594
|
return MECXDynamicModule;
|
|
1528
1595
|
}());
|
|
1529
|
-
MECXDynamicModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1530
|
-
MECXDynamicModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
1596
|
+
MECXDynamicModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1597
|
+
MECXDynamicModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicModule, declarations: [MECXDynamicButtonComponent,
|
|
1531
1598
|
MECXDynamicFileUploadComponent,
|
|
1532
1599
|
MECXDynamicFormComponent,
|
|
1533
1600
|
MECXDynamicFormArrayComponent,
|
|
1534
1601
|
MECXDynamicInputComponent,
|
|
1602
|
+
MECXDynamicInputPhoneComponent,
|
|
1535
1603
|
MECXDynamicRadioComponent,
|
|
1536
1604
|
MECXDynamicSelectComponent,
|
|
1537
1605
|
MECXDynamicSelectSearchComponent,
|
|
1538
|
-
MECXDynamicDirective], imports: [i3.CommonModule,
|
|
1606
|
+
MECXDynamicDirective], imports: [i3$1.CommonModule,
|
|
1539
1607
|
i1$1.FormsModule,
|
|
1540
1608
|
i1$1.ReactiveFormsModule,
|
|
1541
1609
|
i1.MonkeyInputModule,
|
|
@@ -1543,9 +1611,10 @@
|
|
|
1543
1611
|
i1.MonkeyRadioButtonModule,
|
|
1544
1612
|
i1.MonkeyOptionModule,
|
|
1545
1613
|
i1.MonkeyFileUploadModule,
|
|
1546
|
-
i1.MonkeyButtonModule,
|
|
1547
|
-
|
|
1548
|
-
|
|
1614
|
+
i1.MonkeyButtonModule,
|
|
1615
|
+
i1.MonkeyInputPhoneModule, i3__namespace.TranslateModule], exports: [MECXDynamicDirective, MECXDynamicFormComponent, MECXDynamicFormArrayComponent] });
|
|
1616
|
+
MECXDynamicModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicModule, imports: [[
|
|
1617
|
+
i3$1.CommonModule,
|
|
1549
1618
|
i1$1.FormsModule,
|
|
1550
1619
|
i1$1.ReactiveFormsModule,
|
|
1551
1620
|
i1.MonkeyInputModule,
|
|
@@ -1554,9 +1623,10 @@
|
|
|
1554
1623
|
i1.MonkeyOptionModule,
|
|
1555
1624
|
i1.MonkeyFileUploadModule,
|
|
1556
1625
|
i1.MonkeyButtonModule,
|
|
1557
|
-
|
|
1626
|
+
i1.MonkeyInputPhoneModule,
|
|
1627
|
+
i3.TranslateModule.forChild()
|
|
1558
1628
|
]] });
|
|
1559
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1629
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.14", ngImport: i0__namespace, type: MECXDynamicModule, decorators: [{
|
|
1560
1630
|
type: i0.NgModule,
|
|
1561
1631
|
args: [{
|
|
1562
1632
|
declarations: [
|
|
@@ -1565,13 +1635,14 @@
|
|
|
1565
1635
|
MECXDynamicFormComponent,
|
|
1566
1636
|
MECXDynamicFormArrayComponent,
|
|
1567
1637
|
MECXDynamicInputComponent,
|
|
1638
|
+
MECXDynamicInputPhoneComponent,
|
|
1568
1639
|
MECXDynamicRadioComponent,
|
|
1569
1640
|
MECXDynamicSelectComponent,
|
|
1570
1641
|
MECXDynamicSelectSearchComponent,
|
|
1571
1642
|
MECXDynamicDirective
|
|
1572
1643
|
],
|
|
1573
1644
|
imports: [
|
|
1574
|
-
i3.CommonModule,
|
|
1645
|
+
i3$1.CommonModule,
|
|
1575
1646
|
i1$1.FormsModule,
|
|
1576
1647
|
i1$1.ReactiveFormsModule,
|
|
1577
1648
|
i1.MonkeyInputModule,
|
|
@@ -1580,7 +1651,8 @@
|
|
|
1580
1651
|
i1.MonkeyOptionModule,
|
|
1581
1652
|
i1.MonkeyFileUploadModule,
|
|
1582
1653
|
i1.MonkeyButtonModule,
|
|
1583
|
-
|
|
1654
|
+
i1.MonkeyInputPhoneModule,
|
|
1655
|
+
i3.TranslateModule.forChild()
|
|
1584
1656
|
],
|
|
1585
1657
|
exports: [MECXDynamicDirective, MECXDynamicFormComponent, MECXDynamicFormArrayComponent],
|
|
1586
1658
|
entryComponents: [MECXDynamicInputComponent]
|
|
@@ -1603,6 +1675,7 @@
|
|
|
1603
1675
|
exports.MECXDynamicFormArrayComponent = MECXDynamicFormArrayComponent;
|
|
1604
1676
|
exports.MECXDynamicFormComponent = MECXDynamicFormComponent;
|
|
1605
1677
|
exports.MECXDynamicInputComponent = MECXDynamicInputComponent;
|
|
1678
|
+
exports.MECXDynamicInputPhoneComponent = MECXDynamicInputPhoneComponent;
|
|
1606
1679
|
exports.MECXDynamicModule = MECXDynamicModule;
|
|
1607
1680
|
exports.MECXDynamicRadioComponent = MECXDynamicRadioComponent;
|
|
1608
1681
|
exports.MECXDynamicSelectComponent = MECXDynamicSelectComponent;
|
|
@@ -1610,5 +1683,5 @@
|
|
|
1610
1683
|
|
|
1611
1684
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1612
1685
|
|
|
1613
|
-
}))
|
|
1686
|
+
}));
|
|
1614
1687
|
//# sourceMappingURL=monkey-front-components.umd.js.map
|