@k-table/sheet-core 1.0.12 → 1.0.14
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/chunk-2Z7KMZEW.js +1 -1
- package/dist/chunk-FRYFH3X6.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/migrate/index.cjs +1 -1
- package/dist/migrate/index.js +1 -1
- package/dist/sheet-template-model.cjs +1 -1
- package/dist/sheet-template-model.d.cts +23 -1
- package/dist/sheet-template-model.d.ts +23 -1
- package/dist/sheet-template-model.js +1 -1
- package/package.json +2 -2
package/dist/migrate/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x49638e=_0xbb26;(function(_0x1e1a17,_0x1e8180){const _0x59ac0e=_0xbb26,_0x41870b=_0x1e1a17();while(!![]){try{const _0x1ec795=parseInt(_0x59ac0e(0xe0))/0x1+-parseInt(_0x59ac0e(0xd8))/0x2*(-parseInt(_0x59ac0e(0xe5))/0x3)+parseInt(_0x59ac0e(0xea))/0x4*(parseInt(_0x59ac0e(0xd1))/0x5)+-parseInt(_0x59ac0e(0xd2))/0x6+-parseInt(_0x59ac0e(0xe7))/0x7*(parseInt(_0x59ac0e(0xe2))/0x8)+-parseInt(_0x59ac0e(0xd6))/0x9+-parseInt(_0x59ac0e(0xe1))/0xa*(-parseInt(_0x59ac0e(0xd0))/0xb);if(_0x1ec795===_0x1e8180)break;else _0x41870b['push'](_0x41870b['shift']());}catch(_0x72d03e){_0x41870b['push'](_0x41870b['shift']());}}}(_0x2f84,0x37701));function _0x2f84(){const _0x1aab87=['Cg9YDhjHAxq','CMfUzg9T','zMXVB3i','Bwv0yq','mta0oty0mM5iq2zita','mJiWtLL2ANDI','mJi2otCXnKDszgnfyW','A3ruzw1WBgf0zq','zxH0zw5ZAw9U','BwfW','mJu5mJu3nNfeD2XMEa','u2HLzxqX','odKXmtqYqNHSCe9M','D29YA2jVB2TwzxjZAw9U','BwLNCMf0zvDVCMTIB29R','ywn0AxzLu2HLzxrjza','AxnbCNjHEq','BNvTyMvY','mdeYmZq1nJC4owfIy2rLzG','B2jQzwn0','mJq2nJu5qLHWq2Ts','mtbvrKrSsuS','mta3nJeWngXzAMrkDa','C2HLzxrZ','revgqvvmvf9st1DFsevjr0Hu','m3PTuK5XtG','BgvUz3rO','n0zdrLzYDG','BgvNywn5xW','A2v5CW','mJe4ndrAzgz4u0q','revgqvvmvf9dt0XFq09vtLq'];_0x2f84=function(){return _0x1aab87;};return _0x2f84();}var SHEET_ENGINE_CONFIG={'DEFAULT_ROW_COUNT':0xc8,'DEFAULT_COL_COUNT':0x32,'DEFAULT_ROW_HEIGHT':0x18,'DEFAULT_COL_WIDTH':0x50};function randomSheetId(){const _0x4083cb=_0xbb26,_0x3c64a9=_0x4083cb(0xde);let _0x167c50='';for(let _0x3f4e01=0x0;_0x3f4e01<0x4;_0x3f4e01+=0x1){_0x167c50+=_0x3c64a9[Math[_0x4083cb(0xce)](Math[_0x4083cb(0xcd)]()*_0x3c64a9[_0x4083cb(0xe6)])];}return _0x167c50;}function createDefaultPage(){const _0x4b5323=_0xbb26;return{'paper':'A4','orientation':_0x4b5323(0xec),'marginMm':{'top':0xc,'right':0xc,'bottom':0xc,'left':0xc}};}function createEmptySheet(_0x463143,_0x28ed79=SHEET_ENGINE_CONFIG['DEFAULT_ROW_COUNT'],_0x2e3774=SHEET_ENGINE_CONFIG[_0x49638e(0xeb)]){const _0xf54b94=_0x49638e,_0x43da67=randomSheetId(),_0x2f864c={'rowCount':_0x28ed79,'colCount':_0x2e3774,'defaultRowHeight':SHEET_ENGINE_CONFIG[_0xf54b94(0xe4)],'defaultColWidth':SHEET_ENGINE_CONFIG['DEFAULT_COL_WIDTH'],'cells':{},'merges':[],'page':createDefaultPage()};return{'id':_0x43da67,'name':_0x463143,'sheet':_0x2f864c};}function createEmptyWorkbook(){const _0x5c8e7e=_0x49638e,_0x3d1722=createEmptySheet(_0x5c8e7e(0xd7));return{'workbookVersion':0x1,'sheets':[_0x3d1722],'activeSheetId':_0x3d1722['id'],'meta':{}};}function _0xbb26(_0x31214e,_0x5e2c1d){_0x31214e=_0x31214e-0xcd;const _0x2f840f=_0x2f84();let _0xbb266=_0x2f840f[_0x31214e];if(_0xbb26['iMVDNs']===undefined){var _0x317f37=function(_0x48bafc){const _0x1cf269='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x15562a='',_0x3c64a9='';for(let _0x167c50=0x0,_0x3f4e01,_0x463143,_0x28ed79=0x0;_0x463143=_0x48bafc['charAt'](_0x28ed79++);~_0x463143&&(_0x3f4e01=_0x167c50%0x4?_0x3f4e01*0x40+_0x463143:_0x463143,_0x167c50++%0x4)?_0x15562a+=String['fromCharCode'](0xff&_0x3f4e01>>(-0x2*_0x167c50&0x6)):0x0){_0x463143=_0x1cf269['indexOf'](_0x463143);}for(let _0x2e3774=0x0,_0x43da67=_0x15562a['length'];_0x2e3774<_0x43da67;_0x2e3774++){_0x3c64a9+='%'+('00'+_0x15562a['charCodeAt'](_0x2e3774)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3c64a9);};_0xbb26['aEibmQ']=_0x317f37,_0xbb26['LuPeXY']={},_0xbb26['iMVDNs']=!![];}const _0x136450=_0x2f840f[0x0];_0xbb26['Jbtndf']!==_0x136450&&(_0xbb26['LuPeXY']={},_0xbb26['Jbtndf']=_0x136450);const _0x281ea9=_0xbb26['LuPeXY'][_0x31214e];return _0x281ea9===undefined?(_0xbb266=_0xbb26['aEibmQ'](_0xbb266),_0xbb26['LuPeXY'][_0x31214e]=_0xbb266):_0xbb266=_0x281ea9,_0xbb266;}function isObject(_0x170289){const _0x426249=_0x49638e;return typeof _0x170289===_0x426249(0xdf)&&_0x170289!==null;}function migrateWorkbook(_0x28fd4a){const _0x273263=_0x49638e;if(!isObject(_0x28fd4a))throw new Error('Workbook\x20JSON\x20\u5FC5\u987B\u4E3A\u5BF9\u8C61');const _0x182edf=typeof _0x28fd4a['workbookVersion']===_0x273263(0xdd)?_0x28fd4a[_0x273263(0xd9)]:0x0;if(_0x182edf>0x1)throw new Error('不支持的\x20workbookVersion:\x20'+_0x182edf);let _0x1863e4;if(_0x182edf===0x0){const _0x5e9c4d={..._0x28fd4a[_0x273263(0xd4)]??{}},_0x11ae99=new Set(['workbookVersion',_0x273263(0xe3),_0x273263(0xdb),_0x273263(0xd3),_0x273263(0xcf),'extension']);for(const _0x2bfd7a of Object[_0x273263(0xe9)](_0x28fd4a)){!_0x11ae99['has'](_0x2bfd7a)&&(_0x5e9c4d[_0x273263(0xe8)+_0x2bfd7a]=_0x28fd4a[_0x2bfd7a]);}_0x1863e4={'workbookVersion':0x1,'sheets':_0x28fd4a[_0x273263(0xe3)]??[],'activeSheetId':String(_0x28fd4a[_0x273263(0xdb)]??''),'ktTemplate':_0x28fd4a[_0x273263(0xd3)],'meta':_0x28fd4a[_0x273263(0xcf)]??{},'extension':_0x5e9c4d};}else _0x1863e4={'workbookVersion':0x1,'sheets':_0x28fd4a[_0x273263(0xe3)],'activeSheetId':String(_0x28fd4a[_0x273263(0xdb)]),'ktTemplate':_0x28fd4a[_0x273263(0xd3)],'meta':_0x28fd4a['meta'],'extension':_0x28fd4a[_0x273263(0xd4)]};if(!Array[_0x273263(0xdc)](_0x1863e4[_0x273263(0xe3)])||_0x1863e4[_0x273263(0xe3)]['length']===0x0)return createEmptyWorkbook();const _0xe9ee17=new Set(_0x1863e4[_0x273263(0xe3)][_0x273263(0xd5)](_0x1d3706=>_0x1d3706['id']));return!_0xe9ee17['has'](_0x1863e4[_0x273263(0xdb)])&&(_0x1863e4[_0x273263(0xdb)]=_0x1863e4[_0x273263(0xe3)][0x0]['id']),_0x1863e4;}exports[_0x49638e(0xda)]=migrateWorkbook;
|
package/dist/migrate/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xc212(_0x5b49fb,_0x3af755){_0x5b49fb=_0x5b49fb-0xcd;var _0x1eb115=_0x1eb1();var _0xc21283=_0x1eb115[_0x5b49fb];if(_0xc212['QqtYDi']===undefined){var _0x43e708=function(_0x417a1b){var _0x97a2bf='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x101eef='',_0x506a70='';for(var _0x222264=0x0,_0x512659,_0x11fdb5,_0x596a92=0x0;_0x11fdb5=_0x417a1b['charAt'](_0x596a92++);~_0x11fdb5&&(_0x512659=_0x222264%0x4?_0x512659*0x40+_0x11fdb5:_0x11fdb5,_0x222264++%0x4)?_0x101eef+=String['fromCharCode'](0xff&_0x512659>>(-0x2*_0x222264&0x6)):0x0){_0x11fdb5=_0x97a2bf['indexOf'](_0x11fdb5);}for(var _0x2c386c=0x0,_0x50b0b3=_0x101eef['length'];_0x2c386c<_0x50b0b3;_0x2c386c++){_0x506a70+='%'+('00'+_0x101eef['charCodeAt'](_0x2c386c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x506a70);};_0xc212['IPffRz']=_0x43e708,_0xc212['rXcyNv']={},_0xc212['QqtYDi']=!![];}var _0x4fe0b3=_0x1eb115[0x0];_0xc212['mIwKiT']!==_0x4fe0b3&&(_0xc212['rXcyNv']={},_0xc212['mIwKiT']=_0x4fe0b3);var _0x2efe89=_0xc212['rXcyNv'][_0x5b49fb];return _0x2efe89===undefined?(_0xc21283=_0xc212['IPffRz'](_0xc21283),_0xc212['rXcyNv'][_0x5b49fb]=_0xc21283):_0xc21283=_0x2efe89,_0xc21283;}(function(_0x200e83,_0x3d7ada){var _0x3db0b9=_0xc212,_0x1a7969=_0x200e83();while(!![]){try{var _0x1d8a1f=-parseInt(_0x3db0b9(0xcd))/0x1+-parseInt(_0x3db0b9(0xd6))/0x2*(-parseInt(_0x3db0b9(0xd4))/0x3)+-parseInt(_0x3db0b9(0xd7))/0x4*(parseInt(_0x3db0b9(0xd5))/0x5)+parseInt(_0x3db0b9(0xce))/0x6+-parseInt(_0x3db0b9(0xd3))/0x7+-parseInt(_0x3db0b9(0xd0))/0x8*(-parseInt(_0x3db0b9(0xd1))/0x9)+parseInt(_0x3db0b9(0xcf))/0xa*(-parseInt(_0x3db0b9(0xd2))/0xb);if(_0x1d8a1f===_0x3d7ada)break;else _0x1a7969['push'](_0x1a7969['shift']());}catch(_0x421cba){_0x1a7969['push'](_0x1a7969['shift']());}}}(_0x1eb1,0x23f91));export{migrateWorkbook}from'../chunk-FRYFH3X6.js';function _0x1eb1(){var _0x3da342=['mtyWywXeBvri','mZi2mZyWBKXIDLPv','ndv5u2f2sM8','mtu5ota3qKrOq3rh','mtuWmdq1vK1gEfrL','otmZtvjYEwrI','nZe3mfDTvKrwDq','mtmZmgjLt3fJrG','nteYDLrgvKTx','odm3nZrNrLz2Cgi','mtu0nZq0ofbNruTkAG'];_0x1eb1=function(){return _0x3da342;};return _0x1eb1();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';function _0x4d77(_0x300480,_0x465c87){_0x300480=_0x300480-0x131;var _0x459051=_0x4590();var _0x4d77eb=_0x459051[_0x300480];if(_0x4d77['hdUjWa']===undefined){var _0x31f79c=function(_0x50522c){var _0x5fa822='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5be9e1='',_0xa9a28f='';for(var _0x276222=0x0,_0x56be3f,_0x162f73,_0x4c7937=0x0;_0x162f73=_0x50522c['charAt'](_0x4c7937++);~_0x162f73&&(_0x56be3f=_0x276222%0x4?_0x56be3f*0x40+_0x162f73:_0x162f73,_0x276222++%0x4)?_0x5be9e1+=String['fromCharCode'](0xff&_0x56be3f>>(-0x2*_0x276222&0x6)):0x0){_0x162f73=_0x5fa822['indexOf'](_0x162f73);}for(var _0xf97a0a=0x0,_0x3c5097=_0x5be9e1['length'];_0xf97a0a<_0x3c5097;_0xf97a0a++){_0xa9a28f+='%'+('00'+_0x5be9e1['charCodeAt'](_0xf97a0a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa9a28f);};_0x4d77['nObgTv']=_0x31f79c,_0x4d77['BcXOKT']={},_0x4d77['hdUjWa']=!![];}var _0x1f54b6=_0x459051[0x0];_0x4d77['Fryqpg']!==_0x1f54b6&&(_0x4d77['BcXOKT']={},_0x4d77['Fryqpg']=_0x1f54b6);var _0x4bca99=_0x4d77['BcXOKT'][_0x300480];return _0x4bca99===undefined?(_0x4d77eb=_0x4d77['nObgTv'](_0x4d77eb),_0x4d77['BcXOKT'][_0x300480]=_0x4d77eb):_0x4d77eb=_0x4bca99,_0x4d77eb;}var _0x286d73=_0x4d77;(function(_0x1ca3df,_0x269033){var _0x175f05=_0x4d77,_0x360aab=_0x1ca3df();while(!![]){try{var _0x5d6e4f=-parseInt(_0x175f05(0x13a))/0x1+-parseInt(_0x175f05(0x133))/0x2*(-parseInt(_0x175f05(0x135))/0x3)+-parseInt(_0x175f05(0x131))/0x4+parseInt(_0x175f05(0x136))/0x5*(-parseInt(_0x175f05(0x139))/0x6)+parseInt(_0x175f05(0x134))/0x7*(parseInt(_0x175f05(0x13e))/0x8)+-parseInt(_0x175f05(0x132))/0x9*(parseInt(_0x175f05(0x137))/0xa)+parseInt(_0x175f05(0x13c))/0xb;if(_0x5d6e4f===_0x269033)break;else _0x360aab['push'](_0x360aab['shift']());}catch(_0x11704c){_0x360aab['push'](_0x360aab['shift']());}}}(_0x4590,0xc89ad));var SHEET_TEMPLATE_JSON_VERSION=0x2,HEADER_ROW=0x0,HEADER_COL=0x0;function cellKey(_0xa9a28f,_0x276222){return _0xa9a28f+','+_0x276222;}function _0x4590(){var _0x43efc7=['sevbrevsx1jpvW','mZC3nty4nhnKEvfgwG','ota0nxnuwePlAq','mtjbufzov2G','mJu5ANnQr2fv','mJe3ntK2Efvbwuv5','mZuWnJvVwvHRtKu','ntm3mfjqtgvoDa','CgfYC2vdzwXSs2v5','mJq2DM1PEez0','mteWnJi2mNbZsMXYwG','u0HfrvrFvevnueXbvevFsLnptL9wrvjtsu9o','mZq3ndCYnZnJsNfqCLC','sevbrevsx0npta','mJi3mtjRswfitNq'];_0x4590=function(){return _0x43efc7;};return _0x4590();}function parseCellKey(_0x56be3f){const _0x162f73=/^(\d+),(\d+)$/['exec'](_0x56be3f);if(!_0x162f73)return null;return{'r':Number(_0x162f73[0x1]),'c':Number(_0x162f73[0x2])};}exports[_0x286d73(0x13d)]=HEADER_COL,exports[_0x286d73(0x13f)]=HEADER_ROW,exports[_0x286d73(0x13b)]=SHEET_TEMPLATE_JSON_VERSION,exports['cellKey']=cellKey,exports[_0x286d73(0x138)]=parseCellKey;
|
|
@@ -30,7 +30,29 @@ interface PageSettings {
|
|
|
30
30
|
pageHeaderRows?: PageRepeatRowsRange;
|
|
31
31
|
/** 报表扩展:每物理页底部重复的页脚行区间(KTL @pageFooter) */
|
|
32
32
|
pageFooterRows?: PageRepeatRowsRange;
|
|
33
|
+
/** 报表扩展:页脚开关下的删格/平移(KTL @pageChrome) */
|
|
34
|
+
pageChrome?: SheetPageChrome;
|
|
33
35
|
}
|
|
36
|
+
/** `@pageChrome` 里要平移的一格:绑定本身,或该绑定左侧紧贴的无绑定标签 */
|
|
37
|
+
type PageChromeShiftRef = {
|
|
38
|
+
kind: "bind";
|
|
39
|
+
bind: string;
|
|
40
|
+
} | {
|
|
41
|
+
kind: "leftOf";
|
|
42
|
+
bind: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* 关掉「显示复核人」时:删除 drop 中的绑定(及签名左侧无绑定标签),
|
|
46
|
+
* 再把 shift 各格平移。by 为 half 时向左移动被删组列宽的一半;整数负数为向左。
|
|
47
|
+
*/
|
|
48
|
+
type PageChromeHideReviewerRule = {
|
|
49
|
+
drop: string[];
|
|
50
|
+
shift: PageChromeShiftRef[];
|
|
51
|
+
by: number | "half";
|
|
52
|
+
};
|
|
53
|
+
type SheetPageChrome = {
|
|
54
|
+
hideReviewer?: PageChromeHideReviewerRule;
|
|
55
|
+
};
|
|
34
56
|
type TextAlign = "left" | "center" | "right";
|
|
35
57
|
type VerticalAlign = "top" | "middle" | "bottom";
|
|
36
58
|
type BorderStyle = "none" | "thin" | "medium" | "thick";
|
|
@@ -129,4 +151,4 @@ declare function parseCellKey(key: string): {
|
|
|
129
151
|
c: number;
|
|
130
152
|
} | null;
|
|
131
153
|
|
|
132
|
-
export { type BaseTemplateCellBinding, type BorderLinePattern, type BorderStyle, type CellData, type CellStyle, type EmbedAnchorRole, HEADER_COL, HEADER_ROW, type MergeRange, type PageMarginsCm, type PageRepeatRowsRange, type PageSettings, SHEET_TEMPLATE_JSON_VERSION, type SheetOrientation, type SheetPaperKind, type SheetTemplateState, type TextAlign, type TextRun, type TextRunStyle, type VerticalAlign, cellKey, parseCellKey };
|
|
154
|
+
export { type BaseTemplateCellBinding, type BorderLinePattern, type BorderStyle, type CellData, type CellStyle, type EmbedAnchorRole, HEADER_COL, HEADER_ROW, type MergeRange, type PageChromeHideReviewerRule, type PageChromeShiftRef, type PageMarginsCm, type PageRepeatRowsRange, type PageSettings, SHEET_TEMPLATE_JSON_VERSION, type SheetOrientation, type SheetPageChrome, type SheetPaperKind, type SheetTemplateState, type TextAlign, type TextRun, type TextRunStyle, type VerticalAlign, cellKey, parseCellKey };
|
|
@@ -30,7 +30,29 @@ interface PageSettings {
|
|
|
30
30
|
pageHeaderRows?: PageRepeatRowsRange;
|
|
31
31
|
/** 报表扩展:每物理页底部重复的页脚行区间(KTL @pageFooter) */
|
|
32
32
|
pageFooterRows?: PageRepeatRowsRange;
|
|
33
|
+
/** 报表扩展:页脚开关下的删格/平移(KTL @pageChrome) */
|
|
34
|
+
pageChrome?: SheetPageChrome;
|
|
33
35
|
}
|
|
36
|
+
/** `@pageChrome` 里要平移的一格:绑定本身,或该绑定左侧紧贴的无绑定标签 */
|
|
37
|
+
type PageChromeShiftRef = {
|
|
38
|
+
kind: "bind";
|
|
39
|
+
bind: string;
|
|
40
|
+
} | {
|
|
41
|
+
kind: "leftOf";
|
|
42
|
+
bind: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* 关掉「显示复核人」时:删除 drop 中的绑定(及签名左侧无绑定标签),
|
|
46
|
+
* 再把 shift 各格平移。by 为 half 时向左移动被删组列宽的一半;整数负数为向左。
|
|
47
|
+
*/
|
|
48
|
+
type PageChromeHideReviewerRule = {
|
|
49
|
+
drop: string[];
|
|
50
|
+
shift: PageChromeShiftRef[];
|
|
51
|
+
by: number | "half";
|
|
52
|
+
};
|
|
53
|
+
type SheetPageChrome = {
|
|
54
|
+
hideReviewer?: PageChromeHideReviewerRule;
|
|
55
|
+
};
|
|
34
56
|
type TextAlign = "left" | "center" | "right";
|
|
35
57
|
type VerticalAlign = "top" | "middle" | "bottom";
|
|
36
58
|
type BorderStyle = "none" | "thin" | "medium" | "thick";
|
|
@@ -129,4 +151,4 @@ declare function parseCellKey(key: string): {
|
|
|
129
151
|
c: number;
|
|
130
152
|
} | null;
|
|
131
153
|
|
|
132
|
-
export { type BaseTemplateCellBinding, type BorderLinePattern, type BorderStyle, type CellData, type CellStyle, type EmbedAnchorRole, HEADER_COL, HEADER_ROW, type MergeRange, type PageMarginsCm, type PageRepeatRowsRange, type PageSettings, SHEET_TEMPLATE_JSON_VERSION, type SheetOrientation, type SheetPaperKind, type SheetTemplateState, type TextAlign, type TextRun, type TextRunStyle, type VerticalAlign, cellKey, parseCellKey };
|
|
154
|
+
export { type BaseTemplateCellBinding, type BorderLinePattern, type BorderStyle, type CellData, type CellStyle, type EmbedAnchorRole, HEADER_COL, HEADER_ROW, type MergeRange, type PageChromeHideReviewerRule, type PageChromeShiftRef, type PageMarginsCm, type PageRepeatRowsRange, type PageSettings, SHEET_TEMPLATE_JSON_VERSION, type SheetOrientation, type SheetPageChrome, type SheetPaperKind, type SheetTemplateState, type TextAlign, type TextRun, type TextRunStyle, type VerticalAlign, cellKey, parseCellKey };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(_0x9fab2,_0x27ef60){var _0xbf3e38=_0x2970,_0x3c805b=_0x9fab2();while(!![]){try{var _0x4749fa=-parseInt(_0xbf3e38(0x143))/0x1+-parseInt(_0xbf3e38(0x144))/0x2+parseInt(_0xbf3e38(0x140))/0x3+parseInt(_0xbf3e38(0x13d))/0x4+-parseInt(_0xbf3e38(0x13e))/0x5+-parseInt(_0xbf3e38(0x145))/0x6*(-parseInt(_0xbf3e38(0x142))/0x7)+parseInt(_0xbf3e38(0x141))/0x8*(parseInt(_0xbf3e38(0x13f))/0x9);if(_0x4749fa===_0x27ef60)break;else _0x3c805b['push'](_0x3c805b['shift']());}catch(_0x4eddae){_0x3c805b['push'](_0x3c805b['shift']());}}}(_0x49e2,0xe1c31));export{HEADER_COL,HEADER_ROW,SHEET_TEMPLATE_JSON_VERSION,cellKey,parseCellKey}from'./chunk-2Z7KMZEW.js';function _0x2970(_0xc7b89b,_0xad41d8){_0xc7b89b=_0xc7b89b-0x13d;var _0x49e2de=_0x49e2();var _0x2970b8=_0x49e2de[_0xc7b89b];if(_0x2970['PmNCyA']===undefined){var _0x518cae=function(_0x2b7983){var _0x29154e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4e2118='',_0x57642e='';for(var _0x148501=0x0,_0x6f92b9,_0x38f9ec,_0x524ae2=0x0;_0x38f9ec=_0x2b7983['charAt'](_0x524ae2++);~_0x38f9ec&&(_0x6f92b9=_0x148501%0x4?_0x6f92b9*0x40+_0x38f9ec:_0x38f9ec,_0x148501++%0x4)?_0x4e2118+=String['fromCharCode'](0xff&_0x6f92b9>>(-0x2*_0x148501&0x6)):0x0){_0x38f9ec=_0x29154e['indexOf'](_0x38f9ec);}for(var _0x1b89dc=0x0,_0x49d892=_0x4e2118['length'];_0x1b89dc<_0x49d892;_0x1b89dc++){_0x57642e+='%'+('00'+_0x4e2118['charCodeAt'](_0x1b89dc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x57642e);};_0x2970['QuFSyh']=_0x518cae,_0x2970['TVBaes']={},_0x2970['PmNCyA']=!![];}var _0x6ac43a=_0x49e2de[0x0];_0x2970['eXfjSY']!==_0x6ac43a&&(_0x2970['TVBaes']={},_0x2970['eXfjSY']=_0x6ac43a);var _0x36f880=_0x2970['TVBaes'][_0xc7b89b];return _0x36f880===undefined?(_0x2970b8=_0x2970['QuFSyh'](_0x2970b8),_0x2970['TVBaes'][_0xc7b89b]=_0x2970b8):_0x2970b8=_0x36f880,_0x2970b8;}function _0x49e2(){var _0xf1acd6=['mZKWodaZnwrltLHdDa','mti5mJeZr0f3uKvS','mta4mdGWnffxz25jCW','ota0AfjZq09K','mJHOsuPOyKu','mta1mZG2oxzeBNDwrG','mZe1ody0mLbPDvjrva','mtuYmtK1nenjtgfUqW','ntm2ota5mLHIwNzRva'];_0x49e2=function(){return _0xf1acd6;};return _0x49e2();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k-table/sheet-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"publishConfig": { "access": "public" },
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "kt 表格无头引擎:模型/序列化/公式/运行态/拼接/实例数据/迁移(无 React/DOM/window/fetch/zustand)",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"clean": "rimraf dist"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@k-table/sheet-host": "^1.0.
|
|
40
|
+
"@k-table/sheet-host": "^1.0.14"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"tsup": "^8.0.0",
|