@arquimedes.co/eureka-forms 2.0.111 → 2.0.113

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.
@@ -208,7 +208,7 @@ export var calcMapperSubSteps = function (step, elements, customSteps) {
208
208
  return newSteps;
209
209
  };
210
210
  function calcStepDependency(idStep, steps, values, customSteps) {
211
- var _a, _b, _c;
211
+ var _a, _b, _c, _d;
212
212
  var depStep = steps[idStep];
213
213
  if (!depStep) {
214
214
  var originalValue_1 = values.global[idStep];
@@ -226,7 +226,7 @@ function calcStepDependency(idStep, steps, values, customSteps) {
226
226
  console.error('Missing stepPath', depStep);
227
227
  return {
228
228
  type: depStep.type,
229
- idOriginal: (_c = depStep.stepPath[0]) !== null && _c !== void 0 ? _c : [idStep],
229
+ idOriginal: (_d = (_c = depStep.stepPath) === null || _c === void 0 ? void 0 : _c[0]) !== null && _d !== void 0 ? _d : [idStep],
230
230
  value: calcStepDependencyValue(depStep, originalValue, customSteps),
231
231
  dependents: [],
232
232
  };
@@ -0,0 +1,2 @@
1
+ declare const SchoolIcon: (props: any) => any;
2
+ export default SchoolIcon;
@@ -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 } from "react/jsx-runtime";
13
+ var SchoolIcon = function (props) {
14
+ var _a;
15
+ return (_jsx("svg", __assign({ version: "1.1", width: "511pt", height: "511pt", 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: "M5 13.18v2.81c0 .73.4 1.41 1.04 1.76l5 2.73c.6.33 1.32.33 1.92 0l5-2.73c.64-.35 1.04-1.03 1.04-1.76v-2.81l-6.04 3.3c-.6.33-1.32.33-1.92 0zm6.04-9.66-8.43 4.6c-.69.38-.69 1.38 0 1.76l8.43 4.6c.6.33 1.32.33 1.92 0L21 10.09V16c0 .55.45 1 1 1s1-.45 1-1V9.59c0-.37-.2-.7-.52-.88l-9.52-5.19a2.04 2.04 0 0 0-1.92 0" }) })));
16
+ };
17
+ export default SchoolIcon;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from './@IconTypes';
3
+ declare const GroupIcon: ({ className, style, fill }: IconProps) => JSX.Element;
4
+ export default GroupIcon;
@@ -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 } from "react/jsx-runtime";
13
+ var GroupIcon = function (_a) {
14
+ var className = _a.className, style = _a.style, fill = _a.fill;
15
+ return (_jsx("svg", __assign({ fill: fill, style: style, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M12 12.75c1.63 0 3.07.39 4.24.9 1.08.48 1.76 1.56 1.76 2.73V17c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-.61c0-1.18.68-2.26 1.76-2.73 1.17-.52 2.61-.91 4.24-.91M4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m1.13 1.1c-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58C.48 14.9 0 15.62 0 16.43V17c0 .55.45 1 1 1h3.5v-1.61c0-.83.23-1.61.63-2.29M20 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m4 3.43c0-.81-.48-1.53-1.22-1.85-.85-.37-1.79-.58-2.78-.58-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V18H23c.55 0 1-.45 1-1zM12 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3" }) })));
16
+ };
17
+ export default GroupIcon;
@@ -30,7 +30,9 @@ import DocumentIcon from '../../Icons/DocumentIcon';
30
30
  import CheckListIcon from '../../Icons/Entities/CheckListIcon';
31
31
  import GenericEntityIcon from '../../Icons/Entities/GenericEntityIcon';
32
32
  import HandShakeIcon from '../../Icons/Entities/HandshakeIcon';
33
+ import SchoolIcon from '../../Icons/Entities/SchoolIcon';
33
34
  import SupplierIcon from '../../Icons/Entities/SupplierIcon';
35
+ import GroupIcon from '../../Icons/GroupIcon';
34
36
  import LocationIcon from '../../Icons/LocationIcon';
35
37
  import PersonIcon from '../../Icons/PersonIcon';
36
38
  import IconTypes from '../../constants/IconTypes';
@@ -104,6 +106,18 @@ function InputIcon(_a) {
104
106
  height: 23,
105
107
  width: 23,
106
108
  }, fill: fill }, others)));
109
+ case IconTypes.SCHOOL:
110
+ return (_jsx(SchoolIcon, __assign({ style: {
111
+ display: 'flex',
112
+ height: 23,
113
+ width: 23,
114
+ }, fill: fill }, others)));
115
+ case IconTypes.GROUP:
116
+ return (_jsx(GroupIcon, __assign({ style: {
117
+ display: 'flex',
118
+ height: 23,
119
+ width: 23,
120
+ }, fill: fill }, others)));
107
121
  case IconTypes.GENERIC:
108
122
  default:
109
123
  return (_jsx(GenericEntityIcon, __assign({ style: {
@@ -10,6 +10,8 @@ export declare enum IconTypes {
10
10
  SUPPLIER = "SUPPLIER",
11
11
  GENERIC = "GENERIC",
12
12
  LOCATION = "LOCATION",
13
- CALENDAR = "CALENDAR"
13
+ CALENDAR = "CALENDAR",
14
+ SCHOOL = "SCHOOL",
15
+ GROUP = "GROUP"
14
16
  }
15
17
  export default IconTypes;
@@ -12,5 +12,7 @@ export var IconTypes;
12
12
  IconTypes["GENERIC"] = "GENERIC";
13
13
  IconTypes["LOCATION"] = "LOCATION";
14
14
  IconTypes["CALENDAR"] = "CALENDAR";
15
+ IconTypes["SCHOOL"] = "SCHOOL";
16
+ IconTypes["GROUP"] = "GROUP";
15
17
  })(IconTypes || (IconTypes = {}));
16
18
  export default IconTypes;
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": "2.0.111",
4
+ "version": "2.0.113",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",