@1771technologies/lytenyte-pro 1.0.12-dev.0 → 1.0.12-dev.1
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/package.json +7 -7
- package/dist/+types.d.ts +0 -5836
- package/dist/+types.js +0 -1
- 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 -2
- package/dist/cell-selection/bound-selection-rect.js +0 -17
- package/dist/cell-selection/cell-selection-containers.d.ts +0 -3
- package/dist/cell-selection/cell-selection-containers.js +0 -91
- package/dist/cell-selection/cell-selection-driver.d.ts +0 -1
- package/dist/cell-selection/cell-selection-driver.js +0 -285
- package/dist/cell-selection/cell-style-row.d.ts +0 -8
- package/dist/cell-selection/cell-style-row.js +0 -84
- 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-cell-selection-down.d.ts +0 -5
- package/dist/cell-selection/expand-cell-selection-down.js +0 -39
- package/dist/cell-selection/expand-cell-selection-end.d.ts +0 -5
- package/dist/cell-selection/expand-cell-selection-end.js +0 -40
- package/dist/cell-selection/expand-cell-selection-start.d.ts +0 -5
- package/dist/cell-selection/expand-cell-selection-start.js +0 -39
- package/dist/cell-selection/expand-cell-selection-up.d.ts +0 -5
- package/dist/cell-selection/expand-cell-selection-up.js +0 -39
- package/dist/cell-selection/full-width-start-end-index.d.ts +0 -2
- package/dist/cell-selection/full-width-start-end-index.js +0 -5
- package/dist/cell-selection/get-root-cell.d.ts +0 -2
- package/dist/cell-selection/get-root-cell.js +0 -6
- package/dist/cell-selection/index.d.ts +0 -18
- package/dist/cell-selection/index.js +0 -18
- package/dist/cell-selection/is-bottom-rect.d.ts +0 -2
- package/dist/cell-selection/is-bottom-rect.js +0 -7
- package/dist/cell-selection/is-center-col-rect.d.ts +0 -5
- package/dist/cell-selection/is-center-col-rect.js +0 -5
- package/dist/cell-selection/is-center-rect.d.ts +0 -2
- package/dist/cell-selection/is-center-rect.js +0 -5
- package/dist/cell-selection/is-end-rect.d.ts +0 -5
- package/dist/cell-selection/is-end-rect.js +0 -4
- package/dist/cell-selection/is-overlapping-rect.d.ts +0 -2
- package/dist/cell-selection/is-overlapping-rect.js +0 -6
- package/dist/cell-selection/is-start-rect.d.ts +0 -5
- package/dist/cell-selection/is-start-rect.js +0 -4
- package/dist/cell-selection/is-top-rect.d.ts +0 -2
- package/dist/cell-selection/is-top-rect.js +0 -4
- 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 -46
- package/dist/cell-selection/split-cell-selection-rect.js +0 -88
- package/dist/cell-selection/split-on-pivot.d.ts +0 -3
- package/dist/cell-selection/split-on-pivot.js +0 -50
- package/dist/cell-selection/update-additive-cell-selection.d.ts +0 -5
- package/dist/cell-selection/update-additive-cell-selection.js +0 -23
- package/dist/cell-selection/use-edge-scroll.d.ts +0 -10
- package/dist/cell-selection/use-edge-scroll.js +0 -66
- package/dist/cells/+types.cell.d.ts +0 -13
- package/dist/cells/+types.cell.js +0 -1
- package/dist/cells/cell-default.d.ts +0 -2
- package/dist/cells/cell-default.js +0 -8
- package/dist/cells/cell-editor.d.ts +0 -6
- package/dist/cells/cell-editor.js +0 -103
- package/dist/cells/cell-spacer.d.ts +0 -9
- package/dist/cells/cell-spacer.js +0 -34
- package/dist/cells/cell.d.ts +0 -5
- package/dist/cells/cell.js +0 -43
- package/dist/cells/use-cell-style.d.ts +0 -3
- package/dist/cells/use-cell-style.js +0 -51
- package/dist/column-manager/branch-lookup-context.d.ts +0 -4
- package/dist/column-manager/branch-lookup-context.js +0 -3
- package/dist/column-manager/branch.d.ts +0 -15
- package/dist/column-manager/branch.js +0 -54
- package/dist/column-manager/column-manager.d.ts +0 -13
- package/dist/column-manager/column-manager.js +0 -18
- package/dist/column-manager/context.d.ts +0 -7
- package/dist/column-manager/context.js +0 -3
- package/dist/column-manager/label.d.ts +0 -5
- package/dist/column-manager/label.js +0 -18
- package/dist/column-manager/leaf.d.ts +0 -6
- package/dist/column-manager/leaf.js +0 -58
- package/dist/column-manager/move-handle.d.ts +0 -5
- package/dist/column-manager/move-handle.js +0 -73
- package/dist/column-manager/panel.d.ts +0 -1
- package/dist/column-manager/panel.js +0 -2
- package/dist/column-manager/root.d.ts +0 -8
- package/dist/column-manager/root.js +0 -7
- package/dist/column-manager/use-column-manager.d.ts +0 -10
- package/dist/column-manager/use-column-manager.js +0 -24
- package/dist/column-manager/use-columns-from-context.d.ts +0 -3
- package/dist/column-manager/use-columns-from-context.js +0 -23
- package/dist/column-manager/visibility-checkbox.d.ts +0 -9
- package/dist/column-manager/visibility-checkbox.js +0 -30
- package/dist/context.d.ts +0 -10
- package/dist/context.js +0 -4
- package/dist/filter-tree/branch.d.ts +0 -13
- package/dist/filter-tree/branch.js +0 -21
- package/dist/filter-tree/context.d.ts +0 -27
- package/dist/filter-tree/context.js +0 -5
- package/dist/filter-tree/filter-tree.d.ts +0 -14
- package/dist/filter-tree/filter-tree.js +0 -18
- package/dist/filter-tree/hooks/use-filter-tree.d.ts +0 -38
- package/dist/filter-tree/hooks/use-filter-tree.js +0 -101
- package/dist/filter-tree/hooks/use-tree-item.d.ts +0 -8
- package/dist/filter-tree/hooks/use-tree-item.js +0 -116
- package/dist/filter-tree/inclusion-checkbox.d.ts +0 -9
- package/dist/filter-tree/inclusion-checkbox.js +0 -14
- package/dist/filter-tree/label.d.ts +0 -5
- package/dist/filter-tree/label.js +0 -18
- package/dist/filter-tree/leaf.d.ts +0 -6
- package/dist/filter-tree/leaf.js +0 -14
- package/dist/filter-tree/root.d.ts +0 -13
- package/dist/filter-tree/root.js +0 -30
- package/dist/grid-box/+types.d.ts +0 -15
- package/dist/grid-box/+types.js +0 -1
- package/dist/grid-box/context.d.ts +0 -9
- package/dist/grid-box/context.js +0 -3
- package/dist/grid-box/grid-box.d.ts +0 -12
- package/dist/grid-box/grid-box.js +0 -14
- package/dist/grid-box/item.d.ts +0 -10
- package/dist/grid-box/item.js +0 -63
- package/dist/grid-box/panel.d.ts +0 -1
- package/dist/grid-box/panel.js +0 -9
- package/dist/grid-box/root.d.ts +0 -9
- package/dist/grid-box/root.js +0 -8
- package/dist/grid-box/use-aggregation-box-items.d.ts +0 -18
- package/dist/grid-box/use-aggregation-box-items.js +0 -61
- package/dist/grid-box/use-column-box-items.d.ts +0 -34
- package/dist/grid-box/use-column-box-items.js +0 -78
- package/dist/grid-box/use-row-group-box-items.d.ts +0 -18
- package/dist/grid-box/use-row-group-box-items.js +0 -169
- package/dist/grid-provider/context.d.ts +0 -5
- package/dist/grid-provider/context.js +0 -2
- package/dist/grid-provider/provider.d.ts +0 -3
- package/dist/grid-provider/provider.js +0 -2
- package/dist/grid-provider/use-grid.d.ts +0 -3
- package/dist/grid-provider/use-grid.js +0 -3
- package/dist/grid.d.ts +0 -18
- package/dist/grid.js +0 -28
- package/dist/header/header-cell.d.ts +0 -10
- package/dist/header/header-cell.js +0 -24
- package/dist/header/header-group-cell.d.ts +0 -5
- package/dist/header/header-group-cell.js +0 -16
- package/dist/header/header-row.d.ts +0 -4
- package/dist/header/header-row.js +0 -10
- package/dist/header/header.d.ts +0 -1
- package/dist/header/header.js +0 -10
- package/dist/header/resize-handler.d.ts +0 -12
- package/dist/header/resize-handler.js +0 -139
- package/dist/header/use-drag-move.d.ts +0 -14
- package/dist/header/use-drag-move.js +0 -97
- package/dist/header/use-header-cell-renderer.d.ts +0 -4
- package/dist/header/use-header-cell-renderer.js +0 -36
- package/dist/icons/index.d.ts +0 -1
- package/dist/icons/index.js +0 -3
- package/dist/index.d.ts +0 -13
- package/dist/index.js +0 -13
- package/dist/license.d.ts +0 -3
- package/dist/license.js +0 -214
- package/dist/listbox/context.d.ts +0 -6
- package/dist/listbox/context.js +0 -3
- package/dist/listbox/item.d.ts +0 -1
- package/dist/listbox/item.js +0 -25
- package/dist/listbox/panel.d.ts +0 -1
- package/dist/listbox/panel.js +0 -50
- package/dist/listbox/root.d.ts +0 -6
- package/dist/listbox/root.js +0 -12
- package/dist/root/dialog-driver.d.ts +0 -1
- package/dist/root/dialog-driver.js +0 -21
- package/dist/root/popover-driver.d.ts +0 -1
- package/dist/root/popover-driver.js +0 -21
- package/dist/root/root.d.ts +0 -8
- package/dist/root/root.js +0 -125
- package/dist/row-data-source-client/+constants.d.ts +0 -2
- package/dist/row-data-source-client/+constants.js +0 -2
- package/dist/row-data-source-client/+types.d.ts +0 -27
- package/dist/row-data-source-client/+types.js +0 -1
- package/dist/row-data-source-client/built-ins/avg.d.ts +0 -10
- package/dist/row-data-source-client/built-ins/avg.js +0 -16
- package/dist/row-data-source-client/built-ins/built-ins.d.ts +0 -44
- package/dist/row-data-source-client/built-ins/built-ins.js +0 -44
- package/dist/row-data-source-client/built-ins/count.d.ts +0 -10
- package/dist/row-data-source-client/built-ins/count.js +0 -16
- package/dist/row-data-source-client/built-ins/first.d.ts +0 -10
- package/dist/row-data-source-client/built-ins/first.js +0 -12
- package/dist/row-data-source-client/built-ins/group.d.ts +0 -1
- package/dist/row-data-source-client/built-ins/group.js +0 -3
- package/dist/row-data-source-client/built-ins/last.d.ts +0 -10
- package/dist/row-data-source-client/built-ins/last.js +0 -12
- package/dist/row-data-source-client/built-ins/max.d.ts +0 -11
- package/dist/row-data-source-client/built-ins/max.js +0 -25
- package/dist/row-data-source-client/built-ins/min.d.ts +0 -11
- package/dist/row-data-source-client/built-ins/min.js +0 -25
- package/dist/row-data-source-client/built-ins/sum.d.ts +0 -10
- package/dist/row-data-source-client/built-ins/sum.js +0 -21
- package/dist/row-data-source-client/filter/+types.d.ts +0 -23
- package/dist/row-data-source-client/filter/+types.js +0 -1
- package/dist/row-data-source-client/filter/compute-filtered-rows.d.ts +0 -2
- package/dist/row-data-source-client/filter/compute-filtered-rows.js +0 -109
- package/dist/row-data-source-client/pivots/create-agg-model.d.ts +0 -6
- package/dist/row-data-source-client/pivots/create-agg-model.js +0 -13
- package/dist/row-data-source-client/pivots/create-pivot-columns-from-paths.d.ts +0 -2
- package/dist/row-data-source-client/pivots/create-pivot-columns-from-paths.js +0 -50
- package/dist/row-data-source-client/pivots/create-pivot-columns.d.ts +0 -2
- package/dist/row-data-source-client/pivots/create-pivot-columns.js +0 -22
- package/dist/row-data-source-client/pivots/create-pivot-tree.d.ts +0 -2
- package/dist/row-data-source-client/pivots/create-pivot-tree.js +0 -23
- package/dist/row-data-source-client/tree/client-tree.d.ts +0 -18
- package/dist/row-data-source-client/tree/client-tree.js +0 -76
- package/dist/row-data-source-client/tree/evaluator-aggregation.d.ts +0 -2
- package/dist/row-data-source-client/tree/evaluator-aggregation.js +0 -8
- package/dist/row-data-source-client/tree/evaluator-group.d.ts +0 -2
- package/dist/row-data-source-client/tree/evaluator-group.js +0 -9
- package/dist/row-data-source-client/tree/traverse.d.ts +0 -2
- package/dist/row-data-source-client/tree/traverse.js +0 -22
- package/dist/row-data-source-client/use-client-data-source-paginated.d.ts +0 -10
- package/dist/row-data-source-client/use-client-data-source-paginated.js +0 -572
- package/dist/row-data-source-client/use-client-data-source.d.ts +0 -10
- package/dist/row-data-source-client/use-client-data-source.js +0 -666
- package/dist/row-data-source-client/use-client-tree-data-source.d.ts +0 -9
- package/dist/row-data-source-client/use-client-tree-data-source.js +0 -511
- package/dist/row-data-source-server/async-tree/+constants.async-tree.d.ts +0 -1
- package/dist/row-data-source-server/async-tree/+constants.async-tree.js +0 -1
- package/dist/row-data-source-server/async-tree/+types.async-tree.d.ts +0 -59
- package/dist/row-data-source-server/async-tree/+types.async-tree.js +0 -1
- package/dist/row-data-source-server/async-tree/apply-delete-action-to-tree.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/apply-delete-action-to-tree.js +0 -27
- package/dist/row-data-source-server/async-tree/apply-set-action-to-tree.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/apply-set-action-to-tree.js +0 -36
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-are-unique.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-are-unique.js +0 -24
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-are-valid.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-are-valid.js +0 -14
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-fit.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-fit.js +0 -18
- package/dist/row-data-source-server/async-tree/check-set-action-item-kinds.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/check-set-action-item-kinds.js +0 -14
- package/dist/row-data-source-server/async-tree/get-parent-node-by-path.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/get-parent-node-by-path.js +0 -18
- package/dist/row-data-source-server/async-tree/is-set-action-a-no-op-on-node.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/is-set-action-a-no-op-on-node.js +0 -3
- package/dist/row-data-source-server/async-tree/make-async-tree.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/make-async-tree.js +0 -19
- package/dist/row-data-source-server/async-tree/maybe-apply-parent-remove-self.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/maybe-apply-parent-remove-self.js +0 -8
- package/dist/row-data-source-server/async-tree/maybe-apply-resize.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/maybe-apply-resize.js +0 -17
- package/dist/row-data-source-server/async-tree/maybe-apply-set-action-items.d.ts +0 -2
- package/dist/row-data-source-server/async-tree/maybe-apply-set-action-items.js +0 -52
- package/dist/row-data-source-server/range-tree/range-tree.d.ts +0 -66
- package/dist/row-data-source-server/range-tree/range-tree.js +0 -102
- package/dist/row-data-source-server/server-data.d.ts +0 -48
- package/dist/row-data-source-server/server-data.js +0 -378
- package/dist/row-data-source-server/use-server-data-source.d.ts +0 -3
- package/dist/row-data-source-server/use-server-data-source.js +0 -344
- package/dist/row-data-source-server/utils/get-node-depth.d.ts +0 -2
- package/dist/row-data-source-server/utils/get-node-depth.js +0 -9
- package/dist/row-data-source-server/utils/get-node-path.d.ts +0 -2
- package/dist/row-data-source-server/utils/get-node-path.js +0 -9
- package/dist/row-data-source-server/utils/get-request-id.d.ts +0 -1
- package/dist/row-data-source-server/utils/get-request-id.js +0 -6
- package/dist/rows/row/context.d.ts +0 -14
- package/dist/rows/row/context.js +0 -13
- package/dist/rows/row/row.d.ts +0 -7
- package/dist/rows/row/row.js +0 -25
- package/dist/rows/row/use-row-context-value.d.ts +0 -6
- package/dist/rows/row/use-row-context-value.js +0 -44
- package/dist/rows/row-detail-row.d.ts +0 -4
- package/dist/rows/row-detail-row.js +0 -130
- package/dist/rows/row-full-width.d.ts +0 -8
- package/dist/rows/row-full-width.js +0 -19
- package/dist/rows/rows-container.d.ts +0 -1
- package/dist/rows/rows-container.js +0 -9
- package/dist/rows/rows-sections.d.ts +0 -3
- package/dist/rows/rows-sections.js +0 -27
- package/dist/rows/scrollers/native-scroller.d.ts +0 -2
- package/dist/rows/scrollers/native-scroller.js +0 -4
- package/dist/sort-manager/+types.d.ts +0 -13
- package/dist/sort-manager/+types.js +0 -1
- package/dist/sort-manager/context.d.ts +0 -14
- package/dist/sort-manager/context.js +0 -5
- package/dist/sort-manager/hooks/use-sort-manager.d.ts +0 -15
- package/dist/sort-manager/hooks/use-sort-manager.js +0 -56
- package/dist/sort-manager/hooks/use-sort-row-item.d.ts +0 -51
- package/dist/sort-manager/hooks/use-sort-row-item.js +0 -145
- package/dist/sort-manager/hooks/use-sortable-column-items.d.ts +0 -5
- package/dist/sort-manager/hooks/use-sortable-column-items.js +0 -13
- package/dist/sort-manager/root.d.ts +0 -3
- package/dist/sort-manager/root.js +0 -14
- package/dist/sort-manager/sort-add.d.ts +0 -8
- package/dist/sort-manager/sort-add.js +0 -14
- package/dist/sort-manager/sort-apply.d.ts +0 -7
- package/dist/sort-manager/sort-apply.js +0 -24
- package/dist/sort-manager/sort-cancel.d.ts +0 -7
- package/dist/sort-manager/sort-cancel.js +0 -27
- package/dist/sort-manager/sort-clear.d.ts +0 -7
- package/dist/sort-manager/sort-clear.js +0 -22
- package/dist/sort-manager/sort-column-select.d.ts +0 -10
- package/dist/sort-manager/sort-column-select.js +0 -20
- package/dist/sort-manager/sort-direction-select.d.ts +0 -10
- package/dist/sort-manager/sort-direction-select.js +0 -24
- package/dist/sort-manager/sort-manager.d.ts +0 -16
- package/dist/sort-manager/sort-manager.js +0 -26
- package/dist/sort-manager/sort-remove.d.ts +0 -7
- package/dist/sort-manager/sort-remove.js +0 -14
- package/dist/sort-manager/sort-row.d.ts +0 -5
- package/dist/sort-manager/sort-row.js +0 -7
- package/dist/sort-manager/sort-rows.d.ts +0 -1
- package/dist/sort-manager/sort-rows.js +0 -6
- package/dist/sort-manager/sort-value-select.d.ts +0 -11
- package/dist/sort-manager/sort-value-select.js +0 -25
- package/dist/sort-manager/utils/sort-item-to-sort-model.d.ts +0 -3
- package/dist/sort-manager/utils/sort-item-to-sort-model.js +0 -62
- package/dist/sort-manager/utils/sort-model-to-sort-items.d.ts +0 -3
- package/dist/sort-manager/utils/sort-model-to-sort-items.js +0 -50
- package/dist/state/+types.d.ts +0 -35
- package/dist/state/+types.js +0 -1
- package/dist/state/api/cell-root.d.ts +0 -5
- package/dist/state/api/cell-root.js +0 -64
- package/dist/state/api/column-autosize.d.ts +0 -5
- package/dist/state/api/column-autosize.js +0 -72
- package/dist/state/api/column-by-id.d.ts +0 -2
- package/dist/state/api/column-by-id.js +0 -6
- package/dist/state/api/column-field.d.ts +0 -2
- package/dist/state/api/column-field.js +0 -23
- package/dist/state/api/column-from-index.d.ts +0 -2
- package/dist/state/api/column-from-index.js +0 -6
- package/dist/state/api/column-group-toggle.d.ts +0 -2
- package/dist/state/api/column-group-toggle.js +0 -10
- package/dist/state/api/column-index.d.ts +0 -2
- package/dist/state/api/column-index.js +0 -7
- package/dist/state/api/column-move.d.ts +0 -2
- package/dist/state/api/column-move.js +0 -49
- package/dist/state/api/column-resize.d.ts +0 -2
- package/dist/state/api/column-resize.js +0 -9
- package/dist/state/api/column-update.d.ts +0 -5
- package/dist/state/api/column-update.js +0 -26
- package/dist/state/api/dialog-frame.d.ts +0 -8
- package/dist/state/api/dialog-frame.js +0 -16
- package/dist/state/api/edit-begin.d.ts +0 -5
- package/dist/state/api/edit-begin.js +0 -87
- package/dist/state/api/edit-end.d.ts +0 -5
- package/dist/state/api/edit-end.js +0 -43
- package/dist/state/api/edit-is-cell-active.d.ts +0 -5
- package/dist/state/api/edit-is-cell-active.js +0 -22
- package/dist/state/api/edit-update.d.ts +0 -5
- package/dist/state/api/edit-update.js +0 -88
- package/dist/state/api/event-listeners.d.ts +0 -5
- package/dist/state/api/event-listeners.js +0 -19
- package/dist/state/api/export-csv.d.ts +0 -3
- package/dist/state/api/export-csv.js +0 -40
- package/dist/state/api/export-data-rect.d.ts +0 -2
- package/dist/state/api/export-data-rect.js +0 -24
- package/dist/state/api/focus-cell.d.ts +0 -5
- package/dist/state/api/focus-cell.js +0 -117
- package/dist/state/api/popover-frame.d.ts +0 -8
- package/dist/state/api/popover-frame.js +0 -16
- package/dist/state/api/position-from-element.d.ts +0 -2
- package/dist/state/api/position-from-element.js +0 -9
- package/dist/state/api/row-by-id.d.ts +0 -2
- package/dist/state/api/row-by-id.js +0 -5
- package/dist/state/api/row-by-index.d.ts +0 -2
- package/dist/state/api/row-by-index.js +0 -9
- package/dist/state/api/row-detail-is-expanded.d.ts +0 -2
- package/dist/state/api/row-detail-is-expanded.js +0 -6
- package/dist/state/api/row-detail-rendered-height.d.ts +0 -5
- package/dist/state/api/row-detail-rendered-height.js +0 -14
- package/dist/state/api/row-detail-toggle.d.ts +0 -2
- package/dist/state/api/row-detail-toggle.js +0 -32
- package/dist/state/api/row-group-apply-expansions.d.ts +0 -2
- package/dist/state/api/row-group-apply-expansions.js +0 -20
- package/dist/state/api/row-group-column-index.d.ts +0 -2
- package/dist/state/api/row-group-column-index.js +0 -14
- package/dist/state/api/row-group-is-expanded.d.ts +0 -2
- package/dist/state/api/row-group-is-expanded.js +0 -15
- package/dist/state/api/row-group-toggle.d.ts +0 -2
- package/dist/state/api/row-group-toggle.js +0 -7
- package/dist/state/api/row-handle-select.d.ts +0 -5
- package/dist/state/api/row-handle-select.js +0 -43
- package/dist/state/api/row-select-all.d.ts +0 -2
- package/dist/state/api/row-select-all.js +0 -17
- package/dist/state/api/row-select.d.ts +0 -5
- package/dist/state/api/row-select.js +0 -35
- package/dist/state/api/row-selected.d.ts +0 -2
- package/dist/state/api/row-selected.js +0 -13
- package/dist/state/api/scroll-into-view.d.ts +0 -5
- package/dist/state/api/scroll-into-view.js +0 -50
- package/dist/state/api/sort-for-column.d.ts +0 -2
- package/dist/state/api/sort-for-column.js +0 -9
- package/dist/state/api/use-row-drag.d.ts +0 -2
- package/dist/state/api/use-row-drag.js +0 -27
- package/dist/state/helpers/cell-row-group.d.ts +0 -2
- package/dist/state/helpers/cell-row-group.js +0 -19
- package/dist/state/helpers/column-add-row-group.d.ts +0 -10
- package/dist/state/helpers/column-add-row-group.js +0 -74
- package/dist/state/helpers/column-layout.d.ts +0 -3
- package/dist/state/helpers/column-layout.js +0 -59
- package/dist/state/helpers/column-marker.d.ts +0 -8
- package/dist/state/helpers/column-marker.js +0 -43
- package/dist/state/helpers/column-view.d.ts +0 -21
- package/dist/state/helpers/column-view.js +0 -33
- package/dist/state/helpers/edit-on-change.d.ts +0 -15
- package/dist/state/helpers/edit-on-change.js +0 -27
- package/dist/state/helpers/empty-row-data-source.d.ts +0 -2
- package/dist/state/helpers/empty-row-data-source.js +0 -18
- package/dist/state/helpers/get-data-rect.d.ts +0 -13
- package/dist/state/helpers/get-data-rect.js +0 -65
- package/dist/state/helpers/get-full-width-callback.d.ts +0 -2
- package/dist/state/helpers/get-full-width-callback.js +0 -10
- package/dist/state/helpers/get-span-callback.d.ts +0 -2
- package/dist/state/helpers/get-span-callback.js +0 -22
- package/dist/state/helpers/resolve-column.d.ts +0 -4
- package/dist/state/helpers/resolve-column.js +0 -29
- package/dist/state/helpers/row-layout/get-focus-criteria.d.ts +0 -17
- package/dist/state/helpers/row-layout/get-focus-criteria.js +0 -62
- package/dist/state/helpers/row-layout/row-layout.d.ts +0 -19
- package/dist/state/helpers/row-layout/row-layout.js +0 -181
- package/dist/state/use-lytenyte.d.ts +0 -3
- package/dist/state/use-lytenyte.js +0 -671
- package/dist/tree-view/branch/branch.d.ts +0 -14
- package/dist/tree-view/branch/branch.js +0 -63
- package/dist/tree-view/branch/use-branch-keys.d.ts +0 -2
- package/dist/tree-view/branch/use-branch-keys.js +0 -87
- package/dist/tree-view/context.d.ts +0 -22
- package/dist/tree-view/context.js +0 -3
- package/dist/tree-view/depth-provider.d.ts +0 -2
- package/dist/tree-view/depth-provider.js +0 -3
- package/dist/tree-view/hooks/use-tree-view-paths.d.ts +0 -2
- package/dist/tree-view/hooks/use-tree-view-paths.js +0 -9
- package/dist/tree-view/index.d.ts +0 -16
- package/dist/tree-view/index.js +0 -16
- package/dist/tree-view/leaf.d.ts +0 -4
- package/dist/tree-view/leaf.js +0 -28
- package/dist/tree-view/navigation/get-all-ids.d.ts +0 -1
- package/dist/tree-view/navigation/get-all-ids.js +0 -7
- package/dist/tree-view/navigation/get-first-node.d.ts +0 -1
- package/dist/tree-view/navigation/get-first-node.js +0 -7
- package/dist/tree-view/navigation/get-last-node.d.ts +0 -1
- package/dist/tree-view/navigation/get-last-node.js +0 -7
- package/dist/tree-view/navigation/get-next-node.d.ts +0 -1
- package/dist/tree-view/navigation/get-next-node.js +0 -13
- package/dist/tree-view/navigation/get-prev-node.d.ts +0 -1
- package/dist/tree-view/navigation/get-prev-node.js +0 -13
- package/dist/tree-view/panel/make-handle-navigation.d.ts +0 -2
- package/dist/tree-view/panel/make-handle-navigation.js +0 -39
- package/dist/tree-view/panel/make-handle-selection.d.ts +0 -2
- package/dist/tree-view/panel/make-handle-selection.js +0 -92
- package/dist/tree-view/panel/make-handle-typeahead.d.ts +0 -1
- package/dist/tree-view/panel/make-handle-typeahead.js +0 -45
- package/dist/tree-view/panel/panel.d.ts +0 -1
- package/dist/tree-view/panel/panel.js +0 -30
- package/dist/tree-view/panel/use-tree-navigation.d.ts +0 -1
- package/dist/tree-view/panel/use-tree-navigation.js +0 -63
- package/dist/tree-view/root.d.ts +0 -17
- package/dist/tree-view/root.js +0 -63
- package/dist/tree-view/utils/get-focusable-nodes.d.ts +0 -1
- package/dist/tree-view/utils/get-focusable-nodes.js +0 -5
- package/dist/tree-view/utils/get-focused-node.d.ts +0 -1
- package/dist/tree-view/utils/get-focused-node.js +0 -14
- package/dist/tree-view/utils/get-ids-between-nodes.d.ts +0 -1
- package/dist/tree-view/utils/get-ids-between-nodes.js +0 -15
- package/dist/tree-view/utils/get-panel.d.ts +0 -1
- package/dist/tree-view/utils/get-panel.js +0 -7
- package/dist/tree-view/utils/get-parent-node.d.ts +0 -1
- package/dist/tree-view/utils/get-parent-node.js +0 -10
- package/dist/tree-view/utils/get-sibling-branches.d.ts +0 -1
- package/dist/tree-view/utils/get-sibling-branches.js +0 -14
- package/dist/tree-view/utils/get-tree-node-id.d.ts +0 -1
- package/dist/tree-view/utils/get-tree-node-id.js +0 -3
- package/dist/tree-view/utils/is-branch-node.d.ts +0 -1
- package/dist/tree-view/utils/is-branch-node.js +0 -3
- package/dist/tree-view/utils/is-leaf-node.d.ts +0 -1
- package/dist/tree-view/utils/is-leaf-node.js +0 -3
- package/dist/tree-view/utils/is-tree-node-disabled.d.ts +0 -1
- package/dist/tree-view/utils/is-tree-node-disabled.js +0 -3
- package/dist/tree-view/utils/select-node.d.ts +0 -2
- package/dist/tree-view/utils/select-node.js +0 -15
- package/dist/tree-view/utils/toggle-all-selections.d.ts +0 -2
- package/dist/tree-view/utils/toggle-all-selections.js +0 -9
- package/dist/tree-view/utils/toggle-selection.d.ts +0 -2
- package/dist/tree-view/utils/toggle-selection.js +0 -21
- package/dist/tree-view/virtualized/force-sync-scrolling.d.ts +0 -2
- package/dist/tree-view/virtualized/force-sync-scrolling.js +0 -23
- package/dist/tree-view/virtualized/get-virtual-tree-paths.d.ts +0 -2
- package/dist/tree-view/virtualized/get-virtual-tree-paths.js +0 -14
- package/dist/tree-view/virtualized/make-virtual-tree.d.ts +0 -31
- package/dist/tree-view/virtualized/make-virtual-tree.js +0 -90
- package/dist/tree-view/virtualized/use-flattened-tree.d.ts +0 -9
- package/dist/tree-view/virtualized/use-flattened-tree.js +0 -36
- package/dist/tree-view/virtualized/use-row-start-and-end.d.ts +0 -2
- package/dist/tree-view/virtualized/use-row-start-and-end.js +0 -27
- package/dist/tree-view/virtualized/use-virtualized-tree.d.ts +0 -22
- package/dist/tree-view/virtualized/use-virtualized-tree.js +0 -100
- package/dist/types/types.d.ts +0 -8
- package/dist/types/types.js +0 -1
- package/dist/utils/cycle-sorts.d.ts +0 -2
- package/dist/utils/cycle-sorts.js +0 -16
- package/dist/viewport/begin-editing.d.ts +0 -5
- package/dist/viewport/begin-editing.js +0 -15
- package/dist/viewport/viewport.d.ts +0 -1
- package/dist/viewport/viewport.js +0 -78
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { useMemo } from "react";
|
|
2
|
-
import { useBranchLookup } from "./branch-lookup-context.js";
|
|
3
|
-
export function useColumnsFromContext(item) {
|
|
4
|
-
const lookup = useBranchLookup();
|
|
5
|
-
const columns = useMemo(() => {
|
|
6
|
-
if (item.kind === "branch") {
|
|
7
|
-
const allChildren = [];
|
|
8
|
-
const branch = lookup[item.data.idOccurrence];
|
|
9
|
-
const stack = [...branch.children.values()];
|
|
10
|
-
while (stack.length) {
|
|
11
|
-
const p = stack.pop();
|
|
12
|
-
if (p.kind === "branch") {
|
|
13
|
-
stack.push(...p.children.values());
|
|
14
|
-
continue;
|
|
15
|
-
}
|
|
16
|
-
allChildren.push(p.data);
|
|
17
|
-
}
|
|
18
|
-
return allChildren;
|
|
19
|
-
}
|
|
20
|
-
return [item.data];
|
|
21
|
-
}, [item, lookup]);
|
|
22
|
-
return columns;
|
|
23
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type SlotComponent } from "@1771technologies/lytenyte-react-hooks";
|
|
2
|
-
export interface VisibilityCheckbox {
|
|
3
|
-
readonly as?: SlotComponent<{
|
|
4
|
-
visible: boolean;
|
|
5
|
-
indeterminate: boolean;
|
|
6
|
-
toggle: (s?: boolean) => void;
|
|
7
|
-
}>;
|
|
8
|
-
}
|
|
9
|
-
export declare const VisibilityCheckbox: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & VisibilityCheckbox, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useSlot } from "@1771technologies/lytenyte-react-hooks";
|
|
3
|
-
import { useColumnItemContext } from "./context.js";
|
|
4
|
-
import { forwardRef, useCallback, useMemo } from "react";
|
|
5
|
-
import { useGrid } from "../grid-provider/use-grid.js";
|
|
6
|
-
import { useColumnsFromContext } from "./use-columns-from-context.js";
|
|
7
|
-
export const VisibilityCheckbox = forwardRef(function VisibilityCheckbox({ as, ...props }, forwarded) {
|
|
8
|
-
const { item } = useColumnItemContext();
|
|
9
|
-
const grid = useGrid();
|
|
10
|
-
const base = grid.state.columnBase.useValue();
|
|
11
|
-
const columns = useColumnsFromContext(item);
|
|
12
|
-
const [isVisible, isIndeterminate] = useMemo(() => {
|
|
13
|
-
const allVisible = columns.every((c) => !(c.hide ?? base.hide));
|
|
14
|
-
const someVisible = columns.some((c) => !(c.hide ?? base.hide));
|
|
15
|
-
return [allVisible, !allVisible && someVisible];
|
|
16
|
-
}, [base.hide, columns]);
|
|
17
|
-
const toggle = useCallback((s) => {
|
|
18
|
-
const next = s ?? isVisible;
|
|
19
|
-
grid.api.columnUpdate(Object.fromEntries(columns.map((c) => [c.id, { hide: next }])));
|
|
20
|
-
}, [columns, grid.api, isVisible]);
|
|
21
|
-
const rendered = useSlot({
|
|
22
|
-
props: [props],
|
|
23
|
-
ref: forwarded,
|
|
24
|
-
slot: as ?? (_jsx("input", { type: "checkbox", checked: isVisible, "aria-label": "visibility toggle", onChange: () => {
|
|
25
|
-
toggle();
|
|
26
|
-
} })),
|
|
27
|
-
state: { visible: isVisible, indeterminate: isIndeterminate, toggle },
|
|
28
|
-
});
|
|
29
|
-
return rendered;
|
|
30
|
-
});
|
package/dist/context.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Grid } from "./+types";
|
|
2
|
-
import type { InternalAtoms } from "./state/+types";
|
|
3
|
-
export interface GridRootContext {
|
|
4
|
-
readonly ref: (el: HTMLElement | SVGElement | null) => void;
|
|
5
|
-
readonly grid: Grid<any> & {
|
|
6
|
-
internal: InternalAtoms;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare const RootProvider: import("react").Provider<GridRootContext>;
|
|
10
|
-
export declare const useGridRoot: () => GridRootContext;
|
package/dist/context.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { TreeVirtualBranch } from "../tree-view/virtualized/make-virtual-tree";
|
|
2
|
-
import type { FilterInFilterItem } from "../+types";
|
|
3
|
-
import { type SlotComponent } from "@1771technologies/lytenyte-react-hooks";
|
|
4
|
-
export interface FilterTreeBranch {
|
|
5
|
-
readonly item: TreeVirtualBranch<FilterInFilterItem>;
|
|
6
|
-
readonly label: SlotComponent;
|
|
7
|
-
readonly labelWrap?: SlotComponent;
|
|
8
|
-
readonly expander?: SlotComponent<{
|
|
9
|
-
expanded: boolean;
|
|
10
|
-
toggle: () => void;
|
|
11
|
-
}>;
|
|
12
|
-
}
|
|
13
|
-
export declare const Branch: import("react").ForwardRefExoticComponent<Omit<FilterTreeBranch & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import { TreeBranch } from "../tree-view/branch/branch.js";
|
|
4
|
-
import { useSlot } from "@1771technologies/lytenyte-react-hooks";
|
|
5
|
-
import { FilterTreeItemContext } from "./context.js";
|
|
6
|
-
import { useTreeItem } from "./hooks/use-tree-item.js";
|
|
7
|
-
export const Branch = forwardRef(function Branch({ item, labelWrap, label, ...props }, forwarded) {
|
|
8
|
-
const value = useTreeItem(item);
|
|
9
|
-
const labelSlot = useSlot({
|
|
10
|
-
slot: labelWrap ?? _jsx("div", {}),
|
|
11
|
-
props: [
|
|
12
|
-
{
|
|
13
|
-
onClick: () => value.onCheckChange(),
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
});
|
|
17
|
-
return (_jsx(FilterTreeItemContext.Provider, { value: value, children: _jsx(TreeBranch, { ...props, itemId: item.branch.data.id, ref: forwarded, ...item.attrs, onKeyDown: (ev) => {
|
|
18
|
-
if (ev.key === " ")
|
|
19
|
-
value.onCheckChange();
|
|
20
|
-
}, label: label, labelWrap: labelSlot }) }));
|
|
21
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type Dispatch, type SetStateAction } from "react";
|
|
2
|
-
import type { TreeVirtualItem } from "../tree-view/virtualized/make-virtual-tree.js";
|
|
3
|
-
import type { FilterIn, FilterInFilterItem } from "../+types.js";
|
|
4
|
-
export interface TreeItemContextValue {
|
|
5
|
-
readonly item: TreeVirtualItem<FilterInFilterItem>;
|
|
6
|
-
readonly onCheckChange: (b?: boolean) => void;
|
|
7
|
-
readonly isChecked: boolean;
|
|
8
|
-
readonly isIndeterminate: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const FilterTreeContext: import("react").Context<{
|
|
11
|
-
items: FilterInFilterItem[];
|
|
12
|
-
pivotMode: boolean;
|
|
13
|
-
columnId: string;
|
|
14
|
-
filter: FilterIn;
|
|
15
|
-
filterChange: Dispatch<SetStateAction<FilterIn>>;
|
|
16
|
-
applyChangesImmediately: boolean;
|
|
17
|
-
}>;
|
|
18
|
-
export declare const useTreeContext: () => {
|
|
19
|
-
items: FilterInFilterItem[];
|
|
20
|
-
pivotMode: boolean;
|
|
21
|
-
columnId: string;
|
|
22
|
-
filter: FilterIn;
|
|
23
|
-
filterChange: Dispatch<SetStateAction<FilterIn>>;
|
|
24
|
-
applyChangesImmediately: boolean;
|
|
25
|
-
};
|
|
26
|
-
export declare const FilterTreeItemContext: import("react").Context<TreeItemContextValue>;
|
|
27
|
-
export declare const useTreeItemContext: () => TreeItemContextValue;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { createContext, useContext } from "react";
|
|
2
|
-
export const FilterTreeContext = createContext(null);
|
|
3
|
-
export const useTreeContext = () => useContext(FilterTreeContext);
|
|
4
|
-
export const FilterTreeItemContext = createContext(null);
|
|
5
|
-
export const useTreeItemContext = () => useContext(FilterTreeItemContext);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ForceSyncScrolling } from "../tree-view/virtualized/force-sync-scrolling.js";
|
|
2
|
-
import { InclusionCheckbox } from "./inclusion-checkbox.js";
|
|
3
|
-
import { Root } from "./root.js";
|
|
4
|
-
import { useFilterTree } from "./hooks/use-filter-tree.js";
|
|
5
|
-
export declare const FilterTree: {
|
|
6
|
-
Root: typeof Root;
|
|
7
|
-
Panel: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
|
|
8
|
-
PassiveScroll: typeof ForceSyncScrolling;
|
|
9
|
-
Leaf: import("react").ForwardRefExoticComponent<Omit<import("./leaf.js").FilterTreeLeafProps & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
|
|
10
|
-
Branch: import("react").ForwardRefExoticComponent<Omit<import("./branch.js").FilterTreeBranch & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
|
|
11
|
-
Label: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./label.js").LabelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
-
Checkbox: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & InclusionCheckbox, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
-
useFilterTree: typeof useFilterTree;
|
|
14
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TreePanel } from "../tree-view/panel/panel.js";
|
|
2
|
-
import { ForceSyncScrolling } from "../tree-view/virtualized/force-sync-scrolling.js";
|
|
3
|
-
import { Branch } from "./branch.js";
|
|
4
|
-
import { InclusionCheckbox } from "./inclusion-checkbox.js";
|
|
5
|
-
import { Label } from "./label.js";
|
|
6
|
-
import { Leaf } from "./leaf.js";
|
|
7
|
-
import { Root } from "./root.js";
|
|
8
|
-
import { useFilterTree } from "./hooks/use-filter-tree.js";
|
|
9
|
-
export const FilterTree = {
|
|
10
|
-
Root,
|
|
11
|
-
Panel: TreePanel,
|
|
12
|
-
PassiveScroll: ForceSyncScrolling,
|
|
13
|
-
Leaf: Leaf,
|
|
14
|
-
Branch: Branch,
|
|
15
|
-
Label: Label,
|
|
16
|
-
Checkbox: InclusionCheckbox,
|
|
17
|
-
useFilterTree,
|
|
18
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { type Dispatch, type JSX, type SetStateAction } from "react";
|
|
2
|
-
import type { Column, FilterIn, FilterInFilterItem, Grid } from "../../+types";
|
|
3
|
-
import type { PathRoot } from "@1771technologies/lytenyte-shared";
|
|
4
|
-
import type { TreeVirtualItem } from "../../tree-view/virtualized/make-virtual-tree";
|
|
5
|
-
export interface UseTreeFilterReturn<T> {
|
|
6
|
-
readonly rootProps: {
|
|
7
|
-
readonly fetchItems: () => void;
|
|
8
|
-
readonly loading: boolean;
|
|
9
|
-
readonly error: any;
|
|
10
|
-
readonly pivotMode: boolean;
|
|
11
|
-
readonly grid: Grid<T>;
|
|
12
|
-
readonly expansions: Record<string, boolean>;
|
|
13
|
-
readonly onExpansionChange: Dispatch<SetStateAction<Record<string, boolean>>>;
|
|
14
|
-
readonly treeRef: (el: HTMLElement | null) => void;
|
|
15
|
-
readonly getAllIds: () => Set<string>;
|
|
16
|
-
readonly getIdsBetweenNodes: (left: HTMLElement, right: HTMLElement) => string[];
|
|
17
|
-
readonly onFocusChange: (el: HTMLElement | null) => void;
|
|
18
|
-
readonly root: PathRoot<FilterInFilterItem>;
|
|
19
|
-
readonly columnId: string;
|
|
20
|
-
readonly items: FilterInFilterItem[];
|
|
21
|
-
readonly applyChangesImmediately: boolean;
|
|
22
|
-
readonly filterIn: FilterIn;
|
|
23
|
-
readonly filterInChange: Dispatch<SetStateAction<FilterIn>>;
|
|
24
|
-
};
|
|
25
|
-
readonly tree: TreeVirtualItem<FilterInFilterItem>[];
|
|
26
|
-
readonly spacer: JSX.Element;
|
|
27
|
-
readonly apply: () => void;
|
|
28
|
-
readonly reset: () => void;
|
|
29
|
-
}
|
|
30
|
-
export interface UseFilterTreeArgs<T> {
|
|
31
|
-
grid: Grid<T>;
|
|
32
|
-
column: Column<T>;
|
|
33
|
-
treeItemHeight?: number;
|
|
34
|
-
pivotMode?: boolean;
|
|
35
|
-
applyChangesImmediately?: boolean;
|
|
36
|
-
query?: string;
|
|
37
|
-
}
|
|
38
|
-
export declare function useFilterTree<T>({ grid, column, treeItemHeight, pivotMode, applyChangesImmediately, query, }: UseFilterTreeArgs<T>): UseTreeFilterReturn<T>;
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { useEffect, useMemo, useState } from "react";
|
|
2
|
-
import { useVirtualizedTree } from "../../tree-view/virtualized/use-virtualized-tree.js";
|
|
3
|
-
import { useEvent } from "@1771technologies/lytenyte-react-hooks";
|
|
4
|
-
export function useFilterTree({ grid, column, treeItemHeight = 24, pivotMode, applyChangesImmediately = false, query, }) {
|
|
5
|
-
const [items, setItems] = useState([]);
|
|
6
|
-
const [expansions, onExpansionChange] = useState({});
|
|
7
|
-
const [loading, setLoading] = useState(false);
|
|
8
|
-
const [error, setError] = useState();
|
|
9
|
-
const rds = grid.state.rowDataSource.useValue();
|
|
10
|
-
const filterModel = grid.state.filterInModel.useValue();
|
|
11
|
-
const pivotModel = grid.state.columnPivotModel.useValue().filtersIn;
|
|
12
|
-
const currentPivotMode = grid.state.columnPivotMode.useValue();
|
|
13
|
-
const model = (pivotMode ?? currentPivotMode) ? pivotModel : filterModel;
|
|
14
|
-
const existingFilter = useMemo(() => {
|
|
15
|
-
const filter = model[column.id];
|
|
16
|
-
return filter ?? { kind: "in", operator: "not_in", value: new Set() };
|
|
17
|
-
}, [column.id, model]);
|
|
18
|
-
const [changes, setChanges] = useState(() => existingFilter);
|
|
19
|
-
// Keep in sync with any external changes.
|
|
20
|
-
useEffect(() => {
|
|
21
|
-
setChanges(existingFilter);
|
|
22
|
-
}, [existingFilter]);
|
|
23
|
-
const fetchItems = useEvent(() => {
|
|
24
|
-
const items = rds.inFilterItems(column);
|
|
25
|
-
if ("then" in items) {
|
|
26
|
-
setLoading(true);
|
|
27
|
-
items
|
|
28
|
-
.then((res) => {
|
|
29
|
-
setItems(res);
|
|
30
|
-
setError(null);
|
|
31
|
-
})
|
|
32
|
-
.catch((error) => setError(error))
|
|
33
|
-
.finally(() => setLoading(false));
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
setItems(items);
|
|
37
|
-
setError(null);
|
|
38
|
-
setLoading(false);
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
useEffect(() => {
|
|
42
|
-
fetchItems();
|
|
43
|
-
}, [column, fetchItems, rds]);
|
|
44
|
-
const filteredItems = useMemo(() => {
|
|
45
|
-
if (!query)
|
|
46
|
-
return items;
|
|
47
|
-
return items.filter((c) => c.label.toLowerCase().includes(query.toLowerCase()));
|
|
48
|
-
}, [items, query]);
|
|
49
|
-
const itemsWithSelectAll = useMemo(() => {
|
|
50
|
-
return [{ id: "__LNG__SELECT_ALL", label: "(Select All)", value: "" }, ...filteredItems];
|
|
51
|
-
}, [filteredItems]);
|
|
52
|
-
const virt = useVirtualizedTree({
|
|
53
|
-
itemHeight: treeItemHeight,
|
|
54
|
-
paths: itemsWithSelectAll,
|
|
55
|
-
expansions,
|
|
56
|
-
expansionDefault: true,
|
|
57
|
-
nonAdjacentPathTrees: false,
|
|
58
|
-
});
|
|
59
|
-
const apply = useEvent(() => {
|
|
60
|
-
if (applyChangesImmediately)
|
|
61
|
-
return;
|
|
62
|
-
if (pivotMode) {
|
|
63
|
-
grid.state.columnPivotModel.set((prev) => {
|
|
64
|
-
return {
|
|
65
|
-
...prev,
|
|
66
|
-
filtersIn: { ...prev.filtersIn, [column.id]: changes },
|
|
67
|
-
};
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
grid.state.filterInModel.set((prev) => ({ ...prev, [column.id]: changes }));
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
const reset = useEvent(() => {
|
|
75
|
-
if (applyChangesImmediately)
|
|
76
|
-
return;
|
|
77
|
-
setChanges(existingFilter);
|
|
78
|
-
});
|
|
79
|
-
return {
|
|
80
|
-
rootProps: {
|
|
81
|
-
fetchItems,
|
|
82
|
-
items,
|
|
83
|
-
grid,
|
|
84
|
-
columnId: column.id,
|
|
85
|
-
expansions,
|
|
86
|
-
pivotMode: pivotMode ?? currentPivotMode,
|
|
87
|
-
onExpansionChange,
|
|
88
|
-
treeRef: virt.ref,
|
|
89
|
-
loading,
|
|
90
|
-
error,
|
|
91
|
-
filterIn: changes,
|
|
92
|
-
filterInChange: setChanges,
|
|
93
|
-
applyChangesImmediately,
|
|
94
|
-
...virt.rootProps,
|
|
95
|
-
},
|
|
96
|
-
spacer: virt.spacer,
|
|
97
|
-
tree: virt.virtualTree,
|
|
98
|
-
apply,
|
|
99
|
-
reset,
|
|
100
|
-
};
|
|
101
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { FilterInFilterItem } from "../../+types.js";
|
|
2
|
-
import type { TreeVirtualItem } from "../../tree-view/virtualized/make-virtual-tree.js";
|
|
3
|
-
export declare function useTreeItem(item: TreeVirtualItem<FilterInFilterItem>): {
|
|
4
|
-
onCheckChange: (b?: boolean) => void;
|
|
5
|
-
isChecked: boolean;
|
|
6
|
-
isIndeterminate: boolean;
|
|
7
|
-
item: TreeVirtualItem<FilterInFilterItem>;
|
|
8
|
-
};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { useCallback, useMemo } from "react";
|
|
2
|
-
import { useGrid } from "../../grid-provider/use-grid.js";
|
|
3
|
-
import { useTreeContext } from "../context.js";
|
|
4
|
-
function isSelectAll(item) {
|
|
5
|
-
return item.kind === "leaf" && item.leaf.data.id === "__LNG__SELECT_ALL";
|
|
6
|
-
}
|
|
7
|
-
export function useTreeItem(item) {
|
|
8
|
-
const { filter, filterChange, pivotMode, columnId, items, applyChangesImmediately } = useTreeContext();
|
|
9
|
-
const grid = useGrid();
|
|
10
|
-
const itemValues = useMemo(() => {
|
|
11
|
-
if (item.kind === "leaf")
|
|
12
|
-
return [item.leaf.data.value];
|
|
13
|
-
const leafItems = [];
|
|
14
|
-
const stack = [...item.children.values()];
|
|
15
|
-
while (stack.length) {
|
|
16
|
-
const c = stack.pop();
|
|
17
|
-
if (c.kind === "leaf")
|
|
18
|
-
leafItems.push(c.leaf.data.value);
|
|
19
|
-
else
|
|
20
|
-
stack.push(...c.children.values());
|
|
21
|
-
}
|
|
22
|
-
return leafItems;
|
|
23
|
-
}, [item]);
|
|
24
|
-
const isChecked = useMemo(() => {
|
|
25
|
-
if (filter.operator === "in") {
|
|
26
|
-
if (isSelectAll(item)) {
|
|
27
|
-
return items.every((c) => filter.value.has(c.value));
|
|
28
|
-
}
|
|
29
|
-
return itemValues.every((c) => filter.value.has(c));
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
if (isSelectAll(item)) {
|
|
33
|
-
return filter.value.size === 0;
|
|
34
|
-
}
|
|
35
|
-
return itemValues.every((c) => !filter.value.has(c));
|
|
36
|
-
}
|
|
37
|
-
}, [filter.operator, filter.value, item, itemValues, items]);
|
|
38
|
-
const isIndeterminate = useMemo(() => {
|
|
39
|
-
if (filter.operator === "in") {
|
|
40
|
-
if (isSelectAll(item)) {
|
|
41
|
-
return !isChecked && items.some((c) => filter.value.has(c));
|
|
42
|
-
}
|
|
43
|
-
return !isChecked && itemValues.some((c) => filter.value.has(c));
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
if (isSelectAll(item)) {
|
|
47
|
-
return (!isChecked && filter.value.size > 0 && items.some((c) => !filter.value.has(c)));
|
|
48
|
-
}
|
|
49
|
-
return !isChecked && itemValues.some((c) => !filter.value.has(c));
|
|
50
|
-
}
|
|
51
|
-
}, [item, isChecked, itemValues, filter, items]);
|
|
52
|
-
const onCheckChange = useCallback((b) => {
|
|
53
|
-
const checked = b ?? !isChecked;
|
|
54
|
-
let nextValue;
|
|
55
|
-
const operator = filter.operator;
|
|
56
|
-
if (isSelectAll(item)) {
|
|
57
|
-
if (operator === "in") {
|
|
58
|
-
nextValue = checked ? new Set(items.map((c) => c.value)) : new Set();
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
nextValue = checked ? new Set() : new Set(items.map((c) => c.value));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
nextValue = new Set(filter.value);
|
|
66
|
-
if (operator === "in") {
|
|
67
|
-
if (checked)
|
|
68
|
-
itemValues.forEach((c) => nextValue.add(c));
|
|
69
|
-
else
|
|
70
|
-
itemValues.forEach((c) => nextValue.delete(c));
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
if (checked)
|
|
74
|
-
itemValues.forEach((c) => nextValue.delete(c));
|
|
75
|
-
else
|
|
76
|
-
itemValues.forEach((c) => nextValue.add(c));
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
if (!applyChangesImmediately) {
|
|
80
|
-
filterChange({ kind: "in", operator, value: nextValue });
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
if (pivotMode) {
|
|
84
|
-
grid.state.columnPivotModel.set((prev) => {
|
|
85
|
-
return {
|
|
86
|
-
...prev,
|
|
87
|
-
filtersIn: {
|
|
88
|
-
...prev.filtersIn,
|
|
89
|
-
[columnId]: { kind: "in", operator, value: nextValue },
|
|
90
|
-
},
|
|
91
|
-
};
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
grid.state.filterInModel.set((prev) => ({
|
|
96
|
-
...prev,
|
|
97
|
-
[columnId]: { kind: "in", operator, value: nextValue },
|
|
98
|
-
}));
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}, [
|
|
102
|
-
isChecked,
|
|
103
|
-
item,
|
|
104
|
-
itemValues,
|
|
105
|
-
filter.operator,
|
|
106
|
-
filter.value,
|
|
107
|
-
applyChangesImmediately,
|
|
108
|
-
items,
|
|
109
|
-
filterChange,
|
|
110
|
-
pivotMode,
|
|
111
|
-
grid.state.columnPivotModel,
|
|
112
|
-
grid.state.filterInModel,
|
|
113
|
-
columnId,
|
|
114
|
-
]);
|
|
115
|
-
return useMemo(() => ({ onCheckChange, isChecked, isIndeterminate, item }), [isChecked, isIndeterminate, item, onCheckChange]);
|
|
116
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type SlotComponent } from "@1771technologies/lytenyte-react-hooks";
|
|
2
|
-
export interface InclusionCheckbox {
|
|
3
|
-
readonly as?: SlotComponent<{
|
|
4
|
-
checked: boolean;
|
|
5
|
-
indeterminate: boolean;
|
|
6
|
-
toggle: (s?: boolean) => void;
|
|
7
|
-
}>;
|
|
8
|
-
}
|
|
9
|
-
export declare const InclusionCheckbox: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & InclusionCheckbox, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useSlot } from "@1771technologies/lytenyte-react-hooks";
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
|
-
import { useTreeItemContext } from "./context.js";
|
|
5
|
-
export const InclusionCheckbox = forwardRef(function InclusionCheckbox({ as, ...props }, forwarded) {
|
|
6
|
-
const { isChecked, onCheckChange, isIndeterminate } = useTreeItemContext();
|
|
7
|
-
const rendered = useSlot({
|
|
8
|
-
props: [props],
|
|
9
|
-
ref: forwarded,
|
|
10
|
-
state: { checked: isChecked, toggle: onCheckChange, indeterminate: isIndeterminate },
|
|
11
|
-
slot: as ?? (_jsx("input", { type: "checkbox", checked: isChecked, "aria-label": "visibility toggle", onChange: () => onCheckChange() })),
|
|
12
|
-
});
|
|
13
|
-
return rendered;
|
|
14
|
-
});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type SlotComponent } from "@1771technologies/lytenyte-react-hooks";
|
|
2
|
-
export interface LabelProps {
|
|
3
|
-
readonly as?: SlotComponent;
|
|
4
|
-
}
|
|
5
|
-
export declare const Label: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & LabelProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useSlot } from "@1771technologies/lytenyte-react-hooks";
|
|
3
|
-
import { forwardRef, useMemo } from "react";
|
|
4
|
-
import { useTreeItemContext } from "./context.js";
|
|
5
|
-
export const Label = forwardRef(function Label({ as, ...props }, forwarded) {
|
|
6
|
-
const { item } = useTreeItemContext();
|
|
7
|
-
const label = useMemo(() => {
|
|
8
|
-
if (item.kind == "branch")
|
|
9
|
-
return item.branch.id.split("#").at(-1);
|
|
10
|
-
return item.leaf.data.label ?? item.leaf.data.id;
|
|
11
|
-
}, [item]);
|
|
12
|
-
const rendered = useSlot({
|
|
13
|
-
props: [{ children: label }, props],
|
|
14
|
-
ref: forwarded,
|
|
15
|
-
slot: as ?? _jsx("div", {}),
|
|
16
|
-
});
|
|
17
|
-
return rendered;
|
|
18
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { TreeVirtualLeaf } from "../tree-view/virtualized/make-virtual-tree";
|
|
2
|
-
import type { FilterInFilterItem } from "../+types";
|
|
3
|
-
export interface FilterTreeLeafProps {
|
|
4
|
-
readonly item: TreeVirtualLeaf<FilterInFilterItem>;
|
|
5
|
-
}
|
|
6
|
-
export declare const Leaf: import("react").ForwardRefExoticComponent<Omit<FilterTreeLeafProps & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
|
package/dist/filter-tree/leaf.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import { TreeLeaf } from "../tree-view/leaf.js";
|
|
4
|
-
import { FilterTreeItemContext } from "./context.js";
|
|
5
|
-
import { useTreeItem } from "./hooks/use-tree-item.js";
|
|
6
|
-
export const Leaf = forwardRef(function Leaf({ item, ...props }, forwarded) {
|
|
7
|
-
const value = useTreeItem(item);
|
|
8
|
-
return (_jsx(FilterTreeItemContext.Provider, { value: value, children: _jsx(TreeLeaf, { ...props, itemId: item.leaf.data.id, ref: forwarded, ...item.attrs, style: { ...props.style, ...item.attrs.style }, onClick: () => value.onCheckChange(), onKeyDown: (ev) => {
|
|
9
|
-
if (ev.key === " ") {
|
|
10
|
-
ev.preventDefault();
|
|
11
|
-
value.onCheckChange();
|
|
12
|
-
}
|
|
13
|
-
} }) }));
|
|
14
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type PropsWithChildren } from "react";
|
|
2
|
-
import type { Grid } from "../+types";
|
|
3
|
-
import type { UseTreeFilterReturn } from "./hooks/use-filter-tree";
|
|
4
|
-
import { type SlotComponent } from "@1771technologies/lytenyte-react-hooks";
|
|
5
|
-
export type FilterTreeRootProps<T> = UseTreeFilterReturn<T>["rootProps"] & {
|
|
6
|
-
readonly grid: Grid<T>;
|
|
7
|
-
readonly loadingAs?: SlotComponent;
|
|
8
|
-
readonly errorAs?: SlotComponent<{
|
|
9
|
-
error: any;
|
|
10
|
-
refetch: () => void;
|
|
11
|
-
}>;
|
|
12
|
-
};
|
|
13
|
-
export declare function Root<T>({ grid, treeRef, filterIn, pivotMode, columnId, children, error, loading, errorAs, loadingAs, fetchItems, items, applyChangesImmediately, filterInChange, ...rootProps }: PropsWithChildren<FilterTreeRootProps<T>>): import("react/jsx-runtime").JSX.Element;
|
package/dist/filter-tree/root.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo } from "react";
|
|
3
|
-
import { GridProvider } from "../grid-provider/provider.js";
|
|
4
|
-
import { TreeRoot } from "../tree-view/root.js";
|
|
5
|
-
import { FilterTreeContext } from "./context.js";
|
|
6
|
-
import { useSlot } from "@1771technologies/lytenyte-react-hooks";
|
|
7
|
-
export function Root({ grid, treeRef, filterIn, pivotMode, columnId, children, error, loading, errorAs, loadingAs, fetchItems, items, applyChangesImmediately, filterInChange, ...rootProps }) {
|
|
8
|
-
const value = useMemo(() => {
|
|
9
|
-
return {
|
|
10
|
-
filter: filterIn,
|
|
11
|
-
filterChange: filterInChange,
|
|
12
|
-
pivotMode,
|
|
13
|
-
columnId,
|
|
14
|
-
items,
|
|
15
|
-
applyChangesImmediately,
|
|
16
|
-
};
|
|
17
|
-
}, [applyChangesImmediately, columnId, filterIn, filterInChange, items, pivotMode]);
|
|
18
|
-
const loadingSlot = useSlot({
|
|
19
|
-
slot: loadingAs ?? _jsx("div", { children: "Loading..." }),
|
|
20
|
-
});
|
|
21
|
-
const errorSlot = useSlot({
|
|
22
|
-
slot: errorAs ?? _jsx("div", { children: "Error Occurred Fetching" }),
|
|
23
|
-
state: { error, refetch: fetchItems },
|
|
24
|
-
});
|
|
25
|
-
if (loading)
|
|
26
|
-
return loadingSlot;
|
|
27
|
-
if (error)
|
|
28
|
-
return errorSlot;
|
|
29
|
-
return (_jsx(GridProvider, { value: grid, children: _jsx(FilterTreeContext.Provider, { value: value, children: _jsx(TreeRoot, { selectMode: "none", transitionEnter: 0, transitionExit: 0, expansionDefault: true, ref: treeRef, ...rootProps, children: children }) }) }));
|
|
30
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { DropEventParams } from "../+types.js";
|
|
2
|
-
export interface GridBoxItem<T = any> {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
readonly label: string;
|
|
5
|
-
readonly data: T;
|
|
6
|
-
readonly dragData: Record<string, any>;
|
|
7
|
-
readonly draggable: boolean;
|
|
8
|
-
readonly dragPlaceholder?: (el: HTMLElement) => HTMLElement;
|
|
9
|
-
readonly onDrop: (p: DropEventParams) => void;
|
|
10
|
-
readonly onAction: (el: HTMLElement) => void;
|
|
11
|
-
readonly onDelete: (el: HTMLElement) => void;
|
|
12
|
-
readonly index: number;
|
|
13
|
-
readonly source: string;
|
|
14
|
-
readonly active?: boolean;
|
|
15
|
-
}
|
package/dist/grid-box/+types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { DropEventParams } from "../+types.js";
|
|
2
|
-
interface GridBoxContextValue {
|
|
3
|
-
readonly accepted: string[];
|
|
4
|
-
readonly orientation: "horizontal" | "vertical";
|
|
5
|
-
readonly onRootDrop: (p: DropEventParams) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const GridBoxContext: import("react").Context<GridBoxContextValue>;
|
|
8
|
-
export declare const useGridBoxContext: () => GridBoxContextValue;
|
|
9
|
-
export {};
|
package/dist/grid-box/context.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { GridBoxRoot } from "./root.js";
|
|
2
|
-
import { useAggregationBoxItems } from "./use-aggregation-box-items.js";
|
|
3
|
-
import { useColumnBoxItems } from "./use-column-box-items.js";
|
|
4
|
-
import { useRowGroupBoxItems } from "./use-row-group-box-items.js";
|
|
5
|
-
export declare const GridBox: {
|
|
6
|
-
Root: typeof GridBoxRoot;
|
|
7
|
-
Panel: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onDrop">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
-
Item: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("./item.js").GridBoxItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
-
useColumnBoxItems: typeof useColumnBoxItems;
|
|
10
|
-
useRowGroupBoxItems: typeof useRowGroupBoxItems;
|
|
11
|
-
useAggregationBoxItems: typeof useAggregationBoxItems;
|
|
12
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BoxItem } from "./item.js";
|
|
2
|
-
import { GridBoxPanel } from "./panel.js";
|
|
3
|
-
import { GridBoxRoot } from "./root.js";
|
|
4
|
-
import { useAggregationBoxItems } from "./use-aggregation-box-items.js";
|
|
5
|
-
import { useColumnBoxItems } from "./use-column-box-items.js";
|
|
6
|
-
import { useRowGroupBoxItems } from "./use-row-group-box-items.js";
|
|
7
|
-
export const GridBox = {
|
|
8
|
-
Root: GridBoxRoot,
|
|
9
|
-
Panel: GridBoxPanel,
|
|
10
|
-
Item: BoxItem,
|
|
11
|
-
useColumnBoxItems,
|
|
12
|
-
useRowGroupBoxItems,
|
|
13
|
-
useAggregationBoxItems,
|
|
14
|
-
};
|