@svgrid/grid-wc 3.0.0 → 3.0.2
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 +130 -110
- package/dist/GridMenus-B1mC1aPp.js +1077 -0
- package/dist/SvChartMenu-CBMKm7Xb.js +413 -0
- package/dist/SvDateRangeInput-BrYTQEMM.js +197 -0
- package/dist/SvDateTimePicker-CnLlqNDQ.js +766 -0
- package/dist/SvField-Bmzp3ObZ.js +147 -0
- package/dist/SvGridCellEditor-B005dmV1.js +560 -0
- package/dist/SvGridChart-4TcL9Rj2.js +3702 -0
- package/dist/SvGridChartBuilder-C4OL4XYx.js +1165 -0
- package/dist/SvGridChartPanel-CfHA8Ioq.js +1743 -0
- package/dist/SvGridChartView-Ci-9_EJ0.js +45 -0
- package/dist/SvGridDropdown-BlA6iw9m.js +257 -0
- package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs +178 -7
- package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs.map +1 -1
- package/dist/angular/types/svgrid-grid-wc-angular.d.ts +77 -2
- package/dist/{shadow/cell-formatting-C0OsDmi_.js → cell-formatting-Eypm-id0.js} +1 -1
- package/dist/chart/SvChartMenu-C-sbGNk8.js +586 -0
- package/dist/chart/chart-export-BHGuh_kZ.js +127 -0
- package/dist/chart/chart-export-pdf-BjkkIEkE.js +104 -0
- package/dist/chart/chart-summary-B86RFA3M.js +137 -0
- package/dist/chart/chart-trend-DP6DSsBa.js +56 -0
- package/dist/chart/chart-validate-CD6ptiwg.js +180 -0
- package/dist/chart/client-BuB0wIgc.js +2757 -0
- package/dist/chart/sv-chart-element.d.ts +98 -0
- package/dist/chart/sv-chart-element.js +7282 -0
- package/dist/chart-DoqdUoGg.js +4398 -0
- package/dist/chart-export-pdf-BirUdchl.js +104 -0
- package/dist/chart-summary-BP9i-v8M.js +137 -0
- package/dist/chart-validate-CD6ptiwg.js +180 -0
- package/dist/{shadow/client-DjwUji8D.js → client-DEF0GRjE.js} +1 -1
- package/dist/{shadow/column-resize-DvCRUrN3.js → column-resize-DUPgynvc.js} +3 -3
- package/dist/date-format-DMTwV8NC.js +1128 -0
- package/dist/{export-format-B6FUgOll.js → export-format-uGayRKWM.js} +3 -3
- package/dist/focus-trap-DvlOlOGM.js +65 -0
- package/dist/list-option-DrRyivWp.js +82 -0
- package/dist/react/chart.d.ts +99 -0
- package/dist/react/chart.js +49 -0
- package/dist/react/index.d.ts +28 -0
- package/dist/react/index.js +4 -1
- package/dist/{row-resize-D-8s3cqT.js → row-resize-Cf8qPLbi.js} +44 -36
- package/dist/shadow/GridMenus-B1mC1aPp.js +1077 -0
- package/dist/shadow/SvChartMenu-CBMKm7Xb.js +413 -0
- package/dist/shadow/SvDateRangeInput-BrYTQEMM.js +197 -0
- package/dist/shadow/SvDateTimePicker-CnLlqNDQ.js +766 -0
- package/dist/shadow/SvField-Bmzp3ObZ.js +147 -0
- package/dist/shadow/SvGridCellEditor-B005dmV1.js +560 -0
- package/dist/shadow/SvGridChart-4TcL9Rj2.js +3702 -0
- package/dist/shadow/SvGridChartBuilder-C4OL4XYx.js +1165 -0
- package/dist/shadow/SvGridChartPanel-CfHA8Ioq.js +1743 -0
- package/dist/shadow/SvGridChartView-Ci-9_EJ0.js +45 -0
- package/dist/shadow/SvGridDropdown-BlA6iw9m.js +257 -0
- package/dist/{cell-formatting-C0OsDmi_.js → shadow/cell-formatting-Eypm-id0.js} +1 -1
- package/dist/shadow/chart-DoqdUoGg.js +4398 -0
- package/dist/shadow/chart-export-pdf-BirUdchl.js +104 -0
- package/dist/shadow/chart-summary-BP9i-v8M.js +137 -0
- package/dist/shadow/chart-validate-CD6ptiwg.js +180 -0
- package/dist/{client-DjwUji8D.js → shadow/client-DEF0GRjE.js} +1 -1
- package/dist/{column-resize-DvCRUrN3.js → shadow/column-resize-DUPgynvc.js} +3 -3
- package/dist/shadow/date-format-DMTwV8NC.js +1128 -0
- package/dist/shadow/{export-format-C8kZGZfz.js → export-format-DhdZREP1.js} +3 -3
- package/dist/shadow/focus-trap-DvlOlOGM.js +65 -0
- package/dist/shadow/list-option-DrRyivWp.js +82 -0
- package/dist/shadow/{row-resize-D-8s3cqT.js → row-resize-Cf8qPLbi.js} +44 -36
- package/dist/shadow/sv-grid-shadow-element.d.ts +15 -0
- package/dist/shadow/sv-grid-shadow-element.js +4853 -3626
- package/dist/shadow/{svelte-virtualizer.svelte-DZ9UcyfT.js → svelte-virtualizer.svelte-CnGhFGDc.js} +37 -34
- package/dist/sv-grid-element.d.ts +15 -0
- package/dist/sv-grid-element.js +4809 -3612
- package/dist/{svelte-virtualizer.svelte-DZ9UcyfT.js → svelte-virtualizer.svelte-CnGhFGDc.js} +37 -34
- package/dist/vue/chart.d.ts +64 -0
- package/dist/vue/chart.js +41 -0
- package/dist/vue/index.d.ts +11 -2
- package/dist/vue/index.js +4 -1
- package/package.json +18 -5
- package/dist/GridMenus-DpmS1pzo.js +0 -1121
- package/dist/SvDateRangeInput-u4ibte8S.js +0 -196
- package/dist/SvDateTimePicker-DVFiDxUq.js +0 -765
- package/dist/SvField-ChCI-O2O.js +0 -146
- package/dist/SvGridCellEditor-DvsQyE9a.js +0 -550
- package/dist/SvGridChart-yK5Zv85y.js +0 -1199
- package/dist/SvGridChartPanel-B38_VjXM.js +0 -584
- package/dist/SvGridChartView-ScXTF6t-.js +0 -50
- package/dist/SvGridDropdown-DnAESFDu.js +0 -256
- package/dist/chart-uvs3sFJA.js +0 -1220
- package/dist/date-format-CPHqTHN6.js +0 -1127
- package/dist/shadow/GridMenus-DpmS1pzo.js +0 -1121
- package/dist/shadow/SvDateRangeInput-u4ibte8S.js +0 -196
- package/dist/shadow/SvDateTimePicker-DVFiDxUq.js +0 -765
- package/dist/shadow/SvField-ChCI-O2O.js +0 -146
- package/dist/shadow/SvGridCellEditor-DvsQyE9a.js +0 -550
- package/dist/shadow/SvGridChart-yK5Zv85y.js +0 -1199
- package/dist/shadow/SvGridChartPanel-B38_VjXM.js +0 -584
- package/dist/shadow/SvGridChartView-ScXTF6t-.js +0 -50
- package/dist/shadow/SvGridDropdown-DnAESFDu.js +0 -256
- package/dist/shadow/chart-uvs3sFJA.js +0 -1220
- package/dist/shadow/date-format-CPHqTHN6.js +0 -1127
package/dist/{svelte-virtualizer.svelte-DZ9UcyfT.js → svelte-virtualizer.svelte-CnGhFGDc.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Q as e, R as t, Z as n } from "./client-DEF0GRjE.js";
|
|
2
2
|
//#region ../grid/dist/sv-grid-scrollbar.js
|
|
3
3
|
var r = 16, i = 280, a = 50, o = "http://www.w3.org/2000/svg";
|
|
4
4
|
function s() {
|
|
@@ -343,44 +343,47 @@ function x(e, t) {
|
|
|
343
343
|
if (e.totalSize !== t.totalSize || e.startIndex !== t.startIndex || e.endIndex !== t.endIndex || e.viewportHeight !== t.viewportHeight || e.items.length !== t.items.length) return !1;
|
|
344
344
|
for (let n = 0; n < e.items.length; n += 1) {
|
|
345
345
|
let r = e.items[n], i = t.items[n];
|
|
346
|
-
if (r.index !== i.index || r.start !== i.start || r.size !== i.size) return !1;
|
|
346
|
+
if (r.index !== i.index || r.start !== i.start || r.size !== i.size || r.key !== i.key) return !1;
|
|
347
347
|
}
|
|
348
348
|
return !0;
|
|
349
349
|
}
|
|
350
|
-
function S(e, t
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
350
|
+
function S(e, t) {
|
|
351
|
+
return `virtual_slot_${e % t}`;
|
|
352
|
+
}
|
|
353
|
+
function C(e, t, n) {
|
|
354
|
+
let r = [], i = t - e + 1;
|
|
355
|
+
for (let a = e; a <= t; a += 1) {
|
|
356
|
+
let e = a * n;
|
|
354
357
|
r.push({
|
|
355
|
-
index:
|
|
356
|
-
start:
|
|
358
|
+
index: a,
|
|
359
|
+
start: e,
|
|
357
360
|
size: n,
|
|
358
|
-
end:
|
|
359
|
-
key:
|
|
361
|
+
end: e + n,
|
|
362
|
+
key: S(a, i)
|
|
360
363
|
});
|
|
361
364
|
}
|
|
362
365
|
return r;
|
|
363
366
|
}
|
|
364
|
-
function
|
|
367
|
+
function w(e, t, n, r) {
|
|
365
368
|
if (e <= 0) return [];
|
|
366
|
-
let i = Math.max(t, 1), a = Math.ceil(Math.max(n, 0) / i)
|
|
367
|
-
return
|
|
369
|
+
let i = Math.max(t, 1), a = Math.ceil(Math.max(n, 0) / i);
|
|
370
|
+
return C(0, Math.max(Math.min(a + Math.max(r, 0), e - 1), 0), i);
|
|
368
371
|
}
|
|
369
|
-
function
|
|
370
|
-
let r = [];
|
|
371
|
-
for (let
|
|
372
|
-
let
|
|
372
|
+
function T(e, t, n) {
|
|
373
|
+
let r = [], i = t - e + 1;
|
|
374
|
+
for (let a = e; a <= t; a += 1) {
|
|
375
|
+
let e = n[a] ?? 0, t = n[a + 1] ?? e;
|
|
373
376
|
r.push({
|
|
374
|
-
index:
|
|
375
|
-
start:
|
|
376
|
-
size:
|
|
377
|
-
end:
|
|
378
|
-
key:
|
|
377
|
+
index: a,
|
|
378
|
+
start: e,
|
|
379
|
+
size: t - e,
|
|
380
|
+
end: t,
|
|
381
|
+
key: S(a, i)
|
|
379
382
|
});
|
|
380
383
|
}
|
|
381
384
|
return r;
|
|
382
385
|
}
|
|
383
|
-
function
|
|
386
|
+
function E(e, t) {
|
|
384
387
|
let n = Math.max(e.count, 0), r = Math.max(e.overscan ?? 6, 0), i = Math.max(e.viewportHeight, 0);
|
|
385
388
|
if (typeof e.estimateSize == "function" && t) {
|
|
386
389
|
let a = t[n] ?? 0, o = Math.max(a - i, 0), s = y(e.scrollOffset ?? 0, 0, o), c = 0, l = n;
|
|
@@ -395,7 +398,7 @@ function T(e, t) {
|
|
|
395
398
|
}
|
|
396
399
|
let f = Math.max(c - 1, u), p = n === 0 ? 0 : y(u - r, 0, n - 1), m = n === 0 ? -1 : y(f + r, 0, n - 1);
|
|
397
400
|
return {
|
|
398
|
-
items: m >= p ?
|
|
401
|
+
items: m >= p ? T(p, m, t) : [],
|
|
399
402
|
totalSize: a,
|
|
400
403
|
startIndex: p,
|
|
401
404
|
endIndex: m,
|
|
@@ -405,7 +408,7 @@ function T(e, t) {
|
|
|
405
408
|
}
|
|
406
409
|
let a = Math.max(typeof e.estimateSize == "number" ? e.estimateSize : 1, 1), o = n * a, s = Math.max(o - i, 0), c = y(e.scrollOffset ?? 0, 0, s), l = Math.floor(c / a), u = Math.ceil(i / a), d = Math.min(l + u, Math.max(n - 1, 0)), f = n === 0 ? 0 : y(l - r, 0, n - 1), p = n === 0 ? -1 : y(d + r, 0, n - 1);
|
|
407
410
|
return {
|
|
408
|
-
items: p >= f ?
|
|
411
|
+
items: p >= f ? C(f, p, a) : [],
|
|
409
412
|
totalSize: o,
|
|
410
413
|
startIndex: f,
|
|
411
414
|
endIndex: p,
|
|
@@ -413,7 +416,7 @@ function T(e, t) {
|
|
|
413
416
|
viewportHeight: i
|
|
414
417
|
};
|
|
415
418
|
}
|
|
416
|
-
function
|
|
419
|
+
function D(e) {
|
|
417
420
|
let t = e, n = null;
|
|
418
421
|
function r() {
|
|
419
422
|
if (typeof t.estimateSize != "function") return null;
|
|
@@ -421,19 +424,19 @@ function E(e) {
|
|
|
421
424
|
if (n && n.fn === t.estimateSize && n.count === e) return n.offsets;
|
|
422
425
|
let r = t.estimateSize, i = Array(e + 1);
|
|
423
426
|
i[0] = 0;
|
|
424
|
-
for (let t = 0; t < e; t += 1) i[t + 1] = i[t] + Math.max(r(t),
|
|
427
|
+
for (let t = 0; t < e; t += 1) i[t + 1] = i[t] + Math.max(r(t), 0);
|
|
425
428
|
return n = {
|
|
426
429
|
fn: r,
|
|
427
430
|
count: e,
|
|
428
431
|
offsets: i
|
|
429
432
|
}, i;
|
|
430
433
|
}
|
|
431
|
-
let i =
|
|
434
|
+
let i = E(t, r()), a = /* @__PURE__ */ new Set();
|
|
432
435
|
function o() {
|
|
433
436
|
a.forEach((e) => e());
|
|
434
437
|
}
|
|
435
438
|
function s() {
|
|
436
|
-
let e =
|
|
439
|
+
let e = E(t, r());
|
|
437
440
|
x(i, e) || (i = e, o());
|
|
438
441
|
}
|
|
439
442
|
return {
|
|
@@ -504,13 +507,13 @@ function E(e) {
|
|
|
504
507
|
}
|
|
505
508
|
//#endregion
|
|
506
509
|
//#region ../grid/dist/virtualization/svelte-virtualizer.svelte.js
|
|
507
|
-
function
|
|
508
|
-
let i =
|
|
510
|
+
function O(r) {
|
|
511
|
+
let i = D(r), a = e(0);
|
|
509
512
|
return i.subscribe(() => {
|
|
510
|
-
|
|
513
|
+
n(a, t(a) + 1);
|
|
511
514
|
}), {
|
|
512
515
|
get version() {
|
|
513
|
-
return
|
|
516
|
+
return t(a);
|
|
514
517
|
},
|
|
515
518
|
setOptions: i.setOptions,
|
|
516
519
|
setScrollOffset: i.setScrollOffset,
|
|
@@ -524,4 +527,4 @@ function D(r) {
|
|
|
524
527
|
};
|
|
525
528
|
}
|
|
526
529
|
//#endregion
|
|
527
|
-
export { h as a, g as c, v as i,
|
|
530
|
+
export { h as a, g as c, v as i, w as n, f as o, D as r, m as s, O as t };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import '@svgrid/grid-wc/chart';
|
|
3
|
+
export type SvChartProps = {
|
|
4
|
+
spec?: unknown;
|
|
5
|
+
legend?: string;
|
|
6
|
+
interactive?: boolean;
|
|
7
|
+
dataLabels?: boolean;
|
|
8
|
+
formatValue?: unknown;
|
|
9
|
+
tooltipFormat?: unknown;
|
|
10
|
+
tooltipMode?: "shared" | "single";
|
|
11
|
+
tooltipPosition?: "follow" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
12
|
+
tooltipSticky?: boolean;
|
|
13
|
+
zoomable?: boolean;
|
|
14
|
+
zoom?: unknown;
|
|
15
|
+
rangePresets?: boolean;
|
|
16
|
+
syncGroup?: string;
|
|
17
|
+
contextMenu?: boolean;
|
|
18
|
+
animate?: boolean;
|
|
19
|
+
live?: boolean;
|
|
20
|
+
drillable?: boolean;
|
|
21
|
+
drillPath?: readonly unknown[];
|
|
22
|
+
selectable?: string;
|
|
23
|
+
selected?: readonly unknown[];
|
|
24
|
+
hoverHighlight?: boolean;
|
|
25
|
+
announce?: boolean;
|
|
26
|
+
describe?: boolean;
|
|
27
|
+
localeText?: unknown;
|
|
28
|
+
crosshairLabels?: boolean;
|
|
29
|
+
brush?: boolean;
|
|
30
|
+
brushHeight?: number;
|
|
31
|
+
toolbar?: boolean;
|
|
32
|
+
width?: number;
|
|
33
|
+
height?: number;
|
|
34
|
+
autosize?: boolean;
|
|
35
|
+
annotatable?: boolean;
|
|
36
|
+
drawable?: boolean;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* SvChart as a Vue component. Props are forwarded as DOM PROPERTIES through
|
|
40
|
+
* the `.`-prefixed vnode key, Vue's own way of forcing a property assignment.
|
|
41
|
+
*/
|
|
42
|
+
export declare const SvChart: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
43
|
+
[k: string]: {
|
|
44
|
+
type: PropType<unknown>;
|
|
45
|
+
required: boolean;
|
|
46
|
+
};
|
|
47
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectionchange" | "select" | "drill" | "zoom" | "hover" | "annotate" | "annotationremove" | "drawingschange")[], "selectionchange" | "select" | "drill" | "zoom" | "hover" | "annotate" | "annotationremove" | "drawingschange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
[k: string]: {
|
|
51
|
+
type: PropType<unknown>;
|
|
52
|
+
required: boolean;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{
|
|
55
|
+
onSelectionchange?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
onDrill?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
onZoom?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
onHover?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onAnnotate?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onAnnotationremove?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
onDrawingschange?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
export default SvChart;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent as e, h as t, onMounted as n, ref as r } from "vue";
|
|
2
|
+
import "@svgrid/grid-wc/chart";
|
|
3
|
+
//#region src/vue/chart.ts
|
|
4
|
+
var i = /* @__PURE__ */ "spec.legend.interactive.dataLabels.formatValue.tooltipFormat.tooltipMode.tooltipPosition.tooltipSticky.zoomable.zoom.rangePresets.syncGroup.contextMenu.animate.live.drillable.drillPath.selectable.selected.hoverHighlight.announce.describe.localeText.crosshairLabels.brush.brushHeight.toolbar.width.height.autosize.annotatable.drawable".split("."), a = [
|
|
5
|
+
"select",
|
|
6
|
+
"drill",
|
|
7
|
+
"zoom",
|
|
8
|
+
"selectionchange",
|
|
9
|
+
"hover",
|
|
10
|
+
"annotate",
|
|
11
|
+
"annotationremove",
|
|
12
|
+
"drawingschange"
|
|
13
|
+
], o = e({
|
|
14
|
+
name: "SvChart",
|
|
15
|
+
props: { ...Object.fromEntries(i.map((e) => [e, {
|
|
16
|
+
type: null,
|
|
17
|
+
required: !1
|
|
18
|
+
}])) },
|
|
19
|
+
emits: [...a],
|
|
20
|
+
setup(e, { emit: o, expose: s }) {
|
|
21
|
+
let c = r(null);
|
|
22
|
+
return n(() => {
|
|
23
|
+
let e = c.value;
|
|
24
|
+
if (e) for (let t of a) e.addEventListener(t, (e) => o(t, e.detail));
|
|
25
|
+
}), s({ get element() {
|
|
26
|
+
return c.value;
|
|
27
|
+
} }), () => {
|
|
28
|
+
let n = {
|
|
29
|
+
ref: c,
|
|
30
|
+
style: { display: "block" }
|
|
31
|
+
};
|
|
32
|
+
for (let t of i) {
|
|
33
|
+
let r = e[t];
|
|
34
|
+
r !== void 0 && (n["." + t] = r);
|
|
35
|
+
}
|
|
36
|
+
return t("sv-chart", n);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { o as SvChart, o as default };
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -61,8 +61,12 @@ export type SvGridProps = {
|
|
|
61
61
|
moveCells?: boolean;
|
|
62
62
|
enableRowHover?: boolean;
|
|
63
63
|
copyHeadersToClipboard?: boolean;
|
|
64
|
+
processCellForFill?: unknown;
|
|
64
65
|
processCellForClipboard?: unknown;
|
|
66
|
+
clipboardHtml?: unknown;
|
|
67
|
+
processCellFromClipboard?: unknown;
|
|
65
68
|
enableInlineEditing?: boolean;
|
|
69
|
+
editOnSecondClick?: boolean;
|
|
66
70
|
fullRowEditing?: boolean;
|
|
67
71
|
enableRowSummaries?: boolean;
|
|
68
72
|
summary?: boolean;
|
|
@@ -90,6 +94,8 @@ export type SvGridProps = {
|
|
|
90
94
|
serverGroup?: unknown;
|
|
91
95
|
serverFilterValues?: unknown;
|
|
92
96
|
pinnedTopRows?: readonly unknown[];
|
|
97
|
+
frozenRows?: number;
|
|
98
|
+
mergedCells?: readonly unknown[];
|
|
93
99
|
pinnedBottomRows?: readonly unknown[];
|
|
94
100
|
enableColumnReorder?: boolean;
|
|
95
101
|
columnOrder?: readonly unknown[];
|
|
@@ -106,7 +112,7 @@ export type SvGridProps = {
|
|
|
106
112
|
* Props are declared loosely (`null` type) and forwarded as DOM PROPERTIES
|
|
107
113
|
* through the `.`-prefixed vnode key, which is Vue's own way of forcing a
|
|
108
114
|
* property assignment - the same thing `:columns.prop` does in a template,
|
|
109
|
-
* applied to all
|
|
115
|
+
* applied to all 104 of them so a consumer never has to think about it.
|
|
110
116
|
*/
|
|
111
117
|
export declare const SvGrid: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
112
118
|
shadow: {
|
|
@@ -115,7 +121,7 @@ export declare const SvGrid: import("vue").DefineComponent<import("vue").Extract
|
|
|
115
121
|
};
|
|
116
122
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
117
123
|
[key: string]: any;
|
|
118
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("pivotmodechange" | "expandedchange" | "paginationchange" | "apiready" | "rowselectionchange" | "cellselectionchange" | "sortingchange" | "advancedfilterchange" | "filterschange" | "notechange" | "cellvaluechange" | "activecellchange" | "cellclick" | "rowclick" | "celldoubleclick" | "rowdoubleclick" | "scrollbottomreached" | "columnorderchange" | "rowdragend" | "selectionchange")[], "pivotmodechange" | "expandedchange" | "paginationchange" | "apiready" | "rowselectionchange" | "cellselectionchange" | "sortingchange" | "advancedfilterchange" | "filterschange" | "notechange" | "cellvaluechange" | "activecellchange" | "cellclick" | "rowclick" | "celldoubleclick" | "rowdoubleclick" | "scrollbottomreached" | "columnorderchange" | "rowdragend" | "selectionchange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
124
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("pivotmodechange" | "expandedchange" | "paginationchange" | "columnresize" | "rowresize" | "pasteclipboard" | "apiready" | "rowselectionchange" | "cellselectionchange" | "sortingchange" | "advancedfilterchange" | "filterschange" | "notechange" | "cellvaluechange" | "activecellchange" | "cellclick" | "rowclick" | "celldoubleclick" | "rowdoubleclick" | "scrollbottomreached" | "columnorderchange" | "rowdragend" | "selectionchange")[], "pivotmodechange" | "expandedchange" | "paginationchange" | "columnresize" | "rowresize" | "pasteclipboard" | "apiready" | "rowselectionchange" | "cellselectionchange" | "sortingchange" | "advancedfilterchange" | "filterschange" | "notechange" | "cellvaluechange" | "activecellchange" | "cellclick" | "rowclick" | "celldoubleclick" | "rowdoubleclick" | "scrollbottomreached" | "columnorderchange" | "rowdragend" | "selectionchange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
119
125
|
shadow: {
|
|
120
126
|
type: BooleanConstructor;
|
|
121
127
|
default: boolean;
|
|
@@ -125,6 +131,9 @@ export declare const SvGrid: import("vue").DefineComponent<import("vue").Extract
|
|
|
125
131
|
onPivotmodechange?: ((...args: any[]) => any) | undefined;
|
|
126
132
|
onExpandedchange?: ((...args: any[]) => any) | undefined;
|
|
127
133
|
onPaginationchange?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
onColumnresize?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
onRowresize?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
onPasteclipboard?: ((...args: any[]) => any) | undefined;
|
|
128
137
|
onApiready?: ((...args: any[]) => any) | undefined;
|
|
129
138
|
onRowselectionchange?: ((...args: any[]) => any) | undefined;
|
|
130
139
|
onCellselectionchange?: ((...args: any[]) => any) | undefined;
|
package/dist/vue/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { defineComponent as e, h as t, onMounted as n, ref as r, watchEffect as i } from "vue";
|
|
2
2
|
import "@svgrid/grid-wc";
|
|
3
3
|
//#region src/vue/index.ts
|
|
4
|
-
var a = /* @__PURE__ */ "data.columns.board.scheduler.chart.pivot.pivotMode.contextMenu.selectionBar.features.sortable.filterable.editable.treeData.groupable.groupBy.expanded.groupFooters.grandTotalRow.groupDisplayMode.autoGroupColumnHeader.autoGroupColumnWidth.pageable.loading.loadingOverlay.loadingSkeletonRows.error.emptyMessage.localization.showGlobalFilter.showColumnFilters.filterMode.showGroupingControls.showRowSelection.showPagination.pageSize.pageSizeOptions.paginationPosition.externalPagination.rowCount.pageIndex.virtualization.rowHeight.autoRowHeight.rowResize.headerHeight.overscan.containerHeight.columnVirtualization.columnOverscan.columnWidth.initialColumnPinning.fitColumns.columnResize.responsive.showFilterMenu.showFilterRow.enableCellSelection.moveCells.enableRowHover.copyHeadersToClipboard.processCellForClipboard.enableInlineEditing.fullRowEditing.enableRowSummaries.summary.statusBar.toolPanel.charting.columnMenuTabs.toolPanelDefaultOpen.toolPanelDefaultTab.selectionMode.showRowNumbers.zebraRows.rowNumberWidth.externalSort.initialSorting.initialAdvancedFilter.externalFilter.getRowId.rowClass.notes.editableComments.conditionalFormats.conditionalStatScope.isDetailRow.serverGroup.serverFilterValues.pinnedTopRows.pinnedBottomRows.enableColumnReorder.columnOrder.inferColumnTypes.rowDragManaged.rowDragGroup.alignedGridGroup.filterLocale".split("."), o = [
|
|
4
|
+
var a = /* @__PURE__ */ "data.columns.board.scheduler.chart.pivot.pivotMode.contextMenu.selectionBar.features.sortable.filterable.editable.treeData.groupable.groupBy.expanded.groupFooters.grandTotalRow.groupDisplayMode.autoGroupColumnHeader.autoGroupColumnWidth.pageable.loading.loadingOverlay.loadingSkeletonRows.error.emptyMessage.localization.showGlobalFilter.showColumnFilters.filterMode.showGroupingControls.showRowSelection.showPagination.pageSize.pageSizeOptions.paginationPosition.externalPagination.rowCount.pageIndex.virtualization.rowHeight.autoRowHeight.rowResize.headerHeight.overscan.containerHeight.columnVirtualization.columnOverscan.columnWidth.initialColumnPinning.fitColumns.columnResize.responsive.showFilterMenu.showFilterRow.enableCellSelection.moveCells.enableRowHover.copyHeadersToClipboard.processCellForFill.processCellForClipboard.clipboardHtml.processCellFromClipboard.enableInlineEditing.editOnSecondClick.fullRowEditing.enableRowSummaries.summary.statusBar.toolPanel.charting.columnMenuTabs.toolPanelDefaultOpen.toolPanelDefaultTab.selectionMode.showRowNumbers.zebraRows.rowNumberWidth.externalSort.initialSorting.initialAdvancedFilter.externalFilter.getRowId.rowClass.notes.editableComments.conditionalFormats.conditionalStatScope.isDetailRow.serverGroup.serverFilterValues.pinnedTopRows.frozenRows.mergedCells.pinnedBottomRows.enableColumnReorder.columnOrder.inferColumnTypes.rowDragManaged.rowDragGroup.alignedGridGroup.filterLocale".split("."), o = [
|
|
5
5
|
"pivotmodechange",
|
|
6
6
|
"expandedchange",
|
|
7
7
|
"paginationchange",
|
|
8
|
+
"columnresize",
|
|
9
|
+
"rowresize",
|
|
10
|
+
"pasteclipboard",
|
|
8
11
|
"apiready",
|
|
9
12
|
"rowselectionchange",
|
|
10
13
|
"cellselectionchange",
|
package/package.json
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"type": "commercial",
|
|
5
5
|
"url": "https://svgrid.com/pricing"
|
|
6
6
|
},
|
|
7
|
-
"version": "3.0.
|
|
8
|
-
"description": "SvGrid as a framework-agnostic web component (<sv-grid> custom element, plus <sv-grid-shadow> for an open shadow root). Drop into React, Vue, Angular, or plain HTML - no build step required.",
|
|
7
|
+
"version": "3.0.2",
|
|
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",
|
|
11
11
|
"author": "jQWidgets Ltd",
|
|
@@ -63,12 +63,25 @@
|
|
|
63
63
|
"types": "./dist/vue/index.d.ts",
|
|
64
64
|
"import": "./dist/vue/index.js"
|
|
65
65
|
},
|
|
66
|
+
"./chart": {
|
|
67
|
+
"types": "./dist/chart/sv-chart-element.d.ts",
|
|
68
|
+
"import": "./dist/chart/sv-chart-element.js"
|
|
69
|
+
},
|
|
70
|
+
"./react/chart": {
|
|
71
|
+
"types": "./dist/react/chart.d.ts",
|
|
72
|
+
"import": "./dist/react/chart.js"
|
|
73
|
+
},
|
|
74
|
+
"./vue/chart": {
|
|
75
|
+
"types": "./dist/vue/chart.d.ts",
|
|
76
|
+
"import": "./dist/vue/chart.js"
|
|
77
|
+
},
|
|
66
78
|
"./angular": {
|
|
67
79
|
"types": "./dist/angular/types/svgrid-grid-wc-angular.d.ts",
|
|
68
80
|
"import": "./dist/angular/fesm2022/svgrid-grid-wc-angular.mjs"
|
|
69
81
|
},
|
|
70
82
|
"./dist/sv-grid-element.js": "./dist/sv-grid-element.js",
|
|
71
|
-
"./dist/shadow/sv-grid-shadow-element.js": "./dist/shadow/sv-grid-shadow-element.js"
|
|
83
|
+
"./dist/shadow/sv-grid-shadow-element.js": "./dist/shadow/sv-grid-shadow-element.js",
|
|
84
|
+
"./dist/chart/sv-chart-element.js": "./dist/chart/sv-chart-element.js"
|
|
72
85
|
},
|
|
73
86
|
"unpkg": "./dist/sv-grid-element.js",
|
|
74
87
|
"jsdelivr": "./dist/sv-grid-element.js",
|
|
@@ -99,8 +112,8 @@
|
|
|
99
112
|
"vite": "^8.2.1",
|
|
100
113
|
"vue": "^3.5.42",
|
|
101
114
|
"vue-tsc": "^3.3.11",
|
|
102
|
-
"@svgrid/enterprise": "^3.0.
|
|
103
|
-
"@svgrid/grid": "^3.0.
|
|
115
|
+
"@svgrid/enterprise": "^3.0.2",
|
|
116
|
+
"@svgrid/grid": "^3.0.4"
|
|
104
117
|
},
|
|
105
118
|
"types": "./dist/sv-grid-element.d.ts",
|
|
106
119
|
"peerDependencies": {
|