@1771technologies/lytenyte-pro 0.0.71 → 0.0.73

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/index.js CHANGED
@@ -24,6 +24,7 @@ import { M as MoreDotsIcon } from "./more-dots-icon-CzAH3xHG.js";
24
24
  import { S as SortAscending, a as SortDescending } from "./sort-descending-BMtfaa2L.js";
25
25
  import { createClientDataSource } from "@1771technologies/grid-client-data-source-pro";
26
26
  import { createTreeDataSource } from "@1771technologies/grid-tree-data-source";
27
+ import { createServerDataSource } from "@1771technologies/grid-server-data-source";
27
28
  function useGrid() {
28
29
  return useContext(context);
29
30
  }
@@ -3796,6 +3797,12 @@ function useTreeDataSource(init) {
3796
3797
  });
3797
3798
  return ds;
3798
3799
  }
3800
+ function useServerDataSource(init) {
3801
+ const [ds] = useState(() => {
3802
+ return createServerDataSource(init);
3803
+ });
3804
+ return ds;
3805
+ }
3799
3806
  export {
3800
3807
  COLUMN_EMPTY_PREFIX,
3801
3808
  t as COLUMN_GROUP_HEADER_HEIGHT,
@@ -3832,5 +3839,6 @@ export {
3832
3839
  hasAValidLicense,
3833
3840
  useClientDataSource,
3834
3841
  useLyteNytePro,
3842
+ useServerDataSource,
3835
3843
  useTreeDataSource
3836
3844
  };
@@ -3,5 +3,6 @@ export type { LyteNyteGridProProps } from './lytenyte-pro.js';
3
3
  export { LyteNyteGrid } from './lytenyte-pro.js';
4
4
  export { useLyteNytePro } from './use-lytenyte.js';
5
5
  export * from './use-client-data-source.js';
6
- export { useTreeDataSource } from './use-tree-data-source.js';
6
+ export * from './use-tree-data-source.js';
7
+ export * from './use-server-data-source.js';
7
8
  export { activateLicense, hasAValidLicense } from './license.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1771technologies/lytenyte-pro",
3
- "version": "0.0.71",
3
+ "version": "0.0.73",
4
4
  "license": "COMMERCIAL",
5
5
  "type": "module",
6
6
  "files": [
@@ -70,20 +70,21 @@
70
70
  "react-dom": "^18.0.0 || ^19.0.0"
71
71
  },
72
72
  "dependencies": {
73
- "@1771technologies/grid-client-data-source-pro": "0.0.71",
74
- "@1771technologies/grid-core": "0.0.71",
75
- "@1771technologies/grid-design": "0.0.71",
76
- "@1771technologies/grid-provider": "0.0.71",
77
- "@1771technologies/grid-store-pro": "0.0.71",
78
- "@1771technologies/grid-tree-data-source": "0.0.71",
79
- "@1771technologies/grid-types": "0.0.71",
80
- "@1771technologies/js-utils": "0.0.71",
81
- "@1771technologies/lytenyte-core": "0.0.71",
82
- "@1771technologies/react-cascada": "0.0.71",
83
- "@1771technologies/react-dragon": "0.0.71",
84
- "@1771technologies/react-sizer": "0.0.71",
85
- "@1771technologies/react-split-pane": "0.0.71",
86
- "@1771technologies/react-utils": "0.0.71",
73
+ "@1771technologies/grid-client-data-source-pro": "0.0.73",
74
+ "@1771technologies/grid-server-data-source": "0.0.73",
75
+ "@1771technologies/grid-core": "0.0.73",
76
+ "@1771technologies/grid-design": "0.0.73",
77
+ "@1771technologies/grid-provider": "0.0.73",
78
+ "@1771technologies/grid-store-pro": "0.0.73",
79
+ "@1771technologies/grid-tree-data-source": "0.0.73",
80
+ "@1771technologies/grid-types": "0.0.73",
81
+ "@1771technologies/js-utils": "0.0.73",
82
+ "@1771technologies/lytenyte-core": "0.0.73",
83
+ "@1771technologies/react-cascada": "0.0.73",
84
+ "@1771technologies/react-dragon": "0.0.73",
85
+ "@1771technologies/react-sizer": "0.0.73",
86
+ "@1771technologies/react-split-pane": "0.0.73",
87
+ "@1771technologies/react-utils": "0.0.73",
87
88
  "@base-ui-components/react": "1.0.0-alpha.7"
88
89
  },
89
90
  "devDependencies": {