@widergy/energy-ui 2.4.0 → 2.5.0
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/CHANGELOG.md +7 -0
- package/dist/components/EnergyThemeProvider/index.js +1 -1
- package/dist/components/UTAlert/AlertHandler.js +3 -3
- package/dist/components/UTAlert/index.js +1 -1
- package/dist/components/UTAttachment/components/Preview/index.js +1 -1
- package/dist/components/UTAttachment/index.js +2 -2
- package/dist/components/UTAttachment/utils.js +2 -2
- package/dist/components/UTAutocomplete/components/ListBox/index.js +1 -1
- package/dist/components/UTAutocomplete/components/ListBox/utils.js +3 -3
- package/dist/components/UTAutocomplete/index.js +2 -2
- package/dist/components/UTBarChart/components/Bars/components/Bar/components/Rect/index.js +1 -1
- package/dist/components/UTBarChart/components/Bars/index.js +4 -4
- package/dist/components/UTBarChart/components/Legend/constants.js +1 -1
- package/dist/components/UTBarChart/components/Legend/index.js +2 -2
- package/dist/components/UTBarChart/components/LinearPlot/index.js +1 -1
- package/dist/components/UTBarChart/components/XAxis/components/AxisElement/index.js +2 -2
- package/dist/components/UTBarChart/components/XAxis/components/Decoration/index.js +1 -1
- package/dist/components/UTBarChart/components/XAxis/index.js +2 -2
- package/dist/components/UTBarChart/components/YAxis/index.js +1 -1
- package/dist/components/UTBarChart/hooks/use-dynamic-margins.js +1 -1
- package/dist/components/UTBarChart/index.js +4 -4
- package/dist/components/UTBarChart/utils.js +3 -3
- package/dist/components/UTBreadcrumbs/constants.js +37 -2
- package/dist/components/UTBreadcrumbs/index.js +16 -10
- package/dist/components/UTBreadcrumbs/styles.module.scss +4 -0
- package/dist/components/UTBreadcrumbs/theme.js +3 -7
- package/dist/components/UTButton/index.js +1 -1
- package/dist/components/UTButton/theme.js +5 -4
- package/dist/components/UTCBUInput/index.js +2 -2
- package/dist/components/UTCaptcha/index.js +1 -1
- package/dist/components/UTCard/index.js +1 -1
- package/dist/components/UTCard/theme.js +1 -1
- package/dist/components/UTCarousel/components/Button/index.js +1 -1
- package/dist/components/UTCarousel/components/Legend/index.js +1 -1
- package/dist/components/UTCarousel/components/Slider/component/Slide/index.js +1 -1
- package/dist/components/UTCarousel/components/Slider/index.js +3 -3
- package/dist/components/UTCarousel/components/Slider/layout.js +1 -1
- package/dist/components/UTCheckList/index.js +1 -1
- package/dist/components/UTCheckbox/index.js +2 -2
- package/dist/components/UTConsumptionBar/index.js +2 -2
- package/dist/components/UTCuit/index.js +1 -1
- package/dist/components/UTDatePicker/components/Day/index.js +1 -1
- package/dist/components/UTDatePicker/index.js +4 -4
- package/dist/components/UTDotMenu/index.js +1 -1
- package/dist/components/UTEmojiPicker/index.js +2 -2
- package/dist/components/UTEmojiPicker/utils.js +3 -3
- package/dist/components/UTFileInput/index.js +1 -1
- package/dist/components/UTFileInput/layout.js +1 -1
- package/dist/components/UTIconButton/index.js +1 -1
- package/dist/components/UTImageRadio/components/ImageRadioCard/index.js +1 -1
- package/dist/components/UTImageRadio/index.js +1 -1
- package/dist/components/UTImageRadio/theme.js +1 -1
- package/dist/components/UTLabel/index.js +1 -1
- package/dist/components/UTLoading/index.js +1 -1
- package/dist/components/UTMap/components/GoogleMaps/index.js +1 -1
- package/dist/components/UTMap/index.js +1 -1
- package/dist/components/UTMap/utils.js +3 -3
- package/dist/components/UTMenu/index.js +2 -2
- package/dist/components/UTPagination/assets/arrow-head-left.svg +8 -0
- package/dist/components/UTPagination/assets/arrow-head-right.svg +8 -0
- package/dist/components/UTPagination/assets/arrow-left.svg +3 -0
- package/dist/components/UTPagination/assets/arrow-right.svg +3 -0
- package/dist/components/UTPagination/assets/refresh.svg +10 -0
- package/dist/components/UTPagination/components/PageSizeSelector/index.js +62 -0
- package/dist/components/UTPagination/components/PageSizeSelector/styles.module.scss +24 -0
- package/dist/components/UTPagination/components/PageSizeSelector/utils.js +26 -0
- package/dist/components/UTPagination/components/Pagination/components/NavigationButton/index.js +45 -0
- package/dist/components/UTPagination/components/Pagination/components/NavigationButton/styles.module.scss +9 -0
- package/dist/components/UTPagination/components/Pagination/index.js +146 -0
- package/dist/components/UTPagination/components/Pagination/styles.module.scss +33 -0
- package/dist/components/UTPagination/constants.js +12 -0
- package/dist/components/UTPagination/index.js +69 -0
- package/dist/components/UTPagination/styles.module.scss +10 -0
- package/dist/components/UTPagination/theme.js +36 -0
- package/dist/components/UTPagination/utils.js +24 -0
- package/dist/components/UTPanel/index.js +3 -3
- package/dist/components/UTPasswordField/components/PasswordValidations/index.js +3 -3
- package/dist/components/UTPasswordField/components/PasswordWarning/index.js +3 -3
- package/dist/components/UTPhoneInput/index.js +3 -3
- package/dist/components/UTPieChart/hooks/use-animated-value/index.js +1 -1
- package/dist/components/UTPieChart/index.js +1 -1
- package/dist/components/UTProgressBar/index.js +1 -1
- package/dist/components/UTRadioGroup/index.js +1 -1
- package/dist/components/UTRating/components/Circle/index.js +2 -2
- package/dist/components/UTRating/components/Star/index.js +1 -1
- package/dist/components/UTRating/index.js +2 -2
- package/dist/components/UTRipple/Ripple.js +2 -2
- package/dist/components/UTRipple/index.js +2 -2
- package/dist/components/UTSelect/components/Option/index.js +1 -1
- package/dist/components/UTSelect/index.js +3 -3
- package/dist/components/UTSidebar/components/ListOption/index.js +2 -5
- package/dist/components/UTSidebar/components/LogosContainer/components/DynamicIcon/index.js +1 -1
- package/dist/components/UTSidebar/components/LogosContainer/index.js +3 -3
- package/dist/components/UTSidebar/components/Option/index.js +3 -3
- package/dist/components/UTSidebar/components/Option/styles.module.scss +0 -1
- package/dist/components/UTSidebar/components/Toggler/index.js +1 -1
- package/dist/components/UTSidebar/index.js +2 -2
- package/dist/components/UTSidebar/theme.js +1 -1
- package/dist/components/UTSkeleton/index.js +1 -1
- package/dist/components/UTStatus/theme.js +3 -3
- package/dist/components/UTSwitch/index.js +2 -2
- package/dist/components/UTTable/components/ActionIcons/index.js +4 -4
- package/dist/components/UTTable/components/Cell/components/ActionButton/index.js +1 -1
- package/dist/components/UTTable/components/Cell/index.js +3 -3
- package/dist/components/UTTable/components/HeaderCell/index.js +3 -3
- package/dist/components/UTTable/components/ResponsiveCell/index.js +3 -3
- package/dist/components/UTTable/components/Status/index.js +1 -1
- package/dist/components/UTTable/components/TableFooter/components/Pagination/components/NavigationButton/index.js +1 -1
- package/dist/components/UTTable/components/TableFooter/index.js +1 -1
- package/dist/components/UTTable/components/TableHeader/index.js +1 -1
- package/dist/components/UTTable/components/TableRow/index.js +3 -3
- package/dist/components/UTTable/constants.js +1 -1
- package/dist/components/UTTable/hook.js +1 -1
- package/dist/components/UTTable/index.js +4 -4
- package/dist/components/UTTable/theme.js +1 -1
- package/dist/components/UTTabs/components/TooltipTab/index.js +3 -3
- package/dist/components/UTTabs/index.js +1 -1
- package/dist/components/UTTextInput/index.js +1 -1
- package/dist/components/UTThirdPartyCookieChecker/index.js +1 -1
- package/dist/components/UTTooltip/index.js +1 -1
- package/dist/components/UTTopbar/components/Notifications/index.js +37 -0
- package/dist/components/UTTopbar/components/Notifications/styles.module.scss +10 -0
- package/dist/components/UTTopbar/components/UserMenu/index.js +55 -0
- package/dist/components/UTTopbar/components/UserMenu/styles.module.scss +46 -0
- package/dist/components/UTTopbar/index.js +102 -0
- package/dist/components/UTTopbar/styles.module.scss +21 -0
- package/dist/components/UTTopbar/theme.js +83 -0
- package/dist/components/UTTopbar/types.js +27 -0
- package/dist/components/UTTouchableWithoutFeedback/index.js +2 -2
- package/dist/components/UTVirtualizedList/components/VirtualizedData/hooks/use-ledger.js +1 -1
- package/dist/components/UTVirtualizedList/components/VirtualizedData/hooks/use-virtualized-data.js +1 -1
- package/dist/components/UTVirtualizedList/components/VirtualizedData/index.js +1 -1
- package/dist/components/UTVirtualizedList/components/VirtualizedData/utils.js +3 -3
- package/dist/components/UTVirtualizedList/index.js +2 -2
- package/dist/components/UTWorkflowContainer/components/ActionButton/index.js +3 -3
- package/dist/components/UTWorkflowContainer/index.js +2 -2
- package/dist/components/UTWorkflowContainer/theme.js +1 -1
- package/dist/components/WithTheme/layout.js +3 -3
- package/package.json +1 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.retrieveStyle = void 0;
|
|
7
|
+
var _colors = _interopRequireDefault(require("../../scss/variables/_colors.scss"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
+
var retrieveStyle = function retrieveStyle(_ref) {
|
|
10
|
+
var _theme$UTTopbar, _theme$UTTopbar2, _theme$UTTopbar3, _theme$UTTopbar4, _theme$UTTopbar5, _theme$UTTopbar6, _theme$UTTopbar7, _theme$UTTopbar8, _theme$UTTopbar9, _theme$UTTopbar10, _theme$UTTopbar11, _theme$UTTopbar12, _theme$UTTopbar13, _theme$UTTopbar14, _theme$UTTopbar15, _theme$UTTopbar16, _theme$UTTopbar17, _theme$UTTopbar18, _theme$UTTopbar19, _theme$UTTopbar20, _theme$UTTopbar21, _theme$UTTopbar22, _theme$UTTopbar23, _theme$UTTopbar24, _theme$UTTopbar25, _theme$UTTopbar26, _theme$UTTopbar27, _theme$UTTopbar28, _theme$UTTopbar29, _theme$UTTopbar30, _theme$UTTopbar31, _theme$UTTopbar32, _theme$UTTopbar33, _theme$UTTopbar34, _theme$UTTopbar35, _theme$UTTopbar36, _theme$UTTopbar37, _theme$UTTopbar38, _theme$UTTopbar39, _theme$UTTopbar40, _theme$UTTopbar41, _theme$UTTopbar42, _theme$UTTopbar43, _theme$UTTopbar44, _theme$UTTopbar45, _theme$UTTopbar46;
|
|
11
|
+
var theme = _ref.theme;
|
|
12
|
+
return {
|
|
13
|
+
container: {
|
|
14
|
+
background: (theme === null || theme === void 0 || (_theme$UTTopbar = theme.UTTopbar) === null || _theme$UTTopbar === void 0 || (_theme$UTTopbar = _theme$UTTopbar.container) === null || _theme$UTTopbar === void 0 ? void 0 : _theme$UTTopbar.background) || _colors.default.white,
|
|
15
|
+
borderBottom: theme === null || theme === void 0 || (_theme$UTTopbar2 = theme.UTTopbar) === null || _theme$UTTopbar2 === void 0 || (_theme$UTTopbar2 = _theme$UTTopbar2.container) === null || _theme$UTTopbar2 === void 0 ? void 0 : _theme$UTTopbar2.borderBottom,
|
|
16
|
+
height: theme === null || theme === void 0 || (_theme$UTTopbar3 = theme.UTTopbar) === null || _theme$UTTopbar3 === void 0 || (_theme$UTTopbar3 = _theme$UTTopbar3.container) === null || _theme$UTTopbar3 === void 0 ? void 0 : _theme$UTTopbar3.height,
|
|
17
|
+
padding: (theme === null || theme === void 0 || (_theme$UTTopbar4 = theme.UTTopbar) === null || _theme$UTTopbar4 === void 0 || (_theme$UTTopbar4 = _theme$UTTopbar4.container) === null || _theme$UTTopbar4 === void 0 ? void 0 : _theme$UTTopbar4.padding) || '10px 20px',
|
|
18
|
+
position: theme === null || theme === void 0 || (_theme$UTTopbar5 = theme.UTTopbar) === null || _theme$UTTopbar5 === void 0 || (_theme$UTTopbar5 = _theme$UTTopbar5.container) === null || _theme$UTTopbar5 === void 0 ? void 0 : _theme$UTTopbar5.position,
|
|
19
|
+
top: theme === null || theme === void 0 || (_theme$UTTopbar6 = theme.UTTopbar) === null || _theme$UTTopbar6 === void 0 || (_theme$UTTopbar6 = _theme$UTTopbar6.container) === null || _theme$UTTopbar6 === void 0 ? void 0 : _theme$UTTopbar6.top,
|
|
20
|
+
zIndex: theme === null || theme === void 0 || (_theme$UTTopbar7 = theme.UTTopbar) === null || _theme$UTTopbar7 === void 0 || (_theme$UTTopbar7 = _theme$UTTopbar7.container) === null || _theme$UTTopbar7 === void 0 ? void 0 : _theme$UTTopbar7.zIndex
|
|
21
|
+
},
|
|
22
|
+
title: {
|
|
23
|
+
color: theme === null || theme === void 0 || (_theme$UTTopbar8 = theme.UTTopbar) === null || _theme$UTTopbar8 === void 0 || (_theme$UTTopbar8 = _theme$UTTopbar8.title) === null || _theme$UTTopbar8 === void 0 ? void 0 : _theme$UTTopbar8.color,
|
|
24
|
+
fontFamily: theme === null || theme === void 0 || (_theme$UTTopbar9 = theme.UTTopbar) === null || _theme$UTTopbar9 === void 0 || (_theme$UTTopbar9 = _theme$UTTopbar9.title) === null || _theme$UTTopbar9 === void 0 ? void 0 : _theme$UTTopbar9.fontFamily,
|
|
25
|
+
fontSize: theme === null || theme === void 0 || (_theme$UTTopbar10 = theme.UTTopbar) === null || _theme$UTTopbar10 === void 0 || (_theme$UTTopbar10 = _theme$UTTopbar10.title) === null || _theme$UTTopbar10 === void 0 ? void 0 : _theme$UTTopbar10.fontSize,
|
|
26
|
+
fontWeight: theme === null || theme === void 0 || (_theme$UTTopbar11 = theme.UTTopbar) === null || _theme$UTTopbar11 === void 0 || (_theme$UTTopbar11 = _theme$UTTopbar11.title) === null || _theme$UTTopbar11 === void 0 ? void 0 : _theme$UTTopbar11.fontWeight,
|
|
27
|
+
lineHeight: theme === null || theme === void 0 || (_theme$UTTopbar12 = theme.UTTopbar) === null || _theme$UTTopbar12 === void 0 || (_theme$UTTopbar12 = _theme$UTTopbar12.title) === null || _theme$UTTopbar12 === void 0 ? void 0 : _theme$UTTopbar12.lineHeight,
|
|
28
|
+
padding: theme === null || theme === void 0 || (_theme$UTTopbar13 = theme.UTTopbar) === null || _theme$UTTopbar13 === void 0 || (_theme$UTTopbar13 = _theme$UTTopbar13.title) === null || _theme$UTTopbar13 === void 0 ? void 0 : _theme$UTTopbar13.padding
|
|
29
|
+
},
|
|
30
|
+
breadCrumb: {
|
|
31
|
+
'&:hover': {
|
|
32
|
+
backgroundColor: theme === null || theme === void 0 || (_theme$UTTopbar14 = theme.UTTopbar) === null || _theme$UTTopbar14 === void 0 || (_theme$UTTopbar14 = _theme$UTTopbar14.breadCrumb) === null || _theme$UTTopbar14 === void 0 || (_theme$UTTopbar14 = _theme$UTTopbar14.hover) === null || _theme$UTTopbar14 === void 0 ? void 0 : _theme$UTTopbar14.backgroundColor,
|
|
33
|
+
textDecoration: theme === null || theme === void 0 || (_theme$UTTopbar15 = theme.UTTopbar) === null || _theme$UTTopbar15 === void 0 || (_theme$UTTopbar15 = _theme$UTTopbar15.breadCrumb) === null || _theme$UTTopbar15 === void 0 || (_theme$UTTopbar15 = _theme$UTTopbar15.hover) === null || _theme$UTTopbar15 === void 0 ? void 0 : _theme$UTTopbar15.textDecoration,
|
|
34
|
+
cursor: theme === null || theme === void 0 || (_theme$UTTopbar16 = theme.UTTopbar) === null || _theme$UTTopbar16 === void 0 || (_theme$UTTopbar16 = _theme$UTTopbar16.breadCrumb) === null || _theme$UTTopbar16 === void 0 || (_theme$UTTopbar16 = _theme$UTTopbar16.hover) === null || _theme$UTTopbar16 === void 0 ? void 0 : _theme$UTTopbar16.cursor
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
userMenu: {
|
|
38
|
+
borderLeft: theme === null || theme === void 0 || (_theme$UTTopbar17 = theme.UTTopbar) === null || _theme$UTTopbar17 === void 0 || (_theme$UTTopbar17 = _theme$UTTopbar17.userMenu) === null || _theme$UTTopbar17 === void 0 ? void 0 : _theme$UTTopbar17.borderLeft,
|
|
39
|
+
margin: (theme === null || theme === void 0 || (_theme$UTTopbar18 = theme.UTTopbar) === null || _theme$UTTopbar18 === void 0 || (_theme$UTTopbar18 = _theme$UTTopbar18.userMenu) === null || _theme$UTTopbar18 === void 0 ? void 0 : _theme$UTTopbar18.margin) || '0 0 0 20px',
|
|
40
|
+
minWidth: theme === null || theme === void 0 || (_theme$UTTopbar19 = theme.UTTopbar) === null || _theme$UTTopbar19 === void 0 || (_theme$UTTopbar19 = _theme$UTTopbar19.userMenu) === null || _theme$UTTopbar19 === void 0 ? void 0 : _theme$UTTopbar19.minWidth,
|
|
41
|
+
padding: (theme === null || theme === void 0 || (_theme$UTTopbar20 = theme.UTTopbar) === null || _theme$UTTopbar20 === void 0 || (_theme$UTTopbar20 = _theme$UTTopbar20.userMenu) === null || _theme$UTTopbar20 === void 0 ? void 0 : _theme$UTTopbar20.padding) || '0 0 0 20px',
|
|
42
|
+
justifyContent: theme === null || theme === void 0 || (_theme$UTTopbar21 = theme.UTTopbar) === null || _theme$UTTopbar21 === void 0 || (_theme$UTTopbar21 = _theme$UTTopbar21.userMenu) === null || _theme$UTTopbar21 === void 0 ? void 0 : _theme$UTTopbar21.justifyContent
|
|
43
|
+
},
|
|
44
|
+
userMenuAvatar: {
|
|
45
|
+
background: theme === null || theme === void 0 || (_theme$UTTopbar22 = theme.UTTopbar) === null || _theme$UTTopbar22 === void 0 || (_theme$UTTopbar22 = _theme$UTTopbar22.userMenuAvatar) === null || _theme$UTTopbar22 === void 0 ? void 0 : _theme$UTTopbar22.background,
|
|
46
|
+
border: theme === null || theme === void 0 || (_theme$UTTopbar23 = theme.UTTopbar) === null || _theme$UTTopbar23 === void 0 || (_theme$UTTopbar23 = _theme$UTTopbar23.userMenuAvatar) === null || _theme$UTTopbar23 === void 0 ? void 0 : _theme$UTTopbar23.border,
|
|
47
|
+
borderRadius: (theme === null || theme === void 0 || (_theme$UTTopbar24 = theme.UTTopbar) === null || _theme$UTTopbar24 === void 0 || (_theme$UTTopbar24 = _theme$UTTopbar24.userMenuAvatar) === null || _theme$UTTopbar24 === void 0 ? void 0 : _theme$UTTopbar24.borderRadius) || '50%',
|
|
48
|
+
color: theme === null || theme === void 0 || (_theme$UTTopbar25 = theme.UTTopbar) === null || _theme$UTTopbar25 === void 0 || (_theme$UTTopbar25 = _theme$UTTopbar25.userMenuAvatar) === null || _theme$UTTopbar25 === void 0 ? void 0 : _theme$UTTopbar25.color,
|
|
49
|
+
fontSize: (theme === null || theme === void 0 || (_theme$UTTopbar26 = theme.UTTopbar) === null || _theme$UTTopbar26 === void 0 || (_theme$UTTopbar26 = _theme$UTTopbar26.userMenuAvatar) === null || _theme$UTTopbar26 === void 0 ? void 0 : _theme$UTTopbar26.fontSize) || 24,
|
|
50
|
+
fontWeight: (theme === null || theme === void 0 || (_theme$UTTopbar27 = theme.UTTopbar) === null || _theme$UTTopbar27 === void 0 || (_theme$UTTopbar27 = _theme$UTTopbar27.userMenuAvatar) === null || _theme$UTTopbar27 === void 0 ? void 0 : _theme$UTTopbar27.fontWeight) || 500,
|
|
51
|
+
height: (theme === null || theme === void 0 || (_theme$UTTopbar28 = theme.UTTopbar) === null || _theme$UTTopbar28 === void 0 || (_theme$UTTopbar28 = _theme$UTTopbar28.userMenuAvatar) === null || _theme$UTTopbar28 === void 0 ? void 0 : _theme$UTTopbar28.height) || 40,
|
|
52
|
+
margin: (theme === null || theme === void 0 || (_theme$UTTopbar29 = theme.UTTopbar) === null || _theme$UTTopbar29 === void 0 || (_theme$UTTopbar29 = _theme$UTTopbar29.userMenuAvatar) === null || _theme$UTTopbar29 === void 0 ? void 0 : _theme$UTTopbar29.margin) || '0 10px 0 0',
|
|
53
|
+
width: (theme === null || theme === void 0 || (_theme$UTTopbar30 = theme.UTTopbar) === null || _theme$UTTopbar30 === void 0 || (_theme$UTTopbar30 = _theme$UTTopbar30.userMenuAvatar) === null || _theme$UTTopbar30 === void 0 ? void 0 : _theme$UTTopbar30.width) || 40
|
|
54
|
+
},
|
|
55
|
+
userMenuArrow: {
|
|
56
|
+
alignSelf: theme === null || theme === void 0 || (_theme$UTTopbar31 = theme.UTTopbar) === null || _theme$UTTopbar31 === void 0 || (_theme$UTTopbar31 = _theme$UTTopbar31.userMenuArrow) === null || _theme$UTTopbar31 === void 0 ? void 0 : _theme$UTTopbar31.alignSelf,
|
|
57
|
+
color: theme === null || theme === void 0 || (_theme$UTTopbar32 = theme.UTTopbar) === null || _theme$UTTopbar32 === void 0 || (_theme$UTTopbar32 = _theme$UTTopbar32.userMenuArrow) === null || _theme$UTTopbar32 === void 0 ? void 0 : _theme$UTTopbar32.color,
|
|
58
|
+
fontSize: theme === null || theme === void 0 || (_theme$UTTopbar33 = theme.UTTopbar) === null || _theme$UTTopbar33 === void 0 || (_theme$UTTopbar33 = _theme$UTTopbar33.userMenuArrow) === null || _theme$UTTopbar33 === void 0 ? void 0 : _theme$UTTopbar33.fontSize,
|
|
59
|
+
height: (theme === null || theme === void 0 || (_theme$UTTopbar34 = theme.UTTopbar) === null || _theme$UTTopbar34 === void 0 || (_theme$UTTopbar34 = _theme$UTTopbar34.userMenuArrow) === null || _theme$UTTopbar34 === void 0 ? void 0 : _theme$UTTopbar34.height) || 20,
|
|
60
|
+
margin: (theme === null || theme === void 0 || (_theme$UTTopbar35 = theme.UTTopbar) === null || _theme$UTTopbar35 === void 0 || (_theme$UTTopbar35 = _theme$UTTopbar35.userMenuArrow) === null || _theme$UTTopbar35 === void 0 ? void 0 : _theme$UTTopbar35.margin) || '0 0 0 6px',
|
|
61
|
+
width: (theme === null || theme === void 0 || (_theme$UTTopbar36 = theme.UTTopbar) === null || _theme$UTTopbar36 === void 0 || (_theme$UTTopbar36 = _theme$UTTopbar36.userMenuArrow) === null || _theme$UTTopbar36 === void 0 ? void 0 : _theme$UTTopbar36.width) || 'auto'
|
|
62
|
+
},
|
|
63
|
+
userMenuTitle: {
|
|
64
|
+
color: theme === null || theme === void 0 || (_theme$UTTopbar37 = theme.UTTopbar) === null || _theme$UTTopbar37 === void 0 || (_theme$UTTopbar37 = _theme$UTTopbar37.userMenuTitle) === null || _theme$UTTopbar37 === void 0 ? void 0 : _theme$UTTopbar37.color,
|
|
65
|
+
fontSize: theme === null || theme === void 0 || (_theme$UTTopbar38 = theme.UTTopbar) === null || _theme$UTTopbar38 === void 0 || (_theme$UTTopbar38 = _theme$UTTopbar38.userMenuTitle) === null || _theme$UTTopbar38 === void 0 ? void 0 : _theme$UTTopbar38.fontSize,
|
|
66
|
+
fontWeight: (theme === null || theme === void 0 || (_theme$UTTopbar39 = theme.UTTopbar) === null || _theme$UTTopbar39 === void 0 || (_theme$UTTopbar39 = _theme$UTTopbar39.userMenuTitle) === null || _theme$UTTopbar39 === void 0 ? void 0 : _theme$UTTopbar39.fontWeight) || 500,
|
|
67
|
+
margin: theme === null || theme === void 0 || (_theme$UTTopbar40 = theme.UTTopbar) === null || _theme$UTTopbar40 === void 0 || (_theme$UTTopbar40 = _theme$UTTopbar40.userMenuTitle) === null || _theme$UTTopbar40 === void 0 ? void 0 : _theme$UTTopbar40.margin
|
|
68
|
+
},
|
|
69
|
+
notifications: {
|
|
70
|
+
padding: (theme === null || theme === void 0 || (_theme$UTTopbar41 = theme.UTTopbar) === null || _theme$UTTopbar41 === void 0 || (_theme$UTTopbar41 = _theme$UTTopbar41.notifications) === null || _theme$UTTopbar41 === void 0 ? void 0 : _theme$UTTopbar41.padding) || '0 20px'
|
|
71
|
+
},
|
|
72
|
+
notificationsIcon: {
|
|
73
|
+
height: (theme === null || theme === void 0 || (_theme$UTTopbar42 = theme.UTTopbar) === null || _theme$UTTopbar42 === void 0 || (_theme$UTTopbar42 = _theme$UTTopbar42.notificationsIcon) === null || _theme$UTTopbar42 === void 0 ? void 0 : _theme$UTTopbar42.height) || 32,
|
|
74
|
+
fontSize: (theme === null || theme === void 0 || (_theme$UTTopbar43 = theme.UTTopbar) === null || _theme$UTTopbar43 === void 0 || (_theme$UTTopbar43 = _theme$UTTopbar43.notificationsIcon) === null || _theme$UTTopbar43 === void 0 ? void 0 : _theme$UTTopbar43.fontSize) || 30,
|
|
75
|
+
padding: theme === null || theme === void 0 || (_theme$UTTopbar44 = theme.UTTopbar) === null || _theme$UTTopbar44 === void 0 || (_theme$UTTopbar44 = _theme$UTTopbar44.notificationsIcon) === null || _theme$UTTopbar44 === void 0 ? void 0 : _theme$UTTopbar44.padding
|
|
76
|
+
},
|
|
77
|
+
menuIcon: {
|
|
78
|
+
color: theme === null || theme === void 0 || (_theme$UTTopbar45 = theme.UTTopbar) === null || _theme$UTTopbar45 === void 0 || (_theme$UTTopbar45 = _theme$UTTopbar45.menuIcon) === null || _theme$UTTopbar45 === void 0 ? void 0 : _theme$UTTopbar45.color,
|
|
79
|
+
fontSize: (theme === null || theme === void 0 || (_theme$UTTopbar46 = theme.UTTopbar) === null || _theme$UTTopbar46 === void 0 || (_theme$UTTopbar46 = _theme$UTTopbar46.menuIcon) === null || _theme$UTTopbar46 === void 0 ? void 0 : _theme$UTTopbar46.fontSize) || 25
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
exports.retrieveStyle = retrieveStyle;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.menuPropsType = exports.iconType = exports.classType = exports.avatarType = void 0;
|
|
7
|
+
var _propTypes = require("prop-types");
|
|
8
|
+
var classType = (0, _propTypes.shape)({
|
|
9
|
+
container: _propTypes.string,
|
|
10
|
+
notifications: _propTypes.string,
|
|
11
|
+
title: _propTypes.string,
|
|
12
|
+
userMenu: _propTypes.string,
|
|
13
|
+
userMenuAvatar: _propTypes.string,
|
|
14
|
+
userMenuArrow: _propTypes.string
|
|
15
|
+
});
|
|
16
|
+
exports.classType = classType;
|
|
17
|
+
var avatarType = (0, _propTypes.oneOfType)([_propTypes.string, _propTypes.elementType, _propTypes.func]);
|
|
18
|
+
exports.avatarType = avatarType;
|
|
19
|
+
var iconType = (0, _propTypes.oneOfType)([_propTypes.elementType, _propTypes.func]);
|
|
20
|
+
exports.iconType = iconType;
|
|
21
|
+
var menuPropsType = (0, _propTypes.shape)({
|
|
22
|
+
ItemComponent: _propTypes.elementType.isRequired,
|
|
23
|
+
items: _propTypes.array.isRequired,
|
|
24
|
+
itemComponentProps: _propTypes.object,
|
|
25
|
+
LastItem: _propTypes.elementType
|
|
26
|
+
});
|
|
27
|
+
exports.menuPropsType = menuPropsType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -18,7 +18,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
18
18
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19
19
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
20
20
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
21
|
-
function _iterableToArrayLimit(
|
|
21
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
22
22
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
23
23
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
24
24
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -10,7 +10,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
10
10
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
11
11
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
13
|
-
function _iterableToArrayLimit(
|
|
13
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
14
14
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
15
15
|
var useLedger = function useLedger(data) {
|
|
16
16
|
var _useState = (0, _react.useState)({}),
|
package/dist/components/UTVirtualizedList/components/VirtualizedData/hooks/use-virtualized-data.js
CHANGED
|
@@ -18,7 +18,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
18
18
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19
19
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
20
20
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
21
|
-
function _iterableToArrayLimit(
|
|
21
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
22
22
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
23
23
|
var useVirtualizedData = function useVirtualizedData(data, totalElements, overscan, listViewportHeight, listViewportWidth, configItemRender, listViewportRef, elementsPerRow, effect, reRenderOnChange) {
|
|
24
24
|
var _useState = (0, _react.useState)(false),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -9,9 +9,9 @@ var _constants = require("./components/ListRow/constants");
|
|
|
9
9
|
var _ListRow = _interopRequireDefault(require("./components/ListRow"));
|
|
10
10
|
var _constants2 = require("./constants");
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _typeof(
|
|
13
|
-
function ownKeys(
|
|
14
|
-
function _objectSpread(
|
|
12
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
15
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
16
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
17
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /* eslint-disable react/no-array-index-key */ /* eslint-disable no-plusplus */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -24,7 +24,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
24
24
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
25
25
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
26
26
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
27
|
-
function _iterableToArrayLimit(
|
|
27
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
28
28
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
29
|
var UTVirtualizedList = function UTVirtualizedList(_ref) {
|
|
30
30
|
var data = _ref.data,
|
|
@@ -12,10 +12,10 @@ var _stylesModule = _interopRequireDefault(require("./styles.module.scss"));
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
|
-
function _typeof(
|
|
15
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
16
16
|
function _extends() { _extends = 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.apply(this, arguments); }
|
|
17
|
-
function ownKeys(
|
|
18
|
-
function _objectSpread(
|
|
17
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19
19
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20
20
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
21
21
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -26,7 +26,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
26
26
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
27
27
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
28
28
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
29
|
-
function _iterableToArrayLimit(
|
|
29
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
30
30
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
31
31
|
var UTWorkflowContainer = function UTWorkflowContainer(_ref) {
|
|
32
32
|
var TitleIcon = _ref.TitleIcon,
|
|
@@ -8,7 +8,7 @@ var _seamlessImmutable = require("seamless-immutable");
|
|
|
8
8
|
var _colors = _interopRequireDefault(require("../../scss/variables/_colors.scss"));
|
|
9
9
|
var _classesUtils = require("../../utils/classesUtils");
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
function _typeof(
|
|
11
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
12
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13
13
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
14
14
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -15,8 +15,8 @@ var _theme = require("../../theme");
|
|
|
15
15
|
var _excluded = ["Component", "muiTheme", "retrieveMuiTheme", "retrieveStyle", "theme"];
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
function _extends() { _extends = 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.apply(this, arguments); }
|
|
18
|
-
function ownKeys(
|
|
19
|
-
function _objectSpread(
|
|
18
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
20
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21
21
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
22
22
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|