@univerjs-pro/bases 1.0.0-alpha.0 → 1.0.0-alpha.1

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 (87) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/controllers/base-remote-formula.controller.d.ts +2 -2
  65. package/lib/types/services/base-command.service.d.ts +5 -1
  66. package/lib/umd/facade.js +1 -1
  67. package/lib/umd/index.js +1 -1
  68. package/lib/umd/locale/ar-SA.js +1 -1
  69. package/lib/umd/locale/ca-ES.js +1 -1
  70. package/lib/umd/locale/de-DE.js +1 -1
  71. package/lib/umd/locale/en-US.js +1 -1
  72. package/lib/umd/locale/es-ES.js +1 -1
  73. package/lib/umd/locale/fa-IR.js +1 -1
  74. package/lib/umd/locale/fr-FR.js +1 -1
  75. package/lib/umd/locale/id-ID.js +1 -1
  76. package/lib/umd/locale/it-IT.js +1 -1
  77. package/lib/umd/locale/ja-JP.js +1 -1
  78. package/lib/umd/locale/ko-KR.js +1 -1
  79. package/lib/umd/locale/pl-PL.js +1 -1
  80. package/lib/umd/locale/pt-BR.js +1 -1
  81. package/lib/umd/locale/ru-RU.js +1 -1
  82. package/lib/umd/locale/sk-SK.js +1 -1
  83. package/lib/umd/locale/vi-VN.js +1 -1
  84. package/lib/umd/locale/zh-CN.js +1 -1
  85. package/lib/umd/locale/zh-HK.js +1 -1
  86. package/lib/umd/locale/zh-TW.js +1 -1
  87. package/package.json +6 -6
