react-table-edit 1.5.7 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component/table/data-table.d.ts +2 -2
- package/dist/component/table/header.d.ts +2 -2
- package/dist/component/table/index.d.ts +2 -2
- package/dist/component/table/toolbar-top.d.ts +1 -4
- package/dist/component/table-view/content.d.ts +0 -1
- package/dist/component/table-view/header.d.ts +3 -3
- package/dist/component/table-view/index.d.ts +23 -9
- package/dist/component/type/index.d.ts +3 -2
- package/dist/index.d.ts +28 -13
- package/dist/index.js +58 -91
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +58 -91
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -20487,13 +20487,25 @@ const ReactInput = (props) => {
|
|
|
20487
20487
|
|
|
20488
20488
|
const RenderToolbarTop = ({ toolbarTopOption }) => {
|
|
20489
20489
|
return (jsx("div", { id: "table_custom_top_toolbar", className: "r-toolbar r-toolbar-top", "aria-orientation": "horizontal", children: jsxs("div", { className: "r-toolbar-items", children: [jsx("div", { className: "r-toolbar-left", children: toolbarTopOption?.map((item, index) => {
|
|
20490
|
-
return ((item.align === 'left') ? jsx(
|
|
20490
|
+
return ((item.align === 'left') ? jsx(ToolBarElement, { item: item, index: index }) : '');
|
|
20491
20491
|
}) }), jsx("div", { className: "r-toolbar-center", children: toolbarTopOption?.map((item, index) => {
|
|
20492
|
-
return ((item.align === 'center') ? jsx(
|
|
20492
|
+
return ((item.align === 'center') ? jsx(ToolBarElement, { item: item, index: index }) : '');
|
|
20493
20493
|
}) }), jsx("div", { className: "r-toolbar-right", children: toolbarTopOption?.map((item, index) => {
|
|
20494
|
-
return ((item.align === 'right') ? jsx(
|
|
20494
|
+
return ((item.align === 'right') ? jsx(ToolBarElement, { item: item, index: index }) : '');
|
|
20495
20495
|
}) })] }) }));
|
|
20496
20496
|
};
|
|
20497
|
+
const ToolBarElement = ({ item, index }) => {
|
|
20498
|
+
if (item.id === 'GROUP') {
|
|
20499
|
+
return (jsx("div", { className: "r-toolbar-item cursor-pointer", "aria-disabled": "false", children: jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "stroke-width": "1.5", id: "toolbar-columns-group", "font-size": "20", color: "#7F7F7F", className: "cursor-pointer", children: [jsxs("g", { "clip-path": "url(#group_svg__a)", fill: "#7F7F7F", children: [jsx("path", { d: "M22.167 0h-7.334c-.486 0-.952.181-1.295.503A1.662 1.662 0 0 0 13 1.714v20.572c0 .454.194.89.538 1.211.343.322.81.503 1.295.503h7.334c.486 0 .952-.181 1.295-.503.344-.321.537-.757.538-1.211V1.714c0-.454-.194-.89-.538-1.211A1.902 1.902 0 0 0 22.167 0Zm0 1.714v6h-7.334v-6h7.334Zm0 7.715v5.142h-7.334V9.43h7.334Zm-7.334 12.857v-6h7.334v6h-7.334ZM7.502 11.25h-1.5v-1.5h-1.5v1.5h-1.5v1.5h1.5v1.5h1.5v-1.5h1.5v-1.5Z" }), jsx("path", { d: "M10.502 4.5V3h-4.5a1.502 1.502 0 0 0-1.5 1.5v2.31a5.242 5.242 0 0 0 0 10.38v2.31a1.502 1.502 0 0 0 1.5 1.5h4.5v-1.5h-4.5v-2.31a5.243 5.243 0 0 0 0-10.38V4.5h4.5Zm-1.5 7.5a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z" })] }), jsx("defs", { children: jsx("clipPath", { id: "group_svg__a", children: jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })] }) }, `toolbar-top-${index}`));
|
|
20500
|
+
}
|
|
20501
|
+
if (item.id === 'EXPAND') {
|
|
20502
|
+
return (jsx("div", { className: "r-toolbar-item cursor-pointer", "aria-disabled": "false" }, `toolbar-top-${index}`));
|
|
20503
|
+
}
|
|
20504
|
+
if (item.id === 'COLUMN_CHOOSE') {
|
|
20505
|
+
return (jsx("div", { className: "r-toolbar-item cursor-pointer", "aria-disabled": "false", children: jsx(SvgSettings, { className: "me-1", fontSize: 20, color: "#7F7F7F" }) }, `toolbar-top-${index}`));
|
|
20506
|
+
}
|
|
20507
|
+
return (jsx("div", { className: "r-toolbar-item", "aria-disabled": "false", children: item.template?.() }, `toolbar-top-${index}`));
|
|
20508
|
+
};
|
|
20497
20509
|
|
|
20498
20510
|
const handleAdd = (dataSource, containerRef, indexFirstEdit,
|
|
20499
20511
|
/*eslint-disable*/
|
|
@@ -43623,7 +43635,7 @@ var css_248z$1 = ".react-resizable {\n position: relative;\n}\n.react-resizable
|
|
|
43623
43635
|
styleInject(css_248z$1);
|
|
43624
43636
|
|
|
43625
43637
|
const HeaderTableCol$1 = (props) => {
|
|
43626
|
-
const { selectEnable, dataSource, setSelectedRows, col, indexCol, indexParent, objHeaderWidthFixLeft, objHeaderWidthFixRight, totalCount, selectedRows, columns, orderBy, changeFilter, filterBy, changeOrder,
|
|
43638
|
+
const { selectEnable, dataSource, setSelectedRows, col, indexCol, indexParent, objHeaderWidthFixLeft, objHeaderWidthFixRight, totalCount, selectedRows, columns, orderBy, changeFilter, filterBy, changeOrder, allowFiltering, allowSorting, container, fisrtObjWidthFixRight, lastObjWidthFixLeft, setContentColumns, formatSetting, optionsFilter, idTable, isMulti } = props;
|
|
43627
43639
|
const { t } = useTranslation();
|
|
43628
43640
|
const headerRef = useRef(null);
|
|
43629
43641
|
const order = orderBy.find((item) => item.key === col.field);
|
|
@@ -43660,7 +43672,7 @@ const HeaderTableCol$1 = (props) => {
|
|
|
43660
43672
|
orderBy.push({ direction: 'asc', key: col.field });
|
|
43661
43673
|
changeOrder(orderBy);
|
|
43662
43674
|
}
|
|
43663
|
-
}, className: classNames$1('r-headercell-div', { 'cursor-pointer':
|
|
43675
|
+
}, className: classNames$1('r-headercell-div', { 'cursor-pointer': allowSorting }), children: [col.field === 'checkbox' && (jsx(Input$1, { checked: !!(totalCount > 0 && selectedRows?.length >= totalCount), type: "checkbox", className: classNames$1('cursor-pointer', { 'd-none': !isMulti }), style: { textAlign: col.textAlign ?? 'left', marginTop: 6 }, onChange: (e) => {
|
|
43664
43676
|
if (selectEnable) {
|
|
43665
43677
|
if (e.target.checked) {
|
|
43666
43678
|
setSelectedRows(dataSource.map((item) => { return item; }));
|
|
@@ -43669,7 +43681,7 @@ const HeaderTableCol$1 = (props) => {
|
|
|
43669
43681
|
setSelectedRows([]);
|
|
43670
43682
|
}
|
|
43671
43683
|
}
|
|
43672
|
-
} })), col.field !== 'checkbox' && jsxs(Fragment$1, { children: [jsxs("div", { className: 'header-content', style: { justifyContent: col.textAlign ?? 'left' }, children: [jsx("span", { id: `header-${idTable}-${indexParent}-${indexCol}`, ref: headerRef, className: 'text-content', children: t(herderContent) }), checkOverflow() && jsx(UncontrolledTooltip, { className: "r-tooltip", autohide: false, target: `header-${idTable}-${indexParent}-${indexCol}`, children: t(herderContent) })] }), col.field !== '#' && col.field !== 'command' && jsxs("div", { className: 'd-flex', children: [
|
|
43684
|
+
} })), col.field !== 'checkbox' && jsxs(Fragment$1, { children: [jsxs("div", { className: 'header-content', style: { justifyContent: col.textAlign ?? 'left' }, children: [jsx("span", { id: `header-${idTable}-${indexParent}-${indexCol}`, ref: headerRef, className: 'text-content', children: t(herderContent) }), checkOverflow() && jsx(UncontrolledTooltip, { className: "r-tooltip", autohide: false, target: `header-${idTable}-${indexParent}-${indexCol}`, children: t(herderContent) })] }), col.field !== '#' && col.field !== 'command' && jsxs("div", { className: 'd-flex', children: [allowSorting && order?.direction === 'asc' && jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: 'ms-25', width: "10", height: "10", viewBox: "0 0 16 18", fill: "none", children: [jsx("g", { "clip-path": "url(#clip0_520_6)", children: jsx("path", { d: "M8.70711 0.292893C8.31658 -0.0976311 7.68342 -0.0976311 7.29289 0.292893L0.928932 6.65685C0.538408 7.04738 0.538408 7.68054 0.928932 8.07107C1.31946 8.46159 1.95262 8.46159 2.34315 8.07107L8 2.41421L13.6569 8.07107C14.0474 8.46159 14.6805 8.46159 15.0711 8.07107C15.4616 7.68054 15.4616 7.04738 15.0711 6.65685L8.70711 0.292893ZM8 18H9L9 1H8H7L7 18H8Z", fill: "black" }) }), jsx("defs", { children: jsx("clipPath", { id: "clip0_520_6", children: jsx("rect", { width: "16", height: "18", fill: "white" }) }) })] }), allowSorting && order?.direction === 'desc' && jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: 'ms-25', width: "10", height: "10", viewBox: "0 0 16 18", fill: "none", children: [jsx("g", { "clip-path": "url(#clip0_520_2)", children: jsx("path", { d: "M7.29289 17.7071C7.68342 18.0976 8.31658 18.0976 8.70711 17.7071L15.0711 11.3431C15.4616 10.9526 15.4616 10.3195 15.0711 9.92893C14.6805 9.53841 14.0474 9.53841 13.6569 9.92893L8 15.5858L2.34315 9.92893C1.95262 9.53841 1.31946 9.53841 0.928932 9.92893C0.538408 10.3195 0.538408 10.9526 0.928932 11.3431L7.29289 17.7071ZM8 0L7 0L7 17H8H9L9 0L8 0Z", fill: "black" }) }), jsx("defs", { children: jsx("clipPath", { id: "clip0_520_2", children: jsx("rect", { width: "16", height: "18", fill: "white" }) }) })] }), allowFiltering && (col.columns?.length ?? 0) === 0 && col.allowFilter !== false && jsxs(Dropdown$1, { isOpen: openFilter, toggle: (e) => {
|
|
43673
43685
|
setOpenFilter(!openFilter);
|
|
43674
43686
|
e.stopPropagation();
|
|
43675
43687
|
}, onClick: (e) => {
|
|
@@ -43755,7 +43767,7 @@ const RenderFilterElement$1 = ({ filter, optionsFilter, formatSetting, filterBy,
|
|
|
43755
43767
|
}, children: t('Clear') })] })] }));
|
|
43756
43768
|
};
|
|
43757
43769
|
|
|
43758
|
-
const TableComponent = ({ idTable, dataSource, contentColumns, headerColumns, visibleColumns, selectedRows, setSelectedRows, selectedCell, startCell, editCell, gridRef, objHeaderWidthFixLeft, objHeaderWidthFixRight, objWidthFixLeft, objWidthFixRight, lastObjWidthFixLeft, fisrtObjWidthFixRight, totalCount, isMulti, selectEnable, editDisable, addDisable, defaultValue, fieldKey, fieldUniKey, formatSetting, toolbarSetting, buttonSetting, containerRef, handleDataChange, changeDataSource, handleCommandClick, handleDuplicate, handleKeyDown, onDuplicate, setSelectedCell, setStartCell, focusEditElementCell, setContentColumns, handeCopyCell, isCopying, typeDragging, rowChange, visibleContentColumns, filterBy, setFilterBy, orderBy, setOrderBy, optionsFilter,
|
|
43770
|
+
const TableComponent = ({ idTable, dataSource, contentColumns, headerColumns, visibleColumns, selectedRows, setSelectedRows, selectedCell, startCell, editCell, gridRef, objHeaderWidthFixLeft, objHeaderWidthFixRight, objWidthFixLeft, objWidthFixRight, lastObjWidthFixLeft, fisrtObjWidthFixRight, totalCount, isMulti, selectEnable, editDisable, addDisable, defaultValue, fieldKey, fieldUniKey, formatSetting, toolbarSetting, buttonSetting, containerRef, handleDataChange, changeDataSource, handleCommandClick, handleDuplicate, handleKeyDown, onDuplicate, setSelectedCell, setStartCell, focusEditElementCell, setContentColumns, handeCopyCell, isCopying, typeDragging, rowChange, visibleContentColumns, filterBy, setFilterBy, orderBy, setOrderBy, optionsFilter, allowFiltering, allowSorting, searchSetting, searchTerm, searchClient, height, rowHeight, haveSum }) => {
|
|
43759
43771
|
let filteredData = dataSource.map((row, index) => ({ data: row, indexRow: index }));
|
|
43760
43772
|
if (((filterBy && filterBy.length > 0) || (searchSetting?.searchTerm !== undefined ? searchSetting?.searchTerm : searchTerm)) && !searchClient) {
|
|
43761
43773
|
filteredData = filteredData.filter(({ data }) => CheckRowMatch(data, filterBy, searchSetting?.searchTerm !== undefined ? searchSetting?.searchTerm : searchTerm, searchSetting?.keyField ?? []));
|
|
@@ -43790,7 +43802,7 @@ const TableComponent = ({ idTable, dataSource, contentColumns, headerColumns, vi
|
|
|
43790
43802
|
}, []);
|
|
43791
43803
|
return (jsx("div", { ref: containerRef, className: "r-gridtable", style: { maxHeight: `${height ? `${height}px` : "auto"}` }, children: jsxs("table", { style: { width: "100%" }, role: "presentation", children: [jsx(RenderColGroup, { contentColumns: visibleColumns }), jsx("thead", { className: "r-gridheader", role: "rowgroup", children: headerColumns.map((element, indexParent) => {
|
|
43792
43804
|
return (jsx("tr", { className: "r-row", role: "row", children: element?.map((col, index) => {
|
|
43793
|
-
return (jsx(HeaderTableCol$1, { col: col, idTable: idTable ?? "", dataSource: dataSource, indexCol: index, indexParent: indexParent, isMulti: isMulti ?? false, objHeaderWidthFixLeft: objHeaderWidthFixLeft, objHeaderWidthFixRight: objHeaderWidthFixRight, selectEnable: selectEnable ?? false, selectedRows: selectedRows, setSelectedRows: setSelectedRows, container: containerRef, filterBy: filterBy, orderBy: orderBy, optionsFilter: optionsFilter,
|
|
43805
|
+
return (jsx(HeaderTableCol$1, { col: col, idTable: idTable ?? "", dataSource: dataSource, indexCol: index, indexParent: indexParent, isMulti: isMulti ?? false, objHeaderWidthFixLeft: objHeaderWidthFixLeft, objHeaderWidthFixRight: objHeaderWidthFixRight, selectEnable: selectEnable ?? false, selectedRows: selectedRows, setSelectedRows: setSelectedRows, container: containerRef, filterBy: filterBy, orderBy: orderBy, optionsFilter: optionsFilter, allowFiltering: allowFiltering, allowSorting: allowSorting, formatSetting: formatSetting, changeFilter: (val) => {
|
|
43794
43806
|
setFilterBy([...val]);
|
|
43795
43807
|
}, changeOrder: (val) => {
|
|
43796
43808
|
setOrderBy([...val]);
|
|
@@ -44517,7 +44529,7 @@ const ToolbarBottom = ({ handleAdd, handleDuplicate, handleInsertBefore, handleI
|
|
|
44517
44529
|
|
|
44518
44530
|
const TableEdit = forwardRef((props, ref) => {
|
|
44519
44531
|
const { t } = useTranslation();
|
|
44520
|
-
const { idTable, dataSource, columns, setDataSource, height = 400, rowHeight = 31.3, defaultValue, toolbarSetting, searchSetting, selectedItem, selectEnable, editDisable, addDisable, buttonSetting, formatSetting, haveSum, isMulti, disableAutoKey, commandClick, dataSourceChange, rowChange, setSelectedItem, handleSelect, onDuplicate, saveSettingColumn,
|
|
44532
|
+
const { idTable, dataSource, columns, setDataSource, height = 400, rowHeight = 31.3, defaultValue, toolbarSetting, searchSetting, selectedItem, selectEnable, editDisable, addDisable, buttonSetting, formatSetting, haveSum, isMulti, disableAutoKey, commandClick, dataSourceChange, rowChange, setSelectedItem, handleSelect, onDuplicate, saveSettingColumn, allowFiltering = true, allowSorting, settingColumns, optionsFilter, pagingSetting, resetDefaultColumns } = props;
|
|
44521
44533
|
useImperativeHandle(ref, () => {
|
|
44522
44534
|
return {
|
|
44523
44535
|
refeshFocusRow: handleRefeshRow
|
|
@@ -44922,7 +44934,7 @@ const TableEdit = forwardRef((props, ref) => {
|
|
|
44922
44934
|
}
|
|
44923
44935
|
}
|
|
44924
44936
|
};
|
|
44925
|
-
return (jsx(Fragment, { children: jsxs("div", { className: "r-table-edit", children: [jsxs("div", { className: "r-grid", ref: gridRef, children: [toolbarSetting?.showTopToolbar && jsx(RenderToolbarTop, { toolbarTopOption: toolbarTopOption }), jsx(TableComponent, { idTable: idTable, height: height, dataSource: dataSource, contentColumns: contentColumns, headerColumns: headerColumns, visibleColumns: visibleColumns, selectedRows: selectedRows, setSelectedRows: setSelectedRows, selectedCell: selectedCell, startCell: startCell, editCell: editCell, gridRef: gridRef, objHeaderWidthFixLeft: objHeaderWidthFixLeft, objHeaderWidthFixRight: objHeaderWidthFixRight, objWidthFixLeft: objWidthFixLeft, objWidthFixRight: objWidthFixRight, lastObjWidthFixLeft: lastObjWidthFixLeft, fisrtObjWidthFixRight: fisrtObjWidthFixRight, totalCount: totalCount, isMulti: isMulti, selectEnable: selectEnable, editDisable: editDisable, addDisable: addDisable, defaultValue: defaultValue, fieldKey: fieldKey, fieldUniKey: fieldUniKey, formatSetting: formatSetting, toolbarSetting: toolbarSetting, buttonSetting: buttonSetting, containerRef: containerRef, optionsFilter: optionsFilter,
|
|
44937
|
+
return (jsx(Fragment, { children: jsxs("div", { className: "r-table-edit", children: [jsxs("div", { className: "r-grid", ref: gridRef, children: [toolbarSetting?.showTopToolbar && jsx(RenderToolbarTop, { toolbarTopOption: toolbarTopOption }), jsx(TableComponent, { idTable: idTable, height: height, dataSource: dataSource, contentColumns: contentColumns, headerColumns: headerColumns, visibleColumns: visibleColumns, selectedRows: selectedRows, setSelectedRows: setSelectedRows, selectedCell: selectedCell, startCell: startCell, editCell: editCell, gridRef: gridRef, objHeaderWidthFixLeft: objHeaderWidthFixLeft, objHeaderWidthFixRight: objHeaderWidthFixRight, objWidthFixLeft: objWidthFixLeft, objWidthFixRight: objWidthFixRight, lastObjWidthFixLeft: lastObjWidthFixLeft, fisrtObjWidthFixRight: fisrtObjWidthFixRight, totalCount: totalCount, isMulti: isMulti, selectEnable: selectEnable, editDisable: editDisable, addDisable: addDisable, defaultValue: defaultValue, fieldKey: fieldKey, fieldUniKey: fieldUniKey, formatSetting: formatSetting, toolbarSetting: toolbarSetting, buttonSetting: buttonSetting, containerRef: containerRef, optionsFilter: optionsFilter, allowFiltering: allowFiltering, allowSorting: allowSorting, searchSetting: searchSetting, searchTerm: searchTerm, haveSum: haveSum, isCopying: isCopying, typeDragging: typeDragging, visibleContentColumns: visibleContentColumns, rowHeight: rowHeight, changeDataSource: changeDataSource, handleCommandClick: handleCommandClick, handleKeyDown: handleKeyDown, handeCopyCell: handeCopyCell, onDuplicate: onDuplicate, setSelectedCell: setSelectedCell, setStartCell: setStartCell, focusEditElementCell: focusEditElementCell, rowChange: rowChange, filterBy: filterBy, setFilterBy: setFilterBy, orderBy: orderBy, setOrderBy: setOrderBy, searchClient: searchClient, handleDataChange: handleDataChange, handleDuplicate: () => {
|
|
44926
44938
|
handleDuplicate(dataSource, startCell.row, fieldKey, defaultValue, fieldUniKey, changeDataSource, containerRef, totalCount, toolbarSetting, buttonSetting, editDisable, addDisable, onDuplicate);
|
|
44927
44939
|
}, setContentColumns: (newColumns) => {
|
|
44928
44940
|
setContentColumns(newColumns);
|
|
@@ -73351,15 +73363,9 @@ const TabsMenuComponent = ({ buttonWidth, tabParent, tabChild, resourceCodeParen
|
|
|
73351
73363
|
};
|
|
73352
73364
|
|
|
73353
73365
|
const RenderContentCol = (props) => {
|
|
73354
|
-
const { col, indexCol, indexRow, isSelected, row, formatSetting, idTable, fisrtObjWidthFixRight, lastObjWidthFixLeft, objWidthFixLeft, objWidthFixRight, selectedRows, selectEnable, setSelectedRows,
|
|
73366
|
+
const { col, indexCol, indexRow, isSelected, row, formatSetting, idTable, fisrtObjWidthFixRight, lastObjWidthFixLeft, objWidthFixLeft, objWidthFixRight, selectedRows, selectEnable, setSelectedRows, fieldKey, isMulti } = props;
|
|
73355
73367
|
const RenderElement = () => {
|
|
73356
|
-
if (col.type === '
|
|
73357
|
-
return jsx("div", { className: "r-rowcell-div command", children: jsx(CommandElement, { commandItems: col.commandItems ?? [], handleCommandClick: handleCommandClick, indexRow: indexRow, rowData: row }) });
|
|
73358
|
-
}
|
|
73359
|
-
else if (col.type === '#' && !col.field) {
|
|
73360
|
-
jsx("div", { className: "r-rowcell-div", children: indexRow + 1 });
|
|
73361
|
-
}
|
|
73362
|
-
else if (col.type === 'checkbox' && !col.field) {
|
|
73368
|
+
if (col.type === 'checkbox' && !col.field) {
|
|
73363
73369
|
return (jsx("div", { className: "r-rowcell-div cursor-pointer", style: { alignItems: 'center' }, onClick: (e) => {
|
|
73364
73370
|
if (selectEnable) {
|
|
73365
73371
|
const index = selectedRows?.findIndex((x) => x[fieldKey] === row[fieldKey]);
|
|
@@ -73434,7 +73440,7 @@ const RenderContentCol = (props) => {
|
|
|
73434
73440
|
};
|
|
73435
73441
|
|
|
73436
73442
|
const HeaderTableCol = (props) => {
|
|
73437
|
-
const { selectEnable, dataSource, setSelectedRows, col, indexCol, indexParent, objWidthFixLeft, objWidthFixRight, totalCount, selectedRows, columns, setColumns, orderBy, changeFilter, filterBy, changeOrder,
|
|
73443
|
+
const { selectEnable, dataSource, setSelectedRows, col, indexCol, indexParent, objWidthFixLeft, objWidthFixRight, totalCount, selectedRows, columns, setColumns, orderBy, changeFilter, filterBy, changeOrder, allowFiltering, allowSorting, container, fisrtObjWidthFixRight, lastObjWidthFixLeft, formatSetting, optionsFilter, idTable, isMulti } = props;
|
|
73438
73444
|
const { t } = useTranslation();
|
|
73439
73445
|
const headerRef = useRef(null);
|
|
73440
73446
|
const order = orderBy.find((item) => item.key === col.field);
|
|
@@ -73465,20 +73471,22 @@ const HeaderTableCol = (props) => {
|
|
|
73465
73471
|
left: col.fixedType === 'left' ? objWidthFixLeft[indexCol ?? 0] : undefined,
|
|
73466
73472
|
right: col.fixedType === 'right' ? objWidthFixRight[indexCol ?? 0] : undefined
|
|
73467
73473
|
}, children: jsxs("div", { style: { justifyContent: 'space-between' }, onClick: () => {
|
|
73468
|
-
if (
|
|
73469
|
-
if (order
|
|
73470
|
-
order.direction
|
|
73471
|
-
|
|
73474
|
+
if (!!allowSorting && (col.columns?.length ?? 0) === 0) {
|
|
73475
|
+
if (order) {
|
|
73476
|
+
if (order.direction === 'asc') {
|
|
73477
|
+
order.direction = 'desc';
|
|
73478
|
+
changeOrder(orderBy);
|
|
73479
|
+
}
|
|
73480
|
+
else {
|
|
73481
|
+
changeOrder(orderBy.filter((x) => x.key !== col.field));
|
|
73482
|
+
}
|
|
73472
73483
|
}
|
|
73473
73484
|
else {
|
|
73474
|
-
|
|
73485
|
+
orderBy.push({ direction: 'asc', key: col.field });
|
|
73486
|
+
changeOrder(orderBy);
|
|
73475
73487
|
}
|
|
73476
73488
|
}
|
|
73477
|
-
|
|
73478
|
-
orderBy.push({ direction: 'asc', key: col.field });
|
|
73479
|
-
changeOrder(orderBy);
|
|
73480
|
-
}
|
|
73481
|
-
}, className: classNames$1('r-headercell-div', { 'cursor-pointer': allowOrder }), children: [(col.type === 'checkbox' && !col.field) && (jsx(Input$1, { checked: !!(totalCount > 0 && selectedRows?.length >= totalCount), type: "checkbox", className: classNames$1('cursor-pointer', { 'd-none': !isMulti }), style: { textAlign: col.textAlign ?? 'left', marginTop: 6 }, onChange: (e) => {
|
|
73489
|
+
}, className: classNames$1('r-headercell-div', { 'cursor-pointer': allowSorting }), children: [(col.type === 'checkbox' && !col.field) && (jsx(Input$1, { checked: !!(totalCount > 0 && selectedRows?.length >= totalCount), type: "checkbox", className: classNames$1('cursor-pointer', { 'd-none': !isMulti }), style: { textAlign: col.textAlign ?? 'left', marginTop: 6 }, onChange: (e) => {
|
|
73482
73490
|
if (selectEnable) {
|
|
73483
73491
|
if (e.target.checked) {
|
|
73484
73492
|
setSelectedRows(dataSource.map((item) => { return item; }));
|
|
@@ -73487,7 +73495,7 @@ const HeaderTableCol = (props) => {
|
|
|
73487
73495
|
setSelectedRows([]);
|
|
73488
73496
|
}
|
|
73489
73497
|
}
|
|
73490
|
-
} })), col.type !== 'checkbox' && jsxs(Fragment$1, { children: [jsxs("div", { className: 'header-content', style: { justifyContent: col.textAlign ?? 'left' }, children: [jsx("span", { id: `header-${idTable}-${indexParent}-${indexCol}`, ref: headerRef, className: 'text-content', children: t(col.headerText ?? '') }), checkOverflow() && jsx(UncontrolledTooltip, { className: "r-tooltip", autohide: false, target: `header-${idTable}-${indexParent}-${indexCol}`, children: t(col.headerText ?? '') })] }),
|
|
73498
|
+
} })), col.type !== 'checkbox' && jsxs(Fragment$1, { children: [jsxs("div", { className: 'header-content', style: { justifyContent: col.textAlign ?? 'left' }, children: [jsx("span", { id: `header-${idTable}-${indexParent}-${indexCol}`, ref: headerRef, className: 'text-content', children: t(col.headerText ?? '') }), checkOverflow() && jsx(UncontrolledTooltip, { className: "r-tooltip", autohide: false, target: `header-${idTable}-${indexParent}-${indexCol}`, children: t(col.headerText ?? '') })] }), jsxs("div", { className: 'd-flex align-items-center', children: [allowSorting && order?.direction === 'asc' && jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: 'ms-25', width: "10", height: "10", viewBox: "0 0 16 18", fill: "none", children: [jsx("g", { "clip-path": "url(#clip0_520_6)", children: jsx("path", { d: "M8.70711 0.292893C8.31658 -0.0976311 7.68342 -0.0976311 7.29289 0.292893L0.928932 6.65685C0.538408 7.04738 0.538408 7.68054 0.928932 8.07107C1.31946 8.46159 1.95262 8.46159 2.34315 8.07107L8 2.41421L13.6569 8.07107C14.0474 8.46159 14.6805 8.46159 15.0711 8.07107C15.4616 7.68054 15.4616 7.04738 15.0711 6.65685L8.70711 0.292893ZM8 18H9L9 1H8H7L7 18H8Z", fill: "black" }) }), jsx("defs", { children: jsx("clipPath", { id: "clip0_520_6", children: jsx("rect", { width: "16", height: "18", fill: "white" }) }) })] }), allowSorting && order?.direction === 'desc' && jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: 'ms-25', width: "10", height: "10", viewBox: "0 0 16 18", fill: "none", children: [jsx("g", { "clip-path": "url(#clip0_520_2)", children: jsx("path", { d: "M7.29289 17.7071C7.68342 18.0976 8.31658 18.0976 8.70711 17.7071L15.0711 11.3431C15.4616 10.9526 15.4616 10.3195 15.0711 9.92893C14.6805 9.53841 14.0474 9.53841 13.6569 9.92893L8 15.5858L2.34315 9.92893C1.95262 9.53841 1.31946 9.53841 0.928932 9.92893C0.538408 10.3195 0.538408 10.9526 0.928932 11.3431L7.29289 17.7071ZM8 0L7 0L7 17H8H9L9 0L8 0Z", fill: "black" }) }), jsx("defs", { children: jsx("clipPath", { id: "clip0_520_2", children: jsx("rect", { width: "16", height: "18", fill: "white" }) }) })] }), allowFiltering && (col.columns?.length ?? 0) === 0 && col.allowFilter !== false && jsxs(Dropdown$1, { isOpen: openFilter, toggle: (e) => {
|
|
73491
73499
|
setOpenFilter(!openFilter);
|
|
73492
73500
|
e.stopPropagation();
|
|
73493
73501
|
}, onClick: (e) => {
|
|
@@ -73575,18 +73583,15 @@ const RenderFilterElement = ({ filter, optionsFilter, formatSetting, filterBy, s
|
|
|
73575
73583
|
}, children: t('Clear') })] })] }));
|
|
73576
73584
|
};
|
|
73577
73585
|
|
|
73578
|
-
const TableView = ({ idTable, dataSource,
|
|
73586
|
+
const TableView = ({ idTable, dataSource, height = 400, columns, isMutil = false, isLoading, selectEnable, formatSetting, querySetting, setColumns, pagingSetting, searchSetting, columnsAggregate, toolbarSetting, selectedItem, setSelectedItem, handleSelect, saveSettingColumn, resetDefaultColumns, settingColumns, headerComponent }) => {
|
|
73579
73587
|
const { t } = useTranslation();
|
|
73580
73588
|
const gridRef = useRef(null);
|
|
73589
|
+
const [openPopupSetupColumn, setOpenPopupSetupColumn] = useState(false);
|
|
73581
73590
|
const [selectedRows, setSelectedRows] = useState([]);
|
|
73582
73591
|
const [orderBy, setOrderBy] = useState([]);
|
|
73583
73592
|
const [filterBy, setFilterBy] = useState([]);
|
|
73584
73593
|
const [searchTerm, setSearchTerm] = useState('');
|
|
73585
73594
|
const fieldKey = (columns.find((item) => item.isPrimarykey === true)?.field) ?? 'id';
|
|
73586
|
-
const [startIndex, setStartIndex] = useState(0);
|
|
73587
|
-
//trường liên quan đến virtul loading
|
|
73588
|
-
const buffer = 10; // số dòng dự phòng phía trên và dưới
|
|
73589
|
-
const visibleRowCount = Math.ceil(height / rowHeight) + 5;
|
|
73590
73595
|
// Tính toán dữ liệu hiển thị dựa trên các điều kiện lọc, tìm kiếm và sắp xếp
|
|
73591
73596
|
const viewData = useMemo(() => {
|
|
73592
73597
|
if (!dataSource || dataSource.length === 0) {
|
|
@@ -73600,7 +73605,7 @@ const TableView = ({ idTable, dataSource, rowHeight = 33, height = 400, columns,
|
|
|
73600
73605
|
});
|
|
73601
73606
|
});
|
|
73602
73607
|
}
|
|
73603
|
-
if (filterBy && filterBy.length > 0) {
|
|
73608
|
+
if (querySetting?.client === true && filterBy && filterBy.length > 0) {
|
|
73604
73609
|
datas = datas.filter((row) => {
|
|
73605
73610
|
return filterBy.every((filter) => {
|
|
73606
73611
|
const { key, value, ope } = filter;
|
|
@@ -73637,7 +73642,7 @@ const TableView = ({ idTable, dataSource, rowHeight = 33, height = 400, columns,
|
|
|
73637
73642
|
});
|
|
73638
73643
|
});
|
|
73639
73644
|
}
|
|
73640
|
-
if (orderBy && orderBy.length > 0) {
|
|
73645
|
+
if (querySetting?.client === true && orderBy && orderBy.length > 0) {
|
|
73641
73646
|
datas = datas.sort((a, b) => {
|
|
73642
73647
|
for (const order of orderBy) {
|
|
73643
73648
|
const { key, direction } = order;
|
|
@@ -73655,50 +73660,7 @@ const TableView = ({ idTable, dataSource, rowHeight = 33, height = 400, columns,
|
|
|
73655
73660
|
}
|
|
73656
73661
|
return datas;
|
|
73657
73662
|
}, [searchTerm, filterBy, orderBy, dataSource]);
|
|
73658
|
-
// Tính toán chỉ số bắt đầu và kết thúc của dữ liệu hiển thị
|
|
73659
|
-
const { adjustedStartIndex, adjustedEndIndex } = useMemo(() => {
|
|
73660
|
-
if (!viewData || viewData.length === 0 || !isVirtualList) {
|
|
73661
|
-
return { adjustedStartIndex: 0, adjustedEndIndex: 0 };
|
|
73662
|
-
}
|
|
73663
|
-
return {
|
|
73664
|
-
adjustedStartIndex: Math.max(startIndex - buffer, 0),
|
|
73665
|
-
adjustedEndIndex: Math.min(startIndex + visibleRowCount + buffer, dataSource.length)
|
|
73666
|
-
};
|
|
73667
|
-
}, [startIndex, viewData]);
|
|
73668
|
-
const visibleData = useMemo(() => {
|
|
73669
|
-
if (!viewData || viewData.length === 0) {
|
|
73670
|
-
return [];
|
|
73671
|
-
}
|
|
73672
|
-
return isVirtualList ? viewData.slice(adjustedStartIndex, adjustedEndIndex) : viewData;
|
|
73673
|
-
}, [viewData]);
|
|
73674
73663
|
const { levels: headerColumns, flat: contentColumns, flatVisble, objWidthFixLeft, objWidthFixRight, lastObjWidthFixLeft, fisrtObjWidthFixRight } = useMemo(() => calculateTableStructure(columns), [columns]);
|
|
73675
|
-
const scrollTimeoutRef = useRef(null);
|
|
73676
|
-
const lastScrollTop = useRef(0);
|
|
73677
|
-
const handleScroll = (e) => {
|
|
73678
|
-
if (!gridRef.current || !isVirtualList) {
|
|
73679
|
-
return;
|
|
73680
|
-
}
|
|
73681
|
-
// Nếu không có sự thay đổi về scrollTop => người dùng chỉ scroll ngang => không xử lý
|
|
73682
|
-
if (e.target.scrollTop === lastScrollTop.current) {
|
|
73683
|
-
return;
|
|
73684
|
-
}
|
|
73685
|
-
lastScrollTop.current = e.target.scrollTop;
|
|
73686
|
-
if (scrollTimeoutRef.current !== null) {
|
|
73687
|
-
cancelAnimationFrame(scrollTimeoutRef.current);
|
|
73688
|
-
}
|
|
73689
|
-
scrollTimeoutRef.current = requestAnimationFrame(() => {
|
|
73690
|
-
const scrollTop = gridRef.current.scrollTop;
|
|
73691
|
-
const newStartIndex = Math.floor(scrollTop / rowHeight);
|
|
73692
|
-
if (newStartIndex !== startIndex) {
|
|
73693
|
-
setStartIndex(newStartIndex);
|
|
73694
|
-
}
|
|
73695
|
-
});
|
|
73696
|
-
};
|
|
73697
|
-
const handleCommandClick = (id, rowData, index) => {
|
|
73698
|
-
if (commandClick) {
|
|
73699
|
-
commandClick({ id, rowData, index });
|
|
73700
|
-
}
|
|
73701
|
-
};
|
|
73702
73664
|
const handleKeyPress = (e) => {
|
|
73703
73665
|
if ((e.code === 'Enter' || e.code === 'NumpadEnter')) {
|
|
73704
73666
|
if (searchSetting?.setSearchTerm) {
|
|
@@ -73787,21 +73749,20 @@ const TableView = ({ idTable, dataSource, rowHeight = 33, height = 400, columns,
|
|
|
73787
73749
|
}
|
|
73788
73750
|
}
|
|
73789
73751
|
}, [selectedItem]);
|
|
73790
|
-
return (jsxs("div", { className: "r-table-edit r-virtualized-table", children: [jsxs("div", { className: 'r-grid', children: [toolbarSetting?.showTopToolbar && jsx(RenderToolbarTop, { toolbarTopOption: toolbarTopOption }), jsxs("div", { ref: gridRef, className: "r-gridtable",
|
|
73752
|
+
return (jsxs("div", { className: "r-table-edit r-virtualized-table", children: [jsxs("div", { className: 'r-grid', children: [toolbarSetting?.showTopToolbar && jsx(RenderToolbarTop, { toolbarTopOption: toolbarTopOption }), headerComponent && headerComponent(), jsxs("div", { ref: gridRef, className: "r-gridtable", style: { height: `${height ? `${height}px` : 'auto'}` }, children: [jsxs("table", { role: "presentation", style: { width: '100%' }, children: [jsx(RenderColGroup, { contentColumns: flatVisble }), jsx("thead", { className: 'r-gridheader', role: "rowgroup", children: headerColumns.map((rowColumn, indexParent) => (jsx("tr", { className: "r-row", role: "row", children: rowColumn.map((column, indexColumn) => (jsx(HeaderTableCol, { idTable: idTable, col: column, dataSource: dataSource, indexCol: indexColumn, indexParent: indexParent, isMulti: isMutil ?? false, selectEnable: selectEnable ?? false, selectedRows: selectedRows, setSelectedRows: setSelectedRows, columns: contentColumns, setColumns: setColumns, objWidthFixLeft: objWidthFixLeft, objWidthFixRight: objWidthFixRight, fisrtObjWidthFixRight: fisrtObjWidthFixRight, lastObjWidthFixLeft: lastObjWidthFixLeft, orderBy: orderBy, allowFiltering: querySetting?.allowFiltering, allowSorting: querySetting?.allowSorting, filterBy: filterBy, optionsFilter: querySetting?.optionsFilter, changeFilter: (val) => {
|
|
73791
73753
|
setFilterBy([...val]);
|
|
73792
|
-
if (changeFilter) {
|
|
73793
|
-
changeFilter(val);
|
|
73754
|
+
if (querySetting?.changeFilter) {
|
|
73755
|
+
querySetting.changeFilter(val);
|
|
73794
73756
|
}
|
|
73795
73757
|
}, changeOrder: (val) => {
|
|
73796
73758
|
setOrderBy([...val]);
|
|
73797
|
-
if (changeOrder) {
|
|
73798
|
-
changeOrder(val);
|
|
73759
|
+
if (querySetting?.changeOrder) {
|
|
73760
|
+
querySetting.changeOrder(val);
|
|
73799
73761
|
}
|
|
73800
|
-
}, container: gridRef, totalCount: dataSource.length }, `header-${indexParent}-${indexColumn}`))) }, `header-${-indexParent}`))) }),
|
|
73801
|
-
|
|
73802
|
-
|
|
73803
|
-
|
|
73804
|
-
}), adjustedEndIndex > 0 && viewData.length > adjustedEndIndex && (jsx("tr", { style: { height: (viewData.length - adjustedEndIndex) * rowHeight }, children: jsx("td", { style: { padding: 0 }, colSpan: flatVisble.length }) }))] }), viewData.length > 0 && jsx("tfoot", { className: "r-gridfoot", children: (columnsAggregate?.length ?? 0) > 0 ? jsx("tr", { className: 'r-row', children: contentColumns.map((col, indexCol) => {
|
|
73762
|
+
}, container: gridRef, totalCount: dataSource.length }, `header-${indexParent}-${indexColumn}`))) }, `header-${-indexParent}`))) }), jsx("tbody", { className: 'r-gridcontent', role: "rowgroup", children: viewData.map((row, indexRow) => {
|
|
73763
|
+
const isSelected = selectedRows?.some((x) => x[fieldKey] === row[fieldKey]);
|
|
73764
|
+
return (jsx("tr", { "aria-rowindex": indexRow + 1, role: "row", className: 'r-row', children: contentColumns.map((column, indexCol) => (jsx(RenderContentCol, { idTable: idTable, col: column, fieldKey: fieldKey, objWidthFixLeft: objWidthFixLeft, objWidthFixRight: objWidthFixRight, fisrtObjWidthFixRight: fisrtObjWidthFixRight, lastObjWidthFixLeft: lastObjWidthFixLeft, isMulti: isMutil ?? false, selectEnable: selectEnable ?? false, selectedRows: selectedRows, setSelectedRows: setSelectedRows, formatSetting: formatSetting, indexCol: indexCol, indexRow: indexRow, isSelected: isSelected, row: row }, indexCol))) }, `row-content-${indexRow}`));
|
|
73765
|
+
}) }), viewData.length > 0 && jsx("tfoot", { className: "r-gridfoot", children: (columnsAggregate?.length ?? 0) > 0 ? jsx("tr", { className: 'r-row', children: contentColumns.map((col, indexCol) => {
|
|
73805
73766
|
const item = columnsAggregate?.find((x) => x.field === col.field);
|
|
73806
73767
|
let sumValue = item?.value;
|
|
73807
73768
|
if (!item && col.haveSum === true && col.type === "numeric") {
|
|
@@ -73812,7 +73773,13 @@ const TableView = ({ idTable, dataSource, rowHeight = 33, height = 400, columns,
|
|
|
73812
73773
|
right: col.fixedType === 'right' ? objWidthFixRight[indexCol] : undefined,
|
|
73813
73774
|
textAlign: col.textAlign ? col.textAlign : 'left'
|
|
73814
73775
|
}, children: jsxs("div", { className: "r-footer-div", children: [(item || (col.haveSum === true && col.type === "numeric")) && col.type === "numeric" && (Number(sumValue) >= 0) && jsx(Fragment$1, { children: formartNumberic(sumValue, formatSetting?.decimalSeparator ?? ',', formatSetting?.thousandSeparator ?? '.', col.numericSettings?.fraction, true, false) }), (item || (col.haveSum === true && col.type === "numeric")) && col.type === "numeric" && (Number(sumValue) < 0) && jsxs("div", { style: { color: formatSetting?.colorNegative ?? 'red' }, children: [" ", `${formatSetting?.prefixNegative ?? '-'}${formartNumberic(sumValue, formatSetting?.decimalSeparator ?? ',', formatSetting?.thousandSeparator ?? '.', col.numericSettings?.fraction, true, false)}${formatSetting?.suffixNegative ?? ''}`] })] }) }, `summarycell-${indexCol}`);
|
|
73815
|
-
}) }) : jsx(Fragment$1, {}) })] }), (((viewData.length ?? 0) === 0) && !isLoading) && jsxs("div", { className: "r-no-data", children: [jsx("svg", { width: "64", height: "41", viewBox: "0 0 64 41", xmlns: "http://www.w3.org/2000/svg", children: jsxs("g", { transform: "translate(0 1)", fill: "none", fillRule: "evenodd", children: [jsx("ellipse", { fill: "#f5f5f5", cx: "32", cy: "33", rx: "32", ry: "7" }), jsxs("g", { fillRule: "nonzero", stroke: "#d9d9d9", children: [jsx("path", { d: "M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" }), jsx("path", { d: "M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z", fill: "#fafafa" })] })] }) }), t('No data available.')] }), isLoading && jsx("div", { className: "r-loading-overlay", children: jsxs("div", { className: "r-loading", children: [jsx(Spinner$1, { className: "me-1" }), t('Loading...')] }) })] })] }), pagingSetting?.allowPaging
|
|
73776
|
+
}) }) : jsx(Fragment$1, {}) })] }), (((viewData.length ?? 0) === 0) && !isLoading) && jsxs("div", { className: "r-no-data", children: [jsx("svg", { width: "64", height: "41", viewBox: "0 0 64 41", xmlns: "http://www.w3.org/2000/svg", children: jsxs("g", { transform: "translate(0 1)", fill: "none", fillRule: "evenodd", children: [jsx("ellipse", { fill: "#f5f5f5", cx: "32", cy: "33", rx: "32", ry: "7" }), jsxs("g", { fillRule: "nonzero", stroke: "#d9d9d9", children: [jsx("path", { d: "M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" }), jsx("path", { d: "M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z", fill: "#fafafa" })] })] }) }), t('No data available.')] }), isLoading && jsx("div", { className: "r-loading-overlay", children: jsxs("div", { className: "r-loading", children: [jsx(Spinner$1, { className: "me-1" }), t('Loading...')] }) })] })] }), pagingSetting?.allowPaging && jsx(PagingComponent, { gridRef: gridRef, onChangePage: onChangePage, pageSize: pagingSetting?.pageSize ?? 0, currentPage: pagingSetting?.currentPage ?? 0, pageOptions: pagingSetting?.pageOptions ?? [20, 30, 50, 100], totalItem: pagingSetting?.totalItem ?? 0, onChangePageSize: onChangePageSize }), jsx(SettingColumn, { gridRef: gridRef, handleSidebar: () => {
|
|
73777
|
+
setOpenPopupSetupColumn(!openPopupSetupColumn);
|
|
73778
|
+
}, settingColumns: settingColumns, openSidebar: openPopupSetupColumn, column: [...contentColumns], resetDefaultColumns: resetDefaultColumns, setColumn: (newColumns) => {
|
|
73779
|
+
if (saveSettingColumn) {
|
|
73780
|
+
saveSettingColumn(newColumns.map((x, index) => ({ field: x.field, headerText: x.headerDisplay, visible: x.visible, fixedType: x.fixedType, width: x.width, sortOrder: index + 1 })));
|
|
73781
|
+
}
|
|
73782
|
+
} })] }));
|
|
73816
73783
|
};
|
|
73817
73784
|
|
|
73818
73785
|
export { CheckRowMatch, ExportExcelComponent, FindNodeByPath, InputStyleComponent, ModalImportComponent, SelectTable, SelectTableTree, TableView, TabsMenuComponent, Wizard, calculateTableStructure, checkDecimalSeparator, checkThousandSeparator, TableEdit as default, formartNumberic, formatDateTime, generateUUID, isNullOrUndefined$1 as isNullOrUndefined, messageBoxConfirm, messageBoxConfirmAsync, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxConfirmAsync, messageHtmlBoxError, notificationError, notificationSuccess, roundNumber, useOnClickOutside };
|