@dartech/arsenal-ui 1.4.55 → 1.4.56

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/index.js CHANGED
@@ -2312,13 +2312,13 @@ function propertiesObjectToArray(properties, fields) {
2312
2312
  propObj.defaultValue = '';
2313
2313
  }
2314
2314
  }
2315
- // if (propObj['uiSettings']) {
2316
- // try {
2317
- // propObj.uiSettings = JSON.stringify(propObj.uiSettings, null, 2);
2318
- // } catch (error) {
2319
- // propObj.uiSettings = '';
2320
- // }
2321
- // }
2315
+ if (propObj['uiSettings']) {
2316
+ try {
2317
+ propObj.uiSettings = JSON.stringify(propObj.uiSettings, null, 2);
2318
+ } catch (error) {
2319
+ propObj.uiSettings = '';
2320
+ }
2321
+ }
2322
2322
  if (propObj['isMultiple']) {
2323
2323
  if ('defaultValues' in propObj) {
2324
2324
  propObj['defaultValue'] = propObj.defaultValues;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.4.55",
3
+ "version": "1.4.56",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,11 +37,17 @@ export interface UiSettings {
37
37
  name?: string;
38
38
  paramJson?: {
39
39
  size?: number;
40
- type?: 'email' | 'phone' | 'iin' | 'currency' | 'iban';
40
+ type?: 'email' | 'phone' | 'iin' | 'currency' | 'iban' | 'radio';
41
+ radioValues?: string[] | {
42
+ value: string | boolean;
43
+ label: string;
44
+ }[];
41
45
  maxLength?: number;
42
46
  };
43
47
  behaviorJson: {
44
- displayDependOn?: string;
48
+ showDependOn?: string;
49
+ hideDependOn?: string;
50
+ copyValueFrom?: string;
45
51
  };
46
52
  }
47
53
  export interface Property {