@nvs-dynamic-form/react-core 2.4.0 → 2.4.1
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/cjs/types/group-field.type.d.ts +2 -0
- package/dist/cjs/types/group-field.type.js +2 -0
- package/dist/cjs/types/group-field.type.js.map +1 -1
- package/dist/esm/types/group-field.type.d.ts +2 -0
- package/dist/esm/types/group-field.type.js +2 -0
- package/dist/esm/types/group-field.type.js.map +1 -1
- package/lib/types/group-field.type.tsx +4 -0
- package/package.json +1 -1
|
@@ -6,6 +6,8 @@ class GroupField {
|
|
|
6
6
|
this.id = options.id;
|
|
7
7
|
this.fields = options.fields ?? [];
|
|
8
8
|
this.containerVisible = options.containerVisible ?? false;
|
|
9
|
+
this.useContainersOutsideGroup = options.useContainersOutsideGroup ?? false;
|
|
10
|
+
this.useGroupContainer = options.useGroupContainer ?? false;
|
|
9
11
|
this.containerOptions = options.containerOptions ?? {};
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-field.type.js","sourceRoot":"","sources":["../../../lib/types/group-field.type.tsx"],"names":[],"mappings":";;;AAEA,MAAa,UAAU;
|
|
1
|
+
{"version":3,"file":"group-field.type.js","sourceRoot":"","sources":["../../../lib/types/group-field.type.tsx"],"names":[],"mappings":";;;AAEA,MAAa,UAAU;IAQrB,YAAY,OAAmB;QAC7B,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC;QACnC,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,IAAI,KAAK,CAAC;QAC1D,IAAI,CAAC,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,IAAI,KAAK,CAAC;QAC5E,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,IAAI,KAAK,CAAC;QAC5D,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,IAAI,EAAE,CAAC;IACzD,CAAC;CACF;AAhBD,gCAgBC"}
|
|
@@ -3,6 +3,8 @@ export class GroupField {
|
|
|
3
3
|
this.id = options.id;
|
|
4
4
|
this.fields = options.fields ?? [];
|
|
5
5
|
this.containerVisible = options.containerVisible ?? false;
|
|
6
|
+
this.useContainersOutsideGroup = options.useContainersOutsideGroup ?? false;
|
|
7
|
+
this.useGroupContainer = options.useGroupContainer ?? false;
|
|
6
8
|
this.containerOptions = options.containerOptions ?? {};
|
|
7
9
|
}
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-field.type.js","sourceRoot":"","sources":["../../../lib/types/group-field.type.tsx"],"names":[],"mappings":"AAEA,MAAM,OAAO,UAAU;
|
|
1
|
+
{"version":3,"file":"group-field.type.js","sourceRoot":"","sources":["../../../lib/types/group-field.type.tsx"],"names":[],"mappings":"AAEA,MAAM,OAAO,UAAU;IAQrB,YAAY,OAAmB;QAC7B,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC;QACnC,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,IAAI,KAAK,CAAC;QAC1D,IAAI,CAAC,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,IAAI,KAAK,CAAC;QAC5E,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,IAAI,KAAK,CAAC;QAC5D,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,IAAI,EAAE,CAAC;IACzD,CAAC;CACF"}
|
|
@@ -5,11 +5,15 @@ export class GroupField {
|
|
|
5
5
|
fields: Array<FieldType>;
|
|
6
6
|
containerVisible?: boolean;
|
|
7
7
|
containerOptions?: Record<string, any>;
|
|
8
|
+
useContainersOutsideGroup?: boolean;
|
|
9
|
+
useGroupContainer?: boolean;
|
|
8
10
|
|
|
9
11
|
constructor(options: GroupField) {
|
|
10
12
|
this.id = options.id;
|
|
11
13
|
this.fields = options.fields ?? [];
|
|
12
14
|
this.containerVisible = options.containerVisible ?? false;
|
|
15
|
+
this.useContainersOutsideGroup = options.useContainersOutsideGroup ?? false;
|
|
16
|
+
this.useGroupContainer = options.useGroupContainer ?? false;
|
|
13
17
|
this.containerOptions = options.containerOptions ?? {};
|
|
14
18
|
}
|
|
15
19
|
}
|