@1771technologies/lytenyte-pro 1.0.12-dev.1 → 1.0.12-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/+types.d.ts +5836 -0
- package/dist/+types.js +1 -0
- package/dist/cell-selection/adjust-rect-for-row-and-cell-span.d.ts +2 -0
- package/dist/cell-selection/adjust-rect-for-row-and-cell-span.js +43 -0
- package/dist/cell-selection/are-rects-equal.d.ts +2 -0
- package/dist/cell-selection/are-rects-equal.js +6 -0
- package/dist/cell-selection/bound-selection-rect.d.ts +2 -0
- package/dist/cell-selection/bound-selection-rect.js +17 -0
- package/dist/cell-selection/cell-selection-containers.d.ts +3 -0
- package/dist/cell-selection/cell-selection-containers.js +91 -0
- package/dist/cell-selection/cell-selection-driver.d.ts +1 -0
- package/dist/cell-selection/cell-selection-driver.js +285 -0
- package/dist/cell-selection/cell-style-row.d.ts +8 -0
- package/dist/cell-selection/cell-style-row.js +84 -0
- package/dist/cell-selection/deselect-rect-range.d.ts +2 -0
- package/dist/cell-selection/deselect-rect-range.js +43 -0
- package/dist/cell-selection/expand-cell-selection-down.d.ts +5 -0
- package/dist/cell-selection/expand-cell-selection-down.js +39 -0
- package/dist/cell-selection/expand-cell-selection-end.d.ts +5 -0
- package/dist/cell-selection/expand-cell-selection-end.js +40 -0
- package/dist/cell-selection/expand-cell-selection-start.d.ts +5 -0
- package/dist/cell-selection/expand-cell-selection-start.js +39 -0
- package/dist/cell-selection/expand-cell-selection-up.d.ts +5 -0
- package/dist/cell-selection/expand-cell-selection-up.js +39 -0
- package/dist/cell-selection/full-width-start-end-index.d.ts +2 -0
- package/dist/cell-selection/full-width-start-end-index.js +5 -0
- package/dist/cell-selection/get-root-cell.d.ts +2 -0
- package/dist/cell-selection/get-root-cell.js +6 -0
- package/dist/cell-selection/index.d.ts +18 -0
- package/dist/cell-selection/index.js +18 -0
- package/dist/cell-selection/is-bottom-rect.d.ts +2 -0
- package/dist/cell-selection/is-bottom-rect.js +7 -0
- package/dist/cell-selection/is-center-col-rect.d.ts +5 -0
- package/dist/cell-selection/is-center-col-rect.js +5 -0
- package/dist/cell-selection/is-center-rect.d.ts +2 -0
- package/dist/cell-selection/is-center-rect.js +5 -0
- package/dist/cell-selection/is-end-rect.d.ts +5 -0
- package/dist/cell-selection/is-end-rect.js +4 -0
- package/dist/cell-selection/is-overlapping-rect.d.ts +2 -0
- package/dist/cell-selection/is-overlapping-rect.js +6 -0
- package/dist/cell-selection/is-start-rect.d.ts +5 -0
- package/dist/cell-selection/is-start-rect.js +4 -0
- package/dist/cell-selection/is-top-rect.d.ts +2 -0
- package/dist/cell-selection/is-top-rect.js +4 -0
- package/dist/cell-selection/is-within-selection-rect.d.ts +2 -0
- package/dist/cell-selection/is-within-selection-rect.js +3 -0
- package/dist/cell-selection/split-cell-selection-rect.d.ts +46 -0
- package/dist/cell-selection/split-cell-selection-rect.js +88 -0
- package/dist/cell-selection/split-on-pivot.d.ts +3 -0
- package/dist/cell-selection/split-on-pivot.js +50 -0
- package/dist/cell-selection/update-additive-cell-selection.d.ts +5 -0
- package/dist/cell-selection/update-additive-cell-selection.js +23 -0
- package/dist/cell-selection/use-edge-scroll.d.ts +10 -0
- package/dist/cell-selection/use-edge-scroll.js +66 -0
- package/dist/cells/+types.cell.d.ts +13 -0
- package/dist/cells/+types.cell.js +1 -0
- package/dist/cells/cell-default.d.ts +2 -0
- package/dist/cells/cell-default.js +8 -0
- package/dist/cells/cell-editor.d.ts +6 -0
- package/dist/cells/cell-editor.js +103 -0
- package/dist/cells/cell-spacer.d.ts +9 -0
- package/dist/cells/cell-spacer.js +34 -0
- package/dist/cells/cell.d.ts +5 -0
- package/dist/cells/cell.js +43 -0
- package/dist/cells/use-cell-style.d.ts +3 -0
- package/dist/cells/use-cell-style.js +51 -0
- package/dist/column-manager/branch-lookup-context.d.ts +4 -0
- package/dist/column-manager/branch-lookup-context.js +3 -0
- package/dist/column-manager/branch.d.ts +15 -0
- package/dist/column-manager/branch.js +54 -0
- package/dist/column-manager/column-manager.d.ts +13 -0
- package/dist/column-manager/column-manager.js +18 -0
- package/dist/column-manager/context.d.ts +7 -0
- package/dist/column-manager/context.js +3 -0
- package/dist/column-manager/label.d.ts +5 -0
- package/dist/column-manager/label.js +18 -0
- package/dist/column-manager/leaf.d.ts +6 -0
- package/dist/column-manager/leaf.js +58 -0
- package/dist/column-manager/move-handle.d.ts +5 -0
- package/dist/column-manager/move-handle.js +73 -0
- package/dist/column-manager/panel.d.ts +1 -0
- package/dist/column-manager/panel.js +2 -0
- package/dist/column-manager/root.d.ts +8 -0
- package/dist/column-manager/root.js +7 -0
- package/dist/column-manager/use-column-manager.d.ts +10 -0
- package/dist/column-manager/use-column-manager.js +24 -0
- package/dist/column-manager/use-columns-from-context.d.ts +3 -0
- package/dist/column-manager/use-columns-from-context.js +23 -0
- package/dist/column-manager/visibility-checkbox.d.ts +9 -0
- package/dist/column-manager/visibility-checkbox.js +30 -0
- package/dist/context.d.ts +10 -0
- package/dist/context.js +4 -0
- package/dist/filter-tree/branch.d.ts +13 -0
- package/dist/filter-tree/branch.js +21 -0
- package/dist/filter-tree/context.d.ts +27 -0
- package/dist/filter-tree/context.js +5 -0
- package/dist/filter-tree/filter-tree.d.ts +14 -0
- package/dist/filter-tree/filter-tree.js +18 -0
- package/dist/filter-tree/hooks/use-filter-tree.d.ts +38 -0
- package/dist/filter-tree/hooks/use-filter-tree.js +101 -0
- package/dist/filter-tree/hooks/use-tree-item.d.ts +8 -0
- package/dist/filter-tree/hooks/use-tree-item.js +116 -0
- package/dist/filter-tree/inclusion-checkbox.d.ts +9 -0
- package/dist/filter-tree/inclusion-checkbox.js +14 -0
- package/dist/filter-tree/label.d.ts +5 -0
- package/dist/filter-tree/label.js +18 -0
- package/dist/filter-tree/leaf.d.ts +6 -0
- package/dist/filter-tree/leaf.js +14 -0
- package/dist/filter-tree/root.d.ts +13 -0
- package/dist/filter-tree/root.js +30 -0
- package/dist/grid-box/+types.d.ts +15 -0
- package/dist/grid-box/+types.js +1 -0
- package/dist/grid-box/context.d.ts +9 -0
- package/dist/grid-box/context.js +3 -0
- package/dist/grid-box/grid-box.d.ts +12 -0
- package/dist/grid-box/grid-box.js +14 -0
- package/dist/grid-box/item.d.ts +10 -0
- package/dist/grid-box/item.js +63 -0
- package/dist/grid-box/panel.d.ts +1 -0
- package/dist/grid-box/panel.js +9 -0
- package/dist/grid-box/root.d.ts +9 -0
- package/dist/grid-box/root.js +8 -0
- package/dist/grid-box/use-aggregation-box-items.d.ts +18 -0
- package/dist/grid-box/use-aggregation-box-items.js +61 -0
- package/dist/grid-box/use-column-box-items.d.ts +34 -0
- package/dist/grid-box/use-column-box-items.js +78 -0
- package/dist/grid-box/use-row-group-box-items.d.ts +18 -0
- package/dist/grid-box/use-row-group-box-items.js +169 -0
- package/dist/grid-provider/context.d.ts +5 -0
- package/dist/grid-provider/context.js +2 -0
- package/dist/grid-provider/provider.d.ts +3 -0
- package/dist/grid-provider/provider.js +2 -0
- package/dist/grid-provider/use-grid.d.ts +3 -0
- package/dist/grid-provider/use-grid.js +3 -0
- package/dist/grid.d.ts +18 -0
- package/dist/grid.js +28 -0
- package/dist/header/header-cell.d.ts +10 -0
- package/dist/header/header-cell.js +22 -0
- package/dist/header/header-group-cell.d.ts +5 -0
- package/dist/header/header-group-cell.js +16 -0
- package/dist/header/header-row.d.ts +4 -0
- package/dist/header/header-row.js +10 -0
- package/dist/header/header.d.ts +1 -0
- package/dist/header/header.js +12 -0
- package/dist/header/resize-handler.d.ts +12 -0
- package/dist/header/resize-handler.js +136 -0
- package/dist/header/use-drag-move.d.ts +14 -0
- package/dist/header/use-drag-move.js +97 -0
- package/dist/header/use-header-cell-renderer.d.ts +4 -0
- package/dist/header/use-header-cell-renderer.js +36 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +3 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +13 -0
- package/dist/license.d.ts +3 -0
- package/dist/license.js +214 -0
- package/dist/listbox/context.d.ts +6 -0
- package/dist/listbox/context.js +3 -0
- package/dist/listbox/item.d.ts +1 -0
- package/dist/listbox/item.js +25 -0
- package/dist/listbox/panel.d.ts +1 -0
- package/dist/listbox/panel.js +50 -0
- package/dist/listbox/root.d.ts +6 -0
- package/dist/listbox/root.js +12 -0
- package/dist/root/dialog-driver.d.ts +1 -0
- package/dist/root/dialog-driver.js +21 -0
- package/dist/root/popover-driver.d.ts +1 -0
- package/dist/root/popover-driver.js +21 -0
- package/dist/root/root.d.ts +8 -0
- package/dist/root/root.js +125 -0
- package/dist/row-data-source-client/+constants.d.ts +2 -0
- package/dist/row-data-source-client/+constants.js +2 -0
- package/dist/row-data-source-client/+types.d.ts +27 -0
- package/dist/row-data-source-client/+types.js +1 -0
- package/dist/row-data-source-client/built-ins/avg.d.ts +10 -0
- package/dist/row-data-source-client/built-ins/avg.js +16 -0
- package/dist/row-data-source-client/built-ins/built-ins.d.ts +44 -0
- package/dist/row-data-source-client/built-ins/built-ins.js +44 -0
- package/dist/row-data-source-client/built-ins/count.d.ts +10 -0
- package/dist/row-data-source-client/built-ins/count.js +16 -0
- package/dist/row-data-source-client/built-ins/first.d.ts +10 -0
- package/dist/row-data-source-client/built-ins/first.js +12 -0
- package/dist/row-data-source-client/built-ins/group.d.ts +1 -0
- package/dist/row-data-source-client/built-ins/group.js +3 -0
- package/dist/row-data-source-client/built-ins/last.d.ts +10 -0
- package/dist/row-data-source-client/built-ins/last.js +12 -0
- package/dist/row-data-source-client/built-ins/max.d.ts +11 -0
- package/dist/row-data-source-client/built-ins/max.js +25 -0
- package/dist/row-data-source-client/built-ins/min.d.ts +11 -0
- package/dist/row-data-source-client/built-ins/min.js +25 -0
- package/dist/row-data-source-client/built-ins/sum.d.ts +10 -0
- package/dist/row-data-source-client/built-ins/sum.js +21 -0
- package/dist/row-data-source-client/filter/+types.d.ts +23 -0
- package/dist/row-data-source-client/filter/+types.js +1 -0
- package/dist/row-data-source-client/filter/compute-filtered-rows.d.ts +2 -0
- package/dist/row-data-source-client/filter/compute-filtered-rows.js +109 -0
- package/dist/row-data-source-client/pivots/create-agg-model.d.ts +6 -0
- package/dist/row-data-source-client/pivots/create-agg-model.js +13 -0
- package/dist/row-data-source-client/pivots/create-pivot-columns-from-paths.d.ts +2 -0
- package/dist/row-data-source-client/pivots/create-pivot-columns-from-paths.js +50 -0
- package/dist/row-data-source-client/pivots/create-pivot-columns.d.ts +2 -0
- package/dist/row-data-source-client/pivots/create-pivot-columns.js +22 -0
- package/dist/row-data-source-client/pivots/create-pivot-tree.d.ts +2 -0
- package/dist/row-data-source-client/pivots/create-pivot-tree.js +23 -0
- package/dist/row-data-source-client/tree/client-tree.d.ts +18 -0
- package/dist/row-data-source-client/tree/client-tree.js +76 -0
- package/dist/row-data-source-client/tree/evaluator-aggregation.d.ts +2 -0
- package/dist/row-data-source-client/tree/evaluator-aggregation.js +8 -0
- package/dist/row-data-source-client/tree/evaluator-group.d.ts +2 -0
- package/dist/row-data-source-client/tree/evaluator-group.js +9 -0
- package/dist/row-data-source-client/tree/traverse.d.ts +2 -0
- package/dist/row-data-source-client/tree/traverse.js +22 -0
- package/dist/row-data-source-client/use-client-data-source-paginated.d.ts +10 -0
- package/dist/row-data-source-client/use-client-data-source-paginated.js +572 -0
- package/dist/row-data-source-client/use-client-data-source.d.ts +10 -0
- package/dist/row-data-source-client/use-client-data-source.js +666 -0
- package/dist/row-data-source-client/use-client-tree-data-source.d.ts +9 -0
- package/dist/row-data-source-client/use-client-tree-data-source.js +511 -0
- package/dist/row-data-source-server/async-tree/+constants.async-tree.d.ts +1 -0
- package/dist/row-data-source-server/async-tree/+constants.async-tree.js +1 -0
- package/dist/row-data-source-server/async-tree/+types.async-tree.d.ts +59 -0
- package/dist/row-data-source-server/async-tree/+types.async-tree.js +1 -0
- package/dist/row-data-source-server/async-tree/apply-delete-action-to-tree.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/apply-delete-action-to-tree.js +27 -0
- package/dist/row-data-source-server/async-tree/apply-set-action-to-tree.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/apply-set-action-to-tree.js +36 -0
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-are-unique.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-are-unique.js +24 -0
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-are-valid.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-are-valid.js +14 -0
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-fit.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-fit.js +18 -0
- package/dist/row-data-source-server/async-tree/check-set-action-item-kinds.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/check-set-action-item-kinds.js +14 -0
- package/dist/row-data-source-server/async-tree/get-parent-node-by-path.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/get-parent-node-by-path.js +18 -0
- package/dist/row-data-source-server/async-tree/is-set-action-a-no-op-on-node.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/is-set-action-a-no-op-on-node.js +3 -0
- package/dist/row-data-source-server/async-tree/make-async-tree.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/make-async-tree.js +19 -0
- package/dist/row-data-source-server/async-tree/maybe-apply-parent-remove-self.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/maybe-apply-parent-remove-self.js +8 -0
- package/dist/row-data-source-server/async-tree/maybe-apply-resize.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/maybe-apply-resize.js +17 -0
- package/dist/row-data-source-server/async-tree/maybe-apply-set-action-items.d.ts +2 -0
- package/dist/row-data-source-server/async-tree/maybe-apply-set-action-items.js +52 -0
- package/dist/row-data-source-server/range-tree/range-tree.d.ts +66 -0
- package/dist/row-data-source-server/range-tree/range-tree.js +102 -0
- package/dist/row-data-source-server/server-data.d.ts +48 -0
- package/dist/row-data-source-server/server-data.js +378 -0
- package/dist/row-data-source-server/use-server-data-source.d.ts +3 -0
- package/dist/row-data-source-server/use-server-data-source.js +344 -0
- package/dist/row-data-source-server/utils/get-node-depth.d.ts +2 -0
- package/dist/row-data-source-server/utils/get-node-depth.js +9 -0
- package/dist/row-data-source-server/utils/get-node-path.d.ts +2 -0
- package/dist/row-data-source-server/utils/get-node-path.js +9 -0
- package/dist/row-data-source-server/utils/get-request-id.d.ts +1 -0
- package/dist/row-data-source-server/utils/get-request-id.js +6 -0
- package/dist/rows/row/context.d.ts +14 -0
- package/dist/rows/row/context.js +13 -0
- package/dist/rows/row/row.d.ts +7 -0
- package/dist/rows/row/row.js +25 -0
- package/dist/rows/row/use-row-context-value.d.ts +6 -0
- package/dist/rows/row/use-row-context-value.js +44 -0
- package/dist/rows/row-detail-row.d.ts +4 -0
- package/dist/rows/row-detail-row.js +130 -0
- package/dist/rows/row-full-width.d.ts +8 -0
- package/dist/rows/row-full-width.js +19 -0
- package/dist/rows/rows-container.d.ts +1 -0
- package/dist/rows/rows-container.js +9 -0
- package/dist/rows/rows-sections.d.ts +3 -0
- package/dist/rows/rows-sections.js +27 -0
- package/dist/rows/scrollers/native-scroller.d.ts +2 -0
- package/dist/rows/scrollers/native-scroller.js +4 -0
- package/dist/sort-manager/+types.d.ts +13 -0
- package/dist/sort-manager/+types.js +1 -0
- package/dist/sort-manager/context.d.ts +14 -0
- package/dist/sort-manager/context.js +5 -0
- package/dist/sort-manager/hooks/use-sort-manager.d.ts +15 -0
- package/dist/sort-manager/hooks/use-sort-manager.js +56 -0
- package/dist/sort-manager/hooks/use-sort-row-item.d.ts +51 -0
- package/dist/sort-manager/hooks/use-sort-row-item.js +145 -0
- package/dist/sort-manager/hooks/use-sortable-column-items.d.ts +5 -0
- package/dist/sort-manager/hooks/use-sortable-column-items.js +13 -0
- package/dist/sort-manager/root.d.ts +3 -0
- package/dist/sort-manager/root.js +14 -0
- package/dist/sort-manager/sort-add.d.ts +8 -0
- package/dist/sort-manager/sort-add.js +14 -0
- package/dist/sort-manager/sort-apply.d.ts +7 -0
- package/dist/sort-manager/sort-apply.js +24 -0
- package/dist/sort-manager/sort-cancel.d.ts +7 -0
- package/dist/sort-manager/sort-cancel.js +27 -0
- package/dist/sort-manager/sort-clear.d.ts +7 -0
- package/dist/sort-manager/sort-clear.js +22 -0
- package/dist/sort-manager/sort-column-select.d.ts +10 -0
- package/dist/sort-manager/sort-column-select.js +20 -0
- package/dist/sort-manager/sort-direction-select.d.ts +10 -0
- package/dist/sort-manager/sort-direction-select.js +24 -0
- package/dist/sort-manager/sort-manager.d.ts +16 -0
- package/dist/sort-manager/sort-manager.js +26 -0
- package/dist/sort-manager/sort-remove.d.ts +7 -0
- package/dist/sort-manager/sort-remove.js +14 -0
- package/dist/sort-manager/sort-row.d.ts +5 -0
- package/dist/sort-manager/sort-row.js +7 -0
- package/dist/sort-manager/sort-rows.d.ts +1 -0
- package/dist/sort-manager/sort-rows.js +6 -0
- package/dist/sort-manager/sort-value-select.d.ts +11 -0
- package/dist/sort-manager/sort-value-select.js +25 -0
- package/dist/sort-manager/utils/sort-item-to-sort-model.d.ts +3 -0
- package/dist/sort-manager/utils/sort-item-to-sort-model.js +62 -0
- package/dist/sort-manager/utils/sort-model-to-sort-items.d.ts +3 -0
- package/dist/sort-manager/utils/sort-model-to-sort-items.js +50 -0
- package/dist/state/+types.d.ts +35 -0
- package/dist/state/+types.js +1 -0
- package/dist/state/api/cell-root.d.ts +5 -0
- package/dist/state/api/cell-root.js +64 -0
- package/dist/state/api/column-autosize.d.ts +5 -0
- package/dist/state/api/column-autosize.js +72 -0
- package/dist/state/api/column-by-id.d.ts +2 -0
- package/dist/state/api/column-by-id.js +6 -0
- package/dist/state/api/column-field.d.ts +2 -0
- package/dist/state/api/column-field.js +23 -0
- package/dist/state/api/column-from-index.d.ts +2 -0
- package/dist/state/api/column-from-index.js +6 -0
- package/dist/state/api/column-group-toggle.d.ts +2 -0
- package/dist/state/api/column-group-toggle.js +10 -0
- package/dist/state/api/column-index.d.ts +2 -0
- package/dist/state/api/column-index.js +7 -0
- package/dist/state/api/column-move.d.ts +2 -0
- package/dist/state/api/column-move.js +49 -0
- package/dist/state/api/column-resize.d.ts +2 -0
- package/dist/state/api/column-resize.js +9 -0
- package/dist/state/api/column-update.d.ts +5 -0
- package/dist/state/api/column-update.js +26 -0
- package/dist/state/api/dialog-frame.d.ts +8 -0
- package/dist/state/api/dialog-frame.js +16 -0
- package/dist/state/api/edit-begin.d.ts +5 -0
- package/dist/state/api/edit-begin.js +87 -0
- package/dist/state/api/edit-end.d.ts +5 -0
- package/dist/state/api/edit-end.js +43 -0
- package/dist/state/api/edit-is-cell-active.d.ts +5 -0
- package/dist/state/api/edit-is-cell-active.js +22 -0
- package/dist/state/api/edit-update.d.ts +5 -0
- package/dist/state/api/edit-update.js +88 -0
- package/dist/state/api/event-listeners.d.ts +5 -0
- package/dist/state/api/event-listeners.js +19 -0
- package/dist/state/api/export-csv.d.ts +3 -0
- package/dist/state/api/export-csv.js +40 -0
- package/dist/state/api/export-data-rect.d.ts +2 -0
- package/dist/state/api/export-data-rect.js +24 -0
- package/dist/state/api/focus-cell.d.ts +5 -0
- package/dist/state/api/focus-cell.js +117 -0
- package/dist/state/api/popover-frame.d.ts +8 -0
- package/dist/state/api/popover-frame.js +16 -0
- package/dist/state/api/position-from-element.d.ts +2 -0
- package/dist/state/api/position-from-element.js +9 -0
- package/dist/state/api/row-by-id.d.ts +2 -0
- package/dist/state/api/row-by-id.js +5 -0
- package/dist/state/api/row-by-index.d.ts +2 -0
- package/dist/state/api/row-by-index.js +9 -0
- package/dist/state/api/row-detail-is-expanded.d.ts +2 -0
- package/dist/state/api/row-detail-is-expanded.js +6 -0
- package/dist/state/api/row-detail-rendered-height.d.ts +5 -0
- package/dist/state/api/row-detail-rendered-height.js +14 -0
- package/dist/state/api/row-detail-toggle.d.ts +2 -0
- package/dist/state/api/row-detail-toggle.js +32 -0
- package/dist/state/api/row-group-apply-expansions.d.ts +2 -0
- package/dist/state/api/row-group-apply-expansions.js +20 -0
- package/dist/state/api/row-group-column-index.d.ts +2 -0
- package/dist/state/api/row-group-column-index.js +14 -0
- package/dist/state/api/row-group-is-expanded.d.ts +2 -0
- package/dist/state/api/row-group-is-expanded.js +15 -0
- package/dist/state/api/row-group-toggle.d.ts +2 -0
- package/dist/state/api/row-group-toggle.js +7 -0
- package/dist/state/api/row-handle-select.d.ts +5 -0
- package/dist/state/api/row-handle-select.js +43 -0
- package/dist/state/api/row-select-all.d.ts +2 -0
- package/dist/state/api/row-select-all.js +17 -0
- package/dist/state/api/row-select.d.ts +5 -0
- package/dist/state/api/row-select.js +35 -0
- package/dist/state/api/row-selected.d.ts +2 -0
- package/dist/state/api/row-selected.js +13 -0
- package/dist/state/api/scroll-into-view.d.ts +5 -0
- package/dist/state/api/scroll-into-view.js +50 -0
- package/dist/state/api/sort-for-column.d.ts +2 -0
- package/dist/state/api/sort-for-column.js +9 -0
- package/dist/state/api/use-row-drag.d.ts +2 -0
- package/dist/state/api/use-row-drag.js +27 -0
- package/dist/state/helpers/cell-row-group.d.ts +2 -0
- package/dist/state/helpers/cell-row-group.js +19 -0
- package/dist/state/helpers/column-add-row-group.d.ts +10 -0
- package/dist/state/helpers/column-add-row-group.js +74 -0
- package/dist/state/helpers/column-layout.d.ts +3 -0
- package/dist/state/helpers/column-layout.js +59 -0
- package/dist/state/helpers/column-marker.d.ts +8 -0
- package/dist/state/helpers/column-marker.js +43 -0
- package/dist/state/helpers/column-view.d.ts +21 -0
- package/dist/state/helpers/column-view.js +33 -0
- package/dist/state/helpers/edit-on-change.d.ts +15 -0
- package/dist/state/helpers/edit-on-change.js +27 -0
- package/dist/state/helpers/empty-row-data-source.d.ts +2 -0
- package/dist/state/helpers/empty-row-data-source.js +18 -0
- package/dist/state/helpers/get-data-rect.d.ts +13 -0
- package/dist/state/helpers/get-data-rect.js +65 -0
- package/dist/state/helpers/get-full-width-callback.d.ts +2 -0
- package/dist/state/helpers/get-full-width-callback.js +10 -0
- package/dist/state/helpers/get-span-callback.d.ts +2 -0
- package/dist/state/helpers/get-span-callback.js +22 -0
- package/dist/state/helpers/resolve-column.d.ts +4 -0
- package/dist/state/helpers/resolve-column.js +29 -0
- package/dist/state/helpers/row-layout/get-focus-criteria.d.ts +17 -0
- package/dist/state/helpers/row-layout/get-focus-criteria.js +62 -0
- package/dist/state/helpers/row-layout/row-layout.d.ts +19 -0
- package/dist/state/helpers/row-layout/row-layout.js +181 -0
- package/dist/state/use-lytenyte.d.ts +3 -0
- package/dist/state/use-lytenyte.js +671 -0
- package/dist/tree-view/branch/branch.d.ts +14 -0
- package/dist/tree-view/branch/branch.js +63 -0
- package/dist/tree-view/branch/use-branch-keys.d.ts +2 -0
- package/dist/tree-view/branch/use-branch-keys.js +87 -0
- package/dist/tree-view/context.d.ts +22 -0
- package/dist/tree-view/context.js +3 -0
- package/dist/tree-view/depth-provider.d.ts +2 -0
- package/dist/tree-view/depth-provider.js +3 -0
- package/dist/tree-view/hooks/use-tree-view-paths.d.ts +2 -0
- package/dist/tree-view/hooks/use-tree-view-paths.js +9 -0
- package/dist/tree-view/index.d.ts +16 -0
- package/dist/tree-view/index.js +16 -0
- package/dist/tree-view/leaf.d.ts +4 -0
- package/dist/tree-view/leaf.js +28 -0
- package/dist/tree-view/navigation/get-all-ids.d.ts +1 -0
- package/dist/tree-view/navigation/get-all-ids.js +7 -0
- package/dist/tree-view/navigation/get-first-node.d.ts +1 -0
- package/dist/tree-view/navigation/get-first-node.js +7 -0
- package/dist/tree-view/navigation/get-last-node.d.ts +1 -0
- package/dist/tree-view/navigation/get-last-node.js +7 -0
- package/dist/tree-view/navigation/get-next-node.d.ts +1 -0
- package/dist/tree-view/navigation/get-next-node.js +13 -0
- package/dist/tree-view/navigation/get-prev-node.d.ts +1 -0
- package/dist/tree-view/navigation/get-prev-node.js +13 -0
- package/dist/tree-view/panel/make-handle-navigation.d.ts +2 -0
- package/dist/tree-view/panel/make-handle-navigation.js +39 -0
- package/dist/tree-view/panel/make-handle-selection.d.ts +2 -0
- package/dist/tree-view/panel/make-handle-selection.js +92 -0
- package/dist/tree-view/panel/make-handle-typeahead.d.ts +1 -0
- package/dist/tree-view/panel/make-handle-typeahead.js +45 -0
- package/dist/tree-view/panel/panel.d.ts +1 -0
- package/dist/tree-view/panel/panel.js +30 -0
- package/dist/tree-view/panel/use-tree-navigation.d.ts +1 -0
- package/dist/tree-view/panel/use-tree-navigation.js +63 -0
- package/dist/tree-view/root.d.ts +17 -0
- package/dist/tree-view/root.js +63 -0
- package/dist/tree-view/utils/get-focusable-nodes.d.ts +1 -0
- package/dist/tree-view/utils/get-focusable-nodes.js +5 -0
- package/dist/tree-view/utils/get-focused-node.d.ts +1 -0
- package/dist/tree-view/utils/get-focused-node.js +14 -0
- package/dist/tree-view/utils/get-ids-between-nodes.d.ts +1 -0
- package/dist/tree-view/utils/get-ids-between-nodes.js +15 -0
- package/dist/tree-view/utils/get-panel.d.ts +1 -0
- package/dist/tree-view/utils/get-panel.js +7 -0
- package/dist/tree-view/utils/get-parent-node.d.ts +1 -0
- package/dist/tree-view/utils/get-parent-node.js +10 -0
- package/dist/tree-view/utils/get-sibling-branches.d.ts +1 -0
- package/dist/tree-view/utils/get-sibling-branches.js +14 -0
- package/dist/tree-view/utils/get-tree-node-id.d.ts +1 -0
- package/dist/tree-view/utils/get-tree-node-id.js +3 -0
- package/dist/tree-view/utils/is-branch-node.d.ts +1 -0
- package/dist/tree-view/utils/is-branch-node.js +3 -0
- package/dist/tree-view/utils/is-leaf-node.d.ts +1 -0
- package/dist/tree-view/utils/is-leaf-node.js +3 -0
- package/dist/tree-view/utils/is-tree-node-disabled.d.ts +1 -0
- package/dist/tree-view/utils/is-tree-node-disabled.js +3 -0
- package/dist/tree-view/utils/select-node.d.ts +2 -0
- package/dist/tree-view/utils/select-node.js +15 -0
- package/dist/tree-view/utils/toggle-all-selections.d.ts +2 -0
- package/dist/tree-view/utils/toggle-all-selections.js +9 -0
- package/dist/tree-view/utils/toggle-selection.d.ts +2 -0
- package/dist/tree-view/utils/toggle-selection.js +21 -0
- package/dist/tree-view/virtualized/force-sync-scrolling.d.ts +2 -0
- package/dist/tree-view/virtualized/force-sync-scrolling.js +23 -0
- package/dist/tree-view/virtualized/get-virtual-tree-paths.d.ts +2 -0
- package/dist/tree-view/virtualized/get-virtual-tree-paths.js +14 -0
- package/dist/tree-view/virtualized/make-virtual-tree.d.ts +31 -0
- package/dist/tree-view/virtualized/make-virtual-tree.js +90 -0
- package/dist/tree-view/virtualized/use-flattened-tree.d.ts +9 -0
- package/dist/tree-view/virtualized/use-flattened-tree.js +36 -0
- package/dist/tree-view/virtualized/use-row-start-and-end.d.ts +2 -0
- package/dist/tree-view/virtualized/use-row-start-and-end.js +27 -0
- package/dist/tree-view/virtualized/use-virtualized-tree.d.ts +22 -0
- package/dist/tree-view/virtualized/use-virtualized-tree.js +100 -0
- package/dist/types/types.d.ts +8 -0
- package/dist/types/types.js +1 -0
- package/dist/utils/cycle-sorts.d.ts +2 -0
- package/dist/utils/cycle-sorts.js +16 -0
- package/dist/viewport/begin-editing.d.ts +5 -0
- package/dist/viewport/begin-editing.js +15 -0
- package/dist/viewport/viewport.d.ts +1 -0
- package/dist/viewport/viewport.js +78 -0
- package/package.json +7 -7
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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>>;
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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>>;
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
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;
|
|
@@ -0,0 +1,5 @@
|
|
|
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);
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
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>;
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,5 @@
|
|
|
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>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
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>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
};
|