@univerjs-pro/ink-ui 1.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/README.md +46 -0
  2. package/lib/cjs/index.js +1 -0
  3. package/lib/cjs/locale/ar-SA.js +1 -0
  4. package/lib/cjs/locale/ca-ES.js +1 -0
  5. package/lib/cjs/locale/de-DE.js +1 -0
  6. package/lib/cjs/locale/en-US.js +1 -0
  7. package/lib/cjs/locale/es-ES.js +1 -0
  8. package/lib/cjs/locale/fa-IR.js +1 -0
  9. package/lib/cjs/locale/fr-FR.js +1 -0
  10. package/lib/cjs/locale/id-ID.js +1 -0
  11. package/lib/cjs/locale/it-IT.js +1 -0
  12. package/lib/cjs/locale/ja-JP.js +1 -0
  13. package/lib/cjs/locale/ko-KR.js +1 -0
  14. package/lib/cjs/locale/pl-PL.js +1 -0
  15. package/lib/cjs/locale/pt-BR.js +1 -0
  16. package/lib/cjs/locale/ru-RU.js +1 -0
  17. package/lib/cjs/locale/sk-SK.js +1 -0
  18. package/lib/cjs/locale/vi-VN.js +1 -0
  19. package/lib/cjs/locale/zh-CN.js +1 -0
  20. package/lib/cjs/locale/zh-HK.js +1 -0
  21. package/lib/cjs/locale/zh-TW.js +1 -0
  22. package/lib/es/index.js +1 -0
  23. package/lib/es/locale/ar-SA.js +1 -0
  24. package/lib/es/locale/ca-ES.js +1 -0
  25. package/lib/es/locale/de-DE.js +1 -0
  26. package/lib/es/locale/en-US.js +1 -0
  27. package/lib/es/locale/es-ES.js +1 -0
  28. package/lib/es/locale/fa-IR.js +1 -0
  29. package/lib/es/locale/fr-FR.js +1 -0
  30. package/lib/es/locale/id-ID.js +1 -0
  31. package/lib/es/locale/it-IT.js +1 -0
  32. package/lib/es/locale/ja-JP.js +1 -0
  33. package/lib/es/locale/ko-KR.js +1 -0
  34. package/lib/es/locale/pl-PL.js +1 -0
  35. package/lib/es/locale/pt-BR.js +1 -0
  36. package/lib/es/locale/ru-RU.js +1 -0
  37. package/lib/es/locale/sk-SK.js +1 -0
  38. package/lib/es/locale/vi-VN.js +1 -0
  39. package/lib/es/locale/zh-CN.js +1 -0
  40. package/lib/es/locale/zh-HK.js +1 -0
  41. package/lib/es/locale/zh-TW.js +1 -0
  42. package/lib/index.css +403 -0
  43. package/lib/index.js +1 -0
  44. package/lib/locale/ar-SA.js +1 -0
  45. package/lib/locale/ca-ES.js +1 -0
  46. package/lib/locale/de-DE.js +1 -0
  47. package/lib/locale/en-US.js +1 -0
  48. package/lib/locale/es-ES.js +1 -0
  49. package/lib/locale/fa-IR.js +1 -0
  50. package/lib/locale/fr-FR.js +1 -0
  51. package/lib/locale/id-ID.js +1 -0
  52. package/lib/locale/it-IT.js +1 -0
  53. package/lib/locale/ja-JP.js +1 -0
  54. package/lib/locale/ko-KR.js +1 -0
  55. package/lib/locale/pl-PL.js +1 -0
  56. package/lib/locale/pt-BR.js +1 -0
  57. package/lib/locale/ru-RU.js +1 -0
  58. package/lib/locale/sk-SK.js +1 -0
  59. package/lib/locale/vi-VN.js +1 -0
  60. package/lib/locale/zh-CN.js +1 -0
  61. package/lib/locale/zh-HK.js +1 -0
  62. package/lib/locale/zh-TW.js +1 -0
  63. package/lib/types/config/config.d.ts +5 -0
  64. package/lib/types/index.d.ts +6 -0
  65. package/lib/types/locale/ar-SA.d.ts +3 -0
  66. package/lib/types/locale/ca-ES.d.ts +3 -0
  67. package/lib/types/locale/de-DE.d.ts +3 -0
  68. package/lib/types/locale/en-US.d.ts +15 -0
  69. package/lib/types/locale/es-ES.d.ts +3 -0
  70. package/lib/types/locale/fa-IR.d.ts +3 -0
  71. package/lib/types/locale/fr-FR.d.ts +3 -0
  72. package/lib/types/locale/id-ID.d.ts +3 -0
  73. package/lib/types/locale/it-IT.d.ts +3 -0
  74. package/lib/types/locale/ja-JP.d.ts +3 -0
  75. package/lib/types/locale/ko-KR.d.ts +3 -0
  76. package/lib/types/locale/pl-PL.d.ts +3 -0
  77. package/lib/types/locale/pt-BR.d.ts +3 -0
  78. package/lib/types/locale/ru-RU.d.ts +3 -0
  79. package/lib/types/locale/sk-SK.d.ts +3 -0
  80. package/lib/types/locale/types.d.ts +3 -0
  81. package/lib/types/locale/vi-VN.d.ts +3 -0
  82. package/lib/types/locale/zh-CN.d.ts +3 -0
  83. package/lib/types/locale/zh-HK.d.ts +3 -0
  84. package/lib/types/locale/zh-TW.d.ts +3 -0
  85. package/lib/types/plugin.d.ts +16 -0
  86. package/lib/types/services/ink-outside-interaction.service.d.ts +14 -0
  87. package/lib/types/services/ink-ui-state.service.d.ts +37 -0
  88. package/lib/types/services/ink-ui.service.d.ts +8 -0
  89. package/lib/types/views/InkBrushToolIcon.d.ts +4 -0
  90. package/lib/types/views/InkDarkBrushToolIcon.d.ts +4 -0
  91. package/lib/types/views/InkDarkEraserToolIcon.d.ts +4 -0
  92. package/lib/types/views/InkDarkHighlighterToolIcon.d.ts +4 -0
  93. package/lib/types/views/InkDarkPenToolIcon.d.ts +4 -0
  94. package/lib/types/views/InkEraserToolIcon.d.ts +4 -0
  95. package/lib/types/views/InkFloatingToolbar.d.ts +20 -0
  96. package/lib/types/views/InkFloatingToolbarContainer.d.ts +1 -0
  97. package/lib/types/views/InkIcons.d.ts +6 -0
  98. package/lib/types/views/InkPenToolIcon.d.ts +4 -0
  99. package/lib/types/views/InkSmudgeToolIcon.d.ts +4 -0
  100. package/lib/umd/index.js +1 -0
  101. package/lib/umd/locale/ar-SA.js +1 -0
  102. package/lib/umd/locale/ca-ES.js +1 -0
  103. package/lib/umd/locale/de-DE.js +1 -0
  104. package/lib/umd/locale/en-US.js +1 -0
  105. package/lib/umd/locale/es-ES.js +1 -0
  106. package/lib/umd/locale/fa-IR.js +1 -0
  107. package/lib/umd/locale/fr-FR.js +1 -0
  108. package/lib/umd/locale/id-ID.js +1 -0
  109. package/lib/umd/locale/it-IT.js +1 -0
  110. package/lib/umd/locale/ja-JP.js +1 -0
  111. package/lib/umd/locale/ko-KR.js +1 -0
  112. package/lib/umd/locale/pl-PL.js +1 -0
  113. package/lib/umd/locale/pt-BR.js +1 -0
  114. package/lib/umd/locale/ru-RU.js +1 -0
  115. package/lib/umd/locale/sk-SK.js +1 -0
  116. package/lib/umd/locale/vi-VN.js +1 -0
  117. package/lib/umd/locale/zh-CN.js +1 -0
  118. package/lib/umd/locale/zh-HK.js +1 -0
  119. package/lib/umd/locale/zh-TW.js +1 -0
  120. package/package.json +88 -0
