@univerjs-pro/collaboration-client-ui 1.0.0-alpha.8 → 1.0.0-beta.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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +10 -26
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/operations/update-remote-unit-presence.operation.d.ts +25 -0
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +2 -4
- package/lib/types/controllers/collab-cursor/unit-presence-collab-cursor-entity.d.ts +38 -0
- package/lib/types/controllers/collab-cursor/unit-presence-collab-cursor.controller.d.ts +21 -0
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +8 -13
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +1 -2
- package/lib/types/controllers/snapshot-loading/snapshot-loading.controller.d.ts +3 -15
- package/lib/types/locale/en-US.d.ts +0 -1
- package/lib/types/models/cursor.d.ts +0 -25
- package/lib/types/plugin.d.ts +3 -2
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +3 -3
- package/lib/types/views/components/SnapshotLoadingTimeout.d.ts +0 -4
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +6 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +19 -23
- package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +0 -31
- package/lib/types/controllers/collab-cursor/board-collab-cursor-render.controller.d.ts +0 -21
- package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +0 -34
- package/lib/types/controllers/collab-cursor/slide-collab-cursor-render.controller.d.ts +0 -21
- package/lib/types/views/shapes/slide-collab-cursor.shape.d.ts +0 -15
package/lib/es/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x531c(_0x404e00,_0x37487f){_0x404e00=_0x404e00-0xf8;const _0x171b3d=_0x171b();let _0x531cd6=_0x171b3d[_0x404e00];return _0x531cd6;}const _0x11ee9b=_0x531c;function _0x171b(){const _0x1bed62=['935124hVckUK','5yWIIQj','9TrQhnO','協作房間已滿,您的編輯將暫存於本機。','506832oRnRsL','已離線,編輯將儲存在本機','已同步','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','連線失敗,請檢查您的網絡。','正在擷取伺服器資料...','您有未儲存至伺服器的離線編輯,請檢查網絡後重試。','1048030xBCubX','公式計算佇列已滿,正在等待可用資源...','1318905pKORnL','109067EEiHTM','1714398tvlPxP','目前無法執行公式計算,請稍後重試。','171724cARcLR','由於協作房間已關閉,編輯權限已被收回。','248TdeZLd','公式計算已開始。'];_0x171b=function(){return _0x1bed62;};return _0x171b();}(function(_0x4c0d43,_0x1e922a){const _0x22670c=_0x531c,_0x4be5d0=_0x4c0d43();while(!![]){try{const _0x48aa1d=-parseInt(_0x22670c(0xf8))/0x1+parseInt(_0x22670c(0xfc))/0x2+parseInt(_0x22670c(0x10a))/0x3+-parseInt(_0x22670c(0x100))/0x4+-parseInt(_0x22670c(0xfd))/0x5*(-parseInt(_0x22670c(0x10c))/0x6)+parseInt(_0x22670c(0x10b))/0x7*(-parseInt(_0x22670c(0xfa))/0x8)+parseInt(_0x22670c(0xfe))/0x9*(-parseInt(_0x22670c(0x108))/0xa);if(_0x48aa1d===_0x1e922a)break;else _0x4be5d0['push'](_0x4be5d0['shift']());}catch(_0x42cb96){_0x4be5d0['push'](_0x4be5d0['shift']());}}}(_0x171b,0x4adfc));const e={'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x11ee9b(0x106),'conflict':'編輯衝突','notCollab':'本機檔案','synced':_0x11ee9b(0x102),'syncing':'同步中...','offline':_0x11ee9b(0x101)},'snapshotLoading':{'timeout':'資料載入停留在\x20{0}/{1},請重新整理頁面後再試。','refresh':'重新整理頁面'},'session':{'connection-failed':_0x11ee9b(0x105),'will-retry':'連線失敗,將在稍後重試連線。','room-full':_0x11ee9b(0xff),'collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'title':'協作衝突','content':_0x11ee9b(0x103)},'permission':{'title':'認證錯誤','content':'您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'},'collaboration':{'offline-data-not-saved':_0x11ee9b(0x107),'single-unit':{'warning':_0x11ee9b(0x104)},'closeRoom':_0x11ee9b(0xf9)},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'},'formula':{'calculation':{'started':_0x11ee9b(0xfb),'waiting':_0x11ee9b(0x109),'unable':_0x11ee9b(0x10d)}}}};export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x33f2(){const _0x2a1053=['重新整理頁面','72Ufczog','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','資料載入停留在\x20{0}/{1},請重新整理頁面後再試。','公式計算佇列已滿,正在等待可用資源...','75467qDUJGC','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','558874vUzvEe','3647310tFgWOv','5296437roifeh','5hYMKTE','公式計算已開始。','連線失敗,將在稍後重試連線。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','137109VPVtcv','由於協作房間已關閉,編輯權限已被收回。','點擊重新連線','本機檔案','已離線,編輯將儲存在本機','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','9993445jdOUtn','您有未儲存至伺服器的離線編輯,請檢查網路後重試。','38443836rVVWKF','正在擷取伺服器資料...','同步中...','16agBPVv','協作房間已滿,您的編輯將暫存於本機。','1wSnzDA','10CQXxgM','連線失敗,請檢查您的網路。'];_0x33f2=function(){return _0x2a1053;};return _0x33f2();}const _0x19d7fc=_0x59fd;(function(_0x3dedef,_0x494b59){const _0x8d5056=_0x59fd,_0x5ea338=_0x3dedef();while(!![]){try{const _0x7bf32a=parseInt(_0x8d5056(0x8c))/0x1*(-parseInt(_0x8d5056(0x96))/0x2)+parseInt(_0x8d5056(0x9d))/0x3*(-parseInt(_0x8d5056(0x8a))/0x4)+-parseInt(_0x8d5056(0x99))/0x5*(parseInt(_0x8d5056(0x97))/0x6)+-parseInt(_0x8d5056(0x94))/0x7*(parseInt(_0x8d5056(0x90))/0x8)+parseInt(_0x8d5056(0x98))/0x9*(-parseInt(_0x8d5056(0x8d))/0xa)+-parseInt(_0x8d5056(0x85))/0xb+parseInt(_0x8d5056(0x87))/0xc;if(_0x7bf32a===_0x494b59)break;else _0x5ea338['push'](_0x5ea338['shift']());}catch(_0xf6ee6e){_0x5ea338['push'](_0x5ea338['shift']());}}}(_0x33f2,0x83b6e));function _0x59fd(_0x599fae,_0x50ff0e){_0x599fae=_0x599fae-0x84;const _0x33f24d=_0x33f2();let _0x59fdc7=_0x33f24d[_0x599fae];return _0x59fdc7;}const e={'collaboration-client-ui':{'collabClient':{'tooltip':{'reconnect':_0x19d7fc(0x9f)}},'collabStatus':{'fetchMiss':_0x19d7fc(0x88),'conflict':'編輯衝突','notCollab':_0x19d7fc(0xa0),'synced':'已同步','syncing':_0x19d7fc(0x89),'offline':_0x19d7fc(0xa1)},'snapshotLoading':{'timeout':_0x19d7fc(0x92),'refresh':_0x19d7fc(0x8f)},'session':{'connection-failed':_0x19d7fc(0x8e),'will-retry':_0x19d7fc(0x9b),'room-full':_0x19d7fc(0x8b),'collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'title':'協作衝突','content':_0x19d7fc(0x95)},'permission':{'title':'認證錯誤','content':_0x19d7fc(0x91)},'collaboration':{'offline-data-not-saved':_0x19d7fc(0x86),'single-unit':{'warning':_0x19d7fc(0x9c)},'closeRoom':_0x19d7fc(0x9e)},'auth':{'needGotoLoginAlert':_0x19d7fc(0x84)},'formula':{'calculation':{'started':_0x19d7fc(0x9a),'waiting':_0x19d7fc(0x93),'unable':'目前無法執行公式計算,請稍後重試。'}}}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1bec(_0x449147,_0x4fb2ba){_0x449147=_0x449147-0xb0;var _0x201d06=_0x201d();var _0x1bec23=_0x201d06[_0x449147];return _0x1bec23;}var _0x5be083=_0x1bec;function _0x201d(){var _0x60a880=['1TArqLq','12054670TPLDuq','12yZALSF','1103977skHzMn','get','873154tUpmRv','11QfMxxh','781047EmXhZI','16EZMrVG','runOnServer','1578768qQEhZx','extend','2193368bBLvsM','795815UjFlMF','_injector'];_0x201d=function(){return _0x60a880;};return _0x201d();}(function(_0x3155dc,_0x45d49d){var _0x94f275=_0x1bec,_0x2fde46=_0x3155dc();while(!![]){try{var _0x1a2aea=-parseInt(_0x94f275(0xb0))/0x1*(-parseInt(_0x94f275(0xb5))/0x2)+parseInt(_0x94f275(0xba))/0x3+parseInt(_0x94f275(0xbc))/0x4+-parseInt(_0x94f275(0xbd))/0x5*(-parseInt(_0x94f275(0xb2))/0x6)+-parseInt(_0x94f275(0xb3))/0x7+-parseInt(_0x94f275(0xb8))/0x8*(parseInt(_0x94f275(0xb7))/0x9)+-parseInt(_0x94f275(0xb1))/0xa*(parseInt(_0x94f275(0xb6))/0xb);if(_0x1a2aea===_0x45d49d)break;else _0x2fde46['push'](_0x2fde46['shift']());}catch(_0x5dcb87){_0x2fde46['push'](_0x2fde46['shift']());}}}(_0x201d,0x47795));import{RemoteUniscriptService as _0x21abc8}from'@univerjs-pro/collaboration-client-ui';import{FUniver as _0x19e4ec}from'@univerjs/core/facade';var n=class extends _0x19e4ec{['runOnServer'](_0x3a9183,_0x48ffbf,..._0x4f30b7){var _0x26b660=_0x1bec;return this[_0x26b660(0xbe)][_0x26b660(0xb4)](_0x21abc8)[_0x26b660(0xb9)](_0x3a9183,_0x48ffbf,{},..._0x4f30b7);}};_0x19e4ec[_0x5be083(0xbb)](n);export{};
|
package/lib/index.css
CHANGED
|
@@ -2,13 +2,6 @@
|
|
|
2
2
|
position: fixed;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.univer-inset-0 {
|
|
6
|
-
top: 0;
|
|
7
|
-
bottom: 0;
|
|
8
|
-
left: 0;
|
|
9
|
-
right: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
5
|
.univer-left-1\/2 {
|
|
13
6
|
left: 50%;
|
|
14
7
|
}
|
|
@@ -17,10 +10,6 @@
|
|
|
17
10
|
top: 1rem;
|
|
18
11
|
}
|
|
19
12
|
|
|
20
|
-
.univer-z-\[1000\] {
|
|
21
|
-
z-index: 1000;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
13
|
.univer-z-\[1001\] {
|
|
25
14
|
z-index: 1001;
|
|
26
15
|
}
|
|
@@ -92,12 +81,7 @@
|
|
|
92
81
|
cursor: pointer;
|
|
93
82
|
}
|
|
94
83
|
|
|
95
|
-
.univer-cursor-wait {
|
|
96
|
-
cursor: wait;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
84
|
.univer-appearance-none {
|
|
100
|
-
-webkit-appearance: none;
|
|
101
85
|
appearance: none;
|
|
102
86
|
}
|
|
103
87
|
|
|
@@ -137,6 +121,10 @@
|
|
|
137
121
|
background-color: var(--univer-gray-700) !important;
|
|
138
122
|
}
|
|
139
123
|
|
|
124
|
+
.univer-bg-gray-0 {
|
|
125
|
+
background-color: var(--univer-gray-0);
|
|
126
|
+
}
|
|
127
|
+
|
|
140
128
|
.univer-bg-primary-500 {
|
|
141
129
|
background-color: var(--univer-primary-500);
|
|
142
130
|
}
|
|
@@ -145,10 +133,6 @@
|
|
|
145
133
|
background-color: #0000;
|
|
146
134
|
}
|
|
147
135
|
|
|
148
|
-
.univer-bg-white {
|
|
149
|
-
background-color: var(--univer-white);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
136
|
.univer-p-0 {
|
|
153
137
|
padding: 0;
|
|
154
138
|
}
|
|
@@ -187,6 +171,10 @@
|
|
|
187
171
|
color: var(--univer-blue-500);
|
|
188
172
|
}
|
|
189
173
|
|
|
174
|
+
.univer-text-gray-0 {
|
|
175
|
+
color: var(--univer-gray-0);
|
|
176
|
+
}
|
|
177
|
+
|
|
190
178
|
.univer-text-gray-400 {
|
|
191
179
|
color: var(--univer-gray-400);
|
|
192
180
|
}
|
|
@@ -211,10 +199,6 @@
|
|
|
211
199
|
color: var(--univer-red-500);
|
|
212
200
|
}
|
|
213
201
|
|
|
214
|
-
.univer-text-white {
|
|
215
|
-
color: var(--univer-white);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
202
|
.univer-shadow-lg {
|
|
219
203
|
--univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;
|
|
220
204
|
--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);
|
|
@@ -266,8 +250,8 @@
|
|
|
266
250
|
background-color: var(--univer-gray-700) !important;
|
|
267
251
|
}
|
|
268
252
|
|
|
269
|
-
.dark\:\!univer-text-
|
|
270
|
-
color: var(--univer-
|
|
253
|
+
.dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
|
|
254
|
+
color: var(--univer-gray-0) !important;
|
|
271
255
|
}
|
|
272
256
|
|
|
273
257
|
.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
|