@ngx-formly/ionic 6.0.0-next.1 → 6.0.0-next.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 +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
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
+
import * as i5 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i2 from '@ngx-formly/core';
|
|
6
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
7
|
+
import * as i3 from '@angular/forms';
|
|
8
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
9
|
+
import * as i1 from '@ionic/angular';
|
|
10
|
+
import { IonicModule } from '@ionic/angular';
|
|
11
|
+
import * as i6 from '@ngx-formly/core/select';
|
|
12
|
+
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
13
|
+
import * as i4 from '@ngx-formly/ionic/form-field';
|
|
14
|
+
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
15
|
+
|
|
16
|
+
class FormlyFieldRadio extends FieldType {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.defaultOptions = {
|
|
20
|
+
templateOptions: { options: [] },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldRadio, selector: "formly-field-ion-radio", usesInheritance: true, ngImport: i0, template: `
|
|
26
|
+
<ion-list>
|
|
27
|
+
<ion-radio-group [formControl]="formControl" [ionFormlyAttributes]="field">
|
|
28
|
+
<ion-list-header>{{ to.label }}</ion-list-header>
|
|
29
|
+
<ion-item
|
|
30
|
+
*ngFor="let option of to.options | formlySelectOptions: field | async"
|
|
31
|
+
[disabled]="option.disabled || formControl.disabled"
|
|
32
|
+
>
|
|
33
|
+
<ion-label>{{ option.label }}</ion-label>
|
|
34
|
+
<ion-radio [value]="option.value"></ion-radio>
|
|
35
|
+
</ion-item>
|
|
36
|
+
</ion-radio-group>
|
|
37
|
+
</ion-list>
|
|
38
|
+
<ion-item lines="none" *ngIf="showError">
|
|
39
|
+
<ion-label>
|
|
40
|
+
<ion-text color="danger">
|
|
41
|
+
<p>
|
|
42
|
+
<formly-validation-message [field]="field"></formly-validation-message>
|
|
43
|
+
</p>
|
|
44
|
+
</ion-text>
|
|
45
|
+
</ion-label>
|
|
46
|
+
</ion-item>
|
|
47
|
+
`, isInline: true, components: [{ type: i1.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { type: i1.IonRadioGroup, selector: "ion-radio-group", inputs: ["allowEmptySelection", "name", "value"] }, { type: i1.IonListHeader, selector: "ion-list-header", inputs: ["color", "lines", "mode"] }, { type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { type: i1.IonRadio, selector: "ion-radio", inputs: ["color", "disabled", "mode", "name", "value"] }, { type: i1.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { type: i2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], directives: [{ type: i1.SelectValueAccessor, selector: "ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.RadioValueAccessor, selector: "ion-radio" }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i5.AsyncPipe, "formlySelectOptions": i6.ɵFormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{
|
|
51
|
+
selector: 'formly-field-ion-radio',
|
|
52
|
+
template: `
|
|
53
|
+
<ion-list>
|
|
54
|
+
<ion-radio-group [formControl]="formControl" [ionFormlyAttributes]="field">
|
|
55
|
+
<ion-list-header>{{ to.label }}</ion-list-header>
|
|
56
|
+
<ion-item
|
|
57
|
+
*ngFor="let option of to.options | formlySelectOptions: field | async"
|
|
58
|
+
[disabled]="option.disabled || formControl.disabled"
|
|
59
|
+
>
|
|
60
|
+
<ion-label>{{ option.label }}</ion-label>
|
|
61
|
+
<ion-radio [value]="option.value"></ion-radio>
|
|
62
|
+
</ion-item>
|
|
63
|
+
</ion-radio-group>
|
|
64
|
+
</ion-list>
|
|
65
|
+
<ion-item lines="none" *ngIf="showError">
|
|
66
|
+
<ion-label>
|
|
67
|
+
<ion-text color="danger">
|
|
68
|
+
<p>
|
|
69
|
+
<formly-validation-message [field]="field"></formly-validation-message>
|
|
70
|
+
</p>
|
|
71
|
+
</ion-text>
|
|
72
|
+
</ion-label>
|
|
73
|
+
</ion-item>
|
|
74
|
+
`,
|
|
75
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
76
|
+
}]
|
|
77
|
+
}] });
|
|
78
|
+
|
|
79
|
+
class FormlyRadioModule {
|
|
80
|
+
}
|
|
81
|
+
FormlyRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
82
|
+
FormlyRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
|
|
83
|
+
ReactiveFormsModule,
|
|
84
|
+
IonicModule,
|
|
85
|
+
FormlyFormFieldModule,
|
|
86
|
+
FormlySelectModule, i2.FormlyModule] });
|
|
87
|
+
FormlyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, imports: [[
|
|
88
|
+
CommonModule,
|
|
89
|
+
ReactiveFormsModule,
|
|
90
|
+
IonicModule,
|
|
91
|
+
FormlyFormFieldModule,
|
|
92
|
+
FormlySelectModule,
|
|
93
|
+
FormlyModule.forChild({
|
|
94
|
+
types: [
|
|
95
|
+
{
|
|
96
|
+
name: 'radio',
|
|
97
|
+
component: FormlyFieldRadio,
|
|
98
|
+
wrappers: [],
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
}),
|
|
102
|
+
]] });
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, decorators: [{
|
|
104
|
+
type: NgModule,
|
|
105
|
+
args: [{
|
|
106
|
+
declarations: [FormlyFieldRadio],
|
|
107
|
+
imports: [
|
|
108
|
+
CommonModule,
|
|
109
|
+
ReactiveFormsModule,
|
|
110
|
+
IonicModule,
|
|
111
|
+
FormlyFormFieldModule,
|
|
112
|
+
FormlySelectModule,
|
|
113
|
+
FormlyModule.forChild({
|
|
114
|
+
types: [
|
|
115
|
+
{
|
|
116
|
+
name: 'radio',
|
|
117
|
+
component: FormlyFieldRadio,
|
|
118
|
+
wrappers: [],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
}),
|
|
122
|
+
],
|
|
123
|
+
}]
|
|
124
|
+
}] });
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Generated bundle index. Do not edit.
|
|
128
|
+
*/
|
|
129
|
+
|
|
130
|
+
export { FormlyFieldRadio, FormlyRadioModule };
|
|
131
|
+
//# sourceMappingURL=ngx-formly-ionic-radio.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-formly-ionic-radio.mjs","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;;6GAJY,gBAAgB;iGAAhB,gBAAgB,qFAzBjB;;;;;;;;;;;;;;;;;;;;;;GAsBT;2FAGU,gBAAgB;kBA3B5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;GAsBT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCAY,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,iBAnBb,gBAAgB,aAE7B,YAAY;QACZ,mBAAmB;QACnB,WAAW;QAEX,qBAAqB;QACrB,kBAAkB;+GAYT,iBAAiB,YAlBnB;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YAEX,qBAAqB;YACrB,kBAAkB;YAClB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,OAAO;wBACb,SAAS,EAAE,gBAAgB;wBAC3B,QAAQ,EAAE,EAAE;qBACb;iBACF;aACF,CAAC;SACH;2FAEU,iBAAiB;kBApB7B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBAEX,qBAAqB;wBACrB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,OAAO;oCACb,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,EAAE;iCACb;6BACF;yBACF,CAAC;qBACH;iBACF;;;AC5BD;;;;;;"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i3 from '@angular/forms';
|
|
6
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
7
|
+
import * as i1$1 from '@ngx-formly/core';
|
|
8
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
9
|
+
import * as i1 from '@ionic/angular';
|
|
10
|
+
import { IonicModule } from '@ionic/angular';
|
|
11
|
+
import * as i5 from '@ngx-formly/core/select';
|
|
12
|
+
import { FormlySelectModule as FormlySelectModule$1 } from '@ngx-formly/core/select';
|
|
13
|
+
import * as i4 from '@ngx-formly/ionic/form-field';
|
|
14
|
+
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
15
|
+
|
|
16
|
+
class FormlyFieldSelect extends FieldType {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.defaultOptions = {
|
|
20
|
+
templateOptions: {
|
|
21
|
+
options: [],
|
|
22
|
+
compareWith(o1, o2) {
|
|
23
|
+
return o1 === o2;
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
+
FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldSelect, selector: "formly-field-ion-select", usesInheritance: true, ngImport: i0, template: `
|
|
31
|
+
<!-- ng-container used as a workaround for https://github.com/ionic-team/ionic/issues/19324 -->
|
|
32
|
+
<ng-container *ngIf="to.options | formlySelectOptions: field | async; let selectOptions">
|
|
33
|
+
<ion-select
|
|
34
|
+
[style.align-self]="to.labelPosition === 'floating' ? 'stretch' : ''"
|
|
35
|
+
[style.max-width.%]="to.labelPosition === 'floating' ? 100 : ''"
|
|
36
|
+
[formControl]="formControl"
|
|
37
|
+
[compareWith]="to.compareWith"
|
|
38
|
+
[ionFormlyAttributes]="field"
|
|
39
|
+
[multiple]="to.multiple"
|
|
40
|
+
[interface]="to.interface"
|
|
41
|
+
[okText]="to.okText"
|
|
42
|
+
[cancelText]="to.cancelText"
|
|
43
|
+
>
|
|
44
|
+
<ion-select-option *ngFor="let option of selectOptions" [value]="option.value" [disabled]="option.disabled">
|
|
45
|
+
{{ option.label }}
|
|
46
|
+
</ion-select-option>
|
|
47
|
+
</ion-select>
|
|
48
|
+
</ng-container>
|
|
49
|
+
`, isInline: true, styles: [":host{display:inherit}\n"], components: [{ type: i1.IonSelect, selector: "ion-select", inputs: ["cancelText", "compareWith", "disabled", "interface", "interfaceOptions", "mode", "multiple", "name", "okText", "placeholder", "selectedText", "value"] }, { type: i1.IonSelectOption, selector: "ion-select-option", inputs: ["disabled", "value"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.SelectValueAccessor, selector: "ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i2.AsyncPipe, "formlySelectOptions": i5.ɵFormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldSelect, decorators: [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{
|
|
53
|
+
selector: 'formly-field-ion-select',
|
|
54
|
+
template: `
|
|
55
|
+
<!-- ng-container used as a workaround for https://github.com/ionic-team/ionic/issues/19324 -->
|
|
56
|
+
<ng-container *ngIf="to.options | formlySelectOptions: field | async; let selectOptions">
|
|
57
|
+
<ion-select
|
|
58
|
+
[style.align-self]="to.labelPosition === 'floating' ? 'stretch' : ''"
|
|
59
|
+
[style.max-width.%]="to.labelPosition === 'floating' ? 100 : ''"
|
|
60
|
+
[formControl]="formControl"
|
|
61
|
+
[compareWith]="to.compareWith"
|
|
62
|
+
[ionFormlyAttributes]="field"
|
|
63
|
+
[multiple]="to.multiple"
|
|
64
|
+
[interface]="to.interface"
|
|
65
|
+
[okText]="to.okText"
|
|
66
|
+
[cancelText]="to.cancelText"
|
|
67
|
+
>
|
|
68
|
+
<ion-select-option *ngFor="let option of selectOptions" [value]="option.value" [disabled]="option.disabled">
|
|
69
|
+
{{ option.label }}
|
|
70
|
+
</ion-select-option>
|
|
71
|
+
</ion-select>
|
|
72
|
+
</ng-container>
|
|
73
|
+
`,
|
|
74
|
+
styles: [':host { display: inherit; }'],
|
|
75
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
76
|
+
}]
|
|
77
|
+
}] });
|
|
78
|
+
|
|
79
|
+
class FormlySelectModule {
|
|
80
|
+
}
|
|
81
|
+
FormlySelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
82
|
+
FormlySelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
|
|
83
|
+
ReactiveFormsModule,
|
|
84
|
+
IonicModule,
|
|
85
|
+
FormlyFormFieldModule,
|
|
86
|
+
FormlySelectModule$1, i1$1.FormlyModule] });
|
|
87
|
+
FormlySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, imports: [[
|
|
88
|
+
CommonModule,
|
|
89
|
+
ReactiveFormsModule,
|
|
90
|
+
IonicModule,
|
|
91
|
+
FormlyFormFieldModule,
|
|
92
|
+
FormlySelectModule$1,
|
|
93
|
+
FormlyModule.forChild({
|
|
94
|
+
types: [
|
|
95
|
+
{
|
|
96
|
+
name: 'select',
|
|
97
|
+
component: FormlyFieldSelect,
|
|
98
|
+
wrappers: ['form-field'],
|
|
99
|
+
},
|
|
100
|
+
{ name: 'enum', extends: 'select' },
|
|
101
|
+
],
|
|
102
|
+
}),
|
|
103
|
+
]] });
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, decorators: [{
|
|
105
|
+
type: NgModule,
|
|
106
|
+
args: [{
|
|
107
|
+
declarations: [FormlyFieldSelect],
|
|
108
|
+
imports: [
|
|
109
|
+
CommonModule,
|
|
110
|
+
ReactiveFormsModule,
|
|
111
|
+
IonicModule,
|
|
112
|
+
FormlyFormFieldModule,
|
|
113
|
+
FormlySelectModule$1,
|
|
114
|
+
FormlyModule.forChild({
|
|
115
|
+
types: [
|
|
116
|
+
{
|
|
117
|
+
name: 'select',
|
|
118
|
+
component: FormlyFieldSelect,
|
|
119
|
+
wrappers: ['form-field'],
|
|
120
|
+
},
|
|
121
|
+
{ name: 'enum', extends: 'select' },
|
|
122
|
+
],
|
|
123
|
+
}),
|
|
124
|
+
],
|
|
125
|
+
}]
|
|
126
|
+
}] });
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Generated bundle index. Do not edit.
|
|
130
|
+
*/
|
|
131
|
+
|
|
132
|
+
export { FormlyFieldSelect, FormlySelectModule };
|
|
133
|
+
//# sourceMappingURL=ngx-formly-ionic-select.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-formly-ionic-select.mjs","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;;8GATY,iBAAiB;kGAAjB,iBAAiB,sFAvBlB;;;;;;;;;;;;;;;;;;;GAmBT;2FAIU,iBAAiB;kBAzB7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,yBAAyB;oBACnC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;GAmBT;oBACD,MAAM,EAAE,CAAC,6BAA6B,CAAC;oBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCIY,kBAAkB;;+GAAlB,kBAAkB;gHAAlB,kBAAkB,iBApBd,iBAAiB,aAE9B,YAAY;QACZ,mBAAmB;QACnB,WAAW;QAEX,qBAAqB;QACrBA,oBAAsB;gHAab,kBAAkB,YAnBpB;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YAEX,qBAAqB;YACrBA,oBAAsB;YACtB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,iBAAiB;wBAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;oBACD,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;iBACpC;aACF,CAAC;SACH;2FAEU,kBAAkB;kBArB9B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBAEX,qBAAqB;wBACrBA,oBAAsB;wBACtB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,QAAQ;oCACd,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;gCACD,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;6BACpC;yBACF,CAAC;qBACH;iBACF;;;AC9BD;;;;;;"}
|
|
@@ -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.0.2", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldSlider, selector: "formly-field-ion-range", usesInheritance: true, ngImport: i0, template: `
|
|
17
|
+
<ion-range [min]="to.min" [max]="to.max" [formControl]="formControl" [ionFormlyAttributes]="field">
|
|
18
|
+
<ion-label slot="start">{{ to.min }}</ion-label>
|
|
19
|
+
<ion-label slot="end">{{ to.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", "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.0.2", ngImport: i0, type: FormlyFieldSlider, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{
|
|
25
|
+
selector: 'formly-field-ion-range',
|
|
26
|
+
template: `
|
|
27
|
+
<ion-range [min]="to.min" [max]="to.max" [formControl]="formControl" [ionFormlyAttributes]="field">
|
|
28
|
+
<ion-label slot="start">{{ to.min }}</ion-label>
|
|
29
|
+
<ion-label slot="end">{{ to.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.0.2", ngImport: i0, type: FormlySliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
40
|
+
FormlySliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", 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.0.2", 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.0.2", 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 } 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"],"names":[],"mappings":";;;;;;;;;;;;MAca,iBAAkB,SAAQ,SAAS;;8GAAnC,iBAAiB;kGAAjB,iBAAiB,qFATlB;;;;;GAKT;2FAIU,iBAAiB;kBAX7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,QAAQ,EAAE;;;;;GAKT;oBACD,MAAM,EAAE,CAAC,6BAA6B,CAAC;oBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCWY,kBAAkB;;+GAAlB,kBAAkB;gHAAlB,kBAAkB,iBAdd,iBAAiB,aAE9B,YAAY;QACZ,mBAAmB;QACnB,WAAW;QACX,qBAAqB;gHASZ,kBAAkB,YAbpB;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YACX,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE;oBAC1E,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;iBACrC;aACF,CAAC;SACH;2FAEU,kBAAkB;kBAf9B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBACX,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE;gCAC1E,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;6BACrC;yBACF,CAAC;qBACH;iBACF;;;ACvBD;;;;;;"}
|
|
@@ -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.0.2", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldTextArea, selector: "formly-field-ion-textarea", usesInheritance: true, ngImport: i0, template: `
|
|
17
|
+
<ion-textarea [formControl]="formControl" [ionFormlyAttributes]="field" [cols]="to.cols" [rows]="to.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.0.2", 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]="to.cols" [rows]="to.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.0.2", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
+
FormlyTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", 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.0.2", 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.0.2", 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 } 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;;gHAArC,mBAAmB;oGAAnB,mBAAmB,wFAPpB;;;GAGT;2FAIU,mBAAmB;kBAT/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,2BAA2B;oBACrC,QAAQ,EAAE;;;GAGT;oBACD,MAAM,EAAE,CAAC,6BAA6B,CAAC;oBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCgBY,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAlBhB,mBAAmB,aAEhC,YAAY;QACZ,mBAAmB;QACnB,WAAW;QAEX,qBAAqB;kHAYZ,oBAAoB,YAjBtB;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YAEX,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,UAAU;wBAChB,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;iBACF;aACF,CAAC;SACH;2FAEU,oBAAoB;kBAnBhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBAEX,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,UAAU;oCAChB,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;iBACF;;;AC1BD;;;;;;"}
|
|
@@ -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.0.2", ngImport: i0, type: FormlyFieldToggle, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
FormlyFieldToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", 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.0.2", 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.0.2", ngImport: i0, type: FormlyToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
29
|
+
FormlyToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", 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.0.2", 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.0.2", 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 } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\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 {}\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":[],"mappings":";;;;;;;;;;;;MAQa,iBAAkB,SAAQ,SAAS;;8GAAnC,iBAAiB;kGAAjB,iBAAiB,sFAHlB,wFAAwF;2FAGvF,iBAAiB;kBAL7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,yBAAyB;oBACnC,QAAQ,EAAE,wFAAwF;oBAClG,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCoBY,kBAAkB;;+GAAlB,kBAAkB;gHAAlB,kBAAkB,iBAjBd,iBAAiB,aAE9B,YAAY;QACZ,mBAAmB;QACnB,WAAW;QACX,qBAAqB;gHAYZ,kBAAkB,YAhBpB;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YACX,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,iBAAiB;wBAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;iBACF;aACF,CAAC;SACH;2FAEU,kBAAkB;kBAlB9B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBACX,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,QAAQ;oCACd,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;iBACF;;;AC1BD;;;;;;"}
|
|
@@ -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.0.2", ngImport: i0, type: FormlyIonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
+
FormlyIonicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", 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.0.2", 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.0.2", 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;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,YAZ1B,qBAAqB;QACrB,iBAAiB;QACjB,oBAAoB;QACpB,iBAAiB;QACjB,oBAAoB;QACpB,kBAAkB;QAClB,kBAAkB;QAClB,kBAAkB;QAClB,oBAAoB,aAEZ,qBAAqB;+GAEpB,iBAAiB,YAbnB;YACP,qBAAqB;YACrB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,kBAAkB;YAClB,kBAAkB;YAClB,kBAAkB;YAClB,oBAAoB;SACrB,EACS,qBAAqB;2FAEpB,iBAAiB;kBAd7B,QAAQ;mBAAC;oBACR,OAAO,EAAE;wBACP,qBAAqB;wBACrB,iBAAiB;wBACjB,oBAAoB;wBACpB,iBAAiB;wBACjB,oBAAoB;wBACpB,kBAAkB;wBAClB,kBAAkB;wBAClB,kBAAkB;wBAClB,oBAAoB;qBACrB;oBACD,OAAO,EAAE,CAAC,qBAAqB,CAAC;iBACjC;;;ACxBD;;;;ACAA;;;;;;"}
|