@ng-forge/dynamic-forms-bootstrap 0.7.0 → 0.8.0-next.2
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-bootstrap",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0-next.2",
|
|
4
4
|
"description": "Bootstrap 5 integration for @ng-forge/dynamic-forms. Pre-built Bootstrap form components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@angular/common": "~21.2.0",
|
|
32
32
|
"@angular/core": "~21.2.0",
|
|
33
33
|
"@angular/forms": "~21.2.0",
|
|
34
|
-
"@ng-forge/dynamic-forms": "~0.
|
|
34
|
+
"@ng-forge/dynamic-forms": "~0.8.0-next.2",
|
|
35
35
|
"rxjs": ">=7.0.0"
|
|
36
36
|
},
|
|
37
37
|
"module": "fesm2022/ng-forge-dynamic-forms-bootstrap.mjs",
|
|
@@ -48,4 +48,4 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"tslib": "^2.3.0"
|
|
50
50
|
}
|
|
51
|
-
}
|
|
51
|
+
}
|
|
@@ -709,11 +709,14 @@ declare module '@ng-forge/dynamic-forms' {
|
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
/**
|
|
712
|
-
* Field type definitions
|
|
712
|
+
* Field type definitions for Bootstrap components.
|
|
713
713
|
*/
|
|
714
|
-
type
|
|
715
|
-
|
|
714
|
+
type BootstrapFieldTypes = FieldTypeDefinition[];
|
|
715
|
+
type BootstrapConfigFeature = {
|
|
716
|
+
ɵkind: 'bootstrap-config';
|
|
717
|
+
ɵproviders: Provider[];
|
|
716
718
|
};
|
|
719
|
+
type BootstrapFieldsWithConfig = [...BootstrapFieldTypes, BootstrapConfigFeature];
|
|
717
720
|
/**
|
|
718
721
|
* Provides Bootstrap field types for the dynamic form system.
|
|
719
722
|
* Use with provideDynamicForm(...withBootstrapFields())
|
|
@@ -749,9 +752,11 @@ type FieldTypeDefinitionsWithConfig = FieldTypeDefinition[] & {
|
|
|
749
752
|
* };
|
|
750
753
|
* ```
|
|
751
754
|
*
|
|
752
|
-
* @returns Array of field type definitions
|
|
755
|
+
* @returns Array of field type definitions and optionally a config feature
|
|
753
756
|
*/
|
|
754
|
-
declare function withBootstrapFields(
|
|
757
|
+
declare function withBootstrapFields(): BootstrapFieldTypes;
|
|
758
|
+
declare function withBootstrapFields(config: BootstrapConfig): BootstrapFieldsWithConfig;
|
|
759
|
+
declare function withBootstrapFields(config: BootstrapConfig | undefined): BootstrapFieldTypes | BootstrapFieldsWithConfig;
|
|
755
760
|
|
|
756
761
|
export { BOOTSTRAP_CONFIG, BOOTSTRAP_FIELD_TYPES, BsButtonFieldComponent, BsCheckboxFieldComponent, BsDatepickerFieldComponent, BsField, BsInputFieldComponent, BsMultiCheckboxFieldComponent, BsRadioFieldComponent, BsSelectFieldComponent, BsSliderFieldComponent, BsTextareaFieldComponent, BsToggleFieldComponent, withBootstrapFields };
|
|
757
762
|
export type { AddArrayItemButtonField, BootstrapConfig, BsButtonField, BsButtonProps, BsCheckboxComponent, BsCheckboxField, BsCheckboxProps, BsDatepickerComponent, BsDatepickerField, BsDatepickerProps, BsFieldType, BsFormConfig, BsFormProps, BsInputComponent, BsInputField, BsInputProps, BsMultiCheckboxComponent, BsMultiCheckboxField, BsMultiCheckboxProps, BsNextButtonField, BsPreviousButtonField, BsRadioComponent, BsRadioField, BsRadioProps, BsSelectComponent, BsSelectField, BsSelectProps, BsSliderComponent, BsSliderField, BsSliderProps, BsSubmitButtonField, BsTextareaComponent, BsTextareaField, BsTextareaProps, BsToggleComponent, BsToggleField, BsToggleProps, InsertArrayItemButtonField, PopArrayItemButtonField, PrependArrayItemButtonField, RemoveArrayItemButtonField, ShiftArrayItemButtonField };
|