@svgrid/grid-wc 3.0.47 → 3.0.49

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.
Files changed (31) hide show
  1. package/dist/{GridMenus-Da8XGbc6.js → GridMenus-ac4ROLfR.js} +3 -3
  2. package/dist/{SvChartMenu-B6kpmwUv.js → SvChartMenu-CztABicV.js} +2 -2
  3. package/dist/{SvDateTimePicker-BCxhFb5c.js → SvDateTimePicker-8nq26l0z.js} +2 -2
  4. package/dist/{SvGridCellEditor-BUdVD7xM.js → SvGridCellEditor-3jq3ec38.js} +1 -1
  5. package/dist/{SvGridChart-DkKI8-bj.js → SvGridChart-CHMHUQto.js} +5 -5
  6. package/dist/{SvGridChartBuilder-BCQ3W8TY.js → SvGridChartBuilder-BMPDRY0A.js} +5 -5
  7. package/dist/{SvGridChartPanel-uqul044E.js → SvGridChartPanel-Bk_xFAwN.js} +8 -8
  8. package/dist/{SvGridChartView-DWxEFzdM.js → SvGridChartView-D0Mk0N4Q.js} +3 -3
  9. package/dist/chart/{SvChartMenu-NxEyX5kU.js → SvChartMenu-C7EDkoh8.js} +98 -91
  10. package/dist/chart/sv-chart-element.js +25 -21
  11. package/dist/{chart-Cwv61lx6.js → chart-CVOJXX1_.js} +24 -20
  12. package/dist/{chart-export-pdf-DyuVs1gO.js → chart-export-pdf-COD2Ugv7.js} +1 -1
  13. package/dist/{chart-summary-D02rGO0c.js → chart-summary-B52586F9.js} +1 -1
  14. package/dist/dismissable-CuL0k6PX.js +52 -0
  15. package/dist/shadow/{GridMenus-RAp-E3hp.js → GridMenus-hIMzQt3E.js} +3 -3
  16. package/dist/shadow/{SvChartMenu-C74rWwjU.js → SvChartMenu-CFlDiKdq.js} +2 -2
  17. package/dist/shadow/{SvDateTimePicker-y9jPLR19.js → SvDateTimePicker-J65ZmtSw.js} +2 -2
  18. package/dist/shadow/{SvGridCellEditor-CzeBp9lp.js → SvGridCellEditor-DA5l3ENL.js} +1 -1
  19. package/dist/shadow/{SvGridChart-zTsB6F3Y.js → SvGridChart-DgCuTYRq.js} +5 -5
  20. package/dist/shadow/{SvGridChartBuilder-VUKgOcp7.js → SvGridChartBuilder-BY64S-Zw.js} +5 -5
  21. package/dist/shadow/{SvGridChartPanel-DkjEUB7t.js → SvGridChartPanel-CuRtOxSk.js} +8 -8
  22. package/dist/shadow/{SvGridChartView-DQmJahyT.js → SvGridChartView-DwchQygE.js} +3 -3
  23. package/dist/shadow/{chart-Cwv61lx6.js → chart-CVOJXX1_.js} +24 -20
  24. package/dist/shadow/{chart-export-pdf-BZy6f5QB.js → chart-export-pdf-D9OfzqwS.js} +1 -1
  25. package/dist/shadow/{chart-summary-D02rGO0c.js → chart-summary-B52586F9.js} +1 -1
  26. package/dist/shadow/dismissable-CuL0k6PX.js +52 -0
  27. package/dist/shadow/sv-grid-shadow-element.js +6 -6
  28. package/dist/sv-grid-element.js +6 -6
  29. package/package.json +3 -3
  30. package/dist/dismissable-CQ6XFXsk.js +0 -45
  31. package/dist/shadow/dismissable-CQ6XFXsk.js +0 -45
@@ -6076,7 +6076,7 @@ function ii(t, n) {
6076
6076
  }
6077
6077
  let Sa = I(() => xa(B(q).find((e) => e.id === B(aa)))), Ca = e(null);
6078
6078
  b(() => {
6079
- B(oi) && !B(Ca) && import("./chart-Cwv61lx6.js").then((e) => e.r).then((e) => h(Ca, e, !0));
6079
+ B(oi) && !B(Ca) && import("./chart-CVOJXX1_.js").then((e) => e.r).then((e) => h(Ca, e, !0));
6080
6080
  });
