@sharadox/form-web-library 0.8.3-development.59 → 0.8.3-repository-standard.61
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.md +14 -69
- package/README.md +1 -1
- package/distribution/calling-code/index.d.ts +1 -1
- package/distribution/calling-code/index.js +1 -1
- package/package.json +3 -4
- package/source/license/english.md +76 -0
- package/{LICENCA.md → source/license/portuguese.md} +4 -4
- package/NOTICE.md +0 -9
package/LICENSE.md
CHANGED
|
@@ -1,76 +1,21 @@
|
|
|
1
|
-
# Sharadox Open Source License
|
|
1
|
+
# Licença Sharadox de Código Aberto · Sharadox Open Source License
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Direitos de autor © 2026 Micael Pires (Sharadox).\
|
|
4
|
+
Licenciado ao abrigo da Licença Sharadox de Código Aberto, versão 0.2.0.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
Copyright © 2026 Micael Pires (Sharadox).\
|
|
7
|
+
Licensed under the Sharadox Open Source License, version 0.2.0.
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
O texto em português é o original e o único vinculativo; a tradução para inglês existe apenas por conveniência.\
|
|
10
|
+
The Portuguese text is the original and the only binding one; the English translation is for convenience only.
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
- [Português (texto vinculativo)](source/license/portuguese.md)
|
|
13
|
+
- [English (translation)](source/license/english.md)
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
2. **"Licensor"** — the copyright holder identified in the copyright notice that accompanies the Work.
|
|
13
|
-
3. **"Licensee"** — any natural or legal person exercising the rights granted by this license.
|
|
14
|
-
4. **"Derivative Work"** — any work based on or incorporating the Work, in whole or in part, with or without modifications, including translations, adaptations and programs that integrate it.
|
|
15
|
-
5. **"Notice"** — the Licensor's copyright notice and the statement that the Work is licensed under this license, including its version.
|
|
16
|
-
|
|
17
|
-
## 2. Grant of rights
|
|
18
|
-
|
|
19
|
-
1. Under this license, the Licensor grants the Licensee a worldwide, royalty-free, non-exclusive license, for the whole term of copyright protection, to:
|
|
20
|
-
1. use the Work for any purpose, including commercial purposes;
|
|
21
|
-
2. reproduce the Work, in whole or in part, by any means and in any form;
|
|
22
|
-
3. modify, translate, adapt and transform the Work and create Derivative Works;
|
|
23
|
-
4. distribute, publish, communicate to the public, make available, sell and sublicense the Work and Derivative Works.
|
|
24
|
-
2. To the extent the Licensor holds patents necessarily infringed by the Work as made available by it, the Licensor also grants the Licensee, on the same terms, a license to use those patents in exercising the rights in the previous paragraph.
|
|
25
|
-
3. This license does not transfer ownership of any rights, which remain with the Licensor.
|
|
26
|
-
|
|
27
|
-
## 3. Conditions
|
|
28
|
-
|
|
29
|
-
The exercise of the rights granted is subject to the following conditions:
|
|
30
|
-
|
|
31
|
-
1. Every copy of the Work, or of substantial parts of it, and every distributed Derivative Work must include the Notice and a copy of this license or a stable link to its text.
|
|
32
|
-
2. Anyone distributing a modified version of the Work must state visibly that it has been modified and may not present it as the Licensor's original version.
|
|
33
|
-
3. The Licensee may license their own modifications under other terms, provided the part of the Work included in them remains subject to the conditions of this license.
|
|
34
|
-
|
|
35
|
-
## 4. Names and trademarks
|
|
36
|
-
|
|
37
|
-
This license grants no rights to the Licensor's name, trademarks, logos or other distinctive signs, including the name "Sharadox", except as strictly necessary to comply with the duty to include the Notice. Using them to promote or suggest the Licensor's endorsement of Derivative Works or of any products or services without prior written permission is prohibited.
|
|
38
|
-
|
|
39
|
-
## 5. Disclaimer of warranties
|
|
40
|
-
|
|
41
|
-
The Work is provided "as is" and "as available", without any warranty, express or implied, including in particular warranties of merchantability, fitness for a particular purpose, absence of errors or non-infringement of third-party rights, to the maximum extent permitted by applicable law.
|
|
42
|
-
|
|
43
|
-
## 6. Limitation of liability
|
|
44
|
-
|
|
45
|
-
1. To the maximum extent permitted by applicable law, the Licensor is not liable for any damages, direct or indirect, including loss of profits, loss of data or business interruption, arising from the use of or inability to use the Work, even if advised of the possibility of such damages.
|
|
46
|
-
2. Nothing in this license excludes or limits the Licensor's liability where such exclusion or limitation is not permitted by law, in particular for acts committed with intent or gross negligence, under article 809 and article 800(2) of the Portuguese Civil Code, nor does it affect rights that the law mandatorily grants to consumers.
|
|
47
|
-
|
|
48
|
-
## 7. Termination
|
|
49
|
-
|
|
50
|
-
1. The rights granted by this license terminate automatically if the Licensee breaches any of its conditions.
|
|
51
|
-
2. The rights are reinstated if the breach is remedied within 30 days of the Licensee becoming aware of it, unless the Licensor has meanwhile objected in writing.
|
|
52
|
-
3. Termination does not affect licenses validly granted by the Licensee to third parties who comply with this license.
|
|
53
|
-
|
|
54
|
-
## 8. Governing law and jurisdiction
|
|
55
|
-
|
|
56
|
-
1. This license is governed by Portuguese law, in particular the Code of Copyright and Related Rights, approved by Decree-Law no. 63/85 of 14 March, and Decree-Law no. 252/94 of 20 October on the legal protection of computer programs.
|
|
57
|
-
2. The Judicial Court of the District of Faro has jurisdiction over any dispute arising from this license, without prejudice to applicable mandatory rules of jurisdiction, in particular those protecting consumers.
|
|
58
|
-
|
|
59
|
-
## 9. License versions
|
|
60
|
-
|
|
61
|
-
The Licensor may publish new versions of this license, identified by a version number. The Work is subject to the version stated in the Notice. If the Notice allows it, the Licensee may choose any later version.
|
|
62
|
-
|
|
63
|
-
## 10. Final provisions
|
|
64
|
-
|
|
65
|
-
1. If any provision of this license is held invalid or unenforceable, the remaining provisions stay in force, and the affected provision shall be interpreted as closely as possible to its original intent.
|
|
66
|
-
2. Failure to enforce any provision of this license at any time does not waive the right to enforce it later.
|
|
67
|
-
|
|
68
|
-
## How to apply this license
|
|
15
|
+
https://github.com/Sharadox/sharadox-open-source-license
|
|
69
16
|
|
|
70
|
-
|
|
17
|
+
## Avisos de terceiros · Third-party notices
|
|
71
18
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
https://github.com/Sharadox/sharadox-open-source-license
|
|
76
|
-
```
|
|
19
|
+
Os indicativos internacionais (`source/calling-code`) vêm dos metadados da libphonenumber, da Google, sob a licença Apache 2.0:
|
|
20
|
+
The international calling codes (`source/calling-code`) come from Google's libphonenumber metadata, under the Apache License 2.0:
|
|
21
|
+
https://github.com/google/libphonenumber · https://www.apache.org/licenses/LICENSE-2.0
|
package/README.md
CHANGED
|
@@ -101,4 +101,4 @@ The email server comes from `EMAIL_SERVER_*` and `EMAIL_SENDER_ADDRESS`.
|
|
|
101
101
|
|
|
102
102
|
## License
|
|
103
103
|
|
|
104
|
-
Licença Sharadox de Código Aberto, versão 0.
|
|
104
|
+
Licença Sharadox de Código Aberto (Sharadox Open Source License), versão 0.2.0. See [LICENSE.md](LICENSE.md): the [Portuguese text](source/license/portuguese.md) is the binding one, the [English translation](source/license/english.md) is for convenience.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Every country's international calling code (digits after the "+"), by ISO 3166-1 alpha-2 code. Countries sharing
|
|
3
3
|
* a code (the United States, Canada and the Caribbean share 1) each have it. From libphonenumber's metadata (Apache
|
|
4
|
-
* 2.0, see
|
|
4
|
+
* 2.0, see LICENSE.md).
|
|
5
5
|
*/
|
|
6
6
|
export declare const CALLING_CODES: {
|
|
7
7
|
readonly AC: "247";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Every country's international calling code (digits after the "+"), by ISO 3166-1 alpha-2 code. Countries sharing
|
|
3
3
|
* a code (the United States, Canada and the Caribbean share 1) each have it. From libphonenumber's metadata (Apache
|
|
4
|
-
* 2.0, see
|
|
4
|
+
* 2.0, see LICENSE.md).
|
|
5
5
|
*/
|
|
6
6
|
export const CALLING_CODES = {
|
|
7
7
|
AC: "247",
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/form-web-library",
|
|
3
|
-
"version": "0.8.3-
|
|
3
|
+
"version": "0.8.3-repository-standard.61",
|
|
4
4
|
"description": "Forms: a phone field with every country's flag and calling code, and on the server field reading, honeypot and fill-time bot checks, rate limiting and a contact form action that emails messages with the visitor as reply-to.",
|
|
5
5
|
"private": false,
|
|
6
|
-
"license": "SEE LICENSE IN
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
7
7
|
"author": "Sharadox <contact@sharadox.com>",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -22,9 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"distribution",
|
|
25
|
-
"LICENCA.md",
|
|
26
25
|
"LICENSE.md",
|
|
27
|
-
"
|
|
26
|
+
"source/license",
|
|
28
27
|
"llms.txt",
|
|
29
28
|
"CHANGELOG.md"
|
|
30
29
|
],
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Sharadox Open Source License
|
|
2
|
+
|
|
3
|
+
Version 0.2.0
|
|
4
|
+
|
|
5
|
+
This English translation is provided for convenience only. The Portuguese text is the only original and binding text of this license; if the two differ, the Portuguese text prevails.
|
|
6
|
+
|
|
7
|
+
## 1. Definitions
|
|
8
|
+
|
|
9
|
+
For the purposes of this license:
|
|
10
|
+
|
|
11
|
+
1. **"Work"** — the computer program, its documentation and any other content made available by the Licensor under this license, in source code or in any other form.
|
|
12
|
+
2. **"Licensor"** — the copyright holder identified in the copyright notice that accompanies the Work.
|
|
13
|
+
3. **"Licensee"** — any natural or legal person exercising the rights granted by this license.
|
|
14
|
+
4. **"Derivative Work"** — any work based on or incorporating the Work, in whole or in part, with or without modifications, including translations, adaptations and programs that integrate it.
|
|
15
|
+
5. **"Notice"** — the Licensor's copyright notice and the statement that the Work is licensed under this license, including its version.
|
|
16
|
+
|
|
17
|
+
## 2. Grant of rights
|
|
18
|
+
|
|
19
|
+
1. Under this license, the Licensor grants the Licensee a worldwide, royalty-free, non-exclusive license, for the whole term of copyright protection, to:
|
|
20
|
+
1. use the Work for any purpose, including commercial purposes;
|
|
21
|
+
2. reproduce the Work, in whole or in part, by any means and in any form;
|
|
22
|
+
3. modify, translate, adapt and transform the Work and create Derivative Works;
|
|
23
|
+
4. distribute, publish, communicate to the public, make available, sell and sublicense the Work and Derivative Works.
|
|
24
|
+
2. To the extent the Licensor holds patents necessarily infringed by the Work as made available by it, the Licensor also grants the Licensee, on the same terms, a license to use those patents in exercising the rights in the previous paragraph.
|
|
25
|
+
3. This license does not transfer ownership of any rights, which remain with the Licensor.
|
|
26
|
+
|
|
27
|
+
## 3. Conditions
|
|
28
|
+
|
|
29
|
+
The exercise of the rights granted is subject to the following conditions:
|
|
30
|
+
|
|
31
|
+
1. Every copy of the Work, or of substantial parts of it, and every distributed Derivative Work must include the Notice and a copy of this license or a stable link to its text.
|
|
32
|
+
2. Anyone distributing a modified version of the Work must state visibly that it has been modified and may not present it as the Licensor's original version.
|
|
33
|
+
3. The Licensee may license their own modifications under other terms, provided the part of the Work included in them remains subject to the conditions of this license.
|
|
34
|
+
|
|
35
|
+
## 4. Names and trademarks
|
|
36
|
+
|
|
37
|
+
This license grants no rights to the Licensor's name, trademarks, logos or other distinctive signs, including the name "Sharadox", except as strictly necessary to comply with the duty to include the Notice. Using them to promote or suggest the Licensor's endorsement of Derivative Works or of any products or services without prior written permission is prohibited.
|
|
38
|
+
|
|
39
|
+
## 5. Disclaimer of warranties
|
|
40
|
+
|
|
41
|
+
The Work is provided "as is" and "as available", without any warranty, express or implied, including in particular warranties of merchantability, fitness for a particular purpose, absence of errors or non-infringement of third-party rights, to the maximum extent permitted by applicable law.
|
|
42
|
+
|
|
43
|
+
## 6. Limitation of liability
|
|
44
|
+
|
|
45
|
+
1. To the maximum extent permitted by applicable law, the Licensor is not liable for any damages, direct or indirect, including loss of profits, loss of data or business interruption, arising from the use of or inability to use the Work, even if advised of the possibility of such damages.
|
|
46
|
+
2. Nothing in this license excludes or limits the Licensor's liability where such exclusion or limitation is not permitted by law, in particular for acts committed with intent or gross negligence, under article 809 and article 800(2) of the Portuguese Civil Code, nor does it affect rights that the law mandatorily grants to consumers.
|
|
47
|
+
|
|
48
|
+
## 7. Termination
|
|
49
|
+
|
|
50
|
+
1. The rights granted by this license terminate automatically if the Licensee breaches any of its conditions.
|
|
51
|
+
2. The rights are reinstated if the breach is remedied within 30 days of the Licensee becoming aware of it, unless the Licensor has meanwhile objected in writing.
|
|
52
|
+
3. Termination does not affect licenses validly granted by the Licensee to third parties who comply with this license.
|
|
53
|
+
|
|
54
|
+
## 8. Governing law and jurisdiction
|
|
55
|
+
|
|
56
|
+
1. This license is governed by Portuguese law, in particular the Code of Copyright and Related Rights, approved by Decree-Law no. 63/85 of 14 March, and Decree-Law no. 252/94 of 20 October on the legal protection of computer programs.
|
|
57
|
+
2. The Judicial Court of the District of Faro has jurisdiction over any dispute arising from this license, without prejudice to applicable mandatory rules of jurisdiction, in particular those protecting consumers.
|
|
58
|
+
|
|
59
|
+
## 9. License versions
|
|
60
|
+
|
|
61
|
+
The Licensor may publish new versions of this license, identified by a version number. The Work is subject to the version stated in the Notice. If the Notice allows it, the Licensee may choose any later version.
|
|
62
|
+
|
|
63
|
+
## 10. Final provisions
|
|
64
|
+
|
|
65
|
+
1. If any provision of this license is held invalid or unenforceable, the remaining provisions stay in force, and the affected provision shall be interpreted as closely as possible to its original intent.
|
|
66
|
+
2. Failure to enforce any provision of this license at any time does not waive the right to enforce it later.
|
|
67
|
+
|
|
68
|
+
## How to apply this license
|
|
69
|
+
|
|
70
|
+
Put at the root of the Work a `LICENSE.md` file with the Notice, filling in the year and holder, a statement that the Portuguese text is the only binding one, and links to the Portuguese text (`source/license/portuguese.md`) and to this translation (`source/license/english.md`), kept in the Work:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
Direitos de autor © <ano> <titular>.
|
|
74
|
+
Licenciado ao abrigo da Licença Sharadox de Código Aberto, versão 0.2.0.
|
|
75
|
+
https://github.com/Sharadox/sharadox-open-source-license
|
|
76
|
+
```
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Licença Sharadox de Código Aberto
|
|
2
2
|
|
|
3
|
-
Versão 0.
|
|
3
|
+
Versão 0.2.0
|
|
4
4
|
|
|
5
|
-
O texto em língua portuguesa é o único texto original e vinculativo desta licença. A tradução para inglês
|
|
5
|
+
O texto em língua portuguesa é o único texto original e vinculativo desta licença. A tradução para inglês existe apenas por conveniência; em caso de divergência prevalece o texto em português.
|
|
6
6
|
|
|
7
7
|
## 1. Definições
|
|
8
8
|
|
|
@@ -67,10 +67,10 @@ O Licenciante pode publicar novas versões desta licença, identificadas por um
|
|
|
67
67
|
|
|
68
68
|
## Como aplicar esta licença
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
Coloque na raiz da Obra um ficheiro `LICENSE.md` com o Aviso, preenchendo o ano e o titular, a indicação de que o texto em português é o único vinculativo e ligações para este texto (`source/license/portuguese.md`) e para a sua tradução para inglês (`source/license/english.md`), guardados na Obra:
|
|
71
71
|
|
|
72
72
|
```
|
|
73
73
|
Direitos de autor © <ano> <titular>.
|
|
74
|
-
Licenciado ao abrigo da Licença Sharadox de Código Aberto, versão 0.
|
|
74
|
+
Licenciado ao abrigo da Licença Sharadox de Código Aberto, versão 0.2.0.
|
|
75
75
|
https://github.com/Sharadox/sharadox-open-source-license
|
|
76
76
|
```
|
package/NOTICE.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Direitos de autor © 2026 Micael Pires (Sharadox).
|
|
2
|
-
Licenciado ao abrigo da Licença Sharadox de Código Aberto, versão 0.1.0.
|
|
3
|
-
https://github.com/Sharadox/sharadox-open-source-license
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
Os indicativos internacionais (`source/calling-code`) vêm dos metadados da libphonenumber, da Google, sob a licença Apache 2.0:
|
|
8
|
-
The international calling codes (`source/calling-code`) come from Google's libphonenumber metadata, under the Apache License 2.0:
|
|
9
|
-
https://github.com/google/libphonenumber · https://www.apache.org/licenses/LICENSE-2.0
|