pwa-auth 3.2.4 → 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/{bundle/base → base}/export/pwa-auth.d.ts +2 -0
- package/{bundle/base → base}/export/pwa-auth.js +2 -0
- package/base/export/pwa-auth.js.map +1 -0
- package/base/firebase/authentication.js.map +1 -0
- package/base/firebase/interface.js.map +1 -0
- 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/backend.js.map +1 -0
- package/base/redux/drawer.js.map +1 -0
- package/{bundle/base → base}/redux/frontend.d.ts +41 -14
- package/{bundle/base → base}/redux/frontend.js +25 -6
- package/base/redux/frontend.js.map +1 -0
- package/{bundle/base → base}/store.d.ts +4 -2
- package/base/store.js.map +1 -0
- 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/{bundle/base → base/webcomponents}/css/toggle.js +0 -1
- package/base/webcomponents/css/toggle.js.map +1 -0
- package/{bundle/base → base}/webcomponents/drawer/css/drawer.js +7 -10
- package/base/webcomponents/drawer/css/drawer.js.map +1 -0
- package/base/webcomponents/drawer/css/exit.js.map +1 -0
- package/base/webcomponents/drawer/css/link.js.map +1 -0
- package/base/webcomponents/drawer/css/paragraph.js.map +1 -0
- package/{bundle/base → base}/webcomponents/drawer/drawer.d.ts +7 -6
- package/{bundle/base → base}/webcomponents/drawer/drawer.js +46 -31
- package/base/webcomponents/drawer/drawer.js.map +1 -0
- package/{bundle/base/css/form → base/webcomponents/form/css}/button.js +1 -2
- package/base/webcomponents/form/css/button.js.map +1 -0
- package/{bundle/base/css/form → base/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/{bundle/base/css/form → base/webcomponents/form/css}/list.js +1 -2
- package/base/webcomponents/form/css/list.js.map +1 -0
- package/{bundle/base/webcomponents/drawer → base/webcomponents/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/{bundle/base/webcomponents/drawer/input → base/webcomponents/form}/login.d.ts +3 -2
- package/base/webcomponents/form/login.js +158 -0
- package/base/webcomponents/form/login.js.map +1 -0
- package/{bundle/base/webcomponents/drawer/input/sign-up.d.ts → base/webcomponents/form/signup.d.ts} +3 -2
- package/{bundle/base/webcomponents/drawer/input/sign-up.js → base/webcomponents/form/signup.js} +75 -49
- package/base/webcomponents/form/signup.js.map +1 -0
- package/{bundle/base → base}/webcomponents/icon/css/icon.js +0 -5
- package/base/webcomponents/icon/css/icon.js.map +1 -0
- package/{bundle/base → base}/webcomponents/icon/icon.d.ts +2 -1
- package/{bundle/base → base}/webcomponents/icon/icon.js +7 -5
- package/base/webcomponents/icon/icon.js.map +1 -0
- 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/{bundle/base → base}/webcomponents/settings/css/navigation.js +6 -7
- package/base/webcomponents/settings/css/navigation.js.map +1 -0
- package/{bundle/base → base}/webcomponents/settings/input/delete.d.ts +2 -1
- package/{bundle/base → base}/webcomponents/settings/input/delete.js +15 -13
- package/base/webcomponents/settings/input/delete.js.map +1 -0
- package/{bundle/base → base}/webcomponents/settings/input/email.d.ts +2 -1
- package/{bundle/base → base}/webcomponents/settings/input/email.js +37 -35
- package/base/webcomponents/settings/input/email.js.map +1 -0
- package/{bundle/base → base}/webcomponents/settings/input/name.d.ts +2 -1
- package/{bundle/base → base}/webcomponents/settings/input/name.js +24 -20
- package/base/webcomponents/settings/input/name.js.map +1 -0
- package/{bundle/base → base}/webcomponents/settings/input/password.d.ts +2 -1
- package/{bundle/base → base}/webcomponents/settings/input/password.js +53 -39
- package/base/webcomponents/settings/input/password.js.map +1 -0
- package/{bundle/base → base}/webcomponents/settings/input/uploader.d.ts +2 -1
- package/{bundle/base → base}/webcomponents/settings/input/uploader.js +14 -14
- package/base/webcomponents/settings/input/uploader.js.map +1 -0
- package/{bundle/base → base}/webcomponents/settings/settings.d.ts +2 -1
- package/{bundle/base → base}/webcomponents/settings/settings.js +53 -44
- package/base/webcomponents/settings/settings.js.map +1 -0
- package/demonstration/index.html +53 -77
- package/demonstration/styles.css +76 -0
- package/export/pwa-auth.ts +4 -5
- package/package.json +32 -23
- package/source/production/pwa-auth.js +1109 -0
- package/source/pwa-styles.css +2 -0
- package/bundle/base/css/form/button.js.map +0 -1
- package/bundle/base/css/form/input.js.map +0 -1
- package/bundle/base/css/form/label.js.map +0 -1
- package/bundle/base/css/form/list.js.map +0 -1
- package/bundle/base/css/svg.js.map +0 -1
- package/bundle/base/css/toggle.js.map +0 -1
- package/bundle/base/export/pwa-auth.js.map +0 -1
- package/bundle/base/firebase/authentication.js.map +0 -1
- package/bundle/base/firebase/interface.js.map +0 -1
- package/bundle/base/redux/backend.js.map +0 -1
- package/bundle/base/redux/drawer.js.map +0 -1
- package/bundle/base/redux/frontend.js.map +0 -1
- package/bundle/base/store.js.map +0 -1
- package/bundle/base/webcomponents/drawer/css/drawer.js.map +0 -1
- package/bundle/base/webcomponents/drawer/css/exit.js.map +0 -1
- package/bundle/base/webcomponents/drawer/css/link.js.map +0 -1
- package/bundle/base/webcomponents/drawer/css/paragraph.js.map +0 -1
- package/bundle/base/webcomponents/drawer/css/toggle.js.map +0 -1
- package/bundle/base/webcomponents/drawer/drawer.js.map +0 -1
- package/bundle/base/webcomponents/drawer/input/login.js +0 -133
- package/bundle/base/webcomponents/drawer/input/login.js.map +0 -1
- package/bundle/base/webcomponents/drawer/input/sign-up.js.map +0 -1
- package/bundle/base/webcomponents/icon/css/icon.js.map +0 -1
- package/bundle/base/webcomponents/icon/icon.js.map +0 -1
- package/bundle/base/webcomponents/settings/css/navigation.js.map +0 -1
- package/bundle/base/webcomponents/settings/input/delete.js.map +0 -1
- package/bundle/base/webcomponents/settings/input/email.js.map +0 -1
- package/bundle/base/webcomponents/settings/input/name.js.map +0 -1
- package/bundle/base/webcomponents/settings/input/password.js.map +0 -1
- package/bundle/base/webcomponents/settings/input/uploader.js.map +0 -1
- package/bundle/base/webcomponents/settings/settings.js.map +0 -1
- package/source/esm/pwa-auth.js +0 -881
- package/source/esm/pwa-auth.js.map +0 -1
- /package/{bundle/base → base}/firebase/authentication.d.ts +0 -0
- /package/{bundle/base → base}/firebase/authentication.js +0 -0
- /package/{bundle/base → base}/firebase/interface.d.ts +0 -0
- /package/{bundle/base → base}/firebase/interface.js +0 -0
- /package/{bundle/base → base}/redux/backend.d.ts +0 -0
- /package/{bundle/base → base}/redux/backend.js +0 -0
- /package/{bundle/base → base}/redux/drawer.d.ts +0 -0
- /package/{bundle/base → base}/redux/drawer.js +0 -0
- /package/{bundle/base → base}/store.js +0 -0
- /package/{bundle/base → base/webcomponents}/css/svg.d.ts +0 -0
- /package/{bundle/base → base/webcomponents}/css/svg.js +0 -0
- /package/{bundle/base → base/webcomponents}/css/toggle.d.ts +0 -0
- /package/{bundle/base → base}/webcomponents/drawer/css/drawer.d.ts +0 -0
- /package/{bundle/base → base}/webcomponents/drawer/css/exit.d.ts +0 -0
- /package/{bundle/base → base}/webcomponents/drawer/css/exit.js +0 -0
- /package/{bundle/base → base}/webcomponents/drawer/css/link.d.ts +0 -0
- /package/{bundle/base → base}/webcomponents/drawer/css/link.js +0 -0
- /package/{bundle/base → base}/webcomponents/drawer/css/paragraph.d.ts +0 -0
- /package/{bundle/base → base}/webcomponents/drawer/css/paragraph.js +0 -0
- /package/{bundle/base/css/form → base/webcomponents/form/css}/button.d.ts +0 -0
- /package/{bundle/base/css/form → base/webcomponents/form/css}/input.d.ts +0 -0
- /package/{bundle/base/css/form → base/webcomponents/form/css}/label.d.ts +0 -0
- /package/{bundle/base/css/form → base/webcomponents/form/css}/label.js +0 -0
- /package/{bundle/base/css/form → base/webcomponents/form/css}/list.d.ts +0 -0
- /package/{bundle/base/webcomponents/drawer → base/webcomponents/form}/css/toggle.d.ts +0 -0
- /package/{bundle/base → base}/webcomponents/icon/css/icon.d.ts +0 -0
- /package/{bundle/base → base}/webcomponents/settings/css/navigation.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ All notable changes to pwa-auth.js will be documented in this file.
|
|
|
6
6
|
- Social Login Flow
|
|
7
7
|
- animated login and data
|
|
8
8
|
|
|
9
|
+
# [3.3.1] - 2025-10-13
|
|
10
|
+
|
|
11
|
+
## Added
|
|
12
|
+
- webcomponent: `<user-auth>`: static login page
|
|
13
|
+
|
|
14
|
+
## Changed
|
|
15
|
+
- transition animation to page change
|
|
16
|
+
- decouple login toggle from redux or duplicate
|
|
17
|
+
|
|
9
18
|
# [3.2.4] - 2025-10-08
|
|
10
19
|
|
|
11
20
|
## Added
|
|
@@ -111,7 +120,7 @@ All notable changes to pwa-auth.js will be documented in this file.
|
|
|
111
120
|
# [1.1.6] - 2025-08-25
|
|
112
121
|
|
|
113
122
|
## Changed
|
|
114
|
-
- Drawer - should be the
|
|
123
|
+
- Drawer - should be the custom element itself, not internal wrapper
|
|
115
124
|
|
|
116
125
|
# [1.0.8] - 2025-08-23
|
|
117
126
|
|
|
@@ -1,59 +1,3 @@
|
|
|
1
|
-
@firebase/util@1.13.0
|
|
2
|
-
Apache-2.0
|
|
3
|
-
No license text provided
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
@firebase/component@0.7.0
|
|
7
|
-
Apache-2.0
|
|
8
|
-
No license text provided
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
@firebase/logger@0.5.0
|
|
12
|
-
Apache-2.0
|
|
13
|
-
No license text provided
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
idb@7.1.1
|
|
17
|
-
ISC
|
|
18
|
-
ISC License (ISC)
|
|
19
|
-
Copyright (c) 2016, Jake Archibald <jaffathecake@gmail.com>
|
|
20
|
-
|
|
21
|
-
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
|
22
|
-
|
|
23
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
@firebase/app@0.14.3
|
|
28
|
-
Apache-2.0
|
|
29
|
-
No license text provided
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
firebase@12.3.0
|
|
33
|
-
Apache-2.0
|
|
34
|
-
No license text provided
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
@firebase/webchannel-wrapper@1.0.5
|
|
38
|
-
Apache-2.0
|
|
39
|
-
No license text provided
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
@firebase/firestore@4.9.2
|
|
43
|
-
Apache-2.0
|
|
44
|
-
No license text provided
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
@firebase/storage@0.14.0
|
|
48
|
-
Apache-2.0
|
|
49
|
-
No license text provided
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
@firebase/auth@1.11.0
|
|
53
|
-
Apache-2.0
|
|
54
|
-
No license text provided
|
|
55
|
-
|
|
56
|
-
---
|
|
57
1
|
@lit/reactive-element@2.1.1
|
|
58
2
|
BSD-3-Clause
|
|
59
3
|
BSD 3-Clause License
|
|
@@ -287,13 +231,69 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
287
231
|
SOFTWARE.
|
|
288
232
|
|
|
289
233
|
|
|
234
|
+
---
|
|
235
|
+
@firebase/util@1.13.0
|
|
236
|
+
Apache-2.0
|
|
237
|
+
No license text provided
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
@firebase/component@0.7.0
|
|
241
|
+
Apache-2.0
|
|
242
|
+
No license text provided
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
@firebase/logger@0.5.0
|
|
246
|
+
Apache-2.0
|
|
247
|
+
No license text provided
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
idb@7.1.1
|
|
251
|
+
ISC
|
|
252
|
+
ISC License (ISC)
|
|
253
|
+
Copyright (c) 2016, Jake Archibald <jaffathecake@gmail.com>
|
|
254
|
+
|
|
255
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
|
256
|
+
|
|
257
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
@firebase/app@0.14.4
|
|
262
|
+
Apache-2.0
|
|
263
|
+
No license text provided
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
@firebase/auth@1.11.0
|
|
267
|
+
Apache-2.0
|
|
268
|
+
No license text provided
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
firebase@12.4.0
|
|
272
|
+
Apache-2.0
|
|
273
|
+
No license text provided
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
@firebase/webchannel-wrapper@1.0.5
|
|
277
|
+
Apache-2.0
|
|
278
|
+
No license text provided
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
@firebase/firestore@4.9.2
|
|
282
|
+
Apache-2.0
|
|
283
|
+
No license text provided
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
@firebase/storage@0.14.0
|
|
287
|
+
Apache-2.0
|
|
288
|
+
No license text provided
|
|
289
|
+
|
|
290
290
|
---
|
|
291
291
|
@firebase/installations@0.6.19
|
|
292
292
|
Apache-2.0
|
|
293
293
|
No license text provided
|
|
294
294
|
|
|
295
295
|
---
|
|
296
|
-
@firebase/analytics@0.10.
|
|
296
|
+
@firebase/analytics@0.10.19
|
|
297
297
|
Apache-2.0
|
|
298
298
|
No license text provided
|
|
299
299
|
|
package/README.md
CHANGED
|
@@ -8,21 +8,39 @@ pwa-auth.js is a bundle of 3 Custom HTML Elements for Firebase (IAM) Authenicati
|
|
|
8
8
|
|
|
9
9
|
pwa-auth.js (Authentication Webcomponents) are for anyone who is looking for a quick and simple way to sign-up, log-in, log-out, modify, or delete a firebase account information from thier own personal domain.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
- Icon Button
|
|
13
|
-
- Drop-down Drawer
|
|
14
|
-
- Settings Page
|
|
15
|
-
|
|
16
|
-
You will learn how to place 3 Custom HTML Tags, reference CSS, and How to Initialize an Firebase Instance. By either <b>Standard</b> or <b>Modular</b> ECMA Script.
|
|
11
|
+
You will learn how to place 5 Custom HTML Tags, reference CSS, and How to Initialize an Firebase Instance. By either <b>Standard</b> or <b>Modular</b> ECMA Script.
|
|
17
12
|
|
|
18
13
|
Continue reading to understand how to install the project:
|
|
19
14
|
|
|
15
|
+
## Features
|
|
16
|
+
- Register through Email and Password
|
|
17
|
+
- Log-in
|
|
18
|
+
- Log-out
|
|
19
|
+
- Change Username
|
|
20
|
+
- Change Email
|
|
21
|
+
- Change Password
|
|
22
|
+
- Upload Profile Picture
|
|
23
|
+
- Delete Account
|
|
24
|
+
- Global Functions
|
|
25
|
+
- Redux State Connection
|
|
26
|
+
|
|
27
|
+
# Elements
|
|
28
|
+
- Button: Log-in / Subscribe / Icon
|
|
29
|
+
- Drop-down Drawer: Email Log-in / Email Subscribe / Menu with Log-out
|
|
30
|
+
- Pages:
|
|
31
|
+
- Account Settings
|
|
32
|
+
- Auth: Email Log-in / email Subscribe
|
|
33
|
+
- Password Reset
|
|
34
|
+
|
|
20
35
|
## Choose Project Type
|
|
21
36
|
|
|
22
37
|
ECMA Script Modules
|
|
23
38
|
```javascript
|
|
39
|
+
// Custom HTML Elements
|
|
24
40
|
import 'pwa-auth';
|
|
25
|
-
|
|
41
|
+
|
|
42
|
+
// Firebase Objects
|
|
43
|
+
import { db, storage, auth, user } from 'pwa-auth';
|
|
26
44
|
```
|
|
27
45
|
|
|
28
46
|
Global Scope Management
|
|
@@ -30,24 +48,46 @@ Global Scope Management
|
|
|
30
48
|
<!-- Optional: Copy the Project Files from 'src' Folder -->
|
|
31
49
|
<script type="module" src="./pwa-auth.js"></script>
|
|
32
50
|
```
|
|
51
|
+
|
|
33
52
|
## Library
|
|
34
|
-
-
|
|
53
|
+
- 5 Tag Placement
|
|
35
54
|
- Color Scheme: CSS Custom Properties
|
|
36
|
-
- Firebase Initialization Object
|
|
55
|
+
- Firebase Initialization `window` Object
|
|
37
56
|
|
|
38
|
-
##
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
57
|
+
## HTML Webcomponents
|
|
58
|
+
- `<user-icon>`
|
|
59
|
+
- property: subscribe: (Initial State): Subscribe
|
|
60
|
+
- property: subscribe: else (Initial State): Login
|
|
61
|
+
- property; empty: location of empty image
|
|
62
|
+
- state: Logged-out: txt: Login Button
|
|
63
|
+
- state: Logged-out: txt: Subscribe Button
|
|
64
|
+
- state: Logged-in: photo: Icon Button
|
|
65
|
+
- `<user-drawer>`
|
|
66
|
+
- feature: Top-down drawer: 1.4 seconds
|
|
67
|
+
- property: url: location of `<pwa-settings>` Tag
|
|
68
|
+
- property: subscribe: (Initial State): Subscribe
|
|
69
|
+
- property: subscribe: else (Initial State): Login
|
|
70
|
+
- state: logged-out: Sign-up by Email Addresses and Password
|
|
71
|
+
- state: logged-out: Sign-in by Email Addresses and Password
|
|
72
|
+
- state: logged-in: Settings Page Link, Log-out Button
|
|
73
|
+
- `<user-login>`
|
|
74
|
+
- feature: regular visible page component
|
|
75
|
+
- state: logged-out: Sign-up by Email Addresses and Password
|
|
76
|
+
- state: logged-out: Sign-in by Email Addresses and Password
|
|
77
|
+
- state: logged-in: content: `<slot></slot>`
|
|
78
|
+
- `<user-settings>`
|
|
79
|
+
- 1 Photo Upload Feature, view uploaded bucket of photos, photo ediotr
|
|
80
|
+
- empty property: location of empty image
|
|
81
|
+
- Unavailable Photo
|
|
82
|
+
- Update Username
|
|
83
|
+
- Update Email / Verify
|
|
84
|
+
- Update Password
|
|
85
|
+
- Delete Account, Photos, Information
|
|
86
|
+
- `<email-reset>`
|
|
87
|
+
- Coming Soon
|
|
88
|
+
- Optional: Custom CSS Properties
|
|
49
89
|
|
|
50
|
-
## Modules
|
|
90
|
+
## Functional Modules
|
|
51
91
|
- store - redux store state
|
|
52
92
|
- verified, userId, name, email, photoURL
|
|
53
93
|
- db - firestore database reference
|
|
@@ -59,12 +99,6 @@ Global Scope Management
|
|
|
59
99
|
- user - active user boolean reference
|
|
60
100
|
- auth.currentUser
|
|
61
101
|
|
|
62
|
-
## HTML Webcomponents
|
|
63
|
-
- user-icon
|
|
64
|
-
- user-drawer
|
|
65
|
-
- user-settings
|
|
66
|
-
- Optional: Custom CSS Properties
|
|
67
|
-
|
|
68
102
|
## Prerequisites
|
|
69
103
|
- Google:
|
|
70
104
|
- Google Analytics
|
|
@@ -74,16 +108,13 @@ Global Scope Management
|
|
|
74
108
|
- Authentication - email login
|
|
75
109
|
- Cloud Storage - storage bucket
|
|
76
110
|
|
|
77
|
-
## Boilerplate
|
|
78
|
-
|
|
111
|
+
## Boilerplate JavaScript
|
|
79
112
|
For simple projects, copy project bundle to disk
|
|
80
113
|
- source/esm/
|
|
81
114
|
- pwa-auth.js
|
|
82
115
|
- pwa-auth.js.map
|
|
83
116
|
- pwa-styles.css
|
|
84
117
|
- empty.jpg
|
|
85
|
-
|
|
86
|
-
### ECMA Script Modules
|
|
87
118
|
```html
|
|
88
119
|
<head>
|
|
89
120
|
|
|
@@ -113,65 +144,53 @@ For simple projects, copy project bundle to disk
|
|
|
113
144
|
|
|
114
145
|
</head>
|
|
115
146
|
```
|
|
116
|
-
##
|
|
117
|
-
|
|
118
|
-
### TypeScript Library for Bundlers
|
|
119
|
-
The Start File exports: classes and objects
|
|
147
|
+
## Modular Library for Bundlers
|
|
148
|
+
pwa-auth.js exports: classes and objects
|
|
120
149
|
```javascript
|
|
121
150
|
import 'pwa-auth';
|
|
122
151
|
// <user-icon subscribe emptyArtwork="./images/empty.jpg"></user-icon>
|
|
123
152
|
// <user-drawer subscribe settingsURL="./settings"></user-drawer>
|
|
124
153
|
// <user-settings emptyArtwork="./images/empty.jpg"></user-settings>
|
|
125
|
-
import {
|
|
154
|
+
import { db, storage, auth, user } from 'pwa-auth';
|
|
126
155
|
// db - firestore database reference
|
|
127
156
|
// storage - firebase storage reference
|
|
128
157
|
// auth - user object reference
|
|
129
158
|
// user - active user boolean reference
|
|
130
|
-
// store - Redux States:
|
|
131
|
-
// store.backend.verified - verified email: true/false
|
|
132
|
-
// store.backend.userId - user ID
|
|
133
|
-
// store.backend.name - user name
|
|
134
|
-
// store.backend.email - user email
|
|
135
|
-
// store.backend.photoURL - user profile photo
|
|
136
159
|
```
|
|
137
160
|
|
|
138
|
-
## Implementation
|
|
161
|
+
## Implementation - Drawer
|
|
139
162
|
```html
|
|
140
163
|
<body>
|
|
141
164
|
|
|
142
165
|
<header>
|
|
143
|
-
<!-- subscribe property: (Initial State): Subscribe -->
|
|
144
|
-
<!-- subscribe property: else (Initial State): Login -->
|
|
145
|
-
<!-- empty property: location of empty image -->
|
|
146
|
-
<!-- Logged-out (State): txt: Login Button -->
|
|
147
|
-
<!-- Logged-out (State): txt: Subscribe Button -->
|
|
148
|
-
<!-- Logged-in (State): photo: Icon Button -->
|
|
149
166
|
<user-icon subscribe empty="./images/empty.jpg"></user-icon>
|
|
150
167
|
</header>
|
|
151
168
|
|
|
152
|
-
<!-- url property: location of <pwa-settings> Tag -->
|
|
153
|
-
<!-- subscribe property: (Initial State): Subscribe -->
|
|
154
|
-
<!-- subscribe property: else (Initial State): Login -->
|
|
155
|
-
<!-- Top-down, Drop-down Feature: height, 1.4 seconds -->
|
|
156
|
-
<!-- logged-out (State): Sign-up by Email Addresses and Password -->
|
|
157
|
-
<!-- logged-out (State): Sign-in by Email Addresses and Password -->
|
|
158
|
-
<!-- logged-in (State): Settings Page Link, Log-out Button -->
|
|
159
169
|
<user-drawer subscribe url="./settings"></user-drawer>
|
|
160
170
|
|
|
161
171
|
<main>
|
|
162
|
-
<!-- 1 Photo Upload Feature, view uploaded bucket of photos, photo ediotr -->
|
|
163
|
-
<!-- empty property: location of empty image -->
|
|
164
|
-
<!-- Unavailable Photo -->
|
|
165
|
-
<!-- Update Username -->
|
|
166
|
-
<!-- Update Email / Verify -->
|
|
167
|
-
<!-- Update Password -->
|
|
168
|
-
<!-- Delete Account, Photos, Information -->
|
|
169
172
|
<user-settings empty="./images/empty.jpg"></user-settings>
|
|
170
173
|
</main>
|
|
171
174
|
|
|
172
175
|
</body>
|
|
173
176
|
```
|
|
174
177
|
|
|
178
|
+
## Implementation - Page
|
|
179
|
+
```html
|
|
180
|
+
<body>
|
|
181
|
+
|
|
182
|
+
<header>
|
|
183
|
+
<user-icon empty="./images/empty.jpg" subscribe ></user-icon>
|
|
184
|
+
</header>
|
|
185
|
+
|
|
186
|
+
<main>
|
|
187
|
+
<user-login subscribe ></user-login>
|
|
188
|
+
<user-settings empty="./images/empty.jpg"></user-settings>
|
|
189
|
+
</main>
|
|
190
|
+
|
|
191
|
+
</body>
|
|
192
|
+
```
|
|
193
|
+
|
|
175
194
|
## CSS Custom Properties
|
|
176
195
|
```css
|
|
177
196
|
:root {
|
|
@@ -196,6 +215,9 @@ import { store, db, storage, auth, user } from 'pwa-auth';
|
|
|
196
215
|
--pwa_drawer_text_color: #303030;
|
|
197
216
|
--pwa_drawer_background_color: #fff;
|
|
198
217
|
|
|
218
|
+
/* <user-settings> - Page Design */
|
|
219
|
+
--section_background: white;
|
|
220
|
+
|
|
199
221
|
/* <user-settings> - Navigation Design */
|
|
200
222
|
--pwa_settings_background: grey;
|
|
201
223
|
--pwa_nav_button: grey;
|
|
@@ -211,6 +233,9 @@ import { store, db, storage, auth, user } from 'pwa-auth';
|
|
|
211
233
|
--pwa_action_text_color: #fff;
|
|
212
234
|
--pwa_action_background_color: #6cc04a;
|
|
213
235
|
--pwa_action_border_color: #60b23e;
|
|
236
|
+
|
|
237
|
+
/* Section */
|
|
238
|
+
--section_background: white;
|
|
214
239
|
}
|
|
215
240
|
```
|
|
216
241
|
|
|
@@ -218,8 +243,6 @@ import { store, db, storage, auth, user } from 'pwa-auth';
|
|
|
218
243
|
pwa-auth.js is built upon the Firebase SDK (Software Development Kit).
|
|
219
244
|
The entire bundle is one instance of firebase that takes in the configuration information, internally.
|
|
220
245
|
|
|
221
|
-
If you are looking for a Namespaced Firebase Configuration, please send it as feedback, and will make that version for you.
|
|
222
|
-
|
|
223
246
|
## Technological Engineering
|
|
224
247
|
- Development (Server-side) Environment: [Node JavaScript](https://nodejs.org)
|
|
225
248
|
- Backend: Google Cloud: [Firebase](https://firebase.google.com/)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export { UserLogin } from '../webcomponents/login/page';
|
|
1
2
|
export { UserDrawer } from '../webcomponents/drawer/drawer';
|
|
2
3
|
export { UserSettings } from '../webcomponents/settings/settings';
|
|
3
4
|
export { UserIcon } from '../webcomponents/icon/icon';
|
|
5
|
+
export { EmailReset } from '../webcomponents/form/forgot';
|
|
4
6
|
export { firebaseConfig, application, db, storage, auth, user } from '../firebase/authentication';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export { UserLogin } from '../webcomponents/login/page';
|
|
1
2
|
export { UserDrawer } from '../webcomponents/drawer/drawer';
|
|
2
3
|
export { UserSettings } from '../webcomponents/settings/settings';
|
|
3
4
|
export { UserIcon } from '../webcomponents/icon/icon';
|
|
5
|
+
export { EmailReset } from '../webcomponents/form/forgot';
|
|
4
6
|
export { firebaseConfig, application, db, storage, auth, user } from '../firebase/authentication';
|
|
5
7
|
//# sourceMappingURL=pwa-auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pwa-auth.js","sourceRoot":"","sources":["../../typescript/export/pwa-auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAiB,6BAA6B,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAgB,gCAAgC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAc,oCAAoC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAkB,4BAA4B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAgB,8BAA8B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.js","sourceRoot":"","sources":["../../typescript/firebase/authentication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAe,MAAiB,cAAc,CAAC;AACrE,OAAO,EAAE,YAAY,EAAY,MAAkB,oBAAoB,CAAC;AACxE,OAAO,EAAE,UAAU,EAAkB,MAAoB,mBAAmB,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAc,MAAiB,eAAe,CAAC;AAU/D,MAAM,CAAC,MAAM,cAAc,GAAuB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,IAAI,CAAC,CAAC;AAClG,MAAM,CAAC,MAAM,WAAW,GAA0B,aAAa,CAAC,cAAc,CAAC,CAAC;AAChF,MAAM,CAAC,MAAM,EAAE,GAAmC,YAAY,CAAC,WAAW,CAAC,CAAC;AAC5E,MAAM,CAAC,MAAM,OAAO,GAA8B,UAAU,CAAC,WAAW,CAAC,CAAC;AAC1E,MAAM,CAAC,MAAM,IAAI,GAAiC,OAAO,CAAC,WAAW,CAAC,CAAC;AACvE,MAAM,CAAC,MAAM,IAAI,GAAiC,IAAI,CAAC,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interface.js","sourceRoot":"","sources":["../../typescript/firebase/interface.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,QAAQ,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@@ -0,0 +1,23 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { LitElement } from 'lit';
|
|
11
|
+
import { property } from 'lit/decorators.js';
|
|
12
|
+
export class LazyLoader extends LitElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.active = false;
|
|
16
|
+
}
|
|
17
|
+
shouldUpdate() { return this.active; }
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
property({ type: Boolean }),
|
|
21
|
+
__metadata("design:type", Boolean)
|
|
22
|
+
], LazyLoader.prototype, "active", void 0);
|
|
23
|
+
//# sourceMappingURL=lazy-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lazy-loader.js","sourceRoot":"","sources":["../typescript/lazy-loader.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAQ,mBAAmB,CAAC;AAE/C,MAAM,OAAO,UAAW,SAAQ,UAAU;IAKxC;QACE,KAAK,EAAE,CAAC;QAHwB,WAAM,GAAa,KAAK,CAAC;IAI3D,CAAC;IAGD,YAAY,KAAK,OAAO,IAAI,C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H,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC;AAE9D,eAAe,WAAW,CAAC,OAAO,CAAC"}
|
|
@@ -3,7 +3,8 @@ export declare const initialState: {
|
|
|
3
3
|
settings: string;
|
|
4
4
|
login: boolean;
|
|
5
5
|
drawer: boolean;
|
|
6
|
-
|
|
6
|
+
registerOne: boolean;
|
|
7
|
+
registerTwo: boolean;
|
|
7
8
|
userId: string;
|
|
8
9
|
customer: string;
|
|
9
10
|
profileChoice: string;
|
|
@@ -16,7 +17,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
16
17
|
settings: string;
|
|
17
18
|
login: boolean;
|
|
18
19
|
drawer: boolean;
|
|
19
|
-
|
|
20
|
+
registerOne: boolean;
|
|
21
|
+
registerTwo: boolean;
|
|
20
22
|
userId: string;
|
|
21
23
|
customer: string;
|
|
22
24
|
profileChoice: string;
|
|
@@ -29,7 +31,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
29
31
|
settings: string;
|
|
30
32
|
login: boolean;
|
|
31
33
|
drawer: boolean;
|
|
32
|
-
|
|
34
|
+
registerOne: boolean;
|
|
35
|
+
registerTwo: boolean;
|
|
33
36
|
userId: string;
|
|
34
37
|
customer: string;
|
|
35
38
|
profileChoice: string;
|
|
@@ -42,7 +45,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
42
45
|
settings: string;
|
|
43
46
|
login: boolean;
|
|
44
47
|
drawer: boolean;
|
|
45
|
-
|
|
48
|
+
registerOne: boolean;
|
|
49
|
+
registerTwo: boolean;
|
|
46
50
|
userId: string;
|
|
47
51
|
customer: string;
|
|
48
52
|
profileChoice: string;
|
|
@@ -55,7 +59,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
55
59
|
settings: string;
|
|
56
60
|
login: boolean;
|
|
57
61
|
drawer: boolean;
|
|
58
|
-
|
|
62
|
+
registerOne: boolean;
|
|
63
|
+
registerTwo: boolean;
|
|
59
64
|
userId: string;
|
|
60
65
|
customer: string;
|
|
61
66
|
profileChoice: string;
|
|
@@ -68,7 +73,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
68
73
|
settings: string;
|
|
69
74
|
login: boolean;
|
|
70
75
|
drawer: boolean;
|
|
71
|
-
|
|
76
|
+
registerOne: boolean;
|
|
77
|
+
registerTwo: boolean;
|
|
72
78
|
userId: string;
|
|
73
79
|
customer: string;
|
|
74
80
|
profileChoice: string;
|
|
@@ -81,7 +87,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
81
87
|
settings: string;
|
|
82
88
|
login: boolean;
|
|
83
89
|
drawer: boolean;
|
|
84
|
-
|
|
90
|
+
registerOne: boolean;
|
|
91
|
+
registerTwo: boolean;
|
|
85
92
|
userId: string;
|
|
86
93
|
customer: string;
|
|
87
94
|
profileChoice: string;
|
|
@@ -90,11 +97,26 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
90
97
|
phone: string;
|
|
91
98
|
email: string;
|
|
92
99
|
}>) => void;
|
|
100
|
+
universalToggle: (state: import("immer").WritableDraft<{
|
|
101
|
+
settings: string;
|
|
102
|
+
login: boolean;
|
|
103
|
+
drawer: boolean;
|
|
104
|
+
registerOne: boolean;
|
|
105
|
+
registerTwo: boolean;
|
|
106
|
+
userId: string;
|
|
107
|
+
customer: string;
|
|
108
|
+
profileChoice: string;
|
|
109
|
+
name: string;
|
|
110
|
+
photoURL: string;
|
|
111
|
+
phone: string;
|
|
112
|
+
email: string;
|
|
113
|
+
}>, action: PayloadAction<string>) => void;
|
|
93
114
|
signUpClose: (state: import("immer").WritableDraft<{
|
|
94
115
|
settings: string;
|
|
95
116
|
login: boolean;
|
|
96
117
|
drawer: boolean;
|
|
97
|
-
|
|
118
|
+
registerOne: boolean;
|
|
119
|
+
registerTwo: boolean;
|
|
98
120
|
userId: string;
|
|
99
121
|
customer: string;
|
|
100
122
|
profileChoice: string;
|
|
@@ -107,7 +129,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
107
129
|
settings: string;
|
|
108
130
|
login: boolean;
|
|
109
131
|
drawer: boolean;
|
|
110
|
-
|
|
132
|
+
registerOne: boolean;
|
|
133
|
+
registerTwo: boolean;
|
|
111
134
|
userId: string;
|
|
112
135
|
customer: string;
|
|
113
136
|
profileChoice: string;
|
|
@@ -120,7 +143,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
120
143
|
settings: string;
|
|
121
144
|
login: boolean;
|
|
122
145
|
drawer: boolean;
|
|
123
|
-
|
|
146
|
+
registerOne: boolean;
|
|
147
|
+
registerTwo: boolean;
|
|
124
148
|
userId: string;
|
|
125
149
|
customer: string;
|
|
126
150
|
profileChoice: string;
|
|
@@ -133,7 +157,8 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
133
157
|
settings: string;
|
|
134
158
|
login: boolean;
|
|
135
159
|
drawer: boolean;
|
|
136
|
-
|
|
160
|
+
registerOne: boolean;
|
|
161
|
+
registerTwo: boolean;
|
|
137
162
|
userId: string;
|
|
138
163
|
customer: string;
|
|
139
164
|
profileChoice: string;
|
|
@@ -142,12 +167,13 @@ export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
|
142
167
|
phone: string;
|
|
143
168
|
email: string;
|
|
144
169
|
}>>;
|
|
145
|
-
export declare const navigateAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/navigateAuth">, iconAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/iconAuth">, nameAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/nameAuth">, userAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "user/userAuth">, toggleSign: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/toggleSign">, closeSign: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/closeSign">, signUpAction: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/signUpAction">, signUpClose: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "user/signUpClose">;
|
|
170
|
+
export declare const universalToggle: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/universalToggle">, navigateAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/navigateAuth">, iconAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/iconAuth">, nameAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/nameAuth">, userAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "user/userAuth">, toggleSign: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/toggleSign">, closeSign: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/closeSign">, signUpAction: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/signUpAction">, signUpClose: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "user/signUpClose">;
|
|
146
171
|
declare const _default: import("redux").Reducer<{
|
|
147
172
|
settings: string;
|
|
148
173
|
login: boolean;
|
|
149
174
|
drawer: boolean;
|
|
150
|
-
|
|
175
|
+
registerOne: boolean;
|
|
176
|
+
registerTwo: boolean;
|
|
151
177
|
userId: string;
|
|
152
178
|
customer: string;
|
|
153
179
|
profileChoice: string;
|
|
@@ -159,7 +185,8 @@ declare const _default: import("redux").Reducer<{
|
|
|
159
185
|
settings: string;
|
|
160
186
|
login: boolean;
|
|
161
187
|
drawer: boolean;
|
|
162
|
-
|
|
188
|
+
registerOne: boolean;
|
|
189
|
+
registerTwo: boolean;
|
|
163
190
|
userId: string;
|
|
164
191
|
customer: string;
|
|
165
192
|
profileChoice: string;
|