pwa-auth 3.2.5 → 3.3.1
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/CHANGELOG.md +10 -1
- package/{THIRD_PARTY_LICENSES.txt → LICENSES.txt} +57 -57
- package/README.md +88 -65
- package/base/export/pwa-auth.d.ts +2 -0
- package/base/export/pwa-auth.js +2 -0
- package/base/export/pwa-auth.js.map +1 -1
- package/base/lazy-loader.d.ts +11 -0
- package/base/lazy-loader.js +23 -0
- package/base/lazy-loader.js.map +1 -0
- package/base/redux/frontend.d.ts +41 -14
- package/base/redux/frontend.js +25 -6
- package/base/redux/frontend.js.map +1 -1
- package/base/store.d.ts +4 -2
- package/base/webcomponents/css/animation.d.ts +2 -0
- package/base/webcomponents/css/animation.js +68 -0
- package/base/webcomponents/css/animation.js.map +1 -0
- package/base/webcomponents/css/svg.js.map +1 -0
- package/base/{css → webcomponents/css}/toggle.js +0 -1
- package/base/webcomponents/css/toggle.js.map +1 -0
- package/base/webcomponents/drawer/css/drawer.js +7 -10
- package/base/webcomponents/drawer/css/drawer.js.map +1 -1
- package/base/webcomponents/drawer/drawer.d.ts +7 -6
- package/base/webcomponents/drawer/drawer.js +46 -31
- package/base/webcomponents/drawer/drawer.js.map +1 -1
- package/base/{css/form → webcomponents/form/css}/button.js +1 -2
- package/base/webcomponents/form/css/button.js.map +1 -0
- package/base/{css/form → webcomponents/form/css}/input.js +0 -1
- package/base/webcomponents/form/css/input.js.map +1 -0
- package/base/webcomponents/form/css/label.js.map +1 -0
- package/base/{css/form → webcomponents/form/css}/list.js +1 -2
- package/base/webcomponents/form/css/list.js.map +1 -0
- package/base/webcomponents/{drawer → form}/css/toggle.js +0 -1
- package/base/webcomponents/form/css/toggle.js.map +1 -0
- package/base/webcomponents/form/forgot.d.ts +15 -0
- package/base/webcomponents/form/forgot.js +66 -0
- package/base/webcomponents/form/forgot.js.map +1 -0
- package/base/webcomponents/{drawer/input → form}/login.d.ts +3 -2
- package/base/webcomponents/form/login.js +158 -0
- package/base/webcomponents/form/login.js.map +1 -0
- package/base/webcomponents/{drawer/input/sign-up.d.ts → form/signup.d.ts} +3 -2
- package/base/webcomponents/{drawer/input/sign-up.js → form/signup.js} +75 -49
- package/base/webcomponents/form/signup.js.map +1 -0
- package/base/webcomponents/icon/css/icon.js +0 -5
- package/base/webcomponents/icon/css/icon.js.map +1 -1
- package/base/webcomponents/icon/icon.d.ts +2 -1
- package/base/webcomponents/icon/icon.js +7 -5
- package/base/webcomponents/icon/icon.js.map +1 -1
- package/base/webcomponents/login/css/auth.d.ts +2 -0
- package/base/webcomponents/login/css/auth.js +37 -0
- package/base/webcomponents/login/css/auth.js.map +1 -0
- package/base/webcomponents/login/css/link.d.ts +2 -0
- package/base/webcomponents/login/css/link.js +13 -0
- package/base/webcomponents/login/css/link.js.map +1 -0
- package/base/webcomponents/login/css/paragraph.d.ts +2 -0
- package/base/webcomponents/login/css/paragraph.js +11 -0
- package/base/webcomponents/login/css/paragraph.js.map +1 -0
- package/base/webcomponents/login/page.d.ts +55 -0
- package/base/webcomponents/login/page.js +114 -0
- package/base/webcomponents/login/page.js.map +1 -0
- package/base/webcomponents/settings/css/navigation.js +6 -7
- package/base/webcomponents/settings/css/navigation.js.map +1 -1
- package/base/webcomponents/settings/input/delete.d.ts +2 -1
- package/base/webcomponents/settings/input/delete.js +15 -13
- package/base/webcomponents/settings/input/delete.js.map +1 -1
- package/base/webcomponents/settings/input/email.d.ts +2 -1
- package/base/webcomponents/settings/input/email.js +37 -35
- package/base/webcomponents/settings/input/email.js.map +1 -1
- package/base/webcomponents/settings/input/name.d.ts +2 -1
- package/base/webcomponents/settings/input/name.js +24 -20
- package/base/webcomponents/settings/input/name.js.map +1 -1
- package/base/webcomponents/settings/input/password.d.ts +2 -1
- package/base/webcomponents/settings/input/password.js +53 -39
- package/base/webcomponents/settings/input/password.js.map +1 -1
- package/base/webcomponents/settings/input/uploader.d.ts +2 -1
- package/base/webcomponents/settings/input/uploader.js +14 -14
- package/base/webcomponents/settings/input/uploader.js.map +1 -1
- package/base/webcomponents/settings/settings.d.ts +2 -1
- package/base/webcomponents/settings/settings.js +53 -44
- package/base/webcomponents/settings/settings.js.map +1 -1
- package/demonstration/index.html +53 -77
- package/demonstration/styles.css +76 -0
- package/export/pwa-auth.ts +0 -1
- package/package.json +32 -23
- package/source/production/pwa-auth.js +1109 -0
- package/source/pwa-styles.css +2 -0
- package/base/css/form/button.js.map +0 -1
- package/base/css/form/input.js.map +0 -1
- package/base/css/form/label.js.map +0 -1
- package/base/css/form/list.js.map +0 -1
- package/base/css/svg.js.map +0 -1
- package/base/css/toggle.js.map +0 -1
- package/base/webcomponents/drawer/css/toggle.js.map +0 -1
- package/base/webcomponents/drawer/input/login.js +0 -133
- package/base/webcomponents/drawer/input/login.js.map +0 -1
- package/base/webcomponents/drawer/input/sign-up.js.map +0 -1
- package/source/esm/pwa-auth.js +0 -881
- package/source/esm/pwa-auth.js.map +0 -1
- /package/base/{css → webcomponents/css}/svg.d.ts +0 -0
- /package/base/{css → webcomponents/css}/svg.js +0 -0
- /package/base/{css → webcomponents/css}/toggle.d.ts +0 -0
- /package/base/{css/form → webcomponents/form/css}/button.d.ts +0 -0
- /package/base/{css/form → webcomponents/form/css}/input.d.ts +0 -0
- /package/base/{css/form → webcomponents/form/css}/label.d.ts +0 -0
- /package/base/{css/form → webcomponents/form/css}/label.js +0 -0
- /package/base/{css/form → webcomponents/form/css}/list.d.ts +0 -0
- /package/base/webcomponents/{drawer → form}/css/toggle.d.ts +0 -0
|
@@ -15,17 +15,23 @@ import { auth, storage, user } from '../../../firebase/authentication';
|
|
|
15
15
|
import { updateProfile } from 'firebase/auth';
|
|
16
16
|
import { accImage } from '../../../redux/backend';
|
|
17
17
|
import { ref, updateMetadata, getDownloadURL, uploadBytesResumable } from "@firebase/storage";
|
|
18
|
-
import { labelStyle } from '
|
|
18
|
+
import { labelStyle } from '../../form/css/label';
|
|
19
19
|
export class ContactPhoto extends connect(store)(LitElement) {
|
|
20
|
-
photo = '';
|
|
21
|
-
emptyArtwork = '';
|
|
22
|
-
user = '';
|
|
23
|
-
login = false;
|
|
24
|
-
progress = 0;
|
|
25
|
-
error = '';
|
|
26
|
-
status = '';
|
|
27
20
|
constructor() {
|
|
28
21
|
super();
|
|
22
|
+
this.photo = '';
|
|
23
|
+
this.emptyArtwork = '';
|
|
24
|
+
this.user = '';
|
|
25
|
+
this.login = false;
|
|
26
|
+
this.progress = 0;
|
|
27
|
+
this.error = '';
|
|
28
|
+
this.status = '';
|
|
29
|
+
this.dispatchPhoto = async (url) => {
|
|
30
|
+
if (auth.currentUser) {
|
|
31
|
+
await updateProfile(auth.currentUser, { photoURL: url }).catch((error) => { console.log(error); });
|
|
32
|
+
store.dispatch(accImage(url));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
29
35
|
this.progress = 0;
|
|
30
36
|
this.error = '';
|
|
31
37
|
this.status = '';
|
|
@@ -197,12 +203,6 @@ export class ContactPhoto extends connect(store)(LitElement) {
|
|
|
197
203
|
});
|
|
198
204
|
}
|
|
199
205
|
}
|
|
200
|
-
dispatchPhoto = async (url) => {
|
|
201
|
-
if (auth.currentUser) {
|
|
202
|
-
await updateProfile(auth.currentUser, { photoURL: url }).catch((error) => { console.log(error); });
|
|
203
|
-
store.dispatch(accImage(url));
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
206
|
}
|
|
207
207
|
__decorate([
|
|
208
208
|
property(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploader.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/settings/input/uploader.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAkB,MAAQ,KAAK,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAe,mBAAmB,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAY,MAAe,gBAAgB,CAAC;AAC1D,OAAO,E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EAAE,GAA8C,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAS,EAAE,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBAMvI,IAAI,IAAI,EAAE;wBAER,aAAa,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;6BACnC,IAAI,CAAC,GAAG,EAAE;4BAET,QAAQ,CAAC,KAAK,GAAG,GAAG,CAAC;4BACrB,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;wBACpC,CAAC,CAAC,CAAC;wBAEH,IAAI,CAAC,MAAM,GAAG,oCAAoC,CAAC;wBAKrD,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;qBAEzB;gBAEL,CAAC,CAAC,CAAC,KAAK,CAAE,GAAG,EAAE,GAAE,CAAC,CAAE,CAAC;YAIzB,CAAC,CAAC,CAAC;SAIF;IAIH,CAAC;CAiBF;AAlTC;IAAC,QAAQ,EAAE;;2CAAyC;AAGpD;IAAC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;kDAA0B;AAElE;IAAC,KAAK,EAAE;;0CAAmC;AAC3C;IAAC,KAAK,EAAE;;2CAAiC;AAIzC;IAAC,KAAK,EAAE;;8CAA8B;AAEtC;IAAC,KAAK,EAAE;;2CAA4B;AACpC;IAAC,KAAK,EAAE;;4CAA6B;AAuSvC,cAAc,CAAC,MAAM,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC"}
|
|
@@ -18,12 +18,15 @@ import './input/name';
|
|
|
18
18
|
import './input/email';
|
|
19
19
|
import './input/password';
|
|
20
20
|
import './input/delete';
|
|
21
|
-
import { listStyle } from '
|
|
21
|
+
import { listStyle } from '../form/css/list';
|
|
22
|
+
import { animation } from '../css/animation';
|
|
22
23
|
let UserSettings = class UserSettings extends connect(store)(LitElement) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
this.empty = '';
|
|
27
|
+
this.profileTopic = '';
|
|
28
|
+
this.name = '';
|
|
29
|
+
}
|
|
27
30
|
firstUpdated() {
|
|
28
31
|
const forms = this.querySelectorAll('form');
|
|
29
32
|
forms.forEach(item => {
|
|
@@ -50,22 +53,20 @@ let UserSettings = class UserSettings extends connect(store)(LitElement) {
|
|
|
50
53
|
return [
|
|
51
54
|
navigation,
|
|
52
55
|
listStyle,
|
|
56
|
+
animation,
|
|
53
57
|
css `
|
|
54
58
|
|
|
55
|
-
/* Button Padding for Border Outline */
|
|
56
59
|
:host {
|
|
57
60
|
display: grid;
|
|
58
61
|
background-color: var(--pwa_settings_background, white);
|
|
59
62
|
}
|
|
60
63
|
|
|
61
|
-
/* Page Form */
|
|
62
64
|
form {
|
|
63
65
|
box-sizing: border-box;
|
|
64
66
|
display: grid;
|
|
65
67
|
border: 0;
|
|
66
68
|
}
|
|
67
69
|
|
|
68
|
-
/* Page Title */
|
|
69
70
|
.pageTitle { margin: 0; }
|
|
70
71
|
|
|
71
72
|
h2 {
|
|
@@ -73,11 +74,10 @@ let UserSettings = class UserSettings extends connect(store)(LitElement) {
|
|
|
73
74
|
text-align: center;
|
|
74
75
|
text-shadow: 1px 1px 2px black, 0 0 15px grey, 0 0 5px #fff;
|
|
75
76
|
|
|
76
|
-
border-top: 2px solid var(--pwa_divider, black);
|
|
77
77
|
border-bottom: 2px solid var(--pwa_divider, black);
|
|
78
78
|
|
|
79
79
|
margin: 0;
|
|
80
|
-
padding:
|
|
80
|
+
padding: 16px 0;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/* up to 576 pixels */
|
|
@@ -130,55 +130,64 @@ let UserSettings = class UserSettings extends connect(store)(LitElement) {
|
|
|
130
130
|
|
|
131
131
|
</nav>
|
|
132
132
|
|
|
133
|
-
|
|
134
|
-
<
|
|
133
|
+
|
|
134
|
+
<div class= "wrapper">
|
|
135
|
+
<div class= "inner">
|
|
135
136
|
|
|
136
|
-
<!-- Display Username -->
|
|
137
|
-
<h2>${this.name}</h2>
|
|
138
137
|
|
|
139
|
-
|
|
140
|
-
|
|
138
|
+
<!-- Page 1: Profile -->
|
|
139
|
+
<section
|
|
140
|
+
class="content ${this.profileTopic === 'profile' ? 'opened' : 'closed'}">
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
<!-- Page 2: Verification -->
|
|
145
|
-
<section ?on="${this.profileTopic === 'verification'}">
|
|
142
|
+
<!-- Display Username -->
|
|
143
|
+
<h2>${this.name}</h2>
|
|
146
144
|
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
<!-- Custom Image Element - Display / Upload -->
|
|
146
|
+
<contact-photo emptyArtwork="${this.empty}"></contact-photo>
|
|
149
147
|
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
</section>
|
|
149
|
+
|
|
150
|
+
<!-- Page 2: Verification -->
|
|
151
|
+
<section
|
|
152
|
+
class="content ${this.profileTopic === 'verification' ? 'opened' : 'closed'}">
|
|
152
153
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
154
|
+
<!-- Page Title -->
|
|
155
|
+
<h2>Contact Information</h2>
|
|
156
|
+
|
|
157
|
+
<!-- Custom - Username -->
|
|
158
|
+
<input-name></input-name>
|
|
159
|
+
|
|
160
|
+
<!-- Custom - Email -->
|
|
161
|
+
<contact-email></contact-email>
|
|
162
|
+
|
|
163
|
+
</section>
|
|
158
164
|
|
|
159
|
-
|
|
165
|
+
<!-- Page 3: Password -->
|
|
166
|
+
<section
|
|
167
|
+
class="content ${this.profileTopic === 'password' ? 'opened' : 'closed'}">
|
|
160
168
|
|
|
161
|
-
|
|
162
|
-
|
|
169
|
+
<!-- Page Title -->
|
|
170
|
+
<h2>Password</h2>
|
|
163
171
|
|
|
164
|
-
|
|
165
|
-
|
|
172
|
+
<!-- Custom - Password -->
|
|
173
|
+
<input-password></input-password>
|
|
166
174
|
|
|
167
|
-
|
|
168
|
-
<input-password></input-password>
|
|
175
|
+
</section>
|
|
169
176
|
|
|
170
|
-
|
|
177
|
+
<!-- Page 4: Delete -->
|
|
178
|
+
<section
|
|
179
|
+
class="content ${this.profileTopic === 'delete' ? 'opened' : 'closed'}">
|
|
171
180
|
|
|
172
|
-
|
|
173
|
-
|
|
181
|
+
<!-- Page Title -->
|
|
182
|
+
<h2>Delete Account</h2>
|
|
174
183
|
|
|
175
|
-
|
|
176
|
-
|
|
184
|
+
<!-- Custom - Delete -->
|
|
185
|
+
<delete-user></delete-user>
|
|
177
186
|
|
|
178
|
-
|
|
179
|
-
<delete-user></delete-user>
|
|
187
|
+
</section>
|
|
180
188
|
|
|
181
|
-
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
182
191
|
|
|
183
192
|
`;
|
|
184
193
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../typescript/webcomponents/settings/settings.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,GAAG,EAAkB,IAAI,EAAE,UAAU,EAAE,MAAe,KAAK,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAgB,mBAAmB,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAA6B,8BAA8B,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAY,MAAqB,aAAa,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAwB,sBAAsB,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,MAA0B,kBAAkB,CAAC;AAClE,OAAO,kBAAkB,CAAC;AAC1B,OAAO,cAAc,CAAC;AACtB,OAAO,eAAe,CAAC;AACvB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"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YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;;;kBAGjE,IAAI,CAAC,IAAI;;;2CAGgB,IAAI,CAAC,KAAK;;;;;;6BAMvB,IAAI,CAAC,YAAY,KAAK,cAAc,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;;;;;;;;;;;;;;;6BAe1D,IAAI,CAAC,YAAY,KAAK,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;;;;;;;;;;;;6BAYtD,IAAI,CAAC,YAAY,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;;;;;;;;;;;;;KAa7E,CAAA;IACH,CAAC;CAEF,CAAA;AAxLC;IAAC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;2CAAmB;AAE3D;IAAC,KAAK,EAAE;;kDAA2B;AACnC;IAAC,KAAK,EAAE;;0CAAmB;AANhB,YAAY;IADxB,aAAa,CAAC,eAAe,CAAC;;GAClB,YAAY,CA2LxB;SA3LY,YAAY"}
|
package/demonstration/index.html
CHANGED
|
@@ -6,115 +6,91 @@
|
|
|
6
6
|
<meta charset="UTF-8">
|
|
7
7
|
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1" />
|
|
8
8
|
|
|
9
|
+
<!-- pwa-auth.js - CSS Custom Variables - Option 1
|
|
10
|
+
<link rel="stylesheet" href="pwa-styles.css"> -->
|
|
11
|
+
|
|
12
|
+
<!-- pwa-auth.js - CSS Custom Variables - Option 2
|
|
13
|
+
<style> :root {} </style> -->
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="styles.css">
|
|
16
|
+
|
|
9
17
|
<!-- Preconnect -->
|
|
10
18
|
<link rel="preconnect" href="https://firebasestorage.googleapis.com">
|
|
11
19
|
|
|
12
20
|
<!-- Pre-Fetch -->
|
|
13
21
|
<link rel="dns-prefetch" href="https://firebasestorage.googleapis.com">
|
|
14
22
|
|
|
15
|
-
<!-- Cascading Style Sheets -->
|
|
16
|
-
<link rel="stylesheet" href="css/styles.css">
|
|
17
|
-
|
|
18
|
-
<!-- pwa-auth.js - CSS Custom Variables - Option 1
|
|
19
|
-
<link rel="stylesheet" href="pwa-styles.css"> -->
|
|
20
|
-
|
|
21
|
-
<style>
|
|
22
|
-
html {
|
|
23
|
-
overflow: auto;
|
|
24
|
-
scroll-behavior: smooth;
|
|
25
|
-
display: grid;
|
|
26
|
-
height: 100%;
|
|
27
|
-
padding: 16px;
|
|
28
|
-
box-sizing: border-box;
|
|
29
|
-
transition-duration: 1s;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
body {
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
margin: 0;
|
|
35
|
-
font-family: Space Grotesk, system-ui, sans-serif;
|
|
36
|
-
-webkit-font-smoothing: antialiased;
|
|
37
|
-
font-size: .875rem;
|
|
38
|
-
line-height: 1.25rem;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
body {
|
|
42
|
-
background-color: #0a2840;
|
|
43
|
-
display: grid;
|
|
44
|
-
grid-gap: 16px;
|
|
45
|
-
grid-template-areas:
|
|
46
|
-
"head"
|
|
47
|
-
"main"
|
|
48
|
-
"foot";
|
|
49
|
-
grid-template-rows: auto 1fr auto;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
header { grid-area: head; }
|
|
53
|
-
main { grid-area: main; }
|
|
54
|
-
footer { grid-area: foot; }
|
|
55
|
-
|
|
56
|
-
header { display: grid; }
|
|
57
|
-
|
|
58
|
-
main {
|
|
59
|
-
border: 2px solid black;
|
|
60
|
-
border-radius: 6px;
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
background-color: cadetblue;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
footer { display: grid; }
|
|
66
|
-
</style>
|
|
67
|
-
|
|
68
23
|
<!-- pwa-auth.js - Module Configuration Objects -->
|
|
69
24
|
<script>
|
|
70
25
|
window.process = { env: { NODE_ENV: 'production' } };
|
|
71
26
|
window.process = { env: { FIREBASE_CONFIG: JSON.stringify({
|
|
72
|
-
apiKey:
|
|
73
|
-
authDomain:
|
|
74
|
-
projectId:
|
|
75
|
-
storageBucket:
|
|
76
|
-
messagingSenderId:
|
|
77
|
-
appId:
|
|
78
|
-
measurementId:
|
|
27
|
+
apiKey: "AIzaSyC1ZNYC9RAjSAE3syUBNi47AiqbAqkx99w",
|
|
28
|
+
authDomain: "pwa-authentic.firebaseapp.com",
|
|
29
|
+
projectId: "pwa-authentic",
|
|
30
|
+
storageBucket: "pwa-authentic.firebasestorage.app",
|
|
31
|
+
messagingSenderId: "749233996232",
|
|
32
|
+
appId: "1:749233996232:web:bbc410d53b7d39bdfb80fd",
|
|
33
|
+
measurementId: "G-G1GYM1HBJ4"
|
|
79
34
|
})
|
|
80
35
|
}
|
|
81
36
|
};
|
|
82
37
|
</script>
|
|
83
38
|
|
|
39
|
+
<!-- Application Shell -->
|
|
40
|
+
<script type="module" src="../base/export/pwa-auth.js"></script>
|
|
41
|
+
|
|
84
42
|
</head>
|
|
85
43
|
<body>
|
|
86
44
|
|
|
87
45
|
<header>
|
|
88
46
|
|
|
89
|
-
|
|
90
|
-
|
|
47
|
+
<div style="margin: auto">
|
|
48
|
+
|
|
49
|
+
<!-- Sponsor Me -->
|
|
50
|
+
<iframe
|
|
51
|
+
src="https://github.com/sponsors/busynest/button"
|
|
52
|
+
title="Sponsor busynest"
|
|
53
|
+
height="32"
|
|
54
|
+
width="114"
|
|
55
|
+
style="border: 0; border-radius: 6px; margin: auto 0 auto 0;"></iframe>
|
|
56
|
+
|
|
57
|
+
</div>
|
|
91
58
|
|
|
92
59
|
</header>
|
|
93
60
|
|
|
94
|
-
<!-- Drawer
|
|
95
|
-
<user-drawer
|
|
61
|
+
<!-- Drop-down - Drawer-->
|
|
62
|
+
<user-drawer url="./settings" subscribe ></user-drawer>
|
|
96
63
|
|
|
97
64
|
<main>
|
|
98
65
|
|
|
99
|
-
|
|
100
|
-
<user-settings empty="../source/empty.jpg"></user-settings>
|
|
66
|
+
<section>
|
|
101
67
|
|
|
102
|
-
|
|
68
|
+
<h2>Example: Button: Login or Subscribe / Icon Picture</h2>
|
|
103
69
|
|
|
104
|
-
|
|
70
|
+
<!-- Login / Subscribe - Button -->
|
|
71
|
+
<user-icon empty="../source/empty.jpg" subscribe ></user-icon>
|
|
105
72
|
|
|
106
|
-
|
|
107
|
-
<!-- Sponsor Me -->
|
|
108
|
-
<iframe src="https://github.com/sponsors/busynest/button" title="Sponsor busynest" height="32" width="114" style="border: 0; border-radius: 6px; margin: auto 0 auto 0;"></iframe>
|
|
109
|
-
</div>
|
|
73
|
+
</section>
|
|
110
74
|
|
|
111
|
-
|
|
75
|
+
<section>
|
|
112
76
|
|
|
113
|
-
|
|
114
|
-
<style></style> -->
|
|
77
|
+
<h2>Example: Auth Page</h2>
|
|
115
78
|
|
|
116
|
-
|
|
117
|
-
|
|
79
|
+
<!-- Log-in - -Page-->
|
|
80
|
+
<user-login login ></user-login>
|
|
81
|
+
|
|
82
|
+
</section>
|
|
83
|
+
|
|
84
|
+
<section>
|
|
85
|
+
|
|
86
|
+
<h2>Example: Settings Page</h2>
|
|
87
|
+
|
|
88
|
+
<!-- Settings - Page-->
|
|
89
|
+
<user-settings empty="../source/empty.jpg"></user-settings>
|
|
90
|
+
|
|
91
|
+
</section>
|
|
92
|
+
|
|
93
|
+
</main>
|
|
118
94
|
|
|
119
95
|
</body>
|
|
120
96
|
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
html {
|
|
2
|
+
overflow: auto;
|
|
3
|
+
scroll-behavior: smooth;
|
|
4
|
+
display: grid;
|
|
5
|
+
height: 100%;
|
|
6
|
+
padding: 16px;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
transition-duration: 1s;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
body {
|
|
12
|
+
margin: 0;
|
|
13
|
+
font-family: Space Grotesk, system-ui, sans-serif;
|
|
14
|
+
-webkit-font-smoothing: antialiased;
|
|
15
|
+
font-size: .875rem;
|
|
16
|
+
line-height: 1.25rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
body {
|
|
20
|
+
background-color: #0a2840;
|
|
21
|
+
display: grid;
|
|
22
|
+
grid-gap: 16px;
|
|
23
|
+
grid-template-areas:
|
|
24
|
+
"head"
|
|
25
|
+
"main"
|
|
26
|
+
"foot";
|
|
27
|
+
grid-template-rows: auto 1fr auto;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
header { grid-area: head; }
|
|
31
|
+
main { grid-area: main; overflow: hidden; }
|
|
32
|
+
footer { grid-area: foot; }
|
|
33
|
+
|
|
34
|
+
header {
|
|
35
|
+
display: grid;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
main {
|
|
39
|
+
display: grid;
|
|
40
|
+
grid-gap: 16px;
|
|
41
|
+
padding: 16px;
|
|
42
|
+
border: 2px solid black;
|
|
43
|
+
border-radius: 6px;
|
|
44
|
+
background-color: cadetblue;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
section {
|
|
48
|
+
padding: 16px;
|
|
49
|
+
background-color: darkorange;
|
|
50
|
+
border: 2px solid black;
|
|
51
|
+
border-radius: 8px;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
h2 {
|
|
56
|
+
margin-top: 0;
|
|
57
|
+
border-bottom: 2px solid black;
|
|
58
|
+
padding: 0 16px 16px 16px;
|
|
59
|
+
white-space: break-spaces;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
footer {
|
|
63
|
+
display: grid;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
user-login {
|
|
67
|
+
border-radius: 8px;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
border: 2px solid black;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
user-settings {
|
|
73
|
+
border-radius: 8px;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
border: 2px solid black;
|
|
76
|
+
}
|
package/export/pwa-auth.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { UserDrawer } from '../base/webcomponents/drawer/drawer';
|
|
2
2
|
export { UserSettings } from '../base/webcomponents/settings/settings';
|
|
3
3
|
export { UserIcon } from '../base/webcomponents/icon/icon';
|
|
4
|
-
export { store } from '../base/store';
|
|
5
4
|
export { db, storage, auth, user } from '../base/firebase/authentication';
|
package/package.json
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name":
|
|
3
|
-
"type":
|
|
4
|
-
"author":
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
2
|
+
"name": "pwa-auth",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"author": {
|
|
5
|
+
"name": "Jacek Markiewicz",
|
|
6
|
+
"url": "https://www.jackspublishing.com",
|
|
7
|
+
"email": "jack.solutionbox@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"version": "3.3.1",
|
|
10
|
+
"description": "pwa-auth is a collection of four HTML webomponents for User Management to display a login button with icon picture state once logged in. Sign up and login within a drawer and optionally a static for a page. Being able to log out, change account details, and delete account.",
|
|
11
|
+
"homepage": "https://pwa-authentic.firebaseapp.com",
|
|
10
12
|
"repository": {
|
|
11
|
-
"type":
|
|
12
|
-
"url":
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/busynest/user"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/busynest/user/issues"
|
|
18
|
+
},
|
|
19
|
+
"funding": {
|
|
20
|
+
"type": "individual",
|
|
21
|
+
"url": "https://github.com/sponsors/busynest"
|
|
13
22
|
},
|
|
14
23
|
"keywords": [
|
|
15
24
|
"login",
|
|
@@ -23,20 +32,20 @@
|
|
|
23
32
|
"lit",
|
|
24
33
|
"redux"
|
|
25
34
|
],
|
|
35
|
+
"main": "./base/export/pwa-auth.js",
|
|
36
|
+
"types": "./base/export/pwa-auth.d.ts",
|
|
26
37
|
"exports": {
|
|
27
38
|
".": {
|
|
28
|
-
"default"
|
|
29
|
-
"types"
|
|
39
|
+
"default": "./base/export/pwa-auth.js",
|
|
40
|
+
"types": "./base/export/pwa-auth.d.ts"
|
|
30
41
|
}
|
|
31
42
|
},
|
|
32
|
-
"license": "
|
|
33
|
-
"flat": true,
|
|
43
|
+
"license": "SEE LICENSES.txt",
|
|
34
44
|
"scripts": {
|
|
35
|
-
"
|
|
36
|
-
"website"
|
|
37
|
-
"rollup"
|
|
38
|
-
"build"
|
|
39
|
-
"production" : "tsc --project tsconfig.production.json"
|
|
45
|
+
"server": "web-dev-server --node-resolve --watch --open --app-index demonstration/index.html",
|
|
46
|
+
"website": "web-dev-server --node-resolve --watch --open --app-index website/index.html",
|
|
47
|
+
"rollup": "rollup rollup.config.js",
|
|
48
|
+
"build": "tsc --project tsconfig.production.json"
|
|
40
49
|
},
|
|
41
50
|
"dependencies": {
|
|
42
51
|
"pwa-helpers": "^0.9.1",
|
|
@@ -44,22 +53,22 @@
|
|
|
44
53
|
"redux-thunk": "^3.1.0"
|
|
45
54
|
},
|
|
46
55
|
"devDependencies": {
|
|
47
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
56
|
+
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
48
57
|
"@babel/preset-env": "^7.28.3",
|
|
49
58
|
"@lit-labs/rollup-plugin-minify-html-literals": "^0.1.0",
|
|
50
59
|
"@reduxjs/toolkit": "^2.9.0",
|
|
51
|
-
"@rollup/plugin-alias": "^5.
|
|
60
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
52
61
|
"@rollup/plugin-babel": "^6.0.4",
|
|
53
62
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
54
63
|
"@rollup/plugin-node-resolve": "^16.0.2",
|
|
55
64
|
"@rollup/plugin-replace": "^6.0.2",
|
|
56
65
|
"@rollup/plugin-terser": "^0.4.4",
|
|
57
66
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
58
|
-
"@types/node": "^24.7.
|
|
67
|
+
"@types/node": "^24.7.2",
|
|
59
68
|
"@web/dev-server": "^0.4.6",
|
|
60
69
|
"@web/rollup-plugin-copy": "^0.5.1",
|
|
61
70
|
"babel-plugin-template-html-minifier": "^4.1.0",
|
|
62
|
-
"firebase": "^12.
|
|
71
|
+
"firebase": "^12.4.0",
|
|
63
72
|
"lit": "^3.3.1",
|
|
64
73
|
"rollup": "^4.52.4",
|
|
65
74
|
"rollup-plugin-dts": "^6.2.3",
|