@1771technologies/lytenyte-pro 2.0.2 → 2.0.4-dev.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.
- package/README.md +297 -11
- package/dist/components/headless/dialog/container.js +1 -2
- package/dist/components/select-all.d.ts +1 -1
- package/dist/data-source-client/hooks/use-flattened-data.d.ts +1 -1
- package/dist/data-source-client/hooks/use-pivot/auxiliary-functions/apply-reference-column.d.ts +1 -1
- package/dist/data-source-client/hooks/use-pivot/auxiliary-functions/pivot-paths.d.ts +1 -1
- package/dist/data-source-client/hooks/use-pivot/use-agg-model.d.ts +1 -1
- package/dist/data-source-client/hooks/use-pivot/use-pivot-columns.d.ts +1 -1
- package/dist/data-source-client/hooks/use-pivot/use-pivot-data.d.ts +1 -1
- package/dist/data-source-client/hooks/use-pivot/use-pivot-group-fn.d.ts +1 -1
- package/dist/data-source-client/use-client-data-source.d.ts +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/root/root.d.ts +5 -8
- package/dist/root/root.js +5 -83
- package/dist/types.d.ts +3 -0
- package/package.json +27 -6
- package/dist/cell-selection/adjust-rect-for-row-and-cell-span.d.ts +0 -2
- package/dist/cell-selection/adjust-rect-for-row-and-cell-span.js +0 -43
- package/dist/cell-selection/are-rects-equal.d.ts +0 -2
- package/dist/cell-selection/are-rects-equal.js +0 -6
- package/dist/cell-selection/bound-selection-rect.d.ts +0 -3
- package/dist/cell-selection/bound-selection-rect.js +0 -16
- package/dist/cell-selection/cell-selection-containers.d.ts +0 -3
- package/dist/cell-selection/cell-selection-containers.js +0 -86
- package/dist/cell-selection/cell-selection-driver/cell-selection-driver.d.ts +0 -1
- package/dist/cell-selection/cell-selection-driver/cell-selection-driver.js +0 -279
- package/dist/cell-selection/cell-selection-driver/use-cell-focus-change.d.ts +0 -5
- package/dist/cell-selection/cell-selection-driver/use-cell-focus-change.js +0 -34
- package/dist/cell-selection/cell-style-row.d.ts +0 -8
- package/dist/cell-selection/cell-style-row.js +0 -79
- package/dist/cell-selection/data-rect-from-cell-position.d.ts +0 -3
- package/dist/cell-selection/data-rect-from-cell-position.js +0 -17
- package/dist/cell-selection/deselect-rect-range.d.ts +0 -2
- package/dist/cell-selection/deselect-rect-range.js +0 -43
- package/dist/cell-selection/expand-selection-down.d.ts +0 -3
- package/dist/cell-selection/expand-selection-down.js +0 -78
- package/dist/cell-selection/expand-selection-end.d.ts +0 -3
- package/dist/cell-selection/expand-selection-end.js +0 -76
- package/dist/cell-selection/expand-selection-start.d.ts +0 -3
- package/dist/cell-selection/expand-selection-start.js +0 -73
- package/dist/cell-selection/expand-selection-up.d.ts +0 -3
- package/dist/cell-selection/expand-selection-up.js +0 -74
- package/dist/cell-selection/full-width-start-end-index.d.ts +0 -2
- package/dist/cell-selection/full-width-start-end-index.js +0 -4
- package/dist/cell-selection/get-root-cell.d.ts +0 -3
- package/dist/cell-selection/get-root-cell.js +0 -6
- package/dist/cell-selection/index.d.ts +0 -11
- package/dist/cell-selection/index.js +0 -11
- package/dist/cell-selection/is-bottom-rect.d.ts +0 -2
- package/dist/cell-selection/is-bottom-rect.js +0 -4
- package/dist/cell-selection/is-center-col-rect.d.ts +0 -5
- package/dist/cell-selection/is-center-col-rect.js +0 -3
- package/dist/cell-selection/is-center-rect.d.ts +0 -2
- package/dist/cell-selection/is-center-rect.js +0 -4
- package/dist/cell-selection/is-end-rect.d.ts +0 -5
- package/dist/cell-selection/is-end-rect.js +0 -3
- package/dist/cell-selection/is-fully-within-rect.d.ts +0 -2
- package/dist/cell-selection/is-fully-within-rect.js +0 -6
- package/dist/cell-selection/is-overlapping-rect.d.ts +0 -2
- package/dist/cell-selection/is-overlapping-rect.js +0 -5
- package/dist/cell-selection/is-start-rect.d.ts +0 -5
- package/dist/cell-selection/is-start-rect.js +0 -3
- package/dist/cell-selection/is-top-rect.d.ts +0 -2
- package/dist/cell-selection/is-top-rect.js +0 -3
- package/dist/cell-selection/is-within-selection-rect.d.ts +0 -2
- package/dist/cell-selection/is-within-selection-rect.js +0 -3
- package/dist/cell-selection/split-cell-selection-rect.d.ts +0 -41
- package/dist/cell-selection/split-cell-selection-rect.js +0 -84
- package/dist/cell-selection/update-additive-cell-selection.d.ts +0 -4
- package/dist/cell-selection/update-additive-cell-selection.js +0 -21
- package/dist/cell-selection/use-edge-scroll.d.ts +0 -6
- package/dist/cell-selection/use-edge-scroll.js +0 -71
- package/dist/root/context.d.ts +0 -16
- package/dist/root/context.js +0 -4
- package/dist/root/hooks/use-pro-api.d.ts +0 -2
- package/dist/root/hooks/use-pro-api.js +0 -8
- package/dist/types/api.d.ts +0 -100
- package/dist/types/column.d.ts +0 -73
- package/dist/types/column.js +0 -1
- package/dist/types/events.d.ts +0 -56
- package/dist/types/events.js +0 -1
- package/dist/types/grid.d.ts +0 -46
- package/dist/types/grid.js +0 -1
- package/dist/types/index.d.ts +0 -7
- package/dist/types/index.js +0 -1
- package/dist/types/props.d.ts +0 -187
- package/dist/types/props.js +0 -1
- /package/dist/{types/api.js → types.js} +0 -0
package/README.md
CHANGED
|
@@ -31,15 +31,15 @@ to **LyteNyte Grid PRO** for advanced enterprise features and support.
|
|
|
31
31
|
|
|
32
32
|
<div align="center">
|
|
33
33
|
|
|
34
|
-
[](https://www.npmjs.com/package/@1771technologies/lytenyte-pro)
|
|
35
|
-
[](https://www.npmjs.com/package/@1771technologies/lytenyte-core)
|
|
36
|
-
[](https://github.com/1771-Technologies/lytenyte/tree/main)
|
|
37
|
-
[](https://www.npmjs.com/package/@1771technologies/lytenyte-pro)
|
|
35
|
+
[](https://www.npmjs.com/package/@1771technologies/lytenyte-core)
|
|
36
|
+
[](https://github.com/1771-Technologies/lytenyte/tree/main)
|
|
37
|
+
[](https://github.com/1771-Technologies/lytenyte)
|
|
38
|
+
[](code_of_conduct.md)
|
|
39
|
+
[](https://github.com/1771-Technologies/lytenyte/actions/workflows/release.yml?query=branch%3Amain)
|
|
40
|
+
[](https://x.com/1771tech)
|
|
41
|
+
[](https://www.linkedin.com/company/1771technologies)
|
|
42
|
+
[](https://youtube.com/@1771technologies)
|
|
43
43
|
|
|
44
44
|
</div>
|
|
45
45
|
|
|
@@ -51,8 +51,6 @@ to **LyteNyte Grid PRO** for advanced enterprise features and support.
|
|
|
51
51
|
|
|
52
52
|

|
|
53
53
|
|
|
54
|
-
---
|
|
55
|
-
|
|
56
54
|
## LyteNyte Editions
|
|
57
55
|
|
|
58
56
|
LyteNyte Grid is available in two editions:
|
|
@@ -66,6 +64,294 @@ LyteNyte Grid is available in two editions:
|
|
|
66
64
|
and advanced filtering. Build custom menus, popovers and dialogs,
|
|
67
65
|
and workflow-driven UIs with ease.
|
|
68
66
|
|
|
67
|
+
## Features
|
|
68
|
+
|
|
69
|
+
<details>
|
|
70
|
+
<summary><b>⚛️ Reactive Architecture</b></summary>
|
|
71
|
+
<br>
|
|
72
|
+
|
|
73
|
+
| Feature | Core | PRO |
|
|
74
|
+
| ---------------------------------------------------------------------------------------------------------- | :--: | :-: |
|
|
75
|
+
| [Declarative Prop Configuration](https://www.1771technologies.com/docs/grid-reactivity#props-as-state) | ✅ | ✅ |
|
|
76
|
+
| [Controlled or Uncontrolled State](https://www.1771technologies.com/docs/grid-reactivity#controlled-state) | ✅ | ✅ |
|
|
77
|
+
| [React Compiler Support](https://www.1771technologies.com/docs/grid-react-compiler) | ✅ | ✅ |
|
|
78
|
+
| [Headless Components](https://www.1771technologies.com/docs/grid-headless-parts) | ✅ | ✅ |
|
|
79
|
+
|
|
80
|
+
</details>
|
|
81
|
+
|
|
82
|
+
<details>
|
|
83
|
+
<summary><b>🔌 API Extensions</b></summary>
|
|
84
|
+
<br>
|
|
85
|
+
|
|
86
|
+
| Feature | Core | PRO |
|
|
87
|
+
| --------------------------------------------------------------------------------------------- | :--: | :-: |
|
|
88
|
+
| [Imperative Method Extensions](https://www.1771technologies.com/docs/grid-api-extensions) | ✅ | ✅ |
|
|
89
|
+
| [Column Extensions](https://www.1771technologies.com/docs/reference/column#extending-columns) | ✅ | ✅ |
|
|
90
|
+
|
|
91
|
+
</details>
|
|
92
|
+
|
|
93
|
+
<details>
|
|
94
|
+
<summary><b>🚀 Virtualization</b></summary>
|
|
95
|
+
<br>
|
|
96
|
+
|
|
97
|
+
| Feature | Core | PRO |
|
|
98
|
+
| ---------------------------------------------------------------------------------- | :--: | :-: |
|
|
99
|
+
| [Row Virtualization](https://www.1771technologies.com/docs/grid-virtualization) | ✅ | ✅ |
|
|
100
|
+
| [Column Virtualization](https://www.1771technologies.com/docs/grid-virtualization) | ✅ | ✅ |
|
|
101
|
+
|
|
102
|
+
</details>
|
|
103
|
+
|
|
104
|
+
<details>
|
|
105
|
+
<summary><b>🎨 Styling & Theming</b></summary>
|
|
106
|
+
<br>
|
|
107
|
+
|
|
108
|
+
| Feature | Core | PRO |
|
|
109
|
+
| ---------------------------------------------------------------------------------------------------------- | :--: | :-: |
|
|
110
|
+
| [Unstyled Support](https://www.1771technologies.com/docs/grid-theming) | ✅ | ✅ |
|
|
111
|
+
| **Styled Themes** | ✅ | ✅ |
|
|
112
|
+
| ↳ [Prebuilt Themes](https://www.1771technologies.com/docs/grid-theming#pre-built-themes) | ✅ | ✅ |
|
|
113
|
+
| ↳ [Tailwind](https://www.1771technologies.com/docs/grid-theming-tailwind) | ✅ | ✅ |
|
|
114
|
+
| ↳ [CSS Modules](https://www.1771technologies.com/docs/grid-theming-css-modules) | ✅ | ✅ |
|
|
115
|
+
| ↳ [CSS-in-JS](https://www.1771technologies.com/docs/grid-theming-emotion) | ✅ | ✅ |
|
|
116
|
+
|
|
117
|
+
</details>
|
|
118
|
+
|
|
119
|
+
<details>
|
|
120
|
+
<summary><b>📋 Rows</b></summary>
|
|
121
|
+
<br>
|
|
122
|
+
|
|
123
|
+
| Feature | Core | PRO |
|
|
124
|
+
| ------------------------------------------------------------------------------------------------------------------------- | :--: | :-: |
|
|
125
|
+
| **Basic Row Operations** | ✅ | ✅ |
|
|
126
|
+
| ↳ [Row Pinning](https://www.1771technologies.com/docs/row-pinning) | ✅ | ✅ |
|
|
127
|
+
| ↳ [Row Spanning](https://www.1771technologies.com/docs/row-spanning) | ✅ | ✅ |
|
|
128
|
+
| **Row Height** | ✅ | ✅ |
|
|
129
|
+
| ↳ [Variable Row Height](https://www.1771technologies.com/docs/row-height#variable-row-height) | ✅ | ✅ |
|
|
130
|
+
| ↳ [Fixed Row Height](https://www.1771technologies.com/docs/row-height#number-row-heights) | ✅ | ✅ |
|
|
131
|
+
| ↳ [Fill Row Height](https://www.1771technologies.com/docs/row-height#fill-row-height) | ✅ | ✅ |
|
|
132
|
+
| [Full Width Rows](https://www.1771technologies.com/docs/row-full-width) | ✅ | ✅ |
|
|
133
|
+
| **Row Dragging / Reordering** | ✅ | ✅ |
|
|
134
|
+
| ↳ [Single Row Dragging](https://www.1771technologies.com/docs/row-dragging#single-row-dragging) | ✅ | ✅ |
|
|
135
|
+
| ↳ [Multi-Row Dragging](https://www.1771technologies.com/docs/row-dragging#multi-row-dragging) | ✅ | ✅ |
|
|
136
|
+
| ↳ [Grid to Grid Dragging](https://www.1771technologies.com/docs/row-dragging#dragging-between-grids) | ✅ | ✅ |
|
|
137
|
+
| ↳ [External Drop Zone Dragging](https://www.1771technologies.com/docs/row-dragging#external-drop-zones) | ✅ | ✅ |
|
|
138
|
+
|
|
139
|
+
</details>
|
|
140
|
+
|
|
141
|
+
<details>
|
|
142
|
+
<summary><b>📊 Columns</b></summary>
|
|
143
|
+
<br>
|
|
144
|
+
|
|
145
|
+
| Feature | Core | PRO |
|
|
146
|
+
| --------------------------------------------------------------------------------------------------------------------------- | :--: | :-: |
|
|
147
|
+
| **Basic Column Operations** | ✅ | ✅ |
|
|
148
|
+
| ↳ [Column Resizing](https://www.1771technologies.com/docs/column-resizing) | ✅ | ✅ |
|
|
149
|
+
| ↳ [Column Pinning](https://www.1771technologies.com/docs/column-pinning) | ✅ | ✅ |
|
|
150
|
+
| ↳ [Column Spanning](https://www.1771technologies.com/docs/column-spanning) | ✅ | ✅ |
|
|
151
|
+
| ↳ [Column Reordering](https://www.1771technologies.com/docs/column-moving) | ✅ | ✅ |
|
|
152
|
+
| ↳ [Column Grouping](https://www.1771technologies.com/docs/column-groups) | ✅ | ✅ |
|
|
153
|
+
| ↳ [Column Visibility](https://www.1771technologies.com/docs/column-visibility) | ✅ | ✅ |
|
|
154
|
+
| **Column Autosizing** | ✅ | ✅ |
|
|
155
|
+
| ↳ [Cell Autosizing](https://www.1771technologies.com/docs/column-autosizing#autosizing-cells) | ✅ | ✅ |
|
|
156
|
+
| ↳ [Header Autosizing](https://www.1771technologies.com/docs/column-autosizing#autosize-header-text) | ✅ | ✅ |
|
|
157
|
+
| ↳ [Double Click Resizing](https://www.1771technologies.com/docs/column-autosizing#double-click-to-resize) | ✅ | ✅ |
|
|
158
|
+
| [Custom Header Render](https://www.1771technologies.com/docs/column-header-renderer) | ✅ | ✅ |
|
|
159
|
+
| [Column Floating Header](https://www.1771technologies.com/docs/column-floating-header) | ✅ | ✅ |
|
|
160
|
+
| [Dynamic Field Computation](https://www.1771technologies.com/docs/column-field) | ✅ | ✅ |
|
|
161
|
+
| [Marker Column](https://www.1771technologies.com/docs/marker-column) | ✅ | ✅ |
|
|
162
|
+
|
|
163
|
+
</details>
|
|
164
|
+
|
|
165
|
+
<details>
|
|
166
|
+
<summary><b>🔲 Cells</b></summary>
|
|
167
|
+
<br>
|
|
168
|
+
|
|
169
|
+
| Feature | Core | PRO |
|
|
170
|
+
| ------------------------------------------------------------------------------- | :--: | :-: |
|
|
171
|
+
| [Cell Rendering](https://www.1771technologies.com/docs/cell-renderers) | ✅ | ✅ |
|
|
172
|
+
| [Cell Diff Flashing](https://www.1771technologies.com/docs/cell-diff-flashing) | ✅ | ✅ |
|
|
173
|
+
| [Cell Tooltips & Popovers](https://www.1771technologies.com/docs/cell-tooltips) | ✅ | ✅ |
|
|
174
|
+
|
|
175
|
+
</details>
|
|
176
|
+
|
|
177
|
+
<details>
|
|
178
|
+
<summary><b>🔀 Sorting</b></summary>
|
|
179
|
+
<br>
|
|
180
|
+
|
|
181
|
+
| Feature | Core | PRO |
|
|
182
|
+
| ---------------------------------------------------------------------------------------------------- | :--: | :-: |
|
|
183
|
+
| [Single Column Sort](https://www.1771technologies.com/docs/client-source-row-sorting#sort-functions) | ✅ | ✅ |
|
|
184
|
+
| [Multi Column Sort](https://www.1771technologies.com/docs/client-source-row-sorting#dimension-sorts) | ✅ | ✅ |
|
|
185
|
+
| [Custom Dynamic Sort](https://www.1771technologies.com/docs/client-source-row-sorting) | ✅ | ✅ |
|
|
186
|
+
|
|
187
|
+
</details>
|
|
188
|
+
|
|
189
|
+
<details>
|
|
190
|
+
<summary><b>☑️ Selection</b> </summary>
|
|
191
|
+
<br>
|
|
192
|
+
|
|
193
|
+
| Feature | Core | PRO |
|
|
194
|
+
| ------------------------------------------------------------------------------------------------------------------------ | :--: | :-: |
|
|
195
|
+
| **Row Selection** | ✅ | ✅ |
|
|
196
|
+
| ↳ [Single Row Selection](https://www.1771technologies.com/docs/row-selection#enabling-row-selection) | ✅ | ✅ |
|
|
197
|
+
| ↳ [Multi Row Selection](https://www.1771technologies.com/docs/row-selection#multiple-row-selection) | ✅ | ✅ |
|
|
198
|
+
| ↳ [Checkbox Row Selection](https://www.1771technologies.com/docs/row-selection#checkbox-selection) | ✅ | ✅ |
|
|
199
|
+
| ↳ [Isolated Row Selection](https://www.1771technologies.com/docs/row-selection#isolated-row-selection) | ✅ | ✅ |
|
|
200
|
+
| ↳ [Linked Row Selection](https://www.1771technologies.com/docs/row-selection#linked-row-selection) | ✅ | ✅ |
|
|
201
|
+
| [Cell Selection](https://www.1771technologies.com/docs/cell-selection#single-range-selection) | — | ✅ |
|
|
202
|
+
| [Cell Range Selection](https://www.1771technologies.com/docs/cell-selection#multi-range-selection) | — | ✅ |
|
|
203
|
+
|
|
204
|
+
</details>
|
|
205
|
+
|
|
206
|
+
<details>
|
|
207
|
+
<summary><b>✏️ Editing</b></summary>
|
|
208
|
+
<br>
|
|
209
|
+
|
|
210
|
+
| Feature | Core | PRO |
|
|
211
|
+
| ------------------------------------------------------------------------------------------------------------- | :--: | :-: |
|
|
212
|
+
| **Cell Editing** | ✅ | ✅ |
|
|
213
|
+
| ↳ [Basic Cell Edits](https://www.1771technologies.com/docs/cell-editing#basic-cell-editing) | ✅ | ✅ |
|
|
214
|
+
| ↳ [Linked Cell Edits](https://www.1771technologies.com/docs/cell-editing-linked-cell-edits) | ✅ | ✅ |
|
|
215
|
+
| ↳ [Full Row Editing](https://www.1771technologies.com/docs/cell-editing-full-row) | ✅ | ✅ |
|
|
216
|
+
| ↳ [Bulk Cell Editing](https://www.1771technologies.com/docs/cell-editing-bulk-editing) | ✅ | ✅ |
|
|
217
|
+
| [Edit Validation](https://www.1771technologies.com/docs/cell-editing-validation) | ✅ | ✅ |
|
|
218
|
+
| [Custom Cell Editors](https://www.1771technologies.com/docs/cell-editing-renderers) | ✅ | ✅ |
|
|
219
|
+
| [Programmatic Editing](https://www.1771technologies.com/docs/cell-editing#programmatic-editing) | ✅ | ✅ |
|
|
220
|
+
|
|
221
|
+
</details>
|
|
222
|
+
|
|
223
|
+
<details>
|
|
224
|
+
<summary><b>🔍 Filtering</b> </summary>
|
|
225
|
+
<br>
|
|
226
|
+
|
|
227
|
+
| Feature | Core | PRO |
|
|
228
|
+
| -------------------------------------------------------------------------------------------------------------------- | :--: | :-: |
|
|
229
|
+
| **Column Filters** | ✅ | ✅ |
|
|
230
|
+
| ↳ [Text Filters](https://www.1771technologies.com/docs/filtering-text) | ✅ | ✅ |
|
|
231
|
+
| ↳ [Number Filters](https://www.1771technologies.com/docs/filtering-numbers) | ✅ | ✅ |
|
|
232
|
+
| ↳ [Date Filters](https://www.1771technologies.com/docs/filtering-dates) | ✅ | ✅ |
|
|
233
|
+
| [Quick Search Filter](https://www.1771technologies.com/docs/filtering-quick-search) | ✅ | ✅ |
|
|
234
|
+
| [Label Filters](https://www.1771technologies.com/docs/client-source-label-filters) | — | ✅ |
|
|
235
|
+
| **Advanced Filters** | - | ✅ |
|
|
236
|
+
| ↳ [Set Filters](https://www.1771technologies.com/docs/filtering-set-filters#basic-set-filtering) | ✅ | ✅ |
|
|
237
|
+
| ↳ [Tree Set Filters](https://www.1771technologies.com/docs/filtering-set-filters#tree-set-filters) | ✅ | ✅ |
|
|
238
|
+
| ↳ [Having Filters](https://www.1771technologies.com/docs/client-source-having-filters) | — | ✅ |
|
|
239
|
+
|
|
240
|
+
</details>
|
|
241
|
+
|
|
242
|
+
<details>
|
|
243
|
+
<summary><b>📦 Grouping & Aggregations</b></summary>
|
|
244
|
+
<br>
|
|
245
|
+
|
|
246
|
+
| Feature | Core | PRO |
|
|
247
|
+
| ------------------------------------------------------------------------------------------------------------------------------------ | :--: | :-: |
|
|
248
|
+
| **Row Grouping** | ✅ | ✅ |
|
|
249
|
+
| ↳ [Uniform Row Groups](https://www.1771technologies.com/docs/client-source-row-grouping#grouping-function) | ✅ | ✅ |
|
|
250
|
+
| ↳ [Non-uniform Row Groups](https://www.1771technologies.com/docs/client-source-row-grouping#non-uniform-groups) | ✅ | ✅ |
|
|
251
|
+
| ↳ [Dynamic Group Dimensions](https://www.1771technologies.com/docs/client-source-row-grouping#grouping-dimensions) | ✅ | ✅ |
|
|
252
|
+
| [Aggregations](https://www.1771technologies.com/docs/client-source-aggregations) | ✅ | ✅ |
|
|
253
|
+
| **Master Detail** | ✅ | ✅ |
|
|
254
|
+
| ↳ [Row Master Detail](https://www.1771technologies.com/docs/row-detail) | ✅ | ✅ |
|
|
255
|
+
| ↳ [Auto Height Master Detail](https://www.1771technologies.com/docs/row-detail#row-detail-height) | ✅ | ✅ |
|
|
256
|
+
| ↳ [Nested Grids](https://www.1771technologies.com/docs/row-detail#nested-grids) | ✅ | ✅ |
|
|
257
|
+
| ↳ [Custom Detail Content](https://www.1771technologies.com/docs/row-detail) | ✅ | ✅ |
|
|
258
|
+
|
|
259
|
+
</details>
|
|
260
|
+
|
|
261
|
+
<details>
|
|
262
|
+
<summary><b>🔄 Pivoting</b> </summary>
|
|
263
|
+
<br>
|
|
264
|
+
|
|
265
|
+
| Feature | Core | PRO |
|
|
266
|
+
| -------------------------------------------------------------------------------------- | :--: | :-: |
|
|
267
|
+
| [Row & Column Pivots](https://www.1771technologies.com/docs/pivoting-columns-and-rows) | — | ✅ |
|
|
268
|
+
| [Pivot Measures](https://www.1771technologies.com/docs/pivoting-measures) | — | ✅ |
|
|
269
|
+
| [Pivot Sorting](https://www.1771technologies.com/docs/pivoting-sorting) | — | ✅ |
|
|
270
|
+
| [Pivot Filtering](https://www.1771technologies.com/docs/pivoting-filtering) | — | ✅ |
|
|
271
|
+
| [Grand Totals](https://www.1771technologies.com/docs/pivoting-grand-totals) | — | ✅ |
|
|
272
|
+
|
|
273
|
+
</details>
|
|
274
|
+
|
|
275
|
+
<details>
|
|
276
|
+
<summary><b>🌲 Tree Data</b> </summary>
|
|
277
|
+
<br>
|
|
278
|
+
|
|
279
|
+
| Feature | Core | PRO |
|
|
280
|
+
| ----------------------------------------------------------------------------------------- | :--: | :-: |
|
|
281
|
+
| [Custom Object Mappings](https://www.1771technologies.com/docs/tree-source-data) | — | ✅ |
|
|
282
|
+
| [JSON Object Editing](https://www.1771technologies.com/docs/tree-source-data-editing) | — | ✅ |
|
|
283
|
+
| [Dynamic Tree Creation](https://www.1771technologies.com/docs/tree-source-data#root-rows) | — | ✅ |
|
|
284
|
+
|
|
285
|
+
</details>
|
|
286
|
+
|
|
287
|
+
<details>
|
|
288
|
+
<summary><b>🌐 Server Data Loading</b> </summary>
|
|
289
|
+
<br>
|
|
290
|
+
|
|
291
|
+
| Feature | Core | PRO |
|
|
292
|
+
| --------------------------------------------------------------------------------------------------------------------------------- | :--: | :-: |
|
|
293
|
+
| **Basic Server Operations** | — | ✅ |
|
|
294
|
+
| ↳ [Server Row Sorting](https://www.1771technologies.com/docs/server-data-loading-row-sorting) | — | ✅ |
|
|
295
|
+
| ↳ [Server Row Filtering](https://www.1771technologies.com/docs/server-data-loading-row-filtering) | — | ✅ |
|
|
296
|
+
| ↳ [Server Row Pinning](https://www.1771technologies.com/docs/server-data-loading-row-pinning) | — | ✅ |
|
|
297
|
+
| ↳ [Server Row Grouping](https://www.1771technologies.com/docs/server-data-loading-row-grouping-and-aggregation) | — | ✅ |
|
|
298
|
+
| [Server Tree Data](https://www.1771technologies.com/docs/server-data-loading-unbalanced-rows) | — | ✅ |
|
|
299
|
+
| [Server Cell Editing](https://www.1771technologies.com/docs/server-data-loading-cell-editing) | — | ✅ |
|
|
300
|
+
| [Data Updates](https://www.1771technologies.com/docs/server-data-loading-row-updating) | — | ✅ |
|
|
301
|
+
| [Optimistic Data Loading](https://www.1771technologies.com/docs/server-data-loading-optimistic-loading) | — | ✅ |
|
|
302
|
+
| [Paginated Row Data](https://www.1771technologies.com/docs/paginated-rs-rows) | — | ✅ |
|
|
303
|
+
| [Infinite Row Data](https://www.1771technologies.com/docs/infinite-rs-rows) | — | ✅ |
|
|
304
|
+
| [Server Data Interface](https://www.1771technologies.com/docs/server-data-loading-interface) | — | ✅ |
|
|
305
|
+
|
|
306
|
+
</details>
|
|
307
|
+
|
|
308
|
+
<details>
|
|
309
|
+
<summary><b>🧩 Prebuilt Components</b> </summary>
|
|
310
|
+
<br>
|
|
311
|
+
|
|
312
|
+
| Feature | Core | PRO |
|
|
313
|
+
| -------------------------------------------------------------------------------------------------------- | :--: | :-: |
|
|
314
|
+
| [Pill Manager](https://www.1771technologies.com/docs/component-pill-manager) | — | ✅ |
|
|
315
|
+
| [Column Manager](https://www.1771technologies.com/docs/component-column-manager) | — | ✅ |
|
|
316
|
+
| [Tree View](https://www.1771technologies.com/docs/component-tree-view) | — | ✅ |
|
|
317
|
+
| [Dialog & Popovers](https://www.1771technologies.com/docs/component-dialog) | — | ✅ |
|
|
318
|
+
| [Menus & Context Menus](https://www.1771technologies.com/docs/component-menu-button) | — | ✅ |
|
|
319
|
+
| **Other Prebuilt Components** | - | ✅ |
|
|
320
|
+
| ↳ [Smart Select](https://www.1771technologies.com/docs/component-smart-select) | — | ✅ |
|
|
321
|
+
| ↳ [Grid Overlays](https://www.1771technologies.com/docs/component-grid-overlays) | ✅ | ✅ |
|
|
322
|
+
| ↳ [Viewport Shadows](https://www.1771technologies.com/docs/component-viewport-shadows) | ✅ | ✅ |
|
|
323
|
+
| ↳ [Select All](https://www.1771technologies.com/docs/component-select-all) | — | ✅ |
|
|
324
|
+
| ↳ [Row Group Cell](https://www.1771technologies.com/docs/component-row-group-cell) | — | ✅ |
|
|
325
|
+
|
|
326
|
+
</details>
|
|
327
|
+
|
|
328
|
+
<details>
|
|
329
|
+
<summary><b>📤 Import & Export</b> </summary>
|
|
330
|
+
<br>
|
|
331
|
+
|
|
332
|
+
| Feature | Core | PRO |
|
|
333
|
+
| ------------------------------------------------------------------------------------------ | :--: | :-: |
|
|
334
|
+
| **Data Export** | ✅ | ✅ |
|
|
335
|
+
| ↳ [Excel Export](https://www.1771technologies.com/docs/export-excel) | ✅ | ✅ |
|
|
336
|
+
| ↳ [CSV Export](https://www.1771technologies.com/docs/export-csv) | ✅ | ✅ |
|
|
337
|
+
| ↳ [Parquet Export](https://www.1771technologies.com/docs/export-parquet) | ✅ | ✅ |
|
|
338
|
+
| ↳ [Arrow Export](https://www.1771technologies.com/docs/export-arrow) | ✅ | ✅ |
|
|
339
|
+
| [Clipboard Operations](https://www.1771technologies.com/docs/export-clipboard) | — | ✅ |
|
|
340
|
+
|
|
341
|
+
</details>
|
|
342
|
+
|
|
343
|
+
<details>
|
|
344
|
+
<summary><b>⌨️ Keyboard & Accessibility</b></summary>
|
|
345
|
+
<br>
|
|
346
|
+
|
|
347
|
+
| Feature | Core | PRO |
|
|
348
|
+
| -------------------------------------------------------------------- | :--: | :-: |
|
|
349
|
+
| [Keyboard](https://www.1771technologies.com/docs/keyboard) | ✅ | ✅ |
|
|
350
|
+
| [Accessibility](https://www.1771technologies.com/docs/accessibility) | ✅ | ✅ |
|
|
351
|
+
| [RTL Support](https://www.1771technologies.com/docs/rtl-support) | ✅ | ✅ |
|
|
352
|
+
|
|
353
|
+
</details>
|
|
354
|
+
|
|
69
355
|
## Key Design Principles
|
|
70
356
|
|
|
71
357
|
- **Performance-First:** LyteNyte Grid is engineered with speed as a fundamental
|
|
@@ -3,8 +3,7 @@ import { forwardRef, useEffect, useRef, useState } from "react";
|
|
|
3
3
|
import { useDialogRoot } from "./context.js";
|
|
4
4
|
import { arrow, autoUpdate, computePosition, flip, hide, inline, offset, shift, } from "../../external/floating-ui.js";
|
|
5
5
|
import { transformOrigin } from "./transform-origin.js";
|
|
6
|
-
import { FocusTrap } from "@1771technologies/lytenyte-shared";
|
|
7
|
-
import { getActiveElement, getTabbables, SCROLL_LOCKER } from "@1771technologies/lytenyte-shared";
|
|
6
|
+
import { FocusTrap, getActiveElement, getTabbables, SCROLL_LOCKER } from "@1771technologies/lytenyte-shared";
|
|
8
7
|
import { useCombinedRefs } from "@1771technologies/lytenyte-core/internal";
|
|
9
8
|
import { useTransitioned } from "../../../hooks/use-transitioned-open.js";
|
|
10
9
|
function DialogContainerBase(props, ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type SlotComponent } from "../hooks/use-slot/index.js";
|
|
2
|
-
import type { API, GridSpec } from "../types
|
|
2
|
+
import type { API, GridSpec } from "../types.js";
|
|
3
3
|
export interface SelectAllProps {
|
|
4
4
|
readonly slot?: SlotComponent<{
|
|
5
5
|
readonly indeterminate: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { GridSpec } from "../../types/grid.js";
|
|
2
1
|
import type { UseClientDataSourceParams } from "../use-client-data-source.js";
|
|
3
2
|
import type { SourceState } from "./use-controlled-ds-state.js";
|
|
4
3
|
import { type LeafNodeTuple } from "@1771technologies/lytenyte-core/internal";
|
|
4
|
+
import type { GridSpec } from "@1771technologies/lytenyte-core/types";
|
|
5
5
|
export declare function useFlattenedData<Spec extends GridSpec>(props: UseClientDataSourceParams<Spec>, [leafsTop, leafs, leafsBot, pinMap]: LeafNodeTuple<Spec["data"]>, { expandedFn }: SourceState): {
|
|
6
6
|
tree: import("./use-group-tree/use-group-tree.js").RootNode<Spec["data"]> | null;
|
|
7
7
|
maxDepth: number;
|
package/dist/data-source-client/hooks/use-pivot/auxiliary-functions/apply-reference-column.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Column, GridSpec } from "../../../../types
|
|
1
|
+
import type { Column, GridSpec } from "../../../../types.js";
|
|
2
2
|
export declare function applyReferenceColumn<Spec extends GridSpec>(pivotColumn: Column<Spec>, reference: Omit<Column<Spec>, "id"> | undefined): Column<Spec>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { RowLeaf } from "@1771technologies/lytenyte-shared";
|
|
2
2
|
import type { PivotModel } from "../../../use-client-data-source";
|
|
3
|
-
import type { GridSpec } from "../../../../types
|
|
3
|
+
import type { GridSpec } from "../../../../types.js";
|
|
4
4
|
export declare function pivotPaths<Spec extends GridSpec>(filtered: number[], leafs: RowLeaf<Spec["data"]>[], columns: Required<PivotModel<Spec>>["columns"], measures: PivotModel<Spec>["measures"], labelFilter: PivotModel<Spec>["colLabelFilter"]): string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Column, GridSpec } from "../../../types
|
|
1
|
+
import type { Column, GridSpec } from "../../../types.js";
|
|
2
2
|
import type { PivotModel } from "../../use-client-data-source.js";
|
|
3
3
|
import type { AggregationFn, Aggregator } from "@1771technologies/lytenyte-shared";
|
|
4
4
|
export declare function usePivotAggFunction<Spec extends GridSpec>(pivotColumns: Column<Spec>[] | null, model: PivotModel<Spec> | undefined, aggs?: Record<string, Aggregator<Spec["data"]>>): AggregationFn<Spec["data"]> | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PivotModel } from "../../use-client-data-source";
|
|
2
|
-
import type { Column, GridSpec } from "../../../types
|
|
2
|
+
import type { Column, GridSpec } from "../../../types.js";
|
|
3
3
|
import { type ColumnPin, type RowLeaf } from "@1771technologies/lytenyte-shared";
|
|
4
4
|
import type { ControlledPivotState } from "./use-pivot-state";
|
|
5
5
|
export interface PivotState {
|
|
@@ -26,7 +26,7 @@ export declare function usePivotData<Spec extends GridSpec>(props: UseClientData
|
|
|
26
26
|
depth: number;
|
|
27
27
|
}[];
|
|
28
28
|
sorted: number[];
|
|
29
|
-
pivotPiece: import("@1771technologies/lytenyte-core").Piece<import("
|
|
29
|
+
pivotPiece: import("@1771technologies/lytenyte-core").Piece<import("@1771technologies/lytenyte-core/types").Column<Spec>[] | null>;
|
|
30
30
|
pivotGroupPiece: import("@1771technologies/lytenyte-core").Piece<Record<string, boolean>>;
|
|
31
31
|
groupFn: import("@1771technologies/lytenyte-shared").GroupFn<Spec["data"]> | null;
|
|
32
32
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GridSpec } from "../../../types
|
|
1
|
+
import type { GridSpec } from "../../../types.js";
|
|
2
2
|
import type { GroupFn } from "@1771technologies/lytenyte-shared";
|
|
3
3
|
import type { PivotModel } from "../../use-client-data-source.js";
|
|
4
4
|
export declare function usePivotGroupFn<Spec extends GridSpec>(pivotMode: boolean, model: PivotModel<Spec> | undefined): GroupFn<Spec["data"]> | null;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { AggregationFn, Aggregator, Dimension, DimensionAgg, DimensionSort, FilterFn, GroupFn, GroupIdFn, LeafIdFn, RowGroup, RowLeaf, RowNode, RowSelectionState, RowSource, SortFn } from "@1771technologies/lytenyte-shared";
|
|
2
|
-
import type { Column, Field } from "../types/column.js";
|
|
3
|
-
import type { GridSpec } from "../types/grid.js";
|
|
4
2
|
import type { PivotState } from "./hooks/use-pivot/use-pivot-columns.js";
|
|
5
|
-
import type { Props } from "../types
|
|
3
|
+
import type { Column, Field, GridSpec, Props } from "../types.js";
|
|
6
4
|
export type PivotField<Spec extends GridSpec = GridSpec> = {
|
|
7
5
|
field?: Field<Spec["data"]>;
|
|
8
6
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Grid as GridCore } from "@1771technologies/lytenyte-core";
|
|
|
3
3
|
import type { PropsWithChildren, ReactNode } from "react";
|
|
4
4
|
import { Root } from "./root/root.js";
|
|
5
5
|
import type { RowSource } from "@1771technologies/lytenyte-shared";
|
|
6
|
-
import type * as LnTypes from "./types
|
|
6
|
+
import type * as LnTypes from "./types.js";
|
|
7
7
|
export interface GridComponent {
|
|
8
8
|
<Spec extends Root.GridSpec = Root.GridSpec>(props: PropsWithChildren<Root.Props<Spec> & (undefined extends Spec["api"] ? unknown : {
|
|
9
9
|
apiExtension: ((incomplete: Root.API<Spec>) => Spec["api"] | null) | Spec["api"];
|
|
@@ -98,13 +98,11 @@ export declare namespace Grid {
|
|
|
98
98
|
type PositionHeaderCell = LnTypes.PositionHeaderCell;
|
|
99
99
|
type PositionHeaderGroupCell = LnTypes.PositionHeaderGroupCell;
|
|
100
100
|
type PositionUnion = LnTypes.PositionUnion;
|
|
101
|
-
type DataRectSplit = LnTypes.DataRectSplit;
|
|
102
101
|
type HavingFilterFn = LnTypes.HavingFilterFn;
|
|
103
102
|
type LabelFilter = LnTypes.LabelFilter;
|
|
104
103
|
type PivotField<Spec extends GridSpec> = LnTypes.PivotField<Spec>;
|
|
105
104
|
type PivotModel<Spec extends GridSpec> = LnTypes.PivotModel<Spec>;
|
|
106
105
|
type PivotState = LnTypes.PivotState;
|
|
107
|
-
type VirtualTarget = LnTypes.VirtualTarget;
|
|
108
106
|
}
|
|
109
107
|
}
|
|
110
108
|
export type { UseClientDataSourceParams, RowSourceClient, } from "./data-source-client/use-client-data-source.js";
|
package/dist/root/root.d.ts
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
+
import type * as Core from "@1771technologies/lytenyte-core/types";
|
|
1
2
|
import { type PropsWithChildren, type ReactNode } from "react";
|
|
2
|
-
import type { GridSpec as LnSpec } from "../types/grid.js";
|
|
3
|
-
import type { Column as LnColumn } from "../types/column.js";
|
|
4
|
-
import type { API as LnAPI } from "../types/api.js";
|
|
5
|
-
import type { Props as LnProps } from "../types/props.js";
|
|
6
3
|
import type { RowSource } from "@1771technologies/lytenyte-shared";
|
|
7
4
|
export declare const Root: <Spec extends Root.GridSpec = Root.GridSpec>(props: PropsWithChildren<Root.Props<Spec> & (undefined extends Spec["api"] ? object : {
|
|
8
5
|
apiExtension: Spec["api"];
|
|
9
6
|
})>) => ReactNode;
|
|
10
7
|
export declare namespace Root {
|
|
11
|
-
type GridSpec<T = unknown, C extends Record<string, any> = object, S extends RowSource<T> = RowSource, E extends Record<string, any> = object> =
|
|
12
|
-
type Props<Spec extends GridSpec = GridSpec> =
|
|
13
|
-
type API<Spec extends GridSpec = GridSpec> =
|
|
14
|
-
type Column<Spec extends GridSpec = GridSpec> =
|
|
8
|
+
type GridSpec<T = unknown, C extends Record<string, any> = object, S extends RowSource<T> = RowSource, E extends Record<string, any> = object> = Core.GridSpec<T, C, S, E>;
|
|
9
|
+
type Props<Spec extends GridSpec = GridSpec> = Core.Props<Spec>;
|
|
10
|
+
type API<Spec extends GridSpec = GridSpec> = Core.API<Spec>;
|
|
11
|
+
type Column<Spec extends GridSpec = GridSpec> = Core.Column<Spec>;
|
|
15
12
|
}
|
package/dist/root/root.js
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
2
|
-
import {
|
|
3
|
-
import { forwardRef, memo, useEffect
|
|
4
|
-
import { useProAPI } from "./hooks/use-pro-api.js";
|
|
5
|
-
import { ProRootProvider } from "./context.js";
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Root as RootCore } from "@1771technologies/lytenyte-core/internal";
|
|
3
|
+
import { forwardRef, memo, useEffect } from "react";
|
|
6
4
|
import { hasAValidLicense, licenseState } from "../license.js";
|
|
7
|
-
|
|
8
|
-
import { CellSelectionDriver } from "../cell-selection/cell-selection-driver/cell-selection-driver.js";
|
|
9
|
-
import { CellSelectionBottom, CellSelectionCenter, CellSelectionTop, } from "../cell-selection/cell-selection-containers.js";
|
|
10
|
-
import { splitCellSelectionRect } from "../cell-selection/split-cell-selection-rect.js";
|
|
11
|
-
const RootWrapper = ({ children, ...p }, forwarded) => {
|
|
5
|
+
const RootWrapper = (props, forwarded) => {
|
|
12
6
|
useEffect(() => {
|
|
13
7
|
if (hasAValidLicense)
|
|
14
8
|
return;
|
|
@@ -35,78 +29,6 @@ const RootWrapper = ({ children, ...p }, forwarded) => {
|
|
|
35
29
|
document.body.appendChild(invalidLicenseWatermark);
|
|
36
30
|
return () => invalidLicenseWatermark.remove();
|
|
37
31
|
}, []);
|
|
38
|
-
|
|
39
|
-
? {
|
|
40
|
-
ln_topComponent: CellSelectionTop,
|
|
41
|
-
ln_bottomComponent: CellSelectionBottom,
|
|
42
|
-
ln_centerComponent: CellSelectionCenter,
|
|
43
|
-
}
|
|
44
|
-
: {};
|
|
45
|
-
return (_jsx(RootCore, { ref: forwarded, ...p, ...components, __noFallback: true, children: _jsx(RootImpl, { ...p, children: children }) }));
|
|
46
|
-
};
|
|
47
|
-
const RootImpl = ({ children, ...p }) => {
|
|
48
|
-
const { view, source } = useRoot();
|
|
49
|
-
const cellSelectionMode = p.cellSelectionMode ?? "none";
|
|
50
|
-
const [cellSelections, setCellSelections] = useControlled({
|
|
51
|
-
controlled: p.cellSelections,
|
|
52
|
-
default: [],
|
|
53
|
-
});
|
|
54
|
-
const onCellSelectionChange = useEvent((rects) => {
|
|
55
|
-
p.onCellSelectionChange?.(rects);
|
|
56
|
-
setCellSelections(rects);
|
|
57
|
-
});
|
|
58
|
-
const api = useProAPI(cellSelections);
|
|
59
|
-
const [cellSelectionPivot, setSelectionPivot] = useState(null);
|
|
60
|
-
const [cellSelectionAdditiveRects, setCellSelectionAdditiveRects] = useState(null);
|
|
61
|
-
const cellSelectionIsDeselect = useRef(false);
|
|
62
|
-
const topCount = source.useTopCount();
|
|
63
|
-
const rowCount = source.useRowCount();
|
|
64
|
-
const botCount = source.useBottomCount();
|
|
65
|
-
const cellSelectionSplits = useMemo(() => {
|
|
66
|
-
const centerCount = rowCount - topCount - botCount;
|
|
67
|
-
const selections = cellSelections;
|
|
68
|
-
const splits = selections.flatMap((rect) => {
|
|
69
|
-
return splitCellSelectionRect({
|
|
70
|
-
rect,
|
|
71
|
-
rowTopCount: topCount,
|
|
72
|
-
rowCenterCount: centerCount,
|
|
73
|
-
colStartCount: view.startCount,
|
|
74
|
-
colCenterCount: view.centerCount,
|
|
75
|
-
});
|
|
76
|
-
});
|
|
77
|
-
return splits;
|
|
78
|
-
}, [botCount, cellSelections, rowCount, topCount, view.centerCount, view.startCount]);
|
|
79
|
-
const excludeMarker = Boolean(p.columnMarker?.on && p.cellSelectionExcludeMarker);
|
|
80
|
-
const value = useMemo(() => {
|
|
81
|
-
return {
|
|
82
|
-
api,
|
|
83
|
-
excludeMarker,
|
|
84
|
-
keepSelection: p.cellSelectionMaintainOnNonCellPosition ?? false,
|
|
85
|
-
cellSelectionMode,
|
|
86
|
-
cellSelections,
|
|
87
|
-
cellSelectionPivot,
|
|
88
|
-
setSelectionPivot: setSelectionPivot,
|
|
89
|
-
onCellSelectionChange,
|
|
90
|
-
cellSelectionAdditiveRects,
|
|
91
|
-
setCellSelectionAdditiveRects,
|
|
92
|
-
cellSelectionIsDeselect,
|
|
93
|
-
cellSelectionSplits,
|
|
94
|
-
};
|
|
95
|
-
}, [
|
|
96
|
-
api,
|
|
97
|
-
excludeMarker,
|
|
98
|
-
p.cellSelectionMaintainOnNonCellPosition,
|
|
99
|
-
cellSelectionMode,
|
|
100
|
-
cellSelections,
|
|
101
|
-
cellSelectionPivot,
|
|
102
|
-
onCellSelectionChange,
|
|
103
|
-
cellSelectionAdditiveRects,
|
|
104
|
-
cellSelectionSplits,
|
|
105
|
-
]);
|
|
106
|
-
const cellSelectionsPiece = usePiece(cellSelections);
|
|
107
|
-
return (_jsx(LnInternalShareProvider, { value: useMemo(() => ({
|
|
108
|
-
cellSelections: cellSelectionsPiece,
|
|
109
|
-
hasCellSelection: (p.cellSelectionMode ?? "none") !== "none",
|
|
110
|
-
}), [cellSelectionsPiece, p.cellSelectionMode]), children: _jsxs(ProRootProvider, { value: value, children: [cellSelectionMode !== "none" && _jsx(CellSelectionDriver, {}), children ?? _jsx(Fallback, {})] }) }));
|
|
32
|
+
return _jsx(RootCore, { ref: forwarded, ...props });
|
|
111
33
|
};
|
|
112
34
|
export const Root = memo(forwardRef(RootWrapper));
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type * from "@1771technologies/lytenyte-core/types";
|
|
2
|
+
export type { HavingFilterFn, PivotField, PivotModel, LabelFilter, } from "./data-source-client/use-client-data-source.js";
|
|
3
|
+
export type { PivotState } from "./data-source-client/hooks/use-pivot/use-pivot-columns.js";
|