@univerjs/sheets-data-validation 0.3.0-alpha.0 → 0.3.0-nightly.202410101606

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 (69) hide show
  1. package/README.md +2 -2
  2. package/lib/cjs/index.js +1 -9
  3. package/lib/es/index.js +1 -5568
  4. package/lib/types/commands/commands/data-validation.command.d.ts +0 -1
  5. package/lib/types/common/const.d.ts +0 -1
  6. package/lib/types/controllers/dv-ref-range.controller.d.ts +1 -1
  7. package/lib/types/controllers/dv.controller.d.ts +1 -4
  8. package/lib/types/index.d.ts +10 -4
  9. package/lib/types/plugin.d.ts +4 -5
  10. package/lib/types/utils/create.d.ts +1 -1
  11. package/lib/types/validators/checkbox-validator.d.ts +2 -5
  12. package/lib/types/validators/custom-validator.d.ts +0 -1
  13. package/lib/types/validators/date-validator.d.ts +2 -5
  14. package/lib/types/validators/decimal-validator.d.ts +1 -3
  15. package/lib/types/validators/list-multiple-validator.d.ts +0 -2
  16. package/lib/types/validators/list-validator.d.ts +2 -6
  17. package/lib/types/validators/text-length-validator.d.ts +1 -2
  18. package/lib/types/validators/whole-validator.d.ts +1 -3
  19. package/lib/umd/index.js +1 -9
  20. package/package.json +20 -33
  21. package/LICENSE +0 -176
  22. package/lib/index.css +0 -1
  23. package/lib/locale/en-US.json +0 -167
  24. package/lib/locale/ru-RU.json +0 -167
  25. package/lib/locale/vi-VN.json +0 -167
  26. package/lib/locale/zh-CN.json +0 -167
  27. package/lib/locale/zh-TW.json +0 -167
  28. package/lib/types/commands/operations/data-validation.operation.d.ts +0 -17
  29. package/lib/types/controllers/config.schema.d.ts +0 -8
  30. package/lib/types/controllers/dv-alert.controller.d.ts +0 -14
  31. package/lib/types/controllers/dv-auto-fill.controller.d.ts +0 -10
  32. package/lib/types/controllers/dv-copy-paste.controller.d.ts +0 -13
  33. package/lib/types/controllers/dv-permission.controller.d.ts +0 -9
  34. package/lib/types/controllers/dv-reject-input.controller.d.ts +0 -15
  35. package/lib/types/controllers/dv-render.controller.d.ts +0 -39
  36. package/lib/types/controllers/dv.menu.d.ts +0 -7
  37. package/lib/types/controllers/menu.schema.d.ts +0 -2
  38. package/lib/types/locale/en-US.d.ts +0 -3
  39. package/lib/types/locale/ru-RU.d.ts +0 -3
  40. package/lib/types/locale/vi-VN.d.ts +0 -3
  41. package/lib/types/locale/zh-CN.d.ts +0 -183
  42. package/lib/types/locale/zh-TW.d.ts +0 -3
  43. package/lib/types/mobile-plugin.d.ts +0 -12
  44. package/lib/types/services/data-validation-panel.service.d.ts +0 -32
  45. package/lib/types/services/dropdown-manager.service.d.ts +0 -40
  46. package/lib/types/views/date-dropdown/index.d.ts +0 -3
  47. package/lib/types/views/detail/index.d.ts +0 -2
  48. package/lib/types/views/drop-down/CellDropdown.d.ts +0 -2
  49. package/lib/types/views/drop-down/index.d.ts +0 -18
  50. package/lib/types/views/formula-input/base-formula-input.d.ts +0 -3
  51. package/lib/types/views/formula-input/checkbox-formula-input.d.ts +0 -3
  52. package/lib/types/views/formula-input/custom-formula-input.d.ts +0 -3
  53. package/lib/types/views/formula-input/formula-input.d.ts +0 -4
  54. package/lib/types/views/formula-input/index.d.ts +0 -6
  55. package/lib/types/views/formula-input/list-formula-input.d.ts +0 -3
  56. package/lib/types/views/index.d.ts +0 -20
  57. package/lib/types/views/item/index.d.ts +0 -10
  58. package/lib/types/views/list/index.d.ts +0 -2
  59. package/lib/types/views/list-dropdown/index.d.ts +0 -3
  60. package/lib/types/views/options/index.d.ts +0 -8
  61. package/lib/types/views/panel/index.d.ts +0 -2
  62. package/lib/types/views/render-mode/index.d.ts +0 -10
  63. package/lib/types/views/show-time/index.d.ts +0 -10
  64. package/lib/types/widgets/checkbox-widget.d.ts +0 -19
  65. package/lib/types/widgets/dropdown-multiple-widget.d.ts +0 -19
  66. package/lib/types/widgets/dropdown-widget.d.ts +0 -28
  67. package/lib/types/widgets/shape/dropdown.d.ts +0 -12
  68. package/lib/types/widgets/shape/index.d.ts +0 -18
  69. package/lib/types/widgets/shape/layout.d.ts +0 -37
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/sheets-data-validation",
3
- "version": "0.3.0-alpha.0",
3
+ "version": "0.3.0-nightly.202410101606",
4
4
  "private": false,
