gridjs-spreadsheet 26.3.0 → 26.4.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gridjs-spreadsheet",
3
- "version": "26.3.0",
3
+ "version": "26.4.0",
4
4
  "description": "this is the client side script for GridJs which is a lightweight, scalable, and customizable toolkit that provides cross-platform web applications, enables convenient development for editing or viewing Excel/Spreadsheet files, offers simple deployment, and provides easy-to-use APIs based on JSON format.",
5
5
  "types": "index.d.ts",
6
6
  "main": "xspreadsheet.js",
package/preview.gif ADDED
Binary file
package/readme.md CHANGED
@@ -163,11 +163,11 @@ const s = new Spreadsheet("#gridjs-demo")
163
163
 
164
164
  ## Bind events
165
165
  ```javascript
166
- //single selection
166
+ // single selection
167
167
  xs.on('cell-selected', (cell, ri, ci) => {});
168
- //range selection
168
+ // range selection
169
169
  xs.on('cells-selected', (cell, { sri, sci, eri, eci }) => {});
170
- //shape/image selection
170
+ // shape/image selection
171
171
  xs.on('object-selected', (obj) => { console.log('obj id:', obj.id, ', type: ', obj.type); })
172
172
  // edited on cell
173
173
  xs.on('cell-edited', (text, ri, ci) => {});
@@ -352,7 +352,7 @@ v25.8:
352
352
 
353
353
  v25.9:
354
354
 
355
- - Support to render pattern style for cell
355
+ - Support to render pattern style for cell
356
356
 
357
357
  v25.10:
358
358
 
@@ -378,10 +378,13 @@ v26.2:
378
378
 
379
379
  - Improve client performance for large rows
380
380
 
381
- v26.2:
381
+ v26.3:
382
382
 
383
383
  - Improve filter/validations/charts
384
384
 
385
+ v26.4:
386
+
387
+ - Add redaction features
385
388
 
386
389
  ## License
387
390
 
package/xspreadsheet.css CHANGED
@@ -1671,7 +1671,7 @@ form fieldset select {
1671
1671
  display: inline-block;
1672
1672
  }
1673
1673
  .x-spreadsheet-icon .x-spreadsheet-icon-img {
1674
- background-image: url(04b2e68c4fe0eea3f5308869edc690fd.svg);
1674
+ background-image: url(a08275ef8caf83cc1c2eae91f17663e8.svg);
1675
1675
  position: absolute;
1676
1676
  width: 262px;
1677
1677
  height: 444px;
@@ -1773,6 +1773,10 @@ form fieldset select {
1773
1773
  left: -90px;
1774
1774
  top: -126px;
1775
1775
  }
1776
+ .x-spreadsheet-icon .x-spreadsheet-icon-img.redactionDel {
1777
+ left: -108px;
1778
+ top: -126px;
1779
+ }
1776
1780
  .x-spreadsheet-icon .x-spreadsheet-icon-img.autofilter {
1777
1781
  left: -90px;
1778
1782
  top: -18px;