@univerjs-pro/slides-print 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/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 +37 -0
- 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/mobile/ui.controller.d.ts +9 -0
- package/lib/types/controllers/ui.controller.d.ts +2 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/mobile-plugin.d.ts +14 -0
- package/lib/types/plugin.d.ts +2 -0
- package/lib/types/views/components/SlidePrintView.d.ts +30 -0
- package/lib/types/views/mobile/MobileSlidePrintView.d.ts +1 -0
- 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 +13 -12
package/lib/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4b5f06=_0x3060;function _0x3060(_0xa45a3d,_0xddf7b0){_0xa45a3d=_0xa45a3d-0x19e;const _0x2ffa1c=_0x2ffa();let _0x30603f=_0x2ffa1c[_0xa45a3d];return _0x30603f;}function _0x2ffa(){const _0x3141f3=['31604ePnVVB','Normalne','Drukowanie…','12QArCip','Orientacja','Rozmiar\x20papieru','1xgYgYr','Zakres\x20wydruku','Wąskie','Łącznie:\x20{0}\x20stron','Wszystkie\x20slajdy\x20lub\x201-3,5','3330710jJURke','128BAkogz','1651fnIdFC','Marginesy','Pionowo','Materiały\x20informacyjne','150QcoXxQ','Slajdów\x20na\x20stronie','322308vTxxJB','6VGWcLB','348KvYOkv','276428eWaEyh','Kolejność\x20stron','Szerokie','203489IgIARG','Anuluj','Drukuj','Dalej','Drukuj\x20numery\x20slajdów','440595SYGEeH','Slajdy\x20na\x20całej\x20stronie','74620AhVjIX','Wprowadź\x20numery\x20slajdów\x20z\x20prezentacji,\x20na\x20przykład\x201-3,5.'];_0x2ffa=function(){return _0x3141f3;};return _0x2ffa();}(function(_0x23901c,_0x109c59){const _0x4876ae=_0x3060,_0x15fd21=_0x23901c();while(!![]){try{const _0x4a77cd=-parseInt(_0x4876ae(0x19e))/0x1*(parseInt(_0x4876ae(0x1ae))/0x2)+-parseInt(_0x4876ae(0x1bd))/0x3*(parseInt(_0x4876ae(0x1ba))/0x4)+parseInt(_0x4876ae(0x1a3))/0x5*(-parseInt(_0x4876ae(0x1ac))/0x6)+-parseInt(_0x4876ae(0x1ab))/0x7*(-parseInt(_0x4876ae(0x1a4))/0x8)+parseInt(_0x4876ae(0x1b6))/0x9*(parseInt(_0x4876ae(0x1a9))/0xa)+parseInt(_0x4876ae(0x1b1))/0xb*(parseInt(_0x4876ae(0x1ad))/0xc)+-parseInt(_0x4876ae(0x1a5))/0xd*(parseInt(_0x4876ae(0x1b8))/0xe);if(_0x4a77cd===_0x109c59)break;else _0x15fd21['push'](_0x15fd21['shift']());}catch(_0x24974b){_0x15fd21['push'](_0x15fd21['shift']());}}}(_0x2ffa,0x78c26));const e={'slides-print':{'menu':_0x4b5f06(0x1b3),'header':{'pages':_0x4b5f06(0x1a1),'cancel':_0x4b5f06(0x1b2),'next':_0x4b5f06(0x1b4),'printing':_0x4b5f06(0x1bc)},'settings':{'range':_0x4b5f06(0x19f),'rangePlaceholder':_0x4b5f06(0x1a2),'rangeInvalid':_0x4b5f06(0x1b9),'layout':'Układ\x20wydruku','fullPage':_0x4b5f06(0x1b7),'notesPage':'Strony\x20notatek','handout':_0x4b5f06(0x1a8),'slidesPerPage':_0x4b5f06(0x1aa),'order':_0x4b5f06(0x1af),'horizontal':'Poziomo','vertical':_0x4b5f06(0x1a7),'paperSize':_0x4b5f06(0x1bf),'orientation':_0x4b5f06(0x1be),'portrait':'Pionowa','landscape':'Pozioma','margin':_0x4b5f06(0x1a6),'normal':_0x4b5f06(0x1bb),'narrow':_0x4b5f06(0x1a0),'wide':_0x4b5f06(0x1b0),'none':'Brak','formatting':'Formatowanie','frameSlides':'Obramowanie\x20slajdów','slideNumber':_0x4b5f06(0x1b5)}}};export{e as default};
|
package/lib/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2d4522=_0x5387;(function(_0x1a711e,_0x92417a){const _0x1f9435=_0x5387,_0x558668=_0x1a711e();while(!![]){try{const _0x356744=parseInt(_0x1f9435(0xf4))/0x1*(-parseInt(_0x1f9435(0xf0))/0x2)+-parseInt(_0x1f9435(0xdd))/0x3*(parseInt(_0x1f9435(0xe8))/0x4)+parseInt(_0x1f9435(0xec))/0x5*(parseInt(_0x1f9435(0xeb))/0x6)+parseInt(_0x1f9435(0xe4))/0x7+-parseInt(_0x1f9435(0xdc))/0x8*(-parseInt(_0x1f9435(0xdb))/0x9)+parseInt(_0x1f9435(0xf7))/0xa*(parseInt(_0x1f9435(0xf1))/0xb)+-parseInt(_0x1f9435(0xe0))/0xc;if(_0x356744===_0x92417a)break;else _0x558668['push'](_0x558668['shift']());}catch(_0x5e8f4e){_0x558668['push'](_0x558668['shift']());}}}(_0x353a,0x96264));function _0x5387(_0x2bd4cf,_0x5ba586){_0x2bd4cf=_0x2bd4cf-0xdb;const _0x353aad=_0x353a();let _0x53872=_0x353aad[_0x2bd4cf];return _0x53872;}function _0x353a(){const _0x4a2e3d=['Ordem\x20das\x20páginas','3396TKbQpQ','9485oTtbUe','Cancelar','Layout\x20de\x20impressão','Retrato','1142266TYCbyL','4937559TEvxts','Paisagem','Total:\x20{0}\x20páginas','1SRxLdb','Avançar','Estreitas','10sqTYUF','Anotações','Slides\x20em\x20página\x20inteira','Slides\x20por\x20página','Enquadrar\x20slides','Folhetos','1878363AroXNZ','24eyCQLM','434778qjgBPK','Margens','Imprimindo…','19435860BeRGyB','Largas','Nenhuma','Todos\x20os\x20slides\x20ou\x201-3,5','6628720xkZdlF','Insira\x20números\x20de\x20slides\x20da\x20apresentação,\x20por\x20exemplo\x201-3,5.','Tamanho\x20do\x20papel','Vertical','8RRhQbq','Intervalo\x20de\x20impressão'];_0x353a=function(){return _0x4a2e3d;};return _0x353a();}const e={'slides-print':{'menu':'Imprimir','header':{'pages':_0x2d4522(0xf3),'cancel':_0x2d4522(0xed),'next':_0x2d4522(0xf5),'printing':_0x2d4522(0xdf)},'settings':{'range':_0x2d4522(0xe9),'rangePlaceholder':_0x2d4522(0xe3),'rangeInvalid':_0x2d4522(0xe5),'layout':_0x2d4522(0xee),'fullPage':_0x2d4522(0xf9),'notesPage':_0x2d4522(0xf8),'handout':_0x2d4522(0xfc),'slidesPerPage':_0x2d4522(0xfa),'order':_0x2d4522(0xea),'horizontal':'Horizontal','vertical':_0x2d4522(0xe7),'paperSize':_0x2d4522(0xe6),'orientation':'Orientação','portrait':_0x2d4522(0xef),'landscape':_0x2d4522(0xf2),'margin':_0x2d4522(0xde),'normal':'Normal','narrow':_0x2d4522(0xf6),'wide':_0x2d4522(0xe1),'none':_0x2d4522(0xe2),'formatting':'Formatação','frameSlides':_0x2d4522(0xfb),'slideNumber':'Imprimir\x20números\x20dos\x20slides'}}};export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3960(_0x19b492,_0x43c6b3){_0x19b492=_0x19b492-0x16e;const _0x2dde8e=_0x2dde();let _0x39602f=_0x2dde8e[_0x19b492];return _0x39602f;}const _0x207b70=_0x3960;(function(_0x3c5476,_0x57cdc6){const _0x49e4fe=_0x3960,_0x10f7a5=_0x3c5476();while(!![]){try{const _0x2bdb1e=parseInt(_0x49e4fe(0x176))/0x1+-parseInt(_0x49e4fe(0x181))/0x2*(-parseInt(_0x49e4fe(0x184))/0x3)+parseInt(_0x49e4fe(0x173))/0x4+parseInt(_0x49e4fe(0x17d))/0x5*(-parseInt(_0x49e4fe(0x17b))/0x6)+-parseInt(_0x49e4fe(0x171))/0x7*(parseInt(_0x49e4fe(0x178))/0x8)+-parseInt(_0x49e4fe(0x17a))/0x9+parseInt(_0x49e4fe(0x174))/0xa;if(_0x2bdb1e===_0x57cdc6)break;else _0x10f7a5['push'](_0x10f7a5['shift']());}catch(_0x3ba34a){_0x10f7a5['push'](_0x10f7a5['shift']());}}}(_0x2dde,0x5324f));function _0x2dde(){const _0x460b78=['Альбомная','664cvOOWJ','Нет','2577546fKGJfi','24ANLbSA','По\x20вертикали','730845dxZAtq','Отмена','По\x20горизонтали','Широкие','18vARjCa','Обычные','Порядок\x20страниц','129021TyGjWw','Книжная','Всего\x20страниц:\x20{0}','Печать','Форматирование','Размер\x20бумаги','Печатать\x20номера\x20слайдов','Слайды\x20на\x20всю\x20страницу','Поля','Ориентация','Далее','84kCnmwn','Выдачи','1004084gENmgj','4903000GBvCRq','Узкие','84241nNZXsY'];_0x2dde=function(){return _0x460b78;};return _0x2dde();}const e={'slides-print':{'menu':_0x207b70(0x187),'header':{'pages':_0x207b70(0x186),'cancel':_0x207b70(0x17e),'next':_0x207b70(0x170),'printing':'Печать…'},'settings':{'range':'Диапазон\x20печати','rangePlaceholder':'Все\x20слайды\x20или\x201-3,5','rangeInvalid':'Введите\x20номера\x20слайдов\x20из\x20презентации,\x20например\x201-3,5.','layout':'Макет\x20печати','fullPage':_0x207b70(0x18b),'notesPage':'Страницы\x20заметок','handout':_0x207b70(0x172),'slidesPerPage':'Слайдов\x20на\x20странице','order':_0x207b70(0x183),'horizontal':_0x207b70(0x17f),'vertical':_0x207b70(0x17c),'paperSize':_0x207b70(0x189),'orientation':_0x207b70(0x16f),'portrait':_0x207b70(0x185),'landscape':_0x207b70(0x177),'margin':_0x207b70(0x16e),'normal':_0x207b70(0x182),'narrow':_0x207b70(0x175),'wide':_0x207b70(0x180),'none':_0x207b70(0x179),'formatting':_0x207b70(0x188),'frameSlides':'Рамка\x20слайдов','slideNumber':_0x207b70(0x18a)}}};export{e as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x14895f=_0x12f6;(function(_0x137204,_0x3c3132){const _0x32b4f6=_0x12f6,_0x3e78c3=_0x137204();while(!![]){try{const _0x10ea1a=-parseInt(_0x32b4f6(0x13e))/0x1+-parseInt(_0x32b4f6(0x146))/0x2*(parseInt(_0x32b4f6(0x141))/0x3)+parseInt(_0x32b4f6(0x134))/0x4*(-parseInt(_0x32b4f6(0x13d))/0x5)+parseInt(_0x32b4f6(0x145))/0x6+-parseInt(_0x32b4f6(0x139))/0x7*(parseInt(_0x32b4f6(0x143))/0x8)+parseInt(_0x32b4f6(0x147))/0x9*(-parseInt(_0x32b4f6(0x144))/0xa)+-parseInt(_0x32b4f6(0x13f))/0xb*(-parseInt(_0x32b4f6(0x13a))/0xc);if(_0x10ea1a===_0x3c3132)break;else _0x3e78c3['push'](_0x3e78c3['shift']());}catch(_0x732575){_0x3e78c3['push'](_0x3e78c3['shift']());}}}(_0x1ff9,0xdce90));const e={'slides-print':{'menu':_0x14895f(0x13c),'header':{'pages':_0x14895f(0x129),'cancel':_0x14895f(0x12b),'next':_0x14895f(0x130),'printing':'Tlačí\x20sa…'},'settings':{'range':_0x14895f(0x142),'rangePlaceholder':_0x14895f(0x13b),'rangeInvalid':_0x14895f(0x12a),'layout':_0x14895f(0x12f),'fullPage':'Snímky\x20na\x20celú\x20stranu','notesPage':_0x14895f(0x12d),'handout':_0x14895f(0x12e),'slidesPerPage':_0x14895f(0x12c),'order':_0x14895f(0x131),'horizontal':'Vodorovne','vertical':_0x14895f(0x138),'paperSize':'Veľkosť\x20papiera','orientation':'Orientácia','portrait':_0x14895f(0x136),'landscape':_0x14895f(0x128),'margin':_0x14895f(0x135),'normal':_0x14895f(0x132),'narrow':_0x14895f(0x137),'wide':_0x14895f(0x133),'none':'Žiadne','formatting':_0x14895f(0x140),'frameSlides':'Orámovať\x20snímky','slideNumber':'Tlačiť\x20čísla\x20snímok'}}};function _0x1ff9(){const _0x432b90=['675681nbymzp','209DqLWtX','Formátovanie','129jjrogk','Rozsah\x20tlače','4488DXrKEq','10wriUKU','2623536ZIJxAs','31156WcpSTG','2253267sewiRp','Na\x20šírku','Celkom:\x20{0}\x20strán','Zadajte\x20čísla\x20snímok\x20z\x20prezentácie,\x20napríklad\x201-3,5.','Zrušiť','Snímok\x20na\x20stranu','Strany\x20s\x20poznámkami','Podklady','Rozloženie\x20tlače','Ďalej','Poradie\x20strán','Normálne','Široké','29956AVRryq','Okraje','Na\x20výšku','Úzke','Zvislo','5236dpNlaY','1885188piWsxk','Všetky\x20snímky\x20alebo\x201-3,5','Tlačiť','335flOrMR'];_0x1ff9=function(){return _0x432b90;};return _0x1ff9();}function _0x12f6(_0x23199e,_0x15f25e){_0x23199e=_0x23199e-0x128;const _0x1ff987=_0x1ff9();let _0x12f63b=_0x1ff987[_0x23199e];return _0x12f63b;}export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x11c899=_0x3bc3;(function(_0x3af0a2,_0x303990){const _0x599c65=_0x3bc3,_0x2e4360=_0x3af0a2();while(!![]){try{const _0x7e284d=parseInt(_0x599c65(0x1de))/0x1*(-parseInt(_0x599c65(0x1e0))/0x2)+parseInt(_0x599c65(0x1ee))/0x3*(parseInt(_0x599c65(0x1f0))/0x4)+parseInt(_0x599c65(0x1e1))/0x5+-parseInt(_0x599c65(0x1e4))/0x6+parseInt(_0x599c65(0x1ea))/0x7+parseInt(_0x599c65(0x1f8))/0x8*(-parseInt(_0x599c65(0x1e2))/0x9)+-parseInt(_0x599c65(0x1e5))/0xa*(-parseInt(_0x599c65(0x1df))/0xb);if(_0x7e284d===_0x303990)break;else _0x2e4360['push'](_0x2e4360['shift']());}catch(_0x5d09ce){_0x2e4360['push'](_0x2e4360['shift']());}}}(_0x523b,0x41728));function _0x523b(){const _0x1f9b25=['497088JKNzhQ','10sBMBLe','Không\x20có','Ngang','Hủy','Đang\x20in…','2633505lbLiuJ','Tạo\x20khung\x20trang\x20chiếu','Định\x20dạng','Rộng','303051Hymgtc','Trang\x20chiếu\x20toàn\x20trang','8aJrEDy','Khổ\x20giấy','Dọc','Bình\x20thường','Bản\x20phân\x20phát','Hẹp','In\x20số\x20trang\x20chiếu','Nhập\x20số\x20trang\x20chiếu\x20có\x20trong\x20bản\x20trình\x20bày,\x20ví\x20dụ\x201-3,5.','15184UZSVOF','1HblqRe','923659UXiqdq','929912vKlMoP','1413610iSABeO','612zfiQLo','Bố\x20cục\x20in'];_0x523b=function(){return _0x1f9b25;};return _0x523b();}const e={'slides-print':{'menu':'In','header':{'pages':'Tổng\x20cộng\x20{0}\x20trang','cancel':_0x11c899(0x1e8),'next':'Tiếp\x20theo','printing':_0x11c899(0x1e9)},'settings':{'range':'Phạm\x20vi\x20in','rangePlaceholder':'Tất\x20cả\x20trang\x20chiếu\x20hoặc\x201-3,5','rangeInvalid':_0x11c899(0x1f7),'layout':_0x11c899(0x1e3),'fullPage':_0x11c899(0x1ef),'notesPage':'Trang\x20ghi\x20chú','handout':_0x11c899(0x1f4),'slidesPerPage':'Số\x20trang\x20chiếu\x20mỗi\x20trang','order':'Thứ\x20tự\x20trang','horizontal':_0x11c899(0x1e7),'vertical':_0x11c899(0x1f2),'paperSize':_0x11c899(0x1f1),'orientation':'Hướng\x20giấy','portrait':_0x11c899(0x1f2),'landscape':_0x11c899(0x1e7),'margin':'Lề','normal':_0x11c899(0x1f3),'narrow':_0x11c899(0x1f5),'wide':_0x11c899(0x1ed),'none':_0x11c899(0x1e6),'formatting':_0x11c899(0x1ec),'frameSlides':_0x11c899(0x1eb),'slideNumber':_0x11c899(0x1f6)}}};function _0x3bc3(_0x3048f1,_0x5007e6){_0x3048f1=_0x3048f1-0x1de;const _0x523bde=_0x523b();let _0x3bc303=_0x523bde[_0x3048f1];return _0x3bc303;}export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x16e4(){const _0x3b2594=['4172040MXZEqL','纸张大小','全部幻灯片,或输入\x201-3,5','打印范围','纸张方向','正在打印…','1139035CdftCG','排列顺序','页边距','1660292ycqdkp','下一步','每页幻灯片数','整页幻灯片','3694428LBERpc','4151FwMGxW','打印幻灯片编号','打印版式','幻灯片加框','320046AvkagZ','13182ZXgtrq','3490584mhDNmt','请输入演示文稿范围内的页码,例如\x201-3,5。'];_0x16e4=function(){return _0x3b2594;};return _0x16e4();}const _0x52e5c3=_0x5a42;(function(_0x56258f,_0x155de8){const _0xa018a2=_0x5a42,_0x4e02f0=_0x56258f();while(!![]){try{const _0x455a8c=-parseInt(_0xa018a2(0x103))/0x1+parseInt(_0xa018a2(0xfe))/0x2+-parseInt(_0xa018a2(0x105))/0x3+-parseInt(_0xa018a2(0xfa))/0x4+parseInt(_0xa018a2(0x10d))/0x5+-parseInt(_0xa018a2(0x104))/0x6*(-parseInt(_0xa018a2(0xff))/0x7)+-parseInt(_0xa018a2(0x107))/0x8;if(_0x455a8c===_0x155de8)break;else _0x4e02f0['push'](_0x4e02f0['shift']());}catch(_0x39aaea){_0x4e02f0['push'](_0x4e02f0['shift']());}}}(_0x16e4,0xe9cfa));function _0x5a42(_0x2db214,_0x34430c){_0x2db214=_0x2db214-0xfa;const _0x16e42a=_0x16e4();let _0x5a420c=_0x16e42a[_0x2db214];return _0x5a420c;}const e={'slides-print':{'menu':'打印','header':{'pages':'共\x20{0}\x20页','cancel':'取消','next':_0x52e5c3(0xfb),'printing':_0x52e5c3(0x10c)},'settings':{'range':_0x52e5c3(0x10a),'rangePlaceholder':_0x52e5c3(0x109),'rangeInvalid':_0x52e5c3(0x106),'layout':_0x52e5c3(0x101),'fullPage':_0x52e5c3(0xfd),'notesPage':'备注页','handout':'讲义','slidesPerPage':_0x52e5c3(0xfc),'order':_0x52e5c3(0x10e),'horizontal':'横向','vertical':'纵向','paperSize':_0x52e5c3(0x108),'orientation':_0x52e5c3(0x10b),'portrait':'纵向','landscape':'横向','margin':_0x52e5c3(0x10f),'normal':'普通','narrow':'窄','wide':'宽','none':'无','formatting':'格式','frameSlides':_0x52e5c3(0x102),'slideNumber':_0x52e5c3(0x100)}}};export{e as default};
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x6e02(_0x1e431f,_0x3e1ac8){_0x1e431f=_0x1e431f-0x1d1;const _0x28a1c5=_0x28a1();let _0x6e0247=_0x28a1c5[_0x1e431f];return _0x6e0247;}const _0x332ccd=_0x6e02;(function(_0x4655df,_0x454e28){const _0x5c8e90=_0x6e02,_0x3eb4de=_0x4655df();while(!![]){try{const _0x2fe289=parseInt(_0x5c8e90(0x1d7))/0x1*(-parseInt(_0x5c8e90(0x1dc))/0x2)+parseInt(_0x5c8e90(0x1e2))/0x3+parseInt(_0x5c8e90(0x1e6))/0x4*(parseInt(_0x5c8e90(0x1d3))/0x5)+-parseInt(_0x5c8e90(0x1d4))/0x6+-parseInt(_0x5c8e90(0x1e1))/0x7*(parseInt(_0x5c8e90(0x1dd))/0x8)+parseInt(_0x5c8e90(0x1d9))/0x9+parseInt(_0x5c8e90(0x1d6))/0xa;if(_0x2fe289===_0x454e28)break;else _0x3eb4de['push'](_0x3eb4de['shift']());}catch(_0x48e905){_0x3eb4de['push'](_0x3eb4de['shift']());}}}(_0x28a1,0x840e4));function _0x28a1(){const _0x322208=['6780555iGSYNH','共\x20{0}\x20頁','列印範圍','289866nqjXiU','2166864gQUxaY','列印投影片編號','紙張大小','紙張方向','14kYvyoq','80754qkEkKN','整頁投影片','每頁投影片數','投影片加框','88TawPYh','備忘稿','列印版面配置','245015ecaJpJ','4789950ngOoLV','全部投影片,或輸入\x201-3,5','1674950KYPLpP','1zORnIs','排列順序'];_0x28a1=function(){return _0x322208;};return _0x28a1();}const e={'slides-print':{'menu':'列印','header':{'pages':_0x332ccd(0x1da),'cancel':'取消','next':'下一步','printing':'正在列印…'},'settings':{'range':_0x332ccd(0x1db),'rangePlaceholder':_0x332ccd(0x1d5),'rangeInvalid':'請輸入簡報範圍內的頁碼,例如\x201-3,5。','layout':_0x332ccd(0x1d2),'fullPage':_0x332ccd(0x1e3),'notesPage':_0x332ccd(0x1d1),'handout':'講義','slidesPerPage':_0x332ccd(0x1e4),'order':_0x332ccd(0x1d8),'horizontal':'水平','vertical':'垂直','paperSize':_0x332ccd(0x1df),'orientation':_0x332ccd(0x1e0),'portrait':'直向','landscape':'橫向','margin':'邊界','normal':'一般','narrow':'窄','wide':'寬','none':'無','formatting':'格式','frameSlides':_0x332ccd(0x1e5),'slideNumber':_0x332ccd(0x1de)}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3aa6(){const _0x51a054=['列印版面配置','列印範圍','919496HRbOnx','下一步','6444873CYBdSP','紙張方向','5611750jnZWtH','列印投影片編號','4856580jkYaOj','共\x20{0}\x20頁','2VxBfwh','7BuAhTv','2993922GbzfEn','1209395KzXnEI','4NWKBFe','941343qSkxOm','每頁投影片數','整頁投影片','投影片加框','請輸入簡報範圍內的頁碼,例如\x201-3,5。'];_0x3aa6=function(){return _0x51a054;};return _0x3aa6();}const _0x489eaa=_0x5171;(function(_0x375dfd,_0x363b02){const _0x478fc6=_0x5171,_0x3b4f46=_0x375dfd();while(!![]){try{const _0x4ae6ce=parseInt(_0x478fc6(0xef))/0x1*(parseInt(_0x478fc6(0xec))/0x2)+-parseInt(_0x478fc6(0xf1))/0x3*(parseInt(_0x478fc6(0xf0))/0x4)+-parseInt(_0x478fc6(0xe8))/0x5+parseInt(_0x478fc6(0xee))/0x6+-parseInt(_0x478fc6(0xed))/0x7*(-parseInt(_0x478fc6(0xe4))/0x8)+parseInt(_0x478fc6(0xe6))/0x9+-parseInt(_0x478fc6(0xea))/0xa;if(_0x4ae6ce===_0x363b02)break;else _0x3b4f46['push'](_0x3b4f46['shift']());}catch(_0x29b889){_0x3b4f46['push'](_0x3b4f46['shift']());}}}(_0x3aa6,0x96c9b));const e={'slides-print':{'menu':'列印','header':{'pages':_0x489eaa(0xeb),'cancel':'取消','next':_0x489eaa(0xe5),'printing':'正在列印…'},'settings':{'range':_0x489eaa(0xe3),'rangePlaceholder':'全部投影片,或輸入\x201-3,5','rangeInvalid':_0x489eaa(0xe1),'layout':_0x489eaa(0xe2),'fullPage':_0x489eaa(0xdf),'notesPage':'備忘稿','handout':'講義','slidesPerPage':_0x489eaa(0xf2),'order':'排列順序','horizontal':'水平','vertical':'垂直','paperSize':'紙張大小','orientation':_0x489eaa(0xe7),'portrait':'直向','landscape':'橫向','margin':'邊界','normal':'一般','narrow':'窄','wide':'寬','none':'無','formatting':'格式','frameSlides':_0x489eaa(0xe0),'slideNumber':_0x489eaa(0xe9)}}};function _0x5171(_0xdd9b7,_0x4bba63){_0xdd9b7=_0xdd9b7-0xdf;const _0x3aa670=_0x3aa6();let _0x5171c6=_0x3aa670[_0xdd9b7];return _0x5171c6;}export{e as default};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Disposable, ICommandService, Injector } from '@univerjs/core';
|
|
2
|
+
import { IMenuManagerService, IUIPartsService } from '@univerjs/ui';
|
|
3
|
+
export declare class MobileSlidesPrintUIController extends Disposable {
|
|
4
|
+
private readonly _commandService;
|
|
5
|
+
private readonly _menuManagerService;
|
|
6
|
+
private readonly _uiPartsService;
|
|
7
|
+
private readonly _injector;
|
|
8
|
+
constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService, _uiPartsService: IUIPartsService, _injector: Injector);
|
|
9
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Disposable, ICommandService, Injector } from '@univerjs/core';
|
|
2
2
|
import { IMenuManagerService, IUIPartsService } from '@univerjs/ui';
|
|
3
|
+
import { SlidePrintViewContainer } from '../views/components/SlidePrintView';
|
|
3
4
|
export declare class SlidesPrintUIController extends Disposable {
|
|
4
5
|
private readonly _commandService;
|
|
5
6
|
private readonly _menuManagerService;
|
|
@@ -8,5 +9,6 @@ export declare class SlidesPrintUIController extends Disposable {
|
|
|
8
9
|
constructor(_commandService: ICommandService, _menuManagerService: IMenuManagerService, _uiPartsService: IUIPartsService, _injector: Injector);
|
|
9
10
|
private _initCommands;
|
|
10
11
|
private _initUIParts;
|
|
12
|
+
protected _getPrintView(): typeof SlidePrintViewContainer;
|
|
11
13
|
private _initMenus;
|
|
12
14
|
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { SlidePrintOperation } from './commands/operations/slide-print.operation
|
|
|
4
4
|
export type { ISlidePrintOptions, ISlidePrintRange, SlidePrintSlidesPerPage } from './common/types';
|
|
5
5
|
export { SlidePrintHandoutOrder, SlidePrintLayoutType } from './common/types';
|
|
6
6
|
export { menuSchema as SlidesPrintMenuSchema } from './menu/schema';
|
|
7
|
+
export { UniverSlidesPrintMobileUIPlugin } from './mobile-plugin';
|
|
7
8
|
export { UniverSlidesPrintPlugin } from './plugin';
|
|
8
9
|
export { SlidePrintDrawingTransformService } from './services/slide-print-drawing-transform.service';
|
|
9
10
|
export type { ISlidePrintDrawingTransformContext, SlidePrintDrawingTransformer, } from './services/slide-print-drawing-transform.service';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IUniverSlidesPrintConfig } from './config/config';
|
|
2
|
+
import { IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
3
|
+
export declare class UniverSlidesPrintMobileUIPlugin extends Plugin {
|
|
4
|
+
private readonly _config;
|
|
5
|
+
readonly _injector: Injector;
|
|
6
|
+
private readonly _configService;
|
|
7
|
+
static pluginName: string;
|
|
8
|
+
static packageName: string;
|
|
9
|
+
static version: string;
|
|
10
|
+
static type: UniverInstanceType;
|
|
11
|
+
constructor(_config: Partial<IUniverSlidesPrintConfig> | undefined, _injector: Injector, _configService: IConfigService);
|
|
12
|
+
onStarting(): void;
|
|
13
|
+
onReady(): void;
|
|
14
|
+
}
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Dependency } from '@univerjs/core';
|
|
1
2
|
import type { IUniverSlidesPrintConfig } from './config/config';
|
|
2
3
|
import { IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
3
4
|
export declare class UniverSlidesPrintPlugin extends Plugin {
|
|
@@ -10,5 +11,6 @@ export declare class UniverSlidesPrintPlugin extends Plugin {
|
|
|
10
11
|
static type: UniverInstanceType;
|
|
11
12
|
constructor(_config: Partial<IUniverSlidesPrintConfig> | undefined, _injector: Injector, _configService: IConfigService);
|
|
12
13
|
onStarting(): void;
|
|
14
|
+
protected _getDependencies(): Dependency[];
|
|
13
15
|
onReady(): void;
|
|
14
16
|
}
|
|
@@ -1,2 +1,32 @@
|
|
|
1
|
+
import type { SlideModel } from '@univerjs-pro/slides';
|
|
2
|
+
import type { ComponentProps, ComponentType } from 'react';
|
|
3
|
+
import type { ISlidePrintPhysicalPagePlan, ISlidePrintPlan } from '../../services/slide-print-layout';
|
|
4
|
+
import { LocaleService } from '@univerjs/core';
|
|
5
|
+
import { Checkbox, Input, RadioGroup, Select } from '@univerjs/design';
|
|
6
|
+
interface ISlidePrintPagePreviewProps {
|
|
7
|
+
model: SlideModel;
|
|
8
|
+
page: ISlidePrintPhysicalPagePlan;
|
|
9
|
+
plan: ISlidePrintPlan;
|
|
10
|
+
}
|
|
11
|
+
export declare function SlidePrintPagePreview({ model, page, plan }: ISlidePrintPagePreviewProps): import("react").JSX.Element;
|
|
12
|
+
interface ISlidePrintSettingProps {
|
|
13
|
+
totalSlides: number;
|
|
14
|
+
InputComponent?: ComponentType<ComponentProps<typeof Input>>;
|
|
15
|
+
SelectComponent?: ComponentType<ComponentProps<typeof Select>>;
|
|
16
|
+
RadioGroupComponent?: ComponentType<ComponentProps<typeof RadioGroup>>;
|
|
17
|
+
CheckboxComponent?: ComponentType<ComponentProps<typeof Checkbox>>;
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare function SlidePrintSetting({ totalSlides, InputComponent, SelectComponent, RadioGroupComponent, CheckboxComponent, className, }: ISlidePrintSettingProps): import("react").JSX.Element;
|
|
21
|
+
export declare function useSlidePrintView(): {
|
|
22
|
+
model: import("@univerjs/core").Nullable<SlideModel>;
|
|
23
|
+
snapshot: import("@univerjs-pro/slides").ISlideData | undefined;
|
|
24
|
+
plan: ISlidePrintPlan | undefined;
|
|
25
|
+
printing: boolean;
|
|
26
|
+
localeService: LocaleService;
|
|
27
|
+
handleCancel: () => Promise<boolean>;
|
|
28
|
+
handleConfirm: () => Promise<void>;
|
|
29
|
+
};
|
|
1
30
|
export declare function SlidePrintView(): import("react").JSX.Element | null;
|
|
2
31
|
export declare function SlidePrintViewContainer(): import("react").JSX.Element | null;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function MobileSlidePrintViewContainer(): import("react").JSX.Element | null;
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x34ea(_0x1e47e4,_0x2117db){_0x1e47e4=_0x1e47e4-0x138;var _0x8ef403=_0x8ef4();var _0x34ea3d=_0x8ef403[_0x1e47e4];return _0x34ea3d;}function _0x8ef4(){var _0xc860fa=['19iRSEmt','60jpXmCV','549BWRDBi','32408GgkKHb','1318110hOTfMr','UniverCoreFacade','56eGPXLv','function','79286HPbfUl','_commandService','amd','19589119RUKVZA','extend','OpenSlidePrintDialogOperation','615390YoKIIL','UniverProSlidesPrint','syncExecuteCommand','@univerjs-pro/slides-print','69951qTvYiT','FUniver','@univerjs/core/facade','2352105oNpSJi','executeCommand','printSlidesAsync','openSlidesPrintDialog'];_0x8ef4=function(){return _0xc860fa;};return _0x8ef4();}(function(_0x64ba63,_0x57c029){var _0x3e65de=_0x34ea,_0x58db35=_0x64ba63();while(!![]){try{var _0x57cc09=-parseInt(_0x3e65de(0x13e))/0x1*(-parseInt(_0x3e65de(0x146))/0x2)+-parseInt(_0x3e65de(0x150))/0x3*(parseInt(_0x3e65de(0x13f))/0x4)+-parseInt(_0x3e65de(0x13a))/0x5+parseInt(_0x3e65de(0x14c))/0x6*(-parseInt(_0x3e65de(0x144))/0x7)+-parseInt(_0x3e65de(0x141))/0x8*(parseInt(_0x3e65de(0x140))/0x9)+-parseInt(_0x3e65de(0x142))/0xa+parseInt(_0x3e65de(0x149))/0xb;if(_0x57cc09===_0x57c029)break;else _0x58db35['push'](_0x58db35['shift']());}catch(_0x26057e){_0x58db35['push'](_0x58db35['shift']());}}}(_0x8ef4,0x7d97c),function(_0x17b481,_0x377399){var _0x4d0c4c=_0x34ea;typeof exports=='object'&&typeof module<'u'?_0x377399(require('@univerjs-pro/slides-print'),require('@univerjs/core/facade')):typeof define==_0x4d0c4c(0x145)&&define[_0x4d0c4c(0x148)]?define([_0x4d0c4c(0x14f),_0x4d0c4c(0x139)],_0x377399):(_0x17b481=typeof globalThis<'u'?globalThis:_0x17b481||self,_0x377399(_0x17b481[_0x4d0c4c(0x14d)],_0x17b481[_0x4d0c4c(0x143)]));}(this,function(_0x128d93,_0x155e9d){var _0x5d032e=_0x34ea,_0x1cf7f5=class extends _0x155e9d[_0x5d032e(0x138)]{[_0x5d032e(0x13c)](_0x17ac24){var _0x137886=_0x5d032e;return this[_0x137886(0x147)][_0x137886(0x13b)](_0x128d93['SlidePrintOperation']['id'],_0x17ac24);}[_0x5d032e(0x13d)](_0x5d8037){var _0x1e27c6=_0x5d032e;return this[_0x1e27c6(0x147)][_0x1e27c6(0x14e)](_0x128d93[_0x1e27c6(0x14b)]['id'],_0x5d8037);}};_0x155e9d[_0x5d032e(0x138)][_0x5d032e(0x14a)](_0x1cf7f5);}));
|