@dartech/arsenal-ui 1.4.50 → 1.4.52

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
@@ -6205,6 +6205,9 @@ const CreatePropertiesList = /*#__PURE__*/forwardRef(({
6205
6205
  arrLength: array.length - 1,
6206
6206
  control: control,
6207
6207
  setValue: setValue,
6208
+ customPropertyFields: _customPropertyFields,
6209
+ entityDefinition: _entityDefinition,
6210
+ globalParameter: _globalParameter,
6208
6211
  error: error,
6209
6212
  handleRemoveParameter: handleRemoveParameter,
6210
6213
  fileReferenceValueComponent: fileReferenceValueComponent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.4.50",
3
+ "version": "1.4.52",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,6 +32,18 @@ export interface CreateDefinitionType<T = Record<string, never>> extends Omit<De
32
32
  export interface UpdateDefinitionType<T = Record<string, never>> extends Omit<Definition<T>, 'properties'> {
33
33
  properties: PropertiesArrayType<T>;
34
34
  }
35
+ export interface UiSettings {
36
+ label?: string;
37
+ name?: string;
38
+ paramJson?: {
39
+ size?: number;
40
+ type?: 'email' | 'phone' | 'iin' | 'currency' | 'iban';
41
+ maxLength?: number;
42
+ };
43
+ behaviorJson: {
44
+ displayDependOn?: string;
45
+ };
46
+ }
35
47
  export interface Property {
36
48
  propertyType: keyof typeof PropertyType | {
37
49
  value: keyof typeof PropertyType;
@@ -43,7 +55,7 @@ export interface Property {
43
55
  isMultiple: boolean;
44
56
  sortOrder: number;
45
57
  isEnabled: boolean;
46
- uiSettings: unknown;
58
+ uiSettings: UiSettings | null;
47
59
  validationNode: unknown;
48
60
  key?: string;
49
61
  }