@topconsultnpm/sdkui-react-beta 6.10.91 → 6.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,7 +20,7 @@ const TMDataGrid = React.forwardRef((props, ref) => {
20
20
  // events and callbacks
21
21
  onSelectionChanged, onFocusedRowChanged, onRowDblClick, onRowClick, onCellClick, onOptionChanged, onContentReady, onContextMenuPreparing, onInitialized, onEditorPreparing, onCellPrepared, onRowPrepared, onRowUpdating, onRowExpanded, onRowCollapsed, onRowUpdated, onSaved, onEditCanceled, onEditingStart, onEditingChange, customizeColumns, scrolling = { mode: 'standard', useNative: SDKUI_Globals.dataGridUseNativeScrollbar }, paging = { enabled: true, pageSize: pageSize }, pager = { visible: true, showInfo: true, showNavigationButtons: true }, selection = { mode: 'multiple', showCheckBoxesMode: "always", selectAllMode: "allPages" }, sorting, summary, stateStoring, columnChooser, grouping, groupPanel, filterRow, headerFilter, editing, rowDragging,
22
22
  // other properties
23
- disabled = false, autoNavigateToFocusedRow = true, columnResizingMode = 'widget', columnHidingEnabled = true, columnAutoWidth = true, allowColumnResizing = true, allowColumnReordering = true, showBorders = true, showRowLines = true, showColumnLines = false, showColumnHeaders = true, rowAlternationEnabled = false, wordWrapEnabled = false,
23
+ disabled = false, autoNavigateToFocusedRow = true, columnResizingMode = 'widget', columnHidingEnabled = true, columnAutoWidth = true, allowColumnResizing = true, allowColumnReordering = true, showBorders = true, showRowLines = true, showColumnLines = false, showColumnHeaders = true, rowAlternationEnabled = false, wordWrapEnabled = false, noDataText,
24
24
  // styles
25
25
  id, width = '100%', height = '100%', } = props;
26
26
  const [counterValues, setCounterValues] = useState(new Map());
@@ -157,7 +157,7 @@ const TMDataGrid = React.forwardRef((props, ref) => {
157
157
  // events and callbacks
158
158
  onSelectionChanged: onSelectionChangedCallback, onRowDblClick: onRowDblClickCallback, onRowPrepared: onRowPrepared, onContextMenuPreparing: onContextMenuPreparingCallback, onToolbarPreparing: onToolbarPreparingCallback, onFocusedRowChanged: onFocusedRowChanged, onRowClick: onRowClick, onCellClick: onCellClick, onOptionChanged: onOptionChanged, onContentReady: onContentReady, onInitialized: onInitialized, customizeColumns: customizeColumns, onEditorPreparing: onEditorPreparing, onCellPrepared: onCellPrepared, onRowUpdating: onRowUpdating, onRowExpanded: onRowExpanded, onRowCollapsed: onRowCollapsed, onRowUpdated: onRowUpdated, onSaved: onSaved, onEditCanceled: onEditCanceled, onEditingStart: onEditingStart, onEditingChange: onEditingChange,
159
159
  // other properties
160
- disabled: disabled, autoNavigateToFocusedRow: autoNavigateToFocusedRow, focusedRowKey: focusedRowKey, columnHidingEnabled: columnHidingEnabled, columnResizingMode: columnResizingMode, columnAutoWidth: columnAutoWidth, allowColumnResizing: allowColumnResizing, allowColumnReordering: allowColumnReordering, showBorders: showBorders, showRowLines: showRowLines, showColumnLines: showColumnLines, showColumnHeaders: showColumnHeaders, rowAlternationEnabled: rowAlternationEnabled, wordWrapEnabled: wordWrapEnabled,
160
+ disabled: disabled, autoNavigateToFocusedRow: autoNavigateToFocusedRow, focusedRowKey: focusedRowKey, columnHidingEnabled: columnHidingEnabled, columnResizingMode: columnResizingMode, columnAutoWidth: columnAutoWidth, allowColumnResizing: allowColumnResizing, allowColumnReordering: allowColumnReordering, showBorders: showBorders, showRowLines: showRowLines, showColumnLines: showColumnLines, showColumnHeaders: showColumnHeaders, rowAlternationEnabled: rowAlternationEnabled, wordWrapEnabled: wordWrapEnabled, noDataText: noDataText,
161
161
  // styles
162
162
  width: width, height: height, style: { userSelect: 'none' }, children: [dataColumns.map((column, index) => (_jsx(Column, { ...column }, column.caption + index.toString()))), sorting && _jsx(Sorting, { ...sorting }), selection && _jsx(Selection, { ...selection }), scrolling && _jsx(Scrolling, { ...scrolling }), summary && _jsx(Summary, { ...summary }), showHeaderFilter && _jsx(HeaderFilter, { visible: true, ...headerFilter }), rowDragging && _jsx(RowDragging, { ...rowDragging }), filterRow && _jsx(FilterRow, { ...filterRow }), showFilterPanel && _jsx(FilterPanel, { visible: true }), columnChooser && _jsx(ColumnChooser, { ...columnChooser }), stateStoring && _jsx(StateStoring, { ...stateStoring }), groupPanel && _jsx(GroupPanel, { ...groupPanel }), _jsx(Grouping, { contextMenuEnabled: true, ...grouping }), _jsx(LoadPanel, { enabled: showLoadPanel }), _jsx(SearchPanel, { visible: showSearchPanel }), editing && _jsx(Editing, { ...editing }), paging && _jsx(Paging, { ...paging }), pager && _jsx(Pager, { ...pager, visible: recordCount > pageSize })] }) }), counterConfig.show && _jsx("div", { style: { width: "100%", height: "25px", display: "flex", alignItems: "center", gap: "15px", backgroundColor: "#e0e0e0" }, children: _jsx(TMCounterContainer, { items: counterValues, bgColorContainer: counterConfig.bgColorContainer, bgColorItem: counterConfig.bgColorItem, hoverColorItem: counterConfig.hoverColorItem, textColorItem: counterConfig.textColorItem }) })] });
