@univerjs-pro/bases 1.0.0-alpha.2 → 1.0.0-alpha.4

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 (128) hide show
  1. package/README.md +8 -5
  2. package/lib/cjs/facade.js +1 -1
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/ar-SA.js +1 -1
  5. package/lib/cjs/locale/ca-ES.js +1 -1
  6. package/lib/cjs/locale/de-DE.js +1 -1
  7. package/lib/cjs/locale/en-US.js +1 -1
  8. package/lib/cjs/locale/es-ES.js +1 -1
  9. package/lib/cjs/locale/fa-IR.js +1 -1
  10. package/lib/cjs/locale/fr-FR.js +1 -1
  11. package/lib/cjs/locale/id-ID.js +1 -1
  12. package/lib/cjs/locale/it-IT.js +1 -1
  13. package/lib/cjs/locale/ja-JP.js +1 -1
  14. package/lib/cjs/locale/ko-KR.js +1 -1
  15. package/lib/cjs/locale/pl-PL.js +1 -1
  16. package/lib/cjs/locale/pt-BR.js +1 -1
  17. package/lib/cjs/locale/ru-RU.js +1 -1
  18. package/lib/cjs/locale/sk-SK.js +1 -1
  19. package/lib/cjs/locale/vi-VN.js +1 -1
  20. package/lib/cjs/locale/zh-CN.js +1 -1
  21. package/lib/cjs/locale/zh-HK.js +1 -1
  22. package/lib/cjs/locale/zh-TW.js +1 -1
  23. package/lib/es/facade.js +1 -1
  24. package/lib/es/index.js +1 -1
  25. package/lib/es/locale/ar-SA.js +1 -1
  26. package/lib/es/locale/ca-ES.js +1 -1
  27. package/lib/es/locale/de-DE.js +1 -1
  28. package/lib/es/locale/en-US.js +1 -1
  29. package/lib/es/locale/es-ES.js +1 -1
  30. package/lib/es/locale/fa-IR.js +1 -1
  31. package/lib/es/locale/fr-FR.js +1 -1
  32. package/lib/es/locale/id-ID.js +1 -1
  33. package/lib/es/locale/it-IT.js +1 -1
  34. package/lib/es/locale/ja-JP.js +1 -1
  35. package/lib/es/locale/ko-KR.js +1 -1
  36. package/lib/es/locale/pl-PL.js +1 -1
  37. package/lib/es/locale/pt-BR.js +1 -1
  38. package/lib/es/locale/ru-RU.js +1 -1
  39. package/lib/es/locale/sk-SK.js +1 -1
  40. package/lib/es/locale/vi-VN.js +1 -1
  41. package/lib/es/locale/zh-CN.js +1 -1
  42. package/lib/es/locale/zh-HK.js +1 -1
  43. package/lib/es/locale/zh-TW.js +1 -1
  44. package/lib/facade.js +1 -1
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/commands/commands/set-base-name.command.d.ts +6 -0
  66. package/lib/types/commands/commands/set-base-view-filter.command.d.ts +2 -2
  67. package/lib/types/commands/commands/set-base-view-group.command.d.ts +2 -2
  68. package/lib/types/commands/commands/set-base-view-sort.command.d.ts +2 -2
  69. package/lib/types/commands/utils/base-validation.d.ts +6 -0
  70. package/lib/types/config/config.d.ts +1 -0
  71. package/lib/types/controllers/base-active-dirty.controller.d.ts +5 -6
  72. package/lib/types/controllers/base-formula-calculation.controller.d.ts +8 -14
  73. package/lib/types/embed-host-anchor.d.ts +46 -0
  74. package/lib/types/facade/f-base.d.ts +126 -577
  75. package/lib/types/facade/f-enum.d.ts +117 -89
  76. package/lib/types/facade/f-event.d.ts +240 -132
  77. package/lib/types/facade/f-field.d.ts +137 -313
  78. package/lib/types/facade/f-range.d.ts +86 -326
  79. package/lib/types/facade/f-record.d.ts +93 -216
  80. package/lib/types/facade/f-table.d.ts +473 -1317
  81. package/lib/types/facade/f-types.d.ts +1 -0
  82. package/lib/types/facade/f-univer.d.ts +27 -154
  83. package/lib/types/facade/f-view.d.ts +207 -484
  84. package/lib/types/facade/field-key.d.ts +6 -6
  85. package/lib/types/facade/index.d.ts +10 -20
  86. package/lib/types/fields/field-core-plugin.d.ts +9 -8
  87. package/lib/types/index.d.ts +12 -8
  88. package/lib/types/models/base-cell-data.d.ts +6 -6
  89. package/lib/types/models/default-table.d.ts +13 -0
  90. package/lib/types/ot/json1-adapter.d.ts +3 -3
  91. package/lib/types/ot/json1-invalidation.d.ts +2 -2
  92. package/lib/types/ot/json1-op-applier.d.ts +2 -2
  93. package/lib/types/ot/json1-op-factory.d.ts +11 -8
  94. package/lib/types/plugin.d.ts +0 -1
  95. package/lib/types/search/base-search.d.ts +4 -3
  96. package/lib/types/services/base-active-dirty.service.d.ts +2 -2
  97. package/lib/types/services/base-command.service.d.ts +16 -16
  98. package/lib/types/services/base-compression.service.d.ts +3 -3
  99. package/lib/types/services/base-field-registry.service.d.ts +5 -5
  100. package/lib/types/services/base-formula.service.d.ts +11 -23
  101. package/lib/types/services/base-view-registry.service.d.ts +3 -3
  102. package/lib/types/views/view-core-plugin.d.ts +4 -3
  103. package/lib/umd/facade.js +1 -1
  104. package/lib/umd/index.js +1 -1
  105. package/lib/umd/locale/ar-SA.js +1 -1
  106. package/lib/umd/locale/ca-ES.js +1 -1
  107. package/lib/umd/locale/de-DE.js +1 -1
  108. package/lib/umd/locale/en-US.js +1 -1
  109. package/lib/umd/locale/es-ES.js +1 -1
  110. package/lib/umd/locale/fa-IR.js +1 -1
  111. package/lib/umd/locale/fr-FR.js +1 -1
  112. package/lib/umd/locale/id-ID.js +1 -1
  113. package/lib/umd/locale/it-IT.js +1 -1
  114. package/lib/umd/locale/ja-JP.js +1 -1
  115. package/lib/umd/locale/ko-KR.js +1 -1
  116. package/lib/umd/locale/pl-PL.js +1 -1
  117. package/lib/umd/locale/pt-BR.js +1 -1
  118. package/lib/umd/locale/ru-RU.js +1 -1
  119. package/lib/umd/locale/sk-SK.js +1 -1
  120. package/lib/umd/locale/vi-VN.js +1 -1
  121. package/lib/umd/locale/zh-CN.js +1 -1
  122. package/lib/umd/locale/zh-HK.js +1 -1
  123. package/lib/umd/locale/zh-TW.js +1 -1
  124. package/package.json +7 -8
  125. package/lib/types/controllers/base-remote-formula.controller.d.ts +0 -13
  126. package/lib/types/facade/f-error.d.ts +0 -30
  127. package/lib/types/facade/f-permission.d.ts +0 -749
  128. package/lib/types/facade/transaction.d.ts +0 -19
