@ajf/material 18.0.5 → 18.0.7
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/esm2022/form-builder/form-builder-service.mjs +56 -7
- package/esm2022/form-builder/node-properties.mjs +6 -2
- package/fesm2022/ajf-material-form-builder.mjs +60 -8
- package/fesm2022/ajf-material-form-builder.mjs.map +1 -1
- package/form-builder/form-builder-service.d.ts +8 -0
- package/package.json +2 -2
|
@@ -69,6 +69,14 @@ export interface AjfFormBuilderMoveEvent {
|
|
|
69
69
|
}
|
|
70
70
|
export type AjfFormBuilderNode = AjfFormBuilderNodeEntry | AjfFormBuilderEmptySlot;
|
|
71
71
|
export type AjfContainerNode = AjfSlide | AjfRepeatingSlide | AjfNodeGroup;
|
|
72
|
+
/**
|
|
73
|
+
* Take the defaultValue from the ajf form defaultValue prop (non formula)
|
|
74
|
+
* and return the value to be shown in the properties box
|
|
75
|
+
* @param value
|
|
76
|
+
* @param node
|
|
77
|
+
* @returns
|
|
78
|
+
*/
|
|
79
|
+
export declare function cleanDefaultValue(value: any, node: AjfField<any>): string | null;
|
|
72
80
|
export declare function flattenNodes(nodes: AjfNode[]): AjfNode[];
|
|
73
81
|
export declare class AjfFormBuilderService {
|
|
74
82
|
private _availableNodeTypes;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ajf/material",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://github.com/gnucoop/ajf#readme",
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@ajf/core": "18.0.
|
|
16
|
+
"@ajf/core": "18.0.7",
|
|
17
17
|
"@angular/animations": "^18.2.13",
|
|
18
18
|
"@angular/cdk": "^18.2.14",
|
|
19
19
|
"@angular/common": "^18.2.13",
|