@cocreate/organizations 1.15.2 → 1.15.4
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/.github/FUNDING.yml +3 -3
- package/.github/workflows/automated.yml +95 -95
- package/.github/workflows/manual.yml +44 -44
- package/CHANGELOG.md +1550 -1536
- package/CONTRIBUTING.md +96 -96
- package/CoCreate.config.js +26 -26
- package/LICENSE +21 -21
- package/README.md +85 -85
- package/demo/CoCreate-createUser.html +65 -65
- package/demo/index.html +131 -131
- package/demo/industries/industries.html +123 -123
- package/demo/industries/industry-datatable.html +146 -146
- package/demo/industries/industry-documents-datatable.1.html +137 -137
- package/docs/index.html +357 -357
- package/package.json +68 -68
- package/release.config.js +21 -21
- package/src/client.js +59 -59
- package/src/index.js +13 -13
- package/src/server.js +75 -75
- package/webpack.config.js +84 -84
package/CONTRIBUTING.md
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
# Contributing to CoCreate-organizations
|
|
2
|
-
|
|
3
|
-
This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-organizations/graphs/contributors).
|
|
4
|
-
You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-organizations/pulls),
|
|
5
|
-
[propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-organizations/issues).
|
|
6
|
-
|
|
7
|
-
In the examples below, substitute your Github username for `contributor` in URLs.
|
|
8
|
-
|
|
9
|
-
## Fork the Project
|
|
10
|
-
|
|
11
|
-
Fork the [project on Github](https://github.com/CoCreate-app/CoCreate-organizations) and check out your copy.
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
git organizations https://github.com/contributor/CoCreate-organizations.git
|
|
15
|
-
cd CoCreate-organizations
|
|
16
|
-
git remote add upstream https://github.com/CoCreate-app/CoCreate-organizations.git
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Create a Topic Branch
|
|
20
|
-
|
|
21
|
-
Make sure your fork is up-to-date and create a topic branch for your feature or bug fix on dev branch.
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
git checkout dev
|
|
25
|
-
git pull upstream dev
|
|
26
|
-
git checkout -b my-feature-branch
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Write Tests
|
|
30
|
-
|
|
31
|
-
Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build.
|
|
32
|
-
|
|
33
|
-
We definitely appreciate pull requests that highlight or reproduce a problem, even without a fix.
|
|
34
|
-
|
|
35
|
-
## Write Code
|
|
36
|
-
|
|
37
|
-
Implement your feature or bug fix.
|
|
38
|
-
|
|
39
|
-
## Write Documentation
|
|
40
|
-
|
|
41
|
-
Document any external behavior in the [README](README.md).
|
|
42
|
-
|
|
43
|
-
## Commit Changes
|
|
44
|
-
|
|
45
|
-
Make sure git knows your name and email address:
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
git config --global user.name "Your Name"
|
|
49
|
-
git config --global user.email "contributor@example.com"
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
We use [semantic-release](https://github.com/semantic-release/semantic-release) as process to generate changelog
|
|
53
|
-
and to release. Write meaningful commits according to
|
|
54
|
-
[Commit Message Formats](https://github.com/semantic-release/semantic-release#commit-message-format) is important.
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
git add ...
|
|
58
|
-
git commit -am "commit-type(optional topic): a meaningful message"
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
Here is an example of the release type that should be done based on a [semantic-release](https://github.com/semantic-release/semantic-release):
|
|
62
|
-
|
|
63
|
-
| Commit message | Release type |
|
|
64
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------- |
|
|
65
|
-
| `fix(pencil): stop graphite breaking when too much pressure applied` | Patch Release |
|
|
66
|
-
| `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release |
|
|
67
|
-
| `perf(pencil): remove graphiteWidth option`<br><br>`BREAKING CHANGE: The graphiteWidth option has been removed.`<br>`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release |
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
## Push
|
|
71
|
-
|
|
72
|
-
```
|
|
73
|
-
git push origin my-feature-branch
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
## Make a Pull Request
|
|
77
|
-
|
|
78
|
-
Go to [https://github.com/CoCreate-app/CoCreate-organizations](https://github.com/CoCreate-app/CoCreate-organizations) and select your feature branch.
|
|
79
|
-
Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days.
|
|
80
|
-
|
|
81
|
-
## Rebase
|
|
82
|
-
|
|
83
|
-
If you've been working on a change for a while, rebase with upstream/dev.
|
|
84
|
-
|
|
85
|
-
```
|
|
86
|
-
git fetch upstream
|
|
87
|
-
git rebase upstream/dev
|
|
88
|
-
git push origin my-feature-branch -f
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
## Be Patient
|
|
92
|
-
|
|
93
|
-
It's likely that your change will not be merged and that the nitpicky maintainers will ask you to do more, or fix seemingly benign problems. Hang in there!
|
|
94
|
-
|
|
95
|
-
## Thank You
|
|
96
|
-
|
|
1
|
+
# Contributing to CoCreate-organizations
|
|
2
|
+
|
|
3
|
+
This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-organizations/graphs/contributors).
|
|
4
|
+
You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-organizations/pulls),
|
|
5
|
+
[propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-organizations/issues).
|
|
6
|
+
|
|
7
|
+
In the examples below, substitute your Github username for `contributor` in URLs.
|
|
8
|
+
|
|
9
|
+
## Fork the Project
|
|
10
|
+
|
|
11
|
+
Fork the [project on Github](https://github.com/CoCreate-app/CoCreate-organizations) and check out your copy.
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
git organizations https://github.com/contributor/CoCreate-organizations.git
|
|
15
|
+
cd CoCreate-organizations
|
|
16
|
+
git remote add upstream https://github.com/CoCreate-app/CoCreate-organizations.git
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Create a Topic Branch
|
|
20
|
+
|
|
21
|
+
Make sure your fork is up-to-date and create a topic branch for your feature or bug fix on dev branch.
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
git checkout dev
|
|
25
|
+
git pull upstream dev
|
|
26
|
+
git checkout -b my-feature-branch
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Write Tests
|
|
30
|
+
|
|
31
|
+
Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build.
|
|
32
|
+
|
|
33
|
+
We definitely appreciate pull requests that highlight or reproduce a problem, even without a fix.
|
|
34
|
+
|
|
35
|
+
## Write Code
|
|
36
|
+
|
|
37
|
+
Implement your feature or bug fix.
|
|
38
|
+
|
|
39
|
+
## Write Documentation
|
|
40
|
+
|
|
41
|
+
Document any external behavior in the [README](README.md).
|
|
42
|
+
|
|
43
|
+
## Commit Changes
|
|
44
|
+
|
|
45
|
+
Make sure git knows your name and email address:
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
git config --global user.name "Your Name"
|
|
49
|
+
git config --global user.email "contributor@example.com"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
We use [semantic-release](https://github.com/semantic-release/semantic-release) as process to generate changelog
|
|
53
|
+
and to release. Write meaningful commits according to
|
|
54
|
+
[Commit Message Formats](https://github.com/semantic-release/semantic-release#commit-message-format) is important.
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
git add ...
|
|
58
|
+
git commit -am "commit-type(optional topic): a meaningful message"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Here is an example of the release type that should be done based on a [semantic-release](https://github.com/semantic-release/semantic-release):
|
|
62
|
+
|
|
63
|
+
| Commit message | Release type |
|
|
64
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------- |
|
|
65
|
+
| `fix(pencil): stop graphite breaking when too much pressure applied` | Patch Release |
|
|
66
|
+
| `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release |
|
|
67
|
+
| `perf(pencil): remove graphiteWidth option`<br><br>`BREAKING CHANGE: The graphiteWidth option has been removed.`<br>`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release |
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
## Push
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
git push origin my-feature-branch
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Make a Pull Request
|
|
77
|
+
|
|
78
|
+
Go to [https://github.com/CoCreate-app/CoCreate-organizations](https://github.com/CoCreate-app/CoCreate-organizations) and select your feature branch.
|
|
79
|
+
Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days.
|
|
80
|
+
|
|
81
|
+
## Rebase
|
|
82
|
+
|
|
83
|
+
If you've been working on a change for a while, rebase with upstream/dev.
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
git fetch upstream
|
|
87
|
+
git rebase upstream/dev
|
|
88
|
+
git push origin my-feature-branch -f
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Be Patient
|
|
92
|
+
|
|
93
|
+
It's likely that your change will not be merged and that the nitpicky maintainers will ask you to do more, or fix seemingly benign problems. Hang in there!
|
|
94
|
+
|
|
95
|
+
## Thank You
|
|
96
|
+
|
|
97
97
|
Please do know that we really appreciate and value your time and work. We love you, really.
|
package/CoCreate.config.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
"config": {
|
|
3
|
-
"organization_id": "5ff747727005da1c272740ab",
|
|
4
|
-
"key": "2061acef-0451-4545-f754-60cf8160",
|
|
5
|
-
"host": "general.cocreate.app"
|
|
6
|
-
},
|
|
7
|
-
"sources": [
|
|
8
|
-
{
|
|
9
|
-
"collection": "files",
|
|
10
|
-
"document": {
|
|
11
|
-
"_id": "60207e303c260207bf49cab8",
|
|
12
|
-
"name": "index.html",
|
|
13
|
-
"path": "/docs/organizations/index.html",
|
|
14
|
-
"src": "{{./docs/index.html}}",
|
|
15
|
-
"hosts": [
|
|
16
|
-
"*",
|
|
17
|
-
"general.cocreate.app"
|
|
18
|
-
],
|
|
19
|
-
"directory": "/docs/organizations",
|
|
20
|
-
"parentDirectory": "{{parentDirectory}}",
|
|
21
|
-
"content-type": "{{content-type}}",
|
|
22
|
-
"public": "true",
|
|
23
|
-
"website_id": "644d4bff8036fb9d1d1fd69c"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
]
|
|
1
|
+
module.exports = {
|
|
2
|
+
"config": {
|
|
3
|
+
"organization_id": "5ff747727005da1c272740ab",
|
|
4
|
+
"key": "2061acef-0451-4545-f754-60cf8160",
|
|
5
|
+
"host": "general.cocreate.app"
|
|
6
|
+
},
|
|
7
|
+
"sources": [
|
|
8
|
+
{
|
|
9
|
+
"collection": "files",
|
|
10
|
+
"document": {
|
|
11
|
+
"_id": "60207e303c260207bf49cab8",
|
|
12
|
+
"name": "index.html",
|
|
13
|
+
"path": "/docs/organizations/index.html",
|
|
14
|
+
"src": "{{./docs/index.html}}",
|
|
15
|
+
"hosts": [
|
|
16
|
+
"*",
|
|
17
|
+
"general.cocreate.app"
|
|
18
|
+
],
|
|
19
|
+
"directory": "/docs/organizations",
|
|
20
|
+
"parentDirectory": "{{parentDirectory}}",
|
|
21
|
+
"content-type": "{{content-type}}",
|
|
22
|
+
"public": "true",
|
|
23
|
+
"website_id": "644d4bff8036fb9d1d1fd69c"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
27
|
}
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 CoCreate LLC
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 CoCreate LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
# CoCreate-organizations
|
|
2
|
-
|
|
3
|
-
A simple organizations component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/organizations)
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-

|
|
7
|
-

|
|
8
|
-

|
|
9
|
-

|
|
10
|
-

|
|
11
|
-
|
|
12
|
-

|
|
13
|
-
|
|
14
|
-
## [Docs & Demo](https://cocreate.app/docs/organizations)
|
|
15
|
-
|
|
16
|
-
For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/organizations)
|
|
17
|
-
|
|
18
|
-
## CDN
|
|
19
|
-
|
|
20
|
-
```html
|
|
21
|
-
<script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js"></script>
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
```html
|
|
25
|
-
<script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.css"></script>
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## NPM
|
|
29
|
-
|
|
30
|
-
```shell
|
|
31
|
-
$ npm i @cocreate/organizations
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## yarn
|
|
35
|
-
|
|
36
|
-
```shell
|
|
37
|
-
$ yarn install @cocreate/organizations
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
# Table of Contents
|
|
41
|
-
|
|
42
|
-
- [Table of Contents](#table-of-contents)
|
|
43
|
-
- [Announcements](#announcements)
|
|
44
|
-
- [Roadmap](#roadmap)
|
|
45
|
-
- [How to Contribute](#how-to-contribute)
|
|
46
|
-
- [About](#about)
|
|
47
|
-
- [License](#license)
|
|
48
|
-
|
|
49
|
-
<a name="announcements"></a>
|
|
50
|
-
|
|
51
|
-
# Announcements
|
|
52
|
-
|
|
53
|
-
All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-organizations/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-organizations/releases). You may also subscribe to email for releases and breaking changes.
|
|
54
|
-
|
|
55
|
-
<a name="roadmap"></a>
|
|
56
|
-
|
|
57
|
-
# Roadmap
|
|
58
|
-
|
|
59
|
-
If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-organizations/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-organizations/pulls). We would love to hear your feedback.
|
|
60
|
-
|
|
61
|
-
<a name="about"></a>
|
|
62
|
-
|
|
63
|
-
# About
|
|
64
|
-
|
|
65
|
-
CoCreate-organizations is guided and supported by the CoCreate Developer Experience Team.
|
|
66
|
-
|
|
67
|
-
Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
|
|
68
|
-
|
|
69
|
-
CoCreate-organizations is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
|
|
70
|
-
|
|
71
|
-
<a name="contribute"></a>
|
|
72
|
-
|
|
73
|
-
# How to Contribute
|
|
74
|
-
|
|
75
|
-
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-organizations/blob/master/CONTRIBUTING.md) guide for details.
|
|
76
|
-
|
|
77
|
-
We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-organizations/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-organizations/pulls) or merely upvote or comment on existing issues or pull requests.
|
|
78
|
-
|
|
79
|
-
We appreciate your continued support, thank you!
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
<a name="license"></a>
|
|
83
|
-
# License
|
|
84
|
-
|
|
85
|
-
[The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-organizations/blob/master/LICENSE)
|
|
1
|
+
# CoCreate-organizations
|
|
2
|
+
|
|
3
|
+
A simple organizations component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/organizations)
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+

|
|
9
|
+

|
|
10
|
+

|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
## [Docs & Demo](https://cocreate.app/docs/organizations)
|
|
15
|
+
|
|
16
|
+
For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/organizations)
|
|
17
|
+
|
|
18
|
+
## CDN
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js"></script>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
```html
|
|
25
|
+
<script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.css"></script>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## NPM
|
|
29
|
+
|
|
30
|
+
```shell
|
|
31
|
+
$ npm i @cocreate/organizations
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## yarn
|
|
35
|
+
|
|
36
|
+
```shell
|
|
37
|
+
$ yarn install @cocreate/organizations
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
# Table of Contents
|
|
41
|
+
|
|
42
|
+
- [Table of Contents](#table-of-contents)
|
|
43
|
+
- [Announcements](#announcements)
|
|
44
|
+
- [Roadmap](#roadmap)
|
|
45
|
+
- [How to Contribute](#how-to-contribute)
|
|
46
|
+
- [About](#about)
|
|
47
|
+
- [License](#license)
|
|
48
|
+
|
|
49
|
+
<a name="announcements"></a>
|
|
50
|
+
|
|
51
|
+
# Announcements
|
|
52
|
+
|
|
53
|
+
All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-organizations/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-organizations/releases). You may also subscribe to email for releases and breaking changes.
|
|
54
|
+
|
|
55
|
+
<a name="roadmap"></a>
|
|
56
|
+
|
|
57
|
+
# Roadmap
|
|
58
|
+
|
|
59
|
+
If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-organizations/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-organizations/pulls). We would love to hear your feedback.
|
|
60
|
+
|
|
61
|
+
<a name="about"></a>
|
|
62
|
+
|
|
63
|
+
# About
|
|
64
|
+
|
|
65
|
+
CoCreate-organizations is guided and supported by the CoCreate Developer Experience Team.
|
|
66
|
+
|
|
67
|
+
Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
|
|
68
|
+
|
|
69
|
+
CoCreate-organizations is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
|
|
70
|
+
|
|
71
|
+
<a name="contribute"></a>
|
|
72
|
+
|
|
73
|
+
# How to Contribute
|
|
74
|
+
|
|
75
|
+
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-organizations/blob/master/CONTRIBUTING.md) guide for details.
|
|
76
|
+
|
|
77
|
+
We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-organizations/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-organizations/pulls) or merely upvote or comment on existing issues or pull requests.
|
|
78
|
+
|
|
79
|
+
We appreciate your continued support, thank you!
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
<a name="license"></a>
|
|
83
|
+
# License
|
|
84
|
+
|
|
85
|
+
[The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-organizations/blob/master/LICENSE)
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<title>User Forms | CoCreateJS</title>
|
|
5
|
-
|
|
6
|
-
<!-- CoCreate Favicon -->
|
|
7
|
-
<link
|
|
8
|
-
rel="icon"
|
|
9
|
-
href="https://cdn.cocreate.app/favicon.ico"
|
|
10
|
-
type="image/ico"
|
|
11
|
-
sizes="16x16" />
|
|
12
|
-
<link rel="manifest" href="/manifest.webmanifest" />
|
|
13
|
-
</head>
|
|
14
|
-
<body class="padding:20px">
|
|
15
|
-
<form>
|
|
16
|
-
<input
|
|
17
|
-
collection="organizations"
|
|
18
|
-
class="floating-label"
|
|
19
|
-
name="name"
|
|
20
|
-
document_id=""
|
|
21
|
-
placeholder="org name" />
|
|
22
|
-
<input
|
|
23
|
-
collection="users"
|
|
24
|
-
class="floating-label"
|
|
25
|
-
name="name"
|
|
26
|
-
document_id=""
|
|
27
|
-
placeholder="user name" />
|
|
28
|
-
|
|
29
|
-
<input
|
|
30
|
-
type="hidden"
|
|
31
|
-
id="org_id"
|
|
32
|
-
collection="organizations"
|
|
33
|
-
document_id=""
|
|
34
|
-
name="_id"
|
|
35
|
-
placeholder="OrganizationId"
|
|
36
|
-
readonly />
|
|
37
|
-
|
|
38
|
-
<!-- User_id will be used to copy user document from current organizion and insert orgdb defined above-->
|
|
39
|
-
<input
|
|
40
|
-
type="hidden"
|
|
41
|
-
id="user_id"
|
|
42
|
-
collection="users"
|
|
43
|
-
document_id=""
|
|
44
|
-
name="_id"
|
|
45
|
-
placeholder="UserId"
|
|
46
|
-
readonly />
|
|
47
|
-
|
|
48
|
-
<!-- API key -->
|
|
49
|
-
<input
|
|
50
|
-
type="hidden"
|
|
51
|
-
id="key"
|
|
52
|
-
collection="organizations"
|
|
53
|
-
document_id=""
|
|
54
|
-
name="key"
|
|
55
|
-
placeholder="API Key"
|
|
56
|
-
uuid="32"
|
|
57
|
-
readonly />
|
|
58
|
-
|
|
59
|
-
<button actions="createNewOrg, createUser">signup</button>
|
|
60
|
-
</form>
|
|
61
|
-
|
|
62
|
-
<!-- CoCreate JS CDN -->
|
|
63
|
-
<script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js"></script>
|
|
64
|
-
</body>
|
|
65
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>User Forms | CoCreateJS</title>
|
|
5
|
+
|
|
6
|
+
<!-- CoCreate Favicon -->
|
|
7
|
+
<link
|
|
8
|
+
rel="icon"
|
|
9
|
+
href="https://cdn.cocreate.app/favicon.ico"
|
|
10
|
+
type="image/ico"
|
|
11
|
+
sizes="16x16" />
|
|
12
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
13
|
+
</head>
|
|
14
|
+
<body class="padding:20px">
|
|
15
|
+
<form>
|
|
16
|
+
<input
|
|
17
|
+
collection="organizations"
|
|
18
|
+
class="floating-label"
|
|
19
|
+
name="name"
|
|
20
|
+
document_id=""
|
|
21
|
+
placeholder="org name" />
|
|
22
|
+
<input
|
|
23
|
+
collection="users"
|
|
24
|
+
class="floating-label"
|
|
25
|
+
name="name"
|
|
26
|
+
document_id=""
|
|
27
|
+
placeholder="user name" />
|
|
28
|
+
|
|
29
|
+
<input
|
|
30
|
+
type="hidden"
|
|
31
|
+
id="org_id"
|
|
32
|
+
collection="organizations"
|
|
33
|
+
document_id=""
|
|
34
|
+
name="_id"
|
|
35
|
+
placeholder="OrganizationId"
|
|
36
|
+
readonly />
|
|
37
|
+
|
|
38
|
+
<!-- User_id will be used to copy user document from current organizion and insert orgdb defined above-->
|
|
39
|
+
<input
|
|
40
|
+
type="hidden"
|
|
41
|
+
id="user_id"
|
|
42
|
+
collection="users"
|
|
43
|
+
document_id=""
|
|
44
|
+
name="_id"
|
|
45
|
+
placeholder="UserId"
|
|
46
|
+
readonly />
|
|
47
|
+
|
|
48
|
+
<!-- API key -->
|
|
49
|
+
<input
|
|
50
|
+
type="hidden"
|
|
51
|
+
id="key"
|
|
52
|
+
collection="organizations"
|
|
53
|
+
document_id=""
|
|
54
|
+
name="key"
|
|
55
|
+
placeholder="API Key"
|
|
56
|
+
uuid="32"
|
|
57
|
+
readonly />
|
|
58
|
+
|
|
59
|
+
<button actions="createNewOrg, createUser">signup</button>
|
|
60
|
+
</form>
|
|
61
|
+
|
|
62
|
+
<!-- CoCreate JS CDN -->
|
|
63
|
+
<script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js"></script>
|
|
64
|
+
</body>
|
|
65
|
+
</html>
|