@@ -0,0 +1 @@
1
+ function _0x1db8(){const _0x52b9b9=['4047180xBjNio','Esborrador','2739376hNpEPT','Bolígraf','5IxTHpz','Pinzell','Surt\x20del\x20mode\x20de\x20tinta','9496053HAzMgw','Gruix\x20de\x20tinta\x20{0}','429591YgDBhZ','Selector\x20de\x20color\x20de\x20tinta','341700dxmGrK','671990jDpLAc','7ruwygA','Selector\x20de\x20gruix\x20de\x20tinta','1734240VfjwSE'];_0x1db8=function(){return _0x52b9b9;};return _0x1db8();}function _0x1dd3(_0x356605,_0x3dc898){_0x356605=_0x356605-0x1e1;const _0x1db89b=_0x1db8();let _0x1dd3e1=_0x1db89b[_0x356605];return _0x1dd3e1;}const _0x5b5d46=_0x1dd3;(function(_0x510cd6,_0x106a8b){const _0x443680=_0x1dd3,_0xa38639=_0x510cd6();while(!![]){try{const _0x3e1865=-parseInt(_0x443680(0x1eb))/0x1+parseInt(_0x443680(0x1ee))/0x2+parseInt(_0x443680(0x1e1))/0x3+-parseInt(_0x443680(0x1ed))/0x4+parseInt(_0x443680(0x1e6))/0x5*(parseInt(_0x443680(0x1e2))/0x6)+-parseInt(_0x443680(0x1ef))/0x7*(-parseInt(_0x443680(0x1e4))/0x8)+-parseInt(_0x443680(0x1e9))/0x9;if(_0x3e1865===_0x106a8b)break;else _0xa38639['push'](_0xa38639['shift']());}catch(_0x29641e){_0xa38639['push'](_0xa38639['shift']());}}}(_0x1db8,0x581be));const e={'ink-ui':{'toolbar':{'pen':_0x5b5d46(0x1e5),'brush':_0x5b5d46(0x1e7),'highlighter':'Ressaltador','eraser':_0x5b5d46(0x1e3),'widthSelector':_0x5b5d46(0x1f0),'widthValue':_0x5b5d46(0x1ea),'colorPicker':_0x5b5d46(0x1ec),'exitInkMode':_0x5b5d46(0x1e8)}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x5255b3=_0x3a39;(function(_0x11d6f3,_0x5a8a85){const _0x4a427e=_0x3a39,_0x50ef36=_0x11d6f3();while(!![]){try{const _0x4e01ca=-parseInt(_0x4a427e(0xdc))/0x1+-parseInt(_0x4a427e(0xda))/0x2+-parseInt(_0x4a427e(0xe4))/0x3+-parseInt(_0x4a427e(0xe6))/0x4*(-parseInt(_0x4a427e(0xe1))/0x5)+-parseInt(_0x4a427e(0xe5))/0x6+-parseInt(_0x4a427e(0xdd))/0x7+parseInt(_0x4a427e(0xdf))/0x8;if(_0x4e01ca===_0x5a8a85)break;else _0x50ef36['push'](_0x50ef36['shift']());}catch(_0x5bfb19){_0x50ef36['push'](_0x50ef36['shift']());}}}(_0x5e99,0xbcb96));const e={'ink-ui':{'toolbar':{'pen':_0x5255b3(0xe3),'brush':'Pinsel','highlighter':_0x5255b3(0xe2),'eraser':_0x5255b3(0xde),'widthSelector':_0x5255b3(0xe0),'widthValue':'Tintenbreite\x20{0}','colorPicker':_0x5255b3(0xdb),'exitInkMode':'Tintenmodus\x20beenden'}}};function _0x5e99(){const _0x1e3ff3=['2891874ETwdxT','Tintenfarbe\x20auswählen','1396839rcLYVF','584892QTJIXd','Radierer','48655312Ovabme','Tintenbreite\x20auswählen','5mzetJy','Textmarker','Stift','4489572XqjTpp','7221042Rhqhlp','1269852emIukI'];_0x5e99=function(){return _0x1e3ff3;};return _0x5e99();}function _0x3a39(_0x3e3a5e,_0x64e767){_0x3e3a5e=_0x3e3a5e-0xda;const _0x5e9962=_0x5e99();let _0x3a397d=_0x5e9962[_0x3e3a5e];return _0x3a397d;}export{e as default};
@@ -0,0 +1 @@
1
+ const _0x511142=_0x25b9;function _0x25b9(_0x59b5ab,_0x4169b2){_0x59b5ab=_0x59b5ab-0xa6;const _0x504592=_0x5045();let _0x25b9e7=_0x504592[_0x59b5ab];return _0x25b9e7;}(function(_0x58d177,_0x56162f){const _0x5c6fe1=_0x25b9,_0x2073b3=_0x58d177();while(!![]){try{const _0x23df5d=parseInt(_0x5c6fe1(0xae))/0x1*(parseInt(_0x5c6fe1(0xa6))/0x2)+parseInt(_0x5c6fe1(0xb4))/0x3*(parseInt(_0x5c6fe1(0xab))/0x4)+-parseInt(_0x5c6fe1(0xb0))/0x5+-parseInt(_0x5c6fe1(0xb1))/0x6+-parseInt(_0x5c6fe1(0xb6))/0x7*(-parseInt(_0x5c6fe1(0xaa))/0x8)+-parseInt(_0x5c6fe1(0xb2))/0x9+-parseInt(_0x5c6fe1(0xa8))/0xa;if(_0x23df5d===_0x56162f)break;else _0x2073b3['push'](_0x2073b3['shift']());}catch(_0x22579b){_0x2073b3['push'](_0x2073b3['shift']());}}}(_0x5045,0x62dda));function _0x5045(){const _0x2504ea=['1136365uEYkmO','946404SzwTfW','1771488CLwaPg','Exit\x20ink\x20mode','9mujAXK','Ink\x20color\x20picker','273VcYKUq','Eraser','8FJpuyt','Pen','3068810SrRHaS','Ink\x20width\x20{0}','35176scDNMv','638516opABln','Highlighter','Ink\x20width\x20selector','160826yTSvOO','Brush'];_0x5045=function(){return _0x2504ea;};return _0x5045();}const e={'ink-ui':{'toolbar':{'pen':_0x511142(0xa7),'brush':_0x511142(0xaf),'highlighter':_0x511142(0xac),'eraser':_0x511142(0xb7),'widthSelector':_0x511142(0xad),'widthValue':_0x511142(0xa9),'colorPicker':_0x511142(0xb5),'exitInkMode':_0x511142(0xb3)}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x3741bc=_0x53be;(function(_0x54ad8d,_0x4382c7){const _0x302733=_0x53be,_0x1acd27=_0x54ad8d();while(!![]){try{const _0x58185a=-parseInt(_0x302733(0xe8))/0x1*(parseInt(_0x302733(0xe2))/0x2)+parseInt(_0x302733(0xeb))/0x3+parseInt(_0x302733(0xd8))/0x4*(parseInt(_0x302733(0xdd))/0x5)+-parseInt(_0x302733(0xe0))/0x6*(parseInt(_0x302733(0xe3))/0x7)+parseInt(_0x302733(0xe1))/0x8+-parseInt(_0x302733(0xe7))/0x9*(parseInt(_0x302733(0xda))/0xa)+-parseInt(_0x302733(0xe5))/0xb*(-parseInt(_0x302733(0xe6))/0xc);if(_0x58185a===_0x4382c7)break;else _0x1acd27['push'](_0x1acd27['shift']());}catch(_0x156792){_0x1acd27['push'](_0x1acd27['shift']());}}}(_0x5552,0x5dbb7));function _0x53be(_0x3b8fa6,_0x3b68aa){_0x3b8fa6=_0x3b8fa6-0xd8;const _0x555250=_0x5552();let _0x53be4b=_0x555250[_0x3b8fa6];return _0x53be4b;}function _0x5552(){const _0x59a688=['Salir\x20del\x20modo\x20de\x20tinta','Borrador','2182389VrPIiQ','220gRjyrY','Resaltador','50970zyHwOq','Selector\x20de\x20color\x20de\x20tinta','Pluma','5515XpaAXK','Pincel','Selector\x20de\x20grosor\x20de\x20tinta','868026csZScm','522824OaDEWQ','438xfRyjg','35hbQFWT','Grosor\x20de\x20tinta\x20{0}','15315707WcGmJx','12lIHUFg','1143ainxgL','2243eAKUYs'];_0x5552=function(){return _0x59a688;};return _0x5552();}const e={'ink-ui':{'toolbar':{'pen':_0x3741bc(0xdc),'brush':_0x3741bc(0xde),'highlighter':_0x3741bc(0xd9),'eraser':_0x3741bc(0xea),'widthSelector':_0x3741bc(0xdf),'widthValue':_0x3741bc(0xe4),'colorPicker':_0x3741bc(0xdb),'exitInkMode':_0x3741bc(0xe9)}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x5a086c=_0x74cf;(function(_0xa3ae86,_0x49f9cd){const _0x2bf417=_0x74cf,_0x3e48a3=_0xa3ae86();while(!![]){try{const _0x294e7f=-parseInt(_0x2bf417(0x11e))/0x1*(-parseInt(_0x2bf417(0x128))/0x2)+-parseInt(_0x2bf417(0x11b))/0x3+parseInt(_0x2bf417(0x12a))/0x4*(parseInt(_0x2bf417(0x127))/0x5)+-parseInt(_0x2bf417(0x120))/0x6+parseInt(_0x2bf417(0x11c))/0x7+-parseInt(_0x2bf417(0x129))/0x8*(parseInt(_0x2bf417(0x123))/0x9)+-parseInt(_0x2bf417(0x125))/0xa;if(_0x294e7f===_0x49f9cd)break;else _0x3e48a3['push'](_0x3e48a3['shift']());}catch(_0x4cbbcd){_0x3e48a3['push'](_0x3e48a3['shift']());}}}(_0x37ef,0xedaf4));const e={'ink-ui':{'toolbar':{'pen':_0x5a086c(0x126),'brush':_0x5a086c(0x121),'highlighter':_0x5a086c(0x11d),'eraser':_0x5a086c(0x122),'widthSelector':'انتخاب\x20ضخامت\x20جوهر','widthValue':_0x5a086c(0x11f),'colorPicker':_0x5a086c(0x124),'exitInkMode':'خروج\x20از\x20حالت\x20جوهر'}}};function _0x74cf(_0x2ac4da,_0x4e638e){_0x2ac4da=_0x2ac4da-0x11b;const _0x37ef2d=_0x37ef();let _0x74cff2=_0x37ef2d[_0x2ac4da];return _0x74cff2;}function _0x37ef(){const _0x3aeefe=['پاک‌کن','36blgEDe','انتخاب\x20رنگ\x20جوهر','12046920LnUIoG','قلم','6135835EgkuNI','6fmwvPl','2320360JOtHoE','4xDgHWs','374238dPCnHK','9631874nlddxY','هایلایتر','458123KnyKtV','ضخامت\x20جوهر\x20{0}','3086064IfTGvH','قلم‌مو'];_0x37ef=function(){return _0x3aeefe;};return _0x37ef();}export{e as default};
@@ -0,0 +1 @@
1
+ const _0x124ca4=_0x2f89;function _0x2f89(_0x4b33ee,_0x4d3a05){_0x4b33ee=_0x4b33ee-0x110;const _0x2345bd=_0x2345();let _0x2f8937=_0x2345bd[_0x4b33ee];return _0x2f8937;}function _0x2345(){const _0x289ff0=['Quitter\x20le\x20mode\x20encre','130Zycaqv','Sélecteur\x20d’épaisseur\x20de\x20l’encre','132VDPZsR','8597178imkXoe','Surligneur','91944aCtruw','96kPNKvO','Stylo','119DSSUrT','46218rCuNzf','178238EPMmvs','4XHxqmi','940203RsUmdS','4960293NxXTQH','Sélecteur\x20de\x20couleur\x20de\x20l’encre','392784OFrruN','515xFAvCg'];_0x2345=function(){return _0x289ff0;};return _0x2345();}(function(_0x4d1399,_0x311302){const _0x86348d=_0x2f89,_0x296b06=_0x4d1399();while(!![]){try{const _0x1e3c6e=parseInt(_0x86348d(0x11e))/0x1*(-parseInt(_0x86348d(0x11d))/0x2)+parseInt(_0x86348d(0x118))/0x3*(parseInt(_0x86348d(0x119))/0x4)+-parseInt(_0x86348d(0x111))/0x5*(parseInt(_0x86348d(0x11c))/0x6)+parseInt(_0x86348d(0x11b))/0x7*(-parseInt(_0x86348d(0x110))/0x8)+-parseInt(_0x86348d(0x116))/0x9+parseInt(_0x86348d(0x113))/0xa*(-parseInt(_0x86348d(0x11f))/0xb)+-parseInt(_0x86348d(0x115))/0xc*(-parseInt(_0x86348d(0x120))/0xd);if(_0x1e3c6e===_0x311302)break;else _0x296b06['push'](_0x296b06['shift']());}catch(_0x31e5b6){_0x296b06['push'](_0x296b06['shift']());}}}(_0x2345,0xd7475));const e={'ink-ui':{'toolbar':{'pen':_0x124ca4(0x11a),'brush':'Pinceau','highlighter':_0x124ca4(0x117),'eraser':'Gomme','widthSelector':_0x124ca4(0x114),'widthValue':'Épaisseur\x20de\x20l’encre\x20{0}','colorPicker':_0x124ca4(0x121),'exitInkMode':_0x124ca4(0x112)}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0xb271e9=_0x5521;(function(_0xef9e9b,_0x1ee85d){const _0x5d3494=_0x5521,_0x251b2e=_0xef9e9b();while(!![]){try{const _0x586d26=parseInt(_0x5d3494(0x199))/0x1+-parseInt(_0x5d3494(0x18f))/0x2+-parseInt(_0x5d3494(0x18e))/0x3*(parseInt(_0x5d3494(0x196))/0x4)+parseInt(_0x5d3494(0x197))/0x5+-parseInt(_0x5d3494(0x191))/0x6+parseInt(_0x5d3494(0x198))/0x7+parseInt(_0x5d3494(0x18c))/0x8;if(_0x586d26===_0x1ee85d)break;else _0x251b2e['push'](_0x251b2e['shift']());}catch(_0x3fbf97){_0x251b2e['push'](_0x251b2e['shift']());}}}(_0xa4ef,0xb55ef));const e={'ink-ui':{'toolbar':{'pen':'Pena','brush':'Kuas','highlighter':_0xb271e9(0x193),'eraser':_0xb271e9(0x190),'widthSelector':_0xb271e9(0x18d),'widthValue':_0xb271e9(0x192),'colorPicker':_0xb271e9(0x194),'exitInkMode':_0xb271e9(0x195)}}};function _0x5521(_0x3f1743,_0xb0b3cd){_0x3f1743=_0x3f1743-0x18c;const _0xa4ef09=_0xa4ef();let _0x5521f6=_0xa4ef09[_0x3f1743];return _0x5521f6;}export{e as default};function _0xa4ef(){const _0x3ff9cb=['6672318lXgClf','Ketebalan\x20tinta\x20{0}','Penyorot','Pemilih\x20warna\x20tinta','Keluar\x20dari\x20mode\x20tinta','1356ezREZt','1898025amdVHq','9243339qoVZkJ','441119vqHApS','10248120SIRVKZ','Pemilih\x20ketebalan\x20tinta','11274rPbZSh','586612SXDMHu','Penghapus'];_0xa4ef=function(){return _0x3ff9cb;};return _0xa4ef();}
@@ -0,0 +1 @@
1
+ const _0x208119=_0x50f8;function _0x50f8(_0x16e5c8,_0x1051d5){_0x16e5c8=_0x16e5c8-0xc1;const _0x83cb10=_0x83cb();let _0x50f881=_0x83cb10[_0x16e5c8];return _0x50f881;}(function(_0x19d2a1,_0x45cb4b){const _0xb53a69=_0x50f8,_0xa7d2dd=_0x19d2a1();while(!![]){try{const _0x5da002=-parseInt(_0xb53a69(0xd0))/0x1*(parseInt(_0xb53a69(0xc9))/0x2)+-parseInt(_0xb53a69(0xc6))/0x3+-parseInt(_0xb53a69(0xc5))/0x4+-parseInt(_0xb53a69(0xcf))/0x5+-parseInt(_0xb53a69(0xd1))/0x6+parseInt(_0xb53a69(0xca))/0x7*(-parseInt(_0xb53a69(0xc7))/0x8)+parseInt(_0xb53a69(0xc3))/0x9*(parseInt(_0xb53a69(0xc2))/0xa);if(_0x5da002===_0x45cb4b)break;else _0xa7d2dd['push'](_0xa7d2dd['shift']());}catch(_0x5b89d3){_0xa7d2dd['push'](_0xa7d2dd['shift']());}}}(_0x83cb,0xe2fdd));function _0x83cb(){const _0x24b17f=['Spessore\x20inchiostro\x20{0}','2081665RQyoqq','723391cRZCPv','2949636dmUPRB','Esci\x20dalla\x20modalità\x20inchiostro','10UWArgn','41316003OtbSbX','Selettore\x20spessore\x20inchiostro','427328ObVePR','2747367CypyhN','8055672bxolDe','Selettore\x20colore\x20inchiostro','2AMEOrD','7mBHvFi','Penna','Pennello','Evidenziatore'];_0x83cb=function(){return _0x24b17f;};return _0x83cb();}const e={'ink-ui':{'toolbar':{'pen':_0x208119(0xcb),'brush':_0x208119(0xcc),'highlighter':_0x208119(0xcd),'eraser':'Gomma','widthSelector':_0x208119(0xc4),'widthValue':_0x208119(0xce),'colorPicker':_0x208119(0xc8),'exitInkMode':_0x208119(0xc1)}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x13fa2e=_0x3638;(function(_0x510bf6,_0x3018ae){const _0x5a82b9=_0x3638,_0xa9102e=_0x510bf6();while(!![]){try{const _0x5611be=parseInt(_0x5a82b9(0x15e))/0x1*(parseInt(_0x5a82b9(0x151))/0x2)+parseInt(_0x5a82b9(0x154))/0x3+-parseInt(_0x5a82b9(0x156))/0x4*(-parseInt(_0x5a82b9(0x155))/0x5)+-parseInt(_0x5a82b9(0x159))/0x6+-parseInt(_0x5a82b9(0x15f))/0x7*(parseInt(_0x5a82b9(0x153))/0x8)+parseInt(_0x5a82b9(0x158))/0x9+parseInt(_0x5a82b9(0x152))/0xa*(-parseInt(_0x5a82b9(0x15c))/0xb);if(_0x5611be===_0x3018ae)break;else _0xa9102e['push'](_0xa9102e['shift']());}catch(_0x2695db){_0xa9102e['push'](_0xa9102e['shift']());}}}(_0x4500,0x6007b));const e={'ink-ui':{'toolbar':{'pen':'ペン','brush':'ブラシ','highlighter':'蛍光ペン','eraser':_0x13fa2e(0x15b),'widthSelector':_0x13fa2e(0x15a),'widthValue':_0x13fa2e(0x157),'colorPicker':_0x13fa2e(0x150),'exitInkMode':_0x13fa2e(0x15d)}}};export{e as default};function _0x3638(_0x5ca62e,_0x24f898){_0x5ca62e=_0x5ca62e-0x150;const _0x4500dd=_0x4500();let _0x3638bd=_0x4500dd[_0x5ca62e];return _0x3638bd;}function _0x4500(){const _0x7dfae8=['6428PUJyvy','インク幅\x20{0}','2334447YdAfiu','1932624DcCjtD','インク幅セレクター','消しゴム','74041HBvlVd','インクモードを終了','2jLGuls','259xcUnEh','インク色セレクター','683360yQDyFL','670bwqbeO','67312ycVKeK','915582VssBsZ','715naAzfe'];_0x4500=function(){return _0x7dfae8;};return _0x4500();}
@@ -0,0 +1 @@
1
+ const _0x343af5=_0x34db;function _0x4f4a(){const _0x1d79e0=['지우개','잉크\x20모드\x20종료','브러시','1245861NqEAJA','8uwloeD','2175340pLImaA','167621DHHqaD','318ctsGlX','잉크\x20색상\x20선택','65233SeizuJ','6TPRZPx','잉크\x20두께\x20선택','243540Sdtbqy','형광펜','451232IeoMVh','잉크\x20두께\x20{0}','2024CbpSzh','10760dbxndf'];_0x4f4a=function(){return _0x1d79e0;};return _0x4f4a();}(function(_0x33f95e,_0x30e19d){const _0x41b5f6=_0x34db,_0x39ac9a=_0x33f95e();while(!![]){try{const _0x303646=parseInt(_0x41b5f6(0xa0))/0x1*(parseInt(_0x41b5f6(0x92))/0x2)+-parseInt(_0x41b5f6(0x94))/0x3+-parseInt(_0x41b5f6(0x96))/0x4+-parseInt(_0x41b5f6(0x9f))/0x5+parseInt(_0x41b5f6(0xa1))/0x6*(parseInt(_0x41b5f6(0x91))/0x7)+parseInt(_0x41b5f6(0x9e))/0x8*(parseInt(_0x41b5f6(0x9d))/0x9)+parseInt(_0x41b5f6(0x99))/0xa*(-parseInt(_0x41b5f6(0x98))/0xb);if(_0x303646===_0x30e19d)break;else _0x39ac9a['push'](_0x39ac9a['shift']());}catch(_0x10bb2d){_0x39ac9a['push'](_0x39ac9a['shift']());}}}(_0x4f4a,0x4b3bf));const e={'ink-ui':{'toolbar':{'pen':'펜','brush':_0x343af5(0x9c),'highlighter':_0x343af5(0x95),'eraser':_0x343af5(0x9a),'widthSelector':_0x343af5(0x93),'widthValue':_0x343af5(0x97),'colorPicker':_0x343af5(0xa2),'exitInkMode':_0x343af5(0x9b)}}};function _0x34db(_0x2ab4b7,_0x18705b){_0x2ab4b7=_0x2ab4b7-0x91;const _0x4f4a91=_0x4f4a();let _0x34db66=_0x4f4a91[_0x2ab4b7];return _0x34db66;}export{e as default};
@@ -0,0 +1 @@
1
+ function _0x20df(_0x2b9bdc,_0x3d6af7){_0x2b9bdc=_0x2b9bdc-0x161;const _0x5ee1a0=_0x5ee1();let _0x20df50=_0x5ee1a0[_0x2b9bdc];return _0x20df50;}function _0x5ee1(){const _0x4972dc=['9nRcWxq','Selektor\x20szerokości\x20pisma','Szerokość\x20pisma\x20{0}','Selektor\x20koloru\x20pisma','Gumka','234912rFkCZg','6996zyaLdU','234KywPkM','Wyjdź\x20z\x20trybu\x20pisma\x20odręcznego','1506379aarAVy','Pędzel','2782265fUcjue','20796iFmrec','46676DcatwS','8RIlmto','16190DseKzu','4DjhdGV','787470AIDbOe'];_0x5ee1=function(){return _0x4972dc;};return _0x5ee1();}const _0x4c5718=_0x20df;(function(_0x5dec52,_0x3fc4be){const _0x393ad3=_0x20df,_0x3a7ce1=_0x5dec52();while(!![]){try{const _0x1c0218=parseInt(_0x393ad3(0x172))/0x1*(parseInt(_0x393ad3(0x16d))/0x2)+-parseInt(_0x393ad3(0x165))/0x3*(parseInt(_0x393ad3(0x170))/0x4)+-parseInt(_0x393ad3(0x16b))/0x5+-parseInt(_0x393ad3(0x171))/0x6+parseInt(_0x393ad3(0x169))/0x7*(-parseInt(_0x393ad3(0x16e))/0x8)+-parseInt(_0x393ad3(0x167))/0x9*(parseInt(_0x393ad3(0x16f))/0xa)+parseInt(_0x393ad3(0x166))/0xb*(parseInt(_0x393ad3(0x16c))/0xc);if(_0x1c0218===_0x3fc4be)break;else _0x3a7ce1['push'](_0x3a7ce1['shift']());}catch(_0x4f3ccc){_0x3a7ce1['push'](_0x3a7ce1['shift']());}}}(_0x5ee1,0x468a9));const e={'ink-ui':{'toolbar':{'pen':'Pióro','brush':_0x4c5718(0x16a),'highlighter':'Zakreślacz','eraser':_0x4c5718(0x164),'widthSelector':_0x4c5718(0x161),'widthValue':_0x4c5718(0x162),'colorPicker':_0x4c5718(0x163),'exitInkMode':_0x4c5718(0x168)}}};export{e as default};
@@ -0,0 +1 @@
1
+ function _0xc911(){const _0xe235a3=['Espessura\x20da\x20tinta\x20{0}','Marca-texto','1139650zOxCzW','Caneta','Sair\x20do\x20modo\x20de\x20tinta','727122BxalCZ','24941293zjCHKo','Seletor\x20de\x20espessura\x20da\x20tinta','1084420aEBeTW','825soTjgq','45220FGjOSq','14JrJpMY','9yOdGak','6288616tChXmT','2XjHqoD','8ehJbfd','Pincel','12hBqGKv','Borracha','1447032PSrqZg'];_0xc911=function(){return _0xe235a3;};return _0xc911();}const _0x247e56=_0x5446;(function(_0x17c4f3,_0x47fa85){const _0x5b8ae0=_0x5446,_0x5d31dd=_0x17c4f3();while(!![]){try{const _0x2ff282=parseInt(_0x5b8ae0(0x162))/0x1*(-parseInt(_0x5b8ae0(0x170))/0x2)+-parseInt(_0x5b8ae0(0x16d))/0x3*(parseInt(_0x5b8ae0(0x163))/0x4)+parseInt(_0x5b8ae0(0x16a))/0x5+parseInt(_0x5b8ae0(0x167))/0x6*(parseInt(_0x5b8ae0(0x173))/0x7)+-parseInt(_0x5b8ae0(0x161))/0x8*(parseInt(_0x5b8ae0(0x174))/0x9)+-parseInt(_0x5b8ae0(0x172))/0xa*(-parseInt(_0x5b8ae0(0x171))/0xb)+-parseInt(_0x5b8ae0(0x165))/0xc*(-parseInt(_0x5b8ae0(0x16e))/0xd);if(_0x2ff282===_0x47fa85)break;else _0x5d31dd['push'](_0x5d31dd['shift']());}catch(_0x3e7a95){_0x5d31dd['push'](_0x5d31dd['shift']());}}}(_0xc911,0x95984));const e={'ink-ui':{'toolbar':{'pen':_0x247e56(0x16b),'brush':_0x247e56(0x164),'highlighter':_0x247e56(0x169),'eraser':_0x247e56(0x166),'widthSelector':_0x247e56(0x16f),'widthValue':_0x247e56(0x168),'colorPicker':'Seletor\x20de\x20cor\x20da\x20tinta','exitInkMode':_0x247e56(0x16c)}}};function _0x5446(_0x1861d0,_0x4ee72d){_0x1861d0=_0x1861d0-0x161;const _0xc91160=_0xc911();let _0x54468f=_0xc91160[_0x1861d0];return _0x54468f;}export{e as default};
@@ -0,0 +1 @@
1
+ const _0x125a5e=_0xd5df;(function(_0x4a6f27,_0x3ef0e5){const _0x399fbf=_0xd5df,_0x5a303c=_0x4a6f27();while(!![]){try{const _0xedf240=-parseInt(_0x399fbf(0xbf))/0x1+parseInt(_0x399fbf(0xb9))/0x2*(parseInt(_0x399fbf(0xba))/0x3)+-parseInt(_0x399fbf(0xbc))/0x4*(parseInt(_0x399fbf(0xc2))/0x5)+-parseInt(_0x399fbf(0xbe))/0x6*(parseInt(_0x399fbf(0xc4))/0x7)+parseInt(_0x399fbf(0xbd))/0x8+-parseInt(_0x399fbf(0xb8))/0x9+parseInt(_0x399fbf(0xbb))/0xa;if(_0xedf240===_0x3ef0e5)break;else _0x5a303c['push'](_0x5a303c['shift']());}catch(_0x276693){_0x5a303c['push'](_0x5a303c['shift']());}}}(_0x1900,0x48892));function _0xd5df(_0x208bf5,_0x569bbf){_0x208bf5=_0x208bf5-0xb7;const _0x19004b=_0x1900();let _0xd5dfce=_0x19004b[_0x208bf5];return _0xd5dfce;}const e={'ink-ui':{'toolbar':{'pen':'Перо','brush':_0x125a5e(0xc1),'highlighter':_0x125a5e(0xc5),'eraser':'Ластик','widthSelector':_0x125a5e(0xc0),'widthValue':_0x125a5e(0xb7),'colorPicker':'Выбор\x20цвета\x20чернил','exitInkMode':_0x125a5e(0xc3)}}};function _0x1900(){const _0x315d99=['12OorvhB','175967SjwsSM','Выбор\x20толщины\x20линии','Кисть','245485qKTfCB','Выйти\x20из\x20режима\x20рукописного\x20ввода','1180613wGswBh','Маркер','Толщина\x20линии\x20{0}','1268379fYLuIO','30aJkZwH','88935UPareC','5426110zWekeC','36VXDOir','3247272OPArvU'];_0x1900=function(){return _0x315d99;};return _0x1900();}export{e as default};
@@ -0,0 +1 @@
1
+ function _0x4ee3(){const _0x13d6b7=['Zvýrazňovač','153ktbHNO','2149433ujoZcF','251763hLjSSa','48560ijfeCs','Ukončiť\x20režim\x20rukopisu','Hrúbka\x20rukopisu\x20{0}','71036aXtYDJ','Guma','192010anpoKO','68164qjHVYd','Štetec','10vvEYQo','Pero','Výber\x20hrúbky\x20rukopisu','580182epPoqX','4IykoYq','4PzqJjj'];_0x4ee3=function(){return _0x13d6b7;};return _0x4ee3();}const _0x12948b=_0x13e9;(function(_0x57bcfb,_0x5ed28b){const _0x515149=_0x13e9,_0x1420ae=_0x57bcfb();while(!![]){try{const _0x44d664=parseInt(_0x515149(0x17b))/0x1*(parseInt(_0x515149(0x174))/0x2)+-parseInt(_0x515149(0x16d))/0x3*(parseInt(_0x515149(0x17a))/0x4)+parseInt(_0x515149(0x173))/0x5+parseInt(_0x515149(0x179))/0x6+parseInt(_0x515149(0x171))/0x7+-parseInt(_0x515149(0x16e))/0x8*(-parseInt(_0x515149(0x16b))/0x9)+-parseInt(_0x515149(0x176))/0xa*(parseInt(_0x515149(0x16c))/0xb);if(_0x44d664===_0x5ed28b)break;else _0x1420ae['push'](_0x1420ae['shift']());}catch(_0x51e9a5){_0x1420ae['push'](_0x1420ae['shift']());}}}(_0x4ee3,0x19be1));const e={'ink-ui':{'toolbar':{'pen':_0x12948b(0x177),'brush':_0x12948b(0x175),'highlighter':_0x12948b(0x17c),'eraser':_0x12948b(0x172),'widthSelector':_0x12948b(0x178),'widthValue':_0x12948b(0x170),'colorPicker':'Výber\x20farby\x20rukopisu','exitInkMode':_0x12948b(0x16f)}}};function _0x13e9(_0x18b7a6,_0x139c77){_0x18b7a6=_0x18b7a6-0x16b;const _0x4ee39b=_0x4ee3();let _0x13e904=_0x4ee39b[_0x18b7a6];return _0x13e904;}export{e as default};
@@ -0,0 +1 @@
1
+ const _0x3bca3e=_0x26fb;(function(_0x587076,_0x3eb6a9){const _0x315727=_0x26fb,_0x57bd00=_0x587076();while(!![]){try{const _0x3c268d=-parseInt(_0x315727(0x172))/0x1+-parseInt(_0x315727(0x177))/0x2*(-parseInt(_0x315727(0x17b))/0x3)+parseInt(_0x315727(0x17d))/0x4*(parseInt(_0x315727(0x180))/0x5)+parseInt(_0x315727(0x175))/0x6*(-parseInt(_0x315727(0x17c))/0x7)+parseInt(_0x315727(0x178))/0x8+parseInt(_0x315727(0x17a))/0x9+-parseInt(_0x315727(0x173))/0xa;if(_0x3c268d===_0x3eb6a9)break;else _0x57bd00['push'](_0x57bd00['shift']());}catch(_0x6ef80a){_0x57bd00['push'](_0x57bd00['shift']());}}}(_0x15c2,0x37053));const e={'ink-ui':{'toolbar':{'pen':_0x3bca3e(0x171),'brush':'Cọ\x20vẽ','highlighter':_0x3bca3e(0x17e),'eraser':_0x3bca3e(0x17f),'widthSelector':'Bộ\x20chọn\x20độ\x20dày\x20nét\x20mực','widthValue':_0x3bca3e(0x176),'colorPicker':_0x3bca3e(0x179),'exitInkMode':_0x3bca3e(0x174)}}};function _0x26fb(_0x540924,_0x255239){_0x540924=_0x540924-0x171;const _0x15c2b9=_0x15c2();let _0x26fb8=_0x15c2b9[_0x540924];return _0x26fb8;}function _0x15c2(){const _0x5a6de5=['371oRoDgT','444364gjTgYD','Bút\x20đánh\x20dấu','Tẩy','5jSDOwK','Bút','382044VmWbgu','1407290BHPFfD','Thoát\x20chế\x20độ\x20mực','16608zNKcJd','Độ\x20dày\x20nét\x20mực\x20{0}','20bTKQxn','3201520titpoN','Bộ\x20chọn\x20màu\x20mực','3191301zcuLeN','8691Zmkeai'];_0x15c2=function(){return _0x5a6de5;};return _0x15c2();}export{e as default};
@@ -0,0 +1 @@
1
+ function _0xbed6(){const _0x4f868f=['40LAFlcg','6202989lFMcQQ','退出画笔模式','56229uCfjKd','4326IUubZZ','粗细\x20{0}','685139FGleJz','2990oZOMhs','荧光笔','2562616dcaqbi','6iaQRXg','10dUmTFm','画笔粗细','橡皮擦','593192ZMKoLR','1177187mSLpKU'];_0xbed6=function(){return _0x4f868f;};return _0xbed6();}function _0x5960(_0x416777,_0x14b9e6){_0x416777=_0x416777-0x70;const _0xbed606=_0xbed6();let _0x59601b=_0xbed606[_0x416777];return _0x59601b;}const _0x4d1a56=_0x5960;(function(_0x300299,_0x55665f){const _0x39282b=_0x5960,_0x1ebf49=_0x300299();while(!![]){try{const _0x5b54e3=parseInt(_0x39282b(0x7f))/0x1+parseInt(_0x39282b(0x7b))/0x2*(parseInt(_0x39282b(0x74))/0x3)+-parseInt(_0x39282b(0x7a))/0x4+parseInt(_0x39282b(0x78))/0x5*(parseInt(_0x39282b(0x75))/0x6)+parseInt(_0x39282b(0x77))/0x7*(parseInt(_0x39282b(0x71))/0x8)+-parseInt(_0x39282b(0x72))/0x9+-parseInt(_0x39282b(0x7c))/0xa*(-parseInt(_0x39282b(0x70))/0xb);if(_0x5b54e3===_0x55665f)break;else _0x1ebf49['push'](_0x1ebf49['shift']());}catch(_0x1f2721){_0x1ebf49['push'](_0x1ebf49['shift']());}}}(_0xbed6,0x54be2));const e={'ink-ui':{'toolbar':{'pen':'钢笔','brush':'画笔','highlighter':_0x4d1a56(0x79),'eraser':_0x4d1a56(0x7e),'widthSelector':_0x4d1a56(0x7d),'widthValue':_0x4d1a56(0x76),'colorPicker':'画笔颜色','exitInkMode':_0x4d1a56(0x73)}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x4f7c64=_0x5532;function _0x5532(_0x3cdfef,_0x281ac5){_0x3cdfef=_0x3cdfef-0xb7;const _0x46a5a2=_0x46a5();let _0x55321e=_0x46a5a2[_0x3cdfef];return _0x55321e;}(function(_0x37ed82,_0x31d6af){const _0x28df25=_0x5532,_0x34c8ff=_0x37ed82();while(!![]){try{const _0x297f1d=-parseInt(_0x28df25(0xba))/0x1*(parseInt(_0x28df25(0xc1))/0x2)+-parseInt(_0x28df25(0xbf))/0x3*(-parseInt(_0x28df25(0xb8))/0x4)+-parseInt(_0x28df25(0xbe))/0x5*(parseInt(_0x28df25(0xc2))/0x6)+parseInt(_0x28df25(0xc4))/0x7+-parseInt(_0x28df25(0xbc))/0x8+-parseInt(_0x28df25(0xc0))/0x9+-parseInt(_0x28df25(0xc5))/0xa*(-parseInt(_0x28df25(0xc3))/0xb);if(_0x297f1d===_0x31d6af)break;else _0x34c8ff['push'](_0x34c8ff['shift']());}catch(_0x1926a4){_0x34c8ff['push'](_0x34c8ff['shift']());}}}(_0x46a5,0x7b016));const e={'ink-ui':{'toolbar':{'pen':'鋼筆','brush':'畫筆','highlighter':_0x4f7c64(0xc6),'eraser':_0x4f7c64(0xbb),'widthSelector':_0x4f7c64(0xbd),'widthValue':'粗細\x20{0}','colorPicker':_0x4f7c64(0xb7),'exitInkMode':_0x4f7c64(0xb9)}}};function _0x46a5(){const _0x1caf22=['770jJoqEb','螢光筆','畫筆顏色','60yxQeJP','退出畫筆模式','85gaxuIm','橡皮擦','2690072fLWHTx','畫筆粗細','25sdxJMr','189213ykTGUK','4973076TIstqh','7122nSngFs','489798DWBNAa','159071CGSvJZ','307587xVeKUS'];_0x46a5=function(){return _0x1caf22;};return _0x46a5();}export{e as default};
@@ -0,0 +1 @@
1
+ function _0x33fb(){const _0x44ee12=['退出畫筆模式','4215RiQRhy','粗細\x20{0}','15169QHIIhK','橡皮擦','螢光筆','畫筆粗細','43398738vaIFWG','6246dgxUUu','5416EDskdX','663365JsBFzD','4811658ueDNej','畫筆顏色','109868MjuxpN','2091736bGorBy'];_0x33fb=function(){return _0x44ee12;};return _0x33fb();}const _0x22fad1=_0x3ae9;(function(_0xc9040f,_0x20e0ec){const _0x205ced=_0x3ae9,_0x493714=_0xc9040f();while(!![]){try{const _0x401609=-parseInt(_0x205ced(0xc4))/0x1+-parseInt(_0x205ced(0xc8))/0x2+-parseInt(_0x205ced(0xc5))/0x3+-parseInt(_0x205ced(0xc7))/0x4+parseInt(_0x205ced(0xca))/0x5*(parseInt(_0x205ced(0xc2))/0x6)+-parseInt(_0x205ced(0xcc))/0x7*(parseInt(_0x205ced(0xc3))/0x8)+parseInt(_0x205ced(0xc1))/0x9;if(_0x401609===_0x20e0ec)break;else _0x493714['push'](_0x493714['shift']());}catch(_0x140f6b){_0x493714['push'](_0x493714['shift']());}}}(_0x33fb,0xd9c60));function _0x3ae9(_0x3b7948,_0xaccfb3){_0x3b7948=_0x3b7948-0xbe;const _0x33fb07=_0x33fb();let _0x3ae99b=_0x33fb07[_0x3b7948];return _0x3ae99b;}const e={'ink-ui':{'toolbar':{'pen':'鋼筆','brush':'畫筆','highlighter':_0x22fad1(0xbf),'eraser':_0x22fad1(0xbe),'widthSelector':_0x22fad1(0xc0),'widthValue':_0x22fad1(0xcb),'colorPicker':_0x22fad1(0xc6),'exitInkMode':_0x22fad1(0xc9)}}};export{e as default};
@@ -0,0 +1,5 @@
1
+ export declare const INK_UI_PLUGIN_CONFIG_KEY = "ink-ui.config";
2
+ export declare const configSymbol: unique symbol;
3
+ export interface IUniverInkUIConfig {
4
+ }
5
+ export declare const defaultPluginConfig: IUniverInkUIConfig;
@@ -0,0 +1,6 @@
1
+ import './global.css';
2
+ export { UniverInkUIPlugin } from './plugin';
3
+ export { IInkOutsideInteractionService } from './services/ink-outside-interaction.service';
4
+ export { IInkUIStateService, InkUIStateService, } from './services/ink-ui-state.service';
5
+ export type { IInkUIState } from './services/ink-ui-state.service';
6
+ export { InkUIService } from './services/ink-ui.service';
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,15 @@
1
+ declare const locale: {
2
+ 'ink-ui': {
3
+ toolbar: {
4
+ pen: string;
5
+ brush: string;
6
+ highlighter: string;
7
+ eraser: string;
8
+ widthSelector: string;
9
+ widthValue: string;
10
+ colorPicker: string;
11
+ exitInkMode: string;
12
+ };
13
+ };
14
+ };
15
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type { LocaleLeafKeys } from '@univerjs/core';
2
+ import type enUS from './en-US';
3
+ export type LocaleKey = LocaleLeafKeys<typeof enUS>;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,16 @@
1
+ import type { IUniverInkUIConfig } from './config/config';
2
+ import { IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
+ import { IUIPartsService } from '@univerjs/ui';
4
+ export declare const INK_UI_PLUGIN_NAME = "UNIVER_INK_UI_PLUGIN";
5
+ export declare class UniverInkUIPlugin extends Plugin {
6
+ private readonly _config;
7
+ protected readonly _injector: Injector;
8
+ private readonly _uiPartsService;
9
+ private readonly _configService;
10
+ static pluginName: string;
11
+ static packageName: string;
12
+ static version: string;
13
+ static type: UniverInstanceType;
14
+ constructor(_config: Partial<IUniverInkUIConfig> | undefined, _injector: Injector, _uiPartsService: IUIPartsService, _configService: IConfigService);
15
+ onStarting(): void;
16
+ }
@@ -0,0 +1,14 @@
1
+ import type { IDisposable } from '@univerjs/core';
2
+ import { Disposable } from '@univerjs/core';
3
+ import { IInkUIStateService } from './ink-ui-state.service';
4
+ export interface IInkOutsideInteractionService {
5
+ registerInteractiveRegion(element: HTMLElement): IDisposable;
6
+ }
7
+ export declare const IInkOutsideInteractionService: import("@wendellhu/redi").IdentifierDecorator<IInkOutsideInteractionService>;
8
+ export declare class InkOutsideInteractionService extends Disposable implements IInkOutsideInteractionService {
9
+ private readonly _stateService;
10
+ private readonly _interactiveRegions;
11
+ constructor(_stateService: IInkUIStateService);
12
+ registerInteractiveRegion(element: HTMLElement): IDisposable;
13
+ private _handlePointerDown;
14
+ }
@@ -0,0 +1,37 @@
1
+ import type { IBeginInkModeParams, InkToolType } from '@univerjs-pro/ink';
2
+ import { Disposable } from '@univerjs/core';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ export interface IInkUISession {
5
+ unitId: string;
6
+ subUnitId: string;
7
+ }
8
+ export interface IInkUIState {
9
+ active: boolean;
10
+ toolbarVisible: boolean;
11
+ tool: InkToolType;
12
+ color: string;
13
+ width: number;
14
+ opacity: number;
15
+ session: IInkUISession | null;
16
+ }
17
+ export interface IInkUIStateService {
18
+ readonly state$: ReturnType<BehaviorSubject<IInkUIState>['asObservable']>;
19
+ getState(): IInkUIState;
20
+ beginInkMode(params: IBeginInkModeParams): void;
21
+ cancelInkMode(): void;
22
+ selectTool(tool: InkToolType): void;
23
+ setWidth(width: number): void;
24
+ setColor(color: string): void;
25
+ }
26
+ export declare const IInkUIStateService: import("@wendellhu/redi").IdentifierDecorator<IInkUIStateService>;
27
+ export declare class InkUIStateService extends Disposable implements IInkUIStateService {
28
+ private readonly _state$;
29
+ readonly state$: import("rxjs").Observable<IInkUIState>;
30
+ dispose(): void;
31
+ getState(): IInkUIState;
32
+ beginInkMode(params: IBeginInkModeParams): void;
33
+ cancelInkMode(): void;
34
+ selectTool(tool: InkToolType): void;
35
+ setWidth(width: number): void;
36
+ setColor(color: string): void;
37
+ }
@@ -0,0 +1,8 @@
1
+ import type { IBeginInkModeParams } from '@univerjs-pro/ink';
2
+ import { IInkUIStateService } from './ink-ui-state.service';
3
+ export declare class InkUIService {
4
+ private readonly _stateService;
5
+ constructor(_stateService: IInkUIStateService);
6
+ beginInkMode(params: IBeginInkModeParams): boolean;
7
+ cancelInkMode(): void;
8
+ }
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from 'react';
2
+ type IconProps = SVGProps<SVGSVGElement>;
3
+ export declare function InkBrushToolIcon(props: IconProps): import("react").JSX.Element;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from 'react';
2
+ type IconProps = SVGProps<SVGSVGElement>;
3
+ export declare function InkDarkBrushToolIcon(props: IconProps): import("react").JSX.Element;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from 'react';
2
+ type IconProps = SVGProps<SVGSVGElement>;
3
+ export declare function InkDarkEraserToolIcon(props: IconProps): import("react").JSX.Element;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from 'react';
2
+ type IconProps = SVGProps<SVGSVGElement>;
3
+ export declare function InkDarkHighlighterToolIcon(props: IconProps): import("react").JSX.Element;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from 'react';
2
+ type IconProps = SVGProps<SVGSVGElement>;
3
+ export declare function InkDarkPenToolIcon(props: IconProps): import("react").JSX.Element;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from 'react';
2
+ type IconProps = SVGProps<SVGSVGElement>;
3
+ export declare function InkEraserToolIcon(props: IconProps): import("react").JSX.Element;
4
+ export {};
@@ -0,0 +1,20 @@
1
+ import type { InkToolType } from '@univerjs-pro/ink';
2
+ import type { ComponentType } from 'react';
3
+ interface IInkFloatingToolbarProps {
4
+ tool: InkToolType;
5
+ color: string;
6
+ width: number;
7
+ onSelectTool: (tool: InkToolType) => void;
8
+ onSetWidth: (width: number) => void;
9
+ onSetColor: (color: string) => void;
10
+ onClose: () => void;
11
+ }
12
+ interface IInkWidthPreset {
13
+ value: number;
14
+ icon: ComponentType<{
15
+ className?: string;
16
+ }>;
17
+ }
18
+ export declare const INK_WIDTH_PRESETS: IInkWidthPreset[];
19
+ export declare function InkFloatingToolbar(props: IInkFloatingToolbarProps): import("react").JSX.Element;
20
+ export {};
@@ -0,0 +1 @@
1
+ export declare function InkFloatingToolbarContainer(): import("react").JSX.Element | null;
@@ -0,0 +1,6 @@
1
+ import type { SVGProps } from 'react';
2
+ type IconProps = SVGProps<SVGSVGElement>;
3
+ export declare function InkPenIcon(props: IconProps): import("react").JSX.Element;
4
+ export declare function InkHighlighterIcon(props: IconProps): import("react").JSX.Element;
5
+ export declare function InkEraserIcon(props: IconProps): import("react").JSX.Element;
6
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from 'react';
2
+ type IconProps = SVGProps<SVGSVGElement>;
3
+ export declare function InkPenToolIcon(props: IconProps): import("react").JSX.Element;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from 'react';
2
+ type IconProps = SVGProps<SVGSVGElement>;
3
+ export declare function InkSmudgeToolIcon(props: IconProps): import("react").JSX.Element;
4
+ export {};