@xelto.npm/xc2-lib 0.0.73 → 0.0.74
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 +158 -113
- package/dist/index.esm.js +158 -113
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -19231,6 +19231,14 @@ var SwitchComponent = function SwitchComponent(_ref) {
|
|
|
19231
19231
|
label: label
|
|
19232
19232
|
})));
|
|
19233
19233
|
};
|
|
19234
|
+
SwitchComponent.propTypes = {
|
|
19235
|
+
checked: propTypes.exports.bool,
|
|
19236
|
+
label: propTypes.exports.string,
|
|
19237
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
19238
|
+
current: propTypes.exports.any
|
|
19239
|
+
})]),
|
|
19240
|
+
onChange: propTypes.exports.func
|
|
19241
|
+
};
|
|
19234
19242
|
|
|
19235
19243
|
function GlobalStyles$2(props) {
|
|
19236
19244
|
return /*#__PURE__*/jsxRuntimeExports.jsx(GlobalStyles$3, _extends$1d({}, props, {
|
|
@@ -27815,6 +27823,33 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
27815
27823
|
} : void 0;
|
|
27816
27824
|
var Autocomplete$1 = Autocomplete;
|
|
27817
27825
|
|
|
27826
|
+
const defaultTheme = createTheme();
|
|
27827
|
+
const Box = createBox({
|
|
27828
|
+
defaultTheme,
|
|
27829
|
+
defaultClassName: 'MuiBox-root',
|
|
27830
|
+
generateClassName: ClassNameGenerator$1.generate
|
|
27831
|
+
});
|
|
27832
|
+
process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
|
|
27833
|
+
// ----------------------------- Warning --------------------------------
|
|
27834
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
27835
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
27836
|
+
// ----------------------------------------------------------------------
|
|
27837
|
+
/**
|
|
27838
|
+
* @ignore
|
|
27839
|
+
*/
|
|
27840
|
+
children: propTypes.exports.node,
|
|
27841
|
+
/**
|
|
27842
|
+
* The component used for the root node.
|
|
27843
|
+
* Either a string to use a HTML element or a component.
|
|
27844
|
+
*/
|
|
27845
|
+
component: propTypes.exports.elementType,
|
|
27846
|
+
/**
|
|
27847
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
27848
|
+
*/
|
|
27849
|
+
sx: propTypes.exports.oneOfType([propTypes.exports.arrayOf(propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.object, propTypes.exports.bool])), propTypes.exports.func, propTypes.exports.object])
|
|
27850
|
+
} : void 0;
|
|
27851
|
+
var Box$1 = Box;
|
|
27852
|
+
|
|
27818
27853
|
var _path$F, _path2$e, _path3$6;
|
|
27819
27854
|
function _extends$1c() { _extends$1c = 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$1c.apply(this, arguments); }
|
|
27820
27855
|
var SvgIconWfSearch = function SvgIconWfSearch(props) {
|
|
@@ -29013,33 +29048,6 @@ var SvgUpdateIcon = function SvgUpdateIcon(props) {
|
|
|
29013
29048
|
}))));
|
|
29014
29049
|
};
|
|
29015
29050
|
|
|
29016
|
-
const defaultTheme = createTheme();
|
|
29017
|
-
const Box = createBox({
|
|
29018
|
-
defaultTheme,
|
|
29019
|
-
defaultClassName: 'MuiBox-root',
|
|
29020
|
-
generateClassName: ClassNameGenerator$1.generate
|
|
29021
|
-
});
|
|
29022
|
-
process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
|
|
29023
|
-
// ----------------------------- Warning --------------------------------
|
|
29024
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
29025
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
29026
|
-
// ----------------------------------------------------------------------
|
|
29027
|
-
/**
|
|
29028
|
-
* @ignore
|
|
29029
|
-
*/
|
|
29030
|
-
children: propTypes.exports.node,
|
|
29031
|
-
/**
|
|
29032
|
-
* The component used for the root node.
|
|
29033
|
-
* Either a string to use a HTML element or a component.
|
|
29034
|
-
*/
|
|
29035
|
-
component: propTypes.exports.elementType,
|
|
29036
|
-
/**
|
|
29037
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29038
|
-
*/
|
|
29039
|
-
sx: propTypes.exports.oneOfType([propTypes.exports.arrayOf(propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.object, propTypes.exports.bool])), propTypes.exports.func, propTypes.exports.object])
|
|
29040
|
-
} : void 0;
|
|
29041
|
-
var Box$1 = Box;
|
|
29042
|
-
|
|
29043
29051
|
var _g$x;
|
|
29044
29052
|
function _extends$B() { _extends$B = 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$B.apply(this, arguments); }
|
|
29045
29053
|
var SvgCheckboxDefault = function SvgCheckboxDefault(props) {
|
|
@@ -29108,7 +29116,7 @@ var SvgChecbkoxIndeterminate = function SvgChecbkoxIndeterminate(props) {
|
|
|
29108
29116
|
}))));
|
|
29109
29117
|
};
|
|
29110
29118
|
|
|
29111
|
-
var _excluded$Y = ["
|
|
29119
|
+
var _excluded$Y = ["color", "iconName", "size", "forwardedRef"];
|
|
29112
29120
|
var StyledIconWrapper$1 = styled$1(Box$1)(function (_ref) {
|
|
29113
29121
|
var iconName = _ref.iconName;
|
|
29114
29122
|
return {
|
|
@@ -29269,10 +29277,10 @@ var StyledIconWrapper$1 = styled$1(Box$1)(function (_ref) {
|
|
|
29269
29277
|
};
|
|
29270
29278
|
});
|
|
29271
29279
|
var Icon = function Icon(_ref2) {
|
|
29272
|
-
var _ref2$
|
|
29273
|
-
iconName = _ref2$iconName === void 0 ? '' : _ref2$iconName,
|
|
29274
|
-
_ref2$color = _ref2.color,
|
|
29280
|
+
var _ref2$color = _ref2.color,
|
|
29275
29281
|
color = _ref2$color === void 0 ? 'red-navy' : _ref2$color,
|
|
29282
|
+
_ref2$iconName = _ref2.iconName,
|
|
29283
|
+
iconName = _ref2$iconName === void 0 ? 'icon_wf_download' : _ref2$iconName,
|
|
29276
29284
|
_ref2$size = _ref2.size,
|
|
29277
29285
|
size = _ref2$size === void 0 ? 'responsive' : _ref2$size,
|
|
29278
29286
|
forwardedRef = _ref2.forwardedRef,
|
|
@@ -29284,6 +29292,14 @@ var Icon = function Icon(_ref2) {
|
|
|
29284
29292
|
iconName: iconName
|
|
29285
29293
|
}), iconName === 'icon_wf_search' && /*#__PURE__*/React.createElement(SvgIconWfSearch, null), iconName === 'icon_wf_locked' && /*#__PURE__*/React.createElement(SvgIconWfLocked, null), iconName === 'icon_wf_download' && /*#__PURE__*/React.createElement(SvgIconWfDownload, null), iconName === 'icon_wf_remove' && /*#__PURE__*/React.createElement(SvgIconWfRemove, null), iconName === 'icon_wf_logout' && /*#__PURE__*/React.createElement(SvgIconWfLogout, null), iconName === 'icon_wf_edit' && /*#__PURE__*/React.createElement(SvgIconWfEdit, null), iconName === 'icon_wf_settings_or_filter' && /*#__PURE__*/React.createElement(SvgIconWfSettingsOrFilter, null), iconName === 'icon_wf_barcode_1d' && /*#__PURE__*/React.createElement(SvgIconWfBarcode1D, null), iconName === 'icon_wf_barcode_2d' && /*#__PURE__*/React.createElement(SvgIconWfBarcode2D, null), iconName === 'icon_wf_barcode_printer' && /*#__PURE__*/React.createElement(SvgIconWfBarcodePrinter, null), iconName === 'icon_wf_box' && /*#__PURE__*/React.createElement(SvgIconWfBox, null), iconName === 'icon_wf_calculator' && /*#__PURE__*/React.createElement(SvgIconWfCalculator, null), iconName === 'icon_wf_calendar' && /*#__PURE__*/React.createElement(SvgIconWfCalendar, null), iconName === 'icon_wf_car' && /*#__PURE__*/React.createElement(SvgIconWfCar, null), iconName === 'icon_wf_forklift' && /*#__PURE__*/React.createElement(SvgIconWfForklift, null), iconName === 'icon_wf_invoice' && /*#__PURE__*/React.createElement(SvgIconWfInvoice, null), iconName === 'icon_wf_keyboard' && /*#__PURE__*/React.createElement(SvgIconWfKeyboard, null), iconName === 'icon_wf_logs' && /*#__PURE__*/React.createElement(SvgIconWfLogs, null), iconName === 'icon_wf_no_barcode_printer' && /*#__PURE__*/React.createElement(SvgIconWfNoBarcodePrinter, null), iconName === 'icon_wf_no_scan' && /*#__PURE__*/React.createElement(SvgIconWfNoScan, null), iconName === 'icon_wf_pallet' && /*#__PURE__*/React.createElement(SvgIconWfPallet, null), iconName === 'icon_wf_pin' && /*#__PURE__*/React.createElement(SvgIconWfPin, null), iconName === 'icon_wf_scan' && /*#__PURE__*/React.createElement(SvgIconWfScan, null), iconName === 'icon_wf_send' && /*#__PURE__*/React.createElement(SvgIconWfSend, null), iconName === 'icon_wf_status_ksef' && /*#__PURE__*/React.createElement(SvgIconWfStatusKsef, null), iconName === 'icon_wf_stop' && /*#__PURE__*/React.createElement(SvgIconWfStop, null), iconName === 'icon_wf_unpin' && /*#__PURE__*/React.createElement(SvgIconWfUnpin, null), iconName === 'icon_wf_refresh' && /*#__PURE__*/React.createElement(SvgIconWfRefresh, null), iconName === 'icon_ui_close' && /*#__PURE__*/React.createElement(SvgIconUiClose, null), iconName === 'icon_ui_chevron_up' && /*#__PURE__*/React.createElement(SvgIconUiChevronUp, null), iconName === 'icon_ui_chevron_down' && /*#__PURE__*/React.createElement(SvgIconUiChevronDown, null), iconName === 'icon_ui_chevron_right' && /*#__PURE__*/React.createElement(SvgIconUiChevronRight, null), iconName === 'icon_ui_chevron_left' && /*#__PURE__*/React.createElement(SvgIconUiChevronLeft, null), iconName === 'icon_sp_check_mark' && /*#__PURE__*/React.createElement(SvgIconSpCheckMark, null), iconName === 'icon_sp_warning' && /*#__PURE__*/React.createElement(SvgIconSpWarning, null), iconName === 'icon_sp_info' && /*#__PURE__*/React.createElement(SvgIconSpInfo, null), iconName === 'icon_sp_info_2' && /*#__PURE__*/React.createElement(SvgIconSpInfo2, null), iconName === 'icon_burger_menu' && /*#__PURE__*/React.createElement(SvgMenuBurger, null), iconName === 'icon_update' && /*#__PURE__*/React.createElement(SvgUpdateIcon, null), iconName === 'icon_checkbox_default' && /*#__PURE__*/React.createElement(SvgCheckboxDefault, null), iconName === 'icon_checkbox_checked' && /*#__PURE__*/React.createElement(SvgCheckboxChecked, null), iconName === 'icon_checkbox_indeterminate' && /*#__PURE__*/React.createElement(SvgChecbkoxIndeterminate, null));
|
|
29286
29294
|
};
|
|
29295
|
+
Icon.propTypes = {
|
|
29296
|
+
color: propTypes.exports.string,
|
|
29297
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
29298
|
+
current: propTypes.exports.any
|
|
29299
|
+
})]),
|
|
29300
|
+
iconName: propTypes.exports.string,
|
|
29301
|
+
size: propTypes.exports.string
|
|
29302
|
+
};
|
|
29287
29303
|
|
|
29288
29304
|
var _excluded$X = ["id", "disabled", "label", "withRefresh", "fluid", "placeholder", "onRefreshClick", "options", "value", "onChange", "forwardedRef", "noOptionsText"];
|
|
29289
29305
|
var StyledAutocomplete$1 = styled$1(Autocomplete$1)(function (_ref) {
|
|
@@ -52554,8 +52570,6 @@ var StyledTypography = styled$1(Typography$2)(function (_ref) {
|
|
|
52554
52570
|
}
|
|
52555
52571
|
};
|
|
52556
52572
|
});
|
|
52557
|
-
|
|
52558
|
-
// @ts-ignore
|
|
52559
52573
|
var TypographyComponent = function TypographyComponent(_ref2) {
|
|
52560
52574
|
var text = _ref2.text,
|
|
52561
52575
|
type = _ref2.type,
|
|
@@ -52569,6 +52583,13 @@ var TypographyComponent = function TypographyComponent(_ref2) {
|
|
|
52569
52583
|
className: typeClassName
|
|
52570
52584
|
}), text);
|
|
52571
52585
|
};
|
|
52586
|
+
TypographyComponent.propTypes = {
|
|
52587
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
52588
|
+
current: propTypes.exports.any
|
|
52589
|
+
})]),
|
|
52590
|
+
text: propTypes.exports.string,
|
|
52591
|
+
type: propTypes.exports.string
|
|
52592
|
+
};
|
|
52572
52593
|
|
|
52573
52594
|
var StyledAppTileWrapper = styled$1(Box$1)(function (_ref) {
|
|
52574
52595
|
_objectDestructuringEmpty(_ref);
|
|
@@ -65846,15 +65867,23 @@ var StyledIllustrationWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
65846
65867
|
});
|
|
65847
65868
|
var Illustration = function Illustration(_ref2) {
|
|
65848
65869
|
var illustrationName = _ref2.illustrationName,
|
|
65849
|
-
color = _ref2.color,
|
|
65850
65870
|
size = _ref2.size,
|
|
65851
|
-
isBigType = _ref2.isBigType
|
|
65871
|
+
isBigType = _ref2.isBigType,
|
|
65872
|
+
forwardedRef = _ref2.forwardedRef;
|
|
65852
65873
|
var bigTypeClassName = isBigType ? 'big-type' : '';
|
|
65853
65874
|
return /*#__PURE__*/React.createElement(StyledIllustrationWrapper, {
|
|
65854
|
-
|
|
65855
|
-
|
|
65875
|
+
ref: forwardedRef,
|
|
65876
|
+
className: "".concat(size, " ").concat(bigTypeClassName)
|
|
65856
65877
|
}, illustrationName === 'ilu_availability_by_item' && /*#__PURE__*/React.createElement(SvgIluAvailabilityByItem, null), illustrationName === 'ilu_add_goods_to_pallet' && /*#__PURE__*/React.createElement(SvgIluAddGoodsToPallet, null), illustrationName === 'ilu_availability_by_index' && /*#__PURE__*/React.createElement(SvgIluAvailabilityByIndex, null), illustrationName === 'ilu_availability_by_location' && /*#__PURE__*/React.createElement(SvgIluAvailabilityByLocation, null), illustrationName === 'ilu_blocked_pallet' && /*#__PURE__*/React.createElement(SvgIluBlockedPallet, null), illustrationName === 'ilu_finished_product' && /*#__PURE__*/React.createElement(SvgIluFinishedProduct, null), illustrationName === 'ilu_from_pallet_to_rack' && /*#__PURE__*/React.createElement(SvgIluFromPalletToRack, null), illustrationName === 'ilu_internal_logistic' && /*#__PURE__*/React.createElement(SvgIluInternalLogistic, null), illustrationName === 'ilu_inventory' && /*#__PURE__*/React.createElement(SvgIluInventory, null), illustrationName === 'ilu_inventory_transfer' && /*#__PURE__*/React.createElement(SvgIluInventoryTransfer, null), illustrationName === 'ilu_labeling_of_pallets' && /*#__PURE__*/React.createElement(SvgIluLabelingOfPallets, null), illustrationName === 'ilu_loading_car' && /*#__PURE__*/React.createElement(SvgIluLoadingCar, null), illustrationName === 'ilu_manual_transfer' && /*#__PURE__*/React.createElement(SvgIluManualTransfer, null), illustrationName === 'ilu_move_goods_from_pallet_to_another' && /*#__PURE__*/React.createElement(SvgIluMoveGoodsFromPalletToAnother, null), illustrationName === 'ilu_printing_label' && /*#__PURE__*/React.createElement(SvgIluPrintingLabel, null), illustrationName === 'ilu_production' && /*#__PURE__*/React.createElement(SvgIluProduction, null), illustrationName === 'ilu_quality_control' && /*#__PURE__*/React.createElement(SvgIluQualityControl, null), illustrationName === 'ilu_release_of_goods_from_warehouse' && /*#__PURE__*/React.createElement(SvgIluReleaseOfGoodsFromWarehouse, null), illustrationName === 'ilu_remove_goods_from_pallet' && /*#__PURE__*/React.createElement(SvgIluRemoveGoodsFromPallet, null), illustrationName === 'ilu_reprinting_label' && /*#__PURE__*/React.createElement(SvgIluReprintingLabel, null), illustrationName === 'ilu_return_from_customers' && /*#__PURE__*/React.createElement(SvgIluReturnFromCustomers, null), illustrationName === 'ilu_sale' && /*#__PURE__*/React.createElement(SvgIluSale, null), illustrationName === 'ilu_shift_pallet' && /*#__PURE__*/React.createElement(SvgIluShiftPallet, null), illustrationName === 'ilu_shopping' && /*#__PURE__*/React.createElement(SvgIluShopping, null), illustrationName === 'ilu_status_change' && /*#__PURE__*/React.createElement(SvgIluStatusChange, null), illustrationName === 'ilu_storage_field' && /*#__PURE__*/React.createElement(SvgIluStorageField, null), illustrationName === 'ilu_warehouse_loading' && /*#__PURE__*/React.createElement(SvgIluWarehouseLoading, null), illustrationName === 'ilu_moving_box_to_another_shelf' && /*#__PURE__*/React.createElement(SvgMovingBoxToAnotherShelf, null), illustrationName === 'ilu_search' && /*#__PURE__*/React.createElement(SvgIluSearch, null), illustrationName === 'ilu_404' && /*#__PURE__*/React.createElement(SvgIlu404, null));
|
|
65857
65878
|
};
|
|
65879
|
+
Illustration.propTypes = {
|
|
65880
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
65881
|
+
current: propTypes.exports.any
|
|
65882
|
+
})]),
|
|
65883
|
+
illustrationName: propTypes.exports.string,
|
|
65884
|
+
isBigType: propTypes.exports.bool,
|
|
65885
|
+
size: propTypes.exports.string
|
|
65886
|
+
};
|
|
65858
65887
|
|
|
65859
65888
|
var _g$3;
|
|
65860
65889
|
function _extends$4() { _extends$4 = 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$4.apply(this, arguments); }
|
|
@@ -66027,7 +66056,6 @@ var StyledLogoWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
66027
66056
|
'&.red-navy': {
|
|
66028
66057
|
'#color-1': {
|
|
66029
66058
|
'rect, path': {
|
|
66030
|
-
// fill: theme.mainPallete.primary[color],
|
|
66031
66059
|
fill: theme.mainPallete.primary.blue
|
|
66032
66060
|
}
|
|
66033
66061
|
},
|
|
@@ -66087,10 +66115,9 @@ var StyledLogoWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
66087
66115
|
}
|
|
66088
66116
|
};
|
|
66089
66117
|
});
|
|
66090
|
-
|
|
66091
|
-
// @ts-ignore
|
|
66092
66118
|
var Logo = function Logo(_ref2) {
|
|
66093
|
-
var logoName = _ref2.logoName,
|
|
66119
|
+
var _ref2$logoName = _ref2.logoName,
|
|
66120
|
+
logoName = _ref2$logoName === void 0 ? "logo_xelcode" : _ref2$logoName,
|
|
66094
66121
|
_ref2$color = _ref2.color,
|
|
66095
66122
|
color = _ref2$color === void 0 ? 'red-navy' : _ref2$color,
|
|
66096
66123
|
props = _objectWithoutProperties$1(_ref2, _excluded$6);
|
|
@@ -66099,6 +66126,13 @@ var Logo = function Logo(_ref2) {
|
|
|
66099
66126
|
color: color
|
|
66100
66127
|
}, props), logoName === 'logo_xelcode' && /*#__PURE__*/React.createElement(SvgLogoXelcode, null), logoName === 'logo_xelcode_dashboard' && /*#__PURE__*/React.createElement(SvgLogoXelcodeDashboard, null));
|
|
66101
66128
|
};
|
|
66129
|
+
Logo.propTypes = {
|
|
66130
|
+
color: propTypes.exports.string,
|
|
66131
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
66132
|
+
current: propTypes.exports.any
|
|
66133
|
+
})]),
|
|
66134
|
+
logoName: propTypes.exports.string
|
|
66135
|
+
};
|
|
66102
66136
|
|
|
66103
66137
|
/**
|
|
66104
66138
|
A function that returns a universally unique identifier (uuid).
|
|
@@ -66279,7 +66313,7 @@ BottomInfoBar.propTypes = {
|
|
|
66279
66313
|
})])
|
|
66280
66314
|
};
|
|
66281
66315
|
|
|
66282
|
-
var _excluded$4 = ["
|
|
66316
|
+
var _excluded$4 = ["checked", "disabled", "label", "onChange", "indeterminate", "forwardedRef"];
|
|
66283
66317
|
var StyledFormControlLabel$1 = styled$1(FormControlLabel$2)(function (_ref) {
|
|
66284
66318
|
_objectDestructuringEmpty(_ref);
|
|
66285
66319
|
return {
|
|
@@ -66390,9 +66424,9 @@ var StyledCheckbox = styled$1(Checkbox$2)(function () {
|
|
|
66390
66424
|
};
|
|
66391
66425
|
});
|
|
66392
66426
|
var CheckboxComponent = function CheckboxComponent(_ref2) {
|
|
66393
|
-
var
|
|
66427
|
+
var checked = _ref2.checked,
|
|
66428
|
+
disabled = _ref2.disabled,
|
|
66394
66429
|
label = _ref2.label,
|
|
66395
|
-
checked = _ref2.checked,
|
|
66396
66430
|
onChange = _ref2.onChange,
|
|
66397
66431
|
indeterminate = _ref2.indeterminate,
|
|
66398
66432
|
forwardedRef = _ref2.forwardedRef,
|
|
@@ -66435,6 +66469,16 @@ var CheckboxComponent = function CheckboxComponent(_ref2) {
|
|
|
66435
66469
|
label: label
|
|
66436
66470
|
})));
|
|
66437
66471
|
};
|
|
66472
|
+
CheckboxComponent.propTypes = {
|
|
66473
|
+
checked: propTypes.exports.bool,
|
|
66474
|
+
disabled: propTypes.exports.bool,
|
|
66475
|
+
label: propTypes.exports.string,
|
|
66476
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
66477
|
+
current: propTypes.exports.any
|
|
66478
|
+
})]),
|
|
66479
|
+
indeterminate: propTypes.exports.bool,
|
|
66480
|
+
onChange: propTypes.exports.func
|
|
66481
|
+
};
|
|
66438
66482
|
|
|
66439
66483
|
var _excluded$3 = ["fluid", "placeholder", "onSearch", "onBlur", "searchText", "onChange", "onChangeSearchText", "forwardedRef"];
|
|
66440
66484
|
var StyledSearchBarWrapper = styled$1(Box$1)(function (_ref) {
|
|
@@ -66449,11 +66493,9 @@ var StyledSearchBarWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
66449
66493
|
justifyContent: 'space-between',
|
|
66450
66494
|
alignItems: 'center',
|
|
66451
66495
|
marginBottom: '20px',
|
|
66452
|
-
// padding: '4px 10px 5px 10px',
|
|
66453
66496
|
border: '1.5px solid transparent',
|
|
66454
66497
|
transition: 'background-color 0.2s ease-in-out, border 0.2s ease-in-out',
|
|
66455
66498
|
padding: '21px',
|
|
66456
|
-
//PADDDINGi DO USTALENIA
|
|
66457
66499
|
borderRadius: '34px',
|
|
66458
66500
|
fontWeight: 'bold',
|
|
66459
66501
|
'@media(min-width: 720px)': {
|
|
@@ -66620,6 +66662,18 @@ var SearchBarComponent = function SearchBarComponent(_ref3) {
|
|
|
66620
66662
|
}
|
|
66621
66663
|
}));
|
|
66622
66664
|
};
|
|
66665
|
+
SearchBarComponent.propTypes = {
|
|
66666
|
+
fluid: propTypes.exports.func,
|
|
66667
|
+
placeholder: propTypes.exports.string,
|
|
66668
|
+
onSearch: propTypes.exports.func,
|
|
66669
|
+
onBlur: propTypes.exports.func,
|
|
66670
|
+
searchText: propTypes.exports.string,
|
|
66671
|
+
onChange: propTypes.exports.func,
|
|
66672
|
+
onChangeSearchText: propTypes.exports.func,
|
|
66673
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
66674
|
+
current: propTypes.exports.any
|
|
66675
|
+
})])
|
|
66676
|
+
};
|
|
66623
66677
|
|
|
66624
66678
|
var StyledTableToolbar = styled$1('div')(function (_ref) {
|
|
66625
66679
|
_objectDestructuringEmpty(_ref);
|
|
@@ -89395,9 +89449,6 @@ var StyledCustomTable = styled$1(Box$1)(function (_ref) {
|
|
|
89395
89449
|
'button': {
|
|
89396
89450
|
display: 'none'
|
|
89397
89451
|
},
|
|
89398
|
-
'div:first-child': {
|
|
89399
|
-
// flex: '1',
|
|
89400
|
-
},
|
|
89401
89452
|
'div:nth-child(2)': {
|
|
89402
89453
|
display: 'none'
|
|
89403
89454
|
},
|
|
@@ -89464,12 +89515,6 @@ var StyledCustomTable = styled$1(Box$1)(function (_ref) {
|
|
|
89464
89515
|
},
|
|
89465
89516
|
'svg': {
|
|
89466
89517
|
display: 'none'
|
|
89467
|
-
},
|
|
89468
|
-
'.MuiOutlinedInput-root': {
|
|
89469
|
-
borderColor: 'red',
|
|
89470
|
-
'fieldset': {
|
|
89471
|
-
// border: 'none',
|
|
89472
|
-
}
|
|
89473
89518
|
}
|
|
89474
89519
|
}
|
|
89475
89520
|
},
|
|
@@ -89598,7 +89643,6 @@ var TableMobileComponent = function TableMobileComponent(_ref2) {
|
|
|
89598
89643
|
sort: false,
|
|
89599
89644
|
selectableRows: 'none',
|
|
89600
89645
|
selectableRowsOnClick: false,
|
|
89601
|
-
// responsive: 'scrollMaxWidth',
|
|
89602
89646
|
searchAlwaysOpen: false,
|
|
89603
89647
|
cellsEditable: false,
|
|
89604
89648
|
textLabels: {
|
|
@@ -89653,6 +89697,15 @@ var TableMobileComponent = function TableMobileComponent(_ref2) {
|
|
|
89653
89697
|
options: commonOptions
|
|
89654
89698
|
}));
|
|
89655
89699
|
};
|
|
89700
|
+
TableMobileComponent.propTypes = {
|
|
89701
|
+
columns: propTypes.exports.arrayOf(propTypes.exports.string),
|
|
89702
|
+
rows: propTypes.exports.arrayOf(propTypes.exports.shape({
|
|
89703
|
+
value: propTypes.exports.string,
|
|
89704
|
+
editable: propTypes.exports.bool
|
|
89705
|
+
})),
|
|
89706
|
+
includeSearch: propTypes.exports.bool,
|
|
89707
|
+
handleChangeData: propTypes.exports.func
|
|
89708
|
+
};
|
|
89656
89709
|
|
|
89657
89710
|
var StyledModalContainer = styled$1(Box$1)(function (_ref) {
|
|
89658
89711
|
_objectDestructuringEmpty(_ref);
|
|
@@ -89713,10 +89766,7 @@ var StyledModalWrapper = styled$1(Modal$1)(function (_ref2) {
|
|
|
89713
89766
|
},
|
|
89714
89767
|
'.MuiBackdrop-root': {
|
|
89715
89768
|
display: 'none'
|
|
89716
|
-
// opacity: 0,
|
|
89717
|
-
// backgroundColor: 'rgba(41, 48, 114, 0.35)'
|
|
89718
89769
|
},
|
|
89719
|
-
|
|
89720
89770
|
'svg': {
|
|
89721
89771
|
width: '115px',
|
|
89722
89772
|
height: '115px',
|
|
@@ -89791,30 +89841,17 @@ var CustomModal = function CustomModal(_ref6) {
|
|
|
89791
89841
|
type = _ref6.type,
|
|
89792
89842
|
handleCloseModal = _ref6.handleCloseModal,
|
|
89793
89843
|
handleActionButton = _ref6.handleActionButton,
|
|
89794
|
-
isModalOpen = _ref6.isModalOpen
|
|
89795
|
-
|
|
89796
|
-
// const handleOpen = () => setOpen(true);
|
|
89797
|
-
// const handleClose = () => setOpen(false);
|
|
89798
|
-
|
|
89799
|
-
// const showIcon = (type) => {
|
|
89800
|
-
// if( type==='complete') {
|
|
89801
|
-
// return <Illustration illustrationName={'ilu_status_change'} size='115'/>
|
|
89802
|
-
// } else if (type === 'error') {
|
|
89803
|
-
// return <Illustration illustrationName={'ilu_status_change'} size='big'/>
|
|
89804
|
-
// } else if (type === 'info') {
|
|
89805
|
-
// return <Illustration illustrationName={'ilu_status_change'} size='big'/>
|
|
89806
|
-
// } else return
|
|
89807
|
-
// }
|
|
89844
|
+
isModalOpen = _ref6.isModalOpen,
|
|
89845
|
+
forwardedRef = _ref6.forwardedRef;
|
|
89808
89846
|
var isScrollableTextModal = type === 'text-scroll';
|
|
89809
89847
|
return /*#__PURE__*/React__namespace.createElement(StyledModalContainer, {
|
|
89848
|
+
ref: forwardedRef,
|
|
89810
89849
|
className: !isModalOpen ? 'hidden' : ''
|
|
89811
89850
|
}, /*#__PURE__*/React__namespace.createElement(StyledModalWrapper, {
|
|
89812
89851
|
className: isScrollableTextModal ? 'scrollable' : '',
|
|
89813
89852
|
open: isModalOpen,
|
|
89814
89853
|
onClose: handleCloseModal,
|
|
89815
89854
|
isBottomTextButton: bottomButtonLabel
|
|
89816
|
-
// aria-labelledby="modal-modal-title"
|
|
89817
|
-
// aria-describedby="modal-modal-description"
|
|
89818
89855
|
}, /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Illustration, {
|
|
89819
89856
|
illustrationName: 'ilu_status_change',
|
|
89820
89857
|
size: "small"
|
|
@@ -89854,6 +89891,20 @@ var CustomModal = function CustomModal(_ref6) {
|
|
|
89854
89891
|
size: 'small'
|
|
89855
89892
|
})))));
|
|
89856
89893
|
};
|
|
89894
|
+
CustomModal.propTypes = {
|
|
89895
|
+
actionButtonLabel: propTypes.exports.string,
|
|
89896
|
+
bottomButtonLabel: propTypes.exports.string,
|
|
89897
|
+
closeButtonLabel: propTypes.exports.string,
|
|
89898
|
+
description: propTypes.exports.string,
|
|
89899
|
+
handleCloseModal: propTypes.exports.func,
|
|
89900
|
+
handleActionButton: propTypes.exports.func,
|
|
89901
|
+
isModalOpen: propTypes.exports.bool,
|
|
89902
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
89903
|
+
current: propTypes.exports.any
|
|
89904
|
+
})]),
|
|
89905
|
+
title: propTypes.exports.string,
|
|
89906
|
+
type: propTypes.exports.string
|
|
89907
|
+
};
|
|
89857
89908
|
|
|
89858
89909
|
var StyledModuleTileWrapper = styled$1(Box$1)(function (_ref) {
|
|
89859
89910
|
var fluid = _ref.fluid;
|
|
@@ -89948,21 +89999,10 @@ var StyledLabelAndIconWrapper = styled$1(Box$1)(function () {
|
|
|
89948
89999
|
paddingRight: '10px'
|
|
89949
90000
|
};
|
|
89950
90001
|
});
|
|
89951
|
-
styled$1(Box$1)(function (_ref2) {
|
|
89952
|
-
_objectDestructuringEmpty(_ref2);
|
|
89953
|
-
return {
|
|
89954
|
-
width: '100%',
|
|
89955
|
-
display: 'flex',
|
|
89956
|
-
justifyContent: 'space-between',
|
|
89957
|
-
'button:nth-child(2)': {
|
|
89958
|
-
marginLeft: 10
|
|
89959
|
-
}
|
|
89960
|
-
};
|
|
89961
|
-
});
|
|
89962
90002
|
var StyledStepper = styled$1(function (props) {
|
|
89963
90003
|
return /*#__PURE__*/React.createElement(Stepper$1, props);
|
|
89964
|
-
})(function (
|
|
89965
|
-
var numberOfSteps =
|
|
90004
|
+
})(function (_ref2) {
|
|
90005
|
+
var numberOfSteps = _ref2.numberOfSteps;
|
|
89966
90006
|
return {
|
|
89967
90007
|
'.MuiStepConnector-root': {
|
|
89968
90008
|
width: '4px',
|
|
@@ -89997,8 +90037,8 @@ var StyledStepper = styled$1(function (props) {
|
|
|
89997
90037
|
});
|
|
89998
90038
|
var StyledStep = styled$1(function (props) {
|
|
89999
90039
|
return /*#__PURE__*/React.createElement(Step$1, props);
|
|
90000
|
-
})(function (
|
|
90001
|
-
var completed =
|
|
90040
|
+
})(function (_ref3) {
|
|
90041
|
+
var completed = _ref3.completed;
|
|
90002
90042
|
return {
|
|
90003
90043
|
border: 'none',
|
|
90004
90044
|
backgroundColor: completed ? theme.mainPallete.secondary.specialGreen : '#D8E1FA',
|
|
@@ -90007,35 +90047,22 @@ var StyledStep = styled$1(function (props) {
|
|
|
90007
90047
|
}
|
|
90008
90048
|
};
|
|
90009
90049
|
});
|
|
90010
|
-
var CustomStepper = function CustomStepper(
|
|
90011
|
-
var steps =
|
|
90012
|
-
label =
|
|
90013
|
-
withIcon =
|
|
90014
|
-
currentStep =
|
|
90015
|
-
_ref5.handleNextStep;
|
|
90016
|
-
_ref5.handlePreviousStep;
|
|
90017
|
-
_ref5.handleChangeStep;
|
|
90018
|
-
steps.indexOf(currentStep);
|
|
90050
|
+
var CustomStepper = function CustomStepper(_ref4) {
|
|
90051
|
+
var steps = _ref4.steps,
|
|
90052
|
+
label = _ref4.label,
|
|
90053
|
+
withIcon = _ref4.withIcon,
|
|
90054
|
+
currentStep = _ref4.currentStep;
|
|
90019
90055
|
var _useState = React.useState(currentStep),
|
|
90020
90056
|
_useState2 = _slicedToArray$a(_useState, 2),
|
|
90021
|
-
activeStep = _useState2[0]
|
|
90022
|
-
|
|
90057
|
+
activeStep = _useState2[0];
|
|
90058
|
+
_useState2[1];
|
|
90023
90059
|
var _useState3 = React.useState({}),
|
|
90024
90060
|
_useState4 = _slicedToArray$a(_useState3, 2),
|
|
90025
90061
|
completed = _useState4[0];
|
|
90026
90062
|
_useState4[1];
|
|
90027
|
-
// alert('currentStep ' + currentStep);
|
|
90028
|
-
// alert('currentStepIndex ' + currentStepIndex);
|
|
90029
90063
|
var totalSteps = steps.length;
|
|
90030
90064
|
var completedSteps = Object.keys(completed).length;
|
|
90031
90065
|
var allStepsCompleted = completedSteps === totalSteps;
|
|
90032
|
-
var handleSteps = function handleSteps(steps, currentStep) {
|
|
90033
|
-
var currentStepIndex = steps.indexOf(currentStep);
|
|
90034
|
-
setActiveStep(currentStepIndex);
|
|
90035
|
-
};
|
|
90036
|
-
React.useEffect(function () {
|
|
90037
|
-
handleSteps(steps, currentStep);
|
|
90038
|
-
}, [currentStep]);
|
|
90039
90066
|
return /*#__PURE__*/React.createElement(StyledStepperContainer, null, /*#__PURE__*/React.createElement(Box$1, {
|
|
90040
90067
|
sx: {
|
|
90041
90068
|
width: '100%'
|
|
@@ -90057,6 +90084,15 @@ var CustomStepper = function CustomStepper(_ref5) {
|
|
|
90057
90084
|
});
|
|
90058
90085
|
}))));
|
|
90059
90086
|
};
|
|
90087
|
+
CustomStepper.propTypes = {
|
|
90088
|
+
currentStep: propTypes.exports.string,
|
|
90089
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
90090
|
+
current: propTypes.exports.any
|
|
90091
|
+
})]),
|
|
90092
|
+
label: propTypes.exports.string,
|
|
90093
|
+
steps: propTypes.exports.arrayOf(propTypes.exports.string),
|
|
90094
|
+
withIcon: propTypes.exports.bool
|
|
90095
|
+
};
|
|
90060
90096
|
|
|
90061
90097
|
var _g$1;
|
|
90062
90098
|
function _extends$1() { _extends$1 = 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$1.apply(this, arguments); }
|
|
@@ -90123,9 +90159,6 @@ var _excluded$2 = ["value", "label"];
|
|
|
90123
90159
|
var StyledFormControlLabel = styled$1(FormControlLabel$2)(function (_ref) {
|
|
90124
90160
|
_objectDestructuringEmpty(_ref);
|
|
90125
90161
|
return {
|
|
90126
|
-
// '.MuiFormControlLabel-label': checked && {
|
|
90127
|
-
// color: theme.palette.primary.main,
|
|
90128
|
-
// },
|
|
90129
90162
|
padding: 0,
|
|
90130
90163
|
boxSizing: 'border-box',
|
|
90131
90164
|
marginBottom: '30px',
|
|
@@ -90243,6 +90276,18 @@ var RadioGroupComponent = function RadioGroupComponent(_ref2) {
|
|
|
90243
90276
|
defaultValue: defaultValue
|
|
90244
90277
|
}, renderRadioOptions(options));
|
|
90245
90278
|
};
|
|
90279
|
+
RadioGroupComponent.propTypes = {
|
|
90280
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
90281
|
+
current: propTypes.exports.any
|
|
90282
|
+
})]),
|
|
90283
|
+
onChange: propTypes.exports.func,
|
|
90284
|
+
options: propTypes.exports.arrayOf(propTypes.exports.shape({
|
|
90285
|
+
disabled: propTypes.exports.bool,
|
|
90286
|
+
label: propTypes.exports.string,
|
|
90287
|
+
value: propTypes.exports.string
|
|
90288
|
+
})),
|
|
90289
|
+
value: propTypes.exports.string
|
|
90290
|
+
};
|
|
90246
90291
|
|
|
90247
90292
|
var StyledMenu = styled$1('div')(function (_ref) {
|
|
90248
90293
|
var variant = _ref.variant;
|
package/dist/index.esm.js
CHANGED
|
@@ -19211,6 +19211,14 @@ var SwitchComponent = function SwitchComponent(_ref) {
|
|
|
19211
19211
|
label: label
|
|
19212
19212
|
})));
|
|
19213
19213
|
};
|
|
19214
|
+
SwitchComponent.propTypes = {
|
|
19215
|
+
checked: propTypes.exports.bool,
|
|
19216
|
+
label: propTypes.exports.string,
|
|
19217
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
19218
|
+
current: propTypes.exports.any
|
|
19219
|
+
})]),
|
|
19220
|
+
onChange: propTypes.exports.func
|
|
19221
|
+
};
|
|
19214
19222
|
|
|
19215
19223
|
function GlobalStyles$2(props) {
|
|
19216
19224
|
return /*#__PURE__*/jsxRuntimeExports.jsx(GlobalStyles$3, _extends$1d({}, props, {
|
|
@@ -27795,6 +27803,33 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
27795
27803
|
} : void 0;
|
|
27796
27804
|
var Autocomplete$1 = Autocomplete;
|
|
27797
27805
|
|
|
27806
|
+
const defaultTheme = createTheme();
|
|
27807
|
+
const Box = createBox({
|
|
27808
|
+
defaultTheme,
|
|
27809
|
+
defaultClassName: 'MuiBox-root',
|
|
27810
|
+
generateClassName: ClassNameGenerator$1.generate
|
|
27811
|
+
});
|
|
27812
|
+
process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
|
|
27813
|
+
// ----------------------------- Warning --------------------------------
|
|
27814
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
27815
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
27816
|
+
// ----------------------------------------------------------------------
|
|
27817
|
+
/**
|
|
27818
|
+
* @ignore
|
|
27819
|
+
*/
|
|
27820
|
+
children: propTypes.exports.node,
|
|
27821
|
+
/**
|
|
27822
|
+
* The component used for the root node.
|
|
27823
|
+
* Either a string to use a HTML element or a component.
|
|
27824
|
+
*/
|
|
27825
|
+
component: propTypes.exports.elementType,
|
|
27826
|
+
/**
|
|
27827
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
27828
|
+
*/
|
|
27829
|
+
sx: propTypes.exports.oneOfType([propTypes.exports.arrayOf(propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.object, propTypes.exports.bool])), propTypes.exports.func, propTypes.exports.object])
|
|
27830
|
+
} : void 0;
|
|
27831
|
+
var Box$1 = Box;
|
|
27832
|
+
|
|
27798
27833
|
var _path$F, _path2$e, _path3$6;
|
|
27799
27834
|
function _extends$1c() { _extends$1c = 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$1c.apply(this, arguments); }
|
|
27800
27835
|
var SvgIconWfSearch = function SvgIconWfSearch(props) {
|
|
@@ -28993,33 +29028,6 @@ var SvgUpdateIcon = function SvgUpdateIcon(props) {
|
|
|
28993
29028
|
}))));
|
|
28994
29029
|
};
|
|
28995
29030
|
|
|
28996
|
-
const defaultTheme = createTheme();
|
|
28997
|
-
const Box = createBox({
|
|
28998
|
-
defaultTheme,
|
|
28999
|
-
defaultClassName: 'MuiBox-root',
|
|
29000
|
-
generateClassName: ClassNameGenerator$1.generate
|
|
29001
|
-
});
|
|
29002
|
-
process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
|
|
29003
|
-
// ----------------------------- Warning --------------------------------
|
|
29004
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
29005
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
29006
|
-
// ----------------------------------------------------------------------
|
|
29007
|
-
/**
|
|
29008
|
-
* @ignore
|
|
29009
|
-
*/
|
|
29010
|
-
children: propTypes.exports.node,
|
|
29011
|
-
/**
|
|
29012
|
-
* The component used for the root node.
|
|
29013
|
-
* Either a string to use a HTML element or a component.
|
|
29014
|
-
*/
|
|
29015
|
-
component: propTypes.exports.elementType,
|
|
29016
|
-
/**
|
|
29017
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29018
|
-
*/
|
|
29019
|
-
sx: propTypes.exports.oneOfType([propTypes.exports.arrayOf(propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.object, propTypes.exports.bool])), propTypes.exports.func, propTypes.exports.object])
|
|
29020
|
-
} : void 0;
|
|
29021
|
-
var Box$1 = Box;
|
|
29022
|
-
|
|
29023
29031
|
var _g$x;
|
|
29024
29032
|
function _extends$B() { _extends$B = 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$B.apply(this, arguments); }
|
|
29025
29033
|
var SvgCheckboxDefault = function SvgCheckboxDefault(props) {
|
|
@@ -29088,7 +29096,7 @@ var SvgChecbkoxIndeterminate = function SvgChecbkoxIndeterminate(props) {
|
|
|
29088
29096
|
}))));
|
|
29089
29097
|
};
|
|
29090
29098
|
|
|
29091
|
-
var _excluded$Y = ["
|
|
29099
|
+
var _excluded$Y = ["color", "iconName", "size", "forwardedRef"];
|
|
29092
29100
|
var StyledIconWrapper$1 = styled$1(Box$1)(function (_ref) {
|
|
29093
29101
|
var iconName = _ref.iconName;
|
|
29094
29102
|
return {
|
|
@@ -29249,10 +29257,10 @@ var StyledIconWrapper$1 = styled$1(Box$1)(function (_ref) {
|
|
|
29249
29257
|
};
|
|
29250
29258
|
});
|
|
29251
29259
|
var Icon = function Icon(_ref2) {
|
|
29252
|
-
var _ref2$
|
|
29253
|
-
iconName = _ref2$iconName === void 0 ? '' : _ref2$iconName,
|
|
29254
|
-
_ref2$color = _ref2.color,
|
|
29260
|
+
var _ref2$color = _ref2.color,
|
|
29255
29261
|
color = _ref2$color === void 0 ? 'red-navy' : _ref2$color,
|
|
29262
|
+
_ref2$iconName = _ref2.iconName,
|
|
29263
|
+
iconName = _ref2$iconName === void 0 ? 'icon_wf_download' : _ref2$iconName,
|
|
29256
29264
|
_ref2$size = _ref2.size,
|
|
29257
29265
|
size = _ref2$size === void 0 ? 'responsive' : _ref2$size,
|
|
29258
29266
|
forwardedRef = _ref2.forwardedRef,
|
|
@@ -29264,6 +29272,14 @@ var Icon = function Icon(_ref2) {
|
|
|
29264
29272
|
iconName: iconName
|
|
29265
29273
|
}), iconName === 'icon_wf_search' && /*#__PURE__*/React__default.createElement(SvgIconWfSearch, null), iconName === 'icon_wf_locked' && /*#__PURE__*/React__default.createElement(SvgIconWfLocked, null), iconName === 'icon_wf_download' && /*#__PURE__*/React__default.createElement(SvgIconWfDownload, null), iconName === 'icon_wf_remove' && /*#__PURE__*/React__default.createElement(SvgIconWfRemove, null), iconName === 'icon_wf_logout' && /*#__PURE__*/React__default.createElement(SvgIconWfLogout, null), iconName === 'icon_wf_edit' && /*#__PURE__*/React__default.createElement(SvgIconWfEdit, null), iconName === 'icon_wf_settings_or_filter' && /*#__PURE__*/React__default.createElement(SvgIconWfSettingsOrFilter, null), iconName === 'icon_wf_barcode_1d' && /*#__PURE__*/React__default.createElement(SvgIconWfBarcode1D, null), iconName === 'icon_wf_barcode_2d' && /*#__PURE__*/React__default.createElement(SvgIconWfBarcode2D, null), iconName === 'icon_wf_barcode_printer' && /*#__PURE__*/React__default.createElement(SvgIconWfBarcodePrinter, null), iconName === 'icon_wf_box' && /*#__PURE__*/React__default.createElement(SvgIconWfBox, null), iconName === 'icon_wf_calculator' && /*#__PURE__*/React__default.createElement(SvgIconWfCalculator, null), iconName === 'icon_wf_calendar' && /*#__PURE__*/React__default.createElement(SvgIconWfCalendar, null), iconName === 'icon_wf_car' && /*#__PURE__*/React__default.createElement(SvgIconWfCar, null), iconName === 'icon_wf_forklift' && /*#__PURE__*/React__default.createElement(SvgIconWfForklift, null), iconName === 'icon_wf_invoice' && /*#__PURE__*/React__default.createElement(SvgIconWfInvoice, null), iconName === 'icon_wf_keyboard' && /*#__PURE__*/React__default.createElement(SvgIconWfKeyboard, null), iconName === 'icon_wf_logs' && /*#__PURE__*/React__default.createElement(SvgIconWfLogs, null), iconName === 'icon_wf_no_barcode_printer' && /*#__PURE__*/React__default.createElement(SvgIconWfNoBarcodePrinter, null), iconName === 'icon_wf_no_scan' && /*#__PURE__*/React__default.createElement(SvgIconWfNoScan, null), iconName === 'icon_wf_pallet' && /*#__PURE__*/React__default.createElement(SvgIconWfPallet, null), iconName === 'icon_wf_pin' && /*#__PURE__*/React__default.createElement(SvgIconWfPin, null), iconName === 'icon_wf_scan' && /*#__PURE__*/React__default.createElement(SvgIconWfScan, null), iconName === 'icon_wf_send' && /*#__PURE__*/React__default.createElement(SvgIconWfSend, null), iconName === 'icon_wf_status_ksef' && /*#__PURE__*/React__default.createElement(SvgIconWfStatusKsef, null), iconName === 'icon_wf_stop' && /*#__PURE__*/React__default.createElement(SvgIconWfStop, null), iconName === 'icon_wf_unpin' && /*#__PURE__*/React__default.createElement(SvgIconWfUnpin, null), iconName === 'icon_wf_refresh' && /*#__PURE__*/React__default.createElement(SvgIconWfRefresh, null), iconName === 'icon_ui_close' && /*#__PURE__*/React__default.createElement(SvgIconUiClose, null), iconName === 'icon_ui_chevron_up' && /*#__PURE__*/React__default.createElement(SvgIconUiChevronUp, null), iconName === 'icon_ui_chevron_down' && /*#__PURE__*/React__default.createElement(SvgIconUiChevronDown, null), iconName === 'icon_ui_chevron_right' && /*#__PURE__*/React__default.createElement(SvgIconUiChevronRight, null), iconName === 'icon_ui_chevron_left' && /*#__PURE__*/React__default.createElement(SvgIconUiChevronLeft, null), iconName === 'icon_sp_check_mark' && /*#__PURE__*/React__default.createElement(SvgIconSpCheckMark, null), iconName === 'icon_sp_warning' && /*#__PURE__*/React__default.createElement(SvgIconSpWarning, null), iconName === 'icon_sp_info' && /*#__PURE__*/React__default.createElement(SvgIconSpInfo, null), iconName === 'icon_sp_info_2' && /*#__PURE__*/React__default.createElement(SvgIconSpInfo2, null), iconName === 'icon_burger_menu' && /*#__PURE__*/React__default.createElement(SvgMenuBurger, null), iconName === 'icon_update' && /*#__PURE__*/React__default.createElement(SvgUpdateIcon, null), iconName === 'icon_checkbox_default' && /*#__PURE__*/React__default.createElement(SvgCheckboxDefault, null), iconName === 'icon_checkbox_checked' && /*#__PURE__*/React__default.createElement(SvgCheckboxChecked, null), iconName === 'icon_checkbox_indeterminate' && /*#__PURE__*/React__default.createElement(SvgChecbkoxIndeterminate, null));
|
|
29266
29274
|
};
|
|
29275
|
+
Icon.propTypes = {
|
|
29276
|
+
color: propTypes.exports.string,
|
|
29277
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
29278
|
+
current: propTypes.exports.any
|
|
29279
|
+
})]),
|
|
29280
|
+
iconName: propTypes.exports.string,
|
|
29281
|
+
size: propTypes.exports.string
|
|
29282
|
+
};
|
|
29267
29283
|
|
|
29268
29284
|
var _excluded$X = ["id", "disabled", "label", "withRefresh", "fluid", "placeholder", "onRefreshClick", "options", "value", "onChange", "forwardedRef", "noOptionsText"];
|
|
29269
29285
|
var StyledAutocomplete$1 = styled$1(Autocomplete$1)(function (_ref) {
|
|
@@ -52534,8 +52550,6 @@ var StyledTypography = styled$1(Typography$2)(function (_ref) {
|
|
|
52534
52550
|
}
|
|
52535
52551
|
};
|
|
52536
52552
|
});
|
|
52537
|
-
|
|
52538
|
-
// @ts-ignore
|
|
52539
52553
|
var TypographyComponent = function TypographyComponent(_ref2) {
|
|
52540
52554
|
var text = _ref2.text,
|
|
52541
52555
|
type = _ref2.type,
|
|
@@ -52549,6 +52563,13 @@ var TypographyComponent = function TypographyComponent(_ref2) {
|
|
|
52549
52563
|
className: typeClassName
|
|
52550
52564
|
}), text);
|
|
52551
52565
|
};
|
|
52566
|
+
TypographyComponent.propTypes = {
|
|
52567
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
52568
|
+
current: propTypes.exports.any
|
|
52569
|
+
})]),
|
|
52570
|
+
text: propTypes.exports.string,
|
|
52571
|
+
type: propTypes.exports.string
|
|
52572
|
+
};
|
|
52552
52573
|
|
|
52553
52574
|
var StyledAppTileWrapper = styled$1(Box$1)(function (_ref) {
|
|
52554
52575
|
_objectDestructuringEmpty(_ref);
|
|
@@ -65826,15 +65847,23 @@ var StyledIllustrationWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
65826
65847
|
});
|
|
65827
65848
|
var Illustration = function Illustration(_ref2) {
|
|
65828
65849
|
var illustrationName = _ref2.illustrationName,
|
|
65829
|
-
color = _ref2.color,
|
|
65830
65850
|
size = _ref2.size,
|
|
65831
|
-
isBigType = _ref2.isBigType
|
|
65851
|
+
isBigType = _ref2.isBigType,
|
|
65852
|
+
forwardedRef = _ref2.forwardedRef;
|
|
65832
65853
|
var bigTypeClassName = isBigType ? 'big-type' : '';
|
|
65833
65854
|
return /*#__PURE__*/React__default.createElement(StyledIllustrationWrapper, {
|
|
65834
|
-
|
|
65835
|
-
|
|
65855
|
+
ref: forwardedRef,
|
|
65856
|
+
className: "".concat(size, " ").concat(bigTypeClassName)
|
|
65836
65857
|
}, illustrationName === 'ilu_availability_by_item' && /*#__PURE__*/React__default.createElement(SvgIluAvailabilityByItem, null), illustrationName === 'ilu_add_goods_to_pallet' && /*#__PURE__*/React__default.createElement(SvgIluAddGoodsToPallet, null), illustrationName === 'ilu_availability_by_index' && /*#__PURE__*/React__default.createElement(SvgIluAvailabilityByIndex, null), illustrationName === 'ilu_availability_by_location' && /*#__PURE__*/React__default.createElement(SvgIluAvailabilityByLocation, null), illustrationName === 'ilu_blocked_pallet' && /*#__PURE__*/React__default.createElement(SvgIluBlockedPallet, null), illustrationName === 'ilu_finished_product' && /*#__PURE__*/React__default.createElement(SvgIluFinishedProduct, null), illustrationName === 'ilu_from_pallet_to_rack' && /*#__PURE__*/React__default.createElement(SvgIluFromPalletToRack, null), illustrationName === 'ilu_internal_logistic' && /*#__PURE__*/React__default.createElement(SvgIluInternalLogistic, null), illustrationName === 'ilu_inventory' && /*#__PURE__*/React__default.createElement(SvgIluInventory, null), illustrationName === 'ilu_inventory_transfer' && /*#__PURE__*/React__default.createElement(SvgIluInventoryTransfer, null), illustrationName === 'ilu_labeling_of_pallets' && /*#__PURE__*/React__default.createElement(SvgIluLabelingOfPallets, null), illustrationName === 'ilu_loading_car' && /*#__PURE__*/React__default.createElement(SvgIluLoadingCar, null), illustrationName === 'ilu_manual_transfer' && /*#__PURE__*/React__default.createElement(SvgIluManualTransfer, null), illustrationName === 'ilu_move_goods_from_pallet_to_another' && /*#__PURE__*/React__default.createElement(SvgIluMoveGoodsFromPalletToAnother, null), illustrationName === 'ilu_printing_label' && /*#__PURE__*/React__default.createElement(SvgIluPrintingLabel, null), illustrationName === 'ilu_production' && /*#__PURE__*/React__default.createElement(SvgIluProduction, null), illustrationName === 'ilu_quality_control' && /*#__PURE__*/React__default.createElement(SvgIluQualityControl, null), illustrationName === 'ilu_release_of_goods_from_warehouse' && /*#__PURE__*/React__default.createElement(SvgIluReleaseOfGoodsFromWarehouse, null), illustrationName === 'ilu_remove_goods_from_pallet' && /*#__PURE__*/React__default.createElement(SvgIluRemoveGoodsFromPallet, null), illustrationName === 'ilu_reprinting_label' && /*#__PURE__*/React__default.createElement(SvgIluReprintingLabel, null), illustrationName === 'ilu_return_from_customers' && /*#__PURE__*/React__default.createElement(SvgIluReturnFromCustomers, null), illustrationName === 'ilu_sale' && /*#__PURE__*/React__default.createElement(SvgIluSale, null), illustrationName === 'ilu_shift_pallet' && /*#__PURE__*/React__default.createElement(SvgIluShiftPallet, null), illustrationName === 'ilu_shopping' && /*#__PURE__*/React__default.createElement(SvgIluShopping, null), illustrationName === 'ilu_status_change' && /*#__PURE__*/React__default.createElement(SvgIluStatusChange, null), illustrationName === 'ilu_storage_field' && /*#__PURE__*/React__default.createElement(SvgIluStorageField, null), illustrationName === 'ilu_warehouse_loading' && /*#__PURE__*/React__default.createElement(SvgIluWarehouseLoading, null), illustrationName === 'ilu_moving_box_to_another_shelf' && /*#__PURE__*/React__default.createElement(SvgMovingBoxToAnotherShelf, null), illustrationName === 'ilu_search' && /*#__PURE__*/React__default.createElement(SvgIluSearch, null), illustrationName === 'ilu_404' && /*#__PURE__*/React__default.createElement(SvgIlu404, null));
|
|
65837
65858
|
};
|
|
65859
|
+
Illustration.propTypes = {
|
|
65860
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
65861
|
+
current: propTypes.exports.any
|
|
65862
|
+
})]),
|
|
65863
|
+
illustrationName: propTypes.exports.string,
|
|
65864
|
+
isBigType: propTypes.exports.bool,
|
|
65865
|
+
size: propTypes.exports.string
|
|
65866
|
+
};
|
|
65838
65867
|
|
|
65839
65868
|
var _g$3;
|
|
65840
65869
|
function _extends$4() { _extends$4 = 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$4.apply(this, arguments); }
|
|
@@ -66007,7 +66036,6 @@ var StyledLogoWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
66007
66036
|
'&.red-navy': {
|
|
66008
66037
|
'#color-1': {
|
|
66009
66038
|
'rect, path': {
|
|
66010
|
-
// fill: theme.mainPallete.primary[color],
|
|
66011
66039
|
fill: theme.mainPallete.primary.blue
|
|
66012
66040
|
}
|
|
66013
66041
|
},
|
|
@@ -66067,10 +66095,9 @@ var StyledLogoWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
66067
66095
|
}
|
|
66068
66096
|
};
|
|
66069
66097
|
});
|
|
66070
|
-
|
|
66071
|
-
// @ts-ignore
|
|
66072
66098
|
var Logo = function Logo(_ref2) {
|
|
66073
|
-
var logoName = _ref2.logoName,
|
|
66099
|
+
var _ref2$logoName = _ref2.logoName,
|
|
66100
|
+
logoName = _ref2$logoName === void 0 ? "logo_xelcode" : _ref2$logoName,
|
|
66074
66101
|
_ref2$color = _ref2.color,
|
|
66075
66102
|
color = _ref2$color === void 0 ? 'red-navy' : _ref2$color,
|
|
66076
66103
|
props = _objectWithoutProperties$1(_ref2, _excluded$6);
|
|
@@ -66079,6 +66106,13 @@ var Logo = function Logo(_ref2) {
|
|
|
66079
66106
|
color: color
|
|
66080
66107
|
}, props), logoName === 'logo_xelcode' && /*#__PURE__*/React__default.createElement(SvgLogoXelcode, null), logoName === 'logo_xelcode_dashboard' && /*#__PURE__*/React__default.createElement(SvgLogoXelcodeDashboard, null));
|
|
66081
66108
|
};
|
|
66109
|
+
Logo.propTypes = {
|
|
66110
|
+
color: propTypes.exports.string,
|
|
66111
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
66112
|
+
current: propTypes.exports.any
|
|
66113
|
+
})]),
|
|
66114
|
+
logoName: propTypes.exports.string
|
|
66115
|
+
};
|
|
66082
66116
|
|
|
66083
66117
|
/**
|
|
66084
66118
|
A function that returns a universally unique identifier (uuid).
|
|
@@ -66259,7 +66293,7 @@ BottomInfoBar.propTypes = {
|
|
|
66259
66293
|
})])
|
|
66260
66294
|
};
|
|
66261
66295
|
|
|
66262
|
-
var _excluded$4 = ["
|
|
66296
|
+
var _excluded$4 = ["checked", "disabled", "label", "onChange", "indeterminate", "forwardedRef"];
|
|
66263
66297
|
var StyledFormControlLabel$1 = styled$1(FormControlLabel$2)(function (_ref) {
|
|
66264
66298
|
_objectDestructuringEmpty(_ref);
|
|
66265
66299
|
return {
|
|
@@ -66370,9 +66404,9 @@ var StyledCheckbox = styled$1(Checkbox$2)(function () {
|
|
|
66370
66404
|
};
|
|
66371
66405
|
});
|
|
66372
66406
|
var CheckboxComponent = function CheckboxComponent(_ref2) {
|
|
66373
|
-
var
|
|
66407
|
+
var checked = _ref2.checked,
|
|
66408
|
+
disabled = _ref2.disabled,
|
|
66374
66409
|
label = _ref2.label,
|
|
66375
|
-
checked = _ref2.checked,
|
|
66376
66410
|
onChange = _ref2.onChange,
|
|
66377
66411
|
indeterminate = _ref2.indeterminate,
|
|
66378
66412
|
forwardedRef = _ref2.forwardedRef,
|
|
@@ -66415,6 +66449,16 @@ var CheckboxComponent = function CheckboxComponent(_ref2) {
|
|
|
66415
66449
|
label: label
|
|
66416
66450
|
})));
|
|
66417
66451
|
};
|
|
66452
|
+
CheckboxComponent.propTypes = {
|
|
66453
|
+
checked: propTypes.exports.bool,
|
|
66454
|
+
disabled: propTypes.exports.bool,
|
|
66455
|
+
label: propTypes.exports.string,
|
|
66456
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
66457
|
+
current: propTypes.exports.any
|
|
66458
|
+
})]),
|
|
66459
|
+
indeterminate: propTypes.exports.bool,
|
|
66460
|
+
onChange: propTypes.exports.func
|
|
66461
|
+
};
|
|
66418
66462
|
|
|
66419
66463
|
var _excluded$3 = ["fluid", "placeholder", "onSearch", "onBlur", "searchText", "onChange", "onChangeSearchText", "forwardedRef"];
|
|
66420
66464
|
var StyledSearchBarWrapper = styled$1(Box$1)(function (_ref) {
|
|
@@ -66429,11 +66473,9 @@ var StyledSearchBarWrapper = styled$1(Box$1)(function (_ref) {
|
|
|
66429
66473
|
justifyContent: 'space-between',
|
|
66430
66474
|
alignItems: 'center',
|
|
66431
66475
|
marginBottom: '20px',
|
|
66432
|
-
// padding: '4px 10px 5px 10px',
|
|
66433
66476
|
border: '1.5px solid transparent',
|
|
66434
66477
|
transition: 'background-color 0.2s ease-in-out, border 0.2s ease-in-out',
|
|
66435
66478
|
padding: '21px',
|
|
66436
|
-
//PADDDINGi DO USTALENIA
|
|
66437
66479
|
borderRadius: '34px',
|
|
66438
66480
|
fontWeight: 'bold',
|
|
66439
66481
|
'@media(min-width: 720px)': {
|
|
@@ -66600,6 +66642,18 @@ var SearchBarComponent = function SearchBarComponent(_ref3) {
|
|
|
66600
66642
|
}
|
|
66601
66643
|
}));
|
|
66602
66644
|
};
|
|
66645
|
+
SearchBarComponent.propTypes = {
|
|
66646
|
+
fluid: propTypes.exports.func,
|
|
66647
|
+
placeholder: propTypes.exports.string,
|
|
66648
|
+
onSearch: propTypes.exports.func,
|
|
66649
|
+
onBlur: propTypes.exports.func,
|
|
66650
|
+
searchText: propTypes.exports.string,
|
|
66651
|
+
onChange: propTypes.exports.func,
|
|
66652
|
+
onChangeSearchText: propTypes.exports.func,
|
|
66653
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
66654
|
+
current: propTypes.exports.any
|
|
66655
|
+
})])
|
|
66656
|
+
};
|
|
66603
66657
|
|
|
66604
66658
|
var StyledTableToolbar = styled$1('div')(function (_ref) {
|
|
66605
66659
|
_objectDestructuringEmpty(_ref);
|
|
@@ -89375,9 +89429,6 @@ var StyledCustomTable = styled$1(Box$1)(function (_ref) {
|
|
|
89375
89429
|
'button': {
|
|
89376
89430
|
display: 'none'
|
|
89377
89431
|
},
|
|
89378
|
-
'div:first-child': {
|
|
89379
|
-
// flex: '1',
|
|
89380
|
-
},
|
|
89381
89432
|
'div:nth-child(2)': {
|
|
89382
89433
|
display: 'none'
|
|
89383
89434
|
},
|
|
@@ -89444,12 +89495,6 @@ var StyledCustomTable = styled$1(Box$1)(function (_ref) {
|
|
|
89444
89495
|
},
|
|
89445
89496
|
'svg': {
|
|
89446
89497
|
display: 'none'
|
|
89447
|
-
},
|
|
89448
|
-
'.MuiOutlinedInput-root': {
|
|
89449
|
-
borderColor: 'red',
|
|
89450
|
-
'fieldset': {
|
|
89451
|
-
// border: 'none',
|
|
89452
|
-
}
|
|
89453
89498
|
}
|
|
89454
89499
|
}
|
|
89455
89500
|
},
|
|
@@ -89578,7 +89623,6 @@ var TableMobileComponent = function TableMobileComponent(_ref2) {
|
|
|
89578
89623
|
sort: false,
|
|
89579
89624
|
selectableRows: 'none',
|
|
89580
89625
|
selectableRowsOnClick: false,
|
|
89581
|
-
// responsive: 'scrollMaxWidth',
|
|
89582
89626
|
searchAlwaysOpen: false,
|
|
89583
89627
|
cellsEditable: false,
|
|
89584
89628
|
textLabels: {
|
|
@@ -89633,6 +89677,15 @@ var TableMobileComponent = function TableMobileComponent(_ref2) {
|
|
|
89633
89677
|
options: commonOptions
|
|
89634
89678
|
}));
|
|
89635
89679
|
};
|
|
89680
|
+
TableMobileComponent.propTypes = {
|
|
89681
|
+
columns: propTypes.exports.arrayOf(propTypes.exports.string),
|
|
89682
|
+
rows: propTypes.exports.arrayOf(propTypes.exports.shape({
|
|
89683
|
+
value: propTypes.exports.string,
|
|
89684
|
+
editable: propTypes.exports.bool
|
|
89685
|
+
})),
|
|
89686
|
+
includeSearch: propTypes.exports.bool,
|
|
89687
|
+
handleChangeData: propTypes.exports.func
|
|
89688
|
+
};
|
|
89636
89689
|
|
|
89637
89690
|
var StyledModalContainer = styled$1(Box$1)(function (_ref) {
|
|
89638
89691
|
_objectDestructuringEmpty(_ref);
|
|
@@ -89693,10 +89746,7 @@ var StyledModalWrapper = styled$1(Modal$1)(function (_ref2) {
|
|
|
89693
89746
|
},
|
|
89694
89747
|
'.MuiBackdrop-root': {
|
|
89695
89748
|
display: 'none'
|
|
89696
|
-
// opacity: 0,
|
|
89697
|
-
// backgroundColor: 'rgba(41, 48, 114, 0.35)'
|
|
89698
89749
|
},
|
|
89699
|
-
|
|
89700
89750
|
'svg': {
|
|
89701
89751
|
width: '115px',
|
|
89702
89752
|
height: '115px',
|
|
@@ -89771,30 +89821,17 @@ var CustomModal = function CustomModal(_ref6) {
|
|
|
89771
89821
|
type = _ref6.type,
|
|
89772
89822
|
handleCloseModal = _ref6.handleCloseModal,
|
|
89773
89823
|
handleActionButton = _ref6.handleActionButton,
|
|
89774
|
-
isModalOpen = _ref6.isModalOpen
|
|
89775
|
-
|
|
89776
|
-
// const handleOpen = () => setOpen(true);
|
|
89777
|
-
// const handleClose = () => setOpen(false);
|
|
89778
|
-
|
|
89779
|
-
// const showIcon = (type) => {
|
|
89780
|
-
// if( type==='complete') {
|
|
89781
|
-
// return <Illustration illustrationName={'ilu_status_change'} size='115'/>
|
|
89782
|
-
// } else if (type === 'error') {
|
|
89783
|
-
// return <Illustration illustrationName={'ilu_status_change'} size='big'/>
|
|
89784
|
-
// } else if (type === 'info') {
|
|
89785
|
-
// return <Illustration illustrationName={'ilu_status_change'} size='big'/>
|
|
89786
|
-
// } else return
|
|
89787
|
-
// }
|
|
89824
|
+
isModalOpen = _ref6.isModalOpen,
|
|
89825
|
+
forwardedRef = _ref6.forwardedRef;
|
|
89788
89826
|
var isScrollableTextModal = type === 'text-scroll';
|
|
89789
89827
|
return /*#__PURE__*/React.createElement(StyledModalContainer, {
|
|
89828
|
+
ref: forwardedRef,
|
|
89790
89829
|
className: !isModalOpen ? 'hidden' : ''
|
|
89791
89830
|
}, /*#__PURE__*/React.createElement(StyledModalWrapper, {
|
|
89792
89831
|
className: isScrollableTextModal ? 'scrollable' : '',
|
|
89793
89832
|
open: isModalOpen,
|
|
89794
89833
|
onClose: handleCloseModal,
|
|
89795
89834
|
isBottomTextButton: bottomButtonLabel
|
|
89796
|
-
// aria-labelledby="modal-modal-title"
|
|
89797
|
-
// aria-describedby="modal-modal-description"
|
|
89798
89835
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Illustration, {
|
|
89799
89836
|
illustrationName: 'ilu_status_change',
|
|
89800
89837
|
size: "small"
|
|
@@ -89834,6 +89871,20 @@ var CustomModal = function CustomModal(_ref6) {
|
|
|
89834
89871
|
size: 'small'
|
|
89835
89872
|
})))));
|
|
89836
89873
|
};
|
|
89874
|
+
CustomModal.propTypes = {
|
|
89875
|
+
actionButtonLabel: propTypes.exports.string,
|
|
89876
|
+
bottomButtonLabel: propTypes.exports.string,
|
|
89877
|
+
closeButtonLabel: propTypes.exports.string,
|
|
89878
|
+
description: propTypes.exports.string,
|
|
89879
|
+
handleCloseModal: propTypes.exports.func,
|
|
89880
|
+
handleActionButton: propTypes.exports.func,
|
|
89881
|
+
isModalOpen: propTypes.exports.bool,
|
|
89882
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
89883
|
+
current: propTypes.exports.any
|
|
89884
|
+
})]),
|
|
89885
|
+
title: propTypes.exports.string,
|
|
89886
|
+
type: propTypes.exports.string
|
|
89887
|
+
};
|
|
89837
89888
|
|
|
89838
89889
|
var StyledModuleTileWrapper = styled$1(Box$1)(function (_ref) {
|
|
89839
89890
|
var fluid = _ref.fluid;
|
|
@@ -89928,21 +89979,10 @@ var StyledLabelAndIconWrapper = styled$1(Box$1)(function () {
|
|
|
89928
89979
|
paddingRight: '10px'
|
|
89929
89980
|
};
|
|
89930
89981
|
});
|
|
89931
|
-
styled$1(Box$1)(function (_ref2) {
|
|
89932
|
-
_objectDestructuringEmpty(_ref2);
|
|
89933
|
-
return {
|
|
89934
|
-
width: '100%',
|
|
89935
|
-
display: 'flex',
|
|
89936
|
-
justifyContent: 'space-between',
|
|
89937
|
-
'button:nth-child(2)': {
|
|
89938
|
-
marginLeft: 10
|
|
89939
|
-
}
|
|
89940
|
-
};
|
|
89941
|
-
});
|
|
89942
89982
|
var StyledStepper = styled$1(function (props) {
|
|
89943
89983
|
return /*#__PURE__*/React__default.createElement(Stepper$1, props);
|
|
89944
|
-
})(function (
|
|
89945
|
-
var numberOfSteps =
|
|
89984
|
+
})(function (_ref2) {
|
|
89985
|
+
var numberOfSteps = _ref2.numberOfSteps;
|
|
89946
89986
|
return {
|
|
89947
89987
|
'.MuiStepConnector-root': {
|
|
89948
89988
|
width: '4px',
|
|
@@ -89977,8 +90017,8 @@ var StyledStepper = styled$1(function (props) {
|
|
|
89977
90017
|
});
|
|
89978
90018
|
var StyledStep = styled$1(function (props) {
|
|
89979
90019
|
return /*#__PURE__*/React__default.createElement(Step$1, props);
|
|
89980
|
-
})(function (
|
|
89981
|
-
var completed =
|
|
90020
|
+
})(function (_ref3) {
|
|
90021
|
+
var completed = _ref3.completed;
|
|
89982
90022
|
return {
|
|
89983
90023
|
border: 'none',
|
|
89984
90024
|
backgroundColor: completed ? theme.mainPallete.secondary.specialGreen : '#D8E1FA',
|
|
@@ -89987,35 +90027,22 @@ var StyledStep = styled$1(function (props) {
|
|
|
89987
90027
|
}
|
|
89988
90028
|
};
|
|
89989
90029
|
});
|
|
89990
|
-
var CustomStepper = function CustomStepper(
|
|
89991
|
-
var steps =
|
|
89992
|
-
label =
|
|
89993
|
-
withIcon =
|
|
89994
|
-
currentStep =
|
|
89995
|
-
_ref5.handleNextStep;
|
|
89996
|
-
_ref5.handlePreviousStep;
|
|
89997
|
-
_ref5.handleChangeStep;
|
|
89998
|
-
steps.indexOf(currentStep);
|
|
90030
|
+
var CustomStepper = function CustomStepper(_ref4) {
|
|
90031
|
+
var steps = _ref4.steps,
|
|
90032
|
+
label = _ref4.label,
|
|
90033
|
+
withIcon = _ref4.withIcon,
|
|
90034
|
+
currentStep = _ref4.currentStep;
|
|
89999
90035
|
var _useState = useState(currentStep),
|
|
90000
90036
|
_useState2 = _slicedToArray$a(_useState, 2),
|
|
90001
|
-
activeStep = _useState2[0]
|
|
90002
|
-
|
|
90037
|
+
activeStep = _useState2[0];
|
|
90038
|
+
_useState2[1];
|
|
90003
90039
|
var _useState3 = useState({}),
|
|
90004
90040
|
_useState4 = _slicedToArray$a(_useState3, 2),
|
|
90005
90041
|
completed = _useState4[0];
|
|
90006
90042
|
_useState4[1];
|
|
90007
|
-
// alert('currentStep ' + currentStep);
|
|
90008
|
-
// alert('currentStepIndex ' + currentStepIndex);
|
|
90009
90043
|
var totalSteps = steps.length;
|
|
90010
90044
|
var completedSteps = Object.keys(completed).length;
|
|
90011
90045
|
var allStepsCompleted = completedSteps === totalSteps;
|
|
90012
|
-
var handleSteps = function handleSteps(steps, currentStep) {
|
|
90013
|
-
var currentStepIndex = steps.indexOf(currentStep);
|
|
90014
|
-
setActiveStep(currentStepIndex);
|
|
90015
|
-
};
|
|
90016
|
-
useEffect(function () {
|
|
90017
|
-
handleSteps(steps, currentStep);
|
|
90018
|
-
}, [currentStep]);
|
|
90019
90046
|
return /*#__PURE__*/React__default.createElement(StyledStepperContainer, null, /*#__PURE__*/React__default.createElement(Box$1, {
|
|
90020
90047
|
sx: {
|
|
90021
90048
|
width: '100%'
|
|
@@ -90037,6 +90064,15 @@ var CustomStepper = function CustomStepper(_ref5) {
|
|
|
90037
90064
|
});
|
|
90038
90065
|
}))));
|
|
90039
90066
|
};
|
|
90067
|
+
CustomStepper.propTypes = {
|
|
90068
|
+
currentStep: propTypes.exports.string,
|
|
90069
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
90070
|
+
current: propTypes.exports.any
|
|
90071
|
+
})]),
|
|
90072
|
+
label: propTypes.exports.string,
|
|
90073
|
+
steps: propTypes.exports.arrayOf(propTypes.exports.string),
|
|
90074
|
+
withIcon: propTypes.exports.bool
|
|
90075
|
+
};
|
|
90040
90076
|
|
|
90041
90077
|
var _g$1;
|
|
90042
90078
|
function _extends$1() { _extends$1 = 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$1.apply(this, arguments); }
|
|
@@ -90103,9 +90139,6 @@ var _excluded$2 = ["value", "label"];
|
|
|
90103
90139
|
var StyledFormControlLabel = styled$1(FormControlLabel$2)(function (_ref) {
|
|
90104
90140
|
_objectDestructuringEmpty(_ref);
|
|
90105
90141
|
return {
|
|
90106
|
-
// '.MuiFormControlLabel-label': checked && {
|
|
90107
|
-
// color: theme.palette.primary.main,
|
|
90108
|
-
// },
|
|
90109
90142
|
padding: 0,
|
|
90110
90143
|
boxSizing: 'border-box',
|
|
90111
90144
|
marginBottom: '30px',
|
|
@@ -90223,6 +90256,18 @@ var RadioGroupComponent = function RadioGroupComponent(_ref2) {
|
|
|
90223
90256
|
defaultValue: defaultValue
|
|
90224
90257
|
}, renderRadioOptions(options));
|
|
90225
90258
|
};
|
|
90259
|
+
RadioGroupComponent.propTypes = {
|
|
90260
|
+
forwardedRef: propTypes.exports.oneOfType([propTypes.exports.func, propTypes.exports.shape({
|
|
90261
|
+
current: propTypes.exports.any
|
|
90262
|
+
})]),
|
|
90263
|
+
onChange: propTypes.exports.func,
|
|
90264
|
+
options: propTypes.exports.arrayOf(propTypes.exports.shape({
|
|
90265
|
+
disabled: propTypes.exports.bool,
|
|
90266
|
+
label: propTypes.exports.string,
|
|
90267
|
+
value: propTypes.exports.string
|
|
90268
|
+
})),
|
|
90269
|
+
value: propTypes.exports.string
|
|
90270
|
+
};
|
|
90226
90271
|
|
|
90227
90272
|
var StyledMenu = styled$1('div')(function (_ref) {
|
|
90228
90273
|
var variant = _ref.variant;
|