@univerjs/sheets-data-validation 0.2.1 → 0.2.3
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 +12 -4
- package/lib/cjs/index.js +2 -2
- package/lib/es/index.js +2398 -2297
- package/lib/index.css +1 -1
- package/lib/locale/en-US.json +3 -0
- package/lib/locale/ru-RU.json +3 -0
- package/lib/locale/vi-VN.json +165 -0
- package/lib/locale/zh-CN.json +3 -0
- package/lib/locale/zh-TW.json +165 -0
- package/lib/types/controllers/dv-render.controller.d.ts +0 -1
- package/lib/types/controllers/dv.controller.d.ts +3 -2
- package/lib/types/locale/vi-VN.d.ts +4 -0
- package/lib/types/locale/zh-CN.d.ts +3 -0
- package/lib/types/locale/zh-TW.d.ts +4 -0
- package/lib/types/utils/date.d.ts +2 -2
- package/lib/types/validators/date-validator.d.ts +17 -15
- package/lib/types/views/date-dropdown/index.d.ts +1 -1
- package/lib/types/views/show-time/index.d.ts +11 -0
- package/lib/umd/index.js +2 -2
- package/package.json +23 -21
package/README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# @univerjs/sheets-data-validation
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
## Package Overview
|
|
4
|
+
|
|
5
|
+
| Package Name | UMD Namespace | Version | License | Downloads | Contains CSS | Contains i18n locales |
|
|
6
|
+
| --- | --- | --- | --- | --- | :---: | :---: |
|
|
7
|
+
| `@univerjs/sheets-data-validation` | `UniverSheetsDataValidation` | [![][npm-version-shield]][npm-version-link] | ![][npm-license-shield] | ![][npm-downloads-shield] | ⭕️ | ⭕️ |
|
|
7
8
|
|
|
8
9
|
## Introduction
|
|
9
10
|
|
|
@@ -19,6 +20,7 @@ npm i @univerjs/sheets-data-validation
|
|
|
19
20
|
|
|
20
21
|
# Using pnpm
|
|
21
22
|
pnpm add
|
|
23
|
+
```
|
|
22
24
|
|
|
23
25
|
### Register the plugin
|
|
24
26
|
|
|
@@ -60,3 +62,9 @@ export const DEFAULT_WORKBOOK_DATA_DEMO: IWorkbookData = {
|
|
|
60
62
|
// load initial snapshot
|
|
61
63
|
univer.createUnit(UniverInstanceType.UNIVER_SHEET, DEFAULT_WORKBOOK_DATA_DEMO);
|
|
62
64
|
```
|
|
65
|
+
|
|
66
|
+
<!-- Links -->
|
|
67
|
+
[npm-version-shield]: https://img.shields.io/npm/v/@univerjs/sheets-data-validation?style=flat-square
|
|
68
|
+
[npm-version-link]: https://npmjs.com/package/@univerjs/sheets-data-validation
|
|
69
|
+
[npm-license-shield]: https://img.shields.io/npm/l/@univerjs/sheets-data-validation?style=flat-square
|
|
70
|
+
[npm-downloads-shield]: https://img.shields.io/npm/dm/@univerjs/sheets-data-validation?style=flat-square
|