@arquimedes.co/eureka-forms 1.9.50-test → 1.9.51-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.
@@ -1,6 +1,6 @@
1
1
  import Types, { ClassifierOptionTypes, OptionTypes, RatingTypes, MapperStyleTypes } from '../constants/FormStepTypes';
2
2
  import * as GSteps from './GenericFormSteps';
3
- export type FormStep = Title | Rating | CheckBox | TextArea | TextInput | DatePicker | FileUpload | Separator | FormSelector | ClassifierSelector | EntityValuePicker | Mapper;
3
+ export type FormStep = Title | Rating | CheckBox | TextArea | TextInput | DatePicker | FileUpload | Separator | FormSelector | ClassifierSelector | Collapsible | EntityValuePicker | Mapper;
4
4
  export interface Title extends GSteps.GBaseStep {
5
5
  type: Types.TITLE;
6
6
  title: string;
@@ -36,6 +36,11 @@ export interface TextInput extends GSteps.GTextInput {
36
36
  export interface DatePicker extends GSteps.GDatePicker {
37
37
  type: Types.DATEPICKER;
38
38
  }
39
+ export interface Collapsible extends GSteps.GBaseStep {
40
+ type: Types.COLLAPSIBLE;
41
+ label: string;
42
+ steps: string[];
43
+ }
39
44
  export interface FormSelector extends GSteps.GBaseStep {
40
45
  type: Types.SELECTOR;
41
46
  label: string;
@@ -159,12 +159,12 @@ function ColumnForm(_a) {
159
159
  return (_jsxs("div", __assign({ className: styles.container, style: { color: formStyle.textColor } }, { children: [loading && _jsx("div", { className: styles.curtain }), showConfirmation !== undefined && (_jsx(ConfirmationDialog, { formStyle: formStyle, confirmation: showConfirmation, onClose: function () {
160
160
  reload();
161
161
  setShowConfirmation(undefined);
162
- } })), sections.map(function (idSection, index) { return (_jsx(SectionComponent, __assign({ form: form, sendLabel: sendLabel, domain: domain, postview: postview, clearErrors: clearErrors, widthStats: widthStats, control: control, getValues: getValues, originalValues: originalValues, errors: errors, index: index, setSections: setSections, section: form.sections[idSection], formStyle: formStyle, customSteps: customSteps, setDependencyStore: setDependencyStore, dependencyStore: dependencyStore, setFocus: setFocus }, others), index)); }), form.terms &&
162
+ } })), sections.map(function (idSection, index) { return (_jsx(SectionComponent, __assign({ form: form, sendLabel: sendLabel, domain: domain, postview: postview, clearErrors: clearErrors, widthStats: widthStats, control: control, getValues: getValues, originalValues: originalValues, errors: errors, index: index, setSections: setSections, section: form.sections[idSection], formStyle: formStyle, customSteps: customSteps, setDependencyStore: setDependencyStore, dependencyStore: dependencyStore, setFocus: setFocus }, others), idSection)); }), form.terms &&
163
163
  (!internal || (internal && postview)) &&
164
164
  (originalValues === null || originalValues === void 0 ? void 0 : originalValues['INTERNAL_CREATING_AGENT']) === undefined && (_jsx("div", __assign({ className: styles.termsContainer, style: {
165
165
  width: (form.size.blockSize + form.size.spacingSize) *
166
166
  form.size.blockNum,
167
- } }, { children: form.terms.map(function (term, index) { return (_jsx(TermComponent, { setValue: setValue, postview: postview, tempError: tempError, term: term, control: control, errors: errors, form: form, formStyle: formStyle }, index)); }) }))), !postview && others.editable && (_jsxs(React.Fragment, { children: [form.hasCaptcha && !internal && (_jsx(ReCAPTCHA, { ref: recaptchaRef, sitekey: "6LcL22kkAAAAAEotDeAFbRATob-u5vbibbCyWL2p", size: 'invisible', badge: 'bottomright' })), !customSubmit && (_jsx("div", __assign({ className: styles.submitBtnContainer }, { children: _jsxs("button", __assign({ "data-testid": "form__submit", className: styles.submitBtn, onClick: function () { return __awaiter(_this, void 0, void 0, function () {
167
+ } }, { children: form.terms.map(function (term) { return (_jsx(TermComponent, { setValue: setValue, postview: postview, tempError: tempError, term: term, control: control, errors: errors, form: form, formStyle: formStyle }, term.id)); }) }))), !postview && others.editable && (_jsxs(React.Fragment, { children: [form.hasCaptcha && !internal && (_jsx(ReCAPTCHA, { ref: recaptchaRef, sitekey: "6LcL22kkAAAAAEotDeAFbRATob-u5vbibbCyWL2p", size: 'invisible', badge: 'bottomright' })), !customSubmit && (_jsx("div", __assign({ className: styles.submitBtnContainer }, { children: _jsxs("button", __assign({ "data-testid": "form__submit", className: styles.submitBtn, onClick: function () { return __awaiter(_this, void 0, void 0, function () {
168
168
  var valid, captcha;
169
169
  return __generator(this, function (_a) {
170
170
  switch (_a.label) {
@@ -256,6 +256,9 @@ var calcValue = function (idStep, steps, values, customSteps, value) {
256
256
  case Types.CLASSIFIER_SELECTOR: {
257
257
  return value.value;
258
258
  }
259
+ case Types.COLLAPSIBLE: {
260
+ return !!value;
261
+ }
259
262
  case Types.MAPPER: {
260
263
  var elements = value === null || value === void 0 ? void 0 : value.filter(function (element) { return element.deleted !== true; });
261
264
  var mappedValues = [];
@@ -34,20 +34,20 @@ function MaterialSection(_a) {
34
34
  widthStats.currentBreakPoint < form.size.blockNum
35
35
  ? 'center'
36
36
  : 'normal',
37
- } }, { children: section.steps.map(function (idStep, index) {
37
+ } }, { children: section.steps.map(function (idStep) {
38
38
  var step = form.steps[idStep];
39
39
  //If partial is active only display steps with originalValues
40
40
  if (postview &&
41
41
  partial &&
42
42
  originalValues[idStep] === undefined) {
43
- return _jsx("div", {}, index);
43
+ return _jsx("div", {}, idStep);
44
44
  }
45
45
  else if (step) {
46
- return (_createElement(StepComponent, __assign({}, others, { widthStats: widthStats, form: form, step: step, key: index, level: 0 })));
46
+ return (_createElement(StepComponent, __assign({}, others, { widthStats: widthStats, form: form, step: step, key: idStep, level: 0 })));
47
47
  }
48
48
  else {
49
49
  console.error('Step not found:', idStep);
50
- return _jsx("div", {}, index);
50
+ return _jsx("div", {}, idStep);
51
51
  }
52
52
  }) })));
53
53
  }
@@ -83,9 +83,9 @@ function ClassifierSelector(_a) {
83
83
  if (value) {
84
84
  var currentOption = step.options[value.value];
85
85
  if ((currentOption === null || currentOption === void 0 ? void 0 : currentOption.type) === ClassifierOptionTypes.NESTED) {
86
- return (_jsx(React.Fragment, { children: currentOption.steps.map(function (idStep, index) {
86
+ return (_jsx(React.Fragment, { children: currentOption.steps.map(function (idStep) {
87
87
  var subStep = form.steps[idStep];
88
- return (_createElement(StepComponent, __assign({}, others, { postview: postview, editable: editable, widthStats: widthStats, getValues: getValues, formStyle: formStyle, errors: errors, form: form, control: control, step: subStep, key: index, level: level + 1, handleSizeChange: function () {
88
+ return (_createElement(StepComponent, __assign({}, others, { postview: postview, editable: editable, widthStats: widthStats, getValues: getValues, formStyle: formStyle, errors: errors, form: form, control: control, step: subStep, key: idStep, level: level + 1, handleSizeChange: function () {
89
89
  sizeChange();
90
90
  } })));
91
91
  }) }));
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { Collapsible } from '../../../@Types/FormStep';
3
+ import { StepProps } from '../Step';
4
+ export interface CollapsibleStepProps extends StepProps {
5
+ /** The CollapsibleStep to display */
6
+ step: Collapsible;
7
+ }
8
+ declare function CollapsibleStep({ step, formStyle, ...others }: CollapsibleStepProps): JSX.Element;
9
+ export default CollapsibleStep;
@@ -0,0 +1,37 @@
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
+ 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
+ };
23
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
24
+ import { FormStyleTypes } from '../../../constants/FormStepTypes';
25
+ import MaterialCollapsibleStep from './MaterialTitleStep/MaterialCollapsibleStep';
26
+ function CollapsibleStep(_a) {
27
+ var step = _a.step, formStyle = _a.formStyle, others = __rest(_a, ["step", "formStyle"]);
28
+ if (step.steps.length === 0)
29
+ return _jsx(_Fragment, {});
30
+ switch (formStyle.type) {
31
+ case FormStyleTypes.MATERIAL:
32
+ default: {
33
+ return (_jsx(MaterialCollapsibleStep, __assign({ step: step, formStyle: formStyle }, others)));
34
+ }
35
+ }
36
+ }
37
+ export default CollapsibleStep;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { CollapsibleStepProps } from '../CollapsibleStep';
3
+ declare function CollapsibleStep(props: CollapsibleStepProps): JSX.Element;
4
+ export default CollapsibleStep;
@@ -0,0 +1,75 @@
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
+ 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
+ };
23
+ import { createElement as _createElement } from "react";
24
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
+ import React, { useEffect } from 'react';
26
+ import styles from './MaterialCollapsibleStep.module.css';
27
+ import { Controller } from 'react-hook-form';
28
+ import StepComponent from '../../Step';
29
+ import ExpandMoreRoundedIcon from '@material-ui/icons/ExpandMoreRounded';
30
+ import ExpandLessRoundedIcon from '@material-ui/icons/ExpandLessRounded';
31
+ function Collapsible(_a) {
32
+ var _b, _c, _d, _e;
33
+ var step = _a.step, open = _a.open, setOpen = _a.setOpen, formStyle = _a.formStyle, widthStats = _a.widthStats, form = _a.form, errors = _a.errors, clearErrors = _a.clearErrors, others = __rest(_a, ["step", "open", "setOpen", "formStyle", "widthStats", "form", "errors", "clearErrors"]);
34
+ var contentRef = React.useRef(null);
35
+ useEffect(function () {
36
+ var _a;
37
+ if (!open && ((_a = step.dependencies) === null || _a === void 0 ? void 0 : _a.find(function (dep) { return !!errors[dep]; }))) {
38
+ setOpen('TRUE');
39
+ }
40
+ }, (_c = (_b = step.dependencies) === null || _b === void 0 ? void 0 : _b.map(function (dep) { return errors[dep]; })) !== null && _c !== void 0 ? _c : []);
41
+ return (_jsxs(React.Fragment, { children: [_jsxs("div", __assign({ className: styles.container, style: {
42
+ color: formStyle.textColor,
43
+ borderColor: formStyle.primaryColor,
44
+ } }, { children: [_jsx("div", __assign({ className: styles.collapsibleLabel, onClick: function () {
45
+ setOpen(!open);
46
+ } }, { children: step.label })), _jsx("div", __assign({ className: styles.expand, onClick: function () {
47
+ setOpen(!open);
48
+ } }, { children: _jsx("div", __assign({ className: styles.expandIcon }, { children: open ? (_jsx(ExpandLessRoundedIcon, { fontSize: "inherit" })) : (_jsx(ExpandMoreRoundedIcon, { fontSize: "inherit" })) })) }))] })), _jsx("div", __assign({ className: styles.content, style: {
49
+ height: open === 'TRUE'
50
+ ? 'auto'
51
+ : open
52
+ ? (_e = (_d = contentRef.current) === null || _d === void 0 ? void 0 : _d.offsetHeight) !== null && _e !== void 0 ? _e : 'auto'
53
+ : 0,
54
+ } }, { children: _jsx("div", __assign({ className: styles.contentContainer, ref: contentRef }, { children: step.steps.map(function (idSubStep) {
55
+ var subStep = form.steps[idSubStep];
56
+ return (_createElement(StepComponent, __assign({}, others, { clearErrors: clearErrors, errors: errors, formStyle: formStyle, form: form, widthStats: widthStats, step: subStep, key: idSubStep, handleSizeChange: function () { } })));
57
+ }) })) })), _jsx("div", { className: styles.separator, style: {
58
+ backgroundColor: formStyle.primaryColor,
59
+ } })] }));
60
+ }
61
+ function CollapsibleStep(props) {
62
+ return (_jsx(Controller, { name: props.step.id, control: props.control, defaultValue: props.postview ? false : true, render: function (_a) {
63
+ var _b = _a.field, value = _b.value, onChange = _b.onChange;
64
+ return (_jsx(Collapsible, __assign({}, props, { open: value, setOpen: function (open) {
65
+ var _a;
66
+ if (!open) {
67
+ var deps = (_a = props.step.dependencies) === null || _a === void 0 ? void 0 : _a.filter(function (dep) { return !!props.errors[dep]; });
68
+ if (deps)
69
+ props.clearErrors(deps);
70
+ }
71
+ onChange(open);
72
+ } })));
73
+ } }));
74
+ }
75
+ export default CollapsibleStep;
@@ -0,0 +1,62 @@
1
+ .container {
2
+ display: flex;
3
+ flex-direction: row;
4
+ width: 900px;
5
+ max-width: 100%;
6
+ margin-top: 5px;
7
+ }
8
+
9
+ .collapsibleLabel {
10
+ margin-top: 10px;
11
+ margin-bottom: 10px;
12
+ margin-left: 10px;
13
+ font-size: 20px;
14
+ font-weight: 600;
15
+ cursor: default;
16
+ text-align: start;
17
+ cursor: pointer;
18
+ -webkit-touch-callout: none; /* iOS Safari */
19
+ -webkit-user-select: none; /* Safari */
20
+ -khtml-user-select: none; /* Konqueror HTML */
21
+ -moz-user-select: none; /* Old versions of Firefox */
22
+ -ms-user-select: none; /* Internet Explorer/Edge */
23
+ -o-user-select: none;
24
+ user-select: none; /* Non-prefixed version, currently */
25
+ }
26
+
27
+ .content {
28
+ width: 100%;
29
+ overflow: hidden;
30
+ transition: height ease 0.9s;
31
+ }
32
+
33
+ .contentContainer {
34
+ margin-left: auto;
35
+ margin-right: auto;
36
+ display: flex;
37
+ flex-flow: row wrap;
38
+ height: fit-content;
39
+ max-width: 100%;
40
+ width: 100%;
41
+ overflow-x: hidden;
42
+ overflow-y: hidden;
43
+ }
44
+ .expand {
45
+ display: flex;
46
+ justify-content: center;
47
+ align-items: center;
48
+ margin-left: 2px;
49
+ }
50
+ .expandIcon {
51
+ height: 24px;
52
+ width: 24px;
53
+ font-size: 24px;
54
+ cursor: pointer;
55
+ }
56
+
57
+ .separator {
58
+ height: 1px;
59
+ width: calc(100% - 20px);
60
+ margin-left: 10px;
61
+ border-radius: 20px;
62
+ }
@@ -29,11 +29,11 @@ function MapperElementComponent(_a) {
29
29
  if (element.deleted) {
30
30
  return _jsx("div", {});
31
31
  }
32
- return (_jsx(PillElementContainer, __assign({ handleDelete: handleDelete }, others, { step: step, size: form.size }, { children: step.rootSteps.map(function (idSubStep, index) {
32
+ return (_jsx(PillElementContainer, __assign({ handleDelete: handleDelete }, others, { step: step, size: form.size }, { children: step.rootSteps.map(function (idSubStep) {
33
33
  var subStep = form.steps[element.ids[idSubStep]];
34
34
  if (!subStep)
35
35
  return _jsx("div", {});
36
- return (_createElement(StepComponent, __assign({}, others, { form: form, step: subStep, key: index, level: level + 1 })));
36
+ return (_createElement(StepComponent, __assign({}, others, { form: form, step: subStep, key: idSubStep, level: level + 1 })));
37
37
  }) })));
38
38
  }
39
39
  export default MapperElementComponent;
@@ -112,11 +112,11 @@ function Elements(_a) {
112
112
  margin: step.description
113
113
  ? '10px 0px'
114
114
  : '0px 0px 5px 0px',
115
- } }, { children: step.description }))), elements.map(function (incident, index) { return (_jsx(MapperElementComponent, __assign({ num: index, element: incident, formStyle: formStyle, step: step, form: __assign(__assign({}, form), { steps: __assign(__assign({}, form.steps), localSteps) }), editable: editable, postview: postview, dependencyStore: dependencyStore, setDependencyStore: setDependencyStore, handleDelete: function () {
115
+ } }, { children: step.description }))), elements.map(function (element, index) { return (_jsx(MapperElementComponent, __assign({ num: index, element: element, formStyle: formStyle, step: step, form: __assign(__assign({}, form), { steps: __assign(__assign({}, form.steps), localSteps) }), editable: editable, postview: postview, dependencyStore: dependencyStore, setDependencyStore: setDependencyStore, handleDelete: function () {
116
116
  var tempElements = __spreadArray([], elements, true);
117
117
  tempElements[index].deleted = true;
118
118
  onChange(tempElements);
119
- } }, others), index)); }), _jsxs("div", __assign({ className: styles.btnContainer }, { children: [_jsx("input", { ref: btnRef, className: styles.hiddenInput }), step.creatable !== false && (_jsx(RoundedButton, { disabled: !editable || postview, text: step.addBtnLabel, color: formStyle.primaryContrastColor, backgroundColor: formStyle.primaryColor, fontSize: '1rem', padding: '5px 15px 5px 15px', onClick: function () {
119
+ } }, others), element.id)); }), _jsxs("div", __assign({ className: styles.btnContainer }, { children: [_jsx("input", { ref: btnRef, className: styles.hiddenInput }), step.creatable !== false && (_jsx(RoundedButton, { disabled: !editable || postview, text: step.addBtnLabel, color: formStyle.primaryContrastColor, backgroundColor: formStyle.primaryColor, fontSize: '1rem', padding: '5px 15px 5px 15px', onClick: function () {
120
120
  if (editable && !postview) {
121
121
  handleAddElement();
122
122
  }
@@ -187,6 +187,14 @@ function calcRecursiveData(element, newSteps, deps, originalValues) {
187
187
  }
188
188
  }
189
189
  break;
190
+ case StepTypes.COLLAPSIBLE: {
191
+ for (var i = 0; i < step.steps.length; i++) {
192
+ var idStep_4 = step.steps[i];
193
+ var newId = element.ids[idStep_4];
194
+ step.steps[i] = newId;
195
+ }
196
+ break;
197
+ }
190
198
  case StepTypes.ENTITYVALUEPICKER:
191
199
  for (var _h = 0, _j = step.filters; _h < _j.length; _h++) {
192
200
  var filter = _j[_h];
@@ -41,9 +41,9 @@ function MaterialRatingStep(_a) {
41
41
  currentOption = step.nestedSteps[value - 1];
42
42
  }
43
43
  if (currentOption && currentOption.length > 0) {
44
- return (_jsx(React.Fragment, { children: currentOption.map(function (idSubStep, index) {
44
+ return (_jsx(React.Fragment, { children: currentOption.map(function (idSubStep) {
45
45
  var subStep = form.steps[idSubStep];
46
- return (_createElement(StepComponent, __assign({}, others, { form: form, postview: postview, editable: editable, formStyle: formStyle, errors: errors, widthStats: widthStats, step: subStep, key: index, level: level + 1 })));
46
+ return (_createElement(StepComponent, __assign({}, others, { form: form, postview: postview, editable: editable, formStyle: formStyle, errors: errors, widthStats: widthStats, step: subStep, key: idSubStep, level: level + 1 })));
47
47
  }) }));
48
48
  }
49
49
  }
@@ -67,9 +67,9 @@ function Selector(_a) {
67
67
  }
68
68
  if ((currentOption === null || currentOption === void 0 ? void 0 : currentOption.type) === OptionTypes.NESTED &&
69
69
  currentOptionIndex !== null) {
70
- return (_jsx(React.Fragment, { children: currentOption.steps.map(function (idSubStep, index) {
70
+ return (_jsx(React.Fragment, { children: currentOption.steps.map(function (idSubStep) {
71
71
  var subStep = form.steps[idSubStep];
72
- return (_createElement(StepComponent, __assign({}, others, { postview: postview, editable: editable, formStyle: formStyle, form: form, getValues: getValues, errors: errors, control: control, widthStats: widthStats, step: subStep, key: index, level: level + 1, handleSizeChange: function () {
72
+ return (_createElement(StepComponent, __assign({}, others, { postview: postview, editable: editable, formStyle: formStyle, form: form, getValues: getValues, errors: errors, control: control, widthStats: widthStats, step: subStep, key: idSubStep, level: level + 1, handleSizeChange: function () {
73
73
  sizeChange();
74
74
  } })));
75
75
  }) }));
@@ -36,6 +36,7 @@ import RatingStep from './RatingStep/RatingStep';
36
36
  import AYFStepMapper from './AYFStepMapper';
37
37
  import EntityValuePickerStep from './EntityValueStep/EntityValueStep';
38
38
  import MapperStep from './MapperStep/MapperStep';
39
+ import CollapsibleStep from './CollapsibleStep/CollapsibleStep';
39
40
  function StepComponent(_a) {
40
41
  var _b;
41
42
  var step = _a.step, props = __rest(_a, ["step"]);
@@ -74,6 +75,9 @@ function StepComponent(_a) {
74
75
  case Types.RATING: {
75
76
  return _jsx(RatingStep, __assign({ step: step }, props));
76
77
  }
78
+ case Types.COLLAPSIBLE: {
79
+ return _jsx(CollapsibleStep, __assign({ step: step }, props));
80
+ }
77
81
  case Types.ENTITYVALUEPICKER: {
78
82
  return (_jsx(EntityValuePickerStep, __assign({ step: step }, props)));
79
83
  }
@@ -16,6 +16,7 @@ export declare enum StepTypes {
16
16
  SEPARATOR = "SEPARATOR",
17
17
  SELECTOR = "SELECTOR",
18
18
  CLASSIFIER_SELECTOR = "CLASSIFIER_SELECTOR",
19
+ COLLAPSIBLE = "COLLAPSIBLE",
19
20
  MAPPER = "MAPPER",
20
21
  ENTITYVALUEPICKER = "ENTITYVALUEPICKER"
21
22
  }
@@ -19,6 +19,7 @@ export var StepTypes;
19
19
  StepTypes["SEPARATOR"] = "SEPARATOR";
20
20
  StepTypes["SELECTOR"] = "SELECTOR";
21
21
  StepTypes["CLASSIFIER_SELECTOR"] = "CLASSIFIER_SELECTOR";
22
+ StepTypes["COLLAPSIBLE"] = "COLLAPSIBLE";
22
23
  StepTypes["MAPPER"] = "MAPPER";
23
24
  StepTypes["ENTITYVALUEPICKER"] = "ENTITYVALUEPICKER";
24
25
  })(StepTypes || (StepTypes = {}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version":"1.9.50-test",
4
+ "version":"1.9.51-test",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",