5
5
  "description": "Data validation for Univer Sheets",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -31,8 +31,7 @@
31
31
  "require": "./lib/cjs/*",
32
32
  "types": "./lib/types/index.d.ts"
33
33
  },
34
- "./lib/*": "./lib/*",
35
- "./locale/*": "./lib/locale/*.json"
34
+ "./lib/*": "./lib/*"
36
35
  },
37
36
  "main": "./lib/cjs/index.js",
38
37
  "module": "./lib/es/index.js",
@@ -47,22 +46,14 @@
47
46
  "lib"
48
47
  ],
49
48
  "peerDependencies": {
50
- "clsx": ">=2.0.0",
51
49
  "dayjs": ">=1.11.0",
52
- "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
53
50
  "rxjs": ">=7.0.0",
54
- "@univerjs/data-validation": "0.3.0-alpha.0",
55
- "@univerjs/core": "0.3.0-alpha.0",
56
- "@univerjs/design": "0.3.0-alpha.0",
57
- "@univerjs/docs-ui": "0.3.0-alpha.0",
58
- "@univerjs/docs": "0.3.0-alpha.0",
59
- "@univerjs/engine-formula": "0.3.0-alpha.0",
60
- "@univerjs/engine-render": "0.3.0-alpha.0",
61
- "@univerjs/sheets-formula": "0.3.0-alpha.0",
62
- "@univerjs/sheets-numfmt": "0.3.0-alpha.0",
63
- "@univerjs/ui": "0.3.0-alpha.0",
64
- "@univerjs/sheets": "0.3.0-alpha.0",
65
- "@univerjs/sheets-ui": "0.3.0-alpha.0"
51
+ "@univerjs/core": "0.3.0-nightly.202410101606",
52
+ "@univerjs/data-validation": "0.3.0-nightly.202410101606",
53
+ "@univerjs/engine-formula": "0.3.0-nightly.202410101606",
54
+ "@univerjs/sheets-formula": "0.3.0-nightly.202410101606",
55
+ "@univerjs/sheets": "0.3.0-nightly.202410101606",
56
+ "@univerjs/sheets-numfmt": "0.3.0-nightly.202410101606"
66
57
  },
67
58
  "dependencies": {
68
59
  "@flatten-js/interval-tree": "^1.1.3",
@@ -70,18 +61,15 @@
70
61
  "@univerjs/protocol": "0.1.39-alpha.15",
71
62
  "clsx": "^2.1.1",
72
63
  "dayjs": "^1.11.13",
73
- "@univerjs/core": "0.3.0-alpha.0",
74
- "@univerjs/data-validation": "0.3.0-alpha.0",
75
- "@univerjs/docs": "0.3.0-alpha.0",
76
- "@univerjs/design": "0.3.0-alpha.0",
77
- "@univerjs/engine-formula": "0.3.0-alpha.0",
78
- "@univerjs/engine-render": "0.3.0-alpha.0",
79
- "@univerjs/sheets": "0.3.0-alpha.0",
80
- "@univerjs/sheets-formula": "0.3.0-alpha.0",
81
- "@univerjs/sheets-ui": "0.3.0-alpha.0",
82
- "@univerjs/ui": "0.3.0-alpha.0",
83
- "@univerjs/docs-ui": "0.3.0-alpha.0",
84
- "@univerjs/sheets-numfmt": "0.3.0-alpha.0"
64
+ "@univerjs/data-validation": "0.3.0-nightly.202410101606",
65
+ "@univerjs/engine-formula": "0.3.0-nightly.202410101606",
66
+ "@univerjs/engine-render": "0.3.0-nightly.202410101606",
67
+ "@univerjs/core": "0.3.0-nightly.202410101606",
68
+ "@univerjs/design": "0.3.0-nightly.202410101606",
69
+ "@univerjs/sheets": "0.3.0-nightly.202410101606",
70
+ "@univerjs/docs": "0.3.0-nightly.202410101606",
71
+ "@univerjs/sheets-formula": "0.3.0-nightly.202410101606",
72
+ "@univerjs/sheets-numfmt": "0.3.0-nightly.202410101606"
85
73
  },
