@univerjs-pro/boards-table-ui 1.0.0-rc.0 → 1.0.0
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/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/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/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/controllers/board-table-floating-toolbar.render-controller.d.ts +2 -1
- package/lib/types/controllers/board-table-selection-render.controller.d.ts +76 -16
- package/lib/types/controllers/components.controller.d.ts +2 -2
- package/lib/types/controllers/mobile/board-table-selection-render.controller.d.ts +36 -0
- package/lib/types/controllers/mobile/components.controller.d.ts +22 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/locale/en-US.d.ts +11 -0
- package/lib/types/menu/board-table-contextmenu.menu.d.ts +10 -10
- package/lib/types/mobile-plugin.d.ts +29 -0
- package/lib/types/plugin.d.ts +5 -2
- package/lib/types/render-adapters/board-table-render-adapter.const.d.ts +1 -0
- package/lib/types/render-adapters/board-table-render-adapter.d.ts +2 -3
- package/lib/types/render-adapters/mobile-board-table-render-adapter.d.ts +4 -0
- package/lib/types/render-objects/mobile/mobile-board-table-object.d.ts +8 -0
- package/lib/types/views/BoardTableFloatingToolbar.d.ts +22 -1
- package/lib/types/views/MobileBoardTableFloatingToolbar.d.ts +2 -0
- 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 +23 -21
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x50b5(){const _0x10ddfd=['Стили','Внутренняя\x20горизонтальная\x20граница','1195820pAhRHy','Чередующиеся\x20строки','Вставить\x20строку\x20ниже','Вставить\x20столбец\x20слева','Прозрачность','Удалить','Нет','Назад','Левая\x20граница','Разъединить\x20ячейки','Выровнять\x20по\x20середине','3VUVLqw','Тема\x20таблицы','Строка\x20итогов','Курсив','Точки','Ширина\x20границы','Удалить\x20таблицу','Выровнять\x20по\x20нижнему\x20краю','Светлая','По\x20ширине','1499142uwRKFl','18935xHSVMs','Удалить\x20столбец','Цвет\x20фона\x20таблицы','11bmmOUJ','Цвет\x20фона\x20текста','Строка\x20заголовка','Чередующиеся\x20столбцы','1113900HpRYkY','Удалить\x20строку','Вставить\x20строку\x20выше','Выровнять\x20по\x20центру','Градиент','Правая\x20граница','11481426VODTli','Без\x20заливки','Сплошная','Штрих-пунктир','Цвет','413OZsCnN','Лучшее\x20совпадение','Источник\x20изображения','Все\x20границы','Вставить\x20столбец\x20справа','Объединить\x20ячейки','Свернуть','Развернуть','Внутренняя\x20вертикальная\x20граница','546tcRukX','Последний\x20столбец','Изображение','Горизонтальное\x20выравнивание','103312ojkHqe','813828BHjQRe','Распределить\x20столбцы','Вертикальное\x20выравнивание','Вид\x20таблицы','Цвет\x20границы','Вставить\x20изображение','Вставить','Стиль\x20ячейки','Стиль\x20границы','Размер\x20шрифта','Цвет\x20текста','Пунктир','Шрифт'];_0x50b5=function(){return _0x10ddfd;};return _0x50b5();}const _0x790c7d=_0x3bc3;(function(_0x558159,_0xe27f91){const _0xe67a3d=_0x3bc3,_0x22c118=_0x558159();while(!![]){try{const _0x16b88f=parseInt(_0xe67a3d(0x113))/0x1+-parseInt(_0xe67a3d(0x11b))/0x2+parseInt(_0xe67a3d(0x109))/0x3*(-parseInt(_0xe67a3d(0xef))/0x4)+-parseInt(_0xe67a3d(0x114))/0x5*(parseInt(_0xe67a3d(0x12f))/0x6)+parseInt(_0xe67a3d(0x126))/0x7*(-parseInt(_0xe67a3d(0xee))/0x8)+parseInt(_0xe67a3d(0x121))/0x9+parseInt(_0xe67a3d(0xfe))/0xa*(-parseInt(_0xe67a3d(0x117))/0xb);if(_0x16b88f===_0xe27f91)break;else _0x22c118['push'](_0x22c118['shift']());}catch(_0x49c850){_0x22c118['push'](_0x22c118['shift']());}}}(_0x50b5,0xc0764));function _0x3bc3(_0x46b8f4,_0x2c9a0b){_0x46b8f4=_0x46b8f4-0xec;const _0x50b5c2=_0x50b5();let _0x3bc387=_0x50b5c2[_0x46b8f4];return _0x3bc387;}const e={'boards-table-ui':{'mobile':{'cellStyle':_0x790c7d(0xf6),'selectColumn':'Выбрать\x20столбец','operations':'Макет','selectCell':'Выбрать\x20ячейку','edit':_0x790c7d(0xfc),'close':'Закрыть','expand':_0x790c7d(0x12d),'collapse':_0x790c7d(0x12c),'back':_0x790c7d(0x105)},'contextMenu':{'insert':_0x790c7d(0xf5),'delete':_0x790c7d(0x103),'distribute':'Распределить','insertRowAbove':_0x790c7d(0x11d),'insertRowBelow':_0x790c7d(0x100),'insertColumnLeft':_0x790c7d(0x101),'insertColumnRight':_0x790c7d(0x12a),'deleteRow':_0x790c7d(0x11c),'deleteColumn':_0x790c7d(0x115),'deleteTable':_0x790c7d(0x10f),'distributeRows':'Распределить\x20строки','distributeColumns':_0x790c7d(0xf0),'resetColor':'Сбросить\x20цвет'},'editorToolbar':{'mergeCells':_0x790c7d(0x12b),'unmergeCells':_0x790c7d(0x107),'tableTheme':_0x790c7d(0x10a),'tableLook':_0x790c7d(0xf2),'headerRow':_0x790c7d(0x119),'footerRow':_0x790c7d(0x10b),'bandedRows':_0x790c7d(0xff),'bandedColumns':_0x790c7d(0x11a),'firstColumn':'Первый\x20столбец','lastColumn':_0x790c7d(0x130),'bestMatch':_0x790c7d(0x127),'light':_0x790c7d(0x111),'medium':'Средняя','minimal':'Минимальная','cellBackground':'Фон\x20ячейки','allBorders':_0x790c7d(0x129),'tableBackgroundColor':_0x790c7d(0x116),'border':'Граница','tableBorderColor':_0x790c7d(0xf3),'borderWidth':_0x790c7d(0x10e),'borderStyle':_0x790c7d(0xf7),'borderStyleSolid':'Сплошная','borderStyleDash':_0x790c7d(0xfa),'borderStyleDot':_0x790c7d(0x10d),'borderStyleDashDot':_0x790c7d(0x124),'borderPresetAll':_0x790c7d(0x129),'borderPresetInner':'Внутренние\x20границы','borderPresetOuter':'Внешние\x20границы','borderPresetTop':'Верхняя\x20граница','borderPresetBottom':'Нижняя\x20граница','borderPresetLeft':_0x790c7d(0x106),'borderPresetRight':_0x790c7d(0x120),'borderPresetInnerHorizontal':_0x790c7d(0xfd),'borderPresetInnerVertical':_0x790c7d(0x12e),'noBorder':'Без\x20границы','none':_0x790c7d(0x104),'fontFamily':_0x790c7d(0xfb),'fontSize':_0x790c7d(0xf8),'textFormat':'Формат\x20текста','textColor':_0x790c7d(0xf9),'textBackgroundColor':_0x790c7d(0x118),'bold':'Полужирный','italic':_0x790c7d(0x10c),'underline':'Подчеркнутый','strikethrough':'Зачеркнутый','horizontalAlign':_0x790c7d(0xed),'verticalAlign':_0x790c7d(0xf1),'alignLeft':'Выровнять\x20влево','alignCenter':_0x790c7d(0x11e),'alignRight':'Выровнять\x20вправо','alignJustify':_0x790c7d(0x112),'alignTop':'Выровнять\x20по\x20верхнему\x20краю','alignMiddle':_0x790c7d(0x108),'alignBottom':_0x790c7d(0x110)},'shapePanel':{'fill':{'noFill':_0x790c7d(0x122),'solidFill':_0x790c7d(0x123),'gradientFill':_0x790c7d(0x11f),'pictureFill':_0x790c7d(0xec),'color':_0x790c7d(0x125),'transparency':_0x790c7d(0x102),'picture':{'source':_0x790c7d(0x128),'insert':_0x790c7d(0xf4)}}}}};export{e as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2e7b0d=_0x3e24;(function(_0x32d87d,_0x3fd2c5){const _0x24fee3=_0x3e24,_0x59617b=_0x32d87d();while(!![]){try{const _0x41c37f=-parseInt(_0x24fee3(0x147))/0x1*(-parseInt(_0x24fee3(0x11c))/0x2)+parseInt(_0x24fee3(0x125))/0x3+parseInt(_0x24fee3(0x14a))/0x4*(-parseInt(_0x24fee3(0x118))/0x5)+-parseInt(_0x24fee3(0x15d))/0x6*(-parseInt(_0x24fee3(0x14d))/0x7)+parseInt(_0x24fee3(0x144))/0x8*(parseInt(_0x24fee3(0x14b))/0x9)+-parseInt(_0x24fee3(0x132))/0xa+parseInt(_0x24fee3(0x140))/0xb*(parseInt(_0x24fee3(0x129))/0xc);if(_0x41c37f===_0x3fd2c5)break;else _0x59617b['push'](_0x59617b['shift']());}catch(_0x378c0f){_0x59617b['push'](_0x59617b['shift']());}}}(_0x5a62,0xec4c6));const e={'boards-table-ui':{'mobile':{'cellStyle':_0x2e7b0d(0x133),'selectColumn':_0x2e7b0d(0x154),'operations':'Rozloženie','selectCell':_0x2e7b0d(0x127),'edit':_0x2e7b0d(0x12b),'close':'Zavrieť','expand':_0x2e7b0d(0x157),'collapse':_0x2e7b0d(0x13f),'back':_0x2e7b0d(0x138)},'contextMenu':{'insert':_0x2e7b0d(0x141),'delete':_0x2e7b0d(0x123),'distribute':_0x2e7b0d(0x13e),'insertRowAbove':_0x2e7b0d(0x159),'insertRowBelow':_0x2e7b0d(0x126),'insertColumnLeft':_0x2e7b0d(0x13d),'insertColumnRight':_0x2e7b0d(0x11a),'deleteRow':_0x2e7b0d(0x14e),'deleteColumn':_0x2e7b0d(0x158),'deleteTable':_0x2e7b0d(0x136),'distributeRows':_0x2e7b0d(0x14c),'distributeColumns':_0x2e7b0d(0x135),'resetColor':_0x2e7b0d(0x13a)},'editorToolbar':{'mergeCells':_0x2e7b0d(0x153),'unmergeCells':_0x2e7b0d(0x15b),'tableTheme':'Motív\x20tabuľky','tableLook':_0x2e7b0d(0x13b),'headerRow':_0x2e7b0d(0x131),'footerRow':'Riadok\x20päty','bandedRows':_0x2e7b0d(0x12e),'bandedColumns':'Pruhované\x20stĺpce','firstColumn':'Prvý\x20stĺpec','lastColumn':_0x2e7b0d(0x12c),'bestMatch':_0x2e7b0d(0x15a),'light':_0x2e7b0d(0x130),'medium':_0x2e7b0d(0x156),'minimal':'Minimálny','cellBackground':'Pozadie\x20bunky','allBorders':'Všetky\x20orámovania','tableBackgroundColor':_0x2e7b0d(0x117),'border':_0x2e7b0d(0x119),'tableBorderColor':_0x2e7b0d(0x145),'borderWidth':_0x2e7b0d(0x149),'borderStyle':_0x2e7b0d(0x12d),'borderStyleSolid':_0x2e7b0d(0x146),'borderStyleDash':_0x2e7b0d(0x11e),'borderStyleDot':_0x2e7b0d(0x15e),'borderStyleDashDot':_0x2e7b0d(0x150),'borderPresetAll':_0x2e7b0d(0x12f),'borderPresetInner':_0x2e7b0d(0x11d),'borderPresetOuter':_0x2e7b0d(0x152),'borderPresetTop':_0x2e7b0d(0x114),'borderPresetBottom':_0x2e7b0d(0x122),'borderPresetLeft':_0x2e7b0d(0x137),'borderPresetRight':'Pravé\x20orámovanie','borderPresetInnerHorizontal':_0x2e7b0d(0x124),'borderPresetInnerVertical':'Vnútorné\x20zvislé\x20orámovanie','noBorder':_0x2e7b0d(0x148),'none':'Žiadne','fontFamily':_0x2e7b0d(0x15c),'fontSize':'Veľkosť\x20písma','textFormat':'Formát\x20textu','textColor':'Farba\x20textu','textBackgroundColor':_0x2e7b0d(0x12a),'bold':_0x2e7b0d(0x116),'italic':'Kurzíva','underline':_0x2e7b0d(0x120),'strikethrough':_0x2e7b0d(0x11b),'horizontalAlign':_0x2e7b0d(0x151),'verticalAlign':'Zvislé\x20zarovnanie','alignLeft':_0x2e7b0d(0x115),'alignCenter':_0x2e7b0d(0x143),'alignRight':_0x2e7b0d(0x13c),'alignJustify':_0x2e7b0d(0x142),'alignTop':'Zarovnať\x20nahor','alignMiddle':_0x2e7b0d(0x143),'alignBottom':_0x2e7b0d(0x128)},'shapePanel':{'fill':{'noFill':_0x2e7b0d(0x121),'solidFill':_0x2e7b0d(0x146),'gradientFill':_0x2e7b0d(0x14f),'pictureFill':_0x2e7b0d(0x11f),'color':'Farba','transparency':_0x2e7b0d(0x139),'picture':{'source':_0x2e7b0d(0x134),'insert':_0x2e7b0d(0x155)}}}}};function _0x3e24(_0x3813ae,_0x368c48){_0x3813ae=_0x3813ae-0x114;const _0x5a624e=_0x5a62();let _0x3e24da=_0x5a624e[_0x3813ae];return _0x3e24da;}export{e as default};function _0x5a62(){const _0x3b2ad8=['Priehľadnosť','Obnoviť\x20farbu','Vzhľad\x20tabuľky','Zarovnať\x20doprava','Vložiť\x20stĺpec\x20vľavo','Rozložiť','Zbaliť','8028801DdEtiz','Vložiť','Zarovnať\x20do\x20bloku','Zarovnať\x20na\x20stred','9757440Tozeeo','Farba\x20orámovania','Plná','4226MHJgaj','Bez\x20orámovania','Šírka\x20orámovania','85372oHwkfC','9ZGkece','Rozložiť\x20riadky','511KWxWBz','Odstrániť\x20riadok','Prechod','Čiarka\x20bodka','Vodorovné\x20zarovnanie','Vonkajšie\x20orámovania','Zlúčiť\x20bunky','Vybrať\x20stĺpec','Vložiť\x20obrázok','Stredný','Rozbaliť','Odstrániť\x20stĺpec','Vložiť\x20riadok\x20nad','Najlepšia\x20zhoda','Zrušiť\x20zlúčenie\x20buniek','Písmo','18882qsTUcb','Bodkovaná','Horné\x20orámovanie','Zarovnať\x20doľava','Tučné','Farba\x20pozadia\x20tabuľky','445NZXrxm','Orámovanie','Vložiť\x20stĺpec\x20vpravo','Prečiarknuté','160YCeLXX','Vnútorné\x20orámovania','Čiarkovaná','Obrázok','Podčiarknuté','Bez\x20výplne','Dolné\x20orámovanie','Odstrániť','Vnútorné\x20vodorovné\x20orámovanie','3332670iIeLhP','Vložiť\x20riadok\x20pod','Vybrať\x20bunku','Zarovnať\x20nadol','12zDOJkh','Farba\x20pozadia\x20textu','Štýly','Posledný\x20stĺpec','Štýl\x20orámovania','Pruhované\x20riadky','Všetky\x20orámovania','Svetlý','Riadok\x20hlavičky','7608670utxEnq','Štýl\x20bunky','Zdroj\x20obrázka','Rozložiť\x20stĺpce','Odstrániť\x20tabuľku','Ľavé\x20orámovanie','Späť'];_0x5a62=function(){return _0x3b2ad8;};return _0x5a62();}
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x910b(_0x1d2b77,_0x48635f){_0x1d2b77=_0x1d2b77-0xe7;const _0x3bf5d9=_0x3bf5();let _0x910b8c=_0x3bf5d9[_0x1d2b77];return _0x910b8c;}const _0x1cf981=_0x910b;(function(_0x923e1d,_0x349497){const _0x19aa95=_0x910b,_0x52151b=_0x923e1d();while(!![]){try{const _0xd188f9=-parseInt(_0x19aa95(0x118))/0x1*(-parseInt(_0x19aa95(0x107))/0x2)+-parseInt(_0x19aa95(0x117))/0x3*(parseInt(_0x19aa95(0x122))/0x4)+-parseInt(_0x19aa95(0xe9))/0x5+parseInt(_0x19aa95(0x114))/0x6*(-parseInt(_0x19aa95(0xf3))/0x7)+parseInt(_0x19aa95(0x121))/0x8*(parseInt(_0x19aa95(0xfd))/0x9)+-parseInt(_0x19aa95(0xfe))/0xa+parseInt(_0x19aa95(0x12a))/0xb*(parseInt(_0x19aa95(0x102))/0xc);if(_0xd188f9===_0x349497)break;else _0x52151b['push'](_0x52151b['shift']());}catch(_0x2f6101){_0x52151b['push'](_0x52151b['shift']());}}}(_0x3bf5,0xbd511));const e={'boards-table-ui':{'mobile':{'cellStyle':_0x1cf981(0x124),'selectColumn':_0x1cf981(0x11d),'operations':'Bố\x20cục','selectCell':_0x1cf981(0x10f),'edit':_0x1cf981(0xef),'close':_0x1cf981(0xf5),'expand':_0x1cf981(0x120),'collapse':'Thu\x20gọn','back':'Quay\x20lại'},'contextMenu':{'insert':_0x1cf981(0xfa),'delete':'Xóa','distribute':'Phân\x20bố','insertRowAbove':_0x1cf981(0x112),'insertRowBelow':_0x1cf981(0xea),'insertColumnLeft':'Chèn\x20cột\x20bên\x20trái','insertColumnRight':'Chèn\x20cột\x20bên\x20phải','deleteRow':_0x1cf981(0x111),'deleteColumn':_0x1cf981(0xf0),'deleteTable':_0x1cf981(0x10e),'distributeRows':_0x1cf981(0x101),'distributeColumns':_0x1cf981(0x10b),'resetColor':_0x1cf981(0xe7)},'editorToolbar':{'mergeCells':_0x1cf981(0x106),'unmergeCells':'Bỏ\x20gộp\x20ô','tableTheme':_0x1cf981(0xec),'tableLook':_0x1cf981(0xed),'headerRow':_0x1cf981(0x128),'footerRow':_0x1cf981(0x110),'bandedRows':_0x1cf981(0x11c),'bandedColumns':_0x1cf981(0x12d),'firstColumn':'Cột\x20đầu\x20tiên','lastColumn':_0x1cf981(0xe8),'bestMatch':_0x1cf981(0x11b),'light':_0x1cf981(0x10a),'medium':_0x1cf981(0x115),'minimal':_0x1cf981(0x12c),'cellBackground':_0x1cf981(0x127),'allBorders':_0x1cf981(0x11e),'tableBackgroundColor':_0x1cf981(0x11a),'border':'Viền','tableBorderColor':_0x1cf981(0xf7),'borderWidth':_0x1cf981(0x113),'borderStyle':_0x1cf981(0x11f),'borderStyleSolid':_0x1cf981(0xf9),'borderStyleDash':'Gạch','borderStyleDot':_0x1cf981(0xf1),'borderStyleDashDot':_0x1cf981(0x100),'borderPresetAll':'Tất\x20cả\x20viền','borderPresetInner':_0x1cf981(0x109),'borderPresetOuter':'Viền\x20bên\x20ngoài','borderPresetTop':'Viền\x20trên','borderPresetBottom':'Viền\x20dưới','borderPresetLeft':_0x1cf981(0xf2),'borderPresetRight':_0x1cf981(0x105),'borderPresetInnerHorizontal':'Viền\x20ngang\x20bên\x20trong','borderPresetInnerVertical':'Viền\x20dọc\x20bên\x20trong','noBorder':_0x1cf981(0xfb),'none':_0x1cf981(0xff),'fontFamily':'Phông\x20chữ','fontSize':'Cỡ\x20chữ','textFormat':_0x1cf981(0x10c),'textColor':_0x1cf981(0x126),'textBackgroundColor':'Màu\x20nền\x20văn\x20bản','bold':'Đậm','italic':_0x1cf981(0x12b),'underline':_0x1cf981(0x10d),'strikethrough':_0x1cf981(0x103),'horizontalAlign':_0x1cf981(0xee),'verticalAlign':_0x1cf981(0x119),'alignLeft':'Căn\x20trái','alignCenter':_0x1cf981(0x123),'alignRight':_0x1cf981(0xf6),'alignJustify':'Căn\x20đều','alignTop':_0x1cf981(0xeb),'alignMiddle':'Căn\x20giữa\x20theo\x20chiều\x20dọc','alignBottom':_0x1cf981(0x129)},'shapePanel':{'fill':{'noFill':_0x1cf981(0x116),'solidFill':_0x1cf981(0xf8),'gradientFill':_0x1cf981(0x108),'pictureFill':_0x1cf981(0xfc),'color':_0x1cf981(0x104),'transparency':'Độ\x20trong\x20suốt','picture':{'source':_0x1cf981(0xf4),'insert':_0x1cf981(0x125)}}}}};function _0x3bf5(){const _0x14daea=['Đặt\x20lại\x20màu','Cột\x20cuối\x20cùng','2419900nyNmay','Chèn\x20hàng\x20phía\x20dưới','Căn\x20trên','Chủ\x20đề\x20bảng','Kiểu\x20bảng','Căn\x20ngang','Kiểu','Xóa\x20cột','Chấm','Viền\x20trái','8391523VnyVjg','Nguồn\x20ảnh','Đóng','Căn\x20phải','Màu\x20viền','Màu\x20đặc','Liền','Chèn','Không\x20viền','Ảnh','1322118RcFSXL','1281010hGoPFb','Không\x20có','Gạch\x20chấm','Phân\x20bố\x20hàng','201648IQUbEP','Gạch\x20ngang','Màu','Viền\x20phải','Gộp\x20ô','14KtdDuz','Chuyển\x20sắc','Viền\x20bên\x20trong','Sáng','Phân\x20bố\x20cột','Định\x20dạng\x20văn\x20bản','Gạch\x20chân','Xóa\x20bảng','Chọn\x20ô','Hàng\x20chân\x20bảng','Xóa\x20hàng','Chèn\x20hàng\x20phía\x20trên','Độ\x20rộng\x20viền','6LmnrXA','Trung\x20bình','Không\x20tô','417465uhmEMn','174969DgdLNo','Căn\x20dọc','Màu\x20nền\x20bảng','Phù\x20hợp\x20nhất','Hàng\x20xen\x20kẽ','Chọn\x20cột','Tất\x20cả\x20viền','Kiểu\x20viền','Mở\x20rộng','40elwCWW','24gPDIFx','Căn\x20giữa','Kiểu\x20ô','Chèn\x20ảnh','Màu\x20văn\x20bản','Nền\x20ô','Hàng\x20tiêu\x20đề','Căn\x20dưới','957gVJLNH','Nghiêng','Tối\x20giản','Cột\x20xen\x20kẽ'];_0x3bf5=function(){return _0x14daea;};return _0x3bf5();}export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x73da3c=_0xab31;function _0x5013(){const _0xd2909d=['内部水平边框','113773lTefwZ','边框颜色','图片来源','7329425sEeXnK','在右侧插入列','镶边列','1306378lLpAGq','最后一列','2ljiUKe','4812876YiIdgW','顶部对齐','镶边行','单元格样式','单元格背景','1113840yjmvEX','948232nnqRYp','删除表格','590EzjtXH','垂直对齐','插入图片','表格背景色','底部对齐','删除线','删除列','边框样式','9ZNocRt','无边框','边框宽度','透明度','第一列','所有边框','无填充','文本格式','表格样式','点划线','下边框','右边框','内部边框','左对齐','选择列','重置颜色','在上方插入行','在下方插入行','3ERtIdB','4416265jrFPBH','取消合并单元格','文本颜色','下划线','平均分布行','在左侧插入列','汇总行','删除行','居中对齐'];_0x5013=function(){return _0xd2909d;};return _0x5013();}(function(_0xd6973b,_0x140085){const _0x5d430a=_0xab31,_0x54a581=_0xd6973b();while(!![]){try{const _0xea0523=-parseInt(_0x5d430a(0x1ef))/0x1*(-parseInt(_0x5d430a(0x1ed))/0x2)+parseInt(_0x5d430a(0x1dc))/0x3*(parseInt(_0x5d430a(0x1f5))/0x4)+-parseInt(_0x5d430a(0x1ea))/0x5+parseInt(_0x5d430a(0x1f0))/0x6+parseInt(_0x5d430a(0x1dd))/0x7+parseInt(_0x5d430a(0x1f6))/0x8*(-parseInt(_0x5d430a(0x200))/0x9)+-parseInt(_0x5d430a(0x1f8))/0xa*(parseInt(_0x5d430a(0x1e7))/0xb);if(_0xea0523===_0x140085)break;else _0x54a581['push'](_0x54a581['shift']());}catch(_0x5308e3){_0x54a581['push'](_0x54a581['shift']());}}}(_0x5013,0xc8fbc));function _0xab31(_0x5a4dae,_0x230f69){_0x5a4dae=_0x5a4dae-0x1da;const _0x50131c=_0x5013();let _0xab3187=_0x50131c[_0x5a4dae];return _0xab3187;}const e={'boards-table-ui':{'mobile':{'cellStyle':_0x73da3c(0x1f3),'selectColumn':_0x73da3c(0x20e),'operations':'布局','selectCell':'选择单元格','edit':'样式','close':'关闭','expand':'展开','collapse':'收起','back':'返回'},'contextMenu':{'insert':'插入','delete':'删除','distribute':'分布','insertRowAbove':_0x73da3c(0x1da),'insertRowBelow':_0x73da3c(0x1db),'insertColumnLeft':_0x73da3c(0x1e2),'insertColumnRight':_0x73da3c(0x1eb),'deleteRow':_0x73da3c(0x1e4),'deleteColumn':_0x73da3c(0x1fe),'deleteTable':_0x73da3c(0x1f7),'distributeRows':_0x73da3c(0x1e1),'distributeColumns':'平均分布列','resetColor':_0x73da3c(0x20f)},'editorToolbar':{'mergeCells':'合并单元格','unmergeCells':_0x73da3c(0x1de),'tableTheme':'表格主题','tableLook':_0x73da3c(0x208),'headerRow':'标题行','footerRow':_0x73da3c(0x1e3),'bandedRows':_0x73da3c(0x1f2),'bandedColumns':_0x73da3c(0x1ec),'firstColumn':_0x73da3c(0x204),'lastColumn':_0x73da3c(0x1ee),'bestMatch':'最佳匹配','light':'浅色','medium':'中等','minimal':'简约','cellBackground':_0x73da3c(0x1f4),'allBorders':_0x73da3c(0x205),'tableBackgroundColor':_0x73da3c(0x1fb),'border':'边框','tableBorderColor':_0x73da3c(0x1e8),'borderWidth':_0x73da3c(0x202),'borderStyle':_0x73da3c(0x1ff),'borderStyleSolid':'实线','borderStyleDash':'虚线','borderStyleDot':'点线','borderStyleDashDot':_0x73da3c(0x209),'borderPresetAll':_0x73da3c(0x205),'borderPresetInner':_0x73da3c(0x20c),'borderPresetOuter':'外部边框','borderPresetTop':'上边框','borderPresetBottom':_0x73da3c(0x20a),'borderPresetLeft':'左边框','borderPresetRight':_0x73da3c(0x20b),'borderPresetInnerHorizontal':_0x73da3c(0x1e6),'borderPresetInnerVertical':'内部垂直边框','noBorder':_0x73da3c(0x201),'none':'无','fontFamily':'字体','fontSize':'字号','textFormat':_0x73da3c(0x207),'textColor':_0x73da3c(0x1df),'textBackgroundColor':'文本背景色','bold':'加粗','italic':'斜体','underline':_0x73da3c(0x1e0),'strikethrough':_0x73da3c(0x1fd),'horizontalAlign':'水平对齐','verticalAlign':_0x73da3c(0x1f9),'alignLeft':_0x73da3c(0x20d),'alignCenter':_0x73da3c(0x1e5),'alignRight':'右对齐','alignJustify':'两端对齐','alignTop':_0x73da3c(0x1f1),'alignMiddle':'垂直居中','alignBottom':_0x73da3c(0x1fc)},'shapePanel':{'fill':{'noFill':_0x73da3c(0x206),'solidFill':'纯色','gradientFill':'渐变','pictureFill':'图片','color':'颜色','transparency':_0x73da3c(0x203),'picture':{'source':_0x73da3c(0x1e9),'insert':_0x73da3c(0x1fa)}}}}};export{e as default};
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x22bf6c=_0x46eb;(function(_0x1dd6ff,_0x2c0136){const _0x3fa589=_0x46eb,_0x8f7ab1=_0x1dd6ff();while(!![]){try{const _0x3b7c01=-parseInt(_0x3fa589(0xbf))/0x1+parseInt(_0x3fa589(0xc3))/0x2*(parseInt(_0x3fa589(0xb7))/0x3)+parseInt(_0x3fa589(0xad))/0x4*(parseInt(_0x3fa589(0xca))/0x5)+-parseInt(_0x3fa589(0xb5))/0x6*(-parseInt(_0x3fa589(0xa2))/0x7)+-parseInt(_0x3fa589(0xb8))/0x8+-parseInt(_0x3fa589(0xb1))/0x9*(parseInt(_0x3fa589(0xc1))/0xa)+parseInt(_0x3fa589(0xab))/0xb;if(_0x3b7c01===_0x2c0136)break;else _0x8f7ab1['push'](_0x8f7ab1['shift']());}catch(_0x320102){_0x8f7ab1['push'](_0x8f7ab1['shift']());}}}(_0x43b5,0x8e3a2));function _0x46eb(_0xc45770,_0x3b60eb){_0xc45770=_0xc45770-0xa0;const _0x43b5f0=_0x43b5();let _0x46ebad=_0x43b5f0[_0xc45770];return _0x46ebad;}const e={'boards-table-ui':{'mobile':{'cellStyle':'儲存格樣式','selectColumn':'選取欄','operations':'版面配置','selectCell':_0x22bf6c(0xce),'edit':'樣式','close':'關閉','expand':'展開','collapse':'收起','back':'返回'},'contextMenu':{'insert':'插入','delete':'刪除','distribute':'分佈','insertRowAbove':'在上方插入列','insertRowBelow':_0x22bf6c(0xcd),'insertColumnLeft':_0x22bf6c(0xae),'insertColumnRight':_0x22bf6c(0xc4),'deleteRow':_0x22bf6c(0xa0),'deleteColumn':_0x22bf6c(0xaa),'deleteTable':'刪除表格','distributeRows':'平均分佈列','distributeColumns':_0x22bf6c(0xa7),'resetColor':_0x22bf6c(0xbb)},'editorToolbar':{'mergeCells':_0x22bf6c(0xa9),'unmergeCells':'取消合併儲存格','tableTheme':'表格主題','tableLook':_0x22bf6c(0xc6),'headerRow':'標題列','footerRow':_0x22bf6c(0xcb),'bandedRows':_0x22bf6c(0xc9),'bandedColumns':_0x22bf6c(0xa8),'firstColumn':_0x22bf6c(0xcc),'lastColumn':_0x22bf6c(0xcf),'bestMatch':'最佳配對','light':'淺色','medium':'中等','minimal':'簡約','cellBackground':_0x22bf6c(0xbd),'allBorders':'所有框線','tableBackgroundColor':_0x22bf6c(0xc5),'border':'框線','tableBorderColor':_0x22bf6c(0xa4),'borderWidth':'框線寬度','borderStyle':'框線樣式','borderStyleSolid':'實線','borderStyleDash':'虛線','borderStyleDot':'點線','borderStyleDashDot':_0x22bf6c(0xa1),'borderPresetAll':'所有框線','borderPresetInner':_0x22bf6c(0xc2),'borderPresetOuter':_0x22bf6c(0xb0),'borderPresetTop':'上框線','borderPresetBottom':_0x22bf6c(0xa6),'borderPresetLeft':_0x22bf6c(0xb2),'borderPresetRight':_0x22bf6c(0xc8),'borderPresetInnerHorizontal':_0x22bf6c(0xc0),'borderPresetInnerVertical':'內部垂直框線','noBorder':_0x22bf6c(0xc7),'none':'無','fontFamily':'字型','fontSize':'字號','textFormat':_0x22bf6c(0xb9),'textColor':_0x22bf6c(0xb3),'textBackgroundColor':'文字背景色','bold':'粗體','italic':'斜體','underline':'底線','strikethrough':_0x22bf6c(0xd0),'horizontalAlign':'水平對齊','verticalAlign':_0x22bf6c(0xd1),'alignLeft':_0x22bf6c(0xbc),'alignCenter':'置中對齊','alignRight':_0x22bf6c(0xaf),'alignJustify':'左右對齊','alignTop':_0x22bf6c(0xac),'alignMiddle':_0x22bf6c(0xa5),'alignBottom':_0x22bf6c(0xba)},'shapePanel':{'fill':{'noFill':_0x22bf6c(0xa3),'solidFill':'純色','gradientFill':'漸層','pictureFill':'圖片','color':'顏色','transparency':_0x22bf6c(0xb4),'picture':{'source':_0x22bf6c(0xb6),'insert':_0x22bf6c(0xbe)}}}}};function _0x43b5(){const _0x4bab0d=['間隔欄','合併儲存格','刪除欄','2725162oQXavp','靠上對齊','569176tGOJRP','在左側插入欄','靠右對齊','外部框線','72AXhZfK','左框線','文字顏色','透明度','15342gBReUa','圖片來源','1215843aaIFrX','365024gmRuxt','文字格式','靠下對齊','重置顏色','靠左對齊','儲存格背景','插入圖片','732077nQZlAC','內部水平框線','954260EWzMsd','內部框線','4bzOfYB','在右側插入欄','表格背景色','表格外觀','無框線','右框線','間隔列','5poVmgn','頁尾列','第一欄','在下方插入列','選取儲存格','最後一欄','刪除線','垂直對齊','刪除列','點劃線','2527yzVotC','無填滿','框線顏色','垂直置中','下框線','平均分佈欄'];_0x43b5=function(){return _0x4bab0d;};return _0x43b5();}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1e2c40=_0x515c;function _0x515c(_0x175cab,_0x4e8d54){_0x175cab=_0x175cab-0x1cb;const _0x55f7b2=_0x55f7();let _0x515cee=_0x55f7b2[_0x175cab];return _0x515cee;}(function(_0x3e82a8,_0x1db422){const _0x241b33=_0x515c,_0xd35616=_0x3e82a8();while(!![]){try{const _0x337dc2=parseInt(_0x241b33(0x1f4))/0x1+parseInt(_0x241b33(0x1e1))/0x2+-parseInt(_0x241b33(0x1df))/0x3*(parseInt(_0x241b33(0x1e5))/0x4)+parseInt(_0x241b33(0x1fa))/0x5*(-parseInt(_0x241b33(0x1e3))/0x6)+parseInt(_0x241b33(0x1d3))/0x7*(-parseInt(_0x241b33(0x1f6))/0x8)+parseInt(_0x241b33(0x1d6))/0x9+parseInt(_0x241b33(0x1d4))/0xa;if(_0x337dc2===_0x1db422)break;else _0xd35616['push'](_0xd35616['shift']());}catch(_0x558a3a){_0xd35616['push'](_0xd35616['shift']());}}}(_0x55f7,0xc8ccf));const e={'boards-table-ui':{'mobile':{'cellStyle':'儲存格樣式','selectColumn':_0x1e2c40(0x1dc),'operations':'版面配置','selectCell':_0x1e2c40(0x1dd),'edit':'樣式','close':'關閉','expand':'展開','collapse':'收起','back':'返回'},'contextMenu':{'insert':'插入','delete':'刪除','distribute':'分佈','insertRowAbove':_0x1e2c40(0x1ee),'insertRowBelow':'在下方插入列','insertColumnLeft':_0x1e2c40(0x1e7),'insertColumnRight':'在右側插入欄','deleteRow':'刪除列','deleteColumn':'刪除欄','deleteTable':_0x1e2c40(0x1e9),'distributeRows':_0x1e2c40(0x1f9),'distributeColumns':'平均分佈欄','resetColor':_0x1e2c40(0x1d9)},'editorToolbar':{'mergeCells':'合併儲存格','unmergeCells':_0x1e2c40(0x1cc),'tableTheme':_0x1e2c40(0x1f2),'tableLook':_0x1e2c40(0x1e4),'headerRow':_0x1e2c40(0x1fc),'footerRow':_0x1e2c40(0x1e2),'bandedRows':_0x1e2c40(0x1d5),'bandedColumns':_0x1e2c40(0x1d2),'firstColumn':_0x1e2c40(0x1db),'lastColumn':_0x1e2c40(0x1ec),'bestMatch':_0x1e2c40(0x1eb),'light':'淺色','medium':'中等','minimal':'簡約','cellBackground':_0x1e2c40(0x1ef),'allBorders':_0x1e2c40(0x1ce),'tableBackgroundColor':'表格背景色','border':'框線','tableBorderColor':_0x1e2c40(0x1e0),'borderWidth':_0x1e2c40(0x1da),'borderStyle':_0x1e2c40(0x1fb),'borderStyleSolid':'實線','borderStyleDash':'虛線','borderStyleDot':'點線','borderStyleDashDot':_0x1e2c40(0x1fd),'borderPresetAll':_0x1e2c40(0x1ce),'borderPresetInner':_0x1e2c40(0x1d8),'borderPresetOuter':_0x1e2c40(0x1de),'borderPresetTop':_0x1e2c40(0x1f8),'borderPresetBottom':_0x1e2c40(0x1f0),'borderPresetLeft':_0x1e2c40(0x1f7),'borderPresetRight':'右框線','borderPresetInnerHorizontal':_0x1e2c40(0x1cf),'borderPresetInnerVertical':'內部垂直框線','noBorder':'無框線','none':'無','fontFamily':'字型','fontSize':'字號','textFormat':_0x1e2c40(0x1cd),'textColor':'文字顏色','textBackgroundColor':_0x1e2c40(0x1f3),'bold':'粗體','italic':'斜體','underline':'底線','strikethrough':'刪除線','horizontalAlign':_0x1e2c40(0x1d7),'verticalAlign':_0x1e2c40(0x1ed),'alignLeft':_0x1e2c40(0x1f5),'alignCenter':_0x1e2c40(0x1e6),'alignRight':_0x1e2c40(0x1e8),'alignJustify':_0x1e2c40(0x1cb),'alignTop':'靠上對齊','alignMiddle':_0x1e2c40(0x1d1),'alignBottom':_0x1e2c40(0x1d0)},'shapePanel':{'fill':{'noFill':'無填滿','solidFill':'純色','gradientFill':'漸層','pictureFill':'圖片','color':'顏色','transparency':'透明度','picture':{'source':_0x1e2c40(0x1ea),'insert':_0x1e2c40(0x1f1)}}}}};function _0x55f7(){const _0x71d8da=['框線顏色','321326gVMBBS','頁尾列','6HQhYjd','表格外觀','15732eSxThW','置中對齊','在左側插入欄','靠右對齊','刪除表格','圖片來源','最佳配對','最後一欄','垂直對齊','在上方插入列','儲存格背景','下框線','插入圖片','表格主題','文字背景色','770692tBFrwf','靠左對齊','48XEnHFo','左框線','上框線','平均分佈列','1413455MSOCWg','框線樣式','標題列','點劃線','左右對齊','取消合併儲存格','文字格式','所有框線','內部水平框線','靠下對齊','垂直置中','間隔欄','1070538obHhqF','11711110odyPIf','間隔列','13122999MBSFzt','水平對齊','內部框線','重置顏色','框線寬度','第一欄','選取欄','選取儲存格','外部框線','1173yhMrcm'];_0x55f7=function(){return _0x71d8da;};return _0x55f7();}export{e as default};
|
|
@@ -16,6 +16,7 @@ export declare class BoardTableFloatingToolbarRenderController extends RxDisposa
|
|
|
16
16
|
private readonly _interactionSurfaceService;
|
|
17
17
|
private _popupDisposable;
|
|
18
18
|
private _popupSelectionKey;
|
|
19
|
+
private _refreshTimer;
|
|
19
20
|
private readonly _eventDisposables;
|
|
20
21
|
constructor(_renderContext: IRenderContext<UnitModel>, _boardCanvasPopManagerService: BoardCanvasPopManagerService, _boardElementService: IBoardElementService, _slideTableSelectionService: SlideTableSelectionService, _elementStateService: IBoardElementStateService, _slideTableResourceService: SlideTableResourceService, _interactionSurfaceService: BoardInteractionSurfaceService);
|
|
21
22
|
dispose(): void;
|
|
@@ -23,11 +24,11 @@ export declare class BoardTableFloatingToolbarRenderController extends RxDisposa
|
|
|
23
24
|
private _subscribe;
|
|
24
25
|
private _clearPopup;
|
|
25
26
|
private _clearPopupIfSelectionChanged;
|
|
27
|
+
private _schedulePopupRefresh;
|
|
26
28
|
private _isPopupSelectionStillActive;
|
|
27
29
|
private _buildPopupSelectionKey;
|
|
28
30
|
private _showPopupForSelection;
|
|
29
31
|
private _showPopupForTableSelection;
|
|
30
|
-
private _buildTableSelectionRangeKey;
|
|
31
32
|
private _resolveSelectionAnchorBoundResolver;
|
|
32
33
|
private _resolveTableSelectionObject;
|
|
33
34
|
private _resolveSelectedEntry;
|
|
@@ -1,26 +1,33 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
1
|
+
import type { BoardModel, IBoardElementData } from '@univerjs-pro/boards';
|
|
2
|
+
import type { ISlideTableSnapshot, ISlideTableTrigger } from '@univerjs-pro/slides-table';
|
|
3
|
+
import type { ISlideTableSelection } from '@univerjs-pro/slides-table-ui';
|
|
4
|
+
import type { EventState } from '@univerjs/core';
|
|
5
|
+
import type { IMouseEvent, IPointerEvent, IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
6
|
+
import { BoardElementType, IBoardElementService } from '@univerjs-pro/boards';
|
|
3
7
|
import { BoardImageInsertService, IBoardElementStateService, IBoardUIStateService } from '@univerjs-pro/boards-ui';
|
|
4
8
|
import { SlideTableResourceService } from '@univerjs-pro/slides-table';
|
|
5
9
|
import { SlideTableSelectionService } from '@univerjs-pro/slides-table-ui';
|
|
6
10
|
import { IEditorUIService } from '@univerjs-pro/slides-ui';
|
|
7
11
|
import { ICommandService, IContextService, IPermissionService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
12
|
+
import { Vector2 } from '@univerjs/engine-render';
|
|
8
13
|
import { IContextMenuService, ILayoutService } from '@univerjs/ui';
|
|
14
|
+
import { BoardTableObject } from '../render-objects/board-table-object';
|
|
9
15
|
import { BoardTableCellEditorBridgeService } from '../services/board-table-cell-editor-bridge.service';
|
|
10
16
|
import { BoardTableKeyboardService } from '../services/board-table-keyboard.service';
|
|
17
|
+
type BoardTableActivationStage = 'table' | 'cell';
|
|
11
18
|
export declare class BoardTableSelectionRenderController extends RxDisposable implements IRenderModule {
|
|
12
|
-
|
|
19
|
+
protected readonly _renderContext: IRenderContext;
|
|
13
20
|
private readonly _instanceService;
|
|
14
21
|
private readonly _boardElementService;
|
|
15
|
-
|
|
16
|
-
|
|
22
|
+
protected readonly _slideTableSelectionService: SlideTableSelectionService;
|
|
23
|
+
protected readonly _contextMenuService: IContextMenuService;
|
|
17
24
|
private readonly _keyboardService;
|
|
18
25
|
private readonly _cellEditorBridgeService;
|
|
19
26
|
private readonly _commandService;
|
|
20
27
|
private readonly _contextService;
|
|
21
28
|
private readonly _slideTableResourceService;
|
|
22
|
-
|
|
23
|
-
|
|
29
|
+
protected readonly _boardElementStateService: IBoardElementStateService;
|
|
30
|
+
protected readonly _boardUIStateService: IBoardUIStateService;
|
|
24
31
|
private readonly _editorUIService;
|
|
25
32
|
private readonly _layoutService;
|
|
26
33
|
private readonly _permissionService;
|
|
@@ -35,7 +42,7 @@ export declare class BoardTableSelectionRenderController extends RxDisposable im
|
|
|
35
42
|
private _rowColumnMoveTarget;
|
|
36
43
|
private _tableHandleMoveState;
|
|
37
44
|
private _pendingStage1BodyState;
|
|
38
|
-
|
|
45
|
+
protected _tableActivationStage: BoardTableActivationStage | null;
|
|
39
46
|
private _activeTableContext;
|
|
40
47
|
private _resizeHoverActive;
|
|
41
48
|
private _areTransformerControlsHiddenForTableMove;
|
|
@@ -43,6 +50,24 @@ export declare class BoardTableSelectionRenderController extends RxDisposable im
|
|
|
43
50
|
private _tableStructuralHoverTransformerObject;
|
|
44
51
|
constructor(_renderContext: IRenderContext, _instanceService: IUniverInstanceService, _boardElementService: IBoardElementService, _slideTableSelectionService: SlideTableSelectionService, _contextMenuService: IContextMenuService, _keyboardService: BoardTableKeyboardService, _cellEditorBridgeService: BoardTableCellEditorBridgeService, _commandService: ICommandService, _contextService: IContextService, _slideTableResourceService: SlideTableResourceService, _boardElementStateService: IBoardElementStateService, _boardUIStateService: IBoardUIStateService, _editorUIService: IEditorUIService, _layoutService: ILayoutService, _permissionService: IPermissionService, _boardImageInsertService: BoardImageInsertService);
|
|
45
52
|
dispose(): void;
|
|
53
|
+
protected _supportsHeaderDrag(): boolean;
|
|
54
|
+
protected _syncEditingElement(_selection: ISlideTableSelection): void;
|
|
55
|
+
protected _isInternalSelectionActive(): boolean;
|
|
56
|
+
protected _clearEditingSelection(_contexts: Array<Pick<IBoardTableActivationContext, 'unitId' | 'subUnitId' | 'elementId'>>): void;
|
|
57
|
+
protected _getMoveGestureScale(): number;
|
|
58
|
+
protected _shouldRestoreTransformer(): boolean;
|
|
59
|
+
protected _configureSelectionControls(_object: BoardTableObject): void;
|
|
60
|
+
protected _startDirectResize(...args: Parameters<BoardTableSelectionRenderController['_startResizeIfHit']>): boolean;
|
|
61
|
+
protected _shouldMoveTableBody(): boolean;
|
|
62
|
+
protected _prepareTableBodyDrag(..._args: Parameters<BoardTableSelectionRenderController['_activateTableStage']>): void;
|
|
63
|
+
protected _scheduleResizeHold(..._args: Parameters<BoardTableSelectionRenderController['_startResizeIfHit']>): ReturnType<typeof setTimeout> | null;
|
|
64
|
+
protected _resolveResizeTriggerAtScenePoint(table: ISlideTableSnapshot, object: BoardTableObject, scenePoint: {
|
|
65
|
+
x: number;
|
|
66
|
+
y: number;
|
|
67
|
+
}): IBoardTableResizeTrigger | null;
|
|
68
|
+
protected _showResizeBoundary(_object: BoardTableObject, _trigger: IBoardTableResizeTrigger): void;
|
|
69
|
+
protected _startSelectionHandleDrag(_object: BoardTableObject, _evt: IPointerEvent | IMouseEvent, _state?: EventState): boolean;
|
|
70
|
+
protected _clearResizeBoundary(_object: BoardTableObject): void;
|
|
46
71
|
private _init;
|
|
47
72
|
private _initScenePointerEvents;
|
|
48
73
|
private _handleScenePointerDown;
|
|
@@ -84,24 +109,34 @@ export declare class BoardTableSelectionRenderController extends RxDisposable im
|
|
|
84
109
|
private _handleTablePointerDown;
|
|
85
110
|
private _handleCellEditorPointerDown;
|
|
86
111
|
private _isTableReadyForCellInteraction;
|
|
87
|
-
|
|
112
|
+
protected _isActiveTableContext(boardModel: BoardModel, elementDataItem: IBoardTableElementData): boolean;
|
|
88
113
|
private _isSelectedTableElement;
|
|
89
|
-
|
|
114
|
+
protected _activateTableStage(boardModel: BoardModel, elementDataItem: IBoardTableElementData, object: BoardTableObject, evt: IPointerEvent | IMouseEvent, state?: EventState): void;
|
|
90
115
|
private _startPendingStage1Body;
|
|
91
116
|
private _handlePendingStage1BodyPointerMove;
|
|
92
|
-
|
|
117
|
+
protected _finishPendingStage1Body(options: {
|
|
118
|
+
focusCell: boolean;
|
|
119
|
+
}): void;
|
|
93
120
|
private _enterCellStage;
|
|
94
121
|
private _enterCellStageFromSelection;
|
|
95
|
-
|
|
122
|
+
protected _startResizeIfHit(boardModel: BoardModel, elementDataItem: IBoardElementData & {
|
|
123
|
+
element: Extract<IBoardElementData['element'], {
|
|
124
|
+
type: typeof BoardElementType.Table;
|
|
125
|
+
}>;
|
|
126
|
+
}, object: BoardTableObject, evt: IPointerEvent | IMouseEvent): boolean;
|
|
96
127
|
private _handleResizeCursorHover;
|
|
97
128
|
private _isTableTextEditing;
|
|
98
129
|
private _getActiveEditingSession;
|
|
99
130
|
private _completeActiveEditor;
|
|
100
131
|
private _cancelActiveEditor;
|
|
101
132
|
private _isTableActiveForResizeHover;
|
|
102
|
-
|
|
133
|
+
protected _resolveResizeTrigger(table: ISlideTableSnapshot, object: BoardTableObject, x: number, y: number): IBoardTableResizeTrigger | null;
|
|
103
134
|
private _handleResizePointerMove;
|
|
104
135
|
private _handleRangeDragPointerMove;
|
|
136
|
+
protected _startRangeSelectionHandleDrag(object: BoardTableObject, anchor: {
|
|
137
|
+
row: number;
|
|
138
|
+
column: number;
|
|
139
|
+
}, evt: IPointerEvent | IMouseEvent, state?: EventState): boolean;
|
|
105
140
|
private _finishRangeDrag;
|
|
106
141
|
private _handleResizePointerUp;
|
|
107
142
|
private _cancelResizePreview;
|
|
@@ -110,13 +145,19 @@ export declare class BoardTableSelectionRenderController extends RxDisposable im
|
|
|
110
145
|
private _buildResizeTable;
|
|
111
146
|
private _resolveResizeSize;
|
|
112
147
|
private _resolveResizeDelta;
|
|
113
|
-
|
|
148
|
+
protected _getBoardPointVectorFromEvent(evt: IPointerEvent | IMouseEvent, fallback?: {
|
|
149
|
+
x: number;
|
|
150
|
+
y: number;
|
|
151
|
+
}): Vector2;
|
|
114
152
|
private _getBoardPointFromEvent;
|
|
115
|
-
|
|
153
|
+
protected _resolveObjectPoint(object: BoardTableObject, offsetX: number, offsetY: number): {
|
|
154
|
+
x: number;
|
|
155
|
+
y: number;
|
|
156
|
+
};
|
|
116
157
|
private _handleTableDoubleClick;
|
|
117
158
|
private _selectCellFromTableEvent;
|
|
118
159
|
private _buildCellSelectionFromTableEvent;
|
|
119
|
-
|
|
160
|
+
protected _beginTableInternalInteraction(object: BoardTableObject): void;
|
|
120
161
|
private _handleKeyboardAction;
|
|
121
162
|
private _handleEditingKeyboardAction;
|
|
122
163
|
private readonly _handleClipboardCopy;
|
|
@@ -139,3 +180,22 @@ export declare class BoardTableSelectionRenderController extends RxDisposable im
|
|
|
139
180
|
private _openContextMenu;
|
|
140
181
|
private _createContextMenuEvent;
|
|
141
182
|
}
|
|
183
|
+
type IBoardTableElementData = IBoardElementData & {
|
|
184
|
+
element: Extract<IBoardElementData['element'], {
|
|
185
|
+
type: typeof BoardElementType.Table;
|
|
186
|
+
}>;
|
|
187
|
+
};
|
|
188
|
+
type IBoardTableResizeTrigger = ISlideTableTrigger & ({
|
|
189
|
+
kind: 'resize-row';
|
|
190
|
+
row: number;
|
|
191
|
+
} | {
|
|
192
|
+
kind: 'resize-column';
|
|
193
|
+
column: number;
|
|
194
|
+
});
|
|
195
|
+
interface IBoardTableActivationContext {
|
|
196
|
+
unitId: string;
|
|
197
|
+
subUnitId: string;
|
|
198
|
+
elementId: string;
|
|
199
|
+
tableId: string;
|
|
200
|
+
}
|
|
201
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Disposable } from '@univerjs/core';
|
|
2
2
|
import { ComponentManager } from '@univerjs/ui';
|
|
3
3
|
export declare class ComponentsController extends Disposable {
|
|
4
|
-
|
|
4
|
+
protected readonly _componentManager: ComponentManager;
|
|
5
5
|
constructor(_componentManager: ComponentManager);
|
|
6
|
-
|
|
6
|
+
protected _registerComponents(): void;
|
|
7
7
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { ISlideTableSelection } from '@univerjs-pro/slides-table-ui';
|
|
17
|
+
import type { BoardTableObject } from '../../render-objects/board-table-object';
|
|
18
|
+
import { BoardTableSelectionRenderController } from '../board-table-selection-render.controller';
|
|
19
|
+
export declare class MobileBoardTableSelectionRenderController extends BoardTableSelectionRenderController {
|
|
20
|
+
protected _supportsHeaderDrag(): boolean;
|
|
21
|
+
protected _syncEditingElement(selection: ISlideTableSelection): void;
|
|
22
|
+
protected _isInternalSelectionActive(): boolean;
|
|
23
|
+
protected _clearEditingSelection(...[contexts]: Parameters<BoardTableSelectionRenderController['_clearEditingSelection']>): void;
|
|
24
|
+
protected _getMoveGestureScale(): number;
|
|
25
|
+
protected _shouldRestoreTransformer(): boolean;
|
|
26
|
+
protected _configureSelectionControls(object: BoardTableObject): void;
|
|
27
|
+
protected _startDirectResize(): boolean;
|
|
28
|
+
protected _shouldMoveTableBody(): boolean;
|
|
29
|
+
protected _prepareTableBodyDrag(...args: Parameters<BoardTableSelectionRenderController['_activateTableStage']>): void;
|
|
30
|
+
protected _scheduleResizeHold(...args: Parameters<BoardTableSelectionRenderController['_startResizeIfHit']>): ReturnType<typeof setTimeout> | null;
|
|
31
|
+
protected _resolveResizeTriggerAtScenePoint(...[, object, scenePoint]: Parameters<BoardTableSelectionRenderController['_resolveResizeTriggerAtScenePoint']>): ReturnType<BoardTableSelectionRenderController['_resolveResizeTriggerAtScenePoint']>;
|
|
32
|
+
protected _showResizeBoundary(...[object, trigger]: Parameters<BoardTableSelectionRenderController['_showResizeBoundary']>): void;
|
|
33
|
+
protected _beginTableInternalInteraction(object: BoardTableObject): void;
|
|
34
|
+
protected _startSelectionHandleDrag(...[object, evt, state]: Parameters<BoardTableSelectionRenderController['_startSelectionHandleDrag']>): boolean;
|
|
35
|
+
protected _clearResizeBoundary(...[object]: Parameters<BoardTableSelectionRenderController['_clearResizeBoundary']>): void;
|
|
36
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Disposable } from '@univerjs/core';
|
|
17
|
+
import { ComponentManager } from '@univerjs/ui';
|
|
18
|
+
export declare class MobileComponentsController extends Disposable {
|
|
19
|
+
protected readonly _componentManager: ComponentManager;
|
|
20
|
+
constructor(_componentManager: ComponentManager);
|
|
21
|
+
protected _registerComponents(): void;
|
|
22
|
+
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
declare const locale: {
|
|
2
2
|
'boards-table-ui': {
|
|
3
|
+
mobile: {
|
|
4
|
+
cellStyle: string;
|
|
5
|
+
selectColumn: string;
|
|
6
|
+
operations: string;
|
|
7
|
+
selectCell: string;
|
|
8
|
+
edit: string;
|
|
9
|
+
close: string;
|
|
10
|
+
expand: string;
|
|
11
|
+
collapse: string;
|
|
12
|
+
back: string;
|
|
13
|
+
};
|
|
3
14
|
contextMenu: {
|
|
4
15
|
insert: string;
|
|
5
16
|
delete: string;
|
|
@@ -6,14 +6,14 @@ export declare const BOARD_TABLE_DISTRIBUTE_MENU_ID = "board-table.menu.distribu
|
|
|
6
6
|
export declare function BoardTableInsertMenuFactory(): IMenuItem;
|
|
7
7
|
export declare function BoardTableDeleteMenuFactory(): IMenuItem;
|
|
8
8
|
export declare function BoardTableDistributeMenuFactory(): IMenuItem;
|
|
9
|
-
export declare function BoardTableInsertRowAboveFactory(accessor
|
|
10
|
-
export declare function BoardTableInsertRowBelowFactory(accessor
|
|
11
|
-
export declare function BoardTableInsertColumnLeftFactory(accessor
|
|
12
|
-
export declare function BoardTableInsertColumnRightFactory(accessor
|
|
13
|
-
export declare function BoardTableDeleteRowsFactory(accessor
|
|
14
|
-
export declare function BoardTableDeleteColumnsFactory(accessor
|
|
9
|
+
export declare function BoardTableInsertRowAboveFactory(accessor: IAccessor): IMenuButtonItem;
|
|
10
|
+
export declare function BoardTableInsertRowBelowFactory(accessor: IAccessor): IMenuButtonItem;
|
|
11
|
+
export declare function BoardTableInsertColumnLeftFactory(accessor: IAccessor): IMenuButtonItem;
|
|
12
|
+
export declare function BoardTableInsertColumnRightFactory(accessor: IAccessor): IMenuButtonItem;
|
|
13
|
+
export declare function BoardTableDeleteRowsFactory(accessor: IAccessor): IMenuButtonItem;
|
|
14
|
+
export declare function BoardTableDeleteColumnsFactory(accessor: IAccessor): IMenuButtonItem;
|
|
15
15
|
export declare function BoardTableDeleteTableFactory(): IMenuButtonItem;
|
|
16
|
-
export declare function BoardTableMergeCellsFactory(accessor
|
|
17
|
-
export declare function BoardTableUnmergeCellsFactory(accessor
|
|
18
|
-
export declare function BoardTableDistributeRowsFactory(accessor
|
|
19
|
-
export declare function BoardTableDistributeColumnsFactory(accessor
|
|
16
|
+
export declare function BoardTableMergeCellsFactory(accessor: IAccessor): IMenuButtonItem;
|
|
17
|
+
export declare function BoardTableUnmergeCellsFactory(accessor: IAccessor): IMenuButtonItem;
|
|
18
|
+
export declare function BoardTableDistributeRowsFactory(accessor: IAccessor): IMenuButtonItem;
|
|
19
|
+
export declare function BoardTableDistributeColumnsFactory(accessor: IAccessor): IMenuButtonItem;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Dependency } from '@univerjs/core';
|
|
2
|
+
import type { IUniverBoardsTableUIConfig } from './config/config';
|
|
3
|
+
import { ICommandService, IConfigService, IImageIoService, Injector, LocaleService, Plugin, ThemeService, UniverInstanceType } from '@univerjs/core';
|
|
4
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
5
|
+
import { IMenuManagerService, IShortcutService } from '@univerjs/ui';
|
|
6
|
+
export declare class UniverBoardsTableMobileUIPlugin extends Plugin {
|
|
7
|
+
private readonly _config;
|
|
8
|
+
protected readonly _injector: Injector;
|
|
9
|
+
private readonly _configService;
|
|
10
|
+
private readonly _renderManagerService;
|
|
11
|
+
private readonly _localeService;
|
|
12
|
+
private readonly _themeService;
|
|
13
|
+
private readonly _imageIoService;
|
|
14
|
+
private readonly _commandService;
|
|
15
|
+
private readonly _menuManagerService;
|
|
16
|
+
private readonly _shortcutService;
|
|
17
|
+
static pluginName: string;
|
|
18
|
+
static packageName: string;
|
|
19
|
+
static version: string;
|
|
20
|
+
static type: UniverInstanceType;
|
|
21
|
+
static readonly scopedDependencies: readonly Dependency[];
|
|
22
|
+
private _adapter;
|
|
23
|
+
constructor(_config: Partial<IUniverBoardsTableUIConfig> | undefined, _injector: Injector, _configService: IConfigService, _renderManagerService: IRenderManagerService, _localeService: LocaleService, _themeService: ThemeService, _imageIoService: IImageIoService, _commandService: ICommandService, _menuManagerService: IMenuManagerService, _shortcutService: IShortcutService);
|
|
24
|
+
onStarting(): void;
|
|
25
|
+
onReady(): void;
|
|
26
|
+
private _appendRenderAdapter;
|
|
27
|
+
private _removeRenderAdapter;
|
|
28
|
+
private _getBoardsUIConfig;
|
|
29
|
+
}
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Dependency } from '@univerjs/core';
|
|
2
2
|
import type { IUniverBoardsTableUIConfig } from './config/config';
|
|
3
|
-
import { ICommandService, IConfigService, Injector, LocaleService, Plugin, ThemeService, UniverInstanceType } from '@univerjs/core';
|
|
3
|
+
import { ICommandService, IConfigService, IImageIoService, Injector, LocaleService, Plugin, ThemeService, UniverInstanceType } from '@univerjs/core';
|
|
4
4
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
5
5
|
import { IMenuManagerService, IShortcutService } from '@univerjs/ui';
|
|
6
6
|
export declare const BOARDS_TABLE_UI_PLUGIN_NAME = "UNIVER_BOARDS_TABLE_UI_PLUGIN";
|
|
@@ -11,6 +11,7 @@ export declare class UniverBoardsTableUIPlugin extends Plugin {
|
|
|
11
11
|
private readonly _renderManagerService;
|
|
12
12
|
private readonly _localeService;
|
|
13
13
|
private readonly _themeService;
|
|
14
|
+
private readonly _imageIoService;
|
|
14
15
|
private readonly _commandService;
|
|
15
16
|
private readonly _menuManagerService;
|
|
16
17
|
private readonly _shortcutService;
|
|
@@ -20,9 +21,11 @@ export declare class UniverBoardsTableUIPlugin extends Plugin {
|
|
|
20
21
|
static type: UniverInstanceType;
|
|
21
22
|
static readonly scopedDependencies: readonly Dependency[];
|
|
22
23
|
private _adapter;
|
|
23
|
-
constructor(_config: Partial<IUniverBoardsTableUIConfig> | undefined, _injector: Injector, _configService: IConfigService, _renderManagerService: IRenderManagerService, _localeService: LocaleService, _themeService: ThemeService, _commandService: ICommandService, _menuManagerService: IMenuManagerService, _shortcutService: IShortcutService);
|
|
24
|
+
constructor(_config: Partial<IUniverBoardsTableUIConfig> | undefined, _injector: Injector, _configService: IConfigService, _renderManagerService: IRenderManagerService, _localeService: LocaleService, _themeService: ThemeService, _imageIoService: IImageIoService, _commandService: ICommandService, _menuManagerService: IMenuManagerService, _shortcutService: IShortcutService);
|
|
24
25
|
onStarting(): void;
|
|
25
26
|
onReady(): void;
|
|
27
|
+
protected _getComponentDependencies(): Dependency[];
|
|
28
|
+
protected _getSelectionController(): Dependency;
|
|
26
29
|
private _appendRenderAdapter;
|
|
27
30
|
private _removeRenderAdapter;
|
|
28
31
|
private _getBoardsUIConfig;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BOARD_TABLE_ELEMENT_RENDER_ADAPTER_NAME = "table";
|