@univerjs-pro/bases 0.25.0-insiders.20260608-e4336f7
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.
- package/README.md +42 -0
- package/lib/cjs/facade.js +1 -0
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/locale/ar-SA.js +1 -0
- package/lib/cjs/locale/ca-ES.js +1 -0
- package/lib/cjs/locale/de-DE.js +1 -0
- package/lib/cjs/locale/en-US.js +1 -0
- package/lib/cjs/locale/es-ES.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -0
- package/lib/cjs/locale/fr-FR.js +1 -0
- package/lib/cjs/locale/id-ID.js +1 -0
- package/lib/cjs/locale/it-IT.js +1 -0
- package/lib/cjs/locale/ja-JP.js +1 -0
- package/lib/cjs/locale/ko-KR.js +1 -0
- package/lib/cjs/locale/pl-PL.js +1 -0
- package/lib/cjs/locale/pt-BR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/sk-SK.js +1 -0
- package/lib/cjs/locale/vi-VN.js +1 -0
- package/lib/cjs/locale/zh-CN.js +1 -0
- package/lib/cjs/locale/zh-HK.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/facade.js +1 -0
- package/lib/es/index.js +1 -0
- package/lib/es/locale/ar-SA.js +1 -0
- package/lib/es/locale/ca-ES.js +1 -0
- package/lib/es/locale/de-DE.js +1 -0
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/es-ES.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/fr-FR.js +1 -0
- package/lib/es/locale/id-ID.js +1 -0
- package/lib/es/locale/it-IT.js +1 -0
- package/lib/es/locale/ja-JP.js +1 -0
- package/lib/es/locale/ko-KR.js +1 -0
- package/lib/es/locale/pl-PL.js +1 -0
- package/lib/es/locale/pt-BR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/sk-SK.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-HK.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/facade.js +1 -0
- package/lib/index.js +1 -0
- package/lib/locale/ar-SA.js +1 -0
- package/lib/locale/ca-ES.js +1 -0
- package/lib/locale/de-DE.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/es-ES.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/id-ID.js +1 -0
- package/lib/locale/it-IT.js +1 -0
- package/lib/locale/ja-JP.js +1 -0
- package/lib/locale/ko-KR.js +1 -0
- package/lib/locale/pl-PL.js +1 -0
- package/lib/locale/pt-BR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/sk-SK.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-HK.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- package/lib/types/commands/cell.command.d.ts +32 -0
- package/lib/types/commands/field.command.d.ts +53 -0
- package/lib/types/commands/record.command.d.ts +39 -0
- package/lib/types/commands/table.command.d.ts +18 -0
- package/lib/types/commands/undo-redo.d.ts +2 -0
- package/lib/types/commands/view.command.d.ts +107 -0
- package/lib/types/controllers/base-active-dirty.controller.d.ts +16 -0
- package/lib/types/controllers/base-formula-calculation.controller.d.ts +23 -0
- package/lib/types/controllers/base-formula-optional-identifier.d.ts +1 -0
- package/lib/types/controllers/base-remote-formula.controller.d.ts +13 -0
- package/lib/types/facade/f-base.d.ts +362 -0
- package/lib/types/facade/f-event.d.ts +61 -0
- package/lib/types/facade/f-field.d.ts +191 -0
- package/lib/types/facade/f-permission.d.ts +299 -0
- package/lib/types/facade/f-range.d.ts +179 -0
- package/lib/types/facade/f-record.d.ts +137 -0
- package/lib/types/facade/f-table.d.ts +769 -0
- package/lib/types/facade/f-univer.d.ts +148 -0
- package/lib/types/facade/f-view.d.ts +275 -0
- package/lib/types/facade/index.d.ts +10 -0
- package/lib/types/fields/date-format.d.ts +6 -0
- package/lib/types/fields/field-core-plugin.d.ts +21 -0
- package/lib/types/fields/number-format.d.ts +15 -0
- package/lib/types/index.d.ts +48 -0
- package/lib/types/locale/ar-SA.d.ts +3 -0
- package/lib/types/locale/ca-ES.d.ts +3 -0
- package/lib/types/locale/de-DE.d.ts +3 -0
- package/lib/types/locale/en-US.d.ts +59 -0
- package/lib/types/locale/es-ES.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/fr-FR.d.ts +3 -0
- package/lib/types/locale/id-ID.d.ts +3 -0
- package/lib/types/locale/it-IT.d.ts +3 -0
- package/lib/types/locale/ja-JP.d.ts +3 -0
- package/lib/types/locale/ko-KR.d.ts +3 -0
- package/lib/types/locale/pl-PL.d.ts +3 -0
- package/lib/types/locale/pt-BR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/sk-SK.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +3 -0
- package/lib/types/locale/zh-HK.d.ts +3 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/models/base-cell-data.d.ts +14 -0
- package/lib/types/models/base-snapshot.d.ts +1 -0
- package/lib/types/models/default-table.d.ts +12 -0
- package/lib/types/models/field-snapshot.d.ts +1 -0
- package/lib/types/models/record-snapshot.d.ts +1 -0
- package/lib/types/models/table-snapshot.d.ts +1 -0
- package/lib/types/models/value.d.ts +1 -0
- package/lib/types/models/view-snapshot.d.ts +1 -0
- package/lib/types/mutations/json1.mutation.d.ts +7 -0
- package/lib/types/mutations/utils.d.ts +2 -0
- package/lib/types/ot/json1-adapter.d.ts +103 -0
- package/lib/types/ot/json1-invalidation.d.ts +2 -0
- package/lib/types/ot/json1-op-applier.d.ts +6 -0
- package/lib/types/ot/json1-op-factory.d.ts +64 -0
- package/lib/types/ot/json1-path.d.ts +13 -0
- package/lib/types/plugin.d.ts +35 -0
- package/lib/types/search/base-search.d.ts +24 -0
- package/lib/types/services/base-active-dirty.service.d.ts +24 -0
- package/lib/types/services/base-command.service.d.ts +122 -0
- package/lib/types/services/base-compression.service.d.ts +46 -0
- package/lib/types/services/base-field-registry.service.d.ts +17 -0
- package/lib/types/services/base-formula.service.d.ts +71 -0
- package/lib/types/services/base-performance.service.d.ts +5 -0
- package/lib/types/services/base-permission.service.d.ts +76 -0
- package/lib/types/services/base-projection.service.d.ts +97 -0
- package/lib/types/services/base-resource.service.d.ts +15 -0
- package/lib/types/services/base-view-registry.service.d.ts +15 -0
- package/lib/types/views/view-core-plugin.d.ts +21 -0
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +1 -0
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -0
- package/lib/umd/locale/de-DE.js +1 -0
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/es-ES.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/fr-FR.js +1 -0
- package/lib/umd/locale/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -0
- package/lib/umd/locale/ko-KR.js +1 -0
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/sk-SK.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +86 -0
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @univerjs-pro/bases
|
|
2
|
+
|
|
3
|
+
[](https://npmjs.com/package/@univerjs-pro/bases)
|
|
4
|
+
[](https://npmjs.com/package/@univerjs-pro/bases)
|
|
5
|
+
|
|
6
|
+
`@univerjs-pro/bases` provides Base data models, commands, mutations, formula integration, and facade APIs for Univer Pro.
|
|
7
|
+
|
|
8
|
+
## Package Overview
|
|
9
|
+
|
|
10
|
+
| Package | UMD global | CSS | Locales | Facade entry |
|
|
11
|
+
| --- | --- | :---: | :---: | :---: |
|
|
12
|
+
| `@univerjs-pro/bases` | `UniverProBases` | No | Yes | Yes |
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
pnpm add @univerjs-pro/bases
|
|
18
|
+
# or
|
|
19
|
+
npm install @univerjs-pro/bases
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import EnUS from '@univerjs-pro/bases/locale/en-US';
|
|
28
|
+
import { UniverBasesPlugin } from '@univerjs-pro/bases';
|
|
29
|
+
|
|
30
|
+
univer.registerPlugin(UniverBasesPlugin);
|
|
31
|
+
|
|
32
|
+
// Merge EnUS into your Univer locale map when this package contributes text.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Integration Notes
|
|
36
|
+
|
|
37
|
+
Use this package with `@univerjs-pro/bases-ui` when users need the Base workbench, field editors, and render-engine views.
|
|
38
|
+
|
|
39
|
+
## Resources
|
|
40
|
+
|
|
41
|
+
- [Documentation](https://docs.univer.ai/guides/pro)
|
|
42
|
+
- [NPM package](https://npmjs.com/package/@univerjs-pro/bases)
|