@univerjs-pro/collaboration-client-ui 0.10.9 → 0.10.10-experimental.20251016-33b0941
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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +7 -0
- package/lib/types/services/formula-calculation-guard/formula-calculation-guard.service.d.ts +38 -0
- package/lib/types/services/formula-calculation-guard/util.d.ts +11 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +19 -19
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x34e7(){const _0x1722ee=['8098iJzgIb','12LFdVvs','112TwZbtY','Formula\x20calculation\x20started.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','95186nvNEdR','296eGUHxt','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','Authentication\x20Error','20876075DRLxpG','30NMSshK','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','30uWOfSo','1660904FaPlTy','Edit\x20conflicts','1028421TOYXVd','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2481210yilDbP','Connection\x20failed,\x20please\x20check\x20your\x20network.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','665435QBqFyo'];_0x34e7=function(){return _0x1722ee;};return _0x34e7();}function _0x2abb(_0x51c35a,_0x5ddf29){const _0x34e7d4=_0x34e7();return _0x2abb=function(_0x2abb21,_0x15047f){_0x2abb21=_0x2abb21-0xcb;let _0x486615=_0x34e7d4[_0x2abb21];return _0x486615;},_0x2abb(_0x51c35a,_0x5ddf29);}const _0x4d554d=_0x2abb;(function(_0x5c6439,_0x579e15){const _0x42d699=_0x2abb,_0x5affeb=_0x5c6439();while(!![]){try{const _0x3d31e4=parseInt(_0x42d699(0xcf))/0x1*(parseInt(_0x42d699(0xcd))/0x2)+parseInt(_0x42d699(0xe4))/0x3+-parseInt(_0x42d699(0xde))/0x4+-parseInt(_0x42d699(0xcc))/0x5*(-parseInt(_0x42d699(0xdd))/0x6)+parseInt(_0x42d699(0xd2))/0x7*(parseInt(_0x42d699(0xd3))/0x8)+parseInt(_0x42d699(0xe0))/0x9*(parseInt(_0x42d699(0xd8))/0xa)+parseInt(_0x42d699(0xd7))/0xb*(-parseInt(_0x42d699(0xce))/0xc);if(_0x3d31e4===_0x579e15)break;else _0x5affeb['push'](_0x5affeb['shift']());}catch(_0x47c7b7){_0x5affeb['push'](_0x5affeb['shift']());}}}(_0x34e7,0x74e9b));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x4d554d(0xdf),'notCollab':_0x4d554d(0xda),'synced':'Synced','syncing':'Syncing...','offline':_0x4d554d(0xd9)},'session':{'connection-failed':_0x4d554d(0xe5),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x4d554d(0xd4),'collaboration-timeout':_0x4d554d(0xd1)},'conflict':{'title':_0x4d554d(0xe1),'content':_0x4d554d(0xcb)},'permission':{'title':_0x4d554d(0xd6),'content':_0x4d554d(0xe2)},'collaboration':{'single-unit':{'warning':_0x4d554d(0xdb)},'closeRoom':_0x4d554d(0xe3)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'},'formula':{'calculation':{'started':_0x4d554d(0xd0),'waiting':_0x4d554d(0xd5),'unable':_0x4d554d(0xdc)}}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5a3eaa=_0x3cb4;function _0x22c3(){const _0x4834f7=['141564ZwthAK','4406535AlmvND','108AVWihV','48vZMpOA','2682988XqEGtl','935635nMGITy','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1277DrEIqM','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','Collaboration\x20Conflict','6UBzJHP','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20please\x20check\x20your\x20network.','702180bjqGoX','35791680HLQoMb','40FrCRux','Edit\x20conflicts','Authentication\x20Error','Local\x20file','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6WLtkka'];_0x22c3=function(){return _0x4834f7;};return _0x22c3();}(function(_0xfdf3,_0x5a59ae){const _0x9282fa=_0x3cb4,_0x4560f2=_0xfdf3();while(!![]){try{const _0x4be876=-parseInt(_0x9282fa(0x8c))/0x1*(parseInt(_0x9282fa(0x83))/0x2)+parseInt(_0x9282fa(0x84))/0x3*(-parseInt(_0x9282fa(0x86))/0x4)+-parseInt(_0x9282fa(0x89))/0x5*(parseInt(_0x9282fa(0x76))/0x6)+parseInt(_0x9282fa(0x85))/0x7+parseInt(_0x9282fa(0x87))/0x8*(-parseInt(_0x9282fa(0x7b))/0x9)+parseInt(_0x9282fa(0x7d))/0xa*(-parseInt(_0x9282fa(0x88))/0xb)+parseInt(_0x9282fa(0x7c))/0xc;if(_0x4be876===_0x5a59ae)break;else _0x4560f2['push'](_0x4560f2['shift']());}catch(_0x329496){_0x4560f2['push'](_0x4560f2['shift']());}}}(_0x22c3,0xabb7f));function _0x3cb4(_0x108428,_0x3053a5){const _0x22c3a9=_0x22c3();return _0x3cb4=function(_0x3cb4dd,_0x5c12bf){_0x3cb4dd=_0x3cb4dd-0x73;let _0x4e3924=_0x22c3a9[_0x3cb4dd];return _0x4e3924;},_0x3cb4(_0x108428,_0x3053a5);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x5a3eaa(0x7e),'notCollab':_0x5a3eaa(0x80),'synced':'Synced','syncing':_0x5a3eaa(0x78),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x5a3eaa(0x7a),'will-retry':_0x5a3eaa(0x81),'room-full':_0x5a3eaa(0x8b),'collaboration-timeout':_0x5a3eaa(0x73)},'conflict':{'title':_0x5a3eaa(0x75),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x5a3eaa(0x7f),'content':_0x5a3eaa(0x77)},'collaboration':{'single-unit':{'warning':_0x5a3eaa(0x79)},'closeRoom':_0x5a3eaa(0x82)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'},'formula':{'calculation':{'started':'Formula\x20calculation\x20started.','waiting':_0x5a3eaa(0x8a),'unable':_0x5a3eaa(0x74)}}},o=e;export{o as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x92da(){const _0x429f2f=['99967anDLad','همگام\x20سازی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','51572KjBQLj','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','2054886BzJbIp','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','206022fvmQUC','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','2311425twjEZD','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','محاسبه\x20فرمول\x20شروع\x20شد.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','16pdHodE','66207pPXuaE','در\x20حال\x20همگام\x20سازی...','45KmhBss','در\x20حال\x20حاضر\x20امکان\x20انجام\x20محاسبه\x20فرمول\x20وجود\x20ندارد.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','تداخل\x20همکاری','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','279464QrMWnt'];_0x92da=function(){return _0x429f2f;};return _0x92da();}function _0x4fb6(_0x2703ed,_0x1eca0e){const _0x92da93=_0x92da();return _0x4fb6=function(_0x4fb686,_0x4b15dc){_0x4fb686=_0x4fb686-0xac;let _0x546db4=_0x92da93[_0x4fb686];return _0x546db4;},_0x4fb6(_0x2703ed,_0x1eca0e);}const _0x2a6288=_0x4fb6;(function(_0x4e3a5f,_0x1ae4c1){const _0x6c825f=_0x4fb6,_0x53ec49=_0x4e3a5f();while(!![]){try{const _0x3983d7=-parseInt(_0x6c825f(0xad))/0x1+-parseInt(_0x6c825f(0xbe))/0x2+parseInt(_0x6c825f(0xb5))/0x3+parseInt(_0x6c825f(0xc2))/0x4*(-parseInt(_0x6c825f(0xb7))/0x5)+parseInt(_0x6c825f(0xc4))/0x6+parseInt(_0x6c825f(0xbf))/0x7*(parseInt(_0x6c825f(0xb4))/0x8)+parseInt(_0x6c825f(0xaf))/0x9;if(_0x3983d7===_0x1ae4c1)break;else _0x53ec49['push'](_0x53ec49['shift']());}catch(_0xefdee9){_0x53ec49['push'](_0x53ec49['shift']());}}}(_0x92da,0x2def2));const o={'collab-client':{'tooltip':{'reconnect':_0x2a6288(0xb1)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x2a6288(0xc0),'syncing':_0x2a6288(0xb6),'offline':_0x2a6288(0xac)},'session':{'connection-failed':_0x2a6288(0xc3),'will-retry':_0x2a6288(0xb0),'room-full':_0x2a6288(0xb9),'collaboration-timeout':_0x2a6288(0xbd)},'conflict':{'title':_0x2a6288(0xba),'content':_0x2a6288(0xbb)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x2a6288(0xae)},'collaboration':{'single-unit':{'warning':_0x2a6288(0xc1)},'closeRoom':_0x2a6288(0xbc)},'auth':{'needGotoLoginAlert':_0x2a6288(0xb3)},'formula':{'calculation':{'started':_0x2a6288(0xb2),'waiting':'صف\x20محاسبه\x20فرمول\x20پر\x20است،\x20در\x20انتظار\x20اسلات\x20خالی...','unable':_0x2a6288(0xb8)}}};export{o as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4a46ed=_0x227c;(function(_0x3dba50,_0x2afa2a){const _0x31a628=_0x227c,_0x3f2020=_0x3dba50();while(!![]){try{const _0x3b354d=-parseInt(_0x31a628(0xff))/0x1*(parseInt(_0x31a628(0x10a))/0x2)+-parseInt(_0x31a628(0xf5))/0x3+-parseInt(_0x31a628(0xf6))/0x4*(-parseInt(_0x31a628(0x102))/0x5)+-parseInt(_0x31a628(0x104))/0x6+parseInt(_0x31a628(0xfc))/0x7*(parseInt(_0x31a628(0x106))/0x8)+-parseInt(_0x31a628(0x108))/0x9+parseInt(_0x31a628(0xef))/0xa;if(_0x3b354d===_0x2afa2a)break;else _0x3f2020['push'](_0x3f2020['shift']());}catch(_0x4ed3d2){_0x3f2020['push'](_0x3f2020['shift']());}}}(_0x24bd,0x29a5d));const e={'collab-client':{'tooltip':{'reconnect':_0x4a46ed(0xf0)}},'collabStatus':{'fetchMiss':_0x4a46ed(0xf1),'conflict':_0x4a46ed(0x100),'notCollab':_0x4a46ed(0xf9),'synced':_0x4a46ed(0x109),'syncing':'Syncing...','offline':_0x4a46ed(0xfa)},'session':{'connection-failed':_0x4a46ed(0x101),'will-retry':_0x4a46ed(0xfe),'room-full':_0x4a46ed(0x107),'collaboration-timeout':_0x4a46ed(0xf7)},'conflict':{'title':_0x4a46ed(0xf2),'content':_0x4a46ed(0x103)},'permission':{'title':_0x4a46ed(0xf3),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x4a46ed(0xf4)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x4a46ed(0xf8)},'formula':{'calculation':{'started':_0x4a46ed(0xfd),'waiting':_0x4a46ed(0x105),'unable':_0x4a46ed(0xfb)}}},o=e;export{o as default};function _0x227c(_0x128909,_0x1c80d1){const _0x24bd53=_0x24bd();return _0x227c=function(_0x227c91,_0x5dcdf3){_0x227c91=_0x227c91-0xef;let _0x223ad1=_0x24bd53[_0x227c91];return _0x223ad1;},_0x227c(_0x128909,_0x1c80d1);}function _0x24bd(){const _0x4849a8=['132536yEoAXh','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1451727spgtjN','Synced','14OJFVOX','7106680cKEWDq','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','Collaboration\x20Conflict','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','815094Jpmuiz','57968oDuhcW','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','7rKgcmj','Formula\x20calculation\x20started.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2085pxKDzf','Edit\x20conflicts','Connection\x20failed,\x20please\x20check\x20your\x20network.','80WdoOEk','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','2045532vqYHKb','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...'];_0x24bd=function(){return _0x4849a8;};return _0x24bd();}
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3524(){const _0x5134a2=['8441466WPWuBb','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Click\x20to\x20Reconnect','Formula\x20calculation\x20started.','385qfnJHq','246144dshqgb','Authentication\x20Error','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','30gnIFvF','43482MDFlKc','631020OMzVAL','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','70357yDueQY','20jiIBWk','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','3157479IKQzSB','152iVBlFT','240156zQdVBw','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','12ZLfXyP'];_0x3524=function(){return _0x5134a2;};return _0x3524();}const _0x14b5a9=_0xb1d2;(function(_0x209573,_0x1b537e){const _0x33ef84=_0xb1d2,_0x25f283=_0x209573();while(!![]){try{const _0x5f4e49=-parseInt(_0x33ef84(0x204))/0x1+parseInt(_0x33ef84(0x1fb))/0x2+-parseInt(_0x33ef84(0x1f5))/0x3*(parseInt(_0x33ef84(0x200))/0x4)+parseInt(_0x33ef84(0x1f4))/0x5*(parseInt(_0x33ef84(0x1fa))/0x6)+parseInt(_0x33ef84(0x1ff))/0x7*(parseInt(_0x33ef84(0x203))/0x8)+-parseInt(_0x33ef84(0x202))/0x9*(-parseInt(_0x33ef84(0x1f9))/0xa)+parseInt(_0x33ef84(0x208))/0xb*(-parseInt(_0x33ef84(0x207))/0xc);if(_0x5f4e49===_0x1b537e)break;else _0x25f283['push'](_0x25f283['shift']());}catch(_0x5e843c){_0x25f283['push'](_0x25f283['shift']());}}}(_0x3524,0xaab35));const e={'collab-client':{'tooltip':{'reconnect':_0x14b5a9(0x20f)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x14b5a9(0x1f7),'syncing':'Syncing...','offline':_0x14b5a9(0x1fc)},'session':{'connection-failed':_0x14b5a9(0x209),'will-retry':_0x14b5a9(0x205),'room-full':_0x14b5a9(0x20d),'collaboration-timeout':_0x14b5a9(0x20a)},'conflict':{'title':_0x14b5a9(0x20e),'content':_0x14b5a9(0x206)},'permission':{'title':_0x14b5a9(0x1f6),'content':_0x14b5a9(0x1fe)},'collaboration':{'single-unit':{'warning':_0x14b5a9(0x20b)},'closeRoom':_0x14b5a9(0x1f8)},'auth':{'needGotoLoginAlert':_0x14b5a9(0x1fd)},'formula':{'calculation':{'started':_0x14b5a9(0x210),'waiting':_0x14b5a9(0x201),'unable':_0x14b5a9(0x20c)}}},o=e;function _0xb1d2(_0x59ed71,_0x4dc087){const _0x3524d5=_0x3524();return _0xb1d2=function(_0xb1d225,_0x1686f4){_0xb1d225=_0xb1d225-0x1f4;let _0x5d956b=_0x3524d5[_0xb1d225];return _0x5d956b;},_0xb1d2(_0x59ed71,_0x4dc087);}export{o as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x53fcd7=_0xcd38;function _0x5ca5(){const _0x5ba734=['3332240ORYAQq','Connection\x20failed,\x20please\x20check\x20your\x20network.','Formula\x20calculation\x20started.','Click\x20to\x20Reconnect','Syncing...','4348960BAeAmB','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3112695qDmTcq','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','Local\x20file','112215CLRVFf','8044KikjSq','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1826125hlOJdv','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','2403mhRZmV','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','114GIiejq','8MEyzWt','Synced','474LzHhyC','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','60FkQMiE','Collaboration\x20Conflict'];_0x5ca5=function(){return _0x5ba734;};return _0x5ca5();}(function(_0x1d9454,_0x112674){const _0x240683=_0xcd38,_0x4ec550=_0x1d9454();while(!![]){try{const _0x1820fc=-parseInt(_0x240683(0x103))/0x1*(-parseInt(_0x240683(0x109))/0x2)+parseInt(_0x240683(0x106))/0x3*(parseInt(_0x240683(0x11b))/0x4)+parseInt(_0x240683(0x11a))/0x5*(-parseInt(_0x240683(0x10c))/0x6)+parseInt(_0x240683(0xff))/0x7+parseInt(_0x240683(0x107))/0x8*(parseInt(_0x240683(0x116))/0x9)+-parseInt(_0x240683(0x10e))/0xa+-parseInt(_0x240683(0x113))/0xb;if(_0x1820fc===_0x112674)break;else _0x4ec550['push'](_0x4ec550['shift']());}catch(_0xcadad4){_0x4ec550['push'](_0x4ec550['shift']());}}}(_0x5ca5,0x4927d));const e={'collab-client':{'tooltip':{'reconnect':_0x53fcd7(0x111)}},'collabStatus':{'fetchMiss':_0x53fcd7(0x104),'conflict':_0x53fcd7(0x118),'notCollab':_0x53fcd7(0x119),'synced':_0x53fcd7(0x108),'syncing':_0x53fcd7(0x112),'offline':_0x53fcd7(0x114)},'session':{'connection-failed':_0x53fcd7(0x10f),'will-retry':_0x53fcd7(0x115),'room-full':_0x53fcd7(0x102),'collaboration-timeout':_0x53fcd7(0x101)},'conflict':{'title':_0x53fcd7(0x10d),'content':_0x53fcd7(0x10a)},'permission':{'title':_0x53fcd7(0x11c),'content':_0x53fcd7(0x105)},'collaboration':{'single-unit':{'warning':_0x53fcd7(0xfe)},'closeRoom':_0x53fcd7(0x117)},'auth':{'needGotoLoginAlert':_0x53fcd7(0x10b)},'formula':{'calculation':{'started':_0x53fcd7(0x110),'waiting':'Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','unable':_0x53fcd7(0x100)}}},o=e;function _0xcd38(_0x4a919e,_0x228d32){const _0x5ca58e=_0x5ca5();return _0xcd38=function(_0xcd38b4,_0x5d033b){_0xcd38b4=_0xcd38b4-0xfe;let _0x16d753=_0x5ca58e[_0xcd38b4];return _0x16d753;},_0xcd38(_0x4a919e,_0x228d32);}export{o as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x30f847=_0x37e2;function _0x37e2(_0x26a842,_0x5026f3){const _0x340c2f=_0x340c();return _0x37e2=function(_0x37e207,_0x26be10){_0x37e207=_0x37e207-0x17c;let _0x345ff8=_0x340c2f[_0x37e207];return _0x345ff8;},_0x37e2(_0x26a842,_0x5026f3);}function _0x340c(){const _0x2a6745=['Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','36885LEsmdG','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','77fyDhua','Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','512JCVkla','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','37901lpPTgI','34TYJTdB','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','238143lAcRtB','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','7731oxJeJO','84LymULt','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1485790DuXtqG','90StCAmu','Formula\x20calculation\x20started.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','9238677FdRvNP','Click\x20to\x20Reconnect','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','12303492cTMFPp','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x340c=function(){return _0x2a6745;};return _0x340c();}(function(_0xd51c91,_0x33c2cc){const _0x5642c9=_0x37e2,_0x4e95b9=_0xd51c91();while(!![]){try{const _0x367d3c=parseInt(_0x5642c9(0x193))/0x1*(parseInt(_0x5642c9(0x194))/0x2)+parseInt(_0x5642c9(0x196))/0x3*(parseInt(_0x5642c9(0x17c))/0x4)+-parseInt(_0x5642c9(0x18c))/0x5*(parseInt(_0x5642c9(0x17f))/0x6)+-parseInt(_0x5642c9(0x182))/0x7+parseInt(_0x5642c9(0x191))/0x8*(-parseInt(_0x5642c9(0x199))/0x9)+-parseInt(_0x5642c9(0x17e))/0xa*(-parseInt(_0x5642c9(0x18e))/0xb)+-parseInt(_0x5642c9(0x188))/0xc;if(_0x367d3c===_0x33c2cc)break;else _0x4e95b9['push'](_0x4e95b9['shift']());}catch(_0x366478){_0x4e95b9['push'](_0x4e95b9['shift']());}}}(_0x340c,0xcd3be));const e={'collab-client':{'tooltip':{'reconnect':_0x30f847(0x183)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x30f847(0x18f),'notCollab':'Local\x20file','synced':_0x30f847(0x184),'syncing':_0x30f847(0x18a),'offline':_0x30f847(0x18d)},'session':{'connection-failed':_0x30f847(0x18b),'will-retry':_0x30f847(0x198),'room-full':_0x30f847(0x17d),'collaboration-timeout':_0x30f847(0x190)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x30f847(0x181)},'permission':{'title':_0x30f847(0x187),'content':_0x30f847(0x197)},'collaboration':{'single-unit':{'warning':_0x30f847(0x186)},'closeRoom':_0x30f847(0x189)},'auth':{'needGotoLoginAlert':_0x30f847(0x185)},'formula':{'calculation':{'started':_0x30f847(0x180),'waiting':_0x30f847(0x192),'unable':_0x30f847(0x195)}}},o=e;export{o as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1e97e6=_0x2c4b;(function(_0x43bacb,_0x5c6d56){const _0x8e8c01=_0x2c4b,_0x50e187=_0x43bacb();while(!![]){try{const _0xd82afe=parseInt(_0x8e8c01(0xbf))/0x1*(parseInt(_0x8e8c01(0xc1))/0x2)+-parseInt(_0x8e8c01(0xb8))/0x3*(parseInt(_0x8e8c01(0xca))/0x4)+-parseInt(_0x8e8c01(0xbb))/0x5*(-parseInt(_0x8e8c01(0xcb))/0x6)+-parseInt(_0x8e8c01(0xc4))/0x7+-parseInt(_0x8e8c01(0xb6))/0x8*(parseInt(_0x8e8c01(0xd1))/0x9)+parseInt(_0x8e8c01(0xbd))/0xa*(parseInt(_0x8e8c01(0xba))/0xb)+parseInt(_0x8e8c01(0xcd))/0xc*(parseInt(_0x8e8c01(0xcc))/0xd);if(_0xd82afe===_0x5c6d56)break;else _0x50e187['push'](_0x50e187['shift']());}catch(_0x1e7020){_0x50e187['push'](_0x50e187['shift']());}}}(_0xf93c,0xc3d69));function _0x2c4b(_0x3b4535,_0x124eea){const _0xf93cba=_0xf93c();return _0x2c4b=function(_0x2c4bc3,_0x4e3032){_0x2c4bc3=_0x2c4bc3-0xb6;let _0x10ff11=_0xf93cba[_0x2c4bc3];return _0x10ff11;},_0x2c4b(_0x3b4535,_0x124eea);}function _0xf93c(){const _0x3b5aa9=['连接失败,请检查你的网络','6118273ldxmTI','协同房间已满,你的编辑将在本地缓存','权限错误','正在拉取服务端数据...','公式计算已开始。','由于协同房间被关闭,编辑权限被收回。','97568aHbDRB','12HuQALW','2223Rpnwym','99900XPXinT','服务器未响应,你的编辑将在本地缓存','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','目前无法执行公式计算。请稍后重试。','36GzoPAo','1106656FkiVZV','编辑冲突','87LIXcMo','已同步','10142Tnfuhe','1268615fINRLU','点击重新连接','8980TBttPs','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','1999POXOYB','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','178OwMiua','协同冲突'];_0xf93c=function(){return _0x3b5aa9;};return _0xf93c();}const o={'collab-client':{'tooltip':{'reconnect':_0x1e97e6(0xbc)}},'collabStatus':{'fetchMiss':_0x1e97e6(0xc7),'conflict':_0x1e97e6(0xb7),'notCollab':'本地文件','synced':_0x1e97e6(0xb9),'syncing':'保存中...','offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':_0x1e97e6(0xc3),'will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x1e97e6(0xc5),'collaboration-timeout':_0x1e97e6(0xce)},'conflict':{'title':_0x1e97e6(0xc2),'content':_0x1e97e6(0xcf)},'permission':{'title':_0x1e97e6(0xc6),'content':'你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'collaboration':{'single-unit':{'warning':_0x1e97e6(0xbe)},'closeRoom':_0x1e97e6(0xc9)},'auth':{'needGotoLoginAlert':_0x1e97e6(0xc0)},'formula':{'calculation':{'started':_0x1e97e6(0xc8),'waiting':'公式计算队列已满,正在等待空闲位置...','unable':_0x1e97e6(0xd0)}}};export{o as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2b45f8=_0xd7ec;(function(_0x5c1e63,_0x65edd2){const _0x3f8c41=_0xd7ec,_0xb3f8fe=_0x5c1e63();while(!![]){try{const _0x1db91f=-parseInt(_0x3f8c41(0xf0))/0x1*(parseInt(_0x3f8c41(0xf2))/0x2)+-parseInt(_0x3f8c41(0xe8))/0x3+-parseInt(_0x3f8c41(0xeb))/0x4+-parseInt(_0x3f8c41(0xe0))/0x5+parseInt(_0x3f8c41(0xee))/0x6+parseInt(_0x3f8c41(0xe3))/0x7*(parseInt(_0x3f8c41(0xf6))/0x8)+-parseInt(_0x3f8c41(0xe9))/0x9*(-parseInt(_0x3f8c41(0xf3))/0xa);if(_0x1db91f===_0x65edd2)break;else _0xb3f8fe['push'](_0xb3f8fe['shift']());}catch(_0x2899ac){_0xb3f8fe['push'](_0xb3f8fe['shift']());}}}(_0x2747,0xe09f7));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2b45f8(0xe5),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x2b45f8(0xf4),'syncing':_0x2b45f8(0xf5),'offline':_0x2b45f8(0xe2)},'session':{'connection-failed':_0x2b45f8(0xed),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x2b45f8(0xf1)},'conflict':{'title':_0x2b45f8(0xe7),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x2b45f8(0xe6),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x2b45f8(0xe4)},'closeRoom':_0x2b45f8(0xe1)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'},'formula':{'calculation':{'started':_0x2b45f8(0xec),'waiting':_0x2b45f8(0xef),'unable':_0x2b45f8(0xea)}}},o=e;export{o as default};function _0xd7ec(_0x42a89,_0x28e245){const _0x27479a=_0x2747();return _0xd7ec=function(_0xd7ec1d,_0x31e46e){_0xd7ec1d=_0xd7ec1d-0xe0;let _0x3c84ed=_0x27479a[_0xd7ec1d];return _0x3c84ed;},_0xd7ec(_0x42a89,_0x28e245);}function _0x2747(){const _0x820036=['Connection\x20failed,\x20please\x20check\x20your\x20network.','3172086NdPMSo','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','220565EwEqjV','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','8jypFst','70qqphwe','Synced','Syncing...','16DorsqQ','5816825LMIpOE','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','4012841CekhiT','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','Authentication\x20Error','Collaboration\x20Conflict','5312061CSWZdo','5184261MVBVUb','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','3884172WIXleW','Formula\x20calculation\x20started.'];_0x2747=function(){return _0x820036;};return _0x2747();}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Disposable, ICommandService, IConfigService, ILogService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
2
|
+
import { HTTPService } from '@univerjs/network';
|
|
3
|
+
import { IMessageService } from '@univerjs/ui';
|
|
4
|
+
/**
|
|
5
|
+
* Implementation of formula calculation guard service
|
|
6
|
+
*/
|
|
7
|
+
export declare class FormulaCalculationGuardService extends Disposable {
|
|
8
|
+
private readonly _messageService;
|
|
9
|
+
private readonly _commandService;
|
|
10
|
+
private readonly _configService;
|
|
11
|
+
private readonly _httpService;
|
|
12
|
+
private readonly _univerInstanceService;
|
|
13
|
+
protected readonly _logService: ILogService;
|
|
14
|
+
private readonly _localeService;
|
|
15
|
+
private _pollingInterval;
|
|
16
|
+
private _maxFormulaLimit;
|
|
17
|
+
private _currentUsage;
|
|
18
|
+
private _taskIds;
|
|
19
|
+
private _lastResponseTimestamp;
|
|
20
|
+
constructor(_messageService: IMessageService, _commandService: ICommandService, _configService: IConfigService, _httpService: HTTPService, _univerInstanceService: IUniverInstanceService, _logService: ILogService, _localeService: LocaleService);
|
|
21
|
+
private _initCommandInterceptor;
|
|
22
|
+
dispose(): void;
|
|
23
|
+
private _checkAndWaitForCalculationPermission;
|
|
24
|
+
/**
|
|
25
|
+
* Apply the command after getting permission
|
|
26
|
+
* @param command
|
|
27
|
+
* @param options
|
|
28
|
+
*/
|
|
29
|
+
private _applyCommand;
|
|
30
|
+
private _setFormulaLimitStatus;
|
|
31
|
+
private _startCalculationLimit;
|
|
32
|
+
private _getFormulaLimitStatus;
|
|
33
|
+
private _releaseCalculationLimit;
|
|
34
|
+
private _checkCalculationAvailable;
|
|
35
|
+
private _clearPolling;
|
|
36
|
+
private _showGuardMessage;
|
|
37
|
+
private _hasFormulaInDirtyRanges;
|
|
38
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ISetFormulaCalculationNotificationMutation } from '@univerjs/engine-formula';
|
|
2
|
+
/**
|
|
3
|
+
* Determine if the calculation is starting based on params
|
|
4
|
+
* @param params
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare function isCalculationStart(params: ISetFormulaCalculationNotificationMutation): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Determine if the calculation has completed based on params
|
|
10
|
+
*/
|
|
11
|
+
export declare function isCalculationComplete(params: ISetFormulaCalculationNotificationMutation): boolean;
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xbe76(_0x24584b,_0x14b778){var _0x3571b3=_0x3571();return _0xbe76=function(_0xbe7699,_0x13aad4){_0xbe7699=_0xbe7699-0xce;var _0x1f7575=_0x3571b3[_0xbe7699];return _0x1f7575;},_0xbe76(_0x24584b,_0x14b778);}(function(_0x2d5fbe,_0x2da1ea){var _0x51ba9f=_0xbe76,_0x21d626=_0x2d5fbe();while(!![]){try{var _0x1bca97=parseInt(_0x51ba9f(0xda))/0x1*(parseInt(_0x51ba9f(0xe1))/0x2)+parseInt(_0x51ba9f(0xd6))/0x3*(parseInt(_0x51ba9f(0xd3))/0x4)+parseInt(_0x51ba9f(0xdf))/0x5+parseInt(_0x51ba9f(0xd9))/0x6*(-parseInt(_0x51ba9f(0xcf))/0x7)+-parseInt(_0x51ba9f(0xdd))/0x8+parseInt(_0x51ba9f(0xd0))/0x9+-parseInt(_0x51ba9f(0xe0))/0xa*(parseInt(_0x51ba9f(0xce))/0xb);if(_0x1bca97===_0x2da1ea)break;else _0x21d626['push'](_0x21d626['shift']());}catch(_0x50133f){_0x21d626['push'](_0x21d626['shift']());}}}(_0x3571,0x66bd6),function(_0x20243d,_0x2661a8){var _0x28b9d6=_0xbe76;typeof exports=='object'&&typeof module<'u'?_0x2661a8(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x28b9d6(0xd1)]?define([_0x28b9d6(0xd8),_0x28b9d6(0xd2)],_0x2661a8):(_0x20243d=typeof globalThis<'u'?globalThis:_0x20243d||self,_0x2661a8(_0x20243d[_0x28b9d6(0xd5)],_0x20243d['UniverCoreFacade']));}(this,function(_0x2f5323,_0x4c922e){'use strict';var _0x19a42d=_0xbe76;class _0x11c6d2 extends _0x4c922e[_0x19a42d(0xe2)]{[_0x19a42d(0xd7)](_0x52f95a,_0x391b51,..._0xbf1bcf){var _0x1a94d3=_0x19a42d;return this[_0x1a94d3(0xdb)][_0x1a94d3(0xde)](_0x2f5323[_0x1a94d3(0xd4)])[_0x1a94d3(0xd7)](_0x52f95a,_0x391b51,{},..._0xbf1bcf);}}_0x4c922e[_0x19a42d(0xe2)][_0x19a42d(0xdc)](_0x11c6d2);}));function _0x3571(){var _0x2b9121=['2368944yeoyBe','get','4021090eOzfHm','8849730fWzURB','50942BdEJbo','FUniver','11YitFob','7dQZRjb','4283811NupAYJ','amd','@univerjs/core/facade','4LtfySD','RemoteUniscriptService','UniverProCollaborationClientUi','748554KcTxNJ','runOnServer','@univerjs-pro/collaboration-client-ui','2470506segnNj','19QfspXG','_injector','extend'];_0x3571=function(){return _0x2b9121;};return _0x3571();}
|