Skip to content

Commit 9fc0e66

Browse files
committed
update license
1 parent 4b7c808 commit 9fc0e66

23 files changed

Lines changed: 76 additions & 179 deletions

README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
<div align="center">
22

3-
![Forms.js](https://formsjs.io/images/formsjs-banner.png)
3+
![Forms.js](https://github.com/form-js/forms.js/tree/master/docs/formsjs-banner.png)
44

55
</div>
66

77
<p align="center">
8-
<a href="https://formsjs.io/"><b>Website</b></a> •
9-
<a href="https://formsjs.io/documentation/v1/getting-started"><b>Documentation</b></a>
8+
<a href="https://github.com/form-js/forms.js/tree/master/docs/v1/getting-started"><b>Documentation</b></a>
109
</p>
1110

1211
<div align="center">
1312

1413
[![Npm package total downloads](https://badgen.net/npm/dt/@forms.js/core)](https://npmjs.com/package/@forms.js/core)
1514
[![Code Coverage](https://img.shields.io/badge/code_coverage-99%25-brightgreen)](https://github.com/form-js/forms.js)
1615
[![GitHub issues](https://img.shields.io/github/issues/form-js/forms.js)](https://github.com/form-js/forms.js/issues)
17-
[![License](https://img.shields.io/badge/license-3_LICENSED-green.svg)](https://formsjs.io/documentation/v1/licensing)
16+
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/form-js/forms.js/tree/master/docs/v1/licensing)
1817
[![GitHub stars](https://img.shields.io/github/stars/form-js/forms.js)](https://github.com/form-js/forms.js/stargazers)
1918
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/form-js/forms.js/pulls)
2019
[![Node.js Version](https://img.shields.io/node/v/@forms.js/core)](https://nodejs.org/en/)
21-
[![Maintenance](https://img.shields.io/maintenance/yes/2024)](https://github.com/form-js/forms.js)
2220
[![TypeScript Supported](https://img.shields.io/badge/TypeScript-Supported-blue.svg)](https://www.typescriptlang.org/)
2321

2422
</div>
@@ -27,7 +25,7 @@
2725

2826
**Forms.js** is an advanced, lightweight JavaScript library designed to ease form creation and management. Utilizing JSON for data input, it generates dynamic, user-centric forms, offering an unparalleled development experience.
2927

30-
[Get Started with Forms.js](https://formsjs.io/documentation/v1/getting-started) ⚡️
28+
[Get Started with Forms.js](https://github.com/form-js/forms.js/tree/master/docs/v1/getting-started) ⚡️
3129

3230
## Features at a Glance
3331

@@ -68,11 +66,7 @@ const form = new Form("form-element", options);
6866
@import '@forms.js/core/css/index.css';
6967
```
7068

71-
Dive deeper into Forms.js with the [official documentation](https://formsjs.io/documentation/v1/getting-started)
72-
73-
## Support Forms.js Development:
74-
75-
Purchase an software [license](https://formsjs.io/pricing).
69+
Dive deeper into Forms.js with the [official documentation](https://github.com/form-js/forms.js/tree/master/docs/v1/getting-started).
7670

7771
## Contributing
7872

docs/formsjs-banner.png

25.7 KB
Loading

docs/v1/daterange-field.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ usePlugin(DateRangePlugin);
1818
window.Form = Form;
1919
```
2020

21-
To get valid license please look at <a class="link" href="https://formsjs.io/documentation/v1/licensing">licensing page</a>.
21+
To get valid license please look at <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/licensing">licensing page</a>.
2222

2323
#### Options
2424

docs/v1/fields.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -147,26 +147,26 @@ field.on("changed", listener, true);
147147

148148
## Fields list
149149

150-
- <a class="link" href="https://formsjs.io/documentation/v1/checkbox-field">Checkbox field</a>
151-
- <a class="link" href="https://formsjs.io/documentation/v1/color-field">Color field</a>
152-
- <a class="link" href="https://formsjs.io/documentation/v1/date-field">Date field</a>
153-
- <a class="link" href="https://formsjs.io/documentation/v1/datetime-field">Datetime field</a>
154-
- <a class="link" href="https://formsjs.io/documentation/v1/daterange-field">Daterange field</a>
155-
- <a class="link" href="https://formsjs.io/documentation/v1/email-field">Email field</a>
156-
- <a class="link" href="https://formsjs.io/documentation/v1/file-field">File field</a>
157-
- <a class="link" href="https://formsjs.io/documentation/v1/hidden-field">Hidden field</a>
158-
- <a class="link" href="https://formsjs.io/documentation/v1/list-field">List field</a>
159-
- <a class="link" href="https://formsjs.io/documentation/v1/number-field">Number field</a>
160-
- <a class="link" href="https://formsjs.io/documentation/v1/pasword-field">Password field</a>
161-
- <a class="link" href="https://formsjs.io/documentation/v1/radio-field">Radio field</a>
162-
- <a class="link" href="https://formsjs.io/documentation/v1/range-field">Range field</a>
163-
- <a class="link" href="https://formsjs.io/documentation/v1/rating-field">Rating field</a>
164-
- <a class="link" href="https://formsjs.io/documentation/v1/richtext-field">Richtext field</a>
165-
- <a class="link" href="https://formsjs.io/documentation/v1/select-field">Select field</a>
166-
- <a class="link" href="https://formsjs.io/documentation/v1/static-field">Static field</a>
167-
- <a class="link" href="https://formsjs.io/documentation/v1/tel-field">Telephone field</a>
168-
- <a class="link" href="https://formsjs.io/documentation/v1/textarea-field">Textarea field</a>
169-
- <a class="link" href="https://formsjs.io/documentation/v1/text-field">Text field</a>
170-
- <a class="link" href="https://formsjs.io/documentation/v1/time-field">Time field</a>
171-
- <a class="link" href="https://formsjs.io/documentation/v1/url-field">URL field</a>
172-
- <a class="link" href="https://formsjs.io/documentation/v1/week-field">Week field</a>
150+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/checkbox-field">Checkbox field</a>
151+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/color-field">Color field</a>
152+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/date-field">Date field</a>
153+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/datetime-field">Datetime field</a>
154+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/daterange-field">Daterange field</a>
155+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/email-field">Email field</a>
156+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/file-field">File field</a>
157+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/hidden-field">Hidden field</a>
158+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/list-field">List field</a>
159+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/number-field">Number field</a>
160+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/pasword-field">Password field</a>
161+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/radio-field">Radio field</a>
162+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/range-field">Range field</a>
163+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/rating-field">Rating field</a>
164+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/richtext-field">Richtext field</a>
165+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/select-field">Select field</a>
166+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/static-field">Static field</a>
167+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/tel-field">Telephone field</a>
168+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/textarea-field">Textarea field</a>
169+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/text-field">Text field</a>
170+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/time-field">Time field</a>
171+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/url-field">URL field</a>
172+
- <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/week-field">Week field</a>

docs/v1/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22

3-
![Forms.js](https://formsjs.io/images/formsjs-banner.png)
3+
![Forms.js](https://github.com/form-js/forms.js/tree/master/docs/formsjs-banner.png)
44

55
</div>
66

docs/v1/licensing.md

Lines changed: 1 addition & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -36,74 +36,4 @@ If you meet the criteria for this license, you may begin using Formsjs premium p
3636

3737
`GPL-My-Project-Is-Open-Source`
3838

39-
For questions about more complex scenarios, please contact us.
40-
41-
### Purchase license
42-
43-
For purchasing a forms.js license please look at our [pricing ⚡️](https://formsjs.io/pricing).
44-
45-
## Adding an license
46-
47-
app.js
48-
```js
49-
import { Form, usePlugin, setLicenseKey } from "@forms.js/core";
50-
import { pluginSettings as DateRangePlugin } from "@forms.js/daterange-field";
51-
import { pluginSettings as RatingPlugin } from "@forms.js/rating-field";
52-
53-
setLicenseKey('license');
54-
55-
usePlugin([DateRangePlugin, RatingPlugin]);
56-
window.Form = Form;
57-
```
58-
59-
or you can pass the license key into the form as an option:
60-
61-
app.js
62-
```js
63-
import { Form } from "@forms.js/core";
64-
65-
const form = new Form("formElement", {
66-
id:"form",
67-
licenseKey: "license",
68-
...
69-
});
70-
```
71-
72-
## List of premium plugins
73-
74-
<table>
75-
<thead>
76-
<tr>
77-
<th>Name</th>
78-
<th>Functionality</th>
79-
<th>Links</th>
80-
</tr>
81-
</thead>
82-
<tbody>
83-
<tr>
84-
<td><span class="font-bold">@formsjs/daterange-field</span></td>
85-
<td>Date Range field for Forms.js.</td>
86-
<td><a class="link" href="https://www.npmjs.com/package/@forms.js/daterange-field" target="_blank">https://www.npmjs.com/package/@forms.js/daterange-field</a></td>
87-
</tr>
88-
<tr>
89-
<td><span class="font-bold">@formsjs/list-field</span></td>
90-
<td>List field for Forms.js.</td>
91-
<td><a class="link" href="https://www.npmjs.com/package/@forms.js/daterange-field" target="_blank">https://www.npmjs.com/package/@forms.js/list-field</a></td>
92-
</tr>
93-
<tr>
94-
<td><span class="font-bold">@formsjs/rating-field</span></td>
95-
<td>Rating field for Forms.js.</td>
96-
<td><a class="link" href="https://www.npmjs.com/package/@forms.js/daterange-field" target="_blank">https://www.npmjs.com/package/@forms.js/rating-field</a></td>
97-
</tr>
98-
<tr>
99-
<td><span class="font-bold">@formsjs/richtext-field</span></td>
100-
<td>Ritch Text field for Forms.js.</td>
101-
<td><a class="link" href="https://www.npmjs.com/package/@forms.js/daterange-field" target="_blank">https://www.npmjs.com/package/@forms.js/richtext-field</a></td>
102-
</tr>
103-
<tr>
104-
<td><span class="font-bold">@formsjs/tabs</span></td>
105-
<td>Tabs component for Forms.js.</td>
106-
<td><a class="link" href="https://www.npmjs.com/package/@forms.js/daterange-field" target="_blank">https://www.npmjs.com/package/@forms.js/tabs</a></td>
107-
</tr>
108-
</tbody>
109-
</table>
39+
For questions about more complex scenarios, please contact us.

docs/v1/list-field.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ usePlugin(ListFieldPlugin);
1818
window.Form = Form;
1919
```
2020

21-
To get valid license please look at <a class="link" href="https://formsjs.io/documentation/v1/licensing">licensing page</a>.
21+
To get valid license please look at <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/licensing">licensing page</a>.
2222

2323
#### Options
2424

docs/v1/richtext-field.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ usePlugin(RichtextFieldPlugin);
1515
window.Form = Form;
1616
```
1717

18-
To get valid license please look at <a class="link" href="https://formsjs.io/documentation/v1/licensing">licensing page</a>.
18+
To get valid license please look at <a class="link" href="https://github.com/form-js/forms.js/tree/master/docs/v1/licensing">licensing page</a>.
1919

2020
#### Options
2121

docs/v1/vue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default {
5050

5151
### Props
5252

53-
- `options: FormOptions` - <span class="badge warning">required</span> The form options (<a href="https://formsjs.io/documentation/v1/form">see more</a>).
53+
- `options: FormOptions` - <span class="badge warning">required</span> The form options (<a href="https://github.com/form-js/forms.js/tree/master/docs/v1/form">see more</a>).
5454
- `plugins: PluginSettings | PluginSettings[]` - if form needs to use any plugins you can pass them into the form through this options.
5555
- `licenseKey: string` - if you want to use premium features you can assign your license key through this prop.
5656

@@ -187,4 +187,4 @@ You can access methods and variables through the component instance.
187187

188188
<h2 id="license">License</h2>
189189

190-
MIT. See more at <a href="https://formsjs.io/documentation/v1/licensing">licensing page</a>.
190+
MIT. See more at <a href="https://github.com/form-js/forms.js/tree/master/docs/v1/licensing">licensing page</a>.

packages/core/README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<div align="center">
22

3-
![Forms.js](https://formsjs.io/images/formsjs-banner.png)
3+
![Forms.js](https://github.com/form-js/forms.js/tree/master/docs/formsjs-banner.png)
44

55
</div>
66

77
<p align="center">
8-
<a href="https://formsjs.io/"><b>Website</b></a> •
9-
<a href="https://formsjs.io/documentation/v1/getting-started"><b>Documentation</b></a>
8+
<a href="https://github.com/form-js/forms.js/tree/master/docs/v1/getting-started"><b>Documentation</b></a>
109
</p>
1110

1211
<div align="center">
@@ -27,7 +26,7 @@
2726

2827
**Forms.js** is an advanced, lightweight JavaScript library designed to ease form creation and management. Utilizing JSON for data input, it generates dynamic, user-centric forms, offering an unparalleled development experience.
2928

30-
[Get Started with Forms.js](https://formsjs.io/documentation/v1/getting-started) ⚡️
29+
[Get Started with Forms.js](https://github.com/form-js/forms.js/tree/master/docs/v1/getting-started) ⚡️
3130

3231
## Features at a Glance
3332

@@ -68,12 +67,7 @@ const form = new Form("form-element", options);
6867
@import '@forms.js/core/css/index.css';
6968
```
7069

71-
Dive deeper into Forms.js with the [official documentation](https://formsjs.io/documentation/v1/getting-started)
72-
73-
## Support Forms.js Development:
74-
75-
Purchase an software [license](https://formsjs.io/pricing).
76-
70+
Dive deeper into Forms.js with the [official documentation](https://github.com/form-js/forms.js/tree/master/docs/v1/getting-started)
7771

7872
## Contributing
7973

0 commit comments

Comments
 (0)