@cocreate/users 1.22.9 → 1.22.11
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 +1803 -1789
- package/CONTRIBUTING.md +96 -96
- package/CoCreate.config.js +26 -26
- package/LICENSE +21 -21
- package/README.md +85 -85
- package/demo/signin.html +132 -132
- package/demo/signout.html +61 -61
- package/demo/signup.html +161 -161
- package/docs/index.html +371 -371
- package/package.json +70 -70
- package/release.config.js +21 -21
- package/src/client.js +268 -268
- package/src/index.css +9 -9
- package/src/index.js +13 -13
- package/src/server.js +127 -127
- package/webpack.config.js +84 -84
package/demo/signin.html
CHANGED
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<title>signIn | CoCreateJS</title>
|
|
5
|
-
|
|
6
|
-
<link
|
|
7
|
-
rel="icon"
|
|
8
|
-
href="https://cdn.cocreate.app/favicon.ico"
|
|
9
|
-
type="image/ico"
|
|
10
|
-
sizes="16x16" />
|
|
11
|
-
<link
|
|
12
|
-
rel="stylesheet"
|
|
13
|
-
href="../index.css"
|
|
14
|
-
collection="files"
|
|
15
|
-
document_id="637bc8fe91249e639db315d9"
|
|
16
|
-
name="src"
|
|
17
|
-
type="text/css" />
|
|
18
|
-
<link rel="manifest" href="/manifest.webmanifest" />
|
|
19
|
-
</head>
|
|
20
|
-
|
|
21
|
-
<body
|
|
22
|
-
style="
|
|
23
|
-
background-image: url('https://cdn.cocreate.app/background.png');
|
|
24
|
-
">
|
|
25
|
-
<a href="./signout.html" session="true" hidden></a>
|
|
26
|
-
|
|
27
|
-
<a
|
|
28
|
-
href="./signup.html"
|
|
29
|
-
title=""
|
|
30
|
-
class="position:relative z-index:1 float:right margin:15px margin-left:auto color:white"
|
|
31
|
-
>Sign Up</a
|
|
32
|
-
>
|
|
33
|
-
|
|
34
|
-
<div
|
|
35
|
-
class="justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
|
|
36
|
-
<div
|
|
37
|
-
class="flex-grow:1 min-width:300px max-width:400px margin:15px">
|
|
38
|
-
<form realtime="false" collection="users" id="signin">
|
|
39
|
-
<div
|
|
40
|
-
class="overflow:hidden padding:0px_25px background:white">
|
|
41
|
-
<div class="float:left width:75% padding-top:25px">
|
|
42
|
-
<h3>Sign In</h3>
|
|
43
|
-
</div>
|
|
44
|
-
<div
|
|
45
|
-
class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
|
|
46
|
-
<i
|
|
47
|
-
class="height:20px fill:#505050"
|
|
48
|
-
src="/assets/svg/sign-in-alt.svg"></i>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
<div
|
|
52
|
-
class="padding:25px background:gainsboro text-align:left">
|
|
53
|
-
<floating-label>
|
|
54
|
-
<input
|
|
55
|
-
type="email"
|
|
56
|
-
name="email"
|
|
57
|
-
placeholder="Email"
|
|
58
|
-
class="floating-label" />
|
|
59
|
-
</floating-label>
|
|
60
|
-
|
|
61
|
-
<floating-label>
|
|
62
|
-
<input
|
|
63
|
-
type="password"
|
|
64
|
-
name="password"
|
|
65
|
-
placeholder="Password"
|
|
66
|
-
class="floating-label" />
|
|
67
|
-
</floating-label>
|
|
68
|
-
|
|
69
|
-
<button
|
|
70
|
-
actions="signIn"
|
|
71
|
-
href="signout.html"
|
|
72
|
-
class="outline">
|
|
73
|
-
Sign In
|
|
74
|
-
</button>
|
|
75
|
-
|
|
76
|
-
<a show="#forgotpass" hide="#signin">Forgot Password</a>
|
|
77
|
-
</div>
|
|
78
|
-
</form>
|
|
79
|
-
|
|
80
|
-
<form collection="users" hidden id="forgotpass">
|
|
81
|
-
<div
|
|
82
|
-
class="overflow:hidden padding:0px_25px background:white">
|
|
83
|
-
<div class="float:left width:75% padding-top:25px">
|
|
84
|
-
<h3>Password Recovery</h3>
|
|
85
|
-
</div>
|
|
86
|
-
<div
|
|
87
|
-
class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
|
|
88
|
-
<i
|
|
89
|
-
class="height:20px fill:#505050"
|
|
90
|
-
src="/assets/svg/key.svg"></i>
|
|
91
|
-
</div>
|
|
92
|
-
</div>
|
|
93
|
-
<div
|
|
94
|
-
class="padding:25px background:gainsboro text-align:left">
|
|
95
|
-
<floating-label>
|
|
96
|
-
<input
|
|
97
|
-
type="email"
|
|
98
|
-
name="email"
|
|
99
|
-
id="email"
|
|
100
|
-
placeholder="Email"
|
|
101
|
-
class="floating-label" />
|
|
102
|
-
</floating-label>
|
|
103
|
-
|
|
104
|
-
<button class="outline">
|
|
105
|
-
<a>Send Email</a>
|
|
106
|
-
</button>
|
|
107
|
-
|
|
108
|
-
<a show="#signin" hide="#forgotpass">Sign In</a>
|
|
109
|
-
</div>
|
|
110
|
-
</form>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
|
|
114
|
-
<div class="position:fixed!important bottom:15px right:15px">
|
|
115
|
-
<div
|
|
116
|
-
template="signIn"
|
|
117
|
-
class="card margin:5px padding:10px {{status}}">
|
|
118
|
-
<span class="{{type}}">{{message}}</span
|
|
119
|
-
><a actions="removeElement"> X</a>
|
|
120
|
-
</div>
|
|
121
|
-
|
|
122
|
-
<div
|
|
123
|
-
template="notification"
|
|
124
|
-
class="card position:fixed!important bottom:15px right:15px padding:10px {{status}}">
|
|
125
|
-
<span class="{{type}}">{{message}}</span
|
|
126
|
-
><a actions="removeElement"> X</a>
|
|
127
|
-
</div>
|
|
128
|
-
</div>
|
|
129
|
-
|
|
130
|
-
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
|
131
|
-
</body>
|
|
132
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>signIn | CoCreateJS</title>
|
|
5
|
+
|
|
6
|
+
<link
|
|
7
|
+
rel="icon"
|
|
8
|
+
href="https://cdn.cocreate.app/favicon.ico"
|
|
9
|
+
type="image/ico"
|
|
10
|
+
sizes="16x16" />
|
|
11
|
+
<link
|
|
12
|
+
rel="stylesheet"
|
|
13
|
+
href="../index.css"
|
|
14
|
+
collection="files"
|
|
15
|
+
document_id="637bc8fe91249e639db315d9"
|
|
16
|
+
name="src"
|
|
17
|
+
type="text/css" />
|
|
18
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
19
|
+
</head>
|
|
20
|
+
|
|
21
|
+
<body
|
|
22
|
+
style="
|
|
23
|
+
background-image: url('https://cdn.cocreate.app/background.png');
|
|
24
|
+
">
|
|
25
|
+
<a href="./signout.html" session="true" hidden></a>
|
|
26
|
+
|
|
27
|
+
<a
|
|
28
|
+
href="./signup.html"
|
|
29
|
+
title=""
|
|
30
|
+
class="position:relative z-index:1 float:right margin:15px margin-left:auto color:white"
|
|
31
|
+
>Sign Up</a
|
|
32
|
+
>
|
|
33
|
+
|
|
34
|
+
<div
|
|
35
|
+
class="justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
|
|
36
|
+
<div
|
|
37
|
+
class="flex-grow:1 min-width:300px max-width:400px margin:15px">
|
|
38
|
+
<form realtime="false" collection="users" id="signin">
|
|
39
|
+
<div
|
|
40
|
+
class="overflow:hidden padding:0px_25px background:white">
|
|
41
|
+
<div class="float:left width:75% padding-top:25px">
|
|
42
|
+
<h3>Sign In</h3>
|
|
43
|
+
</div>
|
|
44
|
+
<div
|
|
45
|
+
class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
|
|
46
|
+
<i
|
|
47
|
+
class="height:20px fill:#505050"
|
|
48
|
+
src="/assets/svg/sign-in-alt.svg"></i>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div
|
|
52
|
+
class="padding:25px background:gainsboro text-align:left">
|
|
53
|
+
<floating-label>
|
|
54
|
+
<input
|
|
55
|
+
type="email"
|
|
56
|
+
name="email"
|
|
57
|
+
placeholder="Email"
|
|
58
|
+
class="floating-label" />
|
|
59
|
+
</floating-label>
|
|
60
|
+
|
|
61
|
+
<floating-label>
|
|
62
|
+
<input
|
|
63
|
+
type="password"
|
|
64
|
+
name="password"
|
|
65
|
+
placeholder="Password"
|
|
66
|
+
class="floating-label" />
|
|
67
|
+
</floating-label>
|
|
68
|
+
|
|
69
|
+
<button
|
|
70
|
+
actions="signIn"
|
|
71
|
+
href="signout.html"
|
|
72
|
+
class="outline">
|
|
73
|
+
Sign In
|
|
74
|
+
</button>
|
|
75
|
+
|
|
76
|
+
<a show="#forgotpass" hide="#signin">Forgot Password</a>
|
|
77
|
+
</div>
|
|
78
|
+
</form>
|
|
79
|
+
|
|
80
|
+
<form collection="users" hidden id="forgotpass">
|
|
81
|
+
<div
|
|
82
|
+
class="overflow:hidden padding:0px_25px background:white">
|
|
83
|
+
<div class="float:left width:75% padding-top:25px">
|
|
84
|
+
<h3>Password Recovery</h3>
|
|
85
|
+
</div>
|
|
86
|
+
<div
|
|
87
|
+
class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
|
|
88
|
+
<i
|
|
89
|
+
class="height:20px fill:#505050"
|
|
90
|
+
src="/assets/svg/key.svg"></i>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
<div
|
|
94
|
+
class="padding:25px background:gainsboro text-align:left">
|
|
95
|
+
<floating-label>
|
|
96
|
+
<input
|
|
97
|
+
type="email"
|
|
98
|
+
name="email"
|
|
99
|
+
id="email"
|
|
100
|
+
placeholder="Email"
|
|
101
|
+
class="floating-label" />
|
|
102
|
+
</floating-label>
|
|
103
|
+
|
|
104
|
+
<button class="outline">
|
|
105
|
+
<a>Send Email</a>
|
|
106
|
+
</button>
|
|
107
|
+
|
|
108
|
+
<a show="#signin" hide="#forgotpass">Sign In</a>
|
|
109
|
+
</div>
|
|
110
|
+
</form>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
|
|
114
|
+
<div class="position:fixed!important bottom:15px right:15px">
|
|
115
|
+
<div
|
|
116
|
+
template="signIn"
|
|
117
|
+
class="card margin:5px padding:10px {{status}}">
|
|
118
|
+
<span class="{{type}}">{{message}}</span
|
|
119
|
+
><a actions="removeElement"> X</a>
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<div
|
|
123
|
+
template="notification"
|
|
124
|
+
class="card position:fixed!important bottom:15px right:15px padding:10px {{status}}">
|
|
125
|
+
<span class="{{type}}">{{message}}</span
|
|
126
|
+
><a actions="removeElement"> X</a>
|
|
127
|
+
</div>
|
|
128
|
+
</div>
|
|
129
|
+
|
|
130
|
+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
|
131
|
+
</body>
|
|
132
|
+
</html>
|
package/demo/signout.html
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<title>Sign Out | CoCreateJS</title>
|
|
5
|
-
|
|
6
|
-
<link
|
|
7
|
-
rel="icon"
|
|
8
|
-
href="https://cdn.cocreate.app/favicon.ico"
|
|
9
|
-
type="image/ico"
|
|
10
|
-
sizes="16x16" />
|
|
11
|
-
<link
|
|
12
|
-
rel="stylesheet"
|
|
13
|
-
href="../index.css"
|
|
14
|
-
collection="files"
|
|
15
|
-
document_id="637bc8fe91249e639db315d9"
|
|
16
|
-
name="src"
|
|
17
|
-
type="text/css" />
|
|
18
|
-
<link rel="manifest" href="/manifest.webmanifest" />
|
|
19
|
-
</head>
|
|
20
|
-
|
|
21
|
-
<body
|
|
22
|
-
style="
|
|
23
|
-
background-image: url('https://cdn.cocreate.app/background.png');
|
|
24
|
-
">
|
|
25
|
-
<a href="./signin.html" session="false" hidden></a>
|
|
26
|
-
|
|
27
|
-
<div
|
|
28
|
-
class="justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
|
|
29
|
-
<div
|
|
30
|
-
class="flex-grow:1 min-width:300px max-width:400px margin:15px">
|
|
31
|
-
<div class="overflow:hidden padding:0px_25px background:white">
|
|
32
|
-
<div class="float:left width:75% padding-top:25px">
|
|
33
|
-
<h3>You are logged in</h3>
|
|
34
|
-
</div>
|
|
35
|
-
<div
|
|
36
|
-
class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
|
|
37
|
-
<i
|
|
38
|
-
class="height:20px fill:#505050"
|
|
39
|
-
src="/assets/svg/sign-in-alt.svg"></i>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
<div class="padding:25px background:gainsboro text-align:left">
|
|
43
|
-
<button actions="signOut" href="./signin.html">
|
|
44
|
-
Sign Out
|
|
45
|
-
</button>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
|
|
50
|
-
<div class="position:fixed!important bottom:15px right:15px">
|
|
51
|
-
<div
|
|
52
|
-
template="notification"
|
|
53
|
-
class="card position:fixed!important bottom:15px right:15px padding:10px {{status}}">
|
|
54
|
-
<span class="{{type}}">{{message}}</span
|
|
55
|
-
><a actions="removeElement"> X</a>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
|
60
|
-
</body>
|
|
61
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>Sign Out | CoCreateJS</title>
|
|
5
|
+
|
|
6
|
+
<link
|
|
7
|
+
rel="icon"
|
|
8
|
+
href="https://cdn.cocreate.app/favicon.ico"
|
|
9
|
+
type="image/ico"
|
|
10
|
+
sizes="16x16" />
|
|
11
|
+
<link
|
|
12
|
+
rel="stylesheet"
|
|
13
|
+
href="../index.css"
|
|
14
|
+
collection="files"
|
|
15
|
+
document_id="637bc8fe91249e639db315d9"
|
|
16
|
+
name="src"
|
|
17
|
+
type="text/css" />
|
|
18
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
19
|
+
</head>
|
|
20
|
+
|
|
21
|
+
<body
|
|
22
|
+
style="
|
|
23
|
+
background-image: url('https://cdn.cocreate.app/background.png');
|
|
24
|
+
">
|
|
25
|
+
<a href="./signin.html" session="false" hidden></a>
|
|
26
|
+
|
|
27
|
+
<div
|
|
28
|
+
class="justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
|
|
29
|
+
<div
|
|
30
|
+
class="flex-grow:1 min-width:300px max-width:400px margin:15px">
|
|
31
|
+
<div class="overflow:hidden padding:0px_25px background:white">
|
|
32
|
+
<div class="float:left width:75% padding-top:25px">
|
|
33
|
+
<h3>You are logged in</h3>
|
|
34
|
+
</div>
|
|
35
|
+
<div
|
|
36
|
+
class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
|
|
37
|
+
<i
|
|
38
|
+
class="height:20px fill:#505050"
|
|
39
|
+
src="/assets/svg/sign-in-alt.svg"></i>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="padding:25px background:gainsboro text-align:left">
|
|
43
|
+
<button actions="signOut" href="./signin.html">
|
|
44
|
+
Sign Out
|
|
45
|
+
</button>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<div class="position:fixed!important bottom:15px right:15px">
|
|
51
|
+
<div
|
|
52
|
+
template="notification"
|
|
53
|
+
class="card position:fixed!important bottom:15px right:15px padding:10px {{status}}">
|
|
54
|
+
<span class="{{type}}">{{message}}</span
|
|
55
|
+
><a actions="removeElement"> X</a>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
|
60
|
+
</body>
|
|
61
|
+
</html>
|