funda-ui 4.2.255 → 4.2.445
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/CascadingSelect/index.js +1 -1
- package/EventCalendar/index.css +3 -0
- package/EventCalendar/index.d.ts +4 -1
- package/EventCalendar/index.js +16 -4
- package/EventCalendarTimeline/index.css +17 -0
- package/EventCalendarTimeline/index.d.ts +9 -2
- package/EventCalendarTimeline/index.js +77 -22
- package/LiveSearch/index.css +12 -0
- package/LiveSearch/index.js +1 -1
- package/ModalDialog/index.js +1 -1
- package/MultilevelDropdownMenu/index.css +2 -2
- package/MultilevelDropdownMenu/index.js +54 -46
- package/MultipleSelect/index.css +35 -26
- package/MultipleSelect/index.d.ts +3 -0
- package/MultipleSelect/index.js +366 -134
- package/NativeSelect/index.js +75 -47
- package/Pagination/index.d.ts +2 -0
- package/Pagination/index.js +25 -21
- package/Radio/index.js +14 -6
- package/RangeSlider/index.css +1 -0
- package/Select/index.css +5 -0
- package/Select/index.d.ts +1 -0
- package/Select/index.js +31 -11
- package/Tabs/index.js +13 -2
- package/Tree/index.js +90 -56
- package/lib/cjs/CascadingSelect/index.js +1 -1
- package/lib/cjs/EventCalendar/index.d.ts +4 -1
- package/lib/cjs/EventCalendar/index.js +16 -4
- package/lib/cjs/EventCalendarTimeline/index.d.ts +9 -2
- package/lib/cjs/EventCalendarTimeline/index.js +77 -22
- package/lib/cjs/LiveSearch/index.js +1 -1
- package/lib/cjs/ModalDialog/index.js +1 -1
- package/lib/cjs/MultilevelDropdownMenu/index.js +54 -46
- package/lib/cjs/MultipleSelect/index.d.ts +3 -0
- package/lib/cjs/MultipleSelect/index.js +366 -134
- package/lib/cjs/NativeSelect/index.js +75 -47
- package/lib/cjs/Pagination/index.d.ts +2 -0
- package/lib/cjs/Pagination/index.js +25 -21
- package/lib/cjs/Radio/index.js +14 -6
- package/lib/cjs/Select/index.d.ts +1 -0
- package/lib/cjs/Select/index.js +31 -11
- package/lib/cjs/Tabs/index.js +13 -2
- package/lib/cjs/Tree/index.js +90 -56
- package/lib/css/EventCalendar/index.css +3 -0
- package/lib/css/EventCalendarTimeline/index.css +17 -0
- package/lib/css/LiveSearch/index.css +12 -0
- package/lib/css/MultilevelDropdownMenu/index.css +2 -2
- package/lib/css/MultipleSelect/index.css +35 -26
- package/lib/css/RangeSlider/index.css +1 -0
- package/lib/css/Select/index.css +5 -0
- package/lib/esm/CascadingSelect/index.tsx +1 -1
- package/lib/esm/EventCalendar/index.scss +2 -0
- package/lib/esm/EventCalendar/index.tsx +23 -6
- package/lib/esm/EventCalendarTimeline/index.scss +24 -1
- package/lib/esm/EventCalendarTimeline/index.tsx +195 -118
- package/lib/esm/LiveSearch/index.scss +14 -1
- package/lib/esm/LiveSearch/index.tsx +1 -1
- package/lib/esm/ModalDialog/index.tsx +1 -1
- package/lib/esm/MultilevelDropdownMenu/{MenuList.tsx → ItemList.tsx} +52 -45
- package/lib/esm/MultilevelDropdownMenu/index.scss +2 -2
- package/lib/esm/MultilevelDropdownMenu/index.tsx +12 -4
- package/lib/esm/MultipleSelect/ItemList.tsx +300 -0
- package/lib/esm/MultipleSelect/index.scss +61 -30
- package/lib/esm/MultipleSelect/index.tsx +56 -87
- package/lib/esm/MultipleSelect/multiple-select-utils/func.ts +29 -0
- package/lib/esm/NativeSelect/index.tsx +4 -18
- package/lib/esm/NativeSelect/native-select-utils/func.ts +40 -0
- package/lib/esm/Pagination/index.tsx +31 -22
- package/lib/esm/Radio/index.tsx +19 -6
- package/lib/esm/RangeSlider/index.scss +2 -0
- package/lib/esm/Select/index.scss +6 -1
- package/lib/esm/Select/index.tsx +70 -54
- package/lib/esm/Table/Table.tsx +2 -0
- package/lib/esm/Tabs/Tabs.tsx +19 -4
- package/lib/esm/Tree/TreeList.tsx +61 -54
- package/lib/esm/Tree/index.tsx +4 -0
- package/package.json +1 -1
package/CascadingSelect/index.js
CHANGED
|
@@ -5081,7 +5081,7 @@ var CascadingSelect = function CascadingSelect(props) {
|
|
|
5081
5081
|
var _findNode = searchObject(_data, function (v) {
|
|
5082
5082
|
return v != null && v != undefined && v[rowQueryAttr] == targetVal[col - 1];
|
|
5083
5083
|
});
|
|
5084
|
-
var childList = _findNode[0].children;
|
|
5084
|
+
var childList = typeof _findNode[0] !== 'undefined' ? _findNode[0].children : undefined;
|
|
5085
5085
|
|
|
5086
5086
|
// STEP 1: ===========
|
|
5087
5087
|
//active item from current column
|
package/EventCalendar/index.css
CHANGED
|
@@ -115,6 +115,9 @@
|
|
|
115
115
|
display: none;
|
|
116
116
|
color: var(--e-cal-delete-btn-color);
|
|
117
117
|
}
|
|
118
|
+
.e-cal__wrapper .e-cal__row .e-cal__cell .e-cal__day__eventdel svg {
|
|
119
|
+
fill: var(--e-cal-delete-btn-color);
|
|
120
|
+
}
|
|
118
121
|
.e-cal__wrapper .e-cal__row .e-cal__cell .e-cal__day__eventdel svg path {
|
|
119
122
|
fill: var(--e-cal-delete-btn-color);
|
|
120
123
|
}
|
package/EventCalendar/index.d.ts
CHANGED
|
@@ -34,12 +34,15 @@ declare type EventCalendarProps = {
|
|
|
34
34
|
modalSubmitBtnLabel?: string | React.ReactNode;
|
|
35
35
|
modalSubmitDeleteBtnClassName?: string;
|
|
36
36
|
modalSubmitDeleteBtnLabel?: string | React.ReactNode;
|
|
37
|
-
onModalEditOpen?: (currentData: any) => void;
|
|
37
|
+
onModalEditOpen?: (currentData: any, openwin: any) => void;
|
|
38
38
|
onModalEditClose?: (currentData: any) => void;
|
|
39
39
|
onModalDeleteOpen?: (currentData: any) => void;
|
|
40
40
|
onModalDeleteClose?: (currentData: any) => void;
|
|
41
41
|
onModalEditEvent?: (currentData: any, closewin: any) => void;
|
|
42
42
|
onModalDeleteEvent?: (currentData: any, closewin: any) => void;
|
|
43
|
+
onCellMouseEnter?: (el: any) => void;
|
|
44
|
+
onCellMouseLeave?: (el: any) => void;
|
|
45
|
+
onCellClick?: (el: any) => void;
|
|
43
46
|
};
|
|
44
47
|
declare const EventCalendar: (props: EventCalendarProps) => JSX.Element;
|
|
45
48
|
export default EventCalendar;
|
package/EventCalendar/index.js
CHANGED
|
@@ -4569,7 +4569,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
4569
4569
|
var DEPTH = depth || 1055; // the default value same as bootstrap
|
|
4570
4570
|
var M_WIDTH = fullscreen ? undefined : typeof maxWidth === 'function' ? maxWidth() : maxWidth ? maxWidth : undefined;
|
|
4571
4571
|
var M_HEIGHT = typeof minHeight === 'function' ? minHeight() : minHeight ? minHeight : undefined;
|
|
4572
|
-
var LOCK_BODY_SCROLL = typeof lockBodyScroll === 'undefined' ?
|
|
4572
|
+
var LOCK_BODY_SCROLL = typeof lockBodyScroll === 'undefined' ? false : lockBodyScroll;
|
|
4573
4573
|
var uniqueID = (0, funda_utils__WEBPACK_IMPORTED_MODULE_2__.useComId)();
|
|
4574
4574
|
var modalRef = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
4575
4575
|
var triggerRef = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
@@ -5076,7 +5076,10 @@ var EventCalendar = function EventCalendar(props) {
|
|
|
5076
5076
|
onModalDeleteOpen = props.onModalDeleteOpen,
|
|
5077
5077
|
onModalDeleteClose = props.onModalDeleteClose,
|
|
5078
5078
|
onModalEditEvent = props.onModalEditEvent,
|
|
5079
|
-
onModalDeleteEvent = props.onModalDeleteEvent
|
|
5079
|
+
onModalDeleteEvent = props.onModalDeleteEvent,
|
|
5080
|
+
onCellMouseEnter = props.onCellMouseEnter,
|
|
5081
|
+
onCellMouseLeave = props.onCellMouseLeave,
|
|
5082
|
+
onCellClick = props.onCellClick;
|
|
5080
5083
|
var DAYS = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
5081
5084
|
var DAYS_LEAP = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
5082
5085
|
var WEEK = langWeek || ['MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT', 'SUN'];
|
|
@@ -5506,7 +5509,15 @@ var EventCalendar = function EventCalendar(props) {
|
|
|
5506
5509
|
"data-date": getCalendarDate(_dateShow),
|
|
5507
5510
|
"data-day": padZero(d),
|
|
5508
5511
|
"data-week": i,
|
|
5512
|
+
onMouseEnter: function onMouseEnter(e) {
|
|
5513
|
+
onCellMouseEnter === null || onCellMouseEnter === void 0 ? void 0 : onCellMouseEnter(e);
|
|
5514
|
+
},
|
|
5515
|
+
onMouseLeave: function onMouseLeave(e) {
|
|
5516
|
+
onCellMouseLeave === null || onCellMouseLeave === void 0 ? void 0 : onCellMouseLeave(e);
|
|
5517
|
+
},
|
|
5509
5518
|
onClick: function onClick(e) {
|
|
5519
|
+
//
|
|
5520
|
+
onCellClick === null || onCellClick === void 0 ? void 0 : onCellClick(e);
|
|
5510
5521
|
if (d > 0) {
|
|
5511
5522
|
handleDayChange(e, d);
|
|
5512
5523
|
onChangeDate === null || onChangeDate === void 0 ? void 0 : onChangeDate(e, _currentData.length === 0 ? {
|
|
@@ -5514,11 +5525,12 @@ var EventCalendar = function EventCalendar(props) {
|
|
|
5514
5525
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
5515
5526
|
} : _currentData[0]);
|
|
5516
5527
|
if (EVENTS_ENABLED) {
|
|
5517
|
-
setShowEdit(true);
|
|
5518
5528
|
onModalEditOpen === null || onModalEditOpen === void 0 ? void 0 : onModalEditOpen(_currentData.length === 0 ? {
|
|
5519
5529
|
id: 0,
|
|
5520
5530
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
5521
|
-
} : _currentData[0])
|
|
5531
|
+
} : _currentData[0], function () {
|
|
5532
|
+
return setShowEdit(true);
|
|
5533
|
+
});
|
|
5522
5534
|
}
|
|
5523
5535
|
}
|
|
5524
5536
|
}
|
|
@@ -344,6 +344,9 @@
|
|
|
344
344
|
background-color: var(--e-cal-tl-table-event-hover-bg);
|
|
345
345
|
box-shadow: var(--e-cal-tl-table-event-hover-shadow);
|
|
346
346
|
}
|
|
347
|
+
.e-cal-tl-table__timeline-table__wrapper .e-cal-tl-table__cell-cushion-content__container:not(.empty):hover .e-cal-tl__day__eventdel {
|
|
348
|
+
display: block;
|
|
349
|
+
}
|
|
347
350
|
.e-cal-tl-table__timeline-table__wrapper .e-cal-tl-table__cell-cushion-content__container.has-event .e-cal-tl-table__cell-cushion {
|
|
348
351
|
padding: 0;
|
|
349
352
|
}
|
|
@@ -352,6 +355,20 @@
|
|
|
352
355
|
width: 100%;
|
|
353
356
|
font-size: var(--e-cal-tl-table-event-font-size);
|
|
354
357
|
}
|
|
358
|
+
.e-cal-tl-table__timeline-table__wrapper .e-cal-tl-table__cell-cushion-content__container .e-cal-tl__day__eventdel {
|
|
359
|
+
position: absolute;
|
|
360
|
+
z-index: 1;
|
|
361
|
+
left: 0;
|
|
362
|
+
top: 0;
|
|
363
|
+
display: none;
|
|
364
|
+
color: var(--e-cal-tl-table-delete-btn-color);
|
|
365
|
+
}
|
|
366
|
+
.e-cal-tl-table__timeline-table__wrapper .e-cal-tl-table__cell-cushion-content__container .e-cal-tl__day__eventdel svg {
|
|
367
|
+
fill: var(--e-cal-tl-table-delete-btn-color);
|
|
368
|
+
}
|
|
369
|
+
.e-cal-tl-table__timeline-table__wrapper .e-cal-tl-table__cell-cushion-content__container .e-cal-tl__day__eventdel svg path {
|
|
370
|
+
fill: var(--e-cal-tl-table-delete-btn-color);
|
|
371
|
+
}
|
|
355
372
|
.e-cal-tl-table__timeline-table__wrapper .e-cal-tl-table__cell-cushion-headercontent__container {
|
|
356
373
|
text-align: center;
|
|
357
374
|
}
|
|
@@ -7,8 +7,12 @@ export interface EventsValueConfig {
|
|
|
7
7
|
dataTooltip?: string;
|
|
8
8
|
eventStyles?: React.CSSProperties;
|
|
9
9
|
}
|
|
10
|
+
export interface TimelineRowFieldConfig {
|
|
11
|
+
id: string | number;
|
|
12
|
+
title: string;
|
|
13
|
+
}
|
|
10
14
|
export interface TimelineValueConfig {
|
|
11
|
-
listSection:
|
|
15
|
+
listSection: TimelineRowFieldConfig;
|
|
12
16
|
eventSources: EventsValueConfig[];
|
|
13
17
|
}
|
|
14
18
|
declare type EventCalendarTimelineProps = {
|
|
@@ -43,12 +47,15 @@ declare type EventCalendarTimelineProps = {
|
|
|
43
47
|
modalSubmitBtnLabel?: string | React.ReactNode;
|
|
44
48
|
modalSubmitDeleteBtnClassName?: string;
|
|
45
49
|
modalSubmitDeleteBtnLabel?: string | React.ReactNode;
|
|
46
|
-
onModalEditOpen?: (currentData: any) => void;
|
|
50
|
+
onModalEditOpen?: (currentData: any, openwin: any) => void;
|
|
47
51
|
onModalEditClose?: (currentData: any) => void;
|
|
48
52
|
onModalDeleteOpen?: (currentData: any) => void;
|
|
49
53
|
onModalDeleteClose?: (currentData: any) => void;
|
|
50
54
|
onModalEditEvent?: (currentData: any, closewin: any) => void;
|
|
51
55
|
onModalDeleteEvent?: (currentData: any, closewin: any) => void;
|
|
56
|
+
onCellMouseEnter?: (el: any) => void;
|
|
57
|
+
onCellMouseLeave?: (el: any) => void;
|
|
58
|
+
onCellClick?: (el: any) => void;
|
|
52
59
|
tableListSectionTitle?: string | React.ReactNode;
|
|
53
60
|
tableCellMinWidth?: number;
|
|
54
61
|
tableTooltipDirection?: string;
|
|
@@ -4569,7 +4569,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
4569
4569
|
var DEPTH = depth || 1055; // the default value same as bootstrap
|
|
4570
4570
|
var M_WIDTH = fullscreen ? undefined : typeof maxWidth === 'function' ? maxWidth() : maxWidth ? maxWidth : undefined;
|
|
4571
4571
|
var M_HEIGHT = typeof minHeight === 'function' ? minHeight() : minHeight ? minHeight : undefined;
|
|
4572
|
-
var LOCK_BODY_SCROLL = typeof lockBodyScroll === 'undefined' ?
|
|
4572
|
+
var LOCK_BODY_SCROLL = typeof lockBodyScroll === 'undefined' ? false : lockBodyScroll;
|
|
4573
4573
|
var uniqueID = (0, funda_utils__WEBPACK_IMPORTED_MODULE_2__.useComId)();
|
|
4574
4574
|
var modalRef = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
4575
4575
|
var triggerRef = (0, react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
@@ -9365,6 +9365,9 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
9365
9365
|
onModalDeleteClose = props.onModalDeleteClose,
|
|
9366
9366
|
onModalEditEvent = props.onModalEditEvent,
|
|
9367
9367
|
onModalDeleteEvent = props.onModalDeleteEvent,
|
|
9368
|
+
onCellMouseEnter = props.onCellMouseEnter,
|
|
9369
|
+
onCellMouseLeave = props.onCellMouseLeave,
|
|
9370
|
+
onCellClick = props.onCellClick,
|
|
9368
9371
|
tableListSectionTitle = props.tableListSectionTitle,
|
|
9369
9372
|
tableCellMinWidth = props.tableCellMinWidth,
|
|
9370
9373
|
tableTooltipDirection = props.tableTooltipDirection,
|
|
@@ -9451,6 +9454,7 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
9451
9454
|
var BODY_DRAG = draggable || false;
|
|
9452
9455
|
var CELL_MIN_W = typeof tableCellMinWidth === 'undefined' ? SHOW_WEEK ? 100 : 50 : tableCellMinWidth;
|
|
9453
9456
|
var tableGridRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
9457
|
+
var tableGridHeaderRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
9454
9458
|
var scrollHeaderRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
9455
9459
|
var scrollBodyRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
9456
9460
|
var scrollListRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
@@ -9847,7 +9851,7 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
9847
9851
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
|
9848
9852
|
className: "e-cal-tl-table__cell-cushion e-cal-tl-table__cell-cushion-title",
|
|
9849
9853
|
dangerouslySetInnerHTML: {
|
|
9850
|
-
__html: item.listSection
|
|
9854
|
+
__html: item.listSection.title
|
|
9851
9855
|
}
|
|
9852
9856
|
})));
|
|
9853
9857
|
});
|
|
@@ -9905,12 +9909,13 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
9905
9909
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
9906
9910
|
} : _currentData[0]);
|
|
9907
9911
|
if (EVENTS_ENABLED) {
|
|
9908
|
-
setShowEdit(true);
|
|
9909
9912
|
onModalEditOpen === null || onModalEditOpen === void 0 ? void 0 : onModalEditOpen(_currentData.length === 0 ? {
|
|
9910
9913
|
rowData: listSectionData,
|
|
9911
9914
|
id: 0,
|
|
9912
9915
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
9913
|
-
} : _currentData[0])
|
|
9916
|
+
} : _currentData[0], function () {
|
|
9917
|
+
return setShowEdit(true);
|
|
9918
|
+
});
|
|
9914
9919
|
}
|
|
9915
9920
|
}
|
|
9916
9921
|
}
|
|
@@ -9951,11 +9956,15 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
9951
9956
|
e.preventDefault();
|
|
9952
9957
|
e.stopPropagation();
|
|
9953
9958
|
setShowDelete(true);
|
|
9959
|
+
var _existsContent = _currentData[0];
|
|
9960
|
+
if (typeof _existsContent !== 'undefined') {
|
|
9961
|
+
_existsContent.rowData = listSectionData;
|
|
9962
|
+
}
|
|
9954
9963
|
onModalDeleteOpen === null || onModalDeleteOpen === void 0 ? void 0 : onModalDeleteOpen(_currentData.length === 0 ? {
|
|
9955
9964
|
rowData: listSectionData,
|
|
9956
9965
|
id: 0,
|
|
9957
9966
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
9958
|
-
} :
|
|
9967
|
+
} : _existsContent);
|
|
9959
9968
|
}
|
|
9960
9969
|
}, iconRemove ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, iconRemove) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", {
|
|
9961
9970
|
width: "20px",
|
|
@@ -9978,11 +9987,30 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
9978
9987
|
"data-day": padZero(d),
|
|
9979
9988
|
"data-week": i,
|
|
9980
9989
|
"data-row": rowIndex,
|
|
9981
|
-
onMouseEnter:
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
|
|
9990
|
+
onMouseEnter: function onMouseEnter(e) {
|
|
9991
|
+
onCellMouseEnter === null || onCellMouseEnter === void 0 ? void 0 : onCellMouseEnter(e);
|
|
9992
|
+
if (_eventContentTooltip !== '') {
|
|
9993
|
+
if (typeof tableTooltipDisabled === 'undefined' || tableTooltipDisabled === false) {
|
|
9994
|
+
if (_eventContent !== '') {
|
|
9995
|
+
handleTableTooltipMouseEnter(e, _eventContentTooltip);
|
|
9996
|
+
}
|
|
9997
|
+
}
|
|
9998
|
+
}
|
|
9999
|
+
},
|
|
10000
|
+
onMouseLeave: function onMouseLeave(e) {
|
|
10001
|
+
onCellMouseLeave === null || onCellMouseLeave === void 0 ? void 0 : onCellMouseLeave(e);
|
|
10002
|
+
if (_eventContentTooltip !== '') {
|
|
10003
|
+
if (typeof tableTooltipDisabled === 'undefined' || tableTooltipDisabled === false) {
|
|
10004
|
+
if (_eventContent !== '') {
|
|
10005
|
+
handleTableTooltipMouseLeave();
|
|
10006
|
+
}
|
|
10007
|
+
}
|
|
10008
|
+
}
|
|
10009
|
+
},
|
|
9985
10010
|
onClick: function onClick(e) {
|
|
10011
|
+
//
|
|
10012
|
+
onCellClick === null || onCellClick === void 0 ? void 0 : onCellClick(e);
|
|
10013
|
+
|
|
9986
10014
|
// update row data
|
|
9987
10015
|
setTableRowNum(rowIndex);
|
|
9988
10016
|
if (_currentData.length > 0) {
|
|
@@ -9998,12 +10026,13 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
9998
10026
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
9999
10027
|
} : _currentData[0]);
|
|
10000
10028
|
if (EVENTS_ENABLED) {
|
|
10001
|
-
setShowEdit(true);
|
|
10002
10029
|
onModalEditOpen === null || onModalEditOpen === void 0 ? void 0 : onModalEditOpen(_currentData.length === 0 ? {
|
|
10003
10030
|
rowData: listSectionData,
|
|
10004
10031
|
id: 0,
|
|
10005
10032
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
10006
|
-
} : _currentData[0])
|
|
10033
|
+
} : _currentData[0], function () {
|
|
10034
|
+
return setShowEdit(true);
|
|
10035
|
+
});
|
|
10007
10036
|
}
|
|
10008
10037
|
}
|
|
10009
10038
|
}
|
|
@@ -10085,12 +10114,13 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
10085
10114
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
10086
10115
|
} : _currentData[0]);
|
|
10087
10116
|
if (EVENTS_ENABLED) {
|
|
10088
|
-
setShowEdit(true);
|
|
10089
10117
|
onModalEditOpen === null || onModalEditOpen === void 0 ? void 0 : onModalEditOpen(_currentData.length === 0 ? {
|
|
10090
10118
|
rowData: listSectionData,
|
|
10091
10119
|
id: 0,
|
|
10092
10120
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
10093
|
-
} : _currentData[0])
|
|
10121
|
+
} : _currentData[0], function () {
|
|
10122
|
+
return setShowEdit(true);
|
|
10123
|
+
});
|
|
10094
10124
|
}
|
|
10095
10125
|
}
|
|
10096
10126
|
}
|
|
@@ -10137,11 +10167,15 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
10137
10167
|
e.preventDefault();
|
|
10138
10168
|
e.stopPropagation();
|
|
10139
10169
|
setShowDelete(true);
|
|
10170
|
+
var _existsContent = _currentData[0];
|
|
10171
|
+
if (typeof _existsContent !== 'undefined') {
|
|
10172
|
+
_existsContent.rowData = listSectionData;
|
|
10173
|
+
}
|
|
10140
10174
|
onModalDeleteOpen === null || onModalDeleteOpen === void 0 ? void 0 : onModalDeleteOpen(_currentData.length === 0 ? {
|
|
10141
10175
|
rowData: listSectionData,
|
|
10142
10176
|
id: 0,
|
|
10143
10177
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
10144
|
-
} :
|
|
10178
|
+
} : _existsContent);
|
|
10145
10179
|
}
|
|
10146
10180
|
}, iconRemove ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, iconRemove) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", {
|
|
10147
10181
|
width: "20px",
|
|
@@ -10164,11 +10198,30 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
10164
10198
|
"data-day": padZero(d),
|
|
10165
10199
|
"data-week": i,
|
|
10166
10200
|
"data-row": rowIndex,
|
|
10167
|
-
onMouseEnter:
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10201
|
+
onMouseEnter: function onMouseEnter(e) {
|
|
10202
|
+
onCellMouseEnter === null || onCellMouseEnter === void 0 ? void 0 : onCellMouseEnter(e);
|
|
10203
|
+
if (_eventContentTooltip !== '') {
|
|
10204
|
+
if (typeof tableTooltipDisabled === 'undefined' || tableTooltipDisabled === false) {
|
|
10205
|
+
if (_eventContent !== '') {
|
|
10206
|
+
handleTableTooltipMouseEnter(e, _eventContentTooltip);
|
|
10207
|
+
}
|
|
10208
|
+
}
|
|
10209
|
+
}
|
|
10210
|
+
},
|
|
10211
|
+
onMouseLeave: function onMouseLeave(e) {
|
|
10212
|
+
onCellMouseLeave === null || onCellMouseLeave === void 0 ? void 0 : onCellMouseLeave(e);
|
|
10213
|
+
if (_eventContentTooltip !== '') {
|
|
10214
|
+
if (typeof tableTooltipDisabled === 'undefined' || tableTooltipDisabled === false) {
|
|
10215
|
+
if (_eventContent !== '') {
|
|
10216
|
+
handleTableTooltipMouseLeave();
|
|
10217
|
+
}
|
|
10218
|
+
}
|
|
10219
|
+
}
|
|
10220
|
+
},
|
|
10171
10221
|
onClick: function onClick(e) {
|
|
10222
|
+
//
|
|
10223
|
+
onCellClick === null || onCellClick === void 0 ? void 0 : onCellClick(e);
|
|
10224
|
+
|
|
10172
10225
|
// update row data
|
|
10173
10226
|
setTableRowNum(rowIndex);
|
|
10174
10227
|
if (_currentData.length > 0) {
|
|
@@ -10184,12 +10237,13 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
10184
10237
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
10185
10238
|
} : _currentData[0]);
|
|
10186
10239
|
if (EVENTS_ENABLED) {
|
|
10187
|
-
setShowEdit(true);
|
|
10188
10240
|
onModalEditOpen === null || onModalEditOpen === void 0 ? void 0 : onModalEditOpen(_currentData.length === 0 ? {
|
|
10189
10241
|
rowData: listSectionData,
|
|
10190
10242
|
id: 0,
|
|
10191
10243
|
date: getCalendarDate("".concat(year, "-").concat(month + 1, "-").concat(d))
|
|
10192
|
-
} : _currentData[0])
|
|
10244
|
+
} : _currentData[0], function () {
|
|
10245
|
+
return setShowEdit(true);
|
|
10246
|
+
});
|
|
10193
10247
|
}
|
|
10194
10248
|
}
|
|
10195
10249
|
}
|
|
@@ -10537,7 +10591,7 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
10537
10591
|
type: "button",
|
|
10538
10592
|
className: "e-cal-tl__btn e-cal-tl__btn--today",
|
|
10539
10593
|
onClick: handleTodayChange
|
|
10540
|
-
}, langToday || 'Today'))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
|
10594
|
+
}, langToday || 'Today'))), val.length === 0 ? null : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
|
10541
10595
|
ref: tableGridRef,
|
|
10542
10596
|
className: "e-cal-tl-table__timeline-table__wrapper invisible"
|
|
10543
10597
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("table", {
|
|
@@ -10546,6 +10600,7 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
10546
10600
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("colgroup", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("col", {
|
|
10547
10601
|
className: "e-cal-tl-table__datagrid-header"
|
|
10548
10602
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("col", null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("col", null)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("thead", {
|
|
10603
|
+
ref: tableGridHeaderRef,
|
|
10549
10604
|
role: "rowgroup"
|
|
10550
10605
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tr", {
|
|
10551
10606
|
role: "presentation"
|
|
@@ -10623,7 +10678,7 @@ var EventCalendarTimeline = function EventCalendarTimeline(props) {
|
|
|
10623
10678
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tr", {
|
|
10624
10679
|
key: i
|
|
10625
10680
|
}, generateDaysUi(item.eventSources, item.listSection, i, true));
|
|
10626
|
-
}))))))))))), EVENTS_ENABLED ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((funda_modaldialog__WEBPACK_IMPORTED_MODULE_2___default()), {
|
|
10681
|
+
})))))))))))), EVENTS_ENABLED ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((funda_modaldialog__WEBPACK_IMPORTED_MODULE_2___default()), {
|
|
10627
10682
|
show: showDelete,
|
|
10628
10683
|
maskOpacity: modalMaskOpacity,
|
|
10629
10684
|
triggerClassName: "",
|
package/LiveSearch/index.css
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
/* ======================================================
|
|
2
2
|
<!-- Live Search -->
|
|
3
3
|
/* ====================================================== */
|
|
4
|
+
.livesearch__wrapper {
|
|
5
|
+
/*------ Search button ------*/
|
|
6
|
+
}
|
|
7
|
+
.livesearch__wrapper .livesearch__wrapper-searchbtn {
|
|
8
|
+
position: absolute;
|
|
9
|
+
right: 0;
|
|
10
|
+
top: 50%;
|
|
11
|
+
transform: translateY(-50%);
|
|
12
|
+
z-index: 5;
|
|
13
|
+
pointer-events: auto;
|
|
14
|
+
}
|
|
15
|
+
|
|
4
16
|
/*------ List ------*/
|
|
5
17
|
.livesearch__options-wrapper {
|
|
6
18
|
--livesearch-listgroup-popwin-min-width: 200px;
|
package/LiveSearch/index.js
CHANGED
|
@@ -9784,7 +9784,7 @@ var LiveSearch = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(
|
|
|
9784
9784
|
onClick: handleSelect
|
|
9785
9785
|
});
|
|
9786
9786
|
}) : null))))) : null, hideIcon ? null : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, !fetchTrigger ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", {
|
|
9787
|
-
className: "livesearch__wrapper-searchbtn
|
|
9787
|
+
className: "livesearch__wrapper-searchbtn"
|
|
9788
9788
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("button", {
|
|
9789
9789
|
tabIndex: -1,
|
|
9790
9790
|
type: "button",
|
package/ModalDialog/index.js
CHANGED
|
@@ -4447,7 +4447,7 @@ var ModalDialog = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)
|
|
|
4447
4447
|
var DEPTH = depth || 1055; // the default value same as bootstrap
|
|
4448
4448
|
var M_WIDTH = fullscreen ? undefined : typeof maxWidth === 'function' ? maxWidth() : maxWidth ? maxWidth : undefined;
|
|
4449
4449
|
var M_HEIGHT = typeof minHeight === 'function' ? minHeight() : minHeight ? minHeight : undefined;
|
|
4450
|
-
var LOCK_BODY_SCROLL = typeof lockBodyScroll === 'undefined' ?
|
|
4450
|
+
var LOCK_BODY_SCROLL = typeof lockBodyScroll === 'undefined' ? false : lockBodyScroll;
|
|
4451
4451
|
var uniqueID = (0,funda_utils__WEBPACK_IMPORTED_MODULE_2__.useComId)();
|
|
4452
4452
|
var modalRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
4453
4453
|
var triggerRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
|
@@ -4199,7 +4199,7 @@ var external_root_React_commonjs2_react_commonjs_react_amd_react_ = __webpack_re
|
|
|
4199
4199
|
var external_root_React_commonjs2_react_commonjs_react_amd_react_default = /*#__PURE__*/__webpack_require__.n(external_root_React_commonjs2_react_commonjs_react_amd_react_);
|
|
4200
4200
|
// EXTERNAL MODULE: ../Utils/dist/cjs/index.js
|
|
4201
4201
|
var cjs = __webpack_require__(456);
|
|
4202
|
-
;// CONCATENATED MODULE: ./src/
|
|
4202
|
+
;// CONCATENATED MODULE: ./src/ItemList.tsx
|
|
4203
4203
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
4204
4204
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4205
4205
|
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); }
|
|
@@ -4212,8 +4212,9 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
4212
4212
|
/* Recursively nested components to traverse nodes
|
|
4213
4213
|
-------------------------------------------------*/
|
|
4214
4214
|
|
|
4215
|
-
function
|
|
4216
|
-
var
|
|
4215
|
+
function ItemList(props) {
|
|
4216
|
+
var root = props.root,
|
|
4217
|
+
alternateCollapse = props.alternateCollapse,
|
|
4217
4218
|
first = props.first,
|
|
4218
4219
|
arrow = props.arrow,
|
|
4219
4220
|
childClassName = props.childClassName,
|
|
@@ -4268,6 +4269,7 @@ function MenuList(props) {
|
|
|
4268
4269
|
};
|
|
4269
4270
|
function handleClick(e) {
|
|
4270
4271
|
e.preventDefault();
|
|
4272
|
+
e.stopPropagation();
|
|
4271
4273
|
var hyperlink = e.currentTarget;
|
|
4272
4274
|
var url = hyperlink.getAttribute('href');
|
|
4273
4275
|
var subElement = (0,cjs.getNextSiblings)(hyperlink, 'ul');
|
|
@@ -4321,48 +4323,50 @@ function MenuList(props) {
|
|
|
4321
4323
|
}));
|
|
4322
4324
|
}
|
|
4323
4325
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
var
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
hyperlink.
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
// init <ul> height
|
|
4346
|
-
var ul = (0,cjs.getNextSiblings)(hyperlink.el, 'ul');
|
|
4347
|
-
[].slice.call(ul).forEach(function (_curUl) {
|
|
4348
|
-
var allHeight = [].slice.call(_curUl.querySelectorAll('li')).map(function (_curLi) {
|
|
4349
|
-
return _curLi.scrollHeight;
|
|
4350
|
-
});
|
|
4326
|
+
if (root !== null && data.length > 0) {
|
|
4327
|
+
// Activate current item
|
|
4328
|
+
//=====================
|
|
4329
|
+
var allItems = rootRef.current ? [].slice.call(root.querySelectorAll(".".concat(childClassName, " a"))).map(function (item) {
|
|
4330
|
+
var _item$parentNode$clas;
|
|
4331
|
+
return {
|
|
4332
|
+
href: item.getAttribute('href'),
|
|
4333
|
+
el: item,
|
|
4334
|
+
actived: (_item$parentNode$clas = item.parentNode.classList) !== null && _item$parentNode$clas !== void 0 && _item$parentNode$clas.contains('active') ? true : false,
|
|
4335
|
+
expandedLink: document.body.contains(item.parentNode.parentNode.previousSibling) ? item.parentNode.parentNode.previousSibling : false
|
|
4336
|
+
};
|
|
4337
|
+
}) : [];
|
|
4338
|
+
allItems.forEach(function (hyperlink) {
|
|
4339
|
+
// Expand the currently active item by default
|
|
4340
|
+
if (hyperlink.actived) {
|
|
4341
|
+
hyperlink.el.setAttribute('aria-expanded', 'true');
|
|
4342
|
+
if (hyperlink.expandedLink) {
|
|
4343
|
+
var expandedLink = hyperlink.expandedLink; // <a>
|
|
4344
|
+
activeClass(expandedLink.parentNode, 'add');
|
|
4345
|
+
expandedLink.setAttribute('aria-expanded', true);
|
|
4346
|
+
}
|
|
4351
4347
|
|
|
4352
|
-
//
|
|
4353
|
-
var
|
|
4354
|
-
|
|
4348
|
+
// init <ul> height
|
|
4349
|
+
var ul = (0,cjs.getNextSiblings)(hyperlink.el, 'ul');
|
|
4350
|
+
[].slice.call(ul).forEach(function (_curUl) {
|
|
4351
|
+
var allHeight = [].slice.call(_curUl.querySelectorAll('li')).map(function (_curLi) {
|
|
4352
|
+
return _curLi.scrollHeight;
|
|
4353
|
+
});
|
|
4355
4354
|
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
}, 0);
|
|
4355
|
+
// Prevent missing height, causing the last element to be clipped
|
|
4356
|
+
var maxHeight = Math.max.apply(Math, _toConsumableArray(allHeight));
|
|
4357
|
+
allHeight.push(maxHeight * 3);
|
|
4360
4358
|
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4359
|
+
//
|
|
4360
|
+
var totalHeight = allHeight.reduce(function (accumulator, currentValue) {
|
|
4361
|
+
return accumulator + currentValue;
|
|
4362
|
+
}, 0);
|
|
4363
|
+
|
|
4364
|
+
// Prevent the use of iframe or other situations where the height is 0
|
|
4365
|
+
_curUl.style.maxHeight = "".concat(totalHeight == 0 ? 999 : totalHeight, "px");
|
|
4366
|
+
});
|
|
4367
|
+
}
|
|
4368
|
+
});
|
|
4369
|
+
}
|
|
4366
4370
|
}, [data]);
|
|
4367
4371
|
if (data) {
|
|
4368
4372
|
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, null, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("ul", {
|
|
@@ -4417,9 +4421,10 @@ function MenuList(props) {
|
|
|
4417
4421
|
dangerouslySetInnerHTML: {
|
|
4418
4422
|
__html: "".concat(item.title)
|
|
4419
4423
|
}
|
|
4420
|
-
}), item.children ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("span", {
|
|
4424
|
+
}), item.children && item.children.length > 0 ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("span", {
|
|
4421
4425
|
className: "arrow"
|
|
4422
|
-
}, arrowGenerator()) : ''), item.children && /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement(
|
|
4426
|
+
}, arrowGenerator()) : ''), item.children && /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement(ItemList, {
|
|
4427
|
+
root: root,
|
|
4423
4428
|
data: item.children,
|
|
4424
4429
|
first: false,
|
|
4425
4430
|
arrow: arrow,
|
|
@@ -4450,6 +4455,7 @@ var MultilevelDropdownMenu = function MultilevelDropdownMenu(props) {
|
|
|
4450
4455
|
data = props.data,
|
|
4451
4456
|
id = props.id,
|
|
4452
4457
|
onSelect = props.onSelect;
|
|
4458
|
+
var rootRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
|
|
4453
4459
|
var uniqueID = (0,cjs.useComId)();
|
|
4454
4460
|
var idRes = id || uniqueID;
|
|
4455
4461
|
var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(null),
|
|
@@ -4461,8 +4467,10 @@ var MultilevelDropdownMenu = function MultilevelDropdownMenu(props) {
|
|
|
4461
4467
|
}, [data]);
|
|
4462
4468
|
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, null, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("nav", {
|
|
4463
4469
|
id: idRes,
|
|
4464
|
-
className: navbarClassName ? navbarClassName : "navbar"
|
|
4465
|
-
|
|
4470
|
+
className: navbarClassName ? navbarClassName : "navbar",
|
|
4471
|
+
ref: rootRef
|
|
4472
|
+
}, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement(ItemList, {
|
|
4473
|
+
root: rootRef.current,
|
|
4466
4474
|
alternateCollapse: alternateCollapse,
|
|
4467
4475
|
first: true,
|
|
4468
4476
|
arrow: arrow,
|