@univerjs-pro/bases 1.3.0 → 1.4.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 (104) 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/cjs/worker-BDigGzY4.js +1 -0
  23. package/lib/cjs/worker.js +1 -0
  24. package/lib/es/facade.js +1 -1
  25. package/lib/es/index.js +1 -1
  26. package/lib/es/locale/ar-SA.js +1 -1
  27. package/lib/es/locale/ca-ES.js +1 -1
  28. package/lib/es/locale/de-DE.js +1 -1
  29. package/lib/es/locale/en-US.js +1 -1
  30. package/lib/es/locale/es-ES.js +1 -1
  31. package/lib/es/locale/fa-IR.js +1 -1
  32. package/lib/es/locale/fr-FR.js +1 -1
  33. package/lib/es/locale/id-ID.js +1 -1
  34. package/lib/es/locale/it-IT.js +1 -1
  35. package/lib/es/locale/ja-JP.js +1 -1
  36. package/lib/es/locale/ko-KR.js +1 -1
  37. package/lib/es/locale/pl-PL.js +1 -1
  38. package/lib/es/locale/pt-BR.js +1 -1
  39. package/lib/es/locale/ru-RU.js +1 -1
  40. package/lib/es/locale/sk-SK.js +1 -1
  41. package/lib/es/locale/vi-VN.js +1 -1
  42. package/lib/es/locale/zh-CN.js +1 -1
  43. package/lib/es/locale/zh-HK.js +1 -1
  44. package/lib/es/locale/zh-TW.js +1 -1
  45. package/lib/es/worker-1CbynS32.js +1 -0
  46. package/lib/es/worker.js +1 -0
  47. package/lib/facade.js +1 -1
  48. package/lib/index.js +1 -1
  49. package/lib/locale/ar-SA.js +1 -1
  50. package/lib/locale/ca-ES.js +1 -1
  51. package/lib/locale/de-DE.js +1 -1
  52. package/lib/locale/en-US.js +1 -1
  53. package/lib/locale/es-ES.js +1 -1
  54. package/lib/locale/fa-IR.js +1 -1
  55. package/lib/locale/fr-FR.js +1 -1
  56. package/lib/locale/id-ID.js +1 -1
  57. package/lib/locale/it-IT.js +1 -1
  58. package/lib/locale/ja-JP.js +1 -1
  59. package/lib/locale/ko-KR.js +1 -1
  60. package/lib/locale/pl-PL.js +1 -1
  61. package/lib/locale/pt-BR.js +1 -1
  62. package/lib/locale/ru-RU.js +1 -1
  63. package/lib/locale/sk-SK.js +1 -1
  64. package/lib/locale/vi-VN.js +1 -1
  65. package/lib/locale/zh-CN.js +1 -1
  66. package/lib/locale/zh-HK.js +1 -1
  67. package/lib/locale/zh-TW.js +1 -1
  68. package/lib/types/config/config.d.ts +1 -1
  69. package/lib/types/controllers/base-formula-optional-identifier.d.ts +1 -1
  70. package/lib/types/fields/field-stat.d.ts +1 -1
  71. package/lib/types/index.d.ts +4 -1
  72. package/lib/types/plugin.d.ts +1 -13
  73. package/lib/types/services/base-command.service.d.ts +1 -1
  74. package/lib/types/services/base-field-registry.service.d.ts +2 -2
  75. package/lib/types/services/base-permission-point.d.ts +1 -1
  76. package/lib/types/services/base-permission.service.d.ts +1 -1
  77. package/lib/types/services/base-projection.service.d.ts +2 -2
  78. package/lib/types/services/base-resource.service.d.ts +1 -1
  79. package/lib/types/services/base-view-registry.service.d.ts +2 -2
  80. package/lib/types/worker.d.ts +14 -0
  81. package/lib/umd/facade.js +1 -1
  82. package/lib/umd/index.js +1 -1
  83. package/lib/umd/locale/ar-SA.js +1 -1
  84. package/lib/umd/locale/ca-ES.js +1 -1
  85. package/lib/umd/locale/de-DE.js +1 -1
  86. package/lib/umd/locale/en-US.js +1 -1
  87. package/lib/umd/locale/es-ES.js +1 -1
  88. package/lib/umd/locale/fa-IR.js +1 -1
  89. package/lib/umd/locale/fr-FR.js +1 -1
  90. package/lib/umd/locale/id-ID.js +1 -1
  91. package/lib/umd/locale/it-IT.js +1 -1
  92. package/lib/umd/locale/ja-JP.js +1 -1
  93. package/lib/umd/locale/ko-KR.js +1 -1
  94. package/lib/umd/locale/pl-PL.js +1 -1
  95. package/lib/umd/locale/pt-BR.js +1 -1
  96. package/lib/umd/locale/ru-RU.js +1 -1
  97. package/lib/umd/locale/sk-SK.js +1 -1
  98. package/lib/umd/locale/vi-VN.js +1 -1
  99. package/lib/umd/locale/zh-CN.js +1 -1
  100. package/lib/umd/locale/zh-HK.js +1 -1
  101. package/lib/umd/locale/zh-TW.js +1 -1
  102. package/lib/worker-1CbynS32.js +1 -0
  103. package/lib/worker.js +1 -0
  104. package/package.json +17 -12
