@elliemae/ds-left-navigation 2.2.0-alpha.4 → 3.0.0-next.2
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/cjs/LeftNavigation.js +27 -49
- package/cjs/LeftNavigationContext.js +18 -44
- package/cjs/common/getItemBackgroundStyle.js +8 -47
- package/cjs/common/getLeftBorderStyle.js +8 -50
- package/cjs/common/getScrollbarStyle.js +4 -55
- package/cjs/common/index.js +13 -30
- package/cjs/configs/index.js +10 -38
- package/cjs/configs/useLeftNavConfig.js +76 -76
- package/cjs/configs/useLeftNavItems.js +64 -66
- package/cjs/configs/useLeftNavSmoothExpand.js +25 -43
- package/cjs/exported-related/ChevronItem/index.js +27 -42
- package/cjs/exported-related/Icon/index.js +34 -51
- package/cjs/exported-related/ItemRenderer/index.js +94 -99
- package/cjs/exported-related/ItemRenderer/styled.js +51 -83
- package/cjs/exported-related/ItemRenderer/usePropsWithDefaults.js +45 -57
- package/cjs/exported-related/Notifications/index.js +61 -81
- package/cjs/exported-related/OpenWindowItem/index.js +32 -49
- package/cjs/exported-related/constants.js +25 -53
- package/cjs/exported-related/index.js +23 -33
- package/cjs/hooks/index.js +13 -30
- package/cjs/hooks/useExpandableOnClickHandler.js +26 -55
- package/cjs/hooks/useKeyboardNavigation.js +54 -62
- package/cjs/hooks/useOpenableOnClickHandler.js +26 -55
- package/cjs/hooks/useSelectFirstBodyItem.js +34 -47
- package/cjs/index.d.js +2 -27
- package/cjs/index.js +30 -41
- package/cjs/outOfTheBox/ItemControlledDrilldown/index.js +103 -97
- package/cjs/outOfTheBox/ItemControlledDrilldown/styled.js +27 -49
- package/cjs/outOfTheBox/ItemHeader/index.js +93 -95
- package/cjs/outOfTheBox/ItemHeader/styled.js +22 -49
- package/cjs/outOfTheBox/ItemLink/index.js +67 -75
- package/cjs/outOfTheBox/ItemLink/styled.js +17 -41
- package/cjs/outOfTheBox/ItemSection/index.js +63 -59
- package/cjs/outOfTheBox/ItemSection/styled.js +23 -53
- package/cjs/outOfTheBox/ItemSeparator/index.js +45 -56
- package/cjs/outOfTheBox/ItemSubmenu/index.js +92 -95
- package/cjs/outOfTheBox/ItemSubmenu/styled.js +22 -49
- package/cjs/outOfTheBox/ItemTextLabel/index.js +52 -51
- package/cjs/outOfTheBox/ItemTextLabel/styled.js +23 -43
- package/cjs/outOfTheBox/ItemUncontrolledDrilldown/index.js +113 -107
- package/cjs/outOfTheBox/ItemUncontrolledDrilldown/styled.js +27 -49
- package/cjs/outOfTheBox/ItemWithDate/index.js +54 -59
- package/cjs/outOfTheBox/ItemWithDate/styled.js +27 -49
- package/cjs/outOfTheBox/index.js +50 -65
- package/cjs/parts/LeftNavContent/index.js +71 -75
- package/cjs/parts/LeftNavContent/styled.js +50 -110
- package/cjs/parts/LeftNavContentWithScrollbar/index.js +79 -89
- package/cjs/parts/LeftNavFooterItem/index.js +80 -97
- package/cjs/parts/LeftNavFooterItem/styled.js +34 -89
- package/cjs/parts/LeftNavLoading/index.js +33 -51
- package/cjs/parts/OutOfTheBoxMapItem.js +46 -49
- package/cjs/prop-types.js +39 -58
- package/esm/LeftNavigation.js +15 -17
- package/esm/LeftNavigationContext.js +11 -15
- package/esm/common/getItemBackgroundStyle.js +6 -20
- package/esm/common/getLeftBorderStyle.js +6 -23
- package/esm/common/getScrollbarStyle.js +2 -28
- package/esm/common/index.js +3 -5
- package/esm/configs/index.js +2 -9
- package/esm/configs/useLeftNavConfig.js +67 -47
- package/esm/configs/useLeftNavItems.js +55 -33
- package/esm/configs/useLeftNavSmoothExpand.js +16 -14
- package/esm/exported-related/ChevronItem/index.js +18 -13
- package/esm/exported-related/Icon/index.js +24 -21
- package/esm/exported-related/ItemRenderer/index.js +80 -65
- package/esm/exported-related/ItemRenderer/styled.js +42 -56
- package/esm/exported-related/ItemRenderer/usePropsWithDefaults.js +36 -27
- package/esm/exported-related/Notifications/index.js +50 -57
- package/esm/exported-related/OpenWindowItem/index.js +22 -20
- package/esm/exported-related/constants.js +17 -24
- package/esm/exported-related/index.js +6 -8
- package/esm/hooks/index.js +3 -5
- package/esm/hooks/useExpandableOnClickHandler.js +22 -26
- package/esm/hooks/useKeyboardNavigation.js +47 -30
- package/esm/hooks/useOpenableOnClickHandler.js +22 -26
- package/esm/hooks/useSelectFirstBodyItem.js +30 -18
- package/esm/index.d.js +1 -2
- package/esm/index.js +8 -12
- package/esm/outOfTheBox/ItemControlledDrilldown/index.js +87 -62
- package/esm/outOfTheBox/ItemControlledDrilldown/styled.js +17 -20
- package/esm/outOfTheBox/ItemHeader/index.js +82 -65
- package/esm/outOfTheBox/ItemHeader/styled.js +12 -20
- package/esm/outOfTheBox/ItemLink/index.js +57 -46
- package/esm/outOfTheBox/ItemLink/styled.js +8 -12
- package/esm/outOfTheBox/ItemSection/index.js +53 -30
- package/esm/outOfTheBox/ItemSection/styled.js +13 -24
- package/esm/outOfTheBox/ItemSeparator/index.js +35 -27
- package/esm/outOfTheBox/ItemSubmenu/index.js +81 -65
- package/esm/outOfTheBox/ItemSubmenu/styled.js +12 -20
- package/esm/outOfTheBox/ItemTextLabel/index.js +43 -22
- package/esm/outOfTheBox/ItemTextLabel/styled.js +14 -14
- package/esm/outOfTheBox/ItemUncontrolledDrilldown/index.js +95 -70
- package/esm/outOfTheBox/ItemUncontrolledDrilldown/styled.js +17 -20
- package/esm/outOfTheBox/ItemWithDate/index.js +44 -30
- package/esm/outOfTheBox/ItemWithDate/styled.js +17 -20
- package/esm/outOfTheBox/index.js +34 -25
- package/esm/parts/LeftNavContent/index.js +64 -54
- package/esm/parts/LeftNavContent/styled.js +36 -81
- package/esm/parts/LeftNavContentWithScrollbar/index.js +64 -56
- package/esm/parts/LeftNavFooterItem/index.js +68 -73
- package/esm/parts/LeftNavFooterItem/styled.js +24 -63
- package/esm/parts/LeftNavLoading/index.js +22 -22
- package/esm/parts/OutOfTheBoxMapItem.js +35 -19
- package/esm/prop-types.js +29 -26
- package/package.json +6 -6
- package/types/LeftNavigationContext.d.ts +4 -4
- package/types/configs/useLeftNavSmoothExpand.d.ts +3 -3
- package/types/hooks/useSelectFirstBodyItem.d.ts +1 -1
- package/types/index.d.d.ts +5 -2
- package/cjs/LeftNavigation.js.map +0 -7
- package/cjs/LeftNavigationContext.js.map +0 -7
- package/cjs/common/getItemBackgroundStyle.js.map +0 -7
- package/cjs/common/getLeftBorderStyle.js.map +0 -7
- package/cjs/common/getScrollbarStyle.js.map +0 -7
- package/cjs/common/index.js.map +0 -7
- package/cjs/configs/index.js.map +0 -7
- package/cjs/configs/useLeftNavConfig.js.map +0 -7
- package/cjs/configs/useLeftNavItems.js.map +0 -7
- package/cjs/configs/useLeftNavSmoothExpand.js.map +0 -7
- package/cjs/exported-related/ChevronItem/index.js.map +0 -7
- package/cjs/exported-related/Icon/index.js.map +0 -7
- package/cjs/exported-related/ItemRenderer/index.js.map +0 -7
- package/cjs/exported-related/ItemRenderer/styled.js.map +0 -7
- package/cjs/exported-related/ItemRenderer/usePropsWithDefaults.js.map +0 -7
- package/cjs/exported-related/Notifications/index.js.map +0 -7
- package/cjs/exported-related/OpenWindowItem/index.js.map +0 -7
- package/cjs/exported-related/constants.js.map +0 -7
- package/cjs/exported-related/index.js.map +0 -7
- package/cjs/hooks/index.js.map +0 -7
- package/cjs/hooks/useExpandableOnClickHandler.js.map +0 -7
- package/cjs/hooks/useKeyboardNavigation.js.map +0 -7
- package/cjs/hooks/useOpenableOnClickHandler.js.map +0 -7
- package/cjs/hooks/useSelectFirstBodyItem.js.map +0 -7
- package/cjs/index.d.js.map +0 -7
- package/cjs/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemControlledDrilldown/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemControlledDrilldown/styled.js.map +0 -7
- package/cjs/outOfTheBox/ItemHeader/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemHeader/styled.js.map +0 -7
- package/cjs/outOfTheBox/ItemLink/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemLink/styled.js.map +0 -7
- package/cjs/outOfTheBox/ItemSection/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemSection/styled.js.map +0 -7
- package/cjs/outOfTheBox/ItemSeparator/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemSubmenu/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemSubmenu/styled.js.map +0 -7
- package/cjs/outOfTheBox/ItemTextLabel/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemTextLabel/styled.js.map +0 -7
- package/cjs/outOfTheBox/ItemUncontrolledDrilldown/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemUncontrolledDrilldown/styled.js.map +0 -7
- package/cjs/outOfTheBox/ItemWithDate/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemWithDate/styled.js.map +0 -7
- package/cjs/outOfTheBox/index.js.map +0 -7
- package/cjs/parts/LeftNavContent/index.js.map +0 -7
- package/cjs/parts/LeftNavContent/styled.js.map +0 -7
- package/cjs/parts/LeftNavContentWithScrollbar/index.js.map +0 -7
- package/cjs/parts/LeftNavFooterItem/index.js.map +0 -7
- package/cjs/parts/LeftNavFooterItem/styled.js.map +0 -7
- package/cjs/parts/LeftNavLoading/index.js.map +0 -7
- package/cjs/parts/OutOfTheBoxMapItem.js.map +0 -7
- package/cjs/prop-types.js.map +0 -7
- package/esm/LeftNavigation.js.map +0 -7
- package/esm/LeftNavigationContext.js.map +0 -7
- package/esm/common/getItemBackgroundStyle.js.map +0 -7
- package/esm/common/getLeftBorderStyle.js.map +0 -7
- package/esm/common/getScrollbarStyle.js.map +0 -7
- package/esm/common/index.js.map +0 -7
- package/esm/configs/index.js.map +0 -7
- package/esm/configs/useLeftNavConfig.js.map +0 -7
- package/esm/configs/useLeftNavItems.js.map +0 -7
- package/esm/configs/useLeftNavSmoothExpand.js.map +0 -7
- package/esm/exported-related/ChevronItem/index.js.map +0 -7
- package/esm/exported-related/Icon/index.js.map +0 -7
- package/esm/exported-related/ItemRenderer/index.js.map +0 -7
- package/esm/exported-related/ItemRenderer/styled.js.map +0 -7
- package/esm/exported-related/ItemRenderer/usePropsWithDefaults.js.map +0 -7
- package/esm/exported-related/Notifications/index.js.map +0 -7
- package/esm/exported-related/OpenWindowItem/index.js.map +0 -7
- package/esm/exported-related/constants.js.map +0 -7
- package/esm/exported-related/index.js.map +0 -7
- package/esm/hooks/index.js.map +0 -7
- package/esm/hooks/useExpandableOnClickHandler.js.map +0 -7
- package/esm/hooks/useKeyboardNavigation.js.map +0 -7
- package/esm/hooks/useOpenableOnClickHandler.js.map +0 -7
- package/esm/hooks/useSelectFirstBodyItem.js.map +0 -7
- package/esm/index.d.js.map +0 -7
- package/esm/index.js.map +0 -7
- package/esm/outOfTheBox/ItemControlledDrilldown/index.js.map +0 -7
- package/esm/outOfTheBox/ItemControlledDrilldown/styled.js.map +0 -7
- package/esm/outOfTheBox/ItemHeader/index.js.map +0 -7
- package/esm/outOfTheBox/ItemHeader/styled.js.map +0 -7
- package/esm/outOfTheBox/ItemLink/index.js.map +0 -7
- package/esm/outOfTheBox/ItemLink/styled.js.map +0 -7
- package/esm/outOfTheBox/ItemSection/index.js.map +0 -7
- package/esm/outOfTheBox/ItemSection/styled.js.map +0 -7
- package/esm/outOfTheBox/ItemSeparator/index.js.map +0 -7
- package/esm/outOfTheBox/ItemSubmenu/index.js.map +0 -7
- package/esm/outOfTheBox/ItemSubmenu/styled.js.map +0 -7
- package/esm/outOfTheBox/ItemTextLabel/index.js.map +0 -7
- package/esm/outOfTheBox/ItemTextLabel/styled.js.map +0 -7
- package/esm/outOfTheBox/ItemUncontrolledDrilldown/index.js.map +0 -7
- package/esm/outOfTheBox/ItemUncontrolledDrilldown/styled.js.map +0 -7
- package/esm/outOfTheBox/ItemWithDate/index.js.map +0 -7
- package/esm/outOfTheBox/ItemWithDate/styled.js.map +0 -7
- package/esm/outOfTheBox/index.js.map +0 -7
- package/esm/parts/LeftNavContent/index.js.map +0 -7
- package/esm/parts/LeftNavContent/styled.js.map +0 -7
- package/esm/parts/LeftNavContentWithScrollbar/index.js.map +0 -7
- package/esm/parts/LeftNavFooterItem/index.js.map +0 -7
- package/esm/parts/LeftNavFooterItem/styled.js.map +0 -7
- package/esm/parts/LeftNavLoading/index.js.map +0 -7
- package/esm/parts/OutOfTheBoxMapItem.js.map +0 -7
- package/esm/prop-types.js.map +0 -7
|
@@ -1,42 +1,72 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
1
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
2
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
3
|
+
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
4
|
+
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
5
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
6
|
+
import 'core-js/modules/esnext.async-iterator.map.js';
|
|
7
|
+
import 'core-js/modules/esnext.iterator.map.js';
|
|
8
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
9
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
10
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
11
|
+
import { useEffect, useMemo, useCallback } from 'react';
|
|
12
|
+
import Grid from '@elliemae/ds-grid';
|
|
13
|
+
import { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';
|
|
14
|
+
import { ArrowheadDown, ArrowheadRight } from '@elliemae/ds-icons';
|
|
15
|
+
import { ITEM_TYPES } from '../../exported-related/constants.js';
|
|
16
|
+
import { ItemRenderer } from '../../exported-related/ItemRenderer/index.js';
|
|
17
|
+
import 'react/jsx-runtime';
|
|
18
|
+
import 'styled-components';
|
|
19
|
+
import { StyledLabel, StyledDate } from './styled.js';
|
|
20
|
+
import { ItemSeparator } from '../ItemSeparator/index.js';
|
|
21
|
+
import { ItemWithDate } from '../ItemWithDate/index.js';
|
|
22
|
+
import { ItemTextLabel } from '../ItemTextLabel/index.js';
|
|
23
|
+
|
|
24
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
25
|
+
|
|
26
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
27
|
+
// Subitem mapping
|
|
11
28
|
const outOfTheBoxSubitemsComponents = {
|
|
12
29
|
[ITEM_TYPES.LEFT_NAV_ITEM_SEPARATOR]: ItemSeparator,
|
|
13
30
|
[ITEM_TYPES.LEFT_NAV_ITEM_WITH_DATE]: ItemWithDate,
|
|
14
31
|
[ITEM_TYPES.LEFT_NAV_ITEM_TEXT_LABEL]: ItemTextLabel
|
|
15
32
|
};
|
|
16
|
-
|
|
33
|
+
|
|
34
|
+
const OutOfTheBoxMapSubitem = props => {
|
|
17
35
|
const {
|
|
18
36
|
item,
|
|
19
|
-
item: {
|
|
37
|
+
item: {
|
|
38
|
+
type,
|
|
39
|
+
Component
|
|
40
|
+
},
|
|
20
41
|
ctx
|
|
21
42
|
} = props;
|
|
22
|
-
|
|
43
|
+
|
|
44
|
+
if (typeof type === 'string' && !!outOfTheBoxSubitemsComponents[type]) {
|
|
45
|
+
var _item$itemOpts$indent, _item$itemOpts;
|
|
46
|
+
|
|
23
47
|
const OutOfTheBoxComponent = outOfTheBoxSubitemsComponents[type];
|
|
24
|
-
const currentIndent = item.itemOpts
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
itemOpts: {
|
|
28
|
-
|
|
29
|
-
|
|
48
|
+
const currentIndent = (_item$itemOpts$indent = (_item$itemOpts = item.itemOpts) === null || _item$itemOpts === void 0 ? void 0 : _item$itemOpts.indent) !== null && _item$itemOpts$indent !== void 0 ? _item$itemOpts$indent : 0;
|
|
49
|
+
|
|
50
|
+
const newItem = _objectSpread(_objectSpread({}, item), {}, {
|
|
51
|
+
itemOpts: _objectSpread(_objectSpread({}, item.itemOpts), {}, {
|
|
52
|
+
indent: currentIndent + 44
|
|
53
|
+
})
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
return /*#__PURE__*/_jsx(OutOfTheBoxComponent, {
|
|
30
57
|
item: newItem,
|
|
31
|
-
ctx
|
|
58
|
+
ctx: ctx
|
|
32
59
|
});
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
60
|
+
} // we expect an error to be threw if Component is not defined and type is not a valid out-of-the-box...
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
return /*#__PURE__*/_jsx(Component, {
|
|
64
|
+
item: item,
|
|
65
|
+
ctx: ctx
|
|
37
66
|
});
|
|
38
67
|
};
|
|
39
|
-
|
|
68
|
+
|
|
69
|
+
const ItemUncontrolledDrilldown = props => {
|
|
40
70
|
const {
|
|
41
71
|
item,
|
|
42
72
|
item: {
|
|
@@ -55,83 +85,78 @@ const ItemUncontrolledDrilldown = (props) => {
|
|
|
55
85
|
},
|
|
56
86
|
ctx,
|
|
57
87
|
ctx: {
|
|
58
|
-
leftNavProps: {
|
|
88
|
+
leftNavProps: {
|
|
89
|
+
labelOverflow: leftNavLabelOverflow
|
|
90
|
+
},
|
|
59
91
|
openedDrilldowns,
|
|
60
92
|
setOpenedDrilldowns
|
|
61
93
|
}
|
|
62
|
-
} = props;
|
|
94
|
+
} = props; // Start opened functionality
|
|
95
|
+
|
|
63
96
|
useEffect(() => {
|
|
64
|
-
if (startOpened)
|
|
65
|
-
setOpenedDrilldowns([...openedDrilldowns, dsId]);
|
|
97
|
+
if (startOpened) setOpenedDrilldowns([...openedDrilldowns, dsId]);
|
|
66
98
|
}, []);
|
|
67
99
|
const opened = openedDrilldowns.includes(dsId);
|
|
68
100
|
const labelOverflow = itemLabelOverflow || leftNavLabelOverflow;
|
|
69
101
|
const arrowIcon = useMemo(() => {
|
|
70
102
|
const Component = opened ? ArrowheadDown : ArrowheadRight;
|
|
71
|
-
return
|
|
103
|
+
return /*#__PURE__*/_jsx(Component, {
|
|
72
104
|
width: "24px",
|
|
73
105
|
height: "18px",
|
|
74
|
-
color: [
|
|
106
|
+
color: ['brand-primary', '800']
|
|
75
107
|
});
|
|
76
|
-
}, [opened]);
|
|
108
|
+
}, [opened]); // Array of subitems
|
|
109
|
+
|
|
77
110
|
const subitems = useMemo(() => {
|
|
78
|
-
if (!opened || !items)
|
|
79
|
-
|
|
80
|
-
return items.map((subitem) => /* @__PURE__ */ React2.createElement(OutOfTheBoxMapSubitem, {
|
|
111
|
+
if (!opened || !items) return [];
|
|
112
|
+
return items.map(subitem => /*#__PURE__*/_jsx(OutOfTheBoxMapSubitem, {
|
|
81
113
|
item: subitem,
|
|
82
|
-
ctx
|
|
83
|
-
|
|
84
|
-
}));
|
|
114
|
+
ctx: ctx
|
|
115
|
+
}, subitem.dsId));
|
|
85
116
|
}, [items, opened]);
|
|
86
117
|
const handleOnClick = useCallback(() => {
|
|
87
|
-
if (opened)
|
|
88
|
-
setOpenedDrilldowns(openedDrilldowns.filter((openedDrilldown) => openedDrilldown !== dsId));
|
|
89
|
-
else
|
|
90
|
-
setOpenedDrilldowns([...openedDrilldowns, dsId]);
|
|
118
|
+
if (opened) setOpenedDrilldowns(openedDrilldowns.filter(openedDrilldown => openedDrilldown !== dsId));else setOpenedDrilldowns([...openedDrilldowns, dsId]);
|
|
91
119
|
}, [opened, setOpenedDrilldowns, openedDrilldowns]);
|
|
92
|
-
return
|
|
93
|
-
item: {
|
|
94
|
-
|
|
95
|
-
itemOpts: {
|
|
120
|
+
return /*#__PURE__*/_jsx(ItemRenderer, {
|
|
121
|
+
item: _objectSpread(_objectSpread({}, item), {}, {
|
|
122
|
+
itemOpts: _objectSpread(_objectSpread({
|
|
96
123
|
ariaExpanded: opened,
|
|
97
|
-
ariaRole:
|
|
98
|
-
|
|
124
|
+
ariaRole: 'menuitem'
|
|
125
|
+
}, item.itemOpts), {}, {
|
|
99
126
|
openable: !opened,
|
|
100
127
|
closable: opened
|
|
101
|
-
},
|
|
128
|
+
}),
|
|
102
129
|
CollapsedComponent: null
|
|
103
|
-
},
|
|
104
|
-
subitems,
|
|
130
|
+
}),
|
|
131
|
+
subitems: subitems,
|
|
105
132
|
minHeight: "32px",
|
|
106
133
|
paddingTop: "8px",
|
|
107
134
|
onClick: handleOnClick
|
|
108
|
-
},
|
|
135
|
+
}, void 0, /*#__PURE__*/_jsx(Grid, {
|
|
109
136
|
pl: "xxs",
|
|
110
137
|
mt: "-2px"
|
|
111
|
-
}, arrowIcon),
|
|
138
|
+
}, void 0, arrowIcon), /*#__PURE__*/_jsx(StyledLabel, {
|
|
112
139
|
pb: "xxxs",
|
|
113
|
-
"data-testid": labelDataTestId ||
|
|
114
|
-
labelOverflow,
|
|
115
|
-
labelBold,
|
|
116
|
-
labelColor
|
|
117
|
-
}, labelOverflow ===
|
|
140
|
+
"data-testid": labelDataTestId || 'leftnav-list-item-label',
|
|
141
|
+
labelOverflow: labelOverflow,
|
|
142
|
+
labelBold: labelBold,
|
|
143
|
+
labelColor: labelColor
|
|
144
|
+
}, void 0, labelOverflow === 'truncate' ? /*#__PURE__*/_jsx(SimpleTruncatedTooltipText, {
|
|
118
145
|
value: label,
|
|
119
146
|
placement: "bottom-start"
|
|
120
|
-
}) : label),
|
|
147
|
+
}) : label), /*#__PURE__*/_jsx(Grid, {
|
|
121
148
|
pr: "xxs2",
|
|
122
|
-
cols: [
|
|
149
|
+
cols: ['auto', 'auto'],
|
|
123
150
|
alignItems: "center"
|
|
124
|
-
},
|
|
151
|
+
}, void 0, /*#__PURE__*/_jsx(StyledDate, {
|
|
125
152
|
ml: "xxs",
|
|
126
153
|
"data-testid": "leftnav-list-item-date"
|
|
127
|
-
}, labelRightSection),
|
|
128
|
-
pl: RightComponent ?
|
|
129
|
-
}, RightComponent &&
|
|
130
|
-
ctx,
|
|
131
|
-
item
|
|
154
|
+
}, void 0, labelRightSection), /*#__PURE__*/_jsx(Grid, {
|
|
155
|
+
pl: RightComponent ? 'xxs' : '0px'
|
|
156
|
+
}, void 0, RightComponent && /*#__PURE__*/_jsx(RightComponent, {
|
|
157
|
+
ctx: ctx,
|
|
158
|
+
item: item
|
|
132
159
|
}))));
|
|
133
160
|
};
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
};
|
|
137
|
-
//# sourceMappingURL=index.js.map
|
|
161
|
+
|
|
162
|
+
export { ItemUncontrolledDrilldown };
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
const StyledLabel = styled(Grid)
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
StyledLabel
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=styled.js.map
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import Grid from '@elliemae/ds-grid';
|
|
3
|
+
|
|
4
|
+
const StyledLabel = /*#__PURE__*/styled(Grid).withConfig({
|
|
5
|
+
componentId: "sc-17rk89j-0"
|
|
6
|
+
})(["font-size:13px;font-weight:", ";color:", ";line-height:14px;word-break:", ";"], props => props.labelBold ? props.theme.fontWeights.semibold : props.theme.fontWeights.regular, _ref => {
|
|
7
|
+
let {
|
|
8
|
+
labelColor,
|
|
9
|
+
theme
|
|
10
|
+
} = _ref;
|
|
11
|
+
return labelColor ? theme.colors[labelColor[0]][labelColor[1]] : theme.colors.neutral[800];
|
|
12
|
+
}, props => props.labelOverflow === 'wrapAll' ? 'break-all' : 'normal');
|
|
13
|
+
const StyledDate = /*#__PURE__*/styled(Grid).withConfig({
|
|
14
|
+
componentId: "sc-17rk89j-1"
|
|
15
|
+
})(["font-size:12px;color:", ";line-height:14px;"], props => props.theme.colors.neutral[600]);
|
|
16
|
+
|
|
17
|
+
export { StyledDate, StyledLabel };
|
|
@@ -1,10 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
1
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
5
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
6
|
+
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
7
|
+
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
8
|
+
import 'react';
|
|
9
|
+
import Grid from '@elliemae/ds-grid';
|
|
10
|
+
import { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';
|
|
11
|
+
import { ItemRenderer } from '../../exported-related/ItemRenderer/index.js';
|
|
12
|
+
import '@elliemae/ds-icons';
|
|
13
|
+
import 'react/jsx-runtime';
|
|
14
|
+
import 'styled-components';
|
|
15
|
+
import { StyledLabel, StyledDate } from './styled.js';
|
|
16
|
+
|
|
17
|
+
var _div;
|
|
18
|
+
|
|
19
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
20
|
+
|
|
21
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22
|
+
const ItemWithDate = props => {
|
|
8
23
|
const {
|
|
9
24
|
item,
|
|
10
25
|
item: {
|
|
@@ -20,43 +35,42 @@ const ItemWithDate = (props) => {
|
|
|
20
35
|
},
|
|
21
36
|
ctx,
|
|
22
37
|
ctx: {
|
|
23
|
-
leftNavProps: {
|
|
38
|
+
leftNavProps: {
|
|
39
|
+
labelOverflow: leftNavLabelOverflow
|
|
40
|
+
}
|
|
24
41
|
}
|
|
25
42
|
} = props;
|
|
26
43
|
const labelOverflow = itemLabelOverflow || leftNavLabelOverflow;
|
|
27
|
-
return
|
|
28
|
-
item: {
|
|
29
|
-
...item,
|
|
44
|
+
return /*#__PURE__*/_jsx(ItemRenderer, {
|
|
45
|
+
item: _objectSpread(_objectSpread({}, item), {}, {
|
|
30
46
|
CollapsedComponent: null
|
|
31
|
-
},
|
|
47
|
+
}),
|
|
32
48
|
minHeight: "32px",
|
|
33
49
|
paddingTop: "8px"
|
|
34
|
-
}, " ",
|
|
50
|
+
}, void 0, " ", _div || (_div = /*#__PURE__*/_jsx("div", {})), /*#__PURE__*/_jsx(StyledLabel, {
|
|
35
51
|
pl: "xxs",
|
|
36
52
|
pb: "xxxs",
|
|
37
|
-
"data-testid": labelDataTestId ||
|
|
38
|
-
labelOverflow,
|
|
39
|
-
labelBold,
|
|
40
|
-
labelColor
|
|
41
|
-
}, labelOverflow ===
|
|
53
|
+
"data-testid": labelDataTestId || 'leftnav-list-item-label',
|
|
54
|
+
labelOverflow: labelOverflow,
|
|
55
|
+
labelBold: labelBold,
|
|
56
|
+
labelColor: labelColor
|
|
57
|
+
}, void 0, labelOverflow === 'truncate' ? /*#__PURE__*/_jsx(SimpleTruncatedTooltipText, {
|
|
42
58
|
value: label,
|
|
43
59
|
placement: "bottom-start"
|
|
44
|
-
}) : label),
|
|
60
|
+
}) : label), /*#__PURE__*/_jsx(Grid, {
|
|
45
61
|
pr: "xxs2",
|
|
46
|
-
cols: [
|
|
62
|
+
cols: ['auto', 'auto'],
|
|
47
63
|
alignItems: "center"
|
|
48
|
-
},
|
|
64
|
+
}, void 0, /*#__PURE__*/_jsx(StyledDate, {
|
|
49
65
|
ml: "xxs",
|
|
50
66
|
"data-testid": "leftnav-list-item-date"
|
|
51
|
-
}, labelRightSection),
|
|
52
|
-
pl: RightComponent ?
|
|
67
|
+
}, void 0, labelRightSection), /*#__PURE__*/_jsx(Grid, {
|
|
68
|
+
pl: RightComponent ? 'xxs' : '0px',
|
|
53
69
|
"data-testid": "leftnav-right-component"
|
|
54
|
-
}, RightComponent &&
|
|
55
|
-
ctx,
|
|
56
|
-
item
|
|
70
|
+
}, void 0, RightComponent && /*#__PURE__*/_jsx(RightComponent, {
|
|
71
|
+
ctx: ctx,
|
|
72
|
+
item: item
|
|
57
73
|
}))));
|
|
58
74
|
};
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
};
|
|
62
|
-
//# sourceMappingURL=index.js.map
|
|
75
|
+
|
|
76
|
+
export { ItemWithDate };
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
const StyledLabel = styled(Grid)
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
StyledLabel
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=styled.js.map
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import Grid from '@elliemae/ds-grid';
|
|
3
|
+
|
|
4
|
+
const StyledLabel = /*#__PURE__*/styled(Grid).withConfig({
|
|
5
|
+
componentId: "sc-govmsc-0"
|
|
6
|
+
})(["font-size:13px;font-weight:", ";color:", ";line-height:14px;word-break:", ";"], props => props.labelBold ? props.theme.fontWeights.semibold : props.theme.fontWeights.regular, _ref => {
|
|
7
|
+
let {
|
|
8
|
+
labelColor,
|
|
9
|
+
theme
|
|
10
|
+
} = _ref;
|
|
11
|
+
return labelColor ? theme.colors[labelColor[0]][labelColor[1]] : theme.colors.neutral[800];
|
|
12
|
+
}, props => props.labelOverflow === 'wrapAll' ? 'break-all' : 'normal');
|
|
13
|
+
const StyledDate = /*#__PURE__*/styled(Grid).withConfig({
|
|
14
|
+
componentId: "sc-govmsc-1"
|
|
15
|
+
})(["font-size:12px;color:", ";line-height:14px;"], props => props.theme.colors.neutral[600]);
|
|
16
|
+
|
|
17
|
+
export { StyledDate, StyledLabel };
|
package/esm/outOfTheBox/index.js
CHANGED
|
@@ -1,23 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
export
|
|
20
|
-
|
|
1
|
+
import { ITEM_TYPES } from '../exported-related/constants.js';
|
|
2
|
+
import '@babel/runtime/helpers/esm/jsx';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '@elliemae/ds-grid';
|
|
5
|
+
import 'styled-components';
|
|
6
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
7
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
8
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
9
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
10
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
11
|
+
import '@babel/runtime/helpers/esm/defineProperty';
|
|
12
|
+
import 'react/jsx-runtime';
|
|
13
|
+
import '@elliemae/ds-icons';
|
|
14
|
+
import { ItemControlledDrilldown } from './ItemControlledDrilldown/index.js';
|
|
15
|
+
export { ItemControlledDrilldown } from './ItemControlledDrilldown/index.js';
|
|
16
|
+
import { ItemUncontrolledDrilldown } from './ItemUncontrolledDrilldown/index.js';
|
|
17
|
+
export { ItemUncontrolledDrilldown } from './ItemUncontrolledDrilldown/index.js';
|
|
18
|
+
import { ItemHeader } from './ItemHeader/index.js';
|
|
19
|
+
export { ItemHeader } from './ItemHeader/index.js';
|
|
20
|
+
import { ItemLink } from './ItemLink/index.js';
|
|
21
|
+
export { ItemLink } from './ItemLink/index.js';
|
|
22
|
+
import { ItemSection } from './ItemSection/index.js';
|
|
23
|
+
export { ItemSection } from './ItemSection/index.js';
|
|
24
|
+
import { ItemSeparator } from './ItemSeparator/index.js';
|
|
25
|
+
export { ItemSeparator } from './ItemSeparator/index.js';
|
|
26
|
+
import { ItemSubmenu } from './ItemSubmenu/index.js';
|
|
27
|
+
export { ItemSubmenu } from './ItemSubmenu/index.js';
|
|
28
|
+
import { ItemTextLabel } from './ItemTextLabel/index.js';
|
|
29
|
+
export { ItemTextLabel } from './ItemTextLabel/index.js';
|
|
30
|
+
import { ItemWithDate } from './ItemWithDate/index.js';
|
|
31
|
+
export { ItemWithDate } from './ItemWithDate/index.js';
|
|
32
|
+
|
|
21
33
|
const outOfTheBoxTypes = Object.values(ITEM_TYPES);
|
|
22
34
|
const {
|
|
23
35
|
LEFT_NAV_ITEM_CONTROLLED_DRILLDOWN,
|
|
@@ -41,8 +53,5 @@ const outOfTheBoxComponents = {
|
|
|
41
53
|
[LEFT_NAV_ITEM_TEXT_LABEL]: ItemTextLabel,
|
|
42
54
|
[LEFT_NAV_ITEM_WITH_DATE]: ItemWithDate
|
|
43
55
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
outOfTheBoxTypes
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=index.js.map
|
|
56
|
+
|
|
57
|
+
export { outOfTheBoxComponents, outOfTheBoxTypes };
|
|
@@ -1,67 +1,77 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { LeftNavLoading } from "../LeftNavLoading";
|
|
17
|
-
const leftNavScreenReaderInstructions = "Left Navigation. You can navigate through the items using the Up/Down arrows. To expand or select an item, use the Enter/Return or Space keys. Expandable items can also be opened/closed with the Right/Left arrows. The Home and End keys will take you to the first and last item respectively.";
|
|
1
|
+
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
|
+
import 'core-js/modules/esnext.async-iterator.map.js';
|
|
3
|
+
import 'core-js/modules/esnext.iterator.map.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { LeftNavContext } from '../../LeftNavigationContext.js';
|
|
6
|
+
import { LeftNavFooterItem } from '../LeftNavFooterItem/index.js';
|
|
7
|
+
import { LeftNavContentWithScrollbar } from '../LeftNavContentWithScrollbar/index.js';
|
|
8
|
+
import { OutOfTheBoxMapItem } from '../OutOfTheBoxMapItem.js';
|
|
9
|
+
import { StyledLeftNavExpandAnimationWrapper, StyledLeftNavAreasContainer, StyledLeftNavFooterArea, StyledLeftNavHeaderArea, StyledLeftNavBodyAreasContainer, StyledLeftNavBodyHeaderArea, StyledLeftNavBodyItemsArea } from './styled.js';
|
|
10
|
+
import { LeftNavLoading } from '../LeftNavLoading/index.js';
|
|
11
|
+
import { jsxs, Fragment } from 'react/jsx-runtime';
|
|
12
|
+
|
|
13
|
+
var _LeftNavInnerContent;
|
|
14
|
+
const leftNavScreenReaderInstructions = 'Left Navigation. You can navigate through the items using the Up/Down arrows. ' + 'To expand or select an item, use the Enter/Return or Space keys. ' + 'Expandable items can also be opened/closed with the Right/Left arrows. ' + 'The Home and End keys will take you to the first and last item respectively.';
|
|
15
|
+
|
|
18
16
|
const LeftNavInnerContent = () => {
|
|
19
17
|
const {
|
|
20
|
-
leftNavProps: {
|
|
18
|
+
leftNavProps: {
|
|
19
|
+
HeaderComponent,
|
|
20
|
+
BodyHeaderComponent,
|
|
21
|
+
openedItem,
|
|
22
|
+
items,
|
|
23
|
+
withoutBodyShadow
|
|
24
|
+
},
|
|
21
25
|
selectedItem
|
|
22
|
-
} =
|
|
23
|
-
return
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
item,
|
|
39
|
-
|
|
40
|
-
|
|
26
|
+
} = React.useContext(LeftNavContext);
|
|
27
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
28
|
+
children: [/*#__PURE__*/_jsx(StyledLeftNavHeaderArea, {
|
|
29
|
+
"data-testid": "leftnav-header-area",
|
|
30
|
+
selected: HeaderComponent && [selectedItem, openedItem].includes(HeaderComponent.dsId)
|
|
31
|
+
}, void 0, HeaderComponent ? /*#__PURE__*/_jsx(OutOfTheBoxMapItem, {
|
|
32
|
+
item: HeaderComponent
|
|
33
|
+
}) : null), /*#__PURE__*/_jsx(StyledLeftNavBodyAreasContainer, {}, void 0, /*#__PURE__*/_jsx(StyledLeftNavBodyHeaderArea, {
|
|
34
|
+
"data-testid": "leftnav-body-header-area",
|
|
35
|
+
selected: BodyHeaderComponent && [selectedItem, openedItem].includes(BodyHeaderComponent.dsId)
|
|
36
|
+
}, void 0, BodyHeaderComponent ? /*#__PURE__*/_jsx(OutOfTheBoxMapItem, {
|
|
37
|
+
item: BodyHeaderComponent
|
|
38
|
+
}) : null), /*#__PURE__*/_jsx(StyledLeftNavBodyItemsArea, {
|
|
39
|
+
selected: !withoutBodyShadow && openedItem !== null,
|
|
40
|
+
"data-testid": "leftnav-body-items-area",
|
|
41
|
+
tabIndex: -1
|
|
42
|
+
}, void 0, /*#__PURE__*/_jsx(LeftNavContentWithScrollbar, {}, void 0, items.map(item => /*#__PURE__*/_jsx(OutOfTheBoxMapItem, {
|
|
43
|
+
item: item
|
|
44
|
+
}, item.dsId)))))]
|
|
45
|
+
});
|
|
41
46
|
};
|
|
47
|
+
|
|
42
48
|
const LeftNavContent = () => {
|
|
43
49
|
const {
|
|
44
50
|
expandedForAnimation,
|
|
45
|
-
leftNavProps: {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
leftNavProps: {
|
|
52
|
+
expanded,
|
|
53
|
+
expandedWidth,
|
|
54
|
+
footerLabel,
|
|
55
|
+
onFooterExpand,
|
|
56
|
+
onFooterClose,
|
|
57
|
+
loading
|
|
58
|
+
}
|
|
59
|
+
} = React.useContext(LeftNavContext);
|
|
60
|
+
return /*#__PURE__*/_jsx(StyledLeftNavExpandAnimationWrapper, {
|
|
61
|
+
expandedWidth: expandedWidth,
|
|
62
|
+
expanded: expanded,
|
|
50
63
|
"data-testid": "leftnav-component",
|
|
51
64
|
"aria-label": leftNavScreenReaderInstructions
|
|
52
|
-
},
|
|
53
|
-
expandedWidth,
|
|
65
|
+
}, void 0, /*#__PURE__*/_jsx(StyledLeftNavAreasContainer, {
|
|
66
|
+
expandedWidth: expandedWidth,
|
|
54
67
|
expanded: expandedForAnimation
|
|
55
|
-
}, loading &&
|
|
68
|
+
}, void 0, loading && /*#__PURE__*/_jsx(LeftNavLoading, {
|
|
56
69
|
expanded: expandedForAnimation
|
|
57
|
-
}), !loading &&
|
|
58
|
-
footerLabel,
|
|
59
|
-
onFooterExpand,
|
|
60
|
-
onFooterClose
|
|
70
|
+
}), !loading && (_LeftNavInnerContent || (_LeftNavInnerContent = /*#__PURE__*/_jsx(LeftNavInnerContent, {}))), /*#__PURE__*/_jsx(StyledLeftNavFooterArea, {}, void 0, /*#__PURE__*/_jsx(LeftNavFooterItem, {
|
|
71
|
+
footerLabel: footerLabel,
|
|
72
|
+
onFooterExpand: onFooterExpand,
|
|
73
|
+
onFooterClose: onFooterClose
|
|
61
74
|
}))));
|
|
62
75
|
};
|
|
63
|
-
|
|
64
|
-
export {
|
|
65
|
-
LeftNavContent_default as default
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=index.js.map
|
|
76
|
+
|
|
77
|
+
export { LeftNavContent as default };
|