@@ -1 +1 @@
1
- const _0x1f62b8=_0xb83f;(function(_0x11b5e3,_0x532dce){const _0x18de02=_0xb83f,_0x5b6db7=_0x11b5e3();while(!![]){try{const _0x25df18=parseInt(_0x18de02(0x93))/0x1*(-parseInt(_0x18de02(0x96))/0x2)+-parseInt(_0x18de02(0x9e))/0x3+parseInt(_0x18de02(0x94))/0x4+parseInt(_0x18de02(0x8d))/0x5*(-parseInt(_0x18de02(0xa2))/0x6)+parseInt(_0x18de02(0x95))/0x7*(parseInt(_0x18de02(0xa0))/0x8)+-parseInt(_0x18de02(0x9f))/0x9+parseInt(_0x18de02(0x8e))/0xa;if(_0x25df18===_0x532dce)break;else _0x5b6db7['push'](_0x5b6db7['shift']());}catch(_0x3ff6a3){_0x5b6db7['push'](_0x5b6db7['shift']());}}}(_0x25c0,0x28f28));const e={'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x1f62b8(0x8b),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x1f62b8(0x97),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':_0x1f62b8(0x8c),'recordId':_0x1f62b8(0xa1),'createdBy':_0x1f62b8(0x9b),'updatedBy':_0x1f62b8(0x92),'createdAt':'創建時間','updatedAt':_0x1f62b8(0x99),'summary':'彙總'},'fieldConfig':{'textPlaceholder':'輸入內容','linkPlaceholder':_0x1f62b8(0x9c)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':'字段標題不能為空','invalidFieldType':'字段類型無效','invalidCellValue':'單元格值無效','invalidKanbanGroupField':_0x1f62b8(0xa3),'invalidCalendarDateField':'日曆需要日期字段','invalidGanttDateField':_0x1f62b8(0x90)},'command':{'updateCell':_0x1f62b8(0x8f),'createField':'創建字段','deleteField':_0x1f62b8(0x91),'createRecord':_0x1f62b8(0x9a),'deleteRecord':_0x1f62b8(0x9d),'updateViewConfig':_0x1f62b8(0x98)}}};export{e as default};function _0xb83f(_0x10151c,_0x146637){_0x10151c=_0x10151c-0x8b;const _0x25c056=_0x25c0();let _0xb83f2c=_0x25c056[_0x10151c];return _0xb83f2c;}function _0x25c0(){const _0x2d8801=['149564jLRvdq','電話號碼','更新視圖設置','更新時間','創建記錄','創建人','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','刪除記錄','620139cKREGc','500976UhjjVQ','584yDHzau','記錄\x20ID','96YLAnhn','看板需要可分組字段','複選框','雙向關聯','38695zDGGbP','3700490qcjKRW','更新單元格','甘特視圖需要開始和結束日期字段','刪除字段','修改人','3TicvRq','974996ouRMlQ','15771oaNULR'];_0x25c0=function(){return _0x2d8801;};return _0x25c0();}
1
+ const _0x13ac29=_0x11de;function _0x5b53(){const _0x585e7b=['雙向關聯','81492cFBMbC','刪除記錄','102gSjSPx','修改人','333RqYZLo','更新視圖設置','269599dLxQXo','更新單元格','創建記錄','甘特視圖需要開始和結束日期字段','2997055zikYYj','日曆需要日期字段','241370UfkvUo','單元格值無效','輸入內容','複選框','電話號碼','3mZmHzm','264ixzTfp','1752450HGbvNy','589126YwSVmM','11427816qLUTXt','35okjkUf','刪除字段','字段標題不能為空','記錄\x20ID','更新時間','看板需要可分組字段','創建時間'];_0x5b53=function(){return _0x585e7b;};return _0x5b53();}(function(_0x2a432f,_0x577167){const _0x5b693a=_0x11de,_0x3f7bc0=_0x2a432f();while(!![]){try{const _0x394d08=parseInt(_0x5b693a(0x9b))/0x1*(-parseInt(_0x5b693a(0x9e))/0x2)+-parseInt(_0x5b693a(0x8c))/0x3*(-parseInt(_0x5b693a(0x8a))/0x4)+parseInt(_0x5b693a(0x94))/0x5+-parseInt(_0x5b693a(0x9d))/0x6*(parseInt(_0x5b693a(0xa0))/0x7)+parseInt(_0x5b693a(0x9f))/0x8+parseInt(_0x5b693a(0x8e))/0x9*(parseInt(_0x5b693a(0x96))/0xa)+parseInt(_0x5b693a(0x90))/0xb*(-parseInt(_0x5b693a(0x9c))/0xc);if(_0x394d08===_0x577167)break;else _0x3f7bc0['push'](_0x3f7bc0['shift']());}catch(_0x2c0d09){_0x3f7bc0['push'](_0x3f7bc0['shift']());}}}(_0x5b53,0xb2509));const e={'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x13ac29(0x99),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x13ac29(0x9a),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':_0x13ac29(0x89),'recordId':_0x13ac29(0xa3),'createdBy':'創建人','updatedBy':_0x13ac29(0x8d),'createdAt':_0x13ac29(0x88),'updatedAt':_0x13ac29(0xa4),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x13ac29(0x98),'linkPlaceholder':'輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。'},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':_0x13ac29(0xa2),'invalidFieldType':'字段類型無效','invalidCellValue':_0x13ac29(0x97),'invalidKanbanGroupField':_0x13ac29(0xa5),'invalidCalendarDateField':_0x13ac29(0x95),'invalidGanttDateField':_0x13ac29(0x93)},'command':{'updateCell':_0x13ac29(0x91),'createField':'創建字段','deleteField':_0x13ac29(0xa1),'createRecord':_0x13ac29(0x92),'deleteRecord':_0x13ac29(0x8b),'updateViewConfig':_0x13ac29(0x8f)}}};function _0x11de(_0x2575aa,_0xacf763){_0x2575aa=_0x2575aa-0x88;const _0x5b53a4=_0x5b53();let _0x11de04=_0x5b53a4[_0x2575aa];return _0x11de04;}export{e as default};
@@ -1,11 +1,11 @@
1
- import type { ISuperTableService as ISuperTableServiceType } from '@univerjs-pro/engine-formula';
1
+ import { ISuperTableService } from '@univerjs-pro/engine-formula';
2
2
  import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
3
3
  export declare class BaseRemoteFormulaController extends Disposable {
4
4
  private readonly _commandService;
5
5
  private readonly _univerInstanceService;
6
6
  private readonly _superTableService?;
7
7
  private readonly _formulaService;
8
- constructor(_commandService: ICommandService, _univerInstanceService: IUniverInstanceService, _superTableService?: ISuperTableServiceType | undefined);
8
+ constructor(_commandService: ICommandService, _univerInstanceService: IUniverInstanceService, _superTableService?: ISuperTableService | undefined);
9
9
  private _initialize;
10
10
  private _onCommandExecuted;
11
11
  private _shouldRefreshSuperTables;
@@ -115,7 +115,11 @@ export declare class BaseCommandService implements IBaseCommandService {
115
115
  private _withModifiedSystemValues;
116
116
  private _createSystemFieldValuePatches;
117
117
  private _getSystemFieldValue;
118
- private _nextNumberingValue;
118
+ private _createNumberingAllocators;
119
+ private _createNumberingAllocator;
120
+ private _createNumberingFieldValuePatches;
121
+ private _getOrderedActiveRecords;
122
+ private _isNonEmptyCellValue;
119
123
  private _getCurrentUserId;
120
124
  private _normalizeCellValue;
121
125
  }