@@ -1 +1 @@
1
- const _0x132ff4=_0x328b;(function(_0x227eb7,_0xff2642){const _0x302b62=_0x328b,_0x14ab9e=_0x227eb7();while(!![]){try{const _0x1adf07=parseInt(_0x302b62(0x1ef))/0x1+parseInt(_0x302b62(0x1f4))/0x2+-parseInt(_0x302b62(0x1f8))/0x3+-parseInt(_0x302b62(0x1fc))/0x4*(parseInt(_0x302b62(0x1ff))/0x5)+parseInt(_0x302b62(0x1ec))/0x6*(-parseInt(_0x302b62(0x1ee))/0x7)+-parseInt(_0x302b62(0x1f1))/0x8*(-parseInt(_0x302b62(0x1fa))/0x9)+parseInt(_0x302b62(0x1f7))/0xa*(parseInt(_0x302b62(0x1f0))/0xb);if(_0x1adf07===_0xff2642)break;else _0x14ab9e['push'](_0x14ab9e['shift']());}catch(_0x4cbded){_0x14ab9e['push'](_0x14ab9e['shift']());}}}(_0x50ed,0x1d40e));function _0x50ed(){const _0x37ff12=['133efDZoR','154877aOzcVl','11ZiMqTt','876768ViqJvM','欄位類型無效','建立欄位','47652fTeZuN','行事曆需要日期欄位','更新儲存格','1034590Ylgclc','708066sUIfgl','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','9hHYloj','核取方塊','38624CDqiCM','欄位標題不能為空','甘特圖','5qiHCHK','更新時間','建立記錄','刪除記錄','更新人','行事曆','建立時間','電話號碼','8292RfAFLD','建立人'];_0x50ed=function(){return _0x37ff12;};return _0x50ed();}const e={'bases':{'fieldType':{'text':'文字','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x132ff4(0x1fb),'link':'連結','formula':'公式','lookup':'查詢','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x132ff4(0x1eb),'email':'電子郵件','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','recordLink':'關聯記錄','recordId':'記錄\x20ID','createdBy':_0x132ff4(0x1ed),'updatedBy':_0x132ff4(0x1e8),'createdAt':_0x132ff4(0x1ea),'updatedAt':_0x132ff4(0x200),'summary':'彙總'},'fieldConfig':{'textPlaceholder':'輸入內容','linkPlaceholder':_0x132ff4(0x1f9)},'viewType':{'grid':'表格','kanban':'看板','calendar':_0x132ff4(0x1e9),'gantt':_0x132ff4(0x1fe),'gallery':'圖庫'},'error':{'fieldNameRequired':_0x132ff4(0x1fd),'invalidFieldType':_0x132ff4(0x1f2),'invalidCellValue':'儲存格值無效','invalidKanbanGroupField':'看板需要可分組欄位','invalidCalendarDateField':_0x132ff4(0x1f5),'invalidGanttDateField':'甘特圖檢視需要開始和結束日期欄位'},'command':{'updateCell':_0x132ff4(0x1f6),'createField':_0x132ff4(0x1f3),'deleteField':'刪除欄位','createRecord':_0x132ff4(0x201),'deleteRecord':_0x132ff4(0x1e7),'updateViewConfig':'更新檢視設定'}}};function _0x328b(_0x1eb350,_0x4824a0){_0x1eb350=_0x1eb350-0x1e7;const _0x50edd1=_0x50ed();let _0x328bc6=_0x50edd1[_0x1eb350];return _0x328bc6;}export{e as default};
1
+ function _0xf176(){const _0x2d4db6=['記錄\x20ID','建立時間','86CsGVNG','5541207CNClrg','3jGFFQA','輸入內容','更新時間','建立欄位','更新儲存格','1161AkiSCR','刪除欄位','行事曆需要日期欄位','6hPDSRZ','看板需要可分組欄位','131500OCaPPb','22924MChsMd','甘特圖','欄位標題不能為空','更新人','7483724sHlBBx','9475040XCgwiK','電子郵件','欄位類型無效','核取方塊','1592987yDKlGa','儲存格值無效','關聯記錄','241805CmojyO','甘特圖檢視需要開始和結束日期欄位'];_0xf176=function(){return _0x2d4db6;};return _0xf176();}const _0x54f276=_0x3431;function _0x3431(_0x46b35e,_0x10e59c){_0x46b35e=_0x46b35e-0x156;const _0xf17691=_0xf176();let _0x3431e8=_0xf17691[_0x46b35e];return _0x3431e8;}(function(_0x320591,_0x333121){const _0x32b1ee=_0x3431,_0x3f6478=_0x320591();while(!![]){try{const _0x1a2376=parseInt(_0x32b1ee(0x16e))/0x1*(-parseInt(_0x32b1ee(0x161))/0x2)+-parseInt(_0x32b1ee(0x163))/0x3*(-parseInt(_0x32b1ee(0x172))/0x4)+-parseInt(_0x32b1ee(0x15d))/0x5+-parseInt(_0x32b1ee(0x16b))/0x6*(-parseInt(_0x32b1ee(0x162))/0x7)+parseInt(_0x32b1ee(0x156))/0x8+parseInt(_0x32b1ee(0x168))/0x9*(-parseInt(_0x32b1ee(0x16d))/0xa)+-parseInt(_0x32b1ee(0x15a))/0xb;if(_0x1a2376===_0x333121)break;else _0x3f6478['push'](_0x3f6478['shift']());}catch(_0x1ebddd){_0x3f6478['push'](_0x3f6478['shift']());}}}(_0xf176,0xed384));const e={'bases':{'fieldType':{'text':'文字','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x54f276(0x159),'link':'連結','formula':'公式','lookup':'查詢','flow':'流程','button':'按鈕','numbering':'編號','phone':'電話號碼','email':_0x54f276(0x157),'location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','recordLink':_0x54f276(0x15c),'recordId':_0x54f276(0x15f),'createdBy':'建立人','updatedBy':_0x54f276(0x171),'createdAt':_0x54f276(0x160),'updatedAt':_0x54f276(0x165),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x54f276(0x164),'linkPlaceholder':'輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。'},'viewType':{'grid':'表格','kanban':'看板','calendar':'行事曆','gantt':_0x54f276(0x16f),'gallery':'圖庫'},'error':{'fieldNameRequired':_0x54f276(0x170),'invalidFieldType':_0x54f276(0x158),'invalidCellValue':_0x54f276(0x15b),'invalidKanbanGroupField':_0x54f276(0x16c),'invalidCalendarDateField':_0x54f276(0x16a),'invalidGanttDateField':_0x54f276(0x15e)},'command':{'updateCell':_0x54f276(0x167),'createField':_0x54f276(0x166),'deleteField':_0x54f276(0x169),'createRecord':'建立記錄','deleteRecord':'刪除記錄','updateViewConfig':'更新檢視設定'}}};export{e as default};
@@ -8,4 +8,4 @@ export declare const REMOTE_BASES_PLUGIN_CONFIG_KEY = "bases.remote.config";
8
8
  export declare const configSymbolRemote: unique symbol;
9
9
  export interface IUniverRemoteBasesConfig {
10
10
  }
11
- export declare const defaultRemotePluginConfig: IUniverRemoteBasesConfig;
11
+ export declare const defaultPluginRemoteConfig: IUniverRemoteBasesConfig;
@@ -1 +1 @@
1
- export declare function createBaseOptionalFormulaIdentifier<T>(id: string): import("@wendellhu/redi").IdentifierDecorator<T>;
1
+ export declare function createBaseOptionalFormulaIdentifier<T>(id: string): import("@univerjs/core").IdentifierDecorator<T>;
@@ -1,5 +1,5 @@
1
1
  import type { IFieldSnapshot } from '@univerjs/core';
2
- export declare const BASE_FIELD_STAT_TYPES: readonly ["count", "filled", "empty", "unique", "sum", "average", "min", "max"];
2
+ export declare const BASE_FIELD_STAT_TYPES: readonly ['count', 'filled', 'empty', 'unique', 'sum', 'average', 'min', 'max'];
3
3
  export type BaseFieldStatType = typeof BASE_FIELD_STAT_TYPES[number];
4
4
  export declare function isBaseFieldStatType(value: unknown): value is BaseFieldStatType;
5
5
  export declare function normalizeBaseFieldStatsConfig(value: unknown): Record<string, BaseFieldStatType>;
@@ -105,7 +105,7 @@ export { findRecordLinkReferences, getRecordLinkFieldConfig, parseRecordLinkIds,
105
105
  export type { IRecordLinkReference } from './models/record-link';
106
106
  export { BaseJson1OpApplier } from './ot/json1-op-applier';
107
107
  export { BaseJson1OpFactory } from './ot/json1-op-factory';
108
- export { UniverBasesPlugin, UniverRemoteBasesPlugin, } from './plugin';
108
+ export { UniverBasesPlugin, } from './plugin';
109
109
  export { searchBaseTable } from './search/base-search';
110
110
  export type { IBaseTableSearchRequest } from './search/base-search';
111
111
  export type { IBaseTableSearchMatch, IBaseTableSearchResult, } from './search/base-search';
@@ -122,3 +122,6 @@ export type { IBaseFieldPermission, IBasePermissionSnapshot, IBaseRecordPermissi
122
122
  export { IBaseProjectionService } from './services/base-projection.service';
123
123
  export { IBaseViewRegistryService } from './services/base-view-registry.service';
124
124
  export type { IViewCorePlugin } from './views/view-core-plugin';
125
+ export {
126
+ /** @deprecated Import from '@univerjs-pro/bases/worker' instead. This root export will be removed in the next release. */
127
+ UniverRemoteBasesPlugin, } from './worker';
@@ -1,6 +1,6 @@
1
- import type { IUniverBasesConfig, IUniverRemoteBasesConfig } from './config/config';
2
1
  import { ICommandService, IConfigService, Injector, IUniverInstanceService, Plugin, UniverInstanceType } from '@univerjs/core';
3
2
  import { DataSyncPrimaryController } from '@univerjs/rpc';
3
+ import type { IUniverBasesConfig } from './config/config';
4
4
  export declare const BASES_PLUGIN_NAME = "BASES_PLUGIN";
5
5
  export declare const BASE_SYNC_MUTATIONS: readonly [import("@univerjs/core").IMutation<import(".").IApplyBaseJson1MutationParams, boolean>];
6
6
  export declare class UniverBasesPlugin extends Plugin {
@@ -24,15 +24,3 @@ export declare class UniverBasesPlugin extends Plugin {
24
24
  private _syncBaseUnit;
25
25
  private _initRegistries;
26
26
  }
27
- export declare class UniverRemoteBasesPlugin extends Plugin {
28
- private readonly _config;
29
- protected readonly _injector: Injector;
30
- private readonly _commandService;
31
- private readonly _configService;
32
- private readonly _univerInstanceService;
33
- static pluginName: string;
34
- static packageName: string;
35
- static version: string;
36
- static type: UniverInstanceType;
37
- constructor(_config: Partial<IUniverRemoteBasesConfig> | undefined, _injector: Injector, _commandService: ICommandService, _configService: IConfigService, _univerInstanceService: IUniverInstanceService);
38
- }
@@ -57,7 +57,7 @@ export interface IBaseCommandService {
57
57
  afterFieldId?: string;
58
58
  }): void;
59
59
  }
60
- export declare const IBaseCommandService: import("@wendellhu/redi").IdentifierDecorator<IBaseCommandService>;
60
+ export declare const IBaseCommandService: import("@univerjs/core").IdentifierDecorator<IBaseCommandService>;
61
61
  export declare class BaseCommandService implements IBaseCommandService {
62
62
  private readonly _permissionService;
63
63
  private readonly _fieldRegistry;
@@ -7,10 +7,10 @@ export interface IBaseFieldRegistryService {
7
7
  getTypePlugin(type: BaseFieldType): IFieldTypePlugin | undefined;
8
8
  getAll(): IFieldCorePlugin[];
9
9
  }
10
- export declare const IBaseFieldRegistryService: import("@wendellhu/redi").IdentifierDecorator<IBaseFieldRegistryService>;
10
+ export declare const IBaseFieldRegistryService: import("@univerjs/core").IdentifierDecorator<IBaseFieldRegistryService>;
11
11
  export declare class BaseFieldRegistryService extends Disposable implements IBaseFieldRegistryService {
12
12
  private readonly _plugins;
13
- register(plugin: IFieldCorePlugin): import("@wendellhu/redi").IDisposable;
13
+ register(plugin: IFieldCorePlugin): import("@univerjs/core").IDisposable;
14
14
  get(type: BaseFieldType): IFieldCorePlugin;
15
15
  getTypePlugin(type: BaseFieldType): IFieldTypePlugin | undefined;
16
16
  getAll(): IFieldCorePlugin[];
@@ -16,7 +16,7 @@ export declare function getBaseFieldPermissionObjectId(tableId: string, fieldId:
16
16
  export declare function getBaseRecordPermissionObjectId(tableId: string, recordId: string): string;
17
17
  export declare function getBaseViewPermissionObjectId(tableId: string, viewId: string): string;
18
18
  export declare function getBaseDashboardPermissionObjectId(dashboardId: string): string;
19
- export declare function createBasePermissionPoint(unitId: string, objectId: string, action: UnitAction): BaseCommentPermission | BaseCopyPermission | BaseEditablePermission | BaseExportPermission | BaseDashboardEditPermission | BaseFieldEditPermission | BaseRecordEditPermission | BaseTableEditPermission | BaseViewEditPermission;
19
+ export declare function createBasePermissionPoint(unitId: string, objectId: string, action: UnitAction): BaseCommentPermission | BaseCopyPermission | BaseDashboardEditPermission | BaseEditablePermission | BaseExportPermission | BaseFieldEditPermission | BaseRecordEditPermission | BaseTableEditPermission | BaseViewEditPermission;
20
20
  export declare function getBasePermissionValue(permissionService: IPermissionService, unitId: string, objectId: string, action: UnitAction): boolean;
21
21
  export declare function setBasePermissionValue(permissionService: IPermissionService, unitId: string, objectId: string, action: UnitAction, value: boolean): void;
22
22
  export declare function clearBasePermissionValue(permissionService: IPermissionService, unitId: string, objectId: string, action: UnitAction): void;
@@ -46,7 +46,7 @@ export interface IBasePermissionService {
46
46
  clearViewPermission(tableId: string, viewId: string): void;
47
47
  getSnapshot(): IBasePermissionSnapshot;
48
48
  }
49
- export declare const IBasePermissionService: import("@wendellhu/redi").IdentifierDecorator<IBasePermissionService>;
49
+ export declare const IBasePermissionService: import("@univerjs/core").IdentifierDecorator<IBasePermissionService>;
50
50
  export interface IBasePermissionSnapshot {
51
51
  bases: Record<string, {
52
52
  edit?: boolean;
@@ -11,7 +11,7 @@ export interface IBaseProjectionService {
11
11
  invalidateByField(tableId: TableId, fieldId: FieldId): void;
12
12
  invalidateByView(tableId: TableId, viewId: ViewId): void;
13
13
  }
14
- export declare const IBaseProjectionService: import("@wendellhu/redi").IdentifierDecorator<IBaseProjectionService>;
14
+ export declare const IBaseProjectionService: import("@univerjs/core").IdentifierDecorator<IBaseProjectionService>;
15
15
  export declare class BaseProjectionService extends Disposable implements IBaseProjectionService {
16
16
  private _fieldRegistry;
17
17
  private readonly _views;
@@ -26,7 +26,7 @@ export declare class BaseProjectionService extends Disposable implements IBasePr
26
26
  private readonly _cellInvalidations;
27
27
  private readonly _viewRevisions;
28
28
  constructor(_fieldRegistry: IBaseFieldRegistryService);
29
- registerView(plugin: IViewCorePlugin): import("@wendellhu/redi").IDisposable;
29
+ registerView(plugin: IViewCorePlugin): import("@univerjs/core").IDisposable;
30
30
  getProjection(snapshot: IBaseSnapshot, tableId: TableId, viewId: ViewId): BaseViewProjection;
31
31
  repairViewConfig(snapshot: IBaseSnapshot, tableId: TableId, viewId: ViewId): IViewRepairResult;
32
32
  invalidateByOp(): void;
@@ -5,7 +5,7 @@ export interface IBaseResourceService {
5
5
  getAllBases(): BaseDataModel[];
6
6
  createBase(snapshot: Partial<IBaseSnapshot>): BaseDataModel;
7
7
  }
8
- export declare const IBaseResourceService: import("@wendellhu/redi").IdentifierDecorator<IBaseResourceService>;
8
+ export declare const IBaseResourceService: import("@univerjs/core").IdentifierDecorator<IBaseResourceService>;
9
9
  export declare class BaseResourceService implements IBaseResourceService {
10
10
  private readonly _univerInstanceService;
11
11
  constructor(_univerInstanceService: IUniverInstanceService);
@@ -6,10 +6,10 @@ export interface IBaseViewRegistryService {
6
6
  get(type: BaseViewType): IViewCorePlugin;
7
7
  getAll(): IViewCorePlugin[];
8
8
  }
9
- export declare const IBaseViewRegistryService: import("@wendellhu/redi").IdentifierDecorator<IBaseViewRegistryService>;
9
+ export declare const IBaseViewRegistryService: import("@univerjs/core").IdentifierDecorator<IBaseViewRegistryService>;
10
10
  export declare class BaseViewRegistryService extends Disposable implements IBaseViewRegistryService {
11
11
  private readonly _plugins;
12
- register(plugin: IViewCorePlugin): import("@wendellhu/redi").IDisposable;
12
+ register(plugin: IViewCorePlugin): import("@univerjs/core").IDisposable;
13
13
  get(type: BaseViewType): IViewCorePlugin;
14
14
  getAll(): IViewCorePlugin[];
15
15
  }
@@ -0,0 +1,14 @@
1
+ import { ICommandService, IConfigService, Injector, IUniverInstanceService, Plugin, UniverInstanceType } from '@univerjs/core';
2
+ import type { IUniverRemoteBasesConfig } from './config/config';
3
+ export declare class UniverRemoteBasesPlugin extends Plugin {
4
+ private readonly _config;
5
+ protected readonly _injector: Injector;
6
+ private readonly _commandService;
7
+ private readonly _configService;
8
+ private readonly _univerInstanceService;
9
+ static pluginName: string;
10
+ static packageName: string;
11
+ static version: string;
12
+ static type: UniverInstanceType;
13
+ constructor(_config: Partial<IUniverRemoteBasesConfig> | undefined, _injector: Injector, _commandService: ICommandService, _configService: IConfigService, _univerInstanceService: IUniverInstanceService);
14
+ }