@ngx-formly/ionic 10.0.1 → 11.0.0

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.
Files changed (32) hide show
  1. package/README.md +109 -177
  2. package/fesm2022/ngx-formly-ionic-checkbox.mjs +192 -70
  3. package/fesm2022/ngx-formly-ionic-checkbox.mjs.map +1 -1
  4. package/fesm2022/ngx-formly-ionic-datetime.mjs +349 -119
  5. package/fesm2022/ngx-formly-ionic-datetime.mjs.map +1 -1
  6. package/fesm2022/ngx-formly-ionic-form-field.mjs +259 -81
  7. package/fesm2022/ngx-formly-ionic-form-field.mjs.map +1 -1
  8. package/fesm2022/ngx-formly-ionic-input.mjs +233 -92
  9. package/fesm2022/ngx-formly-ionic-input.mjs.map +1 -1
  10. package/fesm2022/ngx-formly-ionic-radio.mjs +262 -72
  11. package/fesm2022/ngx-formly-ionic-radio.mjs.map +1 -1
  12. package/fesm2022/ngx-formly-ionic-select.mjs +247 -90
  13. package/fesm2022/ngx-formly-ionic-select.mjs.map +1 -1
  14. package/fesm2022/ngx-formly-ionic-slider.mjs +198 -64
  15. package/fesm2022/ngx-formly-ionic-slider.mjs.map +1 -1
  16. package/fesm2022/ngx-formly-ionic-textarea.mjs +194 -67
  17. package/fesm2022/ngx-formly-ionic-textarea.mjs.map +1 -1
  18. package/fesm2022/ngx-formly-ionic-toggle.mjs +189 -66
  19. package/fesm2022/ngx-formly-ionic-toggle.mjs.map +1 -1
  20. package/fesm2022/ngx-formly-ionic.mjs +96 -69
  21. package/fesm2022/ngx-formly-ionic.mjs.map +1 -1
  22. package/package.json +3 -3
  23. package/types/ngx-formly-ionic-checkbox.d.ts +22 -27
  24. package/types/ngx-formly-ionic-datetime.d.ts +43 -47
  25. package/types/ngx-formly-ionic-form-field.d.ts +30 -31
  26. package/types/ngx-formly-ionic-input.d.ts +21 -27
  27. package/types/ngx-formly-ionic-radio.d.ts +21 -26
  28. package/types/ngx-formly-ionic-select.d.ts +34 -38
  29. package/types/ngx-formly-ionic-slider.d.ts +20 -26
  30. package/types/ngx-formly-ionic-textarea.d.ts +21 -27
  31. package/types/ngx-formly-ionic-toggle.d.ts +21 -26
  32. package/types/ngx-formly-ionic.d.ts +17 -21