86
74
  "devDependencies": {
87
75
  "less": "^4.2.0",
@@ -90,7 +78,7 @@
90
78
  "typescript": "^5.6.2",
91
79
  "vite": "^5.4.8",
92
80
  "vitest": "^2.1.1",
93
- "@univerjs-infra/shared": "0.3.0-alpha.0"
81
+ "@univerjs-infra/shared": "0.3.0"
94
82
  },
95
83
  "univerSpace": {
96
84
  ".": {
@@ -103,8 +91,7 @@
103
91
  "require": "./lib/cjs/*",
104
92
  "types": "./lib/types/index.d.ts"
105
93
  },
106
- "./lib/*": "./lib/*",
107
- "./locale/*": "./lib/locale/*.json"
94
+ "./lib/*": "./lib/*"
108
95
  },
109
96
  "scripts": {
110
97
  "dev": "vite",
@@ -112,6 +99,6 @@
112
99
  "test:watch": "vitest",
113
100
  "coverage": "vitest run --coverage",
114
101
  "build": "tsc && vite build",
115
- "sync:cnpm": "cnpm sync"
102
+ "lint:types": "tsc --noEmit"
116
103
  }
117
104
  }
package/LICENSE DELETED
@@ -1,176 +0,0 @@
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/lib/index.css DELETED
@@ -1 +0,0 @@
1
- .univer-data-validation-formula{width:100%}.univer-data-validation-formula-and{margin-top:-4px;font-size:var(--font-size-sm);color:rgba(var(--grey-400))}.univer-data-validation-formula-list-item{display:flex;padding-bottom:2px;align-items:center}.univer-data-validation-formula-list-item-icon{font-size:16px;cursor:pointer;margin-left:4px;border-radius:4px}.univer-data-validation-formula-list-item-icon:hover{background:rgba(var(--grey-100))}.univer-data-validation-formula-list-item-drag{cursor:move}.univer-data-validation-formula-list-add{color:#274fee;font-size:13px;font-weight:400;cursor:pointer;display:flex;flex-direction:row;align-items:center;border-radius:4px;padding:4px 8px;width:fit-content}.univer-data-validation-formula-list-add svg{margin-right:4px}.univer-data-validation-formula-list-add:hover{background:#274fee0d}.univer-data-validation-formula-color-select{width:92px;margin-left:4px;margin-right:8px}.univer-data-validation-formula-color-select-panel{width:112px;display:flex;flex-direction:row;justify-content:space-between;padding:12px 4px 4px 12px;flex-wrap:wrap;box-sizing:border-box}.univer-data-validation-formula-color-select-panel .univer-data-validation-formula-color-item{margin-bottom:8px;margin-right:8px;box-sizing:border-box;cursor:pointer}.univer-data-validation-formula-color-item{border-radius:3px;border:1px solid rgba(var(--grey-400));width:16px;height:16px;box-sizing:border-box;font-size:16px}.univer-dv-date-dropdown{background:#fff;border-radius:var(--border-radius-base);box-shadow:var(--box-shadow-lg);padding:var(--padding-sm)}.univer-dv-date-dropdown-btns{display:flex;justify-content:flex-end;border-top:1px solid rgb(var(--border-color));padding-top:var(--padding-sm)}.univer-dv-list-dropdown{border-radius:var(--border-radius-lg);border:1px solid rgb(var(--border-color));background:rgba(var(--color-white));box-shadow:var(--box-shadow-base);box-sizing:border-box;padding-bottom:var(--padding-xs)}.univer-dv-list-dropdown-title{padding:var(--padding-sm) 14px;color:rgb(var(--text-color));font-size:12px;line-height:1.5;flex-shrink:0;flex-grow:0}.univer-dv-list-dropdown-list{max-height:200px}.univer-dv-list-dropdown-list-container{padding:0 var(--padding-sm)}.univer-dv-list-dropdown-selected-icon{width:16px;height:16px;font-size:16px;color:rgba(var(--blue-500));flex-shrink:0;flex-grow:0;margin-left:12px}.univer-dv-list-dropdown-item-container{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--padding-xs) 6px;border-radius:6px;margin-top:4px;cursor:pointer}.univer-dv-list-dropdown-item-container:hover{background-color:rgba(var(--grey-50))}.univer-dv-list-dropdown-item{padding:0 4px;font-size:12px;font-style:normal;font-weight:400;line-height:16px;border-radius:8px;height:16px;width:fit-content;flex:0 1 auto;text-overflow:ellipsis;overflow:hidden;color:rgba(var(--color-black));white-space:nowrap}.univer-dv-list-dropdown-split{height:1px;margin:4px 0;background:rgba(var(--grey-200));flex-shrink:0;flex-grow:0}.univer-dv-list-dropdown-edit{padding:0 var(--padding-xs);flex-shrink:0;flex-grow:0}.univer-dv-list-dropdown-edit a{padding:3px 6px;font-size:12px;line-height:1.5;cursor:pointer;border-radius:6px;display:block}.univer-dv-list-dropdown-edit a:hover{background:#f5f5f5}.univer-data-validation-options-button{cursor:pointer;margin-bottom:12px;font-size:var(--font-size-sm);color:rgba(var(--color-black));display:flex;align-items:center}.univer-data-validation-options-button-icon{font-size:8px;margin-left:4px}.univer-data-validation-detail{padding:var(--padding-base) 0}.univer-data-validation-detail-form-item{width:100%}.univer-data-validation-detail-buttons{margin-top:20px;display:flex;flex-direction:row;justify-content:flex-end}.univer-data-validation-detail-button{margin-left:12px}.univer-data-validation-item-container{border-radius:var(--border-radius-base);background-color:rgba(var(--bg-color-secondary));padding:var(--padding-sm);padding-right:36px;margin-left:-8px;margin-right:-8px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;position:relative;border-radius:6px;width:287px;overflow:hidden}.univer-data-validation-item-container:hover{background-color:rgba(var(--grey-50))}.univer-data-validation-item-title{font-size:var(--font-size-sm);color:rgba(var(--color-black));line-height:22px;font-weight:500;overflow:hidden;text-overflow:ellipsis}.univer-data-validation-item-content{color:rgba(var(--text-color-secondary));font-size:var(--font-size-xs);line-height:18px;overflow:hidden;text-overflow:ellipsis}.univer-data-validation-item-icon{position:absolute;top:19px;right:8px;width:20px;height:20px;display:flex;justify-content:center;align-items:center;border-radius:4px}.univer-data-validation-item-icon:hover{background:rgba(var(--grey-200))}.univer-data-validation-list{padding:var(--padding-base) 0}.univer-data-validation-list-buttons{margin-top:20px;display:flex;flex-direction:row;justify-content:flex-end}.univer-data-validation-list-button{margin-left:12px}
@@ -1,167 +0,0 @@
1
- {
2
- "dataValidation": {
3
- "title": "Data validation",
4
- "validFail": {
5
- "value": "Please input a value",
6
- "common": "Please input value or formula",
7
- "number": "Please input number or formula",
8
- "formula": "Please input formula",
9
- "integer": "Please input integer or formula",
10
- "date": "Please input date or formula",
11
- "list": "Please input options",
12
- "listInvalid": "The list source must be a delimited list or a reference to a single row or column",
13
- "checkboxEqual": "Enter different values for ticked and unticked cell contents.",
14
- "formulaError": "The reference range contains invisible data, please readjust the range",
15
- "listIntersects": "The selected range cannot intersect with the scope of the rules",
16
- "primitive": "Formulas are not permitted for custom ticked and unticked values."
17
- },
18
- "panel": {
19
- "title": "Data validation management",
20
- "addTitle": "Create new data validation",
21
- "removeAll": "Remove All",
22
- "add": "Add Rule",
23
- "range": "Ranges",
24
- "type": "Type",
25
- "options": "Advance options",
26
- "operator": "Operator",
27
- "removeRule": "Remove",
28
- "done": "Done",
29
- "formulaPlaceholder": "Please input value or formula",
30
- "valuePlaceholder": "Please input value",
31
- "formulaAnd": "and",
32
- "invalid": "Invalid",
33
- "showWarning": "Show warning",
34
- "rejectInput": "Reject input",
35
- "messageInfo": "Helper message",
36
- "showInfo": "Show help text for a selected cell",
37
- "rangeError": "Ranges are not legal"
38
- },
39
- "operators": {
40
- "between": "between",
41
- "greaterThan": "greater than",
42
- "greaterThanOrEqual": "greater than or equal",
43
- "lessThan": "less than",
44
- "lessThanOrEqual": "less than or equal",
45
- "equal": "equal",
46
- "notEqual": "not equal",
47
- "notBetween": "not between"
48
- },
49
- "ruleName": {
50
- "between": "is between {FORMULA1} and {FORMULA2}",
51
- "greaterThan": "is greater than {FORMULA1}",
52
- "greaterThanOrEqual": "is greater than or equal to {FORMULA1}",
53
- "lessThan": "is less than {FORMULA1}",
54
- "lessThanOrEqual": "is less than or equal to {FORMULA1}",
55
- "equal": "is equal to {FORMULA1}",
56
- "notEqual": "is not equal to {FORMULA1}",
57
- "notBetween": "is not between {FORMULA1} and {FORMULA2}"
58
- },
59
- "errorMsg": {
60
- "between": "Value must be between {FORMULA1} and {FORMULA2}",
61
- "greaterThan": "Value must be greater than {FORMULA1}",
62
- "greaterThanOrEqual": "Value must be greater than or equal to {FORMULA1}",
63
- "lessThan": "Value must be less than {FORMULA1}",
64
- "lessThanOrEqual": "Value must be less than or equal to {FORMULA1}",
65
- "equal": "Value must be equal to {FORMULA1}",
66
- "notEqual": "Value must be not equal to {FORMULA1}",
67
- "notBetween": "Value must be not between {FORMULA1} and {FORMULA2}"
68
- },
69
- "date": {
70
- "title": "Date",
71
- "operators": {
72
- "between": "between",
73
- "greaterThan": "after",
74
- "greaterThanOrEqual": "on or after",
75
- "lessThan": "before",
76
- "lessThanOrEqual": "on or before",
77
- "equal": "equal",
78
- "notEqual": "not equal",
79
- "notBetween": "not between"
80
- },
81
- "ruleName": {
82
- "between": "is between {FORMULA1} and {FORMULA2}",
83
- "greaterThan": "is after {FORMULA1}",
84
- "greaterThanOrEqual": "is on or after {FORMULA1}",
85
- "lessThan": "is before {FORMULA1}",
86
- "lessThanOrEqual": "is on or before {FORMULA1}",
87
- "equal": "is {FORMULA1}",
88
- "notEqual": "is not {FORMULA1}",
89
- "notBetween": "is not between {FORMULA1}"
90
- },
91
- "errorMsg": {
92
- "between": "Value must be a legal date and between {FORMULA1} and {FORMULA2}",
93
- "greaterThan": "Value must be a legal date and after {FORMULA1}",
94
- "greaterThanOrEqual": "Value must be a legal date and on or after {FORMULA1}",
95
- "lessThan": "Value must be a legal date and before {FORMULA1}",
96
- "lessThanOrEqual": "Value must be a legal date and on or before {FORMULA1}",
97
- "equal": "Value must be a legal date and {FORMULA1}",
98
- "notEqual": "Value must be a legal date and not {FORMULA1}",
99
- "notBetween": "Value must be a legal date and not between {FORMULA1}"
100
- }
101
- },
102
- "list": {
103
- "title": "Dropdown",
104
- "name": "Value contains one from range",
105
- "error": "Input must fall within specified range",
106
- "emptyError": "Please enter a value",
107
- "add": "Add",
108
- "dropdown": "Select",
109
- "options": "Options",
110
- "customOptions": "Custom",
111
- "refOptions": "From a range",
112
- "formulaError": "The list source must be a delimited list of data, or a reference to a single row or column.",
113
- "edit": "Edit"
114
- },
115
- "listMultiple": {
116
- "title": "Dropdown-Multiple",
117
- "dropdown": "Multiple select"
118
- },
119
- "textLength": {
120
- "title": "Text length",
121
- "errorMsg": {
122
- "between": "Text length must be between {FORMULA1} and {FORMULA2}",
123
- "greaterThan": "Text length must be after {FORMULA1}",
124
- "greaterThanOrEqual": "Text length must be on or after {FORMULA1}",
125
- "lessThan": "Text length must be before {FORMULA1}",
126
- "lessThanOrEqual": "Text length must be on or before {FORMULA1}",
127
- "equal": "Text length must be {FORMULA1}",
128
- "notEqual": "Text length must be not {FORMULA1}",
129
- "notBetween": "Text length must be not between {FORMULA1}"
130
- }
131
- },
132
- "decimal": {
133
- "title": "Number"
134
- },
135
- "whole": {
136
- "title": "Integer"
137
- },
138
- "checkbox": {
139
- "title": "Checkbox",
140
- "error": "This cell's contents violate its validation rule",
141
- "tips": "Use custom values within cells",
142
- "checked": "Selected value",
143
- "unchecked": "Unselected value"
144
- },
145
- "custom": {
146
- "title": "Custom formula",
147
- "error": "This cell's contents violate its validation rule",
148
- "validFail": "Please input a valid formula"
149
- },
150
- "alert": {
151
- "title": "Error",
152
- "ok": "OK"
153
- },
154
- "error": {
155
- "title": "Invalid:"
156
- },
157
- "renderMode": {
158
- "arrow": "Arrow",
159
- "chip": "Chip",
160
- "text": "Plain text",
161
- "label": "Display style"
162
- },
163
- "showTime": {
164
- "label": "Show TimePicker"
165
- }
166
- }
167
- }
@@ -1,167 +0,0 @@
1
- {
2
- "dataValidation": {
3
- "title": "Проверка данных",
4
- "validFail": {
5
- "value": "Пожалуйста, введите значение",
6
- "common": "Пожалуйста, введите значение или формулу",
7
- "number": "Пожалуйста, введите число или формулу",
8
- "formula": "Пожалуйста, введите формулу",
9
- "integer": "Пожалуйста, введите целое число или формулу",
10
- "date": "Пожалуйста, введите дату или формулу",
11
- "list": "Пожалуйста, введите параметры",
12
- "listInvalid": "Источник списка должен быть разделенным списком или ссылкой на одну строку или столбец",
13
- "checkboxEqual": "Для выбранных и не выбранных ячеек введите разные значения",
14
- "formulaError": "Диапазон ссылок содержит невидимые данные, пожалуйста, пересмотрите диапазон",
15
- "listIntersects": "Выбранный диапазон не может пересекаться с диапазоном правила.",
16
- "primitive": "Formulas are not permitted for custom ticked and unticked values."
17
- },
18
- "panel": {
19
- "title": "Управление проверкой данных",
20
- "addTitle": "Создать новую проверку данных",
21
- "removeAll": "Удалить все",
22
- "add": "добавить правило",
23
- "range": "Диапазоны",
24
- "rangeError": "Диапазоны не являются законными",
25
- "type": "Тип",
26
- "options": "Дополнительные параметры",
27
- "operator": "Оператор",
28
- "removeRule": "Удалить",
29
- "done": "Готово",
30
- "formulaPlaceholder": "Пожалуйста, введите значение или формулу",
31
- "valuePlaceholder": "Пожалуйста, введите значение",
32
- "formulaAnd": "и",
33
- "invalid": "Недопустимо",
34
- "showWarning": "Показать предупреждение",
35
- "rejectInput": "Отклонить ввод",
36
- "messageInfo": "Сообщение помощи",
37
- "showInfo": "Показать текст помощи для выбранной ячейки"
38
- },
39
- "operators": {
40
- "between": "между",
41
- "greaterThan": "больше чем",
42
- "greaterThanOrEqual": "больше или равно",
43
- "lessThan": "меньше чем",
44
- "lessThanOrEqual": "меньше или равно",
45
- "equal": "равно",
46
- "notEqual": "не равно",
47
- "notBetween": "не между"
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
- },
59
- "errorMsg": {
60
- "between": "Значение должно быть между {FORMULA1} и {FORMULA2}",
61
- "greaterThan": "Значение должно быть больше {FORMULA1}",
62
- "greaterThanOrEqual": "Значение должно быть больше или равно {FORMULA1}",
63
- "lessThan": "Значение должно быть меньше {FORMULA1}",
64
- "lessThanOrEqual": "Значение должно быть меньше или равно {FORMULA1}",
65
- "equal": "Значение должно быть равно {FORMULA1}",
66
- "notEqual": "Значение должно быть не равно {FORMULA1}",
67
- "notBetween": "Значение должно быть не между {FORMULA1} и {FORMULA2}"
68
- },
69
- "date": {
70
- "title": "Дата",
71
- "operators": {
72
- "between": "между",
73
- "greaterThan": "после",
74
- "greaterThanOrEqual": "в или после",
75
- "lessThan": "до",
76
- "lessThanOrEqual": "в или до",
77
- "equal": "равно",
78
- "notEqual": "не равно",
79
- "notBetween": "не между"
80
- },
81
- "ruleName": {
82
- "between": "между {FORMULA1} и {FORMULA2}",
83
- "greaterThan": "после {FORMULA1}",
84
- "greaterThanOrEqual": "в или после {FORMULA1}",
85
- "lessThan": "до {FORMULA1}",
86
- "lessThanOrEqual": "в или до {FORMULA1}",
87
- "equal": "равно {FORMULA1}",
88
- "notEqual": "не равно {FORMULA1}",
89
- "notBetween": "не между {FORMULA1}"
90
- },
91
- "errorMsg": {
92
- "between": "Значение должно быть между {FORMULA1} и {FORMULA2}",
93
- "greaterThan": "Значение должно быть после {FORMULA1}",
94
- "greaterThanOrEqual": "Значение должно быть в или после {FORMULA1}",
95
- "lessThan": "Значение должно быть до {FORMULA1}",
96
- "lessThanOrEqual": "Значение должно быть в или до {FORMULA1}",
97
- "equal": "Значение должно быть {FORMULA1}",
98
- "notEqual": "Значение должно быть не {FORMULA1}",
99
- "notBetween": "Значение должно быть не между {FORMULA1}"
100
- }
101
- },
102
- "list": {
103
- "title": "Выпадающий список",
104
- "name": "Значение содержит одно из диапазона",
105
- "error": "Ввод должен соответствовать указанному диапазону",
106
- "emptyError": "Пожалуйста, введите значение",
107
- "add": "Добавить",
108
- "dropdown": "Выбрать",
109
- "options": "Параметры",
110
- "customOptions": "Пользовательские",
111
- "refOptions": "Из диапазона",
112
- "formulaError": "Источник списка должен быть разделенным списком данных или ссылкой на одну строку или столбец.",
113
- "edit": "Редактировать"
114
- },
115
- "listMultiple": {
116
- "title": "Выпадающий список - Множественный",
117
- "dropdown": "Множественный выбор"
118
- },
119
- "textLength": {
120
- "title": "Длина текста",
121
- "errorMsg": {
122
- "between": "Длина текста должна быть между {FORMULA1} и {FORMULA2}",
123
- "greaterThan": "Длина текста должна быть больше {FORMULA1}",
124
- "greaterThanOrEqual": "Длина текста должна быть больше или равна {FORMULA1}",
125
- "lessThan": "Длина текста должна быть меньше {FORMULA1}",
126
- "lessThanOrEqual": "Длина текста должна быть меньше или равна {FORMULA1}",
127
- "equal": "Длина текста должна быть равна {FORMULA1}",
128
- "notEqual": "Длина текста должна быть не равна {FORMULA1}",
129
- "notBetween": "Длина текста должна быть не между {FORMULA1}"
130
- }
131
- },
132
- "decimal": {
133
- "title": "Число"
134
- },
135
- "whole": {
136
- "title": "Целое число"
137
- },
138
- "checkbox": {
139
- "title": "Флажок",
140
- "error": "Содержимое этой ячейки нарушает правило проверки",
141
- "tips": "Используйте пользовательские значения в ячейках",
142
- "checked": "Выбранное значение",
143
- "unchecked": "Не выбранное значение"
144
- },
145
- "custom": {
146
- "title": "Пользовательская формула",
147
- "error": "Содержимое этой ячейки нарушает правило проверки",
148
- "validFail": "Пожалуйста, введите допустимую формулу"
149
- },
150
- "alert": {
151
- "title": "Ошибка",
152
- "ok": "ОК"
153
- },
154
- "error": {
155
- "title": "Недопустимо:"
156
- },
157
- "renderMode": {
158
- "arrow": "Стрелка",
159
- "chip": "Чип",
160
- "text": "Простой текст",
161
- "label": "Стиль отображения"
162
- },
163
- "showTime": {
164
- "label": "Показать выбор времени"
165
- }
166
- }
167
- }