@ngx-formly/bootstrap 6.0.0-next.1 → 6.0.0-next.5
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/README.md +2 -2
- package/addons/addons.component.d.ts +3 -0
- package/addons/addons.module.d.ts +8 -0
- package/addons/ngx-formly-bootstrap-addons.d.ts +1 -2
- package/addons/package.json +5 -6
- package/checkbox/checkbox.module.d.ts +9 -0
- package/checkbox/checkbox.type.d.ts +3 -0
- package/checkbox/ngx-formly-bootstrap-checkbox.d.ts +1 -0
- package/checkbox/package.json +5 -6
- package/{esm2015/addons/addon.extension.js → esm2020/addons/addon.extension.mjs} +0 -0
- package/esm2020/addons/addons.component.mjs +19 -0
- package/esm2020/addons/addons.module.mjs +36 -0
- package/esm2020/addons/ngx-formly-bootstrap-addons.mjs +5 -0
- package/{esm2015/addons/public_api.js → esm2020/addons/public_api.mjs} +0 -0
- package/esm2020/checkbox/checkbox.module.mjs +57 -0
- package/esm2020/checkbox/checkbox.type.mjs +73 -0
- package/{esm2015/checkbox/ngx-formly-bootstrap-checkbox.js → esm2020/checkbox/ngx-formly-bootstrap-checkbox.mjs} +0 -0
- package/{esm2015/checkbox/public_api.js → esm2020/checkbox/public_api.mjs} +0 -0
- package/esm2020/form-field/form-field.module.mjs +43 -0
- package/esm2020/form-field/form-field.wrapper.mjs +48 -0
- package/esm2020/form-field/ngx-formly-bootstrap-form-field.mjs +5 -0
- package/{esm2015/form-field/public_api.js → esm2020/form-field/public_api.mjs} +0 -0
- package/esm2020/input/input.module.mjs +87 -0
- package/esm2020/input/input.type.mjs +58 -0
- package/{esm2015/input/ngx-formly-bootstrap-input.js → esm2020/input/ngx-formly-bootstrap-input.mjs} +0 -0
- package/{esm2015/input/public_api.js → esm2020/input/public_api.mjs} +0 -0
- package/{esm2015/lib/bootstrap.js → esm2020/lib/bootstrap.mjs} +0 -0
- package/esm2020/lib/bootstrap.module.mjs +47 -0
- package/esm2020/multicheckbox/multicheckbox.module.mjs +53 -0
- package/esm2020/multicheckbox/multicheckbox.type.mjs +87 -0
- package/{esm2015/multicheckbox/ngx-formly-bootstrap-multicheckbox.js → esm2020/multicheckbox/ngx-formly-bootstrap-multicheckbox.mjs} +0 -0
- package/{esm2015/multicheckbox/public_api.js → esm2020/multicheckbox/public_api.mjs} +0 -0
- package/{esm2015/ngx-formly-bootstrap.js → esm2020/ngx-formly-bootstrap.mjs} +0 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/{esm2015/radio/ngx-formly-bootstrap-radio.js → esm2020/radio/ngx-formly-bootstrap-radio.mjs} +0 -0
- package/{esm2015/radio/public_api.js → esm2020/radio/public_api.mjs} +0 -0
- package/esm2020/radio/radio.module.mjs +53 -0
- package/esm2020/radio/radio.type.mjs +73 -0
- package/{esm2015/select/ngx-formly-bootstrap-select.js → esm2020/select/ngx-formly-bootstrap-select.mjs} +0 -0
- package/{esm2015/select/public_api.js → esm2020/select/public_api.mjs} +0 -0
- package/esm2020/select/select.module.mjs +55 -0
- package/esm2020/select/select.type.mjs +200 -0
- package/{esm2015/textarea/ngx-formly-bootstrap-textarea.js → esm2020/textarea/ngx-formly-bootstrap-textarea.mjs} +0 -0
- package/{esm2015/textarea/public_api.js → esm2020/textarea/public_api.mjs} +0 -0
- package/esm2020/textarea/textarea.module.mjs +49 -0
- package/esm2020/textarea/textarea.type.mjs +47 -0
- package/fesm2015/ngx-formly-bootstrap-addons.mjs +68 -0
- package/fesm2015/ngx-formly-bootstrap-addons.mjs.map +1 -0
- package/fesm2015/ngx-formly-bootstrap-checkbox.mjs +132 -0
- package/fesm2015/ngx-formly-bootstrap-checkbox.mjs.map +1 -0
- package/fesm2015/ngx-formly-bootstrap-form-field.mjs +93 -0
- package/fesm2015/ngx-formly-bootstrap-form-field.mjs.map +1 -0
- package/fesm2015/ngx-formly-bootstrap-input.mjs +147 -0
- package/fesm2015/ngx-formly-bootstrap-input.mjs.map +1 -0
- package/fesm2015/ngx-formly-bootstrap-multicheckbox.mjs +142 -0
- package/fesm2015/ngx-formly-bootstrap-multicheckbox.mjs.map +1 -0
- package/fesm2015/ngx-formly-bootstrap-radio.mjs +128 -0
- package/fesm2015/ngx-formly-bootstrap-radio.mjs.map +1 -0
- package/fesm2015/ngx-formly-bootstrap-select.mjs +256 -0
- package/fesm2015/ngx-formly-bootstrap-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-bootstrap-textarea.mjs +98 -0
- package/fesm2015/ngx-formly-bootstrap-textarea.mjs.map +1 -0
- package/fesm2015/ngx-formly-bootstrap.mjs +58 -0
- package/fesm2015/ngx-formly-bootstrap.mjs.map +1 -0
- package/fesm2020/ngx-formly-bootstrap-addons.mjs +66 -0
- package/fesm2020/ngx-formly-bootstrap-addons.mjs.map +1 -0
- package/fesm2020/ngx-formly-bootstrap-checkbox.mjs +132 -0
- package/fesm2020/ngx-formly-bootstrap-checkbox.mjs.map +1 -0
- package/fesm2020/ngx-formly-bootstrap-form-field.mjs +93 -0
- package/fesm2020/ngx-formly-bootstrap-form-field.mjs.map +1 -0
- package/fesm2020/ngx-formly-bootstrap-input.mjs +147 -0
- package/fesm2020/ngx-formly-bootstrap-input.mjs.map +1 -0
- package/fesm2020/ngx-formly-bootstrap-multicheckbox.mjs +142 -0
- package/fesm2020/ngx-formly-bootstrap-multicheckbox.mjs.map +1 -0
- package/fesm2020/ngx-formly-bootstrap-radio.mjs +128 -0
- package/fesm2020/ngx-formly-bootstrap-radio.mjs.map +1 -0
- package/fesm2020/ngx-formly-bootstrap-select.mjs +256 -0
- package/fesm2020/ngx-formly-bootstrap-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-bootstrap-textarea.mjs +98 -0
- package/fesm2020/ngx-formly-bootstrap-textarea.mjs.map +1 -0
- package/fesm2020/ngx-formly-bootstrap.mjs +58 -0
- package/fesm2020/ngx-formly-bootstrap.mjs.map +1 -0
- package/form-field/form-field.module.d.ts +8 -0
- package/form-field/form-field.wrapper.d.ts +3 -0
- package/form-field/ngx-formly-bootstrap-form-field.d.ts +1 -1
- package/form-field/package.json +5 -6
- package/input/input.module.d.ts +9 -0
- package/input/input.type.d.ts +3 -0
- package/input/ngx-formly-bootstrap-input.d.ts +1 -0
- package/input/package.json +5 -6
- package/lib/bootstrap.module.d.ts +12 -0
- package/multicheckbox/multicheckbox.module.d.ts +10 -0
- package/multicheckbox/multicheckbox.type.d.ts +3 -0
- package/multicheckbox/ngx-formly-bootstrap-multicheckbox.d.ts +1 -0
- package/multicheckbox/package.json +5 -6
- package/ngx-formly-bootstrap.d.ts +1 -0
- package/package.json +85 -9
- package/radio/ngx-formly-bootstrap-radio.d.ts +1 -0
- package/radio/package.json +5 -6
- package/radio/radio.module.d.ts +10 -0
- package/radio/radio.type.d.ts +3 -0
- package/select/ngx-formly-bootstrap-select.d.ts +1 -0
- package/select/package.json +5 -6
- package/select/select.module.d.ts +10 -0
- package/select/select.type.d.ts +6 -0
- package/textarea/ngx-formly-bootstrap-textarea.d.ts +1 -0
- package/textarea/package.json +5 -6
- package/textarea/textarea.module.d.ts +9 -0
- package/textarea/textarea.type.d.ts +3 -0
- package/addons/ngx-formly-bootstrap-addons.metadata.json +0 -1
- package/bundles/ngx-formly-bootstrap-addons.umd.js +0 -379
- package/bundles/ngx-formly-bootstrap-addons.umd.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-addons.umd.min.js +0 -16
- package/bundles/ngx-formly-bootstrap-addons.umd.min.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-checkbox.umd.js +0 -378
- package/bundles/ngx-formly-bootstrap-checkbox.umd.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-checkbox.umd.min.js +0 -16
- package/bundles/ngx-formly-bootstrap-checkbox.umd.min.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-form-field.umd.js +0 -364
- package/bundles/ngx-formly-bootstrap-form-field.umd.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-form-field.umd.min.js +0 -16
- package/bundles/ngx-formly-bootstrap-form-field.umd.min.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-input.umd.js +0 -392
- package/bundles/ngx-formly-bootstrap-input.umd.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-input.umd.min.js +0 -16
- package/bundles/ngx-formly-bootstrap-input.umd.min.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-multicheckbox.umd.js +0 -389
- package/bundles/ngx-formly-bootstrap-multicheckbox.umd.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-multicheckbox.umd.min.js +0 -16
- package/bundles/ngx-formly-bootstrap-multicheckbox.umd.min.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-radio.umd.js +0 -374
- package/bundles/ngx-formly-bootstrap-radio.umd.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-radio.umd.min.js +0 -16
- package/bundles/ngx-formly-bootstrap-radio.umd.min.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-select.umd.js +0 -415
- package/bundles/ngx-formly-bootstrap-select.umd.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-select.umd.min.js +0 -16
- package/bundles/ngx-formly-bootstrap-select.umd.min.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-textarea.umd.js +0 -373
- package/bundles/ngx-formly-bootstrap-textarea.umd.js.map +0 -1
- package/bundles/ngx-formly-bootstrap-textarea.umd.min.js +0 -16
- package/bundles/ngx-formly-bootstrap-textarea.umd.min.js.map +0 -1
- package/bundles/ngx-formly-bootstrap.umd.js +0 -40
- package/bundles/ngx-formly-bootstrap.umd.js.map +0 -1
- package/bundles/ngx-formly-bootstrap.umd.min.js +0 -2
- package/bundles/ngx-formly-bootstrap.umd.min.js.map +0 -1
- package/checkbox/ngx-formly-bootstrap-checkbox.metadata.json +0 -1
- package/esm2015/addons/addons.component.js +0 -21
- package/esm2015/addons/addons.module.js +0 -22
- package/esm2015/addons/ngx-formly-bootstrap-addons.js +0 -7
- package/esm2015/checkbox/checkbox.module.js +0 -32
- package/esm2015/checkbox/checkbox.type.js +0 -53
- package/esm2015/form-field/form-field.module.js +0 -25
- package/esm2015/form-field/form-field.wrapper.js +0 -27
- package/esm2015/form-field/ngx-formly-bootstrap-form-field.js +0 -6
- package/esm2015/input/input.module.js +0 -47
- package/esm2015/input/input.type.js +0 -33
- package/esm2015/lib/bootstrap.module.js +0 -26
- package/esm2015/multicheckbox/multicheckbox.module.js +0 -30
- package/esm2015/multicheckbox/multicheckbox.type.js +0 -68
- package/esm2015/radio/radio.module.js +0 -30
- package/esm2015/radio/radio.type.js +0 -54
- package/esm2015/select/select.module.js +0 -31
- package/esm2015/select/select.type.js +0 -127
- package/esm2015/textarea/textarea.module.js +0 -28
- package/esm2015/textarea/textarea.type.js +0 -31
- package/fesm2015/ngx-formly-bootstrap-addons.js +0 -55
- package/fesm2015/ngx-formly-bootstrap-addons.js.map +0 -1
- package/fesm2015/ngx-formly-bootstrap-checkbox.js +0 -89
- package/fesm2015/ngx-formly-bootstrap-checkbox.js.map +0 -1
- package/fesm2015/ngx-formly-bootstrap-form-field.js +0 -56
- package/fesm2015/ngx-formly-bootstrap-form-field.js.map +0 -1
- package/fesm2015/ngx-formly-bootstrap-input.js +0 -84
- package/fesm2015/ngx-formly-bootstrap-input.js.map +0 -1
- package/fesm2015/ngx-formly-bootstrap-multicheckbox.js +0 -102
- package/fesm2015/ngx-formly-bootstrap-multicheckbox.js.map +0 -1
- package/fesm2015/ngx-formly-bootstrap-radio.js +0 -88
- package/fesm2015/ngx-formly-bootstrap-radio.js.map +0 -1
- package/fesm2015/ngx-formly-bootstrap-select.js +0 -161
- package/fesm2015/ngx-formly-bootstrap-select.js.map +0 -1
- package/fesm2015/ngx-formly-bootstrap-textarea.js +0 -63
- package/fesm2015/ngx-formly-bootstrap-textarea.js.map +0 -1
- package/fesm2015/ngx-formly-bootstrap.js +0 -37
- package/fesm2015/ngx-formly-bootstrap.js.map +0 -1
- package/form-field/ngx-formly-bootstrap-form-field.metadata.json +0 -1
- package/input/ngx-formly-bootstrap-input.metadata.json +0 -1
- package/multicheckbox/ngx-formly-bootstrap-multicheckbox.metadata.json +0 -1
- package/ngx-formly-bootstrap.metadata.json +0 -1
- package/radio/ngx-formly-bootstrap-radio.metadata.json +0 -1
- package/select/ngx-formly-bootstrap-select.metadata.json +0 -1
- package/textarea/ngx-formly-bootstrap-textarea.metadata.json +0 -1
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
6
|
-
import { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';
|
|
7
|
-
|
|
8
|
-
class FormlyFieldRadio extends FieldType {
|
|
9
|
-
constructor() {
|
|
10
|
-
super(...arguments);
|
|
11
|
-
this.defaultOptions = {
|
|
12
|
-
templateOptions: {
|
|
13
|
-
options: [],
|
|
14
|
-
formCheck: 'custom',
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
FormlyFieldRadio.decorators = [
|
|
20
|
-
{ type: Component, args: [{
|
|
21
|
-
selector: 'formly-field-radio',
|
|
22
|
-
template: `
|
|
23
|
-
<div>
|
|
24
|
-
<div
|
|
25
|
-
*ngFor="let option of to.options | formlySelectOptions: field | async; let i = index"
|
|
26
|
-
[ngClass]="{
|
|
27
|
-
'form-check': to.formCheck.indexOf('custom') === -1,
|
|
28
|
-
'form-check-inline': to.formCheck === 'inline',
|
|
29
|
-
'custom-control custom-radio': to.formCheck.indexOf('custom') === 0,
|
|
30
|
-
'custom-control-inline': to.formCheck === 'custom-inline'
|
|
31
|
-
}"
|
|
32
|
-
>
|
|
33
|
-
<input
|
|
34
|
-
type="radio"
|
|
35
|
-
[id]="id + '_' + i"
|
|
36
|
-
[class.form-check-input]="to.formCheck.indexOf('custom') === -1"
|
|
37
|
-
[class.custom-control-input]="to.formCheck.indexOf('custom') === 0"
|
|
38
|
-
[name]="field.name || id"
|
|
39
|
-
[class.is-invalid]="showError"
|
|
40
|
-
[attr.value]="option.value"
|
|
41
|
-
[value]="option.value"
|
|
42
|
-
[formControl]="formControl"
|
|
43
|
-
[formlyAttributes]="field"
|
|
44
|
-
[attr.disabled]="option.disabled || formControl.disabled ? true : null"
|
|
45
|
-
/>
|
|
46
|
-
<label
|
|
47
|
-
[class.form-check-label]="to.formCheck.indexOf('custom') === -1"
|
|
48
|
-
[class.custom-control-label]="to.formCheck.indexOf('custom') === 0"
|
|
49
|
-
[for]="id + '_' + i"
|
|
50
|
-
>
|
|
51
|
-
{{ option.label }}
|
|
52
|
-
</label>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
`,
|
|
56
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
57
|
-
},] }
|
|
58
|
-
];
|
|
59
|
-
|
|
60
|
-
class FormlyBootstrapRadioModule {
|
|
61
|
-
}
|
|
62
|
-
FormlyBootstrapRadioModule.decorators = [
|
|
63
|
-
{ type: NgModule, args: [{
|
|
64
|
-
declarations: [FormlyFieldRadio],
|
|
65
|
-
imports: [
|
|
66
|
-
CommonModule,
|
|
67
|
-
ReactiveFormsModule,
|
|
68
|
-
FormlyBootstrapFormFieldModule,
|
|
69
|
-
FormlySelectModule,
|
|
70
|
-
FormlyModule.forChild({
|
|
71
|
-
types: [
|
|
72
|
-
{
|
|
73
|
-
name: 'radio',
|
|
74
|
-
component: FormlyFieldRadio,
|
|
75
|
-
wrappers: ['form-field'],
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
}),
|
|
79
|
-
],
|
|
80
|
-
},] }
|
|
81
|
-
];
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Generated bundle index. Do not edit.
|
|
85
|
-
*/
|
|
86
|
-
|
|
87
|
-
export { FormlyBootstrapRadioModule, FormlyFieldRadio };
|
|
88
|
-
//# sourceMappingURL=ngx-formly-bootstrap-radio.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-bootstrap-radio.js","sources":["../../../../src/ui/bootstrap/radio/src/radio.type.ts","../../../../src/ui/bootstrap/radio/src/radio.module.ts","../../../../src/ui/bootstrap/radio/src/ngx-formly-bootstrap-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-radio',\n template: `\n <div>\n <div\n *ngFor=\"let option of to.options | formlySelectOptions: field | async; let i = index\"\n [ngClass]=\"{\n 'form-check': to.formCheck.indexOf('custom') === -1,\n 'form-check-inline': to.formCheck === 'inline',\n 'custom-control custom-radio': to.formCheck.indexOf('custom') === 0,\n 'custom-control-inline': to.formCheck === 'custom-inline'\n }\"\n >\n <input\n type=\"radio\"\n [id]=\"id + '_' + i\"\n [class.form-check-input]=\"to.formCheck.indexOf('custom') === -1\"\n [class.custom-control-input]=\"to.formCheck.indexOf('custom') === 0\"\n [name]=\"field.name || id\"\n [class.is-invalid]=\"showError\"\n [attr.value]=\"option.value\"\n [value]=\"option.value\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [attr.disabled]=\"option.disabled || formControl.disabled ? true : null\"\n />\n <label\n [class.form-check-label]=\"to.formCheck.indexOf('custom') === -1\"\n [class.custom-control-label]=\"to.formCheck.indexOf('custom') === 0\"\n [for]=\"id + '_' + i\"\n >\n {{ option.label }}\n </label>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldRadio extends FieldType {\n defaultOptions = {\n templateOptions: {\n options: [],\n formCheck: 'custom', // 'custom' | 'custom-inline' | 'stacked' | 'inline'\n },\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\n\nimport { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';\nimport { FormlyFieldRadio } from './radio.type';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n FormlyBootstrapFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyBootstrapRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAyCa,gBAAiB,SAAQ,SAAS;IAtC/C;;QAuCE,mBAAc,GAAG;YACf,eAAe,EAAE;gBACf,OAAO,EAAE,EAAE;gBACX,SAAS,EAAE,QAAQ;aACpB;SACF,CAAC;KACH;;;YA7CA,SAAS,SAAC;gBACT,QAAQ,EAAE,oBAAoB;gBAC9B,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCZY,0BAA0B;;;YAnBtC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;gBAChC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBAEnB,8BAA8B;oBAC9B,kBAAkB;oBAClB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,OAAO;gCACb,SAAS,EAAE,gBAAgB;gCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;yBACF;qBACF,CAAC;iBACH;aACF;;;AC3BD;;;;;;"}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, NgZone, ViewChild, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { SelectControlValueAccessor, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
5
|
-
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
6
|
-
import { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';
|
|
7
|
-
import { take } from 'rxjs/operators';
|
|
8
|
-
|
|
9
|
-
class FormlyFieldSelect extends FieldType {
|
|
10
|
-
constructor(ngZone) {
|
|
11
|
-
super();
|
|
12
|
-
this.ngZone = ngZone;
|
|
13
|
-
this.defaultOptions = {
|
|
14
|
-
templateOptions: {
|
|
15
|
-
options: [],
|
|
16
|
-
compareWith(o1, o2) {
|
|
17
|
-
return o1 === o2;
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
// workaround for https://github.com/angular/angular/issues/10010
|
|
23
|
-
set selectAccessor(s) {
|
|
24
|
-
if (!s) {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
const writeValue = s.writeValue.bind(s);
|
|
28
|
-
if (s._getOptionId(s.value) === null) {
|
|
29
|
-
writeValue(s.value);
|
|
30
|
-
}
|
|
31
|
-
s.writeValue = (value) => {
|
|
32
|
-
const id = s._idCounter;
|
|
33
|
-
writeValue(value);
|
|
34
|
-
if (value === null) {
|
|
35
|
-
this.ngZone.onStable
|
|
36
|
-
.asObservable()
|
|
37
|
-
.pipe(take(1))
|
|
38
|
-
.subscribe(() => {
|
|
39
|
-
if (id !== s._idCounter &&
|
|
40
|
-
s._getOptionId(value) === null &&
|
|
41
|
-
s._elementRef.nativeElement.selectedIndex !== -1) {
|
|
42
|
-
writeValue(value);
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
FormlyFieldSelect.decorators = [
|
|
50
|
-
{ type: Component, args: [{
|
|
51
|
-
selector: 'formly-field-select',
|
|
52
|
-
template: `
|
|
53
|
-
<select
|
|
54
|
-
*ngIf="to.multiple; else singleSelect"
|
|
55
|
-
class="form-control"
|
|
56
|
-
multiple
|
|
57
|
-
[class.custom-select]="to.customSelect"
|
|
58
|
-
[formControl]="formControl"
|
|
59
|
-
[compareWith]="to.compareWith"
|
|
60
|
-
[class.is-invalid]="showError"
|
|
61
|
-
[formlyAttributes]="field"
|
|
62
|
-
>
|
|
63
|
-
<ng-container *ngIf="to.options | formlySelectOptions: field | async as opts">
|
|
64
|
-
<ng-container *ngIf="to._flatOptions; else grouplist">
|
|
65
|
-
<ng-container *ngFor="let opt of opts">
|
|
66
|
-
<option [ngValue]="opt.value" [disabled]="opt.disabled">{{ opt.label }}</option>
|
|
67
|
-
</ng-container>
|
|
68
|
-
</ng-container>
|
|
69
|
-
|
|
70
|
-
<ng-template #grouplist>
|
|
71
|
-
<ng-container *ngFor="let opt of opts">
|
|
72
|
-
<option *ngIf="!opt.group; else optgroup" [ngValue]="opt.value" [disabled]="opt.disabled">
|
|
73
|
-
{{ opt.label }}
|
|
74
|
-
</option>
|
|
75
|
-
<ng-template #optgroup>
|
|
76
|
-
<optgroup [label]="opt.label">
|
|
77
|
-
<option *ngFor="let child of opt.group" [ngValue]="child.value" [disabled]="child.disabled">
|
|
78
|
-
{{ child.label }}
|
|
79
|
-
</option>
|
|
80
|
-
</optgroup>
|
|
81
|
-
</ng-template>
|
|
82
|
-
</ng-container>
|
|
83
|
-
</ng-template>
|
|
84
|
-
</ng-container>
|
|
85
|
-
</select>
|
|
86
|
-
|
|
87
|
-
<ng-template #singleSelect>
|
|
88
|
-
<select
|
|
89
|
-
class="form-control"
|
|
90
|
-
[formControl]="formControl"
|
|
91
|
-
[compareWith]="to.compareWith"
|
|
92
|
-
[class.custom-select]="to.customSelect"
|
|
93
|
-
[class.is-invalid]="showError"
|
|
94
|
-
[formlyAttributes]="field"
|
|
95
|
-
>
|
|
96
|
-
<option *ngIf="to.placeholder" [ngValue]="undefined">{{ to.placeholder }}</option>
|
|
97
|
-
<ng-container *ngIf="to.options | formlySelectOptions: field | async as opts">
|
|
98
|
-
<ng-container *ngIf="to._flatOptions; else grouplist">
|
|
99
|
-
<ng-container *ngFor="let opt of opts">
|
|
100
|
-
<option [ngValue]="opt.value" [disabled]="opt.disabled">{{ opt.label }}</option>
|
|
101
|
-
</ng-container>
|
|
102
|
-
</ng-container>
|
|
103
|
-
|
|
104
|
-
<ng-template #grouplist>
|
|
105
|
-
<ng-container *ngFor="let opt of opts">
|
|
106
|
-
<option *ngIf="!opt.group; else optgroup" [ngValue]="opt.value" [disabled]="opt.disabled">
|
|
107
|
-
{{ opt.label }}
|
|
108
|
-
</option>
|
|
109
|
-
<ng-template #optgroup>
|
|
110
|
-
<optgroup [label]="opt.label">
|
|
111
|
-
<option *ngFor="let child of opt.group" [ngValue]="child.value" [disabled]="child.disabled">
|
|
112
|
-
{{ child.label }}
|
|
113
|
-
</option>
|
|
114
|
-
</optgroup>
|
|
115
|
-
</ng-template>
|
|
116
|
-
</ng-container>
|
|
117
|
-
</ng-template>
|
|
118
|
-
</ng-container>
|
|
119
|
-
</select>
|
|
120
|
-
</ng-template>
|
|
121
|
-
`,
|
|
122
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
123
|
-
},] }
|
|
124
|
-
];
|
|
125
|
-
FormlyFieldSelect.ctorParameters = () => [
|
|
126
|
-
{ type: NgZone }
|
|
127
|
-
];
|
|
128
|
-
FormlyFieldSelect.propDecorators = {
|
|
129
|
-
selectAccessor: [{ type: ViewChild, args: [SelectControlValueAccessor,] }]
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
class FormlyBootstrapSelectModule {
|
|
133
|
-
}
|
|
134
|
-
FormlyBootstrapSelectModule.decorators = [
|
|
135
|
-
{ type: NgModule, args: [{
|
|
136
|
-
declarations: [FormlyFieldSelect],
|
|
137
|
-
imports: [
|
|
138
|
-
CommonModule,
|
|
139
|
-
ReactiveFormsModule,
|
|
140
|
-
FormlyBootstrapFormFieldModule,
|
|
141
|
-
FormlySelectModule,
|
|
142
|
-
FormlyModule.forChild({
|
|
143
|
-
types: [
|
|
144
|
-
{
|
|
145
|
-
name: 'select',
|
|
146
|
-
component: FormlyFieldSelect,
|
|
147
|
-
wrappers: ['form-field'],
|
|
148
|
-
},
|
|
149
|
-
{ name: 'enum', extends: 'select' },
|
|
150
|
-
],
|
|
151
|
-
}),
|
|
152
|
-
],
|
|
153
|
-
},] }
|
|
154
|
-
];
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Generated bundle index. Do not edit.
|
|
158
|
-
*/
|
|
159
|
-
|
|
160
|
-
export { FormlyBootstrapSelectModule, FormlyFieldSelect };
|
|
161
|
-
//# sourceMappingURL=ngx-formly-bootstrap-select.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-bootstrap-select.js","sources":["../../../../src/ui/bootstrap/select/src/select.type.ts","../../../../src/ui/bootstrap/select/src/select.module.ts","../../../../src/ui/bootstrap/select/src/ngx-formly-bootstrap-select.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewChild, NgZone } from '@angular/core';\nimport { SelectControlValueAccessor } from '@angular/forms';\nimport { FieldType } from '@ngx-formly/core';\nimport { take } from 'rxjs/operators';\n\n@Component({\n selector: 'formly-field-select',\n template: `\n <select\n *ngIf=\"to.multiple; else singleSelect\"\n class=\"form-control\"\n multiple\n [class.custom-select]=\"to.customSelect\"\n [formControl]=\"formControl\"\n [compareWith]=\"to.compareWith\"\n [class.is-invalid]=\"showError\"\n [formlyAttributes]=\"field\"\n >\n <ng-container *ngIf=\"to.options | formlySelectOptions: field | async as opts\">\n <ng-container *ngIf=\"to._flatOptions; else grouplist\">\n <ng-container *ngFor=\"let opt of opts\">\n <option [ngValue]=\"opt.value\" [disabled]=\"opt.disabled\">{{ opt.label }}</option>\n </ng-container>\n </ng-container>\n\n <ng-template #grouplist>\n <ng-container *ngFor=\"let opt of opts\">\n <option *ngIf=\"!opt.group; else optgroup\" [ngValue]=\"opt.value\" [disabled]=\"opt.disabled\">\n {{ opt.label }}\n </option>\n <ng-template #optgroup>\n <optgroup [label]=\"opt.label\">\n <option *ngFor=\"let child of opt.group\" [ngValue]=\"child.value\" [disabled]=\"child.disabled\">\n {{ child.label }}\n </option>\n </optgroup>\n </ng-template>\n </ng-container>\n </ng-template>\n </ng-container>\n </select>\n\n <ng-template #singleSelect>\n <select\n class=\"form-control\"\n [formControl]=\"formControl\"\n [compareWith]=\"to.compareWith\"\n [class.custom-select]=\"to.customSelect\"\n [class.is-invalid]=\"showError\"\n [formlyAttributes]=\"field\"\n >\n <option *ngIf=\"to.placeholder\" [ngValue]=\"undefined\">{{ to.placeholder }}</option>\n <ng-container *ngIf=\"to.options | formlySelectOptions: field | async as opts\">\n <ng-container *ngIf=\"to._flatOptions; else grouplist\">\n <ng-container *ngFor=\"let opt of opts\">\n <option [ngValue]=\"opt.value\" [disabled]=\"opt.disabled\">{{ opt.label }}</option>\n </ng-container>\n </ng-container>\n\n <ng-template #grouplist>\n <ng-container *ngFor=\"let opt of opts\">\n <option *ngIf=\"!opt.group; else optgroup\" [ngValue]=\"opt.value\" [disabled]=\"opt.disabled\">\n {{ opt.label }}\n </option>\n <ng-template #optgroup>\n <optgroup [label]=\"opt.label\">\n <option *ngFor=\"let child of opt.group\" [ngValue]=\"child.value\" [disabled]=\"child.disabled\">\n {{ child.label }}\n </option>\n </optgroup>\n </ng-template>\n </ng-container>\n </ng-template>\n </ng-container>\n </select>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldSelect extends FieldType {\n defaultOptions = {\n templateOptions: {\n options: [],\n compareWith(o1: any, o2: any) {\n return o1 === o2;\n },\n },\n };\n\n // workaround for https://github.com/angular/angular/issues/10010\n @ViewChild(SelectControlValueAccessor) set selectAccessor(s: any) {\n if (!s) {\n return;\n }\n\n const writeValue = s.writeValue.bind(s);\n if (s._getOptionId(s.value) === null) {\n writeValue(s.value);\n }\n\n s.writeValue = (value: any) => {\n const id = s._idCounter;\n writeValue(value);\n if (value === null) {\n this.ngZone.onStable\n .asObservable()\n .pipe(take(1))\n .subscribe(() => {\n if (\n id !== s._idCounter &&\n s._getOptionId(value) === null &&\n s._elementRef.nativeElement.selectedIndex !== -1\n ) {\n writeValue(value);\n }\n });\n }\n };\n }\n\n constructor(private ngZone: NgZone) {\n super();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\n\nimport { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';\nimport { FormlyFieldSelect } from './select.type';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n FormlyBootstrapFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field'],\n },\n { name: 'enum', extends: 'select' },\n ],\n }),\n ],\n})\nexport class FormlyBootstrapSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MA+Ea,iBAAkB,SAAQ,SAAS;IAyC9C,YAAoB,MAAc;QAChC,KAAK,EAAE,CAAC;QADU,WAAM,GAAN,MAAM,CAAQ;QAxClC,mBAAc,GAAG;YACf,eAAe,EAAE;gBACf,OAAO,EAAE,EAAE;gBACX,WAAW,CAAC,EAAO,EAAE,EAAO;oBAC1B,OAAO,EAAE,KAAK,EAAE,CAAC;iBAClB;aACF;SACF,CAAC;KAmCD;;IAhCD,IAA2C,cAAc,CAAC,CAAM;QAC9D,IAAI,CAAC,CAAC,EAAE;YACN,OAAO;SACR;QAED,MAAM,UAAU,GAAG,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACxC,IAAI,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,EAAE;YACpC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;SACrB;QAED,CAAC,CAAC,UAAU,GAAG,CAAC,KAAU;YACxB,MAAM,EAAE,GAAG,CAAC,CAAC,UAAU,CAAC;YACxB,UAAU,CAAC,KAAK,CAAC,CAAC;YAClB,IAAI,KAAK,KAAK,IAAI,EAAE;gBAClB,IAAI,CAAC,MAAM,CAAC,QAAQ;qBACjB,YAAY,EAAE;qBACd,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;qBACb,SAAS,CAAC;oBACT,IACE,EAAE,KAAK,CAAC,CAAC,UAAU;wBACnB,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,IAAI;wBAC9B,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,aAAa,KAAK,CAAC,CAAC,EAChD;wBACA,UAAU,CAAC,KAAK,CAAC,CAAC;qBACnB;iBACF,CAAC,CAAC;aACN;SACF,CAAC;KACH;;;YAjHF,SAAS,SAAC;gBACT,QAAQ,EAAE,qBAAqB;gBAC/B,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqET;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;YA9EuD,MAAM;;;6BA0F3D,SAAS,SAAC,0BAA0B;;;MC7D1B,2BAA2B;;;YApBvC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;gBACjC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBAEnB,8BAA8B;oBAC9B,kBAAkB;oBAClB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,iBAAiB;gCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;4BACD,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;yBACpC;qBACF,CAAC;iBACH;aACF;;;AC5BD;;;;;;"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';
|
|
6
|
-
|
|
7
|
-
class FormlyFieldTextArea extends FieldType {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.defaultOptions = {
|
|
11
|
-
templateOptions: {
|
|
12
|
-
cols: 1,
|
|
13
|
-
rows: 1,
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
FormlyFieldTextArea.decorators = [
|
|
19
|
-
{ type: Component, args: [{
|
|
20
|
-
selector: 'formly-field-textarea',
|
|
21
|
-
template: `
|
|
22
|
-
<textarea
|
|
23
|
-
[formControl]="formControl"
|
|
24
|
-
[cols]="to.cols"
|
|
25
|
-
[rows]="to.rows"
|
|
26
|
-
class="form-control"
|
|
27
|
-
[class.is-invalid]="showError"
|
|
28
|
-
[formlyAttributes]="field"
|
|
29
|
-
>
|
|
30
|
-
</textarea>
|
|
31
|
-
`,
|
|
32
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
33
|
-
},] }
|
|
34
|
-
];
|
|
35
|
-
|
|
36
|
-
class FormlyBootstrapTextAreaModule {
|
|
37
|
-
}
|
|
38
|
-
FormlyBootstrapTextAreaModule.decorators = [
|
|
39
|
-
{ type: NgModule, args: [{
|
|
40
|
-
declarations: [FormlyFieldTextArea],
|
|
41
|
-
imports: [
|
|
42
|
-
CommonModule,
|
|
43
|
-
ReactiveFormsModule,
|
|
44
|
-
FormlyBootstrapFormFieldModule,
|
|
45
|
-
FormlyModule.forChild({
|
|
46
|
-
types: [
|
|
47
|
-
{
|
|
48
|
-
name: 'textarea',
|
|
49
|
-
component: FormlyFieldTextArea,
|
|
50
|
-
wrappers: ['form-field'],
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
}),
|
|
54
|
-
],
|
|
55
|
-
},] }
|
|
56
|
-
];
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Generated bundle index. Do not edit.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
export { FormlyBootstrapTextAreaModule, FormlyFieldTextArea };
|
|
63
|
-
//# sourceMappingURL=ngx-formly-bootstrap-textarea.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-bootstrap-textarea.js","sources":["../../../../src/ui/bootstrap/textarea/src/textarea.type.ts","../../../../src/ui/bootstrap/textarea/src/textarea.module.ts","../../../../src/ui/bootstrap/textarea/src/ngx-formly-bootstrap-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-textarea',\n template: `\n <textarea\n [formControl]=\"formControl\"\n [cols]=\"to.cols\"\n [rows]=\"to.rows\"\n class=\"form-control\"\n [class.is-invalid]=\"showError\"\n [formlyAttributes]=\"field\"\n >\n </textarea>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldTextArea extends FieldType {\n defaultOptions = {\n templateOptions: {\n cols: 1,\n rows: 1,\n },\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';\nimport { FormlyFieldTextArea } from './textarea.type';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n FormlyBootstrapFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyBootstrapTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAkBa,mBAAoB,SAAQ,SAAS;IAflD;;QAgBE,mBAAc,GAAG;YACf,eAAe,EAAE;gBACf,IAAI,EAAE,CAAC;gBACP,IAAI,EAAE,CAAC;aACR;SACF,CAAC;KACH;;;YAtBA,SAAS,SAAC;gBACT,QAAQ,EAAE,uBAAuB;gBACjC,QAAQ,EAAE;;;;;;;;;;GAUT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCSY,6BAA6B;;;YAlBzC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBAEnB,8BAA8B;oBAC9B,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,UAAU;gCAChB,SAAS,EAAE,mBAAmB;gCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;yBACF;qBACF,CAAC;iBACH;aACF;;;ACzBD;;;;;;"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';
|
|
3
|
-
import { FormlyBootstrapInputModule } from '@ngx-formly/bootstrap/input';
|
|
4
|
-
import { FormlyBootstrapTextAreaModule } from '@ngx-formly/bootstrap/textarea';
|
|
5
|
-
import { FormlyBootstrapRadioModule } from '@ngx-formly/bootstrap/radio';
|
|
6
|
-
import { FormlyBootstrapCheckboxModule } from '@ngx-formly/bootstrap/checkbox';
|
|
7
|
-
import { FormlyBootstrapMultiCheckboxModule } from '@ngx-formly/bootstrap/multicheckbox';
|
|
8
|
-
import { FormlyBootstrapSelectModule } from '@ngx-formly/bootstrap/select';
|
|
9
|
-
import { FormlyBootstrapAddonsModule } from '@ngx-formly/bootstrap/addons';
|
|
10
|
-
|
|
11
|
-
class FormlyBootstrapModule {
|
|
12
|
-
}
|
|
13
|
-
FormlyBootstrapModule.decorators = [
|
|
14
|
-
{ type: NgModule, args: [{
|
|
15
|
-
imports: [
|
|
16
|
-
FormlyBootstrapFormFieldModule,
|
|
17
|
-
FormlyBootstrapInputModule,
|
|
18
|
-
FormlyBootstrapTextAreaModule,
|
|
19
|
-
FormlyBootstrapRadioModule,
|
|
20
|
-
FormlyBootstrapCheckboxModule,
|
|
21
|
-
FormlyBootstrapMultiCheckboxModule,
|
|
22
|
-
FormlyBootstrapSelectModule,
|
|
23
|
-
FormlyBootstrapAddonsModule,
|
|
24
|
-
],
|
|
25
|
-
},] }
|
|
26
|
-
];
|
|
27
|
-
|
|
28
|
-
/*
|
|
29
|
-
* Public API Surface of bootstrap
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Generated bundle index. Do not edit.
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
|
-
export { FormlyBootstrapModule };
|
|
37
|
-
//# sourceMappingURL=ngx-formly-bootstrap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-bootstrap.js","sources":["../../../../src/ui/bootstrap/src/lib/bootstrap.module.ts","../../../../src/ui/bootstrap/src/public_api.ts","../../../../src/ui/bootstrap/src/ngx-formly-bootstrap.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\n\nimport { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';\nimport { FormlyBootstrapInputModule } from '@ngx-formly/bootstrap/input';\nimport { FormlyBootstrapTextAreaModule } from '@ngx-formly/bootstrap/textarea';\nimport { FormlyBootstrapRadioModule } from '@ngx-formly/bootstrap/radio';\nimport { FormlyBootstrapCheckboxModule } from '@ngx-formly/bootstrap/checkbox';\nimport { FormlyBootstrapMultiCheckboxModule } from '@ngx-formly/bootstrap/multicheckbox';\nimport { FormlyBootstrapSelectModule } from '@ngx-formly/bootstrap/select';\nimport { FormlyBootstrapAddonsModule } from '@ngx-formly/bootstrap/addons';\n\n@NgModule({\n imports: [\n FormlyBootstrapFormFieldModule,\n FormlyBootstrapInputModule,\n FormlyBootstrapTextAreaModule,\n FormlyBootstrapRadioModule,\n FormlyBootstrapCheckboxModule,\n FormlyBootstrapMultiCheckboxModule,\n FormlyBootstrapSelectModule,\n FormlyBootstrapAddonsModule,\n ],\n})\nexport class FormlyBootstrapModule {}\n","/*\n * Public API Surface of bootstrap\n */\n\nexport * from './lib/bootstrap';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;MAuBa,qBAAqB;;;YAZjC,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,8BAA8B;oBAC9B,0BAA0B;oBAC1B,6BAA6B;oBAC7B,0BAA0B;oBAC1B,6BAA6B;oBAC7B,kCAAkC;oBAClC,2BAA2B;oBAC3B,2BAA2B;iBAC5B;aACF;;;ACtBD;;;;ACAA;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyBootstrapFormFieldModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":10,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":12,"character":4},"member":"forChild"},"arguments":[{"wrappers":[{"name":"form-field","component":{"__symbolic":"reference","name":"ɵa"}}]}]}]}]}],"members":{}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldWrapper","line":23,"character":44},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"formly-wrapper-form-field","template":"\n <div class=\"form-group\" [class.has-error]=\"showError\">\n <label *ngIf=\"to.label && to.hideLabel !== true\" [attr.for]=\"id\">\n {{ to.label }}\n <span *ngIf=\"to.required && to.hideRequiredMarker !== true\">*</span>\n </label>\n\n <ng-template #fieldComponent></ng-template>\n\n <div *ngIf=\"showError\" class=\"invalid-feedback\" [style.display]=\"'block'\">\n <formly-validation-message [field]=\"field\"></formly-validation-message>\n </div>\n\n <small *ngIf=\"to.description\" class=\"form-text text-muted\">{{ to.description }}</small>\n </div>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":21,"character":19},"member":"OnPush"}}]}],"members":{}}},"origins":{"FormlyBootstrapFormFieldModule":"./form-field.module","ɵa":"./form-field.wrapper"},"importAs":"@ngx-formly/bootstrap/form-field"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyBootstrapInputModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"FormlyFieldInput"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":13,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/form-field","name":"FormlyBootstrapFormFieldModule","line":15,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":16,"character":4},"member":"forChild"},"arguments":[{"types":[{"name":"input","component":{"__symbolic":"reference","name":"FormlyFieldInput"},"wrappers":["form-field"]},{"name":"string","extends":"input"},{"name":"number","extends":"input","defaultOptions":{"templateOptions":{"type":"number"}}},{"name":"integer","extends":"input","defaultOptions":{"templateOptions":{"type":"number"}}}]}]}]}]}],"members":{}},"FormlyFieldInput":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldType","line":26,"character":38},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"formly-field-input","template":"\n <input\n *ngIf=\"type !== 'number'; else numberTmp\"\n [type]=\"type\"\n [formControl]=\"formControl\"\n class=\"form-control\"\n [formlyAttributes]=\"field\"\n [class.is-invalid]=\"showError\"\n />\n <ng-template #numberTmp>\n <input\n type=\"number\"\n [formControl]=\"formControl\"\n class=\"form-control\"\n [formlyAttributes]=\"field\"\n [class.is-invalid]=\"showError\"\n />\n </ng-template>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":24,"character":19},"member":"OnPush"}}]}],"members":{}}},"origins":{"FormlyBootstrapInputModule":"./input.module","FormlyFieldInput":"./input.type"},"importAs":"@ngx-formly/bootstrap/input"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyBootstrapMultiCheckboxModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"FormlyFieldMultiCheckbox"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":13,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/form-field","name":"FormlyBootstrapFormFieldModule","line":15,"character":4},{"__symbolic":"reference","module":"@ngx-formly/core/select","name":"FormlySelectModule","line":16,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":17,"character":4},"member":"forChild"},"arguments":[{"types":[{"name":"multicheckbox","component":{"__symbolic":"reference","name":"FormlyFieldMultiCheckbox"},"wrappers":["form-field"]}]}]}]}]}],"members":{}},"FormlyFieldMultiCheckbox":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldType","line":40,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"formly-field-multicheckbox","template":"\n <div>\n <div\n *ngFor=\"let option of to.options | formlySelectOptions: field | async; let i = index\"\n [ngClass]=\"{\n 'form-check': to.formCheck.indexOf('custom') === -1,\n 'form-check-inline': to.formCheck === 'inline',\n 'custom-control': to.formCheck.indexOf('custom') === 0,\n 'custom-checkbox': to.formCheck === 'custom' || to.formCheck === 'custom-inline',\n 'custom-control-inline': to.formCheck === 'custom-inline',\n 'custom-switch': to.formCheck === 'custom-switch'\n }\"\n >\n <input\n type=\"checkbox\"\n [id]=\"id + '_' + i\"\n [class.form-check-input]=\"to.formCheck.indexOf('custom') === -1\"\n [class.custom-control-input]=\"to.formCheck.indexOf('custom') === 0\"\n [value]=\"option.value\"\n [checked]=\"isChecked(option)\"\n [formlyAttributes]=\"field\"\n (change)=\"onChange(option.value, $event.target.checked)\"\n />\n <label\n [class.form-check-label]=\"to.formCheck.indexOf('custom') === -1\"\n [class.custom-control-label]=\"to.formCheck.indexOf('custom') === 0\"\n [for]=\"id + '_' + i\"\n >\n {{ option.label }}\n </label>\n </div>\n </div>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":38,"character":19},"member":"OnPush"}}]}],"members":{"onChange":[{"__symbolic":"method"}],"isChecked":[{"__symbolic":"method"}]}}},"origins":{"FormlyBootstrapMultiCheckboxModule":"./multicheckbox.module","FormlyFieldMultiCheckbox":"./multicheckbox.type"},"importAs":"@ngx-formly/bootstrap/multicheckbox"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyBootstrapModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@ngx-formly/bootstrap/form-field","name":"FormlyBootstrapFormFieldModule","line":13,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/input","name":"FormlyBootstrapInputModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/textarea","name":"FormlyBootstrapTextAreaModule","line":15,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/radio","name":"FormlyBootstrapRadioModule","line":16,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/checkbox","name":"FormlyBootstrapCheckboxModule","line":17,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/multicheckbox","name":"FormlyBootstrapMultiCheckboxModule","line":18,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/select","name":"FormlyBootstrapSelectModule","line":19,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/addons","name":"FormlyBootstrapAddonsModule","line":20,"character":4}]}]}],"members":{}}},"origins":{"FormlyBootstrapModule":"./lib/bootstrap.module"},"importAs":"@ngx-formly/bootstrap"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyBootstrapRadioModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"FormlyFieldRadio"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":13,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/form-field","name":"FormlyBootstrapFormFieldModule","line":15,"character":4},{"__symbolic":"reference","module":"@ngx-formly/core/select","name":"FormlySelectModule","line":16,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":17,"character":4},"member":"forChild"},"arguments":[{"types":[{"name":"radio","component":{"__symbolic":"reference","name":"FormlyFieldRadio"},"wrappers":["form-field"]}]}]}]}]}],"members":{}},"FormlyFieldRadio":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldType","line":41,"character":38},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"formly-field-radio","template":"\n <div>\n <div\n *ngFor=\"let option of to.options | formlySelectOptions: field | async; let i = index\"\n [ngClass]=\"{\n 'form-check': to.formCheck.indexOf('custom') === -1,\n 'form-check-inline': to.formCheck === 'inline',\n 'custom-control custom-radio': to.formCheck.indexOf('custom') === 0,\n 'custom-control-inline': to.formCheck === 'custom-inline'\n }\"\n >\n <input\n type=\"radio\"\n [id]=\"id + '_' + i\"\n [class.form-check-input]=\"to.formCheck.indexOf('custom') === -1\"\n [class.custom-control-input]=\"to.formCheck.indexOf('custom') === 0\"\n [name]=\"field.name || id\"\n [class.is-invalid]=\"showError\"\n [attr.value]=\"option.value\"\n [value]=\"option.value\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [attr.disabled]=\"option.disabled || formControl.disabled ? true : null\"\n />\n <label\n [class.form-check-label]=\"to.formCheck.indexOf('custom') === -1\"\n [class.custom-control-label]=\"to.formCheck.indexOf('custom') === 0\"\n [for]=\"id + '_' + i\"\n >\n {{ option.label }}\n </label>\n </div>\n </div>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":39,"character":19},"member":"OnPush"}}]}],"members":{}}},"origins":{"FormlyBootstrapRadioModule":"./radio.module","FormlyFieldRadio":"./radio.type"},"importAs":"@ngx-formly/bootstrap/radio"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyBootstrapSelectModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"FormlyFieldSelect"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":13,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/form-field","name":"FormlyBootstrapFormFieldModule","line":15,"character":4},{"__symbolic":"reference","module":"@ngx-formly/core/select","name":"FormlySelectModule","line":16,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":17,"character":4},"member":"forChild"},"arguments":[{"types":[{"name":"select","component":{"__symbolic":"reference","name":"FormlyFieldSelect"},"wrappers":["form-field"]},{"name":"enum","extends":"select"}]}]}]}]}],"members":{}},"FormlyFieldSelect":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldType","line":79,"character":39},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"formly-field-select","template":"\n <select\n *ngIf=\"to.multiple; else singleSelect\"\n class=\"form-control\"\n multiple\n [class.custom-select]=\"to.customSelect\"\n [formControl]=\"formControl\"\n [compareWith]=\"to.compareWith\"\n [class.is-invalid]=\"showError\"\n [formlyAttributes]=\"field\"\n >\n <ng-container *ngIf=\"to.options | formlySelectOptions: field | async as opts\">\n <ng-container *ngIf=\"to._flatOptions; else grouplist\">\n <ng-container *ngFor=\"let opt of opts\">\n <option [ngValue]=\"opt.value\" [disabled]=\"opt.disabled\">{{ opt.label }}</option>\n </ng-container>\n </ng-container>\n\n <ng-template #grouplist>\n <ng-container *ngFor=\"let opt of opts\">\n <option *ngIf=\"!opt.group; else optgroup\" [ngValue]=\"opt.value\" [disabled]=\"opt.disabled\">\n {{ opt.label }}\n </option>\n <ng-template #optgroup>\n <optgroup [label]=\"opt.label\">\n <option *ngFor=\"let child of opt.group\" [ngValue]=\"child.value\" [disabled]=\"child.disabled\">\n {{ child.label }}\n </option>\n </optgroup>\n </ng-template>\n </ng-container>\n </ng-template>\n </ng-container>\n </select>\n\n <ng-template #singleSelect>\n <select\n class=\"form-control\"\n [formControl]=\"formControl\"\n [compareWith]=\"to.compareWith\"\n [class.custom-select]=\"to.customSelect\"\n [class.is-invalid]=\"showError\"\n [formlyAttributes]=\"field\"\n >\n <option *ngIf=\"to.placeholder\" [ngValue]=\"undefined\">{{ to.placeholder }}</option>\n <ng-container *ngIf=\"to.options | formlySelectOptions: field | async as opts\">\n <ng-container *ngIf=\"to._flatOptions; else grouplist\">\n <ng-container *ngFor=\"let opt of opts\">\n <option [ngValue]=\"opt.value\" [disabled]=\"opt.disabled\">{{ opt.label }}</option>\n </ng-container>\n </ng-container>\n\n <ng-template #grouplist>\n <ng-container *ngFor=\"let opt of opts\">\n <option *ngIf=\"!opt.group; else optgroup\" [ngValue]=\"opt.value\" [disabled]=\"opt.disabled\">\n {{ opt.label }}\n </option>\n <ng-template #optgroup>\n <optgroup [label]=\"opt.label\">\n <option *ngFor=\"let child of opt.group\" [ngValue]=\"child.value\" [disabled]=\"child.disabled\">\n {{ child.label }}\n </option>\n </optgroup>\n </ng-template>\n </ng-container>\n </ng-template>\n </ng-container>\n </select>\n </ng-template>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":77,"character":19},"member":"OnPush"}}]}],"members":{"selectAccessor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":90,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/forms","name":"SelectControlValueAccessor","line":90,"character":13}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":120,"character":30}]}]}}},"origins":{"FormlyBootstrapSelectModule":"./select.module","FormlyFieldSelect":"./select.type"},"importAs":"@ngx-formly/bootstrap/select"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyBootstrapTextAreaModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"FormlyFieldTextArea"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":12,"character":4},{"__symbolic":"reference","module":"@ngx-formly/bootstrap/form-field","name":"FormlyBootstrapFormFieldModule","line":14,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":15,"character":4},"member":"forChild"},"arguments":[{"types":[{"name":"textarea","component":{"__symbolic":"reference","name":"FormlyFieldTextArea"},"wrappers":["form-field"]}]}]}]}]}],"members":{}},"FormlyFieldTextArea":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldType","line":18,"character":41},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"formly-field-textarea","template":"\n <textarea\n [formControl]=\"formControl\"\n [cols]=\"to.cols\"\n [rows]=\"to.rows\"\n class=\"form-control\"\n [class.is-invalid]=\"showError\"\n [formlyAttributes]=\"field\"\n >\n </textarea>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":16,"character":19},"member":"OnPush"}}]}],"members":{}}},"origins":{"FormlyBootstrapTextAreaModule":"./textarea.module","FormlyFieldTextArea":"./textarea.type"},"importAs":"@ngx-formly/bootstrap/textarea"}
|