@univerjs-pro/bases-history 1.0.0 → 1.0.1
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/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2e0ef9=_0x3a29;(function(_0x30f75b,_0x2ff627){const _0x19a520=_0x3a29,_0x48b202=_0x30f75b();while(!![]){try{const _0x11c6b6=parseInt(_0x19a520(0x1f0))/0x1*(-parseInt(_0x19a520(0x1be))/0x2)+-parseInt(_0x19a520(0x1c5))/0x3*(parseInt(_0x19a520(0x1e4))/0x4)+-parseInt(_0x19a520(0x20c))/0x5*(-parseInt(_0x19a520(0x229))/0x6)+parseInt(_0x19a520(0x1e9))/0x7*(-parseInt(_0x19a520(0x1b3))/0x8)+parseInt(_0x19a520(0x1e6))/0x9+parseInt(_0x19a520(0x1cf))/0xa*(-parseInt(_0x19a520(0x1ef))/0xb)+parseInt(_0x19a520(0x1b0))/0xc;if(_0x11c6b6===_0x2ff627)break;else _0x48b202['push'](_0x48b202['shift']());}catch(_0x221df9){_0x48b202['push'](_0x48b202['shift']());}}}(_0x3db3,0x3b844),Object[_0x2e0ef9(0x216)](exports,Symbol[_0x2e0ef9(0x227)],{'value':'Module'}));let e=require('@univerjs-pro/bases'),t=require('@univerjs-pro/edit-history'),n=require('@univerjs-pro/license'),r=require('@univerjs/core');var i=_0x2e0ef9(0x205),a='1.0.0';const o={},s=['recordOrder','fieldOrder','viewOrder','rowIndex','rowId','colIndex',_0x2e0ef9(0x1c7),_0x2e0ef9(0x1cb)];function c(_0x15fd13){const _0xec0b77=_0x2e0ef9;let _0x219340=null,_0x30c14c=null,_0x212124=_0x15fd13['map']((_0xbcac38,_0x478db8)=>({'entry':_0xbcac38,'index':_0x478db8}))['sort']((_0x20cb0d,_0x543791)=>_0x20cb0d[_0xec0b77(0x1d2)][_0xec0b77(0x203)]-_0x543791[_0xec0b77(0x1d2)][_0xec0b77(0x203)]||_0x20cb0d['index']-_0x543791[_0xec0b77(0x1fd)]);for(let {entry:_0x448091}of _0x212124)x(_0x448091[_0xec0b77(0x1d3)][_0xec0b77(0x1c4)])&&(_0x219340=_0x219340===null?_0x448091[_0xec0b77(0x1d3)][_0xec0b77(0x1c4)]['op']:r['JSON1'][_0xec0b77(0x1fe)][_0xec0b77(0x1bf)](_0x219340,_0x448091[_0xec0b77(0x1d3)][_0xec0b77(0x1c4)]['op']),_0x30c14c=_0x448091);if(_0x219340===null||_0x30c14c===null)return[];let _0x5c4ce1=v(_0x219340)[_0xec0b77(0x209)](_0x1eb27d=>!u(_0x1eb27d)),_0x5d21c7=h(_0x5c4ce1,_0xec0b77(0x1b9)),_0x19cc32=h(_0x5c4ce1,_0xec0b77(0x1b2));return _0x5c4ce1[_0xec0b77(0x1fa)]((_0x29294f,_0x3c1860)=>{const _0x3af296=_0xec0b77;let _0x220768=m(_0x29294f[_0x3af296(0x202)]);if(!_0x220768)return[];let _0x57f714=l(_0x29294f,_0x220768);return[{'id':_0x30c14c[_0x3af296(0x203)]+':'+_0x3c1860,'kind':_0x57f714,'label':_0x220768[_0x3af296(0x1cd)],'memberId':_0x30c14c[_0x3af296(0x210)],'tableId':_0x220768[_0x3af296(0x1c0)],'viewId':_0x220768[_0x3af296(0x1e3)],'recordId':_0x220768[_0x3af296(0x1fb)],'recordIndex':_0x220768[_0x3af296(0x1fb)]?_0x5d21c7[_0x3af296(0x1bc)](_0x220768['recordId']):void 0x0,'removedRecord':_0x57f714===_0x3af296(0x1c3)?g(_0x29294f,_0x220768):void 0x0,'fieldId':_0x220768['fieldId'],'fieldIndex':_0x220768['fieldId']?_0x19cc32[_0x3af296(0x1bc)](_0x220768[_0x3af296(0x230)]):void 0x0}];});}function l(_0xb6580,_0x557d00){const _0x43bb0b=_0x2e0ef9;if(!f(_0xb6580[_0x43bb0b(0x202)],_0x557d00))return _0x43bb0b(0x1c6);let _0x22c868=Object[_0x43bb0b(0x1c2)]['hasOwnProperty'][_0x43bb0b(0x1ec)](_0xb6580[_0x43bb0b(0x1ea)],'i'),_0xe75cf1=Object[_0x43bb0b(0x1c2)][_0x43bb0b(0x1e7)][_0x43bb0b(0x1ec)](_0xb6580[_0x43bb0b(0x1ea)],'r');return _0x22c868&&!_0xe75cf1?'insert':_0xe75cf1&&!_0x22c868?_0x43bb0b(0x1c3):_0x43bb0b(0x1c6);}function u(_0x11c123){const _0x336bef=_0x2e0ef9;return Object[_0x336bef(0x1c2)][_0x336bef(0x1e7)][_0x336bef(0x1ec)](_0x11c123[_0x336bef(0x1ea)],'i')&&Object[_0x336bef(0x1c2)][_0x336bef(0x1e7)][_0x336bef(0x1ec)](_0x11c123['value'],'r')&&d(_0x11c123[_0x336bef(0x1ea)]['i'],_0x11c123[_0x336bef(0x1ea)]['r']);}function d(_0x4e04d4,_0x36b341){const _0x4a5d21=_0x2e0ef9;if(_0x4e04d4===_0x36b341)return!0x0;if(Array[_0x4a5d21(0x22d)](_0x4e04d4)||Array[_0x4a5d21(0x22d)](_0x36b341))return Array[_0x4a5d21(0x22d)](_0x4e04d4)&&Array[_0x4a5d21(0x22d)](_0x36b341)&&_0x4e04d4['length']===_0x36b341[_0x4a5d21(0x1d5)]&&_0x4e04d4[_0x4a5d21(0x233)]((_0x5e9ed0,_0x3ea9ab)=>d(_0x5e9ed0,_0x36b341[_0x3ea9ab]));if(!S(_0x4e04d4)||!S(_0x36b341))return!0x1;let _0x596404=Object[_0x4a5d21(0x1d8)](_0x4e04d4),_0x518b92=Object[_0x4a5d21(0x1d8)](_0x36b341);return _0x596404[_0x4a5d21(0x1d5)]===_0x518b92[_0x4a5d21(0x1d5)]&&_0x596404[_0x4a5d21(0x233)](_0x2cfb82=>Object[_0x4a5d21(0x1c2)][_0x4a5d21(0x1e7)]['call'](_0x36b341,_0x2cfb82)&&d(_0x4e04d4[_0x2cfb82],_0x36b341[_0x2cfb82]));}function f(_0x58f6cd,_0x21fc75){const _0x41b7e3=_0x2e0ef9;return _0x21fc75[_0x41b7e3(0x1c0)]?_0x21fc75['recordId']&&_0x21fc75[_0x41b7e3(0x230)]?p(_0x58f6cd,[_0x41b7e3(0x1f1),_0x21fc75[_0x41b7e3(0x1c0)],_0x41b7e3(0x218),_0x21fc75[_0x41b7e3(0x1fb)],_0x41b7e3(0x1cc),_0x21fc75['fieldId']]):_0x21fc75[_0x41b7e3(0x1fb)]?p(_0x58f6cd,[_0x41b7e3(0x1f1),_0x21fc75['tableId'],'records',_0x21fc75[_0x41b7e3(0x1fb)]]):_0x21fc75[_0x41b7e3(0x230)]?p(_0x58f6cd,[_0x41b7e3(0x1f1),_0x21fc75[_0x41b7e3(0x1c0)],_0x41b7e3(0x1b8),_0x21fc75[_0x41b7e3(0x230)]]):_0x21fc75['viewId']?p(_0x58f6cd,[_0x41b7e3(0x1f1),_0x21fc75['tableId'],_0x41b7e3(0x1e1),_0x21fc75['viewId']]):p(_0x58f6cd,[_0x41b7e3(0x1f1),_0x21fc75[_0x41b7e3(0x1c0)]]):!0x1;}function p(_0x27865d,_0x23aeb1){const _0x8dcb9f=_0x2e0ef9;return _0x27865d[_0x8dcb9f(0x1d5)]===_0x23aeb1[_0x8dcb9f(0x1d5)]&&_0x27865d[_0x8dcb9f(0x233)]((_0x4c250c,_0x4a32a0)=>_0x4c250c===_0x23aeb1[_0x4a32a0]);}function m(_0x2583fa){const _0x120889=_0x2e0ef9;let _0x551bda=_0x2583fa[_0x120889(0x1b5)](_0x120889(0x1f1)),_0x1a2c3f=_0x2583fa[_0x551bda+0x1];if(_0x551bda<0x0||typeof _0x1a2c3f!='string')return null;let _0x2d7634=_0x2583fa[_0x551bda+0x2],_0x128c7f=_0x2583fa[_0x551bda+0x3];if(_0x2d7634===_0x120889(0x218)&&typeof _0x128c7f==_0x120889(0x1ba)){let _0x4bec5=_0x2583fa[_0x551bda+0x4],_0x32d5b1=_0x2583fa[_0x551bda+0x5];return _0x4bec5==='values'&&typeof _0x32d5b1==_0x120889(0x1ba)?{'label':_0x120889(0x211),'tableId':_0x1a2c3f,'recordId':_0x128c7f,'fieldId':_0x32d5b1}:_0x4bec5===_0x120889(0x201)||_0x4bec5===_0x120889(0x21f)?null:{'label':'base:record','tableId':_0x1a2c3f,'recordId':_0x128c7f};}return _0x2d7634===_0x120889(0x1b8)&&typeof _0x128c7f==_0x120889(0x1ba)?{'label':_0x120889(0x21c),'tableId':_0x1a2c3f,'fieldId':_0x128c7f}:_0x2d7634===_0x120889(0x1e1)&&typeof _0x128c7f=='string'?{'label':_0x120889(0x214),'tableId':_0x1a2c3f,'viewId':_0x128c7f}:s[_0x120889(0x1ee)](_0x291ed6=>_0x291ed6===_0x2d7634)?null:{'label':_0x2d7634===void 0x0?_0x120889(0x215):'base:unknown','tableId':_0x1a2c3f};}function h(_0x210123,_0x450ab2){const _0x376ee2=_0x2e0ef9;let _0x4c552b=new Map();return _0x210123[_0x376ee2(0x1ca)](_0x1f42e4=>{const _0x45e373=_0x376ee2;let _0x44ba35=_0x1f42e4[_0x45e373(0x202)]['indexOf'](_0x450ab2),_0x2c47a0=_0x1f42e4[_0x45e373(0x202)][_0x44ba35+0x1],_0x54b3e0=_0x1f42e4[_0x45e373(0x1ea)]['r'];if(_0x44ba35>=0x0&&typeof _0x2c47a0=='number'&&typeof _0x54b3e0==_0x45e373(0x1ba)){_0x4c552b['set'](_0x54b3e0,_0x2c47a0);return;}if(_0x44ba35!==_0x1f42e4[_0x45e373(0x202)][_0x45e373(0x1d5)]-0x1||!Array['isArray'](_0x54b3e0))return;let _0x120693=new Set(Array['isArray'](_0x1f42e4[_0x45e373(0x1ea)]['i'])?_0x1f42e4['value']['i'][_0x45e373(0x209)](_0x5b9a4c=>typeof _0x5b9a4c==_0x45e373(0x1ba)):[]);_0x54b3e0[_0x45e373(0x1ca)]((_0x3daaff,_0x3c0cec)=>{const _0x57fa81=_0x45e373;typeof _0x3daaff==_0x57fa81(0x1ba)&&!_0x120693['has'](_0x3daaff)&&_0x4c552b[_0x57fa81(0x1c1)](_0x3daaff,_0x3c0cec);});}),_0x4c552b;}function g(_0x513096,_0x1861c1){const _0x51ef95=_0x2e0ef9;if(_0x1861c1['recordId']&&!_0x1861c1['fieldId']&&f(_0x513096[_0x51ef95(0x202)],_0x1861c1))return _(_0x513096[_0x51ef95(0x1ea)]['r'])?_0x513096[_0x51ef95(0x1ea)]['r']:void 0x0;}function _(_0xae9d87){const _0x348d5b=_0x2e0ef9;return S(_0xae9d87)&&typeof _0xae9d87['id']==_0x348d5b(0x1ba)&&S(_0xae9d87['values'])&&typeof _0xae9d87[_0x348d5b(0x1b6)]=='string'&&typeof _0xae9d87[_0x348d5b(0x208)]==_0x348d5b(0x22a)&&typeof _0xae9d87[_0x348d5b(0x201)]=='number';}function v(_0x24b8f8){let _0x20da3c=[];return y(_0x24b8f8,[],_0x20da3c),_0x20da3c;}function y(_0x98d563,_0x4a08ba,_0x5acedb){const _0x332689=_0x2e0ef9;if(!Array[_0x332689(0x22d)](_0x98d563))return;let _0x2f400f=[];_0x98d563['forEach'](_0x15a726=>{const _0x2040f1=_0x332689;if(Array[_0x2040f1(0x22d)](_0x15a726)){y(_0x15a726,[..._0x4a08ba,..._0x2f400f],_0x5acedb);return;}if(b(_0x15a726)){_0x5acedb[_0x2040f1(0x22b)]({'path':[..._0x4a08ba,..._0x2f400f],'value':_0x15a726});return;}(typeof _0x15a726=='string'||typeof _0x15a726==_0x2040f1(0x22a))&&_0x2f400f[_0x2040f1(0x22b)](_0x15a726);});}function b(_0x4549f3){const _0x281cf5=_0x2e0ef9;return S(_0x4549f3)&&['i','r','p','d','es',_0x281cf5(0x21a),'et'][_0x281cf5(0x1ee)](_0x39b78c=>Object[_0x281cf5(0x1c2)][_0x281cf5(0x1e7)]['call'](_0x4549f3,_0x39b78c));}function _0x3a29(_0x236843,_0x261867){_0x236843=_0x236843-0x1af;const _0x3db36d=_0x3db3();let _0x3a292d=_0x3db36d[_0x236843];return _0x3a292d;}function x(_0x4cfda1){const _0x24896c=_0x2e0ef9;return typeof _0x4cfda1==_0x24896c(0x1ce)&&!!_0x4cfda1&&'op'in _0x4cfda1&&Array[_0x24896c(0x22d)](_0x4cfda1['op']);}function S(_0x258ac6){return typeof _0x258ac6=='object'&&!!_0x258ac6;}function C(_0x5cf55b,_0xe75c8e){return function(_0x26cd53,_0x6d4869){_0xe75c8e(_0x26cd53,_0x6d4869,_0x5cf55b);};}function w(_0x288143,_0xc01e96,_0xe0fe38,_0x2adb46){const _0x18e83d=_0x2e0ef9;var _0x4f6937=arguments[_0x18e83d(0x1d5)],_0x29c954=_0x4f6937<0x3?_0xc01e96:_0x2adb46===null?_0x2adb46=Object['getOwnPropertyDescriptor'](_0xc01e96,_0xe0fe38):_0x2adb46,_0x52f7e5;if(typeof Reflect=='object'&&typeof Reflect[_0x18e83d(0x1df)]==_0x18e83d(0x20f))_0x29c954=Reflect[_0x18e83d(0x1df)](_0x288143,_0xc01e96,_0xe0fe38,_0x2adb46);else{for(var _0x20a748=_0x288143[_0x18e83d(0x1d5)]-0x1;_0x20a748>=0x0;_0x20a748--)(_0x52f7e5=_0x288143[_0x20a748])&&(_0x29c954=(_0x4f6937<0x3?_0x52f7e5(_0x29c954):_0x4f6937>0x3?_0x52f7e5(_0xc01e96,_0xe0fe38,_0x29c954):_0x52f7e5(_0xc01e96,_0xe0fe38))||_0x29c954);}return _0x4f6937>0x3&&_0x29c954&&Object[_0x18e83d(0x216)](_0xc01e96,_0xe0fe38,_0x29c954),_0x29c954;}let T=class{constructor(_0x59841a){const _0x4295b7=_0x2e0ef9;this[_0x4295b7(0x226)]=_0x59841a;}async[_0x2e0ef9(0x217)](_0x5ce2e1,_0x3c2e44){const _0xa4bccb=_0x2e0ef9;return c(await this[_0xa4bccb(0x226)][_0xa4bccb(0x212)](_0x5ce2e1,_0x3c2e44));}};T=w([C(0x0,(0x0,r[_0x2e0ef9(0x1d4)])(t['HistoryMutationService']))],T);function E(_0x90d193){'@babel/helpers - typeof';const _0x4c264c=_0x2e0ef9;return E=typeof Symbol=='function'&&typeof Symbol[_0x4c264c(0x1bb)]=='symbol'?function(_0x5b7604){return typeof _0x5b7604;}:function(_0x49bd7f){const _0x184922=_0x4c264c;return _0x49bd7f&&typeof Symbol==_0x184922(0x20f)&&_0x49bd7f[_0x184922(0x1f3)]===Symbol&&_0x49bd7f!==Symbol[_0x184922(0x1c2)]?_0x184922(0x1f2):typeof _0x49bd7f;},E(_0x90d193);}function D(_0x5841bb,_0x5a4cfb){const _0x108fbf=_0x2e0ef9;if(E(_0x5841bb)!='object'||!_0x5841bb)return _0x5841bb;var _0x3c5764=_0x5841bb[Symbol[_0x108fbf(0x21d)]];if(_0x3c5764!==void 0x0){var _0x51ce83=_0x3c5764[_0x108fbf(0x1ec)](_0x5841bb,_0x5a4cfb||_0x108fbf(0x1de));if(E(_0x51ce83)!=_0x108fbf(0x1ce))return _0x51ce83;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5a4cfb==='string'?String:Number)(_0x5841bb);}function O(_0x4fd9a6){const _0x2bdb62=_0x2e0ef9;var _0x41362a=D(_0x4fd9a6,'string');return E(_0x41362a)==_0x2bdb62(0x1f2)?_0x41362a:_0x41362a+'';}function k(_0x34abcb,_0x58ff14,_0x5c78d7){const _0x1d58a8=_0x2e0ef9;return(_0x58ff14=O(_0x58ff14))in _0x34abcb?Object[_0x1d58a8(0x216)](_0x34abcb,_0x58ff14,{'value':_0x5c78d7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x34abcb[_0x58ff14]=_0x5c78d7,_0x34abcb;}const A=['rev',_0x2e0ef9(0x208),_0x2e0ef9(0x201)],j=[t[_0x2e0ef9(0x1f9)][_0x2e0ef9(0x206)],t[_0x2e0ef9(0x1f9)]['TABLE'],t[_0x2e0ef9(0x1f9)][_0x2e0ef9(0x1b1)],t[_0x2e0ef9(0x1f9)][_0x2e0ef9(0x228)],t['UnitComparisonEntityType']['VIEW'],t[_0x2e0ef9(0x1f9)][_0x2e0ef9(0x22e)]],M=(0x0,t[_0x2e0ef9(0x1c9)])('fields',_0x2e0ef9(0x1b2),_0x2e0ef9(0x218),_0x2e0ef9(0x1b9),_0x2e0ef9(0x1e1),_0x2e0ef9(0x224),_0x2e0ef9(0x1cb),_0x2e0ef9(0x1c7),_0x2e0ef9(0x1f6),_0x2e0ef9(0x20e),'rowIndex',...A);var N=class{constructor(){const _0x277576=_0x2e0ef9;k(this,'type',r['UniverInstanceType'][_0x277576(0x1f8)]);}[_0x2e0ef9(0x217)](_0x211878){const _0x5cebf4=_0x2e0ef9;let _0x51eb4a=(0x0,t[_0x5cebf4(0x1dd)])(_0x211878['leftData']),_0xa620c5=(0x0,t[_0x5cebf4(0x1dd)])(_0x211878[_0x5cebf4(0x223)]),_0x3cf4bf=(0x0,t[_0x5cebf4(0x1dd)])(_0x51eb4a==null?void 0x0:_0x51eb4a[_0x5cebf4(0x1f1)]),_0x675752=(0x0,t['asRecord'])(_0xa620c5==null?void 0x0:_0xa620c5['tables']),_0xcfb661=new Set([...Object['keys'](_0x3cf4bf??{}),...Object[_0x5cebf4(0x1d8)](_0x675752??{})]),_0x6547cc=(0x0,t[_0x5cebf4(0x1b4)])(_0x3cf4bf,_0x51eb4a==null?void 0x0:_0x51eb4a[_0x5cebf4(0x1b7)],M),_0x59a487=(0x0,t['recordComparisonEntries'])(_0x675752,_0xa620c5==null?void 0x0:_0xa620c5[_0x5cebf4(0x1b7)],M),_0x52b493=[...(0x0,t[_0x5cebf4(0x204)])({'entityType':t[_0x5cebf4(0x1f9)][_0x5cebf4(0x206)],'left':_0x51eb4a===void 0x0?[]:[{'stableId':'base','position':0x0,'value':(0x0,t[_0x5cebf4(0x1c9)])(_0x5cebf4(0x1f1),_0x5cebf4(0x1b7),'resources',...A)(_0x51eb4a)}],'right':_0xa620c5===void 0x0?[]:[{'stableId':_0x5cebf4(0x1eb),'position':0x0,'value':(0x0,t['withoutComparisonKeys'])(_0x5cebf4(0x1f1),'tableOrder',_0x5cebf4(0x1c8),...A)(_0xa620c5)}]}),...(0x0,t[_0x5cebf4(0x204)])({'entityType':t['UnitComparisonEntityType'][_0x5cebf4(0x1af)],'left':_0x6547cc,'right':_0x59a487}),...[..._0xcfb661][_0x5cebf4(0x1fa)](_0x3df62e=>P(_0x3df62e,_0x3cf4bf,_0x675752))],_0x1b0bd5=(0x0,t[_0x5cebf4(0x1d9)])({'entityType':t['UnitComparisonEntityType'][_0x5cebf4(0x1af)],'items':_0x52b493,'left':_0x6547cc,'right':_0x59a487});return{'items':_0x1b0bd5['items'],'supportedEntityTypes':j,'scopes':_0x1b0bd5['scopes'],'productContext':{'type':r['UniverInstanceType'][_0x5cebf4(0x1f8)],'visualProjection':_0x5cebf4(0x1dc)}};}};function P(_0x48a092,_0x483ff3,_0x14821a){const _0x1b426f=_0x2e0ef9;let _0x1499a6=(0x0,t[_0x1b426f(0x1dd)])(_0x483ff3==null?void 0x0:_0x483ff3[_0x48a092])??{},_0x4e735d=(0x0,t['asRecord'])(_0x14821a==null?void 0x0:_0x14821a[_0x48a092])??{},_0x4a0596=(0x0,t[_0x1b426f(0x1dd)])(_0x1499a6[_0x1b426f(0x1b8)]),_0x42a9d4=(0x0,t['asRecord'])(_0x4e735d['fields']),_0x33e20c=(0x0,t[_0x1b426f(0x1dd)])(_0x1499a6['records']),_0x2822e9=(0x0,t[_0x1b426f(0x1dd)])(_0x4e735d[_0x1b426f(0x218)]);return[...F(t[_0x1b426f(0x1f9)]['FIELD'],_0x48a092,_0x4a0596,_0x42a9d4,_0x1499a6[_0x1b426f(0x1b2)],_0x4e735d[_0x1b426f(0x1b2)],(0x0,t[_0x1b426f(0x1c9)])(...A)),...F(t['UnitComparisonEntityType'][_0x1b426f(0x228)],_0x48a092,_0x33e20c,_0x2822e9,_0x1499a6[_0x1b426f(0x1b9)],_0x4e735d[_0x1b426f(0x1b9)],(0x0,t[_0x1b426f(0x1c9)])(_0x1b426f(0x1cc),_0x1b426f(0x1b6),...A)),...F(t[_0x1b426f(0x1f9)][_0x1b426f(0x22f)],_0x48a092,_0x1499a6[_0x1b426f(0x1e1)],_0x4e735d[_0x1b426f(0x1e1)],_0x1499a6[_0x1b426f(0x224)],_0x4e735d[_0x1b426f(0x224)],(0x0,t['withoutComparisonKeys'])('orderKey',...A)),...I(_0x48a092,_0x4a0596,_0x42a9d4,_0x33e20c,_0x2822e9,_0x1499a6['fieldOrder'],_0x4e735d[_0x1b426f(0x1b2)],_0x1499a6[_0x1b426f(0x1b9)],_0x4e735d[_0x1b426f(0x1b9)],_0x1499a6['primaryFieldId'],_0x4e735d[_0x1b426f(0x1d0)])];}function F(_0xdd2322,_0x14f614,_0x6b934d,_0x5b07fb,_0x3872d6,_0x4d0366,_0xbe74c8){const _0x1ba9e6=_0x2e0ef9;return(0x0,t[_0x1ba9e6(0x204)])({'entityType':_0xdd2322,'parentStableId':_0x14f614,'left':(0x0,t[_0x1ba9e6(0x1b4)])(_0x6b934d,_0x3872d6,_0xbe74c8),'right':(0x0,t['recordComparisonEntries'])(_0x5b07fb,_0x4d0366,_0xbe74c8)});}function I(_0x334471,_0x1f50aa,_0x4a4021,_0x5bce6f,_0x4403b9,_0x1f4d92,_0x53ff81,_0x46c870,_0x4b8464,_0x1364b1,_0x3779dd){const _0x1d7a0c=_0x2e0ef9;let _0x495002=R(_0x1f50aa,_0x5bce6f,_0x1f4d92,_0x46c870,_0x1364b1),_0x5950e1=R(_0x4a4021,_0x4403b9,_0x53ff81,_0x4b8464,_0x3779dd),_0x189870=new Map(_0x495002[_0x1d7a0c(0x225)](_0x4aa366=>[_0x4aa366[_0x1d7a0c(0x1e5)],_0x4aa366])),_0x26c4fc=new Map(_0x5950e1[_0x1d7a0c(0x225)](_0x4629e0=>[_0x4629e0[_0x1d7a0c(0x1e5)],_0x4629e0]));return(0x0,t[_0x1d7a0c(0x204)])({'entityType':t['UnitComparisonEntityType'][_0x1d7a0c(0x22e)],'parentStableId':_0x334471,'left':_0x495002,'right':_0x5950e1})[_0x1d7a0c(0x225)](_0x1195dd=>({..._0x1195dd,'locations':{'left':L(_0x1195dd['locations'][_0x1d7a0c(0x1d1)],_0x189870[_0x1d7a0c(0x1bc)](_0x1195dd[_0x1d7a0c(0x1e5)]),_0x334471),'right':L(_0x1195dd['locations'][_0x1d7a0c(0x1f4)],_0x26c4fc[_0x1d7a0c(0x1bc)](_0x1195dd[_0x1d7a0c(0x1e5)]),_0x334471)}}));}function L(_0x4f027e,_0x200347,_0x385567){const _0x103bf0=_0x2e0ef9;if(_0x4f027e===null||_0x200347===void 0x0)return null;let _0x3ebcfb=_0x4f027e['target'];return(_0x3ebcfb==null?void 0x0:_0x3ebcfb['kind'])===_0x103bf0(0x21e)?{..._0x4f027e,'parentStableId':_0x200347['recordId'],'target':{..._0x3ebcfb,'kind':_0x103bf0(0x231),'tableId':_0x385567,'recordId':_0x200347[_0x103bf0(0x1fb)],'fieldId':_0x200347[_0x103bf0(0x230)]}}:_0x4f027e;}function R(_0x4a5ac2,_0x1708fb,_0x324453,_0x146561,_0x74b91d){const _0x2f6581=_0x2e0ef9;let _0x91e2d6=z(_0x4a5ac2,_0x324453);return z(_0x1708fb,_0x146561)[_0x2f6581(0x1fa)]((_0x4c343c,_0x3f21da)=>{const _0x224487=_0x2f6581;var _0x3ac6a9;let _0x44953f=(0x0,t[_0x224487(0x1dd)])((_0x3ac6a9=(0x0,t[_0x224487(0x1dd)])(_0x1708fb==null?void 0x0:_0x1708fb[_0x4c343c]))==null?void 0x0:_0x3ac6a9['values']);if(_0x44953f===void 0x0)return[];let _0x1eed5c=typeof _0x74b91d==_0x224487(0x1ba)?_0x44953f[_0x74b91d]:void 0x0,_0x1a0bd8=typeof _0x1eed5c=='string'||typeof _0x1eed5c==_0x224487(0x22a)?String(_0x1eed5c):void 0x0;return _0x91e2d6[_0x224487(0x1fa)]((_0x3cef8c,_0x296def)=>{const _0x1b633b=_0x224487;var _0x3bc229;return _0x3cef8c in _0x44953f?[{'stableId':_0x4c343c+':'+_0x3cef8c,'recordId':_0x4c343c,'fieldId':_0x3cef8c,'position':_0x3f21da*Math[_0x1b633b(0x20a)](0x1,_0x91e2d6[_0x1b633b(0x1d5)])+_0x296def,'displayName':[_0x1a0bd8,(_0x3bc229=(0x0,t[_0x1b633b(0x1dd)])(_0x4a5ac2==null?void 0x0:_0x4a5ac2[_0x3cef8c]))==null?void 0x0:_0x3bc229['name']][_0x1b633b(0x209)](_0x184ebe=>typeof _0x184ebe==_0x1b633b(0x1ba)&&_0x184ebe[_0x1b633b(0x1d5)]>0x0)[_0x1b633b(0x234)](_0x1b633b(0x221)),'value':_0x44953f[_0x3cef8c]}]:[];});});}function z(_0x4c9165,_0x5aca26){const _0x74c1e9=_0x2e0ef9;let _0x18c714=_0x4c9165??{},_0x42ef8b=Array[_0x74c1e9(0x22d)](_0x5aca26)?_0x5aca26['filter'](_0x121763=>typeof _0x121763==_0x74c1e9(0x1ba)&&_0x121763 in _0x18c714):[],_0xb68e1a=new Set(_0x42ef8b);return[..._0x42ef8b,...Object[_0x74c1e9(0x1d8)](_0x18c714)['filter'](_0x1843ad=>!_0xb68e1a['has'](_0x1843ad))];}let B=class extends r[_0x2e0ef9(0x1da)]{constructor(_0x5a4285=o,_0x45fbb4,_0x343903){const _0x44004a=_0x2e0ef9;super(),this[_0x44004a(0x213)]=_0x5a4285,this[_0x44004a(0x207)]=_0x45fbb4,this[_0x44004a(0x1e0)]=_0x343903;let {..._0x524a8b}=(0x0,r[_0x44004a(0x1f7)])({},o,this[_0x44004a(0x213)]);this[_0x44004a(0x1e0)][_0x44004a(0x222)](_0x44004a(0x1ff),_0x524a8b);}[_0x2e0ef9(0x219)](){const _0x18a9dd=_0x2e0ef9;(0x0,r[_0x18a9dd(0x21b)])(this[_0x18a9dd(0x207)],[[T],[N]]),this['disposeWithMe'](this[_0x18a9dd(0x207)][_0x18a9dd(0x1bc)](t[_0x18a9dd(0x1fc)])[_0x18a9dd(0x200)](this[_0x18a9dd(0x207)][_0x18a9dd(0x1bc)](N)));}};function _0x3db3(){const _0x4006f7=['tables','symbol','constructor','right','Injector','colIndex','merge','UNIVER_BASE','UnitComparisonEntityType','flatMap','recordId','UnitComparisonAdapterRegistryService','index','type','bases-history.config','register','updatedAt','path','revision','buildSemanticComparisonItems','@univerjs-pro/bases-history','BASE','_injector','createdAt','filter','max','pluginName','5fckXZU','BasesUnitComparisonAdapter','rowId','function','memberId','base:cell','load','_config','base:view','base:table','defineProperty','compare','records','onStarting','ena','registerDependencies','base:field','toPrimitive','entity','updatedBy','packageName','\x20·\x20','setConfig','rightData','viewOrder','map','_mutationService','toStringTag','RECORD','1731108WTMXFa','number','push','IConfigService','isArray','CELL','VIEW','fieldId','base-cell','UniverLicensePlugin','every','join','TABLE','10138560FGiujW','FIELD','fieldOrder','3256crKUPX','recordComparisonEntries','indexOf','orderKey','tableOrder','fields','recordOrder','string','iterator','get','DependentOn','982gPauSf','compose','tableId','set','prototype','delete','params','109695OzNDkc','update','colId','resources','withoutComparisonKeys','forEach','cellData','values','label','object','520iRisHI','primaryFieldId','left','entry','mutation','Inject','length','version','UniverBasesPlugin','keys','buildScopedUnitComparison','Plugin','UniverInstanceType','raw-table-data','asRecord','default','decorate','_configService','views','UniverBasesHistoryPlugin','viewId','20RyGwvA','stableId','1767564lJOGCC','hasOwnProperty','UNIVER_BASES_HISTORY_PLUGIN','7602pQcUfF','value','base','call','UniverEditHistoryPlugin','some','21010IHuFfR','737xTQQOO'];_0x3db3=function(){return _0x4006f7;};return _0x3db3();}k(B,_0x2e0ef9(0x20b),_0x2e0ef9(0x1e8)),k(B,_0x2e0ef9(0x220),i),k(B,_0x2e0ef9(0x1d6),a),k(B,_0x2e0ef9(0x1fe),r[_0x2e0ef9(0x1db)][_0x2e0ef9(0x1f8)]),B=w([(0x0,r[_0x2e0ef9(0x1bd)])(n[_0x2e0ef9(0x232)],t[_0x2e0ef9(0x1ed)],e[_0x2e0ef9(0x1d7)]),C(0x1,(0x0,r[_0x2e0ef9(0x1d4)])(r[_0x2e0ef9(0x1f5)])),C(0x2,r[_0x2e0ef9(0x22c)])],B),Object[_0x2e0ef9(0x216)](exports,'BasesHistoryDiffService',{'enumerable':!0x0,'get':function(){return T;}}),exports[_0x2e0ef9(0x20d)]=N,Object['defineProperty'](exports,_0x2e0ef9(0x1e2),{'enumerable':!0x0,'get':function(){return B;}});
|
|
1
|
+
const _0x24644c=_0x2586;(function(_0x2b5ce6,_0xe54391){const _0x4f766b=_0x2586,_0x63feba=_0x2b5ce6();while(!![]){try{const _0x1a868b=-parseInt(_0x4f766b(0x1c9))/0x1*(parseInt(_0x4f766b(0x1da))/0x2)+-parseInt(_0x4f766b(0x1e0))/0x3*(parseInt(_0x4f766b(0x19e))/0x4)+parseInt(_0x4f766b(0x1f4))/0x5+-parseInt(_0x4f766b(0x200))/0x6*(parseInt(_0x4f766b(0x1e8))/0x7)+-parseInt(_0x4f766b(0x19c))/0x8*(-parseInt(_0x4f766b(0x1be))/0x9)+-parseInt(_0x4f766b(0x1c3))/0xa+parseInt(_0x4f766b(0x1ba))/0xb*(parseInt(_0x4f766b(0x210))/0xc);if(_0x1a868b===_0xe54391)break;else _0x63feba['push'](_0x63feba['shift']());}catch(_0x1b9420){_0x63feba['push'](_0x63feba['shift']());}}}(_0x5d85,0x68ff4),Object[_0x24644c(0x1b1)](exports,Symbol[_0x24644c(0x1f5)],{'value':_0x24644c(0x1ce)}));let e=require('@univerjs-pro/bases'),t=require('@univerjs-pro/edit-history'),n=require('@univerjs-pro/license'),r=require('@univerjs/core');var i=_0x24644c(0x1b4),a=_0x24644c(0x1f2);const o={},s=[_0x24644c(0x21a),_0x24644c(0x1dd),_0x24644c(0x20c),'rowIndex',_0x24644c(0x1d1),_0x24644c(0x1d8),_0x24644c(0x1a6),_0x24644c(0x202)];function _0x5d85(){const _0x1c8bd8=['update','base:view','label','tables','push','44193zkNMIz','isArray','_mutationService','entity','forEach','Module','decorate','RECORD','rowId','FIELD','tableOrder','default','Injector','pluginName','base','colIndex','recordId','28iOIhTi','buildScopedUnitComparison','stableId','fieldOrder','has','DependentOn','3HzHaUT','insert','base:unknown','revision','UniverEditHistoryPlugin','primaryFieldId','toPrimitive','left','4536413FTzyxJ','filter','BASE','resources','version','fieldId','every','delete','_configService','TABLE','1.0.1','length','4101490RwCcNP','toStringTag','base:table','updatedBy','value','UNIVER_BASE','fields','join','string','items','HistoryMutationService','viewId','6AYhnHP','prototype','cellData','some','UnitComparisonAdapterRegistryService','tableId','UnitComparisonEntityType','mutation','VIEW','base:record','flatMap','CELL','viewOrder','records','asRecord','_injector','641988DeDxqh','values','UNIVER_BASES_HISTORY_PLUGIN','Inject','base:field','type','function','UniverInstanceType','updatedAt','base:cell','recordOrder','compose','hasOwnProperty','number','sort','BasesHistoryDiffService','index','entry','24bjElMg','compare','1768808OigCdp','load','locations','iterator','rightData','rowIndex','get','target','colId','indexOf','orderKey','createdAt','symbol','views','params','packageName','path','object','set','defineProperty','IConfigService','raw-table-data','@univerjs-pro/bases-history','registerDependencies','_config','withoutComparisonKeys','keys','bases-history.config','209SRHUaQ','call','map','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','1275273AShqZV','leftData','recordComparisonEntries','buildSemanticComparisonItems','kind','1228390BEupIP'];_0x5d85=function(){return _0x1c8bd8;};return _0x5d85();}function c(_0x574530){const _0x35675e=_0x24644c;let _0x2c8f3a=null,_0x21f389=null,_0x186cae=_0x574530[_0x35675e(0x1bc)]((_0x547f7d,_0x33bfe1)=>({'entry':_0x547f7d,'index':_0x33bfe1}))[_0x35675e(0x21e)]((_0x22dcb9,_0x1d67f2)=>_0x22dcb9['entry'][_0x35675e(0x1e3)]-_0x1d67f2[_0x35675e(0x19b)]['revision']||_0x22dcb9[_0x35675e(0x220)]-_0x1d67f2['index']);for(let {entry:_0x1f03e9}of _0x186cae)x(_0x1f03e9[_0x35675e(0x207)][_0x35675e(0x1ac)])&&(_0x2c8f3a=_0x2c8f3a===null?_0x1f03e9[_0x35675e(0x207)][_0x35675e(0x1ac)]['op']:r['JSON1']['type'][_0x35675e(0x21b)](_0x2c8f3a,_0x1f03e9[_0x35675e(0x207)][_0x35675e(0x1ac)]['op']),_0x21f389=_0x1f03e9);if(_0x2c8f3a===null||_0x21f389===null)return[];let _0x160eb2=v(_0x2c8f3a)[_0x35675e(0x1e9)](_0x57dea6=>!u(_0x57dea6)),_0x413a93=h(_0x160eb2,'recordOrder'),_0x5d08d4=h(_0x160eb2,_0x35675e(0x1dd));return _0x160eb2['flatMap']((_0x799b99,_0x4adbd0)=>{const _0x16670f=_0x35675e;let _0x177013=m(_0x799b99[_0x16670f(0x1ae)]);if(!_0x177013)return[];let _0x39c08a=l(_0x799b99,_0x177013);return[{'id':_0x21f389[_0x16670f(0x1e3)]+':'+_0x4adbd0,'kind':_0x39c08a,'label':_0x177013[_0x16670f(0x1c6)],'memberId':_0x21f389['memberId'],'tableId':_0x177013[_0x16670f(0x205)],'viewId':_0x177013[_0x16670f(0x1ff)],'recordId':_0x177013['recordId'],'recordIndex':_0x177013[_0x16670f(0x1d9)]?_0x413a93[_0x16670f(0x1a4)](_0x177013[_0x16670f(0x1d9)]):void 0x0,'removedRecord':_0x39c08a===_0x16670f(0x1ef)?g(_0x799b99,_0x177013):void 0x0,'fieldId':_0x177013['fieldId'],'fieldIndex':_0x177013['fieldId']?_0x5d08d4[_0x16670f(0x1a4)](_0x177013[_0x16670f(0x1ed)]):void 0x0}];});}function l(_0x4c2c89,_0x514e12){const _0x4b6d8d=_0x24644c;if(!f(_0x4c2c89[_0x4b6d8d(0x1ae)],_0x514e12))return'update';let _0x2739c4=Object['prototype'][_0x4b6d8d(0x21c)]['call'](_0x4c2c89[_0x4b6d8d(0x1f8)],'i'),_0x42a2f3=Object[_0x4b6d8d(0x201)][_0x4b6d8d(0x21c)][_0x4b6d8d(0x1bb)](_0x4c2c89[_0x4b6d8d(0x1f8)],'r');return _0x2739c4&&!_0x42a2f3?_0x4b6d8d(0x1e1):_0x42a2f3&&!_0x2739c4?_0x4b6d8d(0x1ef):_0x4b6d8d(0x1c4);}function u(_0x36b460){const _0x453bfe=_0x24644c;return Object[_0x453bfe(0x201)][_0x453bfe(0x21c)][_0x453bfe(0x1bb)](_0x36b460[_0x453bfe(0x1f8)],'i')&&Object['prototype'][_0x453bfe(0x21c)][_0x453bfe(0x1bb)](_0x36b460['value'],'r')&&d(_0x36b460[_0x453bfe(0x1f8)]['i'],_0x36b460[_0x453bfe(0x1f8)]['r']);}function d(_0x1cae98,_0x24e0c3){const _0x467bea=_0x24644c;if(_0x1cae98===_0x24e0c3)return!0x0;if(Array[_0x467bea(0x1ca)](_0x1cae98)||Array[_0x467bea(0x1ca)](_0x24e0c3))return Array[_0x467bea(0x1ca)](_0x1cae98)&&Array[_0x467bea(0x1ca)](_0x24e0c3)&&_0x1cae98[_0x467bea(0x1f3)]===_0x24e0c3[_0x467bea(0x1f3)]&&_0x1cae98[_0x467bea(0x1ee)]((_0x562aa9,_0xac8dc0)=>d(_0x562aa9,_0x24e0c3[_0xac8dc0]));if(!S(_0x1cae98)||!S(_0x24e0c3))return!0x1;let _0x311c43=Object['keys'](_0x1cae98),_0x4df092=Object[_0x467bea(0x1b8)](_0x24e0c3);return _0x311c43[_0x467bea(0x1f3)]===_0x4df092[_0x467bea(0x1f3)]&&_0x311c43[_0x467bea(0x1ee)](_0x3463e5=>Object[_0x467bea(0x201)]['hasOwnProperty'][_0x467bea(0x1bb)](_0x24e0c3,_0x3463e5)&&d(_0x1cae98[_0x3463e5],_0x24e0c3[_0x3463e5]));}function f(_0xd0cf9f,_0x5b2dba){const _0x5d8e2a=_0x24644c;return _0x5b2dba['tableId']?_0x5b2dba[_0x5d8e2a(0x1d9)]&&_0x5b2dba['fieldId']?p(_0xd0cf9f,[_0x5d8e2a(0x1c7),_0x5b2dba[_0x5d8e2a(0x205)],_0x5d8e2a(0x20d),_0x5b2dba[_0x5d8e2a(0x1d9)],'values',_0x5b2dba[_0x5d8e2a(0x1ed)]]):_0x5b2dba[_0x5d8e2a(0x1d9)]?p(_0xd0cf9f,[_0x5d8e2a(0x1c7),_0x5b2dba[_0x5d8e2a(0x205)],_0x5d8e2a(0x20d),_0x5b2dba[_0x5d8e2a(0x1d9)]]):_0x5b2dba['fieldId']?p(_0xd0cf9f,[_0x5d8e2a(0x1c7),_0x5b2dba[_0x5d8e2a(0x205)],'fields',_0x5b2dba[_0x5d8e2a(0x1ed)]]):_0x5b2dba[_0x5d8e2a(0x1ff)]?p(_0xd0cf9f,['tables',_0x5b2dba[_0x5d8e2a(0x205)],_0x5d8e2a(0x1ab),_0x5b2dba[_0x5d8e2a(0x1ff)]]):p(_0xd0cf9f,[_0x5d8e2a(0x1c7),_0x5b2dba[_0x5d8e2a(0x205)]]):!0x1;}function p(_0x4d2ae9,_0x2d46ab){const _0x4f4f98=_0x24644c;return _0x4d2ae9[_0x4f4f98(0x1f3)]===_0x2d46ab['length']&&_0x4d2ae9['every']((_0x1ee7c6,_0x4b0b58)=>_0x1ee7c6===_0x2d46ab[_0x4b0b58]);}function m(_0x50ea8b){const _0xb59298=_0x24644c;let _0x516bed=_0x50ea8b['indexOf'](_0xb59298(0x1c7)),_0x1153ea=_0x50ea8b[_0x516bed+0x1];if(_0x516bed<0x0||typeof _0x1153ea!='string')return null;let _0x22e14b=_0x50ea8b[_0x516bed+0x2],_0x1d16ca=_0x50ea8b[_0x516bed+0x3];if(_0x22e14b===_0xb59298(0x20d)&&typeof _0x1d16ca==_0xb59298(0x1fc)){let _0x5c2432=_0x50ea8b[_0x516bed+0x4],_0x5a2168=_0x50ea8b[_0x516bed+0x5];return _0x5c2432===_0xb59298(0x211)&&typeof _0x5a2168==_0xb59298(0x1fc)?{'label':_0xb59298(0x219),'tableId':_0x1153ea,'recordId':_0x1d16ca,'fieldId':_0x5a2168}:_0x5c2432==='updatedAt'||_0x5c2432===_0xb59298(0x1f7)?null:{'label':_0xb59298(0x209),'tableId':_0x1153ea,'recordId':_0x1d16ca};}return _0x22e14b==='fields'&&typeof _0x1d16ca==_0xb59298(0x1fc)?{'label':_0xb59298(0x214),'tableId':_0x1153ea,'fieldId':_0x1d16ca}:_0x22e14b===_0xb59298(0x1ab)&&typeof _0x1d16ca==_0xb59298(0x1fc)?{'label':_0xb59298(0x1c5),'tableId':_0x1153ea,'viewId':_0x1d16ca}:s[_0xb59298(0x203)](_0x5d2a7a=>_0x5d2a7a===_0x22e14b)?null:{'label':_0x22e14b===void 0x0?_0xb59298(0x1f6):_0xb59298(0x1e2),'tableId':_0x1153ea};}function h(_0x534d4b,_0x216c5c){const _0x2850fc=_0x24644c;let _0x32742f=new Map();return _0x534d4b[_0x2850fc(0x1cd)](_0x25f910=>{const _0x11c77a=_0x2850fc;let _0x1c9852=_0x25f910[_0x11c77a(0x1ae)][_0x11c77a(0x1a7)](_0x216c5c),_0x5e5d5b=_0x25f910[_0x11c77a(0x1ae)][_0x1c9852+0x1],_0x187dcc=_0x25f910[_0x11c77a(0x1f8)]['r'];if(_0x1c9852>=0x0&&typeof _0x5e5d5b==_0x11c77a(0x21d)&&typeof _0x187dcc=='string'){_0x32742f[_0x11c77a(0x1b0)](_0x187dcc,_0x5e5d5b);return;}if(_0x1c9852!==_0x25f910['path'][_0x11c77a(0x1f3)]-0x1||!Array['isArray'](_0x187dcc))return;let _0x36b4eb=new Set(Array[_0x11c77a(0x1ca)](_0x25f910[_0x11c77a(0x1f8)]['i'])?_0x25f910[_0x11c77a(0x1f8)]['i']['filter'](_0x50df5a=>typeof _0x50df5a==_0x11c77a(0x1fc)):[]);_0x187dcc[_0x11c77a(0x1cd)]((_0x33cc8c,_0x416916)=>{const _0x531fd4=_0x11c77a;typeof _0x33cc8c=='string'&&!_0x36b4eb['has'](_0x33cc8c)&&_0x32742f[_0x531fd4(0x1b0)](_0x33cc8c,_0x416916);});}),_0x32742f;}function g(_0x397e7b,_0x488118){const _0x119fc7=_0x24644c;if(_0x488118['recordId']&&!_0x488118[_0x119fc7(0x1ed)]&&f(_0x397e7b['path'],_0x488118))return _(_0x397e7b[_0x119fc7(0x1f8)]['r'])?_0x397e7b['value']['r']:void 0x0;}function _0x2586(_0x5ce8d5,_0xd3b482){_0x5ce8d5=_0x5ce8d5-0x19b;const _0x5d85bb=_0x5d85();let _0x25864a=_0x5d85bb[_0x5ce8d5];return _0x25864a;}function _(_0x116056){const _0x5574e9=_0x24644c;return S(_0x116056)&&typeof _0x116056['id']==_0x5574e9(0x1fc)&&S(_0x116056[_0x5574e9(0x211)])&&typeof _0x116056['orderKey']=='string'&&typeof _0x116056[_0x5574e9(0x1a9)]==_0x5574e9(0x21d)&&typeof _0x116056[_0x5574e9(0x218)]==_0x5574e9(0x21d);}function v(_0x469bb0){let _0x275b05=[];return y(_0x469bb0,[],_0x275b05),_0x275b05;}function y(_0x3a422e,_0x59d278,_0x110ec1){const _0x4549ec=_0x24644c;if(!Array[_0x4549ec(0x1ca)](_0x3a422e))return;let _0x5e0859=[];_0x3a422e[_0x4549ec(0x1cd)](_0x465105=>{const _0x5d1d18=_0x4549ec;if(Array[_0x5d1d18(0x1ca)](_0x465105)){y(_0x465105,[..._0x59d278,..._0x5e0859],_0x110ec1);return;}if(b(_0x465105)){_0x110ec1['push']({'path':[..._0x59d278,..._0x5e0859],'value':_0x465105});return;}(typeof _0x465105==_0x5d1d18(0x1fc)||typeof _0x465105==_0x5d1d18(0x21d))&&_0x5e0859[_0x5d1d18(0x1c8)](_0x465105);});}function b(_0x3d003b){const _0x1535d8=_0x24644c;return S(_0x3d003b)&&['i','r','p','d','es','ena','et'][_0x1535d8(0x203)](_0x868b88=>Object[_0x1535d8(0x201)][_0x1535d8(0x21c)][_0x1535d8(0x1bb)](_0x3d003b,_0x868b88));}function x(_0x3c959e){return typeof _0x3c959e=='object'&&!!_0x3c959e&&'op'in _0x3c959e&&Array['isArray'](_0x3c959e['op']);}function S(_0x14776e){const _0x3cc71e=_0x24644c;return typeof _0x14776e==_0x3cc71e(0x1af)&&!!_0x14776e;}function C(_0x1db484,_0x26229b){return function(_0x1d2307,_0x330eab){_0x26229b(_0x1d2307,_0x330eab,_0x1db484);};}function w(_0x246b79,_0x2d7ef2,_0x1cf5ac,_0x1938c4){const _0x1c1c65=_0x24644c;var _0x41697b=arguments[_0x1c1c65(0x1f3)],_0x1e66c5=_0x41697b<0x3?_0x2d7ef2:_0x1938c4===null?_0x1938c4=Object['getOwnPropertyDescriptor'](_0x2d7ef2,_0x1cf5ac):_0x1938c4,_0x457901;if(typeof Reflect==_0x1c1c65(0x1af)&&typeof Reflect['decorate']==_0x1c1c65(0x216))_0x1e66c5=Reflect[_0x1c1c65(0x1cf)](_0x246b79,_0x2d7ef2,_0x1cf5ac,_0x1938c4);else{for(var _0x358914=_0x246b79[_0x1c1c65(0x1f3)]-0x1;_0x358914>=0x0;_0x358914--)(_0x457901=_0x246b79[_0x358914])&&(_0x1e66c5=(_0x41697b<0x3?_0x457901(_0x1e66c5):_0x41697b>0x3?_0x457901(_0x2d7ef2,_0x1cf5ac,_0x1e66c5):_0x457901(_0x2d7ef2,_0x1cf5ac))||_0x1e66c5);}return _0x41697b>0x3&&_0x1e66c5&&Object['defineProperty'](_0x2d7ef2,_0x1cf5ac,_0x1e66c5),_0x1e66c5;}let T=class{constructor(_0x54b748){this['_mutationService']=_0x54b748;}async['compare'](_0x707f0d,_0x35306b){const _0x308f23=_0x24644c;return c(await this[_0x308f23(0x1cb)][_0x308f23(0x19f)](_0x707f0d,_0x35306b));}};T=w([C(0x0,(0x0,r['Inject'])(t[_0x24644c(0x1fe)]))],T);function E(_0x4f8d3e){'@babel/helpers - typeof';const _0x54cd2c=_0x24644c;return E=typeof Symbol==_0x54cd2c(0x216)&&typeof Symbol[_0x54cd2c(0x1a1)]==_0x54cd2c(0x1aa)?function(_0x77fe8){return typeof _0x77fe8;}:function(_0x4417b0){const _0x239277=_0x54cd2c;return _0x4417b0&&typeof Symbol==_0x239277(0x216)&&_0x4417b0['constructor']===Symbol&&_0x4417b0!==Symbol['prototype']?_0x239277(0x1aa):typeof _0x4417b0;},E(_0x4f8d3e);}function D(_0x1d42b5,_0x32d4fd){const _0x107d26=_0x24644c;if(E(_0x1d42b5)!=_0x107d26(0x1af)||!_0x1d42b5)return _0x1d42b5;var _0x12e400=_0x1d42b5[Symbol[_0x107d26(0x1e6)]];if(_0x12e400!==void 0x0){var _0x2d6ed4=_0x12e400[_0x107d26(0x1bb)](_0x1d42b5,_0x32d4fd||_0x107d26(0x1d4));if(E(_0x2d6ed4)!='object')return _0x2d6ed4;throw TypeError(_0x107d26(0x1bd));}return(_0x32d4fd===_0x107d26(0x1fc)?String:Number)(_0x1d42b5);}function O(_0x352328){const _0x5ebea7=_0x24644c;var _0x4aea86=D(_0x352328,_0x5ebea7(0x1fc));return E(_0x4aea86)==_0x5ebea7(0x1aa)?_0x4aea86:_0x4aea86+'';}function k(_0x3274ef,_0x543e8a,_0x1375bd){const _0x283ee2=_0x24644c;return(_0x543e8a=O(_0x543e8a))in _0x3274ef?Object[_0x283ee2(0x1b1)](_0x3274ef,_0x543e8a,{'value':_0x1375bd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3274ef[_0x543e8a]=_0x1375bd,_0x3274ef;}const A=['rev','createdAt',_0x24644c(0x218)],j=[t[_0x24644c(0x206)]['BASE'],t['UnitComparisonEntityType']['TABLE'],t[_0x24644c(0x206)][_0x24644c(0x1d2)],t['UnitComparisonEntityType'][_0x24644c(0x1d0)],t['UnitComparisonEntityType'][_0x24644c(0x208)],t[_0x24644c(0x206)][_0x24644c(0x20b)]],M=(0x0,t[_0x24644c(0x1b7)])(_0x24644c(0x1fa),_0x24644c(0x1dd),_0x24644c(0x20d),'recordOrder',_0x24644c(0x1ab),_0x24644c(0x20c),_0x24644c(0x202),_0x24644c(0x1a6),_0x24644c(0x1d8),'rowId',_0x24644c(0x1a3),...A);var N=class{constructor(){const _0x2dc08b=_0x24644c;k(this,_0x2dc08b(0x215),r[_0x2dc08b(0x217)]['UNIVER_BASE']);}[_0x24644c(0x19d)](_0x33b3ec){const _0x2fed97=_0x24644c;let _0x318584=(0x0,t['asRecord'])(_0x33b3ec[_0x2fed97(0x1bf)]),_0x51f883=(0x0,t['asRecord'])(_0x33b3ec[_0x2fed97(0x1a2)]),_0x32c1b2=(0x0,t[_0x2fed97(0x20e)])(_0x318584==null?void 0x0:_0x318584[_0x2fed97(0x1c7)]),_0x2622c5=(0x0,t[_0x2fed97(0x20e)])(_0x51f883==null?void 0x0:_0x51f883['tables']),_0x1c79df=new Set([...Object[_0x2fed97(0x1b8)](_0x32c1b2??{}),...Object[_0x2fed97(0x1b8)](_0x2622c5??{})]),_0x12b4a8=(0x0,t[_0x2fed97(0x1c0)])(_0x32c1b2,_0x318584==null?void 0x0:_0x318584[_0x2fed97(0x1d3)],M),_0x49d6b9=(0x0,t['recordComparisonEntries'])(_0x2622c5,_0x51f883==null?void 0x0:_0x51f883['tableOrder'],M),_0x43d1fb=[...(0x0,t[_0x2fed97(0x1c1)])({'entityType':t[_0x2fed97(0x206)][_0x2fed97(0x1ea)],'left':_0x318584===void 0x0?[]:[{'stableId':_0x2fed97(0x1d7),'position':0x0,'value':(0x0,t[_0x2fed97(0x1b7)])('tables',_0x2fed97(0x1d3),_0x2fed97(0x1eb),...A)(_0x318584)}],'right':_0x51f883===void 0x0?[]:[{'stableId':_0x2fed97(0x1d7),'position':0x0,'value':(0x0,t[_0x2fed97(0x1b7)])(_0x2fed97(0x1c7),_0x2fed97(0x1d3),_0x2fed97(0x1eb),...A)(_0x51f883)}]}),...(0x0,t[_0x2fed97(0x1c1)])({'entityType':t[_0x2fed97(0x206)][_0x2fed97(0x1f1)],'left':_0x12b4a8,'right':_0x49d6b9}),...[..._0x1c79df][_0x2fed97(0x20a)](_0x12dbfb=>P(_0x12dbfb,_0x32c1b2,_0x2622c5))],_0x37a1a0=(0x0,t[_0x2fed97(0x1db)])({'entityType':t[_0x2fed97(0x206)][_0x2fed97(0x1f1)],'items':_0x43d1fb,'left':_0x12b4a8,'right':_0x49d6b9});return{'items':_0x37a1a0[_0x2fed97(0x1fd)],'supportedEntityTypes':j,'scopes':_0x37a1a0['scopes'],'productContext':{'type':r['UniverInstanceType'][_0x2fed97(0x1f9)],'visualProjection':_0x2fed97(0x1b3)}};}};function P(_0x50909e,_0x176966,_0x2e6e6d){const _0x346ede=_0x24644c;let _0x2c698c=(0x0,t[_0x346ede(0x20e)])(_0x176966==null?void 0x0:_0x176966[_0x50909e])??{},_0x20f72f=(0x0,t[_0x346ede(0x20e)])(_0x2e6e6d==null?void 0x0:_0x2e6e6d[_0x50909e])??{},_0x17ea0e=(0x0,t[_0x346ede(0x20e)])(_0x2c698c[_0x346ede(0x1fa)]),_0x156bd0=(0x0,t[_0x346ede(0x20e)])(_0x20f72f['fields']),_0x6ec299=(0x0,t[_0x346ede(0x20e)])(_0x2c698c[_0x346ede(0x20d)]),_0x19e878=(0x0,t[_0x346ede(0x20e)])(_0x20f72f[_0x346ede(0x20d)]);return[...F(t[_0x346ede(0x206)][_0x346ede(0x1d2)],_0x50909e,_0x17ea0e,_0x156bd0,_0x2c698c['fieldOrder'],_0x20f72f[_0x346ede(0x1dd)],(0x0,t[_0x346ede(0x1b7)])(...A)),...F(t['UnitComparisonEntityType'][_0x346ede(0x1d0)],_0x50909e,_0x6ec299,_0x19e878,_0x2c698c[_0x346ede(0x21a)],_0x20f72f[_0x346ede(0x21a)],(0x0,t[_0x346ede(0x1b7)])(_0x346ede(0x211),_0x346ede(0x1a8),...A)),...F(t[_0x346ede(0x206)][_0x346ede(0x208)],_0x50909e,_0x2c698c['views'],_0x20f72f[_0x346ede(0x1ab)],_0x2c698c['viewOrder'],_0x20f72f[_0x346ede(0x20c)],(0x0,t['withoutComparisonKeys'])(_0x346ede(0x1a8),...A)),...I(_0x50909e,_0x17ea0e,_0x156bd0,_0x6ec299,_0x19e878,_0x2c698c['fieldOrder'],_0x20f72f[_0x346ede(0x1dd)],_0x2c698c[_0x346ede(0x21a)],_0x20f72f['recordOrder'],_0x2c698c[_0x346ede(0x1e5)],_0x20f72f[_0x346ede(0x1e5)])];}function F(_0x42f183,_0x1db681,_0x111039,_0x3fabaa,_0x42b04b,_0x13afe5,_0x40f389){const _0x4fb86f=_0x24644c;return(0x0,t['buildSemanticComparisonItems'])({'entityType':_0x42f183,'parentStableId':_0x1db681,'left':(0x0,t['recordComparisonEntries'])(_0x111039,_0x42b04b,_0x40f389),'right':(0x0,t[_0x4fb86f(0x1c0)])(_0x3fabaa,_0x13afe5,_0x40f389)});}function I(_0x1dcde6,_0x44f4a3,_0x31bf2e,_0x23ac72,_0x3f8504,_0x4cadc0,_0x234890,_0x41c801,_0x5c7681,_0x4ddf03,_0x1f4869){const _0x4b2342=_0x24644c;let _0x44834b=R(_0x44f4a3,_0x23ac72,_0x4cadc0,_0x41c801,_0x4ddf03),_0x1d6abe=R(_0x31bf2e,_0x3f8504,_0x234890,_0x5c7681,_0x1f4869),_0x3e53fc=new Map(_0x44834b[_0x4b2342(0x1bc)](_0x4a279c=>[_0x4a279c['stableId'],_0x4a279c])),_0x17b1af=new Map(_0x1d6abe[_0x4b2342(0x1bc)](_0x487cd5=>[_0x487cd5[_0x4b2342(0x1dc)],_0x487cd5]));return(0x0,t[_0x4b2342(0x1c1)])({'entityType':t[_0x4b2342(0x206)][_0x4b2342(0x20b)],'parentStableId':_0x1dcde6,'left':_0x44834b,'right':_0x1d6abe})['map'](_0x2ac1de=>({..._0x2ac1de,'locations':{'left':L(_0x2ac1de[_0x4b2342(0x1a0)][_0x4b2342(0x1e7)],_0x3e53fc[_0x4b2342(0x1a4)](_0x2ac1de[_0x4b2342(0x1dc)]),_0x1dcde6),'right':L(_0x2ac1de[_0x4b2342(0x1a0)]['right'],_0x17b1af['get'](_0x2ac1de['stableId']),_0x1dcde6)}}));}function L(_0x15ea0f,_0x4ab336,_0x1435cc){const _0x339049=_0x24644c;if(_0x15ea0f===null||_0x4ab336===void 0x0)return null;let _0xdbe945=_0x15ea0f[_0x339049(0x1a5)];return(_0xdbe945==null?void 0x0:_0xdbe945[_0x339049(0x1c2)])===_0x339049(0x1cc)?{..._0x15ea0f,'parentStableId':_0x4ab336['recordId'],'target':{..._0xdbe945,'kind':'base-cell','tableId':_0x1435cc,'recordId':_0x4ab336[_0x339049(0x1d9)],'fieldId':_0x4ab336[_0x339049(0x1ed)]}}:_0x15ea0f;}function R(_0x46837f,_0x2300e4,_0x51c8ff,_0x46fe61,_0x373a48){let _0x4f75bb=z(_0x46837f,_0x51c8ff);return z(_0x2300e4,_0x46fe61)['flatMap']((_0x26f753,_0x5b4d3c)=>{const _0x1f2295=_0x2586;var _0x1e9663;let _0x25c07c=(0x0,t[_0x1f2295(0x20e)])((_0x1e9663=(0x0,t[_0x1f2295(0x20e)])(_0x2300e4==null?void 0x0:_0x2300e4[_0x26f753]))==null?void 0x0:_0x1e9663[_0x1f2295(0x211)]);if(_0x25c07c===void 0x0)return[];let _0x4d59b9=typeof _0x373a48==_0x1f2295(0x1fc)?_0x25c07c[_0x373a48]:void 0x0,_0x3c9f2c=typeof _0x4d59b9==_0x1f2295(0x1fc)||typeof _0x4d59b9=='number'?String(_0x4d59b9):void 0x0;return _0x4f75bb[_0x1f2295(0x20a)]((_0x9b142e,_0x15ceff)=>{const _0x1a58f6=_0x1f2295;var _0x27b77e;return _0x9b142e in _0x25c07c?[{'stableId':_0x26f753+':'+_0x9b142e,'recordId':_0x26f753,'fieldId':_0x9b142e,'position':_0x5b4d3c*Math['max'](0x1,_0x4f75bb[_0x1a58f6(0x1f3)])+_0x15ceff,'displayName':[_0x3c9f2c,(_0x27b77e=(0x0,t[_0x1a58f6(0x20e)])(_0x46837f==null?void 0x0:_0x46837f[_0x9b142e]))==null?void 0x0:_0x27b77e['name']][_0x1a58f6(0x1e9)](_0x16ee70=>typeof _0x16ee70==_0x1a58f6(0x1fc)&&_0x16ee70['length']>0x0)[_0x1a58f6(0x1fb)]('\x20·\x20'),'value':_0x25c07c[_0x9b142e]}]:[];});});}function z(_0x3d3da1,_0x1657a8){const _0x3e0d32=_0x24644c;let _0x19c881=_0x3d3da1??{},_0x1754f6=Array['isArray'](_0x1657a8)?_0x1657a8[_0x3e0d32(0x1e9)](_0x2fc715=>typeof _0x2fc715==_0x3e0d32(0x1fc)&&_0x2fc715 in _0x19c881):[],_0x5a7469=new Set(_0x1754f6);return[..._0x1754f6,...Object[_0x3e0d32(0x1b8)](_0x19c881)[_0x3e0d32(0x1e9)](_0x37df2d=>!_0x5a7469[_0x3e0d32(0x1de)](_0x37df2d))];}let B=class extends r['Plugin']{constructor(_0x32d9fb=o,_0x3492ed,_0x5d527a){const _0x150b32=_0x24644c;super(),this[_0x150b32(0x1b6)]=_0x32d9fb,this[_0x150b32(0x20f)]=_0x3492ed,this[_0x150b32(0x1f0)]=_0x5d527a;let {..._0x586d96}=(0x0,r['merge'])({},o,this[_0x150b32(0x1b6)]);this['_configService']['setConfig'](_0x150b32(0x1b9),_0x586d96);}['onStarting'](){const _0x5846b0=_0x24644c;(0x0,r[_0x5846b0(0x1b5)])(this['_injector'],[[T],[N]]),this['disposeWithMe'](this[_0x5846b0(0x20f)][_0x5846b0(0x1a4)](t[_0x5846b0(0x204)])['register'](this[_0x5846b0(0x20f)][_0x5846b0(0x1a4)](N)));}};k(B,_0x24644c(0x1d6),_0x24644c(0x212)),k(B,_0x24644c(0x1ad),i),k(B,_0x24644c(0x1ec),a),k(B,_0x24644c(0x215),r['UniverInstanceType'][_0x24644c(0x1f9)]),B=w([(0x0,r[_0x24644c(0x1df)])(n['UniverLicensePlugin'],t[_0x24644c(0x1e4)],e['UniverBasesPlugin']),C(0x1,(0x0,r[_0x24644c(0x213)])(r[_0x24644c(0x1d5)])),C(0x2,r[_0x24644c(0x1b2)])],B),Object[_0x24644c(0x1b1)](exports,_0x24644c(0x21f),{'enumerable':!0x0,'get':function(){return T;}}),exports['BasesUnitComparisonAdapter']=N,Object[_0x24644c(0x1b1)](exports,'UniverBasesHistoryPlugin',{'enumerable':!0x0,'get':function(){return B;}});
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5b2564=_0x1ce6;(function(_0x3b5d7c,_0x267084){const _0x31c837=_0x1ce6,_0x54ee=_0x3b5d7c();while(!![]){try{const _0x3de965=parseInt(_0x31c837(0x10b))/0x1+parseInt(_0x31c837(0x145))/0x2*(-parseInt(_0x31c837(0x13d))/0x3)+parseInt(_0x31c837(0x150))/0x4+parseInt(_0x31c837(0xfe))/0x5*(-parseInt(_0x31c837(0x137))/0x6)+-parseInt(_0x31c837(0x124))/0x7+parseInt(_0x31c837(0x12d))/0x8*(-parseInt(_0x31c837(0xf8))/0x9)+parseInt(_0x31c837(0x104))/0xa;if(_0x3de965===_0x267084)break;else _0x54ee['push'](_0x54ee['shift']());}catch(_0x26d595){_0x54ee['push'](_0x54ee['shift']());}}}(_0x4923,0x309d3));import{UniverBasesPlugin as _0x5ebdd4}from'@univerjs-pro/bases';import{HistoryMutationService as _0x237cad,UnitComparisonAdapterRegistryService as _0x3e3f3e,UnitComparisonEntityType as _0x30ede6,UniverEditHistoryPlugin as _0x5aeb59,asRecord as _0x4cdf1e,buildScopedUnitComparison as _0x3c33ee,buildSemanticComparisonItems as _0x107270,recordComparisonEntries as _0x1d5b09,withoutComparisonKeys as _0x55b397}from'@univerjs-pro/edit-history';import{UniverLicensePlugin as _0xd67edd}from'@univerjs-pro/license';import{DependentOn as _0x534636,IConfigService as _0x4a1e85,Inject as _0x4c0e4b,Injector as _0x3655c2,JSON1 as _0x501f21,Plugin as _0x40cda5,UniverInstanceType as _0x589a49,merge as _0x33d874,registerDependencies as _0x16d98d}from'@univerjs/core';var b='@univerjs-pro/bases-history',x='1.0.0';const S={},ee=['recordOrder',_0x5b2564(0x117),_0x5b2564(0x15b),_0x5b2564(0x11f),_0x5b2564(0xfd),_0x5b2564(0x12b),'colId',_0x5b2564(0x13e)];function C(_0x465549){const _0x351808=_0x5b2564;let _0x5bf185=null,_0x1d87cf=null,_0x4b1ea8=_0x465549['map']((_0x2cb09a,_0x138516)=>({'entry':_0x2cb09a,'index':_0x138516}))[_0x351808(0x13c)]((_0x5c7c3a,_0xb39dac)=>_0x5c7c3a[_0x351808(0x12c)][_0x351808(0x158)]-_0xb39dac[_0x351808(0x12c)]['revision']||_0x5c7c3a[_0x351808(0x154)]-_0xb39dac[_0x351808(0x154)]);for(let {entry:_0x1ea1b0}of _0x4b1ea8)P(_0x1ea1b0[_0x351808(0x109)][_0x351808(0x128)])&&(_0x5bf185=_0x5bf185===null?_0x1ea1b0['mutation'][_0x351808(0x128)]['op']:_0x501f21[_0x351808(0x11a)][_0x351808(0x11c)](_0x5bf185,_0x1ea1b0['mutation'][_0x351808(0x128)]['op']),_0x1d87cf=_0x1ea1b0);if(_0x5bf185===null||_0x1d87cf===null)return[];let _0x5b72f1=j(_0x5bf185)[_0x351808(0x107)](_0x1c9d14=>!te(_0x1c9d14)),_0x5a56e5=k(_0x5b72f1,'recordOrder'),_0x1784fe=k(_0x5b72f1,_0x351808(0x117));return _0x5b72f1[_0x351808(0x112)]((_0x5a040e,_0x104486)=>{const _0x288037=_0x351808;let _0x4ae156=O(_0x5a040e[_0x288037(0x143)]);if(!_0x4ae156)return[];let _0x565103=w(_0x5a040e,_0x4ae156);return[{'id':_0x1d87cf[_0x288037(0x158)]+':'+_0x104486,'kind':_0x565103,'label':_0x4ae156['label'],'memberId':_0x1d87cf[_0x288037(0x130)],'tableId':_0x4ae156[_0x288037(0x151)],'viewId':_0x4ae156[_0x288037(0x108)],'recordId':_0x4ae156[_0x288037(0x110)],'recordIndex':_0x4ae156['recordId']?_0x5a56e5[_0x288037(0x14b)](_0x4ae156[_0x288037(0x110)]):void 0x0,'removedRecord':_0x565103===_0x288037(0x15a)?ne(_0x5a040e,_0x4ae156):void 0x0,'fieldId':_0x4ae156[_0x288037(0x121)],'fieldIndex':_0x4ae156[_0x288037(0x121)]?_0x1784fe[_0x288037(0x14b)](_0x4ae156[_0x288037(0x121)]):void 0x0}];});}function w(_0x5b695d,_0x371e00){const _0x2fb2f1=_0x5b2564;if(!E(_0x5b695d['path'],_0x371e00))return _0x2fb2f1(0xf3);let _0x5e78b8=Object[_0x2fb2f1(0x139)]['hasOwnProperty']['call'](_0x5b695d['value'],'i'),_0x42a8ef=Object[_0x2fb2f1(0x139)][_0x2fb2f1(0x155)]['call'](_0x5b695d[_0x2fb2f1(0x12f)],'r');return _0x5e78b8&&!_0x42a8ef?_0x2fb2f1(0x153):_0x42a8ef&&!_0x5e78b8?_0x2fb2f1(0x15a):_0x2fb2f1(0xf3);}function te(_0x593d0f){const _0x38e5e3=_0x5b2564;return Object[_0x38e5e3(0x139)]['hasOwnProperty']['call'](_0x593d0f[_0x38e5e3(0x12f)],'i')&&Object[_0x38e5e3(0x139)]['hasOwnProperty']['call'](_0x593d0f[_0x38e5e3(0x12f)],'r')&&T(_0x593d0f[_0x38e5e3(0x12f)]['i'],_0x593d0f[_0x38e5e3(0x12f)]['r']);}function T(_0x581c21,_0x5f6f){const _0x10a4af=_0x5b2564;if(_0x581c21===_0x5f6f)return!0x0;if(Array[_0x10a4af(0x129)](_0x581c21)||Array['isArray'](_0x5f6f))return Array[_0x10a4af(0x129)](_0x581c21)&&Array[_0x10a4af(0x129)](_0x5f6f)&&_0x581c21[_0x10a4af(0x118)]===_0x5f6f[_0x10a4af(0x118)]&&_0x581c21['every']((_0xb64911,_0x361584)=>T(_0xb64911,_0x5f6f[_0x361584]));if(!F(_0x581c21)||!F(_0x5f6f))return!0x1;let _0x3a3fb1=Object[_0x10a4af(0x156)](_0x581c21),_0x4fc8d5=Object[_0x10a4af(0x156)](_0x5f6f);return _0x3a3fb1[_0x10a4af(0x118)]===_0x4fc8d5[_0x10a4af(0x118)]&&_0x3a3fb1[_0x10a4af(0xf5)](_0x396542=>Object[_0x10a4af(0x139)][_0x10a4af(0x155)][_0x10a4af(0x14d)](_0x5f6f,_0x396542)&&T(_0x581c21[_0x396542],_0x5f6f[_0x396542]));}function E(_0x32be73,_0x2fef35){const _0x22ec86=_0x5b2564;return _0x2fef35[_0x22ec86(0x151)]?_0x2fef35[_0x22ec86(0x110)]&&_0x2fef35[_0x22ec86(0x121)]?D(_0x32be73,[_0x22ec86(0x131),_0x2fef35[_0x22ec86(0x151)],'records',_0x2fef35['recordId'],_0x22ec86(0x116),_0x2fef35[_0x22ec86(0x121)]]):_0x2fef35[_0x22ec86(0x110)]?D(_0x32be73,['tables',_0x2fef35[_0x22ec86(0x151)],_0x22ec86(0xf4),_0x2fef35[_0x22ec86(0x110)]]):_0x2fef35[_0x22ec86(0x121)]?D(_0x32be73,[_0x22ec86(0x131),_0x2fef35[_0x22ec86(0x151)],_0x22ec86(0x133),_0x2fef35['fieldId']]):_0x2fef35[_0x22ec86(0x108)]?D(_0x32be73,[_0x22ec86(0x131),_0x2fef35[_0x22ec86(0x151)],_0x22ec86(0x14e),_0x2fef35[_0x22ec86(0x108)]]):D(_0x32be73,[_0x22ec86(0x131),_0x2fef35['tableId']]):!0x1;}function D(_0x455fd7,_0x5d240e){const _0x2ee9e9=_0x5b2564;return _0x455fd7[_0x2ee9e9(0x118)]===_0x5d240e[_0x2ee9e9(0x118)]&&_0x455fd7['every']((_0x5bbdeb,_0x51eea1)=>_0x5bbdeb===_0x5d240e[_0x51eea1]);}function O(_0x32a2bc){const _0x420edb=_0x5b2564;let _0x39a239=_0x32a2bc[_0x420edb(0xf7)](_0x420edb(0x131)),_0x30f8fb=_0x32a2bc[_0x39a239+0x1];if(_0x39a239<0x0||typeof _0x30f8fb!='string')return null;let _0x25e08f=_0x32a2bc[_0x39a239+0x2],_0x901ebc=_0x32a2bc[_0x39a239+0x3];if(_0x25e08f===_0x420edb(0xf4)&&typeof _0x901ebc=='string'){let _0x383bf5=_0x32a2bc[_0x39a239+0x4],_0x323b70=_0x32a2bc[_0x39a239+0x5];return _0x383bf5===_0x420edb(0x116)&&typeof _0x323b70=='string'?{'label':'base:cell','tableId':_0x30f8fb,'recordId':_0x901ebc,'fieldId':_0x323b70}:_0x383bf5===_0x420edb(0x13b)||_0x383bf5===_0x420edb(0x10c)?null:{'label':_0x420edb(0x140),'tableId':_0x30f8fb,'recordId':_0x901ebc};}return _0x25e08f===_0x420edb(0x133)&&typeof _0x901ebc==_0x420edb(0x138)?{'label':_0x420edb(0x14f),'tableId':_0x30f8fb,'fieldId':_0x901ebc}:_0x25e08f===_0x420edb(0x14e)&&typeof _0x901ebc==_0x420edb(0x138)?{'label':_0x420edb(0x15f),'tableId':_0x30f8fb,'viewId':_0x901ebc}:ee['some'](_0x54a3d7=>_0x54a3d7===_0x25e08f)?null:{'label':_0x25e08f===void 0x0?'base:table':'base:unknown','tableId':_0x30f8fb};}function k(_0x1f9bb5,_0x4fcea3){const _0x4142e7=_0x5b2564;let _0x308687=new Map();return _0x1f9bb5[_0x4142e7(0x10a)](_0x220c85=>{const _0x1763ae=_0x4142e7;let _0x76029e=_0x220c85[_0x1763ae(0x143)][_0x1763ae(0xf7)](_0x4fcea3),_0x4750ae=_0x220c85['path'][_0x76029e+0x1],_0x1df58b=_0x220c85[_0x1763ae(0x12f)]['r'];if(_0x76029e>=0x0&&typeof _0x4750ae==_0x1763ae(0x11b)&&typeof _0x1df58b==_0x1763ae(0x138)){_0x308687[_0x1763ae(0x134)](_0x1df58b,_0x4750ae);return;}if(_0x76029e!==_0x220c85['path'][_0x1763ae(0x118)]-0x1||!Array[_0x1763ae(0x129)](_0x1df58b))return;let _0x4fef35=new Set(Array['isArray'](_0x220c85[_0x1763ae(0x12f)]['i'])?_0x220c85[_0x1763ae(0x12f)]['i']['filter'](_0x5c677a=>typeof _0x5c677a==_0x1763ae(0x138)):[]);_0x1df58b[_0x1763ae(0x10a)]((_0x58dead,_0x627e7a)=>{const _0x1f7a2f=_0x1763ae;typeof _0x58dead==_0x1f7a2f(0x138)&&!_0x4fef35['has'](_0x58dead)&&_0x308687[_0x1f7a2f(0x134)](_0x58dead,_0x627e7a);});}),_0x308687;}function ne(_0x419891,_0x59ead7){const _0x4a5c47=_0x5b2564;if(_0x59ead7[_0x4a5c47(0x110)]&&!_0x59ead7[_0x4a5c47(0x121)]&&E(_0x419891[_0x4a5c47(0x143)],_0x59ead7))return A(_0x419891[_0x4a5c47(0x12f)]['r'])?_0x419891[_0x4a5c47(0x12f)]['r']:void 0x0;}function A(_0x5634bb){const _0x2a11bb=_0x5b2564;return F(_0x5634bb)&&typeof _0x5634bb['id']==_0x2a11bb(0x138)&&F(_0x5634bb[_0x2a11bb(0x116)])&&typeof _0x5634bb[_0x2a11bb(0x13a)]==_0x2a11bb(0x138)&&typeof _0x5634bb[_0x2a11bb(0x11d)]==_0x2a11bb(0x11b)&&typeof _0x5634bb['updatedAt']=='number';}function j(_0x539ca8){let _0x22613e=[];return M(_0x539ca8,[],_0x22613e),_0x22613e;}function M(_0x2e7774,_0x46a47f,_0x3aec8f){const _0x56874b=_0x5b2564;if(!Array[_0x56874b(0x129)](_0x2e7774))return;let _0x558d26=[];_0x2e7774['forEach'](_0x2fa7d8=>{const _0x49f27b=_0x56874b;if(Array[_0x49f27b(0x129)](_0x2fa7d8)){M(_0x2fa7d8,[..._0x46a47f,..._0x558d26],_0x3aec8f);return;}if(N(_0x2fa7d8)){_0x3aec8f[_0x49f27b(0xfb)]({'path':[..._0x46a47f,..._0x558d26],'value':_0x2fa7d8});return;}(typeof _0x2fa7d8=='string'||typeof _0x2fa7d8==_0x49f27b(0x11b))&&_0x558d26['push'](_0x2fa7d8);});}function N(_0x5b6862){const _0x23d927=_0x5b2564;return F(_0x5b6862)&&['i','r','p','d','es',_0x23d927(0x12a),'et'][_0x23d927(0x120)](_0x17d7a3=>Object[_0x23d927(0x139)][_0x23d927(0x155)][_0x23d927(0x14d)](_0x5b6862,_0x17d7a3));}function _0x1ce6(_0x46f53f,_0x378123){_0x46f53f=_0x46f53f-0xf1;const _0x49237a=_0x4923();let _0x1ce66f=_0x49237a[_0x46f53f];return _0x1ce66f;}function P(_0x40cb71){const _0x366471=_0x5b2564;return typeof _0x40cb71=='object'&&!!_0x40cb71&&'op'in _0x40cb71&&Array[_0x366471(0x129)](_0x40cb71['op']);}function F(_0x19e35a){const _0x358511=_0x5b2564;return typeof _0x19e35a==_0x358511(0x152)&&!!_0x19e35a;}function I(_0x383a0a,_0x1d5ff9){return function(_0xda0173,_0x529e55){_0x1d5ff9(_0xda0173,_0x529e55,_0x383a0a);};}function L(_0x4d379e,_0x4752f8,_0x240cc6,_0x2873a7){const _0x45615e=_0x5b2564;var _0x1f88e9=arguments[_0x45615e(0x118)],_0x4702c6=_0x1f88e9<0x3?_0x4752f8:_0x2873a7===null?_0x2873a7=Object[_0x45615e(0x13f)](_0x4752f8,_0x240cc6):_0x2873a7,_0x15ffd9;if(typeof Reflect==_0x45615e(0x152)&&typeof Reflect[_0x45615e(0x122)]==_0x45615e(0x10d))_0x4702c6=Reflect['decorate'](_0x4d379e,_0x4752f8,_0x240cc6,_0x2873a7);else{for(var _0x2ace46=_0x4d379e[_0x45615e(0x118)]-0x1;_0x2ace46>=0x0;_0x2ace46--)(_0x15ffd9=_0x4d379e[_0x2ace46])&&(_0x4702c6=(_0x1f88e9<0x3?_0x15ffd9(_0x4702c6):_0x1f88e9>0x3?_0x15ffd9(_0x4752f8,_0x240cc6,_0x4702c6):_0x15ffd9(_0x4752f8,_0x240cc6))||_0x4702c6);}return _0x1f88e9>0x3&&_0x4702c6&&Object[_0x45615e(0x123)](_0x4752f8,_0x240cc6,_0x4702c6),_0x4702c6;}let R=class{constructor(_0x138054){const _0x4d27d5=_0x5b2564;this[_0x4d27d5(0x132)]=_0x138054;}async['compare'](_0x3fd9ea,_0x4f28dd){const _0x3782ec=_0x5b2564;return C(await this['_mutationService'][_0x3782ec(0x125)](_0x3fd9ea,_0x4f28dd));}};R=L([I(0x0,_0x4c0e4b(_0x237cad))],R);function z(_0x2a5127){'@babel/helpers - typeof';const _0x4048fb=_0x5b2564;return z=typeof Symbol==_0x4048fb(0x10d)&&typeof Symbol[_0x4048fb(0x148)]==_0x4048fb(0x103)?function(_0x5c1ba4){return typeof _0x5c1ba4;}:function(_0xbcb0ff){const _0x486cf7=_0x4048fb;return _0xbcb0ff&&typeof Symbol==_0x486cf7(0x10d)&&_0xbcb0ff['constructor']===Symbol&&_0xbcb0ff!==Symbol[_0x486cf7(0x139)]?_0x486cf7(0x103):typeof _0xbcb0ff;},z(_0x2a5127);}function B(_0x132684,_0x3aca21){const _0x180e19=_0x5b2564;if(z(_0x132684)!=_0x180e19(0x152)||!_0x132684)return _0x132684;var _0x24a60f=_0x132684[Symbol[_0x180e19(0x126)]];if(_0x24a60f!==void 0x0){var _0x448579=_0x24a60f[_0x180e19(0x14d)](_0x132684,_0x3aca21||'default');if(z(_0x448579)!=_0x180e19(0x152))return _0x448579;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3aca21===_0x180e19(0x138)?String:Number)(_0x132684);}function V(_0x13e508){const _0x2a1454=_0x5b2564;var _0x2c9533=B(_0x13e508,_0x2a1454(0x138));return z(_0x2c9533)=='symbol'?_0x2c9533:_0x2c9533+'';}function H(_0x4f54ed,_0x38e37a,_0x237181){return(_0x38e37a=V(_0x38e37a))in _0x4f54ed?Object['defineProperty'](_0x4f54ed,_0x38e37a,{'value':_0x237181,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f54ed[_0x38e37a]=_0x237181,_0x4f54ed;}const U=[_0x5b2564(0xf9),_0x5b2564(0x11d),_0x5b2564(0x13b)],W=[_0x30ede6[_0x5b2564(0x147)],_0x30ede6[_0x5b2564(0xf2)],_0x30ede6['FIELD'],_0x30ede6[_0x5b2564(0x11e)],_0x30ede6[_0x5b2564(0x135)],_0x30ede6[_0x5b2564(0x14c)]],G=_0x55b397(_0x5b2564(0x133),_0x5b2564(0x117),'records',_0x5b2564(0x15d),_0x5b2564(0x14e),_0x5b2564(0x15b),_0x5b2564(0x13e),_0x5b2564(0xfc),_0x5b2564(0x12b),_0x5b2564(0xfd),_0x5b2564(0x11f),...U);var K=class{constructor(){const _0x5be004=_0x5b2564;H(this,_0x5be004(0x11a),_0x589a49[_0x5be004(0x12e)]);}[_0x5b2564(0x10f)](_0x302bd3){const _0x39713f=_0x5b2564;let _0xaa7084=_0x4cdf1e(_0x302bd3[_0x39713f(0x105)]),_0x24cae9=_0x4cdf1e(_0x302bd3[_0x39713f(0x15e)]),_0x74c20c=_0x4cdf1e(_0xaa7084==null?void 0x0:_0xaa7084[_0x39713f(0x131)]),_0x157019=_0x4cdf1e(_0x24cae9==null?void 0x0:_0x24cae9['tables']),_0x42ec29=new Set([...Object[_0x39713f(0x156)](_0x74c20c??{}),...Object[_0x39713f(0x156)](_0x157019??{})]),_0x6f044e=_0x1d5b09(_0x74c20c,_0xaa7084==null?void 0x0:_0xaa7084['tableOrder'],G),_0x22161c=_0x1d5b09(_0x157019,_0x24cae9==null?void 0x0:_0x24cae9[_0x39713f(0x127)],G),_0x4f8e04=[..._0x107270({'entityType':_0x30ede6[_0x39713f(0x147)],'left':_0xaa7084===void 0x0?[]:[{'stableId':'base','position':0x0,'value':_0x55b397(_0x39713f(0x131),_0x39713f(0x127),_0x39713f(0x159),...U)(_0xaa7084)}],'right':_0x24cae9===void 0x0?[]:[{'stableId':_0x39713f(0x14a),'position':0x0,'value':_0x55b397(_0x39713f(0x131),_0x39713f(0x127),_0x39713f(0x159),...U)(_0x24cae9)}]}),..._0x107270({'entityType':_0x30ede6[_0x39713f(0xf2)],'left':_0x6f044e,'right':_0x22161c}),...[..._0x42ec29][_0x39713f(0x112)](_0x2a3de7=>q(_0x2a3de7,_0x74c20c,_0x157019))],_0x32467b=_0x3c33ee({'entityType':_0x30ede6[_0x39713f(0xf2)],'items':_0x4f8e04,'left':_0x6f044e,'right':_0x22161c});return{'items':_0x32467b[_0x39713f(0x106)],'supportedEntityTypes':W,'scopes':_0x32467b[_0x39713f(0x146)],'productContext':{'type':_0x589a49[_0x39713f(0x12e)],'visualProjection':_0x39713f(0x114)}};}};function q(_0x38fa5a,_0x10f569,_0x47a3f1){const _0x558ce5=_0x5b2564;let _0x57eb21=_0x4cdf1e(_0x10f569==null?void 0x0:_0x10f569[_0x38fa5a])??{},_0x4620fd=_0x4cdf1e(_0x47a3f1==null?void 0x0:_0x47a3f1[_0x38fa5a])??{},_0x56684a=_0x4cdf1e(_0x57eb21[_0x558ce5(0x133)]),_0x344daf=_0x4cdf1e(_0x4620fd[_0x558ce5(0x133)]),_0x1a667d=_0x4cdf1e(_0x57eb21[_0x558ce5(0xf4)]),_0x46a9d2=_0x4cdf1e(_0x4620fd[_0x558ce5(0xf4)]);return[...J(_0x30ede6[_0x558ce5(0x115)],_0x38fa5a,_0x56684a,_0x344daf,_0x57eb21[_0x558ce5(0x117)],_0x4620fd[_0x558ce5(0x117)],_0x55b397(...U)),...J(_0x30ede6['RECORD'],_0x38fa5a,_0x1a667d,_0x46a9d2,_0x57eb21['recordOrder'],_0x4620fd[_0x558ce5(0x15d)],_0x55b397('values',_0x558ce5(0x13a),...U)),...J(_0x30ede6['VIEW'],_0x38fa5a,_0x57eb21[_0x558ce5(0x14e)],_0x4620fd[_0x558ce5(0x14e)],_0x57eb21[_0x558ce5(0x15b)],_0x4620fd[_0x558ce5(0x15b)],_0x55b397(_0x558ce5(0x13a),...U)),...Y(_0x38fa5a,_0x56684a,_0x344daf,_0x1a667d,_0x46a9d2,_0x57eb21[_0x558ce5(0x117)],_0x4620fd[_0x558ce5(0x117)],_0x57eb21[_0x558ce5(0x15d)],_0x4620fd['recordOrder'],_0x57eb21['primaryFieldId'],_0x4620fd[_0x558ce5(0x102)])];}function J(_0x42352e,_0x4092c0,_0x1798ae,_0x316f48,_0x153fd7,_0x28b15f,_0x5c1b94){return _0x107270({'entityType':_0x42352e,'parentStableId':_0x4092c0,'left':_0x1d5b09(_0x1798ae,_0x153fd7,_0x5c1b94),'right':_0x1d5b09(_0x316f48,_0x28b15f,_0x5c1b94)});}function _0x4923(){const _0x2b0c0a=['raw-table-data','FIELD','values','fieldOrder','length','target','type','number','compose','createdAt','RECORD','rowIndex','some','fieldId','decorate','defineProperty','832580bvmTFx','load','toPrimitive','tableOrder','params','isArray','ena','colIndex','entry','1808160txHdzq','UNIVER_BASE','value','memberId','tables','_mutationService','fields','set','VIEW','_injector','13122VvESyE','string','prototype','orderKey','updatedAt','sort','3qbqPLi','cellData','getOwnPropertyDescriptor','base:record','_configService','register','path','setConfig','784172oaXMXB','scopes','BASE','iterator','map','base','get','CELL','call','views','base:field','821916kHpnCG','tableId','object','insert','index','hasOwnProperty','keys','base-cell','revision','resources','delete','viewOrder','UNIVER_BASES_HISTORY_PLUGIN','recordOrder','rightData','base:view','version','TABLE','update','records','every','name','indexOf','9xRNsNr','rev','pluginName','push','colId','rowId','10qkIUuo','disposeWithMe','locations','has','primaryFieldId','symbol','6914740sCQNiy','leftData','items','filter','viewId','mutation','forEach','43590MKnkGF','updatedBy','function','entity','compare','recordId','kind','flatMap','stableId'];_0x4923=function(){return _0x2b0c0a;};return _0x4923();}function Y(_0x437ad0,_0x1daac8,_0x9ebaf5,_0x276b7b,_0x1bd29c,_0x1262a8,_0x269a72,_0x5118cf,_0x5decad,_0x1899d6,_0xd43a9d){const _0x144e44=_0x5b2564;let _0x3033f4=Z(_0x1daac8,_0x276b7b,_0x1262a8,_0x5118cf,_0x1899d6),_0xe8816e=Z(_0x9ebaf5,_0x1bd29c,_0x269a72,_0x5decad,_0xd43a9d),_0x57a129=new Map(_0x3033f4[_0x144e44(0x149)](_0x1d30be=>[_0x1d30be[_0x144e44(0x113)],_0x1d30be])),_0x3ae349=new Map(_0xe8816e['map'](_0x405b64=>[_0x405b64[_0x144e44(0x113)],_0x405b64]));return _0x107270({'entityType':_0x30ede6[_0x144e44(0x14c)],'parentStableId':_0x437ad0,'left':_0x3033f4,'right':_0xe8816e})[_0x144e44(0x149)](_0x1af517=>({..._0x1af517,'locations':{'left':X(_0x1af517[_0x144e44(0x100)]['left'],_0x57a129[_0x144e44(0x14b)](_0x1af517[_0x144e44(0x113)]),_0x437ad0),'right':X(_0x1af517[_0x144e44(0x100)]['right'],_0x3ae349[_0x144e44(0x14b)](_0x1af517[_0x144e44(0x113)]),_0x437ad0)}}));}function X(_0x2abefe,_0x105d4a,_0xa659db){const _0x21ee16=_0x5b2564;if(_0x2abefe===null||_0x105d4a===void 0x0)return null;let _0x543409=_0x2abefe[_0x21ee16(0x119)];return(_0x543409==null?void 0x0:_0x543409[_0x21ee16(0x111)])===_0x21ee16(0x10e)?{..._0x2abefe,'parentStableId':_0x105d4a[_0x21ee16(0x110)],'target':{..._0x543409,'kind':_0x21ee16(0x157),'tableId':_0xa659db,'recordId':_0x105d4a[_0x21ee16(0x110)],'fieldId':_0x105d4a[_0x21ee16(0x121)]}}:_0x2abefe;}function Z(_0x413b9f,_0x4c5713,_0x343890,_0x373fa7,_0x3ef728){const _0xfff375=_0x5b2564;let _0x251837=Q(_0x413b9f,_0x343890);return Q(_0x4c5713,_0x373fa7)[_0xfff375(0x112)]((_0x53b433,_0x35e22e)=>{const _0x1bc680=_0xfff375;var _0x13037c;let _0x2b00c4=_0x4cdf1e((_0x13037c=_0x4cdf1e(_0x4c5713==null?void 0x0:_0x4c5713[_0x53b433]))==null?void 0x0:_0x13037c['values']);if(_0x2b00c4===void 0x0)return[];let _0x522559=typeof _0x3ef728==_0x1bc680(0x138)?_0x2b00c4[_0x3ef728]:void 0x0,_0x34164b=typeof _0x522559==_0x1bc680(0x138)||typeof _0x522559=='number'?String(_0x522559):void 0x0;return _0x251837[_0x1bc680(0x112)]((_0x16b85e,_0x5c1c17)=>{const _0x29d434=_0x1bc680;var _0x39d5b5;return _0x16b85e in _0x2b00c4?[{'stableId':_0x53b433+':'+_0x16b85e,'recordId':_0x53b433,'fieldId':_0x16b85e,'position':_0x35e22e*Math['max'](0x1,_0x251837[_0x29d434(0x118)])+_0x5c1c17,'displayName':[_0x34164b,(_0x39d5b5=_0x4cdf1e(_0x413b9f==null?void 0x0:_0x413b9f[_0x16b85e]))==null?void 0x0:_0x39d5b5[_0x29d434(0xf6)]]['filter'](_0x68aefc=>typeof _0x68aefc=='string'&&_0x68aefc[_0x29d434(0x118)]>0x0)['join']('\x20·\x20'),'value':_0x2b00c4[_0x16b85e]}]:[];});});}function Q(_0x8f889,_0xc7bf1d){const _0x28ec90=_0x5b2564;let _0x5d137c=_0x8f889??{},_0x32e92a=Array[_0x28ec90(0x129)](_0xc7bf1d)?_0xc7bf1d['filter'](_0xa38f8b=>typeof _0xa38f8b==_0x28ec90(0x138)&&_0xa38f8b in _0x5d137c):[],_0x1943bf=new Set(_0x32e92a);return[..._0x32e92a,...Object[_0x28ec90(0x156)](_0x5d137c)['filter'](_0x4c811e=>!_0x1943bf[_0x28ec90(0x101)](_0x4c811e))];}let $=class extends _0x40cda5{constructor(_0x187c16=S,_0x2b00d0,_0x2a15aa){const _0x504c02=_0x5b2564;super(),this['_config']=_0x187c16,this[_0x504c02(0x136)]=_0x2b00d0,this[_0x504c02(0x141)]=_0x2a15aa;let {..._0x512ecf}=_0x33d874({},S,this['_config']);this[_0x504c02(0x141)][_0x504c02(0x144)]('bases-history.config',_0x512ecf);}['onStarting'](){const _0x6fa73=_0x5b2564;_0x16d98d(this[_0x6fa73(0x136)],[[R],[K]]),this[_0x6fa73(0xff)](this[_0x6fa73(0x136)]['get'](_0x3e3f3e)[_0x6fa73(0x142)](this[_0x6fa73(0x136)][_0x6fa73(0x14b)](K)));}};H($,_0x5b2564(0xfa),_0x5b2564(0x15c)),H($,'packageName',b),H($,_0x5b2564(0xf1),x),H($,_0x5b2564(0x11a),_0x589a49[_0x5b2564(0x12e)]),$=L([_0x534636(_0xd67edd,_0x5aeb59,_0x5ebdd4),I(0x1,_0x4c0e4b(_0x3655c2)),I(0x2,_0x4a1e85)],$);export{R as BasesHistoryDiffService,K as BasesUnitComparisonAdapter,$ as UniverBasesHistoryPlugin};
|
|
1
|
+
const _0x252267=_0x576a;(function(_0x1e6ff1,_0x3e737f){const _0xd5dbf3=_0x576a,_0x1f65fd=_0x1e6ff1();while(!![]){try{const _0x135de2=parseInt(_0xd5dbf3(0x221))/0x1+parseInt(_0xd5dbf3(0x223))/0x2+parseInt(_0xd5dbf3(0x23e))/0x3*(-parseInt(_0xd5dbf3(0x237))/0x4)+parseInt(_0xd5dbf3(0x212))/0x5*(-parseInt(_0xd5dbf3(0x220))/0x6)+-parseInt(_0xd5dbf3(0x23a))/0x7*(parseInt(_0xd5dbf3(0x200))/0x8)+-parseInt(_0xd5dbf3(0x1e3))/0x9*(parseInt(_0xd5dbf3(0x20c))/0xa)+parseInt(_0xd5dbf3(0x235))/0xb;if(_0x135de2===_0x3e737f)break;else _0x1f65fd['push'](_0x1f65fd['shift']());}catch(_0xdce889){_0x1f65fd['push'](_0x1f65fd['shift']());}}}(_0x3dfa,0x1d6ce));import{UniverBasesPlugin as _0x254873}from'@univerjs-pro/bases';import{HistoryMutationService as _0x4082b9,UnitComparisonAdapterRegistryService as _0x2bfb0c,UnitComparisonEntityType as _0x43950f,UniverEditHistoryPlugin as _0x4f2d4e,asRecord as _0x4e6452,buildScopedUnitComparison as _0x2cdea,buildSemanticComparisonItems as _0x5e8681,recordComparisonEntries as _0x525a8f,withoutComparisonKeys as _0x1b6530}from'@univerjs-pro/edit-history';import{UniverLicensePlugin as _0x23e6e8}from'@univerjs-pro/license';import{DependentOn as _0x336f9b,IConfigService as _0x19ae82,Inject as _0x2de638,Injector as _0xb40961,JSON1 as _0x227244,Plugin as _0x1ff602,UniverInstanceType as _0x420197,merge as _0x3a6efd,registerDependencies as _0xd25181}from'@univerjs/core';var b='@univerjs-pro/bases-history',x=_0x252267(0x1e1);const S={},ee=[_0x252267(0x215),'fieldOrder',_0x252267(0x24a),_0x252267(0x24b),'rowId',_0x252267(0x236),'colId',_0x252267(0x233)];function C(_0x266012){const _0x5e7548=_0x252267;let _0x21726d=null,_0x3dfcd=null,_0x47d041=_0x266012[_0x5e7548(0x1dd)]((_0x24ef12,_0x35efc7)=>({'entry':_0x24ef12,'index':_0x35efc7}))[_0x5e7548(0x1e8)]((_0x486878,_0x4026de)=>_0x486878[_0x5e7548(0x1f5)][_0x5e7548(0x1e5)]-_0x4026de[_0x5e7548(0x1f5)][_0x5e7548(0x1e5)]||_0x486878[_0x5e7548(0x245)]-_0x4026de[_0x5e7548(0x245)]);for(let {entry:_0x4ab5ad}of _0x47d041)P(_0x4ab5ad[_0x5e7548(0x22c)][_0x5e7548(0x207)])&&(_0x21726d=_0x21726d===null?_0x4ab5ad['mutation'][_0x5e7548(0x207)]['op']:_0x227244[_0x5e7548(0x226)][_0x5e7548(0x1df)](_0x21726d,_0x4ab5ad[_0x5e7548(0x22c)]['params']['op']),_0x3dfcd=_0x4ab5ad);if(_0x21726d===null||_0x3dfcd===null)return[];let _0x1144c1=j(_0x21726d)[_0x5e7548(0x1f2)](_0x2aab8e=>!te(_0x2aab8e)),_0x303e9b=k(_0x1144c1,_0x5e7548(0x215)),_0x262573=k(_0x1144c1,_0x5e7548(0x20f));return _0x1144c1[_0x5e7548(0x1fb)]((_0x32ee15,_0x5f267a)=>{const _0x33fb96=_0x5e7548;let _0x2be54e=O(_0x32ee15[_0x33fb96(0x1eb)]);if(!_0x2be54e)return[];let _0x3ea9de=w(_0x32ee15,_0x2be54e);return[{'id':_0x3dfcd['revision']+':'+_0x5f267a,'kind':_0x3ea9de,'label':_0x2be54e[_0x33fb96(0x21e)],'memberId':_0x3dfcd['memberId'],'tableId':_0x2be54e[_0x33fb96(0x1f4)],'viewId':_0x2be54e[_0x33fb96(0x246)],'recordId':_0x2be54e[_0x33fb96(0x253)],'recordIndex':_0x2be54e[_0x33fb96(0x253)]?_0x303e9b['get'](_0x2be54e['recordId']):void 0x0,'removedRecord':_0x3ea9de===_0x33fb96(0x1f6)?ne(_0x32ee15,_0x2be54e):void 0x0,'fieldId':_0x2be54e[_0x33fb96(0x1ef)],'fieldIndex':_0x2be54e['fieldId']?_0x262573[_0x33fb96(0x208)](_0x2be54e[_0x33fb96(0x1ef)]):void 0x0}];});}function _0x576a(_0x4fa944,_0x948f24){_0x4fa944=_0x4fa944-0x1dd;const _0x3dfa30=_0x3dfa();let _0x576a18=_0x3dfa30[_0x4fa944];return _0x576a18;}function w(_0x2303f1,_0x4f9c4d){const _0x41a8c2=_0x252267;if(!E(_0x2303f1[_0x41a8c2(0x1eb)],_0x4f9c4d))return _0x41a8c2(0x23b);let _0x5e77c2=Object['prototype'][_0x41a8c2(0x234)][_0x41a8c2(0x1e4)](_0x2303f1[_0x41a8c2(0x1f0)],'i'),_0x3d06bd=Object['prototype'][_0x41a8c2(0x234)]['call'](_0x2303f1[_0x41a8c2(0x1f0)],'r');return _0x5e77c2&&!_0x3d06bd?_0x41a8c2(0x250):_0x3d06bd&&!_0x5e77c2?_0x41a8c2(0x1f6):'update';}function te(_0x3354ef){const _0x379989=_0x252267;return Object['prototype'][_0x379989(0x234)][_0x379989(0x1e4)](_0x3354ef[_0x379989(0x1f0)],'i')&&Object[_0x379989(0x243)]['hasOwnProperty'][_0x379989(0x1e4)](_0x3354ef['value'],'r')&&T(_0x3354ef['value']['i'],_0x3354ef[_0x379989(0x1f0)]['r']);}function T(_0x16ce31,_0x5e7f1c){const _0x3cabb7=_0x252267;if(_0x16ce31===_0x5e7f1c)return!0x0;if(Array[_0x3cabb7(0x1fc)](_0x16ce31)||Array[_0x3cabb7(0x1fc)](_0x5e7f1c))return Array['isArray'](_0x16ce31)&&Array[_0x3cabb7(0x1fc)](_0x5e7f1c)&&_0x16ce31['length']===_0x5e7f1c[_0x3cabb7(0x210)]&&_0x16ce31[_0x3cabb7(0x249)]((_0x1197dc,_0xec7e78)=>T(_0x1197dc,_0x5e7f1c[_0xec7e78]));if(!F(_0x16ce31)||!F(_0x5e7f1c))return!0x1;let _0x1a81e3=Object[_0x3cabb7(0x244)](_0x16ce31),_0x11209f=Object[_0x3cabb7(0x244)](_0x5e7f1c);return _0x1a81e3[_0x3cabb7(0x210)]===_0x11209f[_0x3cabb7(0x210)]&&_0x1a81e3['every'](_0x24725f=>Object[_0x3cabb7(0x243)][_0x3cabb7(0x234)]['call'](_0x5e7f1c,_0x24725f)&&T(_0x16ce31[_0x24725f],_0x5e7f1c[_0x24725f]));}function E(_0x1392a7,_0x212ee3){const _0x475e37=_0x252267;return _0x212ee3[_0x475e37(0x1f4)]?_0x212ee3[_0x475e37(0x253)]&&_0x212ee3['fieldId']?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],_0x475e37(0x228),_0x212ee3['recordId'],'values',_0x212ee3[_0x475e37(0x1ef)]]):_0x212ee3[_0x475e37(0x253)]?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],'records',_0x212ee3[_0x475e37(0x253)]]):_0x212ee3['fieldId']?D(_0x1392a7,['tables',_0x212ee3[_0x475e37(0x1f4)],'fields',_0x212ee3[_0x475e37(0x1ef)]]):_0x212ee3[_0x475e37(0x246)]?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],_0x475e37(0x1f3),_0x212ee3[_0x475e37(0x246)]]):D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)]]):!0x1;}function D(_0x29afc5,_0x359a6d){const _0x4ef5bc=_0x252267;return _0x29afc5[_0x4ef5bc(0x210)]===_0x359a6d[_0x4ef5bc(0x210)]&&_0x29afc5['every']((_0x432448,_0x25fb3c)=>_0x432448===_0x359a6d[_0x25fb3c]);}function O(_0x32d2ff){const _0x20ec9a=_0x252267;let _0x371aa1=_0x32d2ff['indexOf'](_0x20ec9a(0x238)),_0x407a46=_0x32d2ff[_0x371aa1+0x1];if(_0x371aa1<0x0||typeof _0x407a46!=_0x20ec9a(0x21d))return null;let _0x12ba5e=_0x32d2ff[_0x371aa1+0x2],_0x1aa392=_0x32d2ff[_0x371aa1+0x3];if(_0x12ba5e===_0x20ec9a(0x228)&&typeof _0x1aa392==_0x20ec9a(0x21d)){let _0x251e9a=_0x32d2ff[_0x371aa1+0x4],_0x3314e8=_0x32d2ff[_0x371aa1+0x5];return _0x251e9a==='values'&&typeof _0x3314e8==_0x20ec9a(0x21d)?{'label':'base:cell','tableId':_0x407a46,'recordId':_0x1aa392,'fieldId':_0x3314e8}:_0x251e9a===_0x20ec9a(0x225)||_0x251e9a===_0x20ec9a(0x1fe)?null:{'label':_0x20ec9a(0x22d),'tableId':_0x407a46,'recordId':_0x1aa392};}return _0x12ba5e==='fields'&&typeof _0x1aa392=='string'?{'label':_0x20ec9a(0x1de),'tableId':_0x407a46,'fieldId':_0x1aa392}:_0x12ba5e==='views'&&typeof _0x1aa392==_0x20ec9a(0x21d)?{'label':'base:view','tableId':_0x407a46,'viewId':_0x1aa392}:ee[_0x20ec9a(0x24d)](_0x1ca65e=>_0x1ca65e===_0x12ba5e)?null:{'label':_0x12ba5e===void 0x0?_0x20ec9a(0x1e7):_0x20ec9a(0x216),'tableId':_0x407a46};}function k(_0x37b084,_0x2fa59c){let _0x511af1=new Map();return _0x37b084['forEach'](_0x464efb=>{const _0x529598=_0x576a;let _0x17ed22=_0x464efb[_0x529598(0x1eb)][_0x529598(0x20a)](_0x2fa59c),_0x2c47e9=_0x464efb['path'][_0x17ed22+0x1],_0x55f645=_0x464efb['value']['r'];if(_0x17ed22>=0x0&&typeof _0x2c47e9==_0x529598(0x219)&&typeof _0x55f645==_0x529598(0x21d)){_0x511af1[_0x529598(0x22e)](_0x55f645,_0x2c47e9);return;}if(_0x17ed22!==_0x464efb[_0x529598(0x1eb)]['length']-0x1||!Array[_0x529598(0x1fc)](_0x55f645))return;let _0x5699a2=new Set(Array[_0x529598(0x1fc)](_0x464efb[_0x529598(0x1f0)]['i'])?_0x464efb[_0x529598(0x1f0)]['i'][_0x529598(0x1f2)](_0x337bfd=>typeof _0x337bfd==_0x529598(0x21d)):[]);_0x55f645[_0x529598(0x230)]((_0x4393c8,_0x1375a2)=>{const _0x3f3edc=_0x529598;typeof _0x4393c8==_0x3f3edc(0x21d)&&!_0x5699a2[_0x3f3edc(0x229)](_0x4393c8)&&_0x511af1[_0x3f3edc(0x22e)](_0x4393c8,_0x1375a2);});}),_0x511af1;}function ne(_0x392565,_0x5f3393){const _0xbce212=_0x252267;if(_0x5f3393[_0xbce212(0x253)]&&!_0x5f3393[_0xbce212(0x1ef)]&&E(_0x392565[_0xbce212(0x1eb)],_0x5f3393))return A(_0x392565[_0xbce212(0x1f0)]['r'])?_0x392565['value']['r']:void 0x0;}function A(_0x363c13){const _0x3ffc2c=_0x252267;return F(_0x363c13)&&typeof _0x363c13['id']==_0x3ffc2c(0x21d)&&F(_0x363c13[_0x3ffc2c(0x23f)])&&typeof _0x363c13[_0x3ffc2c(0x209)]==_0x3ffc2c(0x21d)&&typeof _0x363c13[_0x3ffc2c(0x1f1)]==_0x3ffc2c(0x219)&&typeof _0x363c13[_0x3ffc2c(0x225)]=='number';}function j(_0x20b230){let _0x39e720=[];return M(_0x20b230,[],_0x39e720),_0x39e720;}function M(_0x4cb651,_0x43dba6,_0x2cd715){const _0x3b79c1=_0x252267;if(!Array[_0x3b79c1(0x1fc)](_0x4cb651))return;let _0x58642f=[];_0x4cb651[_0x3b79c1(0x230)](_0x357e70=>{const _0x10230f=_0x3b79c1;if(Array[_0x10230f(0x1fc)](_0x357e70)){M(_0x357e70,[..._0x43dba6,..._0x58642f],_0x2cd715);return;}if(N(_0x357e70)){_0x2cd715['push']({'path':[..._0x43dba6,..._0x58642f],'value':_0x357e70});return;}(typeof _0x357e70==_0x10230f(0x21d)||typeof _0x357e70=='number')&&_0x58642f[_0x10230f(0x1ed)](_0x357e70);});}function N(_0x78a740){const _0x1e9da5=_0x252267;return F(_0x78a740)&&['i','r','p','d','es',_0x1e9da5(0x21f),'et'][_0x1e9da5(0x24d)](_0x206eaa=>Object[_0x1e9da5(0x243)][_0x1e9da5(0x234)][_0x1e9da5(0x1e4)](_0x78a740,_0x206eaa));}function P(_0x20ef0b){const _0x31d889=_0x252267;return typeof _0x20ef0b==_0x31d889(0x214)&&!!_0x20ef0b&&'op'in _0x20ef0b&&Array[_0x31d889(0x1fc)](_0x20ef0b['op']);}function F(_0x412e01){const _0x14fdb1=_0x252267;return typeof _0x412e01==_0x14fdb1(0x214)&&!!_0x412e01;}function I(_0x5241d4,_0x1840f4){return function(_0x2c305c,_0x1d3368){_0x1840f4(_0x2c305c,_0x1d3368,_0x5241d4);};}function L(_0x1d59d5,_0x29aaf3,_0x4cf6e8,_0x342b4a){const _0x1a9397=_0x252267;var _0x2ea1f7=arguments[_0x1a9397(0x210)],_0x456e7d=_0x2ea1f7<0x3?_0x29aaf3:_0x342b4a===null?_0x342b4a=Object[_0x1a9397(0x22b)](_0x29aaf3,_0x4cf6e8):_0x342b4a,_0x2e96b5;if(typeof Reflect==_0x1a9397(0x214)&&typeof Reflect[_0x1a9397(0x1e0)]=='function')_0x456e7d=Reflect[_0x1a9397(0x1e0)](_0x1d59d5,_0x29aaf3,_0x4cf6e8,_0x342b4a);else{for(var _0x3af90c=_0x1d59d5[_0x1a9397(0x210)]-0x1;_0x3af90c>=0x0;_0x3af90c--)(_0x2e96b5=_0x1d59d5[_0x3af90c])&&(_0x456e7d=(_0x2ea1f7<0x3?_0x2e96b5(_0x456e7d):_0x2ea1f7>0x3?_0x2e96b5(_0x29aaf3,_0x4cf6e8,_0x456e7d):_0x2e96b5(_0x29aaf3,_0x4cf6e8))||_0x456e7d);}return _0x2ea1f7>0x3&&_0x456e7d&&Object['defineProperty'](_0x29aaf3,_0x4cf6e8,_0x456e7d),_0x456e7d;}let R=class{constructor(_0x13e9dd){const _0x1690f9=_0x252267;this[_0x1690f9(0x247)]=_0x13e9dd;}async[_0x252267(0x1fa)](_0x2e1cbe,_0x319e43){const _0x35cb9b=_0x252267;return C(await this[_0x35cb9b(0x247)][_0x35cb9b(0x1ec)](_0x2e1cbe,_0x319e43));}};R=L([I(0x0,_0x2de638(_0x4082b9))],R);function z(_0x428fd5){'@babel/helpers - typeof';const _0x30019e=_0x252267;return z=typeof Symbol==_0x30019e(0x218)&&typeof Symbol[_0x30019e(0x1f9)]==_0x30019e(0x248)?function(_0x59a9fb){return typeof _0x59a9fb;}:function(_0x9f4ffb){const _0x2bf932=_0x30019e;return _0x9f4ffb&&typeof Symbol==_0x2bf932(0x218)&&_0x9f4ffb[_0x2bf932(0x20b)]===Symbol&&_0x9f4ffb!==Symbol[_0x2bf932(0x243)]?_0x2bf932(0x248):typeof _0x9f4ffb;},z(_0x428fd5);}function B(_0x226092,_0x5aad3a){const _0x52f08f=_0x252267;if(z(_0x226092)!='object'||!_0x226092)return _0x226092;var _0x5f24c3=_0x226092[Symbol[_0x52f08f(0x24e)]];if(_0x5f24c3!==void 0x0){var _0x4c01d8=_0x5f24c3['call'](_0x226092,_0x5aad3a||'default');if(z(_0x4c01d8)!=_0x52f08f(0x214))return _0x4c01d8;throw TypeError(_0x52f08f(0x204));}return(_0x5aad3a===_0x52f08f(0x21d)?String:Number)(_0x226092);}function V(_0x12c042){const _0x12c177=_0x252267;var _0x10e904=B(_0x12c042,_0x12c177(0x21d));return z(_0x10e904)=='symbol'?_0x10e904:_0x10e904+'';}function H(_0x1633d7,_0x1c8397,_0x20db0e){const _0x5dd291=_0x252267;return(_0x1c8397=V(_0x1c8397))in _0x1633d7?Object[_0x5dd291(0x23c)](_0x1633d7,_0x1c8397,{'value':_0x20db0e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1633d7[_0x1c8397]=_0x20db0e,_0x1633d7;}const U=[_0x252267(0x23d),'createdAt','updatedAt'],W=[_0x43950f[_0x252267(0x222)],_0x43950f['TABLE'],_0x43950f[_0x252267(0x231)],_0x43950f['RECORD'],_0x43950f[_0x252267(0x1e2)],_0x43950f[_0x252267(0x202)]],G=_0x1b6530('fields',_0x252267(0x20f),'records',_0x252267(0x215),_0x252267(0x1f3),_0x252267(0x24a),'cellData',_0x252267(0x1fd),_0x252267(0x236),_0x252267(0x22f),_0x252267(0x24b),...U);var K=class{constructor(){const _0x1746a3=_0x252267;H(this,'type',_0x420197[_0x1746a3(0x24c)]);}[_0x252267(0x1fa)](_0x3325d0){const _0x43b57a=_0x252267;let _0x4223dc=_0x4e6452(_0x3325d0[_0x43b57a(0x205)]),_0x15d0c7=_0x4e6452(_0x3325d0[_0x43b57a(0x1e9)]),_0x2f4520=_0x4e6452(_0x4223dc==null?void 0x0:_0x4223dc[_0x43b57a(0x238)]),_0x550132=_0x4e6452(_0x15d0c7==null?void 0x0:_0x15d0c7['tables']),_0x6726ef=new Set([...Object[_0x43b57a(0x244)](_0x2f4520??{}),...Object[_0x43b57a(0x244)](_0x550132??{})]),_0x376ff3=_0x525a8f(_0x2f4520,_0x4223dc==null?void 0x0:_0x4223dc['tableOrder'],G),_0x97c263=_0x525a8f(_0x550132,_0x15d0c7==null?void 0x0:_0x15d0c7[_0x43b57a(0x213)],G),_0x4ed3d2=[..._0x5e8681({'entityType':_0x43950f['BASE'],'left':_0x4223dc===void 0x0?[]:[{'stableId':_0x43b57a(0x1e6),'position':0x0,'value':_0x1b6530(_0x43b57a(0x238),_0x43b57a(0x213),'resources',...U)(_0x4223dc)}],'right':_0x15d0c7===void 0x0?[]:[{'stableId':_0x43b57a(0x1e6),'position':0x0,'value':_0x1b6530(_0x43b57a(0x238),'tableOrder',_0x43b57a(0x1ff),...U)(_0x15d0c7)}]}),..._0x5e8681({'entityType':_0x43950f[_0x43b57a(0x1ee)],'left':_0x376ff3,'right':_0x97c263}),...[..._0x6726ef][_0x43b57a(0x1fb)](_0x402813=>q(_0x402813,_0x2f4520,_0x550132))],_0x4ca264=_0x2cdea({'entityType':_0x43950f['TABLE'],'items':_0x4ed3d2,'left':_0x376ff3,'right':_0x97c263});return{'items':_0x4ca264[_0x43b57a(0x241)],'supportedEntityTypes':W,'scopes':_0x4ca264[_0x43b57a(0x1f7)],'productContext':{'type':_0x420197['UNIVER_BASE'],'visualProjection':_0x43b57a(0x203)}};}};function q(_0x1a9b04,_0x5726bf,_0x36b120){const _0x35480f=_0x252267;let _0x24f610=_0x4e6452(_0x5726bf==null?void 0x0:_0x5726bf[_0x1a9b04])??{},_0x14e324=_0x4e6452(_0x36b120==null?void 0x0:_0x36b120[_0x1a9b04])??{},_0x1335f5=_0x4e6452(_0x24f610['fields']),_0x377b36=_0x4e6452(_0x14e324[_0x35480f(0x206)]),_0x39c61c=_0x4e6452(_0x24f610[_0x35480f(0x228)]),_0x1f8c31=_0x4e6452(_0x14e324[_0x35480f(0x228)]);return[...J(_0x43950f[_0x35480f(0x231)],_0x1a9b04,_0x1335f5,_0x377b36,_0x24f610[_0x35480f(0x20f)],_0x14e324['fieldOrder'],_0x1b6530(...U)),...J(_0x43950f['RECORD'],_0x1a9b04,_0x39c61c,_0x1f8c31,_0x24f610[_0x35480f(0x215)],_0x14e324['recordOrder'],_0x1b6530('values',_0x35480f(0x209),...U)),...J(_0x43950f['VIEW'],_0x1a9b04,_0x24f610[_0x35480f(0x1f3)],_0x14e324['views'],_0x24f610[_0x35480f(0x24a)],_0x14e324[_0x35480f(0x24a)],_0x1b6530(_0x35480f(0x209),...U)),...Y(_0x1a9b04,_0x1335f5,_0x377b36,_0x39c61c,_0x1f8c31,_0x24f610[_0x35480f(0x20f)],_0x14e324['fieldOrder'],_0x24f610[_0x35480f(0x215)],_0x14e324[_0x35480f(0x215)],_0x24f610[_0x35480f(0x224)],_0x14e324['primaryFieldId'])];}function J(_0x182ce2,_0x38080b,_0x1f4e42,_0x3b6769,_0x4f28ef,_0x2e27d2,_0x5d0488){return _0x5e8681({'entityType':_0x182ce2,'parentStableId':_0x38080b,'left':_0x525a8f(_0x1f4e42,_0x4f28ef,_0x5d0488),'right':_0x525a8f(_0x3b6769,_0x2e27d2,_0x5d0488)});}function Y(_0x49fbe4,_0x30d825,_0x4b7b4a,_0x2a366d,_0x5f3b0a,_0x287367,_0x48fe82,_0x1489c2,_0xc38e67,_0x582f40,_0x1e37ef){const _0x2d10a8=_0x252267;let _0x5a4781=Z(_0x30d825,_0x2a366d,_0x287367,_0x1489c2,_0x582f40),_0x292700=Z(_0x4b7b4a,_0x5f3b0a,_0x48fe82,_0xc38e67,_0x1e37ef),_0x4a812a=new Map(_0x5a4781[_0x2d10a8(0x1dd)](_0x565456=>[_0x565456[_0x2d10a8(0x201)],_0x565456])),_0x2a91a3=new Map(_0x292700[_0x2d10a8(0x1dd)](_0x102219=>[_0x102219[_0x2d10a8(0x201)],_0x102219]));return _0x5e8681({'entityType':_0x43950f['CELL'],'parentStableId':_0x49fbe4,'left':_0x5a4781,'right':_0x292700})[_0x2d10a8(0x1dd)](_0x58a0b2=>({..._0x58a0b2,'locations':{'left':X(_0x58a0b2[_0x2d10a8(0x242)][_0x2d10a8(0x1f8)],_0x4a812a[_0x2d10a8(0x208)](_0x58a0b2[_0x2d10a8(0x201)]),_0x49fbe4),'right':X(_0x58a0b2[_0x2d10a8(0x242)]['right'],_0x2a91a3['get'](_0x58a0b2[_0x2d10a8(0x201)]),_0x49fbe4)}}));}function X(_0x824f1,_0x372317,_0x3a2b92){const _0xc1b3d5=_0x252267;if(_0x824f1===null||_0x372317===void 0x0)return null;let _0x29a398=_0x824f1[_0xc1b3d5(0x22a)];return(_0x29a398==null?void 0x0:_0x29a398['kind'])==='entity'?{..._0x824f1,'parentStableId':_0x372317[_0xc1b3d5(0x253)],'target':{..._0x29a398,'kind':_0xc1b3d5(0x240),'tableId':_0x3a2b92,'recordId':_0x372317[_0xc1b3d5(0x253)],'fieldId':_0x372317[_0xc1b3d5(0x1ef)]}}:_0x824f1;}function Z(_0x438cd6,_0xcdfcc4,_0xbed51,_0x1b7dac,_0x121000){const _0x516d35=_0x252267;let _0x49c6ec=Q(_0x438cd6,_0xbed51);return Q(_0xcdfcc4,_0x1b7dac)[_0x516d35(0x1fb)]((_0xea4a24,_0x364c91)=>{const _0x5572de=_0x516d35;var _0x4da932;let _0xa7f2f0=_0x4e6452((_0x4da932=_0x4e6452(_0xcdfcc4==null?void 0x0:_0xcdfcc4[_0xea4a24]))==null?void 0x0:_0x4da932[_0x5572de(0x23f)]);if(_0xa7f2f0===void 0x0)return[];let _0x4ceae8=typeof _0x121000==_0x5572de(0x21d)?_0xa7f2f0[_0x121000]:void 0x0,_0x1241b=typeof _0x4ceae8==_0x5572de(0x21d)||typeof _0x4ceae8==_0x5572de(0x219)?String(_0x4ceae8):void 0x0;return _0x49c6ec['flatMap']((_0x2016e7,_0x380738)=>{const _0x480d6f=_0x5572de;var _0x4d4f1e;return _0x2016e7 in _0xa7f2f0?[{'stableId':_0xea4a24+':'+_0x2016e7,'recordId':_0xea4a24,'fieldId':_0x2016e7,'position':_0x364c91*Math[_0x480d6f(0x211)](0x1,_0x49c6ec[_0x480d6f(0x210)])+_0x380738,'displayName':[_0x1241b,(_0x4d4f1e=_0x4e6452(_0x438cd6==null?void 0x0:_0x438cd6[_0x2016e7]))==null?void 0x0:_0x4d4f1e[_0x480d6f(0x239)]][_0x480d6f(0x1f2)](_0x395de7=>typeof _0x395de7==_0x480d6f(0x21d)&&_0x395de7[_0x480d6f(0x210)]>0x0)[_0x480d6f(0x21c)](_0x480d6f(0x20d)),'value':_0xa7f2f0[_0x2016e7]}]:[];});});}function Q(_0x5c70c4,_0x195906){const _0x19afb2=_0x252267;let _0x1f8dfd=_0x5c70c4??{},_0x48ab41=Array['isArray'](_0x195906)?_0x195906[_0x19afb2(0x1f2)](_0xc06afb=>typeof _0xc06afb==_0x19afb2(0x21d)&&_0xc06afb in _0x1f8dfd):[],_0x26d5d3=new Set(_0x48ab41);return[..._0x48ab41,...Object[_0x19afb2(0x244)](_0x1f8dfd)[_0x19afb2(0x1f2)](_0x28c07b=>!_0x26d5d3[_0x19afb2(0x229)](_0x28c07b))];}let $=class extends _0x1ff602{constructor(_0x42c148=S,_0x397844,_0x4452b5){const _0x341465=_0x252267;super(),this[_0x341465(0x227)]=_0x42c148,this[_0x341465(0x254)]=_0x397844,this[_0x341465(0x251)]=_0x4452b5;let {..._0x4b3393}=_0x3a6efd({},S,this[_0x341465(0x227)]);this[_0x341465(0x251)][_0x341465(0x1ea)](_0x341465(0x232),_0x4b3393);}[_0x252267(0x217)](){const _0x5672db=_0x252267;_0xd25181(this[_0x5672db(0x254)],[[R],[K]]),this[_0x5672db(0x252)](this['_injector']['get'](_0x2bfb0c)[_0x5672db(0x24f)](this[_0x5672db(0x254)]['get'](K)));}};function _0x3dfa(){const _0x39eb04=['2004219ySjPxN','call','revision','base','base:table','sort','rightData','setConfig','path','load','push','TABLE','fieldId','value','createdAt','filter','views','tableId','entry','delete','scopes','left','iterator','compare','flatMap','isArray','colId','updatedBy','resources','16mCDzrz','stableId','CELL','raw-table-data','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','leftData','fields','params','get','orderKey','indexOf','constructor','10BBxaum','\x20·\x20','pluginName','fieldOrder','length','max','210VQrgYQ','tableOrder','object','recordOrder','base:unknown','onStarting','function','number','packageName','UNIVER_BASES_HISTORY_PLUGIN','join','string','label','ena','28884gZZLpW','99207vNAmlm','BASE','36566frAHZW','primaryFieldId','updatedAt','type','_config','records','has','target','getOwnPropertyDescriptor','mutation','base:record','set','rowId','forEach','FIELD','bases-history.config','cellData','hasOwnProperty','7018880VVKpGf','colIndex','4hDxOoe','tables','name','641242cUnvsY','update','defineProperty','rev','80859gjHStX','values','base-cell','items','locations','prototype','keys','index','viewId','_mutationService','symbol','every','viewOrder','rowIndex','UNIVER_BASE','some','toPrimitive','register','insert','_configService','disposeWithMe','recordId','_injector','map','base:field','compose','decorate','1.0.1','VIEW'];_0x3dfa=function(){return _0x39eb04;};return _0x3dfa();}H($,_0x252267(0x20e),_0x252267(0x21b)),H($,_0x252267(0x21a),b),H($,'version',x),H($,'type',_0x420197[_0x252267(0x24c)]),$=L([_0x336f9b(_0x23e6e8,_0x4f2d4e,_0x254873),I(0x1,_0x2de638(_0xb40961)),I(0x2,_0x19ae82)],$);export{R as BasesHistoryDiffService,K as BasesUnitComparisonAdapter,$ as UniverBasesHistoryPlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5b2564=_0x1ce6;(function(_0x3b5d7c,_0x267084){const _0x31c837=_0x1ce6,_0x54ee=_0x3b5d7c();while(!![]){try{const _0x3de965=parseInt(_0x31c837(0x10b))/0x1+parseInt(_0x31c837(0x145))/0x2*(-parseInt(_0x31c837(0x13d))/0x3)+parseInt(_0x31c837(0x150))/0x4+parseInt(_0x31c837(0xfe))/0x5*(-parseInt(_0x31c837(0x137))/0x6)+-parseInt(_0x31c837(0x124))/0x7+parseInt(_0x31c837(0x12d))/0x8*(-parseInt(_0x31c837(0xf8))/0x9)+parseInt(_0x31c837(0x104))/0xa;if(_0x3de965===_0x267084)break;else _0x54ee['push'](_0x54ee['shift']());}catch(_0x26d595){_0x54ee['push'](_0x54ee['shift']());}}}(_0x4923,0x309d3));import{UniverBasesPlugin as _0x5ebdd4}from'@univerjs-pro/bases';import{HistoryMutationService as _0x237cad,UnitComparisonAdapterRegistryService as _0x3e3f3e,UnitComparisonEntityType as _0x30ede6,UniverEditHistoryPlugin as _0x5aeb59,asRecord as _0x4cdf1e,buildScopedUnitComparison as _0x3c33ee,buildSemanticComparisonItems as _0x107270,recordComparisonEntries as _0x1d5b09,withoutComparisonKeys as _0x55b397}from'@univerjs-pro/edit-history';import{UniverLicensePlugin as _0xd67edd}from'@univerjs-pro/license';import{DependentOn as _0x534636,IConfigService as _0x4a1e85,Inject as _0x4c0e4b,Injector as _0x3655c2,JSON1 as _0x501f21,Plugin as _0x40cda5,UniverInstanceType as _0x589a49,merge as _0x33d874,registerDependencies as _0x16d98d}from'@univerjs/core';var b='@univerjs-pro/bases-history',x='1.0.0';const S={},ee=['recordOrder',_0x5b2564(0x117),_0x5b2564(0x15b),_0x5b2564(0x11f),_0x5b2564(0xfd),_0x5b2564(0x12b),'colId',_0x5b2564(0x13e)];function C(_0x465549){const _0x351808=_0x5b2564;let _0x5bf185=null,_0x1d87cf=null,_0x4b1ea8=_0x465549['map']((_0x2cb09a,_0x138516)=>({'entry':_0x2cb09a,'index':_0x138516}))[_0x351808(0x13c)]((_0x5c7c3a,_0xb39dac)=>_0x5c7c3a[_0x351808(0x12c)][_0x351808(0x158)]-_0xb39dac[_0x351808(0x12c)]['revision']||_0x5c7c3a[_0x351808(0x154)]-_0xb39dac[_0x351808(0x154)]);for(let {entry:_0x1ea1b0}of _0x4b1ea8)P(_0x1ea1b0[_0x351808(0x109)][_0x351808(0x128)])&&(_0x5bf185=_0x5bf185===null?_0x1ea1b0['mutation'][_0x351808(0x128)]['op']:_0x501f21[_0x351808(0x11a)][_0x351808(0x11c)](_0x5bf185,_0x1ea1b0['mutation'][_0x351808(0x128)]['op']),_0x1d87cf=_0x1ea1b0);if(_0x5bf185===null||_0x1d87cf===null)return[];let _0x5b72f1=j(_0x5bf185)[_0x351808(0x107)](_0x1c9d14=>!te(_0x1c9d14)),_0x5a56e5=k(_0x5b72f1,'recordOrder'),_0x1784fe=k(_0x5b72f1,_0x351808(0x117));return _0x5b72f1[_0x351808(0x112)]((_0x5a040e,_0x104486)=>{const _0x288037=_0x351808;let _0x4ae156=O(_0x5a040e[_0x288037(0x143)]);if(!_0x4ae156)return[];let _0x565103=w(_0x5a040e,_0x4ae156);return[{'id':_0x1d87cf[_0x288037(0x158)]+':'+_0x104486,'kind':_0x565103,'label':_0x4ae156['label'],'memberId':_0x1d87cf[_0x288037(0x130)],'tableId':_0x4ae156[_0x288037(0x151)],'viewId':_0x4ae156[_0x288037(0x108)],'recordId':_0x4ae156[_0x288037(0x110)],'recordIndex':_0x4ae156['recordId']?_0x5a56e5[_0x288037(0x14b)](_0x4ae156[_0x288037(0x110)]):void 0x0,'removedRecord':_0x565103===_0x288037(0x15a)?ne(_0x5a040e,_0x4ae156):void 0x0,'fieldId':_0x4ae156[_0x288037(0x121)],'fieldIndex':_0x4ae156[_0x288037(0x121)]?_0x1784fe[_0x288037(0x14b)](_0x4ae156[_0x288037(0x121)]):void 0x0}];});}function w(_0x5b695d,_0x371e00){const _0x2fb2f1=_0x5b2564;if(!E(_0x5b695d['path'],_0x371e00))return _0x2fb2f1(0xf3);let _0x5e78b8=Object[_0x2fb2f1(0x139)]['hasOwnProperty']['call'](_0x5b695d['value'],'i'),_0x42a8ef=Object[_0x2fb2f1(0x139)][_0x2fb2f1(0x155)]['call'](_0x5b695d[_0x2fb2f1(0x12f)],'r');return _0x5e78b8&&!_0x42a8ef?_0x2fb2f1(0x153):_0x42a8ef&&!_0x5e78b8?_0x2fb2f1(0x15a):_0x2fb2f1(0xf3);}function te(_0x593d0f){const _0x38e5e3=_0x5b2564;return Object[_0x38e5e3(0x139)]['hasOwnProperty']['call'](_0x593d0f[_0x38e5e3(0x12f)],'i')&&Object[_0x38e5e3(0x139)]['hasOwnProperty']['call'](_0x593d0f[_0x38e5e3(0x12f)],'r')&&T(_0x593d0f[_0x38e5e3(0x12f)]['i'],_0x593d0f[_0x38e5e3(0x12f)]['r']);}function T(_0x581c21,_0x5f6f){const _0x10a4af=_0x5b2564;if(_0x581c21===_0x5f6f)return!0x0;if(Array[_0x10a4af(0x129)](_0x581c21)||Array['isArray'](_0x5f6f))return Array[_0x10a4af(0x129)](_0x581c21)&&Array[_0x10a4af(0x129)](_0x5f6f)&&_0x581c21[_0x10a4af(0x118)]===_0x5f6f[_0x10a4af(0x118)]&&_0x581c21['every']((_0xb64911,_0x361584)=>T(_0xb64911,_0x5f6f[_0x361584]));if(!F(_0x581c21)||!F(_0x5f6f))return!0x1;let _0x3a3fb1=Object[_0x10a4af(0x156)](_0x581c21),_0x4fc8d5=Object[_0x10a4af(0x156)](_0x5f6f);return _0x3a3fb1[_0x10a4af(0x118)]===_0x4fc8d5[_0x10a4af(0x118)]&&_0x3a3fb1[_0x10a4af(0xf5)](_0x396542=>Object[_0x10a4af(0x139)][_0x10a4af(0x155)][_0x10a4af(0x14d)](_0x5f6f,_0x396542)&&T(_0x581c21[_0x396542],_0x5f6f[_0x396542]));}function E(_0x32be73,_0x2fef35){const _0x22ec86=_0x5b2564;return _0x2fef35[_0x22ec86(0x151)]?_0x2fef35[_0x22ec86(0x110)]&&_0x2fef35[_0x22ec86(0x121)]?D(_0x32be73,[_0x22ec86(0x131),_0x2fef35[_0x22ec86(0x151)],'records',_0x2fef35['recordId'],_0x22ec86(0x116),_0x2fef35[_0x22ec86(0x121)]]):_0x2fef35[_0x22ec86(0x110)]?D(_0x32be73,['tables',_0x2fef35[_0x22ec86(0x151)],_0x22ec86(0xf4),_0x2fef35[_0x22ec86(0x110)]]):_0x2fef35[_0x22ec86(0x121)]?D(_0x32be73,[_0x22ec86(0x131),_0x2fef35[_0x22ec86(0x151)],_0x22ec86(0x133),_0x2fef35['fieldId']]):_0x2fef35[_0x22ec86(0x108)]?D(_0x32be73,[_0x22ec86(0x131),_0x2fef35[_0x22ec86(0x151)],_0x22ec86(0x14e),_0x2fef35[_0x22ec86(0x108)]]):D(_0x32be73,[_0x22ec86(0x131),_0x2fef35['tableId']]):!0x1;}function D(_0x455fd7,_0x5d240e){const _0x2ee9e9=_0x5b2564;return _0x455fd7[_0x2ee9e9(0x118)]===_0x5d240e[_0x2ee9e9(0x118)]&&_0x455fd7['every']((_0x5bbdeb,_0x51eea1)=>_0x5bbdeb===_0x5d240e[_0x51eea1]);}function O(_0x32a2bc){const _0x420edb=_0x5b2564;let _0x39a239=_0x32a2bc[_0x420edb(0xf7)](_0x420edb(0x131)),_0x30f8fb=_0x32a2bc[_0x39a239+0x1];if(_0x39a239<0x0||typeof _0x30f8fb!='string')return null;let _0x25e08f=_0x32a2bc[_0x39a239+0x2],_0x901ebc=_0x32a2bc[_0x39a239+0x3];if(_0x25e08f===_0x420edb(0xf4)&&typeof _0x901ebc=='string'){let _0x383bf5=_0x32a2bc[_0x39a239+0x4],_0x323b70=_0x32a2bc[_0x39a239+0x5];return _0x383bf5===_0x420edb(0x116)&&typeof _0x323b70=='string'?{'label':'base:cell','tableId':_0x30f8fb,'recordId':_0x901ebc,'fieldId':_0x323b70}:_0x383bf5===_0x420edb(0x13b)||_0x383bf5===_0x420edb(0x10c)?null:{'label':_0x420edb(0x140),'tableId':_0x30f8fb,'recordId':_0x901ebc};}return _0x25e08f===_0x420edb(0x133)&&typeof _0x901ebc==_0x420edb(0x138)?{'label':_0x420edb(0x14f),'tableId':_0x30f8fb,'fieldId':_0x901ebc}:_0x25e08f===_0x420edb(0x14e)&&typeof _0x901ebc==_0x420edb(0x138)?{'label':_0x420edb(0x15f),'tableId':_0x30f8fb,'viewId':_0x901ebc}:ee['some'](_0x54a3d7=>_0x54a3d7===_0x25e08f)?null:{'label':_0x25e08f===void 0x0?'base:table':'base:unknown','tableId':_0x30f8fb};}function k(_0x1f9bb5,_0x4fcea3){const _0x4142e7=_0x5b2564;let _0x308687=new Map();return _0x1f9bb5[_0x4142e7(0x10a)](_0x220c85=>{const _0x1763ae=_0x4142e7;let _0x76029e=_0x220c85[_0x1763ae(0x143)][_0x1763ae(0xf7)](_0x4fcea3),_0x4750ae=_0x220c85['path'][_0x76029e+0x1],_0x1df58b=_0x220c85[_0x1763ae(0x12f)]['r'];if(_0x76029e>=0x0&&typeof _0x4750ae==_0x1763ae(0x11b)&&typeof _0x1df58b==_0x1763ae(0x138)){_0x308687[_0x1763ae(0x134)](_0x1df58b,_0x4750ae);return;}if(_0x76029e!==_0x220c85['path'][_0x1763ae(0x118)]-0x1||!Array[_0x1763ae(0x129)](_0x1df58b))return;let _0x4fef35=new Set(Array['isArray'](_0x220c85[_0x1763ae(0x12f)]['i'])?_0x220c85[_0x1763ae(0x12f)]['i']['filter'](_0x5c677a=>typeof _0x5c677a==_0x1763ae(0x138)):[]);_0x1df58b[_0x1763ae(0x10a)]((_0x58dead,_0x627e7a)=>{const _0x1f7a2f=_0x1763ae;typeof _0x58dead==_0x1f7a2f(0x138)&&!_0x4fef35['has'](_0x58dead)&&_0x308687[_0x1f7a2f(0x134)](_0x58dead,_0x627e7a);});}),_0x308687;}function ne(_0x419891,_0x59ead7){const _0x4a5c47=_0x5b2564;if(_0x59ead7[_0x4a5c47(0x110)]&&!_0x59ead7[_0x4a5c47(0x121)]&&E(_0x419891[_0x4a5c47(0x143)],_0x59ead7))return A(_0x419891[_0x4a5c47(0x12f)]['r'])?_0x419891[_0x4a5c47(0x12f)]['r']:void 0x0;}function A(_0x5634bb){const _0x2a11bb=_0x5b2564;return F(_0x5634bb)&&typeof _0x5634bb['id']==_0x2a11bb(0x138)&&F(_0x5634bb[_0x2a11bb(0x116)])&&typeof _0x5634bb[_0x2a11bb(0x13a)]==_0x2a11bb(0x138)&&typeof _0x5634bb[_0x2a11bb(0x11d)]==_0x2a11bb(0x11b)&&typeof _0x5634bb['updatedAt']=='number';}function j(_0x539ca8){let _0x22613e=[];return M(_0x539ca8,[],_0x22613e),_0x22613e;}function M(_0x2e7774,_0x46a47f,_0x3aec8f){const _0x56874b=_0x5b2564;if(!Array[_0x56874b(0x129)](_0x2e7774))return;let _0x558d26=[];_0x2e7774['forEach'](_0x2fa7d8=>{const _0x49f27b=_0x56874b;if(Array[_0x49f27b(0x129)](_0x2fa7d8)){M(_0x2fa7d8,[..._0x46a47f,..._0x558d26],_0x3aec8f);return;}if(N(_0x2fa7d8)){_0x3aec8f[_0x49f27b(0xfb)]({'path':[..._0x46a47f,..._0x558d26],'value':_0x2fa7d8});return;}(typeof _0x2fa7d8=='string'||typeof _0x2fa7d8==_0x49f27b(0x11b))&&_0x558d26['push'](_0x2fa7d8);});}function N(_0x5b6862){const _0x23d927=_0x5b2564;return F(_0x5b6862)&&['i','r','p','d','es',_0x23d927(0x12a),'et'][_0x23d927(0x120)](_0x17d7a3=>Object[_0x23d927(0x139)][_0x23d927(0x155)][_0x23d927(0x14d)](_0x5b6862,_0x17d7a3));}function _0x1ce6(_0x46f53f,_0x378123){_0x46f53f=_0x46f53f-0xf1;const _0x49237a=_0x4923();let _0x1ce66f=_0x49237a[_0x46f53f];return _0x1ce66f;}function P(_0x40cb71){const _0x366471=_0x5b2564;return typeof _0x40cb71=='object'&&!!_0x40cb71&&'op'in _0x40cb71&&Array[_0x366471(0x129)](_0x40cb71['op']);}function F(_0x19e35a){const _0x358511=_0x5b2564;return typeof _0x19e35a==_0x358511(0x152)&&!!_0x19e35a;}function I(_0x383a0a,_0x1d5ff9){return function(_0xda0173,_0x529e55){_0x1d5ff9(_0xda0173,_0x529e55,_0x383a0a);};}function L(_0x4d379e,_0x4752f8,_0x240cc6,_0x2873a7){const _0x45615e=_0x5b2564;var _0x1f88e9=arguments[_0x45615e(0x118)],_0x4702c6=_0x1f88e9<0x3?_0x4752f8:_0x2873a7===null?_0x2873a7=Object[_0x45615e(0x13f)](_0x4752f8,_0x240cc6):_0x2873a7,_0x15ffd9;if(typeof Reflect==_0x45615e(0x152)&&typeof Reflect[_0x45615e(0x122)]==_0x45615e(0x10d))_0x4702c6=Reflect['decorate'](_0x4d379e,_0x4752f8,_0x240cc6,_0x2873a7);else{for(var _0x2ace46=_0x4d379e[_0x45615e(0x118)]-0x1;_0x2ace46>=0x0;_0x2ace46--)(_0x15ffd9=_0x4d379e[_0x2ace46])&&(_0x4702c6=(_0x1f88e9<0x3?_0x15ffd9(_0x4702c6):_0x1f88e9>0x3?_0x15ffd9(_0x4752f8,_0x240cc6,_0x4702c6):_0x15ffd9(_0x4752f8,_0x240cc6))||_0x4702c6);}return _0x1f88e9>0x3&&_0x4702c6&&Object[_0x45615e(0x123)](_0x4752f8,_0x240cc6,_0x4702c6),_0x4702c6;}let R=class{constructor(_0x138054){const _0x4d27d5=_0x5b2564;this[_0x4d27d5(0x132)]=_0x138054;}async['compare'](_0x3fd9ea,_0x4f28dd){const _0x3782ec=_0x5b2564;return C(await this['_mutationService'][_0x3782ec(0x125)](_0x3fd9ea,_0x4f28dd));}};R=L([I(0x0,_0x4c0e4b(_0x237cad))],R);function z(_0x2a5127){'@babel/helpers - typeof';const _0x4048fb=_0x5b2564;return z=typeof Symbol==_0x4048fb(0x10d)&&typeof Symbol[_0x4048fb(0x148)]==_0x4048fb(0x103)?function(_0x5c1ba4){return typeof _0x5c1ba4;}:function(_0xbcb0ff){const _0x486cf7=_0x4048fb;return _0xbcb0ff&&typeof Symbol==_0x486cf7(0x10d)&&_0xbcb0ff['constructor']===Symbol&&_0xbcb0ff!==Symbol[_0x486cf7(0x139)]?_0x486cf7(0x103):typeof _0xbcb0ff;},z(_0x2a5127);}function B(_0x132684,_0x3aca21){const _0x180e19=_0x5b2564;if(z(_0x132684)!=_0x180e19(0x152)||!_0x132684)return _0x132684;var _0x24a60f=_0x132684[Symbol[_0x180e19(0x126)]];if(_0x24a60f!==void 0x0){var _0x448579=_0x24a60f[_0x180e19(0x14d)](_0x132684,_0x3aca21||'default');if(z(_0x448579)!=_0x180e19(0x152))return _0x448579;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3aca21===_0x180e19(0x138)?String:Number)(_0x132684);}function V(_0x13e508){const _0x2a1454=_0x5b2564;var _0x2c9533=B(_0x13e508,_0x2a1454(0x138));return z(_0x2c9533)=='symbol'?_0x2c9533:_0x2c9533+'';}function H(_0x4f54ed,_0x38e37a,_0x237181){return(_0x38e37a=V(_0x38e37a))in _0x4f54ed?Object['defineProperty'](_0x4f54ed,_0x38e37a,{'value':_0x237181,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f54ed[_0x38e37a]=_0x237181,_0x4f54ed;}const U=[_0x5b2564(0xf9),_0x5b2564(0x11d),_0x5b2564(0x13b)],W=[_0x30ede6[_0x5b2564(0x147)],_0x30ede6[_0x5b2564(0xf2)],_0x30ede6['FIELD'],_0x30ede6[_0x5b2564(0x11e)],_0x30ede6[_0x5b2564(0x135)],_0x30ede6[_0x5b2564(0x14c)]],G=_0x55b397(_0x5b2564(0x133),_0x5b2564(0x117),'records',_0x5b2564(0x15d),_0x5b2564(0x14e),_0x5b2564(0x15b),_0x5b2564(0x13e),_0x5b2564(0xfc),_0x5b2564(0x12b),_0x5b2564(0xfd),_0x5b2564(0x11f),...U);var K=class{constructor(){const _0x5be004=_0x5b2564;H(this,_0x5be004(0x11a),_0x589a49[_0x5be004(0x12e)]);}[_0x5b2564(0x10f)](_0x302bd3){const _0x39713f=_0x5b2564;let _0xaa7084=_0x4cdf1e(_0x302bd3[_0x39713f(0x105)]),_0x24cae9=_0x4cdf1e(_0x302bd3[_0x39713f(0x15e)]),_0x74c20c=_0x4cdf1e(_0xaa7084==null?void 0x0:_0xaa7084[_0x39713f(0x131)]),_0x157019=_0x4cdf1e(_0x24cae9==null?void 0x0:_0x24cae9['tables']),_0x42ec29=new Set([...Object[_0x39713f(0x156)](_0x74c20c??{}),...Object[_0x39713f(0x156)](_0x157019??{})]),_0x6f044e=_0x1d5b09(_0x74c20c,_0xaa7084==null?void 0x0:_0xaa7084['tableOrder'],G),_0x22161c=_0x1d5b09(_0x157019,_0x24cae9==null?void 0x0:_0x24cae9[_0x39713f(0x127)],G),_0x4f8e04=[..._0x107270({'entityType':_0x30ede6[_0x39713f(0x147)],'left':_0xaa7084===void 0x0?[]:[{'stableId':'base','position':0x0,'value':_0x55b397(_0x39713f(0x131),_0x39713f(0x127),_0x39713f(0x159),...U)(_0xaa7084)}],'right':_0x24cae9===void 0x0?[]:[{'stableId':_0x39713f(0x14a),'position':0x0,'value':_0x55b397(_0x39713f(0x131),_0x39713f(0x127),_0x39713f(0x159),...U)(_0x24cae9)}]}),..._0x107270({'entityType':_0x30ede6[_0x39713f(0xf2)],'left':_0x6f044e,'right':_0x22161c}),...[..._0x42ec29][_0x39713f(0x112)](_0x2a3de7=>q(_0x2a3de7,_0x74c20c,_0x157019))],_0x32467b=_0x3c33ee({'entityType':_0x30ede6[_0x39713f(0xf2)],'items':_0x4f8e04,'left':_0x6f044e,'right':_0x22161c});return{'items':_0x32467b[_0x39713f(0x106)],'supportedEntityTypes':W,'scopes':_0x32467b[_0x39713f(0x146)],'productContext':{'type':_0x589a49[_0x39713f(0x12e)],'visualProjection':_0x39713f(0x114)}};}};function q(_0x38fa5a,_0x10f569,_0x47a3f1){const _0x558ce5=_0x5b2564;let _0x57eb21=_0x4cdf1e(_0x10f569==null?void 0x0:_0x10f569[_0x38fa5a])??{},_0x4620fd=_0x4cdf1e(_0x47a3f1==null?void 0x0:_0x47a3f1[_0x38fa5a])??{},_0x56684a=_0x4cdf1e(_0x57eb21[_0x558ce5(0x133)]),_0x344daf=_0x4cdf1e(_0x4620fd[_0x558ce5(0x133)]),_0x1a667d=_0x4cdf1e(_0x57eb21[_0x558ce5(0xf4)]),_0x46a9d2=_0x4cdf1e(_0x4620fd[_0x558ce5(0xf4)]);return[...J(_0x30ede6[_0x558ce5(0x115)],_0x38fa5a,_0x56684a,_0x344daf,_0x57eb21[_0x558ce5(0x117)],_0x4620fd[_0x558ce5(0x117)],_0x55b397(...U)),...J(_0x30ede6['RECORD'],_0x38fa5a,_0x1a667d,_0x46a9d2,_0x57eb21['recordOrder'],_0x4620fd[_0x558ce5(0x15d)],_0x55b397('values',_0x558ce5(0x13a),...U)),...J(_0x30ede6['VIEW'],_0x38fa5a,_0x57eb21[_0x558ce5(0x14e)],_0x4620fd[_0x558ce5(0x14e)],_0x57eb21[_0x558ce5(0x15b)],_0x4620fd[_0x558ce5(0x15b)],_0x55b397(_0x558ce5(0x13a),...U)),...Y(_0x38fa5a,_0x56684a,_0x344daf,_0x1a667d,_0x46a9d2,_0x57eb21[_0x558ce5(0x117)],_0x4620fd[_0x558ce5(0x117)],_0x57eb21[_0x558ce5(0x15d)],_0x4620fd['recordOrder'],_0x57eb21['primaryFieldId'],_0x4620fd[_0x558ce5(0x102)])];}function J(_0x42352e,_0x4092c0,_0x1798ae,_0x316f48,_0x153fd7,_0x28b15f,_0x5c1b94){return _0x107270({'entityType':_0x42352e,'parentStableId':_0x4092c0,'left':_0x1d5b09(_0x1798ae,_0x153fd7,_0x5c1b94),'right':_0x1d5b09(_0x316f48,_0x28b15f,_0x5c1b94)});}function _0x4923(){const _0x2b0c0a=['raw-table-data','FIELD','values','fieldOrder','length','target','type','number','compose','createdAt','RECORD','rowIndex','some','fieldId','decorate','defineProperty','832580bvmTFx','load','toPrimitive','tableOrder','params','isArray','ena','colIndex','entry','1808160txHdzq','UNIVER_BASE','value','memberId','tables','_mutationService','fields','set','VIEW','_injector','13122VvESyE','string','prototype','orderKey','updatedAt','sort','3qbqPLi','cellData','getOwnPropertyDescriptor','base:record','_configService','register','path','setConfig','784172oaXMXB','scopes','BASE','iterator','map','base','get','CELL','call','views','base:field','821916kHpnCG','tableId','object','insert','index','hasOwnProperty','keys','base-cell','revision','resources','delete','viewOrder','UNIVER_BASES_HISTORY_PLUGIN','recordOrder','rightData','base:view','version','TABLE','update','records','every','name','indexOf','9xRNsNr','rev','pluginName','push','colId','rowId','10qkIUuo','disposeWithMe','locations','has','primaryFieldId','symbol','6914740sCQNiy','leftData','items','filter','viewId','mutation','forEach','43590MKnkGF','updatedBy','function','entity','compare','recordId','kind','flatMap','stableId'];_0x4923=function(){return _0x2b0c0a;};return _0x4923();}function Y(_0x437ad0,_0x1daac8,_0x9ebaf5,_0x276b7b,_0x1bd29c,_0x1262a8,_0x269a72,_0x5118cf,_0x5decad,_0x1899d6,_0xd43a9d){const _0x144e44=_0x5b2564;let _0x3033f4=Z(_0x1daac8,_0x276b7b,_0x1262a8,_0x5118cf,_0x1899d6),_0xe8816e=Z(_0x9ebaf5,_0x1bd29c,_0x269a72,_0x5decad,_0xd43a9d),_0x57a129=new Map(_0x3033f4[_0x144e44(0x149)](_0x1d30be=>[_0x1d30be[_0x144e44(0x113)],_0x1d30be])),_0x3ae349=new Map(_0xe8816e['map'](_0x405b64=>[_0x405b64[_0x144e44(0x113)],_0x405b64]));return _0x107270({'entityType':_0x30ede6[_0x144e44(0x14c)],'parentStableId':_0x437ad0,'left':_0x3033f4,'right':_0xe8816e})[_0x144e44(0x149)](_0x1af517=>({..._0x1af517,'locations':{'left':X(_0x1af517[_0x144e44(0x100)]['left'],_0x57a129[_0x144e44(0x14b)](_0x1af517[_0x144e44(0x113)]),_0x437ad0),'right':X(_0x1af517[_0x144e44(0x100)]['right'],_0x3ae349[_0x144e44(0x14b)](_0x1af517[_0x144e44(0x113)]),_0x437ad0)}}));}function X(_0x2abefe,_0x105d4a,_0xa659db){const _0x21ee16=_0x5b2564;if(_0x2abefe===null||_0x105d4a===void 0x0)return null;let _0x543409=_0x2abefe[_0x21ee16(0x119)];return(_0x543409==null?void 0x0:_0x543409[_0x21ee16(0x111)])===_0x21ee16(0x10e)?{..._0x2abefe,'parentStableId':_0x105d4a[_0x21ee16(0x110)],'target':{..._0x543409,'kind':_0x21ee16(0x157),'tableId':_0xa659db,'recordId':_0x105d4a[_0x21ee16(0x110)],'fieldId':_0x105d4a[_0x21ee16(0x121)]}}:_0x2abefe;}function Z(_0x413b9f,_0x4c5713,_0x343890,_0x373fa7,_0x3ef728){const _0xfff375=_0x5b2564;let _0x251837=Q(_0x413b9f,_0x343890);return Q(_0x4c5713,_0x373fa7)[_0xfff375(0x112)]((_0x53b433,_0x35e22e)=>{const _0x1bc680=_0xfff375;var _0x13037c;let _0x2b00c4=_0x4cdf1e((_0x13037c=_0x4cdf1e(_0x4c5713==null?void 0x0:_0x4c5713[_0x53b433]))==null?void 0x0:_0x13037c['values']);if(_0x2b00c4===void 0x0)return[];let _0x522559=typeof _0x3ef728==_0x1bc680(0x138)?_0x2b00c4[_0x3ef728]:void 0x0,_0x34164b=typeof _0x522559==_0x1bc680(0x138)||typeof _0x522559=='number'?String(_0x522559):void 0x0;return _0x251837[_0x1bc680(0x112)]((_0x16b85e,_0x5c1c17)=>{const _0x29d434=_0x1bc680;var _0x39d5b5;return _0x16b85e in _0x2b00c4?[{'stableId':_0x53b433+':'+_0x16b85e,'recordId':_0x53b433,'fieldId':_0x16b85e,'position':_0x35e22e*Math['max'](0x1,_0x251837[_0x29d434(0x118)])+_0x5c1c17,'displayName':[_0x34164b,(_0x39d5b5=_0x4cdf1e(_0x413b9f==null?void 0x0:_0x413b9f[_0x16b85e]))==null?void 0x0:_0x39d5b5[_0x29d434(0xf6)]]['filter'](_0x68aefc=>typeof _0x68aefc=='string'&&_0x68aefc[_0x29d434(0x118)]>0x0)['join']('\x20·\x20'),'value':_0x2b00c4[_0x16b85e]}]:[];});});}function Q(_0x8f889,_0xc7bf1d){const _0x28ec90=_0x5b2564;let _0x5d137c=_0x8f889??{},_0x32e92a=Array[_0x28ec90(0x129)](_0xc7bf1d)?_0xc7bf1d['filter'](_0xa38f8b=>typeof _0xa38f8b==_0x28ec90(0x138)&&_0xa38f8b in _0x5d137c):[],_0x1943bf=new Set(_0x32e92a);return[..._0x32e92a,...Object[_0x28ec90(0x156)](_0x5d137c)['filter'](_0x4c811e=>!_0x1943bf[_0x28ec90(0x101)](_0x4c811e))];}let $=class extends _0x40cda5{constructor(_0x187c16=S,_0x2b00d0,_0x2a15aa){const _0x504c02=_0x5b2564;super(),this['_config']=_0x187c16,this[_0x504c02(0x136)]=_0x2b00d0,this[_0x504c02(0x141)]=_0x2a15aa;let {..._0x512ecf}=_0x33d874({},S,this['_config']);this[_0x504c02(0x141)][_0x504c02(0x144)]('bases-history.config',_0x512ecf);}['onStarting'](){const _0x6fa73=_0x5b2564;_0x16d98d(this[_0x6fa73(0x136)],[[R],[K]]),this[_0x6fa73(0xff)](this[_0x6fa73(0x136)]['get'](_0x3e3f3e)[_0x6fa73(0x142)](this[_0x6fa73(0x136)][_0x6fa73(0x14b)](K)));}};H($,_0x5b2564(0xfa),_0x5b2564(0x15c)),H($,'packageName',b),H($,_0x5b2564(0xf1),x),H($,_0x5b2564(0x11a),_0x589a49[_0x5b2564(0x12e)]),$=L([_0x534636(_0xd67edd,_0x5aeb59,_0x5ebdd4),I(0x1,_0x4c0e4b(_0x3655c2)),I(0x2,_0x4a1e85)],$);export{R as BasesHistoryDiffService,K as BasesUnitComparisonAdapter,$ as UniverBasesHistoryPlugin};
|
|
1
|
+
const _0x252267=_0x576a;(function(_0x1e6ff1,_0x3e737f){const _0xd5dbf3=_0x576a,_0x1f65fd=_0x1e6ff1();while(!![]){try{const _0x135de2=parseInt(_0xd5dbf3(0x221))/0x1+parseInt(_0xd5dbf3(0x223))/0x2+parseInt(_0xd5dbf3(0x23e))/0x3*(-parseInt(_0xd5dbf3(0x237))/0x4)+parseInt(_0xd5dbf3(0x212))/0x5*(-parseInt(_0xd5dbf3(0x220))/0x6)+-parseInt(_0xd5dbf3(0x23a))/0x7*(parseInt(_0xd5dbf3(0x200))/0x8)+-parseInt(_0xd5dbf3(0x1e3))/0x9*(parseInt(_0xd5dbf3(0x20c))/0xa)+parseInt(_0xd5dbf3(0x235))/0xb;if(_0x135de2===_0x3e737f)break;else _0x1f65fd['push'](_0x1f65fd['shift']());}catch(_0xdce889){_0x1f65fd['push'](_0x1f65fd['shift']());}}}(_0x3dfa,0x1d6ce));import{UniverBasesPlugin as _0x254873}from'@univerjs-pro/bases';import{HistoryMutationService as _0x4082b9,UnitComparisonAdapterRegistryService as _0x2bfb0c,UnitComparisonEntityType as _0x43950f,UniverEditHistoryPlugin as _0x4f2d4e,asRecord as _0x4e6452,buildScopedUnitComparison as _0x2cdea,buildSemanticComparisonItems as _0x5e8681,recordComparisonEntries as _0x525a8f,withoutComparisonKeys as _0x1b6530}from'@univerjs-pro/edit-history';import{UniverLicensePlugin as _0x23e6e8}from'@univerjs-pro/license';import{DependentOn as _0x336f9b,IConfigService as _0x19ae82,Inject as _0x2de638,Injector as _0xb40961,JSON1 as _0x227244,Plugin as _0x1ff602,UniverInstanceType as _0x420197,merge as _0x3a6efd,registerDependencies as _0xd25181}from'@univerjs/core';var b='@univerjs-pro/bases-history',x=_0x252267(0x1e1);const S={},ee=[_0x252267(0x215),'fieldOrder',_0x252267(0x24a),_0x252267(0x24b),'rowId',_0x252267(0x236),'colId',_0x252267(0x233)];function C(_0x266012){const _0x5e7548=_0x252267;let _0x21726d=null,_0x3dfcd=null,_0x47d041=_0x266012[_0x5e7548(0x1dd)]((_0x24ef12,_0x35efc7)=>({'entry':_0x24ef12,'index':_0x35efc7}))[_0x5e7548(0x1e8)]((_0x486878,_0x4026de)=>_0x486878[_0x5e7548(0x1f5)][_0x5e7548(0x1e5)]-_0x4026de[_0x5e7548(0x1f5)][_0x5e7548(0x1e5)]||_0x486878[_0x5e7548(0x245)]-_0x4026de[_0x5e7548(0x245)]);for(let {entry:_0x4ab5ad}of _0x47d041)P(_0x4ab5ad[_0x5e7548(0x22c)][_0x5e7548(0x207)])&&(_0x21726d=_0x21726d===null?_0x4ab5ad['mutation'][_0x5e7548(0x207)]['op']:_0x227244[_0x5e7548(0x226)][_0x5e7548(0x1df)](_0x21726d,_0x4ab5ad[_0x5e7548(0x22c)]['params']['op']),_0x3dfcd=_0x4ab5ad);if(_0x21726d===null||_0x3dfcd===null)return[];let _0x1144c1=j(_0x21726d)[_0x5e7548(0x1f2)](_0x2aab8e=>!te(_0x2aab8e)),_0x303e9b=k(_0x1144c1,_0x5e7548(0x215)),_0x262573=k(_0x1144c1,_0x5e7548(0x20f));return _0x1144c1[_0x5e7548(0x1fb)]((_0x32ee15,_0x5f267a)=>{const _0x33fb96=_0x5e7548;let _0x2be54e=O(_0x32ee15[_0x33fb96(0x1eb)]);if(!_0x2be54e)return[];let _0x3ea9de=w(_0x32ee15,_0x2be54e);return[{'id':_0x3dfcd['revision']+':'+_0x5f267a,'kind':_0x3ea9de,'label':_0x2be54e[_0x33fb96(0x21e)],'memberId':_0x3dfcd['memberId'],'tableId':_0x2be54e[_0x33fb96(0x1f4)],'viewId':_0x2be54e[_0x33fb96(0x246)],'recordId':_0x2be54e[_0x33fb96(0x253)],'recordIndex':_0x2be54e[_0x33fb96(0x253)]?_0x303e9b['get'](_0x2be54e['recordId']):void 0x0,'removedRecord':_0x3ea9de===_0x33fb96(0x1f6)?ne(_0x32ee15,_0x2be54e):void 0x0,'fieldId':_0x2be54e[_0x33fb96(0x1ef)],'fieldIndex':_0x2be54e['fieldId']?_0x262573[_0x33fb96(0x208)](_0x2be54e[_0x33fb96(0x1ef)]):void 0x0}];});}function _0x576a(_0x4fa944,_0x948f24){_0x4fa944=_0x4fa944-0x1dd;const _0x3dfa30=_0x3dfa();let _0x576a18=_0x3dfa30[_0x4fa944];return _0x576a18;}function w(_0x2303f1,_0x4f9c4d){const _0x41a8c2=_0x252267;if(!E(_0x2303f1[_0x41a8c2(0x1eb)],_0x4f9c4d))return _0x41a8c2(0x23b);let _0x5e77c2=Object['prototype'][_0x41a8c2(0x234)][_0x41a8c2(0x1e4)](_0x2303f1[_0x41a8c2(0x1f0)],'i'),_0x3d06bd=Object['prototype'][_0x41a8c2(0x234)]['call'](_0x2303f1[_0x41a8c2(0x1f0)],'r');return _0x5e77c2&&!_0x3d06bd?_0x41a8c2(0x250):_0x3d06bd&&!_0x5e77c2?_0x41a8c2(0x1f6):'update';}function te(_0x3354ef){const _0x379989=_0x252267;return Object['prototype'][_0x379989(0x234)][_0x379989(0x1e4)](_0x3354ef[_0x379989(0x1f0)],'i')&&Object[_0x379989(0x243)]['hasOwnProperty'][_0x379989(0x1e4)](_0x3354ef['value'],'r')&&T(_0x3354ef['value']['i'],_0x3354ef[_0x379989(0x1f0)]['r']);}function T(_0x16ce31,_0x5e7f1c){const _0x3cabb7=_0x252267;if(_0x16ce31===_0x5e7f1c)return!0x0;if(Array[_0x3cabb7(0x1fc)](_0x16ce31)||Array[_0x3cabb7(0x1fc)](_0x5e7f1c))return Array['isArray'](_0x16ce31)&&Array[_0x3cabb7(0x1fc)](_0x5e7f1c)&&_0x16ce31['length']===_0x5e7f1c[_0x3cabb7(0x210)]&&_0x16ce31[_0x3cabb7(0x249)]((_0x1197dc,_0xec7e78)=>T(_0x1197dc,_0x5e7f1c[_0xec7e78]));if(!F(_0x16ce31)||!F(_0x5e7f1c))return!0x1;let _0x1a81e3=Object[_0x3cabb7(0x244)](_0x16ce31),_0x11209f=Object[_0x3cabb7(0x244)](_0x5e7f1c);return _0x1a81e3[_0x3cabb7(0x210)]===_0x11209f[_0x3cabb7(0x210)]&&_0x1a81e3['every'](_0x24725f=>Object[_0x3cabb7(0x243)][_0x3cabb7(0x234)]['call'](_0x5e7f1c,_0x24725f)&&T(_0x16ce31[_0x24725f],_0x5e7f1c[_0x24725f]));}function E(_0x1392a7,_0x212ee3){const _0x475e37=_0x252267;return _0x212ee3[_0x475e37(0x1f4)]?_0x212ee3[_0x475e37(0x253)]&&_0x212ee3['fieldId']?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],_0x475e37(0x228),_0x212ee3['recordId'],'values',_0x212ee3[_0x475e37(0x1ef)]]):_0x212ee3[_0x475e37(0x253)]?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],'records',_0x212ee3[_0x475e37(0x253)]]):_0x212ee3['fieldId']?D(_0x1392a7,['tables',_0x212ee3[_0x475e37(0x1f4)],'fields',_0x212ee3[_0x475e37(0x1ef)]]):_0x212ee3[_0x475e37(0x246)]?D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)],_0x475e37(0x1f3),_0x212ee3[_0x475e37(0x246)]]):D(_0x1392a7,[_0x475e37(0x238),_0x212ee3[_0x475e37(0x1f4)]]):!0x1;}function D(_0x29afc5,_0x359a6d){const _0x4ef5bc=_0x252267;return _0x29afc5[_0x4ef5bc(0x210)]===_0x359a6d[_0x4ef5bc(0x210)]&&_0x29afc5['every']((_0x432448,_0x25fb3c)=>_0x432448===_0x359a6d[_0x25fb3c]);}function O(_0x32d2ff){const _0x20ec9a=_0x252267;let _0x371aa1=_0x32d2ff['indexOf'](_0x20ec9a(0x238)),_0x407a46=_0x32d2ff[_0x371aa1+0x1];if(_0x371aa1<0x0||typeof _0x407a46!=_0x20ec9a(0x21d))return null;let _0x12ba5e=_0x32d2ff[_0x371aa1+0x2],_0x1aa392=_0x32d2ff[_0x371aa1+0x3];if(_0x12ba5e===_0x20ec9a(0x228)&&typeof _0x1aa392==_0x20ec9a(0x21d)){let _0x251e9a=_0x32d2ff[_0x371aa1+0x4],_0x3314e8=_0x32d2ff[_0x371aa1+0x5];return _0x251e9a==='values'&&typeof _0x3314e8==_0x20ec9a(0x21d)?{'label':'base:cell','tableId':_0x407a46,'recordId':_0x1aa392,'fieldId':_0x3314e8}:_0x251e9a===_0x20ec9a(0x225)||_0x251e9a===_0x20ec9a(0x1fe)?null:{'label':_0x20ec9a(0x22d),'tableId':_0x407a46,'recordId':_0x1aa392};}return _0x12ba5e==='fields'&&typeof _0x1aa392=='string'?{'label':_0x20ec9a(0x1de),'tableId':_0x407a46,'fieldId':_0x1aa392}:_0x12ba5e==='views'&&typeof _0x1aa392==_0x20ec9a(0x21d)?{'label':'base:view','tableId':_0x407a46,'viewId':_0x1aa392}:ee[_0x20ec9a(0x24d)](_0x1ca65e=>_0x1ca65e===_0x12ba5e)?null:{'label':_0x12ba5e===void 0x0?_0x20ec9a(0x1e7):_0x20ec9a(0x216),'tableId':_0x407a46};}function k(_0x37b084,_0x2fa59c){let _0x511af1=new Map();return _0x37b084['forEach'](_0x464efb=>{const _0x529598=_0x576a;let _0x17ed22=_0x464efb[_0x529598(0x1eb)][_0x529598(0x20a)](_0x2fa59c),_0x2c47e9=_0x464efb['path'][_0x17ed22+0x1],_0x55f645=_0x464efb['value']['r'];if(_0x17ed22>=0x0&&typeof _0x2c47e9==_0x529598(0x219)&&typeof _0x55f645==_0x529598(0x21d)){_0x511af1[_0x529598(0x22e)](_0x55f645,_0x2c47e9);return;}if(_0x17ed22!==_0x464efb[_0x529598(0x1eb)]['length']-0x1||!Array[_0x529598(0x1fc)](_0x55f645))return;let _0x5699a2=new Set(Array[_0x529598(0x1fc)](_0x464efb[_0x529598(0x1f0)]['i'])?_0x464efb[_0x529598(0x1f0)]['i'][_0x529598(0x1f2)](_0x337bfd=>typeof _0x337bfd==_0x529598(0x21d)):[]);_0x55f645[_0x529598(0x230)]((_0x4393c8,_0x1375a2)=>{const _0x3f3edc=_0x529598;typeof _0x4393c8==_0x3f3edc(0x21d)&&!_0x5699a2[_0x3f3edc(0x229)](_0x4393c8)&&_0x511af1[_0x3f3edc(0x22e)](_0x4393c8,_0x1375a2);});}),_0x511af1;}function ne(_0x392565,_0x5f3393){const _0xbce212=_0x252267;if(_0x5f3393[_0xbce212(0x253)]&&!_0x5f3393[_0xbce212(0x1ef)]&&E(_0x392565[_0xbce212(0x1eb)],_0x5f3393))return A(_0x392565[_0xbce212(0x1f0)]['r'])?_0x392565['value']['r']:void 0x0;}function A(_0x363c13){const _0x3ffc2c=_0x252267;return F(_0x363c13)&&typeof _0x363c13['id']==_0x3ffc2c(0x21d)&&F(_0x363c13[_0x3ffc2c(0x23f)])&&typeof _0x363c13[_0x3ffc2c(0x209)]==_0x3ffc2c(0x21d)&&typeof _0x363c13[_0x3ffc2c(0x1f1)]==_0x3ffc2c(0x219)&&typeof _0x363c13[_0x3ffc2c(0x225)]=='number';}function j(_0x20b230){let _0x39e720=[];return M(_0x20b230,[],_0x39e720),_0x39e720;}function M(_0x4cb651,_0x43dba6,_0x2cd715){const _0x3b79c1=_0x252267;if(!Array[_0x3b79c1(0x1fc)](_0x4cb651))return;let _0x58642f=[];_0x4cb651[_0x3b79c1(0x230)](_0x357e70=>{const _0x10230f=_0x3b79c1;if(Array[_0x10230f(0x1fc)](_0x357e70)){M(_0x357e70,[..._0x43dba6,..._0x58642f],_0x2cd715);return;}if(N(_0x357e70)){_0x2cd715['push']({'path':[..._0x43dba6,..._0x58642f],'value':_0x357e70});return;}(typeof _0x357e70==_0x10230f(0x21d)||typeof _0x357e70=='number')&&_0x58642f[_0x10230f(0x1ed)](_0x357e70);});}function N(_0x78a740){const _0x1e9da5=_0x252267;return F(_0x78a740)&&['i','r','p','d','es',_0x1e9da5(0x21f),'et'][_0x1e9da5(0x24d)](_0x206eaa=>Object[_0x1e9da5(0x243)][_0x1e9da5(0x234)][_0x1e9da5(0x1e4)](_0x78a740,_0x206eaa));}function P(_0x20ef0b){const _0x31d889=_0x252267;return typeof _0x20ef0b==_0x31d889(0x214)&&!!_0x20ef0b&&'op'in _0x20ef0b&&Array[_0x31d889(0x1fc)](_0x20ef0b['op']);}function F(_0x412e01){const _0x14fdb1=_0x252267;return typeof _0x412e01==_0x14fdb1(0x214)&&!!_0x412e01;}function I(_0x5241d4,_0x1840f4){return function(_0x2c305c,_0x1d3368){_0x1840f4(_0x2c305c,_0x1d3368,_0x5241d4);};}function L(_0x1d59d5,_0x29aaf3,_0x4cf6e8,_0x342b4a){const _0x1a9397=_0x252267;var _0x2ea1f7=arguments[_0x1a9397(0x210)],_0x456e7d=_0x2ea1f7<0x3?_0x29aaf3:_0x342b4a===null?_0x342b4a=Object[_0x1a9397(0x22b)](_0x29aaf3,_0x4cf6e8):_0x342b4a,_0x2e96b5;if(typeof Reflect==_0x1a9397(0x214)&&typeof Reflect[_0x1a9397(0x1e0)]=='function')_0x456e7d=Reflect[_0x1a9397(0x1e0)](_0x1d59d5,_0x29aaf3,_0x4cf6e8,_0x342b4a);else{for(var _0x3af90c=_0x1d59d5[_0x1a9397(0x210)]-0x1;_0x3af90c>=0x0;_0x3af90c--)(_0x2e96b5=_0x1d59d5[_0x3af90c])&&(_0x456e7d=(_0x2ea1f7<0x3?_0x2e96b5(_0x456e7d):_0x2ea1f7>0x3?_0x2e96b5(_0x29aaf3,_0x4cf6e8,_0x456e7d):_0x2e96b5(_0x29aaf3,_0x4cf6e8))||_0x456e7d);}return _0x2ea1f7>0x3&&_0x456e7d&&Object['defineProperty'](_0x29aaf3,_0x4cf6e8,_0x456e7d),_0x456e7d;}let R=class{constructor(_0x13e9dd){const _0x1690f9=_0x252267;this[_0x1690f9(0x247)]=_0x13e9dd;}async[_0x252267(0x1fa)](_0x2e1cbe,_0x319e43){const _0x35cb9b=_0x252267;return C(await this[_0x35cb9b(0x247)][_0x35cb9b(0x1ec)](_0x2e1cbe,_0x319e43));}};R=L([I(0x0,_0x2de638(_0x4082b9))],R);function z(_0x428fd5){'@babel/helpers - typeof';const _0x30019e=_0x252267;return z=typeof Symbol==_0x30019e(0x218)&&typeof Symbol[_0x30019e(0x1f9)]==_0x30019e(0x248)?function(_0x59a9fb){return typeof _0x59a9fb;}:function(_0x9f4ffb){const _0x2bf932=_0x30019e;return _0x9f4ffb&&typeof Symbol==_0x2bf932(0x218)&&_0x9f4ffb[_0x2bf932(0x20b)]===Symbol&&_0x9f4ffb!==Symbol[_0x2bf932(0x243)]?_0x2bf932(0x248):typeof _0x9f4ffb;},z(_0x428fd5);}function B(_0x226092,_0x5aad3a){const _0x52f08f=_0x252267;if(z(_0x226092)!='object'||!_0x226092)return _0x226092;var _0x5f24c3=_0x226092[Symbol[_0x52f08f(0x24e)]];if(_0x5f24c3!==void 0x0){var _0x4c01d8=_0x5f24c3['call'](_0x226092,_0x5aad3a||'default');if(z(_0x4c01d8)!=_0x52f08f(0x214))return _0x4c01d8;throw TypeError(_0x52f08f(0x204));}return(_0x5aad3a===_0x52f08f(0x21d)?String:Number)(_0x226092);}function V(_0x12c042){const _0x12c177=_0x252267;var _0x10e904=B(_0x12c042,_0x12c177(0x21d));return z(_0x10e904)=='symbol'?_0x10e904:_0x10e904+'';}function H(_0x1633d7,_0x1c8397,_0x20db0e){const _0x5dd291=_0x252267;return(_0x1c8397=V(_0x1c8397))in _0x1633d7?Object[_0x5dd291(0x23c)](_0x1633d7,_0x1c8397,{'value':_0x20db0e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1633d7[_0x1c8397]=_0x20db0e,_0x1633d7;}const U=[_0x252267(0x23d),'createdAt','updatedAt'],W=[_0x43950f[_0x252267(0x222)],_0x43950f['TABLE'],_0x43950f[_0x252267(0x231)],_0x43950f['RECORD'],_0x43950f[_0x252267(0x1e2)],_0x43950f[_0x252267(0x202)]],G=_0x1b6530('fields',_0x252267(0x20f),'records',_0x252267(0x215),_0x252267(0x1f3),_0x252267(0x24a),'cellData',_0x252267(0x1fd),_0x252267(0x236),_0x252267(0x22f),_0x252267(0x24b),...U);var K=class{constructor(){const _0x1746a3=_0x252267;H(this,'type',_0x420197[_0x1746a3(0x24c)]);}[_0x252267(0x1fa)](_0x3325d0){const _0x43b57a=_0x252267;let _0x4223dc=_0x4e6452(_0x3325d0[_0x43b57a(0x205)]),_0x15d0c7=_0x4e6452(_0x3325d0[_0x43b57a(0x1e9)]),_0x2f4520=_0x4e6452(_0x4223dc==null?void 0x0:_0x4223dc[_0x43b57a(0x238)]),_0x550132=_0x4e6452(_0x15d0c7==null?void 0x0:_0x15d0c7['tables']),_0x6726ef=new Set([...Object[_0x43b57a(0x244)](_0x2f4520??{}),...Object[_0x43b57a(0x244)](_0x550132??{})]),_0x376ff3=_0x525a8f(_0x2f4520,_0x4223dc==null?void 0x0:_0x4223dc['tableOrder'],G),_0x97c263=_0x525a8f(_0x550132,_0x15d0c7==null?void 0x0:_0x15d0c7[_0x43b57a(0x213)],G),_0x4ed3d2=[..._0x5e8681({'entityType':_0x43950f['BASE'],'left':_0x4223dc===void 0x0?[]:[{'stableId':_0x43b57a(0x1e6),'position':0x0,'value':_0x1b6530(_0x43b57a(0x238),_0x43b57a(0x213),'resources',...U)(_0x4223dc)}],'right':_0x15d0c7===void 0x0?[]:[{'stableId':_0x43b57a(0x1e6),'position':0x0,'value':_0x1b6530(_0x43b57a(0x238),'tableOrder',_0x43b57a(0x1ff),...U)(_0x15d0c7)}]}),..._0x5e8681({'entityType':_0x43950f[_0x43b57a(0x1ee)],'left':_0x376ff3,'right':_0x97c263}),...[..._0x6726ef][_0x43b57a(0x1fb)](_0x402813=>q(_0x402813,_0x2f4520,_0x550132))],_0x4ca264=_0x2cdea({'entityType':_0x43950f['TABLE'],'items':_0x4ed3d2,'left':_0x376ff3,'right':_0x97c263});return{'items':_0x4ca264[_0x43b57a(0x241)],'supportedEntityTypes':W,'scopes':_0x4ca264[_0x43b57a(0x1f7)],'productContext':{'type':_0x420197['UNIVER_BASE'],'visualProjection':_0x43b57a(0x203)}};}};function q(_0x1a9b04,_0x5726bf,_0x36b120){const _0x35480f=_0x252267;let _0x24f610=_0x4e6452(_0x5726bf==null?void 0x0:_0x5726bf[_0x1a9b04])??{},_0x14e324=_0x4e6452(_0x36b120==null?void 0x0:_0x36b120[_0x1a9b04])??{},_0x1335f5=_0x4e6452(_0x24f610['fields']),_0x377b36=_0x4e6452(_0x14e324[_0x35480f(0x206)]),_0x39c61c=_0x4e6452(_0x24f610[_0x35480f(0x228)]),_0x1f8c31=_0x4e6452(_0x14e324[_0x35480f(0x228)]);return[...J(_0x43950f[_0x35480f(0x231)],_0x1a9b04,_0x1335f5,_0x377b36,_0x24f610[_0x35480f(0x20f)],_0x14e324['fieldOrder'],_0x1b6530(...U)),...J(_0x43950f['RECORD'],_0x1a9b04,_0x39c61c,_0x1f8c31,_0x24f610[_0x35480f(0x215)],_0x14e324['recordOrder'],_0x1b6530('values',_0x35480f(0x209),...U)),...J(_0x43950f['VIEW'],_0x1a9b04,_0x24f610[_0x35480f(0x1f3)],_0x14e324['views'],_0x24f610[_0x35480f(0x24a)],_0x14e324[_0x35480f(0x24a)],_0x1b6530(_0x35480f(0x209),...U)),...Y(_0x1a9b04,_0x1335f5,_0x377b36,_0x39c61c,_0x1f8c31,_0x24f610[_0x35480f(0x20f)],_0x14e324['fieldOrder'],_0x24f610[_0x35480f(0x215)],_0x14e324[_0x35480f(0x215)],_0x24f610[_0x35480f(0x224)],_0x14e324['primaryFieldId'])];}function J(_0x182ce2,_0x38080b,_0x1f4e42,_0x3b6769,_0x4f28ef,_0x2e27d2,_0x5d0488){return _0x5e8681({'entityType':_0x182ce2,'parentStableId':_0x38080b,'left':_0x525a8f(_0x1f4e42,_0x4f28ef,_0x5d0488),'right':_0x525a8f(_0x3b6769,_0x2e27d2,_0x5d0488)});}function Y(_0x49fbe4,_0x30d825,_0x4b7b4a,_0x2a366d,_0x5f3b0a,_0x287367,_0x48fe82,_0x1489c2,_0xc38e67,_0x582f40,_0x1e37ef){const _0x2d10a8=_0x252267;let _0x5a4781=Z(_0x30d825,_0x2a366d,_0x287367,_0x1489c2,_0x582f40),_0x292700=Z(_0x4b7b4a,_0x5f3b0a,_0x48fe82,_0xc38e67,_0x1e37ef),_0x4a812a=new Map(_0x5a4781[_0x2d10a8(0x1dd)](_0x565456=>[_0x565456[_0x2d10a8(0x201)],_0x565456])),_0x2a91a3=new Map(_0x292700[_0x2d10a8(0x1dd)](_0x102219=>[_0x102219[_0x2d10a8(0x201)],_0x102219]));return _0x5e8681({'entityType':_0x43950f['CELL'],'parentStableId':_0x49fbe4,'left':_0x5a4781,'right':_0x292700})[_0x2d10a8(0x1dd)](_0x58a0b2=>({..._0x58a0b2,'locations':{'left':X(_0x58a0b2[_0x2d10a8(0x242)][_0x2d10a8(0x1f8)],_0x4a812a[_0x2d10a8(0x208)](_0x58a0b2[_0x2d10a8(0x201)]),_0x49fbe4),'right':X(_0x58a0b2[_0x2d10a8(0x242)]['right'],_0x2a91a3['get'](_0x58a0b2[_0x2d10a8(0x201)]),_0x49fbe4)}}));}function X(_0x824f1,_0x372317,_0x3a2b92){const _0xc1b3d5=_0x252267;if(_0x824f1===null||_0x372317===void 0x0)return null;let _0x29a398=_0x824f1[_0xc1b3d5(0x22a)];return(_0x29a398==null?void 0x0:_0x29a398['kind'])==='entity'?{..._0x824f1,'parentStableId':_0x372317[_0xc1b3d5(0x253)],'target':{..._0x29a398,'kind':_0xc1b3d5(0x240),'tableId':_0x3a2b92,'recordId':_0x372317[_0xc1b3d5(0x253)],'fieldId':_0x372317[_0xc1b3d5(0x1ef)]}}:_0x824f1;}function Z(_0x438cd6,_0xcdfcc4,_0xbed51,_0x1b7dac,_0x121000){const _0x516d35=_0x252267;let _0x49c6ec=Q(_0x438cd6,_0xbed51);return Q(_0xcdfcc4,_0x1b7dac)[_0x516d35(0x1fb)]((_0xea4a24,_0x364c91)=>{const _0x5572de=_0x516d35;var _0x4da932;let _0xa7f2f0=_0x4e6452((_0x4da932=_0x4e6452(_0xcdfcc4==null?void 0x0:_0xcdfcc4[_0xea4a24]))==null?void 0x0:_0x4da932[_0x5572de(0x23f)]);if(_0xa7f2f0===void 0x0)return[];let _0x4ceae8=typeof _0x121000==_0x5572de(0x21d)?_0xa7f2f0[_0x121000]:void 0x0,_0x1241b=typeof _0x4ceae8==_0x5572de(0x21d)||typeof _0x4ceae8==_0x5572de(0x219)?String(_0x4ceae8):void 0x0;return _0x49c6ec['flatMap']((_0x2016e7,_0x380738)=>{const _0x480d6f=_0x5572de;var _0x4d4f1e;return _0x2016e7 in _0xa7f2f0?[{'stableId':_0xea4a24+':'+_0x2016e7,'recordId':_0xea4a24,'fieldId':_0x2016e7,'position':_0x364c91*Math[_0x480d6f(0x211)](0x1,_0x49c6ec[_0x480d6f(0x210)])+_0x380738,'displayName':[_0x1241b,(_0x4d4f1e=_0x4e6452(_0x438cd6==null?void 0x0:_0x438cd6[_0x2016e7]))==null?void 0x0:_0x4d4f1e[_0x480d6f(0x239)]][_0x480d6f(0x1f2)](_0x395de7=>typeof _0x395de7==_0x480d6f(0x21d)&&_0x395de7[_0x480d6f(0x210)]>0x0)[_0x480d6f(0x21c)](_0x480d6f(0x20d)),'value':_0xa7f2f0[_0x2016e7]}]:[];});});}function Q(_0x5c70c4,_0x195906){const _0x19afb2=_0x252267;let _0x1f8dfd=_0x5c70c4??{},_0x48ab41=Array['isArray'](_0x195906)?_0x195906[_0x19afb2(0x1f2)](_0xc06afb=>typeof _0xc06afb==_0x19afb2(0x21d)&&_0xc06afb in _0x1f8dfd):[],_0x26d5d3=new Set(_0x48ab41);return[..._0x48ab41,...Object[_0x19afb2(0x244)](_0x1f8dfd)[_0x19afb2(0x1f2)](_0x28c07b=>!_0x26d5d3[_0x19afb2(0x229)](_0x28c07b))];}let $=class extends _0x1ff602{constructor(_0x42c148=S,_0x397844,_0x4452b5){const _0x341465=_0x252267;super(),this[_0x341465(0x227)]=_0x42c148,this[_0x341465(0x254)]=_0x397844,this[_0x341465(0x251)]=_0x4452b5;let {..._0x4b3393}=_0x3a6efd({},S,this[_0x341465(0x227)]);this[_0x341465(0x251)][_0x341465(0x1ea)](_0x341465(0x232),_0x4b3393);}[_0x252267(0x217)](){const _0x5672db=_0x252267;_0xd25181(this[_0x5672db(0x254)],[[R],[K]]),this[_0x5672db(0x252)](this['_injector']['get'](_0x2bfb0c)[_0x5672db(0x24f)](this[_0x5672db(0x254)]['get'](K)));}};function _0x3dfa(){const _0x39eb04=['2004219ySjPxN','call','revision','base','base:table','sort','rightData','setConfig','path','load','push','TABLE','fieldId','value','createdAt','filter','views','tableId','entry','delete','scopes','left','iterator','compare','flatMap','isArray','colId','updatedBy','resources','16mCDzrz','stableId','CELL','raw-table-data','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','leftData','fields','params','get','orderKey','indexOf','constructor','10BBxaum','\x20·\x20','pluginName','fieldOrder','length','max','210VQrgYQ','tableOrder','object','recordOrder','base:unknown','onStarting','function','number','packageName','UNIVER_BASES_HISTORY_PLUGIN','join','string','label','ena','28884gZZLpW','99207vNAmlm','BASE','36566frAHZW','primaryFieldId','updatedAt','type','_config','records','has','target','getOwnPropertyDescriptor','mutation','base:record','set','rowId','forEach','FIELD','bases-history.config','cellData','hasOwnProperty','7018880VVKpGf','colIndex','4hDxOoe','tables','name','641242cUnvsY','update','defineProperty','rev','80859gjHStX','values','base-cell','items','locations','prototype','keys','index','viewId','_mutationService','symbol','every','viewOrder','rowIndex','UNIVER_BASE','some','toPrimitive','register','insert','_configService','disposeWithMe','recordId','_injector','map','base:field','compose','decorate','1.0.1','VIEW'];_0x3dfa=function(){return _0x39eb04;};return _0x3dfa();}H($,_0x252267(0x20e),_0x252267(0x21b)),H($,_0x252267(0x21a),b),H($,'version',x),H($,'type',_0x420197[_0x252267(0x24c)]),$=L([_0x336f9b(_0x23e6e8,_0x4f2d4e,_0x254873),I(0x1,_0x2de638(_0xb40961)),I(0x2,_0x19ae82)],$);export{R as BasesHistoryDiffService,K as BasesUnitComparisonAdapter,$ as UniverBasesHistoryPlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x577c03,_0x2cbb21){const _0x1cd146=_0x382c,_0x1fb6bc=_0x577c03();while(!![]){try{const _0x22ceee=-parseInt(_0x1cd146(0x139))/0x1*(-parseInt(_0x1cd146(0x134))/0x2)+parseInt(_0x1cd146(0x12b))/0x3+-parseInt(_0x1cd146(0x164))/0x4+-parseInt(_0x1cd146(0x181))/0x5+-parseInt(_0x1cd146(0x183))/0x6*(parseInt(_0x1cd146(0x126))/0x7)+-parseInt(_0x1cd146(0x199))/0x8+parseInt(_0x1cd146(0x1a4))/0x9;if(_0x22ceee===_0x2cbb21)break;else _0x1fb6bc['push'](_0x1fb6bc['shift']());}catch(_0x487dcc){_0x1fb6bc['push'](_0x1fb6bc['shift']());}}}(_0x3dae,0x70181),function(_0x124380,_0x3dd876){const _0x330549=_0x382c;typeof exports=='object'&&typeof module<'u'?_0x3dd876(exports,require('@univerjs-pro/bases'),require('@univerjs-pro/edit-history'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define==_0x330549(0x188)&&define[_0x330549(0x130)]?define(['exports',_0x330549(0x171),_0x330549(0x122),_0x330549(0x155),_0x330549(0x19b)],_0x3dd876):(_0x124380=typeof globalThis<'u'?globalThis:_0x124380||self,_0x3dd876(_0x124380[_0x330549(0x163)]={},_0x124380[_0x330549(0x135)],_0x124380[_0x330549(0x182)],_0x124380[_0x330549(0x190)],_0x124380['UniverCore']));}(this,function(_0x38eb07,_0x243f58,_0x331c94,_0x336ab2,_0x14a153){const _0x521854=_0x382c;Object[_0x521854(0x19e)](_0x38eb07,Symbol[_0x521854(0x123)],{'value':'Module'});var _0x238779=_0x521854(0x195),_0x59c1b6=_0x521854(0x129);let _0x581fa5={},_0x5978c1=[_0x521854(0x160),'fieldOrder','viewOrder',_0x521854(0x13a),_0x521854(0x16d),_0x521854(0x16c),'colId',_0x521854(0x170)];function _0x23bab1(_0x2265cb){const _0x94f3a0=_0x521854;let _0x13fea5=null,_0xbbea66=null,_0x462c8b=_0x2265cb['map']((_0x1d083f,_0x2f1f40)=>({'entry':_0x1d083f,'index':_0x2f1f40}))[_0x94f3a0(0x153)]((_0x1a828d,_0x4cc717)=>_0x1a828d[_0x94f3a0(0x18e)][_0x94f3a0(0x15a)]-_0x4cc717[_0x94f3a0(0x18e)][_0x94f3a0(0x15a)]||_0x1a828d['index']-_0x4cc717[_0x94f3a0(0x138)]);for(let {entry:_0x30dbdc}of _0x462c8b)_0x54fd07(_0x30dbdc[_0x94f3a0(0x174)][_0x94f3a0(0x16e)])&&(_0x13fea5=_0x13fea5===null?_0x30dbdc[_0x94f3a0(0x174)][_0x94f3a0(0x16e)]['op']:_0x14a153[_0x94f3a0(0x187)][_0x94f3a0(0x1a8)][_0x94f3a0(0x14b)](_0x13fea5,_0x30dbdc[_0x94f3a0(0x174)][_0x94f3a0(0x16e)]['op']),_0xbbea66=_0x30dbdc);if(_0x13fea5===null||_0xbbea66===null)return[];let _0x20a35e=_0x2b6ba5(_0x13fea5)[_0x94f3a0(0x12c)](_0x4efbb0=>!_0x3395ef(_0x4efbb0)),_0x3c77af=_0x2a939a(_0x20a35e,_0x94f3a0(0x160)),_0x14e275=_0x2a939a(_0x20a35e,'fieldOrder');return _0x20a35e[_0x94f3a0(0x143)]((_0x19ca08,_0x504db0)=>{const _0x4d90ab=_0x94f3a0;let _0x223638=_0x3f3718(_0x19ca08[_0x4d90ab(0x197)]);if(!_0x223638)return[];let _0x13cba5=_0x55f542(_0x19ca08,_0x223638);return[{'id':_0xbbea66[_0x4d90ab(0x15a)]+':'+_0x504db0,'kind':_0x13cba5,'label':_0x223638[_0x4d90ab(0x18f)],'memberId':_0xbbea66['memberId'],'tableId':_0x223638[_0x4d90ab(0x172)],'viewId':_0x223638[_0x4d90ab(0x13d)],'recordId':_0x223638['recordId'],'recordIndex':_0x223638[_0x4d90ab(0x145)]?_0x3c77af['get'](_0x223638[_0x4d90ab(0x145)]):void 0x0,'removedRecord':_0x13cba5===_0x4d90ab(0x18d)?_0x45425e(_0x19ca08,_0x223638):void 0x0,'fieldId':_0x223638[_0x4d90ab(0x12e)],'fieldIndex':_0x223638['fieldId']?_0x14e275[_0x4d90ab(0x137)](_0x223638[_0x4d90ab(0x12e)]):void 0x0}];});}function _0x55f542(_0xe2c861,_0x5f0ff7){const _0x312e51=_0x521854;if(!_0x284263(_0xe2c861[_0x312e51(0x197)],_0x5f0ff7))return _0x312e51(0x15b);let _0x322183=Object['prototype']['hasOwnProperty'][_0x312e51(0x193)](_0xe2c861[_0x312e51(0x14d)],'i'),_0x212d6e=Object[_0x312e51(0x198)][_0x312e51(0x196)][_0x312e51(0x193)](_0xe2c861[_0x312e51(0x14d)],'r');return _0x322183&&!_0x212d6e?_0x312e51(0x16b):_0x212d6e&&!_0x322183?_0x312e51(0x18d):_0x312e51(0x15b);}function _0x3395ef(_0x5ac2a6){const _0x5b01e9=_0x521854;return Object['prototype']['hasOwnProperty'][_0x5b01e9(0x193)](_0x5ac2a6[_0x5b01e9(0x14d)],'i')&&Object[_0x5b01e9(0x198)][_0x5b01e9(0x196)][_0x5b01e9(0x193)](_0x5ac2a6[_0x5b01e9(0x14d)],'r')&&_0x5b5258(_0x5ac2a6[_0x5b01e9(0x14d)]['i'],_0x5ac2a6[_0x5b01e9(0x14d)]['r']);}function _0x5b5258(_0x249bf2,_0x51ec6c){const _0x5d7aa3=_0x521854;if(_0x249bf2===_0x51ec6c)return!0x0;if(Array[_0x5d7aa3(0x11d)](_0x249bf2)||Array[_0x5d7aa3(0x11d)](_0x51ec6c))return Array[_0x5d7aa3(0x11d)](_0x249bf2)&&Array[_0x5d7aa3(0x11d)](_0x51ec6c)&&_0x249bf2[_0x5d7aa3(0x17e)]===_0x51ec6c[_0x5d7aa3(0x17e)]&&_0x249bf2[_0x5d7aa3(0x189)]((_0x33aaaf,_0x2ba640)=>_0x5b5258(_0x33aaaf,_0x51ec6c[_0x2ba640]));if(!_0x4be1fc(_0x249bf2)||!_0x4be1fc(_0x51ec6c))return!0x1;let _0x10b69b=Object[_0x5d7aa3(0x141)](_0x249bf2),_0x1cea8e=Object[_0x5d7aa3(0x141)](_0x51ec6c);return _0x10b69b['length']===_0x1cea8e[_0x5d7aa3(0x17e)]&&_0x10b69b['every'](_0x390da3=>Object['prototype']['hasOwnProperty'][_0x5d7aa3(0x193)](_0x51ec6c,_0x390da3)&&_0x5b5258(_0x249bf2[_0x390da3],_0x51ec6c[_0x390da3]));}function _0x284263(_0x8d045d,_0x9c9b81){const _0x519f16=_0x521854;return _0x9c9b81[_0x519f16(0x172)]?_0x9c9b81[_0x519f16(0x145)]&&_0x9c9b81[_0x519f16(0x12e)]?_0x40ffa9(_0x8d045d,[_0x519f16(0x1a6),_0x9c9b81['tableId'],_0x519f16(0x13b),_0x9c9b81[_0x519f16(0x145)],'values',_0x9c9b81[_0x519f16(0x12e)]]):_0x9c9b81[_0x519f16(0x145)]?_0x40ffa9(_0x8d045d,[_0x519f16(0x1a6),_0x9c9b81[_0x519f16(0x172)],'records',_0x9c9b81[_0x519f16(0x145)]]):_0x9c9b81[_0x519f16(0x12e)]?_0x40ffa9(_0x8d045d,[_0x519f16(0x1a6),_0x9c9b81[_0x519f16(0x172)],_0x519f16(0x166),_0x9c9b81[_0x519f16(0x12e)]]):_0x9c9b81[_0x519f16(0x13d)]?_0x40ffa9(_0x8d045d,[_0x519f16(0x1a6),_0x9c9b81['tableId'],_0x519f16(0x150),_0x9c9b81[_0x519f16(0x13d)]]):_0x40ffa9(_0x8d045d,[_0x519f16(0x1a6),_0x9c9b81['tableId']]):!0x1;}function _0x40ffa9(_0x30b32f,_0x2babdf){const _0x31001a=_0x521854;return _0x30b32f[_0x31001a(0x17e)]===_0x2babdf[_0x31001a(0x17e)]&&_0x30b32f['every']((_0x393e1d,_0x2b3040)=>_0x393e1d===_0x2babdf[_0x2b3040]);}function _0x3f3718(_0x3cbc12){const _0x197eea=_0x521854;let _0x2fe499=_0x3cbc12['indexOf'](_0x197eea(0x1a6)),_0x245d88=_0x3cbc12[_0x2fe499+0x1];if(_0x2fe499<0x0||typeof _0x245d88!=_0x197eea(0x165))return null;let _0x4393b8=_0x3cbc12[_0x2fe499+0x2],_0x18d2b9=_0x3cbc12[_0x2fe499+0x3];if(_0x4393b8===_0x197eea(0x13b)&&typeof _0x18d2b9==_0x197eea(0x165)){let _0x1d550d=_0x3cbc12[_0x2fe499+0x4],_0x45c25a=_0x3cbc12[_0x2fe499+0x5];return _0x1d550d===_0x197eea(0x185)&&typeof _0x45c25a==_0x197eea(0x165)?{'label':_0x197eea(0x17f),'tableId':_0x245d88,'recordId':_0x18d2b9,'fieldId':_0x45c25a}:_0x1d550d===_0x197eea(0x14a)||_0x1d550d===_0x197eea(0x158)?null:{'label':'base:record','tableId':_0x245d88,'recordId':_0x18d2b9};}return _0x4393b8==='fields'&&typeof _0x18d2b9==_0x197eea(0x165)?{'label':_0x197eea(0x175),'tableId':_0x245d88,'fieldId':_0x18d2b9}:_0x4393b8===_0x197eea(0x150)&&typeof _0x18d2b9==_0x197eea(0x165)?{'label':_0x197eea(0x19a),'tableId':_0x245d88,'viewId':_0x18d2b9}:_0x5978c1[_0x197eea(0x178)](_0x312c35=>_0x312c35===_0x4393b8)?null:{'label':_0x4393b8===void 0x0?'base:table':'base:unknown','tableId':_0x245d88};}function _0x2a939a(_0x36ef04,_0x503200){const _0x503344=_0x521854;let _0x4d32b6=new Map();return _0x36ef04[_0x503344(0x17a)](_0x3270de=>{const _0x46c603=_0x503344;let _0x34a843=_0x3270de[_0x46c603(0x197)][_0x46c603(0x152)](_0x503200),_0x30d394=_0x3270de[_0x46c603(0x197)][_0x34a843+0x1],_0x55f305=_0x3270de[_0x46c603(0x14d)]['r'];if(_0x34a843>=0x0&&typeof _0x30d394==_0x46c603(0x19c)&&typeof _0x55f305==_0x46c603(0x165)){_0x4d32b6[_0x46c603(0x17b)](_0x55f305,_0x30d394);return;}if(_0x34a843!==_0x3270de[_0x46c603(0x197)][_0x46c603(0x17e)]-0x1||!Array['isArray'](_0x55f305))return;let _0x23f182=new Set(Array[_0x46c603(0x11d)](_0x3270de[_0x46c603(0x14d)]['i'])?_0x3270de['value']['i'][_0x46c603(0x12c)](_0x3a2c8c=>typeof _0x3a2c8c==_0x46c603(0x165)):[]);_0x55f305[_0x46c603(0x17a)]((_0xeb2ad2,_0x383398)=>{typeof _0xeb2ad2=='string'&&!_0x23f182['has'](_0xeb2ad2)&&_0x4d32b6['set'](_0xeb2ad2,_0x383398);});}),_0x4d32b6;}function _0x45425e(_0x5fb3f1,_0x261965){const _0x317d71=_0x521854;if(_0x261965['recordId']&&!_0x261965['fieldId']&&_0x284263(_0x5fb3f1[_0x317d71(0x197)],_0x261965))return _0x324329(_0x5fb3f1[_0x317d71(0x14d)]['r'])?_0x5fb3f1['value']['r']:void 0x0;}function _0x324329(_0x52a5bf){const _0x3c7da0=_0x521854;return _0x4be1fc(_0x52a5bf)&&typeof _0x52a5bf['id']=='string'&&_0x4be1fc(_0x52a5bf[_0x3c7da0(0x185)])&&typeof _0x52a5bf['orderKey']==_0x3c7da0(0x165)&&typeof _0x52a5bf['createdAt']==_0x3c7da0(0x19c)&&typeof _0x52a5bf[_0x3c7da0(0x14a)]==_0x3c7da0(0x19c);}function _0x2b6ba5(_0x2030db){let _0x49af81=[];return _0x5e4331(_0x2030db,[],_0x49af81),_0x49af81;}function _0x5e4331(_0x357680,_0x35cec1,_0x3849bb){const _0x10684e=_0x521854;if(!Array[_0x10684e(0x11d)](_0x357680))return;let _0x723056=[];_0x357680['forEach'](_0x1bbbc2=>{const _0x42272f=_0x10684e;if(Array['isArray'](_0x1bbbc2)){_0x5e4331(_0x1bbbc2,[..._0x35cec1,..._0x723056],_0x3849bb);return;}if(_0x22d6ee(_0x1bbbc2)){_0x3849bb['push']({'path':[..._0x35cec1,..._0x723056],'value':_0x1bbbc2});return;}(typeof _0x1bbbc2=='string'||typeof _0x1bbbc2=='number')&&_0x723056[_0x42272f(0x162)](_0x1bbbc2);});}function _0x22d6ee(_0x196772){const _0x3382f1=_0x521854;return _0x4be1fc(_0x196772)&&['i','r','p','d','es',_0x3382f1(0x15c),'et'][_0x3382f1(0x178)](_0x47fb39=>Object[_0x3382f1(0x198)][_0x3382f1(0x196)][_0x3382f1(0x193)](_0x196772,_0x47fb39));}function _0x54fd07(_0x21bfb6){const _0x122ddc=_0x521854;return typeof _0x21bfb6==_0x122ddc(0x121)&&!!_0x21bfb6&&'op'in _0x21bfb6&&Array[_0x122ddc(0x11d)](_0x21bfb6['op']);}function _0x4be1fc(_0x339984){return typeof _0x339984=='object'&&!!_0x339984;}function _0x1052a9(_0x6cc9a8,_0x227b1b){return function(_0x1964b2,_0xed80a8){_0x227b1b(_0x1964b2,_0xed80a8,_0x6cc9a8);};}function _0x1e085e(_0x110cf9,_0x2b9530,_0xa1172d,_0x28c8c8){const _0x4a1dd2=_0x521854;var _0x4e540f=arguments['length'],_0x25e39d=_0x4e540f<0x3?_0x2b9530:_0x28c8c8===null?_0x28c8c8=Object[_0x4a1dd2(0x12a)](_0x2b9530,_0xa1172d):_0x28c8c8,_0xa1a08c;if(typeof Reflect=='object'&&typeof Reflect[_0x4a1dd2(0x192)]=='function')_0x25e39d=Reflect[_0x4a1dd2(0x192)](_0x110cf9,_0x2b9530,_0xa1172d,_0x28c8c8);else{for(var _0x25d5f9=_0x110cf9[_0x4a1dd2(0x17e)]-0x1;_0x25d5f9>=0x0;_0x25d5f9--)(_0xa1a08c=_0x110cf9[_0x25d5f9])&&(_0x25e39d=(_0x4e540f<0x3?_0xa1a08c(_0x25e39d):_0x4e540f>0x3?_0xa1a08c(_0x2b9530,_0xa1172d,_0x25e39d):_0xa1a08c(_0x2b9530,_0xa1172d))||_0x25e39d);}return _0x4e540f>0x3&&_0x25e39d&&Object[_0x4a1dd2(0x19e)](_0x2b9530,_0xa1172d,_0x25e39d),_0x25e39d;}let _0x57c39a=class{constructor(_0x4cfcc2){const _0x5b2bf1=_0x521854;this[_0x5b2bf1(0x1a2)]=_0x4cfcc2;}async[_0x521854(0x1a3)](_0x2a03e6,_0x4cdef1){const _0xdae2dc=_0x521854;return _0x23bab1(await this[_0xdae2dc(0x1a2)]['load'](_0x2a03e6,_0x4cdef1));}};_0x57c39a=_0x1e085e([_0x1052a9(0x0,(0x0,_0x14a153['Inject'])(_0x331c94['HistoryMutationService']))],_0x57c39a);function _0x636b60(_0x4a12b3){'@babel/helpers - typeof';const _0x1abf95=_0x521854;return _0x636b60=typeof Symbol==_0x1abf95(0x188)&&typeof Symbol['iterator']==_0x1abf95(0x1a0)?function(_0x2dd389){return typeof _0x2dd389;}:function(_0x5ac759){const _0x5c20fb=_0x1abf95;return _0x5ac759&&typeof Symbol==_0x5c20fb(0x188)&&_0x5ac759[_0x5c20fb(0x127)]===Symbol&&_0x5ac759!==Symbol[_0x5c20fb(0x198)]?'symbol':typeof _0x5ac759;},_0x636b60(_0x4a12b3);}function _0x358e51(_0x13c4e2,_0x30089c){const _0x41ca9f=_0x521854;if(_0x636b60(_0x13c4e2)!=_0x41ca9f(0x121)||!_0x13c4e2)return _0x13c4e2;var _0x176c00=_0x13c4e2[Symbol[_0x41ca9f(0x14c)]];if(_0x176c00!==void 0x0){var _0x3e57f0=_0x176c00[_0x41ca9f(0x193)](_0x13c4e2,_0x30089c||'default');if(_0x636b60(_0x3e57f0)!=_0x41ca9f(0x121))return _0x3e57f0;throw TypeError(_0x41ca9f(0x11e));}return(_0x30089c==='string'?String:Number)(_0x13c4e2);}function _0x30880b(_0x341cfa){const _0x5191ab=_0x521854;var _0x39a2a4=_0x358e51(_0x341cfa,_0x5191ab(0x165));return _0x636b60(_0x39a2a4)=='symbol'?_0x39a2a4:_0x39a2a4+'';}function _0x4d99e3(_0x196278,_0x426a52,_0x12e273){return(_0x426a52=_0x30880b(_0x426a52))in _0x196278?Object['defineProperty'](_0x196278,_0x426a52,{'value':_0x12e273,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x196278[_0x426a52]=_0x12e273,_0x196278;}let _0x851885=['rev',_0x521854(0x19d),_0x521854(0x14a)],_0x2ed1d2=[_0x331c94[_0x521854(0x14f)]['BASE'],_0x331c94['UnitComparisonEntityType']['TABLE'],_0x331c94[_0x521854(0x14f)]['FIELD'],_0x331c94[_0x521854(0x14f)]['RECORD'],_0x331c94[_0x521854(0x14f)][_0x521854(0x128)],_0x331c94[_0x521854(0x14f)][_0x521854(0x16a)]],_0x5c384b=(0x0,_0x331c94[_0x521854(0x146)])('fields',_0x521854(0x169),'records',_0x521854(0x160),_0x521854(0x150),_0x521854(0x179),_0x521854(0x170),_0x521854(0x191),_0x521854(0x16c),_0x521854(0x16d),_0x521854(0x13a),..._0x851885);var _0x5150e6=class{constructor(){const _0x49759b=_0x521854;_0x4d99e3(this,_0x49759b(0x1a8),_0x14a153['UniverInstanceType'][_0x49759b(0x132)]);}[_0x521854(0x1a3)](_0x2add7c){const _0x5a0425=_0x521854;let _0x5e4b0a=(0x0,_0x331c94[_0x5a0425(0x1a7)])(_0x2add7c['leftData']),_0x15b4e8=(0x0,_0x331c94[_0x5a0425(0x1a7)])(_0x2add7c[_0x5a0425(0x157)]),_0x32b6ea=(0x0,_0x331c94[_0x5a0425(0x1a7)])(_0x5e4b0a==null?void 0x0:_0x5e4b0a[_0x5a0425(0x1a6)]),_0x1b0790=(0x0,_0x331c94[_0x5a0425(0x1a7)])(_0x15b4e8==null?void 0x0:_0x15b4e8[_0x5a0425(0x1a6)]),_0x570cb8=new Set([...Object[_0x5a0425(0x141)](_0x32b6ea??{}),...Object['keys'](_0x1b0790??{})]),_0x2be8a7=(0x0,_0x331c94['recordComparisonEntries'])(_0x32b6ea,_0x5e4b0a==null?void 0x0:_0x5e4b0a['tableOrder'],_0x5c384b),_0x4cf296=(0x0,_0x331c94[_0x5a0425(0x124)])(_0x1b0790,_0x15b4e8==null?void 0x0:_0x15b4e8[_0x5a0425(0x168)],_0x5c384b),_0x4d6356=[...(0x0,_0x331c94['buildSemanticComparisonItems'])({'entityType':_0x331c94[_0x5a0425(0x14f)]['BASE'],'left':_0x5e4b0a===void 0x0?[]:[{'stableId':'base','position':0x0,'value':(0x0,_0x331c94[_0x5a0425(0x146)])(_0x5a0425(0x1a6),_0x5a0425(0x168),'resources',..._0x851885)(_0x5e4b0a)}],'right':_0x15b4e8===void 0x0?[]:[{'stableId':_0x5a0425(0x17c),'position':0x0,'value':(0x0,_0x331c94[_0x5a0425(0x146)])(_0x5a0425(0x1a6),_0x5a0425(0x168),_0x5a0425(0x15f),..._0x851885)(_0x15b4e8)}]}),...(0x0,_0x331c94['buildSemanticComparisonItems'])({'entityType':_0x331c94[_0x5a0425(0x14f)]['TABLE'],'left':_0x2be8a7,'right':_0x4cf296}),...[..._0x570cb8][_0x5a0425(0x143)](_0x14874d=>_0x192ef5(_0x14874d,_0x32b6ea,_0x1b0790))],_0x3b8213=(0x0,_0x331c94['buildScopedUnitComparison'])({'entityType':_0x331c94[_0x5a0425(0x14f)][_0x5a0425(0x1aa)],'items':_0x4d6356,'left':_0x2be8a7,'right':_0x4cf296});return{'items':_0x3b8213[_0x5a0425(0x133)],'supportedEntityTypes':_0x2ed1d2,'scopes':_0x3b8213[_0x5a0425(0x149)],'productContext':{'type':_0x14a153[_0x5a0425(0x131)][_0x5a0425(0x132)],'visualProjection':_0x5a0425(0x140)}};}};function _0x192ef5(_0x4c5d99,_0x1e1d5f,_0x5a89af){const _0x4e7435=_0x521854;let _0x14eb84=(0x0,_0x331c94[_0x4e7435(0x1a7)])(_0x1e1d5f==null?void 0x0:_0x1e1d5f[_0x4c5d99])??{},_0x11c8bb=(0x0,_0x331c94['asRecord'])(_0x5a89af==null?void 0x0:_0x5a89af[_0x4c5d99])??{},_0x50c76f=(0x0,_0x331c94[_0x4e7435(0x1a7)])(_0x14eb84[_0x4e7435(0x166)]),_0x57079a=(0x0,_0x331c94[_0x4e7435(0x1a7)])(_0x11c8bb[_0x4e7435(0x166)]),_0x996a20=(0x0,_0x331c94[_0x4e7435(0x1a7)])(_0x14eb84[_0x4e7435(0x13b)]),_0x2295ad=(0x0,_0x331c94[_0x4e7435(0x1a7)])(_0x11c8bb[_0x4e7435(0x13b)]);return[..._0x2f4d37(_0x331c94['UnitComparisonEntityType'][_0x4e7435(0x11f)],_0x4c5d99,_0x50c76f,_0x57079a,_0x14eb84['fieldOrder'],_0x11c8bb[_0x4e7435(0x169)],(0x0,_0x331c94[_0x4e7435(0x146)])(..._0x851885)),..._0x2f4d37(_0x331c94['UnitComparisonEntityType'][_0x4e7435(0x151)],_0x4c5d99,_0x996a20,_0x2295ad,_0x14eb84['recordOrder'],_0x11c8bb[_0x4e7435(0x160)],(0x0,_0x331c94[_0x4e7435(0x146)])(_0x4e7435(0x185),_0x4e7435(0x176),..._0x851885)),..._0x2f4d37(_0x331c94[_0x4e7435(0x14f)][_0x4e7435(0x128)],_0x4c5d99,_0x14eb84['views'],_0x11c8bb[_0x4e7435(0x150)],_0x14eb84['viewOrder'],_0x11c8bb['viewOrder'],(0x0,_0x331c94[_0x4e7435(0x146)])(_0x4e7435(0x176),..._0x851885)),..._0x1b7f84(_0x4c5d99,_0x50c76f,_0x57079a,_0x996a20,_0x2295ad,_0x14eb84[_0x4e7435(0x169)],_0x11c8bb[_0x4e7435(0x169)],_0x14eb84[_0x4e7435(0x160)],_0x11c8bb[_0x4e7435(0x160)],_0x14eb84[_0x4e7435(0x18b)],_0x11c8bb[_0x4e7435(0x18b)])];}function _0x2f4d37(_0x46f394,_0x3407f5,_0x296710,_0x280096,_0x2caa45,_0xe4d1fb,_0x48d400){const _0x1f5cb0=_0x521854;return(0x0,_0x331c94['buildSemanticComparisonItems'])({'entityType':_0x46f394,'parentStableId':_0x3407f5,'left':(0x0,_0x331c94['recordComparisonEntries'])(_0x296710,_0x2caa45,_0x48d400),'right':(0x0,_0x331c94[_0x1f5cb0(0x124)])(_0x280096,_0xe4d1fb,_0x48d400)});}function _0x1b7f84(_0x579298,_0x35cae9,_0x489905,_0x1e6ff0,_0x8f3f5b,_0x2f3608,_0x19b494,_0x546b12,_0x47643a,_0x4acbb0,_0xa14a6){const _0x3fa56d=_0x521854;let _0x277d74=_0x1737c0(_0x35cae9,_0x1e6ff0,_0x2f3608,_0x546b12,_0x4acbb0),_0x1d8569=_0x1737c0(_0x489905,_0x8f3f5b,_0x19b494,_0x47643a,_0xa14a6),_0x2a8d3b=new Map(_0x277d74['map'](_0x25e1c5=>[_0x25e1c5[_0x3fa56d(0x13e)],_0x25e1c5])),_0x501b2f=new Map(_0x1d8569[_0x3fa56d(0x167)](_0x343fc1=>[_0x343fc1['stableId'],_0x343fc1]));return(0x0,_0x331c94[_0x3fa56d(0x194)])({'entityType':_0x331c94[_0x3fa56d(0x14f)][_0x3fa56d(0x16a)],'parentStableId':_0x579298,'left':_0x277d74,'right':_0x1d8569})[_0x3fa56d(0x167)](_0x1bd039=>({..._0x1bd039,'locations':{'left':_0x54293f(_0x1bd039['locations'][_0x3fa56d(0x154)],_0x2a8d3b[_0x3fa56d(0x137)](_0x1bd039[_0x3fa56d(0x13e)]),_0x579298),'right':_0x54293f(_0x1bd039[_0x3fa56d(0x186)][_0x3fa56d(0x1a1)],_0x501b2f[_0x3fa56d(0x137)](_0x1bd039['stableId']),_0x579298)}}));}function _0x54293f(_0x9601a3,_0x17e720,_0x5090f3){const _0x3a62cc=_0x521854;if(_0x9601a3===null||_0x17e720===void 0x0)return null;let _0x2afce2=_0x9601a3['target'];return(_0x2afce2==null?void 0x0:_0x2afce2[_0x3a62cc(0x1a5)])===_0x3a62cc(0x159)?{..._0x9601a3,'parentStableId':_0x17e720['recordId'],'target':{..._0x2afce2,'kind':_0x3a62cc(0x18a),'tableId':_0x5090f3,'recordId':_0x17e720[_0x3a62cc(0x145)],'fieldId':_0x17e720[_0x3a62cc(0x12e)]}}:_0x9601a3;}function _0x1737c0(_0x32b735,_0x6f99a2,_0x5d2d0b,_0xd27d7,_0x29d415){const _0x2ebd2a=_0x521854;let _0x1c4a00=_0x8e018(_0x32b735,_0x5d2d0b);return _0x8e018(_0x6f99a2,_0xd27d7)[_0x2ebd2a(0x143)]((_0x41ec16,_0x101cfb)=>{const _0x339ad7=_0x2ebd2a;var _0x60ff77;let _0x4021c6=(0x0,_0x331c94[_0x339ad7(0x1a7)])((_0x60ff77=(0x0,_0x331c94['asRecord'])(_0x6f99a2==null?void 0x0:_0x6f99a2[_0x41ec16]))==null?void 0x0:_0x60ff77['values']);if(_0x4021c6===void 0x0)return[];let _0xc384b6=typeof _0x29d415=='string'?_0x4021c6[_0x29d415]:void 0x0,_0x2f5e56=typeof _0xc384b6==_0x339ad7(0x165)||typeof _0xc384b6==_0x339ad7(0x19c)?String(_0xc384b6):void 0x0;return _0x1c4a00[_0x339ad7(0x143)]((_0x28fa60,_0x402623)=>{const _0x32501e=_0x339ad7;var _0x3c7c3e;return _0x28fa60 in _0x4021c6?[{'stableId':_0x41ec16+':'+_0x28fa60,'recordId':_0x41ec16,'fieldId':_0x28fa60,'position':_0x101cfb*Math[_0x32501e(0x12f)](0x1,_0x1c4a00[_0x32501e(0x17e)])+_0x402623,'displayName':[_0x2f5e56,(_0x3c7c3e=(0x0,_0x331c94['asRecord'])(_0x32b735==null?void 0x0:_0x32b735[_0x28fa60]))==null?void 0x0:_0x3c7c3e[_0x32501e(0x147)]][_0x32501e(0x12c)](_0x57dfde=>typeof _0x57dfde==_0x32501e(0x165)&&_0x57dfde[_0x32501e(0x17e)]>0x0)[_0x32501e(0x1a9)]('\x20·\x20'),'value':_0x4021c6[_0x28fa60]}]:[];});});}function _0x8e018(_0x5d82a0,_0x4e1be0){const _0x496d98=_0x521854;let _0x386b4e=_0x5d82a0??{},_0x4d5a93=Array[_0x496d98(0x11d)](_0x4e1be0)?_0x4e1be0[_0x496d98(0x12c)](_0x3a34aa=>typeof _0x3a34aa==_0x496d98(0x165)&&_0x3a34aa in _0x386b4e):[],_0x54b9f9=new Set(_0x4d5a93);return[..._0x4d5a93,...Object[_0x496d98(0x141)](_0x386b4e)[_0x496d98(0x12c)](_0x3e1acb=>!_0x54b9f9[_0x496d98(0x156)](_0x3e1acb))];}let _0x5c315b=class extends _0x14a153[_0x521854(0x13f)]{constructor(_0x5d573e=_0x581fa5,_0xa1cbd3,_0x2f6df8){const _0x4605c6=_0x521854;super(),this['_config']=_0x5d573e,this[_0x4605c6(0x15d)]=_0xa1cbd3,this[_0x4605c6(0x15e)]=_0x2f6df8;let {..._0x18607f}=(0x0,_0x14a153[_0x4605c6(0x19f)])({},_0x581fa5,this[_0x4605c6(0x184)]);this[_0x4605c6(0x15e)]['setConfig'](_0x4605c6(0x180),_0x18607f);}[_0x521854(0x14e)](){const _0x15e1ee=_0x521854;(0x0,_0x14a153[_0x15e1ee(0x142)])(this[_0x15e1ee(0x15d)],[[_0x57c39a],[_0x5150e6]]),this[_0x15e1ee(0x161)](this[_0x15e1ee(0x15d)][_0x15e1ee(0x137)](_0x331c94['UnitComparisonAdapterRegistryService'])[_0x15e1ee(0x18c)](this['_injector'][_0x15e1ee(0x137)](_0x5150e6)));}};_0x4d99e3(_0x5c315b,'pluginName','UNIVER_BASES_HISTORY_PLUGIN'),_0x4d99e3(_0x5c315b,_0x521854(0x177),_0x238779),_0x4d99e3(_0x5c315b,'version',_0x59c1b6),_0x4d99e3(_0x5c315b,'type',_0x14a153[_0x521854(0x131)][_0x521854(0x132)]),_0x5c315b=_0x1e085e([(0x0,_0x14a153[_0x521854(0x120)])(_0x336ab2[_0x521854(0x173)],_0x331c94[_0x521854(0x125)],_0x243f58[_0x521854(0x136)]),_0x1052a9(0x1,(0x0,_0x14a153[_0x521854(0x144)])(_0x14a153[_0x521854(0x148)])),_0x1052a9(0x2,_0x14a153[_0x521854(0x13c)])],_0x5c315b),Object['defineProperty'](_0x38eb07,_0x521854(0x12d),{'enumerable':!0x0,'get':function(){return _0x57c39a;}}),_0x38eb07[_0x521854(0x16f)]=_0x5150e6,Object[_0x521854(0x19e)](_0x38eb07,_0x521854(0x17d),{'enumerable':!0x0,'get':function(){return _0x5c315b;}});}));function _0x382c(_0x51661f,_0x35b55b){_0x51661f=_0x51661f-0x11d;const _0x3dae98=_0x3dae();let _0x382c39=_0x3dae98[_0x51661f];return _0x382c39;}function _0x3dae(){const _0x5d81d8=['onStarting','UnitComparisonEntityType','views','RECORD','indexOf','sort','left','@univerjs-pro/license','has','rightData','updatedBy','entity','revision','update','ena','_injector','_configService','resources','recordOrder','disposeWithMe','push','UniverProBasesHistory','2812636sBTAvq','string','fields','map','tableOrder','fieldOrder','CELL','insert','colIndex','rowId','params','BasesUnitComparisonAdapter','cellData','@univerjs-pro/bases','tableId','UniverLicensePlugin','mutation','base:field','orderKey','packageName','some','viewOrder','forEach','set','base','UniverBasesHistoryPlugin','length','base:cell','bases-history.config','2174570oZmHPH','UniverProEditHistory','2575794jMhkpz','_config','values','locations','JSON1','function','every','base-cell','primaryFieldId','register','delete','entry','label','UniverProLicense','colId','decorate','call','buildSemanticComparisonItems','@univerjs-pro/bases-history','hasOwnProperty','path','prototype','5691184dXTcgX','base:view','@univerjs/core','number','createdAt','defineProperty','merge','symbol','right','_mutationService','compare','20172303DFXBVe','kind','tables','asRecord','type','join','TABLE','isArray','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','FIELD','DependentOn','object','@univerjs-pro/edit-history','toStringTag','recordComparisonEntries','UniverEditHistoryPlugin','14PWBXfc','constructor','VIEW','1.0.0','getOwnPropertyDescriptor','2444508CuSKKM','filter','BasesHistoryDiffService','fieldId','max','amd','UniverInstanceType','UNIVER_BASE','items','1362lTlpmI','UniverProBases','UniverBasesPlugin','get','index','163GnTfzt','rowIndex','records','IConfigService','viewId','stableId','Plugin','raw-table-data','keys','registerDependencies','flatMap','Inject','recordId','withoutComparisonKeys','name','Injector','scopes','updatedAt','compose','toPrimitive','value'];_0x3dae=function(){return _0x5d81d8;};return _0x3dae();}
|
|
1
|
+
function _0x5e48(_0x37b295,_0xe2588c){_0x37b295=_0x37b295-0x1a6;const _0x2a7cbb=_0x2a7c();let _0x5e48d7=_0x2a7cbb[_0x37b295];return _0x5e48d7;}(function(_0x521f0a,_0x3296df){const _0x11601e=_0x5e48,_0x17959b=_0x521f0a();while(!![]){try{const _0x12eb58=-parseInt(_0x11601e(0x209))/0x1*(parseInt(_0x11601e(0x1bb))/0x2)+parseInt(_0x11601e(0x1ad))/0x3*(-parseInt(_0x11601e(0x1c0))/0x4)+parseInt(_0x11601e(0x22e))/0x5+parseInt(_0x11601e(0x228))/0x6+parseInt(_0x11601e(0x1c3))/0x7*(parseInt(_0x11601e(0x206))/0x8)+-parseInt(_0x11601e(0x1c1))/0x9+parseInt(_0x11601e(0x1f0))/0xa;if(_0x12eb58===_0x3296df)break;else _0x17959b['push'](_0x17959b['shift']());}catch(_0x31d42f){_0x17959b['push'](_0x17959b['shift']());}}}(_0x2a7c,0x29e90),function(_0x14e13d,_0x1164e5){const _0x4f524=_0x5e48;typeof exports=='object'&&typeof module<'u'?_0x1164e5(exports,require('@univerjs-pro/bases'),require('@univerjs-pro/edit-history'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define=='function'&&define['amd']?define([_0x4f524(0x21b),_0x4f524(0x233),_0x4f524(0x22a),_0x4f524(0x223),_0x4f524(0x1fe)],_0x1164e5):(_0x14e13d=typeof globalThis<'u'?globalThis:_0x14e13d||self,_0x1164e5(_0x14e13d[_0x4f524(0x215)]={},_0x14e13d[_0x4f524(0x20c)],_0x14e13d['UniverProEditHistory'],_0x14e13d[_0x4f524(0x1ec)],_0x14e13d[_0x4f524(0x1bf)]));}(this,function(_0x569ee6,_0x40a1f6,_0x309982,_0x4fe02d,_0x4a5871){const _0x3675fc=_0x5e48;Object[_0x3675fc(0x1d0)](_0x569ee6,Symbol[_0x3675fc(0x1b4)],{'value':_0x3675fc(0x203)});var _0x4c9fdd='@univerjs-pro/bases-history',_0x39ee7f=_0x3675fc(0x21d);let _0x265f5d={},_0x25c37f=['recordOrder','fieldOrder',_0x3675fc(0x231),'rowIndex','rowId','colIndex','colId',_0x3675fc(0x1bc)];function _0x5242bf(_0x1068fd){const _0x407572=_0x3675fc;let _0x4abc6a=null,_0x3779d2=null,_0x46da3e=_0x1068fd['map']((_0x2f4be2,_0x29ccb9)=>({'entry':_0x2f4be2,'index':_0x29ccb9}))[_0x407572(0x216)]((_0x379fd5,_0x2a6cbf)=>_0x379fd5['entry'][_0x407572(0x236)]-_0x2a6cbf[_0x407572(0x225)][_0x407572(0x236)]||_0x379fd5[_0x407572(0x1cd)]-_0x2a6cbf[_0x407572(0x1cd)]);for(let {entry:_0x294c4c}of _0x46da3e)_0x198b4f(_0x294c4c['mutation']['params'])&&(_0x4abc6a=_0x4abc6a===null?_0x294c4c[_0x407572(0x218)][_0x407572(0x201)]['op']:_0x4a5871[_0x407572(0x1e3)][_0x407572(0x224)][_0x407572(0x20e)](_0x4abc6a,_0x294c4c[_0x407572(0x218)]['params']['op']),_0x3779d2=_0x294c4c);if(_0x4abc6a===null||_0x3779d2===null)return[];let _0x3007bc=_0x2bd264(_0x4abc6a)['filter'](_0x29c855=>!_0x416c2c(_0x29c855)),_0xb4f9aa=_0x1d13fa(_0x3007bc,_0x407572(0x212)),_0x333e86=_0x1d13fa(_0x3007bc,_0x407572(0x219));return _0x3007bc['flatMap']((_0x4a8536,_0x2a60c0)=>{const _0x2901a8=_0x407572;let _0x363a4d=_0x528ade(_0x4a8536[_0x2901a8(0x1b0)]);if(!_0x363a4d)return[];let _0x140ae1=_0x1760f7(_0x4a8536,_0x363a4d);return[{'id':_0x3779d2[_0x2901a8(0x236)]+':'+_0x2a60c0,'kind':_0x140ae1,'label':_0x363a4d['label'],'memberId':_0x3779d2[_0x2901a8(0x1dd)],'tableId':_0x363a4d[_0x2901a8(0x1d8)],'viewId':_0x363a4d[_0x2901a8(0x1ac)],'recordId':_0x363a4d['recordId'],'recordIndex':_0x363a4d[_0x2901a8(0x234)]?_0xb4f9aa['get'](_0x363a4d[_0x2901a8(0x234)]):void 0x0,'removedRecord':_0x140ae1===_0x2901a8(0x1ab)?_0x280a70(_0x4a8536,_0x363a4d):void 0x0,'fieldId':_0x363a4d[_0x2901a8(0x1e8)],'fieldIndex':_0x363a4d['fieldId']?_0x333e86[_0x2901a8(0x1c5)](_0x363a4d[_0x2901a8(0x1e8)]):void 0x0}];});}function _0x1760f7(_0x373099,_0x4bd4d5){const _0x4903cc=_0x3675fc;if(!_0x1123ba(_0x373099[_0x4903cc(0x1b0)],_0x4bd4d5))return _0x4903cc(0x1de);let _0x79e1a3=Object[_0x4903cc(0x1db)]['hasOwnProperty'][_0x4903cc(0x20f)](_0x373099[_0x4903cc(0x1b7)],'i'),_0x211a4f=Object[_0x4903cc(0x1db)]['hasOwnProperty'][_0x4903cc(0x20f)](_0x373099['value'],'r');return _0x79e1a3&&!_0x211a4f?_0x4903cc(0x21a):_0x211a4f&&!_0x79e1a3?_0x4903cc(0x1ab):'update';}function _0x416c2c(_0x873138){const _0x4c3948=_0x3675fc;return Object[_0x4c3948(0x1db)]['hasOwnProperty']['call'](_0x873138['value'],'i')&&Object[_0x4c3948(0x1db)][_0x4c3948(0x1a7)][_0x4c3948(0x20f)](_0x873138[_0x4c3948(0x1b7)],'r')&&_0x4c8768(_0x873138[_0x4c3948(0x1b7)]['i'],_0x873138[_0x4c3948(0x1b7)]['r']);}function _0x4c8768(_0x41b8bd,_0x5bb793){const _0x3cfd82=_0x3675fc;if(_0x41b8bd===_0x5bb793)return!0x0;if(Array[_0x3cfd82(0x230)](_0x41b8bd)||Array[_0x3cfd82(0x230)](_0x5bb793))return Array[_0x3cfd82(0x230)](_0x41b8bd)&&Array[_0x3cfd82(0x230)](_0x5bb793)&&_0x41b8bd[_0x3cfd82(0x1d2)]===_0x5bb793[_0x3cfd82(0x1d2)]&&_0x41b8bd[_0x3cfd82(0x1d5)]((_0x399a0f,_0x211e7e)=>_0x4c8768(_0x399a0f,_0x5bb793[_0x211e7e]));if(!_0x4c3571(_0x41b8bd)||!_0x4c3571(_0x5bb793))return!0x1;let _0x33a463=Object['keys'](_0x41b8bd),_0x5de983=Object[_0x3cfd82(0x1b2)](_0x5bb793);return _0x33a463[_0x3cfd82(0x1d2)]===_0x5de983[_0x3cfd82(0x1d2)]&&_0x33a463[_0x3cfd82(0x1d5)](_0x5e5c7e=>Object[_0x3cfd82(0x1db)][_0x3cfd82(0x1a7)][_0x3cfd82(0x20f)](_0x5bb793,_0x5e5c7e)&&_0x4c8768(_0x41b8bd[_0x5e5c7e],_0x5bb793[_0x5e5c7e]));}function _0x1123ba(_0x2483ad,_0x1bee7e){const _0x472d99=_0x3675fc;return _0x1bee7e[_0x472d99(0x1d8)]?_0x1bee7e[_0x472d99(0x234)]&&_0x1bee7e[_0x472d99(0x1e8)]?_0x110709(_0x2483ad,['tables',_0x1bee7e[_0x472d99(0x1d8)],_0x472d99(0x238),_0x1bee7e[_0x472d99(0x234)],'values',_0x1bee7e['fieldId']]):_0x1bee7e[_0x472d99(0x234)]?_0x110709(_0x2483ad,[_0x472d99(0x1c9),_0x1bee7e[_0x472d99(0x1d8)],_0x472d99(0x238),_0x1bee7e[_0x472d99(0x234)]]):_0x1bee7e['fieldId']?_0x110709(_0x2483ad,['tables',_0x1bee7e[_0x472d99(0x1d8)],_0x472d99(0x20d),_0x1bee7e[_0x472d99(0x1e8)]]):_0x1bee7e[_0x472d99(0x1ac)]?_0x110709(_0x2483ad,['tables',_0x1bee7e[_0x472d99(0x1d8)],_0x472d99(0x1f7),_0x1bee7e[_0x472d99(0x1ac)]]):_0x110709(_0x2483ad,[_0x472d99(0x1c9),_0x1bee7e[_0x472d99(0x1d8)]]):!0x1;}function _0x110709(_0xffebeb,_0x186170){const _0x1d87d5=_0x3675fc;return _0xffebeb[_0x1d87d5(0x1d2)]===_0x186170[_0x1d87d5(0x1d2)]&&_0xffebeb[_0x1d87d5(0x1d5)]((_0x53b9f4,_0x23c258)=>_0x53b9f4===_0x186170[_0x23c258]);}function _0x528ade(_0x441901){const _0x154c74=_0x3675fc;let _0x3bb01f=_0x441901[_0x154c74(0x1fa)](_0x154c74(0x1c9)),_0x3e32cf=_0x441901[_0x3bb01f+0x1];if(_0x3bb01f<0x0||typeof _0x3e32cf!=_0x154c74(0x21f))return null;let _0x565040=_0x441901[_0x3bb01f+0x2],_0x4856bc=_0x441901[_0x3bb01f+0x3];if(_0x565040===_0x154c74(0x238)&&typeof _0x4856bc=='string'){let _0x49ef7b=_0x441901[_0x3bb01f+0x4],_0x581b0e=_0x441901[_0x3bb01f+0x5];return _0x49ef7b===_0x154c74(0x204)&&typeof _0x581b0e==_0x154c74(0x21f)?{'label':_0x154c74(0x1d6),'tableId':_0x3e32cf,'recordId':_0x4856bc,'fieldId':_0x581b0e}:_0x49ef7b===_0x154c74(0x22c)||_0x49ef7b===_0x154c74(0x21c)?null:{'label':_0x154c74(0x1b1),'tableId':_0x3e32cf,'recordId':_0x4856bc};}return _0x565040===_0x154c74(0x20d)&&typeof _0x4856bc==_0x154c74(0x21f)?{'label':_0x154c74(0x1fc),'tableId':_0x3e32cf,'fieldId':_0x4856bc}:_0x565040==='views'&&typeof _0x4856bc=='string'?{'label':_0x154c74(0x232),'tableId':_0x3e32cf,'viewId':_0x4856bc}:_0x25c37f[_0x154c74(0x1cb)](_0x1eef01=>_0x1eef01===_0x565040)?null:{'label':_0x565040===void 0x0?'base:table':_0x154c74(0x1f8),'tableId':_0x3e32cf};}function _0x1d13fa(_0x1cc7b0,_0x34203b){const _0x4d42ef=_0x3675fc;let _0x305789=new Map();return _0x1cc7b0[_0x4d42ef(0x200)](_0x2df6c9=>{const _0x16dbc5=_0x4d42ef;let _0x1a638e=_0x2df6c9['path']['indexOf'](_0x34203b),_0x3ce8fb=_0x2df6c9[_0x16dbc5(0x1b0)][_0x1a638e+0x1],_0x5c3d99=_0x2df6c9[_0x16dbc5(0x1b7)]['r'];if(_0x1a638e>=0x0&&typeof _0x3ce8fb==_0x16dbc5(0x1c4)&&typeof _0x5c3d99==_0x16dbc5(0x21f)){_0x305789[_0x16dbc5(0x1a6)](_0x5c3d99,_0x3ce8fb);return;}if(_0x1a638e!==_0x2df6c9[_0x16dbc5(0x1b0)][_0x16dbc5(0x1d2)]-0x1||!Array[_0x16dbc5(0x230)](_0x5c3d99))return;let _0x28b3ad=new Set(Array[_0x16dbc5(0x230)](_0x2df6c9[_0x16dbc5(0x1b7)]['i'])?_0x2df6c9['value']['i'][_0x16dbc5(0x220)](_0x2ddc6c=>typeof _0x2ddc6c=='string'):[]);_0x5c3d99[_0x16dbc5(0x200)]((_0x4da9a8,_0xa3a263)=>{const _0x2429d7=_0x16dbc5;typeof _0x4da9a8==_0x2429d7(0x21f)&&!_0x28b3ad[_0x2429d7(0x1d4)](_0x4da9a8)&&_0x305789[_0x2429d7(0x1a6)](_0x4da9a8,_0xa3a263);});}),_0x305789;}function _0x280a70(_0x28a9cd,_0x452251){const _0x232c63=_0x3675fc;if(_0x452251[_0x232c63(0x234)]&&!_0x452251[_0x232c63(0x1e8)]&&_0x1123ba(_0x28a9cd['path'],_0x452251))return _0x5061b5(_0x28a9cd[_0x232c63(0x1b7)]['r'])?_0x28a9cd[_0x232c63(0x1b7)]['r']:void 0x0;}function _0x5061b5(_0x15acd3){const _0x2c6fd6=_0x3675fc;return _0x4c3571(_0x15acd3)&&typeof _0x15acd3['id']=='string'&&_0x4c3571(_0x15acd3[_0x2c6fd6(0x204)])&&typeof _0x15acd3[_0x2c6fd6(0x227)]==_0x2c6fd6(0x21f)&&typeof _0x15acd3['createdAt']==_0x2c6fd6(0x1c4)&&typeof _0x15acd3['updatedAt']==_0x2c6fd6(0x1c4);}function _0x2bd264(_0x5534ec){let _0x57c05a=[];return _0x5081ac(_0x5534ec,[],_0x57c05a),_0x57c05a;}function _0x5081ac(_0xaebbab,_0x4f73a9,_0x25392d){const _0xe0c2a3=_0x3675fc;if(!Array[_0xe0c2a3(0x230)](_0xaebbab))return;let _0x4ffb92=[];_0xaebbab[_0xe0c2a3(0x200)](_0x319621=>{const _0x1d1bb3=_0xe0c2a3;if(Array[_0x1d1bb3(0x230)](_0x319621)){_0x5081ac(_0x319621,[..._0x4f73a9,..._0x4ffb92],_0x25392d);return;}if(_0x545ed4(_0x319621)){_0x25392d[_0x1d1bb3(0x1a9)]({'path':[..._0x4f73a9,..._0x4ffb92],'value':_0x319621});return;}(typeof _0x319621==_0x1d1bb3(0x21f)||typeof _0x319621==_0x1d1bb3(0x1c4))&&_0x4ffb92[_0x1d1bb3(0x1a9)](_0x319621);});}function _0x545ed4(_0x315aa4){const _0x59a564=_0x3675fc;return _0x4c3571(_0x315aa4)&&['i','r','p','d','es','ena','et'][_0x59a564(0x1cb)](_0x230679=>Object[_0x59a564(0x1db)][_0x59a564(0x1a7)][_0x59a564(0x20f)](_0x315aa4,_0x230679));}function _0x198b4f(_0x2bdc84){const _0x2f4a89=_0x3675fc;return typeof _0x2bdc84==_0x2f4a89(0x1e5)&&!!_0x2bdc84&&'op'in _0x2bdc84&&Array[_0x2f4a89(0x230)](_0x2bdc84['op']);}function _0x4c3571(_0x1f0aac){const _0x169864=_0x3675fc;return typeof _0x1f0aac==_0x169864(0x1e5)&&!!_0x1f0aac;}function _0x1d129e(_0x52ee1a,_0x33d731){return function(_0x3d3b17,_0x2bad4d){_0x33d731(_0x3d3b17,_0x2bad4d,_0x52ee1a);};}function _0x4d9d0b(_0x20669b,_0x35bcb3,_0x5dcea9,_0x5e1aae){const _0x38f747=_0x3675fc;var _0x49f30d=arguments['length'],_0x1bcd4f=_0x49f30d<0x3?_0x35bcb3:_0x5e1aae===null?_0x5e1aae=Object['getOwnPropertyDescriptor'](_0x35bcb3,_0x5dcea9):_0x5e1aae,_0x14c5f3;if(typeof Reflect==_0x38f747(0x1e5)&&typeof Reflect[_0x38f747(0x1ce)]==_0x38f747(0x1dc))_0x1bcd4f=Reflect['decorate'](_0x20669b,_0x35bcb3,_0x5dcea9,_0x5e1aae);else{for(var _0x571ffa=_0x20669b[_0x38f747(0x1d2)]-0x1;_0x571ffa>=0x0;_0x571ffa--)(_0x14c5f3=_0x20669b[_0x571ffa])&&(_0x1bcd4f=(_0x49f30d<0x3?_0x14c5f3(_0x1bcd4f):_0x49f30d>0x3?_0x14c5f3(_0x35bcb3,_0x5dcea9,_0x1bcd4f):_0x14c5f3(_0x35bcb3,_0x5dcea9))||_0x1bcd4f);}return _0x49f30d>0x3&&_0x1bcd4f&&Object[_0x38f747(0x1d0)](_0x35bcb3,_0x5dcea9,_0x1bcd4f),_0x1bcd4f;}let _0x21f405=class{constructor(_0x61aeb2){const _0x3261e0=_0x3675fc;this[_0x3261e0(0x1be)]=_0x61aeb2;}async[_0x3675fc(0x1eb)](_0x5c2d02,_0x3a92a2){const _0x3993fb=_0x3675fc;return _0x5242bf(await this['_mutationService'][_0x3993fb(0x1af)](_0x5c2d02,_0x3a92a2));}};_0x21f405=_0x4d9d0b([_0x1d129e(0x0,(0x0,_0x4a5871[_0x3675fc(0x229)])(_0x309982['HistoryMutationService']))],_0x21f405);function _0x24a75e(_0x1daa25){'@babel/helpers - typeof';const _0x1a2c44=_0x3675fc;return _0x24a75e=typeof Symbol==_0x1a2c44(0x1dc)&&typeof Symbol[_0x1a2c44(0x213)]==_0x1a2c44(0x217)?function(_0x2edd41){return typeof _0x2edd41;}:function(_0x292072){const _0x4d9c1c=_0x1a2c44;return _0x292072&&typeof Symbol=='function'&&_0x292072[_0x4d9c1c(0x1fb)]===Symbol&&_0x292072!==Symbol[_0x4d9c1c(0x1db)]?'symbol':typeof _0x292072;},_0x24a75e(_0x1daa25);}function _0x59af42(_0x3eec92,_0x2bda03){const _0x10b474=_0x3675fc;if(_0x24a75e(_0x3eec92)!=_0x10b474(0x1e5)||!_0x3eec92)return _0x3eec92;var _0x4ee7c0=_0x3eec92[Symbol[_0x10b474(0x1f1)]];if(_0x4ee7c0!==void 0x0){var _0x1ef523=_0x4ee7c0[_0x10b474(0x20f)](_0x3eec92,_0x2bda03||_0x10b474(0x202));if(_0x24a75e(_0x1ef523)!=_0x10b474(0x1e5))return _0x1ef523;throw TypeError(_0x10b474(0x1da));}return(_0x2bda03===_0x10b474(0x21f)?String:Number)(_0x3eec92);}function _0x4f4e7b(_0x24c422){var _0x4c5cf4=_0x59af42(_0x24c422,'string');return _0x24a75e(_0x4c5cf4)=='symbol'?_0x4c5cf4:_0x4c5cf4+'';}function _0x141e99(_0x4e9404,_0x3097be,_0x476742){const _0x1cb6e7=_0x3675fc;return(_0x3097be=_0x4f4e7b(_0x3097be))in _0x4e9404?Object[_0x1cb6e7(0x1d0)](_0x4e9404,_0x3097be,{'value':_0x476742,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4e9404[_0x3097be]=_0x476742,_0x4e9404;}let _0x5c000d=[_0x3675fc(0x1c6),_0x3675fc(0x1df),_0x3675fc(0x22c)],_0x264ecd=[_0x309982[_0x3675fc(0x22b)][_0x3675fc(0x1ca)],_0x309982[_0x3675fc(0x22b)][_0x3675fc(0x1bd)],_0x309982[_0x3675fc(0x22b)][_0x3675fc(0x1f6)],_0x309982['UnitComparisonEntityType'][_0x3675fc(0x1cf)],_0x309982['UnitComparisonEntityType']['VIEW'],_0x309982[_0x3675fc(0x22b)][_0x3675fc(0x1e1)]],_0x12b72f=(0x0,_0x309982[_0x3675fc(0x1e9)])(_0x3675fc(0x20d),_0x3675fc(0x219),_0x3675fc(0x238),_0x3675fc(0x212),'views',_0x3675fc(0x231),_0x3675fc(0x1bc),_0x3675fc(0x226),'colIndex',_0x3675fc(0x1b8),_0x3675fc(0x235),..._0x5c000d);var _0x4520ef=class{constructor(){const _0x157eb8=_0x3675fc;_0x141e99(this,_0x157eb8(0x224),_0x4a5871['UniverInstanceType'][_0x157eb8(0x1ee)]);}['compare'](_0x9c0670){const _0x1088e9=_0x3675fc;let _0x1fac6e=(0x0,_0x309982[_0x1088e9(0x1b6)])(_0x9c0670[_0x1088e9(0x1d1)]),_0x110d28=(0x0,_0x309982[_0x1088e9(0x1b6)])(_0x9c0670[_0x1088e9(0x208)]),_0x2ffc35=(0x0,_0x309982[_0x1088e9(0x1b6)])(_0x1fac6e==null?void 0x0:_0x1fac6e[_0x1088e9(0x1c9)]),_0x423392=(0x0,_0x309982['asRecord'])(_0x110d28==null?void 0x0:_0x110d28[_0x1088e9(0x1c9)]),_0x5843aa=new Set([...Object['keys'](_0x2ffc35??{}),...Object[_0x1088e9(0x1b2)](_0x423392??{})]),_0x5250d4=(0x0,_0x309982['recordComparisonEntries'])(_0x2ffc35,_0x1fac6e==null?void 0x0:_0x1fac6e[_0x1088e9(0x1d7)],_0x12b72f),_0x2a46dd=(0x0,_0x309982[_0x1088e9(0x1e7)])(_0x423392,_0x110d28==null?void 0x0:_0x110d28['tableOrder'],_0x12b72f),_0x19767b=[...(0x0,_0x309982['buildSemanticComparisonItems'])({'entityType':_0x309982[_0x1088e9(0x22b)]['BASE'],'left':_0x1fac6e===void 0x0?[]:[{'stableId':_0x1088e9(0x1ff),'position':0x0,'value':(0x0,_0x309982['withoutComparisonKeys'])(_0x1088e9(0x1c9),_0x1088e9(0x1d7),_0x1088e9(0x1c2),..._0x5c000d)(_0x1fac6e)}],'right':_0x110d28===void 0x0?[]:[{'stableId':_0x1088e9(0x1ff),'position':0x0,'value':(0x0,_0x309982[_0x1088e9(0x1e9)])(_0x1088e9(0x1c9),_0x1088e9(0x1d7),'resources',..._0x5c000d)(_0x110d28)}]}),...(0x0,_0x309982[_0x1088e9(0x1ea)])({'entityType':_0x309982['UnitComparisonEntityType'][_0x1088e9(0x1bd)],'left':_0x5250d4,'right':_0x2a46dd}),...[..._0x5843aa][_0x1088e9(0x1ae)](_0x19d5b9=>_0x11be8d(_0x19d5b9,_0x2ffc35,_0x423392))],_0x37f603=(0x0,_0x309982[_0x1088e9(0x1c8)])({'entityType':_0x309982[_0x1088e9(0x22b)][_0x1088e9(0x1bd)],'items':_0x19767b,'left':_0x5250d4,'right':_0x2a46dd});return{'items':_0x37f603[_0x1088e9(0x1ef)],'supportedEntityTypes':_0x264ecd,'scopes':_0x37f603[_0x1088e9(0x1e4)],'productContext':{'type':_0x4a5871['UniverInstanceType'][_0x1088e9(0x1ee)],'visualProjection':_0x1088e9(0x221)}};}};function _0x11be8d(_0x2446b3,_0xb0fa22,_0x478885){const _0x2eac55=_0x3675fc;let _0x42358b=(0x0,_0x309982['asRecord'])(_0xb0fa22==null?void 0x0:_0xb0fa22[_0x2446b3])??{},_0x1f0adb=(0x0,_0x309982[_0x2eac55(0x1b6)])(_0x478885==null?void 0x0:_0x478885[_0x2446b3])??{},_0x2ab770=(0x0,_0x309982[_0x2eac55(0x1b6)])(_0x42358b[_0x2eac55(0x20d)]),_0x2547a3=(0x0,_0x309982['asRecord'])(_0x1f0adb[_0x2eac55(0x20d)]),_0x47be8b=(0x0,_0x309982[_0x2eac55(0x1b6)])(_0x42358b[_0x2eac55(0x238)]),_0x3440ef=(0x0,_0x309982[_0x2eac55(0x1b6)])(_0x1f0adb[_0x2eac55(0x238)]);return[..._0x3b5ce4(_0x309982[_0x2eac55(0x22b)][_0x2eac55(0x1f6)],_0x2446b3,_0x2ab770,_0x2547a3,_0x42358b[_0x2eac55(0x219)],_0x1f0adb['fieldOrder'],(0x0,_0x309982['withoutComparisonKeys'])(..._0x5c000d)),..._0x3b5ce4(_0x309982['UnitComparisonEntityType'][_0x2eac55(0x1cf)],_0x2446b3,_0x47be8b,_0x3440ef,_0x42358b['recordOrder'],_0x1f0adb[_0x2eac55(0x212)],(0x0,_0x309982[_0x2eac55(0x1e9)])(_0x2eac55(0x204),_0x2eac55(0x227),..._0x5c000d)),..._0x3b5ce4(_0x309982[_0x2eac55(0x22b)][_0x2eac55(0x22f)],_0x2446b3,_0x42358b[_0x2eac55(0x1f7)],_0x1f0adb[_0x2eac55(0x1f7)],_0x42358b[_0x2eac55(0x231)],_0x1f0adb[_0x2eac55(0x231)],(0x0,_0x309982[_0x2eac55(0x1e9)])(_0x2eac55(0x227),..._0x5c000d)),..._0x529107(_0x2446b3,_0x2ab770,_0x2547a3,_0x47be8b,_0x3440ef,_0x42358b['fieldOrder'],_0x1f0adb[_0x2eac55(0x219)],_0x42358b['recordOrder'],_0x1f0adb[_0x2eac55(0x212)],_0x42358b[_0x2eac55(0x1b3)],_0x1f0adb[_0x2eac55(0x1b3)])];}function _0x3b5ce4(_0x5b1db3,_0x11c827,_0xc9f556,_0x348d9f,_0x391ec8,_0x4582c5,_0x1b45bd){const _0x1e7a53=_0x3675fc;return(0x0,_0x309982[_0x1e7a53(0x1ea)])({'entityType':_0x5b1db3,'parentStableId':_0x11c827,'left':(0x0,_0x309982[_0x1e7a53(0x1e7)])(_0xc9f556,_0x391ec8,_0x1b45bd),'right':(0x0,_0x309982[_0x1e7a53(0x1e7)])(_0x348d9f,_0x4582c5,_0x1b45bd)});}function _0x529107(_0x70c62e,_0x52178c,_0x389b5d,_0x4ee484,_0x3fe2ba,_0x589f2d,_0x132ad7,_0x5ae831,_0x201c2c,_0x1bd36d,_0x4037ab){const _0x5594fe=_0x3675fc;let _0x117a36=_0x102162(_0x52178c,_0x4ee484,_0x589f2d,_0x5ae831,_0x1bd36d),_0x4cfc4e=_0x102162(_0x389b5d,_0x3fe2ba,_0x132ad7,_0x201c2c,_0x4037ab),_0x5e22f7=new Map(_0x117a36[_0x5594fe(0x1b9)](_0x2a096e=>[_0x2a096e[_0x5594fe(0x1f2)],_0x2a096e])),_0x35607e=new Map(_0x4cfc4e[_0x5594fe(0x1b9)](_0x53dc50=>[_0x53dc50[_0x5594fe(0x1f2)],_0x53dc50]));return(0x0,_0x309982[_0x5594fe(0x1ea)])({'entityType':_0x309982[_0x5594fe(0x22b)][_0x5594fe(0x1e1)],'parentStableId':_0x70c62e,'left':_0x117a36,'right':_0x4cfc4e})[_0x5594fe(0x1b9)](_0x4ab58a=>({..._0x4ab58a,'locations':{'left':_0x396f5f(_0x4ab58a[_0x5594fe(0x1f3)][_0x5594fe(0x1c7)],_0x5e22f7['get'](_0x4ab58a[_0x5594fe(0x1f2)]),_0x70c62e),'right':_0x396f5f(_0x4ab58a[_0x5594fe(0x1f3)]['right'],_0x35607e[_0x5594fe(0x1c5)](_0x4ab58a[_0x5594fe(0x1f2)]),_0x70c62e)}}));}function _0x396f5f(_0x506a24,_0x26f18c,_0x3d51a0){const _0x586492=_0x3675fc;if(_0x506a24===null||_0x26f18c===void 0x0)return null;let _0x1024c2=_0x506a24[_0x586492(0x1d9)];return(_0x1024c2==null?void 0x0:_0x1024c2[_0x586492(0x210)])==='entity'?{..._0x506a24,'parentStableId':_0x26f18c[_0x586492(0x234)],'target':{..._0x1024c2,'kind':_0x586492(0x22d),'tableId':_0x3d51a0,'recordId':_0x26f18c['recordId'],'fieldId':_0x26f18c['fieldId']}}:_0x506a24;}function _0x102162(_0x30b3db,_0x15bf6e,_0x44f0a6,_0x26bf02,_0x504a94){const _0x509852=_0x3675fc;let _0x1788f8=_0xa55ba1(_0x30b3db,_0x44f0a6);return _0xa55ba1(_0x15bf6e,_0x26bf02)[_0x509852(0x1ae)]((_0x2a722b,_0x36af74)=>{const _0x124823=_0x509852;var _0x213b09;let _0x177405=(0x0,_0x309982[_0x124823(0x1b6)])((_0x213b09=(0x0,_0x309982[_0x124823(0x1b6)])(_0x15bf6e==null?void 0x0:_0x15bf6e[_0x2a722b]))==null?void 0x0:_0x213b09[_0x124823(0x204)]);if(_0x177405===void 0x0)return[];let _0x4bfcf3=typeof _0x504a94==_0x124823(0x21f)?_0x177405[_0x504a94]:void 0x0,_0x4562ec=typeof _0x4bfcf3==_0x124823(0x21f)||typeof _0x4bfcf3=='number'?String(_0x4bfcf3):void 0x0;return _0x1788f8['flatMap']((_0x375536,_0x2f2af7)=>{const _0x2fd8f4=_0x124823;var _0x4954ee;return _0x375536 in _0x177405?[{'stableId':_0x2a722b+':'+_0x375536,'recordId':_0x2a722b,'fieldId':_0x375536,'position':_0x36af74*Math[_0x2fd8f4(0x1f5)](0x1,_0x1788f8[_0x2fd8f4(0x1d2)])+_0x2f2af7,'displayName':[_0x4562ec,(_0x4954ee=(0x0,_0x309982[_0x2fd8f4(0x1b6)])(_0x30b3db==null?void 0x0:_0x30b3db[_0x375536]))==null?void 0x0:_0x4954ee[_0x2fd8f4(0x214)]]['filter'](_0x6deb47=>typeof _0x6deb47==_0x2fd8f4(0x21f)&&_0x6deb47[_0x2fd8f4(0x1d2)]>0x0)[_0x2fd8f4(0x1fd)](_0x2fd8f4(0x1ed)),'value':_0x177405[_0x375536]}]:[];});});}function _0xa55ba1(_0x1b32f2,_0x5e3dad){const _0x3a232b=_0x3675fc;let _0x2aa34c=_0x1b32f2??{},_0x398827=Array['isArray'](_0x5e3dad)?_0x5e3dad[_0x3a232b(0x220)](_0x4af94f=>typeof _0x4af94f=='string'&&_0x4af94f in _0x2aa34c):[],_0x2cab3c=new Set(_0x398827);return[..._0x398827,...Object[_0x3a232b(0x1b2)](_0x2aa34c)[_0x3a232b(0x220)](_0x16149a=>!_0x2cab3c[_0x3a232b(0x1d4)](_0x16149a))];}let _0x256514=class extends _0x4a5871['Plugin']{constructor(_0x5c5ce6=_0x265f5d,_0xfb1f91,_0x4d6adc){const _0x2fc253=_0x3675fc;super(),this[_0x2fc253(0x20a)]=_0x5c5ce6,this[_0x2fc253(0x1d3)]=_0xfb1f91,this[_0x2fc253(0x207)]=_0x4d6adc;let {..._0x29a164}=(0x0,_0x4a5871[_0x2fc253(0x20b)])({},_0x265f5d,this['_config']);this['_configService'][_0x2fc253(0x1e0)]('bases-history.config',_0x29a164);}[_0x3675fc(0x205)](){const _0x23e12c=_0x3675fc;(0x0,_0x4a5871[_0x23e12c(0x1a8)])(this['_injector'],[[_0x21f405],[_0x4520ef]]),this[_0x23e12c(0x1cc)](this['_injector'][_0x23e12c(0x1c5)](_0x309982[_0x23e12c(0x1e6)])[_0x23e12c(0x1ba)](this[_0x23e12c(0x1d3)][_0x23e12c(0x1c5)](_0x4520ef)));}};_0x141e99(_0x256514,_0x3675fc(0x237),'UNIVER_BASES_HISTORY_PLUGIN'),_0x141e99(_0x256514,'packageName',_0x4c9fdd),_0x141e99(_0x256514,_0x3675fc(0x1b5),_0x39ee7f),_0x141e99(_0x256514,'type',_0x4a5871['UniverInstanceType'][_0x3675fc(0x1ee)]),_0x256514=_0x4d9d0b([(0x0,_0x4a5871['DependentOn'])(_0x4fe02d[_0x3675fc(0x1e2)],_0x309982[_0x3675fc(0x1f9)],_0x40a1f6[_0x3675fc(0x21e)]),_0x1d129e(0x1,(0x0,_0x4a5871[_0x3675fc(0x229)])(_0x4a5871[_0x3675fc(0x1f4)])),_0x1d129e(0x2,_0x4a5871[_0x3675fc(0x211)])],_0x256514),Object['defineProperty'](_0x569ee6,_0x3675fc(0x222),{'enumerable':!0x0,'get':function(){return _0x21f405;}}),_0x569ee6['BasesUnitComparisonAdapter']=_0x4520ef,Object[_0x3675fc(0x1d0)](_0x569ee6,_0x3675fc(0x1aa),{'enumerable':!0x0,'get':function(){return _0x256514;}});}));function _0x2a7c(){const _0x554166=['UniverCore','364rBUPqY','1983924SWAGCR','resources','7ZZtZPF','number','get','rev','left','buildScopedUnitComparison','tables','BASE','some','disposeWithMe','index','decorate','RECORD','defineProperty','leftData','length','_injector','has','every','base:cell','tableOrder','tableId','target','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','prototype','function','memberId','update','createdAt','setConfig','CELL','UniverLicensePlugin','JSON1','scopes','object','UnitComparisonAdapterRegistryService','recordComparisonEntries','fieldId','withoutComparisonKeys','buildSemanticComparisonItems','compare','UniverProLicense','\x20·\x20','UNIVER_BASE','items','3677080feNncN','toPrimitive','stableId','locations','Injector','max','FIELD','views','base:unknown','UniverEditHistoryPlugin','indexOf','constructor','base:field','join','@univerjs/core','base','forEach','params','default','Module','values','onStarting','2056856FEgzRh','_configService','rightData','1pFGIqu','_config','merge','UniverProBases','fields','compose','call','kind','IConfigService','recordOrder','iterator','name','UniverProBasesHistory','sort','symbol','mutation','fieldOrder','insert','exports','updatedBy','1.0.1','UniverBasesPlugin','string','filter','raw-table-data','BasesHistoryDiffService','@univerjs-pro/license','type','entry','colId','orderKey','974676vZSGLv','Inject','@univerjs-pro/edit-history','UnitComparisonEntityType','updatedAt','base-cell','499140XieuYw','VIEW','isArray','viewOrder','base:view','@univerjs-pro/bases','recordId','rowIndex','revision','pluginName','records','set','hasOwnProperty','registerDependencies','push','UniverBasesHistoryPlugin','delete','viewId','5898WaRIZa','flatMap','load','path','base:record','keys','primaryFieldId','toStringTag','version','asRecord','value','rowId','map','register','632166rxYGTp','cellData','TABLE','_mutationService'];_0x2a7c=function(){return _0x554166;};return _0x2a7c();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/bases-history",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Base edit history semantics for Univer Pro.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"lib"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@univerjs-pro/bases": "1.0.
|
|
36
|
-
"@univerjs-pro/edit-history": "1.0.
|
|
37
|
-
"@univerjs-pro/license": "1.0.
|
|
38
|
-
"@univerjs/core": "1.0.
|
|
35
|
+
"@univerjs-pro/bases": "1.0.1",
|
|
36
|
+
"@univerjs-pro/edit-history": "1.0.1",
|
|
37
|
+
"@univerjs-pro/license": "1.0.1",
|
|
38
|
+
"@univerjs/core": "1.0.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@univerjs-infra/shared": "1.0.
|
|
41
|
+
"@univerjs-infra/shared": "1.0.1",
|
|
42
42
|
"typescript": "^6.0.3",
|
|
43
43
|
"vitest": "^5.0.0"
|
|
44
44
|
},
|