@ng-forge/dynamic-forms-ionic 0.1.2 → 0.2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-forge/dynamic-forms-ionic",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Ionic integration for @ng-forge/dynamic-forms. Pre-built Ionic form components for mobile and desktop.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"node": ">=18"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@angular/common": "
|
|
33
|
-
"@angular/core": "
|
|
34
|
-
"@angular/forms": "
|
|
32
|
+
"@angular/common": ">=21.0.6",
|
|
33
|
+
"@angular/core": ">=21.0.6",
|
|
34
|
+
"@angular/forms": ">=21.0.6",
|
|
35
35
|
"@ionic/angular": ">=7.0.0",
|
|
36
|
-
"@ng-forge/dynamic-forms": "~0.
|
|
36
|
+
"@ng-forge/dynamic-forms": "~0.2.0",
|
|
37
37
|
"rxjs": ">=7.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { FormEvent, FieldDef, LogicConfig, FieldComponent, DynamicText, FormEventConstructor, ArrayItemContext, CheckedFieldComponent, ValidationMessages, ValueFieldComponent, ValueType, FieldOption, FieldTypeDefinition } from '@ng-forge/dynamic-forms';
|
|
2
|
+
import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
|
|
3
|
+
import { ButtonField, EventArgs, CheckboxField, DatepickerField, DatepickerProps, InputField, InputProps, MultiCheckboxField, RadioField, SelectField, SelectProps, SliderField, TextareaField, TextareaProps, ToggleField } from '@ng-forge/dynamic-forms/integration';
|
|
3
4
|
import * as _angular_core from '@angular/core';
|
|
4
5
|
import { InjectionToken, Provider } from '@angular/core';
|
|
5
6
|
import { FieldTree } from '@angular/forms/signals';
|
|
@@ -127,9 +128,9 @@ declare class IonicCheckboxFieldComponent implements IonicCheckboxComponent {
|
|
|
127
128
|
readonly props: _angular_core.InputSignal<IonicCheckboxProps | undefined>;
|
|
128
129
|
readonly validationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
129
130
|
readonly defaultValidationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
130
|
-
readonly resolvedErrors: _angular_core.Signal<
|
|
131
|
+
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
131
132
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
132
|
-
readonly errorsToDisplay: _angular_core.Signal<
|
|
133
|
+
readonly errorsToDisplay: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
133
134
|
/** Base ID for error elements */
|
|
134
135
|
readonly errorId: _angular_core.Signal<string>;
|
|
135
136
|
/** Whether the field is currently in an invalid state (invalid AND touched) */
|
|
@@ -169,9 +170,9 @@ declare class IonicDatepickerFieldComponent implements IonicDatepickerComponent
|
|
|
169
170
|
readonly props: _angular_core.InputSignal<IonicDatepickerProps | undefined>;
|
|
170
171
|
readonly validationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
171
172
|
readonly defaultValidationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
172
|
-
readonly resolvedErrors: _angular_core.Signal<
|
|
173
|
+
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
173
174
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
174
|
-
readonly errorsToDisplay: _angular_core.Signal<
|
|
175
|
+
readonly errorsToDisplay: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
175
176
|
readonly isModalOpen: _angular_core.WritableSignal<boolean>;
|
|
176
177
|
/** Base ID for error elements */
|
|
177
178
|
readonly errorId: _angular_core.Signal<string>;
|
|
@@ -218,9 +219,9 @@ declare class IonicInputFieldComponent implements IonicInputComponent {
|
|
|
218
219
|
readonly effectiveShape: _angular_core.Signal<"round" | undefined>;
|
|
219
220
|
readonly effectiveLabelPlacement: _angular_core.Signal<"start" | "end" | "fixed" | "stacked" | "floating">;
|
|
220
221
|
readonly effectiveColor: _angular_core.Signal<"primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "medium" | "dark" | undefined>;
|
|
221
|
-
readonly resolvedErrors: _angular_core.Signal<
|
|
222
|
+
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
222
223
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
223
|
-
readonly errorsToDisplay: _angular_core.Signal<
|
|
224
|
+
readonly errorsToDisplay: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
224
225
|
/** Base ID for error elements */
|
|
225
226
|
readonly errorId: _angular_core.Signal<string>;
|
|
226
227
|
/** Whether the field is currently in an invalid state (invalid AND touched) */
|
|
@@ -250,9 +251,9 @@ declare class IonicMultiCheckboxFieldComponent<T extends ValueType> implements I
|
|
|
250
251
|
readonly props: _angular_core.InputSignal<IonicMultiCheckboxProps<T> | undefined>;
|
|
251
252
|
readonly validationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
252
253
|
readonly defaultValidationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
253
|
-
readonly resolvedErrors: _angular_core.Signal<
|
|
254
|
+
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
254
255
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
255
|
-
readonly errorsToDisplay: _angular_core.Signal<
|
|
256
|
+
readonly errorsToDisplay: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
256
257
|
/** Base ID for error elements */
|
|
257
258
|
readonly errorId: _angular_core.Signal<string>;
|
|
258
259
|
/** Whether the field is currently in an invalid state (invalid AND touched) */
|
|
@@ -286,9 +287,9 @@ declare class IonicRadioFieldComponent<T> implements IonicRadioComponent<T> {
|
|
|
286
287
|
readonly props: _angular_core.InputSignal<IonicRadioProps<T> | undefined>;
|
|
287
288
|
readonly validationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
288
289
|
readonly defaultValidationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
289
|
-
readonly resolvedErrors: _angular_core.Signal<
|
|
290
|
+
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
290
291
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
291
|
-
readonly errorsToDisplay: _angular_core.Signal<
|
|
292
|
+
readonly errorsToDisplay: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
292
293
|
defaultCompare: (value1: any, value2: any) => boolean;
|
|
293
294
|
/** Base ID for error elements */
|
|
294
295
|
readonly errorId: _angular_core.Signal<string>;
|
|
@@ -327,9 +328,9 @@ declare class IonicSelectFieldComponent<T> implements IonicSelectComponent<T> {
|
|
|
327
328
|
readonly props: _angular_core.InputSignal<IonicSelectProps<T> | undefined>;
|
|
328
329
|
readonly validationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
329
330
|
readonly defaultValidationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
330
|
-
readonly resolvedErrors: _angular_core.Signal<
|
|
331
|
+
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
331
332
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
332
|
-
readonly errorsToDisplay: _angular_core.Signal<
|
|
333
|
+
readonly errorsToDisplay: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
333
334
|
defaultCompare: (value1: any, value2: any) => boolean;
|
|
334
335
|
/** Base ID for error elements */
|
|
335
336
|
readonly errorId: _angular_core.Signal<string>;
|
|
@@ -366,9 +367,9 @@ declare class IonicSliderFieldComponent implements IonicSliderComponent {
|
|
|
366
367
|
readonly props: _angular_core.InputSignal<IonicSliderProps | undefined>;
|
|
367
368
|
readonly validationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
368
369
|
readonly defaultValidationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
369
|
-
readonly resolvedErrors: _angular_core.Signal<
|
|
370
|
+
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
370
371
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
371
|
-
readonly errorsToDisplay: _angular_core.Signal<
|
|
372
|
+
readonly errorsToDisplay: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
372
373
|
protected defaultPinFormatter: (value: number) => string;
|
|
373
374
|
/** Base ID for error elements */
|
|
374
375
|
readonly errorId: _angular_core.Signal<string>;
|
|
@@ -405,9 +406,9 @@ declare class IonicTextareaFieldComponent implements IonicTextareaComponent {
|
|
|
405
406
|
readonly props: _angular_core.InputSignal<IonicTextareaProps | undefined>;
|
|
406
407
|
readonly validationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
407
408
|
readonly defaultValidationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
408
|
-
readonly resolvedErrors: _angular_core.Signal<
|
|
409
|
+
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
409
410
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
410
|
-
readonly errorsToDisplay: _angular_core.Signal<
|
|
411
|
+
readonly errorsToDisplay: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
411
412
|
/** Base ID for error elements */
|
|
412
413
|
readonly errorId: _angular_core.Signal<string>;
|
|
413
414
|
/** Whether the field is currently in an invalid state (invalid AND touched) */
|
|
@@ -437,9 +438,9 @@ declare class IonicToggleFieldComponent implements IonicToggleComponent {
|
|
|
437
438
|
readonly props: _angular_core.InputSignal<IonicToggleProps | undefined>;
|
|
438
439
|
readonly validationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
439
440
|
readonly defaultValidationMessages: _angular_core.InputSignal<ValidationMessages | undefined>;
|
|
440
|
-
readonly resolvedErrors: _angular_core.Signal<
|
|
441
|
+
readonly resolvedErrors: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
441
442
|
readonly showErrors: _angular_core.Signal<boolean>;
|
|
442
|
-
readonly errorsToDisplay: _angular_core.Signal<
|
|
443
|
+
readonly errorsToDisplay: _angular_core.Signal<_ng_forge_dynamic_forms_integration.ResolvedError[]>;
|
|
443
444
|
/** Base ID for error elements */
|
|
444
445
|
readonly errorId: _angular_core.Signal<string>;
|
|
445
446
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IonicToggleFieldComponent, never>;
|