@updog/data-editor 0.1.95 → 0.1.96
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/THIRD_PARTY_NOTICES.txt +28 -0
- package/index.d.ts +24 -1
- package/index.js +11922 -2766
- package/package.json +2 -1
package/THIRD_PARTY_NOTICES.txt
CHANGED
|
@@ -139,6 +139,34 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
139
139
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
140
140
|
SOFTWARE.
|
|
141
141
|
|
|
142
|
+
================================================================================
|
|
143
|
+
Package: libphonenumber-js
|
|
144
|
+
Version: 1.13.12
|
|
145
|
+
License: MIT
|
|
146
|
+
Homepage: https://gitlab.com/catamphetamine/libphonenumber-js#readme
|
|
147
|
+
================================================================================
|
|
148
|
+
(The MIT License)
|
|
149
|
+
|
|
150
|
+
Copyright (c) 2016 @catamphetamine <purecatamphetamine@gmail.com>
|
|
151
|
+
|
|
152
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
153
|
+
a copy of this software and associated documentation files (the
|
|
154
|
+
'Software'), to deal in the Software without restriction, including
|
|
155
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
156
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
157
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
158
|
+
the following conditions:
|
|
159
|
+
|
|
160
|
+
The above copyright notice and this permission notice shall be
|
|
161
|
+
included in all copies or substantial portions of the Software.
|
|
162
|
+
|
|
163
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
164
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
165
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
166
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
167
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
168
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
169
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
142
170
|
================================================================================
|
|
143
171
|
Package: lucide-react
|
|
144
172
|
Version: 1.31.0
|
package/index.d.ts
CHANGED
|
@@ -418,6 +418,7 @@ declare var export_default = {
|
|
|
418
418
|
invalidEmail: "Invalid email address",
|
|
419
419
|
invalidFormat: "Invalid format",
|
|
420
420
|
invalidNumber: "Invalid number",
|
|
421
|
+
invalidPhone: "Invalid phone number",
|
|
421
422
|
invalidOption: "Invalid option",
|
|
422
423
|
invalidTime: "Invalid time",
|
|
423
424
|
invalidUrl: "Invalid URL",
|
|
@@ -782,6 +783,22 @@ type EmailEditorCell = {
|
|
|
782
783
|
type UrlEditorCell = {
|
|
783
784
|
type: "url";
|
|
784
785
|
};
|
|
786
|
+
/**
|
|
787
|
+
* Phone cell. A plain text input; the column is checked against
|
|
788
|
+
* `{ type: "phone" }` even when it declares no validator. On the way in a
|
|
789
|
+
* number is read with libphonenumber and stored in E.164 (`+4915112345678`);
|
|
790
|
+
* the screen shows it spaced (`+49 1511 2345678`). What does not read as
|
|
791
|
+
* one possible number stays as it came, trimmed, and is flagged.
|
|
792
|
+
*/
|
|
793
|
+
type PhoneEditorCell = {
|
|
794
|
+
type: "phone";
|
|
795
|
+
/**
|
|
796
|
+
* ISO 3166-1 alpha-2 region a number without a country code belongs to,
|
|
797
|
+
* `"DE"`. Omitted: only numbers carrying `+` (or digits that read as
|
|
798
|
+
* `+digits`) are recognised.
|
|
799
|
+
*/
|
|
800
|
+
defaultRegion?: string;
|
|
801
|
+
};
|
|
785
802
|
/** Date picker cell. Bounds come from the column's `{ type: "date" }` validator. */
|
|
786
803
|
type DateEditorCell = {
|
|
787
804
|
type: "date";
|
|
@@ -882,6 +899,7 @@ type NumberEditorCell = {
|
|
|
882
899
|
* - `"text"` — plain text input (default).
|
|
883
900
|
* - `"email"` — plain text input; the column is checked against `{ type: "email" }`, spaces cut and the domain lower-cased on the way in.
|
|
884
901
|
* - `"url"` — plain text input; the column is checked against `{ type: "url" }`, a bare host such as `acme.com` becomes `https://acme.com` on the way in.
|
|
902
|
+
* - `"phone"` — plain text input; the column is checked against `{ type: "phone" }`, a number is stored in E.164 and shown spaced.
|
|
885
903
|
* - `"date"` — date picker; the calendar honours the column's date validator bounds.
|
|
886
904
|
* - `"time"` — plain text input for a time of day; the column is checked against `{ type: "time" }`.
|
|
887
905
|
* - `"select"` — dropdown with a fixed list of options.
|
|
@@ -891,7 +909,7 @@ type NumberEditorCell = {
|
|
|
891
909
|
* - `"number"` — number input with locale-aware formatting.
|
|
892
910
|
* - `"boolean"` — stores a real `true`/`false`; reads yes/no, 1/0, on/off and Excel's localized TRUE/FALSE.
|
|
893
911
|
*/
|
|
894
|
-
type CellEditor = TextEditorCell | EmailEditorCell | UrlEditorCell | DateEditorCell | TimeEditorCell | SelectEditorCell | MultiSelectEditorCell | CountryEditorCell | CurrencyEditorCell | NumberEditorCell | BooleanEditorCell;
|
|
912
|
+
type CellEditor = TextEditorCell | EmailEditorCell | UrlEditorCell | PhoneEditorCell | DateEditorCell | TimeEditorCell | SelectEditorCell | MultiSelectEditorCell | CountryEditorCell | CurrencyEditorCell | NumberEditorCell | BooleanEditorCell;
|
|
895
913
|
/** Dropdown filter shown in the sidebar Filters panel. */
|
|
896
914
|
type SelectColumnFilter = {
|
|
897
915
|
type: "select";
|
|
@@ -1059,6 +1077,11 @@ type BuiltInValidator = {
|
|
|
1059
1077
|
| {
|
|
1060
1078
|
type: "url";
|
|
1061
1079
|
message?: string;
|
|
1080
|
+
}
|
|
1081
|
+
/** The cell holds one possible phone number in E.164. Implicit on every phone column. */
|
|
1082
|
+
| {
|
|
1083
|
+
type: "phone";
|
|
1084
|
+
message?: string;
|
|
1062
1085
|
} | {
|
|
1063
1086
|
type: "date";
|
|
1064
1087
|
min?: string;
|