@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,19 +0,0 @@
1
- import type { IBaseCommandService } from '@univerjs-pro/bases';
2
- import type { BaseDataModel, ICommandService, IUndoRedoService, IUniverInstanceService } from '@univerjs/core';
3
- export declare class BaseTransactionContext {
4
- private readonly _base;
5
- private readonly _outerCommandService;
6
- private readonly _baseCommandService;
7
- private readonly _undoRedoService?;
8
- private readonly _univerInstanceService?;
9
- readonly draftBase: BaseDataModel;
10
- readonly commandService: ICommandService;
11
- private readonly _factory;
12
- private readonly _applier;
13
- private readonly _initialSnapshot;
14
- private _op;
15
- constructor(_base: BaseDataModel, _outerCommandService: ICommandService, _baseCommandService: IBaseCommandService, _undoRedoService?: IUndoRedoService | undefined, _univerInstanceService?: IUniverInstanceService | undefined);
16
- collect(commandId: string, params: Record<string, unknown>): boolean;
17
- commit(): void;
18
- private _createOp;
19
- }