@azrico/reactgrid 1.2.1 → 1.2.3
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/src/index.js +3 -0
- package/dist/src/views/DataGrid.d.ts +1 -1
- package/package.json +2 -2
- package/src/index.tsx +3 -3
- package/src/views/DataGrid.tsx +1 -1
package/dist/src/index.js
CHANGED
|
@@ -19,6 +19,9 @@ Object.keys(_DataGrid).forEach(function (key) {
|
|
|
19
19
|
});
|
|
20
20
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
21
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
22
|
+
// import ExampleGrid from './example';
|
|
23
|
+
// import React from 'react';
|
|
24
|
+
// import ReactDOM from 'react-dom/client';
|
|
22
25
|
/* -------------------------------------------------------------------------- */
|
|
23
26
|
var _default = _DataGrid.default; // const root = ReactDOM.createRoot(document.getElementById('testroot') as HTMLElement);
|
|
24
27
|
// root.render(<ExampleGrid />);
|
|
@@ -44,7 +44,7 @@ export type AzGridProps = {
|
|
|
44
44
|
leftColumns?: string[];
|
|
45
45
|
rightColumns?: string[];
|
|
46
46
|
customColumns?: customColumnData[];
|
|
47
|
-
contextMenuItems?: ConvertableToMenuItem
|
|
47
|
+
contextMenuItems?: ConvertableToMenuItem;
|
|
48
48
|
highlightedRow?: any;
|
|
49
49
|
RowDetail?: RowDetailsFunc;
|
|
50
50
|
selected?: RowSelectionValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azrico/reactgrid",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"description": "React Datagrid",
|
|
6
6
|
"author": "Azrideus <MehrdadTavangar@gmail.com>",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"typescript": "^4.8.4"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@azrico/controls": "1.3.
|
|
32
|
+
"@azrico/controls": "1.3.36",
|
|
33
33
|
"@azrico/object": "^1.3.1",
|
|
34
34
|
"@emotion/react": "^11.9.3",
|
|
35
35
|
"@emotion/styled": "^11.9.3",
|
package/src/index.tsx
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * from './views/DataGrid';
|
|
2
2
|
|
|
3
3
|
import AzGrid from './views/DataGrid';
|
|
4
|
-
import ExampleGrid from './example';
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import ReactDOM from 'react-dom/client';
|
|
4
|
+
// import ExampleGrid from './example';
|
|
5
|
+
// import React from 'react';
|
|
6
|
+
// import ReactDOM from 'react-dom/client';
|
|
7
7
|
|
|
8
8
|
/* -------------------------------------------------------------------------- */
|
|
9
9
|
|
package/src/views/DataGrid.tsx
CHANGED