@ngx-formly/ionic 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/checkbox/checkbox.module.d.ts +10 -0
- package/checkbox/checkbox.type.d.ts +3 -0
- package/checkbox/ngx-formly-ionic-checkbox.d.ts +1 -0
- package/checkbox/package.json +5 -6
- package/datetime/datetime.module.d.ts +10 -0
- package/datetime/datetime.type.d.ts +3 -0
- package/datetime/ngx-formly-ionic-datetime.d.ts +1 -1
- package/datetime/package.json +5 -6
- package/esm2020/checkbox/checkbox.module.mjs +61 -0
- package/esm2020/checkbox/checkbox.type.mjs +19 -0
- package/{esm2015/checkbox/ngx-formly-ionic-checkbox.js → esm2020/checkbox/ngx-formly-ionic-checkbox.mjs} +0 -0
- package/{esm2015/checkbox/public_api.js → esm2020/checkbox/public_api.mjs} +0 -0
- package/esm2020/datetime/datetime.module.mjs +53 -0
- package/esm2020/datetime/datetime.type.mjs +63 -0
- package/{esm2015/datetime/ngx-formly-ionic-datetime.js → esm2020/datetime/ngx-formly-ionic-datetime.mjs} +1 -2
- package/{esm2015/datetime/public_api.js → esm2020/datetime/public_api.mjs} +0 -0
- package/esm2020/form-field/form-field.module.mjs +49 -0
- package/esm2020/form-field/form-field.wrapper.mjs +53 -0
- package/esm2020/form-field/formly.attributes.mjs +34 -0
- package/{esm2015/form-field/ngx-formly-ionic-form-field.js → esm2020/form-field/ngx-formly-ionic-form-field.mjs} +1 -2
- package/{esm2015/form-field/public_api.js → esm2020/form-field/public_api.mjs} +0 -0
- package/esm2020/input/input.module.mjs +91 -0
- package/esm2020/input/input.type.mjs +41 -0
- package/{esm2015/input/ngx-formly-ionic-input.js → esm2020/input/ngx-formly-ionic-input.mjs} +0 -0
- package/{esm2015/input/public_api.js → esm2020/input/public_api.mjs} +0 -0
- package/{esm2015/lib/ui-ionic.js → esm2020/lib/ui-ionic.mjs} +0 -0
- package/esm2020/lib/ui-ionic.module.mjs +52 -0
- package/{esm2015/ngx-formly-ionic.js → esm2020/ngx-formly-ionic.mjs} +0 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/{esm2015/radio/ngx-formly-ionic-radio.js → esm2020/radio/ngx-formly-ionic-radio.mjs} +0 -0
- package/{esm2015/radio/public_api.js → esm2020/radio/public_api.mjs} +0 -0
- package/esm2020/radio/radio.module.mjs +57 -0
- package/esm2020/radio/radio.type.mjs +72 -0
- package/{esm2015/select/ngx-formly-ionic-select.js → esm2020/select/ngx-formly-ionic-select.mjs} +0 -0
- package/{esm2015/select/public_api.js → esm2020/select/public_api.mjs} +0 -0
- package/esm2020/select/select.module.mjs +59 -0
- package/esm2020/select/select.type.mjs +71 -0
- package/esm2020/slider/ngx-formly-ionic-slider.mjs +5 -0
- package/{esm2015/slider/public_api.js → esm2020/slider/public_api.mjs} +0 -0
- package/esm2020/slider/slider.module.mjs +47 -0
- package/esm2020/slider/slider.type.mjs +30 -0
- package/{esm2015/textarea/ngx-formly-ionic-textarea.js → esm2020/textarea/ngx-formly-ionic-textarea.mjs} +0 -0
- package/{esm2015/textarea/public_api.js → esm2020/textarea/public_api.mjs} +0 -0
- package/esm2020/textarea/textarea.module.mjs +53 -0
- package/esm2020/textarea/textarea.type.mjs +26 -0
- package/esm2020/toggle/ngx-formly-ionic-toggle.mjs +5 -0
- package/{esm2015/toggle/public_api.js → esm2020/toggle/public_api.mjs} +0 -0
- package/esm2020/toggle/toggle.module.mjs +53 -0
- package/esm2020/toggle/toggle.type.mjs +19 -0
- package/fesm2015/ngx-formly-ionic-checkbox.mjs +83 -0
- package/fesm2015/ngx-formly-ionic-checkbox.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic-datetime.mjs +119 -0
- package/fesm2015/ngx-formly-ionic-datetime.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic-form-field.mjs +134 -0
- package/fesm2015/ngx-formly-ionic-form-field.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic-input.mjs +135 -0
- package/fesm2015/ngx-formly-ionic-input.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic-radio.mjs +131 -0
- package/fesm2015/ngx-formly-ionic-radio.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic-select.mjs +133 -0
- package/fesm2015/ngx-formly-ionic-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic-slider.mjs +80 -0
- package/fesm2015/ngx-formly-ionic-slider.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic-textarea.mjs +82 -0
- package/fesm2015/ngx-formly-ionic-textarea.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic-toggle.mjs +75 -0
- package/fesm2015/ngx-formly-ionic-toggle.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic.mjs +63 -0
- package/fesm2015/ngx-formly-ionic.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-checkbox.mjs +83 -0
- package/fesm2020/ngx-formly-ionic-checkbox.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-datetime.mjs +119 -0
- package/fesm2020/ngx-formly-ionic-datetime.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-form-field.mjs +134 -0
- package/fesm2020/ngx-formly-ionic-form-field.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-input.mjs +135 -0
- package/fesm2020/ngx-formly-ionic-input.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-radio.mjs +131 -0
- package/fesm2020/ngx-formly-ionic-radio.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-select.mjs +133 -0
- package/fesm2020/ngx-formly-ionic-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-slider.mjs +80 -0
- package/fesm2020/ngx-formly-ionic-slider.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-textarea.mjs +82 -0
- package/fesm2020/ngx-formly-ionic-textarea.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-toggle.mjs +75 -0
- package/fesm2020/ngx-formly-ionic-toggle.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic.mjs +63 -0
- package/fesm2020/ngx-formly-ionic.mjs.map +1 -0
- package/form-field/form-field.module.d.ts +10 -0
- package/form-field/form-field.wrapper.d.ts +3 -0
- package/form-field/formly.attributes.d.ts +3 -0
- package/form-field/ngx-formly-ionic-form-field.d.ts +1 -1
- package/form-field/package.json +5 -6
- package/input/input.module.d.ts +10 -0
- package/input/input.type.d.ts +3 -0
- package/input/ngx-formly-ionic-input.d.ts +1 -0
- package/input/package.json +5 -6
- package/lib/ui-ionic.module.d.ts +13 -0
- package/ngx-formly-ionic.d.ts +1 -0
- package/package.json +92 -8
- package/radio/ngx-formly-ionic-radio.d.ts +1 -0
- package/radio/package.json +5 -6
- package/radio/radio.module.d.ts +11 -0
- package/radio/radio.type.d.ts +3 -0
- package/select/ngx-formly-ionic-select.d.ts +1 -0
- package/select/package.json +5 -6
- package/select/select.module.d.ts +11 -0
- package/select/select.type.d.ts +3 -0
- package/slider/ngx-formly-ionic-slider.d.ts +1 -1
- package/slider/package.json +5 -6
- package/slider/slider.module.d.ts +10 -0
- package/slider/slider.type.d.ts +3 -0
- package/textarea/ngx-formly-ionic-textarea.d.ts +1 -0
- package/textarea/package.json +5 -6
- package/textarea/textarea.module.d.ts +10 -0
- package/textarea/textarea.type.d.ts +3 -0
- package/toggle/ngx-formly-ionic-toggle.d.ts +1 -1
- package/toggle/package.json +5 -6
- package/toggle/toggle.module.d.ts +10 -0
- package/toggle/toggle.type.d.ts +3 -0
- package/bundles/ngx-formly-ionic-checkbox.umd.js +0 -371
- package/bundles/ngx-formly-ionic-checkbox.umd.js.map +0 -1
- package/bundles/ngx-formly-ionic-checkbox.umd.min.js +0 -16
- package/bundles/ngx-formly-ionic-checkbox.umd.min.js.map +0 -1
- package/bundles/ngx-formly-ionic-datetime.umd.js +0 -367
- package/bundles/ngx-formly-ionic-datetime.umd.js.map +0 -1
- package/bundles/ngx-formly-ionic-datetime.umd.min.js +0 -16
- package/bundles/ngx-formly-ionic-datetime.umd.min.js.map +0 -1
- package/bundles/ngx-formly-ionic-form-field.umd.js +0 -400
- package/bundles/ngx-formly-ionic-form-field.umd.js.map +0 -1
- package/bundles/ngx-formly-ionic-form-field.umd.min.js +0 -16
- package/bundles/ngx-formly-ionic-form-field.umd.min.js.map +0 -1
- package/bundles/ngx-formly-ionic-input.umd.js +0 -387
- package/bundles/ngx-formly-ionic-input.umd.js.map +0 -1
- package/bundles/ngx-formly-ionic-input.umd.min.js +0 -16
- package/bundles/ngx-formly-ionic-input.umd.min.js.map +0 -1
- package/bundles/ngx-formly-ionic-radio.umd.js +0 -372
- package/bundles/ngx-formly-ionic-radio.umd.js.map +0 -1
- package/bundles/ngx-formly-ionic-radio.umd.min.js +0 -16
- package/bundles/ngx-formly-ionic-radio.umd.min.js.map +0 -1
- package/bundles/ngx-formly-ionic-select.umd.js +0 -379
- package/bundles/ngx-formly-ionic-select.umd.js.map +0 -1
- package/bundles/ngx-formly-ionic-select.umd.min.js +0 -16
- package/bundles/ngx-formly-ionic-select.umd.min.js.map +0 -1
- package/bundles/ngx-formly-ionic-slider.umd.js +0 -365
- package/bundles/ngx-formly-ionic-slider.umd.js.map +0 -1
- package/bundles/ngx-formly-ionic-slider.umd.min.js +0 -16
- package/bundles/ngx-formly-ionic-slider.umd.min.js.map +0 -1
- package/bundles/ngx-formly-ionic-textarea.umd.js +0 -368
- package/bundles/ngx-formly-ionic-textarea.umd.js.map +0 -1
- package/bundles/ngx-formly-ionic-textarea.umd.min.js +0 -16
- package/bundles/ngx-formly-ionic-textarea.umd.min.js.map +0 -1
- package/bundles/ngx-formly-ionic-toggle.umd.js +0 -367
- package/bundles/ngx-formly-ionic-toggle.umd.js.map +0 -1
- package/bundles/ngx-formly-ionic-toggle.umd.min.js +0 -16
- package/bundles/ngx-formly-ionic-toggle.umd.min.js.map +0 -1
- package/bundles/ngx-formly-ionic.umd.js +0 -42
- package/bundles/ngx-formly-ionic.umd.js.map +0 -1
- package/bundles/ngx-formly-ionic.umd.min.js +0 -2
- package/bundles/ngx-formly-ionic.umd.min.js.map +0 -1
- package/checkbox/ngx-formly-ionic-checkbox.metadata.json +0 -1
- package/datetime/ngx-formly-ionic-datetime.metadata.json +0 -1
- package/esm2015/checkbox/checkbox.module.js +0 -34
- package/esm2015/checkbox/checkbox.type.js +0 -12
- package/esm2015/datetime/datetime.module.js +0 -30
- package/esm2015/datetime/datetime.type.js +0 -34
- package/esm2015/form-field/form-field.module.js +0 -29
- package/esm2015/form-field/form-field.wrapper.js +0 -29
- package/esm2015/form-field/formly.attributes.js +0 -30
- package/esm2015/input/input.module.js +0 -49
- package/esm2015/input/input.type.js +0 -23
- package/esm2015/lib/ui-ionic.module.js +0 -29
- package/esm2015/radio/radio.module.js +0 -32
- package/esm2015/radio/radio.type.js +0 -40
- package/esm2015/select/select.module.js +0 -33
- package/esm2015/select/select.type.js +0 -43
- package/esm2015/slider/ngx-formly-ionic-slider.js +0 -6
- package/esm2015/slider/slider.module.js +0 -27
- package/esm2015/slider/slider.type.js +0 -18
- package/esm2015/textarea/textarea.module.js +0 -30
- package/esm2015/textarea/textarea.type.js +0 -16
- package/esm2015/toggle/ngx-formly-ionic-toggle.js +0 -6
- package/esm2015/toggle/toggle.module.js +0 -30
- package/esm2015/toggle/toggle.type.js +0 -12
- package/fesm2015/ngx-formly-ionic-checkbox.js +0 -50
- package/fesm2015/ngx-formly-ionic-checkbox.js.map +0 -1
- package/fesm2015/ngx-formly-ionic-datetime.js +0 -68
- package/fesm2015/ngx-formly-ionic-datetime.js.map +0 -1
- package/fesm2015/ngx-formly-ionic-form-field.js +0 -89
- package/fesm2015/ngx-formly-ionic-form-field.js.map +0 -1
- package/fesm2015/ngx-formly-ionic-input.js +0 -76
- package/fesm2015/ngx-formly-ionic-input.js.map +0 -1
- package/fesm2015/ngx-formly-ionic-radio.js +0 -76
- package/fesm2015/ngx-formly-ionic-radio.js.map +0 -1
- package/fesm2015/ngx-formly-ionic-select.js +0 -80
- package/fesm2015/ngx-formly-ionic-select.js.map +0 -1
- package/fesm2015/ngx-formly-ionic-slider.js +0 -49
- package/fesm2015/ngx-formly-ionic-slider.js.map +0 -1
- package/fesm2015/ngx-formly-ionic-textarea.js +0 -50
- package/fesm2015/ngx-formly-ionic-textarea.js.map +0 -1
- package/fesm2015/ngx-formly-ionic-toggle.js +0 -46
- package/fesm2015/ngx-formly-ionic-toggle.js.map +0 -1
- package/fesm2015/ngx-formly-ionic.js +0 -40
- package/fesm2015/ngx-formly-ionic.js.map +0 -1
- package/form-field/ngx-formly-ionic-form-field.metadata.json +0 -1
- package/input/ngx-formly-ionic-input.metadata.json +0 -1
- package/ngx-formly-ionic.metadata.json +0 -1
- package/radio/ngx-formly-ionic-radio.metadata.json +0 -1
- package/select/ngx-formly-ionic-select.metadata.json +0 -1
- package/slider/ngx-formly-ionic-slider.metadata.json +0 -1
- package/textarea/ngx-formly-ionic-textarea.metadata.json +0 -1
- package/toggle/ngx-formly-ionic-toggle.metadata.json +0 -1
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import { FieldType } from '@ngx-formly/core';
|
|
3
|
-
export class FormlyFieldToggle extends FieldType {
|
|
4
|
-
}
|
|
5
|
-
FormlyFieldToggle.decorators = [
|
|
6
|
-
{ type: Component, args: [{
|
|
7
|
-
selector: 'formly-field-ion-toggle',
|
|
8
|
-
template: ` <ion-toggle [formControl]="formControl" [ionFormlyAttributes]="field"> </ion-toggle> `,
|
|
9
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
10
|
-
},] }
|
|
11
|
-
];
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvdWkvaW9uaWMvdG9nZ2xlL3NyYy90b2dnbGUudHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQU83QyxNQUFNLE9BQU8saUJBQWtCLFNBQVEsU0FBUzs7O1lBTC9DLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUseUJBQXlCO2dCQUNuQyxRQUFRLEVBQUUsd0ZBQXdGO2dCQUNsRyxlQUFlLEVBQUUsdUJBQXVCLENBQUMsTUFBTTthQUNoRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEZpZWxkVHlwZSB9IGZyb20gJ0BuZ3gtZm9ybWx5L2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdmb3JtbHktZmllbGQtaW9uLXRvZ2dsZScsXG4gIHRlbXBsYXRlOiBgIDxpb24tdG9nZ2xlIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiIFtpb25Gb3JtbHlBdHRyaWJ1dGVzXT1cImZpZWxkXCI+IDwvaW9uLXRvZ2dsZT4gYCxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkVG9nZ2xlIGV4dGVuZHMgRmllbGRUeXBlIHt9XG4iXX0=
|
|
@@ -1,50 +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 { IonicModule } from '@ionic/angular';
|
|
6
|
-
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
7
|
-
|
|
8
|
-
class FormlyFieldCheckbox extends FieldType {
|
|
9
|
-
}
|
|
10
|
-
FormlyFieldCheckbox.decorators = [
|
|
11
|
-
{ type: Component, args: [{
|
|
12
|
-
selector: 'formly-field-ion-checkbox',
|
|
13
|
-
template: ` <ion-checkbox [formControl]="formControl" [ionFormlyAttributes]="field"> </ion-checkbox> `,
|
|
14
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
15
|
-
},] }
|
|
16
|
-
];
|
|
17
|
-
|
|
18
|
-
class FormlyCheckboxModule {
|
|
19
|
-
}
|
|
20
|
-
FormlyCheckboxModule.decorators = [
|
|
21
|
-
{ type: NgModule, args: [{
|
|
22
|
-
declarations: [FormlyFieldCheckbox],
|
|
23
|
-
imports: [
|
|
24
|
-
CommonModule,
|
|
25
|
-
ReactiveFormsModule,
|
|
26
|
-
IonicModule,
|
|
27
|
-
FormlyFormFieldModule,
|
|
28
|
-
FormlyModule.forChild({
|
|
29
|
-
types: [
|
|
30
|
-
{
|
|
31
|
-
name: 'checkbox',
|
|
32
|
-
component: FormlyFieldCheckbox,
|
|
33
|
-
wrappers: ['form-field'],
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
name: 'boolean',
|
|
37
|
-
extends: 'checkbox',
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
}),
|
|
41
|
-
],
|
|
42
|
-
},] }
|
|
43
|
-
];
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Generated bundle index. Do not edit.
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
export { FormlyCheckboxModule, FormlyFieldCheckbox };
|
|
50
|
-
//# sourceMappingURL=ngx-formly-ionic-checkbox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-ionic-checkbox.js","sources":["../../../../src/ui/ionic/checkbox/src/checkbox.type.ts","../../../../src/ui/ionic/checkbox/src/checkbox.module.ts","../../../../src/ui/ionic/checkbox/src/ngx-formly-ionic-checkbox.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-checkbox',\n template: ` <ion-checkbox [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\"> </ion-checkbox> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldCheckbox extends FieldType {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { IonicModule } from '@ionic/angular';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldCheckbox } from './checkbox.type';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'checkbox',\n component: FormlyFieldCheckbox,\n wrappers: ['form-field'],\n },\n {\n name: 'boolean',\n extends: 'checkbox',\n },\n ],\n }),\n ],\n})\nexport class FormlyCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAQa,mBAAoB,SAAQ,SAAS;;;YALjD,SAAS,SAAC;gBACT,QAAQ,EAAE,2BAA2B;gBACrC,QAAQ,EAAE,4FAA4F;gBACtG,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCwBY,oBAAoB;;;YAtBhC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,WAAW;oBACX,qBAAqB;oBACrB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,UAAU;gCAChB,SAAS,EAAE,mBAAmB;gCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;4BACD;gCACE,IAAI,EAAE,SAAS;gCACf,OAAO,EAAE,UAAU;6BACpB;yBACF;qBACF,CAAC;iBACH;aACF;;;AC9BD;;;;;;"}
|
|
@@ -1,68 +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 { IonicModule } from '@ionic/angular';
|
|
6
|
-
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
7
|
-
|
|
8
|
-
class FormlyFieldDatetime extends FieldType {
|
|
9
|
-
}
|
|
10
|
-
FormlyFieldDatetime.decorators = [
|
|
11
|
-
{ type: Component, args: [{
|
|
12
|
-
selector: 'formly-field-ion-datetime',
|
|
13
|
-
template: `
|
|
14
|
-
<ion-datetime
|
|
15
|
-
[cancelText]="to.cancelText"
|
|
16
|
-
[dayNames]="to.dayNames"
|
|
17
|
-
[dayShortNames]="to.dayShortNames"
|
|
18
|
-
[dayValues]="to.dayValues"
|
|
19
|
-
[displayFormat]="to.displayFormat"
|
|
20
|
-
[doneText]="to.doneText"
|
|
21
|
-
[hourValues]="to.hourValues"
|
|
22
|
-
[minuteValues]="to.minuteValues"
|
|
23
|
-
[monthNames]="to.monthNames"
|
|
24
|
-
[monthShortNames]="to.monthShortNames"
|
|
25
|
-
[monthValues]="to.monthValues"
|
|
26
|
-
[pickerFormat]="to.pickerFormat"
|
|
27
|
-
[pickerOptions]="to.pickerOptions"
|
|
28
|
-
[yearValues]="to.yearValues"
|
|
29
|
-
[min]="to.minDate ? to.minDate : to.min"
|
|
30
|
-
[max]="to.maxDate ? to.maxDate : to.max"
|
|
31
|
-
[formControl]="formControl"
|
|
32
|
-
[ionFormlyAttributes]="field"
|
|
33
|
-
>
|
|
34
|
-
</ion-datetime>
|
|
35
|
-
`,
|
|
36
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
37
|
-
},] }
|
|
38
|
-
];
|
|
39
|
-
|
|
40
|
-
class FormlyDatetimeModule {
|
|
41
|
-
}
|
|
42
|
-
FormlyDatetimeModule.decorators = [
|
|
43
|
-
{ type: NgModule, args: [{
|
|
44
|
-
declarations: [FormlyFieldDatetime],
|
|
45
|
-
imports: [
|
|
46
|
-
CommonModule,
|
|
47
|
-
ReactiveFormsModule,
|
|
48
|
-
IonicModule,
|
|
49
|
-
FormlyFormFieldModule,
|
|
50
|
-
FormlyModule.forChild({
|
|
51
|
-
types: [
|
|
52
|
-
{
|
|
53
|
-
name: 'datetime',
|
|
54
|
-
component: FormlyFieldDatetime,
|
|
55
|
-
wrappers: ['form-field'],
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
}),
|
|
59
|
-
],
|
|
60
|
-
},] }
|
|
61
|
-
];
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Generated bundle index. Do not edit.
|
|
65
|
-
*/
|
|
66
|
-
|
|
67
|
-
export { FormlyDatetimeModule, FormlyFieldDatetime as ɵa };
|
|
68
|
-
//# sourceMappingURL=ngx-formly-ionic-datetime.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-ionic-datetime.js","sources":["../../../../src/ui/ionic/datetime/src/datetime.type.ts","../../../../src/ui/ionic/datetime/src/datetime.module.ts","../../../../src/ui/ionic/datetime/src/ngx-formly-ionic-datetime.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-datetime',\n template: `\n <ion-datetime\n [cancelText]=\"to.cancelText\"\n [dayNames]=\"to.dayNames\"\n [dayShortNames]=\"to.dayShortNames\"\n [dayValues]=\"to.dayValues\"\n [displayFormat]=\"to.displayFormat\"\n [doneText]=\"to.doneText\"\n [hourValues]=\"to.hourValues\"\n [minuteValues]=\"to.minuteValues\"\n [monthNames]=\"to.monthNames\"\n [monthShortNames]=\"to.monthShortNames\"\n [monthValues]=\"to.monthValues\"\n [pickerFormat]=\"to.pickerFormat\"\n [pickerOptions]=\"to.pickerOptions\"\n [yearValues]=\"to.yearValues\"\n [min]=\"to.minDate ? to.minDate : to.min\"\n [max]=\"to.maxDate ? to.maxDate : to.max\"\n [formControl]=\"formControl\"\n [ionFormlyAttributes]=\"field\"\n >\n </ion-datetime>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldDatetime extends FieldType {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { IonicModule } from '@ionic/angular';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldDatetime } from './datetime.type';\n\n@NgModule({\n declarations: [FormlyFieldDatetime],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'datetime',\n component: FormlyFieldDatetime,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyDatetimeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n\nexport {FormlyFieldDatetime as ɵa} from './datetime.type';"],"names":[],"mappings":";;;;;;;MA8Ba,mBAAoB,SAAQ,SAAS;;;YA3BjD,SAAS,SAAC;gBACT,QAAQ,EAAE,2BAA2B;gBACrC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;GAsBT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCFY,oBAAoB;;;YAlBhC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,WAAW;oBACX,qBAAqB;oBACrB,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;;;AC1BD;;;;;;"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Directive, Input, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FieldWrapper, ɵFormlyAttributes, FormlyModule } from '@ngx-formly/core';
|
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { IonicModule } from '@ionic/angular';
|
|
6
|
-
|
|
7
|
-
class FormlyWrapperFormField extends FieldWrapper {
|
|
8
|
-
}
|
|
9
|
-
FormlyWrapperFormField.decorators = [
|
|
10
|
-
{ type: Component, args: [{
|
|
11
|
-
selector: 'formly-wrapper-ion-form-field',
|
|
12
|
-
template: `
|
|
13
|
-
<ion-item [lines]="to.itemLines">
|
|
14
|
-
<ion-label [position]="to.labelPosition">
|
|
15
|
-
{{ to.label }}
|
|
16
|
-
<span *ngIf="to.required && to.hideRequiredMarker !== true">*</span>
|
|
17
|
-
</ion-label>
|
|
18
|
-
<ng-template #fieldComponent></ng-template>
|
|
19
|
-
</ion-item>
|
|
20
|
-
<ion-item lines="none" *ngIf="showError">
|
|
21
|
-
<ion-label>
|
|
22
|
-
<ion-text color="danger">
|
|
23
|
-
<p>
|
|
24
|
-
<formly-validation-message [field]="field"></formly-validation-message>
|
|
25
|
-
</p>
|
|
26
|
-
</ion-text>
|
|
27
|
-
</ion-label>
|
|
28
|
-
</ion-item>
|
|
29
|
-
`,
|
|
30
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
31
|
-
},] }
|
|
32
|
-
];
|
|
33
|
-
|
|
34
|
-
class IonFormlyAttributes extends ɵFormlyAttributes {
|
|
35
|
-
focusElement(element, value) {
|
|
36
|
-
if (!element.setFocus || !value) {
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
if (!element.getInputElement()) {
|
|
40
|
-
setTimeout(() => element.setFocus(), 300);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
element.setFocus();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
IonFormlyAttributes.decorators = [
|
|
48
|
-
{ type: Directive, args: [{
|
|
49
|
-
// tslint:disable-next-line
|
|
50
|
-
selector: '[ionFormlyAttributes]',
|
|
51
|
-
host: {
|
|
52
|
-
'(ionFocus)': 'onFocus($event)',
|
|
53
|
-
'(ionBlur)': 'onBlur($event)',
|
|
54
|
-
'(ionChange)': 'onChange($event)',
|
|
55
|
-
},
|
|
56
|
-
},] }
|
|
57
|
-
];
|
|
58
|
-
IonFormlyAttributes.propDecorators = {
|
|
59
|
-
field: [{ type: Input, args: ['ionFormlyAttributes',] }]
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
class FormlyFormFieldModule {
|
|
63
|
-
}
|
|
64
|
-
FormlyFormFieldModule.decorators = [
|
|
65
|
-
{ type: NgModule, args: [{
|
|
66
|
-
declarations: [FormlyWrapperFormField, IonFormlyAttributes],
|
|
67
|
-
exports: [IonFormlyAttributes],
|
|
68
|
-
imports: [
|
|
69
|
-
CommonModule,
|
|
70
|
-
ReactiveFormsModule,
|
|
71
|
-
IonicModule,
|
|
72
|
-
FormlyModule.forChild({
|
|
73
|
-
wrappers: [
|
|
74
|
-
{
|
|
75
|
-
name: 'form-field',
|
|
76
|
-
component: FormlyWrapperFormField,
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
}),
|
|
80
|
-
],
|
|
81
|
-
},] }
|
|
82
|
-
];
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Generated bundle index. Do not edit.
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
export { FormlyFormFieldModule, IonFormlyAttributes as ɵIonFormlyAttributes, FormlyWrapperFormField as ɵa };
|
|
89
|
-
//# sourceMappingURL=ngx-formly-ionic-form-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-ionic-form-field.js","sources":["../../../../src/ui/ionic/form-field/src/form-field.wrapper.ts","../../../../src/ui/ionic/form-field/src/formly.attributes.ts","../../../../src/ui/ionic/form-field/src/form-field.module.ts","../../../../src/ui/ionic/form-field/src/ngx-formly-ionic-form-field.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-wrapper-ion-form-field',\n template: `\n <ion-item [lines]=\"to.itemLines\">\n <ion-label [position]=\"to.labelPosition\">\n {{ to.label }}\n <span *ngIf=\"to.required && to.hideRequiredMarker !== true\">*</span>\n </ion-label>\n <ng-template #fieldComponent></ng-template>\n </ion-item>\n <ion-item lines=\"none\" *ngIf=\"showError\">\n <ion-label>\n <ion-text color=\"danger\">\n <p>\n <formly-validation-message [field]=\"field\"></formly-validation-message>\n </p>\n </ion-text>\n </ion-label>\n </ion-item>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyWrapperFormField extends FieldWrapper {}\n","import { Directive, Input } from '@angular/core';\nimport { ɵFormlyAttributes as FormlyAttributes, FormlyFieldConfig } from '@ngx-formly/core';\n\n@Directive({\n // tslint:disable-next-line\n selector: '[ionFormlyAttributes]',\n host: {\n '(ionFocus)': 'onFocus($event)',\n '(ionBlur)': 'onBlur($event)',\n '(ionChange)': 'onChange($event)',\n },\n})\nexport class IonFormlyAttributes extends FormlyAttributes {\n @Input('ionFormlyAttributes') field: FormlyFieldConfig;\n\n focusElement(element, value: boolean) {\n if (!element.setFocus || !value) {\n return;\n }\n\n if (!element.getInputElement()) {\n setTimeout(() => element.setFocus(), 300);\n } else {\n element.setFocus();\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 { IonicModule } from '@ionic/angular';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\nimport { IonFormlyAttributes } from './formly.attributes';\n\n@NgModule({\n declarations: [FormlyWrapperFormField, IonFormlyAttributes],\n exports: [IonFormlyAttributes],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField,\n },\n ],\n }),\n ],\n})\nexport class FormlyFormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n\nexport {FormlyWrapperFormField as ɵa} from './form-field.wrapper';"],"names":["FormlyAttributes"],"mappings":";;;;;;MAyBa,sBAAuB,SAAQ,YAAY;;;YAtBvD,SAAS,SAAC;gBACT,QAAQ,EAAE,+BAA+B;gBACzC,QAAQ,EAAE;;;;;;;;;;;;;;;;;GAiBT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCZY,mBAAoB,SAAQA,iBAAgB;IAGvD,YAAY,CAAC,OAAO,EAAE,KAAc;QAClC,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,CAAC,KAAK,EAAE;YAC/B,OAAO;SACR;QAED,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,EAAE;YAC9B,UAAU,CAAC,MAAM,OAAO,CAAC,QAAQ,EAAE,EAAE,GAAG,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,CAAC,QAAQ,EAAE,CAAC;SACpB;KACF;;;YAtBF,SAAS,SAAC;;gBAET,QAAQ,EAAE,uBAAuB;gBACjC,IAAI,EAAE;oBACJ,YAAY,EAAE,iBAAiB;oBAC/B,WAAW,EAAE,gBAAgB;oBAC7B,aAAa,EAAE,kBAAkB;iBAClC;aACF;;;oBAEE,KAAK,SAAC,qBAAqB;;;MCajB,qBAAqB;;;YAlBjC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,sBAAsB,EAAE,mBAAmB,CAAC;gBAC3D,OAAO,EAAE,CAAC,mBAAmB,CAAC;gBAC9B,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,WAAW;oBAEX,YAAY,CAAC,QAAQ,CAAC;wBACpB,QAAQ,EAAE;4BACR;gCACE,IAAI,EAAE,YAAY;gCAClB,SAAS,EAAE,sBAAsB;6BAClC;yBACF;qBACF,CAAC;iBACH;aACF;;;ACzBD;;;;;;"}
|
|
@@ -1,76 +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 { IonicModule } from '@ionic/angular';
|
|
6
|
-
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
7
|
-
|
|
8
|
-
class FormlyFieldInput extends FieldType {
|
|
9
|
-
}
|
|
10
|
-
FormlyFieldInput.decorators = [
|
|
11
|
-
{ type: Component, args: [{
|
|
12
|
-
selector: 'formly-field-ion-input',
|
|
13
|
-
template: `
|
|
14
|
-
<ion-input
|
|
15
|
-
*ngIf="to.type !== 'number'; else numberTmp"
|
|
16
|
-
[type]="to.type || 'text'"
|
|
17
|
-
[formControl]="formControl"
|
|
18
|
-
[ionFormlyAttributes]="field"
|
|
19
|
-
></ion-input>
|
|
20
|
-
<ng-template #numberTmp>
|
|
21
|
-
<ion-input type="number" [formControl]="formControl" [ionFormlyAttributes]="field"></ion-input>
|
|
22
|
-
</ng-template>
|
|
23
|
-
`,
|
|
24
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
25
|
-
styles: [':host { display: inherit; }']
|
|
26
|
-
},] }
|
|
27
|
-
];
|
|
28
|
-
|
|
29
|
-
class FormlyInputModule {
|
|
30
|
-
}
|
|
31
|
-
FormlyInputModule.decorators = [
|
|
32
|
-
{ type: NgModule, args: [{
|
|
33
|
-
declarations: [FormlyFieldInput],
|
|
34
|
-
imports: [
|
|
35
|
-
CommonModule,
|
|
36
|
-
ReactiveFormsModule,
|
|
37
|
-
IonicModule,
|
|
38
|
-
FormlyFormFieldModule,
|
|
39
|
-
FormlyModule.forChild({
|
|
40
|
-
types: [
|
|
41
|
-
{
|
|
42
|
-
name: 'input',
|
|
43
|
-
component: FormlyFieldInput,
|
|
44
|
-
wrappers: ['form-field'],
|
|
45
|
-
},
|
|
46
|
-
{ name: 'string', extends: 'input' },
|
|
47
|
-
{
|
|
48
|
-
name: 'number',
|
|
49
|
-
extends: 'input',
|
|
50
|
-
defaultOptions: {
|
|
51
|
-
templateOptions: {
|
|
52
|
-
type: 'number',
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
name: 'integer',
|
|
58
|
-
extends: 'input',
|
|
59
|
-
defaultOptions: {
|
|
60
|
-
templateOptions: {
|
|
61
|
-
type: 'number',
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
}),
|
|
67
|
-
],
|
|
68
|
-
},] }
|
|
69
|
-
];
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Generated bundle index. Do not edit.
|
|
73
|
-
*/
|
|
74
|
-
|
|
75
|
-
export { FormlyFieldInput, FormlyInputModule };
|
|
76
|
-
//# sourceMappingURL=ngx-formly-ionic-input.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-ionic-input.js","sources":["../../../../src/ui/ionic/input/src/input.type.ts","../../../../src/ui/ionic/input/src/input.module.ts","../../../../src/ui/ionic/input/src/ngx-formly-ionic-input.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-input',\n template: `\n <ion-input\n *ngIf=\"to.type !== 'number'; else numberTmp\"\n [type]=\"to.type || 'text'\"\n [formControl]=\"formControl\"\n [ionFormlyAttributes]=\"field\"\n ></ion-input>\n <ng-template #numberTmp>\n <ion-input type=\"number\" [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\"></ion-input>\n </ng-template>\n `,\n styles: [':host { display: inherit; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldInput extends FieldType {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { IonicModule } from '@ionic/angular';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldInput } from './input.type';\n\n@NgModule({\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input',\n component: FormlyFieldInput,\n wrappers: ['form-field'],\n },\n { name: 'string', extends: 'input' },\n {\n name: 'number',\n extends: 'input',\n defaultOptions: {\n templateOptions: {\n type: 'number',\n },\n },\n },\n {\n name: 'integer',\n extends: 'input',\n defaultOptions: {\n templateOptions: {\n type: 'number',\n },\n },\n },\n ],\n }),\n ],\n})\nexport class FormlyInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAmBa,gBAAiB,SAAQ,SAAS;;;YAhB9C,SAAS,SAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,QAAQ,EAAE;;;;;;;;;;GAUT;gBAED,eAAe,EAAE,uBAAuB,CAAC,MAAM;yBADtC,6BAA6B;aAEvC;;;MC4BY,iBAAiB;;;YArC7B,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;gBAChC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,WAAW;oBACX,qBAAqB;oBACrB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,OAAO;gCACb,SAAS,EAAE,gBAAgB;gCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;4BACD,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;4BACpC;gCACE,IAAI,EAAE,QAAQ;gCACd,OAAO,EAAE,OAAO;gCAChB,cAAc,EAAE;oCACd,eAAe,EAAE;wCACf,IAAI,EAAE,QAAQ;qCACf;iCACF;6BACF;4BACD;gCACE,IAAI,EAAE,SAAS;gCACf,OAAO,EAAE,OAAO;gCAChB,cAAc,EAAE;oCACd,eAAe,EAAE;wCACf,IAAI,EAAE,QAAQ;qCACf;iCACF;6BACF;yBACF;qBACF,CAAC;iBACH;aACF;;;AC7CD;;;;;;"}
|
|
@@ -1,76 +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 { IonicModule } from '@ionic/angular';
|
|
6
|
-
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
7
|
-
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
8
|
-
|
|
9
|
-
class FormlyFieldRadio extends FieldType {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.defaultOptions = {
|
|
13
|
-
templateOptions: { options: [] },
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
FormlyFieldRadio.decorators = [
|
|
18
|
-
{ type: Component, args: [{
|
|
19
|
-
selector: 'formly-field-ion-radio',
|
|
20
|
-
template: `
|
|
21
|
-
<ion-list>
|
|
22
|
-
<ion-radio-group [formControl]="formControl" [ionFormlyAttributes]="field">
|
|
23
|
-
<ion-list-header>{{ to.label }}</ion-list-header>
|
|
24
|
-
<ion-item
|
|
25
|
-
*ngFor="let option of to.options | formlySelectOptions: field | async"
|
|
26
|
-
[disabled]="option.disabled || formControl.disabled"
|
|
27
|
-
>
|
|
28
|
-
<ion-label>{{ option.label }}</ion-label>
|
|
29
|
-
<ion-radio [value]="option.value"></ion-radio>
|
|
30
|
-
</ion-item>
|
|
31
|
-
</ion-radio-group>
|
|
32
|
-
</ion-list>
|
|
33
|
-
<ion-item lines="none" *ngIf="showError">
|
|
34
|
-
<ion-label>
|
|
35
|
-
<ion-text color="danger">
|
|
36
|
-
<p>
|
|
37
|
-
<formly-validation-message [field]="field"></formly-validation-message>
|
|
38
|
-
</p>
|
|
39
|
-
</ion-text>
|
|
40
|
-
</ion-label>
|
|
41
|
-
</ion-item>
|
|
42
|
-
`,
|
|
43
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
44
|
-
},] }
|
|
45
|
-
];
|
|
46
|
-
|
|
47
|
-
class FormlyRadioModule {
|
|
48
|
-
}
|
|
49
|
-
FormlyRadioModule.decorators = [
|
|
50
|
-
{ type: NgModule, args: [{
|
|
51
|
-
declarations: [FormlyFieldRadio],
|
|
52
|
-
imports: [
|
|
53
|
-
CommonModule,
|
|
54
|
-
ReactiveFormsModule,
|
|
55
|
-
IonicModule,
|
|
56
|
-
FormlyFormFieldModule,
|
|
57
|
-
FormlySelectModule,
|
|
58
|
-
FormlyModule.forChild({
|
|
59
|
-
types: [
|
|
60
|
-
{
|
|
61
|
-
name: 'radio',
|
|
62
|
-
component: FormlyFieldRadio,
|
|
63
|
-
wrappers: [],
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
}),
|
|
67
|
-
],
|
|
68
|
-
},] }
|
|
69
|
-
];
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Generated bundle index. Do not edit.
|
|
73
|
-
*/
|
|
74
|
-
|
|
75
|
-
export { FormlyFieldRadio, FormlyRadioModule };
|
|
76
|
-
//# sourceMappingURL=ngx-formly-ionic-radio.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-ionic-radio.js","sources":["../../../../src/ui/ionic/radio/src/radio.type.ts","../../../../src/ui/ionic/radio/src/radio.module.ts","../../../../src/ui/ionic/radio/src/ngx-formly-ionic-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-radio',\n template: `\n <ion-list>\n <ion-radio-group [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\">\n <ion-list-header>{{ to.label }}</ion-list-header>\n <ion-item\n *ngFor=\"let option of to.options | formlySelectOptions: field | async\"\n [disabled]=\"option.disabled || formControl.disabled\"\n >\n <ion-label>{{ option.label }}</ion-label>\n <ion-radio [value]=\"option.value\"></ion-radio>\n </ion-item>\n </ion-radio-group>\n </ion-list>\n <ion-item lines=\"none\" *ngIf=\"showError\">\n <ion-label>\n <ion-text color=\"danger\">\n <p>\n <formly-validation-message [field]=\"field\"></formly-validation-message>\n </p>\n </ion-text>\n </ion-label>\n </ion-item>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldRadio extends FieldType {\n defaultOptions = {\n templateOptions: { options: [] },\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 { IonicModule } from '@ionic/angular';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\nimport { FormlyFieldRadio } from './radio.type';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n\n FormlyFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: [],\n },\n ],\n }),\n ],\n})\nexport class FormlyRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MA8Ba,gBAAiB,SAAQ,SAAS;IA3B/C;;QA4BE,mBAAc,GAAG;YACf,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;SACjC,CAAC;KACH;;;YA/BA,SAAS,SAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;GAsBT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCAY,iBAAiB;;;YApB7B,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;gBAChC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,WAAW;oBAEX,qBAAqB;oBACrB,kBAAkB;oBAClB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,OAAO;gCACb,SAAS,EAAE,gBAAgB;gCAC3B,QAAQ,EAAE,EAAE;6BACb;yBACF;qBACF,CAAC;iBACH;aACF;;;AC5BD;;;;;;"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
5
|
-
import { IonicModule } from '@ionic/angular';
|
|
6
|
-
import { FormlySelectModule as FormlySelectModule$1 } from '@ngx-formly/core/select';
|
|
7
|
-
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
8
|
-
|
|
9
|
-
class FormlyFieldSelect extends FieldType {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.defaultOptions = {
|
|
13
|
-
templateOptions: {
|
|
14
|
-
options: [],
|
|
15
|
-
compareWith(o1, o2) {
|
|
16
|
-
return o1 === o2;
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
FormlyFieldSelect.decorators = [
|
|
23
|
-
{ type: Component, args: [{
|
|
24
|
-
selector: 'formly-field-ion-select',
|
|
25
|
-
template: `
|
|
26
|
-
<!-- ng-container used as a workaround for https://github.com/ionic-team/ionic/issues/19324 -->
|
|
27
|
-
<ng-container *ngIf="to.options | formlySelectOptions: field | async; let selectOptions">
|
|
28
|
-
<ion-select
|
|
29
|
-
[style.align-self]="to.labelPosition === 'floating' ? 'stretch' : ''"
|
|
30
|
-
[style.max-width.%]="to.labelPosition === 'floating' ? 100 : ''"
|
|
31
|
-
[formControl]="formControl"
|
|
32
|
-
[compareWith]="to.compareWith"
|
|
33
|
-
[ionFormlyAttributes]="field"
|
|
34
|
-
[multiple]="to.multiple"
|
|
35
|
-
[interface]="to.interface"
|
|
36
|
-
[okText]="to.okText"
|
|
37
|
-
[cancelText]="to.cancelText"
|
|
38
|
-
>
|
|
39
|
-
<ion-select-option *ngFor="let option of selectOptions" [value]="option.value" [disabled]="option.disabled">
|
|
40
|
-
{{ option.label }}
|
|
41
|
-
</ion-select-option>
|
|
42
|
-
</ion-select>
|
|
43
|
-
</ng-container>
|
|
44
|
-
`,
|
|
45
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
46
|
-
styles: [':host { display: inherit; }']
|
|
47
|
-
},] }
|
|
48
|
-
];
|
|
49
|
-
|
|
50
|
-
class FormlySelectModule {
|
|
51
|
-
}
|
|
52
|
-
FormlySelectModule.decorators = [
|
|
53
|
-
{ type: NgModule, args: [{
|
|
54
|
-
declarations: [FormlyFieldSelect],
|
|
55
|
-
imports: [
|
|
56
|
-
CommonModule,
|
|
57
|
-
ReactiveFormsModule,
|
|
58
|
-
IonicModule,
|
|
59
|
-
FormlyFormFieldModule,
|
|
60
|
-
FormlySelectModule$1,
|
|
61
|
-
FormlyModule.forChild({
|
|
62
|
-
types: [
|
|
63
|
-
{
|
|
64
|
-
name: 'select',
|
|
65
|
-
component: FormlyFieldSelect,
|
|
66
|
-
wrappers: ['form-field'],
|
|
67
|
-
},
|
|
68
|
-
{ name: 'enum', extends: 'select' },
|
|
69
|
-
],
|
|
70
|
-
}),
|
|
71
|
-
],
|
|
72
|
-
},] }
|
|
73
|
-
];
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Generated bundle index. Do not edit.
|
|
77
|
-
*/
|
|
78
|
-
|
|
79
|
-
export { FormlyFieldSelect, FormlySelectModule };
|
|
80
|
-
//# sourceMappingURL=ngx-formly-ionic-select.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-ionic-select.js","sources":["../../../../src/ui/ionic/select/src/select.type.ts","../../../../src/ui/ionic/select/src/select.module.ts","../../../../src/ui/ionic/select/src/ngx-formly-ionic-select.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-select',\n template: `\n <!-- ng-container used as a workaround for https://github.com/ionic-team/ionic/issues/19324 -->\n <ng-container *ngIf=\"to.options | formlySelectOptions: field | async; let selectOptions\">\n <ion-select\n [style.align-self]=\"to.labelPosition === 'floating' ? 'stretch' : ''\"\n [style.max-width.%]=\"to.labelPosition === 'floating' ? 100 : ''\"\n [formControl]=\"formControl\"\n [compareWith]=\"to.compareWith\"\n [ionFormlyAttributes]=\"field\"\n [multiple]=\"to.multiple\"\n [interface]=\"to.interface\"\n [okText]=\"to.okText\"\n [cancelText]=\"to.cancelText\"\n >\n <ion-select-option *ngFor=\"let option of selectOptions\" [value]=\"option.value\" [disabled]=\"option.disabled\">\n {{ option.label }}\n </ion-select-option>\n </ion-select>\n </ng-container>\n `,\n styles: [':host { display: inherit; }'],\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","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { IonicModule } from '@ionic/angular';\nimport { FormlySelectModule as FormlyCoreSelectModule } from '@ngx-formly/core/select';\n\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\nimport { FormlyFieldSelect } from './select.type';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n\n FormlyFormFieldModule,\n FormlyCoreSelectModule,\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 FormlySelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["FormlyCoreSelectModule"],"mappings":";;;;;;;;MA4Ba,iBAAkB,SAAQ,SAAS;IAzBhD;;QA0BE,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;KACH;;;YAlCA,SAAS,SAAC;gBACT,QAAQ,EAAE,yBAAyB;gBACnC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;GAmBT;gBAED,eAAe,EAAE,uBAAuB,CAAC,MAAM;yBADtC,6BAA6B;aAEvC;;;MCIY,kBAAkB;;;YArB9B,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;gBACjC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,WAAW;oBAEX,qBAAqB;oBACrBA,oBAAsB;oBACtB,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;;;AC9BD;;;;;;"}
|
|
@@ -1,49 +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 { IonicModule } from '@ionic/angular';
|
|
6
|
-
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
7
|
-
|
|
8
|
-
class FormlyFieldSlider extends FieldType {
|
|
9
|
-
}
|
|
10
|
-
FormlyFieldSlider.decorators = [
|
|
11
|
-
{ type: Component, args: [{
|
|
12
|
-
selector: 'formly-field-ion-range',
|
|
13
|
-
template: `
|
|
14
|
-
<ion-range [min]="to.min" [max]="to.max" [formControl]="formControl" [ionFormlyAttributes]="field">
|
|
15
|
-
<ion-label slot="start">{{ to.min }}</ion-label>
|
|
16
|
-
<ion-label slot="end">{{ to.max }}</ion-label>
|
|
17
|
-
</ion-range>
|
|
18
|
-
`,
|
|
19
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20
|
-
styles: [':host { display: inherit; }']
|
|
21
|
-
},] }
|
|
22
|
-
];
|
|
23
|
-
|
|
24
|
-
class FormlySliderModule {
|
|
25
|
-
}
|
|
26
|
-
FormlySliderModule.decorators = [
|
|
27
|
-
{ type: NgModule, args: [{
|
|
28
|
-
declarations: [FormlyFieldSlider],
|
|
29
|
-
imports: [
|
|
30
|
-
CommonModule,
|
|
31
|
-
ReactiveFormsModule,
|
|
32
|
-
IonicModule,
|
|
33
|
-
FormlyFormFieldModule,
|
|
34
|
-
FormlyModule.forChild({
|
|
35
|
-
types: [
|
|
36
|
-
{ name: 'slider', component: FormlyFieldSlider, wrappers: ['form-field'] },
|
|
37
|
-
{ name: 'range', extends: 'slider' },
|
|
38
|
-
],
|
|
39
|
-
}),
|
|
40
|
-
],
|
|
41
|
-
},] }
|
|
42
|
-
];
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Generated bundle index. Do not edit.
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
export { FormlySliderModule, FormlyFieldSlider as ɵa };
|
|
49
|
-
//# sourceMappingURL=ngx-formly-ionic-slider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-ionic-slider.js","sources":["../../../../src/ui/ionic/slider/src/slider.type.ts","../../../../src/ui/ionic/slider/src/slider.module.ts","../../../../src/ui/ionic/slider/src/ngx-formly-ionic-slider.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-range',\n template: `\n <ion-range [min]=\"to.min\" [max]=\"to.max\" [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\">\n <ion-label slot=\"start\">{{ to.min }}</ion-label>\n <ion-label slot=\"end\">{{ to.max }}</ion-label>\n </ion-range>\n `,\n styles: [':host { display: inherit; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldSlider extends FieldType {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { IonicModule } from '@ionic/angular';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldSlider } from './slider.type';\n\n@NgModule({\n declarations: [FormlyFieldSlider],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n { name: 'slider', component: FormlyFieldSlider, wrappers: ['form-field'] },\n { name: 'range', extends: 'slider' },\n ],\n }),\n ],\n})\nexport class FormlySliderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n\nexport {FormlyFieldSlider as ɵa} from './slider.type';"],"names":[],"mappings":";;;;;;;MAca,iBAAkB,SAAQ,SAAS;;;YAX/C,SAAS,SAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,QAAQ,EAAE;;;;;GAKT;gBAED,eAAe,EAAE,uBAAuB,CAAC,MAAM;yBADtC,6BAA6B;aAEvC;;;MCWY,kBAAkB;;;YAf9B,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;gBACjC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,WAAW;oBACX,qBAAqB;oBACrB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE;4BAC1E,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;yBACrC;qBACF,CAAC;iBACH;aACF;;;ACvBD;;;;;;"}
|
|
@@ -1,50 +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 { IonicModule } from '@ionic/angular';
|
|
5
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
6
|
-
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
7
|
-
|
|
8
|
-
class FormlyFieldTextArea extends FieldType {
|
|
9
|
-
}
|
|
10
|
-
FormlyFieldTextArea.decorators = [
|
|
11
|
-
{ type: Component, args: [{
|
|
12
|
-
selector: 'formly-field-ion-textarea',
|
|
13
|
-
template: `
|
|
14
|
-
<ion-textarea [formControl]="formControl" [ionFormlyAttributes]="field" [cols]="to.cols" [rows]="to.rows">
|
|
15
|
-
</ion-textarea>
|
|
16
|
-
`,
|
|
17
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
|
-
styles: [':host { display: inherit; }']
|
|
19
|
-
},] }
|
|
20
|
-
];
|
|
21
|
-
|
|
22
|
-
class FormlyTextAreaModule {
|
|
23
|
-
}
|
|
24
|
-
FormlyTextAreaModule.decorators = [
|
|
25
|
-
{ type: NgModule, args: [{
|
|
26
|
-
declarations: [FormlyFieldTextArea],
|
|
27
|
-
imports: [
|
|
28
|
-
CommonModule,
|
|
29
|
-
ReactiveFormsModule,
|
|
30
|
-
IonicModule,
|
|
31
|
-
FormlyFormFieldModule,
|
|
32
|
-
FormlyModule.forChild({
|
|
33
|
-
types: [
|
|
34
|
-
{
|
|
35
|
-
name: 'textarea',
|
|
36
|
-
component: FormlyFieldTextArea,
|
|
37
|
-
wrappers: ['form-field'],
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
}),
|
|
41
|
-
],
|
|
42
|
-
},] }
|
|
43
|
-
];
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Generated bundle index. Do not edit.
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
export { FormlyFieldTextArea, FormlyTextAreaModule };
|
|
50
|
-
//# sourceMappingURL=ngx-formly-ionic-textarea.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-ionic-textarea.js","sources":["../../../../src/ui/ionic/textarea/src/textarea.type.ts","../../../../src/ui/ionic/textarea/src/textarea.module.ts","../../../../src/ui/ionic/textarea/src/ngx-formly-ionic-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-textarea',\n template: `\n <ion-textarea [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\" [cols]=\"to.cols\" [rows]=\"to.rows\">\n </ion-textarea>\n `,\n styles: [':host { display: inherit; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldTextArea extends FieldType {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { IonicModule } from '@ionic/angular';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\nimport { FormlyFieldTextArea } from './textarea.type';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAYa,mBAAoB,SAAQ,SAAS;;;YATjD,SAAS,SAAC;gBACT,QAAQ,EAAE,2BAA2B;gBACrC,QAAQ,EAAE;;;GAGT;gBAED,eAAe,EAAE,uBAAuB,CAAC,MAAM;yBADtC,6BAA6B;aAEvC;;;MCgBY,oBAAoB;;;YAnBhC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,WAAW;oBAEX,qBAAqB;oBACrB,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;;;AC1BD;;;;;;"}
|