@planeasyinc/le-angular 0.0.18 → 0.0.20
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/dist/fesm2022/planeasyinc-le-angular.mjs +23 -7
- package/dist/fesm2022/planeasyinc-le-angular.mjs.map +1 -1
- package/dist/lib/icons/le-icon.component.d.ts +1 -1
- package/dist/lib/views/form-view/form-view.component.d.ts +0 -1
- package/dist/lib/views/form-view/form-view.utils.d.ts +13 -3
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class LeIconComponent {
|
|
3
|
-
name: import("@angular/core").InputSignal<"
|
|
3
|
+
name: import("@angular/core").InputSignal<"sort" | "close" | "arrow-down" | "chevron" | "info">;
|
|
4
4
|
size: import("@angular/core").InputSignal<string | number>;
|
|
5
5
|
icon: import("@angular/core").Signal<{
|
|
6
6
|
size: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FeFormEngine } from '@planeasyinc/fe-core';
|
|
1
|
+
import { FeControlConfig, FeFormEngine } from '@planeasyinc/fe-core';
|
|
2
2
|
export declare const isPlaceholder: (value: unknown) => boolean;
|
|
3
3
|
export declare const isObject: (value: unknown) => boolean;
|
|
4
4
|
/**
|
|
@@ -21,7 +21,17 @@ export declare const mapBodyStringModelToRequestBody: (bodyModel: string, values
|
|
|
21
21
|
export declare const mapBodyObjectModelToRequestBody: (bodyModel?: Record<string, any>, values?: Record<string, any>) => Record<string, any>;
|
|
22
22
|
export declare const mapBodyModelToRequestBody: (bodyModel: Record<string, any> | string, values: Record<string, any>) => Record<string, any> | string;
|
|
23
23
|
export declare const isTabJSON: (control: any) => boolean;
|
|
24
|
-
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param source Control Config with nested controls
|
|
27
|
+
* @param target Control Config with json value
|
|
28
|
+
* @param engine Form Engine
|
|
29
|
+
*
|
|
30
|
+
* @description
|
|
31
|
+
* Traverse source Control Config tree, get latest value from state.
|
|
32
|
+
* If no value found in state, set target Control Config initial value
|
|
33
|
+
*/
|
|
34
|
+
export declare const getTabFormValues: (source: FeControlConfig, target: FeControlConfig, engine: FeFormEngine) => Record<string, any>;
|
|
25
35
|
export declare const mapFormValuesToJSON: (values: Record<string, any>) => string;
|
|
26
|
-
export declare const mapJSONToFormValues: (json:
|
|
36
|
+
export declare const mapJSONToFormValues: (json: unknown) => any;
|
|
27
37
|
export declare const getTabJSONControl: (control: any, engine: FeFormEngine) => any;
|