@ngx-formly/nativescript 6.0.0-next.9 → 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 +11 -3
- package/checkbox/public_api.d.ts +1 -0
- package/esm2020/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/checkbox/checkbox.type.mjs +7 -7
- package/esm2020/checkbox/public_api.mjs +1 -1
- package/esm2020/form-field/form-field.module.mjs +5 -5
- package/esm2020/form-field/form-field.wrapper.mjs +6 -6
- package/esm2020/form-field/public_api.mjs +1 -1
- package/esm2020/lib/ui-nativescript.module.mjs +12 -27
- package/esm2020/radio/public_api.mjs +1 -1
- package/esm2020/radio/radio.module.mjs +5 -5
- package/esm2020/radio/radio.type.mjs +7 -7
- package/esm2020/select/public_api.mjs +1 -1
- package/esm2020/select/select.module.mjs +5 -5
- package/esm2020/select/select.type.mjs +9 -9
- package/esm2020/text-field/public_api.mjs +1 -1
- package/esm2020/text-field/text-field.module.mjs +13 -13
- package/esm2020/text-field/text-field.type.mjs +13 -13
- package/esm2020/textarea/public_api.mjs +5 -2
- package/esm2020/textarea/textarea.module.mjs +10 -10
- package/esm2020/textarea/textarea.type.mjs +11 -11
- package/fesm2015/ngx-formly-nativescript-checkbox.mjs +10 -10
- package/fesm2015/ngx-formly-nativescript-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-nativescript-form-field.mjs +9 -9
- package/fesm2015/ngx-formly-nativescript-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-nativescript-radio.mjs +10 -10
- package/fesm2015/ngx-formly-nativescript-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-nativescript-select.mjs +12 -12
- package/fesm2015/ngx-formly-nativescript-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-nativescript-text-field.mjs +23 -23
- package/fesm2015/ngx-formly-nativescript-text-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-nativescript-textarea.mjs +22 -19
- package/fesm2015/ngx-formly-nativescript-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-nativescript.mjs +10 -26
- package/fesm2015/ngx-formly-nativescript.mjs.map +1 -1
- package/fesm2020/ngx-formly-nativescript-checkbox.mjs +10 -10
- package/fesm2020/ngx-formly-nativescript-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-nativescript-form-field.mjs +9 -9
- package/fesm2020/ngx-formly-nativescript-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-nativescript-radio.mjs +10 -10
- package/fesm2020/ngx-formly-nativescript-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-nativescript-select.mjs +12 -12
- package/fesm2020/ngx-formly-nativescript-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-nativescript-text-field.mjs +23 -23
- package/fesm2020/ngx-formly-nativescript-text-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-nativescript-textarea.mjs +22 -19
- package/fesm2020/ngx-formly-nativescript-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-nativescript.mjs +10 -26
- package/fesm2020/ngx-formly-nativescript.mjs.map +1 -1
- package/form-field/form-field.wrapper.d.ts +5 -2
- package/form-field/public_api.d.ts +1 -0
- package/lib/ui-nativescript.module.d.ts +0 -10
- package/package.json +2 -2
- package/radio/public_api.d.ts +1 -0
- package/radio/radio.type.d.ts +10 -2
- package/select/public_api.d.ts +1 -0
- package/select/select.type.d.ts +11 -2
- package/text-field/public_api.d.ts +1 -0
- package/text-field/text-field.module.d.ts +1 -1
- package/text-field/text-field.type.d.ts +16 -4
- package/textarea/public_api.d.ts +5 -1
- package/textarea/textarea.module.d.ts +4 -4
- package/textarea/textarea.type.d.ts +15 -4
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngx-formly/nativescript",
|
|
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-
|
|
9
|
+
"@ngx-formly/core": "6.0.0-rc.0",
|
|
10
10
|
"@nativescript/angular": ">=13.0.0",
|
|
11
11
|
"@nativescript/core": ">=8.1.0"
|
|
12
12
|
},
|
package/radio/public_api.d.ts
CHANGED
package/radio/radio.type.d.ts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
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>> {
|
|
4
11
|
tap(id: any): void;
|
|
5
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
|
6
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-ns-radio", never, {}, {}, never, never>;
|
|
7
14
|
}
|
|
15
|
+
export {};
|
package/select/public_api.d.ts
CHANGED
package/select/select.type.d.ts
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/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
|
+
}
|
|
8
|
+
export interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
|
|
9
|
+
type: 'select' | Type<FormlyFieldSelect>;
|
|
10
|
+
}
|
|
11
|
+
export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
|
|
4
12
|
tap(options: any[]): void;
|
|
5
13
|
selectedItem(options: any[]): any;
|
|
6
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
|
|
7
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-ns-select", never, {}, {}, never, never>;
|
|
8
16
|
}
|
|
17
|
+
export {};
|
|
@@ -7,6 +7,6 @@ import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
|
7
7
|
import * as i6 from "@ngx-formly/core";
|
|
8
8
|
export declare class FormlyNsTextFieldModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsTextFieldModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsTextFieldModule, [typeof i1.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsTextFieldModule, [typeof i1.FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlyModule], never>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsTextFieldModule>;
|
|
12
12
|
}
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
interface InputProps extends FormlyFieldProps {
|
|
6
|
+
autocorrect?: boolean;
|
|
7
|
+
secure?: boolean;
|
|
8
|
+
hint?: string;
|
|
9
|
+
keyboardType?: any;
|
|
6
10
|
}
|
|
11
|
+
export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
|
12
|
+
type: 'input' | Type<FormlyFieldInput>;
|
|
13
|
+
}
|
|
14
|
+
export declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-ns-input", never, {}, {}, never, never>;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
package/textarea/public_api.d.ts
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { FormlyNsTextAreaFieldModule } from './textarea.module';
|
|
2
|
+
export { FormlyTextAreaFieldConfig } from './textarea.type';
|
|
3
|
+
/** @deprecated use FormlyFieldDatePicker */
|
|
4
|
+
declare const FormlyNsTextareaFieldModule: typeof FormlyNsTextAreaFieldModule;
|
|
5
|
+
export { FormlyNsTextAreaFieldModule, FormlyNsTextareaFieldModule };
|
|
@@ -5,8 +5,8 @@ import * as i3 from "@angular/forms";
|
|
|
5
5
|
import * as i4 from "@nativescript/angular";
|
|
6
6
|
import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
7
7
|
import * as i6 from "@ngx-formly/core";
|
|
8
|
-
export declare class
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
8
|
+
export declare class FormlyNsTextAreaFieldModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsTextAreaFieldModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsTextAreaFieldModule, [typeof i1.FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlyModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsTextAreaFieldModule>;
|
|
12
12
|
}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
interface TextAreaProps extends FormlyFieldProps {
|
|
6
|
+
hint?: string;
|
|
7
|
+
autocorrect?: boolean;
|
|
8
|
+
keyboardType?: any;
|
|
6
9
|
}
|
|
10
|
+
export interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
|
|
11
|
+
type: 'textarea' | Type<FormlyFieldTextArea>;
|
|
12
|
+
}
|
|
13
|
+
export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-ns-textarea", never, {}, {}, never, never>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|