@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.
@@ -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;
@@ -7,7 +7,6 @@ export declare class FormViewComponent {
7
7
  private attachmentService;
8
8
  private viewportScroller;
9
9
  private toastService;
10
- private cdr;
11
10
  private _isLoading;
12
11
  private _form;
13
12
  private _sections;
@@ -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
- export declare const getTabFormValues: (control: any, engine: FeFormEngine) => Record<string, any>;
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: string) => any;
36
+ export declare const mapJSONToFormValues: (json: unknown) => any;
27
37
  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.20",
4
4
  "private": false,
5
5
  "exports": {
6
6
  ".": {