@ngx-formly/ionic 5.12.3 → 6.0.0-beta.2
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 +9 -6
- package/checkbox/checkbox.module.d.ts +12 -0
- package/checkbox/checkbox.type.d.ts +14 -0
- package/checkbox/ngx-formly-ionic-checkbox.d.ts +5 -0
- package/checkbox/package.json +10 -0
- package/checkbox/public_api.d.ts +2 -0
- package/datetime/datetime.module.d.ts +12 -0
- package/datetime/datetime.type.d.ts +38 -0
- package/datetime/ngx-formly-ionic-datetime.d.ts +5 -0
- package/datetime/package.json +10 -0
- package/datetime/public_api.d.ts +2 -0
- package/esm2020/checkbox/checkbox.module.mjs +61 -0
- package/esm2020/checkbox/checkbox.type.mjs +19 -0
- package/esm2020/checkbox/ngx-formly-ionic-checkbox.mjs +5 -0
- package/esm2020/checkbox/public_api.mjs +3 -0
- package/esm2020/datetime/datetime.module.mjs +53 -0
- package/esm2020/datetime/datetime.type.mjs +129 -0
- package/esm2020/datetime/ngx-formly-ionic-datetime.mjs +5 -0
- package/esm2020/datetime/public_api.mjs +2 -0
- package/esm2020/form-field/form-field.module.mjs +49 -0
- package/esm2020/form-field/form-field.wrapper.mjs +52 -0
- package/esm2020/form-field/formly.attributes.mjs +23 -0
- package/esm2020/form-field/ngx-formly-ionic-form-field.mjs +5 -0
- package/esm2020/form-field/public_api.mjs +3 -0
- package/esm2020/input/input.module.mjs +91 -0
- package/esm2020/input/input.type.mjs +41 -0
- package/esm2020/input/ngx-formly-ionic-input.mjs +5 -0
- package/esm2020/input/public_api.mjs +3 -0
- package/esm2020/lib/ui-ionic.mjs +2 -0
- package/esm2020/lib/ui-ionic.module.mjs +52 -0
- package/esm2020/ngx-formly-ionic.mjs +5 -0
- package/esm2020/public_api.mjs +5 -0
- package/esm2020/radio/ngx-formly-ionic-radio.mjs +5 -0
- package/esm2020/radio/public_api.mjs +3 -0
- package/esm2020/radio/radio.module.mjs +57 -0
- package/esm2020/radio/radio.type.mjs +66 -0
- package/esm2020/select/ngx-formly-ionic-select.mjs +5 -0
- package/esm2020/select/public_api.mjs +3 -0
- package/esm2020/select/select.module.mjs +59 -0
- package/esm2020/select/select.type.mjs +70 -0
- package/esm2020/slider/ngx-formly-ionic-slider.mjs +5 -0
- package/esm2020/slider/public_api.mjs +2 -0
- package/esm2020/slider/slider.module.mjs +47 -0
- package/esm2020/slider/slider.type.mjs +30 -0
- package/esm2020/textarea/ngx-formly-ionic-textarea.mjs +5 -0
- package/esm2020/textarea/public_api.mjs +3 -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/esm2020/toggle/public_api.mjs +2 -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 +186 -0
- package/fesm2015/ngx-formly-ionic-datetime.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic-form-field.mjs +122 -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 +125 -0
- package/fesm2015/ngx-formly-ionic-radio.mjs.map +1 -0
- package/fesm2015/ngx-formly-ionic-select.mjs +132 -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 +184 -0
- package/fesm2020/ngx-formly-ionic-datetime.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-form-field.mjs +122 -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 +125 -0
- package/fesm2020/ngx-formly-ionic-radio.mjs.map +1 -0
- package/fesm2020/ngx-formly-ionic-select.mjs +132 -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 +12 -0
- package/form-field/form-field.wrapper.d.ts +12 -0
- package/form-field/formly.attributes.d.ts +7 -0
- package/form-field/ngx-formly-ionic-form-field.d.ts +5 -0
- package/form-field/package.json +10 -0
- package/form-field/public_api.d.ts +3 -0
- package/input/input.module.d.ts +12 -0
- package/input/input.type.d.ts +14 -0
- package/input/ngx-formly-ionic-input.d.ts +5 -0
- package/input/package.json +10 -0
- package/input/public_api.d.ts +2 -0
- package/lib/ui-ionic.d.ts +0 -2
- package/lib/ui-ionic.module.d.ts +13 -0
- package/ngx-formly-ionic.d.ts +1 -2
- package/package.json +102 -33
- package/radio/ngx-formly-ionic-radio.d.ts +5 -0
- package/radio/package.json +10 -0
- package/radio/public_api.d.ts +2 -0
- package/radio/radio.module.d.ts +13 -0
- package/radio/radio.type.d.ts +14 -0
- package/select/ngx-formly-ionic-select.d.ts +5 -0
- package/select/package.json +10 -0
- package/select/public_api.d.ts +2 -0
- package/select/select.module.d.ts +13 -0
- package/select/select.type.d.ts +25 -0
- package/slider/ngx-formly-ionic-slider.d.ts +5 -0
- package/slider/package.json +10 -0
- package/slider/public_api.d.ts +2 -0
- package/slider/slider.module.d.ts +12 -0
- package/slider/slider.type.d.ts +14 -0
- package/textarea/ngx-formly-ionic-textarea.d.ts +5 -0
- package/textarea/package.json +10 -0
- package/textarea/public_api.d.ts +2 -0
- package/textarea/textarea.module.d.ts +12 -0
- package/textarea/textarea.type.d.ts +14 -0
- package/toggle/ngx-formly-ionic-toggle.d.ts +5 -0
- package/toggle/package.json +10 -0
- package/toggle/public_api.d.ts +2 -0
- package/toggle/toggle.module.d.ts +12 -0
- package/toggle/toggle.type.d.ts +14 -0
- package/bundles/ngx-formly-ionic.umd.js +0 -401
- 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/esm2015/lib/formly.attributes.js +0 -46
- package/esm2015/lib/types/checkbox.js +0 -20
- package/esm2015/lib/types/datetime.js +0 -36
- package/esm2015/lib/types/input.js +0 -21
- package/esm2015/lib/types/radio.js +0 -46
- package/esm2015/lib/types/range.js +0 -25
- package/esm2015/lib/types/select.js +0 -55
- package/esm2015/lib/types/textarea.js +0 -23
- package/esm2015/lib/types/toggle.js +0 -20
- package/esm2015/lib/types/types.js +0 -13
- package/esm2015/lib/ui-ionic.config.js +0 -69
- package/esm2015/lib/ui-ionic.js +0 -8
- package/esm2015/lib/ui-ionic.module.js +0 -28
- package/esm2015/lib/wrappers/form-field.js +0 -32
- package/esm2015/lib/wrappers/wrappers.js +0 -6
- package/esm2015/ngx-formly-ionic.js +0 -11
- package/esm2015/public_api.js +0 -9
- package/esm5/lib/formly.attributes.js +0 -58
- package/esm5/lib/types/checkbox.js +0 -22
- package/esm5/lib/types/datetime.js +0 -22
- package/esm5/lib/types/input.js +0 -23
- package/esm5/lib/types/radio.js +0 -30
- package/esm5/lib/types/range.js +0 -23
- package/esm5/lib/types/select.js +0 -41
- package/esm5/lib/types/textarea.js +0 -23
- package/esm5/lib/types/toggle.js +0 -22
- package/esm5/lib/types/types.js +0 -13
- package/esm5/lib/ui-ionic.config.js +0 -69
- package/esm5/lib/ui-ionic.js +0 -8
- package/esm5/lib/ui-ionic.module.js +0 -32
- package/esm5/lib/wrappers/form-field.js +0 -22
- package/esm5/lib/wrappers/wrappers.js +0 -6
- package/esm5/ngx-formly-ionic.js +0 -11
- package/esm5/public_api.js +0 -9
- package/fesm2015/ngx-formly-ionic.js +0 -414
- package/fesm2015/ngx-formly-ionic.js.map +0 -1
- package/fesm5/ngx-formly-ionic.js +0 -360
- package/fesm5/ngx-formly-ionic.js.map +0 -1
- package/lib/formly.attributes.d.ts +0 -5
- package/lib/types/checkbox.d.ts +0 -3
- package/lib/types/datetime.d.ts +0 -3
- package/lib/types/input.d.ts +0 -3
- package/lib/types/radio.d.ts +0 -8
- package/lib/types/range.d.ts +0 -3
- package/lib/types/select.d.ts +0 -9
- package/lib/types/textarea.d.ts +0 -3
- package/lib/types/toggle.d.ts +0 -3
- package/lib/types/types.d.ts +0 -8
- package/lib/ui-ionic.config.d.ts +0 -4
- package/lib/wrappers/form-field.d.ts +0 -3
- package/lib/wrappers/wrappers.d.ts +0 -1
- package/ngx-formly-ionic.metadata.json +0 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1$1 from '@ngx-formly/core';
|
|
5
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
6
|
+
import * as i2 from '@angular/forms';
|
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i1 from '@ionic/angular';
|
|
9
|
+
import { IonicModule } from '@ionic/angular';
|
|
10
|
+
import * as i3 from '@ngx-formly/ionic/form-field';
|
|
11
|
+
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
12
|
+
|
|
13
|
+
class FormlyFieldSlider extends FieldType {
|
|
14
|
+
}
|
|
15
|
+
FormlyFieldSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldSlider, selector: "formly-field-ion-range", usesInheritance: true, ngImport: i0, template: `
|
|
17
|
+
<ion-range [min]="props.min" [max]="props.max" [formControl]="formControl" [ionFormlyAttributes]="field">
|
|
18
|
+
<ion-label slot="start">{{ props.min }}</ion-label>
|
|
19
|
+
<ion-label slot="end">{{ props.max }}</ion-label>
|
|
20
|
+
</ion-range>
|
|
21
|
+
`, isInline: true, styles: [":host{display:inherit}\n"], components: [{ type: i1.IonRange, selector: "ion-range", inputs: ["color", "debounce", "disabled", "dualKnobs", "max", "min", "mode", "name", "pin", "pinFormatter", "snaps", "step", "ticks", "value"] }, { type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }], directives: [{ type: i1.SelectValueAccessor, selector: "ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldSlider, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{
|
|
25
|
+
selector: 'formly-field-ion-range',
|
|
26
|
+
template: `
|
|
27
|
+
<ion-range [min]="props.min" [max]="props.max" [formControl]="formControl" [ionFormlyAttributes]="field">
|
|
28
|
+
<ion-label slot="start">{{ props.min }}</ion-label>
|
|
29
|
+
<ion-label slot="end">{{ props.max }}</ion-label>
|
|
30
|
+
</ion-range>
|
|
31
|
+
`,
|
|
32
|
+
styles: [':host { display: inherit; }'],
|
|
33
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
34
|
+
}]
|
|
35
|
+
}] });
|
|
36
|
+
|
|
37
|
+
class FormlySliderModule {
|
|
38
|
+
}
|
|
39
|
+
FormlySliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlySliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
40
|
+
FormlySliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlySliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
|
|
41
|
+
ReactiveFormsModule,
|
|
42
|
+
IonicModule,
|
|
43
|
+
FormlyFormFieldModule, i1$1.FormlyModule] });
|
|
44
|
+
FormlySliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlySliderModule, imports: [[
|
|
45
|
+
CommonModule,
|
|
46
|
+
ReactiveFormsModule,
|
|
47
|
+
IonicModule,
|
|
48
|
+
FormlyFormFieldModule,
|
|
49
|
+
FormlyModule.forChild({
|
|
50
|
+
types: [
|
|
51
|
+
{ name: 'slider', component: FormlyFieldSlider, wrappers: ['form-field'] },
|
|
52
|
+
{ name: 'range', extends: 'slider' },
|
|
53
|
+
],
|
|
54
|
+
}),
|
|
55
|
+
]] });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlySliderModule, decorators: [{
|
|
57
|
+
type: NgModule,
|
|
58
|
+
args: [{
|
|
59
|
+
declarations: [FormlyFieldSlider],
|
|
60
|
+
imports: [
|
|
61
|
+
CommonModule,
|
|
62
|
+
ReactiveFormsModule,
|
|
63
|
+
IonicModule,
|
|
64
|
+
FormlyFormFieldModule,
|
|
65
|
+
FormlyModule.forChild({
|
|
66
|
+
types: [
|
|
67
|
+
{ name: 'slider', component: FormlyFieldSlider, wrappers: ['form-field'] },
|
|
68
|
+
{ name: 'range', extends: 'slider' },
|
|
69
|
+
],
|
|
70
|
+
}),
|
|
71
|
+
],
|
|
72
|
+
}]
|
|
73
|
+
}] });
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Generated bundle index. Do not edit.
|
|
77
|
+
*/
|
|
78
|
+
|
|
79
|
+
export { FormlySliderModule };
|
|
80
|
+
//# sourceMappingURL=ngx-formly-ionic-slider.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-formly-ionic-slider.mjs","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, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/ionic/form-field';\n\ninterface SliderProps extends FormlyFieldProps {}\n\nexport interface FormlySliderFieldConfig extends FormlyFieldConfig<SliderProps> {\n type: 'slider' | Type<FormlyFieldSlider>;\n}\n\n@Component({\n selector: 'formly-field-ion-range',\n template: `\n <ion-range [min]=\"props.min\" [max]=\"props.max\" [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\">\n <ion-label slot=\"start\">{{ props.min }}</ion-label>\n <ion-label slot=\"end\">{{ props.max }}</ion-label>\n </ion-range>\n `,\n styles: [':host { display: inherit; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldSlider extends FieldType<FieldTypeConfig<SliderProps>> {}\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"],"names":["i1"],"mappings":";;;;;;;;;;;;AAqBM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;;8GAAjE,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,EATlB,QAAA,EAAA,wBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;AAKT,EAAA,CAAA,EAAA,QAAA,EAAA,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AE,CAAC,YAAY,CAAC,EAAE;AAC1E,gCAAA,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;AACrC,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1$1 from '@ngx-formly/core';
|
|
5
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
6
|
+
import * as i1 from '@ionic/angular';
|
|
7
|
+
import { IonicModule } from '@ionic/angular';
|
|
8
|
+
import * as i2 from '@angular/forms';
|
|
9
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
10
|
+
import * as i3 from '@ngx-formly/ionic/form-field';
|
|
11
|
+
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
12
|
+
|
|
13
|
+
class FormlyFieldTextArea extends FieldType {
|
|
14
|
+
}
|
|
15
|
+
FormlyFieldTextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldTextArea, selector: "formly-field-ion-textarea", usesInheritance: true, ngImport: i0, template: `
|
|
17
|
+
<ion-textarea [formControl]="formControl" [ionFormlyAttributes]="field" [cols]="props.cols" [rows]="props.rows">
|
|
18
|
+
</ion-textarea>
|
|
19
|
+
`, isInline: true, styles: [":host{display:inherit}\n"], components: [{ type: i1.IonTextarea, selector: "ion-textarea", inputs: ["autoGrow", "autocapitalize", "autofocus", "clearOnEdit", "color", "cols", "debounce", "disabled", "enterkeyhint", "inputmode", "maxlength", "minlength", "mode", "name", "placeholder", "readonly", "required", "rows", "spellcheck", "value", "wrap"] }], directives: [{ type: i1.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{
|
|
23
|
+
selector: 'formly-field-ion-textarea',
|
|
24
|
+
template: `
|
|
25
|
+
<ion-textarea [formControl]="formControl" [ionFormlyAttributes]="field" [cols]="props.cols" [rows]="props.rows">
|
|
26
|
+
</ion-textarea>
|
|
27
|
+
`,
|
|
28
|
+
styles: [':host { display: inherit; }'],
|
|
29
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
30
|
+
}]
|
|
31
|
+
}] });
|
|
32
|
+
|
|
33
|
+
class FormlyTextAreaModule {
|
|
34
|
+
}
|
|
35
|
+
FormlyTextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
+
FormlyTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
|
|
37
|
+
ReactiveFormsModule,
|
|
38
|
+
IonicModule,
|
|
39
|
+
FormlyFormFieldModule, i1$1.FormlyModule] });
|
|
40
|
+
FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, imports: [[
|
|
41
|
+
CommonModule,
|
|
42
|
+
ReactiveFormsModule,
|
|
43
|
+
IonicModule,
|
|
44
|
+
FormlyFormFieldModule,
|
|
45
|
+
FormlyModule.forChild({
|
|
46
|
+
types: [
|
|
47
|
+
{
|
|
48
|
+
name: 'textarea',
|
|
49
|
+
component: FormlyFieldTextArea,
|
|
50
|
+
wrappers: ['form-field'],
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
}),
|
|
54
|
+
]] });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
|
|
56
|
+
type: NgModule,
|
|
57
|
+
args: [{
|
|
58
|
+
declarations: [FormlyFieldTextArea],
|
|
59
|
+
imports: [
|
|
60
|
+
CommonModule,
|
|
61
|
+
ReactiveFormsModule,
|
|
62
|
+
IonicModule,
|
|
63
|
+
FormlyFormFieldModule,
|
|
64
|
+
FormlyModule.forChild({
|
|
65
|
+
types: [
|
|
66
|
+
{
|
|
67
|
+
name: 'textarea',
|
|
68
|
+
component: FormlyFieldTextArea,
|
|
69
|
+
wrappers: ['form-field'],
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
}),
|
|
73
|
+
],
|
|
74
|
+
}]
|
|
75
|
+
}] });
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Generated bundle index. Do not edit.
|
|
79
|
+
*/
|
|
80
|
+
|
|
81
|
+
export { FormlyFieldTextArea, FormlyTextAreaModule };
|
|
82
|
+
//# sourceMappingURL=ngx-formly-ionic-textarea.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-formly-ionic-textarea.mjs","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, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/ionic/form-field';\n\ninterface TextAreaProps extends FormlyFieldProps {}\n\nexport interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {\n type: 'textarea' | Type<FormlyFieldTextArea>;\n}\n\n@Component({\n selector: 'formly-field-ion-textarea',\n template: `\n <ion-textarea [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\" [cols]=\"props.cols\" [rows]=\"props.rows\">\n </ion-textarea>\n `,\n styles: [':host { display: inherit; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {}\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":["i1"],"mappings":";;;;;;;;;;;;AAmBM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;;gHAArE,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,C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,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1$1 from '@ngx-formly/core';
|
|
5
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
6
|
+
import * as i2 from '@angular/forms';
|
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i1 from '@ionic/angular';
|
|
9
|
+
import { IonicModule } from '@ionic/angular';
|
|
10
|
+
import * as i3 from '@ngx-formly/ionic/form-field';
|
|
11
|
+
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
12
|
+
|
|
13
|
+
class FormlyFieldToggle extends FieldType {
|
|
14
|
+
}
|
|
15
|
+
FormlyFieldToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldToggle, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
FormlyFieldToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldToggle, selector: "formly-field-ion-toggle", usesInheritance: true, ngImport: i0, template: ` <ion-toggle [formControl]="formControl" [ionFormlyAttributes]="field"> </ion-toggle> `, isInline: true, components: [{ type: i1.IonToggle, selector: "ion-toggle", inputs: ["checked", "color", "disabled", "mode", "name", "value"] }], directives: [{ type: i1.BooleanValueAccessor, selector: "ion-checkbox,ion-toggle" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldToggle, decorators: [{
|
|
18
|
+
type: Component,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: 'formly-field-ion-toggle',
|
|
21
|
+
template: ` <ion-toggle [formControl]="formControl" [ionFormlyAttributes]="field"> </ion-toggle> `,
|
|
22
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
|
+
}]
|
|
24
|
+
}] });
|
|
25
|
+
|
|
26
|
+
class FormlyToggleModule {
|
|
27
|
+
}
|
|
28
|
+
FormlyToggleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
29
|
+
FormlyToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyToggleModule, declarations: [FormlyFieldToggle], imports: [CommonModule,
|
|
30
|
+
ReactiveFormsModule,
|
|
31
|
+
IonicModule,
|
|
32
|
+
FormlyFormFieldModule, i1$1.FormlyModule] });
|
|
33
|
+
FormlyToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyToggleModule, imports: [[
|
|
34
|
+
CommonModule,
|
|
35
|
+
ReactiveFormsModule,
|
|
36
|
+
IonicModule,
|
|
37
|
+
FormlyFormFieldModule,
|
|
38
|
+
FormlyModule.forChild({
|
|
39
|
+
types: [
|
|
40
|
+
{
|
|
41
|
+
name: 'toggle',
|
|
42
|
+
component: FormlyFieldToggle,
|
|
43
|
+
wrappers: ['form-field'],
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
}),
|
|
47
|
+
]] });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyToggleModule, decorators: [{
|
|
49
|
+
type: NgModule,
|
|
50
|
+
args: [{
|
|
51
|
+
declarations: [FormlyFieldToggle],
|
|
52
|
+
imports: [
|
|
53
|
+
CommonModule,
|
|
54
|
+
ReactiveFormsModule,
|
|
55
|
+
IonicModule,
|
|
56
|
+
FormlyFormFieldModule,
|
|
57
|
+
FormlyModule.forChild({
|
|
58
|
+
types: [
|
|
59
|
+
{
|
|
60
|
+
name: 'toggle',
|
|
61
|
+
component: FormlyFieldToggle,
|
|
62
|
+
wrappers: ['form-field'],
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
}),
|
|
66
|
+
],
|
|
67
|
+
}]
|
|
68
|
+
}] });
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Generated bundle index. Do not edit.
|
|
72
|
+
*/
|
|
73
|
+
|
|
74
|
+
export { FormlyToggleModule };
|
|
75
|
+
//# sourceMappingURL=ngx-formly-ionic-toggle.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-formly-ionic-toggle.mjs","sources":["../../../../src/ui/ionic/toggle/src/toggle.type.ts","../../../../src/ui/ionic/toggle/src/toggle.module.ts","../../../../src/ui/ionic/toggle/src/ngx-formly-ionic-toggle.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/ionic/form-field';\n\ninterface ToggleProps extends FormlyFieldProps {}\n\nexport interface FormlyToggleFieldConfig extends FormlyFieldConfig<ToggleProps> {\n type: 'toggle' | Type<FormlyFieldToggle>;\n}\n\n@Component({\n selector: 'formly-field-ion-toggle',\n template: ` <ion-toggle [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\"> </ion-toggle> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldToggle extends FieldType<FieldTypeConfig<ToggleProps>> {}\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 { FormlyFieldToggle } from './toggle.type';\n\n@NgModule({\n declarations: [FormlyFieldToggle],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'toggle',\n component: FormlyFieldToggle,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyToggleModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAeM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;;8GAAjE,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,sFAHlB,CAAwF,sFAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,OAAA,EAAA,UAAA,EAAA,MAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,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BpB,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YACX,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,QAAQ;AACd,wBAAA,SAAS,EAAE,iBAAiB;wBAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;2FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAlB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBACX,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
4
|
+
import { FormlyInputModule } from '@ngx-formly/ionic/input';
|
|
5
|
+
import { FormlyTextAreaModule } from '@ngx-formly/ionic/textarea';
|
|
6
|
+
import { FormlyRadioModule } from '@ngx-formly/ionic/radio';
|
|
7
|
+
import { FormlyCheckboxModule } from '@ngx-formly/ionic/checkbox';
|
|
8
|
+
import { FormlySelectModule } from '@ngx-formly/ionic/select';
|
|
9
|
+
import { FormlyToggleModule } from '@ngx-formly/ionic/toggle';
|
|
10
|
+
import { FormlySliderModule } from '@ngx-formly/ionic/slider';
|
|
11
|
+
import { FormlyDatetimeModule } from '@ngx-formly/ionic/datetime';
|
|
12
|
+
|
|
13
|
+
class FormlyIonicModule {
|
|
14
|
+
}
|
|
15
|
+
FormlyIonicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyIonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
+
FormlyIonicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyIonicModule, imports: [FormlyFormFieldModule,
|
|
17
|
+
FormlyInputModule,
|
|
18
|
+
FormlyTextAreaModule,
|
|
19
|
+
FormlyRadioModule,
|
|
20
|
+
FormlyCheckboxModule,
|
|
21
|
+
FormlySelectModule,
|
|
22
|
+
FormlyToggleModule,
|
|
23
|
+
FormlySliderModule,
|
|
24
|
+
FormlyDatetimeModule], exports: [FormlyFormFieldModule] });
|
|
25
|
+
FormlyIonicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyIonicModule, imports: [[
|
|
26
|
+
FormlyFormFieldModule,
|
|
27
|
+
FormlyInputModule,
|
|
28
|
+
FormlyTextAreaModule,
|
|
29
|
+
FormlyRadioModule,
|
|
30
|
+
FormlyCheckboxModule,
|
|
31
|
+
FormlySelectModule,
|
|
32
|
+
FormlyToggleModule,
|
|
33
|
+
FormlySliderModule,
|
|
34
|
+
FormlyDatetimeModule,
|
|
35
|
+
], FormlyFormFieldModule] });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyIonicModule, decorators: [{
|
|
37
|
+
type: NgModule,
|
|
38
|
+
args: [{
|
|
39
|
+
imports: [
|
|
40
|
+
FormlyFormFieldModule,
|
|
41
|
+
FormlyInputModule,
|
|
42
|
+
FormlyTextAreaModule,
|
|
43
|
+
FormlyRadioModule,
|
|
44
|
+
FormlyCheckboxModule,
|
|
45
|
+
FormlySelectModule,
|
|
46
|
+
FormlyToggleModule,
|
|
47
|
+
FormlySliderModule,
|
|
48
|
+
FormlyDatetimeModule,
|
|
49
|
+
],
|
|
50
|
+
exports: [FormlyFormFieldModule],
|
|
51
|
+
}]
|
|
52
|
+
}] });
|
|
53
|
+
|
|
54
|
+
/*
|
|
55
|
+
* Public API Surface of ionic
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Generated bundle index. Do not edit.
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
export { FormlyIonicModule };
|
|
63
|
+
//# sourceMappingURL=ngx-formly-ionic.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-formly-ionic.mjs","sources":["../../../../src/ui/ionic/src/lib/ui-ionic.module.ts","../../../../src/ui/ionic/src/public_api.ts","../../../../src/ui/ionic/src/ngx-formly-ionic.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\nimport { FormlyInputModule } from '@ngx-formly/ionic/input';\nimport { FormlyTextAreaModule } from '@ngx-formly/ionic/textarea';\nimport { FormlyRadioModule } from '@ngx-formly/ionic/radio';\nimport { FormlyCheckboxModule } from '@ngx-formly/ionic/checkbox';\nimport { FormlySelectModule } from '@ngx-formly/ionic/select';\nimport { FormlyToggleModule } from '@ngx-formly/ionic/toggle';\nimport { FormlySliderModule } from '@ngx-formly/ionic/slider';\nimport { FormlyDatetimeModule } from '@ngx-formly/ionic/datetime';\n\n@NgModule({\n imports: [\n FormlyFormFieldModule,\n FormlyInputModule,\n FormlyTextAreaModule,\n FormlyRadioModule,\n FormlyCheckboxModule,\n FormlySelectModule,\n FormlyToggleModule,\n FormlySliderModule,\n FormlyDatetimeModule,\n ],\n exports: [FormlyFormFieldModule],\n})\nexport class FormlyIonicModule {}\n","/*\n * Public API Surface of ionic\n */\n\nexport * from './lib/ui-ionic';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;MAyBa,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAZ1B,qBAAqB;QACrB,iBAAiB;QACjB,oBAAoB;QACpB,iBAAiB;QACjB,oBAAoB;QACpB,kBAAkB;QAClB,kBAAkB;QAClB,kBAAkB;AAClB,QAAA,oBAAoB,aAEZ,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAEpB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EAbnB,OAAA,EAAA,CAAA;YACP,qBAAqB;YACrB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,kBAAkB;YAClB,kBAAkB;YAClB,kBAAkB;YAClB,oBAAoB;AACrB,SAAA,EACS,qBAAqB,CAAA,EAAA,CAAA,CAAA;2FAEpB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAd7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,iBAAiB;wBACjB,oBAAoB;wBACpB,iBAAiB;wBACjB,oBAAoB;wBACpB,kBAAkB;wBAClB,kBAAkB;wBAClB,kBAAkB;wBAClB,oBAAoB;AACrB,qBAAA;oBACD,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACjC,iBAAA,CAAA;;;ACxBD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./form-field.wrapper";
|
|
3
|
+
import * as i2 from "./formly.attributes";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@ionic/angular";
|
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
|
8
|
+
export declare class FormlyFormFieldModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFormFieldModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyFormFieldModule, [typeof i1.FormlyWrapperFormField, typeof i2.IonFormlyAttributes], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.IonicModule, typeof i6.FormlyModule], [typeof i2.IonFormlyAttributes]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyFormFieldModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IonItem, IonLabel } from '@ionic/angular';
|
|
2
|
+
import { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface FormlyFieldProps extends CoreFormlyFieldProps {
|
|
5
|
+
hideRequiredMarker?: boolean;
|
|
6
|
+
itemLines?: IonItem['lines'];
|
|
7
|
+
labelPosition?: IonLabel['position'];
|
|
8
|
+
}
|
|
9
|
+
export declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-ion-form-field", never, {}, {}, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ɵFormlyAttributes as FormlyAttributes, FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IonFormlyAttributes extends FormlyAttributes {
|
|
4
|
+
field: FormlyFieldConfig;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonFormlyAttributes, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IonFormlyAttributes, "[ionFormlyAttributes]", never, { "field": "ionFormlyAttributes"; }, {}, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": "../fesm2015/ngx-formly-ionic-form-field.mjs",
|
|
3
|
+
"es2020": "../fesm2020/ngx-formly-ionic-form-field.mjs",
|
|
4
|
+
"esm2020": "../esm2020/form-field/ngx-formly-ionic-form-field.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-ionic-form-field.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-ionic-form-field.mjs",
|
|
7
|
+
"typings": "ngx-formly-ionic-form-field.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@ngx-formly/ionic/form-field"
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input.type";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@ionic/angular";
|
|
6
|
+
import * as i5 from "@ngx-formly/ionic/form-field";
|
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
|
8
|
+
export declare class FormlyInputModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyInputModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyInputModule, [typeof i1.FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyInputModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
interface InputProps extends FormlyFieldProps {
|
|
6
|
+
}
|
|
7
|
+
export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
|
8
|
+
type: 'input' | Type<FormlyFieldInput>;
|
|
9
|
+
}
|
|
10
|
+
export declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-ion-input", never, {}, {}, never, never>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": "../fesm2015/ngx-formly-ionic-input.mjs",
|
|
3
|
+
"es2020": "../fesm2020/ngx-formly-ionic-input.mjs",
|
|
4
|
+
"esm2020": "../esm2020/input/ngx-formly-ionic-input.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-ionic-input.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-ionic-input.mjs",
|
|
7
|
+
"typings": "ngx-formly-ionic-input.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@ngx-formly/ionic/input"
|
|
10
|
+
}
|
package/lib/ui-ionic.d.ts
CHANGED
package/lib/ui-ionic.module.d.ts
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@ngx-formly/ionic/form-field";
|
|
3
|
+
import * as i2 from "@ngx-formly/ionic/input";
|
|
4
|
+
import * as i3 from "@ngx-formly/ionic/textarea";
|
|
5
|
+
import * as i4 from "@ngx-formly/ionic/radio";
|
|
6
|
+
import * as i5 from "@ngx-formly/ionic/checkbox";
|
|
7
|
+
import * as i6 from "@ngx-formly/ionic/select";
|
|
8
|
+
import * as i7 from "@ngx-formly/ionic/toggle";
|
|
9
|
+
import * as i8 from "@ngx-formly/ionic/slider";
|
|
10
|
+
import * as i9 from "@ngx-formly/ionic/datetime";
|
|
1
11
|
export declare class FormlyIonicModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyIonicModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyIonicModule, never, [typeof i1.FormlyFormFieldModule, typeof i2.FormlyInputModule, typeof i3.FormlyTextAreaModule, typeof i4.FormlyRadioModule, typeof i5.FormlyCheckboxModule, typeof i6.FormlySelectModule, typeof i7.FormlyToggleModule, typeof i8.FormlySliderModule, typeof i9.FormlyDatetimeModule], [typeof i1.FormlyFormFieldModule]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyIonicModule>;
|
|
2
15
|
}
|
package/ngx-formly-ionic.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
|
+
/// <amd-module name="@ngx-formly/ionic" />
|
|
4
5
|
export * from './public_api';
|
|
5
|
-
export { IonFormlyAttributes as ɵc } from './lib/formly.attributes';
|
|
6
|
-
export { FIELD_TYPE_COMPONENTS as ɵa, IONIC_FORMLY_CONFIG as ɵb } from './lib/ui-ionic.config';
|