@ngx-formly/ionic 6.3.11 → 7.0.0-alpha.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.
- package/README.md +1 -0
- package/checkbox/checkbox.config.d.ts +2 -0
- package/checkbox/checkbox.type.d.ts +1 -1
- package/checkbox/public_api.d.ts +1 -0
- package/datetime/datetime.config.d.ts +2 -0
- package/datetime/datetime.type.d.ts +1 -2
- package/datetime/public_api.d.ts +1 -0
- package/esm2022/checkbox/checkbox.config.mjs +17 -0
- package/esm2022/checkbox/checkbox.module.mjs +36 -0
- package/esm2022/checkbox/checkbox.type.mjs +23 -0
- package/esm2022/checkbox/public_api.mjs +4 -0
- package/esm2022/datetime/datetime.config.mjs +13 -0
- package/esm2022/datetime/datetime.module.mjs +36 -0
- package/esm2022/datetime/datetime.type.mjs +129 -0
- package/esm2022/datetime/public_api.mjs +3 -0
- package/esm2022/form-field/form-field.config.mjs +12 -0
- package/esm2022/form-field/form-field.module.mjs +24 -0
- package/esm2022/form-field/form-field.wrapper.mjs +44 -0
- package/esm2022/form-field/formly.attributes.mjs +31 -0
- package/esm2022/form-field/public_api.mjs +4 -0
- package/esm2022/input/input.config.mjs +32 -0
- package/esm2022/input/input.module.mjs +37 -0
- package/esm2022/input/input.type.mjs +48 -0
- package/esm2022/input/public_api.mjs +4 -0
- package/esm2022/lib/ui-ionic.config.mjs +17 -0
- package/esm2022/lib/ui-ionic.mjs +3 -0
- package/esm2022/lib/ui-ionic.module.mjs +50 -0
- package/esm2022/radio/public_api.mjs +4 -0
- package/esm2022/radio/radio.config.mjs +13 -0
- package/esm2022/radio/radio.module.mjs +40 -0
- package/esm2022/radio/radio.type.mjs +45 -0
- package/esm2022/select/public_api.mjs +4 -0
- package/esm2022/select/select.config.mjs +14 -0
- package/esm2022/select/select.module.mjs +41 -0
- package/esm2022/select/select.type.mjs +67 -0
- package/esm2022/slider/public_api.mjs +3 -0
- package/esm2022/slider/slider.config.mjs +10 -0
- package/esm2022/slider/slider.module.mjs +37 -0
- package/esm2022/slider/slider.type.mjs +37 -0
- package/esm2022/textarea/public_api.mjs +4 -0
- package/esm2022/textarea/textarea.config.mjs +13 -0
- package/esm2022/textarea/textarea.module.mjs +37 -0
- package/esm2022/textarea/textarea.type.mjs +33 -0
- package/esm2022/toggle/public_api.mjs +3 -0
- package/esm2022/toggle/toggle.config.mjs +13 -0
- package/esm2022/toggle/toggle.module.mjs +36 -0
- package/esm2022/toggle/toggle.type.mjs +23 -0
- package/fesm2022/ngx-formly-ionic-checkbox.mjs +77 -0
- package/fesm2022/ngx-formly-ionic-checkbox.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-ionic-datetime.mjs +36 -43
- package/fesm2022/ngx-formly-ionic-datetime.mjs.map +1 -0
- package/fesm2022/ngx-formly-ionic-form-field.mjs +106 -0
- package/fesm2022/ngx-formly-ionic-form-field.mjs.map +1 -0
- package/fesm2022/ngx-formly-ionic-input.mjs +118 -0
- package/fesm2022/ngx-formly-ionic-input.mjs.map +1 -0
- package/fesm2022/ngx-formly-ionic-radio.mjs +99 -0
- package/fesm2022/ngx-formly-ionic-radio.mjs.map +1 -0
- package/fesm2022/ngx-formly-ionic-select.mjs +123 -0
- package/fesm2022/ngx-formly-ionic-select.mjs.map +1 -0
- package/fesm2022/ngx-formly-ionic-slider.mjs +85 -0
- package/fesm2022/ngx-formly-ionic-slider.mjs.map +1 -0
- package/fesm2022/ngx-formly-ionic-textarea.mjs +84 -0
- package/fesm2022/ngx-formly-ionic-textarea.mjs.map +1 -0
- package/fesm2022/ngx-formly-ionic-toggle.mjs +73 -0
- package/fesm2022/ngx-formly-ionic-toggle.mjs.map +1 -0
- package/fesm2022/ngx-formly-ionic.mjs +72 -0
- package/fesm2022/ngx-formly-ionic.mjs.map +1 -0
- package/form-field/form-field.config.d.ts +2 -0
- package/form-field/form-field.module.d.ts +0 -2
- package/form-field/form-field.wrapper.d.ts +1 -2
- package/form-field/formly.attributes.d.ts +1 -1
- package/form-field/public_api.d.ts +1 -0
- package/input/input.config.d.ts +2 -0
- package/input/input.type.d.ts +1 -1
- package/input/public_api.d.ts +1 -0
- package/lib/ui-ionic.config.d.ts +1 -0
- package/lib/ui-ionic.d.ts +1 -0
- package/package.json +45 -69
- package/radio/public_api.d.ts +1 -0
- package/radio/radio.config.d.ts +2 -0
- package/radio/radio.type.d.ts +2 -3
- package/select/public_api.d.ts +1 -0
- package/select/select.config.d.ts +2 -0
- package/select/select.type.d.ts +1 -1
- package/slider/public_api.d.ts +1 -0
- package/slider/slider.config.d.ts +2 -0
- package/slider/slider.type.d.ts +1 -1
- package/textarea/public_api.d.ts +1 -0
- package/textarea/textarea.config.d.ts +2 -0
- package/textarea/textarea.type.d.ts +1 -1
- package/toggle/public_api.d.ts +1 -0
- package/toggle/toggle.config.d.ts +2 -0
- package/toggle/toggle.type.d.ts +1 -1
- package/checkbox/package.json +0 -10
- package/datetime/package.json +0 -10
- package/esm2020/checkbox/checkbox.module.mjs +0 -61
- package/esm2020/checkbox/checkbox.type.mjs +0 -27
- package/esm2020/checkbox/public_api.mjs +0 -3
- package/esm2020/datetime/datetime.module.mjs +0 -53
- package/esm2020/datetime/datetime.type.mjs +0 -130
- package/esm2020/datetime/public_api.mjs +0 -2
- package/esm2020/form-field/form-field.module.mjs +0 -60
- package/esm2020/form-field/form-field.wrapper.mjs +0 -52
- package/esm2020/form-field/formly.attributes.mjs +0 -30
- package/esm2020/form-field/public_api.mjs +0 -3
- package/esm2020/input/input.module.mjs +0 -92
- package/esm2020/input/input.type.mjs +0 -53
- package/esm2020/input/public_api.mjs +0 -3
- package/esm2020/lib/ui-ionic.mjs +0 -2
- package/esm2020/lib/ui-ionic.module.mjs +0 -52
- package/esm2020/radio/public_api.mjs +0 -3
- package/esm2020/radio/radio.module.mjs +0 -57
- package/esm2020/radio/radio.type.mjs +0 -70
- package/esm2020/select/public_api.mjs +0 -3
- package/esm2020/select/select.module.mjs +0 -60
- package/esm2020/select/select.type.mjs +0 -72
- package/esm2020/slider/public_api.mjs +0 -2
- package/esm2020/slider/slider.module.mjs +0 -48
- package/esm2020/slider/slider.type.mjs +0 -42
- package/esm2020/textarea/public_api.mjs +0 -3
- package/esm2020/textarea/textarea.module.mjs +0 -54
- package/esm2020/textarea/textarea.type.mjs +0 -38
- package/esm2020/toggle/public_api.mjs +0 -2
- package/esm2020/toggle/toggle.module.mjs +0 -53
- package/esm2020/toggle/toggle.type.mjs +0 -27
- package/fesm2015/ngx-formly-ionic-checkbox.mjs +0 -91
- package/fesm2015/ngx-formly-ionic-checkbox.mjs.map +0 -1
- package/fesm2015/ngx-formly-ionic-datetime.mjs +0 -187
- package/fesm2015/ngx-formly-ionic-datetime.mjs.map +0 -1
- package/fesm2015/ngx-formly-ionic-form-field.mjs +0 -139
- package/fesm2015/ngx-formly-ionic-form-field.mjs.map +0 -1
- package/fesm2015/ngx-formly-ionic-input.mjs +0 -148
- package/fesm2015/ngx-formly-ionic-input.mjs.map +0 -1
- package/fesm2015/ngx-formly-ionic-radio.mjs +0 -129
- package/fesm2015/ngx-formly-ionic-radio.mjs.map +0 -1
- package/fesm2015/ngx-formly-ionic-select.mjs +0 -135
- package/fesm2015/ngx-formly-ionic-select.mjs.map +0 -1
- package/fesm2015/ngx-formly-ionic-slider.mjs +0 -93
- package/fesm2015/ngx-formly-ionic-slider.mjs.map +0 -1
- package/fesm2015/ngx-formly-ionic-textarea.mjs +0 -95
- package/fesm2015/ngx-formly-ionic-textarea.mjs.map +0 -1
- package/fesm2015/ngx-formly-ionic-toggle.mjs +0 -83
- package/fesm2015/ngx-formly-ionic-toggle.mjs.map +0 -1
- package/fesm2015/ngx-formly-ionic.mjs +0 -63
- package/fesm2015/ngx-formly-ionic.mjs.map +0 -1
- package/fesm2020/ngx-formly-ionic-checkbox.mjs +0 -91
- package/fesm2020/ngx-formly-ionic-checkbox.mjs.map +0 -1
- package/fesm2020/ngx-formly-ionic-datetime.mjs.map +0 -1
- package/fesm2020/ngx-formly-ionic-form-field.mjs +0 -139
- package/fesm2020/ngx-formly-ionic-form-field.mjs.map +0 -1
- package/fesm2020/ngx-formly-ionic-input.mjs +0 -148
- package/fesm2020/ngx-formly-ionic-input.mjs.map +0 -1
- package/fesm2020/ngx-formly-ionic-radio.mjs +0 -129
- package/fesm2020/ngx-formly-ionic-radio.mjs.map +0 -1
- package/fesm2020/ngx-formly-ionic-select.mjs +0 -135
- package/fesm2020/ngx-formly-ionic-select.mjs.map +0 -1
- package/fesm2020/ngx-formly-ionic-slider.mjs +0 -93
- package/fesm2020/ngx-formly-ionic-slider.mjs.map +0 -1
- package/fesm2020/ngx-formly-ionic-textarea.mjs +0 -95
- package/fesm2020/ngx-formly-ionic-textarea.mjs.map +0 -1
- package/fesm2020/ngx-formly-ionic-toggle.mjs +0 -83
- package/fesm2020/ngx-formly-ionic-toggle.mjs.map +0 -1
- package/fesm2020/ngx-formly-ionic.mjs +0 -63
- package/fesm2020/ngx-formly-ionic.mjs.map +0 -1
- package/form-field/package.json +0 -10
- package/input/package.json +0 -10
- package/radio/package.json +0 -10
- package/select/package.json +0 -10
- package/slider/package.json +0 -10
- package/textarea/package.json +0 -10
- package/toggle/package.json +0 -10
- /package/checkbox/{ngx-formly-ionic-checkbox.d.ts → index.d.ts} +0 -0
- /package/datetime/{ngx-formly-ionic-datetime.d.ts → index.d.ts} +0 -0
- /package/{esm2020 → esm2022}/checkbox/ngx-formly-ionic-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/datetime/ngx-formly-ionic-datetime.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/ngx-formly-ionic-form-field.mjs +0 -0
- /package/{esm2020 → esm2022}/input/ngx-formly-ionic-input.mjs +0 -0
- /package/{esm2020 → esm2022}/ngx-formly-ionic.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/ngx-formly-ionic-radio.mjs +0 -0
- /package/{esm2020 → esm2022}/select/ngx-formly-ionic-select.mjs +0 -0
- /package/{esm2020 → esm2022}/slider/ngx-formly-ionic-slider.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/ngx-formly-ionic-textarea.mjs +0 -0
- /package/{esm2020 → esm2022}/toggle/ngx-formly-ionic-toggle.mjs +0 -0
- /package/form-field/{ngx-formly-ionic-form-field.d.ts → index.d.ts} +0 -0
- /package/{ngx-formly-ionic.d.ts → index.d.ts} +0 -0
- /package/input/{ngx-formly-ionic-input.d.ts → index.d.ts} +0 -0
- /package/radio/{ngx-formly-ionic-radio.d.ts → index.d.ts} +0 -0
- /package/select/{ngx-formly-ionic-select.d.ts → index.d.ts} +0 -0
- /package/slider/{ngx-formly-ionic-slider.d.ts → index.d.ts} +0 -0
- /package/textarea/{ngx-formly-ionic-textarea.d.ts → index.d.ts} +0 -0
- /package/toggle/{ngx-formly-ionic-toggle.d.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, 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: "16.2.12", ngImport: i0, type: FormlyFieldToggle, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormlyFieldToggle, selector: "formly-field-ion-toggle", usesInheritance: true, ngImport: i0, template: `
|
|
16
|
+
<ion-toggle [formControl]="formControl" [ionFormlyAttributes]="field">
|
|
17
|
+
{{ props.label }}
|
|
18
|
+
</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", "justify", "labelPlacement", "mode", "name", "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: "16.2.12", ngImport: i0, type: FormlyFieldToggle, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{ selector: 'formly-field-ion-toggle', template: `
|
|
24
|
+
<ion-toggle [formControl]="formControl" [ionFormlyAttributes]="field">
|
|
25
|
+
{{ props.label }}
|
|
26
|
+
</ion-toggle>
|
|
27
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:inherit}\n"] }]
|
|
28
|
+
}] });
|
|
29
|
+
|
|
30
|
+
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: "16.2.12", ngImport: i0, type: FormlyToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
44
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", 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: "16.2.12", ngImport: i0, type: FormlyToggleModule, imports: [CommonModule,
|
|
49
|
+
ReactiveFormsModule,
|
|
50
|
+
IonicModule,
|
|
51
|
+
FormlyFormFieldModule,
|
|
52
|
+
FormlyModule.forChild(withFormlyFieldToggle())] }); }
|
|
53
|
+
}
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", 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
|
+
|
|
72
|
+
export { FormlyToggleModule, withFormlyFieldToggle };
|
|
73
|
+
//# 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.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})\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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,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGrC,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAV9B,QAAQ;AAAC,YAAA,IAAA,EAAA,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,CAAA;;;ACnBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
|
|
13
|
+
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: "16.2.12", ngImport: i0, type: FormlyIonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
26
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", 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: "16.2.12", ngImport: i0, type: FormlyIonicModule, imports: [FormlyFormFieldModule,
|
|
36
|
+
FormlyInputModule,
|
|
37
|
+
FormlyTextAreaModule,
|
|
38
|
+
FormlyRadioModule,
|
|
39
|
+
FormlyCheckboxModule,
|
|
40
|
+
FormlySelectModule,
|
|
41
|
+
FormlyToggleModule,
|
|
42
|
+
FormlySliderModule,
|
|
43
|
+
FormlyDatetimeModule, FormlyFormFieldModule] }); }
|
|
44
|
+
}
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", 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
|
+
|
|
71
|
+
export { FormlyIonicModule, withFormlyIonic };
|
|
72
|
+
//# 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.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 { 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() {\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":";;;;;;;;;;;;SAOgB,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,CAAC;AACJ;;MCSa,iBAAiB,CAAA;+GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;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,EAAA;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,EAAA;;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,CAAA;;;ACxBD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import * as i1 from "./form-field.wrapper";
|
|
4
3
|
import * as i2 from "./formly.attributes";
|
|
@@ -6,7 +5,6 @@ import * as i3 from "@angular/common";
|
|
|
6
5
|
import * as i4 from "@angular/forms";
|
|
7
6
|
import * as i5 from "@ionic/angular";
|
|
8
7
|
import * as i6 from "@ngx-formly/core";
|
|
9
|
-
export declare function formFieldLegacyExtension(field: FormlyFieldConfig): void;
|
|
10
8
|
export declare class FormlyFormFieldModule {
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFormFieldModule, never>;
|
|
12
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]>;
|
|
@@ -5,9 +5,8 @@ export interface FormlyFieldProps extends CoreFormlyFieldProps {
|
|
|
5
5
|
hideRequiredMarker?: boolean;
|
|
6
6
|
itemLines?: IonItem['lines'];
|
|
7
7
|
labelPosition?: IonLabel['position'];
|
|
8
|
-
legacyLabel?: boolean;
|
|
9
8
|
}
|
|
10
9
|
export declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-ion-form-field", never, {}, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-ion-form-field", never, {}, {}, never, never, false, never>;
|
|
13
12
|
}
|
|
@@ -5,5 +5,5 @@ export declare class IonFormlyAttributes extends FormlyAttributes {
|
|
|
5
5
|
field: FormlyFieldConfig;
|
|
6
6
|
constructor(renderer: Renderer2, elementRef: ElementRef, _document: any);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonFormlyAttributes, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IonFormlyAttributes, "[ionFormlyAttributes]", never, { "field": "ionFormlyAttributes"; }, {}, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IonFormlyAttributes, "[ionFormlyAttributes]", never, { "field": { "alias": "ionFormlyAttributes"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
9
|
}
|
package/input/input.type.d.ts
CHANGED
|
@@ -9,6 +9,6 @@ export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-ion-input", never, {}, {}, never, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-ion-input", never, {}, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
14
14
|
export {};
|
package/input/public_api.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function withFormlyIonic(): import("@ngx-formly/core").ConfigOption[];
|
package/lib/ui-ionic.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,103 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngx-formly/ionic",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"tslib": "^2.0.0"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@ngx-formly/core": "
|
|
10
|
-
"@ionic/angular": "^
|
|
9
|
+
"@ngx-formly/core": "7.0.0-alpha.0",
|
|
10
|
+
"@ionic/angular": "^8.0.0"
|
|
11
11
|
},
|
|
12
|
-
"module": "
|
|
13
|
-
"
|
|
14
|
-
"esm2020": "esm2020/ngx-formly-ionic.mjs",
|
|
15
|
-
"fesm2020": "fesm2020/ngx-formly-ionic.mjs",
|
|
16
|
-
"fesm2015": "fesm2015/ngx-formly-ionic.mjs",
|
|
17
|
-
"typings": "ngx-formly-ionic.d.ts",
|
|
12
|
+
"module": "fesm2022/ngx-formly-ionic.mjs",
|
|
13
|
+
"typings": "index.d.ts",
|
|
18
14
|
"exports": {
|
|
19
15
|
"./package.json": {
|
|
20
16
|
"default": "./package.json"
|
|
21
17
|
},
|
|
22
18
|
".": {
|
|
23
|
-
"types": "./
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"node": "./fesm2015/ngx-formly-ionic.mjs",
|
|
28
|
-
"default": "./fesm2020/ngx-formly-ionic.mjs"
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"esm2022": "./esm2022/ngx-formly-ionic.mjs",
|
|
21
|
+
"esm": "./esm2022/ngx-formly-ionic.mjs",
|
|
22
|
+
"default": "./fesm2022/ngx-formly-ionic.mjs"
|
|
29
23
|
},
|
|
30
24
|
"./checkbox": {
|
|
31
|
-
"types": "./checkbox/
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"node": "./fesm2015/ngx-formly-ionic-checkbox.mjs",
|
|
36
|
-
"default": "./fesm2020/ngx-formly-ionic-checkbox.mjs"
|
|
25
|
+
"types": "./checkbox/index.d.ts",
|
|
26
|
+
"esm2022": "./esm2022/checkbox/ngx-formly-ionic-checkbox.mjs",
|
|
27
|
+
"esm": "./esm2022/checkbox/ngx-formly-ionic-checkbox.mjs",
|
|
28
|
+
"default": "./fesm2022/ngx-formly-ionic-checkbox.mjs"
|
|
37
29
|
},
|
|
38
30
|
"./datetime": {
|
|
39
|
-
"types": "./datetime/
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"node": "./fesm2015/ngx-formly-ionic-datetime.mjs",
|
|
44
|
-
"default": "./fesm2020/ngx-formly-ionic-datetime.mjs"
|
|
31
|
+
"types": "./datetime/index.d.ts",
|
|
32
|
+
"esm2022": "./esm2022/datetime/ngx-formly-ionic-datetime.mjs",
|
|
33
|
+
"esm": "./esm2022/datetime/ngx-formly-ionic-datetime.mjs",
|
|
34
|
+
"default": "./fesm2022/ngx-formly-ionic-datetime.mjs"
|
|
45
35
|
},
|
|
46
36
|
"./form-field": {
|
|
47
|
-
"types": "./form-field/
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"node": "./fesm2015/ngx-formly-ionic-form-field.mjs",
|
|
52
|
-
"default": "./fesm2020/ngx-formly-ionic-form-field.mjs"
|
|
37
|
+
"types": "./form-field/index.d.ts",
|
|
38
|
+
"esm2022": "./esm2022/form-field/ngx-formly-ionic-form-field.mjs",
|
|
39
|
+
"esm": "./esm2022/form-field/ngx-formly-ionic-form-field.mjs",
|
|
40
|
+
"default": "./fesm2022/ngx-formly-ionic-form-field.mjs"
|
|
53
41
|
},
|
|
54
42
|
"./input": {
|
|
55
|
-
"types": "./input/
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"node": "./fesm2015/ngx-formly-ionic-input.mjs",
|
|
60
|
-
"default": "./fesm2020/ngx-formly-ionic-input.mjs"
|
|
43
|
+
"types": "./input/index.d.ts",
|
|
44
|
+
"esm2022": "./esm2022/input/ngx-formly-ionic-input.mjs",
|
|
45
|
+
"esm": "./esm2022/input/ngx-formly-ionic-input.mjs",
|
|
46
|
+
"default": "./fesm2022/ngx-formly-ionic-input.mjs"
|
|
61
47
|
},
|
|
62
48
|
"./radio": {
|
|
63
|
-
"types": "./radio/
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"node": "./fesm2015/ngx-formly-ionic-radio.mjs",
|
|
68
|
-
"default": "./fesm2020/ngx-formly-ionic-radio.mjs"
|
|
49
|
+
"types": "./radio/index.d.ts",
|
|
50
|
+
"esm2022": "./esm2022/radio/ngx-formly-ionic-radio.mjs",
|
|
51
|
+
"esm": "./esm2022/radio/ngx-formly-ionic-radio.mjs",
|
|
52
|
+
"default": "./fesm2022/ngx-formly-ionic-radio.mjs"
|
|
69
53
|
},
|
|
70
54
|
"./select": {
|
|
71
|
-
"types": "./select/
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"node": "./fesm2015/ngx-formly-ionic-select.mjs",
|
|
76
|
-
"default": "./fesm2020/ngx-formly-ionic-select.mjs"
|
|
55
|
+
"types": "./select/index.d.ts",
|
|
56
|
+
"esm2022": "./esm2022/select/ngx-formly-ionic-select.mjs",
|
|
57
|
+
"esm": "./esm2022/select/ngx-formly-ionic-select.mjs",
|
|
58
|
+
"default": "./fesm2022/ngx-formly-ionic-select.mjs"
|
|
77
59
|
},
|
|
78
60
|
"./slider": {
|
|
79
|
-
"types": "./slider/
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"node": "./fesm2015/ngx-formly-ionic-slider.mjs",
|
|
84
|
-
"default": "./fesm2020/ngx-formly-ionic-slider.mjs"
|
|
61
|
+
"types": "./slider/index.d.ts",
|
|
62
|
+
"esm2022": "./esm2022/slider/ngx-formly-ionic-slider.mjs",
|
|
63
|
+
"esm": "./esm2022/slider/ngx-formly-ionic-slider.mjs",
|
|
64
|
+
"default": "./fesm2022/ngx-formly-ionic-slider.mjs"
|
|
85
65
|
},
|
|
86
66
|
"./textarea": {
|
|
87
|
-
"types": "./textarea/
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"node": "./fesm2015/ngx-formly-ionic-textarea.mjs",
|
|
92
|
-
"default": "./fesm2020/ngx-formly-ionic-textarea.mjs"
|
|
67
|
+
"types": "./textarea/index.d.ts",
|
|
68
|
+
"esm2022": "./esm2022/textarea/ngx-formly-ionic-textarea.mjs",
|
|
69
|
+
"esm": "./esm2022/textarea/ngx-formly-ionic-textarea.mjs",
|
|
70
|
+
"default": "./fesm2022/ngx-formly-ionic-textarea.mjs"
|
|
93
71
|
},
|
|
94
72
|
"./toggle": {
|
|
95
|
-
"types": "./toggle/
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"node": "./fesm2015/ngx-formly-ionic-toggle.mjs",
|
|
100
|
-
"default": "./fesm2020/ngx-formly-ionic-toggle.mjs"
|
|
73
|
+
"types": "./toggle/index.d.ts",
|
|
74
|
+
"esm2022": "./esm2022/toggle/ngx-formly-ionic-toggle.mjs",
|
|
75
|
+
"esm": "./esm2022/toggle/ngx-formly-ionic-toggle.mjs",
|
|
76
|
+
"default": "./fesm2022/ngx-formly-ionic-toggle.mjs"
|
|
101
77
|
}
|
|
102
78
|
},
|
|
103
79
|
"sideEffects": false,
|
package/radio/public_api.d.ts
CHANGED
package/radio/radio.type.d.ts
CHANGED
|
@@ -2,13 +2,12 @@ import { Type } from '@angular/core';
|
|
|
2
2
|
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
3
|
import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
6
|
-
}
|
|
5
|
+
type RadioProps = FormlyFieldProps;
|
|
7
6
|
export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
|
|
8
7
|
type: 'radio' | Type<FormlyFieldRadio>;
|
|
9
8
|
}
|
|
10
9
|
export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-ion-radio", never, {}, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-ion-radio", never, {}, {}, never, never, false, never>;
|
|
13
12
|
}
|
|
14
13
|
export {};
|
package/select/public_api.d.ts
CHANGED
package/select/select.type.d.ts
CHANGED
|
@@ -20,6 +20,6 @@ export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectP
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-ion-select", never, {}, {}, never, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-ion-select", never, {}, {}, never, never, false, never>;
|
|
24
24
|
}
|
|
25
25
|
export {};
|
package/slider/public_api.d.ts
CHANGED
package/slider/slider.type.d.ts
CHANGED
|
@@ -9,6 +9,6 @@ export interface FormlySliderFieldConfig extends FormlyFieldConfig<SliderProps>
|
|
|
9
9
|
}
|
|
10
10
|
export declare class FormlyFieldSlider extends FieldType<FieldTypeConfig<SliderProps>> {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSlider, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSlider, "formly-field-ion-range", never, {}, {}, never, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSlider, "formly-field-ion-range", never, {}, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
14
14
|
export {};
|
package/textarea/public_api.d.ts
CHANGED
|
@@ -9,6 +9,6 @@ export interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaPro
|
|
|
9
9
|
}
|
|
10
10
|
export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-ion-textarea", never, {}, {}, never, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-ion-textarea", never, {}, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
14
14
|
export {};
|
package/toggle/public_api.d.ts
CHANGED
package/toggle/toggle.type.d.ts
CHANGED
|
@@ -9,6 +9,6 @@ export interface FormlyToggleFieldConfig extends FormlyFieldConfig<ToggleProps>
|
|
|
9
9
|
}
|
|
10
10
|
export declare class FormlyFieldToggle extends FieldType<FieldTypeConfig<ToggleProps>> {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldToggle, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldToggle, "formly-field-ion-toggle", never, {}, {}, never, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldToggle, "formly-field-ion-toggle", never, {}, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
14
14
|
export {};
|
package/checkbox/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/ngx-formly-ionic-checkbox.mjs",
|
|
3
|
-
"es2020": "../fesm2020/ngx-formly-ionic-checkbox.mjs",
|
|
4
|
-
"esm2020": "../esm2020/checkbox/ngx-formly-ionic-checkbox.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/ngx-formly-ionic-checkbox.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/ngx-formly-ionic-checkbox.mjs",
|
|
7
|
-
"typings": "ngx-formly-ionic-checkbox.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@ngx-formly/ionic/checkbox"
|
|
10
|
-
}
|
package/datetime/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/ngx-formly-ionic-datetime.mjs",
|
|
3
|
-
"es2020": "../fesm2020/ngx-formly-ionic-datetime.mjs",
|
|
4
|
-
"esm2020": "../esm2020/datetime/ngx-formly-ionic-datetime.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/ngx-formly-ionic-datetime.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/ngx-formly-ionic-datetime.mjs",
|
|
7
|
-
"typings": "ngx-formly-ionic-datetime.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@ngx-formly/ionic/datetime"
|
|
10
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormlyModule } from '@ngx-formly/core';
|
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { IonicModule } from '@ionic/angular';
|
|
6
|
-
import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
|
|
7
|
-
import { FormlyFieldCheckbox } from './checkbox.type';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@ngx-formly/core";
|
|
10
|
-
export class FormlyCheckboxModule {
|
|
11
|
-
}
|
|
12
|
-
FormlyCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
-
FormlyCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
|
|
14
|
-
ReactiveFormsModule,
|
|
15
|
-
IonicModule,
|
|
16
|
-
FormlyFormFieldModule, i1.FormlyModule] });
|
|
17
|
-
FormlyCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyCheckboxModule, imports: [[
|
|
18
|
-
CommonModule,
|
|
19
|
-
ReactiveFormsModule,
|
|
20
|
-
IonicModule,
|
|
21
|
-
FormlyFormFieldModule,
|
|
22
|
-
FormlyModule.forChild({
|
|
23
|
-
types: [
|
|
24
|
-
{
|
|
25
|
-
name: 'checkbox',
|
|
26
|
-
component: FormlyFieldCheckbox,
|
|
27
|
-
wrappers: ['form-field'],
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
name: 'boolean',
|
|
31
|
-
extends: 'checkbox',
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
}),
|
|
35
|
-
]] });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyCheckboxModule, decorators: [{
|
|
37
|
-
type: NgModule,
|
|
38
|
-
args: [{
|
|
39
|
-
declarations: [FormlyFieldCheckbox],
|
|
40
|
-
imports: [
|
|
41
|
-
CommonModule,
|
|
42
|
-
ReactiveFormsModule,
|
|
43
|
-
IonicModule,
|
|
44
|
-
FormlyFormFieldModule,
|
|
45
|
-
FormlyModule.forChild({
|
|
46
|
-
types: [
|
|
47
|
-
{
|
|
48
|
-
name: 'checkbox',
|
|
49
|
-
component: FormlyFieldCheckbox,
|
|
50
|
-
wrappers: ['form-field'],
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
name: 'boolean',
|
|
54
|
-
extends: 'checkbox',
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
}),
|
|
58
|
-
],
|
|
59
|
-
}]
|
|
60
|
-
}] });
|
|
61
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL3VpL2lvbmljL2NoZWNrYm94L3NyYy9jaGVja2JveC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUVyRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7O0FBd0J0RCxNQUFNLE9BQU8sb0JBQW9COztrSEFBcEIsb0JBQW9CO21IQUFwQixvQkFBb0IsaUJBckJoQixt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