6081
6081
  let wa = I(() => B($) === "candlestick" || B($) === "ohlc"), Ta = I(() => B(Ca) ? B(Ca).guessOhlcColumns(B(ra).measures, B(Q).ohlc) : {
6082
6082
  open: null,
@@ -9069,7 +9069,7 @@ function ys(o, s) {
9069
9069
  }), t(e, o);
9070
9070
  }, j = ii(le(s, gi), d), F = j.props, V = I(() => j.messages), pe = I(() => F.board), me = I(() => F.gallery), he = I(() => F.scheduler), ge = I(() => F.gantt), _e = I(() => F.chart), ye = e(null), xe = e(null);
9071
9071
  b(() => {
9072
- B(_e) && !B(xe) && import("./SvGridChartView-DQmJahyT.js").then((e) => h(xe, e.default, !0));
9072
+ B(_e) && !B(xe) && import("./SvGridChartView-DwchQygE.js").then((e) => h(xe, e.default, !0));
9073
9073
  });
9074
9074
  let Se = e(null);
9075
9075
  b(() => {
@@ -9089,13 +9089,13 @@ function ys(o, s) {
9089
9089
  });
9090
9090
  let Re = e(null), Be = e(null);
9091
9091
  b(() => {
9092
- !B(_t) && !j.filterMenuFor || B(Be) || j.allColumns.some((e) => Me(e.columnDef)) && import("./SvDateTimePicker-y9jPLR19.js").then((e) => h(Be, e.default, !0));
9092
+ !B(_t) && !j.filterMenuFor || B(Be) || j.allColumns.some((e) => Me(e.columnDef)) && import("./SvDateTimePicker-J65ZmtSw.js").then((e) => h(Be, e.default, !0));
9093
9093
  });
9094
9094
  let He = e(null);
9095
9095
  b(() => {
9096
9096
  B(_t) && (B(He) || j.allColumns.some((e) => Me(e.columnDef) && (j.filterMenuValues[e.id]?.operator ?? j.defaultOperatorFor(e)) === "between") && import("./SvDateRangeInput-9Wq4E64y.js").then((e) => h(He, e.default, !0)));
9097
9097
  }), b(() => {
9098
- j.chartingEnabled && j.chartPanelOpen && !B(ye) && import("./SvGridChartPanel-DkjEUB7t.js").then((e) => h(ye, e.default, !0));
9098
+ j.chartingEnabled && j.chartPanelOpen && !B(ye) && import("./SvGridChartPanel-CuRtOxSk.js").then((e) => h(ye, e.default, !0));
9099
9099
  });
9100
9100
  let Ue = I(() => {
9101
9101
  if (!j.chartingEnabled || !j.chartPanelOpen || j.chartFloating) return "";
@@ -9103,9 +9103,9 @@ function ys(o, s) {
9103
9103
  return `${r}:${n}px; transition:${r} 180ms cubic-bezier(0.33,1,0.68,1);`;
9104
9104
  }), We = e(null);
9105
9105
  b(() => {
9106
- B(We) || (j.editingEnabled || j.editingCell || j.fullRowEdit) && import("./SvGridCellEditor-CzeBp9lp.js").then((e) => h(We, e.default, !0));
9106
+ B(We) || (j.editingEnabled || j.editingCell || j.fullRowEdit) && import("./SvGridCellEditor-DA5l3ENL.js").then((e) => h(We, e.default, !0));
9107
9107
  }), b(() => {
9108
- (j.tooltip || j.columnMenuFor || j.contextMenuFor || j.filterMenuFor || j.operatorMenuFor || j.inSuggestFor || j.chooseColumnsPos) && !B(Re) && import("./GridMenus-RAp-E3hp.js").then((e) => h(Re, e.default, !0));
9108
+ (j.tooltip || j.columnMenuFor || j.contextMenuFor || j.filterMenuFor || j.operatorMenuFor || j.inSuggestFor || j.chooseColumnsPos) && !B(Re) && import("./GridMenus-hIMzQt3E.js").then((e) => h(Re, e.default, !0));
9109
9109
  });
9110
9110
  let Ge = I(() => !!j.pivotConfig && j.pivotModeOn), Ke = I(() => j.pivotResult), qe = I(() => j.allRowsBeforePagination.filter((e) => !j.isGroupRow(e)).map((e) => e.original)), Je = I(() => j.filterRowValues), Ye = I(() => j.filterMenuValues), Xe = I(() => j.showTooltipFor), Ze = I(() => j.hideTooltip), Qe = I(() => j.findHits), $e = I(() => new Set(B(Qe).map((e) => `${e.rowIndex}:${e.columnId}`))), et = I(() => {
9111
9111
  let e = B(Qe)[j.findHitIndex];
@@ -6076,7 +6076,7 @@ function ii(t, n) {
6076
6076
  }
6077
6077
  let Sa = I(() => xa(B(q).find((e) => e.id === B(aa)))), Ca = e(null);
6078
6078
  b(() => {
6079
- B(oi) && !B(Ca) && import("./chart-Cwv61lx6.js").then((e) => e.r).then((e) => h(Ca, e, !0));
6079
+ B(oi) && !B(Ca) && import("./chart-CVOJXX1_.js").then((e) => e.r).then((e) => h(Ca, e, !0));
6080
6080
  });
6081
6081
  let wa = I(() => B($) === "candlestick" || B($) === "ohlc"), Ta = I(() => B(Ca) ? B(Ca).guessOhlcColumns(B(ra).measures, B(Q).ohlc) : {
6082
6082
  open: null,
@@ -9069,7 +9069,7 @@ function ys(o, s) {
9069
9069
  }), t(e, o);
9070
9070
  }, j = ii(le(s, gi), d), F = j.props, V = I(() => j.messages), pe = I(() => F.board), me = I(() => F.gallery), he = I(() => F.scheduler), ge = I(() => F.gantt), _e = I(() => F.chart), ye = e(null), xe = e(null);
9071
9071
  b(() => {
9072
- B(_e) && !B(xe) && import("./SvGridChartView-DWxEFzdM.js").then((e) => h(xe, e.default, !0));
9072
+ B(_e) && !B(xe) && import("./SvGridChartView-D0Mk0N4Q.js").then((e) => h(xe, e.default, !0));
9073
9073
  });
9074
9074
  let Se = e(null);
9075
9075
  b(() => {
@@ -9089,13 +9089,13 @@ function ys(o, s) {
9089
9089
  });
9090
9090
  let Re = e(null), Be = e(null);
9091
9091
  b(() => {
9092
- !B(_t) && !j.filterMenuFor || B(Be) || j.allColumns.some((e) => Me(e.columnDef)) && import("./SvDateTimePicker-BCxhFb5c.js").then((e) => h(Be, e.default, !0));
9092
+ !B(_t) && !j.filterMenuFor || B(Be) || j.allColumns.some((e) => Me(e.columnDef)) && import("./SvDateTimePicker-8nq26l0z.js").then((e) => h(Be, e.default, !0));
9093
9093
  });
9094
9094
  let He = e(null);
9095
9095
  b(() => {
9096
9096
  B(_t) && (B(He) || j.allColumns.some((e) => Me(e.columnDef) && (j.filterMenuValues[e.id]?.operator ?? j.defaultOperatorFor(e)) === "between") && import("./SvDateRangeInput-ByR-LFgf.js").then((e) => h(He, e.default, !0)));
9097
9097
  }), b(() => {
9098
- j.chartingEnabled && j.chartPanelOpen && !B(ye) && import("./SvGridChartPanel-uqul044E.js").then((e) => h(ye, e.default, !0));
9098
+ j.chartingEnabled && j.chartPanelOpen && !B(ye) && import("./SvGridChartPanel-Bk_xFAwN.js").then((e) => h(ye, e.default, !0));
9099
9099
  });
9100
9100
  let Ue = I(() => {
9101
9101
  if (!j.chartingEnabled || !j.chartPanelOpen || j.chartFloating) return "";
@@ -9103,9 +9103,9 @@ function ys(o, s) {
9103
9103
  return `${r}:${n}px; transition:${r} 180ms cubic-bezier(0.33,1,0.68,1);`;
9104
9104
  }), We = e(null);
9105
9105
  b(() => {
9106
- B(We) || (j.editingEnabled || j.editingCell || j.fullRowEdit) && import("./SvGridCellEditor-BUdVD7xM.js").then((e) => h(We, e.default, !0));
9106
+ B(We) || (j.editingEnabled || j.editingCell || j.fullRowEdit) && import("./SvGridCellEditor-3jq3ec38.js").then((e) => h(We, e.default, !0));
9107
9107
  }), b(() => {
9108
- (j.tooltip || j.columnMenuFor || j.contextMenuFor || j.filterMenuFor || j.operatorMenuFor || j.inSuggestFor || j.chooseColumnsPos) && !B(Re) && import("./GridMenus-Da8XGbc6.js").then((e) => h(Re, e.default, !0));
9108
+ (j.tooltip || j.columnMenuFor || j.contextMenuFor || j.filterMenuFor || j.operatorMenuFor || j.inSuggestFor || j.chooseColumnsPos) && !B(Re) && import("./GridMenus-ac4ROLfR.js").then((e) => h(Re, e.default, !0));
9109
9109
  });
9110
9110
  let Ge = I(() => !!j.pivotConfig && j.pivotModeOn), Ke = I(() => j.pivotResult), qe = I(() => j.allRowsBeforePagination.filter((e) => !j.isGroupRow(e)).map((e) => e.original)), Je = I(() => j.filterRowValues), Ye = I(() => j.filterMenuValues), Xe = I(() => j.showTooltipFor), Ze = I(() => j.hideTooltip), Qe = I(() => j.findHits), $e = I(() => new Set(B(Qe).map((e) => `${e.rowIndex}:${e.columnId}`))), et = I(() => {
9111
9111
  let e = B(Qe)[j.findHitIndex];
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.47",
7
+ "version": "3.0.49",
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/enterprise": "^3.1.38",
116
- "@svgrid/grid": "^3.0.34"
115
+ "@svgrid/enterprise": "^3.1.40",
116
+ "@svgrid/grid": "^3.0.35"
117
117
  },
118
118
  "types": "./dist/sv-grid-element.d.ts",
119
119
  "peerDependencies": {
@@ -1,45 +0,0 @@
1
- //#region ../grid/dist/a11y/dismissable.js
2
- function e(e, t) {
3
- return t ? (Array.isArray(e) ? e : [e]).some((e) => e != null && e.contains(t)) : !1;
4
- }
5
- var t = [], n = !1;
6
- function r() {
7
- n || typeof document > "u" || (n = !0, document.addEventListener("keydown", (e) => {
8
- if (e.key !== "Escape") return;
9
- let n = t[t.length - 1];
10
- n?.closeOnEscape && (e.stopPropagation(), n.onDismiss("escape"));
11
- }, !0), document.addEventListener("pointerdown", (n) => {
12
- let r = t[t.length - 1];
13
- r?.closeOnOutside && (e(r.element(), n.target) || r.onDismiss("outside"));
14
- }, !0));
15
- }
16
- function i(e) {
17
- let n = {
18
- element: e.element,
19
- onDismiss: e.onDismiss,
20
- closeOnEscape: e.closeOnEscape ?? !0,
21
- closeOnOutside: e.closeOnOutside ?? !0
22
- };
23
- return {
24
- activate() {
25
- r(), t.includes(n) || t.push(n);
26
- },
27
- release() {
28
- let e = t.indexOf(n);
29
- e >= 0 && t.splice(e, 1);
30
- }
31
- };
32
- }
33
- function a(t, n) {
34
- if (typeof window > "u") return () => {};
35
- let r = (r) => {
36
- e(t(), r.target) || n();
37
- }, i = !1, a = requestAnimationFrame(() => {
38
- a = null, i = !0, window.addEventListener("scroll", r, !0);
39
- });
40
- return () => {
41
- a !== null && cancelAnimationFrame(a), a = null, i && window.removeEventListener("scroll", r, !0), i = !1;
42
- };
43
- }
44
- //#endregion
45
- export { a as n, i as t };
@@ -1,45 +0,0 @@
1
- //#region ../grid/dist/a11y/dismissable.js
2
- function e(e, t) {
3
- return t ? (Array.isArray(e) ? e : [e]).some((e) => e != null && e.contains(t)) : !1;
4
- }
5
- var t = [], n = !1;
6
- function r() {
7
- n || typeof document > "u" || (n = !0, document.addEventListener("keydown", (e) => {
8
- if (e.key !== "Escape") return;
9
- let n = t[t.length - 1];
10
- n?.closeOnEscape && (e.stopPropagation(), n.onDismiss("escape"));
11
- }, !0), document.addEventListener("pointerdown", (n) => {
12
- let r = t[t.length - 1];
13
- r?.closeOnOutside && (e(r.element(), n.target) || r.onDismiss("outside"));
14
- }, !0));
15
- }
16
- function i(e) {
17
- let n = {
18
- element: e.element,
19
- onDismiss: e.onDismiss,
20
- closeOnEscape: e.closeOnEscape ?? !0,
21
- closeOnOutside: e.closeOnOutside ?? !0
22
- };
23
- return {
24
- activate() {
25
- r(), t.includes(n) || t.push(n);
26
- },
27
- release() {
28
- let e = t.indexOf(n);
29
- e >= 0 && t.splice(e, 1);
30
- }
31
- };
32
- }
33
- function a(t, n) {
34
- if (typeof window > "u") return () => {};
35
- let r = (r) => {
36
- e(t(), r.target) || n();
37
- }, i = !1, a = requestAnimationFrame(() => {
38
- a = null, i = !0, window.addEventListener("scroll", r, !0);
39
- });
40
- return () => {
41
- a !== null && cancelAnimationFrame(a), a = null, i && window.removeEventListener("scroll", r, !0), i = !1;
42
- };
43
- }
44
- //#endregion
45
- export { a as n, i as t };