@univerjs/core 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.
- package/lib/cjs/facade.js +85 -27
- package/lib/cjs/index.js +16381 -10924
- package/lib/es/facade.js +86 -28
- package/lib/es/index.js +16321 -10901
- package/lib/facade.js +86 -28
- package/lib/index.js +16321 -10901
- package/lib/types/bases/base-data-model.d.ts +4 -0
- package/lib/types/bases/empty-snapshot.d.ts +2 -1
- package/lib/types/bases/index.d.ts +3 -2
- package/lib/types/bases/typedef.d.ts +80 -67
- package/lib/types/common/regexp/charset.d.ts +63 -0
- package/lib/types/common/regexp/escape.d.ts +30 -0
- package/lib/types/common/regexp/factory.d.ts +16 -0
- package/lib/types/common/regexp/index.d.ts +37 -0
- package/lib/types/common/regexp/or.d.ts +57 -0
- package/lib/types/docs/data-model/empty-snapshot.d.ts +2 -1
- package/lib/types/docs/data-model/index.d.ts +21 -0
- package/lib/types/docs/data-model/paragraph-style.d.ts +22 -0
- package/lib/types/docs/data-model/preset-list-type.d.ts +19 -6
- package/lib/types/docs/data-model/rich-text-builder.d.ts +455 -1
- package/lib/types/docs/data-model/text-x/action-types.d.ts +1 -0
- package/lib/types/docs/data-model/text-x/apply-utils/common.d.ts +4 -1
- package/lib/types/docs/data-model/text-x/build-utils/data-stream-change.d.ts +28 -0
- package/lib/types/docs/data-model/text-x/build-utils/drawings.d.ts +2 -2
- package/lib/types/docs/data-model/text-x/build-utils/index.d.ts +6 -0
- package/lib/types/docs/data-model/text-x/build-utils/paragraph.d.ts +4 -1
- package/lib/types/docs/data-model/text-x/build-utils/range-interval.d.ts +74 -0
- package/lib/types/docs/data-model/text-x/structure-validator.d.ts +31 -0
- package/lib/types/docs/data-model/text-x/utils.d.ts +12 -4
- package/lib/types/docs/index.d.ts +5 -0
- package/lib/types/docs/section-break-id.d.ts +19 -0
- package/lib/types/docs/section-header-footer.d.ts +32 -0
- package/lib/types/facade/f-enum.d.ts +40 -1
- package/lib/types/facade/f-hooks.d.ts +8 -0
- package/lib/types/facade/f-univer.d.ts +28 -27
- package/lib/types/index.d.ts +3 -32
- package/lib/types/services/authz-io/authz-io-local.service.d.ts +1 -1
- package/lib/types/services/instance/instance.service.d.ts +26 -0
- package/lib/types/services/resource-manager/type.d.ts +1 -1
- package/lib/types/shared/date-kit.d.ts +1 -0
- package/lib/types/shared/numfmt/api.d.ts +82 -0
- package/lib/types/shared/numfmt/clamp.d.ts +16 -0
- package/lib/types/shared/numfmt/code-to-locale.d.ts +16 -0
- package/lib/types/shared/numfmt/constants.d.ts +68 -0
- package/lib/types/shared/numfmt/dec-to-frac.d.ts +26 -0
- package/lib/types/shared/numfmt/decimal.d.ts +37 -0
- package/lib/types/shared/numfmt/format-info.d.ts +21 -0
- package/lib/types/shared/numfmt/format-number.d.ts +18 -0
- package/lib/types/shared/numfmt/general.d.ts +18 -0
- package/lib/types/shared/numfmt/index.d.ts +18 -0
- package/lib/types/shared/numfmt/locale.d.ts +89 -0
- package/lib/types/shared/numfmt/num-dec.d.ts +17 -0
- package/lib/types/shared/numfmt/number-props.d.ts +17 -0
- package/lib/types/shared/numfmt/options.d.ts +17 -0
- package/lib/types/shared/numfmt/pad.d.ts +22 -0
- package/lib/types/shared/numfmt/parse-format-section.d.ts +17 -0
- package/lib/types/shared/numfmt/parse-pattern.d.ts +18 -0
- package/lib/types/shared/numfmt/parse-value.d.ts +30 -0
- package/lib/types/shared/numfmt/round.d.ts +26 -0
- package/lib/types/shared/numfmt/run-part.d.ts +18 -0
- package/lib/types/shared/numfmt/serial-date.d.ts +32 -0
- package/lib/types/shared/numfmt/to-ymd.d.ts +20 -0
- package/lib/types/shared/numfmt/tokenize.d.ts +20 -0
- package/lib/types/shared/numfmt/types.d.ts +193 -0
- package/lib/types/shared/{numfmt.d.ts → numfmt/utils.d.ts} +3 -4
- package/lib/types/shared/tools.d.ts +0 -11
- package/lib/types/sheets/index.d.ts +26 -0
- package/lib/types/sheets/typedef.d.ts +2 -0
- package/lib/types/types/const/const.d.ts +0 -1
- package/lib/types/types/enum/locale-type.d.ts +9 -0
- package/lib/types/types/interfaces/i-document-data-interceptor.d.ts +1 -0
- package/lib/types/types/interfaces/i-document-data.d.ts +39 -2
- package/lib/types/types/interfaces/i-drawing.d.ts +25 -1
- package/lib/types/types/interfaces/i-style-data.d.ts +4 -6
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +21 -11
- package/package.json +5 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/core",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Core runtime, data models, command system, dependency injection, and Facade APIs for Univer.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -67,11 +67,10 @@
|
|
|
67
67
|
"fast-diff": "1.3.0",
|
|
68
68
|
"kdbush": "^4.1.0",
|
|
69
69
|
"lodash-es": "^4.18.1",
|
|
70
|
-
"numfmt": "3.2.6",
|
|
71
70
|
"ot-json1": "^1.0.2",
|
|
72
71
|
"rbush": "^4.0.1",
|
|
73
|
-
"@univerjs/
|
|
74
|
-
"@univerjs/
|
|
72
|
+
"@univerjs/protocol": "1.0.0-alpha.4",
|
|
73
|
+
"@univerjs/themes": "1.0.0-alpha.4"
|
|
75
74
|
},
|
|
76
75
|
"devDependencies": {
|
|
77
76
|
"@types/async-lock": "^1.4.2",
|
|
@@ -79,8 +78,8 @@
|
|
|
79
78
|
"@types/rbush": "^4.0.0",
|
|
80
79
|
"rxjs": "^7.8.2",
|
|
81
80
|
"typescript": "^6.0.3",
|
|
82
|
-
"vitest": "^4.1.
|
|
83
|
-
"@univerjs-infra/shared": "1.0.0-alpha.
|
|
81
|
+
"vitest": "^4.1.10",
|
|
82
|
+
"@univerjs-infra/shared": "1.0.0-alpha.4"
|
|
84
83
|
},
|
|
85
84
|
"scripts": {
|
|
86
85
|
"test": "vitest run",
|