@@ -1,73 +1,196 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
- import * as i1$1 from '@ngx-formly/core';
4
- import { FieldType, FormlyModule } from '@ngx-formly/core';
5
- import * as i1 from '@angular/forms';
6
- import { ReactiveFormsModule } from '@angular/forms';
7
- import * as i2 from '@ionic/angular';
8
- import { IonicModule } from '@ionic/angular';
9
- import * as i3 from '@ngx-formly/ionic/form-field';
10
- import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
11
- import { CommonModule } from '@angular/common';
12
-
13
- class FormlyFieldToggle extends FieldType {
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldToggle, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: FormlyFieldToggle, isStandalone: false, selector: "formly-field-ion-toggle", usesInheritance: true, ngImport: i0, template: `
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, NgModule } from "@angular/core";
3
+ import * as i1 from "@ngx-formly/core";
4
+ import { FieldType, FormlyModule } from "@ngx-formly/core";
5
+ import * as i1$1 from "@angular/forms";
6
+ import { ReactiveFormsModule } from "@angular/forms";
7
+ import * as i2 from "@ionic/angular";
8
+ import { IonToggle } from "@ionic/angular";
9
+ import * as i3 from "@ngx-formly/ionic/form-field";
10
+ import { FormlyFormFieldModule } from "@ngx-formly/ionic/form-field";
11
+ import { CommonModule } from "@angular/common";
12
+ var FormlyFieldToggle = class FormlyFieldToggle extends FieldType {
13
+ onLabelInteraction(event) {
14
+ if (event.target.closest("a[href]")) event.stopPropagation();
15
+ }
16
+ static {
17
+ this.ɵfac = i0.ɵɵngDeclareFactory({
18
+ minVersion: "12.0.0",
19
+ version: "22.2.2",
20
+ ngImport: i0,
21
+ type: FormlyFieldToggle,
22
+ deps: null,
23
+ target: i0.ɵɵFactoryTarget.Component
24
+ });
25
+ }
26
+ static {
27
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
28
+ minVersion: "17.0.0",
29
+ version: "22.2.2",
30
+ type: FormlyFieldToggle,
31
+ isStandalone: false,
32
+ selector: "formly-field-ion-toggle",
33
+ usesInheritance: true,
34
+ ngImport: i0,
35
+ template: `
16
36
  <ion-toggle [formControl]="formControl" [ionFormlyAttributes]="field">
17
- {{ props.label }}
37
+ @if (props.allowHtml) {
38
+ <span
39
+ [innerHTML]="props.label"
40
+ (click)="onLabelInteraction($event)"
41
+ (keydown)="onLabelInteraction($event)"
42
+ ></span>
43
+ } @else {
44
+ {{ props.label }}
45
+ }
18
46
  </ion-toggle>
19
- `, isInline: true, styles: [":host{display:inherit}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.IonToggle, selector: "ion-toggle", inputs: ["alignment", "checked", "color", "disabled", "enableOnOffLabels", "errorText", "helperText", "justify", "labelPlacement", "mode", "name", "required", "value"] }, { kind: "directive", type: i2.BooleanValueAccessor, selector: "ion-checkbox,ion-toggle" }, { kind: "directive", type: i3.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldToggle, decorators: [{
22
- type: Component,
23
- args: [{ selector: 'formly-field-ion-toggle', template: `
47
+ `,
48
+ isInline: true,
49
+ styles: [":host{display:inherit}\n"],
50
+ dependencies: [
51
+ {
52
+ kind: "directive",
53
+ type: i1$1.NgControlStatus,
54
+ selector: "[formControlName],[ngModel],[formControl]"
55
+ },
56
+ {
57
+ kind: "directive",
58
+ type: i1$1.FormControlDirective,
59
+ selector: "[formControl]",
60
+ inputs: [
61
+ "formControl",
62
+ "disabled",
63
+ "ngModel"
64
+ ],
65
+ outputs: ["ngModelChange"],
66
+ exportAs: ["ngForm"]
67
+ },
68
+ {
69
+ kind: "component",
70
+ type: i2.IonToggle,
71
+ selector: "ion-toggle",
72
+ inputs: [
73
+ "checked",
74
+ "color",
75
+ "disabled",
76
+ "enableOnOffLabels",
77
+ "errorText",
78
+ "helperText",
79
+ "justify",
80
+ "labelPlacement",
81
+ "mode",
82
+ "name",
83
+ "value"
84
+ ]
85
+ },
86
+ {
87
+ kind: "directive",
88
+ type: i3.ɵIonFormlyAttributes,
89
+ selector: "[ionFormlyAttributes]",
90
+ inputs: ["ionFormlyAttributes"]
91
+ }
92
+ ],
93
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
94
+ });
95
+ }
96
+ };
97
+ i0.ɵɵngDeclareClassMetadata({
98
+ minVersion: "12.0.0",
99
+ version: "22.2.2",
100
+ ngImport: i0,
101
+ type: FormlyFieldToggle,
102
+ decorators: [{
103
+ type: Component,
104
+ args: [{
105
+ selector: "formly-field-ion-toggle",
106
+ template: `
24
107
  <ion-toggle [formControl]="formControl" [ionFormlyAttributes]="field">
25
- {{ props.label }}
108
+ @if (props.allowHtml) {
109
+ <span
110
+ [innerHTML]="props.label"
111
+ (click)="onLabelInteraction($event)"
112
+ (keydown)="onLabelInteraction($event)"
113
+ ></span>
114
+ } @else {
115
+ {{ props.label }}
116
+ }
26
117
  </ion-toggle>
27
- `, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, styles: [":host{display:inherit}\n"] }]
28
- }] });
29
-
118
+ `,
119
+ changeDetection: ChangeDetectionStrategy.OnPush,
120
+ standalone: false,
121
+ styles: [":host{display:inherit}\n"]
122
+ }]
123
+ }]
124
+ });
30
125
  function withFormlyFieldToggle() {
31
- return {
32
- types: [
33
- {
34
- name: 'toggle',
35
- component: FormlyFieldToggle,
36
- wrappers: ['form-field'],
37
- },
38
- ],
39
- };
40
- }
41
-
42
- class FormlyToggleModule {
43
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
44
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyToggleModule, declarations: [FormlyFieldToggle], imports: [CommonModule,
45
- ReactiveFormsModule,
46
- IonicModule,
47
- FormlyFormFieldModule, i1$1.FormlyModule] }); }
48
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyToggleModule, imports: [CommonModule,
49
- ReactiveFormsModule,
50
- IonicModule,
51
- FormlyFormFieldModule,
52
- FormlyModule.forChild(withFormlyFieldToggle())] }); }
126
+ return { types: [{
127
+ name: "toggle",
128
+ component: FormlyFieldToggle,
129
+ wrappers: ["form-field"]
130
+ }] };
53
131
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyToggleModule, decorators: [{
55
- type: NgModule,
56
- args: [{
57
- declarations: [FormlyFieldToggle],
58
- imports: [
59
- CommonModule,
60
- ReactiveFormsModule,
61
- IonicModule,
62
- FormlyFormFieldModule,
63
- FormlyModule.forChild(withFormlyFieldToggle()),
64
- ],
65
- }]
66
- }] });
67
-
68
- /**
69
- * Generated bundle index. Do not edit.
70
- */
71
-
132
+ var FormlyToggleModule = class FormlyToggleModule {
133
+ static {
134
+ this.ɵfac = i0.ɵɵngDeclareFactory({
135
+ minVersion: "12.0.0",
136
+ version: "22.2.2",
137
+ ngImport: i0,
138
+ type: FormlyToggleModule,
139
+ deps: [],
140
+ target: i0.ɵɵFactoryTarget.NgModule
141
+ });
142
+ }
143
+ static {
144
+ this.ɵmod = i0.ɵɵngDeclareNgModule({
145
+ minVersion: "14.0.0",
146
+ version: "22.2.2",
147
+ ngImport: i0,
148
+ type: FormlyToggleModule,
149
+ declarations: [FormlyFieldToggle],
150
+ imports: [
151
+ CommonModule,
152
+ ReactiveFormsModule,
153
+ IonToggle,
154
+ FormlyFormFieldModule,
155
+ i1.FormlyModule
156
+ ]
157
+ });
158
+ }
159
+ static {
160
+ this.ɵinj = i0.ɵɵngDeclareInjector({
161
+ minVersion: "12.0.0",
162
+ version: "22.2.2",
163
+ ngImport: i0,
164
+ type: FormlyToggleModule,
165
+ imports: [
166
+ CommonModule,
167
+ ReactiveFormsModule,
168
+ IonToggle,
169
+ FormlyFormFieldModule,
170
+ FormlyModule.forChild(withFormlyFieldToggle())
171
+ ]
172
+ });
173
+ }
174
+ };
175
+ i0.ɵɵngDeclareClassMetadata({
176
+ minVersion: "12.0.0",
177
+ version: "22.2.2",
178
+ ngImport: i0,
179
+ type: FormlyToggleModule,
180
+ decorators: [{
181
+ type: NgModule,
182
+ args: [{
183
+ declarations: [FormlyFieldToggle],
184
+ imports: [
185
+ CommonModule,
186
+ ReactiveFormsModule,
187
+ IonToggle,
188
+ FormlyFormFieldModule,
189
+ FormlyModule.forChild(withFormlyFieldToggle())
190
+ ]
191
+ }]
192
+ }]
193
+ });
72
194
  export { FormlyToggleModule, withFormlyFieldToggle };
