@ngx-formly/ionic 6.0.0-next.7 → 6.0.0-rc.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 +4 -3
- package/checkbox/checkbox.type.d.ts +10 -2
- package/checkbox/public_api.d.ts +1 -1
- package/datetime/datetime.type.d.ts +34 -2
- package/datetime/public_api.d.ts +1 -0
- package/esm2020/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/checkbox/checkbox.type.mjs +4 -4
- package/esm2020/checkbox/public_api.mjs +1 -1
- package/esm2020/datetime/datetime.module.mjs +5 -5
- package/esm2020/datetime/datetime.type.mjs +119 -53
- package/esm2020/datetime/public_api.mjs +1 -1
- package/esm2020/form-field/form-field.module.mjs +5 -5
- package/esm2020/form-field/form-field.wrapper.mjs +14 -15
- package/esm2020/form-field/formly.attributes.mjs +4 -15
- package/esm2020/form-field/public_api.mjs +1 -1
- package/esm2020/input/input.module.mjs +9 -9
- package/esm2020/input/input.type.mjs +8 -8
- package/esm2020/input/public_api.mjs +1 -1
- package/esm2020/lib/ui-ionic.module.mjs +5 -5
- package/esm2020/radio/public_api.mjs +1 -1
- package/esm2020/radio/radio.module.mjs +5 -5
- package/esm2020/radio/radio.type.mjs +9 -15
- package/esm2020/select/public_api.mjs +1 -1
- package/esm2020/select/select.module.mjs +5 -5
- package/esm2020/select/select.type.mjs +22 -23
- package/esm2020/slider/public_api.mjs +1 -1
- package/esm2020/slider/slider.module.mjs +5 -5
- package/esm2020/slider/slider.type.mjs +11 -11
- package/esm2020/textarea/public_api.mjs +1 -1
- package/esm2020/textarea/textarea.module.mjs +5 -5
- package/esm2020/textarea/textarea.type.mjs +6 -6
- package/esm2020/toggle/public_api.mjs +1 -1
- package/esm2020/toggle/toggle.module.mjs +5 -5
- package/esm2020/toggle/toggle.type.mjs +4 -4
- package/fesm2015/ngx-formly-ionic-checkbox.mjs +7 -7
- package/fesm2015/ngx-formly-ionic-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-ionic-datetime.mjs +124 -57
- package/fesm2015/ngx-formly-ionic-datetime.mjs.map +1 -1
- package/fesm2015/ngx-formly-ionic-form-field.mjs +20 -32
- package/fesm2015/ngx-formly-ionic-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-ionic-input.mjs +15 -15
- package/fesm2015/ngx-formly-ionic-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-ionic-radio.mjs +12 -18
- package/fesm2015/ngx-formly-ionic-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-ionic-select.mjs +25 -26
- package/fesm2015/ngx-formly-ionic-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-ionic-slider.mjs +14 -14
- package/fesm2015/ngx-formly-ionic-slider.mjs.map +1 -1
- package/fesm2015/ngx-formly-ionic-textarea.mjs +9 -9
- package/fesm2015/ngx-formly-ionic-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-ionic-toggle.mjs +7 -7
- package/fesm2015/ngx-formly-ionic-toggle.mjs.map +1 -1
- package/fesm2015/ngx-formly-ionic.mjs +4 -4
- package/fesm2015/ngx-formly-ionic.mjs.map +1 -1
- package/fesm2020/ngx-formly-ionic-checkbox.mjs +7 -7
- package/fesm2020/ngx-formly-ionic-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-ionic-datetime.mjs +122 -57
- package/fesm2020/ngx-formly-ionic-datetime.mjs.map +1 -1
- package/fesm2020/ngx-formly-ionic-form-field.mjs +20 -32
- package/fesm2020/ngx-formly-ionic-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-ionic-input.mjs +15 -15
- package/fesm2020/ngx-formly-ionic-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-ionic-radio.mjs +12 -18
- package/fesm2020/ngx-formly-ionic-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-ionic-select.mjs +25 -26
- package/fesm2020/ngx-formly-ionic-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-ionic-slider.mjs +14 -14
- package/fesm2020/ngx-formly-ionic-slider.mjs.map +1 -1
- package/fesm2020/ngx-formly-ionic-textarea.mjs +9 -9
- package/fesm2020/ngx-formly-ionic-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-ionic-toggle.mjs +7 -7
- package/fesm2020/ngx-formly-ionic-toggle.mjs.map +1 -1
- package/fesm2020/ngx-formly-ionic.mjs +4 -4
- package/fesm2020/ngx-formly-ionic.mjs.map +1 -1
- package/form-field/form-field.wrapper.d.ts +8 -2
- package/form-field/formly.attributes.d.ts +0 -1
- package/form-field/public_api.d.ts +1 -0
- package/input/input.type.d.ts +10 -2
- package/input/public_api.d.ts +1 -1
- package/package.json +3 -3
- package/radio/public_api.d.ts +1 -1
- package/radio/radio.type.d.ts +10 -7
- package/select/public_api.d.ts +1 -1
- package/select/select.type.d.ts +17 -4
- package/slider/public_api.d.ts +1 -0
- package/slider/slider.type.d.ts +10 -2
- package/textarea/public_api.d.ts +1 -1
- package/textarea/textarea.type.d.ts +10 -2
- package/toggle/public_api.d.ts +1 -0
- package/toggle/toggle.type.d.ts +10 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-ionic-toggle.mjs","sources":["../../../../src/ui/ionic/toggle/src/toggle.type.ts","../../../../src/ui/ionic/toggle/src/toggle.module.ts","../../../../src/ui/ionic/toggle/src/ngx-formly-ionic-toggle.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } 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<FieldTypeConfig
|
|
1
|
+
{"version":3,"file":"ngx-formly-ionic-toggle.mjs","sources":["../../../../src/ui/ionic/toggle/src/toggle.type.ts","../../../../src/ui/ionic/toggle/src/toggle.module.ts","../../../../src/ui/ionic/toggle/src/ngx-formly-ionic-toggle.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/ionic/form-field';\n\ninterface ToggleProps extends FormlyFieldProps {}\n\nexport interface FormlyToggleFieldConfig extends FormlyFieldConfig<ToggleProps> {\n type: 'toggle' | Type<FormlyFieldToggle>;\n}\n\n@Component({\n selector: 'formly-field-ion-toggle',\n template: ` <ion-toggle [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\"> </ion-toggle> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldToggle extends FieldType<FieldTypeConfig<ToggleProps>> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { IonicModule } from '@ionic/angular';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldToggle } from './toggle.type';\n\n@NgModule({\n declarations: [FormlyFieldToggle],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'toggle',\n component: FormlyFieldToggle,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyToggleModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAeM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;;+GAAjE,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAA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areFactory({ minVersion: "12.0.0", version: "13.
|
|
16
|
-
FormlyIonicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
15
|
+
FormlyIonicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyIonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
|
+
FormlyIonicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyIonicModule, imports: [FormlyFormFieldModule,
|
|
17
17
|
FormlyInputModule,
|
|
18
18
|
FormlyTextAreaModule,
|
|
19
19
|
FormlyRadioModule,
|
|
@@ -22,7 +22,7 @@ FormlyIonicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
22
22
|
FormlyToggleModule,
|
|
23
23
|
FormlySliderModule,
|
|
24
24
|
FormlyDatetimeModule], exports: [FormlyFormFieldModule] });
|
|
25
|
-
FormlyIonicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
25
|
+
FormlyIonicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyIonicModule, imports: [[
|
|
26
26
|
FormlyFormFieldModule,
|
|
27
27
|
FormlyInputModule,
|
|
28
28
|
FormlyTextAreaModule,
|
|
@@ -33,7 +33,7 @@ FormlyIonicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
33
33
|
FormlySliderModule,
|
|
34
34
|
FormlyDatetimeModule,
|
|
35
35
|
], FormlyFormFieldModule] });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyIonicModule, decorators: [{
|
|
37
37
|
type: NgModule,
|
|
38
38
|
args: [{
|
|
39
39
|
imports: [
|
|
@@ -1 +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
|
|
1
|
+
{"version":3,"file":"ngx-formly-ionic.mjs","sources":["../../../../src/ui/ionic/src/lib/ui-ionic.module.ts","../../../../src/ui/ionic/src/public_api.ts","../../../../src/ui/ionic/src/ngx-formly-ionic.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\nimport { FormlyInputModule } from '@ngx-formly/ionic/input';\nimport { FormlyTextAreaModule } from '@ngx-formly/ionic/textarea';\nimport { FormlyRadioModule } from '@ngx-formly/ionic/radio';\nimport { FormlyCheckboxModule } from '@ngx-formly/ionic/checkbox';\nimport { FormlySelectModule } from '@ngx-formly/ionic/select';\nimport { FormlyToggleModule } from '@ngx-formly/ionic/toggle';\nimport { FormlySliderModule } from '@ngx-formly/ionic/slider';\nimport { FormlyDatetimeModule } from '@ngx-formly/ionic/datetime';\n\n@NgModule({\n imports: [\n FormlyFormFieldModule,\n FormlyInputModule,\n FormlyTextAreaModule,\n FormlyRadioModule,\n FormlyCheckboxModule,\n FormlySelectModule,\n FormlyToggleModule,\n FormlySliderModule,\n FormlyDatetimeModule,\n ],\n exports: [FormlyFormFieldModule],\n})\nexport class FormlyIonicModule {}\n","/*\n * Public API Surface of ionic\n */\n\nexport * from './lib/ui-ionic';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;MAyBa,iBAAiB,CAAA;;+GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAZ1B,qBAAqB;QACrB,iBAAiB;QACjB,oBAAoB;QACpB,iBAAiB;QACjB,oBAAoB;QACpB,kBAAkB;QAClB,kBAAkB;QAClB,kBAAkB;AAClB,QAAA,oBAAoB,aAEZ,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAEpB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EAbnB,OAAA,EAAA,CAAA;YACP,qBAAqB;YACrB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,kBAAkB;YAClB,kBAAkB;YAClB,kBAAkB;YAClB,oBAAoB;AACrB,SAAA,EACS,qBAAqB,CAAA,EAAA,CAAA,CAAA;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,6 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IonItem, IonLabel } from '@ionic/angular';
|
|
2
|
+
import { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export
|
|
4
|
+
export interface FormlyFieldProps extends CoreFormlyFieldProps {
|
|
5
|
+
hideRequiredMarker?: boolean;
|
|
6
|
+
itemLines?: IonItem['lines'];
|
|
7
|
+
labelPosition?: IonLabel['position'];
|
|
8
|
+
}
|
|
9
|
+
export declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
|
|
4
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
5
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-ion-form-field", never, {}, {}, never, never>;
|
|
6
12
|
}
|
|
@@ -2,7 +2,6 @@ import { ɵFormlyAttributes as FormlyAttributes, FormlyFieldConfig } from '@ngx-
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class IonFormlyAttributes extends FormlyAttributes {
|
|
4
4
|
field: FormlyFieldConfig;
|
|
5
|
-
focusElement(element: any, value: boolean): void;
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonFormlyAttributes, never>;
|
|
7
6
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IonFormlyAttributes, "[ionFormlyAttributes]", never, { "field": "ionFormlyAttributes"; }, {}, never>;
|
|
8
7
|
}
|
package/input/input.type.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
5
|
+
interface InputProps extends FormlyFieldProps {
|
|
6
|
+
}
|
|
7
|
+
export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
|
8
|
+
type: 'input' | Type<FormlyFieldInput>;
|
|
9
|
+
}
|
|
10
|
+
export declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
|
|
4
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
|
5
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-ion-input", never, {}, {}, never, never>;
|
|
6
13
|
}
|
|
14
|
+
export {};
|
package/input/public_api.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { FormlyInputModule } from './input.module';
|
|
2
|
-
export { FormlyFieldInput } from './input.type';
|
|
2
|
+
export { FormlyFieldInput, FormlyInputFieldConfig } from './input.type';
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngx-formly/ionic",
|
|
3
|
-
"version": "6.0.0-
|
|
3
|
+
"version": "6.0.0-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"tslib": "^2.0.0"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@ngx-formly/core": "6.0.0-
|
|
10
|
-
"@ionic/angular": "^
|
|
9
|
+
"@ngx-formly/core": "6.0.0-rc.0",
|
|
10
|
+
"@ionic/angular": "^6.0.0"
|
|
11
11
|
},
|
|
12
12
|
"module": "fesm2015/ngx-formly-ionic.mjs",
|
|
13
13
|
"es2020": "fesm2020/ngx-formly-ionic.mjs",
|
package/radio/public_api.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { FormlyRadioModule } from './radio.module';
|
|
2
|
-
export { FormlyFieldRadio } from './radio.type';
|
|
2
|
+
export { FormlyFieldRadio, FormlyRadioFieldConfig } from './radio.type';
|
package/radio/radio.type.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
interface RadioProps extends FormlyFieldProps {
|
|
6
|
+
}
|
|
7
|
+
export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
|
|
8
|
+
type: 'radio' | Type<FormlyFieldRadio>;
|
|
9
|
+
}
|
|
10
|
+
export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
|
10
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-ion-radio", never, {}, {}, never, never>;
|
|
11
13
|
}
|
|
14
|
+
export {};
|
package/select/public_api.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { FormlySelectModule } from './select.module';
|
|
2
|
-
export { FormlyFieldSelect } from './select.type';
|
|
2
|
+
export { FormlyFieldSelect, FormlySelectFieldConfig } from './select.type';
|
package/select/select.type.d.ts
CHANGED
|
@@ -1,12 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
|
|
4
|
+
import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
|
|
2
5
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
6
|
+
interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
|
7
|
+
compareWith?: ((currentValue: any, compareValue: any) => boolean) | null | string | undefined;
|
|
8
|
+
multiple?: boolean;
|
|
9
|
+
interface?: 'action-sheet' | 'alert' | 'popover';
|
|
10
|
+
okText?: string;
|
|
11
|
+
cancelText?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
|
|
14
|
+
type: 'select' | Type<FormlyFieldSelect>;
|
|
15
|
+
}
|
|
16
|
+
export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
|
|
4
17
|
defaultOptions: {
|
|
5
|
-
|
|
6
|
-
options: any[];
|
|
18
|
+
props: {
|
|
7
19
|
compareWith(o1: any, o2: any): boolean;
|
|
8
20
|
};
|
|
9
21
|
};
|
|
10
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
|
|
11
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-ion-select", never, {}, {}, never, never>;
|
|
12
24
|
}
|
|
25
|
+
export {};
|
package/slider/public_api.d.ts
CHANGED
package/slider/slider.type.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
5
|
+
interface SliderProps extends FormlyFieldProps {
|
|
6
|
+
}
|
|
7
|
+
export interface FormlySliderFieldConfig extends FormlyFieldConfig<SliderProps> {
|
|
8
|
+
type: 'slider' | Type<FormlyFieldSlider>;
|
|
9
|
+
}
|
|
10
|
+
export declare class FormlyFieldSlider extends FieldType<FieldTypeConfig<SliderProps>> {
|
|
4
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSlider, never>;
|
|
5
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSlider, "formly-field-ion-range", never, {}, {}, never, never>;
|
|
6
13
|
}
|
|
14
|
+
export {};
|
package/textarea/public_api.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { FormlyTextAreaModule } from './textarea.module';
|
|
2
|
-
export { FormlyFieldTextArea } from './textarea.type';
|
|
2
|
+
export { FormlyFieldTextArea, FormlyTextAreaFieldConfig } from './textarea.type';
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
5
|
+
interface TextAreaProps extends FormlyFieldProps {
|
|
6
|
+
}
|
|
7
|
+
export interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
|
|
8
|
+
type: 'textarea' | Type<FormlyFieldTextArea>;
|
|
9
|
+
}
|
|
10
|
+
export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
|
|
4
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
|
|
5
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-ion-textarea", never, {}, {}, never, never>;
|
|
6
13
|
}
|
|
14
|
+
export {};
|
package/toggle/public_api.d.ts
CHANGED
package/toggle/toggle.type.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
5
|
+
interface ToggleProps extends FormlyFieldProps {
|
|
6
|
+
}
|
|
7
|
+
export interface FormlyToggleFieldConfig extends FormlyFieldConfig<ToggleProps> {
|
|
8
|
+
type: 'toggle' | Type<FormlyFieldToggle>;
|
|
9
|
+
}
|
|
10
|
+
export declare class FormlyFieldToggle extends FieldType<FieldTypeConfig<ToggleProps>> {
|
|
4
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldToggle, never>;
|
|
5
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldToggle, "formly-field-ion-toggle", never, {}, {}, never, never>;
|
|
6
13
|
}
|
|
14
|
+
export {};
|