@svgrid/grid-wc 3.0.4 → 3.0.5

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 (29) hide show
  1. package/dist/{GridMenus-DMkf7UMn.js → GridMenus-Nf04Zcl5.js} +2 -2
  2. package/dist/{SvGrid.helpers-BdVDtjUm.js → SvGrid.helpers-zBkDTryR.js} +36 -37
  3. package/dist/{shadow/SvGridCellEditor-DhXEIlyE.js → SvGridCellEditor-BTbDEgpe.js} +1 -1
  4. package/dist/{shadow/SvGridChart-BMdCbrqb.js → SvGridChart-BSNYAW_W.js} +4 -4
  5. package/dist/{SvGridChartBuilder-Chp_MD1B.js → SvGridChartBuilder-DDl_Bv8k.js} +3 -3
  6. package/dist/{SvGridChartPanel-BIV2O2Lp.js → SvGridChartPanel-DkIR-3rA.js} +6 -6
  7. package/dist/{SvGridChartView-DyhkumD-.js → SvGridChartView-B4pqLWnm.js} +2 -2
  8. package/dist/{shadow/cell-formatting-CBfgahv1.js → cell-formatting-hb3vzxhJ.js} +27 -5
  9. package/dist/{shadow/chart-export-pdf-9OCvhzr0.js → chart-export-pdf-hJVuR7_z.js} +1 -1
  10. package/dist/{chart-D_LKA1fr.js → chart-nwSa4jQe.js} +1 -1
  11. package/dist/{shadow/chart-summary-v3Lhe8YD.js → chart-summary-BL4WDgEu.js} +1 -1
  12. package/dist/{export-format-CAi1mp-1.js → export-format-CXEUNl8j.js} +60 -65
  13. package/dist/shadow/{GridMenus-DMkf7UMn.js → GridMenus-Nf04Zcl5.js} +2 -2
  14. package/dist/shadow/{SvGrid.helpers-BdVDtjUm.js → SvGrid.helpers-zBkDTryR.js} +36 -37
  15. package/dist/{SvGridCellEditor-DhXEIlyE.js → shadow/SvGridCellEditor-BTbDEgpe.js} +1 -1
  16. package/dist/{SvGridChart-BMdCbrqb.js → shadow/SvGridChart-BSNYAW_W.js} +4 -4
  17. package/dist/shadow/{SvGridChartBuilder-Chp_MD1B.js → SvGridChartBuilder-DDl_Bv8k.js} +3 -3
  18. package/dist/shadow/{SvGridChartPanel-BIV2O2Lp.js → SvGridChartPanel-DkIR-3rA.js} +6 -6
  19. package/dist/shadow/{SvGridChartView-DyhkumD-.js → SvGridChartView-B4pqLWnm.js} +2 -2
  20. package/dist/{cell-formatting-CBfgahv1.js → shadow/cell-formatting-hb3vzxhJ.js} +27 -5
  21. package/dist/{chart-export-pdf-9OCvhzr0.js → shadow/chart-export-pdf-hJVuR7_z.js} +1 -1
  22. package/dist/shadow/{chart-D_LKA1fr.js → chart-nwSa4jQe.js} +1 -1
  23. package/dist/{chart-summary-v3Lhe8YD.js → shadow/chart-summary-BL4WDgEu.js} +1 -1
  24. package/dist/shadow/{export-format-mnW_rVBZ.js → export-format-DQtIyOvV.js} +60 -65
  25. package/dist/shadow/sv-grid-shadow-element.js +1960 -1911
  26. package/dist/shadow/{svelte-virtualizer.svelte-CnGhFGDc.js → svelte-virtualizer.svelte-CMX34S17.js} +7 -3
  27. package/dist/sv-grid-element.js +1945 -1896
  28. package/dist/{svelte-virtualizer.svelte-CnGhFGDc.js → svelte-virtualizer.svelte-CMX34S17.js} +7 -3
  29. package/package.json +3 -3
@@ -441,11 +441,14 @@ function D(e) {
441
441
  }
442
442
  return {
443
443
  setOptions(e) {
444
- let n = {
444
+ let r = {
445
445
  ...t,
446
446
  ...e
447
- };
448
- b(t, n) || (t = n, s());
447
+ }, i = typeof e.estimateSize == "function";
448
+ !i && b(t, r) || (t = r, i && (n = null), s());
449
+ },
450
+ measure() {
451
+ n = null, s();
449
452
  },
450
453
  setScrollOffset(e) {
451
454
  (t.scrollOffset ?? 0) !== e && (t = {
@@ -516,6 +519,7 @@ function O(r) {
516
519
  return t(a);
517
520
  },
518
521
  setOptions: i.setOptions,
522
+ measure: i.measure,
519
523
  setScrollOffset: i.setScrollOffset,
520
524
  setViewportHeight: i.setViewportHeight,
521
525
  scrollToIndex: i.scrollToIndex,
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.4",
7
+ "version": "3.0.5",
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.0",
116
- "@svgrid/grid": "^3.0.6"
115
+ "@svgrid/enterprise": "^3.1.1",
116
+ "@svgrid/grid": "^3.0.7"
117
117
  },
118
118
  "types": "./dist/sv-grid-element.d.ts",
119
119
  "peerDependencies": {