@univerjs-pro/bases 1.3.1 → 1.5.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.
Files changed (108) hide show
  1. package/README.md +21 -9
  2. package/lib/cjs/config-CTOS-Fzg.js +1 -0
  3. package/lib/cjs/facade.js +1 -1
  4. package/lib/cjs/index.js +1 -1
  5. package/lib/cjs/locale/ar-SA.js +1 -1
  6. package/lib/cjs/locale/ca-ES.js +1 -1
  7. package/lib/cjs/locale/de-DE.js +1 -1
  8. package/lib/cjs/locale/en-US.js +1 -1
  9. package/lib/cjs/locale/es-ES.js +1 -1
  10. package/lib/cjs/locale/fa-IR.js +1 -1
  11. package/lib/cjs/locale/fr-FR.js +1 -1
  12. package/lib/cjs/locale/id-ID.js +1 -1
  13. package/lib/cjs/locale/it-IT.js +1 -1
  14. package/lib/cjs/locale/ja-JP.js +1 -1
  15. package/lib/cjs/locale/ko-KR.js +1 -1
  16. package/lib/cjs/locale/pl-PL.js +1 -1
  17. package/lib/cjs/locale/pt-BR.js +1 -1
  18. package/lib/cjs/locale/ru-RU.js +1 -1
  19. package/lib/cjs/locale/sk-SK.js +1 -1
  20. package/lib/cjs/locale/vi-VN.js +1 -1
  21. package/lib/cjs/locale/zh-CN.js +1 -1
  22. package/lib/cjs/locale/zh-HK.js +1 -1
  23. package/lib/cjs/locale/zh-TW.js +1 -1
  24. package/lib/cjs/worker.js +1 -0
  25. package/lib/config-DDy_jw9I.js +1 -0
  26. package/lib/es/config-DDy_jw9I.js +1 -0
  27. package/lib/es/facade.js +1 -1
  28. package/lib/es/index.js +1 -1
  29. package/lib/es/locale/ar-SA.js +1 -1
  30. package/lib/es/locale/ca-ES.js +1 -1
  31. package/lib/es/locale/de-DE.js +1 -1
  32. package/lib/es/locale/en-US.js +1 -1
  33. package/lib/es/locale/es-ES.js +1 -1
  34. package/lib/es/locale/fa-IR.js +1 -1
  35. package/lib/es/locale/fr-FR.js +1 -1
  36. package/lib/es/locale/id-ID.js +1 -1
  37. package/lib/es/locale/it-IT.js +1 -1
  38. package/lib/es/locale/ja-JP.js +1 -1
  39. package/lib/es/locale/ko-KR.js +1 -1
  40. package/lib/es/locale/pl-PL.js +1 -1
  41. package/lib/es/locale/pt-BR.js +1 -1
  42. package/lib/es/locale/ru-RU.js +1 -1
  43. package/lib/es/locale/sk-SK.js +1 -1
  44. package/lib/es/locale/vi-VN.js +1 -1
  45. package/lib/es/locale/zh-CN.js +1 -1
  46. package/lib/es/locale/zh-HK.js +1 -1
  47. package/lib/es/locale/zh-TW.js +1 -1
  48. package/lib/es/worker.js +1 -0
  49. package/lib/facade.js +1 -1
  50. package/lib/index.js +1 -1
  51. package/lib/locale/ar-SA.js +1 -1
  52. package/lib/locale/ca-ES.js +1 -1
  53. package/lib/locale/de-DE.js +1 -1
  54. package/lib/locale/en-US.js +1 -1
  55. package/lib/locale/es-ES.js +1 -1
  56. package/lib/locale/fa-IR.js +1 -1
  57. package/lib/locale/fr-FR.js +1 -1
  58. package/lib/locale/id-ID.js +1 -1
  59. package/lib/locale/it-IT.js +1 -1
  60. package/lib/locale/ja-JP.js +1 -1
  61. package/lib/locale/ko-KR.js +1 -1
  62. package/lib/locale/pl-PL.js +1 -1
  63. package/lib/locale/pt-BR.js +1 -1
  64. package/lib/locale/ru-RU.js +1 -1
  65. package/lib/locale/sk-SK.js +1 -1
  66. package/lib/locale/vi-VN.js +1 -1
  67. package/lib/locale/zh-CN.js +1 -1
  68. package/lib/locale/zh-HK.js +1 -1
  69. package/lib/locale/zh-TW.js +1 -1
  70. package/lib/types/config/config.d.ts +1 -1
  71. package/lib/types/controllers/base-formula-optional-identifier.d.ts +1 -1
  72. package/lib/types/facade/f-range.d.ts +16 -2
  73. package/lib/types/facade/f-record.d.ts +14 -0
  74. package/lib/types/facade/f-table.d.ts +3 -0
  75. package/lib/types/fields/field-stat.d.ts +1 -1
  76. package/lib/types/index.d.ts +1 -1
  77. package/lib/types/plugin.d.ts +1 -13
  78. package/lib/types/services/base-command.service.d.ts +1 -1
  79. package/lib/types/services/base-field-registry.service.d.ts +2 -2
  80. package/lib/types/services/base-permission-point.d.ts +1 -1
  81. package/lib/types/services/base-permission.service.d.ts +1 -1
  82. package/lib/types/services/base-projection.service.d.ts +2 -2
  83. package/lib/types/services/base-resource.service.d.ts +1 -1
  84. package/lib/types/services/base-view-registry.service.d.ts +2 -2
  85. package/lib/types/worker.d.ts +14 -0
  86. package/lib/umd/facade.js +1 -1
  87. package/lib/umd/index.js +1 -1
  88. package/lib/umd/locale/ar-SA.js +1 -1
  89. package/lib/umd/locale/ca-ES.js +1 -1
  90. package/lib/umd/locale/de-DE.js +1 -1
  91. package/lib/umd/locale/en-US.js +1 -1
  92. package/lib/umd/locale/es-ES.js +1 -1
  93. package/lib/umd/locale/fa-IR.js +1 -1
  94. package/lib/umd/locale/fr-FR.js +1 -1
  95. package/lib/umd/locale/id-ID.js +1 -1
  96. package/lib/umd/locale/it-IT.js +1 -1
  97. package/lib/umd/locale/ja-JP.js +1 -1
  98. package/lib/umd/locale/ko-KR.js +1 -1
  99. package/lib/umd/locale/pl-PL.js +1 -1
  100. package/lib/umd/locale/pt-BR.js +1 -1
  101. package/lib/umd/locale/ru-RU.js +1 -1
  102. package/lib/umd/locale/sk-SK.js +1 -1
  103. package/lib/umd/locale/vi-VN.js +1 -1
  104. package/lib/umd/locale/zh-CN.js +1 -1
  105. package/lib/umd/locale/zh-HK.js +1 -1
  106. package/lib/umd/locale/zh-TW.js +1 -1
  107. package/lib/worker.js +1 -0
  108. package/package.json +17 -12