@@ -1 +1 @@
1
- (function(_0xb09648,_0x1c66fb){var _0x5ea9b4=_0x1754,_0x59adb1=_0xb09648();while(!![]){try{var _0x340a09=parseInt(_0x5ea9b4(0x203))/0x1*(parseInt(_0x5ea9b4(0x20f))/0x2)+parseInt(_0x5ea9b4(0x200))/0x3*(parseInt(_0x5ea9b4(0x1f7))/0x4)+parseInt(_0x5ea9b4(0x1fd))/0x5*(-parseInt(_0x5ea9b4(0x1ef))/0x6)+-parseInt(_0x5ea9b4(0x208))/0x7+parseInt(_0x5ea9b4(0x1ed))/0x8+parseInt(_0x5ea9b4(0x20d))/0x9*(parseInt(_0x5ea9b4(0x207))/0xa)+-parseInt(_0x5ea9b4(0x209))/0xb*(parseInt(_0x5ea9b4(0x1fb))/0xc);if(_0x340a09===_0x1c66fb)break;else _0x59adb1['push'](_0x59adb1['shift']());}catch(_0x396dc1){_0x59adb1['push'](_0x59adb1['shift']());}}}(_0xc9be,0xab98d),function(_0x1c5299,_0x4fcadc){var _0x1ef607=_0x1754;typeof exports==_0x1ef607(0x206)&&typeof module<'u'?module[_0x1ef607(0x1ee)]=_0x4fcadc():typeof define==_0x1ef607(0x1fc)&&define[_0x1ef607(0x202)]?define([],_0x4fcadc):(_0x1c5299=typeof globalThis<'u'?globalThis:_0x1c5299||self,_0x1c5299['UniverProBasesZhHK']=_0x4fcadc());}(this,function(){var _0x2345d5=_0x1754;return{'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':'複選框','link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x2345d5(0x1f9),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':_0x2345d5(0x204),'recordId':_0x2345d5(0x201),'createdBy':_0x2345d5(0x1f6),'updatedBy':_0x2345d5(0x20b),'createdAt':_0x2345d5(0x1fe),'updatedAt':_0x2345d5(0x1f2),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x2345d5(0x20e),'linkPlaceholder':_0x2345d5(0x20c)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':_0x2345d5(0x20a),'invalidFieldType':_0x2345d5(0x1f0),'invalidCellValue':_0x2345d5(0x1f4),'invalidKanbanGroupField':_0x2345d5(0x205),'invalidCalendarDateField':_0x2345d5(0x210),'invalidGanttDateField':_0x2345d5(0x1f1)},'command':{'updateCell':_0x2345d5(0x1fa),'createField':_0x2345d5(0x1f3),'deleteField':_0x2345d5(0x1f8),'createRecord':_0x2345d5(0x211),'deleteRecord':_0x2345d5(0x1f5),'updateViewConfig':_0x2345d5(0x1ff)}}};}));function _0x1754(_0x5979a5,_0x1c4e9b){_0x5979a5=_0x5979a5-0x1ed;var _0xc9be29=_0xc9be();var _0x17549f=_0xc9be29[_0x5979a5];return _0x17549f;}function _0xc9be(){var _0xa15e84=['單元格值無效','刪除記錄','創建人','884384uwpVEK','刪除字段','電話號碼','更新單元格','276UonkfX','function','150205DuJUvj','創建時間','更新視圖設置','12uUQPUi','記錄\x20ID','amd','4butSkd','雙向關聯','看板需要可分組字段','object','110JKWULI','6669614ErzPvY','91498QLhSWZ','字段標題不能為空','修改人','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','137043nGWNaj','輸入內容','639092lYwfCZ','日曆需要日期字段','創建記錄','7190384XkrSYO','exports','276KcDJAH','字段類型無效','甘特視圖需要開始和結束日期字段','更新時間','創建字段'];_0xc9be=function(){return _0xa15e84;};return _0xc9be();}
1
+ (function(_0x1d471f,_0xd28a0c){var _0x3d1adc=_0x2092,_0xebe271=_0x1d471f();while(!![]){try{var _0x2013d6=parseInt(_0x3d1adc(0x123))/0x1+parseInt(_0x3d1adc(0x10d))/0x2*(-parseInt(_0x3d1adc(0x120))/0x3)+parseInt(_0x3d1adc(0x11d))/0x4*(-parseInt(_0x3d1adc(0x122))/0x5)+-parseInt(_0x3d1adc(0x116))/0x6+parseInt(_0x3d1adc(0x118))/0x7*(-parseInt(_0x3d1adc(0x119))/0x8)+parseInt(_0x3d1adc(0x115))/0x9+parseInt(_0x3d1adc(0x10b))/0xa*(parseInt(_0x3d1adc(0x109))/0xb);if(_0x2013d6===_0xd28a0c)break;else _0xebe271['push'](_0xebe271['shift']());}catch(_0x1978f9){_0xebe271['push'](_0xebe271['shift']());}}}(_0x726e,0x5e9d4),function(_0x3cd7dd,_0x1b58ba){var _0x51f9ab=_0x2092;typeof exports=='object'&&typeof module<'u'?module[_0x51f9ab(0x114)]=_0x1b58ba():typeof define==_0x51f9ab(0x113)&&define[_0x51f9ab(0x121)]?define([],_0x1b58ba):(_0x3cd7dd=typeof globalThis<'u'?globalThis:_0x3cd7dd||self,_0x3cd7dd['UniverProBasesZhHK']=_0x1b58ba());}(this,function(){var _0x4c2a97=_0x2092;return{'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x4c2a97(0x117),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x4c2a97(0x10f),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':'雙向關聯','recordId':_0x4c2a97(0x125),'createdBy':_0x4c2a97(0x11a),'updatedBy':_0x4c2a97(0x111),'createdAt':_0x4c2a97(0x11f),'updatedAt':_0x4c2a97(0x11e),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x4c2a97(0x110),'linkPlaceholder':_0x4c2a97(0x11b)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':'字段標題不能為空','invalidFieldType':'字段類型無效','invalidCellValue':_0x4c2a97(0x11c),'invalidKanbanGroupField':'看板需要可分組字段','invalidCalendarDateField':'日曆需要日期字段','invalidGanttDateField':_0x4c2a97(0x124)},'command':{'updateCell':_0x4c2a97(0x112),'createField':_0x4c2a97(0x10e),'deleteField':'刪除字段','createRecord':_0x4c2a97(0x10a),'deleteRecord':'刪除記錄','updateViewConfig':_0x4c2a97(0x10c)}}};}));function _0x2092(_0x4a613b,_0x4eadf2){_0x4a613b=_0x4a613b-0x109;var _0x726e72=_0x726e();var _0x209226=_0x726e72[_0x4a613b];return _0x209226;}function _0x726e(){var _0x1e4de3=['14875180ppYOlN','更新視圖設置','342OKTfSV','創建字段','電話號碼','輸入內容','修改人','更新單元格','function','exports','5216598VyUcsv','4340406CRngil','複選框','171283UtuwNJ','80DDqJNX','創建人','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','單元格值無效','892dLFxaN','更新時間','創建時間','11175SwvouP','amd','4055QlFnYi','106319CTOHHr','甘特視圖需要開始和結束日期字段','記錄\x20ID','11ZTXHbb','創建記錄'];_0x726e=function(){return _0x1e4de3;};return _0x726e();}
@@ -1 +1 @@
1
- function _0x2078(){var _0x1e6c82=['創建記錄','創建字段','function','創建人','2872405IMQTJS','120906qWpyrK','更新視圖設置','6968744umgjLt','字段類型無效','看板需要可分組字段','更新單元格','948817cLRiVQ','單元格值無效','amd','159QQNwLg','刪除記錄','9345636UPvhME','複選框','34886NahXdJ','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','創建時間','雙向關聯','輸入內容','修改人','exports','字段標題不能為空','7NjLJrZ','object','記錄\x20ID','780MRBqeY','電話號碼','更新時間','UniverProBasesZhTW','6701384FaaQrx'];_0x2078=function(){return _0x1e6c82;};return _0x2078();}function _0x3d95(_0x3c676b,_0xd4ef3d){_0x3c676b=_0x3c676b-0x16f;var _0x207851=_0x2078();var _0x3d954b=_0x207851[_0x3c676b];return _0x3d954b;}(function(_0x168f6d,_0x11e821){var _0x5eb556=_0x3d95,_0x4ac676=_0x168f6d();while(!![]){try{var _0x16a45b=-parseInt(_0x5eb556(0x177))/0x1+-parseInt(_0x5eb556(0x17e))/0x2*(-parseInt(_0x5eb556(0x17a))/0x3)+parseInt(_0x5eb556(0x173))/0x4+parseInt(_0x5eb556(0x170))/0x5+-parseInt(_0x5eb556(0x17c))/0x6+parseInt(_0x5eb556(0x186))/0x7*(-parseInt(_0x5eb556(0x18d))/0x8)+parseInt(_0x5eb556(0x171))/0x9*(parseInt(_0x5eb556(0x189))/0xa);if(_0x16a45b===_0x11e821)break;else _0x4ac676['push'](_0x4ac676['shift']());}catch(_0x42a673){_0x4ac676['push'](_0x4ac676['shift']());}}}(_0x2078,0xe6b06),function(_0x3dbd28,_0x48bf6e){var _0x3b0449=_0x3d95;typeof exports==_0x3b0449(0x187)&&typeof module<'u'?module[_0x3b0449(0x184)]=_0x48bf6e():typeof define==_0x3b0449(0x190)&&define[_0x3b0449(0x179)]?define([],_0x48bf6e):(_0x3dbd28=typeof globalThis<'u'?globalThis:_0x3dbd28||self,_0x3dbd28[_0x3b0449(0x18c)]=_0x48bf6e());}(this,function(){var _0x363d9c=_0x3d95;return{'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x363d9c(0x17d),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x363d9c(0x18a),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':_0x363d9c(0x181),'recordId':_0x363d9c(0x188),'createdBy':_0x363d9c(0x16f),'updatedBy':_0x363d9c(0x183),'createdAt':_0x363d9c(0x180),'updatedAt':_0x363d9c(0x18b),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x363d9c(0x182),'linkPlaceholder':_0x363d9c(0x17f)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':_0x363d9c(0x185),'invalidFieldType':_0x363d9c(0x174),'invalidCellValue':_0x363d9c(0x178),'invalidKanbanGroupField':_0x363d9c(0x175),'invalidCalendarDateField':'日曆需要日期字段','invalidGanttDateField':'甘特視圖需要開始和結束日期字段'},'command':{'updateCell':_0x363d9c(0x176),'createField':_0x363d9c(0x18f),'deleteField':'刪除字段','createRecord':_0x363d9c(0x18e),'deleteRecord':_0x363d9c(0x17b),'updateViewConfig':_0x363d9c(0x172)}}};}));
1
+ function _0x2b6b(){var _0x53a604=['電話號碼','刪除記錄','記錄\x20ID','甘特視圖需要開始和結束日期字段','function','77520jFHPLC','18MMunPE','810688tSUWiR','創建記錄','創建字段','amd','exports','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','1HEaGaZ','184602pAVhfe','object','10qYFzEz','更新時間','322854AobmQA','刪除字段','複選框','1855510nbkvhn','更新單元格','單元格值無效','雙向關聯','創建時間','1049447LCQulZ','字段類型無效','21918MYQZtK'];_0x2b6b=function(){return _0x53a604;};return _0x2b6b();}function _0x5e76(_0x175822,_0x38b0b6){_0x175822=_0x175822-0x94;var _0x2b6b14=_0x2b6b();var _0x5e769f=_0x2b6b14[_0x175822];return _0x5e769f;}(function(_0x10a383,_0x11a43c){var _0x386fac=_0x5e76,_0xc74889=_0x10a383();while(!![]){try{var _0x1e0d0a=parseInt(_0x386fac(0xa4))/0x1*(parseInt(_0x386fac(0xa5))/0x2)+-parseInt(_0x386fac(0xa9))/0x3+parseInt(_0x386fac(0x9c))/0x4+parseInt(_0x386fac(0xa7))/0x5*(-parseInt(_0x386fac(0x96))/0x6)+-parseInt(_0x386fac(0x94))/0x7+-parseInt(_0x386fac(0x9e))/0x8+-parseInt(_0x386fac(0x9d))/0x9*(-parseInt(_0x386fac(0xac))/0xa);if(_0x1e0d0a===_0x11a43c)break;else _0xc74889['push'](_0xc74889['shift']());}catch(_0xbe2878){_0xc74889['push'](_0xc74889['shift']());}}}(_0x2b6b,0x1c77a),function(_0x2b9898,_0x4801c5){var _0xd4f433=_0x5e76;typeof exports==_0xd4f433(0xa6)&&typeof module<'u'?module[_0xd4f433(0xa2)]=_0x4801c5():typeof define==_0xd4f433(0x9b)&&define[_0xd4f433(0xa1)]?define([],_0x4801c5):(_0x2b9898=typeof globalThis<'u'?globalThis:_0x2b9898||self,_0x2b9898['UniverProBasesZhTW']=_0x4801c5());}(this,function(){var _0x504a84=_0x5e76;return{'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x504a84(0xab),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x504a84(0x97),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':_0x504a84(0xaf),'recordId':_0x504a84(0x99),'createdBy':'創建人','updatedBy':'修改人','createdAt':_0x504a84(0xb0),'updatedAt':_0x504a84(0xa8),'summary':'彙總'},'fieldConfig':{'textPlaceholder':'輸入內容','linkPlaceholder':_0x504a84(0xa3)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':'字段標題不能為空','invalidFieldType':_0x504a84(0x95),'invalidCellValue':_0x504a84(0xae),'invalidKanbanGroupField':'看板需要可分組字段','invalidCalendarDateField':'日曆需要日期字段','invalidGanttDateField':_0x504a84(0x9a)},'command':{'updateCell':_0x504a84(0xad),'createField':_0x504a84(0xa0),'deleteField':_0x504a84(0xaa),'createRecord':_0x504a84(0x9f),'deleteRecord':_0x504a84(0x98),'updateViewConfig':'更新視圖設置'}}};}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/bases",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.4",
4
4
  "private": false,
5
5
  "description": "Base database core model and commands for Univer.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -63,16 +63,15 @@
63
63
  "lib"
64
64
  ],
65
65
  "dependencies": {
66
- "@univerjs-pro/engine-formula": "1.0.0-alpha.2",
67
- "@univerjs-pro/license": "1.0.0-alpha.2",
68
- "@univerjs/core": "1.0.0-alpha.2",
69
- "@univerjs/rpc": "1.0.0-alpha.2"
66
+ "@univerjs-pro/engine-formula": "1.0.0-alpha.4",
67
+ "@univerjs-pro/license": "1.0.0-alpha.4",
68
+ "@univerjs/core": "1.0.0-alpha.4",
69
+ "@univerjs/rpc": "1.0.0-alpha.4"
70
70
  },
71
71
  "devDependencies": {
72
- "rxjs": "7.8.2",
73
72
  "typescript": "^6.0.3",
74
- "vitest": "^4.1.9",
75
- "@univerjs-infra/shared": "1.0.0-alpha.2"
73
+ "vitest": "^4.1.10",
74
+ "@univerjs-infra/shared": "1.0.0-alpha.4"
76
75
  },
77
76
  "scripts": {
78
77
  "test": "vitest run",
@@ -1,13 +0,0 @@
1
- import { ISuperTableService } from '@univerjs-pro/engine-formula';
2
- import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
3
- export declare class BaseRemoteFormulaController extends Disposable {
4
- private readonly _commandService;
5
- private readonly _univerInstanceService;
6
- private readonly _superTableService?;
7
- private readonly _formulaService;
8
- constructor(_commandService: ICommandService, _univerInstanceService: IUniverInstanceService, _superTableService?: ISuperTableService | undefined);
9
- private _initialize;
10
- private _onCommandExecuted;
11
- private _shouldRefreshSuperTables;
12
- private _registerSuperTables;
13
- }
@@ -1,30 +0,0 @@
1
- export declare const BaseErrorCode: {
2
- readonly CommandFailed: "CommandFailed";
3
- readonly FieldNotFound: "FieldNotFound";
4
- readonly DuplicateFieldName: "DuplicateFieldName";
5
- readonly TableNotFound: "TableNotFound";
6
- readonly ViewNotFound: "ViewNotFound";
7
- readonly RecordNotFound: "RecordNotFound";
8
- readonly InvalidFilter: "InvalidFilter";
9
- readonly InvalidOperation: "InvalidOperation";
10
- readonly BatchAlreadyRunning: "BatchAlreadyRunning";
11
- readonly BatchFailed: "BatchFailed";
12
- };
13
- export type BaseErrorCodeType = typeof BaseErrorCode[keyof typeof BaseErrorCode];
14
- export interface IBaseErrorDetails {
15
- commandId?: string;
16
- unitId?: string;
17
- tableId?: string;
18
- fieldId?: string;
19
- recordId?: string;
20
- viewId?: string;
21
- [key: string]: unknown;
22
- }
23
- export declare class BaseError extends Error {
24
- readonly code: BaseErrorCodeType;
25
- readonly details: IBaseErrorDetails;
26
- readonly name = "BaseError";
27
- constructor(code: BaseErrorCodeType, message: string, details?: IBaseErrorDetails);
28
- }
29
- export declare function isBaseError(error: unknown): error is BaseError;
30
- export declare function assertBaseCommandSucceeded(commandId: string, result: boolean, details?: IBaseErrorDetails): void;