@arquimedes.co/eureka-forms 1.9.28-test → 1.9.30-test
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/@Types/CBRFormStep.d.ts +1 -3
- package/dist/@Types/FormStep.d.ts +25 -2
- package/dist/App.d.ts +1 -1
- package/dist/FormComponents/Form/ColumnForm/ColumnForm.d.ts +2 -0
- package/dist/FormComponents/Form/ColumnForm/ColumnForm.js +74 -50
- package/dist/FormComponents/Section/MaterialSection/MaterialSection.js +1 -1
- package/dist/FormComponents/Section/Section.js +1 -3
- package/dist/FormComponents/Step/@Construction/CBRElementStep/CBRElementStep.d.ts +8 -0
- package/dist/FormComponents/Step/@Construction/{CBRLocativasStep/CBRLocativasStep.js → CBRElementStep/CBRElementStep.js} +14 -23
- package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/CBRIncidentsStep.js +1 -3
- package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.js +1 -1
- package/dist/FormComponents/Step/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.js +3 -3
- package/dist/FormComponents/Step/@Construction/CBRPropertyStep/CBRPropertyStep.js +2 -6
- package/dist/FormComponents/Step/CBRStepMapper.js +13 -30
- package/dist/FormComponents/Step/CheckBoxStep/CheckBoxStep.js +1 -3
- package/dist/FormComponents/Step/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.js +13 -2
- package/dist/FormComponents/Step/ClassifierSelectorStep/ClassifierSelectorStep.js +1 -3
- package/dist/FormComponents/Step/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +3 -3
- package/dist/FormComponents/Step/DatePickerStep/DatePickerStep.js +1 -3
- package/dist/FormComponents/Step/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.js +13 -2
- package/dist/FormComponents/Step/EntityValueStep/EntityValueStep.d.ts +15 -0
- package/dist/FormComponents/Step/EntityValueStep/EntityValueStep.js +129 -0
- package/dist/FormComponents/Step/FileUploadStep/FileUploadStep.js +1 -3
- package/dist/FormComponents/Step/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +13 -2
- package/dist/FormComponents/Step/MapperStep/MapperStep.d.ts +9 -0
- package/dist/FormComponents/Step/MapperStep/MapperStep.js +35 -0
- package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/Element/MapperElement.d.ts +11 -0
- package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/Element/MapperElement.js +49 -0
- package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/Element/MapperElement.module.css +60 -0
- package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/MaterialMapperStep.d.ts +8 -0
- package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/MaterialMapperStep.js +182 -0
- package/dist/FormComponents/Step/MapperStep/MaterialMapperStep/MaterialMapperStep.module.css +13 -0
- package/dist/FormComponents/Step/RatingStep/MaterialRatingStep/MaterialRatingStep.js +2 -2
- package/dist/FormComponents/Step/RatingStep/RatingStep.js +1 -3
- package/dist/FormComponents/Step/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +3 -3
- package/dist/FormComponents/Step/SelectorStep/SelectorStep.js +1 -3
- package/dist/FormComponents/Step/SeparatorStep/SeparatorStep.js +1 -3
- package/dist/FormComponents/Step/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +17 -6
- package/dist/FormComponents/Step/SmartSelectStep/SmartSelectStep.d.ts +3 -3
- package/dist/FormComponents/Step/SmartSelectStep/SmartSelectStep.js +1 -3
- package/dist/FormComponents/Step/Step.d.ts +1 -1
- package/dist/FormComponents/Step/Step.js +8 -0
- package/dist/FormComponents/Step/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +13 -2
- package/dist/FormComponents/Step/TextAreaStep/TextAreaStep.js +1 -3
- package/dist/FormComponents/Step/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +13 -2
- package/dist/FormComponents/Step/TextInputStep/TextInputStep.js +1 -3
- package/dist/FormComponents/Step/TitleStep/TitleStep.js +1 -3
- package/dist/FormComponents/Term/MaterialTerm/MaterialTerm.js +13 -2
- package/dist/FormComponents/Term/Term.js +1 -3
- package/dist/Icons/Construction/LeakIcon.d.ts +3 -0
- package/dist/Icons/Construction/LeakIcon.js +16 -0
- package/dist/Icons/Construction/ProjectIcon.d.ts +3 -0
- package/dist/Icons/Construction/ProjectIcon.js +16 -0
- package/dist/Icons/Construction/PropertyIcon.d.ts +3 -0
- package/dist/Icons/Construction/PropertyIcon.js +16 -0
- package/dist/Icons/Construction/SpaceIcon.d.ts +3 -0
- package/dist/Icons/Construction/SpaceIcon.js +16 -0
- package/dist/Icons/DocumentIcon.d.ts +3 -0
- package/dist/Icons/DocumentIcon.js +16 -0
- package/dist/Icons/Entities/GenericEntityIcon.d.ts +2 -0
- package/dist/Icons/Entities/GenericEntityIcon.js +17 -0
- package/dist/Icons/Entities/HandshakeIcon.d.ts +2 -0
- package/dist/Icons/Entities/HandshakeIcon.js +17 -0
- package/dist/constants/FormStepTypes.d.ts +9 -3
- package/dist/constants/FormStepTypes.js +21 -14
- package/dist/constants/IconTypes.d.ts +10 -0
- package/dist/constants/IconTypes.js +11 -0
- package/dist/shared/InputIcon/InputIcon.d.ts +7 -0
- package/dist/shared/InputIcon/InputIcon.js +81 -0
- package/dist/shared/RoundedSelect/RoundedSelect.js +17 -3
- package/dist/shared/RoundedSmartSelect/RoundedSmartSelect.js +12 -5
- package/dist/utils/CbrFunctions.js +1 -1
- package/package.json +2 -2
- package/dist/FormComponents/Step/@Construction/CBRLocativasStep/CBRLocativasStep.d.ts +0 -8
|
@@ -35,7 +35,7 @@ function Selector(_a) {
|
|
|
35
35
|
? calcFillerSize(step, form.steps, getValues(), form.size)
|
|
36
36
|
: 0), fillerSize = _b[0], setFillerSize = _b[1];
|
|
37
37
|
var sizeChange = function () {
|
|
38
|
-
handleSizeChange();
|
|
38
|
+
handleSizeChange === null || handleSizeChange === void 0 ? void 0 : handleSizeChange();
|
|
39
39
|
if (level === 0) {
|
|
40
40
|
setFillerSize(calcFillerSize(step, form.steps, getValues(), form.size));
|
|
41
41
|
}
|
|
@@ -94,8 +94,8 @@ function SelectorStep(props) {
|
|
|
94
94
|
? 'Este campo es obligatorio'
|
|
95
95
|
: undefined,
|
|
96
96
|
}, shouldUnregister: true, render: function (_a) {
|
|
97
|
-
var
|
|
98
|
-
return (_jsx(Selector, __assign({}, props, { inputRef:
|
|
97
|
+
var _b = _a.field, ref = _b.ref, field = __rest(_b, ["ref"]);
|
|
98
|
+
return (_jsx(Selector, __assign({}, props, field, { inputRef: ref })));
|
|
99
99
|
} }));
|
|
100
100
|
}
|
|
101
101
|
export default SelectorStep;
|
|
@@ -26,9 +26,7 @@ import MaterialSelectorStep from './MaterialSelectorStep/MaterialSelectorStep';
|
|
|
26
26
|
function SelectorStep(_a) {
|
|
27
27
|
var formStyle = _a.formStyle, others = __rest(_a, ["formStyle"]);
|
|
28
28
|
switch (formStyle.type) {
|
|
29
|
-
case FormStyleTypes.MATERIAL:
|
|
30
|
-
return _jsx(MaterialSelectorStep, __assign({ formStyle: formStyle }, others));
|
|
31
|
-
}
|
|
29
|
+
case FormStyleTypes.MATERIAL:
|
|
32
30
|
default: {
|
|
33
31
|
return _jsx(MaterialSelectorStep, __assign({ formStyle: formStyle }, others));
|
|
34
32
|
}
|
|
@@ -26,9 +26,7 @@ import MaterialSeparatorStep from './MaterialSeparatorStep/MaterialSeparatorStep
|
|
|
26
26
|
function SeparatorStep(_a) {
|
|
27
27
|
var step = _a.step, formStyle = _a.formStyle, others = __rest(_a, ["step", "formStyle"]);
|
|
28
28
|
switch (formStyle.type) {
|
|
29
|
-
case FormStyleTypes.MATERIAL:
|
|
30
|
-
return (_jsx(MaterialSeparatorStep, __assign({ step: step, formStyle: formStyle }, others)));
|
|
31
|
-
}
|
|
29
|
+
case FormStyleTypes.MATERIAL:
|
|
32
30
|
default: {
|
|
33
31
|
return (_jsx(MaterialSeparatorStep, __assign({ step: step, formStyle: formStyle }, others)));
|
|
34
32
|
}
|
package/dist/FormComponents/Step/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js
CHANGED
|
@@ -82,12 +82,17 @@ function SmartSelect(_a) {
|
|
|
82
82
|
var _j = useState(), error = _j[0], setError = _j[1];
|
|
83
83
|
var _k = useState(false), loading = _k[0], setLoading = _k[1];
|
|
84
84
|
var calcOptions = function (currentValue, invalidDeps) { return __awaiter(_this, void 0, void 0, function () {
|
|
85
|
-
var resp, currentOption, invalids;
|
|
85
|
+
var resp, currentOption, invalids, error_1;
|
|
86
86
|
var _a;
|
|
87
87
|
return __generator(this, function (_b) {
|
|
88
88
|
switch (_b.label) {
|
|
89
|
-
case 0:
|
|
89
|
+
case 0:
|
|
90
|
+
setOptions(undefined);
|
|
91
|
+
_b.label = 1;
|
|
90
92
|
case 1:
|
|
93
|
+
_b.trys.push([1, 3, , 4]);
|
|
94
|
+
return [4 /*yield*/, (getOptions === null || getOptions === void 0 ? void 0 : getOptions(organization, step, dependencyStore, others.domain))];
|
|
95
|
+
case 2:
|
|
91
96
|
resp = _b.sent();
|
|
92
97
|
if (resp !== null) {
|
|
93
98
|
if (invalidDeps !== undefined && currentValue) {
|
|
@@ -106,6 +111,12 @@ function SmartSelect(_a) {
|
|
|
106
111
|
}
|
|
107
112
|
}
|
|
108
113
|
setOptions(resp);
|
|
114
|
+
return [3 /*break*/, 4];
|
|
115
|
+
case 3:
|
|
116
|
+
error_1 = _b.sent();
|
|
117
|
+
setOptions(null);
|
|
118
|
+
return [3 /*break*/, 4];
|
|
119
|
+
case 4:
|
|
109
120
|
setLoading(false);
|
|
110
121
|
return [2 /*return*/];
|
|
111
122
|
}
|
|
@@ -116,7 +127,7 @@ function SmartSelect(_a) {
|
|
|
116
127
|
if (first) {
|
|
117
128
|
setFirst(false);
|
|
118
129
|
var invalids = calcInvalidDeps(step, dependencyStore).filter(function (idDep) { return originalValues[idDep]; });
|
|
119
|
-
setError(calcDepError === null || calcDepError === void 0 ? void 0 : calcDepError(invalids.map(function (idDep) {
|
|
130
|
+
setError(calcDepError === null || calcDepError === void 0 ? void 0 : calcDepError(invalids.map(function (idDep) { return form.steps[idDep]; })));
|
|
120
131
|
calcOptions(value, invalids);
|
|
121
132
|
}
|
|
122
133
|
else {
|
|
@@ -150,7 +161,7 @@ function SmartSelect(_a) {
|
|
|
150
161
|
return __generator(this, function (_a) {
|
|
151
162
|
if (step.dependencies) {
|
|
152
163
|
invalids = calcInvalidDeps(step, dependencyStore);
|
|
153
|
-
setError(calcDepError === null || calcDepError === void 0 ? void 0 : calcDepError(invalids.map(function (idDep) {
|
|
164
|
+
setError(calcDepError === null || calcDepError === void 0 ? void 0 : calcDepError(invalids.map(function (idDep) { return form.steps[idDep]; })));
|
|
154
165
|
if (!value) {
|
|
155
166
|
if (invalids.length > 0) {
|
|
156
167
|
trigger(invalids, { shouldFocus: true });
|
|
@@ -210,8 +221,8 @@ function SmartSelectStep(props) {
|
|
|
210
221
|
? 'Este campo es obligatorio'
|
|
211
222
|
: undefined,
|
|
212
223
|
}, shouldUnregister: true, render: function (_a) {
|
|
213
|
-
var
|
|
214
|
-
return (_jsx(SmartSelect, __assign({}, props, { inputRef:
|
|
224
|
+
var _b = _a.field, ref = _b.ref, field = __rest(_b, ["ref"]);
|
|
225
|
+
return (_jsx(SmartSelect, __assign({}, props, field, { inputRef: ref })));
|
|
215
226
|
} }));
|
|
216
227
|
}
|
|
217
228
|
export default SmartSelectStep;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import Types from '../../../constants/FormStepTypes';
|
|
3
2
|
import { StepProps } from '../Step';
|
|
4
3
|
import { GSmartSelect } from '../../../@Types/GenericFormSteps';
|
|
5
4
|
import { Organization } from '../../../@Types';
|
|
5
|
+
import { FormStep } from '../../../@Types/FormStep';
|
|
6
6
|
export interface SmartSelectStepProps extends Omit<StepProps, 'step'> {
|
|
7
7
|
/** The SmartSelectStep to display */
|
|
8
8
|
step: GSmartSelect;
|
|
9
9
|
/** The icon to display */
|
|
10
10
|
icon?: React.ReactNode;
|
|
11
11
|
/** Function to call to get the options of the selector, return null if dependency is not met */
|
|
12
|
-
getOptions: (organization: Organization, step: GSmartSelect, dependencyStore: Record<string, any
|
|
12
|
+
getOptions: (organization: Organization, step: GSmartSelect, dependencyStore: Record<string, any>, domain?: string) => Promise<any[] | null>;
|
|
13
13
|
/** Function to determine the currently selected option */
|
|
14
14
|
getOptionSelected: (option: any, value: any) => boolean;
|
|
15
15
|
/** Function to determine the current value in string format */
|
|
@@ -17,7 +17,7 @@ export interface SmartSelectStepProps extends Omit<StepProps, 'step'> {
|
|
|
17
17
|
/** Function to if currently selected option has warning */
|
|
18
18
|
getValueWarning?: (value: any) => string | null;
|
|
19
19
|
/** Function that returns the error message based on the types of the missing Dependencies, undefined if no error msg */
|
|
20
|
-
calcDepError?: (types:
|
|
20
|
+
calcDepError?: (types: FormStep[]) => string | undefined;
|
|
21
21
|
/** Function that returns the missing dependencies based on the current value */
|
|
22
22
|
calcInvalidDeps?: (step: GSmartSelect, dependencyStore: Record<string, any>) => string[];
|
|
23
23
|
/** children to render */
|
|
@@ -14,9 +14,7 @@ import { FormStyleTypes } from '../../../constants/FormStepTypes';
|
|
|
14
14
|
import MaterialSmartSelectStep from './MaterialSmartSelectStep/MaterialSmartSelectStep';
|
|
15
15
|
function SmartSelectStep(props) {
|
|
16
16
|
switch (props.formStyle.type) {
|
|
17
|
-
case FormStyleTypes.MATERIAL:
|
|
18
|
-
return _jsx(MaterialSmartSelectStep, __assign({}, props));
|
|
19
|
-
}
|
|
17
|
+
case FormStyleTypes.MATERIAL:
|
|
20
18
|
default: {
|
|
21
19
|
return _jsx(MaterialSmartSelectStep, __assign({}, props));
|
|
22
20
|
}
|
|
@@ -3,7 +3,7 @@ import { FormStep } from '../../@Types/FormStep';
|
|
|
3
3
|
import { RecursiveData } from '../Section/Section';
|
|
4
4
|
export interface StepProps extends RecursiveData {
|
|
5
5
|
step: FormStep;
|
|
6
|
-
handleSizeChange
|
|
6
|
+
handleSizeChange?: Function;
|
|
7
7
|
level: number;
|
|
8
8
|
}
|
|
9
9
|
declare function StepComponent({ step, ...props }: StepProps): JSX.Element;
|
|
@@ -34,6 +34,8 @@ import CheckBoxStep from './CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxSt
|
|
|
34
34
|
import CBRStepMapper from './CBRStepMapper';
|
|
35
35
|
import RatingStep from './RatingStep/RatingStep';
|
|
36
36
|
import AYFStepMapper from './AYFStepMapper';
|
|
37
|
+
import EntityValuePickerStep from './EntityValueStep/EntityValueStep';
|
|
38
|
+
import MapperStep from './MapperStep/MapperStep';
|
|
37
39
|
function StepComponent(_a) {
|
|
38
40
|
var _b;
|
|
39
41
|
var step = _a.step, props = __rest(_a, ["step"]);
|
|
@@ -72,6 +74,12 @@ function StepComponent(_a) {
|
|
|
72
74
|
case Types.RATING: {
|
|
73
75
|
return _jsx(RatingStep, __assign({ step: step }, props));
|
|
74
76
|
}
|
|
77
|
+
case Types.ENTITYVALUEPICKER: {
|
|
78
|
+
return (_jsx(EntityValuePickerStep, __assign({ step: step }, props)));
|
|
79
|
+
}
|
|
80
|
+
case Types.MAPPER: {
|
|
81
|
+
return _jsx(MapperStep, __assign({ step: step }, props));
|
|
82
|
+
}
|
|
75
83
|
default:
|
|
76
84
|
break;
|
|
77
85
|
}
|
|
@@ -9,6 +9,17 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
12
23
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
13
24
|
import RoundedTextField from '../../../../shared/RoundedTextField/RoundedTextField';
|
|
14
25
|
import styles from './MaterialTextAreaStep.module.css';
|
|
@@ -157,8 +168,8 @@ function TextAreaStep(_a) {
|
|
|
157
168
|
: undefined,
|
|
158
169
|
}, shouldUnregister: true, render: function (_a) {
|
|
159
170
|
var _b;
|
|
160
|
-
var
|
|
161
|
-
return (_jsxs(React.Fragment, { children: [_jsx("div", __assign({ className: styles.erkTextArea }, { children: _jsx(RoundedTextField, __assign({}, field, { "data-testid": step.id, maxLength: maxLength, label: step.label, inputRef:
|
|
171
|
+
var _c = _a.field, ref = _c.ref, field = __rest(_c, ["ref"]);
|
|
172
|
+
return (_jsxs(React.Fragment, { children: [_jsx("div", __assign({ className: styles.erkTextArea }, { children: _jsx(RoundedTextField, __assign({}, field, { "data-testid": step.id, maxLength: maxLength, label: step.label, inputRef: ref, required: step.required, cantEdit: !canEdit, fontWeight: 400, multiline: true, minRows: postview && partial ? undefined : 4, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, backgroundColor: backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : formStyle.backgroundColor, innerBackgroundColor: formStyle.stepBackgroundColor, helperTextColor: formStyle.descriptionTextColor, helperText: errors[step.id]
|
|
162
173
|
? errors[step.id].message
|
|
163
174
|
: (_b = step.description) !== null && _b !== void 0 ? _b : (step.required ? ' ' : null), error: !!errors[step.id] })) })), postview && (_jsxs("div", __assign({ className: styles.print }, { children: [_jsxs("div", { children: [step.label, ":"] }), _jsx("p", __assign({ className: styles.printContainer, style: {
|
|
164
175
|
backgroundColor: formStyle.stepBackgroundColor,
|
|
@@ -14,9 +14,7 @@ import { FormStyleTypes } from '../../../constants/FormStepTypes';
|
|
|
14
14
|
import MaterialTextAreaStep from './MaterialTextAreaStep/MaterialTextAreaStep';
|
|
15
15
|
function TextAreaStep(props) {
|
|
16
16
|
switch (props.formStyle.type) {
|
|
17
|
-
case FormStyleTypes.MATERIAL:
|
|
18
|
-
return _jsx(MaterialTextAreaStep, __assign({}, props));
|
|
19
|
-
}
|
|
17
|
+
case FormStyleTypes.MATERIAL:
|
|
20
18
|
default: {
|
|
21
19
|
return _jsx(MaterialTextAreaStep, __assign({}, props));
|
|
22
20
|
}
|
package/dist/FormComponents/Step/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js
CHANGED
|
@@ -9,6 +9,17 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
12
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
24
|
import RoundedTextField from '../../../../shared/RoundedTextField/RoundedTextField';
|
|
14
25
|
import styles from './MaterialTextInputStep.module.css';
|
|
@@ -36,7 +47,7 @@ function TextInputStep(_a) {
|
|
|
36
47
|
}
|
|
37
48
|
: undefined,
|
|
38
49
|
}, shouldUnregister: true, render: function (_a) {
|
|
39
|
-
var
|
|
50
|
+
var _b = _a.field, ref = _b.ref, field = __rest(_b, ["ref"]);
|
|
40
51
|
return (_jsx(RoundedTextField, __assign({}, field, { onChange: function (e) {
|
|
41
52
|
var value = e.target.value;
|
|
42
53
|
if (dependencyStore[step.id] !== undefined) {
|
|
@@ -54,7 +65,7 @@ function TextInputStep(_a) {
|
|
|
54
65
|
}, 1000));
|
|
55
66
|
}
|
|
56
67
|
field.onChange(value);
|
|
57
|
-
}, "data-testid": step.id, label: step.label, inputRef:
|
|
68
|
+
}, "data-testid": step.id, label: step.label, inputRef: ref, cantEdit: !editable || postview, required: step.required, fontWeight: 400, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, backgroundColor: formStyle.backgroundColor, innerBackgroundColor: formStyle.stepBackgroundColor, helperText: errors[step.id]
|
|
58
69
|
? errors[step.id].message
|
|
59
70
|
: step.description, helperTextColor: formStyle.descriptionTextColor, error: !!errors[step.id], icon: step.showIcon ? icon : undefined })));
|
|
60
71
|
} }) })));
|
|
@@ -14,9 +14,7 @@ import { FormStyleTypes } from '../../../constants/FormStepTypes';
|
|
|
14
14
|
import MaterialTextInputStep from './MaterialTextInputStep/MaterialTextInputStep';
|
|
15
15
|
function TextInputStep(props) {
|
|
16
16
|
switch (props.formStyle.type) {
|
|
17
|
-
case FormStyleTypes.MATERIAL:
|
|
18
|
-
return _jsx(MaterialTextInputStep, __assign({}, props));
|
|
19
|
-
}
|
|
17
|
+
case FormStyleTypes.MATERIAL:
|
|
20
18
|
default: {
|
|
21
19
|
return _jsx(MaterialTextInputStep, __assign({}, props));
|
|
22
20
|
}
|
|
@@ -26,9 +26,7 @@ import MaterialTitleStep from './MaterialTitleStep/MaterialTitleStep';
|
|
|
26
26
|
function TitleStep(_a) {
|
|
27
27
|
var step = _a.step, formStyle = _a.formStyle, others = __rest(_a, ["step", "formStyle"]);
|
|
28
28
|
switch (formStyle.type) {
|
|
29
|
-
case FormStyleTypes.MATERIAL:
|
|
30
|
-
return (_jsx(MaterialTitleStep, __assign({ step: step, formStyle: formStyle }, others)));
|
|
31
|
-
}
|
|
29
|
+
case FormStyleTypes.MATERIAL:
|
|
32
30
|
default: {
|
|
33
31
|
return (_jsx(MaterialTitleStep, __assign({ step: step, formStyle: formStyle }, others)));
|
|
34
32
|
}
|
|
@@ -9,6 +9,17 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
12
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
24
|
import { Dialog } from '@material-ui/core';
|
|
14
25
|
import React from 'react';
|
|
@@ -66,8 +77,8 @@ function TermComponent(_a) {
|
|
|
66
77
|
} })] }))) })), _jsxs("div", __assign({ className: styles.container + ' noselect' }, { children: [_jsx("div", __assign({ className: styles.checkboxContainer }, { children: _jsx(Controller, { name: term.id, control: control, rules: {
|
|
67
78
|
required: true,
|
|
68
79
|
}, defaultValue: false, shouldUnregister: true, render: function (_a) {
|
|
69
|
-
var
|
|
70
|
-
return (_jsx(RoundedCheckBox, {
|
|
80
|
+
var _b = _a.field, ref = _b.ref, field = __rest(_b, ["ref"]);
|
|
81
|
+
return (_jsx(RoundedCheckBox, __assign({ inputRef: ref }, field, { checked: field.value, cantEdit: postview, padding: "5px", checkedColor: formStyle.primaryColor, errorColor: formStyle.errorColor, size: "1.5rem", error: !!errors[term.id] })));
|
|
71
82
|
} }) })), _jsx("div", __assign({ className: styles.messageContainer, style: {
|
|
72
83
|
color: !!errors[term.id] && tempError
|
|
73
84
|
? formStyle.errorColor
|
|
@@ -14,9 +14,7 @@ import { FormStyleTypes } from '../../constants/FormStepTypes';
|
|
|
14
14
|
import MaterialTerm from './MaterialTerm/MaterialTerm';
|
|
15
15
|
function TermComponent(props) {
|
|
16
16
|
switch (props.formStyle.type) {
|
|
17
|
-
case FormStyleTypes.MATERIAL:
|
|
18
|
-
return _jsx(MaterialTerm, __assign({}, props));
|
|
19
|
-
}
|
|
17
|
+
case FormStyleTypes.MATERIAL:
|
|
20
18
|
default: {
|
|
21
19
|
return _jsx(MaterialTerm, __assign({}, props));
|
|
22
20
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
function LeakIcon(props) {
|
|
14
|
+
return (_jsxs("svg", __assign({ fill: props.fill, className: props.class, style: props.style, height: "512pt", viewBox: "0 -86 512.00056 512", width: "512pt", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "m203.484375 196.359375c2.402344 0 4.753906-.867187 6.601563-2.492187l26.621093-23.394532c3.03125-2.664062 4.164063-6.890625 2.871094-10.714844l-9.21875-27.257812 21.613281-18.996094c3.03125-2.664062 4.164063-6.890625 2.871094-10.714844l-11.359375-33.570312c-1.070313-3.167969-3.652344-5.589844-6.882813-6.457031l-57.925781-15.519531c-5.335937-1.433594-10.816406 1.734374-12.246093 7.070312-1.429688 5.335938 1.734374 10.820312 7.070312 12.25l52.753906 14.132812 7.507813 22.1875-21.613281 18.996094c-3.03125 2.664063-4.164063 6.890625-2.871094 10.714844l9.21875 27.257812-17.59375 15.460938-130.027344-34.839844 30.992188-115.667968c.6875-2.5625.328124-5.292969-.996094-7.589844-1.328125-2.296875-3.511719-3.972656-6.074219-4.660156l-45.574219-12.210938c-5.332031-1.429688-10.816406 1.734375-12.246094 7.070312l-36.636718 136.722657c-.6875 2.5625-.324219 5.292969 1 7.589843 1.324218 2.292969 3.511718 3.972657 6.070312 4.65625l45.574219 12.210938c.867187.234375 1.738281.34375 2.597656.34375 4.414063 0 8.453125-2.945312 9.652344-7.414062l.464844-1.734376 135.199219 36.226563c.851562.230469 1.722656.34375 2.585937.34375zm-181.238281-56.703125 31.460937-117.40625 26.253907 7.035156-31.457032 117.40625zm0 0" }), _jsx("path", { d: "m511.660156 144.136719-36.636718-136.722657c-1.429688-5.332031-6.910157-8.5-12.246094-7.070312l-45.574219 12.210938c-2.5625.6875-4.746094 2.363281-6.070313 4.660156-1.328124 2.296875-1.6875 5.023437-1 7.585937l.464844 1.734375-135.199218 36.226563c-3.28125.878906-5.894532 3.367187-6.933594 6.605469-1.039063 3.238281-.363282 6.777343 1.796875 9.40625l19.121093 23.265624-5.867187 25.070313c-.796875 3.40625.242187 6.980469 2.738281 9.425781l19.386719 18.988282-6.847656 28.496093c-.824219 3.429688.21875 7.039063 2.742187 9.5 1.894532 1.84375 4.40625 2.839844 6.980469 2.839844.863281 0 1.730469-.113281 2.585937-.34375l57.925782-15.519531c5.335937-1.429688 8.5-6.914063 7.070312-12.25-1.429687-5.332032-6.914062-8.5-12.246094-7.070313l-41.683593 11.171875 4.246093-17.664062c.820313-3.421875-.214843-7.023438-2.726562-9.484375l-19.417969-19.015625 5.714844-24.398438c.710937-3.035156-.035156-6.222656-2.011719-8.628906l-12.40625-15.09375 120.207032-32.207031 30.992187 115.667969c1.199219 4.46875 5.238281 7.414062 9.65625 7.414062.855469 0 1.726563-.109375 2.59375-.339844l45.574219-12.210937c2.5625-.6875 4.746094-2.363281 6.070312-4.660157 1.328125-2.296874 1.6875-5.027343 1-7.589843zm-48.160156 2.554687-30.996094-115.667968s0 0 0-.003907v-.003906l-.464844-1.730469 26.257813-7.035156 31.457031 117.40625zm0 0" }), _jsx("path", { d: "m263.386719 203.265625c-1.894531-2.078125-4.574219-3.261719-7.386719-3.261719-2.808594 0-5.492188 1.183594-7.386719 3.261719-.78125.855469-1.640625 1.789063-2.570312 2.792969-14.488281 15.730468-44.640625 48.457031-44.640625 79.34375 0 30.105468 24.492187 54.601562 54.597656 54.601562s54.597656-24.496094 54.597656-54.601562c0-30.886719-30.148437-63.613282-44.640625-79.339844-.925781-1.007812-1.789062-1.941406-2.570312-2.796875zm-7.386719 116.738281c-19.078125 0-34.597656-15.523437-34.597656-34.601562 0-20.492188 20.960937-45.539063 34.597656-60.601563 13.636719 15.0625 34.597656 40.109375 34.597656 60.601563 0 19.078125-15.519531 34.601562-34.597656 34.601562zm0 0" }), _jsx("path", { d: "m129.878906 54.871094c.917969.261718 1.839844.386718 2.75.386718 4.351563 0 8.355469-2.863281 9.609375-7.253906 1.519531-5.3125-1.554687-10.847656-6.867187-12.363281h-.007813c-5.308593-1.519531-10.839843 1.554687-12.359375 6.867187-1.515625 5.308594 1.5625 10.847657 6.875 12.363282zm0 0" }), _jsx("path", { d: "m407.335938 149.527344-.007813.003906c-5.335937 1.421875-8.507813 6.898438-7.082031 12.238281 1.191406 4.472657 5.238281 7.421875 9.65625 7.421875.855468 0 1.722656-.109375 2.585937-.339844 5.335938-1.421874 8.507813-6.902343 7.085938-12.238281-1.425781-5.335937-6.90625-8.511719-12.238281-7.085937zm0 0" })] })));
|
|
15
|
+
}
|
|
16
|
+
export default LeakIcon;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
function ProjectIcon(props) {
|
|
14
|
+
return (_jsx("svg", __assign({ fill: props.fill, className: props.class, style: props.style, height: "480pt", viewBox: "0 -8 480 480", width: "480pt", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "m440 448v-49.960938c10.546875-6.214843 16.726562-17.816406 16-30.039062 0-17.671875-10.742188-32-24-32s-24 14.328125-24 32c-.726562 12.222656 5.453125 23.824219 16 30.039062v49.960938h-56v-243.054688l-48-24v43.054688h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v16h-16v-321.96875l-96-27.421875v29.390625h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v16h-16v-448h-144v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v16h-48v16h480v-16zm0 0" }) })));
|
|
15
|
+
}
|
|
16
|
+
export default ProjectIcon;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
function PropertyIcon(props) {
|
|
14
|
+
return (_jsx("svg", __assign({ fill: props.fill, className: props.class, style: props.style, height: "512", viewBox: "0 0 512 512", width: "512", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("g", __assign({ id: "_01-home", "data-name": "01-home" }, { children: _jsxs("g", __assign({ id: "glyph" }, { children: [_jsx("path", { d: "m256 4c-108.075 0-196 87.925-196 196 0 52.5 31.807 119.92 94.537 200.378a1065.816 1065.816 0 0 0 93.169 104.294 12 12 0 0 0 16.588 0 1065.816 1065.816 0 0 0 93.169-104.294c62.73-80.458 94.537-147.878 94.537-200.378 0-108.075-87.925-196-196-196zm0 336c-77.2 0-140-62.8-140-140s62.8-140 140-140 140 62.8 140 140-62.8 140-140 140z" }), _jsx("path", { d: "m352.072 183.121-88-80a12 12 0 0 0 -16.144 0l-88 80a12.006 12.006 0 0 0 -2.23 15.039 12.331 12.331 0 0 0 10.66 5.84h11.642v76a12 12 0 0 0 12 12h28a12 12 0 0 0 12-12v-44a12 12 0 0 1 12-12h24a12 12 0 0 1 12 12v44a12 12 0 0 0 12 12h28a12 12 0 0 0 12-12v-76h11.642a12.331 12.331 0 0 0 10.66-5.84 12.006 12.006 0 0 0 -2.23-15.039z" })] })) })) })));
|
|
15
|
+
}
|
|
16
|
+
export default PropertyIcon;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
function SpaceIcon(props) {
|
|
14
|
+
return (_jsxs("svg", __assign({ fill: props.fill, className: props.class, style: props.style, width: "512pt", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64" }, { children: [_jsx("title", { children: "SpaceType" }), _jsxs("g", __assign({ id: "space_type", "data-name": "space type" }, { children: [_jsx("path", { d: "M29.74,39A10.21,10.21,0,0,0,27.61,39,1.63,1.63,0,0,0,26,40.61V53.35A1.63,1.63,0,0,0,27.61,55h1.74A1.63,1.63,0,0,0,31,53.35V40.61A1.63,1.63,0,0,0,29.74,39Z" }), _jsx("path", { d: "M57.35,39a10.27,10.27,0,0,0-2.13.05A1.63,1.63,0,0,0,54,40.61V53.35A1.63,1.63,0,0,0,55.61,55h1.74A1.63,1.63,0,0,0,59,53.35V40.61A1.63,1.63,0,0,0,57.35,39Z" }), _jsx("path", { d: "M33,54a1,1,0,0,0,1,1H51a1,1,0,0,0,1-1V49H33Z" }), _jsx("path", { d: "M49,42H36a3,3,0,0,0-3,3v2H52V45A3,3,0,0,0,49,42Z" }), _jsx("path", { d: "M54,31a5,5,0,0,0-5-5H36a5,5,0,0,0-5,5v6.39a3.62,3.62,0,0,1,1.86,2.24A4.68,4.68,0,0,1,33,41c1.37-1.37,4.2-1,16-1a5,5,0,0,1,2.68.78c.64.39.07.39.46-1.15a3.65,3.65,0,0,1,1.43-2C54.15,37.19,54,38.41,54,31Z" }), _jsx("path", { d: "M17,32c-5.85,0-4.33,0-4-.05a7.06,7.06,0,0,0,6-7,7,7,0,0,0-4.47,1.59,7.08,7.08,0,0,0-2.07-5.05,7.06,7.06,0,0,0-2.07,5.05,7,7,0,0,0-4.47-1.59,7.07,7.07,0,0,0,6,7c.36.08,1.89.05-4,.05l1.71,6H3V55H5V50H20v5h2V38H15.26ZM15,45H10V43h5Z" }), _jsx("path", { d: "M26,21h6L31,10H19L18,21h6V40.61a3.63,3.63,0,0,1,2-3.24Z" })] }))] })));
|
|
15
|
+
}
|
|
16
|
+
export default SpaceIcon;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
function DocumentIcon(props) {
|
|
14
|
+
return (_jsx("svg", __assign({ fill: props.fill, className: props.class, style: props.style, id: "bold", enableBackground: "new 0 0 24 24", height: "512", viewBox: "0 0 24 24", width: "512", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "m21.25 3h-18.5c-1.517 0-2.75 1.233-2.75 2.75v12.5c0 1.517 1.233 2.75 2.75 2.75h18.5c1.517 0 2.75-1.233 2.75-2.75v-12.5c0-1.517-1.233-2.75-2.75-2.75zm-13.75 4c1.378 0 2.5 1.122 2.5 2.5s-1.122 2.5-2.5 2.5-2.5-1.122-2.5-2.5 1.122-2.5 2.5-2.5zm4.5 9.25c0 .414-.336.75-.75.75h-7.5c-.414 0-.75-.336-.75-.75v-.5c0-1.517 1.233-2.75 2.75-2.75h3.5c1.517 0 2.75 1.233 2.75 2.75zm8.25.75h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75z" }) })));
|
|
15
|
+
}
|
|
16
|
+
export default DocumentIcon;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
var GenericEntityIcon = function (props) {
|
|
14
|
+
var _a;
|
|
15
|
+
return (_jsxs("svg", __assign({ version: "1.1", width: "500pt", height: "500pt", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', className: props.className, style: props.style }, { children: [_jsx("path", { d: "M10 5H4c-.55 0-1 .45-1 1s.45 1 1 1h2v3c0 .55.45 1 1 1s1-.45 1-1V7h2c.55 0 1-.45 1-1s-.45-1-1-1zM10 2H4c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1zM20.89 13.11a.9959.9959 0 00-1.41 0l-6.36 6.36c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41z" }), _jsx("circle", { cx: "14.5", cy: "14.5", r: "1.5" }), _jsx("circle", { cx: "19.5", cy: "19.5", r: "1.5" }), _jsx("path", { d: "M15.5 11c1.38 0 2.5-1.12 2.5-2.5V4h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1v3.51c-.42-.32-.93-.51-1.5-.51C14.12 6 13 7.12 13 8.5s1.12 2.5 2.5 2.5zM10.45 18.09c.39-.39.39-1.02 0-1.41a.9959.9959 0 00-1.41 0l-.71.71-.71-.71.35-.35c.98-.98.98-2.56 0-3.54-.49-.49-1.13-.73-1.77-.73-.64 0-1.28.24-1.77.73-.98.98-.98 2.56 0 3.54l.35.35-1.06 1.06c-.98.98-.98 2.56 0 3.54.5.48 1.14.72 1.78.72.64 0 1.28-.24 1.77-.73l1.06-1.06.71.71c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41l-.71-.71.71-.71zm-4.6-3.89c.12-.12.26-.15.35-.15s.23.03.35.15c.19.2.19.51 0 .71l-.35.35-.35-.36c-.12-.12-.15-.26-.15-.35s.03-.23.15-.35zm0 5.65c-.12.12-.26.15-.35.15s-.23-.03-.35-.15c-.12-.12-.15-.26-.15-.35s.03-.23.15-.35l1.06-1.06.71.71-1.07 1.05z" })] })));
|
|
16
|
+
};
|
|
17
|
+
export default GenericEntityIcon;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
var HandShakeIcon = function (props) {
|
|
14
|
+
var _a;
|
|
15
|
+
return (_jsxs("svg", __assign({ version: "1.1", width: "511pt", height: "511pt", viewBox: "0 -3 511.99992 511", xmlns: "http://www.w3.org/2000/svg", fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', className: props.className, style: props.style }, { children: [_jsx("path", { d: "m509.914062 214.859375-85.695312-111.320313c-3.171875-4.117187-8.957031-5.132812-13.34375-2.34375l-55.328125 35.1875h-72.160156c-.933594 0-1.863281.199219-2.761719.460938l-55.949219 16.105469-58.054687-15.878907-56.410156-35.875c-4.3125-2.742187-9.992188-1.8125-13.199219 2.164063l-94.785157 117.40625c-3.40625 4.21875-2.84375 10.378906 1.265626 13.914063l49.679687 42.753906 44.570313 60.0625c-13.035157 13.886718-12.78125 35.789062.78125 49.355468 6.011718 6.007813 13.65625 9.402344 21.519531 10.191407-.273438 1.78125-.414063 3.589843-.414063 5.425781 0 9.476562 3.691406 18.386719 10.390625 25.085938 6.703125 6.703124 15.613281 10.394531 25.089844 10.394531.128906 0 .253906-.007813.378906-.011719-.003906.242188-.015625.480469-.015625.722656 0 9.476563 3.691406 18.386719 10.390625 25.089844 6.703125 6.699219 15.613281 10.390625 25.089844 10.390625 1.871094 0 3.722656-.152344 5.539063-.433594.769531 7.890625 4.171874 15.570313 10.203124 21.601563 6.914063 6.917968 16 10.375 25.085938 10.375s18.171875-3.457032 25.089844-10.375l5.425781-5.425782 2.277344 1.835938c6.859375 6.644531 15.765625 9.964844 24.671875 9.964844 9.085937 0 18.171875-3.457032 25.085937-10.375 7.058594-7.058594 10.515625-16.375 10.371094-25.644532 9.265625.140626 18.585937-3.3125 25.644531-10.367187 7.050782-7.054687 10.507813-16.363281 10.371094-25.628906 9.652344.152343 18.808594-3.554688 25.640625-10.386719 7.058594-7.058594 10.515625-16.375 10.371094-25.644531 9.273437.140625 18.585937-3.3125 25.644531-10.371094 12.046875-12.046875 13.597656-30.667969 4.664062-44.414063l32.542969-68.15625 48.925781-42.101562c4.042969-3.480469 4.660157-9.511719 1.40625-13.734375zm-402.914062-91.910156 40.5625 25.792969-88.238281 107.5-35.359375-30.433594zm5.722656 227.921875 12.242188-12.242188c.371094-.371094.761718-.722656 1.160156-1.050781 2.394531-1.953125 5.292969-3.117187 8.363281-3.394531.085938-.007813.175781-.007813.261719-.011719.4375-.035156.875-.058594 1.316406-.054687 4.195313.058593 8.09375 1.773437 10.984375 4.824218 5.671875 5.996094 5.367188 15.792969-.679687 21.839844l-11.871094 11.871094c-6.003906 6.003906-15.773438 6.003906-21.777344 0-6.003906-6.007813-6.003906-15.777344 0-21.78125zm31.496094 62.484375c-2.910156-2.90625-4.511719-6.773438-4.511719-10.886719s1.601563-7.980469 4.511719-10.890625l23.738281-23.738281c4.546875-4.546875 11.695313-5.792969 17.507813-3.023438 5.992187 2.855469 9.363281 9.359375 8.484375 15.902344-.46875 3.492188-2.09375 6.78125-4.585938 9.277344l-23.363281 23.359375c-2.910156 2.910156-6.777344 4.511719-10.890625 4.511719s-7.980469-1.601563-10.890625-4.511719zm35.84375 36.191406c-2.910156-2.90625-4.511719-6.773437-4.511719-10.886719 0-4.113281 1.601563-7.980468 4.511719-10.890625l23.734375-23.738281c4.863281-4.859375 12.664063-5.90625 18.617187-2.441406 5.4375 3.164062 8.285157 9.375 7.351563 15.5625-.511719 3.402344-2.128906 6.601562-4.5625 9.035156l-23.359375 23.359375c-2.910156 2.910156-6.777344 4.511719-10.890625 4.511719s-7.980469-1.601563-10.890625-4.511719zm40.828125 31.5625c-6.003906-6.003906-6.003906-15.773437 0-21.777344l12.242187-12.242187c.371094-.371094.757813-.71875 1.15625-1.046875.011719-.007813.019532-.015625.027344-.023438 1.992188-1.617187 4.332032-2.699219 6.828125-3.171875.058594-.007812.117188-.015625.175781-.023437.429688-.078125.867188-.140625 1.304688-.179688.175781-.015625.351562-.015625.53125-.027343.359375-.019532.714844-.042969 1.078125-.039063 4.191406.058594 8.09375 1.769531 10.984375 4.824219.355469.375.6875.765625.992188 1.167968 4.617187 6.035157 3.996093 15-1.734376 20.734376l-11.808593 11.808593c-6.003907 6.003907-15.773438 6-21.777344-.003906zm187.285156-112.042969c-6.003906 6.007813-15.773437 6.003906-21.777343 0-.21875-.21875-.449219-.421875-.683594-.613281l-64.554688-65.234375c-3.902344-3.941406-10.257812-3.972656-14.199218-.070312-3.941407 3.898437-3.972657 10.253906-.074219 14.195312l65.253906 65.933594c.007813.007812.015625.015625.023437.023437 6.003907 6.003907 6.003907 15.777344 0 21.78125-2.910156 2.910157-6.777343 4.511719-10.890624 4.511719-4.117188 0-7.984376-1.601562-10.890626-4.511719l-43.652343-44.105469c-3.898438-3.941406-10.253907-3.972656-14.195313-.074218-3.941406 3.902344-3.972656 10.257812-.074218 14.199218l42.984374 43.429688c.21875.273438.453126.535156.703126.785156 6.003906 6.003906 6.003906 15.777344 0 21.78125-6.007813 6.003906-15.78125 6-21.785157-.003906l-23.824219-24.074219c-3.902343-3.941406-10.257812-3.976562-14.199218-.074219-3.941406 3.898438-3.972656 10.253907-.074219 14.195313l23.160156 23.398437c.21875.273438.453125.539063.707031.789063 6.003907 6.003906 6.003907 15.777344 0 21.78125-6.003906 6.007813-15.773437 6.003906-21.777343 0-.691407-.691406-1.503907-1.222656-2.277344-1.816406-.65625-.5-.828125-.847657-.5-1.644531.332031-.808594.828125-1.539063 1.160156-2.351563.367188-.90625.664063-1.839844.953125-2.777344 1.539063-4.960937 1.992188-10.296875 1.300782-15.445312-1.328126-9.878907-6.761719-18.792969-14.996094-24.433594-4.449219-3.042969-9.597656-5.039063-14.933594-5.789063 2.585938-11.40625-.519531-23.773437-8.597656-32.308593-6.648438-7.023438-15.628906-10.964844-25.289063-11.097657-.351562-.003906-.703125-.003906-1.058593 0 .214843-9.21875-3.136719-18.378906-9.492188-25.09375-6.652344-7.023437-15.632812-10.964843-25.289062-11.097656-2.871094-.039062-5.769532.265625-8.566407.910156-1.195312-8.316406-5.386719-16.011718-11.734375-21.515624-6.308594-5.460938-14.242187-8.492188-22.691406-8.609376-8.894531-.128906-17.632812 3.152344-24.238281 9.117188l-38.808594-52.292969 92.84375-113.109375 29.589844 8.09375-38.644531 68.191406c-4.671876 8.246094-5.851563 17.816407-3.324219 26.949219 2.527343 9.136719 8.457031 16.738281 16.703125 21.410157.515625.292968 1.035156.570312 1.5625.835937.039062.019531.078125.039063.121094.058594 1.386718.691406 2.8125 1.285156 4.257812 1.785156 6.730469 2.332031 14 2.585937 21.011719.648437 9.132812-2.527343 16.734375-8.460937 21.40625-16.703124l25.113281-44.316407 44.839844 3.179688 119.402344 119.398437c6 6.007813 6 15.777344-.003907 21.78125zm4.160157-46.019531-112.011719-112.007813c-.210938-.214843-.433594-.417968-.664063-.609374-1.613281-1.34375-3.613281-2.15625-5.722656-2.304688l-54.902344-3.894531c-3.796875-.261719-7.570312 1.757812-9.445312 5.066406l-28.234375 49.828125c-2.027344 3.578125-5.328125 6.152344-9.292969 7.25-3.960938 1.097656-8.117188.582031-11.699219-1.445312-3.578125-2.027344-6.152343-5.328126-7.25-9.292969-1.097656-3.964844-.585937-8.121094 1.445313-11.699219l37.691406-66.519531 15.273438-4.394531c.101562-.03125.199218-.070313.300781-.101563l57.003906-16.460937h68.875l85.984375 109.304687zm40.503906-73.039063-79.515625-101.136718 40.582031-25.808594 74.300781 96.511719zm0 0" }), _jsx("path", { d: "m310.183594 117.53125c2.570312 0 5.140625-.980469 7.101562-2.941406l68.578125-68.578125c3.921875-3.921875 3.921875-10.277344 0-14.199219s-10.277343-3.921875-14.199219 0l-68.578124 68.578125c-3.921876 3.921875-3.921876 10.277344 0 14.199219 1.960937 1.960937 4.53125 2.941406 7.097656 2.941406zm0 0" }), _jsx("path", { d: "m194.714844 114.589844c1.960937 1.960937 4.53125 2.941406 7.101562 2.941406 2.566406 0 5.136719-.980469 7.097656-2.941406 3.921876-3.921875 3.921876-10.277344 0-14.199219l-68.578124-68.578125c-3.921876-3.921875-10.277344-3.921875-14.199219 0s-3.921875 10.277344 0 14.199219zm0 0" }), _jsx("path", { d: "m256 117.53125c5.542969 0 10.039062-4.496094 10.039062-10.039062v-56.753907c0-5.542969-4.496093-10.039062-10.039062-10.039062s-10.039062 4.496093-10.039062 10.039062v56.753907c0 5.542968 4.496093 10.039062 10.039062 10.039062zm0 0" }), _jsx("path", { d: "m246.734375 14.351562c1.59375 3.863282 5.566406 6.398438 9.757813 6.179688 4.140624-.214844 7.777343-3.011719 9.058593-6.953125 1.285157-3.972656-.113281-8.5-3.441406-11.03125-3.394531-2.5859375-8.128906-2.730469-11.679687-.382813-3.960938 2.617188-5.496094 7.828126-3.695313 12.1875zm0 0" })] })));
|
|
16
|
+
};
|
|
17
|
+
export default HandShakeIcon;
|
|
@@ -5,7 +5,7 @@ export declare enum FormTypes {
|
|
|
5
5
|
export declare enum FormStyleTypes {
|
|
6
6
|
MATERIAL = "MATERIAL"
|
|
7
7
|
}
|
|
8
|
-
declare enum
|
|
8
|
+
export declare enum StepTypes {
|
|
9
9
|
TITLE = "TITLE",
|
|
10
10
|
RATING = "RATING",
|
|
11
11
|
CHECKBOX = "CHECKBOX",
|
|
@@ -15,7 +15,9 @@ declare enum TYPES {
|
|
|
15
15
|
TEXTINPUT = "TEXTINPUT",
|
|
16
16
|
SEPARATOR = "SEPARATOR",
|
|
17
17
|
SELECTOR = "SELECTOR",
|
|
18
|
-
CLASSIFIER_SELECTOR = "CLASSIFIER_SELECTOR"
|
|
18
|
+
CLASSIFIER_SELECTOR = "CLASSIFIER_SELECTOR",
|
|
19
|
+
MAPPER = "MAPPER",
|
|
20
|
+
ENTITYVALUEPICKER = "ENTITYVALUEPICKER"
|
|
19
21
|
}
|
|
20
22
|
export declare enum OptionTypes {
|
|
21
23
|
DEFAULT = "DEFAULT",
|
|
@@ -31,4 +33,8 @@ export declare enum RatingTypes {
|
|
|
31
33
|
SATISFACTION = "SATISFACTION",
|
|
32
34
|
LIKE = "LIKE"
|
|
33
35
|
}
|
|
34
|
-
export default
|
|
36
|
+
export default StepTypes;
|
|
37
|
+
export declare enum MapperStyleTypes {
|
|
38
|
+
PILL = "PILL",
|
|
39
|
+
LIST = "LIST"
|
|
40
|
+
}
|
|
@@ -7,19 +7,21 @@ export var FormStyleTypes;
|
|
|
7
7
|
(function (FormStyleTypes) {
|
|
8
8
|
FormStyleTypes["MATERIAL"] = "MATERIAL";
|
|
9
9
|
})(FormStyleTypes || (FormStyleTypes = {}));
|
|
10
|
-
var
|
|
11
|
-
(function (
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
10
|
+
export var StepTypes;
|
|
11
|
+
(function (StepTypes) {
|
|
12
|
+
StepTypes["TITLE"] = "TITLE";
|
|
13
|
+
StepTypes["RATING"] = "RATING";
|
|
14
|
+
StepTypes["CHECKBOX"] = "CHECKBOX";
|
|
15
|
+
StepTypes["TEXTAREA"] = "TEXTAREA";
|
|
16
|
+
StepTypes["DATEPICKER"] = "DATEPICKER";
|
|
17
|
+
StepTypes["FILEUPLOAD"] = "FILEUPLOAD";
|
|
18
|
+
StepTypes["TEXTINPUT"] = "TEXTINPUT";
|
|
19
|
+
StepTypes["SEPARATOR"] = "SEPARATOR";
|
|
20
|
+
StepTypes["SELECTOR"] = "SELECTOR";
|
|
21
|
+
StepTypes["CLASSIFIER_SELECTOR"] = "CLASSIFIER_SELECTOR";
|
|
22
|
+
StepTypes["MAPPER"] = "MAPPER";
|
|
23
|
+
StepTypes["ENTITYVALUEPICKER"] = "ENTITYVALUEPICKER";
|
|
24
|
+
})(StepTypes || (StepTypes = {}));
|
|
23
25
|
export var OptionTypes;
|
|
24
26
|
(function (OptionTypes) {
|
|
25
27
|
OptionTypes["DEFAULT"] = "DEFAULT";
|
|
@@ -37,4 +39,9 @@ export var RatingTypes;
|
|
|
37
39
|
RatingTypes["SATISFACTION"] = "SATISFACTION";
|
|
38
40
|
RatingTypes["LIKE"] = "LIKE";
|
|
39
41
|
})(RatingTypes || (RatingTypes = {}));
|
|
40
|
-
export default
|
|
42
|
+
export default StepTypes;
|
|
43
|
+
export var MapperStyleTypes;
|
|
44
|
+
(function (MapperStyleTypes) {
|
|
45
|
+
MapperStyleTypes["PILL"] = "PILL";
|
|
46
|
+
MapperStyleTypes["LIST"] = "LIST";
|
|
47
|
+
})(MapperStyleTypes || (MapperStyleTypes = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export var IconTypes;
|
|
2
|
+
(function (IconTypes) {
|
|
3
|
+
IconTypes["PROJECT"] = "PROJECT";
|
|
4
|
+
IconTypes["PROPERTY"] = "PROPERTY";
|
|
5
|
+
IconTypes["SPACE"] = "SPACE";
|
|
6
|
+
IconTypes["LEAK"] = "LEAK";
|
|
7
|
+
IconTypes["DOCUMENT"] = "DOCUMENT";
|
|
8
|
+
IconTypes["HANDSHAKE"] = "HANDSHAKE";
|
|
9
|
+
IconTypes["GENERIC"] = "GENERIC";
|
|
10
|
+
})(IconTypes || (IconTypes = {}));
|
|
11
|
+
export default IconTypes;
|