@univerjs-pro/drill-down-extraction 0.4.2-nightly.202411071606 → 0.4.2-nightly.202411081606
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 -0
- package/lib/cjs/locale/en-US.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/vi-VN.js +1 -0
- package/lib/cjs/locale/zh-CN.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/types/index.d.ts +95 -3
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.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-TW.js +1 -1
- package/package.json +27 -21
- package/lib/locale/en-US.js +0 -1
- package/lib/locale/fa-IR.js +0 -1
- package/lib/locale/ru-RU.js +0 -1
- package/lib/locale/vi-VN.js +0 -1
- package/lib/locale/zh-CN.js +0 -1
- package/lib/locale/zh-TW.js +0 -1
- package/lib/types/common/extraction-field.d.ts +0 -24
- package/lib/types/common/field-extraction-event.d.ts +0 -34
- package/lib/types/constants.d.ts +0 -1
- package/lib/types/controllers/config.schema.d.ts +0 -5
- package/lib/types/controllers/drill-down-extraction-hyper-link.controller.d.ts +0 -21
- package/lib/types/controllers/drill-down-extraction-ui.controller.d.ts +0 -7
- package/lib/types/controllers/drill-down-extraction.controller.d.ts +0 -61
- package/lib/types/locale/en-US.d.ts +0 -3
- package/lib/types/locale/fa-IR.d.ts +0 -3
- package/lib/types/locale/ru-RU.d.ts +0 -3
- package/lib/types/locale/vi-VN.d.ts +0 -3
- package/lib/types/locale/zh-CN.d.ts +0 -46
- package/lib/types/locale/zh-TW.d.ts +0 -3
- package/lib/types/plugin.d.ts +0 -13
- package/lib/types/services/suggestion-manager.service.d.ts +0 -62
- package/lib/types/views/components/ExtractionFieldForm.d.ts +0 -2
- package/lib/types/views/components/FloatingButton.d.ts +0 -25
package/lib/umd/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x4246(){var _0x268a66=['Stop','Select\x20the\x20fields','27BvMzMX','331917ghlVYd','Cancel','The\x20field\x20extraction\x20process\x20requires\x20the\x20Clipsheet\x20extension\x20to\x20be\x20installed.','No\x20options\x20available','\x20Fields\x20extraction\x20successfully','object','The\x20result\x20has\x20been\x20discarded','5050UcufGN','Fields\x20extraction\x20is\x20successful.\x20Check\x20whether\x20the\x20data\x20is\x20correct.','464872nOOjEK','Extraction\x20Fields','6845CjVVDC','{0}\x20rows\x20extraction\x20limit\x20reached.\x20To\x20extract\x20more\x20rows,\x20please\x20subscribe.','Drop','\x20Fields\x20extract\x20data\x20successfully','101416pAUbiX','Fields\x20extraction\x20Process','exports','Extraction\x20data\x20has\x20been\x20cancelled:\x20{0}','Begin\x20Extracting\x20Fields','Failed\x20to\x20extract\x20data.','Limited\x20per\x20extraction','Please\x20select\x20the\x20field\x20to\x20be\x20extracted','function','No\x20extension\x20installed','Subscribe','\x20Fields','Extracting\x20Fields...','Hyperlink\x20in\x20the\x20column','To\x20Install','824IlifMm','Please\x20select\x20a\x20link','5668450cgRrmv','Please\x20get\x20the\x20extraction\x20field\x20by\x20ClipSheet\x20extension','392NKiONM','14838EKwgyW','\x20Fields\x20extraction\x20process'];_0x4246=function(){return _0x268a66;};return _0x4246();}function _0x1c07(_0x4ab8e8,_0x193301){var _0x424608=_0x4246();return _0x1c07=function(_0x1c0788,_0x78f6e0){_0x1c0788=_0x1c0788-0x107;var _0x4afb55=_0x424608[_0x1c0788];return _0x4afb55;},_0x1c07(_0x4ab8e8,_0x193301);}(function(_0xe78d21,_0x11a72b){var _0x2dd8eb=_0x1c07,_0x5ea5b4=_0xe78d21();while(!![]){try{var _0x4442ed=parseInt(_0x2dd8eb(0x11c))/0x1+parseInt(_0x2dd8eb(0x120))/0x2+parseInt(_0x2dd8eb(0x111))/0x3+parseInt(_0x2dd8eb(0x107))/0x4*(parseInt(_0x2dd8eb(0x118))/0x5)+parseInt(_0x2dd8eb(0x10c))/0x6*(parseInt(_0x2dd8eb(0x10b))/0x7)+parseInt(_0x2dd8eb(0x11a))/0x8*(parseInt(_0x2dd8eb(0x110))/0x9)+-parseInt(_0x2dd8eb(0x109))/0xa;if(_0x4442ed===_0x11a72b)break;else _0x5ea5b4['push'](_0x5ea5b4['shift']());}catch(_0x120cee){_0x5ea5b4['push'](_0x5ea5b4['shift']());}}}(_0x4246,0x1dd6e),function(_0x3e74e0,_0x496f28){var _0x298ddc=_0x1c07;typeof exports==_0x298ddc(0x116)&&typeof module<'u'?module[_0x298ddc(0x122)]=_0x496f28():typeof define==_0x298ddc(0x128)&&define['amd']?define(_0x496f28):(_0x3e74e0=typeof globalThis<'u'?globalThis:_0x3e74e0||self,_0x3e74e0['UniverDrillDownExtractionRuRU']=_0x496f28());}(this,function(){'use strict';var _0xf3978c=_0x1c07;return{'drill-down-extraction':{'message':{'failed':_0xf3978c(0x123),'success':_0xf3978c(0x11f),'drop':'The\x20result\x20has\x20been\x20discarded'},'config':{'title':_0xf3978c(0x121),'helper':_0xf3978c(0x10d),'dataSource':_0xf3978c(0x12d),'dataSourcePlaceholder':'Select\x20the\x20link\x20to\x20the\x20data\x20source','dataSourceError':_0xf3978c(0x108),'column':_0xf3978c(0x11b),'columnPlaceholder':_0xf3978c(0x10f),'columnError':_0xf3978c(0x127),'columnItemTitle':_0xf3978c(0x12b),'optionsBlank':_0xf3978c(0x114),'gettingData':_0xf3978c(0x12c),'gettingDataError':_0xf3978c(0x125),'stopMessage':'Fields\x20extraction\x20has\x20been\x20stopped.','gettingDataSuccess':_0xf3978c(0x119),'startCompletion':_0xf3978c(0x124),'drop':_0xf3978c(0x11e),'retry':'Retry','confirm':'Confirm','stop':_0xf3978c(0x10e),'cancel':_0xf3978c(0x112),'subscribe':_0xf3978c(0x12a),'toInstall':_0xf3978c(0x12e),'SuccessMessage':_0xf3978c(0x115),'cancelMessage':'Fields\x20extraction\x20has\x20been\x20cancelled','dropMessage':_0xf3978c(0x117),'stayTuned':'Feature\x20under\x20development.\x20Stay\x20tuned!','limitDialogTitle':_0xf3978c(0x126),'limitDialogContent':_0xf3978c(0x11d),'extensionDialogTitle':_0xf3978c(0x129),'extensionDialogContent':_0xf3978c(0x113)},'hyperLink':{'optionLabel':'Extraction\x20field','placeholder':_0xf3978c(0x10a)}}};}));
|
package/lib/umd/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(
|
1
|
+
(function(_0x33688d,_0x70d175){var _0x559778=_0x53af,_0x580223=_0x33688d();while(!![]){try{var _0x34c094=parseInt(_0x559778(0x1cf))/0x1*(parseInt(_0x559778(0x1bb))/0x2)+-parseInt(_0x559778(0x1ae))/0x3*(parseInt(_0x559778(0x1cb))/0x4)+parseInt(_0x559778(0x1ad))/0x5*(-parseInt(_0x559778(0x1b9))/0x6)+-parseInt(_0x559778(0x1c7))/0x7+parseInt(_0x559778(0x1b2))/0x8+parseInt(_0x559778(0x1b4))/0x9+parseInt(_0x559778(0x1bf))/0xa*(-parseInt(_0x559778(0x1c6))/0xb);if(_0x34c094===_0x70d175)break;else _0x580223['push'](_0x580223['shift']());}catch(_0x161e1c){_0x580223['push'](_0x580223['shift']());}}}(_0xc762,0xd2ce3),function(_0x58c858,_0x4e430e){var _0x577139=_0x53af;typeof exports==_0x577139(0x1ab)&&typeof module<'u'?module['exports']=_0x4e430e():typeof define==_0x577139(0x1c2)&&define['amd']?define(_0x4e430e):(_0x58c858=typeof globalThis<'u'?globalThis:_0x58c858||self,_0x58c858[_0x577139(0x1b3)]=_0x4e430e());}(this,function(){'use strict';var _0x56dae2=_0x53af;return{'drill-down-extraction':{'message':{'failed':_0x56dae2(0x1b8),'success':_0x56dae2(0x1b7),'drop':_0x56dae2(0x1b1)},'config':{'title':'Fields\x20extraction\x20Process','helper':_0x56dae2(0x1c9),'dataSource':_0x56dae2(0x1bd),'dataSourcePlaceholder':_0x56dae2(0x1c0),'dataSourceError':_0x56dae2(0x1cc),'column':_0x56dae2(0x1ba),'columnPlaceholder':_0x56dae2(0x1b5),'columnError':'Please\x20select\x20the\x20field\x20to\x20be\x20extracted','columnItemTitle':_0x56dae2(0x1c3),'optionsBlank':_0x56dae2(0x1c5),'gettingData':_0x56dae2(0x1ca),'gettingDataError':_0x56dae2(0x1c8),'stopMessage':_0x56dae2(0x1c1),'gettingDataSuccess':'Fields\x20extraction\x20is\x20successful.\x20Check\x20whether\x20the\x20data\x20is\x20correct.','startCompletion':'Begin\x20Extracting\x20Fields','drop':_0x56dae2(0x1be),'retry':_0x56dae2(0x1b6),'confirm':'Confirm','stop':_0x56dae2(0x1aa),'cancel':_0x56dae2(0x1c4),'subscribe':'Subscribe','toInstall':'To\x20Install','SuccessMessage':'\x20Fields\x20extraction\x20successfully','cancelMessage':'Fields\x20extraction\x20has\x20been\x20cancelled','dropMessage':_0x56dae2(0x1b1),'stayTuned':_0x56dae2(0x1b0),'limitDialogTitle':_0x56dae2(0x1bc),'limitDialogContent':'{0}\x20rows\x20extraction\x20limit\x20reached.\x20To\x20extract\x20more\x20rows,\x20please\x20subscribe.','extensionDialogTitle':_0x56dae2(0x1ac),'extensionDialogContent':_0x56dae2(0x1af)},'hyperLink':{'optionLabel':_0x56dae2(0x1cd),'placeholder':_0x56dae2(0x1ce)}}};}));function _0x53af(_0x54589c,_0x131916){var _0xc76264=_0xc762();return _0x53af=function(_0x53afe2,_0x2cdec1){_0x53afe2=_0x53afe2-0x1aa;var _0x5c7202=_0xc76264[_0x53afe2];return _0x5c7202;},_0x53af(_0x54589c,_0x131916);}function _0xc762(){var _0x4eb1c2=['Failed\x20to\x20extract\x20data.','\x20Fields\x20extraction\x20process','Extracting\x20Fields...','32188xyHQAA','Please\x20select\x20a\x20link','Extraction\x20field','Please\x20get\x20the\x20extraction\x20field\x20by\x20ClipSheet\x20extension','1847LELHvm','Stop','object','No\x20extension\x20installed','10cjvOuw','3fXrKtj','The\x20field\x20extraction\x20process\x20requires\x20the\x20Clipsheet\x20extension\x20to\x20be\x20installed.','Feature\x20under\x20development.\x20Stay\x20tuned!','The\x20result\x20has\x20been\x20discarded','8887336iDZbHT','UniverDrillDownExtractionViVN','13100058HMSisA','Select\x20the\x20fields','Retry','\x20Fields\x20extract\x20data\x20successfully','Extraction\x20data\x20has\x20been\x20cancelled:\x20{0}','853338jQZBBN','Extraction\x20Fields','1838aEmwBE','Limited\x20per\x20extraction','Hyperlink\x20in\x20the\x20column','Drop','61790XfCvus','Select\x20the\x20link\x20to\x20the\x20data\x20source','Fields\x20extraction\x20has\x20been\x20stopped.','function','\x20Fields','Cancel','No\x20options\x20available','3124tYTFkY','9471588pstcCb'];_0xc762=function(){return _0x4eb1c2;};return _0xc762();}
|
package/lib/umd/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x2a11(_0x5a8c2d,_0x219e1f){var _0x2e9d3c=_0x2e9d();return _0x2a11=function(_0x2a113c,_0x5e6fc5){_0x2a113c=_0x2a113c-0x1d9;var _0x17740a=_0x2e9d3c[_0x2a113c];return _0x17740a;},_0x2a11(_0x5a8c2d,_0x219e1f);}(function(_0x659049,_0x4d4ba5){var _0x46e7fd=_0x2a11,_0x152dcc=_0x659049();while(!![]){try{var _0x221638=parseInt(_0x46e7fd(0x1dd))/0x1*(-parseInt(_0x46e7fd(0x1ed))/0x2)+-parseInt(_0x46e7fd(0x1e0))/0x3*(parseInt(_0x46e7fd(0x1ec))/0x4)+parseInt(_0x46e7fd(0x1f5))/0x5+-parseInt(_0x46e7fd(0x1ee))/0x6+parseInt(_0x46e7fd(0x1e3))/0x7+parseInt(_0x46e7fd(0x1f7))/0x8+-parseInt(_0x46e7fd(0x1f4))/0x9*(-parseInt(_0x46e7fd(0x1de))/0xa);if(_0x221638===_0x4d4ba5)break;else _0x152dcc['push'](_0x152dcc['shift']());}catch(_0xbed807){_0x152dcc['push'](_0x152dcc['shift']());}}}(_0x2e9d,0x73bfd),function(_0x1b5311,_0x475a7d){var _0x21055d=_0x2a11;typeof exports==_0x21055d(0x1e2)&&typeof module<'u'?module[_0x21055d(0x1e8)]=_0x475a7d():typeof define==_0x21055d(0x1f1)&&define[_0x21055d(0x1f2)]?define(_0x475a7d):(_0x1b5311=typeof globalThis<'u'?globalThis:_0x1b5311||self,_0x1b5311[_0x21055d(0x1ef)]=_0x475a7d());}(this,function(){'use strict';var _0x87bb6e=_0x2a11;return{'drill-down-extraction':{'message':{'failed':_0x87bb6e(0x1da),'success':_0x87bb6e(0x1e6),'drop':_0x87bb6e(0x1e1)},'config':{'title':_0x87bb6e(0x1e7),'helper':_0x87bb6e(0x1f3),'dataSource':'超链接所在列','dataSourcePlaceholder':_0x87bb6e(0x1df),'dataSourceError':_0x87bb6e(0x1e4),'column':_0x87bb6e(0x1f6),'columnPlaceholder':_0x87bb6e(0x1e9),'columnError':'选择采集字段','columnItemTitle':'字段','optionsBlank':_0x87bb6e(0x1eb),'gettingData':'数据采集中...','gettingDataError':'采集数据失败','stopMessage':_0x87bb6e(0x1f0),'gettingDataSuccess':'数据采集成功,请检查是否正确','startCompletion':'开始数据采集','drop':'丢弃','retry':'重试','confirm':'确认','stop':'停止','cancel':'取消','subscribe':'订阅','toInstall':_0x87bb6e(0x1d9),'SuccessMessage':_0x87bb6e(0x1ea),'cancelMessage':'已取消数据采集','dropMessage':_0x87bb6e(0x1e1),'stayTuned':_0x87bb6e(0x1db),'limitDialogTitle':_0x87bb6e(0x1e5),'limitDialogContent':'已达到\x20{0}\x20行采集上限,要采集更多数据,请订阅。','extensionDialogTitle':'未安装扩展','extensionDialogContent':_0x87bb6e(0x1dc)},'hyperLink':{'optionLabel':_0x87bb6e(0x1f6),'placeholder':'请使用插件获取采集字段'}}};}));function _0x2e9d(){var _0x3b5d46=['采集限制提醒','数据采集完成','数据采集','exports','选择采集字段','数据采集成功','暂无选项','96IvTYgG','7318EwRHMU','353598xlOVtv','UniverDrillDownExtractionZhCN','数据采集已暂停','function','amd','用采集字段写入数据','4248801Iwtkos','4121790SIWIMq','采集字段','303024CvIujN','前去安装','数据采集失败:\x20{0}','功能正在开发中,敬请期待!','采集字段写入数据需要安装\x20Clipsheet\x20扩展。','229mOuCGk','20GukgSj','选择数据源链接','66027wqrBON','已丢弃采集数据','object','649285jsHpSb','请选择数据源链接'];_0x2e9d=function(){return _0x3b5d46;};return _0x2e9d();}
|
package/lib/umd/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x40d0(){var _0x4a6666=['UniverDrillDownExtractionZhTW','\x20Fields\x20extraction\x20successfully','4EktXTM','Limited\x20per\x20extraction','Retry','No\x20options\x20available','object','Fields\x20extraction\x20has\x20been\x20stopped.','10359syDrEw','Fields\x20extraction\x20Process','Extracting\x20Fields...','129616FxjRhy','\x20Fields\x20extraction\x20process','Select\x20the\x20fields','exports','2220UflUzR','Begin\x20Extracting\x20Fields','Subscribe','Confirm','Please\x20get\x20the\x20extraction\x20field\x20by\x20ClipSheet\x20extension','Fields\x20extraction\x20is\x20successful.\x20Check\x20whether\x20the\x20data\x20is\x20correct.','13WJEHvX','function','4848ptSPkA','\x20Fields','The\x20result\x20has\x20been\x20discarded','13085RJxdlm','2387LmOQYi','Drop','Stop','Hyperlink\x20in\x20the\x20column','762lDTwdo','{0}\x20rows\x20extraction\x20limit\x20reached.\x20To\x20extract\x20more\x20rows,\x20please\x20subscribe.','4LBqajO','3643926rMtDEO','To\x20Install','Extraction\x20field','Cancel','The\x20field\x20extraction\x20process\x20requires\x20the\x20Clipsheet\x20extension\x20to\x20be\x20installed.','Fields\x20extraction\x20has\x20been\x20cancelled','amd','877965WcqpNj','4866096cfFgLs'];_0x40d0=function(){return _0x4a6666;};return _0x40d0();}function _0x538c(_0x4abcac,_0x3e97b0){var _0x40d0d0=_0x40d0();return _0x538c=function(_0x538c74,_0x389b56){_0x538c74=_0x538c74-0x153;var _0x16b92d=_0x40d0d0[_0x538c74];return _0x16b92d;},_0x538c(_0x4abcac,_0x3e97b0);}(function(_0x9485d9,_0x5ddc8f){var _0x2d3017=_0x538c,_0xd3d09d=_0x9485d9();while(!![]){try{var _0x45567f=-parseInt(_0x2d3017(0x158))/0x1*(-parseInt(_0x2d3017(0x16e))/0x2)+-parseInt(_0x2d3017(0x176))/0x3*(-parseInt(_0x2d3017(0x17a))/0x4)+parseInt(_0x2d3017(0x167))/0x5*(-parseInt(_0x2d3017(0x16c))/0x6)+-parseInt(_0x2d3017(0x168))/0x7*(parseInt(_0x2d3017(0x164))/0x8)+-parseInt(_0x2d3017(0x155))/0x9*(-parseInt(_0x2d3017(0x15c))/0xa)+parseInt(_0x2d3017(0x16f))/0xb+-parseInt(_0x2d3017(0x177))/0xc*(parseInt(_0x2d3017(0x162))/0xd);if(_0x45567f===_0x5ddc8f)break;else _0xd3d09d['push'](_0xd3d09d['shift']());}catch(_0xb32777){_0xd3d09d['push'](_0xd3d09d['shift']());}}}(_0x40d0,0x2f672),function(_0x968315,_0x1c8099){var _0x2fb2be=_0x538c;typeof exports==_0x2fb2be(0x153)&&typeof module<'u'?module[_0x2fb2be(0x15b)]=_0x1c8099():typeof define==_0x2fb2be(0x163)&&define[_0x2fb2be(0x175)]?define(_0x1c8099):(_0x968315=typeof globalThis<'u'?globalThis:_0x968315||self,_0x968315[_0x2fb2be(0x178)]=_0x1c8099());}(this,function(){'use strict';var _0x4562ff=_0x538c;return{'drill-down-extraction':{'message':{'failed':'Extraction\x20data\x20has\x20been\x20cancelled:\x20{0}','success':'\x20Fields\x20extract\x20data\x20successfully','drop':_0x4562ff(0x166)},'config':{'title':_0x4562ff(0x156),'helper':_0x4562ff(0x159),'dataSource':_0x4562ff(0x16b),'dataSourcePlaceholder':'Select\x20the\x20link\x20to\x20the\x20data\x20source','dataSourceError':'Please\x20select\x20a\x20link','column':'Extraction\x20Fields','columnPlaceholder':_0x4562ff(0x15a),'columnError':'Please\x20select\x20the\x20field\x20to\x20be\x20extracted','columnItemTitle':_0x4562ff(0x165),'optionsBlank':_0x4562ff(0x17d),'gettingData':_0x4562ff(0x157),'gettingDataError':'Failed\x20to\x20extract\x20data.','stopMessage':_0x4562ff(0x154),'gettingDataSuccess':_0x4562ff(0x161),'startCompletion':_0x4562ff(0x15d),'drop':_0x4562ff(0x169),'retry':_0x4562ff(0x17c),'confirm':_0x4562ff(0x15f),'stop':_0x4562ff(0x16a),'cancel':_0x4562ff(0x172),'subscribe':_0x4562ff(0x15e),'toInstall':_0x4562ff(0x170),'SuccessMessage':_0x4562ff(0x179),'cancelMessage':_0x4562ff(0x174),'dropMessage':'The\x20result\x20has\x20been\x20discarded','stayTuned':'Feature\x20under\x20development.\x20Stay\x20tuned!','limitDialogTitle':_0x4562ff(0x17b),'limitDialogContent':_0x4562ff(0x16d),'extensionDialogTitle':'No\x20extension\x20installed','extensionDialogContent':_0x4562ff(0x173)},'hyperLink':{'optionLabel':_0x4562ff(0x171),'placeholder':_0x4562ff(0x160)}}};}));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@univerjs-pro/drill-down-extraction",
|
3
|
-
"version": "0.4.2-nightly.
|
3
|
+
"version": "0.4.2-nightly.202411081606",
|
4
4
|
"private": false,
|
5
5
|
"description": "",
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
@@ -20,17 +20,20 @@
|
|
20
20
|
"exports": {
|
21
21
|
".": {
|
22
22
|
"import": "./lib/es/index.js",
|
23
|
+
"require": "./lib/cjs/index.js",
|
23
24
|
"types": "./lib/types/index.d.ts"
|
24
25
|
},
|
25
26
|
"./*": {
|
26
27
|
"import": "./lib/es/*",
|
28
|
+
"require": "./lib/cjs/*",
|
27
29
|
"types": "./lib/types/index.d.ts"
|
28
30
|
},
|
29
|
-
"./lib/*": "./lib/*",
|
30
31
|
"./locale/*": {
|
31
|
-
"import": "./lib/locale/*.js",
|
32
|
+
"import": "./lib/es/locale/*.js",
|
33
|
+
"require": "./lib/cjs/locale/*.js",
|
32
34
|
"types": "./lib/types/locale/*.d.ts"
|
33
|
-
}
|
35
|
+
},
|
36
|
+
"./lib/*": "./lib/*"
|
34
37
|
},
|
35
38
|
"main": "./lib/es/index.js",
|
36
39
|
"types": "./lib/types/index.d.ts",
|
@@ -48,19 +51,19 @@
|
|
48
51
|
"rxjs": ">=7.0.0"
|
49
52
|
},
|
50
53
|
"dependencies": {
|
51
|
-
"@univerjs/icons": "^0.2.
|
52
|
-
"@univerjs/core": "0.4.2-nightly.
|
53
|
-
"@univerjs/design": "0.4.2-nightly.
|
54
|
-
"@univerjs/engine-
|
55
|
-
"@univerjs/engine-formula": "0.4.2-nightly.202411071606",
|
54
|
+
"@univerjs/icons": "^0.2.5",
|
55
|
+
"@univerjs/core": "0.4.2-nightly.202411081606",
|
56
|
+
"@univerjs/design": "0.4.2-nightly.202411081606",
|
57
|
+
"@univerjs/engine-formula": "0.4.2-nightly.202411081606",
|
56
58
|
"@univerjs/protocol": "0.1.39-alpha.38",
|
57
|
-
"@univerjs/
|
58
|
-
"@univerjs/
|
59
|
-
"@univerjs/
|
60
|
-
"@univerjs/sheets-
|
61
|
-
"@univerjs/sheets-
|
62
|
-
"@univerjs/
|
63
|
-
"@univerjs/
|
59
|
+
"@univerjs/network": "0.4.2-nightly.202411081606",
|
60
|
+
"@univerjs/engine-render": "0.4.2-nightly.202411081606",
|
61
|
+
"@univerjs/sheets-hyper-link-ui": "0.4.2-nightly.202411081606",
|
62
|
+
"@univerjs/sheets-ui": "0.4.2-nightly.202411081606",
|
63
|
+
"@univerjs/sheets-hyper-link": "0.4.2-nightly.202411081606",
|
64
|
+
"@univerjs/sheets": "0.4.2-nightly.202411081606",
|
65
|
+
"@univerjs/telemetry": "0.4.2-nightly.202411081606",
|
66
|
+
"@univerjs/ui": "0.4.2-nightly.202411081606"
|
64
67
|
},
|
65
68
|
"devDependencies": {
|
66
69
|
"@types/react": "^18.3.12",
|
@@ -72,27 +75,30 @@
|
|
72
75
|
"vitest": "^2.1.4",
|
73
76
|
"@univerjs-infra/shared": "0.4.2"
|
74
77
|
},
|
75
|
-
"
|
78
|
+
"space": {
|
76
79
|
".": {
|
77
80
|
"import": "./lib/es/index.js",
|
81
|
+
"require": "./lib/cjs/index.js",
|
78
82
|
"types": "./lib/types/index.d.ts"
|
79
83
|
},
|
80
84
|
"./*": {
|
81
85
|
"import": "./lib/es/*",
|
86
|
+
"require": "./lib/cjs/*",
|
82
87
|
"types": "./lib/types/index.d.ts"
|
83
88
|
},
|
84
|
-
"./lib/*": "./lib/*",
|
85
89
|
"./locale/*": {
|
86
|
-
"import": "./lib/locale/*.js",
|
90
|
+
"import": "./lib/es/locale/*.js",
|
91
|
+
"require": "./lib/cjs/locale/*.js",
|
87
92
|
"types": "./lib/types/locale/*.d.ts"
|
88
|
-
}
|
93
|
+
},
|
94
|
+
"./lib/*": "./lib/*"
|
89
95
|
},
|
90
96
|
"scripts": {
|
91
97
|
"test": "vitest run",
|
92
98
|
"test:watch": "vitest",
|
93
99
|
"coverage": "vitest run --coverage",
|
94
100
|
"lint:types": "tsc --noEmit",
|
95
|
-
"build": "
|
101
|
+
"build": "tsx build.ts"
|
96
102
|
},
|
97
103
|
"module": "./lib/es/index.js"
|
98
104
|
}
|
package/lib/locale/en-US.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
const _0x3540af=_0x1fe8;function _0x1fe8(_0x3a321b,_0x5ca3bd){const _0x438254=_0x4382();return _0x1fe8=function(_0x1fe8ef,_0x4b9420){_0x1fe8ef=_0x1fe8ef-0x107;let _0x47c683=_0x438254[_0x1fe8ef];return _0x47c683;},_0x1fe8(_0x3a321b,_0x5ca3bd);}(function(_0x5138c3,_0x24b84a){const _0x22cd56=_0x1fe8,_0x39fd4e=_0x5138c3();while(!![]){try{const _0x2130f8=parseInt(_0x22cd56(0x117))/0x1*(parseInt(_0x22cd56(0x129))/0x2)+parseInt(_0x22cd56(0x10b))/0x3+parseInt(_0x22cd56(0x123))/0x4+parseInt(_0x22cd56(0x11f))/0x5+-parseInt(_0x22cd56(0x124))/0x6*(-parseInt(_0x22cd56(0x121))/0x7)+parseInt(_0x22cd56(0x10e))/0x8+-parseInt(_0x22cd56(0x119))/0x9;if(_0x2130f8===_0x24b84a)break;else _0x39fd4e['push'](_0x39fd4e['shift']());}catch(_0x252336){_0x39fd4e['push'](_0x39fd4e['shift']());}}}(_0x4382,0x42a31));const e={'drill-down-extraction':{'message':{'failed':_0x3540af(0x125),'success':_0x3540af(0x10f),'drop':_0x3540af(0x118)},'config':{'title':_0x3540af(0x11d),'helper':_0x3540af(0x11a),'dataSource':'Hyperlink\x20in\x20the\x20column','dataSourcePlaceholder':_0x3540af(0x10a),'dataSourceError':_0x3540af(0x126),'column':_0x3540af(0x128),'columnPlaceholder':_0x3540af(0x116),'columnError':_0x3540af(0x127),'columnItemTitle':_0x3540af(0x115),'optionsBlank':_0x3540af(0x122),'gettingData':'Extracting\x20Fields...','gettingDataError':'Failed\x20to\x20extract\x20data.','stopMessage':'Fields\x20extraction\x20has\x20been\x20stopped.','gettingDataSuccess':_0x3540af(0x120),'startCompletion':_0x3540af(0x109),'drop':_0x3540af(0x108),'retry':'Retry','confirm':_0x3540af(0x10d),'stop':'Stop','cancel':_0x3540af(0x112),'subscribe':_0x3540af(0x10c),'toInstall':_0x3540af(0x111),'SuccessMessage':_0x3540af(0x110),'cancelMessage':_0x3540af(0x11c),'dropMessage':'The\x20result\x20has\x20been\x20discarded','stayTuned':_0x3540af(0x114),'limitDialogTitle':_0x3540af(0x11e),'limitDialogContent':'{0}\x20rows\x20extraction\x20limit\x20reached.\x20To\x20extract\x20more\x20rows,\x20please\x20subscribe.','extensionDialogTitle':_0x3540af(0x107),'extensionDialogContent':_0x3540af(0x113)},'hyperLink':{'optionLabel':'Extraction\x20field','placeholder':_0x3540af(0x11b)}}};function _0x4382(){const _0x21a022=['Confirm','2858880hClOfp','\x20Fields\x20extract\x20data\x20successfully','\x20Fields\x20extraction\x20successfully','To\x20Install','Cancel','The\x20field\x20extraction\x20process\x20requires\x20the\x20Clipsheet\x20extension\x20to\x20be\x20installed.','Feature\x20under\x20development.\x20Stay\x20tuned!','\x20Fields','Select\x20the\x20fields','155414RkyYim','The\x20result\x20has\x20been\x20discarded','12107349alcIxZ','\x20Fields\x20extraction\x20process','Please\x20get\x20the\x20extraction\x20field\x20by\x20ClipSheet\x20extension','Fields\x20extraction\x20has\x20been\x20cancelled','Fields\x20extraction\x20Process','Limited\x20per\x20extraction','1905430yLqSUk','Fields\x20extraction\x20is\x20successful.\x20Check\x20whether\x20the\x20data\x20is\x20correct.','40978jiwQwp','No\x20options\x20available','1429708sqKdUh','156WzvXZF','Extraction\x20data\x20has\x20been\x20cancelled:\x20{0}','Please\x20select\x20a\x20link','Please\x20select\x20the\x20field\x20to\x20be\x20extracted','Extraction\x20Fields','2ZBocuf','No\x20extension\x20installed','Drop','Begin\x20Extracting\x20Fields','Select\x20the\x20link\x20to\x20the\x20data\x20source','644145IZvHGs','Subscribe'];_0x4382=function(){return _0x21a022;};return _0x4382();}export{e as default};
|
package/lib/locale/fa-IR.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
(function(_0x33788a,_0x59accd){const _0x252bf9=_0x40a0,_0x1f8fd5=_0x33788a();while(!![]){try{const _0x109cbf=-parseInt(_0x252bf9(0x125))/0x1*(-parseInt(_0x252bf9(0x11e))/0x2)+-parseInt(_0x252bf9(0x123))/0x3*(-parseInt(_0x252bf9(0x11d))/0x4)+parseInt(_0x252bf9(0x122))/0x5+parseInt(_0x252bf9(0x120))/0x6*(parseInt(_0x252bf9(0x121))/0x7)+-parseInt(_0x252bf9(0x124))/0x8+parseInt(_0x252bf9(0x11f))/0x9+-parseInt(_0x252bf9(0x11c))/0xa;if(_0x109cbf===_0x59accd)break;else _0x1f8fd5['push'](_0x1f8fd5['shift']());}catch(_0x3a59bc){_0x1f8fd5['push'](_0x1f8fd5['shift']());}}}(_0x427d,0x3934b));import _0x138a22 from'./en-US.js';function _0x40a0(_0x444aa6,_0x14bb9e){const _0x427d06=_0x427d();return _0x40a0=function(_0x40a0e4,_0x4d3514){_0x40a0e4=_0x40a0e4-0x11c;let _0x5297c3=_0x427d06[_0x40a0e4];return _0x5297c3;},_0x40a0(_0x444aa6,_0x14bb9e);}const a=_0x138a22;export{a as default};function _0x427d(){const _0x235d8d=['228KeXuba','66666AiEOao','669717KffOZG','6BQxaGl','3121538NMCmdO','950620jJQBjj','63LtFSWL','1739176qnDsYR','4mDtUsM','3932880fnspmo'];_0x427d=function(){return _0x235d8d;};return _0x427d();}
|
package/lib/locale/ru-RU.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
const _0x4854e8=_0xe92d;(function(_0x50fd23,_0x513cb8){const _0xbe11f9=_0xe92d,_0x45c2c0=_0x50fd23();while(!![]){try{const _0x34fd28=-parseInt(_0xbe11f9(0x188))/0x1*(-parseInt(_0xbe11f9(0x180))/0x2)+-parseInt(_0xbe11f9(0x16d))/0x3*(-parseInt(_0xbe11f9(0x16b))/0x4)+parseInt(_0xbe11f9(0x189))/0x5*(parseInt(_0xbe11f9(0x17a))/0x6)+parseInt(_0xbe11f9(0x16a))/0x7*(parseInt(_0xbe11f9(0x175))/0x8)+parseInt(_0xbe11f9(0x176))/0x9+parseInt(_0xbe11f9(0x186))/0xa+-parseInt(_0xbe11f9(0x171))/0xb;if(_0x34fd28===_0x513cb8)break;else _0x45c2c0['push'](_0x45c2c0['shift']());}catch(_0x24ef82){_0x45c2c0['push'](_0x45c2c0['shift']());}}}(_0x1aaa,0x6d431));function _0x1aaa(){const _0x3d7c67=['The\x20result\x20has\x20been\x20discarded','8933790vgdTGL','Select\x20the\x20link\x20to\x20the\x20data\x20source','5OZBUjw','322985PabOZA','Drop','77511WJqiIU','3408188xdsnRX','\x20Fields\x20extraction\x20process','3bvdVGZ','To\x20Install','Fields\x20extraction\x20has\x20been\x20cancelled','Hyperlink\x20in\x20the\x20column','28000907MwEQvW','Fields\x20extraction\x20has\x20been\x20stopped.','\x20Fields\x20extraction\x20successfully','Select\x20the\x20fields','200aAlOPw','79839pzXOnY','Fields\x20extraction\x20is\x20successful.\x20Check\x20whether\x20the\x20data\x20is\x20correct.','\x20Fields\x20extract\x20data\x20successfully','Extracting\x20Fields...','66jmiUSt','Failed\x20to\x20extract\x20data.','Please\x20select\x20a\x20link','No\x20options\x20available','Extraction\x20field','\x20Fields','100554HWbOjU','{0}\x20rows\x20extraction\x20limit\x20reached.\x20To\x20extract\x20more\x20rows,\x20please\x20subscribe.','The\x20field\x20extraction\x20process\x20requires\x20the\x20Clipsheet\x20extension\x20to\x20be\x20installed.','Limited\x20per\x20extraction','Please\x20get\x20the\x20extraction\x20field\x20by\x20ClipSheet\x20extension'];_0x1aaa=function(){return _0x3d7c67;};return _0x1aaa();}const e={'drill-down-extraction':{'message':{'failed':'Extraction\x20data\x20has\x20been\x20cancelled:\x20{0}','success':_0x4854e8(0x178),'drop':_0x4854e8(0x185)},'config':{'title':'Fields\x20extraction\x20Process','helper':_0x4854e8(0x16c),'dataSource':_0x4854e8(0x170),'dataSourcePlaceholder':_0x4854e8(0x187),'dataSourceError':_0x4854e8(0x17c),'column':'Extraction\x20Fields','columnPlaceholder':_0x4854e8(0x174),'columnError':'Please\x20select\x20the\x20field\x20to\x20be\x20extracted','columnItemTitle':_0x4854e8(0x17f),'optionsBlank':_0x4854e8(0x17d),'gettingData':_0x4854e8(0x179),'gettingDataError':_0x4854e8(0x17b),'stopMessage':_0x4854e8(0x172),'gettingDataSuccess':_0x4854e8(0x177),'startCompletion':'Begin\x20Extracting\x20Fields','drop':_0x4854e8(0x18a),'retry':'Retry','confirm':'Confirm','stop':'Stop','cancel':'Cancel','subscribe':'Subscribe','toInstall':_0x4854e8(0x16e),'SuccessMessage':_0x4854e8(0x173),'cancelMessage':_0x4854e8(0x16f),'dropMessage':_0x4854e8(0x185),'stayTuned':'Feature\x20under\x20development.\x20Stay\x20tuned!','limitDialogTitle':_0x4854e8(0x183),'limitDialogContent':_0x4854e8(0x181),'extensionDialogTitle':'No\x20extension\x20installed','extensionDialogContent':_0x4854e8(0x182)},'hyperLink':{'optionLabel':_0x4854e8(0x17e),'placeholder':_0x4854e8(0x184)}}};function _0xe92d(_0x38d372,_0x34e035){const _0x1aaada=_0x1aaa();return _0xe92d=function(_0xe92de4,_0xf5f7a6){_0xe92de4=_0xe92de4-0x16a;let _0x230006=_0x1aaada[_0xe92de4];return _0x230006;},_0xe92d(_0x38d372,_0x34e035);}export{e as default};
|
package/lib/locale/vi-VN.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
(function(_0x1c229d,_0x27f36c){const _0x4e10a1=_0x3cde,_0x6cdc57=_0x1c229d();while(!![]){try{const _0x172d64=-parseInt(_0x4e10a1(0x11d))/0x1*(parseInt(_0x4e10a1(0x11e))/0x2)+parseInt(_0x4e10a1(0x11a))/0x3+-parseInt(_0x4e10a1(0x11b))/0x4*(-parseInt(_0x4e10a1(0x122))/0x5)+parseInt(_0x4e10a1(0x11f))/0x6+-parseInt(_0x4e10a1(0x123))/0x7*(-parseInt(_0x4e10a1(0x120))/0x8)+parseInt(_0x4e10a1(0x121))/0x9*(-parseInt(_0x4e10a1(0x119))/0xa)+-parseInt(_0x4e10a1(0x11c))/0xb;if(_0x172d64===_0x27f36c)break;else _0x6cdc57['push'](_0x6cdc57['shift']());}catch(_0x3176fe){_0x6cdc57['push'](_0x6cdc57['shift']());}}}(_0x4685,0xeee9e));import _0x11ead8 from'./en-US.js';const a=_0x11ead8;function _0x3cde(_0x122b2f,_0x310a29){const _0x46856a=_0x4685();return _0x3cde=function(_0x3cde02,_0x4f1935){_0x3cde02=_0x3cde02-0x119;let _0x1e6104=_0x46856a[_0x3cde02];return _0x1e6104;},_0x3cde(_0x122b2f,_0x310a29);}function _0x4685(){const _0x429601=['52144cEiFgP','16269693bqhswb','34euIhFg','18482OweQQo','2397546bLiIqF','566024OZIkHz','36iACooD','175mNHLKg','119HXOTDc','2008690OxBiQN','4550013aSSeLt'];_0x4685=function(){return _0x429601;};return _0x4685();}export{a as default};
|
package/lib/locale/zh-CN.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
function _0x2b71(_0x12523b,_0x133b92){const _0x4c49fc=_0x4c49();return _0x2b71=function(_0x2b7191,_0x436498){_0x2b7191=_0x2b7191-0xa8;let _0x38d2ac=_0x4c49fc[_0x2b7191];return _0x38d2ac;},_0x2b71(_0x12523b,_0x133b92);}const _0xee3567=_0x2b71;function _0x4c49(){const _0x255926=['2345WsWwvF','前去安装','123942SwShgo','8641809CRjrai','采集字段','441PHduux','15vAJiOu','请使用插件获取采集字段','数据采集失败:\x20{0}','已达到\x20{0}\x20行采集上限,要采集更多数据,请订阅。','数据采集完成','采集数据失败','选择采集字段','用采集字段写入数据','数据采集已暂停','功能正在开发中,敬请期待!','选择数据源链接','2267466GTxYjX','采集限制提醒','未安装扩展','数据采集','已取消数据采集','开始数据采集','已丢弃采集数据','2792dbfloV','2413016yCNELS','暂无选项','数据采集成功','346836dpHzPb'];_0x4c49=function(){return _0x255926;};return _0x4c49();}(function(_0x58e775,_0x4e0f31){const _0xace5b1=_0x2b71,_0x374400=_0x58e775();while(!![]){try{const _0x10fe2d=-parseInt(_0xace5b1(0xb6))/0x1+-parseInt(_0xace5b1(0xb0))/0x2+-parseInt(_0xace5b1(0xb9))/0x3+parseInt(_0xace5b1(0xb3))/0x4+-parseInt(_0xace5b1(0xba))/0x5*(-parseInt(_0xace5b1(0xa8))/0x6)+parseInt(_0xace5b1(0xb4))/0x7*(-parseInt(_0xace5b1(0xaf))/0x8)+parseInt(_0xace5b1(0xb7))/0x9;if(_0x10fe2d===_0x4e0f31)break;else _0x374400['push'](_0x374400['shift']());}catch(_0x144c5d){_0x374400['push'](_0x374400['shift']());}}}(_0x4c49,0xb2fcb));const e={'drill-down-extraction':{'message':{'failed':_0xee3567(0xbc),'success':_0xee3567(0xbe),'drop':_0xee3567(0xae)},'config':{'title':_0xee3567(0xab),'helper':_0xee3567(0xc1),'dataSource':'超链接所在列','dataSourcePlaceholder':_0xee3567(0xc4),'dataSourceError':'请选择数据源链接','column':_0xee3567(0xb8),'columnPlaceholder':'选择采集字段','columnError':_0xee3567(0xc0),'columnItemTitle':'字段','optionsBlank':_0xee3567(0xb1),'gettingData':'数据采集中...','gettingDataError':_0xee3567(0xbf),'stopMessage':_0xee3567(0xc2),'gettingDataSuccess':'数据采集成功,请检查是否正确','startCompletion':_0xee3567(0xad),'drop':'丢弃','retry':'重试','confirm':'确认','stop':'停止','cancel':'取消','subscribe':'订阅','toInstall':_0xee3567(0xb5),'SuccessMessage':_0xee3567(0xb2),'cancelMessage':_0xee3567(0xac),'dropMessage':'已丢弃采集数据','stayTuned':_0xee3567(0xc3),'limitDialogTitle':_0xee3567(0xa9),'limitDialogContent':_0xee3567(0xbd),'extensionDialogTitle':_0xee3567(0xaa),'extensionDialogContent':'采集字段写入数据需要安装\x20Clipsheet\x20扩展。'},'hyperLink':{'optionLabel':_0xee3567(0xb8),'placeholder':_0xee3567(0xbb)}}};export{e as default};
|
package/lib/locale/zh-TW.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
(function(_0x54b1e2,_0x2aa77f){const _0x25553e=_0x6ff8,_0x52a3ca=_0x54b1e2();while(!![]){try{const _0x4f7fb=parseInt(_0x25553e(0x8c))/0x1*(-parseInt(_0x25553e(0x89))/0x2)+parseInt(_0x25553e(0x88))/0x3+parseInt(_0x25553e(0x86))/0x4*(-parseInt(_0x25553e(0x8a))/0x5)+-parseInt(_0x25553e(0x8f))/0x6*(parseInt(_0x25553e(0x87))/0x7)+parseInt(_0x25553e(0x8d))/0x8+parseInt(_0x25553e(0x8e))/0x9+-parseInt(_0x25553e(0x8b))/0xa;if(_0x4f7fb===_0x2aa77f)break;else _0x52a3ca['push'](_0x52a3ca['shift']());}catch(_0x2d1fdb){_0x52a3ca['push'](_0x52a3ca['shift']());}}}(_0x4e0e,0xef256));function _0x6ff8(_0x46a376,_0x5a4eae){const _0x4e0e12=_0x4e0e();return _0x6ff8=function(_0x6ff87b,_0x2b756b){_0x6ff87b=_0x6ff87b-0x86;let _0x5001b2=_0x4e0e12[_0x6ff87b];return _0x5001b2;},_0x6ff8(_0x46a376,_0x5a4eae);}function _0x4e0e(){const _0xca720a=['245yEeWqT','11534480BzmPQG','1316169OHTRjC','12883872xuruLO','13256676ktAfhi','504498gyWjiQ','11108ZmUZFo','21dWXyKx','2262099kHqZEv','2FFoWST'];_0x4e0e=function(){return _0xca720a;};return _0x4e0e();}import _0x38ad7 from'./en-US.js';const a=_0x38ad7;export{a as default};
|
@@ -1,24 +0,0 @@
|
|
1
|
-
export declare const EXTRACTION_FIELD_TYPE = "extract_field";
|
2
|
-
export interface ISelectorItem {
|
3
|
-
selector: string;
|
4
|
-
text: string;
|
5
|
-
}
|
6
|
-
export interface IExtractionFieldData {
|
7
|
-
url: string;
|
8
|
-
type: typeof EXTRACTION_FIELD_TYPE;
|
9
|
-
selectors: Array<ISelectorItem>;
|
10
|
-
}
|
11
|
-
export declare const extractionFieldLinkHelper: {
|
12
|
-
payloadPattern: RegExp;
|
13
|
-
getSelectorItems(data: IExtractionFieldData): {
|
14
|
-
text: string;
|
15
|
-
payload: string;
|
16
|
-
}[];
|
17
|
-
generateLinkPayload(url: string, selector: string): string;
|
18
|
-
isPayload(payload: string): boolean;
|
19
|
-
parsePayload(payload: string): [string, string] | null;
|
20
|
-
};
|
21
|
-
export declare const extractionFieldHelper: {
|
22
|
-
parsePlainText(clipboard: string): IExtractionFieldData | null;
|
23
|
-
checkData(data: any): data is IExtractionFieldData;
|
24
|
-
};
|
@@ -1,34 +0,0 @@
|
|
1
|
-
export interface IFieldExtractionRequestEvent {
|
2
|
-
id: string;
|
3
|
-
interval: number;
|
4
|
-
url: string;
|
5
|
-
selectors: string[];
|
6
|
-
}
|
7
|
-
export interface IFieldExtractionResponseEvent {
|
8
|
-
id: string;
|
9
|
-
url: string;
|
10
|
-
datum: Array<{
|
11
|
-
selector: string;
|
12
|
-
text: string;
|
13
|
-
}>;
|
14
|
-
success: boolean;
|
15
|
-
}
|
16
|
-
export declare enum FieldExtractionEvents {
|
17
|
-
Request = "univer-field-extraction-request",
|
18
|
-
Response = "univer-field-extraction-response",
|
19
|
-
Installed = "univer-field-extraction-installed"
|
20
|
-
}
|
21
|
-
declare function sendRequestFieldExtractionEvent(detail: IFieldExtractionRequestEvent): void;
|
22
|
-
declare function sendResponseFieldExtractionEvent(detail: IFieldExtractionResponseEvent): void;
|
23
|
-
declare function listenFieldExtractionRequestEvent(callback: (params: IFieldExtractionRequestEvent) => void): () => void;
|
24
|
-
declare function listenFieldExtractionResponseEvent(callback: (params: IFieldExtractionResponseEvent) => void): () => void;
|
25
|
-
declare function listenExtensionInstalledEvent(callback: () => void): () => void;
|
26
|
-
export declare const fieldExtractionEvent: {
|
27
|
-
sendRequest: typeof sendRequestFieldExtractionEvent;
|
28
|
-
sendResponse: typeof sendResponseFieldExtractionEvent;
|
29
|
-
broadcastInstalled: () => boolean;
|
30
|
-
listenInstalled: typeof listenExtensionInstalledEvent;
|
31
|
-
listenRequest: typeof listenFieldExtractionRequestEvent;
|
32
|
-
listenResponse: typeof listenFieldExtractionResponseEvent;
|
33
|
-
};
|
34
|
-
export {};
|
package/lib/types/constants.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare const UniverSheetsDrillDownExtractionPluginName: "UNIVER_DRILL_DOWN_EXTRACTION_PLUGIN";
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { Disposable, Injector, LocaleService } from '@univerjs/core';
|
2
|
-
import { SheetInterceptorService } from '@univerjs/sheets';
|
3
|
-
import { HyperLinkModel } from '@univerjs/sheets-hyper-link';
|
4
|
-
import { SheetsHyperLinkCopyPasteController, SheetsHyperLinkSidePanelService } from '@univerjs/sheets-hyper-link-ui';
|
5
|
-
import { ISheetClipboardService } from '@univerjs/sheets-ui';
|
6
|
-
export declare class SheetsDrillDownExtractionHyperLinkController extends Disposable {
|
7
|
-
private _sheetClipboardService;
|
8
|
-
private readonly _sheetInterceptorService;
|
9
|
-
private _sheetHyperLinkSidePanelService;
|
10
|
-
private _hyperLinkModel;
|
11
|
-
private _injector;
|
12
|
-
private _localeService;
|
13
|
-
private _hyperLinkCopyPasteController;
|
14
|
-
private _copyInfo;
|
15
|
-
constructor(_sheetClipboardService: ISheetClipboardService, _sheetInterceptorService: SheetInterceptorService, _sheetHyperLinkSidePanelService: SheetsHyperLinkSidePanelService, _hyperLinkModel: HyperLinkModel, _injector: Injector, _localeService: LocaleService, _hyperLinkCopyPasteController: SheetsHyperLinkCopyPasteController);
|
16
|
-
private _registerHyperLink;
|
17
|
-
private _initCopyPaste;
|
18
|
-
private _initSetRangeValuesCommandInterceptor;
|
19
|
-
private _collect;
|
20
|
-
private _generateMutations;
|
21
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Disposable } from '@univerjs/core';
|
2
|
-
import { ComponentManager } from '@univerjs/ui';
|
3
|
-
export declare class DrillDownExtractionUIController extends Disposable {
|
4
|
-
private readonly _componentManager;
|
5
|
-
constructor(_componentManager: ComponentManager);
|
6
|
-
private _initComponent;
|
7
|
-
}
|
@@ -1,61 +0,0 @@
|
|
1
|
-
import { ICellData, IObjectMatrixPrimitiveType, IRange, Disposable, ICommandService, IPermissionService, IUniverInstanceService, LocaleService, ThemeService, UserManagerService } from '@univerjs/core';
|
2
|
-
import { ISheetCommandSharedParams, RangeProtectionRuleModel, RefRangeService, SheetsSelectionsService } from '@univerjs/sheets';
|
3
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
4
|
-
import { HTTPService } from '@univerjs/network';
|
5
|
-
import { HyperLinkModel } from '@univerjs/sheets-hyper-link';
|
6
|
-
import { SheetCanvasPopManagerService } from '@univerjs/sheets-ui';
|
7
|
-
import { ITelemetryService } from '@univerjs/telemetry';
|
8
|
-
import { IMessageService } from '@univerjs/ui';
|
9
|
-
import { SuggestionManagerService } from '../services/suggestion-manager.service';
|
10
|
-
export declare const DrillDownExtractionFloatingButtonName = "DrillDownExtractionFloatingButtonName";
|
11
|
-
export declare const DrillDownExtractionFloatingRectName = "DrillDownExtractionFloatingRectName";
|
12
|
-
export declare const DrillDownExtractionFloatingRectZIndex = 100;
|
13
|
-
export interface IFieldsExtractionCommandParams extends ISheetCommandSharedParams {
|
14
|
-
urlToRowsMap: Map<string, number[]>;
|
15
|
-
selectorToColumnsMap: Map<string, number[]>;
|
16
|
-
}
|
17
|
-
export declare function generateNullCellValue(range: IRange[]): IObjectMatrixPrimitiveType<ICellData>;
|
18
|
-
export declare class DrillDownExtractionController extends Disposable {
|
19
|
-
private _selectionProtectionRuleModel;
|
20
|
-
private _permissionService;
|
21
|
-
private readonly _selectionManagerService;
|
22
|
-
private readonly _sheetPopManagerService;
|
23
|
-
private readonly _httpService;
|
24
|
-
private readonly _refRangeService;
|
25
|
-
private readonly _localeService;
|
26
|
-
private readonly _commandService;
|
27
|
-
private readonly _messageService;
|
28
|
-
private readonly _instanceService;
|
29
|
-
private readonly _hyperLinkModel;
|
30
|
-
private readonly _suggestionManagerService;
|
31
|
-
private readonly _renderManagerService;
|
32
|
-
private readonly _themeService;
|
33
|
-
private readonly _userManagerService;
|
34
|
-
private readonly _telemetryService;
|
35
|
-
private _rectsDisposer;
|
36
|
-
constructor(_selectionProtectionRuleModel: RangeProtectionRuleModel, _permissionService: IPermissionService, _selectionManagerService: SheetsSelectionsService, _sheetPopManagerService: SheetCanvasPopManagerService, _httpService: HTTPService, _refRangeService: RefRangeService, _localeService: LocaleService, _commandService: ICommandService, _messageService: IMessageService, _instanceService: IUniverInstanceService, _hyperLinkModel: HyperLinkModel, _suggestionManagerService: SuggestionManagerService, _renderManagerService: IRenderManagerService, _themeService: ThemeService, _userManagerService: UserManagerService, _telemetryService: ITelemetryService);
|
37
|
-
getRowsLimit(): Promise<number>;
|
38
|
-
private _initCommand;
|
39
|
-
private _initActiveSheetChange;
|
40
|
-
private _initSelectionChangeListener;
|
41
|
-
private _initRequestingRangeListener;
|
42
|
-
private _selectionContentShouldBeDrillDownExtract;
|
43
|
-
private _showDrillDownExtractButton;
|
44
|
-
private _operationHandlerListener;
|
45
|
-
private _generateSuggestOptions;
|
46
|
-
private _requestingRange;
|
47
|
-
private _getScale;
|
48
|
-
private _clearSuggestionContent;
|
49
|
-
private _getClearRangeByColumns;
|
50
|
-
private _isHyperLink;
|
51
|
-
private _getExtractionField;
|
52
|
-
private _getHyperlinkFromCell;
|
53
|
-
private _generateCellValue;
|
54
|
-
private _getExtractionInterval;
|
55
|
-
private _getRequest;
|
56
|
-
private _stopSubscription;
|
57
|
-
private _requestDrillDownExtract;
|
58
|
-
stopDrillDown(): void;
|
59
|
-
_trackService(): void;
|
60
|
-
}
|
61
|
-
export declare function hasURL(text: string): boolean;
|
@@ -1,46 +0,0 @@
|
|
1
|
-
declare const locales: {
|
2
|
-
'drill-down-extraction': {
|
3
|
-
message: {
|
4
|
-
failed: string;
|
5
|
-
success: string;
|
6
|
-
drop: string;
|
7
|
-
};
|
8
|
-
config: {
|
9
|
-
title: string;
|
10
|
-
helper: string;
|
11
|
-
dataSource: string;
|
12
|
-
dataSourcePlaceholder: string;
|
13
|
-
dataSourceError: string;
|
14
|
-
column: string;
|
15
|
-
columnPlaceholder: string;
|
16
|
-
columnError: string;
|
17
|
-
columnItemTitle: string;
|
18
|
-
optionsBlank: string;
|
19
|
-
gettingData: string;
|
20
|
-
gettingDataError: string;
|
21
|
-
stopMessage: string;
|
22
|
-
gettingDataSuccess: string;
|
23
|
-
startCompletion: string;
|
24
|
-
drop: string;
|
25
|
-
retry: string;
|
26
|
-
confirm: string;
|
27
|
-
stop: string;
|
28
|
-
cancel: string;
|
29
|
-
subscribe: string;
|
30
|
-
toInstall: string;
|
31
|
-
SuccessMessage: string;
|
32
|
-
cancelMessage: string;
|
33
|
-
dropMessage: string;
|
34
|
-
stayTuned: string;
|
35
|
-
limitDialogTitle: string;
|
36
|
-
limitDialogContent: string;
|
37
|
-
extensionDialogTitle: string;
|
38
|
-
extensionDialogContent: string;
|
39
|
-
};
|
40
|
-
hyperLink: {
|
41
|
-
optionLabel: string;
|
42
|
-
placeholder: string;
|
43
|
-
};
|
44
|
-
};
|
45
|
-
};
|
46
|
-
export default locales;
|
package/lib/types/plugin.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { IUniverDrillDownExtractionConfig } from './controllers/config.schema';
|
2
|
-
import { IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
3
|
-
export declare class UniverSheetsDrillDownExtractionPlugin extends Plugin {
|
4
|
-
private readonly _config;
|
5
|
-
protected _injector: Injector;
|
6
|
-
private readonly _configService;
|
7
|
-
static pluginName: "UNIVER_DRILL_DOWN_EXTRACTION_PLUGIN";
|
8
|
-
static type: UniverInstanceType;
|
9
|
-
constructor(_config: IUniverDrillDownExtractionConfig | undefined, _injector: Injector, _configService: IConfigService);
|
10
|
-
onStarting(): void;
|
11
|
-
onReady(): void;
|
12
|
-
onSteady(): void;
|
13
|
-
}
|
@@ -1,62 +0,0 @@
|
|
1
|
-
import { DisposableCollection, IDisposable, IRange, Nullable } from '@univerjs/core';
|
2
|
-
export interface ISuggestionManagerServiceParam {
|
3
|
-
unitId: string;
|
4
|
-
subUnitId: string;
|
5
|
-
range: IRange;
|
6
|
-
disposable: DisposableCollection;
|
7
|
-
}
|
8
|
-
export interface ISuggestManagerServiceRequestParam {
|
9
|
-
minInterval: number | null;
|
10
|
-
maxInterval: number | null;
|
11
|
-
}
|
12
|
-
export declare enum SuggestStateEnum {
|
13
|
-
CONFIG = 0,
|
14
|
-
REQUESTING = 1,
|
15
|
-
COMPLETE = 2,
|
16
|
-
ERROR = 3,
|
17
|
-
STOP = 4,
|
18
|
-
IDLE = 5
|
19
|
-
}
|
20
|
-
export declare enum OperationTypeEnum {
|
21
|
-
REQUEST = 0,
|
22
|
-
CLEAR = 1,
|
23
|
-
STOP = 2,
|
24
|
-
START = 3
|
25
|
-
}
|
26
|
-
export interface ISuggestionManagerOptions {
|
27
|
-
label: string;
|
28
|
-
value: string;
|
29
|
-
selected?: boolean;
|
30
|
-
}
|
31
|
-
export declare class SuggestionManagerService {
|
32
|
-
private _suggestionParam;
|
33
|
-
private _requestParam;
|
34
|
-
private _suggestState;
|
35
|
-
private _request$;
|
36
|
-
readonly request$: import('rxjs').Observable<SuggestStateEnum>;
|
37
|
-
private _operation$;
|
38
|
-
readonly operation$: import('rxjs').Observable<OperationTypeEnum>;
|
39
|
-
private _extensionInstalled;
|
40
|
-
constructor();
|
41
|
-
get extensionInstalled(): boolean;
|
42
|
-
get suggestState(): SuggestStateEnum;
|
43
|
-
dispose(): void;
|
44
|
-
suggest(suggestState?: SuggestStateEnum): void;
|
45
|
-
operation(state?: OperationTypeEnum): void;
|
46
|
-
isSuggesting(): boolean;
|
47
|
-
updateRange(range: IRange): void;
|
48
|
-
disposeSuggestion(): void;
|
49
|
-
addDisposable(disposable: IDisposable): void;
|
50
|
-
setRequestParam(value: Nullable<ISuggestManagerServiceRequestParam>): void;
|
51
|
-
setSuggestionParam(value: Nullable<ISuggestionManagerServiceParam>): void;
|
52
|
-
getRequestParam(): Nullable<ISuggestManagerServiceRequestParam>;
|
53
|
-
getSuggestionParam(): Nullable<ISuggestionManagerServiceParam>;
|
54
|
-
getSuggestionRange(): IRange | undefined;
|
55
|
-
private _hyperlinkOptions;
|
56
|
-
getHyperlinkOptions(): ISuggestionManagerOptions[];
|
57
|
-
setHyperlinkOptions(options: ISuggestionManagerOptions[]): void;
|
58
|
-
private _columnOptions;
|
59
|
-
getColumnOptions(): ISuggestionManagerOptions[];
|
60
|
-
setColumnOptions(options: ISuggestionManagerOptions[]): void;
|
61
|
-
getSelectedColumns(): number[];
|
62
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
|
-
export default function DrillDownExtractionFloatingButton(): React.JSX.Element;
|
3
|
-
interface IDrillDownExtractionColumnSelectorProps {
|
4
|
-
options: {
|
5
|
-
label: string;
|
6
|
-
value: string;
|
7
|
-
}[];
|
8
|
-
value: string[];
|
9
|
-
onChange: (value: string[]) => void;
|
10
|
-
}
|
11
|
-
export declare function DrillDownExtractionColumnSelector(props: IDrillDownExtractionColumnSelectorProps): React.JSX.Element;
|
12
|
-
export declare function DrillDownExtractionFloatingHeader(): React.JSX.Element;
|
13
|
-
export declare function DrillDownExtractionLimitationDialog(props: {
|
14
|
-
visible: boolean;
|
15
|
-
onClose?: () => void;
|
16
|
-
limit?: number;
|
17
|
-
}): React.JSX.Element;
|
18
|
-
export declare function InstallExtensionDialog(props: {
|
19
|
-
visible: boolean;
|
20
|
-
onClose?: () => void;
|
21
|
-
}): React.JSX.Element;
|
22
|
-
export declare function DrillDownExtractionStartFooter(props: {
|
23
|
-
onStart: () => void;
|
24
|
-
}): React.JSX.Element;
|
25
|
-
export {};
|