@svgrid/grid-wc 3.0.45 → 3.0.47
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/GridFind-C1YbloFh.js +39 -0
- package/dist/GridFooter-DOR8m9GQ.js +142 -0
- package/dist/GridMenus-Da8XGbc6.js +1461 -0
- package/dist/PinSplitter-Du4ZF8T3.js +178 -0
- package/dist/SvChartMenu-B6kpmwUv.js +401 -0
- package/dist/{SvDateRangeInput-Cpss2SsG.js → SvDateRangeInput-ByR-LFgf.js} +78 -77
- package/dist/SvDateTimePicker-BCxhFb5c.js +763 -0
- package/dist/{SvField-C--8r4go.js → SvField-CtzxdF7J.js} +100 -99
- package/dist/SvGridCellEditor-BUdVD7xM.js +594 -0
- package/dist/SvGridChart-DkKI8-bj.js +3684 -0
- package/dist/SvGridChartBuilder-BCQ3W8TY.js +1086 -0
- package/dist/SvGridChartPanel-uqul044E.js +1689 -0
- package/dist/{SvGridChartView-Bvacwk37.js → SvGridChartView-DWxEFzdM.js} +9 -8
- package/dist/SvGridDropdown-CnCQuXaI.js +258 -0
- package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs +12 -3
- package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs.map +1 -1
- package/dist/angular/types/svgrid-grid-wc-angular.d.ts +5 -1
- package/dist/chart/SvChartMenu-NxEyX5kU.js +635 -0
- package/dist/chart/{chart-export-C43UPY8D.js → chart-export-Dj_zVsjI.js} +5 -7
- package/dist/chart/chart-export-pdf-pmzjhHhB.js +156 -0
- package/dist/chart/{client-BuB0wIgc.js → client-Y303i9Lw.js} +1317 -1214
- package/dist/chart/sv-chart-element.js +2390 -2405
- package/dist/chart-export-pdf-DyuVs1gO.js +156 -0
- package/dist/client-OtsRxGjS.js +3075 -0
- package/dist/{column-resize-DUPgynvc.js → column-resize-SEn7el6C.js} +21 -9
- package/dist/{csv-injection-Ce26_TOb.js → csv-injection-Cxf6dMrr.js} +1 -1
- package/dist/{date-format-B0RznzxC.js → date-format-DngG1HJ5.js} +402 -407
- package/dist/{shadow/export-format-6jDuF2nb.js → export-format-7DhxeN27.js} +2 -2
- package/dist/{grid-extension.svelte-CBhmpjuc.js → grid-extension.svelte-DToFhcZv.js} +1 -1
- package/dist/grid-menu-messages-BEsB6Jhh.js +57 -0
- package/dist/history-Q12tf0k-.js +80 -0
- package/dist/list-option-DpIu99JN.js +203 -0
- package/dist/menu-focus-lmTebXyL.js +45 -0
- package/dist/range-commit-C6Rogxem.js +385 -0
- package/dist/react/index.d.ts +11 -0
- package/dist/react/index.js +2 -1
- package/dist/shadow/GridFind-CcoKoisE.js +39 -0
- package/dist/shadow/GridFooter-CDq71ytl.js +142 -0
- package/dist/shadow/GridMenus-RAp-E3hp.js +1461 -0
- package/dist/shadow/PinSplitter-BAYTAZtm.js +178 -0
- package/dist/shadow/SvChartMenu-C74rWwjU.js +401 -0
- package/dist/shadow/{SvDateRangeInput-Cpss2SsG.js → SvDateRangeInput-9Wq4E64y.js} +78 -77
- package/dist/shadow/SvDateTimePicker-y9jPLR19.js +763 -0
- package/dist/shadow/{SvField-C--8r4go.js → SvField-DGPj2clt.js} +100 -99
- package/dist/shadow/SvGridCellEditor-CzeBp9lp.js +594 -0
- package/dist/shadow/SvGridChart-zTsB6F3Y.js +3684 -0
- package/dist/shadow/SvGridChartBuilder-VUKgOcp7.js +1086 -0
- package/dist/shadow/SvGridChartPanel-DkjEUB7t.js +1689 -0
- package/dist/shadow/{SvGridChartView-Bvacwk37.js → SvGridChartView-DQmJahyT.js} +9 -8
- package/dist/shadow/SvGridDropdown-B_5kqHQE.js +258 -0
- package/dist/shadow/chart-export-pdf-BZy6f5QB.js +156 -0
- package/dist/shadow/client-OtsRxGjS.js +3075 -0
- package/dist/shadow/{column-resize-DUPgynvc.js → column-resize-SEn7el6C.js} +21 -9
- package/dist/shadow/{csv-injection-Ce26_TOb.js → csv-injection-Cxf6dMrr.js} +1 -1
- package/dist/shadow/{date-format-B0RznzxC.js → date-format-C9UkbCig.js} +402 -407
- package/dist/{export-format-6jDuF2nb.js → shadow/export-format-7DhxeN27.js} +2 -2
- package/dist/shadow/{grid-extension.svelte-CBhmpjuc.js → grid-extension.svelte-DToFhcZv.js} +1 -1
- package/dist/shadow/grid-menu-messages-BEsB6Jhh.js +57 -0
- package/dist/shadow/history-Q12tf0k-.js +80 -0
- package/dist/shadow/list-option-DpIu99JN.js +203 -0
- package/dist/shadow/menu-focus-lmTebXyL.js +45 -0
- package/dist/shadow/range-commit-C6Rogxem.js +385 -0
- package/dist/shadow/sv-grid-shadow-element.d.ts +7 -0
- package/dist/shadow/sv-grid-shadow-element.js +4236 -4469
- package/dist/shadow/{svelte-virtualizer.svelte-u-y0InK2.js → svelte-virtualizer.svelte-DWvD9wvL.js} +17 -12
- package/dist/sv-grid-element.d.ts +7 -0
- package/dist/sv-grid-element.js +4219 -4452
- package/dist/{svelte-virtualizer.svelte-u-y0InK2.js → svelte-virtualizer.svelte-DWvD9wvL.js} +17 -12
- package/dist/vue/index.d.ts +6 -2
- package/dist/vue/index.js +1 -1
- package/package.json +4 -4
- package/dist/GridFind-DianRZxS.js +0 -39
- package/dist/GridFooter-Bp3o5qJX.js +0 -162
- package/dist/GridMenus-BYkY3nhr.js +0 -1405
- package/dist/PinSplitter-CinhgIrH.js +0 -130
- package/dist/SvChartMenu-CgAcTloT.js +0 -413
- package/dist/SvDateTimePicker-DyRO_e91.js +0 -770
- package/dist/SvGridCellEditor-DHHGSjgp.js +0 -584
- package/dist/SvGridChart-BFQLtNmn.js +0 -3703
- package/dist/SvGridChartBuilder-CtGuoAOV.js +0 -1166
- package/dist/SvGridChartPanel-CeaXNzmV.js +0 -1743
- package/dist/SvGridDropdown-CrECQYeq.js +0 -257
- package/dist/chart/SvChartMenu-DslxOgPN.js +0 -590
- package/dist/chart/chart-export-pdf-C0_y8glC.js +0 -104
- package/dist/chart-export-pdf-DDVtypH7.js +0 -104
- package/dist/client-DtIdusS4.js +0 -2974
- package/dist/focus-trap-Dbb2tJxb.js +0 -65
- package/dist/list-option-DrRyivWp.js +0 -82
- package/dist/shadow/GridFind-DianRZxS.js +0 -39
- package/dist/shadow/GridFooter-DvMFqeNV.js +0 -162
- package/dist/shadow/GridMenus-DKLNTKDZ.js +0 -1405
- package/dist/shadow/PinSplitter-CinhgIrH.js +0 -130
- package/dist/shadow/SvChartMenu-CgAcTloT.js +0 -413
- package/dist/shadow/SvDateTimePicker-DyRO_e91.js +0 -770
- package/dist/shadow/SvGridCellEditor-DHHGSjgp.js +0 -584
- package/dist/shadow/SvGridChart-BFQLtNmn.js +0 -3703
- package/dist/shadow/SvGridChartBuilder-CtGuoAOV.js +0 -1166
- package/dist/shadow/SvGridChartPanel-CeaXNzmV.js +0 -1743
- package/dist/shadow/SvGridDropdown-CrECQYeq.js +0 -257
- package/dist/shadow/chart-export-pdf-DDVtypH7.js +0 -104
- package/dist/shadow/client-DtIdusS4.js +0 -2974
- package/dist/shadow/focus-trap-Dbb2tJxb.js +0 -65
- package/dist/shadow/list-option-DrRyivWp.js +0 -82
package/dist/shadow/{svelte-virtualizer.svelte-u-y0InK2.js → svelte-virtualizer.svelte-DWvD9wvL.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e,
|
|
1
|
+
import { $ as e, Q as t, z as n } from "./client-OtsRxGjS.js";
|
|
2
2
|
//#region ../grid/dist/filtering/excel-filters.js
|
|
3
3
|
var r = /[̀-ͯ]/g;
|
|
4
4
|
function i(e, t) {
|
|
@@ -210,14 +210,19 @@ function b(e, t) {
|
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
212
|
function x(e, t, n = !1) {
|
|
213
|
-
let r = Math.max(e.overscan ?? 6, 0), i = e.overscanMin === void 0 || n ? r : p(e.overscanMin, 0, r), a = Math.min(Math.max(e.overscanBehind ?? r, 0), i), o =
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
213
|
+
let r = Math.max(e.overscan ?? 6, 0), i = e.overscanMin === void 0 || n ? r : p(e.overscanMin, 0, r), a = Math.min(Math.max(e.overscanBehind ?? r, 0), i), o = i, s = e.scrollDirection ?? 0, { count: c, viewportHeight: l, totalSize: u, scrollOffset: d, visibleStart: f, visibleEnd: m, uniformSize: h } = b(e, t);
|
|
214
|
+
if (e.overscanLead && s) {
|
|
215
|
+
let e = Math.max(Math.min(Math.ceil(Math.abs(s) / (u / c)) + 1 - o, a - 2), 0);
|
|
216
|
+
o += e, a -= e;
|
|
217
|
+
}
|
|
218
|
+
let g = s > 0 ? a : o, v = s < 0 ? a : o, x = c === 0 ? 0 : p(f - g, 0, c - 1), S = c === 0 ? -1 : p(m + v, 0, c - 1), C = [];
|
|
219
|
+
return S >= x && (C = h > 0 ? _(x, S, h) : y(x, S, t)), {
|
|
220
|
+
items: C,
|
|
221
|
+
totalSize: u,
|
|
222
|
+
startIndex: x,
|
|
223
|
+
endIndex: S,
|
|
224
|
+
scrollOffset: d,
|
|
225
|
+
viewportHeight: l
|
|
221
226
|
};
|
|
222
227
|
}
|
|
223
228
|
function S(e) {
|
|
@@ -277,7 +282,7 @@ function S(e) {
|
|
|
277
282
|
t = {
|
|
278
283
|
...t,
|
|
279
284
|
scrollOffset: e,
|
|
280
|
-
scrollDirection: e
|
|
285
|
+
scrollDirection: e - n
|
|
281
286
|
};
|
|
282
287
|
let r = c();
|
|
283
288
|
r !== "hold" && s(r === "move");
|
|
@@ -342,9 +347,9 @@ function C(e, t) {
|
|
|
342
347
|
//#endregion
|
|
343
348
|
//#region ../grid/dist/virtualization/svelte-virtualizer.svelte.js
|
|
344
349
|
function w(r) {
|
|
345
|
-
let i = S(r), a =
|
|
350
|
+
let i = S(r), a = e(0);
|
|
346
351
|
return i.subscribe(() => {
|
|
347
|
-
|
|
352
|
+
t(a, n(a) + 1);
|
|
348
353
|
}), {
|
|
349
354
|
get version() {
|
|
350
355
|
return n(a);
|
|
@@ -86,6 +86,8 @@ export interface SvGridElement extends HTMLElement {
|
|
|
86
86
|
error: string | null
|
|
87
87
|
/** attribute `empty-message` */
|
|
88
88
|
emptyMessage: string
|
|
89
|
+
/** attribute `grid-label` */
|
|
90
|
+
gridLabel: string
|
|
89
91
|
/** property only - an attribute cannot hold this */
|
|
90
92
|
localization: unknown
|
|
91
93
|
/** attribute `show-global-filter` */
|
|
@@ -160,6 +162,10 @@ export interface SvGridElement extends HTMLElement {
|
|
|
160
162
|
includeCollapsedRows: unknown
|
|
161
163
|
/** property only - an attribute cannot hold this */
|
|
162
164
|
clipboardHtml: unknown
|
|
165
|
+
/** attribute `hold-rows-on-write` */
|
|
166
|
+
holdRowsOnWrite: boolean
|
|
167
|
+
/** property only - an attribute cannot hold this */
|
|
168
|
+
parseClipboardText: readonly unknown[]
|
|
163
169
|
/** property only - an attribute cannot hold this */
|
|
164
170
|
processCellFromClipboard: unknown
|
|
165
171
|
/** attribute `enable-inline-editing` */
|
|
@@ -284,6 +290,7 @@ declare global {
|
|
|
284
290
|
columnresize: CustomEvent<unknown>
|
|
285
291
|
rowresize: CustomEvent<unknown>
|
|
286
292
|
pasteclipboard: CustomEvent<unknown>
|
|
293
|
+
pasteoverflow: CustomEvent<unknown>
|
|
287
294
|
apiready: CustomEvent<unknown>
|
|
288
295
|
rowselectionchange: CustomEvent<unknown>
|
|
289
296
|
cellselectionchange: CustomEvent<unknown>
|