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

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 (89) 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/config/config.d.ts +10 -0
  65. package/lib/types/facade/index.d.ts +14 -7
  66. package/lib/types/index.d.ts +12 -44
  67. package/lib/types/plugin.d.ts +6 -3
  68. package/lib/umd/facade.js +1 -1
  69. package/lib/umd/index.js +1 -1
  70. package/lib/umd/locale/ar-SA.js +1 -1
  71. package/lib/umd/locale/ca-ES.js +1 -1
  72. package/lib/umd/locale/de-DE.js +1 -1
  73. package/lib/umd/locale/en-US.js +1 -1
  74. package/lib/umd/locale/es-ES.js +1 -1
  75. package/lib/umd/locale/fa-IR.js +1 -1
  76. package/lib/umd/locale/fr-FR.js +1 -1
  77. package/lib/umd/locale/id-ID.js +1 -1
  78. package/lib/umd/locale/it-IT.js +1 -1
  79. package/lib/umd/locale/ja-JP.js +1 -1
  80. package/lib/umd/locale/ko-KR.js +1 -1
  81. package/lib/umd/locale/pl-PL.js +1 -1
  82. package/lib/umd/locale/pt-BR.js +1 -1
  83. package/lib/umd/locale/ru-RU.js +1 -1
  84. package/lib/umd/locale/sk-SK.js +1 -1
  85. package/lib/umd/locale/vi-VN.js +1 -1
  86. package/lib/umd/locale/zh-CN.js +1 -1
  87. package/lib/umd/locale/zh-HK.js +1 -1
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +6 -6
@@ -1 +1 @@
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
+ const _0x1127b3=_0x285e;(function(_0x484160,_0x1fb1b3){const _0x256d74=_0x285e,_0xc94d43=_0x484160();while(!![]){try{const _0xc57e1f=parseInt(_0x256d74(0xdd))/0x1*(parseInt(_0x256d74(0xcd))/0x2)+-parseInt(_0x256d74(0xd3))/0x3*(-parseInt(_0x256d74(0xc3))/0x4)+parseInt(_0x256d74(0xcf))/0x5+-parseInt(_0x256d74(0xd7))/0x6+parseInt(_0x256d74(0xda))/0x7+-parseInt(_0x256d74(0xc4))/0x8*(parseInt(_0x256d74(0xd2))/0x9)+parseInt(_0x256d74(0xc8))/0xa*(-parseInt(_0x256d74(0xc9))/0xb);if(_0xc57e1f===_0x1fb1b3)break;else _0xc94d43['push'](_0xc94d43['shift']());}catch(_0x5b343a){_0xc94d43['push'](_0xc94d43['shift']());}}}(_0x4797,0xaecf1));const e={'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x1127b3(0xcb),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x1127b3(0xc7),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':_0x1127b3(0xdb),'recordId':'記錄\x20ID','createdBy':_0x1127b3(0xd5),'updatedBy':_0x1127b3(0xca),'createdAt':_0x1127b3(0xd8),'updatedAt':_0x1127b3(0xcc),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x1127b3(0xc1),'linkPlaceholder':_0x1127b3(0xce)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':_0x1127b3(0xd1),'invalidFieldType':'字段類型無效','invalidCellValue':_0x1127b3(0xd0),'invalidKanbanGroupField':_0x1127b3(0xd6),'invalidCalendarDateField':'日曆需要日期字段','invalidGanttDateField':_0x1127b3(0xc2)},'command':{'updateCell':_0x1127b3(0xd4),'createField':_0x1127b3(0xdc),'deleteField':_0x1127b3(0xc5),'createRecord':_0x1127b3(0xc6),'deleteRecord':_0x1127b3(0xd9),'updateViewConfig':'更新視圖設置'}}};export{e as default};function _0x285e(_0x41e156,_0x2bb5b5){_0x41e156=_0x41e156-0xc1;const _0x47972d=_0x4797();let _0x285eeb=_0x47972d[_0x41e156];return _0x285eeb;}function _0x4797(){const _0x562184=['刪除記錄','1425487lAgHjt','雙向關聯','創建字段','241xjQuBO','輸入內容','甘特視圖需要開始和結束日期字段','10572qVnLaq','301056xDdEcb','刪除字段','創建記錄','電話號碼','270FDdWzN','428989Nabxlv','修改人','複選框','更新時間','10814YezNAp','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','3821055irGqnk','單元格值無效','字段標題不能為空','189tKwqEb','960nGMFfK','更新單元格','創建人','看板需要可分組字段','3344622UNJgQb','創建時間'];_0x4797=function(){return _0x562184;};return _0x4797();}
@@ -0,0 +1,10 @@
1
+ export declare const BASES_PLUGIN_CONFIG_KEY = "bases.config";
2
+ export declare const configSymbol: unique symbol;
3
+ export interface IUniverBasesConfig {
4
+ }
5
+ export declare const defaultPluginConfig: IUniverBasesConfig;
6
+ export declare const REMOTE_BASES_PLUGIN_CONFIG_KEY = "bases.remote.config";
7
+ export declare const configSymbolRemote: unique symbol;
8
+ export interface IUniverRemoteBasesConfig {
9
+ }
10
+ export declare const defaultRemotePluginConfig: IUniverRemoteBasesConfig;
@@ -1,15 +1,22 @@
1
1
  import './f-enum';
2
- export { FBase, type IBaseSchemaSnapshot, type ICopyTableInput, type ICreateTableInput, type ISearchTableInput } from './f-base';
3
- export { BaseBatchEventModeEnum, BaseBatchUndoModeEnum, BaseErrorCodeEnum, BaseFieldKeyEnum, BaseFieldTypeEnum, BaseFilterOperatorEnum, BaseSortDirectionEnum, BaseViewTypeEnum, type IFBaseEnumMixin, } from './f-enum';
4
- export { assertBaseCommandSucceeded, BaseError, BaseErrorCode, type BaseErrorCodeType, type IBaseErrorDetails, isBaseError } from './f-error';
2
+ export { FBase } from './f-base';
3
+ export type { IBaseSchemaSnapshot, ICopyTableInput, ICreateTableInput, ISearchTableInput } from './f-base';
4
+ export { BaseBatchEventModeEnum, BaseBatchUndoModeEnum, BaseErrorCodeEnum, BaseFieldKeyEnum, BaseFieldTypeEnum, BaseFilterOperatorEnum, BaseSortDirectionEnum, BaseViewTypeEnum, } from './f-enum';
5
+ export type { IFBaseEnumMixin } from './f-enum';
6
+ export { assertBaseCommandSucceeded, BaseError, BaseErrorCode, isBaseError, } from './f-error';
7
+ export type { BaseErrorCodeType, IBaseErrorDetails } from './f-error';
5
8
  export { BaseEventName } from './f-event';
6
9
  export type { IBaseCellValueChangedEvent, IBaseEventMap, IBaseFieldChangedEvent, IBaseRecordChangedEvent, IBaseTableChangedEvent, IBaseViewChangedEvent, } from './f-event';
7
10
  export { FField } from './f-field';
8
11
  export { FBasePermission, FTablePermission } from './f-permission';
9
- export { type BaseRangeValues, FBaseRange } from './f-range';
12
+ export { FBaseRange } from './f-range';
13
+ export type { BaseRangeValues } from './f-range';
10
14
  export { FRecord } from './f-record';
11
- export { FTable, type IAddFieldInput, type IAddRecordInput, type IBaseRecordFilter, type IBaseTableSchemaSnapshot, type ICreateViewInput, type IListRecordOptions, type IQueryRecordsResult, type IUpdateRecordOptions, } from './f-table';
12
- export { FUniverBaseMixin, type IFUniverBaseMixin } from './f-univer';
15
+ export { FTable } from './f-table';
16
+ export type { IAddFieldInput, IAddRecordInput, IBaseRecordFilter, IBaseTableSchemaSnapshot, ICreateViewInput, IListRecordOptions, IQueryRecordsResult, IUpdateRecordOptions, } from './f-table';
17
+ export { FUniverBaseMixin } from './f-univer';
18
+ export type { IFUniverBaseMixin } from './f-univer';
13
19
  export { FView } from './f-view';
14
- export { type BaseFieldKey, type IBaseFieldKeyOptions, resolveBaseFieldKey, resolveBaseFieldValues } from './field-key';
20
+ export { resolveBaseFieldKey, resolveBaseFieldValues } from './field-key';
21
+ export type { BaseFieldKey, IBaseFieldKeyOptions } from './field-key';
15
22
  export { BaseTransactionContext } from './transaction';
@@ -66,53 +66,21 @@ export { UpdateBaseViewConfigCommand } from './commands/commands/update-base-vie
66
66
  export type { IUpdateBaseViewConfigCommandParams } from './commands/commands/update-base-view-config.command';
67
67
  export { ApplyBaseJson1Mutation } from './commands/mutations/apply-base-json1.mutation';
68
68
  export type { IApplyBaseJson1MutationParams } from './commands/mutations/apply-base-json1.mutation';
69
- export { BaseActiveDirtyController } from './controllers/base-active-dirty.controller';
70
- export { BaseFormulaCalculationController } from './controllers/base-formula-calculation.controller';
71
- export { baseDateSerialToDateMs, dateToExcelSerial, excelSerialToDateMs, formatBaseDateValue, normalizeBaseDateSerial, } from './fields/date-format';
72
- export { createCoreFieldPlugins, matchesBaseCondition } from './fields/field-core-plugin';
73
- export type { BaseConditionDateMode, IBaseConditionMatchOptions, IFieldCorePlugin, IFieldTypePlugin, } from './fields/field-core-plugin';
74
- export type { FieldCorePlugin, FieldTypePlugin } from './fields/field-core-plugin';
75
- export { buildBaseNumberFormatPattern, formatBaseNumberValue, inferBaseSeparatorStyle } from './fields/number-format';
76
- export type { IBaseNumberFormatConfig } from './fields/number-format';
77
- export type { BaseNumberFormatConfig } from './fields/number-format';
69
+ export { baseDateSerialToDateMs, dateToExcelSerial, formatBaseDateValue, normalizeBaseDateSerial, } from './fields/date-format';
70
+ export { matchesBaseCondition } from './fields/field-core-plugin';
71
+ export { formatBaseNumberValue, inferBaseSeparatorStyle } from './fields/number-format';
78
72
  export { uniqueFieldName } from './fields/util';
79
- export { ensureBaseTableCellLayout, fromBaseCellData, getBaseAttachmentResourceKey, getBaseCell, getBaseCellFormulaValue, getBaseCellValue, normalizeAttachmentValue, readAttachmentResources, setBaseCell, toBaseCellData, toBaseRecordValue, writeAttachmentResources, } from './models/base-cell-data';
73
+ export { ensureBaseTableCellLayout, getBaseCellFormulaValue, getBaseCellValue, } from './models/base-cell-data';
80
74
  export { copyBaseTableSnapshot } from './models/base-table-copy';
81
- export type { ICopyBaseTableSnapshotOptions } from './models/base-table-copy';
82
- export { BaseJson1Adapter } from './ot/json1-adapter';
83
- export type { BaseJson1Command, IBaseCollaborativeOp, IBaseJson1Adapter } from './ot/json1-adapter';
84
- export type { BaseCollaborativeOp } from './ot/json1-adapter';
85
- export { getBaseInvalidationsFromJson1 } from './ot/json1-invalidation';
86
75
  export { BaseJson1OpApplier } from './ot/json1-op-applier';
87
76
  export { BaseJson1OpFactory } from './ot/json1-op-factory';
88
- export type { ICreateFieldOpInput, ISetRangeValuesPatch, ISetRecordValuesPatch } from './ot/json1-op-factory';
89
- export type { CreateFieldOpInput, SetRangeValuesPatch, SetRecordValuesPatch } from './ot/json1-op-factory';
90
- export { baseJson1Path } from './ot/json1-path';
91
- export { composeJson1Ops } from './ot/json1-util';
92
- export { BASE_SYNC_MUTATIONS, BASES_PLUGIN_NAME, UniverBasesPlugin, UniverRemoteBasesPlugin } from './plugin';
77
+ export { UniverBasesPlugin, UniverRemoteBasesPlugin } from './plugin';
93
78
  export { searchBaseTable } from './search/base-search';
94
- export type { IBaseTableSearchMatch, IBaseTableSearchRequest, IBaseTableSearchResult } from './search/base-search';
95
- export type { BaseTableSearchMatch, BaseTableSearchRequest, BaseTableSearchResult } from './search/base-search';
96
- export { createBaseStructureDirtySuperTableMap, setBaseRangeValuesToDirtyRanges, } from './services/base-active-dirty.service';
97
- export type { BaseFormulaDirtySuperTableMap, IBaseFormulaDirtyRange, IBaseRangeValueDirtyParams, } from './services/base-active-dirty.service';
98
- export type { BaseFormulaDirtyRange, } from './services/base-active-dirty.service';
99
- export { BaseCommandService, IBaseCommandService } from './services/base-command.service';
100
- export type { IBaseCommandRuntimeContext } from './services/base-command.service';
101
- export type { BaseCommandRuntimeContext } from './services/base-command.service';
102
- export { compressBaseRangeValuesPayload, compressBaseSnapshot, decompressBaseRangeValuesPayload, decompressBaseSnapshot, isCompressedBaseRangeValuesPayload, isCompressedBaseSnapshot, } from './services/base-compression.service';
103
- export type { CompressedBaseRangeValue, IBaseRangeValuesPayload, ICompressedBaseCellData, ICompressedBaseRangeValuesPayload, ICompressedBaseSnapshot, ICompressedBaseTableSnapshot, } from './services/base-compression.service';
104
- export type { BaseRangeValuesPayload, CompressedBaseCellData, CompressedBaseRangeValuesPayload, CompressedBaseSnapshot, CompressedBaseTableSnapshot, } from './services/base-compression.service';
105
- export { BaseFieldRegistryService, IBaseFieldRegistryService } from './services/base-field-registry.service';
106
- export { BaseFormulaService, createBaseFormulaCalculationDataset, createBaseFormulaResultPatches, } from './services/base-formula.service';
107
- export type { IBaseFormulaCalculationDataset, IBaseFormulaCalculationResult, IBaseFormulaDependency, IBaseFormulaResultPatchGroup, IBaseFormulaSuperTableReference, IBaseFormulaSuperTableServiceLike, IBaseFormulaValidationResult, } from './services/base-formula.service';
108
- export type { BaseFormulaSuperTableReference, BaseFormulaSuperTableServiceLike, BaseFormulaValidationResult, } from './services/base-formula.service';
109
- export { isBasePerformanceTracingEnabled, logBasePerformance, traceBasePerformance, traceBasePerformanceAsync, } from './services/base-performance.service';
110
- export type { BasePerformanceDetails } from './services/base-performance.service';
111
- export { BasePermissionService, IBasePermissionService } from './services/base-permission.service';
79
+ export type { IBaseTableSearchResult } from './search/base-search';
80
+ export type { BaseTableSearchMatch } from './search/base-search';
81
+ export { IBaseCommandService } from './services/base-command.service';
82
+ export { traceBasePerformance, } from './services/base-performance.service';
83
+ export { IBasePermissionService } from './services/base-permission.service';
112
84
  export type { BaseFieldPermission, BasePermissionSnapshot, BaseRecordPermission, BaseTablePermission, } from './services/base-permission.service';
113
- export { BaseProjectionService, IBaseProjectionService } from './services/base-projection.service';
114
- export { BaseResourceService, IBaseResourceService } from './services/base-resource.service';
115
- export { BaseViewRegistryService, IBaseViewRegistryService } from './services/base-view-registry.service';
116
- export { createCoreViewPlugins } from './views/view-core-plugin';
117
- export type { IProjectionContext, IViewCorePlugin, IViewRepairResult } from './views/view-core-plugin';
118
- export type { ProjectionContext, ViewCorePlugin, ViewRepairResult } from './views/view-core-plugin';
85
+ export { IBaseProjectionService } from './services/base-projection.service';
86
+ export { IBaseViewRegistryService } from './services/base-view-registry.service';
@@ -1,4 +1,5 @@
1
- import { ICommandService, Injector, IUniverInstanceService, Plugin, UniverInstanceType } from '@univerjs/core';
1
+ import type { IUniverBasesConfig, IUniverRemoteBasesConfig } from './config/config';
2
+ import { ICommandService, IConfigService, Injector, IUniverInstanceService, Plugin, UniverInstanceType } from '@univerjs/core';
2
3
  import { DataSyncPrimaryController } from '@univerjs/rpc';
3
4
  export declare const BASES_PLUGIN_NAME = "BASES_PLUGIN";
4
5
  export declare const BASE_SYNC_MUTATIONS: readonly [import("@univerjs/core").IMutation<import(".").IApplyBaseJson1MutationParams, boolean>];
@@ -7,13 +8,14 @@ export declare class UniverBasesPlugin extends Plugin {
7
8
  protected readonly _injector: Injector;
8
9
  private readonly _commandService;
9
10
  private readonly _univerInstanceService;
11
+ private readonly _configService;
10
12
  private readonly _dataSyncPrimaryController?;
11
13
  static pluginName: string;
12
14
  static packageName: string;
13
15
  static version: string;
14
16
  static type: UniverInstanceType;
15
17
  private readonly _baseSyncDisposables;
16
- constructor(_config: {} | undefined, _injector: Injector, _commandService: ICommandService, _univerInstanceService: IUniverInstanceService, _dataSyncPrimaryController?: DataSyncPrimaryController | undefined);
18
+ constructor(_config: Partial<IUniverBasesConfig> | undefined, _injector: Injector, _commandService: ICommandService, _univerInstanceService: IUniverInstanceService, _configService: IConfigService, _dataSyncPrimaryController?: DataSyncPrimaryController | undefined);
17
19
  onReady(): void;
18
20
  private _initDependencies;
19
21
  private _initCommands;
@@ -25,11 +27,12 @@ export declare class UniverRemoteBasesPlugin extends Plugin {
25
27
  private readonly _config;
26
28
  protected readonly _injector: Injector;
27
29
  private readonly _commandService;
30
+ private readonly _configService;
28
31
  private readonly _univerInstanceService;
29
32
  static pluginName: string;
30
33
  static packageName: string;
31
34
  static version: string;
32
35
  static type: UniverInstanceType;
33
- constructor(_config: {} | undefined, _injector: Injector, _commandService: ICommandService, _univerInstanceService: IUniverInstanceService);
36
+ constructor(_config: Partial<IUniverRemoteBasesConfig> | undefined, _injector: Injector, _commandService: ICommandService, _configService: IConfigService, _univerInstanceService: IUniverInstanceService);
34
37
  onReady(): void;
35
38
  }