@ng-forge/dynamic-forms-ionic 0.6.1 → 0.8.0-next.1
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.8.0-next.1",
|
|
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",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@angular/core": "~21.2.0",
|
|
34
34
|
"@angular/forms": "~21.2.0",
|
|
35
35
|
"@ionic/angular": ">=7.0.0",
|
|
36
|
-
"@ng-forge/dynamic-forms": "~0.
|
|
36
|
+
"@ng-forge/dynamic-forms": "~0.8.0-next.1",
|
|
37
37
|
"rxjs": ">=7.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
@@ -51,4 +51,4 @@
|
|
|
51
51
|
"default": "./fesm2022/ng-forge-dynamic-forms-ionic.mjs"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
}
|
|
54
|
+
}
|
|
@@ -378,7 +378,6 @@ interface IonicSelectProps extends SelectProps {
|
|
|
378
378
|
interfaceOptions?: unknown;
|
|
379
379
|
cancelText?: string;
|
|
380
380
|
okText?: string;
|
|
381
|
-
placeholder?: DynamicText;
|
|
382
381
|
fill?: 'solid' | 'outline';
|
|
383
382
|
shape?: 'round';
|
|
384
383
|
labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked' | 'floating';
|
|
@@ -746,11 +745,14 @@ declare module '@ng-forge/dynamic-forms' {
|
|
|
746
745
|
}
|
|
747
746
|
|
|
748
747
|
/**
|
|
749
|
-
* Field type definitions
|
|
748
|
+
* Field type definitions for Ionic components.
|
|
750
749
|
*/
|
|
751
|
-
type
|
|
752
|
-
|
|
750
|
+
type IonicFieldTypes = FieldTypeDefinition[];
|
|
751
|
+
type IonicConfigFeature = {
|
|
752
|
+
ɵkind: 'ionic-config';
|
|
753
|
+
ɵproviders: Provider[];
|
|
753
754
|
};
|
|
755
|
+
type IonicFieldsWithConfig = [...IonicFieldTypes, IonicConfigFeature];
|
|
754
756
|
/**
|
|
755
757
|
* Configure dynamic forms with Ionic field types.
|
|
756
758
|
* Provides all Ionic field types for use with provideDynamicForm.
|
|
@@ -786,30 +788,11 @@ type FieldTypeDefinitionsWithConfig = FieldTypeDefinition[] & {
|
|
|
786
788
|
* };
|
|
787
789
|
* ```
|
|
788
790
|
*
|
|
789
|
-
* @returns Array of field type definitions
|
|
791
|
+
* @returns Array of field type definitions and optionally a config feature
|
|
790
792
|
*/
|
|
791
|
-
declare function withIonicFields(
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
* with Ionic field types
|
|
795
|
-
*/
|
|
796
|
-
declare module '@ng-forge/dynamic-forms' {
|
|
797
|
-
interface DynamicFormFieldRegistry {
|
|
798
|
-
input: IonicInputField;
|
|
799
|
-
select: IonicSelectField<any>;
|
|
800
|
-
checkbox: IonicCheckboxField;
|
|
801
|
-
button: IonicButtonField<any>;
|
|
802
|
-
submit: IonicSubmitButtonField;
|
|
803
|
-
next: IonicNextButtonField;
|
|
804
|
-
previous: IonicPreviousButtonField;
|
|
805
|
-
textarea: IonicTextareaField;
|
|
806
|
-
radio: IonicRadioField<any>;
|
|
807
|
-
'multi-checkbox': IonicMultiCheckboxField<any>;
|
|
808
|
-
datepicker: IonicDatepickerField;
|
|
809
|
-
slider: IonicSliderField;
|
|
810
|
-
toggle: IonicToggleField;
|
|
811
|
-
}
|
|
812
|
-
}
|
|
793
|
+
declare function withIonicFields(): IonicFieldTypes;
|
|
794
|
+
declare function withIonicFields(config: IonicConfig): IonicFieldsWithConfig;
|
|
795
|
+
declare function withIonicFields(config: IonicConfig | undefined): IonicFieldTypes | IonicFieldsWithConfig;
|
|
813
796
|
|
|
814
797
|
export { IONIC_CONFIG, IONIC_FIELD_TYPES, IonicButtonFieldComponent, IonicCheckboxFieldComponent, IonicDatepickerFieldComponent, IonicField, IonicInputFieldComponent, IonicMultiCheckboxFieldComponent, IonicRadioFieldComponent, IonicSelectFieldComponent, IonicSliderFieldComponent, IonicTextareaFieldComponent, IonicToggleFieldComponent, withIonicFields };
|
|
815
798
|
export type { AddArrayItemButtonField, InsertArrayItemButtonField, IonicButtonField, IonicButtonProps, IonicCheckboxComponent, IonicCheckboxField, IonicCheckboxProps, IonicConfig, IonicDatepickerComponent, IonicDatepickerField, IonicDatepickerProps, IonicFieldType, IonicFormConfig, IonicFormProps, IonicInputComponent, IonicInputField, IonicInputProps, IonicMultiCheckboxComponent, IonicMultiCheckboxField, IonicMultiCheckboxProps, IonicNextButtonField, IonicPreviousButtonField, IonicRadioComponent, IonicRadioField, IonicRadioProps, IonicSelectComponent, IonicSelectField, IonicSelectProps, IonicSliderComponent, IonicSliderField, IonicSliderProps, IonicSubmitButtonField, IonicTextareaComponent, IonicTextareaField, IonicTextareaProps, IonicToggleComponent, IonicToggleField, IonicToggleProps, PopArrayItemButtonField, PrependArrayItemButtonField, RemoveArrayItemButtonField, ShiftArrayItemButtonField };
|