@ng-forge/dynamic-forms-ionic 1.3.0-next.2 → 1.3.0-next.3
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 +0 -2
- package/fesm2022/ng-forge-dynamic-forms-ionic-ionic-field-errors-wrapper.component-bXoq9uY6.mjs +64 -0
- package/fesm2022/ng-forge-dynamic-forms-ionic-ionic-field-errors-wrapper.component-bXoq9uY6.mjs.map +1 -0
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-addon-button.mjs +129 -34
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-addon-button.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-addon-icon.mjs +118 -35
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-addon-icon.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-button.mjs +113 -33
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-button.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-checkbox.mjs +124 -24
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-checkbox.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-datepicker.mjs +374 -90
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-datepicker.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-input.mjs +262 -126
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-input.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-multi-checkbox.mjs +191 -64
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-multi-checkbox.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-radio.mjs +178 -27
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-radio.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-select.mjs +163 -27
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-select.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-slider.mjs +144 -27
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-slider.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-textarea.mjs +157 -45
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-textarea.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-toggle.mjs +386 -75
- package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-toggle.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic-shared.mjs +139 -62
- package/fesm2022/ng-forge-dynamic-forms-ionic-shared.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-ionic.mjs +238 -251
- package/fesm2022/ng-forge-dynamic-forms-ionic.mjs.map +1 -1
- package/package.json +2 -3
- package/types/ng-forge-dynamic-forms-ionic-lazy-addon-button.d.ts +28 -28
- package/types/ng-forge-dynamic-forms-ionic-lazy-addon-icon.d.ts +24 -17
- package/types/ng-forge-dynamic-forms-ionic-lazy-button.d.ts +92 -86
- package/types/ng-forge-dynamic-forms-ionic-lazy-checkbox.d.ts +24 -18
- package/types/ng-forge-dynamic-forms-ionic-lazy-datepicker.d.ts +59 -34
- package/types/ng-forge-dynamic-forms-ionic-lazy-input.d.ts +69 -57
- package/types/ng-forge-dynamic-forms-ionic-lazy-multi-checkbox.d.ts +34 -23
- package/types/ng-forge-dynamic-forms-ionic-lazy-radio.d.ts +31 -20
- package/types/ng-forge-dynamic-forms-ionic-lazy-select.d.ts +37 -26
- package/types/ng-forge-dynamic-forms-ionic-lazy-slider.d.ts +53 -38
- package/types/ng-forge-dynamic-forms-ionic-lazy-textarea.d.ts +29 -23
- package/types/ng-forge-dynamic-forms-ionic-lazy-toggle.d.ts +119 -55
- package/types/ng-forge-dynamic-forms-ionic-shared.d.ts +78 -83
- package/types/ng-forge-dynamic-forms-ionic.d.ts +243 -266
- package/fesm2022/ng-forge-dynamic-forms-ionic-ionic-field-errors-wrapper.component-CN0CagvT.mjs +0 -26
- package/fesm2022/ng-forge-dynamic-forms-ionic-ionic-field-errors-wrapper.component-CN0CagvT.mjs.map +0 -1
|
@@ -1,70 +1,82 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import * as
|
|
6
|
-
import { IonicIconAddon, IonicButtonAddon } from '@ng-forge/dynamic-forms-ionic/shared';
|
|
7
|
-
import * as _angular_core from '@angular/core';
|
|
8
|
-
|
|
1
|
+
import { DynamicText, TemplateAddon, TextAddon } from "@ng-forge/dynamic-forms";
|
|
2
|
+
import * as i1 from "@ng-forge/dynamic-forms/integration";
|
|
3
|
+
import { InputField, InputProps, WrapperFieldInputs } from "@ng-forge/dynamic-forms/integration";
|
|
4
|
+
import { IonicButtonAddon, IonicIconAddon } from "@ng-forge/dynamic-forms-ionic/shared";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
9
6
|
interface IonicInputProps extends InputProps {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
fill?: 'solid' | 'outline';
|
|
8
|
+
shape?: 'round';
|
|
9
|
+
labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked' | 'floating';
|
|
10
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
|
|
11
|
+
hint?: DynamicText;
|
|
12
|
+
errorText?: DynamicText;
|
|
13
|
+
counter?: boolean;
|
|
14
|
+
clearInput?: boolean;
|
|
18
15
|
}
|
|
19
16
|
/**
|
|
20
17
|
* Module-augmentable seam for adding custom addon types to `ion-input` at
|
|
21
18
|
* the type level. Pair with `withCustomAddon(...)` for the runtime side:
|
|
22
19
|
*/
|
|
23
|
-
interface IonicAddonExtensions {
|
|
24
|
-
}
|
|
20
|
+
interface IonicAddonExtensions {}
|
|
25
21
|
type IonicAddonExtension = IonicAddonExtensions[keyof IonicAddonExtensions];
|
|
26
22
|
/** Addon types accepted by `ion-input`. */
|
|
27
23
|
type IonicInputAddon = IonicIconAddon | IonicButtonAddon | TextAddon | TemplateAddon | IonicAddonExtension;
|
|
28
24
|
type IonicInputField = InputField<IonicInputProps> & {
|
|
29
|
-
|
|
25
|
+
addons?: ReadonlyArray<IonicInputAddon>;
|
|
30
26
|
};
|
|
31
|
-
|
|
32
27
|
declare class IonicInputFieldComponent {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
28
|
+
private readonly elementRef;
|
|
29
|
+
private ionicConfig;
|
|
30
|
+
protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<string>;
|
|
31
|
+
protected readonly ngfa: import("@ng-forge/dynamic-forms/integration").TypedNgForgeAddons<IonicInputAddon>;
|
|
32
|
+
readonly props: import("@angular/core").InputSignal<IonicInputProps | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Wrapper-style host bag pushed by `DfFieldOutlet`. Declared at the
|
|
35
|
+
* component level so `setInputIfDeclared` (which uses
|
|
36
|
+
* `reflectComponentType`) can write it.
|
|
37
|
+
*/
|
|
38
|
+
readonly fieldInputs: import("@angular/core").InputSignal<WrapperFieldInputs | undefined>;
|
|
39
|
+
/** Per-instance type override populated by `toggle-password-visibility` preset. */
|
|
40
|
+
private readonly typeOverride;
|
|
41
|
+
protected readonly fill: import("@angular/core").Signal<"solid" | "outline">;
|
|
42
|
+
protected readonly shape: import("@angular/core").Signal<"round" | undefined>;
|
|
43
|
+
/** Bootstrap / PrimeNG. Consumers can opt into Ionic's native inline 'start' */
|
|
44
|
+
protected readonly labelPlacement: import("@angular/core").Signal<"start" | "end" | "fixed" | "stacked" | "floating">;
|
|
45
|
+
protected readonly color: import("@angular/core").Signal<"primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "medium" | "dark" | undefined>;
|
|
46
|
+
/** Override (set by `toggle-password-visibility` preset) wins over `props().type`. */
|
|
47
|
+
protected readonly type: import("@angular/core").Signal<string>;
|
|
48
|
+
/** Per-type split: ion-button addons render inline via the attribute-
|
|
49
|
+
* selector inline component (so the slotted element is a native
|
|
50
|
+
* <ion-button> Ionic can style); everything else (icon/text/template/
|
|
51
|
+
* component types) goes through the universal <df-addon-slot> dispatcher
|
|
52
|
+
* wrapped in <span slot="start|end"> for safe shadow-DOM projection. */
|
|
53
|
+
protected readonly buttonPrefixAddons: import("@angular/core").Signal<import("@ng-forge/dynamic-forms-ionic/shared").IonicButtonAddon[]>;
|
|
54
|
+
protected readonly buttonSuffixAddons: import("@angular/core").Signal<import("@ng-forge/dynamic-forms-ionic/shared").IonicButtonAddon[]>;
|
|
55
|
+
protected readonly decorativePrefixAddons: import("@angular/core").Signal<(import("@ng-forge/dynamic-forms-ionic/shared").IonicIconAddon | import("@ng-forge/dynamic-forms").TextAddon | import("@ng-forge/dynamic-forms").TemplateAddon)[]>;
|
|
56
|
+
protected readonly decorativeSuffixAddons: import("@angular/core").Signal<(import("@ng-forge/dynamic-forms-ionic/shared").IonicIconAddon | import("@ng-forge/dynamic-forms").TextAddon | import("@ng-forge/dynamic-forms").TemplateAddon)[]>;
|
|
57
|
+
/** Set when the component is destroyed — guards async aria-describedby sync against teardown. */
|
|
58
|
+
private destroyed;
|
|
59
|
+
constructor();
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonicInputFieldComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonicInputFieldComponent, "df-ion-input", never, {
|
|
62
|
+
"props": {
|
|
63
|
+
"alias": "props";
|
|
64
|
+
"required": false;
|
|
65
|
+
"isSignal": true;
|
|
66
|
+
};
|
|
67
|
+
"fieldInputs": {
|
|
68
|
+
"alias": "fieldInputs";
|
|
69
|
+
"required": false;
|
|
70
|
+
"isSignal": true;
|
|
71
|
+
};
|
|
72
|
+
}, {}, never, never, true, [{
|
|
73
|
+
directive: typeof i1.NgForgeFieldHost;
|
|
74
|
+
inputs: {};
|
|
75
|
+
outputs: {};
|
|
76
|
+
}, {
|
|
77
|
+
directive: typeof i1.NgForgeAddons;
|
|
78
|
+
inputs: {};
|
|
79
|
+
outputs: {};
|
|
80
|
+
}]>;
|
|
67
81
|
}
|
|
68
|
-
|
|
69
|
-
export { IonicInputFieldComponent };
|
|
70
|
-
export type { IonicInputField, IonicInputProps };
|
|
82
|
+
export { type IonicInputField, IonicInputFieldComponent, type IonicInputProps };
|
|
@@ -1,28 +1,39 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as
|
|
3
|
-
import { MultiCheckboxField } from
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { DynamicText, FieldOption, ValueType } from "@ng-forge/dynamic-forms";
|
|
2
|
+
import * as i1 from "@ng-forge/dynamic-forms/integration";
|
|
3
|
+
import { MultiCheckboxField } from "@ng-forge/dynamic-forms/integration";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
6
5
|
interface IonicMultiCheckboxProps {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked';
|
|
7
|
+
justify?: 'start' | 'end' | 'space-between';
|
|
8
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
|
|
9
|
+
hint?: DynamicText;
|
|
11
10
|
}
|
|
12
11
|
type IonicMultiCheckboxField<T> = MultiCheckboxField<T, IonicMultiCheckboxProps>;
|
|
13
|
-
|
|
14
12
|
declare class IonicMultiCheckboxFieldComponent {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
13
|
+
protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<ValueType[]>;
|
|
14
|
+
readonly options: import("@angular/core").InputSignal<FieldOption<ValueType>[]>;
|
|
15
|
+
readonly props: import("@angular/core").InputSignal<IonicMultiCheckboxProps | undefined>;
|
|
16
|
+
valueViewModel: import("@angular/core").WritableSignal<FieldOption<ValueType>[]>;
|
|
17
|
+
/** Computed map of checked option values for O(1) lookup in template */
|
|
18
|
+
readonly checkedValuesMap: import("@angular/core").Signal<Record<string, boolean>>;
|
|
19
|
+
constructor();
|
|
20
|
+
onCheckboxChange(option: FieldOption<ValueType>, checked: boolean): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonicMultiCheckboxFieldComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonicMultiCheckboxFieldComponent, "df-ion-multi-checkbox", never, {
|
|
23
|
+
"options": {
|
|
24
|
+
"alias": "options";
|
|
25
|
+
"required": false;
|
|
26
|
+
"isSignal": true;
|
|
27
|
+
};
|
|
28
|
+
"props": {
|
|
29
|
+
"alias": "props";
|
|
30
|
+
"required": false;
|
|
31
|
+
"isSignal": true;
|
|
32
|
+
};
|
|
33
|
+
}, {}, never, never, true, [{
|
|
34
|
+
directive: typeof i1.NgForgeFieldHost;
|
|
35
|
+
inputs: {};
|
|
36
|
+
outputs: {};
|
|
37
|
+
}]>;
|
|
25
38
|
}
|
|
26
|
-
|
|
27
|
-
export { IonicMultiCheckboxFieldComponent };
|
|
28
|
-
export type { IonicMultiCheckboxField, IonicMultiCheckboxProps };
|
|
39
|
+
export { type IonicMultiCheckboxField, IonicMultiCheckboxFieldComponent, type IonicMultiCheckboxProps };
|
|
@@ -1,25 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
3
|
-
import { RadioField } from
|
|
4
|
-
import * as
|
|
5
|
-
|
|
1
|
+
import { DynamicText, FieldOption, ValueType } from "@ng-forge/dynamic-forms";
|
|
2
|
+
import * as i1 from "@ng-forge/dynamic-forms/integration";
|
|
3
|
+
import { RadioField } from "@ng-forge/dynamic-forms/integration";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
6
5
|
interface IonicRadioProps {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked';
|
|
7
|
+
justify?: 'start' | 'end' | 'space-between';
|
|
8
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
|
|
9
|
+
compareWith?: (o1: ValueType, o2: ValueType) => boolean;
|
|
10
|
+
hint?: DynamicText;
|
|
12
11
|
}
|
|
13
12
|
type IonicRadioField<T> = RadioField<T, IonicRadioProps>;
|
|
14
|
-
|
|
15
13
|
declare class IonicRadioFieldComponent {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<ValueType>;
|
|
15
|
+
readonly options: import("@angular/core").InputSignal<FieldOption<ValueType>[]>;
|
|
16
|
+
readonly props: import("@angular/core").InputSignal<IonicRadioProps | undefined>;
|
|
17
|
+
defaultCompare: (value1: any, value2: any) => boolean;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonicRadioFieldComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonicRadioFieldComponent, "df-ion-radio", never, {
|
|
20
|
+
"options": {
|
|
21
|
+
"alias": "options";
|
|
22
|
+
"required": false;
|
|
23
|
+
"isSignal": true;
|
|
24
|
+
};
|
|
25
|
+
"props": {
|
|
26
|
+
"alias": "props";
|
|
27
|
+
"required": false;
|
|
28
|
+
"isSignal": true;
|
|
29
|
+
};
|
|
30
|
+
}, {}, never, never, true, [{
|
|
31
|
+
directive: typeof i1.NgForgeFieldHost;
|
|
32
|
+
inputs: {};
|
|
33
|
+
outputs: {};
|
|
34
|
+
}]>;
|
|
22
35
|
}
|
|
23
|
-
|
|
24
|
-
export { IonicRadioFieldComponent };
|
|
25
|
-
export type { IonicRadioField, IonicRadioProps };
|
|
36
|
+
export { type IonicRadioField, IonicRadioFieldComponent, type IonicRadioProps };
|
|
@@ -1,31 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as
|
|
3
|
-
import { SelectField, SelectProps } from
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { DynamicText, FieldOption, ValueType } from "@ng-forge/dynamic-forms";
|
|
2
|
+
import * as i1 from "@ng-forge/dynamic-forms/integration";
|
|
3
|
+
import { SelectField, SelectProps } from "@ng-forge/dynamic-forms/integration";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
6
5
|
interface IonicSelectProps extends SelectProps {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
multiple?: boolean;
|
|
7
|
+
interface?: 'action-sheet' | 'popover' | 'alert';
|
|
8
|
+
interfaceOptions?: unknown;
|
|
9
|
+
cancelText?: string;
|
|
10
|
+
okText?: string;
|
|
11
|
+
fill?: 'solid' | 'outline';
|
|
12
|
+
shape?: 'round';
|
|
13
|
+
labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked' | 'floating';
|
|
14
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
|
|
15
|
+
compareWith?: (o1: ValueType, o2: ValueType) => boolean;
|
|
16
|
+
hint?: DynamicText;
|
|
18
17
|
}
|
|
19
18
|
type IonicSelectField<T> = SelectField<T, IonicSelectProps>;
|
|
20
|
-
|
|
21
19
|
declare class IonicSelectFieldComponent {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<ValueType>;
|
|
21
|
+
readonly options: import("@angular/core").InputSignal<FieldOption<ValueType>[]>;
|
|
22
|
+
readonly props: import("@angular/core").InputSignal<IonicSelectProps | undefined>;
|
|
23
|
+
defaultCompare: (value1: any, value2: any) => boolean;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonicSelectFieldComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonicSelectFieldComponent, "df-ion-select", never, {
|
|
26
|
+
"options": {
|
|
27
|
+
"alias": "options";
|
|
28
|
+
"required": false;
|
|
29
|
+
"isSignal": true;
|
|
30
|
+
};
|
|
31
|
+
"props": {
|
|
32
|
+
"alias": "props";
|
|
33
|
+
"required": false;
|
|
34
|
+
"isSignal": true;
|
|
35
|
+
};
|
|
36
|
+
}, {}, never, never, true, [{
|
|
37
|
+
directive: typeof i1.NgForgeFieldHost;
|
|
38
|
+
inputs: {};
|
|
39
|
+
outputs: {};
|
|
40
|
+
}]>;
|
|
28
41
|
}
|
|
29
|
-
|
|
30
|
-
export { IonicSelectFieldComponent };
|
|
31
|
-
export type { IonicSelectField, IonicSelectProps };
|
|
42
|
+
export { type IonicSelectField, IonicSelectFieldComponent, type IonicSelectProps };
|
|
@@ -1,43 +1,58 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as i1 from
|
|
3
|
-
import { SliderField } from
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { DynamicText } from "@ng-forge/dynamic-forms";
|
|
2
|
+
import * as i1 from "@ng-forge/dynamic-forms/integration";
|
|
3
|
+
import { SliderField } from "@ng-forge/dynamic-forms/integration";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
6
5
|
interface IonicSliderProps {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Adapter-level override for the slider minimum.
|
|
8
|
+
* Field-level `minValue` (or the validator `min`) takes precedence.
|
|
9
|
+
*/
|
|
10
|
+
min?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Adapter-level override for the slider maximum.
|
|
13
|
+
* Field-level `maxValue` (or the validator `max`) takes precedence.
|
|
14
|
+
*/
|
|
15
|
+
max?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Adapter-level override for the slider step increment.
|
|
18
|
+
* Field-level `step` on `SliderField` takes precedence.
|
|
19
|
+
*/
|
|
20
|
+
step?: number;
|
|
21
|
+
dualKnobs?: boolean;
|
|
22
|
+
pin?: boolean;
|
|
23
|
+
pinFormatter?: (value: number) => string | number;
|
|
24
|
+
ticks?: boolean;
|
|
25
|
+
snaps?: boolean;
|
|
26
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
|
|
27
|
+
labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked';
|
|
28
|
+
hint?: DynamicText;
|
|
30
29
|
}
|
|
31
30
|
type IonicSliderField = SliderField<IonicSliderProps>;
|
|
32
|
-
|
|
33
31
|
declare class IonicSliderFieldComponent {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<number>;
|
|
33
|
+
readonly step: import("@angular/core").InputSignal<number | undefined>;
|
|
34
|
+
readonly props: import("@angular/core").InputSignal<IonicSliderProps | undefined>;
|
|
35
|
+
protected defaultPinFormatter: (value: number) => string;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonicSliderFieldComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonicSliderFieldComponent, "df-ion-slider", never, {
|
|
38
|
+
"step": {
|
|
39
|
+
"alias": "step";
|
|
40
|
+
"required": false;
|
|
41
|
+
"isSignal": true;
|
|
42
|
+
};
|
|
43
|
+
"props": {
|
|
44
|
+
"alias": "props";
|
|
45
|
+
"required": false;
|
|
46
|
+
"isSignal": true;
|
|
47
|
+
};
|
|
48
|
+
}, {}, never, never, true, [{
|
|
49
|
+
directive: typeof i1.NgForgeFieldHost;
|
|
50
|
+
inputs: {};
|
|
51
|
+
outputs: {};
|
|
52
|
+
}, {
|
|
53
|
+
directive: typeof i1.NgForgeHostControl;
|
|
54
|
+
inputs: {};
|
|
55
|
+
outputs: {};
|
|
56
|
+
}]>;
|
|
40
57
|
}
|
|
41
|
-
|
|
42
|
-
export { IonicSliderFieldComponent };
|
|
43
|
-
export type { IonicSliderField, IonicSliderProps };
|
|
58
|
+
export { type IonicSliderField, IonicSliderFieldComponent, type IonicSliderProps };
|
|
@@ -1,28 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as
|
|
3
|
-
import { TextareaField, TextareaProps } from
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { DynamicText } from "@ng-forge/dynamic-forms";
|
|
2
|
+
import * as i1 from "@ng-forge/dynamic-forms/integration";
|
|
3
|
+
import { TextareaField, TextareaProps } from "@ng-forge/dynamic-forms/integration";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
6
5
|
interface IonicTextareaProps extends TextareaProps {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
autoGrow?: boolean;
|
|
7
|
+
counter?: boolean;
|
|
8
|
+
fill?: 'solid' | 'outline';
|
|
9
|
+
shape?: 'round';
|
|
10
|
+
labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked' | 'floating';
|
|
11
|
+
hint?: DynamicText;
|
|
12
|
+
errorText?: DynamicText;
|
|
13
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
|
|
15
14
|
}
|
|
16
15
|
type IonicTextareaField = TextareaField<IonicTextareaProps>;
|
|
17
|
-
|
|
18
16
|
declare class IonicTextareaFieldComponent {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
private readonly elementRef;
|
|
18
|
+
protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<string>;
|
|
19
|
+
readonly props: import("@angular/core").InputSignal<IonicTextareaProps | undefined>;
|
|
20
|
+
constructor();
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonicTextareaFieldComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonicTextareaFieldComponent, "df-ion-textarea", never, {
|
|
23
|
+
"props": {
|
|
24
|
+
"alias": "props";
|
|
25
|
+
"required": false;
|
|
26
|
+
"isSignal": true;
|
|
27
|
+
};
|
|
28
|
+
}, {}, never, never, true, [{
|
|
29
|
+
directive: typeof i1.NgForgeFieldHost;
|
|
30
|
+
inputs: {};
|
|
31
|
+
outputs: {};
|
|
32
|
+
}]>;
|
|
25
33
|
}
|
|
26
|
-
|
|
27
|
-
export { IonicTextareaFieldComponent };
|
|
28
|
-
export type { IonicTextareaField, IonicTextareaProps };
|
|
34
|
+
export { type IonicTextareaField, IonicTextareaFieldComponent, type IonicTextareaProps };
|