@xelto.npm/xc2-lib 0.0.71 → 0.0.73
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/index.cjs.js +147 -79
- package/dist/index.esm.js +147 -79
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -52615,17 +52615,19 @@ var StyledHeaderDescriptionWrapper = styled$1(Box$1)(function (_ref2) {
|
|
|
52615
52615
|
var AppTileComponent = function AppTileComponent(_ref3) {
|
|
52616
52616
|
var header = _ref3.header,
|
|
52617
52617
|
description = _ref3.description,
|
|
52618
|
-
|
|
52618
|
+
_ref3$illustrationNam = _ref3.illustrationName,
|
|
52619
|
+
illustrationName = _ref3$illustrationNam === void 0 ? 'ilu_availability_by_item' : _ref3$illustrationNam,
|
|
52619
52620
|
_ref3$forwardedRef = _ref3.forwardedRef,
|
|
52620
|
-
forwardedRef = _ref3$forwardedRef === void 0 ?
|
|
52621
|
-
|
|
52622
|
-
|
|
52623
|
-
|
|
52624
|
-
|
|
52621
|
+
forwardedRef = _ref3$forwardedRef === void 0 ? function () {} : _ref3$forwardedRef,
|
|
52622
|
+
onClick = _ref3.onClick;
|
|
52623
|
+
return /*#__PURE__*/React.createElement(StyledAppTileWrapper, {
|
|
52624
|
+
ref: forwardedRef,
|
|
52625
|
+
onClick: onClick
|
|
52626
|
+
}, /*#__PURE__*/React.createElement(Illustration, {
|
|
52625
52627
|
illustrationName: illustrationName,
|
|
52626
|
-
color:
|
|
52627
|
-
size:
|
|
52628
|
-
isBigType:
|
|
52628
|
+
color: '',
|
|
52629
|
+
size: '',
|
|
52630
|
+
isBigType: false
|
|
52629
52631
|
}), /*#__PURE__*/React.createElement(StyledHeaderDescriptionWrapper, null, /*#__PURE__*/React.createElement(TypographyComponent, {
|
|
52630
52632
|
text: header,
|
|
52631
52633
|
type: 'app-tile-header',
|
|
@@ -52636,24 +52638,29 @@ var AppTileComponent = function AppTileComponent(_ref3) {
|
|
|
52636
52638
|
forwardedRef: forwardedRef
|
|
52637
52639
|
})));
|
|
52638
52640
|
};
|
|
52641
|
+
AppTileComponent.propTypes = {
|
|
52642
|
+
description: propTypes.exports.string,
|
|
52643
|
+
header: propTypes.exports.string,
|
|
52644
|
+
illustrationName: propTypes.exports.string,
|
|
52645
|
+
onClick: propTypes.exports.func,
|
|
52646
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
52647
|
+
current: propTypes.exports.any
|
|
52648
|
+
})])
|
|
52649
|
+
};
|
|
52639
52650
|
|
|
52640
52651
|
var _excluded$8 = ["type", "text", "size", "fluid", "color", "onClick", "disabled", "forwardedRef"];
|
|
52641
52652
|
var CustomButton = styled$1(Button$2)(function (_ref) {
|
|
52642
52653
|
var fluid = _ref.fluid;
|
|
52643
52654
|
return {
|
|
52644
52655
|
width: fluid ? '100%' : 'auto',
|
|
52645
|
-
// fontSize: '16px',
|
|
52646
|
-
// lineHeight: '15px',
|
|
52647
52656
|
borderRadius: '24px',
|
|
52648
52657
|
fontWeight: 'bold',
|
|
52649
52658
|
boxShadow: 'none',
|
|
52650
|
-
// padding: props => props.size === 'big' ? '34px 60px' : '4px 24px',
|
|
52651
52659
|
border: '2px solid #293072',
|
|
52652
52660
|
backgroundColor: theme.mainPallete.primary.white,
|
|
52653
52661
|
color: theme.mainPallete.primary.blue,
|
|
52654
52662
|
textTransform: 'uppercase',
|
|
52655
52663
|
fontFamily: ['"Barlow", sans-serif'],
|
|
52656
|
-
// backgroundColor: theme.mainPallete.primary.red,
|
|
52657
52664
|
'&:hover': {
|
|
52658
52665
|
boxShadow: 'none'
|
|
52659
52666
|
},
|
|
@@ -52823,7 +52830,6 @@ var CustomButton = styled$1(Button$2)(function (_ref) {
|
|
|
52823
52830
|
},
|
|
52824
52831
|
'&.big': {
|
|
52825
52832
|
padding: '21px',
|
|
52826
|
-
//PADDDINGi DO USTALENIA
|
|
52827
52833
|
fontSize: '16px',
|
|
52828
52834
|
lineHeight: '15px',
|
|
52829
52835
|
borderRadius: '31px',
|
|
@@ -52843,7 +52849,6 @@ var CustomButton = styled$1(Button$2)(function (_ref) {
|
|
|
52843
52849
|
},
|
|
52844
52850
|
'&.small': {
|
|
52845
52851
|
padding: '14px 21px',
|
|
52846
|
-
//PADDDINGi DO USTALENIA
|
|
52847
52852
|
fontSize: '16px',
|
|
52848
52853
|
lineHeight: '15px',
|
|
52849
52854
|
borderRadius: '24px',
|
|
@@ -52863,8 +52868,6 @@ var CustomButton = styled$1(Button$2)(function (_ref) {
|
|
|
52863
52868
|
}
|
|
52864
52869
|
};
|
|
52865
52870
|
});
|
|
52866
|
-
|
|
52867
|
-
// @ts-ignore
|
|
52868
52871
|
var CustomButtonComponent = function CustomButtonComponent(_ref2) {
|
|
52869
52872
|
var type = _ref2.type,
|
|
52870
52873
|
text = _ref2.text,
|
|
@@ -52878,7 +52881,6 @@ var CustomButtonComponent = function CustomButtonComponent(_ref2) {
|
|
|
52878
52881
|
var colorClassName = disabled ? 'grey' : color ? color : 'navy-blue'; // navy-blue / red / black / grey / special-green
|
|
52879
52882
|
var typeClassName = type || 'primary'; // primary / secondary / ghost
|
|
52880
52883
|
var sizeClassName = size || 'big'; // null / big / small
|
|
52881
|
-
// const behaviourClassName = behaviour || '';
|
|
52882
52884
|
var finalClassName = "".concat(typeClassName, " ").concat(colorClassName, " ").concat(sizeClassName);
|
|
52883
52885
|
return /*#__PURE__*/React__namespace.createElement(CustomButton, _extends$1e({
|
|
52884
52886
|
disabled: disabled,
|
|
@@ -52890,8 +52892,20 @@ var CustomButtonComponent = function CustomButtonComponent(_ref2) {
|
|
|
52890
52892
|
ref: forwardedRef
|
|
52891
52893
|
}, props), text);
|
|
52892
52894
|
};
|
|
52895
|
+
CustomButtonComponent.propTypes = {
|
|
52896
|
+
color: propTypes.exports.string,
|
|
52897
|
+
disabled: propTypes.exports.bool,
|
|
52898
|
+
fluid: propTypes.exports.bool,
|
|
52899
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
52900
|
+
current: propTypes.exports.any
|
|
52901
|
+
})]),
|
|
52902
|
+
onClick: propTypes.exports.func,
|
|
52903
|
+
size: propTypes.exports.string,
|
|
52904
|
+
type: propTypes.exports.string,
|
|
52905
|
+
text: propTypes.exports.string
|
|
52906
|
+
};
|
|
52893
52907
|
|
|
52894
|
-
var _excluded$7 = ["
|
|
52908
|
+
var _excluded$7 = ["color", "disabled", "fluid", "forwardedRef", "icon", "onClick", "text", "type"];
|
|
52895
52909
|
var CustomIconButton = styled$1(Button$2)(function (_ref) {
|
|
52896
52910
|
var fluid = _ref.fluid;
|
|
52897
52911
|
return {
|
|
@@ -52903,7 +52917,6 @@ var CustomIconButton = styled$1(Button$2)(function (_ref) {
|
|
|
52903
52917
|
textTransform: 'uppercase',
|
|
52904
52918
|
fontFamily: ['"Barlow", sans-serif'],
|
|
52905
52919
|
padding: '4px 25px 4px 21px',
|
|
52906
|
-
//PADDDINGi DO USTALENIA
|
|
52907
52920
|
fontSize: '16px',
|
|
52908
52921
|
lineHeight: '15px',
|
|
52909
52922
|
'@media(min-width: 1024px)': {
|
|
@@ -52912,7 +52925,6 @@ var CustomIconButton = styled$1(Button$2)(function (_ref) {
|
|
|
52912
52925
|
lineHeight: '16px',
|
|
52913
52926
|
borderRadius: '24px'
|
|
52914
52927
|
},
|
|
52915
|
-
// backgroundColor: theme.mainPallete.primary.red,
|
|
52916
52928
|
'&:hover': {
|
|
52917
52929
|
boxShadow: 'none',
|
|
52918
52930
|
'img': {
|
|
@@ -53085,23 +53097,22 @@ var CustomIconButton = styled$1(Button$2)(function (_ref) {
|
|
|
53085
53097
|
};
|
|
53086
53098
|
});
|
|
53087
53099
|
var IconButtonComponent = function IconButtonComponent(_ref2) {
|
|
53088
|
-
var
|
|
53089
|
-
|
|
53090
|
-
icon = _ref2.icon,
|
|
53091
|
-
color = _ref2.color,
|
|
53100
|
+
var color = _ref2.color,
|
|
53101
|
+
disabled = _ref2.disabled,
|
|
53092
53102
|
fluid = _ref2.fluid,
|
|
53093
|
-
onClick = _ref2.onClick,
|
|
53094
53103
|
forwardedRef = _ref2.forwardedRef,
|
|
53104
|
+
_ref2$icon = _ref2.icon,
|
|
53105
|
+
icon = _ref2$icon === void 0 ? 'icon_wf_download' : _ref2$icon,
|
|
53106
|
+
onClick = _ref2.onClick,
|
|
53107
|
+
text = _ref2.text,
|
|
53108
|
+
type = _ref2.type,
|
|
53095
53109
|
props = _objectWithoutProperties$1(_ref2, _excluded$7);
|
|
53096
|
-
var colorClassName = color || '';
|
|
53097
|
-
var typeClassName = type || '';
|
|
53098
|
-
// const resolutionClassName = resolution === '480x800' ? 'regular' : resolution === '720x1280' ? 'big' :resolution === '1024x768/1440x960/1920x1080' ? 'small' : ''
|
|
53099
|
-
// const widthClassName = width === '100%' ? 'width100' : width === '50%' ? 'width50' : width === '33%' ? 'width33' : '';
|
|
53110
|
+
var colorClassName = color || 'navy-blue';
|
|
53111
|
+
var typeClassName = type || 'primary';
|
|
53100
53112
|
var finalClassName = "".concat(typeClassName, " ").concat(colorClassName);
|
|
53101
|
-
// const iconVariant = icon === 'download' ? IconDownloadGrey : IconDownloadWhite;
|
|
53102
|
-
// const iconVariant = `${type} ${icon} ${colorClassName}`;
|
|
53103
53113
|
return /*#__PURE__*/React__namespace.createElement(CustomIconButton, _extends$1e({}, props, {
|
|
53104
53114
|
onClick: onClick,
|
|
53115
|
+
disabled: disabled,
|
|
53105
53116
|
fluid: fluid,
|
|
53106
53117
|
ref: forwardedRef,
|
|
53107
53118
|
startIcon: /*#__PURE__*/React__namespace.createElement(Icon, {
|
|
@@ -53113,6 +53124,19 @@ var IconButtonComponent = function IconButtonComponent(_ref2) {
|
|
|
53113
53124
|
disableRipple: true
|
|
53114
53125
|
}), text);
|
|
53115
53126
|
};
|
|
53127
|
+
IconButtonComponent.propTypes = {
|
|
53128
|
+
color: propTypes.exports.string,
|
|
53129
|
+
disabled: propTypes.exports.bool,
|
|
53130
|
+
icon: propTypes.exports.string,
|
|
53131
|
+
fluid: propTypes.exports.bool,
|
|
53132
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
53133
|
+
current: propTypes.exports.any
|
|
53134
|
+
})]),
|
|
53135
|
+
onClick: propTypes.exports.func,
|
|
53136
|
+
size: propTypes.exports.string,
|
|
53137
|
+
type: propTypes.exports.string,
|
|
53138
|
+
text: propTypes.exports.string
|
|
53139
|
+
};
|
|
53116
53140
|
|
|
53117
53141
|
var _g$v;
|
|
53118
53142
|
function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
|
|
@@ -66076,7 +66100,45 @@ var Logo = function Logo(_ref2) {
|
|
|
66076
66100
|
}, props), logoName === 'logo_xelcode' && /*#__PURE__*/React.createElement(SvgLogoXelcode, null), logoName === 'logo_xelcode_dashboard' && /*#__PURE__*/React.createElement(SvgLogoXelcodeDashboard, null));
|
|
66077
66101
|
};
|
|
66078
66102
|
|
|
66079
|
-
|
|
66103
|
+
/**
|
|
66104
|
+
A function that returns a universally unique identifier (uuid).
|
|
66105
|
+
example: 1b83fd69-abe7-468c-bea1-306a8aa1c81d
|
|
66106
|
+
@returns `string` : 32 character uuid (see example)
|
|
66107
|
+
*/
|
|
66108
|
+
|
|
66109
|
+
function uuid() {
|
|
66110
|
+
const hashTable = [
|
|
66111
|
+
"a",
|
|
66112
|
+
"b",
|
|
66113
|
+
"c",
|
|
66114
|
+
"d",
|
|
66115
|
+
"e",
|
|
66116
|
+
"f",
|
|
66117
|
+
"0",
|
|
66118
|
+
"1",
|
|
66119
|
+
"2",
|
|
66120
|
+
"3",
|
|
66121
|
+
"4",
|
|
66122
|
+
"5",
|
|
66123
|
+
"6",
|
|
66124
|
+
"7",
|
|
66125
|
+
"8",
|
|
66126
|
+
"9",
|
|
66127
|
+
];
|
|
66128
|
+
let uuid = [];
|
|
66129
|
+
for (let i = 0; i < 36; i++) {
|
|
66130
|
+
if (i === 8 || i === 13 || i === 18 || i === 23) {
|
|
66131
|
+
uuid[i] = "-";
|
|
66132
|
+
} else {
|
|
66133
|
+
uuid[i] = hashTable[Math.ceil(Math.random() * hashTable.length - 1)];
|
|
66134
|
+
}
|
|
66135
|
+
}
|
|
66136
|
+
return uuid.join("");
|
|
66137
|
+
}
|
|
66138
|
+
|
|
66139
|
+
var uuid_1 = uuid;
|
|
66140
|
+
|
|
66141
|
+
var _excluded$5 = ["buttons", "forwardedRef"];
|
|
66080
66142
|
var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
|
|
66081
66143
|
_objectDestructuringEmpty(_ref);
|
|
66082
66144
|
return {
|
|
@@ -66103,8 +66165,12 @@ var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
66103
66165
|
});
|
|
66104
66166
|
var BottomBarComponent = function BottomBarComponent(_ref2) {
|
|
66105
66167
|
var buttons = _ref2.buttons,
|
|
66168
|
+
_ref2$forwardedRef = _ref2.forwardedRef,
|
|
66169
|
+
forwardedRef = _ref2$forwardedRef === void 0 ? function () {} : _ref2$forwardedRef,
|
|
66106
66170
|
props = _objectWithoutProperties$1(_ref2, _excluded$5);
|
|
66107
|
-
return /*#__PURE__*/React.createElement(StyledBottomBarWrapper,
|
|
66171
|
+
return /*#__PURE__*/React.createElement(StyledBottomBarWrapper, _extends$1e({
|
|
66172
|
+
ref: forwardedRef
|
|
66173
|
+
}, props), buttons.map(function (item) {
|
|
66108
66174
|
var disabled = (item === null || item === void 0 ? void 0 : item.disabled) || false;
|
|
66109
66175
|
var fluid = (item === null || item === void 0 ? void 0 : item.fluid) || true;
|
|
66110
66176
|
var onClick = (item === null || item === void 0 ? void 0 : item.onClick) || '';
|
|
@@ -66113,6 +66179,7 @@ var BottomBarComponent = function BottomBarComponent(_ref2) {
|
|
|
66113
66179
|
var color = (item === null || item === void 0 ? void 0 : item.color) || 'navy-blue';
|
|
66114
66180
|
var size = (item === null || item === void 0 ? void 0 : item.size) || 'small';
|
|
66115
66181
|
return /*#__PURE__*/React.createElement(CustomButtonComponent, {
|
|
66182
|
+
key: uuid_1(),
|
|
66116
66183
|
disabled: disabled,
|
|
66117
66184
|
fluid: fluid,
|
|
66118
66185
|
onClick: onClick && typeof onClick === "function" ? onClick : undefined,
|
|
@@ -66123,6 +66190,20 @@ var BottomBarComponent = function BottomBarComponent(_ref2) {
|
|
|
66123
66190
|
});
|
|
66124
66191
|
}));
|
|
66125
66192
|
};
|
|
66193
|
+
BottomBarComponent.propTypes = {
|
|
66194
|
+
buttons: propTypes.exports.arrayOf(propTypes.exports.shape({
|
|
66195
|
+
disabled: propTypes.exports.bool,
|
|
66196
|
+
fluid: propTypes.exports.bool,
|
|
66197
|
+
onClick: propTypes.exports.func,
|
|
66198
|
+
type: propTypes.exports.string,
|
|
66199
|
+
text: propTypes.exports.string,
|
|
66200
|
+
color: propTypes.exports.string,
|
|
66201
|
+
size: propTypes.exports.string
|
|
66202
|
+
})),
|
|
66203
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
66204
|
+
current: propTypes.exports.any
|
|
66205
|
+
})])
|
|
66206
|
+
};
|
|
66126
66207
|
|
|
66127
66208
|
var StyledInfoBar = styled$1('div')(function (_ref) {
|
|
66128
66209
|
_objectDestructuringEmpty(_ref);
|
|
@@ -66155,8 +66236,6 @@ var StyledInfoRow = styled$1('div')(function (_ref2) {
|
|
|
66155
66236
|
}
|
|
66156
66237
|
};
|
|
66157
66238
|
});
|
|
66158
|
-
|
|
66159
|
-
// @ts-ignore
|
|
66160
66239
|
var BottomInfoBar = function BottomInfoBar(_ref3) {
|
|
66161
66240
|
var _ref3$noLogo = _ref3.noLogo,
|
|
66162
66241
|
noLogo = _ref3$noLogo === void 0 ? false : _ref3$noLogo,
|
|
@@ -66164,8 +66243,12 @@ var BottomInfoBar = function BottomInfoBar(_ref3) {
|
|
|
66164
66243
|
leftText = _ref3$leftText === void 0 ? 'left' : _ref3$leftText,
|
|
66165
66244
|
_ref3$rightText = _ref3.rightText,
|
|
66166
66245
|
rightText = _ref3$rightText === void 0 ? 'right' : _ref3$rightText,
|
|
66167
|
-
onRightTextClick = _ref3.onRightTextClick
|
|
66168
|
-
|
|
66246
|
+
onRightTextClick = _ref3.onRightTextClick,
|
|
66247
|
+
_ref3$forwardedRef = _ref3.forwardedRef,
|
|
66248
|
+
forwardedRef = _ref3$forwardedRef === void 0 ? function () {} : _ref3$forwardedRef;
|
|
66249
|
+
return /*#__PURE__*/React__namespace.createElement(StyledInfoBar, {
|
|
66250
|
+
ref: forwardedRef
|
|
66251
|
+
}, /*#__PURE__*/React__namespace.createElement(StyledInfoRow, {
|
|
66169
66252
|
noLogo: noLogo
|
|
66170
66253
|
}, /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement(CustomButtonComponent, {
|
|
66171
66254
|
type: "ghost",
|
|
@@ -66186,6 +66269,15 @@ var BottomInfoBar = function BottomInfoBar(_ref3) {
|
|
|
66186
66269
|
}
|
|
66187
66270
|
}))));
|
|
66188
66271
|
};
|
|
66272
|
+
BottomInfoBar.propTypes = {
|
|
66273
|
+
noLogo: propTypes.exports.bool,
|
|
66274
|
+
leftText: propTypes.exports.string,
|
|
66275
|
+
rightText: propTypes.exports.string,
|
|
66276
|
+
onRightTextClick: propTypes.exports.func,
|
|
66277
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
66278
|
+
current: propTypes.exports.any
|
|
66279
|
+
})])
|
|
66280
|
+
};
|
|
66189
66281
|
|
|
66190
66282
|
var _excluded$4 = ["disabled", "label", "checked", "onChange", "indeterminate", "forwardedRef"];
|
|
66191
66283
|
var StyledFormControlLabel$1 = styled$1(FormControlLabel$2)(function (_ref) {
|
|
@@ -89794,11 +89886,16 @@ var StyledModuleTileWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
89794
89886
|
};
|
|
89795
89887
|
});
|
|
89796
89888
|
var ModuleTile = function ModuleTile(_ref2) {
|
|
89797
|
-
var fluid = _ref2.fluid,
|
|
89798
|
-
|
|
89889
|
+
var _ref2$fluid = _ref2.fluid,
|
|
89890
|
+
fluid = _ref2$fluid === void 0 ? false : _ref2$fluid,
|
|
89891
|
+
_ref2$illustrationNam = _ref2.illustrationName,
|
|
89892
|
+
illustrationName = _ref2$illustrationNam === void 0 ? 'ilu_availability_by_item' : _ref2$illustrationNam,
|
|
89799
89893
|
header = _ref2.header,
|
|
89800
|
-
onClick = _ref2.onClick
|
|
89894
|
+
onClick = _ref2.onClick,
|
|
89895
|
+
_ref2$forwardedRef = _ref2.forwardedRef,
|
|
89896
|
+
forwardedRef = _ref2$forwardedRef === void 0 ? function () {} : _ref2$forwardedRef;
|
|
89801
89897
|
return /*#__PURE__*/React.createElement(StyledModuleTileWrapper, {
|
|
89898
|
+
ref: forwardedRef,
|
|
89802
89899
|
fluid: fluid,
|
|
89803
89900
|
onClick: onClick
|
|
89804
89901
|
}, /*#__PURE__*/React.createElement(Illustration, {
|
|
@@ -89808,6 +89905,15 @@ var ModuleTile = function ModuleTile(_ref2) {
|
|
|
89808
89905
|
type: 'module-tile-header'
|
|
89809
89906
|
}));
|
|
89810
89907
|
};
|
|
89908
|
+
ModuleTile.propTypes = {
|
|
89909
|
+
fluid: propTypes.exports.bool,
|
|
89910
|
+
header: propTypes.exports.string,
|
|
89911
|
+
illustrationName: propTypes.exports.string,
|
|
89912
|
+
onClick: propTypes.exports.func,
|
|
89913
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
89914
|
+
current: propTypes.exports.any
|
|
89915
|
+
})])
|
|
89916
|
+
};
|
|
89811
89917
|
|
|
89812
89918
|
var StyledStepperContainer = styled$1(Box$1)(function (_ref) {
|
|
89813
89919
|
_objectDestructuringEmpty(_ref);
|
|
@@ -90138,44 +90244,6 @@ var RadioGroupComponent = function RadioGroupComponent(_ref2) {
|
|
|
90138
90244
|
}, renderRadioOptions(options));
|
|
90139
90245
|
};
|
|
90140
90246
|
|
|
90141
|
-
/**
|
|
90142
|
-
A function that returns a universally unique identifier (uuid).
|
|
90143
|
-
example: 1b83fd69-abe7-468c-bea1-306a8aa1c81d
|
|
90144
|
-
@returns `string` : 32 character uuid (see example)
|
|
90145
|
-
*/
|
|
90146
|
-
|
|
90147
|
-
function uuid() {
|
|
90148
|
-
const hashTable = [
|
|
90149
|
-
"a",
|
|
90150
|
-
"b",
|
|
90151
|
-
"c",
|
|
90152
|
-
"d",
|
|
90153
|
-
"e",
|
|
90154
|
-
"f",
|
|
90155
|
-
"0",
|
|
90156
|
-
"1",
|
|
90157
|
-
"2",
|
|
90158
|
-
"3",
|
|
90159
|
-
"4",
|
|
90160
|
-
"5",
|
|
90161
|
-
"6",
|
|
90162
|
-
"7",
|
|
90163
|
-
"8",
|
|
90164
|
-
"9",
|
|
90165
|
-
];
|
|
90166
|
-
let uuid = [];
|
|
90167
|
-
for (let i = 0; i < 36; i++) {
|
|
90168
|
-
if (i === 8 || i === 13 || i === 18 || i === 23) {
|
|
90169
|
-
uuid[i] = "-";
|
|
90170
|
-
} else {
|
|
90171
|
-
uuid[i] = hashTable[Math.ceil(Math.random() * hashTable.length - 1)];
|
|
90172
|
-
}
|
|
90173
|
-
}
|
|
90174
|
-
return uuid.join("");
|
|
90175
|
-
}
|
|
90176
|
-
|
|
90177
|
-
var uuid_1 = uuid;
|
|
90178
|
-
|
|
90179
90247
|
var StyledMenu = styled$1('div')(function (_ref) {
|
|
90180
90248
|
var variant = _ref.variant;
|
|
90181
90249
|
return {
|
package/dist/index.esm.js
CHANGED
|
@@ -52595,17 +52595,19 @@ var StyledHeaderDescriptionWrapper = styled$1(Box$1)(function (_ref2) {
|
|
|
52595
52595
|
var AppTileComponent = function AppTileComponent(_ref3) {
|
|
52596
52596
|
var header = _ref3.header,
|
|
52597
52597
|
description = _ref3.description,
|
|
52598
|
-
|
|
52598
|
+
_ref3$illustrationNam = _ref3.illustrationName,
|
|
52599
|
+
illustrationName = _ref3$illustrationNam === void 0 ? 'ilu_availability_by_item' : _ref3$illustrationNam,
|
|
52599
52600
|
_ref3$forwardedRef = _ref3.forwardedRef,
|
|
52600
|
-
forwardedRef = _ref3$forwardedRef === void 0 ?
|
|
52601
|
-
|
|
52602
|
-
|
|
52603
|
-
|
|
52604
|
-
|
|
52601
|
+
forwardedRef = _ref3$forwardedRef === void 0 ? function () {} : _ref3$forwardedRef,
|
|
52602
|
+
onClick = _ref3.onClick;
|
|
52603
|
+
return /*#__PURE__*/React__default.createElement(StyledAppTileWrapper, {
|
|
52604
|
+
ref: forwardedRef,
|
|
52605
|
+
onClick: onClick
|
|
52606
|
+
}, /*#__PURE__*/React__default.createElement(Illustration, {
|
|
52605
52607
|
illustrationName: illustrationName,
|
|
52606
|
-
color:
|
|
52607
|
-
size:
|
|
52608
|
-
isBigType:
|
|
52608
|
+
color: '',
|
|
52609
|
+
size: '',
|
|
52610
|
+
isBigType: false
|
|
52609
52611
|
}), /*#__PURE__*/React__default.createElement(StyledHeaderDescriptionWrapper, null, /*#__PURE__*/React__default.createElement(TypographyComponent, {
|
|
52610
52612
|
text: header,
|
|
52611
52613
|
type: 'app-tile-header',
|
|
@@ -52616,24 +52618,29 @@ var AppTileComponent = function AppTileComponent(_ref3) {
|
|
|
52616
52618
|
forwardedRef: forwardedRef
|
|
52617
52619
|
})));
|
|
52618
52620
|
};
|
|
52621
|
+
AppTileComponent.propTypes = {
|
|
52622
|
+
description: propTypes.exports.string,
|
|
52623
|
+
header: propTypes.exports.string,
|
|
52624
|
+
illustrationName: propTypes.exports.string,
|
|
52625
|
+
onClick: propTypes.exports.func,
|
|
52626
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
52627
|
+
current: propTypes.exports.any
|
|
52628
|
+
})])
|
|
52629
|
+
};
|
|
52619
52630
|
|
|
52620
52631
|
var _excluded$8 = ["type", "text", "size", "fluid", "color", "onClick", "disabled", "forwardedRef"];
|
|
52621
52632
|
var CustomButton = styled$1(Button$2)(function (_ref) {
|
|
52622
52633
|
var fluid = _ref.fluid;
|
|
52623
52634
|
return {
|
|
52624
52635
|
width: fluid ? '100%' : 'auto',
|
|
52625
|
-
// fontSize: '16px',
|
|
52626
|
-
// lineHeight: '15px',
|
|
52627
52636
|
borderRadius: '24px',
|
|
52628
52637
|
fontWeight: 'bold',
|
|
52629
52638
|
boxShadow: 'none',
|
|
52630
|
-
// padding: props => props.size === 'big' ? '34px 60px' : '4px 24px',
|
|
52631
52639
|
border: '2px solid #293072',
|
|
52632
52640
|
backgroundColor: theme.mainPallete.primary.white,
|
|
52633
52641
|
color: theme.mainPallete.primary.blue,
|
|
52634
52642
|
textTransform: 'uppercase',
|
|
52635
52643
|
fontFamily: ['"Barlow", sans-serif'],
|
|
52636
|
-
// backgroundColor: theme.mainPallete.primary.red,
|
|
52637
52644
|
'&:hover': {
|
|
52638
52645
|
boxShadow: 'none'
|
|
52639
52646
|
},
|
|
@@ -52803,7 +52810,6 @@ var CustomButton = styled$1(Button$2)(function (_ref) {
|
|
|
52803
52810
|
},
|
|
52804
52811
|
'&.big': {
|
|
52805
52812
|
padding: '21px',
|
|
52806
|
-
//PADDDINGi DO USTALENIA
|
|
52807
52813
|
fontSize: '16px',
|
|
52808
52814
|
lineHeight: '15px',
|
|
52809
52815
|
borderRadius: '31px',
|
|
@@ -52823,7 +52829,6 @@ var CustomButton = styled$1(Button$2)(function (_ref) {
|
|
|
52823
52829
|
},
|
|
52824
52830
|
'&.small': {
|
|
52825
52831
|
padding: '14px 21px',
|
|
52826
|
-
//PADDDINGi DO USTALENIA
|
|
52827
52832
|
fontSize: '16px',
|
|
52828
52833
|
lineHeight: '15px',
|
|
52829
52834
|
borderRadius: '24px',
|
|
@@ -52843,8 +52848,6 @@ var CustomButton = styled$1(Button$2)(function (_ref) {
|
|
|
52843
52848
|
}
|
|
52844
52849
|
};
|
|
52845
52850
|
});
|
|
52846
|
-
|
|
52847
|
-
// @ts-ignore
|
|
52848
52851
|
var CustomButtonComponent = function CustomButtonComponent(_ref2) {
|
|
52849
52852
|
var type = _ref2.type,
|
|
52850
52853
|
text = _ref2.text,
|
|
@@ -52858,7 +52861,6 @@ var CustomButtonComponent = function CustomButtonComponent(_ref2) {
|
|
|
52858
52861
|
var colorClassName = disabled ? 'grey' : color ? color : 'navy-blue'; // navy-blue / red / black / grey / special-green
|
|
52859
52862
|
var typeClassName = type || 'primary'; // primary / secondary / ghost
|
|
52860
52863
|
var sizeClassName = size || 'big'; // null / big / small
|
|
52861
|
-
// const behaviourClassName = behaviour || '';
|
|
52862
52864
|
var finalClassName = "".concat(typeClassName, " ").concat(colorClassName, " ").concat(sizeClassName);
|
|
52863
52865
|
return /*#__PURE__*/React.createElement(CustomButton, _extends$1e({
|
|
52864
52866
|
disabled: disabled,
|
|
@@ -52870,8 +52872,20 @@ var CustomButtonComponent = function CustomButtonComponent(_ref2) {
|
|
|
52870
52872
|
ref: forwardedRef
|
|
52871
52873
|
}, props), text);
|
|
52872
52874
|
};
|
|
52875
|
+
CustomButtonComponent.propTypes = {
|
|
52876
|
+
color: propTypes.exports.string,
|
|
52877
|
+
disabled: propTypes.exports.bool,
|
|
52878
|
+
fluid: propTypes.exports.bool,
|
|
52879
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
52880
|
+
current: propTypes.exports.any
|
|
52881
|
+
})]),
|
|
52882
|
+
onClick: propTypes.exports.func,
|
|
52883
|
+
size: propTypes.exports.string,
|
|
52884
|
+
type: propTypes.exports.string,
|
|
52885
|
+
text: propTypes.exports.string
|
|
52886
|
+
};
|
|
52873
52887
|
|
|
52874
|
-
var _excluded$7 = ["
|
|
52888
|
+
var _excluded$7 = ["color", "disabled", "fluid", "forwardedRef", "icon", "onClick", "text", "type"];
|
|
52875
52889
|
var CustomIconButton = styled$1(Button$2)(function (_ref) {
|
|
52876
52890
|
var fluid = _ref.fluid;
|
|
52877
52891
|
return {
|
|
@@ -52883,7 +52897,6 @@ var CustomIconButton = styled$1(Button$2)(function (_ref) {
|
|
|
52883
52897
|
textTransform: 'uppercase',
|
|
52884
52898
|
fontFamily: ['"Barlow", sans-serif'],
|
|
52885
52899
|
padding: '4px 25px 4px 21px',
|
|
52886
|
-
//PADDDINGi DO USTALENIA
|
|
52887
52900
|
fontSize: '16px',
|
|
52888
52901
|
lineHeight: '15px',
|
|
52889
52902
|
'@media(min-width: 1024px)': {
|
|
@@ -52892,7 +52905,6 @@ var CustomIconButton = styled$1(Button$2)(function (_ref) {
|
|
|
52892
52905
|
lineHeight: '16px',
|
|
52893
52906
|
borderRadius: '24px'
|
|
52894
52907
|
},
|
|
52895
|
-
// backgroundColor: theme.mainPallete.primary.red,
|
|
52896
52908
|
'&:hover': {
|
|
52897
52909
|
boxShadow: 'none',
|
|
52898
52910
|
'img': {
|
|
@@ -53065,23 +53077,22 @@ var CustomIconButton = styled$1(Button$2)(function (_ref) {
|
|
|
53065
53077
|
};
|
|
53066
53078
|
});
|
|
53067
53079
|
var IconButtonComponent = function IconButtonComponent(_ref2) {
|
|
53068
|
-
var
|
|
53069
|
-
|
|
53070
|
-
icon = _ref2.icon,
|
|
53071
|
-
color = _ref2.color,
|
|
53080
|
+
var color = _ref2.color,
|
|
53081
|
+
disabled = _ref2.disabled,
|
|
53072
53082
|
fluid = _ref2.fluid,
|
|
53073
|
-
onClick = _ref2.onClick,
|
|
53074
53083
|
forwardedRef = _ref2.forwardedRef,
|
|
53084
|
+
_ref2$icon = _ref2.icon,
|
|
53085
|
+
icon = _ref2$icon === void 0 ? 'icon_wf_download' : _ref2$icon,
|
|
53086
|
+
onClick = _ref2.onClick,
|
|
53087
|
+
text = _ref2.text,
|
|
53088
|
+
type = _ref2.type,
|
|
53075
53089
|
props = _objectWithoutProperties$1(_ref2, _excluded$7);
|
|
53076
|
-
var colorClassName = color || '';
|
|
53077
|
-
var typeClassName = type || '';
|
|
53078
|
-
// const resolutionClassName = resolution === '480x800' ? 'regular' : resolution === '720x1280' ? 'big' :resolution === '1024x768/1440x960/1920x1080' ? 'small' : ''
|
|
53079
|
-
// const widthClassName = width === '100%' ? 'width100' : width === '50%' ? 'width50' : width === '33%' ? 'width33' : '';
|
|
53090
|
+
var colorClassName = color || 'navy-blue';
|
|
53091
|
+
var typeClassName = type || 'primary';
|
|
53080
53092
|
var finalClassName = "".concat(typeClassName, " ").concat(colorClassName);
|
|
53081
|
-
// const iconVariant = icon === 'download' ? IconDownloadGrey : IconDownloadWhite;
|
|
53082
|
-
// const iconVariant = `${type} ${icon} ${colorClassName}`;
|
|
53083
53093
|
return /*#__PURE__*/React.createElement(CustomIconButton, _extends$1e({}, props, {
|
|
53084
53094
|
onClick: onClick,
|
|
53095
|
+
disabled: disabled,
|
|
53085
53096
|
fluid: fluid,
|
|
53086
53097
|
ref: forwardedRef,
|
|
53087
53098
|
startIcon: /*#__PURE__*/React.createElement(Icon, {
|
|
@@ -53093,6 +53104,19 @@ var IconButtonComponent = function IconButtonComponent(_ref2) {
|
|
|
53093
53104
|
disableRipple: true
|
|
53094
53105
|
}), text);
|
|
53095
53106
|
};
|
|
53107
|
+
IconButtonComponent.propTypes = {
|
|
53108
|
+
color: propTypes.exports.string,
|
|
53109
|
+
disabled: propTypes.exports.bool,
|
|
53110
|
+
icon: propTypes.exports.string,
|
|
53111
|
+
fluid: propTypes.exports.bool,
|
|
53112
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
53113
|
+
current: propTypes.exports.any
|
|
53114
|
+
})]),
|
|
53115
|
+
onClick: propTypes.exports.func,
|
|
53116
|
+
size: propTypes.exports.string,
|
|
53117
|
+
type: propTypes.exports.string,
|
|
53118
|
+
text: propTypes.exports.string
|
|
53119
|
+
};
|
|
53096
53120
|
|
|
53097
53121
|
var _g$v;
|
|
53098
53122
|
function _extends$y() { _extends$y = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$y.apply(this, arguments); }
|
|
@@ -66056,7 +66080,45 @@ var Logo = function Logo(_ref2) {
|
|
|
66056
66080
|
}, props), logoName === 'logo_xelcode' && /*#__PURE__*/React__default.createElement(SvgLogoXelcode, null), logoName === 'logo_xelcode_dashboard' && /*#__PURE__*/React__default.createElement(SvgLogoXelcodeDashboard, null));
|
|
66057
66081
|
};
|
|
66058
66082
|
|
|
66059
|
-
|
|
66083
|
+
/**
|
|
66084
|
+
A function that returns a universally unique identifier (uuid).
|
|
66085
|
+
example: 1b83fd69-abe7-468c-bea1-306a8aa1c81d
|
|
66086
|
+
@returns `string` : 32 character uuid (see example)
|
|
66087
|
+
*/
|
|
66088
|
+
|
|
66089
|
+
function uuid() {
|
|
66090
|
+
const hashTable = [
|
|
66091
|
+
"a",
|
|
66092
|
+
"b",
|
|
66093
|
+
"c",
|
|
66094
|
+
"d",
|
|
66095
|
+
"e",
|
|
66096
|
+
"f",
|
|
66097
|
+
"0",
|
|
66098
|
+
"1",
|
|
66099
|
+
"2",
|
|
66100
|
+
"3",
|
|
66101
|
+
"4",
|
|
66102
|
+
"5",
|
|
66103
|
+
"6",
|
|
66104
|
+
"7",
|
|
66105
|
+
"8",
|
|
66106
|
+
"9",
|
|
66107
|
+
];
|
|
66108
|
+
let uuid = [];
|
|
66109
|
+
for (let i = 0; i < 36; i++) {
|
|
66110
|
+
if (i === 8 || i === 13 || i === 18 || i === 23) {
|
|
66111
|
+
uuid[i] = "-";
|
|
66112
|
+
} else {
|
|
66113
|
+
uuid[i] = hashTable[Math.ceil(Math.random() * hashTable.length - 1)];
|
|
66114
|
+
}
|
|
66115
|
+
}
|
|
66116
|
+
return uuid.join("");
|
|
66117
|
+
}
|
|
66118
|
+
|
|
66119
|
+
var uuid_1 = uuid;
|
|
66120
|
+
|
|
66121
|
+
var _excluded$5 = ["buttons", "forwardedRef"];
|
|
66060
66122
|
var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
|
|
66061
66123
|
_objectDestructuringEmpty(_ref);
|
|
66062
66124
|
return {
|
|
@@ -66083,8 +66145,12 @@ var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
66083
66145
|
});
|
|
66084
66146
|
var BottomBarComponent = function BottomBarComponent(_ref2) {
|
|
66085
66147
|
var buttons = _ref2.buttons,
|
|
66148
|
+
_ref2$forwardedRef = _ref2.forwardedRef,
|
|
66149
|
+
forwardedRef = _ref2$forwardedRef === void 0 ? function () {} : _ref2$forwardedRef,
|
|
66086
66150
|
props = _objectWithoutProperties$1(_ref2, _excluded$5);
|
|
66087
|
-
return /*#__PURE__*/React__default.createElement(StyledBottomBarWrapper,
|
|
66151
|
+
return /*#__PURE__*/React__default.createElement(StyledBottomBarWrapper, _extends$1e({
|
|
66152
|
+
ref: forwardedRef
|
|
66153
|
+
}, props), buttons.map(function (item) {
|
|
66088
66154
|
var disabled = (item === null || item === void 0 ? void 0 : item.disabled) || false;
|
|
66089
66155
|
var fluid = (item === null || item === void 0 ? void 0 : item.fluid) || true;
|
|
66090
66156
|
var onClick = (item === null || item === void 0 ? void 0 : item.onClick) || '';
|
|
@@ -66093,6 +66159,7 @@ var BottomBarComponent = function BottomBarComponent(_ref2) {
|
|
|
66093
66159
|
var color = (item === null || item === void 0 ? void 0 : item.color) || 'navy-blue';
|
|
66094
66160
|
var size = (item === null || item === void 0 ? void 0 : item.size) || 'small';
|
|
66095
66161
|
return /*#__PURE__*/React__default.createElement(CustomButtonComponent, {
|
|
66162
|
+
key: uuid_1(),
|
|
66096
66163
|
disabled: disabled,
|
|
66097
66164
|
fluid: fluid,
|
|
66098
66165
|
onClick: onClick && typeof onClick === "function" ? onClick : undefined,
|
|
@@ -66103,6 +66170,20 @@ var BottomBarComponent = function BottomBarComponent(_ref2) {
|
|
|
66103
66170
|
});
|
|
66104
66171
|
}));
|
|
66105
66172
|
};
|
|
66173
|
+
BottomBarComponent.propTypes = {
|
|
66174
|
+
buttons: propTypes.exports.arrayOf(propTypes.exports.shape({
|
|
66175
|
+
disabled: propTypes.exports.bool,
|
|
66176
|
+
fluid: propTypes.exports.bool,
|
|
66177
|
+
onClick: propTypes.exports.func,
|
|
66178
|
+
type: propTypes.exports.string,
|
|
66179
|
+
text: propTypes.exports.string,
|
|
66180
|
+
color: propTypes.exports.string,
|
|
66181
|
+
size: propTypes.exports.string
|
|
66182
|
+
})),
|
|
66183
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
66184
|
+
current: propTypes.exports.any
|
|
66185
|
+
})])
|
|
66186
|
+
};
|
|
66106
66187
|
|
|
66107
66188
|
var StyledInfoBar = styled$1('div')(function (_ref) {
|
|
66108
66189
|
_objectDestructuringEmpty(_ref);
|
|
@@ -66135,8 +66216,6 @@ var StyledInfoRow = styled$1('div')(function (_ref2) {
|
|
|
66135
66216
|
}
|
|
66136
66217
|
};
|
|
66137
66218
|
});
|
|
66138
|
-
|
|
66139
|
-
// @ts-ignore
|
|
66140
66219
|
var BottomInfoBar = function BottomInfoBar(_ref3) {
|
|
66141
66220
|
var _ref3$noLogo = _ref3.noLogo,
|
|
66142
66221
|
noLogo = _ref3$noLogo === void 0 ? false : _ref3$noLogo,
|
|
@@ -66144,8 +66223,12 @@ var BottomInfoBar = function BottomInfoBar(_ref3) {
|
|
|
66144
66223
|
leftText = _ref3$leftText === void 0 ? 'left' : _ref3$leftText,
|
|
66145
66224
|
_ref3$rightText = _ref3.rightText,
|
|
66146
66225
|
rightText = _ref3$rightText === void 0 ? 'right' : _ref3$rightText,
|
|
66147
|
-
onRightTextClick = _ref3.onRightTextClick
|
|
66148
|
-
|
|
66226
|
+
onRightTextClick = _ref3.onRightTextClick,
|
|
66227
|
+
_ref3$forwardedRef = _ref3.forwardedRef,
|
|
66228
|
+
forwardedRef = _ref3$forwardedRef === void 0 ? function () {} : _ref3$forwardedRef;
|
|
66229
|
+
return /*#__PURE__*/React.createElement(StyledInfoBar, {
|
|
66230
|
+
ref: forwardedRef
|
|
66231
|
+
}, /*#__PURE__*/React.createElement(StyledInfoRow, {
|
|
66149
66232
|
noLogo: noLogo
|
|
66150
66233
|
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(CustomButtonComponent, {
|
|
66151
66234
|
type: "ghost",
|
|
@@ -66166,6 +66249,15 @@ var BottomInfoBar = function BottomInfoBar(_ref3) {
|
|
|
66166
66249
|
}
|
|
66167
66250
|
}))));
|
|
66168
66251
|
};
|
|
66252
|
+
BottomInfoBar.propTypes = {
|
|
66253
|
+
noLogo: propTypes.exports.bool,
|
|
66254
|
+
leftText: propTypes.exports.string,
|
|
66255
|
+
rightText: propTypes.exports.string,
|
|
66256
|
+
onRightTextClick: propTypes.exports.func,
|
|
66257
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
66258
|
+
current: propTypes.exports.any
|
|
66259
|
+
})])
|
|
66260
|
+
};
|
|
66169
66261
|
|
|
66170
66262
|
var _excluded$4 = ["disabled", "label", "checked", "onChange", "indeterminate", "forwardedRef"];
|
|
66171
66263
|
var StyledFormControlLabel$1 = styled$1(FormControlLabel$2)(function (_ref) {
|
|
@@ -89774,11 +89866,16 @@ var StyledModuleTileWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
89774
89866
|
};
|
|
89775
89867
|
});
|
|
89776
89868
|
var ModuleTile = function ModuleTile(_ref2) {
|
|
89777
|
-
var fluid = _ref2.fluid,
|
|
89778
|
-
|
|
89869
|
+
var _ref2$fluid = _ref2.fluid,
|
|
89870
|
+
fluid = _ref2$fluid === void 0 ? false : _ref2$fluid,
|
|
89871
|
+
_ref2$illustrationNam = _ref2.illustrationName,
|
|
89872
|
+
illustrationName = _ref2$illustrationNam === void 0 ? 'ilu_availability_by_item' : _ref2$illustrationNam,
|
|
89779
89873
|
header = _ref2.header,
|
|
89780
|
-
onClick = _ref2.onClick
|
|
89874
|
+
onClick = _ref2.onClick,
|
|
89875
|
+
_ref2$forwardedRef = _ref2.forwardedRef,
|
|
89876
|
+
forwardedRef = _ref2$forwardedRef === void 0 ? function () {} : _ref2$forwardedRef;
|
|
89781
89877
|
return /*#__PURE__*/React__default.createElement(StyledModuleTileWrapper, {
|
|
89878
|
+
ref: forwardedRef,
|
|
89782
89879
|
fluid: fluid,
|
|
89783
89880
|
onClick: onClick
|
|
89784
89881
|
}, /*#__PURE__*/React__default.createElement(Illustration, {
|
|
@@ -89788,6 +89885,15 @@ var ModuleTile = function ModuleTile(_ref2) {
|
|
|
89788
89885
|
type: 'module-tile-header'
|
|
89789
89886
|
}));
|
|
89790
89887
|
};
|
|
89888
|
+
ModuleTile.propTypes = {
|
|
89889
|
+
fluid: propTypes.exports.bool,
|
|
89890
|
+
header: propTypes.exports.string,
|
|
89891
|
+
illustrationName: propTypes.exports.string,
|
|
89892
|
+
onClick: propTypes.exports.func,
|
|
89893
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
89894
|
+
current: propTypes.exports.any
|
|
89895
|
+
})])
|
|
89896
|
+
};
|
|
89791
89897
|
|
|
89792
89898
|
var StyledStepperContainer = styled$1(Box$1)(function (_ref) {
|
|
89793
89899
|
_objectDestructuringEmpty(_ref);
|
|
@@ -90118,44 +90224,6 @@ var RadioGroupComponent = function RadioGroupComponent(_ref2) {
|
|
|
90118
90224
|
}, renderRadioOptions(options));
|
|
90119
90225
|
};
|
|
90120
90226
|
|
|
90121
|
-
/**
|
|
90122
|
-
A function that returns a universally unique identifier (uuid).
|
|
90123
|
-
example: 1b83fd69-abe7-468c-bea1-306a8aa1c81d
|
|
90124
|
-
@returns `string` : 32 character uuid (see example)
|
|
90125
|
-
*/
|
|
90126
|
-
|
|
90127
|
-
function uuid() {
|
|
90128
|
-
const hashTable = [
|
|
90129
|
-
"a",
|
|
90130
|
-
"b",
|
|
90131
|
-
"c",
|
|
90132
|
-
"d",
|
|
90133
|
-
"e",
|
|
90134
|
-
"f",
|
|
90135
|
-
"0",
|
|
90136
|
-
"1",
|
|
90137
|
-
"2",
|
|
90138
|
-
"3",
|
|
90139
|
-
"4",
|
|
90140
|
-
"5",
|
|
90141
|
-
"6",
|
|
90142
|
-
"7",
|
|
90143
|
-
"8",
|
|
90144
|
-
"9",
|
|
90145
|
-
];
|
|
90146
|
-
let uuid = [];
|
|
90147
|
-
for (let i = 0; i < 36; i++) {
|
|
90148
|
-
if (i === 8 || i === 13 || i === 18 || i === 23) {
|
|
90149
|
-
uuid[i] = "-";
|
|
90150
|
-
} else {
|
|
90151
|
-
uuid[i] = hashTable[Math.ceil(Math.random() * hashTable.length - 1)];
|
|
90152
|
-
}
|
|
90153
|
-
}
|
|
90154
|
-
return uuid.join("");
|
|
90155
|
-
}
|
|
90156
|
-
|
|
90157
|
-
var uuid_1 = uuid;
|
|
90158
|
-
|
|
90159
90227
|
var StyledMenu = styled$1('div')(function (_ref) {
|
|
90160
90228
|
var variant = _ref.variant;
|
|
90161
90229
|
return {
|