@univerjs/data-validation 1.0.0-insiders.20260809-70eefdd → 1.0.0-rc.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.
- package/LICENSE +176 -0
- package/README.md +10 -2
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -101
- package/lib/cjs/locale/ca-ES.js +1 -101
- package/lib/cjs/locale/de-DE.js +1 -101
- package/lib/cjs/locale/en-US.js +1 -101
- package/lib/cjs/locale/es-ES.js +1 -101
- package/lib/cjs/locale/fa-IR.js +1 -101
- package/lib/cjs/locale/fr-FR.js +1 -101
- package/lib/cjs/locale/id-ID.js +1 -101
- package/lib/cjs/locale/it-IT.js +1 -101
- package/lib/cjs/locale/ja-JP.js +1 -101
- package/lib/cjs/locale/ko-KR.js +1 -101
- package/lib/cjs/locale/pl-PL.js +1 -101
- package/lib/cjs/locale/pt-BR.js +1 -101
- package/lib/cjs/locale/ru-RU.js +1 -101
- package/lib/cjs/locale/sk-SK.js +1 -101
- package/lib/cjs/locale/vi-VN.js +1 -101
- package/lib/cjs/locale/zh-CN.js +1 -101
- package/lib/cjs/locale/zh-HK.js +1 -101
- package/lib/cjs/locale/zh-TW.js +1 -101
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -101
- package/lib/es/locale/ca-ES.js +1 -101
- package/lib/es/locale/de-DE.js +1 -101
- package/lib/es/locale/en-US.js +1 -101
- package/lib/es/locale/es-ES.js +1 -101
- package/lib/es/locale/fa-IR.js +1 -101
- package/lib/es/locale/fr-FR.js +1 -101
- package/lib/es/locale/id-ID.js +1 -101
- package/lib/es/locale/it-IT.js +1 -101
- package/lib/es/locale/ja-JP.js +1 -101
- package/lib/es/locale/ko-KR.js +1 -101
- package/lib/es/locale/pl-PL.js +1 -101
- package/lib/es/locale/pt-BR.js +1 -101
- package/lib/es/locale/ru-RU.js +1 -101
- package/lib/es/locale/sk-SK.js +1 -101
- package/lib/es/locale/vi-VN.js +1 -101
- package/lib/es/locale/zh-CN.js +1 -101
- package/lib/es/locale/zh-HK.js +1 -101
- package/lib/es/locale/zh-TW.js +1 -101
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -101
- package/lib/locale/ca-ES.js +1 -101
- package/lib/locale/de-DE.js +1 -101
- package/lib/locale/en-US.js +1 -101
- package/lib/locale/es-ES.js +1 -101
- package/lib/locale/fa-IR.js +1 -101
- package/lib/locale/fr-FR.js +1 -101
- package/lib/locale/id-ID.js +1 -101
- package/lib/locale/it-IT.js +1 -101
- package/lib/locale/ja-JP.js +1 -101
- package/lib/locale/ko-KR.js +1 -101
- package/lib/locale/pl-PL.js +1 -101
- package/lib/locale/pt-BR.js +1 -101
- package/lib/locale/ru-RU.js +1 -101
- package/lib/locale/sk-SK.js +1 -101
- package/lib/locale/vi-VN.js +1 -101
- package/lib/locale/zh-CN.js +1 -101
- package/lib/locale/zh-HK.js +1 -101
- package/lib/locale/zh-TW.js +1 -101
- package/lib/types/locale/en-US.d.ts +0 -104
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
| Package | UMD global | CSS | Locales | Facade entry |
|
|
12
12
|
| --- | --- | :---: | :---: | :---: |
|
|
13
|
-
| `@univerjs/data-validation` | `UniverDataValidation` | No |
|
|
13
|
+
| `@univerjs/data-validation` | `UniverDataValidation` | No | Yes | No |
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
@@ -25,7 +25,16 @@ Keep all `@univerjs/*` packages on the same version.
|
|
|
25
25
|
## Usage
|
|
26
26
|
|
|
27
27
|
```ts
|
|
28
|
+
import { LocaleType, mergeLocales, Univer } from '@univerjs/core';
|
|
28
29
|
import { UniverDataValidationPlugin } from '@univerjs/data-validation';
|
|
30
|
+
import DataValidationEnUS from '@univerjs/data-validation/locale/en-US';
|
|
31
|
+
|
|
32
|
+
const univer = new Univer({
|
|
33
|
+
locale: LocaleType.EN_US,
|
|
34
|
+
locales: {
|
|
35
|
+
[LocaleType.EN_US]: mergeLocales(DataValidationEnUS),
|
|
36
|
+
},
|
|
37
|
+
});
|
|
29
38
|
|
|
30
39
|
univer.registerPlugin(UniverDataValidationPlugin);
|
|
31
40
|
```
|
|
@@ -35,4 +44,3 @@ univer.registerPlugin(UniverDataValidationPlugin);
|
|
|
35
44
|
- [Documentation](https://docs.univer.ai)
|
|
36
45
|
- [NPM package](https://npmjs.com/package/@univerjs/data-validation)
|
|
37
46
|
- [GitHub repository](https://github.com/dream-num/univer)
|
|
38
|
-
|
package/lib/cjs/index.js
CHANGED
|
@@ -364,7 +364,7 @@ DataValidationResourceController = __decorate([
|
|
|
364
364
|
//#endregion
|
|
365
365
|
//#region package.json
|
|
366
366
|
var name = "@univerjs/data-validation";
|
|
367
|
-
var version = "1.0.0-
|
|
367
|
+
var version = "1.0.0-rc.0";
|
|
368
368
|
|
|
369
369
|
//#endregion
|
|
370
370
|
//#region src/config/config.ts
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -9,8 +9,7 @@ const locale = { "data-validation": {
|
|
|
9
9
|
lessThanOrEqual: "أقل من أو يساوي",
|
|
10
10
|
equal: "يساوي",
|
|
11
11
|
notEqual: "لا يساوي",
|
|
12
|
-
notBetween: "ليس بين"
|
|
13
|
-
legal: "نوع قانوني"
|
|
12
|
+
notBetween: "ليس بين"
|
|
14
13
|
},
|
|
15
14
|
ruleName: {
|
|
16
15
|
between: "بين {FORMULA1} و{FORMULA2}",
|
|
@@ -33,105 +32,6 @@ const locale = { "data-validation": {
|
|
|
33
32
|
notEqual: "يجب ألا تكون القيمة تساوي {FORMULA1}",
|
|
34
33
|
notBetween: "يجب ألا تكون القيمة بين {FORMULA1} و{FORMULA2}",
|
|
35
34
|
legal: "يجب أن تكون القيمة من نوع قانوني {TYPE}"
|
|
36
|
-
},
|
|
37
|
-
date: {
|
|
38
|
-
operators: {
|
|
39
|
-
between: "بين",
|
|
40
|
-
greaterThan: "بعد",
|
|
41
|
-
greaterThanOrEqual: "في أو بعد",
|
|
42
|
-
lessThan: "قبل",
|
|
43
|
-
lessThanOrEqual: "في أو قبل",
|
|
44
|
-
equal: "يساوي",
|
|
45
|
-
notEqual: "لا يساوي",
|
|
46
|
-
notBetween: "ليس بين",
|
|
47
|
-
legal: "تاريخ قانوني"
|
|
48
|
-
},
|
|
49
|
-
ruleName: {
|
|
50
|
-
between: "بين {FORMULA1} و{FORMULA2}",
|
|
51
|
-
greaterThan: "بعد {FORMULA1}",
|
|
52
|
-
greaterThanOrEqual: "في أو بعد {FORMULA1}",
|
|
53
|
-
lessThan: "قبل {FORMULA1}",
|
|
54
|
-
lessThanOrEqual: "في أو قبل {FORMULA1}",
|
|
55
|
-
equal: "في {FORMULA1}",
|
|
56
|
-
notEqual: "ليس في {FORMULA1}",
|
|
57
|
-
notBetween: "ليس بين {FORMULA1} و{FORMULA2}",
|
|
58
|
-
legal: "تاريخ قانوني"
|
|
59
|
-
},
|
|
60
|
-
errorMsg: {
|
|
61
|
-
between: "يجب أن تكون القيمة تاريخًا قانونيًا وبين {FORMULA1} و{FORMULA2}",
|
|
62
|
-
greaterThan: "يجب أن تكون القيمة تاريخًا قانونيًا وبعد {FORMULA1}",
|
|
63
|
-
greaterThanOrEqual: "يجب أن تكون القيمة تاريخًا قانونيًا وفي أو بعد {FORMULA1}",
|
|
64
|
-
lessThan: "يجب أن تكون القيمة تاريخًا قانونيًا وقبل {FORMULA1}",
|
|
65
|
-
lessThanOrEqual: "يجب أن تكون القيمة تاريخًا قانونيًا وفي أو قبل {FORMULA1}",
|
|
66
|
-
equal: "يجب أن تكون القيمة تاريخًا قانونيًا وفي {FORMULA1}",
|
|
67
|
-
notEqual: "يجب أن تكون القيمة تاريخًا قانونيًا وليس في {FORMULA1}",
|
|
68
|
-
notBetween: "يجب أن تكون القيمة تاريخًا قانونيًا وليس بين {FORMULA1} و{FORMULA2}",
|
|
69
|
-
legal: "يجب أن تكون القيمة تاريخًا قانونيًا"
|
|
70
|
-
},
|
|
71
|
-
title: "تاريخ"
|
|
72
|
-
},
|
|
73
|
-
textLength: {
|
|
74
|
-
errorMsg: {
|
|
75
|
-
between: "يجب أن يكون طول النص بين {FORMULA1} و{FORMULA2}",
|
|
76
|
-
greaterThan: "يجب أن يكون طول النص أكبر من {FORMULA1}",
|
|
77
|
-
greaterThanOrEqual: "يجب أن يكون طول النص أكبر من أو يساوي {FORMULA1}",
|
|
78
|
-
lessThan: "يجب أن يكون طول النص أقل من {FORMULA1}",
|
|
79
|
-
lessThanOrEqual: "يجب أن يكون طول النص أقل من أو يساوي {FORMULA1}",
|
|
80
|
-
equal: "يجب أن يكون طول النص يساوي {FORMULA1}",
|
|
81
|
-
notEqual: "يجب ألا يكون طول النص يساوي {FORMULA1}",
|
|
82
|
-
notBetween: "يجب ألا يكون طول النص بين {FORMULA1} و{FORMULA2}"
|
|
83
|
-
},
|
|
84
|
-
title: "طول النص"
|
|
85
|
-
},
|
|
86
|
-
custom: {
|
|
87
|
-
ruleName: "الصيغة المخصصة هي {FORMULA1}",
|
|
88
|
-
title: "صيغة مخصصة",
|
|
89
|
-
validFail: "يرجى إدخال صيغة صالحة",
|
|
90
|
-
error: "محتويات هذه الخلية تنتهك قاعدة التحقق"
|
|
91
|
-
},
|
|
92
|
-
validFail: {
|
|
93
|
-
value: "يرجى إدخال قيمة",
|
|
94
|
-
common: "يرجى إدخال قيمة أو صيغة",
|
|
95
|
-
number: "يرجى إدخال رقم أو صيغة",
|
|
96
|
-
formula: "يرجى إدخال صيغة",
|
|
97
|
-
integer: "يرجى إدخال عدد صحيح أو صيغة",
|
|
98
|
-
date: "يرجى إدخال تاريخ أو صيغة",
|
|
99
|
-
list: "يرجى إدخال خيارات",
|
|
100
|
-
listInvalid: "يجب أن يكون مصدر القائمة قائمة محددة بفواصل أو مرجعًا لصف أو عمود واحد",
|
|
101
|
-
checkboxEqual: "أدخل قيمًا مختلفة لمحتويات الخلية المحددة وغير المحددة.",
|
|
102
|
-
formulaError: "يحتوي نطاق المرجع على بيانات غير مرئية، يرجى إعادة ضبط النطاق",
|
|
103
|
-
listIntersects: "لا يمكن أن يتقاطع النطاق المحدد مع نطاق القواعد",
|
|
104
|
-
primitive: "غير مسموح بالصيغ لقيم المحدد وغير المحدد المخصصة."
|
|
105
|
-
},
|
|
106
|
-
any: {
|
|
107
|
-
title: "أي قيمة",
|
|
108
|
-
error: "محتوى هذه الخلية ينتهك قاعدة التحقق"
|
|
109
|
-
},
|
|
110
|
-
list: {
|
|
111
|
-
title: "قائمة منسدلة",
|
|
112
|
-
name: "القيمة تحتوي على واحدة من النطاق",
|
|
113
|
-
error: "يجب أن يكون الإدخال ضمن النطاق المحدد",
|
|
114
|
-
emptyError: "يرجى إدخال قيمة",
|
|
115
|
-
add: "إضافة",
|
|
116
|
-
dropdown: "تحديد",
|
|
117
|
-
options: "خيارات",
|
|
118
|
-
customOptions: "مخصص",
|
|
119
|
-
refOptions: "من نطاق",
|
|
120
|
-
formulaError: "يجب أن يكون مصدر القائمة قائمة بيانات محددة بفواصل، أو مرجعًا لصف أو عمود واحد.",
|
|
121
|
-
edit: "تحرير"
|
|
122
|
-
},
|
|
123
|
-
listMultiple: {
|
|
124
|
-
title: "قائمة منسدلة - متعددة",
|
|
125
|
-
dropdown: "تحديد متعدد"
|
|
126
|
-
},
|
|
127
|
-
decimal: { title: "رقم" },
|
|
128
|
-
whole: { title: "عدد صحيح" },
|
|
129
|
-
checkbox: {
|
|
130
|
-
title: "خانة اختيار",
|
|
131
|
-
error: "محتويات هذه الخلية تنتهك قاعدة التحقق",
|
|
132
|
-
tips: "استخدم قيمًا مخصصة داخل الخلايا",
|
|
133
|
-
checked: "القيمة المحددة",
|
|
134
|
-
unchecked: "القيمة غير المحددة"
|
|
135
35
|
}
|
|
136
36
|
} };
|
|
137
37
|
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -9,8 +9,7 @@ const locale = { "data-validation": {
|
|
|
9
9
|
lessThanOrEqual: "menys o igual que",
|
|
10
10
|
equal: "igual",
|
|
11
11
|
notEqual: "no igual",
|
|
12
|
-
notBetween: "no entre"
|
|
13
|
-
legal: "és tipus legal"
|
|
12
|
+
notBetween: "no entre"
|
|
14
13
|
},
|
|
15
14
|
ruleName: {
|
|
16
15
|
between: "Està entre {FORMULA1} i {FORMULA2}",
|
|
@@ -33,105 +32,6 @@ const locale = { "data-validation": {
|
|
|
33
32
|
notEqual: "El valor no ha de ser igual a {FORMULA1}",
|
|
34
33
|
notBetween: "El valor no ha d’estar entre {FORMULA1} i {FORMULA2}",
|
|
35
34
|
legal: "El valor ha de ser un {TYPE} legal"
|
|
36
|
-
},
|
|
37
|
-
date: {
|
|
38
|
-
operators: {
|
|
39
|
-
between: "entre",
|
|
40
|
-
greaterThan: "després de",
|
|
41
|
-
greaterThanOrEqual: "en o després de",
|
|
42
|
-
lessThan: "abans de",
|
|
43
|
-
lessThanOrEqual: "en o abans de",
|
|
44
|
-
equal: "igual",
|
|
45
|
-
notEqual: "no igual",
|
|
46
|
-
notBetween: "no entre",
|
|
47
|
-
legal: "és una data legal"
|
|
48
|
-
},
|
|
49
|
-
ruleName: {
|
|
50
|
-
between: "està entre {FORMULA1} i {FORMULA2}",
|
|
51
|
-
greaterThan: "és després de {FORMULA1}",
|
|
52
|
-
greaterThanOrEqual: "és en o després de {FORMULA1}",
|
|
53
|
-
lessThan: "és abans de {FORMULA1}",
|
|
54
|
-
lessThanOrEqual: "és en o abans de {FORMULA1}",
|
|
55
|
-
equal: "és {FORMULA1}",
|
|
56
|
-
notEqual: "no és {FORMULA1}",
|
|
57
|
-
notBetween: "no està entre {FORMULA1} i {FORMULA2}",
|
|
58
|
-
legal: "és una data legal"
|
|
59
|
-
},
|
|
60
|
-
errorMsg: {
|
|
61
|
-
between: "El valor ha de ser una data legal i estar entre {FORMULA1} i {FORMULA2}",
|
|
62
|
-
greaterThan: "El valor ha de ser una data legal i després de {FORMULA1}",
|
|
63
|
-
greaterThanOrEqual: "El valor ha de ser una data legal i en o després de {FORMULA1}",
|
|
64
|
-
lessThan: "El valor ha de ser una data legal i abans de {FORMULA1}",
|
|
65
|
-
lessThanOrEqual: "El valor ha de ser una data legal i en o abans de {FORMULA1}",
|
|
66
|
-
equal: "El valor ha de ser una data legal i {FORMULA1}",
|
|
67
|
-
notEqual: "El valor ha de ser una data legal i no {FORMULA1}",
|
|
68
|
-
notBetween: "El valor ha de ser una data legal i no estar entre {FORMULA1} i {FORMULA2}",
|
|
69
|
-
legal: "El valor ha de ser una data legal"
|
|
70
|
-
},
|
|
71
|
-
title: "Data"
|
|
72
|
-
},
|
|
73
|
-
textLength: {
|
|
74
|
-
errorMsg: {
|
|
75
|
-
between: "La longitud del text ha d’estar entre {FORMULA1} i {FORMULA2}",
|
|
76
|
-
greaterThan: "La longitud del text ha de ser més gran que {FORMULA1}",
|
|
77
|
-
greaterThanOrEqual: "La longitud del text ha de ser més gran o igual que {FORMULA1}",
|
|
78
|
-
lessThan: "La longitud del text ha de ser menys que {FORMULA1}",
|
|
79
|
-
lessThanOrEqual: "La longitud del text ha de ser menys o igual que {FORMULA1}",
|
|
80
|
-
equal: "La longitud del text ha de ser {FORMULA1}",
|
|
81
|
-
notEqual: "La longitud del text no ha de ser {FORMULA1}",
|
|
82
|
-
notBetween: "La longitud del text no ha d’estar entre {FORMULA1} i {FORMULA2}"
|
|
83
|
-
},
|
|
84
|
-
title: "Longitud del text"
|
|
85
|
-
},
|
|
86
|
-
custom: {
|
|
87
|
-
ruleName: "La fórmula personalitzada és {FORMULA1}",
|
|
88
|
-
title: "Fórmula personalitzada",
|
|
89
|
-
validFail: "Si us plau, introdueix una fórmula vàlida",
|
|
90
|
-
error: "El contingut d’aquesta cel·la incompleix la seva regla de validació"
|
|
91
|
-
},
|
|
92
|
-
validFail: {
|
|
93
|
-
value: "Si us plau, introdueix un valor",
|
|
94
|
-
common: "Si us plau, introdueix un valor o una fórmula",
|
|
95
|
-
number: "Si us plau, introdueix un número o una fórmula",
|
|
96
|
-
formula: "Si us plau, introdueix una fórmula",
|
|
97
|
-
integer: "Si us plau, introdueix un enter o una fórmula",
|
|
98
|
-
date: "Si us plau, introdueix una data o una fórmula",
|
|
99
|
-
list: "Si us plau, introdueix opcions",
|
|
100
|
-
listInvalid: "La font de la llista ha de ser una llista delimitada o una referència a una sola fila o columna",
|
|
101
|
-
checkboxEqual: "Introdueix valors diferents per als continguts de cel·la marcats i desmarcats.",
|
|
102
|
-
formulaError: "L’interval de referència conté dades invisibles, ajusta l’interval",
|
|
103
|
-
listIntersects: "L’interval seleccionat no pot creuar-se amb l’àmbit de les regles",
|
|
104
|
-
primitive: "No es permeten fórmules per a valors personalitzats marcats i desmarcats."
|
|
105
|
-
},
|
|
106
|
-
any: {
|
|
107
|
-
title: "Qualsevol valor",
|
|
108
|
-
error: "El contingut d’aquesta cel·la incompleix la regla de validació"
|
|
109
|
-
},
|
|
110
|
-
list: {
|
|
111
|
-
title: "Desplegable",
|
|
112
|
-
name: "El valor conté un del rang",
|
|
113
|
-
error: "L’entrada ha d’estar dins del rang especificat",
|
|
114
|
-
emptyError: "Si us plau, introdueix un valor",
|
|
115
|
-
add: "Afegeix",
|
|
116
|
-
dropdown: "Selecciona",
|
|
117
|
-
options: "Opcions",
|
|
118
|
-
customOptions: "Personalitzat",
|
|
119
|
-
refOptions: "D’un interval",
|
|
120
|
-
formulaError: "La font de la llista ha de ser una llista delimitada de dades o una referència a una sola fila o columna.",
|
|
121
|
-
edit: "Edita"
|
|
122
|
-
},
|
|
123
|
-
listMultiple: {
|
|
124
|
-
title: "Desplegable-múltiple",
|
|
125
|
-
dropdown: "Selecció múltiple"
|
|
126
|
-
},
|
|
127
|
-
decimal: { title: "Número" },
|
|
128
|
-
whole: { title: "Enter" },
|
|
129
|
-
checkbox: {
|
|
130
|
-
title: "Casella de selecció",
|
|
131
|
-
error: "El contingut d’aquesta cel·la incompleix la seva regla de validació",
|
|
132
|
-
tips: "Utilitza valors personalitzats dins de les cel·les",
|
|
133
|
-
checked: "Valor seleccionat",
|
|
134
|
-
unchecked: "Valor no seleccionat"
|
|
135
35
|
}
|
|
136
36
|
} };
|
|
137
37
|
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -9,8 +9,7 @@ const locale = { "data-validation": {
|
|
|
9
9
|
lessThanOrEqual: "kleiner als oder gleich",
|
|
10
10
|
equal: "gleich",
|
|
11
11
|
notEqual: "ungleich",
|
|
12
|
-
notBetween: "nicht zwischen"
|
|
13
|
-
legal: "ist gültiger Typ"
|
|
12
|
+
notBetween: "nicht zwischen"
|
|
14
13
|
},
|
|
15
14
|
ruleName: {
|
|
16
15
|
between: "Ist zwischen {FORMULA1} und {FORMULA2}",
|
|
@@ -33,105 +32,6 @@ const locale = { "data-validation": {
|
|
|
33
32
|
notEqual: "Wert muss ungleich {FORMULA1} sein",
|
|
34
33
|
notBetween: "Wert muss nicht zwischen {FORMULA1} und {FORMULA2} liegen",
|
|
35
34
|
legal: "Wert muss ein gültiger {TYPE} sein"
|
|
36
|
-
},
|
|
37
|
-
date: {
|
|
38
|
-
operators: {
|
|
39
|
-
between: "zwischen",
|
|
40
|
-
greaterThan: "nach",
|
|
41
|
-
greaterThanOrEqual: "am oder nach",
|
|
42
|
-
lessThan: "vor",
|
|
43
|
-
lessThanOrEqual: "am oder vor",
|
|
44
|
-
equal: "gleich",
|
|
45
|
-
notEqual: "ungleich",
|
|
46
|
-
notBetween: "nicht zwischen",
|
|
47
|
-
legal: "ist ein gültiges Datum"
|
|
48
|
-
},
|
|
49
|
-
ruleName: {
|
|
50
|
-
between: "ist zwischen {FORMULA1} und {FORMULA2}",
|
|
51
|
-
greaterThan: "ist nach {FORMULA1}",
|
|
52
|
-
greaterThanOrEqual: "ist am oder nach {FORMULA1}",
|
|
53
|
-
lessThan: "ist vor {FORMULA1}",
|
|
54
|
-
lessThanOrEqual: "ist am oder vor {FORMULA1}",
|
|
55
|
-
equal: "ist {FORMULA1}",
|
|
56
|
-
notEqual: "ist nicht {FORMULA1}",
|
|
57
|
-
notBetween: "ist nicht zwischen {FORMULA1} und {FORMULA2}",
|
|
58
|
-
legal: "ist ein gültiges Datum"
|
|
59
|
-
},
|
|
60
|
-
errorMsg: {
|
|
61
|
-
between: "Wert muss ein gültiges Datum sein und zwischen {FORMULA1} und {FORMULA2} liegen",
|
|
62
|
-
greaterThan: "Wert muss ein gültiges Datum sein und nach {FORMULA1} liegen",
|
|
63
|
-
greaterThanOrEqual: "Wert muss ein gültiges Datum sein und am oder nach {FORMULA1} liegen",
|
|
64
|
-
lessThan: "Wert muss ein gültiges Datum sein und vor {FORMULA1} liegen",
|
|
65
|
-
lessThanOrEqual: "Wert muss ein gültiges Datum sein und am oder vor {FORMULA1} liegen",
|
|
66
|
-
equal: "Wert muss ein gültiges Datum sein und {FORMULA1} entsprechen",
|
|
67
|
-
notEqual: "Wert muss ein gültiges Datum sein und nicht {FORMULA1} entsprechen",
|
|
68
|
-
notBetween: "Wert muss ein gültiges Datum sein und nicht zwischen {FORMULA1} und {FORMULA2} liegen",
|
|
69
|
-
legal: "Wert muss ein gültiges Datum sein"
|
|
70
|
-
},
|
|
71
|
-
title: "Datum"
|
|
72
|
-
},
|
|
73
|
-
textLength: {
|
|
74
|
-
errorMsg: {
|
|
75
|
-
between: "Textlänge muss zwischen {FORMULA1} und {FORMULA2} liegen",
|
|
76
|
-
greaterThan: "Textlänge muss größer als {FORMULA1} sein",
|
|
77
|
-
greaterThanOrEqual: "Textlänge muss größer als oder gleich {FORMULA1} sein",
|
|
78
|
-
lessThan: "Textlänge muss kleiner als {FORMULA1} sein",
|
|
79
|
-
lessThanOrEqual: "Textlänge muss kleiner als oder gleich {FORMULA1} sein",
|
|
80
|
-
equal: "Textlänge muss {FORMULA1} sein",
|
|
81
|
-
notEqual: "Textlänge muss ungleich {FORMULA1} sein",
|
|
82
|
-
notBetween: "Textlänge muss nicht zwischen {FORMULA1} und {FORMULA2} liegen"
|
|
83
|
-
},
|
|
84
|
-
title: "Textlänge"
|
|
85
|
-
},
|
|
86
|
-
custom: {
|
|
87
|
-
ruleName: "Benutzerdefinierte Formel ist {FORMULA1}",
|
|
88
|
-
title: "Benutzerdefinierte Formel",
|
|
89
|
-
validFail: "Bitte geben Sie eine gültige Formel ein",
|
|
90
|
-
error: "Der Inhalt dieser Zelle verstößt gegen die Überprüfungsregel"
|
|
91
|
-
},
|
|
92
|
-
validFail: {
|
|
93
|
-
value: "Bitte geben Sie einen Wert ein",
|
|
94
|
-
common: "Bitte geben Sie einen Wert oder eine Formel ein",
|
|
95
|
-
number: "Bitte geben Sie eine Zahl oder eine Formel ein",
|
|
96
|
-
formula: "Bitte geben Sie eine Formel ein",
|
|
97
|
-
integer: "Bitte geben Sie eine ganze Zahl oder eine Formel ein",
|
|
98
|
-
date: "Bitte geben Sie ein Datum oder eine Formel ein",
|
|
99
|
-
list: "Bitte geben Sie Optionen ein",
|
|
100
|
-
listInvalid: "Die Listenquelle muss eine durch Trennzeichen getrennte Liste oder ein Bezug auf eine einzelne Zeile oder Spalte sein",
|
|
101
|
-
checkboxEqual: "Geben Sie unterschiedliche Werte für angekreuzte und nicht angekreuzte Zelleninhalte ein.",
|
|
102
|
-
formulaError: "Der Bezugsbereich enthält unsichtbare Daten, bitte passen Sie den Bereich an",
|
|
103
|
-
listIntersects: "Der ausgewählte Bereich darf sich nicht mit dem Geltungsbereich der Regeln überschneiden",
|
|
104
|
-
primitive: "Formeln sind für benutzerdefinierte angekreuzte und nicht angekreuzte Werte nicht zulässig."
|
|
105
|
-
},
|
|
106
|
-
any: {
|
|
107
|
-
title: "Beliebiger Wert",
|
|
108
|
-
error: "Der Inhalt dieser Zelle verstößt gegen die Überprüfungsregel"
|
|
109
|
-
},
|
|
110
|
-
list: {
|
|
111
|
-
title: "Dropdown",
|
|
112
|
-
name: "Wert enthält einen aus dem Bereich",
|
|
113
|
-
error: "Eingabe muss im angegebenen Bereich liegen",
|
|
114
|
-
emptyError: "Bitte geben Sie einen Wert ein",
|
|
115
|
-
add: "Hinzufügen",
|
|
116
|
-
dropdown: "Auswählen",
|
|
117
|
-
options: "Optionen",
|
|
118
|
-
customOptions: "Benutzerdefiniert",
|
|
119
|
-
refOptions: "Aus einem Bereich",
|
|
120
|
-
formulaError: "Die Listenquelle muss eine durch Trennzeichen getrennte Datenliste oder ein Bezug auf eine einzelne Zeile oder Spalte sein.",
|
|
121
|
-
edit: "Bearbeiten"
|
|
122
|
-
},
|
|
123
|
-
listMultiple: {
|
|
124
|
-
title: "Dropdown-Mehrfachauswahl",
|
|
125
|
-
dropdown: "Mehrfachauswahl"
|
|
126
|
-
},
|
|
127
|
-
decimal: { title: "Zahl" },
|
|
128
|
-
whole: { title: "Ganze Zahl" },
|
|
129
|
-
checkbox: {
|
|
130
|
-
title: "Kontrollkästchen",
|
|
131
|
-
error: "Der Inhalt dieser Zelle verstößt gegen die Überprüfungsregel",
|
|
132
|
-
tips: "Benutzerdefinierte Werte in Zellen verwenden",
|
|
133
|
-
checked: "Ausgewählter Wert",
|
|
134
|
-
unchecked: "Nicht ausgewählter Wert"
|
|
135
35
|
}
|
|
136
36
|
} };
|
|
137
37
|
|