@1771technologies/lytenyte-pro 1.0.0-beta.1 → 1.0.0-beta.11

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.
Files changed (99) hide show
  1. package/dist/+types.d.ts +24 -7
  2. package/dist/cell-selection/adjust-rect-for-row-and-cell-span.d.ts +1 -1
  3. package/dist/cell-selection/adjust-rect-for-row-and-cell-span.js +1 -1
  4. package/dist/cell-selection/are-rects-equal.d.ts +1 -1
  5. package/dist/cell-selection/bound-selection-rect.d.ts +1 -1
  6. package/dist/cell-selection/cell-selection-driver.js +9 -1
  7. package/dist/cell-selection/deselect-rect-range.d.ts +1 -1
  8. package/dist/cell-selection/deselect-rect-range.js +1 -1
  9. package/dist/cell-selection/expand-cell-selection-down.d.ts +2 -2
  10. package/dist/cell-selection/expand-cell-selection-down.js +1 -1
  11. package/dist/cell-selection/expand-cell-selection-end.d.ts +2 -2
  12. package/dist/cell-selection/expand-cell-selection-end.js +1 -1
  13. package/dist/cell-selection/expand-cell-selection-start.d.ts +2 -2
  14. package/dist/cell-selection/expand-cell-selection-start.js +1 -1
  15. package/dist/cell-selection/expand-cell-selection-up.d.ts +2 -2
  16. package/dist/cell-selection/expand-cell-selection-up.js +1 -1
  17. package/dist/cell-selection/full-width-start-end-index.d.ts +1 -1
  18. package/dist/cell-selection/get-root-cell.d.ts +1 -1
  19. package/dist/cell-selection/get-root-cell.js +2 -2
  20. package/dist/cell-selection/is-bottom-rect.d.ts +1 -1
  21. package/dist/cell-selection/is-center-col-rect.d.ts +1 -1
  22. package/dist/cell-selection/is-center-rect.d.ts +1 -1
  23. package/dist/cell-selection/is-end-rect.d.ts +1 -1
  24. package/dist/cell-selection/is-overlapping-rect.d.ts +1 -1
  25. package/dist/cell-selection/is-start-rect.d.ts +1 -1
  26. package/dist/cell-selection/is-top-rect.d.ts +1 -1
  27. package/dist/cell-selection/is-within-selection-rect.d.ts +1 -1
  28. package/dist/cell-selection/split-cell-selection-rect.d.ts +1 -1
  29. package/dist/cell-selection/update-additive-cell-selection.d.ts +2 -2
  30. package/dist/cell-selection/update-additive-cell-selection.js +4 -4
  31. package/dist/cell-selection/use-edge-scroll.d.ts +2 -2
  32. package/dist/cells/cell.js +2 -1
  33. package/dist/column-manager/use-column-manager.d.ts +2 -2
  34. package/dist/column-manager/use-column-manager.js +1 -1
  35. package/dist/column-manager/use-columns-from-context.d.ts +2 -2
  36. package/dist/column-manager/use-columns-from-context.js +1 -1
  37. package/dist/filter-tree/filter-tree.d.ts +7 -7
  38. package/dist/filter-tree/filter-tree.js +8 -8
  39. package/dist/filter-tree/hooks/use-tree-item.d.ts +2 -2
  40. package/dist/filter-tree/hooks/use-tree-item.js +2 -2
  41. package/dist/grid-box/+types.d.ts +1 -1
  42. package/dist/grid-box/context.d.ts +1 -1
  43. package/dist/grid-box/use-aggregation-box-items.d.ts +2 -2
  44. package/dist/grid-box/use-column-box-items.d.ts +2 -2
  45. package/dist/grid-box/use-row-group-box-items.d.ts +2 -2
  46. package/dist/grid-provider/context.d.ts +2 -2
  47. package/dist/grid-provider/provider.d.ts +2 -2
  48. package/dist/grid-provider/provider.js +1 -1
  49. package/dist/grid-provider/use-grid.d.ts +2 -2
  50. package/dist/grid-provider/use-grid.js +1 -1
  51. package/dist/grid.d.ts +1 -0
  52. package/dist/grid.js +2 -0
  53. package/dist/header/resize-handler.js +1 -0
  54. package/dist/header/use-drag-move.d.ts +2 -2
  55. package/dist/icons/index.d.ts +1 -0
  56. package/dist/icons/index.js +1 -0
  57. package/dist/index.d.ts +1 -0
  58. package/dist/index.js +1 -0
  59. package/dist/row-data-source-client/built-ins/built-ins.d.ts +1 -1
  60. package/dist/row-data-source-client/built-ins/built-ins.js +1 -1
  61. package/dist/row-data-source-client/pivots/create-pivot-columns.js +2 -2
  62. package/dist/row-data-source-client/tree/evaluator-aggregation.d.ts +1 -1
  63. package/dist/row-data-source-client/tree/evaluator-group.d.ts +1 -1
  64. package/dist/row-data-source-client/tree/traverse.d.ts +1 -1
  65. package/dist/row-data-source-client/tree/traverse.js +1 -1
  66. package/dist/row-data-source-client/use-client-data-source-paginated.d.ts +2 -2
  67. package/dist/row-data-source-client/use-client-data-source-paginated.js +41 -25
  68. package/dist/row-data-source-client/use-client-data-source.d.ts +2 -2
  69. package/dist/row-data-source-client/use-client-data-source.js +43 -27
  70. package/dist/row-data-source-client/use-client-tree-data-source.d.ts +1 -1
  71. package/dist/row-data-source-client/use-client-tree-data-source.js +41 -25
  72. package/dist/row-data-source-server/async-tree/apply-delete-action-to-tree.js +1 -1
  73. package/dist/row-data-source-server/async-tree/make-async-tree.js +3 -3
  74. package/dist/row-data-source-server/use-server-data-source.d.ts +1 -1
  75. package/dist/row-data-source-server/use-server-data-source.js +8 -5
  76. package/dist/sort-manager/context.d.ts +3 -3
  77. package/dist/sort-manager/hooks/use-sort-manager.d.ts +2 -2
  78. package/dist/sort-manager/hooks/use-sort-manager.js +2 -2
  79. package/dist/sort-manager/hooks/use-sort-row-item.d.ts +1 -1
  80. package/dist/sort-manager/hooks/use-sort-row-item.js +1 -1
  81. package/dist/sort-manager/utils/sort-item-to-sort-model.d.ts +1 -1
  82. package/dist/sort-manager/utils/sort-model-to-sort-items.d.ts +1 -1
  83. package/dist/state/api/column-autosize.d.ts +1 -1
  84. package/dist/state/api/column-autosize.js +1 -1
  85. package/dist/state/api/column-move.js +1 -1
  86. package/dist/state/api/dialog-frame.d.ts +1 -1
  87. package/dist/state/api/edit-begin.d.ts +1 -1
  88. package/dist/state/api/edit-begin.js +1 -1
  89. package/dist/state/api/edit-end.d.ts +1 -1
  90. package/dist/state/api/edit-is-cell-active.d.ts +1 -1
  91. package/dist/state/api/edit-update.d.ts +1 -1
  92. package/dist/state/api/edit-update.js +1 -1
  93. package/dist/state/api/export-csv.js +1 -1
  94. package/dist/state/api/export-data-rect.js +1 -1
  95. package/dist/state/api/focus-cell.d.ts +1 -1
  96. package/dist/state/api/popover-frame.d.ts +2 -2
  97. package/dist/state/api/row-detail-rendered-height.d.ts +2 -2
  98. package/dist/state/helpers/empty-row-data-source.js +1 -0
  99. package/package.json +15 -9
