@univerjs-pro/collaboration-client-ui 1.0.1 → 1.0.3

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.
Files changed (93) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.css +37 -0
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +32 -0
  66. package/lib/types/controllers/collab-cursor/board-collab-cursor-render.controller.d.ts +21 -0
  67. package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +35 -0
  68. package/lib/types/controllers/collab-cursor/slide-collab-cursor-render.controller.d.ts +21 -0
  69. package/lib/types/services/formula-calculation-guard/formula-calculation-guard.service.d.ts +38 -0
  70. package/lib/types/services/formula-calculation-guard/util.d.ts +11 -0
  71. package/lib/types/views/shapes/slide-collab-cursor.shape.d.ts +15 -0
  72. package/lib/umd/facade.js +1 -1
  73. package/lib/umd/index.js +1 -1
  74. package/lib/umd/locale/ar-SA.js +1 -1
  75. package/lib/umd/locale/ca-ES.js +1 -1
  76. package/lib/umd/locale/de-DE.js +1 -1
  77. package/lib/umd/locale/en-US.js +1 -1
  78. package/lib/umd/locale/es-ES.js +1 -1
  79. package/lib/umd/locale/fa-IR.js +1 -1
  80. package/lib/umd/locale/fr-FR.js +1 -1
  81. package/lib/umd/locale/id-ID.js +1 -1
  82. package/lib/umd/locale/it-IT.js +1 -1
  83. package/lib/umd/locale/ja-JP.js +1 -1
  84. package/lib/umd/locale/ko-KR.js +1 -1
  85. package/lib/umd/locale/pl-PL.js +1 -1
  86. package/lib/umd/locale/pt-BR.js +1 -1
  87. package/lib/umd/locale/ru-RU.js +1 -1
  88. package/lib/umd/locale/sk-SK.js +1 -1
  89. package/lib/umd/locale/vi-VN.js +1 -1
  90. package/lib/umd/locale/zh-CN.js +1 -1
  91. package/lib/umd/locale/zh-HK.js +1 -1
  92. package/lib/umd/locale/zh-TW.js +1 -1
  93. package/package.json +18 -18