163
163
  });
@@ -16,6 +16,8 @@ export interface TMFileManagerContextMenuItem {
16
16
  id?: string;
17
17
  items?: Array<TMFileManagerContextMenuItem>;
18
18
  beginGroup?: boolean;
19
+ tooltip?: string;
20
+ visible?: boolean;
19
21
  }
20
22
  export interface FileItem {
21
23
  id: number;
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
1
  {
2
- "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.10.91",
4
- "description": "",
5
- "scripts": {
6
- "test": "echo \"Error: no test specified\" && exit 1",
7
- "clean": "powershell Remove-Item lib/ -recurse",
8
- "copy-files": "copyfiles -u 1 src/assets/*.* src/assets/ImageLibrary/*.* src/assets/thumbnails/*.* src/assets/Metadata/*.* src/css/tm-sdkui.css lib/",
9
- "tm-build": "npm run clean && tsc && npm run copy-files",
10
- "tm-publish": "npm publish",
11
- "storybook": "storybook dev -p 6006",
12
- "build-storybook": "storybook build"
13
- },
14
- "author": "TopConsult",
15
- "license": "ISC",
16
- "devDependencies": {
17
- "@chromatic-com/storybook": "^3.2.4",
18
- "@storybook/addon-essentials": "^8.6.4",
19
- "@storybook/addon-interactions": "^8.6.4",
20
- "@storybook/addon-onboarding": "^8.6.4",
21
- "@storybook/blocks": "^8.6.4",
22
- "@storybook/react": "^8.6.4",
23
- "@storybook/react-vite": "^8.6.4",
24
- "@storybook/test": "^8.6.4",
25
- "@types/node": "^20.2.5",
26
- "@types/react": "^18.2.7",
27
- "@types/react-dom": "^18.2.4",
28
- "copyfiles": "^2.4.1",
29
- "esbuild": "^0.25.0",
30
- "react": "^18.2.0",
31
- "react-dom": "^18.2.0",
32
- "storybook": "^8.6.4",
33
- "typescript": "^5.3.2",
34
- "vite": "^6.1.1"
35
- },
36
- "main": "dist/cjs/index.js",
37
- "types": "./index.d.ts",
38
- "module": "lib/esm/index.js",
39
- "files": [
40
- "dist",
41
- "lib"
42
- ],
43
- "dependencies": {
44
- "@topconsultnpm/sdk-ts-beta": "^6.10.13",
45
- "buffer": "^6.0.3",
46
- "devextreme": "24.2.3",
47
- "devextreme-react": "24.2.3",
48
- "react-router-dom": "^6.15.0",
49
- "styled-components": "^6.1.1"
50
- },
51
- "overrides": {
52
- "esbuild": "^0.25.0"
53
- }
2
+ "name": "@topconsultnpm/sdkui-react-beta",
3
+ "version": "6.11.0",
4
+ "description": "",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1",
7
+ "clean": "powershell Remove-Item lib/ -recurse",
8
+ "copy-files": "copyfiles -u 1 src/assets/*.* src/assets/ImageLibrary/*.* src/assets/thumbnails/*.* src/assets/Metadata/*.* src/css/tm-sdkui.css lib/",
9
+ "tm-build": "npm run clean && tsc && npm run copy-files",
10
+ "tm-publish": "npm publish",
11
+ "storybook": "storybook dev -p 6006",
12
+ "build-storybook": "storybook build"
13
+ },
14
+ "author": "TopConsult",
15
+ "license": "ISC",
16
+ "devDependencies": {
17
+ "@chromatic-com/storybook": "^3.2.4",
18
+ "@storybook/addon-essentials": "^8.6.4",
19
+ "@storybook/addon-interactions": "^8.6.4",
20
+ "@storybook/addon-onboarding": "^8.6.4",
21
+ "@storybook/blocks": "^8.6.4",
22
+ "@storybook/react": "^8.6.4",
23
+ "@storybook/react-vite": "^8.6.4",
24
+ "@storybook/test": "^8.6.4",
25
+ "@types/node": "^20.2.5",
26
+ "@types/react": "^18.2.7",
27
+ "@types/react-dom": "^18.2.4",
28
+ "copyfiles": "^2.4.1",
29
+ "esbuild": "^0.25.0",
30
+ "react": "^18.2.0",
31
+ "react-dom": "^18.2.0",
32
+ "storybook": "^8.6.4",
33
+ "typescript": "^5.3.2",
34
+ "vite": "^6.1.1"
35
+ },
36
+ "main": "dist/cjs/index.js",
37
+ "types": "./index.d.ts",
38
+ "module": "lib/esm/index.js",
39
+ "files": [
40
+ "dist",
41
+ "lib"
42
+ ],
43
+ "dependencies": {
44
+ "@topconsultnpm/sdk-ts-beta": "^6.11.0",
45
+ "buffer": "^6.0.3",
46
+ "devextreme": "24.2.3",
47
+ "devextreme-react": "24.2.3",
48
+ "react-router-dom": "^6.15.0",
49
+ "styled-components": "^6.1.1"
50
+ },
51
+ "overrides": {
52
+ "esbuild": "^0.25.0"
53
+ }
54
54
  }