oziko-ui-kit 0.0.36 → 0.0.37

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.
@@ -16,14 +16,20 @@ export type TypeProperties = {
16
16
  locationType?: string;
17
17
  className?: string;
18
18
  properties?: TypeProperties;
19
- requires?: string;
19
+ renderCondition?: {
20
+ field: string;
21
+ equals: any;
22
+ } | {
23
+ field: string;
24
+ notEquals: any;
25
+ };
20
26
  };
21
27
  };
22
28
  export type TypeValueType = string | number | boolean | string[] | number[] | boolean[] | TypeRepresenterValue | TypeRepresenterValue[];
23
29
  export type TypeRepresenterValue = {
24
30
  [key: string]: TypeValueType | TypeRepresenterValue;
25
31
  };
26
- export type TypeInputType = "string" | "number" | "textarea" | "date" | "boolean" | "color" | "storage" | "multiselect" | "location" | "richtext" | "object" | "array";
32
+ export type TypeInputType = "string" | "number" | "textarea" | "date" | "boolean" | "color" | "storage" | "multiselect" | "location" | "richtext" | "object" | "array" | "chip" | "relation" | "select";
27
33
  type TypeOptions = {
28
34
  position?: "top" | "bottom" | "left" | "right";
29
35
  index?: boolean;
@@ -85,6 +91,7 @@ export type TypeInputTypeMap = {
85
91
  array: (props: TypeArrayInputProps<TypeValueType>) => ReactNode;
86
92
  chip: (props: TypeInputProps<string[]>) => ReactNode;
87
93
  relation: (props: TypeRelationInputProps<TypeLabeledValue[] | TypeLabeledValue>) => ReactNode;
94
+ select: (props: TypeSelectInputProps<string>) => ReactNode;
88
95
  };
89
96
  declare const types: TypeInputTypeMap;
90
97
  type TypeUseInputRepresenter = {