@updog/data-editor-wc 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 +14215 -5059
- package/package.json +1 -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
|
@@ -416,6 +416,7 @@ declare var export_default = {
|
|
|
416
416
|
invalidEmail: "Invalid email address",
|
|
417
417
|
invalidFormat: "Invalid format",
|
|
418
418
|
invalidNumber: "Invalid number",
|
|
419
|
+
invalidPhone: "Invalid phone number",
|
|
419
420
|
invalidOption: "Invalid option",
|
|
420
421
|
invalidTime: "Invalid time",
|
|
421
422
|
invalidUrl: "Invalid URL",
|
|
@@ -688,6 +689,22 @@ type EmailEditorCell = {
|
|
|
688
689
|
type UrlEditorCell = {
|
|
689
690
|
type: "url";
|
|
690
691
|
};
|
|
692
|
+
/**
|
|
693
|
+
* Phone cell. A plain text input; the column is checked against
|
|
694
|
+
* `{ type: "phone" }` even when it declares no validator. On the way in a
|
|
695
|
+
* number is read with libphonenumber and stored in E.164 (`+4915112345678`);
|
|
696
|
+
* the screen shows it spaced (`+49 1511 2345678`). What does not read as
|
|
697
|
+
* one possible number stays as it came, trimmed, and is flagged.
|
|
698
|
+
*/
|
|
699
|
+
type PhoneEditorCell = {
|
|
700
|
+
type: "phone";
|
|
701
|
+
/**
|
|
702
|
+
* ISO 3166-1 alpha-2 region a number without a country code belongs to,
|
|
703
|
+
* `"DE"`. Omitted: only numbers carrying `+` (or digits that read as
|
|
704
|
+
* `+digits`) are recognised.
|
|
705
|
+
*/
|
|
706
|
+
defaultRegion?: string;
|
|
707
|
+
};
|
|
691
708
|
/** Date picker cell. Bounds come from the column's `{ type: "date" }` validator. */
|
|
692
709
|
type DateEditorCell = {
|
|
693
710
|
type: "date";
|
|
@@ -788,6 +805,7 @@ type NumberEditorCell = {
|
|
|
788
805
|
* - `"text"` — plain text input (default).
|
|
789
806
|
* - `"email"` — plain text input; the column is checked against `{ type: "email" }`, spaces cut and the domain lower-cased on the way in.
|
|
790
807
|
* - `"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.
|
|
808
|
+
* - `"phone"` — plain text input; the column is checked against `{ type: "phone" }`, a number is stored in E.164 and shown spaced.
|
|
791
809
|
* - `"date"` — date picker; the calendar honours the column's date validator bounds.
|
|
792
810
|
* - `"time"` — plain text input for a time of day; the column is checked against `{ type: "time" }`.
|
|
793
811
|
* - `"select"` — dropdown with a fixed list of options.
|
|
@@ -797,7 +815,7 @@ type NumberEditorCell = {
|
|
|
797
815
|
* - `"number"` — number input with locale-aware formatting.
|
|
798
816
|
* - `"boolean"` — stores a real `true`/`false`; reads yes/no, 1/0, on/off and Excel's localized TRUE/FALSE.
|
|
799
817
|
*/
|
|
800
|
-
type CellEditor = TextEditorCell | EmailEditorCell | UrlEditorCell | DateEditorCell | TimeEditorCell | SelectEditorCell | MultiSelectEditorCell | CountryEditorCell | CurrencyEditorCell | NumberEditorCell | BooleanEditorCell;
|
|
818
|
+
type CellEditor = TextEditorCell | EmailEditorCell | UrlEditorCell | PhoneEditorCell | DateEditorCell | TimeEditorCell | SelectEditorCell | MultiSelectEditorCell | CountryEditorCell | CurrencyEditorCell | NumberEditorCell | BooleanEditorCell;
|
|
801
819
|
/** Dropdown filter shown in the sidebar Filters panel. */
|
|
802
820
|
type SelectColumnFilter = {
|
|
803
821
|
type: "select";
|
|
@@ -965,6 +983,11 @@ type BuiltInValidator = {
|
|
|
965
983
|
| {
|
|
966
984
|
type: "url";
|
|
967
985
|
message?: string;
|
|
986
|
+
}
|
|
987
|
+
/** The cell holds one possible phone number in E.164. Implicit on every phone column. */
|
|
988
|
+
| {
|
|
989
|
+
type: "phone";
|
|
990
|
+
message?: string;
|
|
968
991
|
} | {
|
|
969
992
|
type: "date";
|
|
970
993
|
min?: string;
|