@svgrid/grid-wc 3.0.81 → 3.0.83
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){try{var c=".sv-pin-split.svelte-3uth74{top:0;z-index:50;pointer-events:none;width:0;position:absolute;inset-inline-start:0}.sv-pin-split.is-editing.svelte-3uth74{display:none}.sv-pin-split-line.svelte-3uth74{top:0;bottom:0;background:color-mix(in srgb, var(--sg-fg,#0f172a) 18%, transparent);width:2px;transition:background-color .12s;position:absolute;inset-inline-start:calc(var(--x) - 1px)}.sv-pin-split-hit.svelte-3uth74{bottom:0;cursor:col-resize;pointer-events:auto;touch-action:none;outline:none;width:8px;position:absolute;inset-inline-start:max(0px, calc(var(--x) - 4px))}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):hover) .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):focus-visible) .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){width:3px;inset-inline-start:calc(var(--x) - 1.5px)}.sv-pin-split-ghost.svelte-3uth74{border-inline-start:2px dashed color-mix(in srgb, var(--sg-accent,#2563eb) 50%, transparent);width:0;position:absolute;top:0;bottom:0}.sv-pin-split-tip.svelte-3uth74{top:6px;background:var(--sg-fg,#0f172a);color:var(--sg-bg,#fff);white-space:nowrap;border-radius:6px;padding:3px 8px;font-size:12px;position:absolute;inset-inline-start:calc(var(--x) + 8px)}@media (forced-colors:active){.sv-pin-split-line.svelte-3uth74,.sv-pin-split-ghost.svelte-3uth74{forced-color-adjust:none;background:canvastext;border-color:highlight}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):hover) .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):focus-visible) .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split-tip.svelte-3uth74{border:1px solid canvastext}}\n",g=globalThis;if(typeof g!=='undefined'){var f=(g.__SVGRID_WC_ADD_CSS_BY_BUILD__||{})["grid"];if(typeof f==='function')f(c);else{var q=g.__SVGRID_WC_CSS_CHUNKS_BY_BUILD__=g.__SVGRID_WC_CSS_CHUNKS_BY_BUILD__||{};(q["grid"]=q["grid"]||[]).push(c);}}if(typeof document==='undefined')return;var x=document.querySelectorAll('style[data-svgrid-grid-wc-chunk]');for(var i=0;i<x.length;i++)if(x[i].getAttribute('data-svgrid-grid-wc-chunk')==="grid:PinSplitter-
|
|
1
|
+
(function(){try{var c=".sv-pin-split.svelte-3uth74{top:0;z-index:50;pointer-events:none;width:0;position:absolute;inset-inline-start:0}.sv-pin-split.is-editing.svelte-3uth74{display:none}.sv-pin-split-line.svelte-3uth74{top:0;bottom:0;background:color-mix(in srgb, var(--sg-fg,#0f172a) 18%, transparent);width:2px;transition:background-color .12s;position:absolute;inset-inline-start:calc(var(--x) - 1px)}.sv-pin-split-hit.svelte-3uth74{bottom:0;cursor:col-resize;pointer-events:auto;touch-action:none;outline:none;width:8px;position:absolute;inset-inline-start:max(0px, calc(var(--x) - 4px))}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):hover) .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):focus-visible) .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){width:3px;inset-inline-start:calc(var(--x) - 1.5px)}.sv-pin-split-ghost.svelte-3uth74{border-inline-start:2px dashed color-mix(in srgb, var(--sg-accent,#2563eb) 50%, transparent);width:0;position:absolute;top:0;bottom:0}.sv-pin-split-tip.svelte-3uth74{top:6px;background:var(--sg-fg,#0f172a);color:var(--sg-bg,#fff);white-space:nowrap;border-radius:6px;padding:3px 8px;font-size:12px;position:absolute;inset-inline-start:calc(var(--x) + 8px)}@media (forced-colors:active){.sv-pin-split-line.svelte-3uth74,.sv-pin-split-ghost.svelte-3uth74{forced-color-adjust:none;background:canvastext;border-color:highlight}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):hover) .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):focus-visible) .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split-tip.svelte-3uth74{border:1px solid canvastext}}\n",g=globalThis;if(typeof g!=='undefined'){var f=(g.__SVGRID_WC_ADD_CSS_BY_BUILD__||{})["grid"];if(typeof f==='function')f(c);else{var q=g.__SVGRID_WC_CSS_CHUNKS_BY_BUILD__=g.__SVGRID_WC_CSS_CHUNKS_BY_BUILD__||{};(q["grid"]=q["grid"]||[]).push(c);}}if(typeof document==='undefined')return;var x=document.querySelectorAll('style[data-svgrid-grid-wc-chunk]');for(var i=0;i<x.length;i++)if(x[i].getAttribute('data-svgrid-grid-wc-chunk')==="grid:PinSplitter-BQ_9Atkd.js"||x[i].textContent===c)return;var s=document.createElement('style');s.setAttribute('data-svgrid-grid-wc-chunk',"grid:PinSplitter-BQ_9Atkd.js");s.textContent=c;document.head.appendChild(s);}catch(e){}})();
|
|
2
2
|
import { $ as e, A as t, B as n, G as r, J as i, L as a, M as o, N as s, O as c, R as l, W as u, X as ee, Y as d, Z as f, at as p, b as m, ct as te, et as h, j as g, n as _, nt as v, o as ne, ot as y, p as b, y as x, z as S } from "./client-DeNKZvIV.js";
|
|
3
3
|
import { r as C } from "./grid-extension.svelte-B_gzYJQQ.js";
|
|
4
4
|
import "./sv-grid-element.js";
|
|
@@ -114,7 +114,7 @@ function D(a, s) {
|
|
|
114
114
|
if (!t || !r) return;
|
|
115
115
|
let i = 0, a = () => {
|
|
116
116
|
i = 0;
|
|
117
|
-
let n = r.getBoundingClientRect(), a = t.querySelector(".sv-grid-foot")?.getBoundingClientRect();
|
|
117
|
+
let n = (r.parentElement ?? r).getBoundingClientRect(), a = t.querySelector(".sv-grid-foot")?.getBoundingClientRect();
|
|
118
118
|
e(X, a && a.height ? Math.max(0, n.bottom - a.top) : 0, !0);
|
|
119
119
|
let o = t.querySelectorAll(".sv-grid-placeholder-failed");
|
|
120
120
|
if (!o.length) return void e(Y, "");
|
|
@@ -162,7 +162,10 @@ function D(a, s) {
|
|
|
162
162
|
}), s = x(a, "", s, {
|
|
163
163
|
"--x": `${n(oe)}px`,
|
|
164
164
|
bottom: `${n(P)}px`
|
|
165
|
-
}), v = x(_, "", v, {
|
|
165
|
+
}), v = x(_, "", v, {
|
|
166
|
+
"mask-image": n(Y) || void 0,
|
|
167
|
+
bottom: n(Z) === 0 && n(X) ? `${n(X)}px` : void 0
|
|
168
|
+
}), b(y, "aria-label", n(I).pinSplitterLabel), b(y, "aria-valuemin", n(F)), b(y, "aria-valuemax", n(k).length - 1), b(y, "aria-valuenow", n(Z)), b(y, "aria-valuetext", n(Q)), b(y, "title", n(I).pinSplitterHint), C = x(y, "", C, {
|
|
166
169
|
top: `${D().headerHeight ?? 0}px`,
|
|
167
170
|
bottom: `${n(X)}px`,
|
|
168
171
|
"pointer-events": n(H) ? "none" : void 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){try{var c=".sv-pin-split.svelte-3uth74{top:0;z-index:50;pointer-events:none;width:0;position:absolute;inset-inline-start:0}.sv-pin-split.is-editing.svelte-3uth74{display:none}.sv-pin-split-line.svelte-3uth74{top:0;bottom:0;background:color-mix(in srgb, var(--sg-fg,#0f172a) 18%, transparent);width:2px;transition:background-color .12s;position:absolute;inset-inline-start:calc(var(--x) - 1px)}.sv-pin-split-hit.svelte-3uth74{bottom:0;cursor:col-resize;pointer-events:auto;touch-action:none;outline:none;width:8px;position:absolute;inset-inline-start:max(0px, calc(var(--x) - 4px))}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):hover) .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):focus-visible) .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){width:3px;inset-inline-start:calc(var(--x) - 1.5px)}.sv-pin-split-ghost.svelte-3uth74{border-inline-start:2px dashed color-mix(in srgb, var(--sg-accent,#2563eb) 50%, transparent);width:0;position:absolute;top:0;bottom:0}.sv-pin-split-tip.svelte-3uth74{top:6px;background:var(--sg-fg,#0f172a);color:var(--sg-bg,#fff);white-space:nowrap;border-radius:6px;padding:3px 8px;font-size:12px;position:absolute;inset-inline-start:calc(var(--x) + 8px)}@media (forced-colors:active){.sv-pin-split-line.svelte-3uth74,.sv-pin-split-ghost.svelte-3uth74{forced-color-adjust:none;background:canvastext;border-color:highlight}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):hover) .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):focus-visible) .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split-tip.svelte-3uth74{border:1px solid canvastext}}\n",g=globalThis;if(typeof g!=='undefined'){var f=(g.__SVGRID_WC_ADD_CSS_BY_BUILD__||{})["shadow"];if(typeof f==='function')f(c);else{var q=g.__SVGRID_WC_CSS_CHUNKS_BY_BUILD__=g.__SVGRID_WC_CSS_CHUNKS_BY_BUILD__||{};(q["shadow"]=q["shadow"]||[]).push(c);}}if(typeof document==='undefined')return;var x=document.querySelectorAll('style[data-svgrid-grid-wc-chunk]');for(var i=0;i<x.length;i++)if(x[i].getAttribute('data-svgrid-grid-wc-chunk')==="shadow:PinSplitter-
|
|
1
|
+
(function(){try{var c=".sv-pin-split.svelte-3uth74{top:0;z-index:50;pointer-events:none;width:0;position:absolute;inset-inline-start:0}.sv-pin-split.is-editing.svelte-3uth74{display:none}.sv-pin-split-line.svelte-3uth74{top:0;bottom:0;background:color-mix(in srgb, var(--sg-fg,#0f172a) 18%, transparent);width:2px;transition:background-color .12s;position:absolute;inset-inline-start:calc(var(--x) - 1px)}.sv-pin-split-hit.svelte-3uth74{bottom:0;cursor:col-resize;pointer-events:auto;touch-action:none;outline:none;width:8px;position:absolute;inset-inline-start:max(0px, calc(var(--x) - 4px))}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):hover) .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):focus-visible) .sv-pin-split-line:where(.svelte-3uth74){background:var(--sg-accent,#2563eb)}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){width:3px;inset-inline-start:calc(var(--x) - 1.5px)}.sv-pin-split-ghost.svelte-3uth74{border-inline-start:2px dashed color-mix(in srgb, var(--sg-accent,#2563eb) 50%, transparent);width:0;position:absolute;top:0;bottom:0}.sv-pin-split-tip.svelte-3uth74{top:6px;background:var(--sg-fg,#0f172a);color:var(--sg-bg,#fff);white-space:nowrap;border-radius:6px;padding:3px 8px;font-size:12px;position:absolute;inset-inline-start:calc(var(--x) + 8px)}@media (forced-colors:active){.sv-pin-split-line.svelte-3uth74,.sv-pin-split-ghost.svelte-3uth74{forced-color-adjust:none;background:canvastext;border-color:highlight}.sv-pin-split.is-dragging.svelte-3uth74 .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):hover) .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split.svelte-3uth74:has(.sv-pin-split-hit:where(.svelte-3uth74):focus-visible) .sv-pin-split-line:where(.svelte-3uth74){background:highlight}.sv-pin-split-tip.svelte-3uth74{border:1px solid canvastext}}\n",g=globalThis;if(typeof g!=='undefined'){var f=(g.__SVGRID_WC_ADD_CSS_BY_BUILD__||{})["shadow"];if(typeof f==='function')f(c);else{var q=g.__SVGRID_WC_CSS_CHUNKS_BY_BUILD__=g.__SVGRID_WC_CSS_CHUNKS_BY_BUILD__||{};(q["shadow"]=q["shadow"]||[]).push(c);}}if(typeof document==='undefined')return;var x=document.querySelectorAll('style[data-svgrid-grid-wc-chunk]');for(var i=0;i<x.length;i++)if(x[i].getAttribute('data-svgrid-grid-wc-chunk')==="shadow:PinSplitter-B2KC2BNl.js"||x[i].textContent===c)return;var s=document.createElement('style');s.setAttribute('data-svgrid-grid-wc-chunk',"shadow:PinSplitter-B2KC2BNl.js");s.textContent=c;document.head.appendChild(s);}catch(e){}})();
|
|
2
2
|
import { $ as e, A as t, B as n, G as r, J as i, L as a, M as o, N as s, O as c, R as l, W as u, X as ee, Y as d, Z as f, at as p, b as m, ct as te, et as h, j as g, n as _, nt as v, o as ne, ot as y, p as b, y as x, z as S } from "./client-DeNKZvIV.js";
|
|
3
3
|
import { r as C } from "./grid-extension.svelte-B_gzYJQQ.js";
|
|
4
4
|
import "./sv-grid-shadow-element.js";
|
|
@@ -114,7 +114,7 @@ function D(a, s) {
|
|
|
114
114
|
if (!t || !r) return;
|
|
115
115
|
let i = 0, a = () => {
|
|
116
116
|
i = 0;
|
|
117
|
-
let n = r.getBoundingClientRect(), a = t.querySelector(".sv-grid-foot")?.getBoundingClientRect();
|
|
117
|
+
let n = (r.parentElement ?? r).getBoundingClientRect(), a = t.querySelector(".sv-grid-foot")?.getBoundingClientRect();
|
|
118
118
|
e(X, a && a.height ? Math.max(0, n.bottom - a.top) : 0, !0);
|
|
119
119
|
let o = t.querySelectorAll(".sv-grid-placeholder-failed");
|
|
120
120
|
if (!o.length) return void e(Y, "");
|
|
@@ -162,7 +162,10 @@ function D(a, s) {
|
|
|
162
162
|
}), s = x(a, "", s, {
|
|
163
163
|
"--x": `${n(oe)}px`,
|
|
164
164
|
bottom: `${n(P)}px`
|
|
165
|
-
}), v = x(_, "", v, {
|
|
165
|
+
}), v = x(_, "", v, {
|
|
166
|
+
"mask-image": n(Y) || void 0,
|
|
167
|
+
bottom: n(Z) === 0 && n(X) ? `${n(X)}px` : void 0
|
|
168
|
+
}), b(y, "aria-label", n(I).pinSplitterLabel), b(y, "aria-valuemin", n(F)), b(y, "aria-valuemax", n(k).length - 1), b(y, "aria-valuenow", n(Z)), b(y, "aria-valuetext", n(Q)), b(y, "title", n(I).pinSplitterHint), C = x(y, "", C, {
|
|
166
169
|
top: `${D().headerHeight ?? 0}px`,
|
|
167
170
|
bottom: `${n(X)}px`,
|
|
168
171
|
"pointer-events": n(H) ? "none" : void 0
|
|
@@ -8926,7 +8926,7 @@ function gs(s, u) {
|
|
|
8926
8926
|
});
|
|
8927
8927
|
let we = A(null);
|
|
8928
8928
|
o(() => {
|
|
8929
|
-
R.pinSplitter && !n(we) && import("./PinSplitter-
|
|
8929
|
+
R.pinSplitter && !n(we) && import("./PinSplitter-B2KC2BNl.js").then((t) => e(we, t.default, !0));
|
|
8930
8930
|
});
|
|
8931
8931
|
let H = F(Ie), ke = F(() => n(H)?.rowHeader?.(P) ?? null), Ae = F(() => n(H)?.summaryCell?.(P) ?? null), Ne = F(() => n(H)?.groupRow?.(P) ?? null), Fe = F(() => n(H)?.overlay?.(P) ?? null), Le = A(null);
|
|
8932
8932
|
o(() => {
|
package/dist/sv-grid-element.js
CHANGED
|
@@ -8926,7 +8926,7 @@ function gs(s, u) {
|
|
|
8926
8926
|
});
|
|
8927
8927
|
let we = A(null);
|
|
8928
8928
|
o(() => {
|
|
8929
|
-
R.pinSplitter && !n(we) && import("./PinSplitter-
|
|
8929
|
+
R.pinSplitter && !n(we) && import("./PinSplitter-BQ_9Atkd.js").then((t) => e(we, t.default, !0));
|
|
8930
8930
|
});
|
|
8931
8931
|
let H = F(Ie), ke = F(() => n(H)?.rowHeader?.(P) ?? null), Ae = F(() => n(H)?.summaryCell?.(P) ?? null), Ne = F(() => n(H)?.groupRow?.(P) ?? null), Fe = F(() => n(H)?.overlay?.(P) ?? null), Le = A(null);
|
|
8932
8932
|
o(() => {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "commercial",
|
|
5
5
|
"url": "https://svgrid.com/pricing"
|
|
6
6
|
},
|
|
7
|
-
"version": "3.0.
|
|
7
|
+
"version": "3.0.83",
|
|
8
8
|
"description": "SvGrid as a framework-agnostic web component (<sv-grid> custom element, plus <sv-grid-shadow> for an open shadow root and <sv-chart> for the standalone chart). Drop into React, Vue, Angular, or plain HTML - no build step required.",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"license": "MIT",
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
"vite": "^8.2.1",
|
|
113
113
|
"vue": "^3.5.42",
|
|
114
114
|
"vue-tsc": "^3.3.11",
|
|
115
|
-
"@svgrid/
|
|
116
|
-
"@svgrid/
|
|
115
|
+
"@svgrid/enterprise": "^3.1.73",
|
|
116
|
+
"@svgrid/grid": "^3.0.43"
|
|
117
117
|
},
|
|
118
118
|
"types": "./dist/sv-grid-element.d.ts",
|
|
119
119
|
"peerDependencies": {
|