@1771technologies/lytenyte-pro 0.0.51 → 0.0.53
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/column-manager.js +2 -2
- package/dist/{drag-store-C056Fm0B.js → drag-store-jYWgvRwR.js} +1 -3
- package/dist/filter-manager.js +2 -2
- package/dist/index.js +8 -3
- package/dist/lytenyte-pro.css +1 -0
- package/dist/pill-manager.js +2 -2
- package/dist/{pill-0vXb9g1m.js → pill-nHUKSUVd.js} +1 -1
- package/dist/{select-CXCphiS3.js → select-005D5mHt.js} +1 -1
- package/dist/sort-manager.js +1 -1
- package/package.json +15 -15
package/dist/column-manager.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { IsoResizeObserver, getPreciseElementDimensions, clsx } from "@1771technologies/js-utils";
|
|
3
|
-
import { u as useDragStore, a as useDrag, C as Checkbox, I as Input, D as DragProvider } from "./drag-store-
|
|
3
|
+
import { u as useDragStore, a as useDrag, C as Checkbox, I as Input, D as DragProvider } from "./drag-store-jYWgvRwR.js";
|
|
4
4
|
import "@1771technologies/react-sizer";
|
|
5
5
|
import { useCombinedRefs, useEvent } from "@1771technologies/react-utils";
|
|
6
6
|
import "@1771technologies/grid-provider";
|
|
@@ -8,7 +8,7 @@ import { useRef, useState, useEffect, useCallback, useMemo, createContext, useCo
|
|
|
8
8
|
import "@1771technologies/react-dragon";
|
|
9
9
|
import "@1771technologies/grid-core";
|
|
10
10
|
import { c as useGrid, G as GridProvider } from "./useScrollLock-D4UY33Sb.js";
|
|
11
|
-
import { g as useEdgeScroll, h as useDraggable, c as canAgg, a as canMeasure, f as useDroppable, u as useAggregationSource, b as useMeasuresSource, d as useRowGroupsSource, e as useColumnPivotSource, P as Pill, M as MenuTrigger, i as PillManagerAggMenu, j as PillManagerMeasureMenu } from "./pill-
|
|
11
|
+
import { g as useEdgeScroll, h as useDraggable, c as canAgg, a as canMeasure, f as useDroppable, u as useAggregationSource, b as useMeasuresSource, d as useRowGroupsSource, e as useColumnPivotSource, P as Pill, M as MenuTrigger, i as PillManagerAggMenu, j as PillManagerMeasureMenu } from "./pill-nHUKSUVd.js";
|
|
12
12
|
import { A as ArrowRightIcon } from "./tickmark-icon-CoogRMoO.js";
|
|
13
13
|
import { A as ArrowDownIcon } from "./arrow-down-icon-B-3ldODD.js";
|
|
14
14
|
import { D as DragIcon, M as MeasuresIcon, C as ColumnPivotIcon, R as RowGroupIcon } from "./row-group-icon-DFUMye0v.js";
|
|
@@ -638,9 +638,7 @@ function useCellEvents(api, column, row, rowIndex, columnIndex) {
|
|
|
638
638
|
const mode = sx.rowSelectionMode.peek();
|
|
639
639
|
if (mode !== "none") {
|
|
640
640
|
if (event.key === " ") {
|
|
641
|
-
|
|
642
|
-
if (x.has(row.id)) api.rowSelectionDeselect([row.id]);
|
|
643
|
-
else api.rowSelectionSelect([row.id]);
|
|
641
|
+
handleRowSelection(api, row, false, true, true, "single-click");
|
|
644
642
|
event.preventDefault();
|
|
645
643
|
}
|
|
646
644
|
}
|
package/dist/filter-manager.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect, useCallback, createContext, useContext, useMemo, forwardRef } from "react";
|
|
3
3
|
import { c as useGrid, G as GridProvider } from "./useScrollLock-D4UY33Sb.js";
|
|
4
|
-
import { S as Select } from "./select-
|
|
5
|
-
import { I as Input, C as Checkbox } from "./drag-store-
|
|
4
|
+
import { S as Select } from "./select-005D5mHt.js";
|
|
5
|
+
import { I as Input, C as Checkbox } from "./drag-store-jYWgvRwR.js";
|
|
6
6
|
import "@1771technologies/react-sizer";
|
|
7
7
|
import "@1771technologies/react-utils";
|
|
8
8
|
import "@1771technologies/grid-provider";
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Checkbox, d as COLUMN_MARKER_ID, H as HEADER_CELL_POSITION, g as getTransform, e as COLUMN_EMPTY_PREFIX, f as HEADER_GROUP_CELL_POSITION, h as CollapseButton, F as FLOATING_CELL_POSITION, i as FULL_ENCODING, j as CellFullWidth, E as END_ENCODING, k as Cell, I as Input, G as GRID_CELL_POSITION, l as GridButton } from "./drag-store-
|
|
2
|
-
import { t, n, v, w, B, J, L, K, M, q, p, r, s, P, x, o, z, m, y, R, A } from "./drag-store-
|
|
1
|
+
import { C as Checkbox, d as COLUMN_MARKER_ID, H as HEADER_CELL_POSITION, g as getTransform, e as COLUMN_EMPTY_PREFIX, f as HEADER_GROUP_CELL_POSITION, h as CollapseButton, F as FLOATING_CELL_POSITION, i as FULL_ENCODING, j as CellFullWidth, E as END_ENCODING, k as Cell, I as Input, G as GRID_CELL_POSITION, l as GridButton } from "./drag-store-jYWgvRwR.js";
|
|
2
|
+
import { t, n, v, w, B, J, L, K, M, q, p, r, s, P, x, o, z, m, y, R, A } from "./drag-store-jYWgvRwR.js";
|
|
3
3
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
4
4
|
import { Sizer } from "@1771technologies/react-sizer";
|
|
5
5
|
import { useEvent, useIsoEffect } from "@1771technologies/react-utils";
|
|
@@ -2830,6 +2830,7 @@ function useContextMenuListener(setMenu) {
|
|
|
2830
2830
|
const grid = useGrid$1();
|
|
2831
2831
|
const viewport = grid.state.internal.viewport.use();
|
|
2832
2832
|
const menuRenderer = grid.state.contextMenuRenderer.use();
|
|
2833
|
+
const predicate = grid.state.contextMenuPredicate.use();
|
|
2833
2834
|
const target = grid.state.internal.contextMenuTarget.use();
|
|
2834
2835
|
useEffect(() => {
|
|
2835
2836
|
if (!viewport || !menuRenderer) return;
|
|
@@ -2864,6 +2865,9 @@ function useContextMenuListener(setMenu) {
|
|
|
2864
2865
|
setMenu(null);
|
|
2865
2866
|
return;
|
|
2866
2867
|
}
|
|
2868
|
+
if (predicate && !predicate({ api: grid.api, menuTarget, columnIndex: hoveredCell, rowIndex: hoveredRow })) {
|
|
2869
|
+
return;
|
|
2870
|
+
}
|
|
2867
2871
|
setMenu({
|
|
2868
2872
|
menuTarget,
|
|
2869
2873
|
hoveredRow,
|
|
@@ -2895,7 +2899,8 @@ function useContextMenuListener(setMenu) {
|
|
|
2895
2899
|
grid.state.internal.contextMenuTarget,
|
|
2896
2900
|
menuRenderer,
|
|
2897
2901
|
viewport,
|
|
2898
|
-
setMenu
|
|
2902
|
+
setMenu,
|
|
2903
|
+
predicate
|
|
2899
2904
|
]);
|
|
2900
2905
|
}
|
|
2901
2906
|
function ContextMenuDriver() {
|
package/dist/lytenyte-pro.css
CHANGED
|
@@ -1208,6 +1208,7 @@ body.lng1771-drag-on .lng1771-pill-manager__pill-outer[data-pill-active="false"]
|
|
|
1208
1208
|
font-size: 14px;
|
|
1209
1209
|
color: var(--lng1771-gray-80);
|
|
1210
1210
|
font-family: var(--lng1771-typeface);
|
|
1211
|
+
white-space: nowrap;
|
|
1211
1212
|
position: relative;
|
|
1212
1213
|
overflow: hidden;
|
|
1213
1214
|
}
|
package/dist/pill-manager.js
CHANGED
|
@@ -3,8 +3,8 @@ import { c as useGrid, G as GridProvider } from "./useScrollLock-D4UY33Sb.js";
|
|
|
3
3
|
import { useMemo, createContext, useState, useContext, forwardRef, useEffect, useCallback } from "react";
|
|
4
4
|
import { clsx } from "@1771technologies/js-utils";
|
|
5
5
|
import { useDroppable as useDroppable$1 } from "@1771technologies/react-dragon";
|
|
6
|
-
import { c as canAgg, a as canMeasure, u as useAggregationSource, b as useMeasuresSource, d as useRowGroupsSource, e as useColumnPivotSource, f as useDroppable, g as useEdgeScroll, P as Pill, M as MenuTrigger, h as useDraggable, i as PillManagerAggMenu, j as PillManagerMeasureMenu } from "./pill-
|
|
7
|
-
import { u as useDragStore, a as useDrag, D as DragProvider } from "./drag-store-
|
|
6
|
+
import { c as canAgg, a as canMeasure, u as useAggregationSource, b as useMeasuresSource, d as useRowGroupsSource, e as useColumnPivotSource, f as useDroppable, g as useEdgeScroll, P as Pill, M as MenuTrigger, h as useDraggable, i as PillManagerAggMenu, j as PillManagerMeasureMenu } from "./pill-nHUKSUVd.js";
|
|
7
|
+
import { u as useDragStore, a as useDrag, D as DragProvider } from "./drag-store-jYWgvRwR.js";
|
|
8
8
|
import "@1771technologies/react-sizer";
|
|
9
9
|
import { useCombinedRefs } from "@1771technologies/react-utils";
|
|
10
10
|
import "@1771technologies/grid-provider";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useRef, useState, useEffect, useCallback, useMemo, forwardRef } from "react";
|
|
3
|
-
import { u as useDragStore, b as useStore } from "./drag-store-
|
|
3
|
+
import { u as useDragStore, b as useStore } from "./drag-store-jYWgvRwR.js";
|
|
4
4
|
import { arrayOverlap, clsx } from "@1771technologies/js-utils";
|
|
5
5
|
import { m as mergeProps, E as contains, P as PropTypes } from "./proptypes-BjYr2nFr.js";
|
|
6
6
|
import { u as useButton } from "./useButton-DWXzFgcr.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { clsx } from "@1771technologies/js-utils";
|
|
3
3
|
import { A as ArrowDownIcon } from "./arrow-down-icon-B-3ldODD.js";
|
|
4
|
-
import { c as CheckMark } from "./drag-store-
|
|
4
|
+
import { c as CheckMark } from "./drag-store-jYWgvRwR.js";
|
|
5
5
|
import "@1771technologies/react-sizer";
|
|
6
6
|
import "@1771technologies/react-utils";
|
|
7
7
|
import "@1771technologies/grid-provider";
|
package/dist/sort-manager.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo, useState, useEffect, createContext, useContext, forwardRef } from "react";
|
|
3
3
|
import { c as useGrid, G as GridProvider } from "./useScrollLock-D4UY33Sb.js";
|
|
4
4
|
import { clsx } from "@1771technologies/js-utils";
|
|
5
|
-
import { S as Select } from "./select-
|
|
5
|
+
import { S as Select } from "./select-005D5mHt.js";
|
|
6
6
|
import { P as PlusIcon } from "./plus-icon-ToqW5CC-.js";
|
|
7
7
|
import { C as CrossIcon } from "./cross-icon-CEMLAlFX.js";
|
|
8
8
|
import { S as Separator } from "./separator-BnPPeAk8.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1771technologies/lytenyte-pro",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -70,20 +70,20 @@
|
|
|
70
70
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@1771technologies/grid-client-data-source-pro": "0.0.
|
|
74
|
-
"@1771technologies/grid-core": "0.0.
|
|
75
|
-
"@1771technologies/grid-design": "0.0.
|
|
76
|
-
"@1771technologies/grid-provider": "0.0.
|
|
77
|
-
"@1771technologies/grid-store-pro": "0.0.
|
|
78
|
-
"@1771technologies/grid-tree-data-source": "0.0.
|
|
79
|
-
"@1771technologies/grid-types": "0.0.
|
|
80
|
-
"@1771technologies/js-utils": "0.0.
|
|
81
|
-
"@1771technologies/lytenyte-core": "0.0.
|
|
82
|
-
"@1771technologies/react-cascada": "0.0.
|
|
83
|
-
"@1771technologies/react-dragon": "0.0.
|
|
84
|
-
"@1771technologies/react-sizer": "0.0.
|
|
85
|
-
"@1771technologies/react-split-pane": "0.0.
|
|
86
|
-
"@1771technologies/react-utils": "0.0.
|
|
73
|
+
"@1771technologies/grid-client-data-source-pro": "0.0.53",
|
|
74
|
+
"@1771technologies/grid-core": "0.0.53",
|
|
75
|
+
"@1771technologies/grid-design": "0.0.53",
|
|
76
|
+
"@1771technologies/grid-provider": "0.0.53",
|
|
77
|
+
"@1771technologies/grid-store-pro": "0.0.53",
|
|
78
|
+
"@1771technologies/grid-tree-data-source": "0.0.53",
|
|
79
|
+
"@1771technologies/grid-types": "0.0.53",
|
|
80
|
+
"@1771technologies/js-utils": "0.0.53",
|
|
81
|
+
"@1771technologies/lytenyte-core": "0.0.53",
|
|
82
|
+
"@1771technologies/react-cascada": "0.0.53",
|
|
83
|
+
"@1771technologies/react-dragon": "0.0.53",
|
|
84
|
+
"@1771technologies/react-sizer": "0.0.53",
|
|
85
|
+
"@1771technologies/react-split-pane": "0.0.53",
|
|
86
|
+
"@1771technologies/react-utils": "0.0.53",
|
|
87
87
|
"@base-ui-components/react": "1.0.0-alpha.7"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|