@evoke-platform/ui-components 1.0.0-dev.104 → 1.0.0-dev.106
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.
@@ -15,7 +15,7 @@ export declare type ObjectProperty = {
|
|
15
15
|
declare type CustomValueEditorProps = ValueEditorProps & {
|
16
16
|
values?: AutocompleteOption[] | any[];
|
17
17
|
};
|
18
|
-
declare type Operator = ('=' | '
|
18
|
+
declare type Operator = ('=' | '!=' | '<' | '>' | '<=' | '>=' | 'contains' | 'beginsWith' | 'endsWith' | 'doesNotContain' | 'doesNotBeginWith' | 'doesNotEndWith' | 'null' | 'notNull' | 'in' | 'notIn' | 'between' | 'notBetween');
|
19
19
|
declare type CriteriaInputProps = {
|
20
20
|
properties: ObjectProperty[];
|
21
21
|
setCriteria: Function;
|
@@ -132,7 +132,7 @@ const dynamicContentInputEditor = (props) => {
|
|
132
132
|
const DynamicContentInput = (_a = props.context) === null || _a === void 0 ? void 0 : _a.dynamicContentInput.component;
|
133
133
|
let valueEditor;
|
134
134
|
if (DynamicContentInput) {
|
135
|
-
valueEditor = (React.createElement(DynamicContentInput, { values: ['null', 'notNull'].includes(operator) ? '' : value, setValues: handleOnChange, disabled: ['null', 'notNull'].includes(operator), size: 'small', previousSteps: (_c = (_b = props.context) === null || _b === void 0 ? void 0 : _b.previousSteps) !== null && _c !== void 0 ? _c : [] }));
|
135
|
+
valueEditor = (React.createElement(DynamicContentInput, { values: ['null', 'notNull'].includes(operator) ? '' : value, setValues: handleOnChange, disabled: ['null', 'notNull'].includes(operator), size: 'small', previousSteps: (_c = (_b = props.context) === null || _b === void 0 ? void 0 : _b.previousSteps) !== null && _c !== void 0 ? _c : [], isSingleValue: true, width: '33%' }));
|
136
136
|
}
|
137
137
|
return determineValueEditor(valueEditor, props);
|
138
138
|
};
|
@@ -9,7 +9,7 @@ declare const _default: ComponentMeta<(props: {
|
|
9
9
|
component: React.ElementType<any>;
|
10
10
|
previousSteps: unknown[];
|
11
11
|
} | undefined;
|
12
|
-
operators?: ("endsWith" | "in" | "=" | "
|
12
|
+
operators?: ("endsWith" | "in" | "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "notIn" | "between" | "notBetween")[] | undefined;
|
13
13
|
}) => JSX.Element>;
|
14
14
|
export default _default;
|
15
15
|
export declare const CriteriaBuilder: ComponentStory<(props: {
|
@@ -21,7 +21,7 @@ export declare const CriteriaBuilder: ComponentStory<(props: {
|
|
21
21
|
component: React.ElementType<any>;
|
22
22
|
previousSteps: unknown[];
|
23
23
|
} | undefined;
|
24
|
-
operators?: ("endsWith" | "in" | "=" | "
|
24
|
+
operators?: ("endsWith" | "in" | "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "notIn" | "between" | "notBetween")[] | undefined;
|
25
25
|
}) => JSX.Element>;
|
26
26
|
export declare const CriteriaBuilderPresetValues: ComponentStory<(props: {
|
27
27
|
properties: import("../components/custom/CriteriaBuilder/CriteriaBuilder").ObjectProperty[];
|
@@ -32,5 +32,5 @@ export declare const CriteriaBuilderPresetValues: ComponentStory<(props: {
|
|
32
32
|
component: React.ElementType<any>;
|
33
33
|
previousSteps: unknown[];
|
34
34
|
} | undefined;
|
35
|
-
operators?: ("endsWith" | "in" | "=" | "
|
35
|
+
operators?: ("endsWith" | "in" | "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "notIn" | "between" | "notBetween")[] | undefined;
|
36
36
|
}) => JSX.Element>;
|