@@ -1 +1 @@
1
- function _0x24ac(_0x3bec00,_0x4ff127){_0x3bec00=_0x3bec00-0x146;const _0x56e670=_0x56e6();let _0x24acc5=_0x56e670[_0x3bec00];return _0x24acc5;}const _0x343e74=_0x24ac;function _0x56e6(){const _0x35a6c0=['連線失敗,將在稍後重試連線。','連線失敗,請檢查您的網路。','4764780jgWlLb','由於協作房間已關閉,編輯權限已被收回。','4960530tXzuMq','正在擷取伺服器資料...','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','30aahzBP','重試並重新整理','資料載入停留在\x20{0}/{1},請重新整理頁面後再試。','113770kxwioG','協作衝突','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','147780SLYWst','4UmAEQr','772800RVFxGF','1089FxwHEZ','協作房間已滿,您的編輯將暫存於本機。','點擊重新連線','970688faHlJk','編輯衝突','伺服器未回應協作請求,您的編輯將儲存在本機。','認證錯誤','52652BatCqg','無法清除本機衝突資料。重新整理頁面可能再次還原異常資料,請重試。','正在處理協同衝突…','本機檔案','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。'];_0x56e6=function(){return _0x35a6c0;};return _0x56e6();}(function(_0x584adb,_0x1aa273){const _0x30a669=_0x24ac,_0x268dc5=_0x584adb();while(!![]){try{const _0x1f8651=parseInt(_0x30a669(0x15f))/0x1+parseInt(_0x30a669(0x14d))/0x2*(-parseInt(_0x30a669(0x159))/0x3)+parseInt(_0x30a669(0x160))/0x4*(parseInt(_0x30a669(0x156))/0x5)+parseInt(_0x30a669(0x154))/0x6+parseInt(_0x30a669(0x161))/0x7+parseInt(_0x30a669(0x149))/0x8+parseInt(_0x30a669(0x146))/0x9*(-parseInt(_0x30a669(0x15c))/0xa);if(_0x1f8651===_0x1aa273)break;else _0x268dc5['push'](_0x268dc5['shift']());}catch(_0x248e53){_0x268dc5['push'](_0x268dc5['shift']());}}}(_0x56e6,0x80633));const e={'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':_0x343e74(0x148)}},'collabStatus':{'fetchMiss':_0x343e74(0x157),'conflict':_0x343e74(0x14a),'notCollab':_0x343e74(0x150),'synced':'已同步','syncing':'同步中...','offline':'已離線,編輯將儲存在本機'},'snapshotLoading':{'timeout':_0x343e74(0x15b),'refresh':'重新整理頁面'},'session':{'connection-failed':_0x343e74(0x153),'will-retry':_0x343e74(0x152),'room-full':_0x343e74(0x147),'collaboration-timeout':_0x343e74(0x14b)},'conflict':{'processing':_0x343e74(0x14f),'clearFailed':_0x343e74(0x14e),'retry':_0x343e74(0x15a),'title':_0x343e74(0x15d),'content':_0x343e74(0x15e)},'permission':{'title':_0x343e74(0x14c),'content':_0x343e74(0x158)},'collaboration':{'offline-data-not-saved':'您有未儲存至伺服器的離線編輯,請檢查網路後重試。','single-unit':{'warning':_0x343e74(0x151)},'closeRoom':_0x343e74(0x155)},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'}}};export{e as default};
1
+ const _0x4df671=_0xe929;(function(_0x372373,_0xeb231b){const _0x1a5004=_0xe929,_0x28c6ce=_0x372373();while(!![]){try{const _0x5c71dd=-parseInt(_0x1a5004(0x82))/0x1*(-parseInt(_0x1a5004(0x87))/0x2)+-parseInt(_0x1a5004(0x9a))/0x3+-parseInt(_0x1a5004(0x8e))/0x4+-parseInt(_0x1a5004(0x91))/0x5+parseInt(_0x1a5004(0x89))/0x6*(parseInt(_0x1a5004(0x8c))/0x7)+-parseInt(_0x1a5004(0x83))/0x8+parseInt(_0x1a5004(0x8f))/0x9*(parseInt(_0x1a5004(0x86))/0xa);if(_0x5c71dd===_0xeb231b)break;else _0x28c6ce['push'](_0x28c6ce['shift']());}catch(_0x10ae05){_0x28c6ce['push'](_0x28c6ce['shift']());}}}(_0x30d8,0x558c6));const e={'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':_0x4df671(0x90)}},'collabStatus':{'fetchMiss':'正在擷取伺服器資料...','conflict':'編輯衝突','notCollab':_0x4df671(0x96),'synced':'已同步','syncing':_0x4df671(0x92),'offline':'已離線,編輯將儲存在本機'},'snapshotLoading':{'timeout':'資料載入停留在\x20{0}/{1},請重新整理頁面後再試。','refresh':_0x4df671(0x98)},'session':{'connection-failed':_0x4df671(0x8d),'will-retry':_0x4df671(0x84),'room-full':_0x4df671(0x94),'collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'processing':_0x4df671(0x95),'clearFailed':_0x4df671(0x8a),'retry':_0x4df671(0x93),'title':_0x4df671(0x88),'content':_0x4df671(0x97)},'permission':{'title':_0x4df671(0x85),'content':_0x4df671(0x8b)},'collaboration':{'offline-data-not-saved':'您有未儲存至伺服器的離線編輯,請檢查網路後重試。','single-unit':{'warning':_0x4df671(0x99)},'closeRoom':_0x4df671(0x9b)},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'}}};function _0xe929(_0x4d1f9d,_0xa16ddf){_0x4d1f9d=_0x4d1f9d-0x82;const _0x30d8d2=_0x30d8();let _0xe9291d=_0x30d8d2[_0x4d1f9d];return _0xe9291d;}export{e as default};function _0x30d8(){const _0x6ab242=['連線失敗,請檢查您的網路。','1619684eBMtZT','9wlKlLN','點擊重新連線','406100yINmYO','同步中...','重試並重新整理','協作房間已滿,您的編輯將暫存於本機。','正在處理協同衝突…','本機檔案','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','重新整理頁面','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','176241NJUOZS','由於協作房間已關閉,編輯權限已被收回。','20297cxhCjC','4218656BTYFqU','連線失敗,將在稍後重試連線。','認證錯誤','7574810CLikjR','30LHRVmw','協作衝突','1082070yjlFys','無法清除本機衝突資料。重新整理頁面可能再次還原異常資料,請重試。','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','14cRHDye'];_0x30d8=function(){return _0x6ab242;};return _0x30d8();}
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- var _0x433159=_0x4a3a;(function(_0x985cf1,_0x38d7e6){var _0x8c4efe=_0x4a3a,_0x37148a=_0x985cf1();while(!![]){try{var _0x2dbd6a=parseInt(_0x8c4efe(0xde))/0x1+-parseInt(_0x8c4efe(0xdd))/0x2+parseInt(_0x8c4efe(0xdc))/0x3+-parseInt(_0x8c4efe(0xe1))/0x4*(-parseInt(_0x8c4efe(0xdb))/0x5)+-parseInt(_0x8c4efe(0xe3))/0x6+-parseInt(_0x8c4efe(0xd6))/0x7*(parseInt(_0x8c4efe(0xd9))/0x8)+parseInt(_0x8c4efe(0xd8))/0x9*(parseInt(_0x8c4efe(0xda))/0xa);if(_0x2dbd6a===_0x38d7e6)break;else _0x37148a['push'](_0x37148a['shift']());}catch(_0x2a3974){_0x37148a['push'](_0x37148a['shift']());}}}(_0x52f5,0xd2aad));import{RemoteUniscriptService as _0x12f8c3}from'@univerjs-pro/collaboration-client-ui';import{FUniver as _0x19c6ac}from'@univerjs/core/facade';var n=class extends _0x19c6ac{[_0x433159(0xe2)](_0x31afe5,_0x95a440,..._0x2a6282){var _0xcea683=_0x433159;return this[_0xcea683(0xd7)][_0xcea683(0xdf)](_0x12f8c3)[_0xcea683(0xe2)](_0x31afe5,_0x95a440,{},..._0x2a6282);}};_0x19c6ac[_0x433159(0xe0)](n);function _0x4a3a(_0x47726c,_0x404936){_0x47726c=_0x47726c-0xd6;var _0x52f59c=_0x52f5();var _0x4a3a37=_0x52f59c[_0x47726c];return _0x4a3a37;}function _0x52f5(){var _0x3ba265=['get','extend','135544tnPKFr','runOnServer','3708900NpAkOd','151333BIDmTc','_injector','18lGGaRN','48dzroWL','1934650aTxNXK','115scpZQB','401433TdJcVe','823228EbbOgJ','722252KmGgaH'];_0x52f5=function(){return _0x3ba265;};return _0x52f5();}export{};
1
+ var _0x138718=_0x975c;function _0x975c(_0x3f9b69,_0x2a53e5){_0x3f9b69=_0x3f9b69-0x17b;var _0x495568=_0x4955();var _0x975c85=_0x495568[_0x3f9b69];return _0x975c85;}(function(_0x1ac1fd,_0x5f0546){var _0x489eb1=_0x975c,_0xf323bd=_0x1ac1fd();while(!![]){try{var _0x73820=-parseInt(_0x489eb1(0x183))/0x1+parseInt(_0x489eb1(0x181))/0x2+-parseInt(_0x489eb1(0x182))/0x3*(-parseInt(_0x489eb1(0x17b))/0x4)+parseInt(_0x489eb1(0x17c))/0x5+parseInt(_0x489eb1(0x184))/0x6+parseInt(_0x489eb1(0x187))/0x7*(parseInt(_0x489eb1(0x180))/0x8)+-parseInt(_0x489eb1(0x17f))/0x9;if(_0x73820===_0x5f0546)break;else _0xf323bd['push'](_0xf323bd['shift']());}catch(_0x996457){_0xf323bd['push'](_0xf323bd['shift']());}}}(_0x4955,0x668bf));import{RemoteUniscriptService as _0x1754d1}from'@univerjs-pro/collaboration-client-ui';import{FUniver as _0x59b5d1}from'@univerjs/core/facade';var n=class extends _0x59b5d1{[_0x138718(0x17e)](_0x1081d5,_0x442bb3,..._0x198097){var _0x246a66=_0x138718;return this[_0x246a66(0x17d)][_0x246a66(0x185)](_0x1754d1)[_0x246a66(0x17e)](_0x1081d5,_0x442bb3,{},..._0x198097);}};_0x59b5d1[_0x138718(0x186)](n);function _0x4955(){var _0x1075fc=['3919286gSDTUK','4fRndmQ','1172490arcIYp','_injector','runOnServer','13181850EBugZb','8bzGCsL','1161580PJLtaV','322521PGTvTw','185844zzFJGw','3526992IvLipC','get','extend'];_0x4955=function(){return _0x1075fc;};return _0x4955();}export{};
package/lib/index.css CHANGED
@@ -14,6 +14,18 @@
14
14
  z-index: 1001;
