@svgrid/grid-wc 3.0.28 → 3.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/GridFooter-DEKpo1cS.js +162 -0
- package/dist/{GridMenus-4ksk1dnR.js → GridMenus-N2KRdNsI.js} +337 -320
- package/dist/{PinSplitter-vmU3zd_R.js → PinSplitter-CinhgIrH.js} +2 -2
- package/dist/grid-extension.svelte-CBhmpjuc.js +27 -0
- package/dist/shadow/GridFooter-DzMtiAvb.js +162 -0
- package/dist/shadow/{GridMenus-CpE2jjUR.js → GridMenus-De7ebuLc.js} +337 -320
- package/dist/shadow/{PinSplitter-vmU3zd_R.js → PinSplitter-CinhgIrH.js} +2 -2
- package/dist/shadow/grid-extension.svelte-CBhmpjuc.js +27 -0
- package/dist/shadow/sv-grid-shadow-element.js +2777 -2769
- package/dist/sv-grid-element.js +2760 -2752
- package/package.json +3 -3
- package/dist/GridFooter-La5NyTDN.js +0 -145
- package/dist/grid-extension.svelte-BixlrIqc.js +0 -20
- package/dist/shadow/GridFooter-d70CxdXM.js +0 -145
- package/dist/shadow/grid-extension.svelte-BixlrIqc.js +0 -20
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(){try{var c=".sv-pin-split.svelte-3uth74{z-index:50;pointer-events:none;width:0;position:absolute;top:0;left:0}.sv-pin-split.is-editing.svelte-3uth74{display:none}.sv-pin-split-line.svelte-3uth74{top:0;bottom:0;left:calc(var(--x) - 1px);background:color-mix(in srgb, var(--sg-fg,#0f172a) 18%, transparent);width:2px;transition:background-color .12s;position:absolute}.sv-pin-split-hit.svelte-3uth74{bottom:0;left:max(0px, calc(var(--x) - 4px));cursor:col-resize;pointer-events:auto;touch-action:none;outline:none;width:8px;position:absolute}.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;left:calc(var(--x) - 1.5px)}.sv-pin-split-ghost.svelte-3uth74{border-left: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;left:calc(var(--x) + 8px);background:var(--sg-fg,#0f172a);color:var(--sg-bg,#fff);white-space:nowrap;border-radius:6px;padding:3px 8px;font-size:12px;position:absolute}\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{z-index:50;pointer-events:none;width:0;position:absolute;top:0;left:0}.sv-pin-split.is-editing.svelte-3uth74{display:none}.sv-pin-split-line.svelte-3uth74{top:0;bottom:0;left:calc(var(--x) - 1px);background:color-mix(in srgb, var(--sg-fg,#0f172a) 18%, transparent);width:2px;transition:background-color .12s;position:absolute}.sv-pin-split-hit.svelte-3uth74{bottom:0;left:max(0px, calc(var(--x) - 4px));cursor:col-resize;pointer-events:auto;touch-action:none;outline:none;width:8px;position:absolute}.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;left:calc(var(--x) - 1.5px)}.sv-pin-split-ghost.svelte-3uth74{border-left: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;left:calc(var(--x) + 8px);background:var(--sg-fg,#0f172a);color:var(--sg-bg,#fff);white-space:nowrap;border-radius:6px;padding:3px 8px;font-size:12px;position:absolute}\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-CinhgIrH.js"||x[i].textContent===c)return;var s=document.createElement('style');s.setAttribute('data-svgrid-grid-wc-chunk',"shadow:PinSplitter-CinhgIrH.js");s.textContent=c;document.head.appendChild(s);}catch(e){}})();
|
|
2
2
|
import { $ as e, A as t, D as n, I as r, L as i, M as a, R as o, U as s, W as c, X as l, Y as u, Z as d, et as f, f as p, it as m, j as h, k as g, n as _, nt as v, ot as y, rt as b, v as x, y as S, z as C } from "./client-DtIdusS4.js";
|
|
3
|
-
import {
|
|
3
|
+
import { r as w } from "./grid-extension.svelte-CBhmpjuc.js";
|
|
4
4
|
//#region ../grid/dist/pin-splitter.js
|
|
5
5
|
function T(e, t) {
|
|
6
6
|
let n = [e], r = e;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { et as e, z as t } from "./client-DtIdusS4.js";
|
|
2
|
+
//#region ../grid/dist/filtering/filter-operator-catalogue.js
|
|
3
|
+
var n = ["isBlank", "isNotBlank"];
|
|
4
|
+
function r(e) {
|
|
5
|
+
return n.includes(e);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region ../grid/dist/filter-operator-registry.js
|
|
9
|
+
var i = {}, a = e(null);
|
|
10
|
+
function o(e, n) {
|
|
11
|
+
let r = t(a)?.column;
|
|
12
|
+
if (!r) return e;
|
|
13
|
+
let i = n ?? s(e);
|
|
14
|
+
return e.map((e) => e?.columns?.length ? {
|
|
15
|
+
...e,
|
|
16
|
+
columns: o(e.columns, i)
|
|
17
|
+
} : e?.fieldType ? r(e, i) : e);
|
|
18
|
+
}
|
|
19
|
+
function s(e) {
|
|
20
|
+
return e.flatMap((e) => e?.columns?.length ? s(e.columns) : [e]);
|
|
21
|
+
}
|
|
22
|
+
var c = (e) => i[e], l = (e) => r(e) || !!c(e)?.valueless;
|
|
23
|
+
function u() {
|
|
24
|
+
return t(a);
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { l as i, o as n, u as r, c as t };
|