jspreadsheet 11.0.17 → 11.0.18
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/index.d.ts +9 -9
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -645,18 +645,18 @@ declare namespace jspreadsheet {
|
|
|
645
645
|
|
|
646
646
|
interface Editor {
|
|
647
647
|
/** createCell When a new cell is created. */
|
|
648
|
-
createCell?: (cell:
|
|
648
|
+
createCell?: (cell: HTMLTableCellElement, value: any, x: number, y: number, instance: worksheetInstance, options: Column | Cell) => any;
|
|
649
649
|
/** updateCell When the cell value changes. */
|
|
650
|
-
updateCell?: (cell:
|
|
650
|
+
updateCell?: (cell: HTMLTableCellElement, value: any, x: number, y: number, instance: worksheetInstance, options: Column | Cell) => any;
|
|
651
651
|
/** openEditor When the user starts the edition of a cell. */
|
|
652
|
-
openEditor?: (cell:
|
|
652
|
+
openEditor?: (cell: HTMLTableCellElement, value: any, x: number, y: number, instance: worksheetInstance, options: Column | Cell) => any;
|
|
653
653
|
/** closeEditor When the user finalizes the edition of a cell. */
|
|
654
|
-
closeEditor?: (cell:
|
|
654
|
+
closeEditor?: (cell: HTMLTableCellElement, confirmChanges: boolean, x: number, y: number, instance: worksheetInstance, options: Column | Cell) => any;
|
|
655
655
|
/** When a cell is destroyed. */
|
|
656
|
-
destroyCell?: (cell:
|
|
656
|
+
destroyCell?: (cell: HTMLTableCellElement, x: number, y: number, instance: worksheetInstance) => void;
|
|
657
657
|
/** Apply updates when the properties of a cell or column is changed. */
|
|
658
|
-
updateProperty?: (x: number, y: number, instance:
|
|
659
|
-
/** Transform the raw data into processed data. It will
|
|
658
|
+
updateProperty?: (x: number, y: number, instance: worksheetInstance, options: Column | Cell) => void;
|
|
659
|
+
/** Transform the raw data into processed data. It will show a text instead of an id in the type dropdown for example. */
|
|
660
660
|
get?: (options: object, value: any) => string
|
|
661
661
|
}
|
|
662
662
|
|
|
@@ -1173,7 +1173,7 @@ declare namespace jspreadsheet {
|
|
|
1173
1173
|
/** Array with the borders information */
|
|
1174
1174
|
borders: Border[] | Border;
|
|
1175
1175
|
/** Close the edition for one cell */
|
|
1176
|
-
closeEditor: (cell: HTMLElement, save: boolean) => void;
|
|
1176
|
+
closeEditor: (cell: HTMLElement|null, save: boolean) => void;
|
|
1177
1177
|
/** Close the filters */
|
|
1178
1178
|
closeFilters: (update: boolean) => void;
|
|
1179
1179
|
/** Array with the HTML element references that define the columns */
|
|
@@ -1194,7 +1194,7 @@ declare namespace jspreadsheet {
|
|
|
1194
1194
|
data: (highlighted?: boolean, processed?: boolean, delimiter?: string, asJson?: boolean) => Array<Array<any>> | Array<Record<string, any>> | string | null;
|
|
1195
1195
|
/** Internal use control type to defined JSON (1) or ARRAY (0). */
|
|
1196
1196
|
dataType: number,
|
|
1197
|
-
/** Delete one more
|
|
1197
|
+
/** Delete one more columns */
|
|
1198
1198
|
deleteColumn: (columnNumber: number|number[], numOfColumns?: number) => void;
|
|
1199
1199
|
/** Delete an existing row or rows */
|
|
1200
1200
|
deleteRow: (rowNumber: number|number[], numOfRows?: number) => void;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Jspreadsheet v11.0.
|
|
2
|
+
* Jspreadsheet v11.0.18
|
|
3
3
|
*
|
|
4
4
|
* Website: https://jspreadsheet.com
|
|
5
5
|
* Description: Create amazing web based spreadsheets.
|
|
@@ -18,7 +18,7 @@ if (! jSuites && typeof(require) === 'function') {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
function a0_0x11dd(a,qa){const fa=a0_0x358d();return a0_0x11dd=function(ja,ib){return fa[ja-469]},a0_0x11dd(a,qa)}(function(a,qa){const fa=a0_0x11dd;for(a=a();;)try{if(-parseInt(fa(1700))+-parseInt(fa(1617))/2+parseInt(fa(726))/3*(parseInt(fa(1250))/4)+-parseInt(fa(1175))/5+-parseInt(fa(1039))/6*(-parseInt(fa(732))/7)+-parseInt(fa(516))/8*(parseInt(fa(645))/9)+parseInt(fa(1310))/10*(parseInt(fa(1581))/11)===qa)break;else a.push(a.shift())}catch(ja){a.push(a.shift())}})(a0_0x358d,764363);
|
|
21
|
-
(function(a,qa){const fa=a0_0x11dd;typeof exports===fa(609)&&typeof module!==fa(1471)?module.exports=qa():typeof define===fa(1742)&&define.amd?define(qa):a[fa(650)]=qa()})(this,function(){const a=a0_0x11dd,qa=function(){const q=a0_0x11dd,p={version:"11.0.
|
|
21
|
+
(function(a,qa){const fa=a0_0x11dd;typeof exports===fa(609)&&typeof module!==fa(1471)?module.exports=qa():typeof define===fa(1742)&&define.amd?define(qa):a[fa(650)]=qa()})(this,function(){const a=a0_0x11dd,qa=function(){const q=a0_0x11dd,p={version:"11.0.18",edition:q(915),host:q(533),license:q(1460),print:function(){return["Jspreadsheet Pro\r\n"+this[q(1345)]+" edition "+this[q(1463)]+"\r\n"+this[q(1156)]+"\r\n"+this.license]}};return function(){return p}}(),fa=function(){const q=a0_0x11dd;return 0<=
|
|
22
22
|
navigator[q(1179)][q(520)]()[q(511)](q(1336))},ja=function(q){const p=a0_0x11dd;return fa()?q.metaKey:q[p(1163)]},ib=function(){const q=a0_0x11dd,p=function(g){const c=a0_0x11dd;!document.dictionary&&(document.dictionary={});let b=Object[c(643)](g);for(let d=0;d<b[c(1445)];d++)document[c(1688)][b[d]]=g[b[d]]};return p[q(831)]=function(g,c){document.dictionary&&(g=document[q(1688)][g]||g);if(c&&c.length)for(let b=0;b<c.length;b++)g=g[q(1482)]("{"+b+"}",c[b]);return g},p}(),J=ib[a(831)],W=function(q,
|
|
23
23
|
p){q=document[a(1648)](q);return p&&p(q),q},ha=function(q){let p=this.options[a(866)];return p?q*p:q},qb=function(q,p){return W(a(1474),g=>{g[a(1226)]={close:function(){p&&p(g);jSuites[a(927)](this,!1)},open:function(){q&&q(g);jSuites[a(927)](this,!0)}};g[a(1671)](a(615),0);g[a(1007)][a(1305)]("jss_dialog");g[a(1007)].add(a(659));g[a(926)](a(677),function(c){50>c[a(876)][a(1029)]-c[a(553)]&&50>c[a(1219)]&&(c[a(876)][a(1389)].display="",c.preventDefault(),c.stopPropagation(),c.stopImmediatePropagation(),
|
|
24
24
|
this[a(1226)][a(638)]())})})},Wa=function(q){return O()?q instanceof Element||q instanceof HTMLDocument||q instanceof DocumentFragment:!1},O=function(){return typeof document===a(609)},Xa=function(){let q=document[a(1243)];for(;q&&q[a(1721)]&&q[a(1721)].activeElement;)q=q.shadowRoot.activeElement;return q},ya=function(q){return JSON[a(1719)](JSON.stringify(q))},cb=function(q){if(Array[a(908)](q))!q[a(1445)]&&(q=null);else if(jSuites[a(770)](q)){let p=[];for(let g=0;g<q;g++)p.push(g);return p.length?
|
package/package.json
CHANGED