@acrodata/gui 2.6.0 → 2.6.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.
@@ -23,7 +23,7 @@ export declare class GuiFillPicker implements ControlValueAccessor, OnChanges {
23
23
  registerOnChange(fn: (value: string) => void): void;
24
24
  registerOnTouched(fn: () => void): void;
25
25
  setDisabledState(isDisabled: boolean): void;
26
- getColorFormat(): "hex" | "rgb" | "hsl" | "hsv";
26
+ getColorFormat(): "rgb" | "hex" | "hsl" | "hsv";
27
27
  getTypeFromModel(value: string): void;
28
28
  getValueFromModel(value: string): void;
29
29
  setValueByType(): void;
package/gui-form.d.ts CHANGED
@@ -16,7 +16,7 @@ export declare class GuiForm implements OnChanges, OnInit, OnDestroy {
16
16
  /**
17
17
  * The model to be represented by the form.
18
18
  */
19
- model: any;
19
+ model: Record<string, any>;
20
20
  /**
21
21
  * Fired on model value change
22
22
  */
package/gui-utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ElementRef, OnInit, PipeTransform } from '@angular/core';
2
- import { GuiDefaultValue, GuiOperator } from './interface';
2
+ import { GuiDefaultValue, GuiFields, GuiOperator } from './interface';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * Lightweight EJS template engine
@@ -34,3 +34,4 @@ export declare class GuiFlexDirective implements OnInit {
34
34
  }
35
35
  export declare function compareValues(a: GuiDefaultValue, b: GuiDefaultValue, operator: GuiOperator): boolean;
36
36
  export declare function getValueByPath(obj: Record<string, any>, path: string): Record<string, any> | undefined;
37
+ export declare function getModelFromConfig(config?: GuiFields, model?: Record<string, any>): Record<string, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acrodata/gui",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "JSON powered GUI for configurable panels.",
5
5
  "publishConfig": {
6
6
  "access": "public"