@1771technologies/lytenyte-pro 1.0.0-beta.36 → 1.0.0-beta.37
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 +4469 -4219
- package/dist/cell-selection/adjust-rect-for-row-and-cell-span.js +38 -38
- package/dist/cell-selection/are-rects-equal.js +4 -6
- package/dist/cell-selection/bound-selection-rect.js +14 -14
- package/dist/cell-selection/cell-selection-containers.js +78 -108
- package/dist/cell-selection/cell-selection-driver.js +262 -250
- package/dist/cell-selection/cell-style-row.d.ts +6 -12
- package/dist/cell-selection/cell-style-row.js +79 -82
- package/dist/cell-selection/deselect-rect-range.js +40 -41
- package/dist/cell-selection/expand-cell-selection-down.d.ts +2 -5
- package/dist/cell-selection/expand-cell-selection-down.js +33 -29
- package/dist/cell-selection/expand-cell-selection-end.d.ts +2 -5
- package/dist/cell-selection/expand-cell-selection-end.js +34 -30
- package/dist/cell-selection/expand-cell-selection-start.d.ts +2 -5
- package/dist/cell-selection/expand-cell-selection-start.js +33 -29
- package/dist/cell-selection/expand-cell-selection-up.d.ts +2 -5
- package/dist/cell-selection/expand-cell-selection-up.js +33 -29
- package/dist/cell-selection/full-width-start-end-index.js +3 -3
- package/dist/cell-selection/get-root-cell.d.ts +1 -5
- package/dist/cell-selection/get-root-cell.js +79 -77
- package/dist/cell-selection/is-bottom-rect.js +5 -5
- package/dist/cell-selection/is-center-col-rect.d.ts +2 -5
- package/dist/cell-selection/is-center-col-rect.js +3 -5
- package/dist/cell-selection/is-center-rect.js +3 -3
- package/dist/cell-selection/is-end-rect.d.ts +2 -5
- package/dist/cell-selection/is-end-rect.js +2 -2
- package/dist/cell-selection/is-overlapping-rect.js +4 -6
- package/dist/cell-selection/is-start-rect.d.ts +2 -5
- package/dist/cell-selection/is-start-rect.js +2 -2
- package/dist/cell-selection/is-top-rect.js +2 -2
- package/dist/cell-selection/is-within-selection-rect.js +1 -1
- package/dist/cell-selection/split-cell-selection-rect.d.ts +6 -12
- package/dist/cell-selection/split-cell-selection-rect.js +47 -53
- package/dist/cell-selection/update-additive-cell-selection.d.ts +2 -5
- package/dist/cell-selection/update-additive-cell-selection.js +17 -16
- package/dist/cell-selection/use-edge-scroll.d.ts +6 -8
- package/dist/cell-selection/use-edge-scroll.js +63 -65
- package/dist/cells/cell-default.d.ts +1 -5
- package/dist/cells/cell-default.js +5 -5
- package/dist/cells/cell-editor.d.ts +2 -4
- package/dist/cells/cell-editor.js +92 -129
- package/dist/cells/cell.d.ts +3 -16
- package/dist/cells/cell.js +27 -56
- package/dist/column-manager/branch-lookup-context.d.ts +1 -3
- package/dist/column-manager/branch.d.ts +9 -17
- package/dist/column-manager/branch.js +46 -64
- package/dist/column-manager/column-manager.d.ts +8 -57
- package/dist/column-manager/column-manager.js +8 -8
- package/dist/column-manager/context.d.ts +1 -1
- package/dist/column-manager/label.d.ts +2 -10
- package/dist/column-manager/label.js +12 -11
- package/dist/column-manager/leaf.d.ts +2 -10
- package/dist/column-manager/leaf.js +49 -61
- package/dist/column-manager/move-handle.d.ts +6 -14
- package/dist/column-manager/move-handle.js +48 -52
- package/dist/column-manager/panel.d.ts +1 -10
- package/dist/column-manager/root.d.ts +3 -7
- package/dist/column-manager/root.js +1 -4
- package/dist/column-manager/use-column-manager.d.ts +5 -7
- package/dist/column-manager/use-column-manager.js +21 -15
- package/dist/column-manager/use-columns-from-context.d.ts +1 -3
- package/dist/column-manager/use-columns-from-context.js +18 -18
- package/dist/column-manager/visibility-checkbox.d.ts +6 -14
- package/dist/column-manager/visibility-checkbox.js +23 -36
- package/dist/context.d.ts +4 -4
- package/dist/filter-tree/branch.d.ts +8 -16
- package/dist/filter-tree/branch.js +13 -23
- package/dist/filter-tree/context.d.ts +16 -16
- package/dist/filter-tree/filter-tree.d.ts +8 -49
- package/dist/filter-tree/filter-tree.js +8 -8
- package/dist/filter-tree/hooks/use-filter-tree.d.ts +29 -35
- package/dist/filter-tree/hooks/use-filter-tree.js +92 -94
- package/dist/filter-tree/hooks/use-tree-item.d.ts +4 -4
- package/dist/filter-tree/hooks/use-tree-item.js +106 -99
- package/dist/filter-tree/inclusion-checkbox.d.ts +6 -14
- package/dist/filter-tree/inclusion-checkbox.js +9 -19
- package/dist/filter-tree/label.d.ts +2 -10
- package/dist/filter-tree/label.js +12 -11
- package/dist/filter-tree/leaf.d.ts +2 -10
- package/dist/filter-tree/leaf.js +5 -15
- package/dist/filter-tree/root.d.ts +7 -23
- package/dist/filter-tree/root.js +23 -51
- package/dist/grid-box/+types.d.ts +11 -11
- package/dist/grid-box/context.d.ts +3 -3
- package/dist/grid-box/grid-box.d.ts +6 -26
- package/dist/grid-box/grid-box.js +6 -6
- package/dist/grid-box/item.d.ts +5 -13
- package/dist/grid-box/item.js +56 -73
- package/dist/grid-box/panel.d.ts +1 -13
- package/dist/grid-box/panel.js +2 -9
- package/dist/grid-box/root.d.ts +5 -11
- package/dist/grid-box/root.js +2 -11
- package/dist/grid-box/use-aggregation-box-items.d.ts +13 -16
- package/dist/grid-box/use-aggregation-box-items.js +57 -56
- package/dist/grid-box/use-column-box-items.d.ts +23 -33
- package/dist/grid-box/use-column-box-items.js +75 -87
- package/dist/grid-box/use-row-group-box-items.d.ts +12 -17
- package/dist/grid-box/use-row-group-box-items.js +123 -120
- package/dist/grid-provider/context.d.ts +2 -4
- package/dist/grid-provider/provider.d.ts +2 -4
- package/dist/grid-provider/use-grid.d.ts +1 -1
- package/dist/grid.d.ts +14 -126
- package/dist/grid.js +14 -14
- package/dist/header/header-cell.d.ts +5 -13
- package/dist/header/header-cell.js +15 -41
- package/dist/header/header-group-cell.d.ts +2 -10
- package/dist/header/header-group-cell.js +8 -26
- package/dist/header/header-row.d.ts +2 -10
- package/dist/header/header-row.js +2 -2
- package/dist/header/header.d.ts +1 -10
- package/dist/header/header.js +2 -11
- package/dist/header/resize-handler.d.ts +6 -15
- package/dist/header/resize-handler.js +122 -131
- package/dist/header/use-drag-move.d.ts +11 -22
- package/dist/header/use-drag-move.js +94 -95
- package/dist/header/use-header-cell-renderer.d.ts +2 -9
- package/dist/header/use-header-cell-renderer.js +29 -25
- package/dist/icons/index.d.ts +1 -92
- package/dist/icons/index.js +1 -92
- package/dist/index.d.ts +5 -22
- package/dist/index.js +5 -22
- package/dist/license.js +174 -174
- package/dist/listbox/context.d.ts +2 -2
- package/dist/listbox/item.d.ts +1 -10
- package/dist/listbox/item.js +19 -23
- package/dist/listbox/panel.d.ts +1 -10
- package/dist/listbox/panel.js +43 -69
- package/dist/listbox/root.d.ts +3 -5
- package/dist/listbox/root.js +7 -7
- package/dist/root/dialog-driver.js +16 -22
- package/dist/root/popover-driver.js +16 -27
- package/dist/root/root.d.ts +3 -7
- package/dist/root/root.js +107 -111
- package/dist/row-data-source-client/+types.d.ts +17 -17
- package/dist/row-data-source-client/built-ins/avg.js +4 -3
- package/dist/row-data-source-client/built-ins/built-ins.d.ts +16 -16
- package/dist/row-data-source-client/built-ins/built-ins.js +16 -16
- package/dist/row-data-source-client/built-ins/count.js +5 -3
- package/dist/row-data-source-client/built-ins/first.js +1 -1
- package/dist/row-data-source-client/built-ins/group.js +1 -1
- package/dist/row-data-source-client/built-ins/last.js +1 -1
- package/dist/row-data-source-client/built-ins/max.js +13 -9
- package/dist/row-data-source-client/built-ins/min.js +13 -9
- package/dist/row-data-source-client/built-ins/sum.js +10 -8
- package/dist/row-data-source-client/filter/+types.d.ts +13 -35
- package/dist/row-data-source-client/filter/compute-filtered-rows.d.ts +2 -16
- package/dist/row-data-source-client/filter/compute-filtered-rows.js +102 -102
- package/dist/row-data-source-client/pivots/create-agg-model.d.ts +4 -8
- package/dist/row-data-source-client/pivots/create-agg-model.js +9 -8
- package/dist/row-data-source-client/pivots/create-pivot-columns-from-paths.d.ts +1 -6
- package/dist/row-data-source-client/pivots/create-pivot-columns-from-paths.js +46 -42
- package/dist/row-data-source-client/pivots/create-pivot-columns.d.ts +1 -6
- package/dist/row-data-source-client/pivots/create-pivot-columns.js +17 -16
- package/dist/row-data-source-client/pivots/create-pivot-tree.d.ts +1 -7
- package/dist/row-data-source-client/pivots/create-pivot-tree.js +19 -19
- package/dist/row-data-source-client/tree/client-tree.d.ts +13 -19
- package/dist/row-data-source-client/tree/client-tree.js +67 -64
- package/dist/row-data-source-client/tree/evaluator-aggregation.d.ts +1 -4
- package/dist/row-data-source-client/tree/evaluator-aggregation.js +6 -6
- package/dist/row-data-source-client/tree/evaluator-group.d.ts +1 -4
- package/dist/row-data-source-client/tree/evaluator-group.js +7 -6
- package/dist/row-data-source-client/tree/traverse.d.ts +1 -5
- package/dist/row-data-source-client/tree/traverse.js +18 -15
- package/dist/row-data-source-client/use-client-data-source-paginated.d.ts +5 -9
- package/dist/row-data-source-client/use-client-data-source-paginated.js +551 -566
- package/dist/row-data-source-client/use-client-data-source.d.ts +5 -9
- package/dist/row-data-source-client/use-client-data-source.js +661 -696
- package/dist/row-data-source-client/use-client-tree-data-source.d.ts +5 -9
- package/dist/row-data-source-client/use-client-tree-data-source.js +512 -523
- package/dist/row-data-source-server/async-tree/+types.async-tree.d.ts +33 -36
- package/dist/row-data-source-server/async-tree/apply-delete-action-to-tree.d.ts +1 -4
- package/dist/row-data-source-server/async-tree/apply-delete-action-to-tree.js +22 -18
- package/dist/row-data-source-server/async-tree/apply-set-action-to-tree.d.ts +1 -4
- package/dist/row-data-source-server/async-tree/apply-set-action-to-tree.js +25 -17
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-are-unique.js +18 -18
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-are-valid.js +10 -9
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-fit.d.ts +1 -4
- package/dist/row-data-source-server/async-tree/check-set-action-item-keys-fit.js +14 -13
- package/dist/row-data-source-server/async-tree/check-set-action-item-kinds.js +10 -9
- package/dist/row-data-source-server/async-tree/get-parent-node-by-path.d.ts +1 -4
- package/dist/row-data-source-server/async-tree/get-parent-node-by-path.js +13 -13
- package/dist/row-data-source-server/async-tree/is-set-action-a-no-op-on-node.d.ts +1 -4
- package/dist/row-data-source-server/async-tree/is-set-action-a-no-op-on-node.js +1 -1
- package/dist/row-data-source-server/async-tree/make-async-tree.js +14 -14
- package/dist/row-data-source-server/async-tree/maybe-apply-parent-remove-self.d.ts +1 -3
- package/dist/row-data-source-server/async-tree/maybe-apply-parent-remove-self.js +6 -6
- package/dist/row-data-source-server/async-tree/maybe-apply-resize.d.ts +1 -5
- package/dist/row-data-source-server/async-tree/maybe-apply-resize.js +14 -11
- package/dist/row-data-source-server/async-tree/maybe-apply-set-action-items.d.ts +1 -4
- package/dist/row-data-source-server/async-tree/maybe-apply-set-action-items.js +46 -42
- package/dist/row-data-source-server/range-tree/range-tree.d.ts +28 -28
- package/dist/row-data-source-server/range-tree/range-tree.js +48 -49
- package/dist/row-data-source-server/use-server-data-source.d.ts +2 -11
- package/dist/row-data-source-server/use-server-data-source.js +675 -688
- package/dist/row-data-source-server/utils/get-node-depth.js +7 -7
- package/dist/row-data-source-server/utils/get-node-path.js +7 -7
- package/dist/row-data-source-server/utils/get-request-id.js +4 -3
- package/dist/rows/row/context.d.ts +2 -2
- package/dist/rows/row/row.d.ts +3 -16
- package/dist/rows/row/row.js +4 -19
- package/dist/rows/row/use-row-context-value.d.ts +2 -5
- package/dist/rows/row/use-row-context-value.js +26 -23
- package/dist/rows/row-detail-row.d.ts +2 -4
- package/dist/rows/row-detail-row.js +124 -147
- package/dist/rows/row-full-width.d.ts +4 -12
- package/dist/rows/row-full-width.js +7 -35
- package/dist/rows/rows-container.d.ts +1 -10
- package/dist/rows/rows-container.js +3 -12
- package/dist/rows/rows-sections.d.ts +3 -30
- package/dist/rows/rows-sections.js +10 -42
- package/dist/rows/scrollers/native-scroller.d.ts +1 -3
- package/dist/rows/scrollers/native-scroller.js +13 -17
- package/dist/sort-manager/+types.d.ts +7 -14
- package/dist/sort-manager/context.d.ts +4 -4
- package/dist/sort-manager/hooks/use-sort-manager.d.ts +9 -9
- package/dist/sort-manager/hooks/use-sort-manager.js +49 -45
- package/dist/sort-manager/hooks/use-sort-row-item.d.ts +46 -57
- package/dist/sort-manager/hooks/use-sort-row-item.js +131 -126
- package/dist/sort-manager/hooks/use-sortable-column-items.d.ts +3 -6
- package/dist/sort-manager/hooks/use-sortable-column-items.js +10 -10
- package/dist/sort-manager/root.d.ts +1 -7
- package/dist/sort-manager/root.js +10 -10
- package/dist/sort-manager/sort-add.d.ts +5 -13
- package/dist/sort-manager/sort-add.js +8 -8
- package/dist/sort-manager/sort-apply.d.ts +4 -12
- package/dist/sort-manager/sort-apply.js +16 -16
- package/dist/sort-manager/sort-cancel.d.ts +4 -12
- package/dist/sort-manager/sort-cancel.js +19 -19
- package/dist/sort-manager/sort-clear.d.ts +4 -12
- package/dist/sort-manager/sort-clear.js +16 -15
- package/dist/sort-manager/sort-column-select.d.ts +6 -14
- package/dist/sort-manager/sort-column-select.js +14 -22
- package/dist/sort-manager/sort-direction-select.d.ts +6 -14
- package/dist/sort-manager/sort-direction-select.js +19 -27
- package/dist/sort-manager/sort-manager.d.ts +12 -93
- package/dist/sort-manager/sort-manager.js +12 -12
- package/dist/sort-manager/sort-remove.d.ts +4 -12
- package/dist/sort-manager/sort-remove.js +8 -8
- package/dist/sort-manager/sort-row.d.ts +2 -10
- package/dist/sort-manager/sort-row.js +1 -4
- package/dist/sort-manager/sort-rows.d.ts +1 -10
- package/dist/sort-manager/sort-rows.js +1 -1
- package/dist/sort-manager/sort-value-select.d.ts +7 -15
- package/dist/sort-manager/sort-value-select.js +19 -28
- package/dist/sort-manager/utils/sort-item-to-sort-model.d.ts +1 -4
- package/dist/sort-manager/utils/sort-item-to-sort-model.js +49 -46
- package/dist/sort-manager/utils/sort-model-to-sort-items.d.ts +1 -4
- package/dist/sort-manager/utils/sort-model-to-sort-items.js +44 -36
- package/dist/state/+types.d.ts +29 -43
- package/dist/state/api/column-autosize.d.ts +2 -4
- package/dist/state/api/column-autosize.js +63 -62
- package/dist/state/api/column-by-id.js +4 -4
- package/dist/state/api/column-field.js +20 -17
- package/dist/state/api/column-from-index.js +4 -4
- package/dist/state/api/column-group-toggle.js +8 -8
- package/dist/state/api/column-index.js +5 -5
- package/dist/state/api/column-move.js +46 -48
- package/dist/state/api/column-resize.js +7 -9
- package/dist/state/api/column-update.d.ts +2 -4
- package/dist/state/api/column-update.js +23 -23
- package/dist/state/api/dialog-frame.d.ts +4 -8
- package/dist/state/api/dialog-frame.js +12 -11
- package/dist/state/api/edit-begin.d.ts +2 -4
- package/dist/state/api/edit-begin.js +84 -71
- package/dist/state/api/edit-end.d.ts +2 -4
- package/dist/state/api/edit-end.js +41 -38
- package/dist/state/api/edit-is-cell-active.d.ts +2 -4
- package/dist/state/api/edit-is-cell-active.js +24 -17
- package/dist/state/api/edit-update.d.ts +2 -4
- package/dist/state/api/edit-update.js +85 -74
- package/dist/state/api/event-listeners.d.ts +3 -12
- package/dist/state/api/event-listeners.js +17 -16
- package/dist/state/api/export-csv.js +35 -33
- package/dist/state/api/export-data-rect.js +21 -21
- package/dist/state/api/focus-cell.d.ts +2 -4
- package/dist/state/api/focus-cell.js +109 -110
- package/dist/state/api/popover-frame.d.ts +4 -8
- package/dist/state/api/popover-frame.js +12 -11
- package/dist/state/api/position-from-element.js +6 -5
- package/dist/state/api/row-by-id.js +3 -3
- package/dist/state/api/row-by-index.js +6 -11
- package/dist/state/api/row-detail-is-expanded.d.ts +1 -3
- package/dist/state/api/row-detail-is-expanded.js +4 -4
- package/dist/state/api/row-detail-rendered-height.d.ts +2 -4
- package/dist/state/api/row-detail-rendered-height.js +12 -10
- package/dist/state/api/row-detail-toggle.js +30 -26
- package/dist/state/api/row-group-apply-expansions.d.ts +1 -3
- package/dist/state/api/row-group-apply-expansions.js +17 -15
- package/dist/state/api/row-group-column-index.d.ts +1 -3
- package/dist/state/api/row-group-column-index.js +12 -14
- package/dist/state/api/row-group-is-expanded.d.ts +1 -3
- package/dist/state/api/row-group-is-expanded.js +13 -11
- package/dist/state/api/row-group-toggle.js +5 -5
- package/dist/state/api/row-handle-select.d.ts +2 -4
- package/dist/state/api/row-handle-select.js +40 -36
- package/dist/state/api/row-select-all.js +15 -14
- package/dist/state/api/row-select.d.ts +2 -4
- package/dist/state/api/row-select.js +33 -30
- package/dist/state/api/row-selected.js +11 -10
- package/dist/state/api/scroll-into-view.d.ts +2 -4
- package/dist/state/api/scroll-into-view.js +47 -47
- package/dist/state/api/sort-for-column.js +7 -6
- package/dist/state/api/use-row-drag.js +24 -22
- package/dist/state/helpers/cell-row-group.d.ts +1 -5
- package/dist/state/helpers/cell-row-group.js +16 -18
- package/dist/state/helpers/column-add-row-group.d.ts +7 -18
- package/dist/state/helpers/column-add-row-group.js +66 -71
- package/dist/state/helpers/column-layout.d.ts +1 -7
- package/dist/state/helpers/column-layout.js +60 -60
- package/dist/state/helpers/column-marker.d.ts +4 -8
- package/dist/state/helpers/column-marker.js +34 -38
- package/dist/state/helpers/column-view.d.ts +15 -21
- package/dist/state/helpers/column-view.js +32 -56
- package/dist/state/helpers/edit-on-change.d.ts +10 -18
- package/dist/state/helpers/edit-on-change.js +25 -25
- package/dist/state/helpers/empty-row-data-source.js +16 -16
- package/dist/state/helpers/get-data-rect.d.ts +10 -20
- package/dist/state/helpers/get-data-rect.js +62 -67
- package/dist/state/helpers/get-full-width-callback.d.ts +1 -5
- package/dist/state/helpers/get-full-width-callback.js +6 -5
- package/dist/state/helpers/get-span-callback.d.ts +1 -6
- package/dist/state/helpers/get-span-callback.js +18 -15
- package/dist/state/helpers/resolve-column.d.ts +2 -6
- package/dist/state/helpers/resolve-column.js +23 -23
- package/dist/state/helpers/row-layout/get-focus-criteria.d.ts +12 -15
- package/dist/state/helpers/row-layout/get-focus-criteria.js +56 -57
- package/dist/state/helpers/row-layout/row-layout.d.ts +9 -15
- package/dist/state/helpers/row-layout/row-layout.js +401 -387
- package/dist/state/use-lytenyte.js +528 -567
- package/dist/tree-view/branch/branch.d.ts +11 -19
- package/dist/tree-view/branch/branch.js +54 -106
- package/dist/tree-view/branch/use-branch-keys.d.ts +1 -5
- package/dist/tree-view/branch/use-branch-keys.js +74 -71
- package/dist/tree-view/context.d.ts +17 -21
- package/dist/tree-view/hooks/use-tree-view-paths.d.ts +1 -7
- package/dist/tree-view/hooks/use-tree-view-paths.js +5 -5
- package/dist/tree-view/index.d.ts +7 -35
- package/dist/tree-view/index.js +7 -7
- package/dist/tree-view/leaf.d.ts +2 -10
- package/dist/tree-view/leaf.js +21 -30
- package/dist/tree-view/navigation/get-all-ids.js +3 -3
- package/dist/tree-view/navigation/get-first-node.js +3 -3
- package/dist/tree-view/navigation/get-last-node.js +3 -3
- package/dist/tree-view/navigation/get-next-node.js +8 -6
- package/dist/tree-view/navigation/get-prev-node.js +8 -6
- package/dist/tree-view/panel/make-handle-navigation.js +31 -23
- package/dist/tree-view/panel/make-handle-selection.js +77 -68
- package/dist/tree-view/panel/make-handle-typeahead.js +40 -34
- package/dist/tree-view/panel/panel.d.ts +1 -10
- package/dist/tree-view/panel/panel.js +20 -40
- package/dist/tree-view/panel/use-tree-navigation.js +52 -64
- package/dist/tree-view/root.d.ts +14 -20
- package/dist/tree-view/root.js +55 -53
- package/dist/tree-view/utils/get-focusable-nodes.js +2 -4
- package/dist/tree-view/utils/get-focused-node.js +11 -11
- package/dist/tree-view/utils/get-ids-between-nodes.d.ts +1 -5
- package/dist/tree-view/utils/get-ids-between-nodes.js +11 -10
- package/dist/tree-view/utils/get-panel.js +5 -5
- package/dist/tree-view/utils/get-parent-node.js +7 -6
- package/dist/tree-view/utils/get-sibling-branches.js +10 -8
- package/dist/tree-view/utils/get-tree-node-id.js +1 -1
- package/dist/tree-view/utils/is-branch-node.js +1 -1
- package/dist/tree-view/utils/is-leaf-node.js +1 -1
- package/dist/tree-view/utils/is-tree-node-disabled.js +1 -1
- package/dist/tree-view/utils/select-node.d.ts +1 -5
- package/dist/tree-view/utils/select-node.js +11 -8
- package/dist/tree-view/utils/toggle-all-selections.js +6 -4
- package/dist/tree-view/utils/toggle-selection.js +18 -15
- package/dist/tree-view/virtualized/force-sync-scrolling.d.ts +1 -3
- package/dist/tree-view/virtualized/force-sync-scrolling.js +18 -24
- package/dist/tree-view/virtualized/get-virtual-tree-paths.d.ts +1 -3
- package/dist/tree-view/virtualized/get-virtual-tree-paths.js +12 -11
- package/dist/tree-view/virtualized/make-virtual-tree.d.ts +21 -26
- package/dist/tree-view/virtualized/make-virtual-tree.js +85 -79
- package/dist/tree-view/virtualized/use-flattened-tree.d.ts +8 -17
- package/dist/tree-view/virtualized/use-flattened-tree.js +31 -30
- package/dist/tree-view/virtualized/use-row-start-and-end.d.ts +1 -6
- package/dist/tree-view/virtualized/use-row-start-and-end.js +23 -21
- package/dist/tree-view/virtualized/use-virtualized-tree.d.ts +15 -21
- package/dist/tree-view/virtualized/use-virtualized-tree.js +90 -103
- package/dist/utils/cycle-sorts.js +14 -12
- package/dist/viewport/begin-editing.d.ts +2 -6
- package/dist/viewport/begin-editing.js +13 -9
- package/dist/viewport/viewport.d.ts +1 -10
- package/dist/viewport/viewport.js +70 -93
- package/package.json +7 -7
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,92 +1 @@
|
|
|
1
|
-
export {
|
|
2
|
-
AddIcon,
|
|
3
|
-
AddSmallIcon,
|
|
4
|
-
AggregateIcon,
|
|
5
|
-
AggregationIcon,
|
|
6
|
-
ArchiveIcon,
|
|
7
|
-
ArrowDownIcon,
|
|
8
|
-
ArrowLeftIcon,
|
|
9
|
-
ArrowRightCurvedIcon,
|
|
10
|
-
ArrowRightIcon,
|
|
11
|
-
ArrowUpIcon,
|
|
12
|
-
AutosizeIcon,
|
|
13
|
-
BackIcon,
|
|
14
|
-
BookmarkIcon,
|
|
15
|
-
BooleanIcon,
|
|
16
|
-
CalendarIcon,
|
|
17
|
-
ChartIcon,
|
|
18
|
-
ChevronDownIcon,
|
|
19
|
-
ChevronLeftIcon,
|
|
20
|
-
ChevronRightIcon,
|
|
21
|
-
Close2Icon,
|
|
22
|
-
CloseIcon,
|
|
23
|
-
CollapseGroupIcon,
|
|
24
|
-
Columns2Icon,
|
|
25
|
-
ColumnsIcon,
|
|
26
|
-
CopyIcon,
|
|
27
|
-
CornerRadiusIcon,
|
|
28
|
-
CustomizeThemeIcon,
|
|
29
|
-
CutIcon,
|
|
30
|
-
CsvIcon,
|
|
31
|
-
DeleteIcon,
|
|
32
|
-
DocsIcon,
|
|
33
|
-
DownloadIcon,
|
|
34
|
-
Drag2Icon,
|
|
35
|
-
DragDotsIcon,
|
|
36
|
-
DragDotsSmallIcon,
|
|
37
|
-
DragIcon,
|
|
38
|
-
DuplicateIcon,
|
|
39
|
-
EditIcon,
|
|
40
|
-
EmailIcon,
|
|
41
|
-
ExcelIcon,
|
|
42
|
-
ExpandGroupIcon,
|
|
43
|
-
ExpandIcon,
|
|
44
|
-
Expression2Icon,
|
|
45
|
-
ExpressionIcon,
|
|
46
|
-
ExternalLinkIcon,
|
|
47
|
-
File2Icon,
|
|
48
|
-
FileIcon,
|
|
49
|
-
FilterIcon,
|
|
50
|
-
FolderIcon,
|
|
51
|
-
GlobeIcon,
|
|
52
|
-
GridViewIcon,
|
|
53
|
-
GroupByColIcon,
|
|
54
|
-
HamburgerIcon,
|
|
55
|
-
HelpIcon,
|
|
56
|
-
HiddenIcon,
|
|
57
|
-
HistoryIcon,
|
|
58
|
-
ImportIcon,
|
|
59
|
-
LinkIcon,
|
|
60
|
-
ListViewIcon,
|
|
61
|
-
LoadingIcon,
|
|
62
|
-
LocationIcon,
|
|
63
|
-
ModalIcon,
|
|
64
|
-
MoreIcon,
|
|
65
|
-
MoreVerticalIcon,
|
|
66
|
-
MultilineIcon,
|
|
67
|
-
NumberIcon,
|
|
68
|
-
PasteIcon,
|
|
69
|
-
PieIcon,
|
|
70
|
-
PinColumnIcon,
|
|
71
|
-
RefreshIcon,
|
|
72
|
-
SearchIcon,
|
|
73
|
-
SettingsIcon,
|
|
74
|
-
ShareIcon,
|
|
75
|
-
SingleLineIcon,
|
|
76
|
-
Sort2Icon,
|
|
77
|
-
SortIcon,
|
|
78
|
-
SpacingHIcon,
|
|
79
|
-
SpacingIcon,
|
|
80
|
-
StickColumnIcon,
|
|
81
|
-
SwapIcon,
|
|
82
|
-
TagIcon,
|
|
83
|
-
TaskIcon,
|
|
84
|
-
TextIcon,
|
|
85
|
-
ThemesIcon,
|
|
86
|
-
Tickmark2Icon,
|
|
87
|
-
TickmarkIcon,
|
|
88
|
-
TimeIcon,
|
|
89
|
-
UploadIcon,
|
|
90
|
-
UserIcon,
|
|
91
|
-
ViewIcon,
|
|
92
|
-
} from "@1771technologies/lytenyte-core/icons";
|
|
1
|
+
export { AddIcon, AddSmallIcon, AggregateIcon, AggregationIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightCurvedIcon, ArrowRightIcon, ArrowUpIcon, AutosizeIcon, BackIcon, BookmarkIcon, BooleanIcon, CalendarIcon, ChartIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, Close2Icon, CloseIcon, CollapseGroupIcon, Columns2Icon, ColumnsIcon, CopyIcon, CornerRadiusIcon, CustomizeThemeIcon, CutIcon, CsvIcon, DeleteIcon, DocsIcon, DownloadIcon, Drag2Icon, DragDotsIcon, DragDotsSmallIcon, DragIcon, DuplicateIcon, EditIcon, EmailIcon, ExcelIcon, ExpandGroupIcon, ExpandIcon, Expression2Icon, ExpressionIcon, ExternalLinkIcon, File2Icon, FileIcon, FilterIcon, FolderIcon, GlobeIcon, GridViewIcon, GroupByColIcon, HamburgerIcon, HelpIcon, HiddenIcon, HistoryIcon, ImportIcon, LinkIcon, ListViewIcon, LoadingIcon, LocationIcon, ModalIcon, MoreIcon, MoreVerticalIcon, MultilineIcon, NumberIcon, PasteIcon, PieIcon, PinColumnIcon, RefreshIcon, SearchIcon, SettingsIcon, ShareIcon, SingleLineIcon, Sort2Icon, SortIcon, SpacingHIcon, SpacingIcon, StickColumnIcon, SwapIcon, TagIcon, TaskIcon, TextIcon, ThemesIcon, Tickmark2Icon, TickmarkIcon, TimeIcon, UploadIcon, UserIcon, ViewIcon, } from "@1771technologies/lytenyte-core/icons";
|
package/dist/icons/index.js
CHANGED
|
@@ -1,92 +1 @@
|
|
|
1
|
-
export {
|
|
2
|
-
AddIcon,
|
|
3
|
-
AddSmallIcon,
|
|
4
|
-
AggregateIcon,
|
|
5
|
-
AggregationIcon,
|
|
6
|
-
ArchiveIcon,
|
|
7
|
-
ArrowDownIcon,
|
|
8
|
-
ArrowLeftIcon,
|
|
9
|
-
ArrowRightCurvedIcon,
|
|
10
|
-
ArrowRightIcon,
|
|
11
|
-
ArrowUpIcon,
|
|
12
|
-
AutosizeIcon,
|
|
13
|
-
BackIcon,
|
|
14
|
-
BookmarkIcon,
|
|
15
|
-
BooleanIcon,
|
|
16
|
-
CalendarIcon,
|
|
17
|
-
ChartIcon,
|
|
18
|
-
ChevronDownIcon,
|
|
19
|
-
ChevronLeftIcon,
|
|
20
|
-
ChevronRightIcon,
|
|
21
|
-
Close2Icon,
|
|
22
|
-
CloseIcon,
|
|
23
|
-
CollapseGroupIcon,
|
|
24
|
-
Columns2Icon,
|
|
25
|
-
ColumnsIcon,
|
|
26
|
-
CopyIcon,
|
|
27
|
-
CornerRadiusIcon,
|
|
28
|
-
CustomizeThemeIcon,
|
|
29
|
-
CutIcon,
|
|
30
|
-
CsvIcon,
|
|
31
|
-
DeleteIcon,
|
|
32
|
-
DocsIcon,
|
|
33
|
-
DownloadIcon,
|
|
34
|
-
Drag2Icon,
|
|
35
|
-
DragDotsIcon,
|
|
36
|
-
DragDotsSmallIcon,
|
|
37
|
-
DragIcon,
|
|
38
|
-
DuplicateIcon,
|
|
39
|
-
EditIcon,
|
|
40
|
-
EmailIcon,
|
|
41
|
-
ExcelIcon,
|
|
42
|
-
ExpandGroupIcon,
|
|
43
|
-
ExpandIcon,
|
|
44
|
-
Expression2Icon,
|
|
45
|
-
ExpressionIcon,
|
|
46
|
-
ExternalLinkIcon,
|
|
47
|
-
File2Icon,
|
|
48
|
-
FileIcon,
|
|
49
|
-
FilterIcon,
|
|
50
|
-
FolderIcon,
|
|
51
|
-
GlobeIcon,
|
|
52
|
-
GridViewIcon,
|
|
53
|
-
GroupByColIcon,
|
|
54
|
-
HamburgerIcon,
|
|
55
|
-
HelpIcon,
|
|
56
|
-
HiddenIcon,
|
|
57
|
-
HistoryIcon,
|
|
58
|
-
ImportIcon,
|
|
59
|
-
LinkIcon,
|
|
60
|
-
ListViewIcon,
|
|
61
|
-
LoadingIcon,
|
|
62
|
-
LocationIcon,
|
|
63
|
-
ModalIcon,
|
|
64
|
-
MoreIcon,
|
|
65
|
-
MoreVerticalIcon,
|
|
66
|
-
MultilineIcon,
|
|
67
|
-
NumberIcon,
|
|
68
|
-
PasteIcon,
|
|
69
|
-
PieIcon,
|
|
70
|
-
PinColumnIcon,
|
|
71
|
-
RefreshIcon,
|
|
72
|
-
SearchIcon,
|
|
73
|
-
SettingsIcon,
|
|
74
|
-
ShareIcon,
|
|
75
|
-
SingleLineIcon,
|
|
76
|
-
Sort2Icon,
|
|
77
|
-
SortIcon,
|
|
78
|
-
SpacingHIcon,
|
|
79
|
-
SpacingIcon,
|
|
80
|
-
StickColumnIcon,
|
|
81
|
-
SwapIcon,
|
|
82
|
-
TagIcon,
|
|
83
|
-
TaskIcon,
|
|
84
|
-
TextIcon,
|
|
85
|
-
ThemesIcon,
|
|
86
|
-
Tickmark2Icon,
|
|
87
|
-
TickmarkIcon,
|
|
88
|
-
TimeIcon,
|
|
89
|
-
UploadIcon,
|
|
90
|
-
UserIcon,
|
|
91
|
-
ViewIcon,
|
|
92
|
-
} from "@1771technologies/lytenyte-core/icons";
|
|
1
|
+
export { AddIcon, AddSmallIcon, AggregateIcon, AggregationIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightCurvedIcon, ArrowRightIcon, ArrowUpIcon, AutosizeIcon, BackIcon, BookmarkIcon, BooleanIcon, CalendarIcon, ChartIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, Close2Icon, CloseIcon, CollapseGroupIcon, Columns2Icon, ColumnsIcon, CopyIcon, CornerRadiusIcon, CustomizeThemeIcon, CutIcon, CsvIcon, DeleteIcon, DocsIcon, DownloadIcon, Drag2Icon, DragDotsIcon, DragDotsSmallIcon, DragIcon, DuplicateIcon, EditIcon, EmailIcon, ExcelIcon, ExpandGroupIcon, ExpandIcon, Expression2Icon, ExpressionIcon, ExternalLinkIcon, File2Icon, FileIcon, FilterIcon, FolderIcon, GlobeIcon, GridViewIcon, GroupByColIcon, HamburgerIcon, HelpIcon, HiddenIcon, HistoryIcon, ImportIcon, LinkIcon, ListViewIcon, LoadingIcon, LocationIcon, ModalIcon, MoreIcon, MoreVerticalIcon, MultilineIcon, NumberIcon, PasteIcon, PieIcon, PinColumnIcon, RefreshIcon, SearchIcon, SettingsIcon, ShareIcon, SingleLineIcon, Sort2Icon, SortIcon, SpacingHIcon, SpacingIcon, StickColumnIcon, SwapIcon, TagIcon, TaskIcon, TextIcon, ThemesIcon, Tickmark2Icon, TickmarkIcon, TimeIcon, UploadIcon, UserIcon, ViewIcon, } from "@1771technologies/lytenyte-core/icons";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
GROUP_COLUMN_PREFIX,
|
|
3
|
-
COLUMN_MARKER_ID,
|
|
4
|
-
GROUP_COLUMN_SINGLE_ID,
|
|
5
|
-
GROUP_COLUMN_MULTI_PREFIX,
|
|
6
|
-
} from "@1771technologies/lytenyte-shared";
|
|
1
|
+
export { GROUP_COLUMN_PREFIX, COLUMN_MARKER_ID, GROUP_COLUMN_SINGLE_ID, GROUP_COLUMN_MULTI_PREFIX, } from "@1771technologies/lytenyte-shared";
|
|
7
2
|
export { Grid } from "./grid.js";
|
|
8
3
|
export { SortManager } from "./sort-manager/sort-manager.js";
|
|
9
4
|
export { FilterTree } from "./filter-tree/filter-tree.js";
|
|
@@ -12,19 +7,7 @@ export { GridBox } from "./grid-box/grid-box.js";
|
|
|
12
7
|
export { DropWrap } from "@1771technologies/lytenyte-dragon";
|
|
13
8
|
export { activateLicense } from "./license.js";
|
|
14
9
|
export { measureText } from "@1771technologies/lytenyte-shared";
|
|
15
|
-
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./row-data-source-
|
|
19
|
-
export {
|
|
20
|
-
makeClientDataSourcePaginated,
|
|
21
|
-
useClientRowDataSourcePaginated,
|
|
22
|
-
} from "./row-data-source-client/use-client-data-source-paginated";
|
|
23
|
-
export {
|
|
24
|
-
makeClientTreeDataSource,
|
|
25
|
-
useClientTreeDataSource,
|
|
26
|
-
} from "./row-data-source-client/use-client-tree-data-source";
|
|
27
|
-
export {
|
|
28
|
-
makeServerDataSource,
|
|
29
|
-
useServerDataSource,
|
|
30
|
-
} from "./row-data-source-server/use-server-data-source";
|
|
10
|
+
export { makeClientDataSource, useClientRowDataSource, } from "./row-data-source-client/use-client-data-source";
|
|
11
|
+
export { makeClientDataSourcePaginated, useClientRowDataSourcePaginated, } from "./row-data-source-client/use-client-data-source-paginated";
|
|
12
|
+
export { makeClientTreeDataSource, useClientTreeDataSource, } from "./row-data-source-client/use-client-tree-data-source";
|
|
13
|
+
export { makeServerDataSource, useServerDataSource, } from "./row-data-source-server/use-server-data-source";
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
GROUP_COLUMN_PREFIX,
|
|
3
|
-
COLUMN_MARKER_ID,
|
|
4
|
-
GROUP_COLUMN_SINGLE_ID,
|
|
5
|
-
GROUP_COLUMN_MULTI_PREFIX,
|
|
6
|
-
} from "@1771technologies/lytenyte-shared";
|
|
1
|
+
export { GROUP_COLUMN_PREFIX, COLUMN_MARKER_ID, GROUP_COLUMN_SINGLE_ID, GROUP_COLUMN_MULTI_PREFIX, } from "@1771technologies/lytenyte-shared";
|
|
7
2
|
export { Grid } from "./grid.js";
|
|
8
3
|
export { SortManager } from "./sort-manager/sort-manager.js";
|
|
9
4
|
export { FilterTree } from "./filter-tree/filter-tree.js";
|
|
@@ -12,19 +7,7 @@ export { GridBox } from "./grid-box/grid-box.js";
|
|
|
12
7
|
export { DropWrap } from "@1771technologies/lytenyte-dragon";
|
|
13
8
|
export { activateLicense } from "./license.js";
|
|
14
9
|
export { measureText } from "@1771technologies/lytenyte-shared";
|
|
15
|
-
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./row-data-source-
|
|
19
|
-
export {
|
|
20
|
-
makeClientDataSourcePaginated,
|
|
21
|
-
useClientRowDataSourcePaginated,
|
|
22
|
-
} from "./row-data-source-client/use-client-data-source-paginated";
|
|
23
|
-
export {
|
|
24
|
-
makeClientTreeDataSource,
|
|
25
|
-
useClientTreeDataSource,
|
|
26
|
-
} from "./row-data-source-client/use-client-tree-data-source";
|
|
27
|
-
export {
|
|
28
|
-
makeServerDataSource,
|
|
29
|
-
useServerDataSource,
|
|
30
|
-
} from "./row-data-source-server/use-server-data-source";
|
|
10
|
+
export { makeClientDataSource, useClientRowDataSource, } from "./row-data-source-client/use-client-data-source";
|
|
11
|
+
export { makeClientDataSourcePaginated, useClientRowDataSourcePaginated, } from "./row-data-source-client/use-client-data-source-paginated";
|
|
12
|
+
export { makeClientTreeDataSource, useClientTreeDataSource, } from "./row-data-source-client/use-client-tree-data-source";
|
|
13
|
+
export { makeServerDataSource, useServerDataSource, } from "./row-data-source-server/use-server-data-source";
|
package/dist/license.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
const hashSalt = "faec0f3c45281b1fe12d87e64a6c3271";
|
|
2
2
|
const issueDate = new Date("2025-08-09");
|
|
3
3
|
function getHostname() {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
const win = globalThis?.document?.defaultView || (typeof window !== "undefined" ? window : null);
|
|
5
|
+
const loc = win?.location;
|
|
6
|
+
const { hostname = "" } = loc ?? {};
|
|
7
|
+
return hostname;
|
|
8
8
|
}
|
|
9
9
|
function isWebsiteUrl() {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
const hostname = getHostname();
|
|
11
|
+
return hostname.match(/^((?:\w+\.)?1771technologies\.com)$/) !== null;
|
|
12
12
|
}
|
|
13
13
|
function isLocalhost() {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
const hostname = getHostname();
|
|
15
|
+
return hostname.match(/^(?:127\.0\.0\.1|localhost)$/) !== null;
|
|
16
16
|
}
|
|
17
17
|
export let hasAValidLicense = isWebsiteUrl() || isLocalhost();
|
|
18
18
|
export function activateLicense(license) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
const parts = license.split("|");
|
|
20
|
+
const details = parts[0];
|
|
21
|
+
const hash = parts[1];
|
|
22
|
+
const detailHash = new MD5().md5(details + hashSalt);
|
|
23
|
+
if (detailHash !== hash) {
|
|
24
|
+
console.error(`
|
|
25
25
|
********************************************************************************
|
|
26
26
|
INVALID LICENSE KEY SUPPLIED
|
|
27
27
|
|
|
@@ -33,12 +33,12 @@ export function activateLicense(license) {
|
|
|
33
33
|
visit https://1771technolgies.com
|
|
34
34
|
********************************************************************************
|
|
35
35
|
`);
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
const detailParts = details.split(" ");
|
|
39
|
+
const endDate = new Date(detailParts[1]);
|
|
40
|
+
if (issueDate > endDate) {
|
|
41
|
+
console.error(`
|
|
42
42
|
********************************************************************************
|
|
43
43
|
LICENSE EXPIRED
|
|
44
44
|
|
|
@@ -50,168 +50,168 @@ export function activateLicense(license) {
|
|
|
50
50
|
for please visit https://1771technologies.com.
|
|
51
51
|
********************************************************************************
|
|
52
52
|
`);
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
hasAValidLicense = true;
|
|
56
|
+
return true;
|
|
57
57
|
}
|
|
58
58
|
// see: https://www.myersdaily.org/joseph/javascript/md5-text.html
|
|
59
59
|
// https://stackoverflow.com/a/1655795
|
|
60
60
|
class MD5 {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
61
|
+
md5cycle(x, k) {
|
|
62
|
+
let a = x[0];
|
|
63
|
+
let b = x[1];
|
|
64
|
+
let c = x[2];
|
|
65
|
+
let d = x[3];
|
|
66
|
+
a = this.ff(a, b, c, d, k[0], 7, -680876936);
|
|
67
|
+
d = this.ff(d, a, b, c, k[1], 12, -389564586);
|
|
68
|
+
c = this.ff(c, d, a, b, k[2], 17, 606105819);
|
|
69
|
+
b = this.ff(b, c, d, a, k[3], 22, -1044525330);
|
|
70
|
+
a = this.ff(a, b, c, d, k[4], 7, -176418897);
|
|
71
|
+
d = this.ff(d, a, b, c, k[5], 12, 1200080426);
|
|
72
|
+
c = this.ff(c, d, a, b, k[6], 17, -1473231341);
|
|
73
|
+
b = this.ff(b, c, d, a, k[7], 22, -45705983);
|
|
74
|
+
a = this.ff(a, b, c, d, k[8], 7, 1770035416);
|
|
75
|
+
d = this.ff(d, a, b, c, k[9], 12, -1958414417);
|
|
76
|
+
c = this.ff(c, d, a, b, k[10], 17, -42063);
|
|
77
|
+
b = this.ff(b, c, d, a, k[11], 22, -1990404162);
|
|
78
|
+
a = this.ff(a, b, c, d, k[12], 7, 1804603682);
|
|
79
|
+
d = this.ff(d, a, b, c, k[13], 12, -40341101);
|
|
80
|
+
c = this.ff(c, d, a, b, k[14], 17, -1502002290);
|
|
81
|
+
b = this.ff(b, c, d, a, k[15], 22, 1236535329);
|
|
82
|
+
a = this.gg(a, b, c, d, k[1], 5, -165796510);
|
|
83
|
+
d = this.gg(d, a, b, c, k[6], 9, -1069501632);
|
|
84
|
+
c = this.gg(c, d, a, b, k[11], 14, 643717713);
|
|
85
|
+
b = this.gg(b, c, d, a, k[0], 20, -373897302);
|
|
86
|
+
a = this.gg(a, b, c, d, k[5], 5, -701558691);
|
|
87
|
+
d = this.gg(d, a, b, c, k[10], 9, 38016083);
|
|
88
|
+
c = this.gg(c, d, a, b, k[15], 14, -660478335);
|
|
89
|
+
b = this.gg(b, c, d, a, k[4], 20, -405537848);
|
|
90
|
+
a = this.gg(a, b, c, d, k[9], 5, 568446438);
|
|
91
|
+
d = this.gg(d, a, b, c, k[14], 9, -1019803690);
|
|
92
|
+
c = this.gg(c, d, a, b, k[3], 14, -187363961);
|
|
93
|
+
b = this.gg(b, c, d, a, k[8], 20, 1163531501);
|
|
94
|
+
a = this.gg(a, b, c, d, k[13], 5, -1444681467);
|
|
95
|
+
d = this.gg(d, a, b, c, k[2], 9, -51403784);
|
|
96
|
+
c = this.gg(c, d, a, b, k[7], 14, 1735328473);
|
|
97
|
+
b = this.gg(b, c, d, a, k[12], 20, -1926607734);
|
|
98
|
+
a = this.hh(a, b, c, d, k[5], 4, -378558);
|
|
99
|
+
d = this.hh(d, a, b, c, k[8], 11, -2022574463);
|
|
100
|
+
c = this.hh(c, d, a, b, k[11], 16, 1839030562);
|
|
101
|
+
b = this.hh(b, c, d, a, k[14], 23, -35309556);
|
|
102
|
+
a = this.hh(a, b, c, d, k[1], 4, -1530992060);
|
|
103
|
+
d = this.hh(d, a, b, c, k[4], 11, 1272893353);
|
|
104
|
+
c = this.hh(c, d, a, b, k[7], 16, -155497632);
|
|
105
|
+
b = this.hh(b, c, d, a, k[10], 23, -1094730640);
|
|
106
|
+
a = this.hh(a, b, c, d, k[13], 4, 681279174);
|
|
107
|
+
d = this.hh(d, a, b, c, k[0], 11, -358537222);
|
|
108
|
+
c = this.hh(c, d, a, b, k[3], 16, -722521979);
|
|
109
|
+
b = this.hh(b, c, d, a, k[6], 23, 76029189);
|
|
110
|
+
a = this.hh(a, b, c, d, k[9], 4, -640364487);
|
|
111
|
+
d = this.hh(d, a, b, c, k[12], 11, -421815835);
|
|
112
|
+
c = this.hh(c, d, a, b, k[15], 16, 530742520);
|
|
113
|
+
b = this.hh(b, c, d, a, k[2], 23, -995338651);
|
|
114
|
+
a = this.ii(a, b, c, d, k[0], 6, -198630844);
|
|
115
|
+
d = this.ii(d, a, b, c, k[7], 10, 1126891415);
|
|
116
|
+
c = this.ii(c, d, a, b, k[14], 15, -1416354905);
|
|
117
|
+
b = this.ii(b, c, d, a, k[5], 21, -57434055);
|
|
118
|
+
a = this.ii(a, b, c, d, k[12], 6, 1700485571);
|
|
119
|
+
d = this.ii(d, a, b, c, k[3], 10, -1894986606);
|
|
120
|
+
c = this.ii(c, d, a, b, k[10], 15, -1051523);
|
|
121
|
+
b = this.ii(b, c, d, a, k[1], 21, -2054922799);
|
|
122
|
+
a = this.ii(a, b, c, d, k[8], 6, 1873313359);
|
|
123
|
+
d = this.ii(d, a, b, c, k[15], 10, -30611744);
|
|
124
|
+
c = this.ii(c, d, a, b, k[6], 15, -1560198380);
|
|
125
|
+
b = this.ii(b, c, d, a, k[13], 21, 1309151649);
|
|
126
|
+
a = this.ii(a, b, c, d, k[4], 6, -145523070);
|
|
127
|
+
d = this.ii(d, a, b, c, k[11], 10, -1120210379);
|
|
128
|
+
c = this.ii(c, d, a, b, k[2], 15, 718787259);
|
|
129
|
+
b = this.ii(b, c, d, a, k[9], 21, -343485551);
|
|
130
|
+
x[0] = this.add32(a, x[0]);
|
|
131
|
+
x[1] = this.add32(b, x[1]);
|
|
132
|
+
x[2] = this.add32(c, x[2]);
|
|
133
|
+
x[3] = this.add32(d, x[3]);
|
|
134
|
+
}
|
|
135
|
+
cmn(q, a, b, x, s, t) {
|
|
136
|
+
a = this.add32(this.add32(a, q), this.add32(x, t));
|
|
137
|
+
return this.add32((a << s) | (a >>> (32 - s)), b);
|
|
138
|
+
}
|
|
139
|
+
ff(a, b, c, d, x, s, t) {
|
|
140
|
+
return this.cmn((b & c) | (~b & d), a, b, x, s, t);
|
|
141
|
+
}
|
|
142
|
+
gg(a, b, c, d, x, s, t) {
|
|
143
|
+
return this.cmn((b & d) | (c & ~d), a, b, x, s, t);
|
|
144
|
+
}
|
|
145
|
+
hh(a, b, c, d, x, s, t) {
|
|
146
|
+
return this.cmn(b ^ c ^ d, a, b, x, s, t);
|
|
147
|
+
}
|
|
148
|
+
ii(a, b, c, d, x, s, t) {
|
|
149
|
+
return this.cmn(c ^ (b | ~d), a, b, x, s, t);
|
|
150
|
+
}
|
|
151
|
+
md51(s) {
|
|
152
|
+
const n = s.length;
|
|
153
|
+
const state = [1732584193, -271733879, -1732584194, 271733878];
|
|
154
|
+
let i;
|
|
155
|
+
for (i = 64; i <= s.length; i += 64) {
|
|
156
|
+
this.md5cycle(state, this.md5blk(s.substring(i - 64, i)));
|
|
157
|
+
}
|
|
158
|
+
s = s.substring(i - 64);
|
|
159
|
+
const tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
160
|
+
for (i = 0; i < s.length; i++) {
|
|
161
|
+
tail[i >> 2] |= s.charCodeAt(i) << (i % 4 << 3);
|
|
162
|
+
}
|
|
163
|
+
tail[i >> 2] |= 0x80 << (i % 4 << 3);
|
|
164
|
+
if (i > 55) {
|
|
165
|
+
this.md5cycle(state, tail);
|
|
166
|
+
for (i = 0; i < 16; i++) {
|
|
167
|
+
tail[i] = 0;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
tail[14] = n * 8;
|
|
171
|
+
this.md5cycle(state, tail);
|
|
172
|
+
return state;
|
|
173
|
+
}
|
|
174
|
+
/* there needs to be support for Unicode here, * unless we pretend that we can redefine the MD-5
|
|
175
|
+
* algorithm for multi-byte characters (perhaps by adding every four 16-bit characters and
|
|
176
|
+
* shortening the sum to 32 bits). Otherwise I suthis.ggest performing MD-5 as if every character
|
|
177
|
+
* was two bytes--e.g., 0040 0025 = @%--but then how will an ordinary MD-5 sum be matched?
|
|
178
|
+
* There is no way to standardize text to something like UTF-8 before transformation; speed cost is
|
|
179
|
+
* utterly prohibitive. The JavaScript standard itself needs to look at this: it should start
|
|
180
|
+
* providing access to strings as preformed UTF-8 8-bit unsigned value arrays.
|
|
181
|
+
*/
|
|
182
|
+
md5blk(s) {
|
|
183
|
+
const md5blks = [];
|
|
184
|
+
for (let i = 0; i < 64; i += 4) {
|
|
185
|
+
md5blks[i >> 2] =
|
|
186
|
+
s.charCodeAt(i) +
|
|
187
|
+
(s.charCodeAt(i + 1) << 8) +
|
|
188
|
+
(s.charCodeAt(i + 2) << 16) +
|
|
189
|
+
(s.charCodeAt(i + 3) << 24);
|
|
190
|
+
}
|
|
191
|
+
return md5blks;
|
|
157
192
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
193
|
+
rhex(n) {
|
|
194
|
+
const hex_chr = "0123456789abcdef".split("");
|
|
195
|
+
let s = "";
|
|
196
|
+
let j = 0;
|
|
197
|
+
for (; j < 4; j++) {
|
|
198
|
+
s += hex_chr[(n >> (j * 8 + 4)) & 0x0f] + hex_chr[(n >> (j * 8)) & 0x0f];
|
|
199
|
+
}
|
|
200
|
+
return s;
|
|
162
201
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}
|
|
202
|
+
hex(x) {
|
|
203
|
+
for (let i = 0; i < x.length; i++) {
|
|
204
|
+
x[i] = this.rhex(x[i]);
|
|
205
|
+
}
|
|
206
|
+
return x.join("");
|
|
169
207
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
return state;
|
|
173
|
-
}
|
|
174
|
-
/* there needs to be support for Unicode here, * unless we pretend that we can redefine the MD-5
|
|
175
|
-
* algorithm for multi-byte characters (perhaps by adding every four 16-bit characters and
|
|
176
|
-
* shortening the sum to 32 bits). Otherwise I suthis.ggest performing MD-5 as if every character
|
|
177
|
-
* was two bytes--e.g., 0040 0025 = @%--but then how will an ordinary MD-5 sum be matched?
|
|
178
|
-
* There is no way to standardize text to something like UTF-8 before transformation; speed cost is
|
|
179
|
-
* utterly prohibitive. The JavaScript standard itself needs to look at this: it should start
|
|
180
|
-
* providing access to strings as preformed UTF-8 8-bit unsigned value arrays.
|
|
181
|
-
*/
|
|
182
|
-
md5blk(s) {
|
|
183
|
-
const md5blks = [];
|
|
184
|
-
for (let i = 0; i < 64; i += 4) {
|
|
185
|
-
md5blks[i >> 2] =
|
|
186
|
-
s.charCodeAt(i) +
|
|
187
|
-
(s.charCodeAt(i + 1) << 8) +
|
|
188
|
-
(s.charCodeAt(i + 2) << 16) +
|
|
189
|
-
(s.charCodeAt(i + 3) << 24);
|
|
208
|
+
md5(s) {
|
|
209
|
+
return this.hex(this.md51(s));
|
|
190
210
|
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
rhex(n) {
|
|
194
|
-
const hex_chr = "0123456789abcdef".split("");
|
|
195
|
-
let s = "";
|
|
196
|
-
let j = 0;
|
|
197
|
-
for (; j < 4; j++) {
|
|
198
|
-
s += hex_chr[(n >> (j * 8 + 4)) & 0x0f] + hex_chr[(n >> (j * 8)) & 0x0f];
|
|
211
|
+
add32(a, b) {
|
|
212
|
+
return this.add32Std(a, b);
|
|
199
213
|
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
hex(x) {
|
|
203
|
-
for (let i = 0; i < x.length; i++) {
|
|
204
|
-
x[i] = this.rhex(x[i]);
|
|
214
|
+
add32Std(a, b) {
|
|
215
|
+
return (a + b) & 0xffffffff;
|
|
205
216
|
}
|
|
206
|
-
return x.join("");
|
|
207
|
-
}
|
|
208
|
-
md5(s) {
|
|
209
|
-
return this.hex(this.md51(s));
|
|
210
|
-
}
|
|
211
|
-
add32(a, b) {
|
|
212
|
-
return this.add32Std(a, b);
|
|
213
|
-
}
|
|
214
|
-
add32Std(a, b) {
|
|
215
|
-
return (a + b) & 0xffffffff;
|
|
216
|
-
}
|
|
217
217
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface ListboxContext {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
readonly orientation: "horizontal" | "vertical";
|
|
3
|
+
readonly rtl: boolean;
|
|
4
4
|
}
|
|
5
5
|
export declare const context: import("react").Context<ListboxContext>;
|
|
6
6
|
export declare const useListboxContext: () => ListboxContext;
|
package/dist/listbox/item.d.ts
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
|
-
export declare const Item: import("react").ForwardRefExoticComponent<
|
|
2
|
-
Omit<
|
|
3
|
-
import("react").DetailedHTMLProps<
|
|
4
|
-
import("react").HTMLAttributes<HTMLDivElement>,
|
|
5
|
-
HTMLDivElement
|
|
6
|
-
>,
|
|
7
|
-
"ref"
|
|
8
|
-
> &
|
|
9
|
-
import("react").RefAttributes<HTMLDivElement>
|
|
10
|
-
>;
|
|
1
|
+
export declare const Item: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|