@planeasyinc/le-angular 0.0.18 → 0.0.19

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.
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class LeIconComponent {
3
- name: import("@angular/core").InputSignal<"close" | "arrow-down" | "sort" | "chevron" | "info">;
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,16 @@ 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
- export declare const getTabFormValues: (control: any, engine: FeFormEngine) => Record<string, any>;
24
+ /**
25
+ *
26
+ * @param source Control Config
27
+ * @param target Control Config
28
+ * @param engine Form Engine
29
+ *
30
+ * @description traverse source control tree, get latest value from state,
31
+ * if no value found in state, set target control initial value
32
+ */
33
+ export declare const getTabFormValues: (source: FeControlConfig, target: FeControlConfig, engine: FeFormEngine) => Record<string, any>;
25
34
  export declare const mapFormValuesToJSON: (values: Record<string, any>) => string;
26
- export declare const mapJSONToFormValues: (json: string) => any;
35
+ export declare const mapJSONToFormValues: (json: unknown) => any;
27
36
  export declare const getTabJSONControl: (control: any, engine: FeFormEngine) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planeasyinc/le-angular",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "private": false,
5
5
  "exports": {
6
6
  ".": {