photon-grid-core 0.0.2 → 0.0.3
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/icons/icon-sets/core-icons.js +1 -1
- package/icons/icon-sets/core-icons.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/renderer/body-renderer.d.ts.map +1 -1
- package/renderer/body-renderer.js +21 -4
- package/renderer/body-renderer.js.map +1 -1
- package/renderer/cell-renderer.js +1 -1
- package/renderer/cell-renderer.js.map +1 -1
- package/renderer/column-menu.js +24 -25
- package/renderer/column-menu.js.map +1 -1
- package/renderer/column-style-manager.d.ts.map +1 -1
- package/renderer/column-style-manager.js +11 -2
- package/renderer/column-style-manager.js.map +1 -1
- package/renderer/grid-renderer.js +1 -1
- package/renderer/grid-renderer.js.map +1 -1
- package/renderer/header-renderer.d.ts.map +1 -1
- package/renderer/header-renderer.js +17 -3
- package/renderer/header-renderer.js.map +1 -1
- package/renderer/row-drag-renderer.d.ts +18 -0
- package/renderer/row-drag-renderer.d.ts.map +1 -1
- package/renderer/row-drag-renderer.js +53 -0
- package/renderer/row-drag-renderer.js.map +1 -1
- package/styles/base/cells.css.d.ts +9 -0
- package/styles/base/cells.css.d.ts.map +1 -0
- package/styles/base/cells.css.js +233 -0
- package/styles/base/cells.css.js.map +1 -0
- package/styles/base/chart-panel.css.d.ts +9 -0
- package/styles/base/chart-panel.css.d.ts.map +1 -0
- package/styles/base/chart-panel.css.js +140 -0
- package/styles/base/chart-panel.css.js.map +1 -0
- package/styles/base/column-context-menu.css.d.ts +9 -0
- package/styles/base/column-context-menu.css.d.ts.map +1 -0
- package/styles/base/column-context-menu.css.js +153 -0
- package/styles/base/column-context-menu.css.js.map +1 -0
- package/styles/base/column-group-header.css.d.ts +9 -0
- package/styles/base/column-group-header.css.d.ts.map +1 -0
- package/styles/base/column-group-header.css.js +270 -0
- package/styles/base/column-group-header.css.js.map +1 -0
- package/styles/base/context-menu.css.d.ts +9 -0
- package/styles/base/context-menu.css.d.ts.map +1 -0
- package/styles/base/context-menu.css.js +103 -0
- package/styles/base/context-menu.css.js.map +1 -0
- package/styles/base/editors.css.d.ts +9 -0
- package/styles/base/editors.css.d.ts.map +1 -0
- package/styles/base/editors.css.js +291 -0
- package/styles/base/editors.css.js.map +1 -0
- package/styles/base/filter.css.d.ts +9 -0
- package/styles/base/filter.css.d.ts.map +1 -0
- package/styles/base/filter.css.js +312 -0
- package/styles/base/filter.css.js.map +1 -0
- package/styles/base/footer.css.d.ts +9 -0
- package/styles/base/footer.css.d.ts.map +1 -0
- package/styles/base/footer.css.js +78 -0
- package/styles/base/footer.css.js.map +1 -0
- package/styles/base/group-bar-search.css.d.ts +9 -0
- package/styles/base/group-bar-search.css.d.ts.map +1 -0
- package/styles/base/group-bar-search.css.js +86 -0
- package/styles/base/group-bar-search.css.js.map +1 -0
- package/styles/base/group-drop-zone.css.d.ts +9 -0
- package/styles/base/group-drop-zone.css.d.ts.map +1 -0
- package/styles/base/group-drop-zone.css.js +173 -0
- package/styles/base/group-drop-zone.css.js.map +1 -0
- package/styles/base/header.css.d.ts +9 -0
- package/styles/base/header.css.d.ts.map +1 -0
- package/styles/base/header.css.js +206 -0
- package/styles/base/header.css.js.map +1 -0
- package/styles/base/master-detail.css.d.ts +9 -0
- package/styles/base/master-detail.css.d.ts.map +1 -0
- package/styles/base/master-detail.css.js +202 -0
- package/styles/base/master-detail.css.js.map +1 -0
- package/styles/base/misc.css.d.ts +9 -0
- package/styles/base/misc.css.d.ts.map +1 -0
- package/styles/base/misc.css.js +65 -0
- package/styles/base/misc.css.js.map +1 -0
- package/styles/base/panels.css.d.ts +9 -0
- package/styles/base/panels.css.d.ts.map +1 -0
- package/styles/base/panels.css.js +162 -0
- package/styles/base/panels.css.js.map +1 -0
- package/styles/base/photon-ai.css.d.ts +9 -0
- package/styles/base/photon-ai.css.d.ts.map +1 -0
- package/styles/base/photon-ai.css.js +200 -0
- package/styles/base/photon-ai.css.js.map +1 -0
- package/styles/base/root.css.d.ts +9 -0
- package/styles/base/root.css.d.ts.map +1 -0
- package/styles/base/root.css.js +56 -0
- package/styles/base/root.css.js.map +1 -0
- package/styles/base/row-drag.css.d.ts +9 -0
- package/styles/base/row-drag.css.d.ts.map +1 -0
- package/styles/base/row-drag.css.js +93 -0
- package/styles/base/row-drag.css.js.map +1 -0
- package/styles/base/row-group.css.d.ts +9 -0
- package/styles/base/row-group.css.d.ts.map +1 -0
- package/styles/base/row-group.css.js +79 -0
- package/styles/base/row-group.css.js.map +1 -0
- package/styles/base/rows.css.d.ts +9 -0
- package/styles/base/rows.css.d.ts.map +1 -0
- package/styles/base/rows.css.js +83 -0
- package/styles/base/rows.css.js.map +1 -0
- package/styles/base/scrollbars.css.d.ts +9 -0
- package/styles/base/scrollbars.css.d.ts.map +1 -0
- package/styles/base/scrollbars.css.js +56 -0
- package/styles/base/scrollbars.css.js.map +1 -0
- package/styles/base/sparkline.css.d.ts +9 -0
- package/styles/base/sparkline.css.d.ts.map +1 -0
- package/styles/base/sparkline.css.js +109 -0
- package/styles/base/sparkline.css.js.map +1 -0
- package/styles/base/tooltip.css.d.ts +9 -0
- package/styles/base/tooltip.css.d.ts.map +1 -0
- package/styles/base/tooltip.css.js +39 -0
- package/styles/base/tooltip.css.js.map +1 -0
- package/styles/base/tree.css.d.ts +9 -0
- package/styles/base/tree.css.d.ts.map +1 -0
- package/styles/base/tree.css.js +78 -0
- package/styles/base/tree.css.js.map +1 -0
- package/styles/base-styles.d.ts.map +1 -1
- package/styles/base-styles.js +56 -3026
- package/styles/base-styles.js.map +1 -1
- package/styles/themes/theme-alpine.d.ts +1 -1
- package/styles/themes/theme-alpine.d.ts.map +1 -1
- package/styles/themes/theme-alpine.js +1 -1
- package/styles/themes/theme-balham.d.ts +1 -1
- package/styles/themes/theme-balham.d.ts.map +1 -1
- package/styles/themes/theme-balham.js +0 -1
- package/styles/themes/theme-balham.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 +1 -1
- package/styles/themes/theme-material.d.ts +1 -1
- package/styles/themes/theme-material.d.ts.map +1 -1
- package/styles/themes/theme-material.js +0 -1
- package/styles/themes/theme-material.js.map +1 -1
- package/styles/themes/theme-quartz.d.ts +1 -1
- package/styles/themes/theme-quartz.d.ts.map +1 -1
- package/styles/themes/theme-quartz.js +1 -1
- package/LICENSE +0 -1
- package/chart/chart-analyzer.d.ts +0 -12
- package/chart/chart-analyzer.d.ts.map +0 -1
- package/chart/chart-analyzer.js +0 -77
- package/chart/chart-analyzer.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row-drag-renderer.d.ts","sourceRoot":"","sources":["../../src/renderer/row-drag-renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAQ3D,qBAAa,eAAe;IAuBxB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,YAAY;IAxBtB,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,cAAc,CAAuB;IAC7C,OAAO,CAAC,SAAS,CAAM;IACvB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,MAAM,CAA4B;IAC1C,OAAO,CAAC,UAAU,CAA4B;IAC9C,OAAO,CAAC,YAAY,CAAuB;IAC3C,OAAO,CAAC,cAAc,CAA2C;IAEjE,6VAA6V;IAC7V,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,mBAAmB,CAA4G;IACvI,OAAO,CAAC,QAAQ,CAAuC;IACvD,OAAO,CAAC,aAAa,CAAuB;IAC5C,OAAO,CAAC,OAAO,CAAK;IACp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AAc;IAkCtB,OAAO,CAAC,aAAa;IAqCrB,OAAO,CAAC,aAAa;IAarB;;;;;;;;;;;;;;;;OAgBG;IACH,OAAO,CAAC,mBAAmB;IA0B3B,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,WAAW;IAyCnB,OAAO,CAAC,YAAY;IAKpB,OAAO,CAAC,gBAAgB;IAMxB,OAAO,CAAC,kBAAkB;IAkB1B,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,OAAO;CAIhB"}
|
|
@@ -299,6 +299,9 @@ export class RowDragRenderer {
|
|
|
299
299
|
newTop += row.height;
|
|
300
300
|
}
|
|
301
301
|
this.getOrCreateTopStyle().textContent = css;
|
|
302
|
+
// Keep the serial-number column consistent with the live preview: the rows
|
|
303
|
+
// have just been repositioned, so their serials must follow suit.
|
|
304
|
+
this.renumberSerialCells(virtual);
|
|
302
305
|
}
|
|
303
306
|
clearDragTops() {
|
|
304
307
|
const s = document.querySelector('style[data-pg-row-drag-tops]');
|
|
@@ -306,6 +309,56 @@ export class RowDragRenderer {
|
|
|
306
309
|
s.textContent = '';
|
|
307
310
|
this.bodyWrapEl?.querySelectorAll('.pg-row--drop-target')
|
|
308
311
|
.forEach((el) => el.classList.remove('pg-row--drop-target', 'pg-row--drop-inside', 'pg-row--drop-before', 'pg-row--drop-after'));
|
|
312
|
+
// Restore the serial column to the real row order. On a committed drop the
|
|
313
|
+
// subsequent re-render already carries the correct serials, so this is a
|
|
314
|
+
// harmless identity pass; on a cancelled/reverted drag it undoes the
|
|
315
|
+
// preview renumbering (no re-render happens in that path).
|
|
316
|
+
this.renumberSerialCells(this.store.get('visibleRows'));
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Re-numbers the serial-number column so the on-screen serials read in
|
|
320
|
+
* ascending order top-to-bottom for the given row order.
|
|
321
|
+
*
|
|
322
|
+
* The set of serial VALUES currently rendered is invariant during a drag
|
|
323
|
+
* (only their row assignment changes), so those exact values are
|
|
324
|
+
* redistributed to the rows in `order`. This is intentionally agnostic to how
|
|
325
|
+
* serials are computed (absolute vs. window-relative) — it neither knows nor
|
|
326
|
+
* needs the numbering scheme, which avoids any value "jump" at drag start.
|
|
327
|
+
*
|
|
328
|
+
* Only rows currently in the DOM carry serial cells; `order` may be the full
|
|
329
|
+
* visible-row list and non-rendered rows are simply skipped. No-op when the
|
|
330
|
+
* serial column is disabled (no serial cells present).
|
|
331
|
+
*
|
|
332
|
+
* @param order - Row nodes in the desired visual order (previewed order while
|
|
333
|
+
* dragging; real `visibleRows` order to restore).
|
|
334
|
+
*/
|
|
335
|
+
renumberSerialCells(order) {
|
|
336
|
+
if (!this.bodyWrapEl)
|
|
337
|
+
return;
|
|
338
|
+
const spanByNode = new Map();
|
|
339
|
+
const values = [];
|
|
340
|
+
this.bodyWrapEl.querySelectorAll('.pg-cell--serial').forEach((cell) => {
|
|
341
|
+
const nodeId = cell.closest('[data-node-id]')?.getAttribute('data-node-id');
|
|
342
|
+
const span = cell.querySelector('.pg-cell__serial');
|
|
343
|
+
if (!nodeId || !span || spanByNode.has(nodeId))
|
|
344
|
+
return;
|
|
345
|
+
const n = parseInt(span.textContent ?? '', 10);
|
|
346
|
+
if (Number.isNaN(n))
|
|
347
|
+
return;
|
|
348
|
+
spanByNode.set(nodeId, span);
|
|
349
|
+
values.push(n);
|
|
350
|
+
});
|
|
351
|
+
if (spanByNode.size === 0)
|
|
352
|
+
return;
|
|
353
|
+
// Ascending values assigned to rows in visual order → serials always count
|
|
354
|
+
// up the screen regardless of which row moved.
|
|
355
|
+
values.sort((a, b) => a - b);
|
|
356
|
+
let k = 0;
|
|
357
|
+
for (const row of order) {
|
|
358
|
+
const span = spanByNode.get(row.nodeId);
|
|
359
|
+
if (span)
|
|
360
|
+
span.textContent = String(values[k++]);
|
|
361
|
+
}
|
|
309
362
|
}
|
|
310
363
|
getOrCreateTopStyle() {
|
|
311
364
|
let s = document.querySelector('style[data-pg-row-drag-tops]');
|
|
@@ -1 +1 @@
|
|
|
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I,CAAC;QAC3B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QACxB,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,EAAE,CAAC;QACpC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,EAAE,CAAC;QAChC,QAAQ,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;QAC/D,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IAC7D,CAAC;IAED,sEAAsE;IAC9D,cAAc;QACpB,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;QACvD,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAEO,OAAO;QACb,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAC1B,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Photon Grid base styles — cells 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
|
+
export declare const cellsCss = "/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Cells \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.pg-cell {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n min-width: var(--pg-sizing-column-min-width, 40px);\n border-right: 1px solid transparent;\n padding: 0;\n overflow: hidden;\n position: relative;\n}\n.pg-cell--v-border { border-right-color: var(--pg-colors-border, #e2e8f0); }\n.pg-cell:last-child { border-right: none; }\n.pg-cell--align-right { justify-content: flex-end; }\n.pg-cell--align-center { justify-content: center; }\n.pg-cell--align-right .pg-cell__inner { text-align: right; }\n.pg-cell--align-center .pg-cell__inner { text-align: center; }\n\n/* \u2500\u2500\u2500 Cell selection (CSS-based, replaces canvas) \u2500\u2500\u2500 */\n/* Suppress the browser's native focus ring \u2014 the grid uses its own blue\n box-shadow indicator on .pg-cell--active-cell instead. */\n.pg-cell { user-select: none; outline: none; }\n\n/*\n * Range selection \u2014 edge borders drawn via ::after so CSS border corners\n * always connect cleanly (no box-shadow joining artefacts).\n * The JS engine adds sel-top/right/bottom/left only on cells that sit on\n * the outer edge of the range; interior cells carry no edge classes.\n */\n.pg-cell--in-selection {\n background-color: var(--pg-colors-selection-background, aliceblue) !important;\n position: relative;\n z-index: 1;\n}\n.pg-cell--in-selection::after {\n content: '';\n position: absolute;\n inset: 0;\n border: 0 solid var(--pg-colors-primary, #2563eb);\n pointer-events: none;\n}\n.pg-cell--sel-top::after { border-top-width: 1px; }\n.pg-cell--sel-bottom::after { border-bottom-width: 1px; }\n.pg-cell--sel-left::after { border-left-width: 1px; }\n.pg-cell--sel-right::after { border-right-width: 1px; }\n\n/* Active (focused) cell \u2014 solid 2px inset border, no background */\n.pg-cell--active-cell {\n background-color: transparent !important;\n box-shadow: inset 0 0 0 2px var(--pg-colors-primary, #2563eb) !important;\n position: relative;\n z-index: 2;\n outline: none;\n}\n/* Suppress the ::after edge overlay only when the active cell is NOT inside a selection */\n.pg-cell--active-cell:not(.pg-cell--in-selection)::after { content: none; }\n\n/* Active cell inside a range \u2014 selection wins entirely: no 2px border, full selection look */\n.pg-cell--in-selection.pg-cell--active-cell {\n background-color: var(--pg-colors-selection-background, aliceblue) !important;\n box-shadow: none !important;\n}\n\n/* Dark-mode overrides */\n.pg-grid[data-theme=\"dark\"] .pg-cell--in-selection {\n background-color: rgba(37,99,235,0.18) !important;\n}\n.pg-grid[data-theme=\"dark\"] .pg-cell--sel-top { --_t: 2px; }\n.pg-grid[data-theme=\"dark\"] .pg-cell--sel-bottom { --_b: -2px; }\n.pg-grid[data-theme=\"dark\"] .pg-cell--sel-left { --_l: 2px; }\n.pg-grid[data-theme=\"dark\"] .pg-cell--sel-right { --_r: -2px; }\n.pg-grid[data-theme=\"dark\"] .pg-cell--active-cell {\n background-color: rgba(37,99,235,0.25) !important;\n box-shadow: inset 0 0 0 2px #60a5fa !important;\n}\n.pg-grid[data-theme=\"dark\"] .pg-cell--in-selection.pg-cell--active-cell {\n background-color: rgba(37,99,235,0.18) !important;\n box-shadow:\n inset 0 var(--_t) 0 0 #60a5fa,\n inset 0 var(--_b) 0 0 #60a5fa,\n inset var(--_l) 0 0 0 #60a5fa,\n inset var(--_r) 0 0 0 #60a5fa !important;\n}\n\n/* \u2500\u2500\u2500 Group aggregate cells \u2500\u2500\u2500 */\n/*\n * Aggregate values are displayed inside .pg-cell--agg cells that sit directly\n * under their column headers, aligned with normal data-row cells via the same\n * [data-col-id] width rules managed by ColumnStyleManager.\n */\n.pg-cell--agg {\n color: var(--pg-colors-agg-text, var(--pg-colors-text-secondary, #475569));\n font-style: italic;\n font-weight: var(--pg-typography-font-weight-semi-bold, 600);\n}\n.pg-grid[data-theme=\"dark\"] .pg-cell--agg {\n color: var(--pg-colors-agg-text, var(--pg-colors-text-secondary, #94a3b8));\n}\n\n/* \u2500\u2500\u2500 Copy / Cut flash feedback \u2500\u2500\u2500 */\n/*\n * background-color: !important on pg-cell--in-selection blocks keyframe bg changes.\n * Use a ::after overlay instead \u2014 it's a separate layer, no !important conflict.\n */\n@keyframes pg-copy-flash-overlay {\n 0% { opacity: 0; }\n 15% { opacity: 1; }\n 100% { opacity: 0; }\n}\n@keyframes pg-cut-flash-overlay {\n 0% { opacity: 0; }\n 15% { opacity: 1; }\n 100% { opacity: 0; }\n}\n/*\n * Flash overlay uses ::before so it never conflicts with the ::after\n * pseudo-element that draws the selection edge borders.\n */\n.pg-cell--copy-flash::before,\n.pg-cell--cut-flash::before {\n content: '';\n position: absolute;\n inset: 0;\n pointer-events: none;\n z-index: 5;\n}\n.pg-cell--copy-flash::before {\n background: rgba(59, 130, 246, 0.45);\n animation: pg-copy-flash-overlay 0.75s ease-out forwards;\n}\n.pg-cell--cut-flash::before {\n background: rgba(239, 68, 68, 0.45);\n animation: pg-cut-flash-overlay 0.75s ease-out forwards;\n}\n/* Dark mode uses stronger overlay */\n.pg-grid[data-theme=\"dark\"] .pg-cell--copy-flash::before {\n background: rgba(99, 165, 253, 0.5);\n}\n.pg-grid[data-theme=\"dark\"] .pg-cell--cut-flash::before {\n background: rgba(252, 100, 100, 0.5);\n}\n\n/* \u2500\u2500\u2500 Fill success flash \u2500\u2500\u2500 */\n/*\n * Applied to the newly filled cells after a fill-handle drag completes.\n * Uses ::before (same as copy/cut flash) so it never conflicts with the\n * selection edge border drawn on ::after.\n */\n@keyframes pg-fill-flash-overlay {\n 0% { opacity: 0; }\n 20% { opacity: 1; }\n 100% { opacity: 0; }\n}\n.pg-cell--fill-flash::before {\n content: '';\n position: absolute;\n inset: 0;\n pointer-events: none;\n z-index: 5;\n background: rgba(34, 197, 94, 0.45);\n animation: pg-fill-flash-overlay 0.75s ease-out forwards;\n}\n.pg-grid[data-theme=\"dark\"] .pg-cell--fill-flash::before {\n background: rgba(74, 222, 128, 0.5);\n}\n\n/* \u2500\u2500\u2500 Fill handle \u2500\u2500\u2500 */\n/*\n * The fill handle is a small drag target at the bottom-right corner of the\n * primary selection range. It lives inside the corner cell as an absolutely-\n * positioned child so it scrolls with the grid naturally.\n *\n * pg-cell--has-fill-handle lets the handle extend 4 px past the cell edge\n * (standard AG Grid behaviour) by lifting overflow:hidden on that one cell.\n *\n * Dragging from the handle copies the source range into the dragged area in\n * one direction at a time; a dashed overlay (pg-cell--fill-preview) previews\n * the fill area before the mouse button is released.\n */\n.pg-cell--has-fill-handle {\n overflow: visible !important;\n}\n.pg-fill-handle {\n position: absolute;\n right: 0px;\n bottom: 0px;\n width: 6px;\n height: 6px;\n box-sizing: border-box;\n background-color: var(--pg-colors-primary, #2563eb);\n cursor: crosshair;\n z-index: 10;\n pointer-events: auto;\n user-select: none;\n}\n\n/* \u2500\u2500\u2500 Fill preview \u2014 dashed border on cells being hovered during fill drag \u2500\u2500\u2500 */\n.pg-cell--fill-preview {\n background-color: var(--pg-colors-selection-background, aliceblue) !important;\n position: relative;\n z-index: 1;\n}\n/*\n * The fill-preview ::after uses a dashed border (vs the solid selection border)\n * to clearly distinguish \"about to be filled\" from \"already selected.\"\n * These classes are orthogonal to sel-top/bottom/left/right \u2014 fill-preview\n * cells are never pg-cell--in-selection, so there is no ::after conflict.\n */\n.pg-cell--fill-preview::after {\n content: '';\n position: absolute;\n inset: 0;\n border: 0 dashed var(--pg-colors-primary, #2563eb);\n pointer-events: none;\n}\n.pg-cell--fp-top::after { border-top-width: 1px; }\n.pg-cell--fp-bottom::after { border-bottom-width: 1px; }\n.pg-cell--fp-left::after { border-left-width: 1px; }\n.pg-cell--fp-right::after { border-right-width: 1px; }\n\n.pg-grid[data-theme=\"dark\"] .pg-cell--fill-preview {\n background-color: rgba(37, 99, 235, 0.12) !important;\n}\n\n";
|
|
9
|
+
//# sourceMappingURL=cells.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cells.css.d.ts","sourceRoot":"","sources":["../../../src/styles/base/cells.css.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,ynQAgOpB,CAAC"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Photon Grid base styles — cells 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
|
+
export const cellsCss = `/* ──────────────────── Cells ──────────────────── */
|
|
9
|
+
.pg-cell {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
flex-shrink: 0;
|
|
13
|
+
min-width: var(--pg-sizing-column-min-width, 40px);
|
|
14
|
+
border-right: 1px solid transparent;
|
|
15
|
+
padding: 0;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
.pg-cell--v-border { border-right-color: var(--pg-colors-border, #e2e8f0); }
|
|
20
|
+
.pg-cell:last-child { border-right: none; }
|
|
21
|
+
.pg-cell--align-right { justify-content: flex-end; }
|
|
22
|
+
.pg-cell--align-center { justify-content: center; }
|
|
23
|
+
.pg-cell--align-right .pg-cell__inner { text-align: right; }
|
|
24
|
+
.pg-cell--align-center .pg-cell__inner { text-align: center; }
|
|
25
|
+
|
|
26
|
+
/* ─── Cell selection (CSS-based, replaces canvas) ─── */
|
|
27
|
+
/* Suppress the browser's native focus ring — the grid uses its own blue
|
|
28
|
+
box-shadow indicator on .pg-cell--active-cell instead. */
|
|
29
|
+
.pg-cell { user-select: none; outline: none; }
|
|
30
|
+
|
|
31
|
+
/*
|
|
32
|
+
* Range selection — edge borders drawn via ::after so CSS border corners
|
|
33
|
+
* always connect cleanly (no box-shadow joining artefacts).
|
|
34
|
+
* The JS engine adds sel-top/right/bottom/left only on cells that sit on
|
|
35
|
+
* the outer edge of the range; interior cells carry no edge classes.
|
|
36
|
+
*/
|
|
37
|
+
.pg-cell--in-selection {
|
|
38
|
+
background-color: var(--pg-colors-selection-background, aliceblue) !important;
|
|
39
|
+
position: relative;
|
|
40
|
+
z-index: 1;
|
|
41
|
+
}
|
|
42
|
+
.pg-cell--in-selection::after {
|
|
43
|
+
content: '';
|
|
44
|
+
position: absolute;
|
|
45
|
+
inset: 0;
|
|
46
|
+
border: 0 solid var(--pg-colors-primary, #2563eb);
|
|
47
|
+
pointer-events: none;
|
|
48
|
+
}
|
|
49
|
+
.pg-cell--sel-top::after { border-top-width: 1px; }
|
|
50
|
+
.pg-cell--sel-bottom::after { border-bottom-width: 1px; }
|
|
51
|
+
.pg-cell--sel-left::after { border-left-width: 1px; }
|
|
52
|
+
.pg-cell--sel-right::after { border-right-width: 1px; }
|
|
53
|
+
|
|
54
|
+
/* Active (focused) cell — solid 2px inset border, no background */
|
|
55
|
+
.pg-cell--active-cell {
|
|
56
|
+
background-color: transparent !important;
|
|
57
|
+
box-shadow: inset 0 0 0 2px var(--pg-colors-primary, #2563eb) !important;
|
|
58
|
+
position: relative;
|
|
59
|
+
z-index: 2;
|
|
60
|
+
outline: none;
|
|
61
|
+
}
|
|
62
|
+
/* Suppress the ::after edge overlay only when the active cell is NOT inside a selection */
|
|
63
|
+
.pg-cell--active-cell:not(.pg-cell--in-selection)::after { content: none; }
|
|
64
|
+
|
|
65
|
+
/* Active cell inside a range — selection wins entirely: no 2px border, full selection look */
|
|
66
|
+
.pg-cell--in-selection.pg-cell--active-cell {
|
|
67
|
+
background-color: var(--pg-colors-selection-background, aliceblue) !important;
|
|
68
|
+
box-shadow: none !important;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Dark-mode overrides */
|
|
72
|
+
.pg-grid[data-theme="dark"] .pg-cell--in-selection {
|
|
73
|
+
background-color: rgba(37,99,235,0.18) !important;
|
|
74
|
+
}
|
|
75
|
+
.pg-grid[data-theme="dark"] .pg-cell--sel-top { --_t: 2px; }
|
|
76
|
+
.pg-grid[data-theme="dark"] .pg-cell--sel-bottom { --_b: -2px; }
|
|
77
|
+
.pg-grid[data-theme="dark"] .pg-cell--sel-left { --_l: 2px; }
|
|
78
|
+
.pg-grid[data-theme="dark"] .pg-cell--sel-right { --_r: -2px; }
|
|
79
|
+
.pg-grid[data-theme="dark"] .pg-cell--active-cell {
|
|
80
|
+
background-color: rgba(37,99,235,0.25) !important;
|
|
81
|
+
box-shadow: inset 0 0 0 2px #60a5fa !important;
|
|
82
|
+
}
|
|
83
|
+
.pg-grid[data-theme="dark"] .pg-cell--in-selection.pg-cell--active-cell {
|
|
84
|
+
background-color: rgba(37,99,235,0.18) !important;
|
|
85
|
+
box-shadow:
|
|
86
|
+
inset 0 var(--_t) 0 0 #60a5fa,
|
|
87
|
+
inset 0 var(--_b) 0 0 #60a5fa,
|
|
88
|
+
inset var(--_l) 0 0 0 #60a5fa,
|
|
89
|
+
inset var(--_r) 0 0 0 #60a5fa !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* ─── Group aggregate cells ─── */
|
|
93
|
+
/*
|
|
94
|
+
* Aggregate values are displayed inside .pg-cell--agg cells that sit directly
|
|
95
|
+
* under their column headers, aligned with normal data-row cells via the same
|
|
96
|
+
* [data-col-id] width rules managed by ColumnStyleManager.
|
|
97
|
+
*/
|
|
98
|
+
.pg-cell--agg {
|
|
99
|
+
color: var(--pg-colors-agg-text, var(--pg-colors-text-secondary, #475569));
|
|
100
|
+
font-style: italic;
|
|
101
|
+
font-weight: var(--pg-typography-font-weight-semi-bold, 600);
|
|
102
|
+
}
|
|
103
|
+
.pg-grid[data-theme="dark"] .pg-cell--agg {
|
|
104
|
+
color: var(--pg-colors-agg-text, var(--pg-colors-text-secondary, #94a3b8));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* ─── Copy / Cut flash feedback ─── */
|
|
108
|
+
/*
|
|
109
|
+
* background-color: !important on pg-cell--in-selection blocks keyframe bg changes.
|
|
110
|
+
* Use a ::after overlay instead — it's a separate layer, no !important conflict.
|
|
111
|
+
*/
|
|
112
|
+
@keyframes pg-copy-flash-overlay {
|
|
113
|
+
0% { opacity: 0; }
|
|
114
|
+
15% { opacity: 1; }
|
|
115
|
+
100% { opacity: 0; }
|
|
116
|
+
}
|
|
117
|
+
@keyframes pg-cut-flash-overlay {
|
|
118
|
+
0% { opacity: 0; }
|
|
119
|
+
15% { opacity: 1; }
|
|
120
|
+
100% { opacity: 0; }
|
|
121
|
+
}
|
|
122
|
+
/*
|
|
123
|
+
* Flash overlay uses ::before so it never conflicts with the ::after
|
|
124
|
+
* pseudo-element that draws the selection edge borders.
|
|
125
|
+
*/
|
|
126
|
+
.pg-cell--copy-flash::before,
|
|
127
|
+
.pg-cell--cut-flash::before {
|
|
128
|
+
content: '';
|
|
129
|
+
position: absolute;
|
|
130
|
+
inset: 0;
|
|
131
|
+
pointer-events: none;
|
|
132
|
+
z-index: 5;
|
|
133
|
+
}
|
|
134
|
+
.pg-cell--copy-flash::before {
|
|
135
|
+
background: rgba(59, 130, 246, 0.45);
|
|
136
|
+
animation: pg-copy-flash-overlay 0.75s ease-out forwards;
|
|
137
|
+
}
|
|
138
|
+
.pg-cell--cut-flash::before {
|
|
139
|
+
background: rgba(239, 68, 68, 0.45);
|
|
140
|
+
animation: pg-cut-flash-overlay 0.75s ease-out forwards;
|
|
141
|
+
}
|
|
142
|
+
/* Dark mode uses stronger overlay */
|
|
143
|
+
.pg-grid[data-theme="dark"] .pg-cell--copy-flash::before {
|
|
144
|
+
background: rgba(99, 165, 253, 0.5);
|
|
145
|
+
}
|
|
146
|
+
.pg-grid[data-theme="dark"] .pg-cell--cut-flash::before {
|
|
147
|
+
background: rgba(252, 100, 100, 0.5);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* ─── Fill success flash ─── */
|
|
151
|
+
/*
|
|
152
|
+
* Applied to the newly filled cells after a fill-handle drag completes.
|
|
153
|
+
* Uses ::before (same as copy/cut flash) so it never conflicts with the
|
|
154
|
+
* selection edge border drawn on ::after.
|
|
155
|
+
*/
|
|
156
|
+
@keyframes pg-fill-flash-overlay {
|
|
157
|
+
0% { opacity: 0; }
|
|
158
|
+
20% { opacity: 1; }
|
|
159
|
+
100% { opacity: 0; }
|
|
160
|
+
}
|
|
161
|
+
.pg-cell--fill-flash::before {
|
|
162
|
+
content: '';
|
|
163
|
+
position: absolute;
|
|
164
|
+
inset: 0;
|
|
165
|
+
pointer-events: none;
|
|
166
|
+
z-index: 5;
|
|
167
|
+
background: rgba(34, 197, 94, 0.45);
|
|
168
|
+
animation: pg-fill-flash-overlay 0.75s ease-out forwards;
|
|
169
|
+
}
|
|
170
|
+
.pg-grid[data-theme="dark"] .pg-cell--fill-flash::before {
|
|
171
|
+
background: rgba(74, 222, 128, 0.5);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* ─── Fill handle ─── */
|
|
175
|
+
/*
|
|
176
|
+
* The fill handle is a small drag target at the bottom-right corner of the
|
|
177
|
+
* primary selection range. It lives inside the corner cell as an absolutely-
|
|
178
|
+
* positioned child so it scrolls with the grid naturally.
|
|
179
|
+
*
|
|
180
|
+
* pg-cell--has-fill-handle lets the handle extend 4 px past the cell edge
|
|
181
|
+
* (standard AG Grid behaviour) by lifting overflow:hidden on that one cell.
|
|
182
|
+
*
|
|
183
|
+
* Dragging from the handle copies the source range into the dragged area in
|
|
184
|
+
* one direction at a time; a dashed overlay (pg-cell--fill-preview) previews
|
|
185
|
+
* the fill area before the mouse button is released.
|
|
186
|
+
*/
|
|
187
|
+
.pg-cell--has-fill-handle {
|
|
188
|
+
overflow: visible !important;
|
|
189
|
+
}
|
|
190
|
+
.pg-fill-handle {
|
|
191
|
+
position: absolute;
|
|
192
|
+
right: 0px;
|
|
193
|
+
bottom: 0px;
|
|
194
|
+
width: 6px;
|
|
195
|
+
height: 6px;
|
|
196
|
+
box-sizing: border-box;
|
|
197
|
+
background-color: var(--pg-colors-primary, #2563eb);
|
|
198
|
+
cursor: crosshair;
|
|
199
|
+
z-index: 10;
|
|
200
|
+
pointer-events: auto;
|
|
201
|
+
user-select: none;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* ─── Fill preview — dashed border on cells being hovered during fill drag ─── */
|
|
205
|
+
.pg-cell--fill-preview {
|
|
206
|
+
background-color: var(--pg-colors-selection-background, aliceblue) !important;
|
|
207
|
+
position: relative;
|
|
208
|
+
z-index: 1;
|
|
209
|
+
}
|
|
210
|
+
/*
|
|
211
|
+
* The fill-preview ::after uses a dashed border (vs the solid selection border)
|
|
212
|
+
* to clearly distinguish "about to be filled" from "already selected."
|
|
213
|
+
* These classes are orthogonal to sel-top/bottom/left/right — fill-preview
|
|
214
|
+
* cells are never pg-cell--in-selection, so there is no ::after conflict.
|
|
215
|
+
*/
|
|
216
|
+
.pg-cell--fill-preview::after {
|
|
217
|
+
content: '';
|
|
218
|
+
position: absolute;
|
|
219
|
+
inset: 0;
|
|
220
|
+
border: 0 dashed var(--pg-colors-primary, #2563eb);
|
|
221
|
+
pointer-events: none;
|
|
222
|
+
}
|
|
223
|
+
.pg-cell--fp-top::after { border-top-width: 1px; }
|
|
224
|
+
.pg-cell--fp-bottom::after { border-bottom-width: 1px; }
|
|
225
|
+
.pg-cell--fp-left::after { border-left-width: 1px; }
|
|
226
|
+
.pg-cell--fp-right::after { border-right-width: 1px; }
|
|
227
|
+
|
|
228
|
+
.pg-grid[data-theme="dark"] .pg-cell--fill-preview {
|
|
229
|
+
background-color: rgba(37, 99, 235, 0.12) !important;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
`;
|
|
233
|
+
//# sourceMappingURL=cells.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cells.css.js","sourceRoot":"","sources":["../../../src/styles/base/cells.css.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgOvB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Photon Grid base styles — chart-panel 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
|
+
export declare const chartPanelCss = "/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Chart Panel \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.pg-chart-panel-backdrop {\n position: absolute; inset: 0; z-index: 9990;\n background: transparent;\n overflow: hidden;\n pointer-events: none;\n}\n.pg-chart-panel-backdrop--open {\n pointer-events: auto;\n}\n.pg-chart-panel-backdrop--fullscreen {\n position: fixed !important;\n background: rgba(0,0,0,0.40) !important;\n}\n.pg-chart-panel {\n position: absolute;\n background: var(--pg-colors-surface,#fff);\n border-radius: 4px;\n box-shadow: 0 8px 40px rgba(0,0,0,0.18),0 2px 12px rgba(0,0,0,0.10);\n display: flex; flex-direction: column;\n width: min(720px, 88%); height: min(520px, 85%);\n overflow: hidden;\n pointer-events: auto;\n}\n.pg-chart-panel--fullscreen {\n width: calc(100%) !important; height: calc(100%) !important;\n}\n.pg-chart-panel__header {\n display: flex; align-items: center; justify-content: space-between;\n padding: 14px 16px;\n border-bottom: 1px solid var(--pg-colors-border,#e2e8f0);\n flex-shrink: 0;\n cursor: grab; user-select: none;\n}\n.pg-chart-panel__header--dragging { cursor: grabbing; }\n.pg-chart-panel--dragging .pg-chart-panel__body { pointer-events: none; }\n.pg-chart-panel__title {\n font-size: 15px; font-weight: 600;\n color: var(--pg-colors-text-primary,#0f172a);\n font-family: var(--pg-typography-font-family,system-ui,sans-serif);\n}\n.pg-chart-panel__actions { display: flex; align-items: center; gap: 4px; }\n.pg-chart-panel__action-btn {\n display: inline-flex; align-items: center; justify-content: center;\n width: 28px; height: 28px; border-radius: 4px;\n border: none; background: transparent;\n color: var(--pg-colors-text-secondary,#64748b); cursor: pointer;\n transition: background 80ms, color 80ms;\n}\n.pg-chart-panel__action-btn:hover {\n background: var(--pg-colors-background-alt,#f1f5f9);\n color: var(--pg-colors-text-primary,#0f172a);\n}\n.pg-chart-panel__body {\n flex: 1; min-height: 0; position: relative; padding: 8px; overflow: hidden;\n}\n.pg-chart-panel__canvas { display: block; }\n.pg-chart-panel__dots-btn {\n position: absolute; top: 12px; right: 12px; z-index: 10;\n display: inline-flex; align-items: center; justify-content: center;\n width: 26px; height: 26px; border-radius: 4px;\n border: none; background: transparent;\n color: var(--pg-colors-text-secondary,#64748b); cursor: pointer;\n transition: background 80ms;\n}\n.pg-chart-panel__dots-btn:hover, .pg-chart-panel__dots-btn--active {\n background: var(--pg-colors-background-alt,#f1f5f9);\n color: var(--pg-colors-text-primary,#0f172a);\n}\n.pg-chart-panel__dots-menu {\n display: none; position: absolute; top: 40px; right: 8px; z-index: 20;\n background: var(--pg-colors-surface,#fff);\n border: 1px solid var(--pg-colors-border,#e2e8f0);\n border-radius: 6px;\n box-shadow: 0 8px 24px rgba(0,0,0,0.12);\n min-width: 160px; padding: 4px;\n}\n.pg-chart-panel__dots-menu--open { display: block; }\n.pg-chart-panel__dots-item {\n display: flex; align-items: center; gap: 8px;\n width: 100%; padding: 7px 10px;\n border: none; border-radius: 4px; background: transparent;\n cursor: pointer; text-align: left;\n font-size: 13px; color: var(--pg-colors-text-primary,#0f172a);\n font-family: var(--pg-typography-font-family,system-ui,sans-serif);\n transition: background 80ms;\n}\n.pg-chart-panel__dots-item:hover { background: var(--pg-colors-background-alt,#f1f5f9); }\n.pg-chart-panel__empty {\n display: flex; flex-direction: column; align-items: center; justify-content: center;\n height: 100%; gap: 10px; padding: 24px;\n color: var(--pg-colors-text-secondary,#64748b);\n font-family: var(--pg-typography-font-family,system-ui,sans-serif);\n}\n.pg-chart-panel__empty-icon { opacity: 0.35; color: var(--pg-colors-text-secondary,#64748b); }\n.pg-chart-panel__empty-text {\n font-size: 15px; font-weight: 600;\n color: var(--pg-colors-text-primary,#0f172a);\n}\n.pg-chart-panel__empty-sub {\n font-size: 12px; text-align: center; max-width: 280px;\n color: var(--pg-colors-text-secondary,#64748b);\n}\n.pg-chart-panel__legend {\n display: flex; flex-wrap: wrap; align-items: center; justify-content: center;\n gap: 2px 4px; padding: 5px 12px 8px;\n flex-shrink: 0;\n border-top: 1px solid var(--pg-colors-border,#e2e8f0);\n}\n.pg-chart-panel__legend:empty { border-top: none; padding: 0; }\n.pg-chart-panel__legend-item {\n display: inline-flex; align-items: center; gap: 6px;\n padding: 4px 8px; border-radius: 5px;\n border: none; background: transparent; cursor: pointer;\n font-size: 12px; color: var(--pg-colors-text-secondary,#64748b);\n font-family: var(--pg-typography-font-family,system-ui,sans-serif);\n user-select: none;\n transition: background 80ms, opacity 220ms;\n}\n.pg-chart-panel__legend-item:hover {\n background: var(--pg-colors-background-alt,#f1f5f9);\n color: var(--pg-colors-text-primary,#0f172a);\n}\n.pg-chart-panel__legend-item--hidden { opacity: 0.35; }\n.pg-chart-panel__legend-swatch {\n width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0;\n}\n.pg-chart-panel__legend-label {\n max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\n}\n\n";
|
|
9
|
+
//# sourceMappingURL=chart-panel.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-panel.css.d.ts","sourceRoot":"","sources":["../../../src/styles/base/chart-panel.css.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,uxKAmIzB,CAAC"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Photon Grid base styles — chart-panel 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
|
+
export const chartPanelCss = `/* ──────────────────── Chart Panel ──────────────────── */
|
|
9
|
+
.pg-chart-panel-backdrop {
|
|
10
|
+
position: absolute; inset: 0; z-index: 9990;
|
|
11
|
+
background: transparent;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
}
|
|
15
|
+
.pg-chart-panel-backdrop--open {
|
|
16
|
+
pointer-events: auto;
|
|
17
|
+
}
|
|
18
|
+
.pg-chart-panel-backdrop--fullscreen {
|
|
19
|
+
position: fixed !important;
|
|
20
|
+
background: rgba(0,0,0,0.40) !important;
|
|
21
|
+
}
|
|
22
|
+
.pg-chart-panel {
|
|
23
|
+
position: absolute;
|
|
24
|
+
background: var(--pg-colors-surface,#fff);
|
|
25
|
+
border-radius: 4px;
|
|
26
|
+
box-shadow: 0 8px 40px rgba(0,0,0,0.18),0 2px 12px rgba(0,0,0,0.10);
|
|
27
|
+
display: flex; flex-direction: column;
|
|
28
|
+
width: min(720px, 88%); height: min(520px, 85%);
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
pointer-events: auto;
|
|
31
|
+
}
|
|
32
|
+
.pg-chart-panel--fullscreen {
|
|
33
|
+
width: calc(100%) !important; height: calc(100%) !important;
|
|
34
|
+
}
|
|
35
|
+
.pg-chart-panel__header {
|
|
36
|
+
display: flex; align-items: center; justify-content: space-between;
|
|
37
|
+
padding: 14px 16px;
|
|
38
|
+
border-bottom: 1px solid var(--pg-colors-border,#e2e8f0);
|
|
39
|
+
flex-shrink: 0;
|
|
40
|
+
cursor: grab; user-select: none;
|
|
41
|
+
}
|
|
42
|
+
.pg-chart-panel__header--dragging { cursor: grabbing; }
|
|
43
|
+
.pg-chart-panel--dragging .pg-chart-panel__body { pointer-events: none; }
|
|
44
|
+
.pg-chart-panel__title {
|
|
45
|
+
font-size: 15px; font-weight: 600;
|
|
46
|
+
color: var(--pg-colors-text-primary,#0f172a);
|
|
47
|
+
font-family: var(--pg-typography-font-family,system-ui,sans-serif);
|
|
48
|
+
}
|
|
49
|
+
.pg-chart-panel__actions { display: flex; align-items: center; gap: 4px; }
|
|
50
|
+
.pg-chart-panel__action-btn {
|
|
51
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
52
|
+
width: 28px; height: 28px; border-radius: 4px;
|
|
53
|
+
border: none; background: transparent;
|
|
54
|
+
color: var(--pg-colors-text-secondary,#64748b); cursor: pointer;
|
|
55
|
+
transition: background 80ms, color 80ms;
|
|
56
|
+
}
|
|
57
|
+
.pg-chart-panel__action-btn:hover {
|
|
58
|
+
background: var(--pg-colors-background-alt,#f1f5f9);
|
|
59
|
+
color: var(--pg-colors-text-primary,#0f172a);
|
|
60
|
+
}
|
|
61
|
+
.pg-chart-panel__body {
|
|
62
|
+
flex: 1; min-height: 0; position: relative; padding: 8px; overflow: hidden;
|
|
63
|
+
}
|
|
64
|
+
.pg-chart-panel__canvas { display: block; }
|
|
65
|
+
.pg-chart-panel__dots-btn {
|
|
66
|
+
position: absolute; top: 12px; right: 12px; z-index: 10;
|
|
67
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
68
|
+
width: 26px; height: 26px; border-radius: 4px;
|
|
69
|
+
border: none; background: transparent;
|
|
70
|
+
color: var(--pg-colors-text-secondary,#64748b); cursor: pointer;
|
|
71
|
+
transition: background 80ms;
|
|
72
|
+
}
|
|
73
|
+
.pg-chart-panel__dots-btn:hover, .pg-chart-panel__dots-btn--active {
|
|
74
|
+
background: var(--pg-colors-background-alt,#f1f5f9);
|
|
75
|
+
color: var(--pg-colors-text-primary,#0f172a);
|
|
76
|
+
}
|
|
77
|
+
.pg-chart-panel__dots-menu {
|
|
78
|
+
display: none; position: absolute; top: 40px; right: 8px; z-index: 20;
|
|
79
|
+
background: var(--pg-colors-surface,#fff);
|
|
80
|
+
border: 1px solid var(--pg-colors-border,#e2e8f0);
|
|
81
|
+
border-radius: 6px;
|
|
82
|
+
box-shadow: 0 8px 24px rgba(0,0,0,0.12);
|
|
83
|
+
min-width: 160px; padding: 4px;
|
|
84
|
+
}
|
|
85
|
+
.pg-chart-panel__dots-menu--open { display: block; }
|
|
86
|
+
.pg-chart-panel__dots-item {
|
|
87
|
+
display: flex; align-items: center; gap: 8px;
|
|
88
|
+
width: 100%; padding: 7px 10px;
|
|
89
|
+
border: none; border-radius: 4px; background: transparent;
|
|
90
|
+
cursor: pointer; text-align: left;
|
|
91
|
+
font-size: 13px; color: var(--pg-colors-text-primary,#0f172a);
|
|
92
|
+
font-family: var(--pg-typography-font-family,system-ui,sans-serif);
|
|
93
|
+
transition: background 80ms;
|
|
94
|
+
}
|
|
95
|
+
.pg-chart-panel__dots-item:hover { background: var(--pg-colors-background-alt,#f1f5f9); }
|
|
96
|
+
.pg-chart-panel__empty {
|
|
97
|
+
display: flex; flex-direction: column; align-items: center; justify-content: center;
|
|
98
|
+
height: 100%; gap: 10px; padding: 24px;
|
|
99
|
+
color: var(--pg-colors-text-secondary,#64748b);
|
|
100
|
+
font-family: var(--pg-typography-font-family,system-ui,sans-serif);
|
|
101
|
+
}
|
|
102
|
+
.pg-chart-panel__empty-icon { opacity: 0.35; color: var(--pg-colors-text-secondary,#64748b); }
|
|
103
|
+
.pg-chart-panel__empty-text {
|
|
104
|
+
font-size: 15px; font-weight: 600;
|
|
105
|
+
color: var(--pg-colors-text-primary,#0f172a);
|
|
106
|
+
}
|
|
107
|
+
.pg-chart-panel__empty-sub {
|
|
108
|
+
font-size: 12px; text-align: center; max-width: 280px;
|
|
109
|
+
color: var(--pg-colors-text-secondary,#64748b);
|
|
110
|
+
}
|
|
111
|
+
.pg-chart-panel__legend {
|
|
112
|
+
display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
|
|
113
|
+
gap: 2px 4px; padding: 5px 12px 8px;
|
|
114
|
+
flex-shrink: 0;
|
|
115
|
+
border-top: 1px solid var(--pg-colors-border,#e2e8f0);
|
|
116
|
+
}
|
|
117
|
+
.pg-chart-panel__legend:empty { border-top: none; padding: 0; }
|
|
118
|
+
.pg-chart-panel__legend-item {
|
|
119
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
120
|
+
padding: 4px 8px; border-radius: 5px;
|
|
121
|
+
border: none; background: transparent; cursor: pointer;
|
|
122
|
+
font-size: 12px; color: var(--pg-colors-text-secondary,#64748b);
|
|
123
|
+
font-family: var(--pg-typography-font-family,system-ui,sans-serif);
|
|
124
|
+
user-select: none;
|
|
125
|
+
transition: background 80ms, opacity 220ms;
|
|
126
|
+
}
|
|
127
|
+
.pg-chart-panel__legend-item:hover {
|
|
128
|
+
background: var(--pg-colors-background-alt,#f1f5f9);
|
|
129
|
+
color: var(--pg-colors-text-primary,#0f172a);
|
|
130
|
+
}
|
|
131
|
+
.pg-chart-panel__legend-item--hidden { opacity: 0.35; }
|
|
132
|
+
.pg-chart-panel__legend-swatch {
|
|
133
|
+
width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0;
|
|
134
|
+
}
|
|
135
|
+
.pg-chart-panel__legend-label {
|
|
136
|
+
max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
`;
|
|
140
|
+
//# sourceMappingURL=chart-panel.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-panel.css.js","sourceRoot":"","sources":["../../../src/styles/base/chart-panel.css.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmI5B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Photon Grid base styles — column-context-menu 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
|
+
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";
|
|
9
|
+
//# sourceMappingURL=column-context-menu.css.d.ts.map
|
|
@@ -0,0 +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,gpKAgJhC,CAAC"}
|