es-grid-template 1.9.47 → 1.9.48
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/es/group-component/hook/utils.d.ts +3 -3
- package/es/table-component/TableContainer.js +3 -3
- package/es/table-component/TableContainerEdit.js +2 -2
- package/es/table-component/style.js +1 -1
- package/es/table-component/style.scss +2 -87
- package/lib/group-component/hook/utils.d.ts +3 -3
- package/lib/table-component/TableContainer.js +3 -3
- package/lib/table-component/TableContainerEdit.js +2 -2
- package/lib/table-component/style.js +1 -1
- package/lib/table-component/style.scss +2 -87
- package/package.json +1 -1
|
@@ -194,10 +194,10 @@ export declare const fixColumnsLeft: <RecordType>(columns: ColumnTable<RecordTyp
|
|
|
194
194
|
value: any;
|
|
195
195
|
rowData: RecordType;
|
|
196
196
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNode);
|
|
197
|
-
onCellStyles?: Omit<CSSProperties, "position" | "
|
|
198
|
-
onCellHeaderStyles?: Omit<CSSProperties, "position" | "
|
|
197
|
+
onCellStyles?: Omit<CSSProperties, "position" | "display" | "left" | "minWidth" | "right" | "width"> | ((cellValue: any, cell: import("@tanstack/react-table").Cell<RecordType, unknown>) => Omit<CSSProperties, "position" | "display" | "left" | "minWidth" | "right" | "width">);
|
|
198
|
+
onCellHeaderStyles?: Omit<CSSProperties, "position" | "display" | "left" | "minWidth" | "right" | "width"> | ((cell: import("@tanstack/react-table").Header<RecordType, unknown>) => Omit<CSSProperties, "position" | "display" | "left" | "minWidth" | "right" | "width">);
|
|
199
199
|
onCell?: (rowData: RecordType, index: number) => import("react").TdHTMLAttributes<HTMLTableCellElement>;
|
|
200
|
-
onCellFooterStyles?: Omit<CSSProperties, "position" | "
|
|
200
|
+
onCellFooterStyles?: Omit<CSSProperties, "position" | "display" | "left" | "minWidth" | "right" | "width"> | ((cellValue: any, cell: import("@tanstack/react-table").Header<RecordType, unknown>) => Omit<CSSProperties, "position" | "display" | "left" | "minWidth" | "right" | "width">);
|
|
201
201
|
getValue?: (row: any, rowIndex: number) => any;
|
|
202
202
|
getCellProps?: (value: any, row: any, rowIndex: number) => import("./../../grid-component/type").CellProps;
|
|
203
203
|
headerCellProps?: import("./../../grid-component/type").CellProps;
|
|
@@ -239,12 +239,12 @@ const TableContainer = props => {
|
|
|
239
239
|
alignItems: 'center',
|
|
240
240
|
gap: '1rem'
|
|
241
241
|
}
|
|
242
|
-
},
|
|
242
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
243
243
|
style: {
|
|
244
244
|
flex: 1,
|
|
245
245
|
overflow: 'hidden'
|
|
246
246
|
}
|
|
247
|
-
}, /*#__PURE__*/React.createElement(Toolbar, {
|
|
247
|
+
}, toolbarItemTop && toolbarItemTop?.length > 0 && /*#__PURE__*/React.createElement(Toolbar, {
|
|
248
248
|
items: toolbarItemTop ?? []
|
|
249
249
|
// mode={'scroll'}
|
|
250
250
|
,
|
|
@@ -367,7 +367,7 @@ const TableContainer = props => {
|
|
|
367
367
|
fixedRightColumns: fixedRightColumns
|
|
368
368
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
369
369
|
ref: bottomToolbarRef
|
|
370
|
-
}, toolbarItemBottom && toolbarItemBottom.length > 0 && /*#__PURE__*/React.createElement("div", {
|
|
370
|
+
}, toolbarItemBottom && toolbarItemBottom.length > 0 && false && /*#__PURE__*/React.createElement("div", {
|
|
371
371
|
style: {
|
|
372
372
|
flex: 1,
|
|
373
373
|
overflow: 'hidden'
|
|
@@ -2041,12 +2041,12 @@ const TableContainerEdit = props => {
|
|
|
2041
2041
|
alignItems: 'center',
|
|
2042
2042
|
gap: '1rem'
|
|
2043
2043
|
}
|
|
2044
|
-
},
|
|
2044
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2045
2045
|
style: {
|
|
2046
2046
|
flex: 1,
|
|
2047
2047
|
overflow: 'hidden'
|
|
2048
2048
|
}
|
|
2049
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
2049
|
+
}, toolbarItemsTop && toolbarItemsTop.length > 0 && /*#__PURE__*/React.createElement("div", {
|
|
2050
2050
|
className: classNames('ui-rc-toolbar-bottom border-0', {
|
|
2051
2051
|
'ui-rc-toolbar-bottom_border-bottom': !pagination || infiniteScroll
|
|
2052
2052
|
})
|
|
@@ -48,4 +48,4 @@ const colorDark = '#e6e4f3e6 ';
|
|
|
48
48
|
export const GridStyle = styled.div.withConfig({
|
|
49
49
|
displayName: "GridStyle",
|
|
50
50
|
componentId: "es-grid-template__sc-hdqm5k-0"
|
|
51
|
-
})(["&.", "-grid{color:", ";font-size:", ";background-color:", ";font-family:", ";&.", "-grid-editable{.", "-grid-container{.", "-grid-tbody{.", "-grid-row{background-color:", ";color:", ";&.", "-grid-row-parent{background-color:#ffffff;font-weight:500;}}}}}table{table-layout:fixed;border-collapse:separate;border-spacing:0;}.", "-grid-container{border:1px solid ", ";border-right:0;&::after{position:absolute;top:0px;right:0;z-index:1;height:100%;border-right:1px solid ", ";content:'';pointer-events:none;}.", "-grid-cell{padding:5px 8px;&.", "-grid-cell-text-center{text-align:center;justify-content:center;}&.", "-grid-cell-text-right{justify-content:flex-end;text-align:right;}&.", "-grid-cell-ellipsis{.ui-rc_cell-content{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all;&.select-cell{padding-right:18px;position:relative;}.caret-down{float:right;position:absolute;right:0;&::before{content:'';display:inline-block;margin-left:4px;vertical-align:middle;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #6f7777;}}}}&.", "-grid-cell-wrap{white-space:normal;text-overflow:ellipsis;word-break:break-word;}.", "-grid-header-text-wrap{white-space:normal;overflow:hidden;text-overflow:ellipsis;word-break:break-word;}}.", "-grid-thead{background-color:", ";font-weight:", ";.", "-grid-cell{font-weight:inherit;color:", ";background-color:inherit;border-inline-end:1px solid ", ";border-bottom:1px solid ", ";&.ui-rc-grid-cell-ellipsis{.ui-rc-table-column-title,.", "-grid-cell-ellipsis{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all;}}&.ui-rc-grid-cell-wrap{.ui-rc-table-column-title,.", "-grid-cell-text-wrap{white-space:normal;word-break:break-word;overflow:hidden;}}&:hover{.ui-rc-header-trigger{.ui-rc-table-column-sorter-cancel{opacity:1;}}}.", "-grid-filter-column{display:flex;justify-content:space-between;width:100%;align-items:center;position:relative;z-index:3;}.ui-rc-header-trigger{padding-left:6px;display:flex;align-items:center;.ui-rc-table-column-sorter-cancel{opacity:0;}}.resizer{cursor:col-resize;height:100%;position:absolute;right:0;top:0;z-index:3;touch-action:none;user-select:none;width:5px;}.resizer.isResizing{opacity:1;}}}.", "-grid-tbody{.", "-grid-row{font-weight:", ";background-color:", ";color:", ";&.", "-grid-row-odd{background-color:#f9f8fd;}&.", "-grid-row-even{}&.", "-grid-row-parent{background-color:#f5f5f5;font-weight:500;}}}.", "-grid-tfoot{.", "-grid-footer-row{border-bottom-width:1px;border-bottom-color:", ";border-bottom-style:solid;border-top-width:1px;border-top-color:", ";border-top-style:solid;background-color:#fafafa;}.", "-grid-cell{background-color:inherit;border-inline-end:1px solid ", ";}}}&.", "-grid-dark{background-color:", ";color:", ";.", "-grid-container{border-color:", ";&::after{border-right-color:", ";}}}}"], props => props.$prefix, color, fontSize, BgColor, fontFamily, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, props => `${props.$theme.color ? props.$theme.color : color}`, props => props.$prefix, props => props.$prefix, tableBorderColor, tableBorderColor, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, fwHeader, props => props.$prefix, props => `${props.$theme.color ? props.$theme.color : color}`, tableBorderColor, tableBorderColor, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, fwBody, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, props => `${props.$theme.color ? props.$theme.color : color}`, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, tableBorderColor, tableBorderColor, props => props.$prefix, tableBorderColor, props => props.$prefix, BgColorDark, colorDark, props => props.$prefix, tableBorderColorDark, tableBorderColorDark);
|
|
51
|
+
})(["&.", "-grid{color:", ";font-size:", ";background-color:", ";font-family:", ";&.", "-grid-editable{.", "-grid-container{.", "-grid-tbody{.", "-grid-row{background-color:", ";color:", ";&.", "-grid-row-parent{background-color:#ffffff;font-weight:500;}}}}}table{table-layout:fixed;border-collapse:separate;border-spacing:0;}.", "-grid-container{border:1px solid ", ";border-right:0;&::after{position:absolute;top:0px;right:0;z-index:1;height:100%;border-right:1px solid ", ";content:'';pointer-events:none;}.", "-grid-cell{padding:5px 8px;&.", "-grid-cell-text-center{text-align:center;justify-content:center;}&.", "-grid-cell-text-right{justify-content:flex-end;text-align:right;}&.", "-grid-cell-ellipsis{.ui-rc_cell-content{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all;&.select-cell{padding-right:18px;position:relative;}.caret-down{float:right;position:absolute;right:0;&::before{content:'';display:inline-block;margin-left:4px;vertical-align:middle;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #6f7777;}}}}&.", "-grid-cell-wrap{white-space:normal;text-overflow:ellipsis;word-break:break-word;}.", "-grid-header-text-wrap{white-space:normal;overflow:hidden;text-overflow:ellipsis;word-break:break-word;}}.", "-grid-thead{background-color:", ";font-weight:", ";.", "-grid-cell{font-weight:inherit;color:", ";background-color:inherit;border-inline-end:1px solid ", ";border-bottom:1px solid ", ";&.ui-rc-grid-cell-ellipsis{.ui-rc-table-column-title,.", "-grid-cell-ellipsis{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all;}}&.ui-rc-grid-cell-wrap{.ui-rc-table-column-title,.", "-grid-cell-text-wrap{white-space:normal;word-break:break-word;overflow:hidden;}}&:hover{.ui-rc-header-trigger{.ui-rc-table-column-sorter-cancel{opacity:1;}}}.", "-grid-filter-column{display:flex;justify-content:space-between;width:100%;align-items:center;position:relative;z-index:3;}.ui-rc-header-trigger{padding-left:6px;display:flex;align-items:center;.ui-rc-table-column-sorter-cancel{opacity:0;}}.resizer{cursor:col-resize;height:100%;position:absolute;right:0;top:0;z-index:3;touch-action:none;user-select:none;width:5px;}.resizer.isResizing{opacity:1;}}}.", "-grid-tbody{.", "-grid-row{font-weight:", ";background-color:", ";color:", ";&.", "-grid-row-odd{background-color:#f9f8fd;}&.", "-grid-row-even{}&.", "-grid-row-parent{background-color:#f5f5f5;font-weight:500;}}}.", "-grid-tfoot{.", "-grid-footer-row{border-bottom-width:1px;border-bottom-color:", ";border-bottom-style:solid;border-top-width:1px;border-top-color:", ";border-top-style:solid;background-color:#fafafa;}.", "-grid-cell{background-color:inherit;border-inline-end:1px solid ", ";}}}&.", "-grid-dark{background-color:", ";color:", ";.", "-grid-container{border-color:", ";&::after{border-right-color:", ";}}}.ui-rc-toolbar-bottom{border-right:1px solid #e0e0e0;border-left:1px solid #e0e0e0;.be-toolbar-item{.ui-rc-btn{font-size:12px;}.toolbar-dropdown-button{font-size:12px;.ui-rc-btn.ui-rc-btn-default.ui-rc-btn-variant-outlined.ui-rc-btn-compact-item.ui-rc-btn-compact-first-item{border-color:#28c76f;}.ui-rc-btn.ui-rc-btn-default.ui-rc-btn-variant-outlined.ui-rc-btn-compact-item.ui-rc-btn-compact-last-item{border-color:#28c76f;.ui-rc-btn-icon{color:#28c76f;}}}}}.ui-rc-toolbar-bottom_border-bottom{border-bottom:1px solid #e0e0e0;}.ui-rc-toolbar-bottom{position:relative;padding:.15rem 0.5rem;background-color:#ffffff;.toolbar-button{border-radius:3px;}.ui-rc-btn{border-radius:3px;height:28px;&.ui-rc-btn-compact-item.ui-rc-btn-compact-last-item{border-start-start-radius:0;border-end-start-radius:0;}&.ui-rc-btn-compact-item.ui-rc-btn-compact-first-item{border-start-end-radius:0;border-end-end-radius:0;}}}}"], props => props.$prefix, color, fontSize, BgColor, fontFamily, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, props => `${props.$theme.color ? props.$theme.color : color}`, props => props.$prefix, props => props.$prefix, tableBorderColor, tableBorderColor, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, fwHeader, props => props.$prefix, props => `${props.$theme.color ? props.$theme.color : color}`, tableBorderColor, tableBorderColor, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, fwBody, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, props => `${props.$theme.color ? props.$theme.color : color}`, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, tableBorderColor, tableBorderColor, props => props.$prefix, tableBorderColor, props => props.$prefix, BgColorDark, colorDark, props => props.$prefix, tableBorderColorDark, tableBorderColorDark);
|
|
@@ -627,91 +627,6 @@ $cell-index-focus-bg-Dark: #E6EFFD !default;
|
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
|
|
630
|
-
|
|
631
|
-
// bottom toolbar
|
|
632
|
-
.ui-rc-toolbar-bottom {
|
|
633
|
-
// border-bottom: 1px solid #e0e0e0;
|
|
634
|
-
border-right: 1px solid #e0e0e0;
|
|
635
|
-
border-left: 1px solid #e0e0e0;
|
|
636
|
-
|
|
637
|
-
.be-toolbar-item {
|
|
638
|
-
.ui-rc-btn {
|
|
639
|
-
font-size: 12px;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
.toolbar-dropdown-button {
|
|
643
|
-
font-size: 12px;
|
|
644
|
-
|
|
645
|
-
.ui-rc-btn.ui-rc-btn-default.ui-rc-btn-variant-outlined.ui-rc-btn-compact-item.ui-rc-btn-compact-first-item {
|
|
646
|
-
border-color: #28c76f;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.ui-rc-btn.ui-rc-btn-default.ui-rc-btn-variant-outlined.ui-rc-btn-compact-item.ui-rc-btn-compact-last-item {
|
|
650
|
-
border-color: #28c76f;
|
|
651
|
-
|
|
652
|
-
.ui-rc-btn-icon {
|
|
653
|
-
color: #28c76f;
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.ui-rc-toolbar-bottom_border-bottom {
|
|
662
|
-
border-bottom: 1px solid #e0e0e0;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
.ui-rc-toolbar-bottom {
|
|
666
|
-
position: relative;
|
|
667
|
-
padding: .15rem 0.5rem;
|
|
668
|
-
background-color: #ffffff;
|
|
669
|
-
|
|
670
|
-
// &::before {
|
|
671
|
-
// content: "";
|
|
672
|
-
// position: absolute;
|
|
673
|
-
// border-left: 1px solid #e0e0e0;
|
|
674
|
-
// height: 100%;
|
|
675
|
-
// bottom: 0;
|
|
676
|
-
// left: 0;
|
|
677
|
-
// //z-index: -1;
|
|
678
|
-
// }
|
|
679
|
-
|
|
680
|
-
// &::after {
|
|
681
|
-
// content: "";
|
|
682
|
-
// position: absolute;
|
|
683
|
-
// border-left: 1px solid #e0e0e0;
|
|
684
|
-
// height: 100%;
|
|
685
|
-
// bottom: 0;
|
|
686
|
-
// visibility: visible;
|
|
687
|
-
// right: 0;
|
|
688
|
-
// //z-index: -1;
|
|
689
|
-
// }
|
|
690
|
-
|
|
691
|
-
.toolbar-button {
|
|
692
|
-
border-radius: 3px;
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
.ui-rc-btn {
|
|
699
|
-
border-radius: 3px;
|
|
700
|
-
height: 28px;
|
|
701
|
-
|
|
702
|
-
&.ui-rc-btn-compact-item.ui-rc-btn-compact-last-item {
|
|
703
|
-
border-start-start-radius: 0;
|
|
704
|
-
border-end-start-radius: 0;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
&.ui-rc-btn-compact-item.ui-rc-btn-compact-first-item {
|
|
708
|
-
border-start-end-radius: 0;
|
|
709
|
-
border-end-end-radius: 0;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
|
|
715
630
|
.spinner-loading {
|
|
716
631
|
position: absolute;
|
|
717
632
|
top: 0;
|
|
@@ -800,7 +715,7 @@ $cell-index-focus-bg-Dark: #E6EFFD !default;
|
|
|
800
715
|
// margin: 1rem auto;
|
|
801
716
|
// }
|
|
802
717
|
|
|
803
|
-
|
|
718
|
+
// ------------ expand icon -------------------- //
|
|
804
719
|
.ui-rc-table-row-expand {
|
|
805
720
|
color: inherit;
|
|
806
721
|
text-decoration: none;
|
|
@@ -887,7 +802,7 @@ $cell-index-focus-bg-Dark: #E6EFFD !default;
|
|
|
887
802
|
.ui-rc-table-row-expand-icon-collapsed::before {
|
|
888
803
|
transform: rotate(-180deg);
|
|
889
804
|
}
|
|
890
|
-
|
|
805
|
+
// ------------ expand icon end -------------------- //
|
|
891
806
|
|
|
892
807
|
.#{$prefix}-grid-filter-dropdown {
|
|
893
808
|
box-sizing: border-box;
|
|
@@ -194,10 +194,10 @@ export declare const fixColumnsLeft: <RecordType>(columns: ColumnTable<RecordTyp
|
|
|
194
194
|
value: any;
|
|
195
195
|
rowData: RecordType;
|
|
196
196
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNode);
|
|
197
|
-
onCellStyles?: Omit<CSSProperties, "width" | "minWidth" | "
|
|
198
|
-
onCellHeaderStyles?: Omit<CSSProperties, "width" | "minWidth" | "
|
|
197
|
+
onCellStyles?: Omit<CSSProperties, "width" | "minWidth" | "left" | "right" | "position" | "display"> | ((cellValue: any, cell: import("@tanstack/react-table").Cell<RecordType, unknown>) => Omit<CSSProperties, "width" | "minWidth" | "left" | "right" | "position" | "display">);
|
|
198
|
+
onCellHeaderStyles?: Omit<CSSProperties, "width" | "minWidth" | "left" | "right" | "position" | "display"> | ((cell: import("@tanstack/react-table").Header<RecordType, unknown>) => Omit<CSSProperties, "width" | "minWidth" | "left" | "right" | "position" | "display">);
|
|
199
199
|
onCell?: (rowData: RecordType, index: number) => import("react").TdHTMLAttributes<HTMLTableCellElement>;
|
|
200
|
-
onCellFooterStyles?: Omit<CSSProperties, "width" | "minWidth" | "
|
|
200
|
+
onCellFooterStyles?: Omit<CSSProperties, "width" | "minWidth" | "left" | "right" | "position" | "display"> | ((cellValue: any, cell: import("@tanstack/react-table").Header<RecordType, unknown>) => Omit<CSSProperties, "width" | "minWidth" | "left" | "right" | "position" | "display">);
|
|
201
201
|
getValue?: (row: any, rowIndex: number) => any;
|
|
202
202
|
getCellProps?: (value: any, row: any, rowIndex: number) => import("./../../grid-component/type").CellProps;
|
|
203
203
|
headerCellProps?: import("./../../grid-component/type").CellProps;
|
|
@@ -246,12 +246,12 @@ const TableContainer = props => {
|
|
|
246
246
|
alignItems: 'center',
|
|
247
247
|
gap: '1rem'
|
|
248
248
|
}
|
|
249
|
-
},
|
|
249
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
250
250
|
style: {
|
|
251
251
|
flex: 1,
|
|
252
252
|
overflow: 'hidden'
|
|
253
253
|
}
|
|
254
|
-
}, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Toolbar, {
|
|
254
|
+
}, toolbarItemTop && toolbarItemTop?.length > 0 && /*#__PURE__*/_react.default.createElement(_rcMasterUi.Toolbar, {
|
|
255
255
|
items: toolbarItemTop ?? []
|
|
256
256
|
// mode={'scroll'}
|
|
257
257
|
,
|
|
@@ -374,7 +374,7 @@ const TableContainer = props => {
|
|
|
374
374
|
fixedRightColumns: fixedRightColumns
|
|
375
375
|
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
376
376
|
ref: bottomToolbarRef
|
|
377
|
-
}, toolbarItemBottom && toolbarItemBottom.length > 0 && /*#__PURE__*/_react.default.createElement("div", {
|
|
377
|
+
}, toolbarItemBottom && toolbarItemBottom.length > 0 && false && /*#__PURE__*/_react.default.createElement("div", {
|
|
378
378
|
style: {
|
|
379
379
|
flex: 1,
|
|
380
380
|
overflow: 'hidden'
|
|
@@ -2042,12 +2042,12 @@ const TableContainerEdit = props => {
|
|
|
2042
2042
|
alignItems: 'center',
|
|
2043
2043
|
gap: '1rem'
|
|
2044
2044
|
}
|
|
2045
|
-
},
|
|
2045
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
2046
2046
|
style: {
|
|
2047
2047
|
flex: 1,
|
|
2048
2048
|
overflow: 'hidden'
|
|
2049
2049
|
}
|
|
2050
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
2050
|
+
}, toolbarItemsTop && toolbarItemsTop.length > 0 && /*#__PURE__*/_react.default.createElement("div", {
|
|
2051
2051
|
className: (0, _classnames.default)('ui-rc-toolbar-bottom border-0', {
|
|
2052
2052
|
'ui-rc-toolbar-bottom_border-bottom': !pagination || infiniteScroll
|
|
2053
2053
|
})
|
|
@@ -55,4 +55,4 @@ const colorDark = '#e6e4f3e6 ';
|
|
|
55
55
|
const GridStyle = exports.GridStyle = _styledComponents.default.div.withConfig({
|
|
56
56
|
displayName: "GridStyle",
|
|
57
57
|
componentId: "es-grid-template__sc-hdqm5k-0"
|
|
58
|
-
})(["&.", "-grid{color:", ";font-size:", ";background-color:", ";font-family:", ";&.", "-grid-editable{.", "-grid-container{.", "-grid-tbody{.", "-grid-row{background-color:", ";color:", ";&.", "-grid-row-parent{background-color:#ffffff;font-weight:500;}}}}}table{table-layout:fixed;border-collapse:separate;border-spacing:0;}.", "-grid-container{border:1px solid ", ";border-right:0;&::after{position:absolute;top:0px;right:0;z-index:1;height:100%;border-right:1px solid ", ";content:'';pointer-events:none;}.", "-grid-cell{padding:5px 8px;&.", "-grid-cell-text-center{text-align:center;justify-content:center;}&.", "-grid-cell-text-right{justify-content:flex-end;text-align:right;}&.", "-grid-cell-ellipsis{.ui-rc_cell-content{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all;&.select-cell{padding-right:18px;position:relative;}.caret-down{float:right;position:absolute;right:0;&::before{content:'';display:inline-block;margin-left:4px;vertical-align:middle;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #6f7777;}}}}&.", "-grid-cell-wrap{white-space:normal;text-overflow:ellipsis;word-break:break-word;}.", "-grid-header-text-wrap{white-space:normal;overflow:hidden;text-overflow:ellipsis;word-break:break-word;}}.", "-grid-thead{background-color:", ";font-weight:", ";.", "-grid-cell{font-weight:inherit;color:", ";background-color:inherit;border-inline-end:1px solid ", ";border-bottom:1px solid ", ";&.ui-rc-grid-cell-ellipsis{.ui-rc-table-column-title,.", "-grid-cell-ellipsis{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all;}}&.ui-rc-grid-cell-wrap{.ui-rc-table-column-title,.", "-grid-cell-text-wrap{white-space:normal;word-break:break-word;overflow:hidden;}}&:hover{.ui-rc-header-trigger{.ui-rc-table-column-sorter-cancel{opacity:1;}}}.", "-grid-filter-column{display:flex;justify-content:space-between;width:100%;align-items:center;position:relative;z-index:3;}.ui-rc-header-trigger{padding-left:6px;display:flex;align-items:center;.ui-rc-table-column-sorter-cancel{opacity:0;}}.resizer{cursor:col-resize;height:100%;position:absolute;right:0;top:0;z-index:3;touch-action:none;user-select:none;width:5px;}.resizer.isResizing{opacity:1;}}}.", "-grid-tbody{.", "-grid-row{font-weight:", ";background-color:", ";color:", ";&.", "-grid-row-odd{background-color:#f9f8fd;}&.", "-grid-row-even{}&.", "-grid-row-parent{background-color:#f5f5f5;font-weight:500;}}}.", "-grid-tfoot{.", "-grid-footer-row{border-bottom-width:1px;border-bottom-color:", ";border-bottom-style:solid;border-top-width:1px;border-top-color:", ";border-top-style:solid;background-color:#fafafa;}.", "-grid-cell{background-color:inherit;border-inline-end:1px solid ", ";}}}&.", "-grid-dark{background-color:", ";color:", ";.", "-grid-container{border-color:", ";&::after{border-right-color:", ";}}}}"], props => props.$prefix, color, fontSize, BgColor, fontFamily, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, props => `${props.$theme.color ? props.$theme.color : color}`, props => props.$prefix, props => props.$prefix, tableBorderColor, tableBorderColor, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, fwHeader, props => props.$prefix, props => `${props.$theme.color ? props.$theme.color : color}`, tableBorderColor, tableBorderColor, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, fwBody, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, props => `${props.$theme.color ? props.$theme.color : color}`, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, tableBorderColor, tableBorderColor, props => props.$prefix, tableBorderColor, props => props.$prefix, BgColorDark, colorDark, props => props.$prefix, tableBorderColorDark, tableBorderColorDark);
|
|
58
|
+
})(["&.", "-grid{color:", ";font-size:", ";background-color:", ";font-family:", ";&.", "-grid-editable{.", "-grid-container{.", "-grid-tbody{.", "-grid-row{background-color:", ";color:", ";&.", "-grid-row-parent{background-color:#ffffff;font-weight:500;}}}}}table{table-layout:fixed;border-collapse:separate;border-spacing:0;}.", "-grid-container{border:1px solid ", ";border-right:0;&::after{position:absolute;top:0px;right:0;z-index:1;height:100%;border-right:1px solid ", ";content:'';pointer-events:none;}.", "-grid-cell{padding:5px 8px;&.", "-grid-cell-text-center{text-align:center;justify-content:center;}&.", "-grid-cell-text-right{justify-content:flex-end;text-align:right;}&.", "-grid-cell-ellipsis{.ui-rc_cell-content{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all;&.select-cell{padding-right:18px;position:relative;}.caret-down{float:right;position:absolute;right:0;&::before{content:'';display:inline-block;margin-left:4px;vertical-align:middle;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #6f7777;}}}}&.", "-grid-cell-wrap{white-space:normal;text-overflow:ellipsis;word-break:break-word;}.", "-grid-header-text-wrap{white-space:normal;overflow:hidden;text-overflow:ellipsis;word-break:break-word;}}.", "-grid-thead{background-color:", ";font-weight:", ";.", "-grid-cell{font-weight:inherit;color:", ";background-color:inherit;border-inline-end:1px solid ", ";border-bottom:1px solid ", ";&.ui-rc-grid-cell-ellipsis{.ui-rc-table-column-title,.", "-grid-cell-ellipsis{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all;}}&.ui-rc-grid-cell-wrap{.ui-rc-table-column-title,.", "-grid-cell-text-wrap{white-space:normal;word-break:break-word;overflow:hidden;}}&:hover{.ui-rc-header-trigger{.ui-rc-table-column-sorter-cancel{opacity:1;}}}.", "-grid-filter-column{display:flex;justify-content:space-between;width:100%;align-items:center;position:relative;z-index:3;}.ui-rc-header-trigger{padding-left:6px;display:flex;align-items:center;.ui-rc-table-column-sorter-cancel{opacity:0;}}.resizer{cursor:col-resize;height:100%;position:absolute;right:0;top:0;z-index:3;touch-action:none;user-select:none;width:5px;}.resizer.isResizing{opacity:1;}}}.", "-grid-tbody{.", "-grid-row{font-weight:", ";background-color:", ";color:", ";&.", "-grid-row-odd{background-color:#f9f8fd;}&.", "-grid-row-even{}&.", "-grid-row-parent{background-color:#f5f5f5;font-weight:500;}}}.", "-grid-tfoot{.", "-grid-footer-row{border-bottom-width:1px;border-bottom-color:", ";border-bottom-style:solid;border-top-width:1px;border-top-color:", ";border-top-style:solid;background-color:#fafafa;}.", "-grid-cell{background-color:inherit;border-inline-end:1px solid ", ";}}}&.", "-grid-dark{background-color:", ";color:", ";.", "-grid-container{border-color:", ";&::after{border-right-color:", ";}}}.ui-rc-toolbar-bottom{border-right:1px solid #e0e0e0;border-left:1px solid #e0e0e0;.be-toolbar-item{.ui-rc-btn{font-size:12px;}.toolbar-dropdown-button{font-size:12px;.ui-rc-btn.ui-rc-btn-default.ui-rc-btn-variant-outlined.ui-rc-btn-compact-item.ui-rc-btn-compact-first-item{border-color:#28c76f;}.ui-rc-btn.ui-rc-btn-default.ui-rc-btn-variant-outlined.ui-rc-btn-compact-item.ui-rc-btn-compact-last-item{border-color:#28c76f;.ui-rc-btn-icon{color:#28c76f;}}}}}.ui-rc-toolbar-bottom_border-bottom{border-bottom:1px solid #e0e0e0;}.ui-rc-toolbar-bottom{position:relative;padding:.15rem 0.5rem;background-color:#ffffff;.toolbar-button{border-radius:3px;}.ui-rc-btn{border-radius:3px;height:28px;&.ui-rc-btn-compact-item.ui-rc-btn-compact-last-item{border-start-start-radius:0;border-end-start-radius:0;}&.ui-rc-btn-compact-item.ui-rc-btn-compact-first-item{border-start-end-radius:0;border-end-end-radius:0;}}}}"], props => props.$prefix, color, fontSize, BgColor, fontFamily, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, props => `${props.$theme.color ? props.$theme.color : color}`, props => props.$prefix, props => props.$prefix, tableBorderColor, tableBorderColor, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, fwHeader, props => props.$prefix, props => `${props.$theme.color ? props.$theme.color : color}`, tableBorderColor, tableBorderColor, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, fwBody, props => `${props.$theme.backgroundColor ? props.$theme.backgroundColor : BgColor}`, props => `${props.$theme.color ? props.$theme.color : color}`, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, props => props.$prefix, tableBorderColor, tableBorderColor, props => props.$prefix, tableBorderColor, props => props.$prefix, BgColorDark, colorDark, props => props.$prefix, tableBorderColorDark, tableBorderColorDark);
|
|
@@ -627,91 +627,6 @@ $cell-index-focus-bg-Dark: #E6EFFD !default;
|
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
|
|
630
|
-
|
|
631
|
-
// bottom toolbar
|
|
632
|
-
.ui-rc-toolbar-bottom {
|
|
633
|
-
// border-bottom: 1px solid #e0e0e0;
|
|
634
|
-
border-right: 1px solid #e0e0e0;
|
|
635
|
-
border-left: 1px solid #e0e0e0;
|
|
636
|
-
|
|
637
|
-
.be-toolbar-item {
|
|
638
|
-
.ui-rc-btn {
|
|
639
|
-
font-size: 12px;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
.toolbar-dropdown-button {
|
|
643
|
-
font-size: 12px;
|
|
644
|
-
|
|
645
|
-
.ui-rc-btn.ui-rc-btn-default.ui-rc-btn-variant-outlined.ui-rc-btn-compact-item.ui-rc-btn-compact-first-item {
|
|
646
|
-
border-color: #28c76f;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.ui-rc-btn.ui-rc-btn-default.ui-rc-btn-variant-outlined.ui-rc-btn-compact-item.ui-rc-btn-compact-last-item {
|
|
650
|
-
border-color: #28c76f;
|
|
651
|
-
|
|
652
|
-
.ui-rc-btn-icon {
|
|
653
|
-
color: #28c76f;
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.ui-rc-toolbar-bottom_border-bottom {
|
|
662
|
-
border-bottom: 1px solid #e0e0e0;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
.ui-rc-toolbar-bottom {
|
|
666
|
-
position: relative;
|
|
667
|
-
padding: .15rem 0.5rem;
|
|
668
|
-
background-color: #ffffff;
|
|
669
|
-
|
|
670
|
-
// &::before {
|
|
671
|
-
// content: "";
|
|
672
|
-
// position: absolute;
|
|
673
|
-
// border-left: 1px solid #e0e0e0;
|
|
674
|
-
// height: 100%;
|
|
675
|
-
// bottom: 0;
|
|
676
|
-
// left: 0;
|
|
677
|
-
// //z-index: -1;
|
|
678
|
-
// }
|
|
679
|
-
|
|
680
|
-
// &::after {
|
|
681
|
-
// content: "";
|
|
682
|
-
// position: absolute;
|
|
683
|
-
// border-left: 1px solid #e0e0e0;
|
|
684
|
-
// height: 100%;
|
|
685
|
-
// bottom: 0;
|
|
686
|
-
// visibility: visible;
|
|
687
|
-
// right: 0;
|
|
688
|
-
// //z-index: -1;
|
|
689
|
-
// }
|
|
690
|
-
|
|
691
|
-
.toolbar-button {
|
|
692
|
-
border-radius: 3px;
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
.ui-rc-btn {
|
|
699
|
-
border-radius: 3px;
|
|
700
|
-
height: 28px;
|
|
701
|
-
|
|
702
|
-
&.ui-rc-btn-compact-item.ui-rc-btn-compact-last-item {
|
|
703
|
-
border-start-start-radius: 0;
|
|
704
|
-
border-end-start-radius: 0;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
&.ui-rc-btn-compact-item.ui-rc-btn-compact-first-item {
|
|
708
|
-
border-start-end-radius: 0;
|
|
709
|
-
border-end-end-radius: 0;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
|
|
715
630
|
.spinner-loading {
|
|
716
631
|
position: absolute;
|
|
717
632
|
top: 0;
|
|
@@ -800,7 +715,7 @@ $cell-index-focus-bg-Dark: #E6EFFD !default;
|
|
|
800
715
|
// margin: 1rem auto;
|
|
801
716
|
// }
|
|
802
717
|
|
|
803
|
-
|
|
718
|
+
// ------------ expand icon -------------------- //
|
|
804
719
|
.ui-rc-table-row-expand {
|
|
805
720
|
color: inherit;
|
|
806
721
|
text-decoration: none;
|
|
@@ -887,7 +802,7 @@ $cell-index-focus-bg-Dark: #E6EFFD !default;
|
|
|
887
802
|
.ui-rc-table-row-expand-icon-collapsed::before {
|
|
888
803
|
transform: rotate(-180deg);
|
|
889
804
|
}
|
|
890
|
-
|
|
805
|
+
// ------------ expand icon end -------------------- //
|
|
891
806
|
|
|
892
807
|
.#{$prefix}-grid-filter-dropdown {
|
|
893
808
|
box-sizing: border-box;
|