@@ -1,4 +1,4 @@
1
- import type { InternalAtoms } from "../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
2
  import type { Grid, GridApi } from "../../+types";
3
3
  export declare const makeEditEnd: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
@@ -1,4 +1,4 @@
1
- import type { InternalAtoms } from "../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
2
  import type { Grid, GridApi } from "../../+types";
3
3
  export declare const makeEditIsCellActive: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
@@ -1,4 +1,4 @@
1
- import type { InternalAtoms } from "../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
2
  import type { Grid, GridApi } from "../../+types";
3
3
  export declare const makeEditUpdate: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
@@ -1,4 +1,4 @@
1
- import { editOnChange } from "../helpers/edit-on-change";
1
+ import { editOnChange } from "../helpers/edit-on-change.js";
2
2
  export const makeEditUpdate = (grid) => {
3
3
  return (params) => {
4
4
  if (grid.state.editCellMode.get() === "readonly" || grid.state.columnPivotMode.get())
@@ -1,4 +1,4 @@
1
- import { getDataRect } from "../helpers/get-data-rect";
1
+ import { getDataRect } from "../helpers/get-data-rect.js";
2
2
  export const makeExportCsv = (grid) => {
3
3
  return async (p) => {
4
4
  const visible = grid.state.columnMeta.get().columnsVisible;
@@ -1,4 +1,4 @@
1
- import { getDataRect } from "../helpers/get-data-rect";
1
+ import { getDataRect } from "../helpers/get-data-rect.js";
2
2
  export const makeExportDataRect = (grid) => {
3
3
  return (p) => {
4
4
  const s = grid.state;
@@ -1,5 +1,5 @@
1
1
  import type { Grid, GridApi } from "../../+types";
2
- import type { InternalAtoms } from "../+types";
2
+ import type { InternalAtoms } from "../+types.js";
3
3
  export declare const makeFocusCell: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }) => GridApi<any>["focusCell"];
@@ -1,5 +1,5 @@
1
- import type { InternalAtoms } from "../+types";
2
- import type { Grid, GridApi } from "../../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
+ import type { Grid, GridApi } from "../../+types.js";
3
3
  export declare const makePopoverFrameOpen: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }) => GridApi<any>["popoverFrameOpen"];
@@ -1,5 +1,5 @@
1
- import type { InternalAtoms } from "../+types";
2
- import type { Grid, GridApi } from "../../+types";
1
+ import type { InternalAtoms } from "../+types.js";
2
+ import type { Grid, GridApi } from "../../+types.js";
3
3
  export declare const makeRowDetailRenderedHeight: (grid: Grid<any> & {
4
4
  internal: InternalAtoms;
5
5
  }) => GridApi<any>["rowDetailRenderedHeight"];
@@ -11,6 +11,7 @@ export const emptyRowDataSource = {
11
11
  rowAdd: () => { },
12
12
  rowDelete: () => { },
13
13
  rowSetBotData: () => { },
14
+ rowSetCenterData: () => { },
14
15
  rowSetTopData: () => { },
15
16
  rowAreAllSelected: () => false,
16
17
  inFilterItems: () => [],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@1771technologies/lytenyte-pro",
3
3
  "description": "Blazingly fast headless React data grid with 100s of features.",
4
- "version": "1.0.0-beta.1",
4
+ "version": "1.0.0-beta.11",
5
5
  "type": "module",
6
6
  "license": "COMMERCIAL",
7
7
  "files": [
@@ -32,10 +32,15 @@
32
32
  "import": "./dist/index.js",
33
33
  "require": "./dist/index.js"
34
34
  },
35
+ "./icons": {
36
+ "types": "./dist/icons/index.d.ts",
37
+ "import": "./dist/icons/index.js",
38
+ "require": "./dist/icons/index.js"
39
+ },
35
40
  "./types": {
36
- "types": "./dist/types.d.ts",
37
- "import": "./dist/types.js",
38
- "require": "./dist/types.js"
41
+ "types": "./dist/+types.d.ts",
42
+ "import": "./dist/+types.js",
43
+ "require": "./dist/+types.js"
39
44
  },
40
45
  "./grid.css": "./main.css"
41
46
  },
@@ -44,11 +49,12 @@
44
49
  },
45
50
  "dependencies": {
46
51
  "@1771technologies/atom": "^1.0.2",
47
- "@1771technologies/lytenyte-dragon": "1.0.0-beta.1",
48
- "@1771technologies/lytenyte-shared": "1.0.0-beta.1",
49
- "@1771technologies/lytenyte-dom-utils": "1.0.0-beta.1",
50
- "@1771technologies/lytenyte-react-hooks": "1.0.0-beta.1",
51
- "@1771technologies/lytenyte-js-utils": "1.0.0-beta.1"
52
+ "@1771technologies/lytenyte-core": "1.0.0-beta.11",
53
+ "@1771technologies/lytenyte-dom-utils": "1.0.0-beta.11",
54
+ "@1771technologies/lytenyte-dragon": "1.0.0-beta.11",
55
+ "@1771technologies/lytenyte-js-utils": "1.0.0-beta.11",
56
+ "@1771technologies/lytenyte-react-hooks": "1.0.0-beta.11",
57
+ "@1771technologies/lytenyte-shared": "1.0.0-beta.11"
52
58
  },
53
59
  "peerDependencies": {
54
60
  "react": "^18.0.0 || ^19.0.0",