@@ -1 +1 @@
1
- function _0x3621(_0x1cfbcd,_0x12f2fc){_0x1cfbcd=_0x1cfbcd-0x1cd;var _0x2142d8=_0x2142();var _0x3621e2=_0x2142d8[_0x1cfbcd];return _0x3621e2;}function _0x2142(){var _0x1a6c00=['9nZmZAZ','268600zaWpZD','看板需要可分组字段','创建时间','amd','更新时间','更新单元格','复选框','UniverProBasesZhCN','20nkSZqA','创建人','创建记录','2616903NWinPE','389356eoLnTO','2011526lMDghC','记录\x20ID','删除字段','30DchjyN','修改人','56AanZWc','单元格值无效','273696MWOGvg','417705BPPbrs','exports','日历需要日期字段','1230592krNUua','输入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','甘特视图需要开始和结束日期字段','字段标题不能为空'];_0x2142=function(){return _0x1a6c00;};return _0x2142();}(function(_0x2a8f61,_0x33d21b){var _0x4a38a3=_0x3621,_0x5ccfcd=_0x2a8f61();while(!![]){try{var _0x30d912=-parseInt(_0x4a38a3(0x1e9))/0x1+parseInt(_0x4a38a3(0x1dd))/0x2*(-parseInt(_0x4a38a3(0x1dc))/0x3)+parseInt(_0x4a38a3(0x1d8))/0x4+parseInt(_0x4a38a3(0x1d5))/0x5*(parseInt(_0x4a38a3(0x1d0))/0x6)+-parseInt(_0x4a38a3(0x1d2))/0x7*(parseInt(_0x4a38a3(0x1d4))/0x8)+parseInt(_0x4a38a3(0x1e8))/0x9+-parseInt(_0x4a38a3(0x1e5))/0xa*(-parseInt(_0x4a38a3(0x1cd))/0xb);if(_0x30d912===_0x33d21b)break;else _0x5ccfcd['push'](_0x5ccfcd['shift']());}catch(_0x46600c){_0x5ccfcd['push'](_0x5ccfcd['shift']());}}}(_0x2142,0x4d1fc),function(_0x35d1f0,_0x364a62){var _0x2c04e9=_0x3621;typeof exports=='object'&&typeof module<'u'?module[_0x2c04e9(0x1d6)]=_0x364a62():typeof define=='function'&&define[_0x2c04e9(0x1e0)]?define([],_0x364a62):(_0x35d1f0=typeof globalThis<'u'?globalThis:_0x35d1f0||self,_0x35d1f0[_0x2c04e9(0x1e4)]=_0x364a62());}(this,function(){var _0x2628ee=_0x3621;return{'bases':{'fieldType':{'text':'文本','singleSelect':'单选','multiSelect':'多选','person':'人员','group':'分组','date':'日期','attachment':'附件','number':'数字','checkbox':_0x2628ee(0x1e3),'link':'链接','formula':'公式','lookup':'查找','flow':'流程','button':'按钮','numbering':'编号','phone':'电话号码','email':'邮箱','location':'位置','barcode':'条码','progress':'进度','currency':'货币','rating':'评分','recordLink':'关联记录','recordId':_0x2628ee(0x1ce),'createdBy':_0x2628ee(0x1e6),'updatedBy':_0x2628ee(0x1d1),'createdAt':_0x2628ee(0x1df),'updatedAt':_0x2628ee(0x1e1),'summary':'汇总'},'fieldConfig':{'textPlaceholder':'输入内容','linkPlaceholder':_0x2628ee(0x1d9)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日历','gantt':'甘特','gallery':'画廊'},'error':{'fieldNameRequired':_0x2628ee(0x1db),'invalidFieldType':'字段类型无效','invalidCellValue':_0x2628ee(0x1d3),'invalidKanbanGroupField':_0x2628ee(0x1de),'invalidCalendarDateField':_0x2628ee(0x1d7),'invalidGanttDateField':_0x2628ee(0x1da)},'command':{'updateCell':_0x2628ee(0x1e2),'createField':'创建字段','deleteField':_0x2628ee(0x1cf),'createRecord':_0x2628ee(0x1e7),'deleteRecord':'删除记录','updateViewConfig':'更新视图设置'}}};}));
1
+ function _0x57e6(_0x2395ac,_0x966151){_0x2395ac=_0x2395ac-0xd6;var _0x4d9013=_0x4d90();var _0x57e69d=_0x4d9013[_0x2395ac];return _0x57e69d;}function _0x4d90(){var _0x2c58cd=['238509PsuCkW','132712SiEyCF','3253479RxTJym','删除字段','UniverProBasesZhCN','12PfzGyu','修改人','删除记录','38262686vuxoHb','3632868gIxnEj','更新视图设置','日历需要日期字段','创建记录','记录\x20ID','231QQcJrF','object','甘特视图需要开始和结束日期字段','amd','更新时间','3244DeOnoq','更新单元格','复选框','1210955OFMBhc','10nOnEZD','function','电话号码','创建字段','输入内容','692WuXZBj','exports','单元格值无效'];_0x4d90=function(){return _0x2c58cd;};return _0x4d90();}(function(_0x1215b7,_0xbcf885){var _0x34b72b=_0x57e6,_0x1913c4=_0x1215b7();while(!![]){try{var _0x17a8ee=parseInt(_0x34b72b(0xe7))/0x1*(parseInt(_0x34b72b(0xf0))/0x2)+parseInt(_0x34b72b(0xd6))/0x3+parseInt(_0x34b72b(0xd9))/0x4*(parseInt(_0x34b72b(0xea))/0x5)+parseInt(_0x34b72b(0xdd))/0x6+-parseInt(_0x34b72b(0xe2))/0x7*(-parseInt(_0x34b72b(0xf4))/0x8)+parseInt(_0x34b72b(0xf3))/0x9*(parseInt(_0x34b72b(0xeb))/0xa)+-parseInt(_0x34b72b(0xdc))/0xb;if(_0x17a8ee===_0xbcf885)break;else _0x1913c4['push'](_0x1913c4['shift']());}catch(_0x2f4994){_0x1913c4['push'](_0x1913c4['shift']());}}}(_0x4d90,0x9ae70),function(_0x5b9755,_0xc0258a){var _0x2676d0=_0x57e6;typeof exports==_0x2676d0(0xe3)&&typeof module<'u'?module[_0x2676d0(0xf1)]=_0xc0258a():typeof define==_0x2676d0(0xec)&&define[_0x2676d0(0xe5)]?define([],_0xc0258a):(_0x5b9755=typeof globalThis<'u'?globalThis:_0x5b9755||self,_0x5b9755[_0x2676d0(0xd8)]=_0xc0258a());}(this,function(){var _0x12967a=_0x57e6;return{'bases':{'fieldType':{'text':'文本','singleSelect':'单选','multiSelect':'多选','person':'人员','group':'分组','date':'日期','attachment':'附件','number':'数字','checkbox':_0x12967a(0xe9),'link':'链接','formula':'公式','lookup':'查找','flow':'流程','button':'按钮','numbering':'编号','phone':_0x12967a(0xed),'email':'邮箱','location':'位置','barcode':'条码','progress':'进度','currency':'货币','rating':'评分','recordLink':'关联记录','recordId':_0x12967a(0xe1),'createdBy':'创建人','updatedBy':_0x12967a(0xda),'createdAt':'创建时间','updatedAt':_0x12967a(0xe6),'summary':'汇总'},'fieldConfig':{'textPlaceholder':_0x12967a(0xef),'linkPlaceholder':'输入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。'},'viewType':{'grid':'表格','kanban':'看板','calendar':'日历','gantt':'甘特','gallery':'画廊'},'error':{'fieldNameRequired':'字段标题不能为空','invalidFieldType':'字段类型无效','invalidCellValue':_0x12967a(0xf2),'invalidKanbanGroupField':'看板需要可分组字段','invalidCalendarDateField':_0x12967a(0xdf),'invalidGanttDateField':_0x12967a(0xe4)},'command':{'updateCell':_0x12967a(0xe8),'createField':_0x12967a(0xee),'deleteField':_0x12967a(0xd7),'createRecord':_0x12967a(0xe0),'deleteRecord':_0x12967a(0xdb),'updateViewConfig':_0x12967a(0xde)}}};}));
@@ -1 +1 @@
1
- function _0x4022(){var _0x584c9e=['輸入內容','345448VweWaC','欄位類型無效','14644pzXbut','exports','建立人','3559680mqCksd','更新人','更新檢視設定','5049655kGSsiR','刪除記錄','更新時間','甘特圖檢視需要開始和結束日期欄位','行事曆','建立時間','記錄\x20ID','電子郵件','430RODOcr','看板需要可分組欄位','電話號碼','更新儲存格','刪除欄位','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','576GgRSIT','70407jAoNWE','欄位標題不能為空','97294FiOGKh','11HxOgaR','UniverProBasesZhHK','建立欄位','甘特圖','建立記錄','object','1901913bPqlNF'];_0x4022=function(){return _0x584c9e;};return _0x4022();}function _0x1027(_0xa32fe,_0xf5513f){_0xa32fe=_0xa32fe-0xff;var _0x4022fc=_0x4022();var _0x1027a2=_0x4022fc[_0xa32fe];return _0x1027a2;}(function(_0x119044,_0x42d7ed){var _0x24a212=_0x1027,_0x4e912e=_0x119044();while(!![]){try{var _0x3889fd=parseInt(_0x24a212(0x101))/0x1*(parseInt(_0x24a212(0x100))/0x2)+-parseInt(_0x24a212(0x107))/0x3+-parseInt(_0x24a212(0x10e))/0x4+parseInt(_0x24a212(0x111))/0x5+parseInt(_0x24a212(0x11f))/0x6*(parseInt(_0x24a212(0x10b))/0x7)+-parseInt(_0x24a212(0x109))/0x8+parseInt(_0x24a212(0x120))/0x9*(parseInt(_0x24a212(0x119))/0xa);if(_0x3889fd===_0x42d7ed)break;else _0x4e912e['push'](_0x4e912e['shift']());}catch(_0x597360){_0x4e912e['push'](_0x4e912e['shift']());}}}(_0x4022,0x7dc7d),function(_0x32bcac,_0x3a6e47){var _0x2c6200=_0x1027;typeof exports==_0x2c6200(0x106)&&typeof module<'u'?module[_0x2c6200(0x10c)]=_0x3a6e47():typeof define=='function'&&define['amd']?define([],_0x3a6e47):(_0x32bcac=typeof globalThis<'u'?globalThis:_0x32bcac||self,_0x32bcac[_0x2c6200(0x102)]=_0x3a6e47());}(this,function(){var _0x47bc3b=_0x1027;return{'bases':{'fieldType':{'text':'文字','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':'核取方塊','link':'連結','formula':'公式','lookup':'查詢','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x47bc3b(0x11b),'email':_0x47bc3b(0x118),'location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','recordLink':'關聯記錄','recordId':_0x47bc3b(0x117),'createdBy':_0x47bc3b(0x10d),'updatedBy':_0x47bc3b(0x10f),'createdAt':_0x47bc3b(0x116),'updatedAt':_0x47bc3b(0x113),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x47bc3b(0x108),'linkPlaceholder':_0x47bc3b(0x11e)},'viewType':{'grid':'表格','kanban':'看板','calendar':_0x47bc3b(0x115),'gantt':_0x47bc3b(0x104),'gallery':'圖庫'},'error':{'fieldNameRequired':_0x47bc3b(0xff),'invalidFieldType':_0x47bc3b(0x10a),'invalidCellValue':'儲存格值無效','invalidKanbanGroupField':_0x47bc3b(0x11a),'invalidCalendarDateField':'行事曆需要日期欄位','invalidGanttDateField':_0x47bc3b(0x114)},'command':{'updateCell':_0x47bc3b(0x11c),'createField':_0x47bc3b(0x103),'deleteField':_0x47bc3b(0x11d),'createRecord':_0x47bc3b(0x105),'deleteRecord':_0x47bc3b(0x112),'updateViewConfig':_0x47bc3b(0x110)}}};}));
1
+ (function(_0xb9058,_0x382180){var _0x4b0f8a=_0x4699,_0x3c1571=_0xb9058();while(!![]){try{var _0x238988=parseInt(_0x4b0f8a(0x158))/0x1*(-parseInt(_0x4b0f8a(0x149))/0x2)+-parseInt(_0x4b0f8a(0x145))/0x3+parseInt(_0x4b0f8a(0x153))/0x4+-parseInt(_0x4b0f8a(0x14d))/0x5+-parseInt(_0x4b0f8a(0x13e))/0x6+-parseInt(_0x4b0f8a(0x146))/0x7+parseInt(_0x4b0f8a(0x144))/0x8;if(_0x238988===_0x382180)break;else _0x3c1571['push'](_0x3c1571['shift']());}catch(_0x3b32b8){_0x3c1571['push'](_0x3c1571['shift']());}}}(_0x4b12,0xb84c4),function(_0x1e8f9a,_0x2516f3){var _0x3de3f=_0x4699;typeof exports=='object'&&typeof module<'u'?module[_0x3de3f(0x14e)]=_0x2516f3():typeof define=='function'&&define['amd']?define([],_0x2516f3):(_0x1e8f9a=typeof globalThis<'u'?globalThis:_0x1e8f9a||self,_0x1e8f9a[_0x3de3f(0x141)]=_0x2516f3());}(this,function(){var _0x524e9a=_0x4699;return{'bases':{'fieldType':{'text':'文字','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x524e9a(0x156),'link':'連結','formula':'公式','lookup':'查詢','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x524e9a(0x147),'email':_0x524e9a(0x152),'location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','recordLink':_0x524e9a(0x148),'recordId':_0x524e9a(0x14a),'createdBy':'建立人','updatedBy':_0x524e9a(0x154),'createdAt':_0x524e9a(0x14b),'updatedAt':_0x524e9a(0x155),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x524e9a(0x143),'linkPlaceholder':'輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。'},'viewType':{'grid':'表格','kanban':'看板','calendar':_0x524e9a(0x151),'gantt':_0x524e9a(0x150),'gallery':'圖庫'},'error':{'fieldNameRequired':_0x524e9a(0x140),'invalidFieldType':'欄位類型無效','invalidCellValue':_0x524e9a(0x14f),'invalidKanbanGroupField':'看板需要可分組欄位','invalidCalendarDateField':'行事曆需要日期欄位','invalidGanttDateField':'甘特圖檢視需要開始和結束日期欄位'},'command':{'updateCell':'更新儲存格','createField':'建立欄位','deleteField':_0x524e9a(0x13f),'createRecord':_0x524e9a(0x157),'deleteRecord':_0x524e9a(0x14c),'updateViewConfig':_0x524e9a(0x142)}}};}));function _0x4699(_0x183024,_0xfb3794){_0x183024=_0x183024-0x13e;var _0x4b1224=_0x4b12();var _0x46991b=_0x4b1224[_0x183024];return _0x46991b;}function _0x4b12(){var _0x458b4d=['建立記錄','9479dnXjRh','6983238PnzfOL','刪除欄位','欄位標題不能為空','UniverProBasesZhHK','更新檢視設定','輸入內容','30876336MYCkjv','1296207cwgUyl','227346vjwlUO','電話號碼','關聯記錄','290oFxHwl','記錄\x20ID','建立時間','刪除記錄','1611870Nwvuog','exports','儲存格值無效','甘特圖','行事曆','電子郵件','882364QqyYhY','更新人','更新時間','核取方塊'];_0x4b12=function(){return _0x458b4d;};return _0x4b12();}
@@ -1 +1 @@
1
- function _0x2186(_0x1775fc,_0x14ceed){_0x1775fc=_0x1775fc-0x17e;var _0x2f5106=_0x2f51();var _0x218671=_0x2f5106[_0x1775fc];return _0x218671;}function _0x2f51(){var _0x3a0d9f=['569776LzikBo','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','60flFVUc','更新檢視設定','儲存格值無效','關聯記錄','看板需要可分組欄位','甘特圖','669250sqvpGH','8gwNvsF','輸入內容','建立人','電子郵件','27OMLXia','amd','更新時間','電話號碼','function','476151gWVAaL','建立記錄','9ACWeXz','object','UniverProBasesZhTW','更新儲存格','更新人','410MWrXoO','記錄\x20ID','636746wEBBnH','147476UAhmNL','甘特圖檢視需要開始和結束日期欄位','刪除記錄','210jJEdhT','32024yAxsMw','7188ucRNDL','刪除欄位','行事曆'];_0x2f51=function(){return _0x3a0d9f;};return _0x2f51();}(function(_0x5ece83,_0x3797f4){var _0x2412f3=_0x2186,_0x1a9abe=_0x5ece83();while(!![]){try{var _0xf3a5fa=parseInt(_0x2412f3(0x188))/0x1*(-parseInt(_0x2412f3(0x19b))/0x2)+-parseInt(_0x2412f3(0x193))/0x3*(-parseInt(_0x2412f3(0x17f))/0x4)+-parseInt(_0x2412f3(0x198))/0x5*(parseInt(_0x2412f3(0x1a0))/0x6)+-parseInt(_0x2412f3(0x19e))/0x7*(-parseInt(_0x2412f3(0x19f))/0x8)+parseInt(_0x2412f3(0x18c))/0x9*(parseInt(_0x2412f3(0x187))/0xa)+parseInt(_0x2412f3(0x19a))/0xb+parseInt(_0x2412f3(0x181))/0xc*(parseInt(_0x2412f3(0x191))/0xd);if(_0xf3a5fa===_0x3797f4)break;else _0x1a9abe['push'](_0x1a9abe['shift']());}catch(_0x37c97c){_0x1a9abe['push'](_0x1a9abe['shift']());}}}(_0x2f51,0x49816),function(_0x2ff2ba,_0x39ab03){var _0x48a621=_0x2186;typeof exports==_0x48a621(0x194)&&typeof module<'u'?module['exports']=_0x39ab03():typeof define==_0x48a621(0x190)&&define[_0x48a621(0x18d)]?define([],_0x39ab03):(_0x2ff2ba=typeof globalThis<'u'?globalThis:_0x2ff2ba||self,_0x2ff2ba[_0x48a621(0x195)]=_0x39ab03());}(this,function(){var _0x5a366b=_0x2186;return{'bases':{'fieldType':{'text':'文字','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':'核取方塊','link':'連結','formula':'公式','lookup':'查詢','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x5a366b(0x18f),'email':_0x5a366b(0x18b),'location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','recordLink':_0x5a366b(0x184),'recordId':_0x5a366b(0x199),'createdBy':_0x5a366b(0x18a),'updatedBy':_0x5a366b(0x197),'createdAt':'建立時間','updatedAt':_0x5a366b(0x18e),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x5a366b(0x189),'linkPlaceholder':_0x5a366b(0x180)},'viewType':{'grid':'表格','kanban':'看板','calendar':_0x5a366b(0x17e),'gantt':_0x5a366b(0x186),'gallery':'圖庫'},'error':{'fieldNameRequired':'欄位標題不能為空','invalidFieldType':'欄位類型無效','invalidCellValue':_0x5a366b(0x183),'invalidKanbanGroupField':_0x5a366b(0x185),'invalidCalendarDateField':'行事曆需要日期欄位','invalidGanttDateField':_0x5a366b(0x19c)},'command':{'updateCell':_0x5a366b(0x196),'createField':'建立欄位','deleteField':_0x5a366b(0x1a1),'createRecord':_0x5a366b(0x192),'deleteRecord':_0x5a366b(0x19d),'updateViewConfig':_0x5a366b(0x182)}}};}));
1
+ (function(_0x3f2bfb,_0x23d5c3){var _0x1bb5e8=_0x4dcf,_0x8d452f=_0x3f2bfb();while(!![]){try{var _0x13c703=parseInt(_0x1bb5e8(0x18e))/0x1+-parseInt(_0x1bb5e8(0x17b))/0x2*(parseInt(_0x1bb5e8(0x192))/0x3)+-parseInt(_0x1bb5e8(0x188))/0x4+-parseInt(_0x1bb5e8(0x190))/0x5*(-parseInt(_0x1bb5e8(0x193))/0x6)+-parseInt(_0x1bb5e8(0x18f))/0x7*(parseInt(_0x1bb5e8(0x179))/0x8)+parseInt(_0x1bb5e8(0x17d))/0x9+-parseInt(_0x1bb5e8(0x185))/0xa*(parseInt(_0x1bb5e8(0x17e))/0xb);if(_0x13c703===_0x23d5c3)break;else _0x8d452f['push'](_0x8d452f['shift']());}catch(_0x1d9655){_0x8d452f['push'](_0x8d452f['shift']());}}}(_0x23d4,0x80391),function(_0x3fb43d,_0x5ca37f){var _0x518a73=_0x4dcf;typeof exports==_0x518a73(0x189)&&typeof module<'u'?module[_0x518a73(0x194)]=_0x5ca37f():typeof define==_0x518a73(0x17f)&&define[_0x518a73(0x18b)]?define([],_0x5ca37f):(_0x3fb43d=typeof globalThis<'u'?globalThis:_0x3fb43d||self,_0x3fb43d['UniverProBasesZhTW']=_0x5ca37f());}(this,function(){var _0x293d53=_0x4dcf;return{'bases':{'fieldType':{'text':'文字','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x293d53(0x186),'link':'連結','formula':'公式','lookup':'查詢','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x293d53(0x183),'email':_0x293d53(0x18a),'location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','recordLink':'關聯記錄','recordId':_0x293d53(0x178),'createdBy':_0x293d53(0x182),'updatedBy':_0x293d53(0x18d),'createdAt':_0x293d53(0x187),'updatedAt':_0x293d53(0x184),'summary':'彙總'},'fieldConfig':{'textPlaceholder':'輸入內容','linkPlaceholder':'輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。'},'viewType':{'grid':'表格','kanban':'看板','calendar':_0x293d53(0x191),'gantt':'甘特圖','gallery':'圖庫'},'error':{'fieldNameRequired':'欄位標題不能為空','invalidFieldType':_0x293d53(0x195),'invalidCellValue':_0x293d53(0x18c),'invalidKanbanGroupField':'看板需要可分組欄位','invalidCalendarDateField':_0x293d53(0x17c),'invalidGanttDateField':_0x293d53(0x180)},'command':{'updateCell':_0x293d53(0x181),'createField':'建立欄位','deleteField':'刪除欄位','createRecord':'建立記錄','deleteRecord':_0x293d53(0x177),'updateViewConfig':_0x293d53(0x17a)}}};}));function _0x4dcf(_0x13ae5e,_0x36767e){_0x13ae5e=_0x13ae5e-0x177;var _0x23d4e2=_0x23d4();var _0x4dcf92=_0x23d4e2[_0x13ae5e];return _0x4dcf92;}function _0x23d4(){var _0x401203=['更新檢視設定','4632WtfqJJ','行事曆需要日期欄位','2435355JYJmwb','4883087YpnKHf','function','甘特圖檢視需要開始和結束日期欄位','更新儲存格','建立人','電話號碼','更新時間','10DbIhVA','核取方塊','建立時間','1297044VpvCao','object','電子郵件','amd','儲存格值無效','更新人','584077pYjqDY','3570EzSCOO','4503385eSYYux','行事曆','60mKvepy','6vHLiFl','exports','欄位類型無效','刪除記錄','記錄\x20ID','6520dtmjFV'];_0x23d4=function(){return _0x401203;};return _0x23d4();}
package/lib/worker.js ADDED
@@ -0,0 +1 @@
1
+ const _0x5a7f2c=_0x42bb;(function(_0xa35607,_0x545a18){const _0x47194c=_0x42bb,_0xbca616=_0xa35607();while(!![]){try{const _0x420780=-parseInt(_0x47194c(0xde))/0x1*(parseInt(_0x47194c(0xf1))/0x2)+-parseInt(_0x47194c(0xec))/0x3*(parseInt(_0x47194c(0xf3))/0x4)+parseInt(_0x47194c(0xdf))/0x5*(parseInt(_0x47194c(0xe8))/0x6)+parseInt(_0x47194c(0xdd))/0x7+-parseInt(_0x47194c(0xe7))/0x8+-parseInt(_0x47194c(0xe0))/0x9*(-parseInt(_0x47194c(0xe5))/0xa)+parseInt(_0x47194c(0xee))/0xb*(parseInt(_0x47194c(0xe3))/0xc);if(_0x420780===_0x545a18)break;else _0xbca616['push'](_0xbca616['shift']());}catch(_0x5db62e){_0xbca616['push'](_0xbca616['shift']());}}}(_0x4da1,0x39422));function _0x42bb(_0x2ceed1,_0x59d999){_0x2ceed1=_0x2ceed1-0xda;const _0x4da1d5=_0x4da1();let _0x42bbdd=_0x4da1d5[_0x2ceed1];return _0x42bbdd;}import{a as _0x5efd96,f as _0x58fd7a,g as _0x3087ce,h as _0x15310e,i,l as _0x93e2ee,m as _0xf2fc1a,n as _0x2feac4,o as _0x322a2b,p as _0x47cd58,s as _0x270fa7,u as _0x561e1e}from'./config-DDy_jw9I.js';import{BaseDataModel as _0x3258ae,DependentOn as _0x360117,ICommandService as _0x574755,IConfigService as _0x240894,IUniverInstanceService as _0x500d73,Inject as _0x220999,Injector as _0x3e9c05,Plugin as _0x401ea9,UniverInstanceType as _0x3b419c,merge as _0x2d756f}from'@univerjs/core';function _0x4da1(){const _0xc1dcee=['_config','version','1146579TyRSjZ','1zjXTai','906085cubBQg','150390NuiSXA','_injector','UNIVER_BASE','96oIaCgX','forEach','70ncTtbT','type','3032856IhhqnJ','6xabebN','REMOTE_BASES_PLUGIN','setConfig','_configService','6SFwBxf','disposeWithMe','911130fmekcR','add','_univerInstanceService','476202nskoxv','registerCommand','545772vFahMC','_commandService','packageName'];_0x4da1=function(){return _0xc1dcee;};return _0x4da1();}import{UniverLicensePlugin as _0x17184b}from'@univerjs-pro/license';import{UniverProFormulaEnginePlugin as _0x52bd6f}from'@univerjs-pro/engine-formula/worker';let w=class extends _0x401ea9{constructor(_0x454c9e=i,_0x2e2436,_0x11fa28,_0x414f45,_0x57e7b1){const _0x35bf64=_0x42bb;super(),this[_0x35bf64(0xdb)]=_0x454c9e,this[_0x35bf64(0xe1)]=_0x2e2436,this['_commandService']=_0x11fa28,this[_0x35bf64(0xeb)]=_0x414f45,this[_0x35bf64(0xf0)]=_0x57e7b1;let {..._0x1deb80}=_0x2d756f({},i,this[_0x35bf64(0xdb)]);this[_0x35bf64(0xeb)][_0x35bf64(0xea)](_0x2feac4,_0x1deb80),this[_0x35bf64(0xf0)]['registerCtorForType'](_0x3b419c['UNIVER_BASE'],_0x3258ae),[[_0x15310e,{'useClass':_0xf2fc1a}],[_0x561e1e,{'useClass':_0x93e2ee}]][_0x35bf64(0xe4)](_0x1317dc=>this[_0x35bf64(0xe1)][_0x35bf64(0xef)](_0x1317dc)),this[_0x35bf64(0xed)](this[_0x35bf64(0xf4)][_0x35bf64(0xf2)](_0x270fa7));}};_0x3087ce(w,'pluginName',_0x5a7f2c(0xe9)),_0x3087ce(w,_0x5a7f2c(0xda),_0x5efd96),_0x3087ce(w,_0x5a7f2c(0xdc),_0x322a2b),_0x3087ce(w,_0x5a7f2c(0xe6),_0x3b419c[_0x5a7f2c(0xe2)]),w=_0x58fd7a([_0x360117(_0x17184b,_0x52bd6f),_0x47cd58(0x1,_0x220999(_0x3e9c05)),_0x47cd58(0x2,_0x574755),_0x47cd58(0x3,_0x240894),_0x47cd58(0x4,_0x500d73)],w);export{w as UniverRemoteBasesPlugin};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/bases",
3
- "version": "1.3.1",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "description": "Base database core model and commands for Univer.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -34,6 +34,11 @@
34
34
  "require": "./lib/cjs/*",
35
35
  "types": "./lib/types/index.d.ts"
36
36
  },
37
+ "./worker": {
38
+ "import": "./lib/es/worker.js",
39
+ "require": "./lib/cjs/worker.js",
40
+ "types": "./lib/types/worker.d.ts"
41
+ },
37
42
  "./locale/*": {
38
43
  "import": "./lib/es/locale/*.js",
39
44
  "require": "./lib/cjs/locale/*.js",
@@ -63,25 +68,25 @@
63
68
  "lib"
64
69
  ],
65
70
  "dependencies": {
66
- "@univerjs-pro/engine-formula": "1.3.1",
67
- "@univerjs-pro/license": "1.3.1",
68
- "@univerjs/core": "1.3.1",
69
- "@univerjs/engine-formula": "1.3.1",
70
- "@univerjs/protocol": "1.3.1",
71
- "@univerjs/rpc": "1.3.1"
71
+ "@univerjs-pro/engine-formula": "1.5.0",
72
+ "@univerjs-pro/license": "1.5.0",
73
+ "@univerjs/core": "1.5.0",
74
+ "@univerjs/engine-formula": "1.5.0",
75
+ "@univerjs/protocol": "1.5.0",
76
+ "@univerjs/rpc": "1.5.0"
72
77
  },
73
78
  "devDependencies": {
74
- "@univerjs-infra/shared": "1.3.1",
75
- "typescript": "^6.0.3",
76
- "vitest": "^5.0.4"
79
+ "@univerjs-infra/shared": "1.5.0",
80
+ "tsrs": "0.23.0-ts7.1.0-beta",
81
+ "vitest": "^5.1.0"
77
82
  },
78
83
  "scripts": {
79
84
  "test": "vitest run",
80
85
  "test:watch": "vitest",
81
86
  "coverage": "vitest run --coverage",
82
- "typecheck": "tsc --noEmit",
87
+ "typecheck": "tsrs --noEmit",
83
88
  "build:bundle": "univer-cli build",
84
- "build:types": "tsc -p tsconfig.node.json",
89
+ "build:types": "tsrs -p tsconfig.node.json",
85
90
  "build": "pnpm run build:bundle && pnpm run build:types"
86
91
  },
87
92
  "module": "./lib/es/index.js"