photon-grid-core 2.0.1 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/cell-selection/cell-selection-engine.d.ts.map +1 -1
- package/cell-selection/cell-selection-engine.js +11 -9
- package/cell-selection/cell-selection-engine.js.map +1 -1
- package/chart/range-chart-controller.d.ts +10 -0
- package/chart/range-chart-controller.d.ts.map +1 -1
- package/chart/range-chart-controller.js +22 -2
- package/chart/range-chart-controller.js.map +1 -1
- package/column-groups/column-group-drag-handler.d.ts.map +1 -1
- package/column-groups/column-group-drag-handler.js +64 -25
- package/column-groups/column-group-drag-handler.js.map +1 -1
- package/column-groups/column-group-header-builder.d.ts.map +1 -1
- package/column-groups/column-group-header-builder.js +7 -5
- package/column-groups/column-group-header-builder.js.map +1 -1
- package/column-groups/display-group-drag-handler.d.ts +7 -3
- package/column-groups/display-group-drag-handler.d.ts.map +1 -1
- package/column-groups/display-group-drag-handler.js +46 -7
- package/column-groups/display-group-drag-handler.js.map +1 -1
- package/column-groups/display-group-header-builder.d.ts +1 -1
- package/column-groups/display-group-header-builder.d.ts.map +1 -1
- package/column-groups/display-group-header-builder.js +9 -7
- package/column-groups/display-group-header-builder.js.map +1 -1
- package/core/column-model.d.ts +88 -5
- package/core/column-model.d.ts.map +1 -1
- package/core/column-model.js +215 -3
- package/core/column-model.js.map +1 -1
- package/core/grid-api.d.ts +10 -2
- package/core/grid-api.d.ts.map +1 -1
- package/core/grid-api.js +10 -0
- package/core/grid-api.js.map +1 -1
- package/core/grid-core.d.ts +7 -0
- package/core/grid-core.d.ts.map +1 -1
- package/core/grid-core.js +29 -8
- package/core/grid-core.js.map +1 -1
- package/core/grid-store.d.ts +5 -5
- package/core/grid-store.d.ts.map +1 -1
- package/core/pointer-utils.d.ts +59 -0
- package/core/pointer-utils.d.ts.map +1 -0
- package/core/pointer-utils.js +59 -0
- package/core/pointer-utils.js.map +1 -0
- package/drag-drop/drag-drop-engine.d.ts.map +1 -1
- package/drag-drop/drag-drop-engine.js +8 -8
- package/drag-drop/drag-drop-engine.js.map +1 -1
- package/engines/editing/cell-editor-engine.js +1 -1
- package/engines/editing/cell-editor-engine.js.map +1 -1
- package/index.d.ts +6 -3
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/photon-ai/index.d.ts +2 -0
- package/photon-ai/index.d.ts.map +1 -1
- package/photon-ai/index.js +2 -0
- package/photon-ai/index.js.map +1 -1
- package/photon-ai/photon-ai-panel.d.ts +40 -0
- package/photon-ai/photon-ai-panel.d.ts.map +1 -1
- package/photon-ai/photon-ai-panel.js +163 -8
- package/photon-ai/photon-ai-panel.js.map +1 -1
- package/photon-ai/photon-ai-service.d.ts +38 -1
- package/photon-ai/photon-ai-service.d.ts.map +1 -1
- package/photon-ai/photon-ai-service.js +72 -1
- package/photon-ai/photon-ai-service.js.map +1 -1
- package/photon-ai/provider/ai-provider.types.d.ts +174 -0
- package/photon-ai/provider/ai-provider.types.d.ts.map +1 -0
- package/photon-ai/provider/ai-provider.types.js +42 -0
- package/photon-ai/provider/ai-provider.types.js.map +1 -0
- package/photon-ai/provider/command-normalizer.d.ts +36 -0
- package/photon-ai/provider/command-normalizer.d.ts.map +1 -0
- package/photon-ai/provider/command-normalizer.js +120 -0
- package/photon-ai/provider/command-normalizer.js.map +1 -0
- package/photon-ai/provider/grid-context-builder.d.ts +37 -0
- package/photon-ai/provider/grid-context-builder.d.ts.map +1 -0
- package/photon-ai/provider/grid-context-builder.js +96 -0
- package/photon-ai/provider/grid-context-builder.js.map +1 -0
- package/photon-ai/provider/http-ai-provider.d.ts +42 -0
- package/photon-ai/provider/http-ai-provider.d.ts.map +1 -0
- package/photon-ai/provider/http-ai-provider.js +125 -0
- package/photon-ai/provider/http-ai-provider.js.map +1 -0
- package/photon-ai/provider/index.d.ts +30 -0
- package/photon-ai/provider/index.d.ts.map +1 -0
- package/photon-ai/provider/index.js +42 -0
- package/photon-ai/provider/index.js.map +1 -0
- package/photon-ai/provider/presets.d.ts +29 -0
- package/photon-ai/provider/presets.d.ts.map +1 -0
- package/photon-ai/provider/presets.js +110 -0
- package/photon-ai/provider/presets.js.map +1 -0
- package/photon-ai/provider/response-parsing.d.ts +22 -0
- package/photon-ai/provider/response-parsing.d.ts.map +1 -0
- package/photon-ai/provider/response-parsing.js +79 -0
- package/photon-ai/provider/response-parsing.js.map +1 -0
- package/photon-ai/provider/system-prompt.d.ts +26 -0
- package/photon-ai/provider/system-prompt.d.ts.map +1 -0
- package/photon-ai/provider/system-prompt.js +82 -0
- package/photon-ai/provider/system-prompt.js.map +1 -0
- package/photon-grid.min.js +497 -56
- package/renderer/body-renderer.d.ts.map +1 -1
- package/renderer/body-renderer.js +34 -9
- package/renderer/body-renderer.js.map +1 -1
- package/renderer/column-chooser.d.ts +82 -0
- package/renderer/column-chooser.d.ts.map +1 -0
- package/renderer/column-chooser.js +335 -0
- package/renderer/column-chooser.js.map +1 -0
- package/renderer/column-menu.d.ts.map +1 -1
- package/renderer/column-menu.js +32 -20
- package/renderer/column-menu.js.map +1 -1
- package/renderer/column-style-manager.d.ts +17 -0
- package/renderer/column-style-manager.d.ts.map +1 -1
- package/renderer/column-style-manager.js +28 -0
- package/renderer/column-style-manager.js.map +1 -1
- package/renderer/detail-row-renderer.d.ts.map +1 -1
- package/renderer/detail-row-renderer.js +8 -6
- package/renderer/detail-row-renderer.js.map +1 -1
- package/renderer/grid-renderer.d.ts +10 -0
- package/renderer/grid-renderer.d.ts.map +1 -1
- package/renderer/grid-renderer.js +45 -7
- package/renderer/grid-renderer.js.map +1 -1
- package/renderer/group-drop-zone.js +14 -14
- package/renderer/group-drop-zone.js.map +1 -1
- package/renderer/header-renderer.d.ts +65 -0
- package/renderer/header-renderer.d.ts.map +1 -1
- package/renderer/header-renderer.js +347 -49
- package/renderer/header-renderer.js.map +1 -1
- package/renderer/row-animator.js +3 -3
- package/renderer/row-drag-renderer.js +6 -6
- package/renderer/row-drag-renderer.js.map +1 -1
- package/renderer/scroll-controller.d.ts +40 -0
- package/renderer/scroll-controller.d.ts.map +1 -1
- package/renderer/scroll-controller.js +184 -0
- package/renderer/scroll-controller.js.map +1 -1
- package/styles/base/column-chooser.css.d.ts +13 -0
- package/styles/base/column-chooser.css.d.ts.map +1 -0
- package/styles/base/column-chooser.css.js +241 -0
- package/styles/base/column-chooser.css.js.map +1 -0
- package/styles/base/column-context-menu.css.d.ts +1 -1
- package/styles/base/column-context-menu.css.d.ts.map +1 -1
- package/styles/base/column-context-menu.css.js +10 -0
- package/styles/base/column-context-menu.css.js.map +1 -1
- package/styles/base/filter.css.d.ts +1 -1
- package/styles/base/filter.css.js +1 -1
- package/styles/base/header.css.d.ts +1 -1
- package/styles/base/header.css.d.ts.map +1 -1
- package/styles/base/header.css.js +19 -0
- package/styles/base/header.css.js.map +1 -1
- package/styles/base/photon-ai.css.d.ts +1 -1
- package/styles/base/photon-ai.css.d.ts.map +1 -1
- package/styles/base/photon-ai.css.js +65 -0
- package/styles/base/photon-ai.css.js.map +1 -1
- package/styles/base/scrollbars.css.d.ts +1 -1
- package/styles/base/scrollbars.css.d.ts.map +1 -1
- package/styles/base/scrollbars.css.js +50 -4
- package/styles/base/scrollbars.css.js.map +1 -1
- package/styles/base/touch.css.d.ts +23 -0
- package/styles/base/touch.css.d.ts.map +1 -0
- package/styles/base/touch.css.js +85 -0
- package/styles/base/touch.css.js.map +1 -0
- package/styles/base-styles.d.ts.map +1 -1
- package/styles/base-styles.js +4 -0
- package/styles/base-styles.js.map +1 -1
- package/styles/themes/theme-dark.d.ts +1 -1
- package/styles/themes/theme-dark.d.ts.map +1 -1
- package/styles/themes/theme-dark.js +3 -0
- package/styles/themes/theme-dark.js.map +1 -1
- package/types/column.types.d.ts +36 -0
- package/types/column.types.d.ts.map +1 -1
- package/types/grid.types.d.ts +3 -2
- package/types/grid.types.d.ts.map +1 -1
- package/types/photon-ai.types.d.ts +125 -5
- package/types/photon-ai.types.d.ts.map +1 -1
- package/types/photon-ai.types.js +18 -1
- package/types/photon-ai.types.js.map +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isTouchPointer, DRAG_THRESHOLD_TOUCH, MOMENTUM_DECAY, MOMENTUM_MIN_VELOCITY, PAN_EXCLUDE_SELECTOR, } from '../core/pointer-utils';
|
|
1
2
|
export class ScrollController {
|
|
2
3
|
constructor() {
|
|
3
4
|
this.scrollTop = 0;
|
|
@@ -12,6 +13,32 @@ export class ScrollController {
|
|
|
12
13
|
this.sbHNativeEl = null;
|
|
13
14
|
this.sbHSpacerEl = null;
|
|
14
15
|
this.sbHRowEl = null;
|
|
16
|
+
// ── Touch-pan state ───────────────────────────────────────────────────────
|
|
17
|
+
// Touch has no `wheel` event, so finger-drag panning is synthesized here:
|
|
18
|
+
// pointer deltas drive `scrollToX/Y`, and residual velocity feeds a momentum
|
|
19
|
+
// (kinetic) glide after release. Mouse/trackpad keep using `onWheel` — this
|
|
20
|
+
// path only engages for `pointerType === 'touch'`.
|
|
21
|
+
this.panPointerId = null;
|
|
22
|
+
this.panStartX = 0;
|
|
23
|
+
this.panStartY = 0;
|
|
24
|
+
this.panLastX = 0;
|
|
25
|
+
this.panLastY = 0;
|
|
26
|
+
this.panLastT = 0;
|
|
27
|
+
this.panScrollStartLeft = 0;
|
|
28
|
+
this.panScrollStartTop = 0;
|
|
29
|
+
this.panMoved = false;
|
|
30
|
+
/** The body/header element the active pan pointer was captured to (for release). */
|
|
31
|
+
this.panCaptureEl = null;
|
|
32
|
+
/** Residual finger velocity in scroll-space px/ms, sampled from the last move. */
|
|
33
|
+
this.velX = 0;
|
|
34
|
+
this.velY = 0;
|
|
35
|
+
this.momentumRAF = null;
|
|
36
|
+
/**
|
|
37
|
+
* Returns `true` while another interaction (column reorder/resize) owns the
|
|
38
|
+
* pointer, so touch-panning yields to it. Wired by `GridRenderer` to the
|
|
39
|
+
* HeaderRenderer's busy state; unset means "never busy".
|
|
40
|
+
*/
|
|
41
|
+
this.gestureGuard = null;
|
|
15
42
|
this.abortCtrl = null;
|
|
16
43
|
this.resizeObs = null;
|
|
17
44
|
this.scrollYCb = null;
|
|
@@ -80,12 +107,100 @@ export class ScrollController {
|
|
|
80
107
|
this.scrollToY(this.scrollTop + dy);
|
|
81
108
|
}
|
|
82
109
|
};
|
|
110
|
+
// ── Touch panning ───────────────────────────────────────────────────────────
|
|
111
|
+
this.onPanPointerDown = (e) => {
|
|
112
|
+
// Mouse/trackpad scroll through `onWheel`; only touch needs synthesized pan.
|
|
113
|
+
if (!isTouchPointer(e))
|
|
114
|
+
return;
|
|
115
|
+
if (this.panPointerId !== null)
|
|
116
|
+
return; // already tracking a contact
|
|
117
|
+
// Another interaction (column reorder/resize) already owns the pointer.
|
|
118
|
+
if (this.gestureGuard?.())
|
|
119
|
+
return;
|
|
120
|
+
// A press on an element that owns its own gesture (resize/drag/fill handle,
|
|
121
|
+
// editor, AI panel) must start that interaction, not scroll the grid.
|
|
122
|
+
if (e.target?.closest(PAN_EXCLUDE_SELECTOR))
|
|
123
|
+
return;
|
|
124
|
+
this.stopMomentum();
|
|
125
|
+
// A nested Master/Detail grid's body sits inside the parent grid's own body,
|
|
126
|
+
// so this pointerdown also bubbles to the parent's pan listener. Claim the
|
|
127
|
+
// gesture here so only the innermost grid pans (mirrors `onWheel`).
|
|
128
|
+
e.stopPropagation();
|
|
129
|
+
this.panPointerId = e.pointerId;
|
|
130
|
+
this.panStartX = this.panLastX = e.clientX;
|
|
131
|
+
this.panStartY = this.panLastY = e.clientY;
|
|
132
|
+
this.panLastT = e.timeStamp;
|
|
133
|
+
this.panScrollStartLeft = this.scrollLeft;
|
|
134
|
+
this.panScrollStartTop = this.scrollTop;
|
|
135
|
+
this.panMoved = false;
|
|
136
|
+
this.velX = 0;
|
|
137
|
+
this.velY = 0;
|
|
138
|
+
// Capture to the element the press landed on (body or header) so its own
|
|
139
|
+
// move/up listeners keep firing even if the finger slides off it.
|
|
140
|
+
this.panCaptureEl = e.currentTarget;
|
|
141
|
+
try {
|
|
142
|
+
this.panCaptureEl.setPointerCapture(e.pointerId);
|
|
143
|
+
}
|
|
144
|
+
catch { /* capture unsupported */ }
|
|
145
|
+
};
|
|
146
|
+
this.onPanPointerMove = (e) => {
|
|
147
|
+
if (e.pointerId !== this.panPointerId)
|
|
148
|
+
return;
|
|
149
|
+
// A column reorder/resize started mid-gesture (e.g. after a long-press) —
|
|
150
|
+
// hand the pointer over: abandon the pan without scrolling.
|
|
151
|
+
if (this.gestureGuard?.()) {
|
|
152
|
+
this.releasePan(e.pointerId);
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
const dx = e.clientX - this.panStartX;
|
|
156
|
+
const dy = e.clientY - this.panStartY;
|
|
157
|
+
if (!this.panMoved) {
|
|
158
|
+
if (Math.abs(dx) < DRAG_THRESHOLD_TOUCH && Math.abs(dy) < DRAG_THRESHOLD_TOUCH)
|
|
159
|
+
return;
|
|
160
|
+
this.panMoved = true;
|
|
161
|
+
}
|
|
162
|
+
// Content follows the finger: dragging down reveals content above, so the
|
|
163
|
+
// scroll offset moves opposite to the finger delta.
|
|
164
|
+
this.scrollToX(this.panScrollStartLeft - dx);
|
|
165
|
+
this.scrollToY(this.panScrollStartTop - dy);
|
|
166
|
+
// Sample instantaneous velocity in scroll-space (px/ms) for the post-release
|
|
167
|
+
// momentum glide. Scroll offset moves opposite the finger, hence last-minus-current.
|
|
168
|
+
const dt = e.timeStamp - this.panLastT;
|
|
169
|
+
if (dt > 0) {
|
|
170
|
+
this.velX = (this.panLastX - e.clientX) / dt;
|
|
171
|
+
this.velY = (this.panLastY - e.clientY) / dt;
|
|
172
|
+
}
|
|
173
|
+
this.panLastX = e.clientX;
|
|
174
|
+
this.panLastY = e.clientY;
|
|
175
|
+
this.panLastT = e.timeStamp;
|
|
176
|
+
e.preventDefault();
|
|
177
|
+
};
|
|
178
|
+
this.onPanPointerUp = (e) => {
|
|
179
|
+
if (e.pointerId !== this.panPointerId)
|
|
180
|
+
return;
|
|
181
|
+
const moved = this.panMoved;
|
|
182
|
+
this.releasePan(e.pointerId);
|
|
183
|
+
if (moved) {
|
|
184
|
+
// Swallow the synthetic click a touch-drag would otherwise fire, so a
|
|
185
|
+
// flick to scroll never also selects a cell or triggers a header sort.
|
|
186
|
+
this.suppressNextClick();
|
|
187
|
+
this.startMomentum();
|
|
188
|
+
}
|
|
189
|
+
};
|
|
83
190
|
}
|
|
84
191
|
onScrollY(cb) { this.scrollYCb = cb; }
|
|
85
192
|
onScrollX(cb) { this.scrollXCb = cb; }
|
|
86
193
|
setReserveVerticalGutter(reserve) {
|
|
87
194
|
this.reserveVerticalGutter = reserve;
|
|
88
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* Registers a predicate that, while it returns `true`, suspends touch-panning
|
|
198
|
+
* so a concurrent column reorder or resize owns the pointer instead. See
|
|
199
|
+
* {@link gestureGuard}.
|
|
200
|
+
*/
|
|
201
|
+
setGestureGuard(fn) {
|
|
202
|
+
this.gestureGuard = fn;
|
|
203
|
+
}
|
|
89
204
|
mount(gridEl, bodyEl, centerBodyEl, sbVNativeEl, sbVSpacerEl, sbHNativeEl, sbHSpacerEl, sbHRowEl) {
|
|
90
205
|
this.gridEl = gridEl;
|
|
91
206
|
this.sbVNativeEl = sbVNativeEl;
|
|
@@ -99,6 +214,19 @@ export class ScrollController {
|
|
|
99
214
|
bodyEl.addEventListener('wheel', this.onWheel, { passive: false, signal: sig });
|
|
100
215
|
const headerEl = gridEl.querySelector('.pg-grid__header');
|
|
101
216
|
headerEl?.addEventListener('wheel', this.onWheel, { passive: false, signal: sig });
|
|
217
|
+
// Touch-drag panning (finger scroll). Bound to both the body and the header
|
|
218
|
+
// so a quick horizontal swipe over either scrolls the grid sideways. A
|
|
219
|
+
// stationary press on the header instead arms the long-press column-reorder
|
|
220
|
+
// gesture (HeaderRenderer); the `gestureGuard` below lets the pan bail out
|
|
221
|
+
// the moment that — or a column resize — takes ownership of the pointer.
|
|
222
|
+
for (const el of [bodyEl, headerEl]) {
|
|
223
|
+
if (!el)
|
|
224
|
+
continue;
|
|
225
|
+
el.addEventListener('pointerdown', this.onPanPointerDown, { signal: sig });
|
|
226
|
+
el.addEventListener('pointermove', this.onPanPointerMove, { passive: false, signal: sig });
|
|
227
|
+
el.addEventListener('pointerup', this.onPanPointerUp, { signal: sig });
|
|
228
|
+
el.addEventListener('pointercancel', this.onPanPointerUp, { signal: sig });
|
|
229
|
+
}
|
|
102
230
|
sbVNativeEl.addEventListener('scroll', this.onVNativeScroll, { signal: sig });
|
|
103
231
|
sbHNativeEl.addEventListener('scroll', this.onHNativeScroll, { signal: sig });
|
|
104
232
|
this.resizeObs = new ResizeObserver(() => {
|
|
@@ -165,6 +293,7 @@ export class ScrollController {
|
|
|
165
293
|
}
|
|
166
294
|
scrollToTop() { this.scrollToY(0); }
|
|
167
295
|
destroy() {
|
|
296
|
+
this.stopMomentum();
|
|
168
297
|
this.abortCtrl?.abort();
|
|
169
298
|
this.abortCtrl = null;
|
|
170
299
|
this.resizeObs?.disconnect();
|
|
@@ -196,5 +325,60 @@ export class ScrollController {
|
|
|
196
325
|
this.sbHRowEl.classList.toggle('pg-scrollbar--hidden', this.totalCenterWidth <= this.centerViewportWidth);
|
|
197
326
|
}
|
|
198
327
|
}
|
|
328
|
+
/** Ends the active pan contact and releases its pointer capture. */
|
|
329
|
+
releasePan(pointerId) {
|
|
330
|
+
this.panPointerId = null;
|
|
331
|
+
try {
|
|
332
|
+
this.panCaptureEl?.releasePointerCapture(pointerId);
|
|
333
|
+
}
|
|
334
|
+
catch { /* already released */ }
|
|
335
|
+
this.panCaptureEl = null;
|
|
336
|
+
}
|
|
337
|
+
startMomentum() {
|
|
338
|
+
let vx = this.velX;
|
|
339
|
+
let vy = this.velY;
|
|
340
|
+
if (Math.abs(vx) < MOMENTUM_MIN_VELOCITY && Math.abs(vy) < MOMENTUM_MIN_VELOCITY)
|
|
341
|
+
return;
|
|
342
|
+
const FRAME_MS = 16;
|
|
343
|
+
const step = () => {
|
|
344
|
+
this.momentumRAF = null;
|
|
345
|
+
vx *= MOMENTUM_DECAY;
|
|
346
|
+
vy *= MOMENTUM_DECAY;
|
|
347
|
+
if (Math.abs(vx) < MOMENTUM_MIN_VELOCITY && Math.abs(vy) < MOMENTUM_MIN_VELOCITY)
|
|
348
|
+
return;
|
|
349
|
+
const beforeL = this.scrollLeft;
|
|
350
|
+
const beforeT = this.scrollTop;
|
|
351
|
+
this.scrollToX(this.scrollLeft + vx * FRAME_MS);
|
|
352
|
+
this.scrollToY(this.scrollTop + vy * FRAME_MS);
|
|
353
|
+
// Both axes clamped at their edge → nothing left to glide into.
|
|
354
|
+
if (this.scrollLeft === beforeL && this.scrollTop === beforeT)
|
|
355
|
+
return;
|
|
356
|
+
this.momentumRAF = requestAnimationFrame(step);
|
|
357
|
+
};
|
|
358
|
+
this.momentumRAF = requestAnimationFrame(step);
|
|
359
|
+
}
|
|
360
|
+
stopMomentum() {
|
|
361
|
+
if (this.momentumRAF !== null) {
|
|
362
|
+
cancelAnimationFrame(this.momentumRAF);
|
|
363
|
+
this.momentumRAF = null;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Installs a one-shot capture-phase click swallower on the grid so the ghost
|
|
368
|
+
* click synthesized at the end of a touch-pan gesture never reaches cells or
|
|
369
|
+
* headers. Self-removing, with a timeout fallback in case no click arrives.
|
|
370
|
+
*/
|
|
371
|
+
suppressNextClick() {
|
|
372
|
+
const grid = this.gridEl;
|
|
373
|
+
if (!grid)
|
|
374
|
+
return;
|
|
375
|
+
const swallow = (ev) => {
|
|
376
|
+
ev.stopPropagation();
|
|
377
|
+
ev.preventDefault();
|
|
378
|
+
grid.removeEventListener('click', swallow, true);
|
|
379
|
+
};
|
|
380
|
+
grid.addEventListener('click', swallow, true);
|
|
381
|
+
setTimeout(() => grid.removeEventListener('click', swallow, true), 400);
|
|
382
|
+
}
|
|
199
383
|
}
|
|
200
384
|
//# sourceMappingURL=scroll-controller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-controller.js","sourceRoot":"","sources":["../../src/renderer/scroll-controller.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,gBAAgB;IAA7B;QACU,cAAS,GAAG,CAAC,CAAC;QACd,eAAU,GAAG,CAAC,CAAC;QACf,gBAAW,GAAG,CAAC,CAAC;QAChB,qBAAgB,GAAG,CAAC,CAAC;QACrB,mBAAc,GAAG,CAAC,CAAC;QACnB,wBAAmB,GAAG,CAAC,CAAC;QAExB,WAAM,GAAuB,IAAI,CAAC;QAClC,gBAAW,GAAuB,IAAI,CAAC;QACvC,gBAAW,GAAuB,IAAI,CAAC;QACvC,gBAAW,GAAuB,IAAI,CAAC;QACvC,gBAAW,GAAuB,IAAI,CAAC;QACvC,aAAQ,GAAuB,IAAI,CAAC;QAEpC,cAAS,GAA2B,IAAI,CAAC;QACzC,cAAS,GAA0B,IAAI,CAAC;QACxC,cAAS,GAA2B,IAAI,CAAC;QACzC,cAAS,GAAwB,IAAI,CAAC;QAC9C;;;;;;;;WAQG;QACK,0BAAqB,GAAG,KAAK,CAAC;QA2IrB,oBAAe,GAAG,GAAS,EAAE;YAC5C,MAAM,EAAE,GAAG,IAAI,CAAC,WAAY,CAAC,SAAS,CAAC;YACvC,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,GAAG;gBAAE,OAAO;YAChD,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;YACpB,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,IAAI,CAAC,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;QACvB,CAAC,CAAC;QAEe,oBAAe,GAAG,GAAS,EAAE;YAC5C,MAAM,EAAE,GAAG,IAAI,CAAC,WAAY,CAAC,UAAU,CAAC;YACxC,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG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CAAC,UAAU,KAAK,OAAO,IAAI,IAAI,CAAC,SAAS,KAAK,OAAO;gBAAE,OAAO;YACtE,IAAI,CAAC,WAAW,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACjD,CAAC,CAAC;QACF,IAAI,CAAC,WAAW,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAEO,YAAY;QAClB,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,EAAE,CAAC;YAC9B,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACvC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QAC1B,CAAC;IACH,CAAC;IAED;;;;OAIG;IACK,iBAAiB;QACvB,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC;QACzB,IAAI,CAAC,IAAI;YAAE,OAAO;QAClB,MAAM,OAAO,GAAG,CAAC,EAAS,EAAQ,EAAE;YAClC,EAAE,CAAC,eAAe,EAAE,CAAC;YACrB,EAAE,CAAC,cAAc,EAAE,CAAC;YACpB,IAAI,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QACnD,CAAC,CAAC;QACF,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;QAC9C,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;IAC1E,CAAC;CACF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Photon Grid base styles — column-chooser section.
|
|
3
|
+
*
|
|
4
|
+
* Auto-split from base-styles.ts. Concatenated back (in order) by
|
|
5
|
+
* base-styles.ts; edit here, not there. Order is preserved because CSS
|
|
6
|
+
* cascade depends on it.
|
|
7
|
+
*
|
|
8
|
+
* Every value is a theme variable (with a sensible fallback) so the dialog
|
|
9
|
+
* re-themes with the rest of the grid — light, dark, and custom themes — with
|
|
10
|
+
* no inline styles anywhere in the component.
|
|
11
|
+
*/
|
|
12
|
+
export declare const columnChooserCss = "/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Column Chooser \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/* Positioning layer only \u2014 no backdrop scrim/blur, and transparent to pointer\n events so the grid behind stays visible and interactive. The dialog itself\n re-enables pointer events; outside presses are handled by a document-level\n listener in the component. */\n.pg-col-chooser__overlay {\n position: fixed;\n inset: 0;\n z-index: 10000;\n display: flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n pointer-events: none;\n font-family: var(--pg-typography-font-family, system-ui, sans-serif);\n}\n\n.pg-col-chooser {\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n width: 320px;\n max-width: calc(100vw - 32px);\n max-height: min(70vh, 560px);\n background: var(--pg-colors-surface, #ffffff);\n color: var(--pg-colors-text-primary, #0f172a);\n border: 1px solid var(--pg-colors-border, #e2e8f0);\n border-radius: var(--pg-borders-radius-lg, 10px);\n box-shadow: var(--pg-shadows-dialog, var(--pg-shadows-dropdown, 0 12px 32px rgba(15, 23, 42, 0.18)));\n font-size: var(--pg-typography-font-size-sm, 13px);\n overflow: hidden;\n}\n\n/* \u2500\u2500 Header \u2500\u2500 */\n.pg-col-chooser__header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n padding: 12px 14px;\n border-bottom: 1px solid var(--pg-colors-border, #e2e8f0);\n}\n.pg-col-chooser__title {\n font-weight: var(--pg-typography-font-weight-semi-bold, 600);\n font-size: var(--pg-typography-font-size-md, 14px);\n}\n.pg-col-chooser__close {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n padding: 0;\n border: none;\n border-radius: var(--pg-borders-radius-sm, 4px);\n background: transparent;\n color: var(--pg-colors-text-secondary, #64748b);\n cursor: pointer;\n transition: background var(--pg-transitions-fast, 80ms ease), color var(--pg-transitions-fast, 80ms ease);\n}\n.pg-col-chooser__close:hover {\n background: var(--pg-colors-background-alt, #f1f5f9);\n color: var(--pg-colors-text-primary, #0f172a);\n}\n\n/* \u2500\u2500 Search \u2500\u2500 */\n.pg-col-chooser__search {\n position: relative;\n display: flex;\n align-items: center;\n padding: 10px 14px;\n}\n.pg-col-chooser__search-icon {\n position: absolute;\n left: 24px;\n display: inline-flex;\n color: var(--pg-colors-text-secondary, #94a3b8);\n pointer-events: none;\n}\n.pg-col-chooser__search-input {\n width: 100%;\n padding: 7px 10px 7px 30px;\n border: 1px solid var(--pg-colors-border, #e2e8f0);\n border-radius: var(--pg-borders-radius-md, 6px);\n background: var(--pg-colors-background, #ffffff);\n color: var(--pg-colors-text-primary, #0f172a);\n font-family: inherit;\n font-size: inherit;\n outline: none;\n transition: border-color var(--pg-transitions-fast, 80ms ease), box-shadow var(--pg-transitions-fast, 80ms ease);\n}\n.pg-col-chooser__search-input:focus {\n border-color: var(--pg-colors-primary, #2563eb);\n box-shadow: 0 0 0 2px var(--pg-colors-primary-soft, rgba(37, 99, 235, 0.16));\n}\n.pg-col-chooser__search-input::placeholder {\n color: var(--pg-colors-text-secondary, #94a3b8);\n}\n\n/* \u2500\u2500 Body / tree \u2500\u2500 */\n.pg-col-chooser__body {\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto;\n padding: 6px 8px 10px;\n}\n.pg-col-chooser__tree {\n display: flex;\n flex-direction: column;\n}\n\n/* Nested indentation \u2014 one step per level, so depth needs no inline geometry. */\n.pg-col-chooser__children {\n display: flex;\n flex-direction: column;\n padding-left: var(--pg-spacing-md, 16px);\n}\n\n.pg-col-chooser__row {\n display: flex;\n align-items: center;\n gap: 8px;\n min-height: 32px;\n padding: 2px 6px;\n border-radius: var(--pg-borders-radius-sm, 4px);\n cursor: pointer;\n user-select: none;\n transition: background var(--pg-transitions-fast, 80ms ease);\n}\n.pg-col-chooser__row:hover {\n background: var(--pg-colors-background-alt, #f1f5f9);\n}\n.pg-col-chooser__row--group {\n font-weight: var(--pg-typography-font-weight-medium, 500);\n}\n\n/* Expand/collapse chevron (groups) \u2014 spacer variant keeps leaves aligned. */\n.pg-col-chooser__toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n flex-shrink: 0;\n padding: 0;\n border: none;\n background: transparent;\n color: var(--pg-colors-text-secondary, #64748b);\n cursor: pointer;\n border-radius: var(--pg-borders-radius-sm, 4px);\n}\n.pg-col-chooser__toggle:hover {\n color: var(--pg-colors-text-primary, #0f172a);\n}\n.pg-col-chooser__toggle--spacer {\n cursor: default;\n pointer-events: none;\n}\n\n/* Themed tri-state checkbox. */\n.pg-col-chooser__checkbox {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n border: 1.5px solid var(--pg-colors-border-strong, var(--pg-colors-border, #cbd5e1));\n border-radius: var(--pg-borders-radius-sm, 4px);\n background: var(--pg-colors-background, #ffffff);\n color: transparent;\n cursor: pointer;\n transition: background var(--pg-transitions-fast, 80ms ease), border-color var(--pg-transitions-fast, 80ms ease);\n}\n.pg-col-chooser__checkbox > .pg-icon,\n.pg-col-chooser__checkbox > svg {\n width: 12px;\n height: 12px;\n opacity: 0;\n transition: opacity var(--pg-transitions-fast, 80ms ease);\n}\n.pg-col-chooser__checkbox--checked {\n background: var(--pg-colors-primary, #2563eb);\n border-color: var(--pg-colors-primary, #2563eb);\n color: var(--pg-colors-on-primary, #ffffff);\n}\n.pg-col-chooser__checkbox--checked > .pg-icon,\n.pg-col-chooser__checkbox--checked > svg {\n opacity: 1;\n}\n/* Indeterminate (some children visible) \u2014 a dash rather than a tick. */\n.pg-col-chooser__checkbox--indeterminate {\n background: var(--pg-colors-primary, #2563eb);\n border-color: var(--pg-colors-primary, #2563eb);\n}\n.pg-col-chooser__checkbox--indeterminate::after {\n content: \"\";\n width: 8px;\n height: 2px;\n border-radius: 1px;\n background: var(--pg-colors-on-primary, #ffffff);\n}\n.pg-col-chooser__checkbox--indeterminate > .pg-icon,\n.pg-col-chooser__checkbox--indeterminate > svg {\n display: none;\n}\n.pg-col-chooser__checkbox--disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n.pg-col-chooser__checkbox:focus-visible {\n outline: 2px solid var(--pg-colors-primary, #2563eb);\n outline-offset: 1px;\n}\n\n.pg-col-chooser__label {\n flex: 1 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.pg-col-chooser__empty {\n padding: 16px 8px;\n text-align: center;\n color: var(--pg-colors-text-secondary, #94a3b8);\n}\n";
|
|
13
|
+
//# sourceMappingURL=column-chooser.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-chooser.css.d.ts","sourceRoot":"","sources":["../../../src/styles/base/column-chooser.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,q1NAoO5B,CAAC"}
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Photon Grid base styles — column-chooser section.
|
|
3
|
+
*
|
|
4
|
+
* Auto-split from base-styles.ts. Concatenated back (in order) by
|
|
5
|
+
* base-styles.ts; edit here, not there. Order is preserved because CSS
|
|
6
|
+
* cascade depends on it.
|
|
7
|
+
*
|
|
8
|
+
* Every value is a theme variable (with a sensible fallback) so the dialog
|
|
9
|
+
* re-themes with the rest of the grid — light, dark, and custom themes — with
|
|
10
|
+
* no inline styles anywhere in the component.
|
|
11
|
+
*/
|
|
12
|
+
export const columnChooserCss = `/* ──────────────────── Column Chooser ──────────────────── */
|
|
13
|
+
|
|
14
|
+
/* Positioning layer only — no backdrop scrim/blur, and transparent to pointer
|
|
15
|
+
events so the grid behind stays visible and interactive. The dialog itself
|
|
16
|
+
re-enables pointer events; outside presses are handled by a document-level
|
|
17
|
+
listener in the component. */
|
|
18
|
+
.pg-col-chooser__overlay {
|
|
19
|
+
position: fixed;
|
|
20
|
+
inset: 0;
|
|
21
|
+
z-index: 10000;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
background: transparent;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
font-family: var(--pg-typography-font-family, system-ui, sans-serif);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.pg-col-chooser {
|
|
31
|
+
pointer-events: auto;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
width: 320px;
|
|
35
|
+
max-width: calc(100vw - 32px);
|
|
36
|
+
max-height: min(70vh, 560px);
|
|
37
|
+
background: var(--pg-colors-surface, #ffffff);
|
|
38
|
+
color: var(--pg-colors-text-primary, #0f172a);
|
|
39
|
+
border: 1px solid var(--pg-colors-border, #e2e8f0);
|
|
40
|
+
border-radius: var(--pg-borders-radius-lg, 10px);
|
|
41
|
+
box-shadow: var(--pg-shadows-dialog, var(--pg-shadows-dropdown, 0 12px 32px rgba(15, 23, 42, 0.18)));
|
|
42
|
+
font-size: var(--pg-typography-font-size-sm, 13px);
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* ── Header ── */
|
|
47
|
+
.pg-col-chooser__header {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
gap: 8px;
|
|
52
|
+
padding: 12px 14px;
|
|
53
|
+
border-bottom: 1px solid var(--pg-colors-border, #e2e8f0);
|
|
54
|
+
}
|
|
55
|
+
.pg-col-chooser__title {
|
|
56
|
+
font-weight: var(--pg-typography-font-weight-semi-bold, 600);
|
|
57
|
+
font-size: var(--pg-typography-font-size-md, 14px);
|
|
58
|
+
}
|
|
59
|
+
.pg-col-chooser__close {
|
|
60
|
+
display: inline-flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
width: 26px;
|
|
64
|
+
height: 26px;
|
|
65
|
+
padding: 0;
|
|
66
|
+
border: none;
|
|
67
|
+
border-radius: var(--pg-borders-radius-sm, 4px);
|
|
68
|
+
background: transparent;
|
|
69
|
+
color: var(--pg-colors-text-secondary, #64748b);
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
transition: background var(--pg-transitions-fast, 80ms ease), color var(--pg-transitions-fast, 80ms ease);
|
|
72
|
+
}
|
|
73
|
+
.pg-col-chooser__close:hover {
|
|
74
|
+
background: var(--pg-colors-background-alt, #f1f5f9);
|
|
75
|
+
color: var(--pg-colors-text-primary, #0f172a);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* ── Search ── */
|
|
79
|
+
.pg-col-chooser__search {
|
|
80
|
+
position: relative;
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
padding: 10px 14px;
|
|
84
|
+
}
|
|
85
|
+
.pg-col-chooser__search-icon {
|
|
86
|
+
position: absolute;
|
|
87
|
+
left: 24px;
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
color: var(--pg-colors-text-secondary, #94a3b8);
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
}
|
|
92
|
+
.pg-col-chooser__search-input {
|
|
93
|
+
width: 100%;
|
|
94
|
+
padding: 7px 10px 7px 30px;
|
|
95
|
+
border: 1px solid var(--pg-colors-border, #e2e8f0);
|
|
96
|
+
border-radius: var(--pg-borders-radius-md, 6px);
|
|
97
|
+
background: var(--pg-colors-background, #ffffff);
|
|
98
|
+
color: var(--pg-colors-text-primary, #0f172a);
|
|
99
|
+
font-family: inherit;
|
|
100
|
+
font-size: inherit;
|
|
101
|
+
outline: none;
|
|
102
|
+
transition: border-color var(--pg-transitions-fast, 80ms ease), box-shadow var(--pg-transitions-fast, 80ms ease);
|
|
103
|
+
}
|
|
104
|
+
.pg-col-chooser__search-input:focus {
|
|
105
|
+
border-color: var(--pg-colors-primary, #2563eb);
|
|
106
|
+
box-shadow: 0 0 0 2px var(--pg-colors-primary-soft, rgba(37, 99, 235, 0.16));
|
|
107
|
+
}
|
|
108
|
+
.pg-col-chooser__search-input::placeholder {
|
|
109
|
+
color: var(--pg-colors-text-secondary, #94a3b8);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* ── Body / tree ── */
|
|
113
|
+
.pg-col-chooser__body {
|
|
114
|
+
flex: 1 1 auto;
|
|
115
|
+
min-height: 0;
|
|
116
|
+
overflow-y: auto;
|
|
117
|
+
padding: 6px 8px 10px;
|
|
118
|
+
}
|
|
119
|
+
.pg-col-chooser__tree {
|
|
120
|
+
display: flex;
|
|
121
|
+
flex-direction: column;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* Nested indentation — one step per level, so depth needs no inline geometry. */
|
|
125
|
+
.pg-col-chooser__children {
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
padding-left: var(--pg-spacing-md, 16px);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.pg-col-chooser__row {
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
gap: 8px;
|
|
135
|
+
min-height: 32px;
|
|
136
|
+
padding: 2px 6px;
|
|
137
|
+
border-radius: var(--pg-borders-radius-sm, 4px);
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
user-select: none;
|
|
140
|
+
transition: background var(--pg-transitions-fast, 80ms ease);
|
|
141
|
+
}
|
|
142
|
+
.pg-col-chooser__row:hover {
|
|
143
|
+
background: var(--pg-colors-background-alt, #f1f5f9);
|
|
144
|
+
}
|
|
145
|
+
.pg-col-chooser__row--group {
|
|
146
|
+
font-weight: var(--pg-typography-font-weight-medium, 500);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Expand/collapse chevron (groups) — spacer variant keeps leaves aligned. */
|
|
150
|
+
.pg-col-chooser__toggle {
|
|
151
|
+
display: inline-flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
justify-content: center;
|
|
154
|
+
width: 18px;
|
|
155
|
+
height: 18px;
|
|
156
|
+
flex-shrink: 0;
|
|
157
|
+
padding: 0;
|
|
158
|
+
border: none;
|
|
159
|
+
background: transparent;
|
|
160
|
+
color: var(--pg-colors-text-secondary, #64748b);
|
|
161
|
+
cursor: pointer;
|
|
162
|
+
border-radius: var(--pg-borders-radius-sm, 4px);
|
|
163
|
+
}
|
|
164
|
+
.pg-col-chooser__toggle:hover {
|
|
165
|
+
color: var(--pg-colors-text-primary, #0f172a);
|
|
166
|
+
}
|
|
167
|
+
.pg-col-chooser__toggle--spacer {
|
|
168
|
+
cursor: default;
|
|
169
|
+
pointer-events: none;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Themed tri-state checkbox. */
|
|
173
|
+
.pg-col-chooser__checkbox {
|
|
174
|
+
display: inline-flex;
|
|
175
|
+
align-items: center;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
width: 16px;
|
|
178
|
+
height: 16px;
|
|
179
|
+
flex-shrink: 0;
|
|
180
|
+
border: 1.5px solid var(--pg-colors-border-strong, var(--pg-colors-border, #cbd5e1));
|
|
181
|
+
border-radius: var(--pg-borders-radius-sm, 4px);
|
|
182
|
+
background: var(--pg-colors-background, #ffffff);
|
|
183
|
+
color: transparent;
|
|
184
|
+
cursor: pointer;
|
|
185
|
+
transition: background var(--pg-transitions-fast, 80ms ease), border-color var(--pg-transitions-fast, 80ms ease);
|
|
186
|
+
}
|
|
187
|
+
.pg-col-chooser__checkbox > .pg-icon,
|
|
188
|
+
.pg-col-chooser__checkbox > svg {
|
|
189
|
+
width: 12px;
|
|
190
|
+
height: 12px;
|
|
191
|
+
opacity: 0;
|
|
192
|
+
transition: opacity var(--pg-transitions-fast, 80ms ease);
|
|
193
|
+
}
|
|
194
|
+
.pg-col-chooser__checkbox--checked {
|
|
195
|
+
background: var(--pg-colors-primary, #2563eb);
|
|
196
|
+
border-color: var(--pg-colors-primary, #2563eb);
|
|
197
|
+
color: var(--pg-colors-on-primary, #ffffff);
|
|
198
|
+
}
|
|
199
|
+
.pg-col-chooser__checkbox--checked > .pg-icon,
|
|
200
|
+
.pg-col-chooser__checkbox--checked > svg {
|
|
201
|
+
opacity: 1;
|
|
202
|
+
}
|
|
203
|
+
/* Indeterminate (some children visible) — a dash rather than a tick. */
|
|
204
|
+
.pg-col-chooser__checkbox--indeterminate {
|
|
205
|
+
background: var(--pg-colors-primary, #2563eb);
|
|
206
|
+
border-color: var(--pg-colors-primary, #2563eb);
|
|
207
|
+
}
|
|
208
|
+
.pg-col-chooser__checkbox--indeterminate::after {
|
|
209
|
+
content: "";
|
|
210
|
+
width: 8px;
|
|
211
|
+
height: 2px;
|
|
212
|
+
border-radius: 1px;
|
|
213
|
+
background: var(--pg-colors-on-primary, #ffffff);
|
|
214
|
+
}
|
|
215
|
+
.pg-col-chooser__checkbox--indeterminate > .pg-icon,
|
|
216
|
+
.pg-col-chooser__checkbox--indeterminate > svg {
|
|
217
|
+
display: none;
|
|
218
|
+
}
|
|
219
|
+
.pg-col-chooser__checkbox--disabled {
|
|
220
|
+
opacity: 0.5;
|
|
221
|
+
cursor: not-allowed;
|
|
222
|
+
}
|
|
223
|
+
.pg-col-chooser__checkbox:focus-visible {
|
|
224
|
+
outline: 2px solid var(--pg-colors-primary, #2563eb);
|
|
225
|
+
outline-offset: 1px;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.pg-col-chooser__label {
|
|
229
|
+
flex: 1 1 auto;
|
|
230
|
+
overflow: hidden;
|
|
231
|
+
text-overflow: ellipsis;
|
|
232
|
+
white-space: nowrap;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.pg-col-chooser__empty {
|
|
236
|
+
padding: 16px 8px;
|
|
237
|
+
text-align: center;
|
|
238
|
+
color: var(--pg-colors-text-secondary, #94a3b8);
|
|
239
|
+
}
|
|
240
|
+
`;
|
|
241
|
+
//# sourceMappingURL=column-chooser.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-chooser.css.js","sourceRoot":"","sources":["../../../src/styles/base/column-chooser.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoO/B,CAAC"}
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* base-styles.ts; edit here, not there. Order is preserved because CSS
|
|
6
6
|
* cascade depends on it.
|
|
7
7
|
*/
|
|
8
|
-
export declare const columnContextMenuCss = "/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Column Context Menu \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/* Menu container \u2014 fixed-position dropdown attached to document.body.\n Height is capped so the menu never grows into the viewport's top/bottom\n 200px; content beyond that scrolls internally via overflow-y instead of\n being clipped. Fly-out submenus (.pg-col-ctx-menu__submenu) are portaled to\n document.body while open rather than nested here, so this container's\n scroll clipping never cuts them off on the X axis. */\n.pg-col-ctx-menu {\n position: fixed;\n z-index: 9999;\n min-width: 220px;\n max-width: 300px;\n max-height: calc(100% - 200px);\n overflow-y: auto;\n overflow-x: hidden;\n padding: 4px;\n background: var(--pg-colors-surface, #ffffff);\n border: 1px solid var(--pg-colors-border, #e2e8f0);\n border-radius: var(--pg-borders-radius-md, 6px);\n box-shadow: var(--pg-shadows-dropdown, 0 8px 24px rgba(15, 23, 42, 0.12));\n font-family: var(--pg-typography-font-family, system-ui, sans-serif);\n font-size: var(--pg-typography-font-size-sm, 13px);\n color: var(--pg-colors-text-primary, #0f172a);\n user-select: none;\n outline: none;\n}\n\n/* Horizontal divider between section groups */\n.pg-col-ctx-menu__separator {\n border-top: 1px solid var(--pg-colors-border-col-ctxt-menu, #e2e8f0);\n background: var(--pg-colors-border, #e2e8f0);\n margin: 4px 0;\n}\n\n/* \u2500\u2500 Menu items \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/* Base item \u2014 covers both leaf items and parent (submenu-trigger) items */\n.pg-col-ctx-menu__item {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 7px 10px;\n border-radius: var(--pg-borders-radius-sm, 4px);\n cursor: pointer;\n transition: background var(--pg-transitions-fast, 80ms ease);\n outline: none;\n white-space: nowrap;\n}\n\n.pg-col-ctx-menu__item:hover,\n.pg-col-ctx-menu__item:focus-visible {\n background: var(--pg-colors-background-alt, #f1f5f9);\n}\n\n/* Highlighted / \"currently applied\" item (e.g. active sort direction) */\n.pg-col-ctx-menu__item--active {\n color: var(--pg-colors-primary, #2563eb);\n font-weight: 600;\n}\n\n/* Disabled item \u2014 rendered but not interactive */\n.pg-col-ctx-menu__item--disabled {\n opacity: 0.38;\n cursor: not-allowed;\n pointer-events: none;\n}\n\n/* \u2500\u2500 Item anatomy \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/* Leading icon */\n.pg-col-ctx-menu__item-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 16px;\n height: 16px;\n opacity: 0.6;\n}\n\n.pg-col-ctx-menu__item--active .pg-col-ctx-menu__item-icon {\n opacity: 1;\n}\n\n/* Text label \u2014 fills remaining space */\n.pg-col-ctx-menu__item-label {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n/* Trailing chevron indicating a fly-out submenu */\n.pg-col-ctx-menu__item-chevron {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 14px;\n height: 14px;\n opacity: 0.4;\n margin-left: 4px;\n transition: opacity var(--pg-transitions-fast, 80ms ease);\n}\n\n.pg-col-ctx-menu__item--has-submenu:hover .pg-col-ctx-menu__item-chevron {\n opacity: 0.75;\n}\n\n/* \u2500\u2500 Fly-out submenu \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/* Hidden by default; shown when JS adds --open. Positioned fixed rather than\n absolute-within-parent because it is portaled to document.body while open\n (see ColumnMenu.openSubmenu) \u2014 left/top are set inline in viewport\n coordinates by adjustSubmenuPosition. */\n.pg-col-ctx-menu__submenu {\n display: none;\n position: fixed;\n min-width: 180px;\n padding: 4px;\n background: var(--pg-colors-surface, #ffffff);\n border: 1px solid var(--pg-colors-border, #e2e8f0);\n border-radius: var(--pg-borders-radius-md, 6px);\n box-shadow: var(--pg-shadows-dropdown, 0 8px 24px rgba(15, 23, 42, 0.12));\n z-index: 10000;\n}\n\n/* JS-controlled open state */\n.pg-col-ctx-menu__submenu--open {\n display: block;\n}\n\n/* Invisible hover bridge \u2014 prevents flicker when mouse crosses from\n parent item edge into the submenu. Extends 6px to the left of the submenu. */\n.pg-col-ctx-menu__submenu--open::before {\n content: '';\n position: absolute;\n right: 100%;\n top: 0;\n width: 8px;\n height: 100%;\n}\n\n";
|
|
8
|
+
export declare const columnContextMenuCss = "/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Column Context Menu \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/* Menu container \u2014 fixed-position dropdown attached to document.body.\n Height is capped so the menu never grows into the viewport's top/bottom\n 200px; content beyond that scrolls internally via overflow-y instead of\n being clipped. Fly-out submenus (.pg-col-ctx-menu__submenu) are portaled to\n document.body while open rather than nested here, so this container's\n scroll clipping never cuts them off on the X axis. */\n.pg-col-ctx-menu {\n position: fixed;\n z-index: 9999;\n min-width: 220px;\n max-width: 300px;\n max-height: calc(100% - 200px);\n overflow-y: auto;\n overflow-x: hidden;\n padding: 4px;\n background: var(--pg-colors-surface, #ffffff);\n border: 1px solid var(--pg-colors-border, #e2e8f0);\n border-radius: var(--pg-borders-radius-md, 6px);\n box-shadow: var(--pg-shadows-dropdown, 0 8px 24px rgba(15, 23, 42, 0.12));\n font-family: var(--pg-typography-font-family, system-ui, sans-serif);\n font-size: var(--pg-typography-font-size-sm, 13px);\n color: var(--pg-colors-text-primary, #0f172a);\n user-select: none;\n outline: none;\n}\n\n/* Horizontal divider between section groups */\n.pg-col-ctx-menu__separator {\n border-top: 1px solid var(--pg-colors-border-col-ctxt-menu, #e2e8f0);\n background: var(--pg-colors-border, #e2e8f0);\n margin: 4px 0;\n}\n\n/* \u2500\u2500 Menu items \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/* Base item \u2014 covers both leaf items and parent (submenu-trigger) items */\n.pg-col-ctx-menu__item {\n position: relative;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 7px 10px;\n border-radius: var(--pg-borders-radius-sm, 4px);\n cursor: pointer;\n transition: background var(--pg-transitions-fast, 80ms ease);\n outline: none;\n white-space: nowrap;\n}\n\n.pg-col-ctx-menu__item:hover,\n.pg-col-ctx-menu__item:focus-visible {\n background: var(--pg-colors-background-alt, #f1f5f9);\n}\n\n/* Highlighted / \"currently applied\" item (e.g. active sort direction) */\n.pg-col-ctx-menu__item--active {\n color: var(--pg-colors-primary, #2563eb);\n font-weight: 600;\n}\n\n/* Trailing check mark for a currently-selected leaf (e.g. the chosen aggregate). */\n.pg-col-ctx-menu__item-check {\n margin-left: auto;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding-left: 12px;\n color: var(--pg-colors-primary, #2563eb);\n}\n\n/* Disabled item \u2014 rendered but not interactive */\n.pg-col-ctx-menu__item--disabled {\n opacity: 0.38;\n cursor: not-allowed;\n pointer-events: none;\n}\n\n/* \u2500\u2500 Item anatomy \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/* Leading icon */\n.pg-col-ctx-menu__item-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 16px;\n height: 16px;\n opacity: 0.6;\n}\n\n.pg-col-ctx-menu__item--active .pg-col-ctx-menu__item-icon {\n opacity: 1;\n}\n\n/* Text label \u2014 fills remaining space */\n.pg-col-ctx-menu__item-label {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n/* Trailing chevron indicating a fly-out submenu */\n.pg-col-ctx-menu__item-chevron {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: 14px;\n height: 14px;\n opacity: 0.4;\n margin-left: 4px;\n transition: opacity var(--pg-transitions-fast, 80ms ease);\n}\n\n.pg-col-ctx-menu__item--has-submenu:hover .pg-col-ctx-menu__item-chevron {\n opacity: 0.75;\n}\n\n/* \u2500\u2500 Fly-out submenu \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/* Hidden by default; shown when JS adds --open. Positioned fixed rather than\n absolute-within-parent because it is portaled to document.body while open\n (see ColumnMenu.openSubmenu) \u2014 left/top are set inline in viewport\n coordinates by adjustSubmenuPosition. */\n.pg-col-ctx-menu__submenu {\n display: none;\n position: fixed;\n min-width: 180px;\n padding: 4px;\n background: var(--pg-colors-surface, #ffffff);\n border: 1px solid var(--pg-colors-border, #e2e8f0);\n border-radius: var(--pg-borders-radius-md, 6px);\n box-shadow: var(--pg-shadows-dropdown, 0 8px 24px rgba(15, 23, 42, 0.12));\n z-index: 10000;\n}\n\n/* JS-controlled open state */\n.pg-col-ctx-menu__submenu--open {\n display: block;\n}\n\n/* Invisible hover bridge \u2014 prevents flicker when mouse crosses from\n parent item edge into the submenu. Extends 6px to the left of the submenu. */\n.pg-col-ctx-menu__submenu--open::before {\n content: '';\n position: absolute;\n right: 100%;\n top: 0;\n width: 8px;\n height: 100%;\n}\n\n";
|
|
9
9
|
//# sourceMappingURL=column-context-menu.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column-context-menu.css.d.ts","sourceRoot":"","sources":["../../../src/styles/base/column-context-menu.css.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"column-context-menu.css.d.ts","sourceRoot":"","sources":["../../../src/styles/base/column-context-menu.css.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,k7KA0JhC,CAAC"}
|
|
@@ -67,6 +67,16 @@ export const columnContextMenuCss = `/* ─────────────
|
|
|
67
67
|
font-weight: 600;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
/* Trailing check mark for a currently-selected leaf (e.g. the chosen aggregate). */
|
|
71
|
+
.pg-col-ctx-menu__item-check {
|
|
72
|
+
margin-left: auto;
|
|
73
|
+
display: inline-flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
padding-left: 12px;
|
|
77
|
+
color: var(--pg-colors-primary, #2563eb);
|
|
78
|
+
}
|
|
79
|
+
|
|
70
80
|
/* Disabled item — rendered but not interactive */
|
|
71
81
|
.pg-col-ctx-menu__item--disabled {
|
|
72
82
|
opacity: 0.38;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column-context-menu.css.js","sourceRoot":"","sources":["../../../src/styles/base/column-context-menu.css.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG
|
|
1
|
+
{"version":3,"file":"column-context-menu.css.js","sourceRoot":"","sources":["../../../src/styles/base/column-context-menu.css.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0JnC,CAAC"}
|