@messaia/cdk 17.0.7 → 17.1.0-rc01

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.
@@ -20,7 +20,7 @@ export declare class OrderPipe implements PipeTransform {
20
20
  * @param a
21
21
  * @param b
22
22
  */
23
- static defaultCompare(a: any, b: any): 1 | 0 | -1;
23
+ static defaultCompare(a: any, b: any): 0 | 1 | -1;
24
24
  /**
25
25
  * Parse expression, split into items
26
26
  * @param expression
@@ -1,3 +1,4 @@
1
+ import { Type } from "@angular/core";
1
2
  import { FormDefinition } from "../models/form-definition";
2
3
  import { FormFieldGroupDefinition } from "../models/form-field-group-definition";
3
4
  /**
@@ -11,4 +12,4 @@ export declare function getFormDefinition(origin?: object): FormDefinition;
11
12
  * @param origin
12
13
  * @returns
13
14
  */
14
- export declare function getFormGroups(origin?: object): FormFieldGroupDefinition[];
15
+ export declare function getFormGroups<T = any>(origin?: object, type?: Type<T>, args?: Partial<FormFieldGroupDefinition<T>>): FormFieldGroupDefinition[];
@@ -37,6 +37,10 @@ export declare class FormFieldGroupDefinition<T = any> {
37
37
  * Instance of an object associated with the form field group.
38
38
  */
39
39
  instance?: object;
40
+ /**
41
+ * Indicates whether the form field group is hidden.
42
+ */
43
+ hidden?: boolean;
40
44
  /**
41
45
  * Constructor for the FormFieldGroupDefinition class.
42
46
  * @param init - Optional partial data to initialize the form field group.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk",
3
- "version": "17.0.7",
3
+ "version": "17.1.0-rc01",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.8",
6
6
  "@angular/core": "^17.0.8"