15
15
  }
16
16
 
17
+ .univer-col-start-2 {
18
+ grid-column-start: 2;
19
+ }
20
+
21
+ .univer-row-start-2 {
22
+ grid-row-start: 2;
23
+ }
24
+
25
+ .\!univer-m-0 {
26
+ margin: 0 !important;
27
+ }
28
+
17
29
  .univer-m-0 {
18
30
  margin: 0;
19
31
  }
@@ -26,6 +38,10 @@
26
38
  display: inline-flex;
27
39
  }
28
40
 
41
+ .\!univer-grid {
42
+ display: grid !important;
43
+ }
44
+
29
45
  .univer-size-4 {
30
46
  width: 1rem;
31
47
  height: 1rem;
@@ -85,10 +101,18 @@
85
101
  appearance: none;
86
102
  }
87
103
 
104
+ .univer-grid-cols-\[16px_minmax\(0\,1fr\)\] {
105
+ grid-template-columns: 16px minmax(0, 1fr);
106
+ }
107
+
88
108
  .univer-flex-col {
89
109
  flex-direction: column;
90
110
  }
91
111
 
112
+ .univer-items-start {
113
+ align-items: flex-start;
114
+ }
115
+
92
116
  .univer-items-center {
93
117
  align-items: center;
94
118
  }
@@ -109,6 +133,19 @@
109
133
  gap: 1rem;
110
134
  }
111
135
 
136
+ .univer-gap-x-1\.5 {
137
+ -moz-column-gap: .375rem;
138
+ column-gap: .375rem;
139
+ }
140
+
141
+ .univer-gap-y-2 {
142
+ row-gap: .5rem;
143
+ }
144
+
145
+ .univer-justify-self-end {
146
+ justify-self: end;
147
+ }
148
+
112
149
  .univer-rounded-lg {
113
150
  border-radius: .5rem;
114
151
  }