73
- //# sourceMappingURL=ngx-formly-ionic-toggle.mjs.map
195
+
196
+ //# sourceMappingURL=ngx-formly-ionic-toggle.mjs.map
@@ -1 +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.config.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: `\n <ion-toggle [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\">\n {{ props.label }}\n </ion-toggle>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrls: ['./toggle.type.scss'],\n standalone: false,\n})\nexport class FormlyFieldToggle extends FieldType<FieldTypeConfig<ToggleProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldToggle } from './toggle.type';\n\nexport function withFormlyFieldToggle(): ConfigOption {\n return {\n types: [\n {\n name: 'toggle',\n component: FormlyFieldToggle,\n wrappers: ['form-field'],\n },\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 { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldToggle } from './toggle.type';\nimport { withFormlyFieldToggle } from './toggle.config';\n\n@NgModule({\n declarations: [FormlyFieldToggle],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild(withFormlyFieldToggle()),\n ],\n})\nexport class FormlyToggleModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAqBM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;+GAAjE,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAA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AA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBACX,qBAAqB;AACrB,wBAAA,YAAY,CAAC,QAAQ,CAAC,qBAAqB,EAAE,CAAC;AAC/C,qBAAA;AACF,iBAAA;;;ACnBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-ionic-toggle.mjs","names":[],"sources":["../../../../src/ui/ionic/toggle/src/toggle.type.ts","../../../../src/ui/ionic/toggle/src/toggle.config.ts","../../../../src/ui/ionic/toggle/src/toggle.module.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: `\n <ion-toggle [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\">\n @if (props.allowHtml) {\n <span\n [innerHTML]=\"props.label\"\n (click)=\"onLabelInteraction($event)\"\n (keydown)=\"onLabelInteraction($event)\"\n ></span>\n } @else {\n {{ props.label }}\n }\n </ion-toggle>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrls: ['./toggle.type.scss'],\n standalone: false,\n})\nexport class FormlyFieldToggle extends FieldType<FieldTypeConfig<ToggleProps>> {\n protected onLabelInteraction(event: Event) {\n if ((event.target as HTMLElement).closest('a[href]')) {\n event.stopPropagation();\n }\n }\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldToggle } from './toggle.type';\n\nexport function withFormlyFieldToggle(): ConfigOption {\n return {\n types: [\n {\n name: 'toggle',\n component: FormlyFieldToggle,\n wrappers: ['form-field'],\n },\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 { IonToggle } from '@ionic/angular';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldToggle } from './toggle.type';\nimport { withFormlyFieldToggle } from './toggle.config';\n\n@NgModule({\n declarations: [FormlyFieldToggle],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonToggle,\n FormlyFormFieldModule,\n FormlyModule.forChild(withFormlyFieldToggle()),\n ],\n})\nexport class FormlyToggleModule {}\n"],"mappings":";;;;;;;;;;;AA6BA,IAAa,oBAAb,MAAa,0BAA0B,UAAuC;CAClE,mBAAmB,OAAY;EACvC,IAAK,MAAM,OAAuB,QAAQ,SAAS,GACjD,MAAM,gBAAe;CAEzB;CALW;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAiB,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAjB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAiB,cAAA;GAAA,UAAA;GAAA,iBAAA;GAAA,UAAA;GAAA,UAjBlB;;;;;;;;;;;;;GAYT,UAAA;GAAA,QAAA,CAAA,0BAAA;GAAA,cAAA;IAAA;KAAA,MAAA;KAAA,MAAA,KAAA;KAAA,UAAA;IAAA;IAAA;KAAA,MAAA;KAAA,MAAA,KAAA;KAAA,UAAA;KAAA,QAAA;MAAA;MAAA;MAAA;KAAA;KAAA,SAAA,CAAA,eAAA;KAAA,UAAA,CAAA,QAAA;IAAA;IAAA;KAAA,MAAA;KAAA,MAAA,GAAA;KAAA,UAAA;KAAA,QAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;KAAA;IAAA;IAAA;KAAA,MAA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A"}
@@ -1,72 +1,99 @@
1
- import { withFormlyFormField, FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
2
- import { withFormlyFieldInput, FormlyInputModule } from '@ngx-formly/ionic/input';
3
- import { withFormlyFieldTextArea, FormlyTextAreaModule } from '@ngx-formly/ionic/textarea';
4
- import { withFormlyFieldRadio, FormlyRadioModule } from '@ngx-formly/ionic/radio';
5
- import { withFormlyFieldCheckbox, FormlyCheckboxModule } from '@ngx-formly/ionic/checkbox';
6
- import { withFormlyFieldSelect, FormlySelectModule } from '@ngx-formly/ionic/select';
7
- import * as i0 from '@angular/core';
8
- import { NgModule } from '@angular/core';
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
-
1
+ import { FormlyFormFieldModule, withFormlyFormField } from "@ngx-formly/ionic/form-field";
2
+ import { FormlyInputModule, withFormlyFieldInput } from "@ngx-formly/ionic/input";
3
+ import { FormlyTextAreaModule, withFormlyFieldTextArea } from "@ngx-formly/ionic/textarea";
4
+ import { FormlyRadioModule, withFormlyFieldRadio } from "@ngx-formly/ionic/radio";
5
+ import { FormlyCheckboxModule, withFormlyFieldCheckbox } from "@ngx-formly/ionic/checkbox";
6
+ import { FormlySelectModule, withFormlyFieldSelect } from "@ngx-formly/ionic/select";
7
+ import * as i0 from "@angular/core";
8
+ import { NgModule } from "@angular/core";
9
+ import { FormlyToggleModule } from "@ngx-formly/ionic/toggle";
10
+ import { FormlySliderModule } from "@ngx-formly/ionic/slider";
11
+ import { FormlyDatetimeModule } from "@ngx-formly/ionic/datetime";
13
12
  function withFormlyIonic() {
14
- return [
15
- withFormlyFormField(),
16
- withFormlyFieldInput(),
17
- withFormlyFieldTextArea(),
18
- withFormlyFieldRadio(),
19
- withFormlyFieldCheckbox(),
20
- withFormlyFieldSelect(),
21
- ];
22
- }
23
-
24
- class FormlyIonicModule {
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyIonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
26
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyIonicModule, imports: [FormlyFormFieldModule,
27
- FormlyInputModule,
28
- FormlyTextAreaModule,
29
- FormlyRadioModule,
30
- FormlyCheckboxModule,
31
- FormlySelectModule,
32
- FormlyToggleModule,
33
- FormlySliderModule,
34
- FormlyDatetimeModule], exports: [FormlyFormFieldModule] }); }
35
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyIonicModule, imports: [FormlyFormFieldModule,
36
- FormlyInputModule,
37
- FormlyTextAreaModule,
38
- FormlyRadioModule,
39
- FormlyCheckboxModule,
40
- FormlySelectModule,
41
- FormlyToggleModule,
42
- FormlySliderModule,
43
- FormlyDatetimeModule, FormlyFormFieldModule] }); }
13
+ return [
14
+ withFormlyFormField(),
15
+ withFormlyFieldInput(),
16
+ withFormlyFieldTextArea(),
17
+ withFormlyFieldRadio(),
18
+ withFormlyFieldCheckbox(),
19
+ withFormlyFieldSelect()
20
+ ];
44
21
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyIonicModule, decorators: [{
46
- type: NgModule,
47
- args: [{
48
- imports: [
49
- FormlyFormFieldModule,
50
- FormlyInputModule,
51
- FormlyTextAreaModule,
52
- FormlyRadioModule,
53
- FormlyCheckboxModule,
54
- FormlySelectModule,
55
- FormlyToggleModule,
56
- FormlySliderModule,
57
- FormlyDatetimeModule,
58
- ],
59
- exports: [FormlyFormFieldModule],
60
- }]
61
- }] });
62
-
63
- /*
64
- * Public API Surface of ionic
65
- */
66
-
67
- /**
68
- * Generated bundle index. Do not edit.
69
- */
70
-
22
+ var FormlyIonicModule = class FormlyIonicModule {
23
+ static {
24
+ this.ɵfac = i0.ɵɵngDeclareFactory({
25
+ minVersion: "12.0.0",
26
+ version: "22.2.2",
27
+ ngImport: i0,
28
+ type: FormlyIonicModule,
29
+ deps: [],
30
+ target: i0.ɵɵFactoryTarget.NgModule
31
+ });
32
+ }
33
+ static {
34
+ this.ɵmod = i0.ɵɵngDeclareNgModule({
35
+ minVersion: "14.0.0",
36
+ version: "22.2.2",
37
+ ngImport: i0,
38
+ type: FormlyIonicModule,
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
+ static {
54
+ this.ɵinj = i0.ɵɵngDeclareInjector({
55
+ minVersion: "12.0.0",
56
+ version: "22.2.2",
57
+ ngImport: i0,
58
+ type: FormlyIonicModule,
59
+ imports: [
60
+ FormlyFormFieldModule,
61
+ FormlyInputModule,
62
+ FormlyTextAreaModule,
63
+ FormlyRadioModule,
64
+ FormlyCheckboxModule,
65
+ FormlySelectModule,
66
+ FormlyToggleModule,
67
+ FormlySliderModule,
68
+ FormlyDatetimeModule,
69
+ FormlyFormFieldModule
70
+ ]
71
+ });
72
+ }
73
+ };
74
+ i0.ɵɵngDeclareClassMetadata({
75
+ minVersion: "12.0.0",
76
+ version: "22.2.2",
77
+ ngImport: i0,
78
+ type: FormlyIonicModule,
79
+ decorators: [{
80
+ type: NgModule,
81
+ args: [{
82
+ imports: [
83
+ FormlyFormFieldModule,
84
+ FormlyInputModule,
85
+ FormlyTextAreaModule,
86
+ FormlyRadioModule,
87
+ FormlyCheckboxModule,
88
+ FormlySelectModule,
89
+ FormlyToggleModule,
90
+ FormlySliderModule,
91
+ FormlyDatetimeModule
92
+ ],
93
+ exports: [FormlyFormFieldModule]
94
+ }]
95
+ }]
96
+ });
71
97
  export { FormlyIonicModule, withFormlyIonic };
72
- //# sourceMappingURL=ngx-formly-ionic.mjs.map
98
+
99
+ //# sourceMappingURL=ngx-formly-ionic.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-ionic.mjs","sources":["../../../../src/ui/ionic/src/lib/ui-ionic.config.ts","../../../../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 { ConfigOption } from '@ngx-formly/core';\nimport { withFormlyFormField } from '@ngx-formly/ionic/form-field';\nimport { withFormlyFieldInput } from '@ngx-formly/ionic/input';\nimport { withFormlyFieldTextArea } from '@ngx-formly/ionic/textarea';\nimport { withFormlyFieldRadio } from '@ngx-formly/ionic/radio';\nimport { withFormlyFieldCheckbox } from '@ngx-formly/ionic/checkbox';\nimport { withFormlyFieldSelect } from '@ngx-formly/ionic/select';\n\nexport function withFormlyIonic(): ConfigOption[] {\n return [\n withFormlyFormField(),\n withFormlyFieldInput(),\n withFormlyFieldTextArea(),\n withFormlyFieldRadio(),\n withFormlyFieldCheckbox(),\n withFormlyFieldSelect(),\n ];\n}\n","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":";;;;;;;;;;;;SAQgB,eAAe,GAAA;IAC7B,OAAO;AACL,QAAA,mBAAmB,EAAE;AACrB,QAAA,oBAAoB,EAAE;AACtB,QAAA,uBAAuB,EAAE;AACzB,QAAA,oBAAoB,EAAE;AACtB,QAAA,uBAAuB,EAAE;AACzB,QAAA,qBAAqB,EAAE;KACxB;AACH;;MCQa,iBAAiB,CAAA;+GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAZ1B,qBAAqB;YACrB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,kBAAkB;YAClB,kBAAkB;YAClB,kBAAkB;AAClB,YAAA,oBAAoB,aAEZ,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAEpB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAZ1B,qBAAqB;YACrB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,kBAAkB;YAClB,kBAAkB;YAClB,kBAAkB;AAClB,YAAA,oBAAoB,EAEZ,qBAAqB,CAAA,EAAA,CAAA,CAAA;;4FAEpB,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;;;ACxBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-ionic.mjs","names":[],"sources":["../../../../src/ui/ionic/src/lib/ui-ionic.config.ts","../../../../src/ui/ionic/src/lib/ui-ionic.module.ts"],"sourcesContent":["import { ConfigOption } from '@ngx-formly/core';\nimport { withFormlyFormField } from '@ngx-formly/ionic/form-field';\nimport { withFormlyFieldInput } from '@ngx-formly/ionic/input';\nimport { withFormlyFieldTextArea } from '@ngx-formly/ionic/textarea';\nimport { withFormlyFieldRadio } from '@ngx-formly/ionic/radio';\nimport { withFormlyFieldCheckbox } from '@ngx-formly/ionic/checkbox';\nimport { withFormlyFieldSelect } from '@ngx-formly/ionic/select';\n\nexport function withFormlyIonic(): ConfigOption[] {\n return [\n withFormlyFormField(),\n withFormlyFieldInput(),\n withFormlyFieldTextArea(),\n withFormlyFieldRadio(),\n withFormlyFieldCheckbox(),\n withFormlyFieldSelect(),\n ];\n}\n","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"],"mappings":";;;;;;;;;;;AAQA,SAAgB,kBAAe;CAC7B,OAAO;EACL,oBAAmB;EACnB,qBAAoB;EACpB,wBAAuB;EACvB,qBAAoB;EACpB,wBAAuB;EACvB,sBAAqB;CACtB;AACH;ACQA,IAAa,oBAAb,MAAa,kBAAiB;CAAjB;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAiB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAjB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAiB,SAAA;IAZ1B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GAAoB;GAAA,SAAA,CAEZ,qBAAqB;EAAA,CAAA;CAAA;CAEpB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAiB,SAAA;IAZ1B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEQ;GAAqB;EAAA,CAAA;CAAA;;AAEpB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAiB,YAAA,CAAA;EAd7B,MAAA;EAAS,MAAA,CAAA;GACR,SAAS;IACP;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACD;GACD,SAAS,CAAC,qBAAqB;EAChC,CAAA"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@ngx-formly/ionic",
3
- "version": "10.0.1",
3
+ "version": "11.0.0",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"
7
7
  },
8
8
  "peerDependencies": {
9
- "@ngx-formly/core": "10.0.1",
10
- "@ionic/angular": "^8.0.0"
9
+ "@ngx-formly/core": "11.0.0",
10
+ "@ionic/angular": "^9.0.0"
11
11
  },
12
12
  "module": "fesm2022/ngx-formly-ionic.mjs",
13
13
  "typings": "types/ngx-formly-ionic.d.ts",
@@ -1,30 +1,25 @@
1
- import * as i6 from '@ngx-formly/core';
2
- import { ConfigOption, FormlyFieldConfig, FieldType, FieldTypeConfig } from '@ngx-formly/core';
3
- import * as i0 from '@angular/core';
4
- import { Type } from '@angular/core';
5
- import * as i5 from '@ngx-formly/ionic/form-field';
6
- import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
7
- import * as i2 from '@angular/common';
8
- import * as i3 from '@angular/forms';
9
- import * as i4 from '@ionic/angular';
10
-
11
- declare function withFormlyFieldCheckbox(): ConfigOption;
12
-
13
- interface CheckboxProps extends FormlyFieldProps {
1
+ import * as i6 from "@ngx-formly/core";
2
+ import { ConfigOption, FieldType, FieldTypeConfig, FormlyFieldConfig } from "@ngx-formly/core";
3
+ import * as i0 from "@angular/core";
4
+ import { Type } from "@angular/core";
5
+ import * as i5 from "@ngx-formly/ionic/form-field";
6
+ import { FormlyFieldProps } from "@ngx-formly/ionic/form-field";
7
+ import * as i2 from "@angular/common";
8
+ import * as i3 from "@angular/forms";
9
+ import * as i4 from "@ionic/angular";
10
+ export declare function withFormlyFieldCheckbox(): ConfigOption;
11
+ interface CheckboxProps extends FormlyFieldProps {}
12
+ export interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {
13
+ type: 'checkbox' | Type<FormlyFieldCheckbox>;
14
14
  }
15
- interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {
16
- type: 'checkbox' | Type<FormlyFieldCheckbox>;
15
+ export declare class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {
16
+ protected onLabelInteraction(event: Event): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCheckbox, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCheckbox, "formly-field-ion-checkbox", never, {}, {}, never, never, false, never>;
17
19
  }
18
- declare class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {
19
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCheckbox, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCheckbox, "formly-field-ion-checkbox", never, {}, {}, never, never, false, never>;
20
+ export declare class FormlyCheckboxModule {
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyCheckboxModule, never>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyCheckboxModule, [typeof FormlyFieldCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonCheckbox, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
23
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyCheckboxModule>;
21
24
  }
22
-
23
- declare class FormlyCheckboxModule {
24
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyCheckboxModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyCheckboxModule, [typeof FormlyFieldCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
26
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyCheckboxModule>;
27
- }
28
-
29
- export { FormlyCheckboxModule, FormlyFieldCheckbox, withFormlyFieldCheckbox };
30
- export type { FormlyCheckboxFieldConfig };
25
+ export {};