pwa-auth 3.2.3 → 3.2.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/CHANGELOG.md +7 -1
- package/README.md +55 -33
- package/{base → bundle/base}/css/form/button.d.ts +2 -2
- package/{base → bundle/base}/css/form/button.js +2 -2
- package/bundle/base/css/form/button.js.map +1 -0
- package/{base → bundle/base}/css/form/input.d.ts +2 -2
- package/{base → bundle/base}/css/form/input.js +2 -2
- package/bundle/base/css/form/input.js.map +1 -0
- package/{base → bundle/base}/css/form/label.d.ts +2 -2
- package/{base → bundle/base}/css/form/label.js +2 -2
- package/bundle/base/css/form/label.js.map +1 -0
- package/{base → bundle/base}/css/form/list.d.ts +2 -2
- package/{base → bundle/base}/css/form/list.js +2 -2
- package/bundle/base/css/form/list.js.map +1 -0
- package/{base → bundle/base}/css/svg.d.ts +3 -3
- package/{base → bundle/base}/css/svg.js +4 -4
- package/bundle/base/css/svg.js.map +1 -0
- package/{base → bundle/base}/css/toggle.d.ts +1 -1
- package/{base → bundle/base}/css/toggle.js +2 -2
- package/bundle/base/css/toggle.js.map +1 -0
- package/{base → bundle/base}/export/pwa-auth.d.ts +4 -4
- package/{base → bundle/base}/export/pwa-auth.js +4 -4
- package/bundle/base/export/pwa-auth.js.map +1 -0
- package/{base → bundle/base}/firebase/authentication.d.ts +10 -10
- package/{base → bundle/base}/firebase/authentication.js +10 -10
- package/bundle/base/firebase/authentication.js.map +1 -0
- package/{base → bundle/base}/firebase/interface.d.ts +4 -4
- package/{base → bundle/base}/firebase/interface.js +79 -79
- package/bundle/base/firebase/interface.js.map +1 -0
- package/{base → bundle/base}/redux/backend.d.ts +122 -113
- package/{base → bundle/base}/redux/backend.js +43 -43
- package/bundle/base/redux/backend.js.map +1 -0
- package/{base → bundle/base}/redux/drawer.d.ts +19 -17
- package/{base → bundle/base}/redux/drawer.js +21 -21
- package/bundle/base/redux/drawer.js.map +1 -0
- package/{base → bundle/base}/redux/frontend.d.ts +171 -159
- package/{base → bundle/base}/redux/frontend.js +67 -67
- package/bundle/base/redux/frontend.js.map +1 -0
- package/{base → bundle/base}/store.d.ts +60 -60
- package/{base → bundle/base}/store.js +13 -13
- package/bundle/base/store.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/css/drawer.d.ts +2 -2
- package/{base → bundle/base}/webcomponents/drawer/css/drawer.js +2 -2
- package/bundle/base/webcomponents/drawer/css/drawer.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/css/exit.d.ts +2 -2
- package/{base → bundle/base}/webcomponents/drawer/css/exit.js +2 -2
- package/bundle/base/webcomponents/drawer/css/exit.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/css/link.d.ts +2 -2
- package/{base → bundle/base}/webcomponents/drawer/css/link.js +2 -2
- package/bundle/base/webcomponents/drawer/css/link.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/css/paragraph.d.ts +2 -2
- package/{base → bundle/base}/webcomponents/drawer/css/paragraph.js +2 -2
- package/bundle/base/webcomponents/drawer/css/paragraph.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/css/toggle.d.ts +2 -2
- package/{base → bundle/base}/webcomponents/drawer/css/toggle.js +2 -2
- package/bundle/base/webcomponents/drawer/css/toggle.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/drawer.d.ts +57 -57
- package/{base → bundle/base}/webcomponents/drawer/drawer.js +93 -95
- package/bundle/base/webcomponents/drawer/drawer.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/input/login.d.ts +19 -19
- package/{base → bundle/base}/webcomponents/drawer/input/login.js +81 -83
- package/bundle/base/webcomponents/drawer/input/login.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/input/sign-up.d.ts +19 -19
- package/{base → bundle/base}/webcomponents/drawer/input/sign-up.js +88 -90
- package/bundle/base/webcomponents/drawer/input/sign-up.js.map +1 -0
- package/{base → bundle/base}/webcomponents/icon/css/icon.d.ts +1 -1
- package/{base → bundle/base}/webcomponents/icon/css/icon.js +2 -2
- package/bundle/base/webcomponents/icon/css/icon.js.map +1 -0
- package/{base → bundle/base}/webcomponents/icon/icon.d.ts +53 -53
- package/{base → bundle/base}/webcomponents/icon/icon.js +57 -59
- package/bundle/base/webcomponents/icon/icon.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/css/navigation.d.ts +1 -1
- package/{base → bundle/base}/webcomponents/settings/css/navigation.js +2 -2
- package/bundle/base/webcomponents/settings/css/navigation.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/delete.d.ts +54 -54
- package/{base → bundle/base}/webcomponents/settings/input/delete.js +71 -73
- package/bundle/base/webcomponents/settings/input/delete.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/email.d.ts +54 -54
- package/{base → bundle/base}/webcomponents/settings/input/email.js +70 -72
- package/bundle/base/webcomponents/settings/input/email.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/name.d.ts +53 -53
- package/{base → bundle/base}/webcomponents/settings/input/name.js +65 -67
- package/bundle/base/webcomponents/settings/input/name.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/password.d.ts +56 -56
- package/{base → bundle/base}/webcomponents/settings/input/password.js +95 -97
- package/bundle/base/webcomponents/settings/input/password.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/uploader.d.ts +57 -57
- package/{base → bundle/base}/webcomponents/settings/input/uploader.js +150 -150
- package/bundle/base/webcomponents/settings/input/uploader.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/settings.d.ts +57 -57
- package/{base → bundle/base}/webcomponents/settings/settings.js +76 -78
- package/bundle/base/webcomponents/settings/settings.js.map +1 -0
- package/export/pwa-auth.ts +5 -4
- package/package.json +1 -1
- package/source/esm/pwa-auth.js.map +1 -1
- 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/export/auth-helpers.d.ts +0 -1
- package/base/export/auth-helpers.js +0 -2
- package/base/export/auth-helpers.js.map +0 -1
- package/base/export/pwa-auth.js.map +0 -1
- package/base/firebase/authentication.js.map +0 -1
- package/base/firebase/interface.js.map +0 -1
- package/base/redux/backend.js.map +0 -1
- package/base/redux/drawer.js.map +0 -1
- package/base/redux/frontend.js.map +0 -1
- package/base/redux/object.d.ts +0 -23
- package/base/redux/object.js +0 -2
- package/base/redux/object.js.map +0 -1
- package/base/store.js.map +0 -1
- package/base/webcomponents/drawer/css/drawer.js.map +0 -1
- package/base/webcomponents/drawer/css/exit.js.map +0 -1
- package/base/webcomponents/drawer/css/link.js.map +0 -1
- package/base/webcomponents/drawer/css/paragraph.js.map +0 -1
- package/base/webcomponents/drawer/css/toggle.js.map +0 -1
- package/base/webcomponents/drawer/drawer.js.map +0 -1
- package/base/webcomponents/drawer/input/login.js.map +0 -1
- package/base/webcomponents/drawer/input/sign-up.js.map +0 -1
- package/base/webcomponents/icon/css/icon.js.map +0 -1
- package/base/webcomponents/icon/icon.js.map +0 -1
- package/base/webcomponents/settings/css/navigation.js.map +0 -1
- package/base/webcomponents/settings/input/delete.js.map +0 -1
- package/base/webcomponents/settings/input/email.js.map +0 -1
- package/base/webcomponents/settings/input/name.js.map +0 -1
- package/base/webcomponents/settings/input/password.js.map +0 -1
- package/base/webcomponents/settings/input/uploader.js.map +0 -1
- package/base/webcomponents/settings/settings.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,9 +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.2.4] - 2025-10-08
|
|
10
|
+
|
|
11
|
+
## Added
|
|
12
|
+
- Export Redux State to Public
|
|
13
|
+
- webcomponent: Login Widget
|
|
14
|
+
|
|
9
15
|
# [3.2.3] - 2025-10-08
|
|
10
16
|
|
|
11
|
-
##
|
|
17
|
+
## Added
|
|
12
18
|
- Rollup Project Bundle
|
|
13
19
|
|
|
14
20
|
# [3.2.1] - 2025-10-07
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Continue reading to understand how to install the project:
|
|
|
22
22
|
ECMA Script Modules
|
|
23
23
|
```javascript
|
|
24
24
|
import 'pwa-auth';
|
|
25
|
-
import { db, storage, auth, user } from 'pwa-auth';
|
|
25
|
+
import { store, db, storage, auth, user } from 'pwa-auth';
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
Global Scope Management
|
|
@@ -48,6 +48,8 @@ Global Scope Management
|
|
|
48
48
|
- Redux State Connection
|
|
49
49
|
|
|
50
50
|
## Modules
|
|
51
|
+
- store - redux store state
|
|
52
|
+
- verified, userId, name, email, photoURL
|
|
51
53
|
- db - firestore database reference
|
|
52
54
|
- getFirestore(pwa-env)
|
|
53
55
|
- storage - firebase storage reference
|
|
@@ -61,9 +63,7 @@ Global Scope Management
|
|
|
61
63
|
- user-icon
|
|
62
64
|
- user-drawer
|
|
63
65
|
- user-settings
|
|
64
|
-
|
|
65
|
-
## CSS
|
|
66
|
-
- Custom Properties
|
|
66
|
+
- Optional: Custom CSS Properties
|
|
67
67
|
|
|
68
68
|
## Prerequisites
|
|
69
69
|
- Google:
|
|
@@ -122,11 +122,17 @@ import 'pwa-auth';
|
|
|
122
122
|
// <user-icon subscribe emptyArtwork="./images/empty.jpg"></user-icon>
|
|
123
123
|
// <user-drawer subscribe settingsURL="./settings"></user-drawer>
|
|
124
124
|
// <user-settings emptyArtwork="./images/empty.jpg"></user-settings>
|
|
125
|
-
import { db, storage, auth, user } from 'pwa-auth';
|
|
125
|
+
import { store, db, storage, auth, user } from 'pwa-auth';
|
|
126
126
|
// db - firestore database reference
|
|
127
127
|
// storage - firebase storage reference
|
|
128
128
|
// auth - user object reference
|
|
129
129
|
// 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
|
|
130
136
|
```
|
|
131
137
|
|
|
132
138
|
## Implementation
|
|
@@ -136,14 +142,14 @@ import { db, storage, auth, user } from 'pwa-auth';
|
|
|
136
142
|
<header>
|
|
137
143
|
<!-- subscribe property: (Initial State): Subscribe -->
|
|
138
144
|
<!-- subscribe property: else (Initial State): Login -->
|
|
145
|
+
<!-- empty property: location of empty image -->
|
|
139
146
|
<!-- Logged-out (State): txt: Login Button -->
|
|
140
147
|
<!-- Logged-out (State): txt: Subscribe Button -->
|
|
141
148
|
<!-- Logged-in (State): photo: Icon Button -->
|
|
142
|
-
<!-- emptyArtwork property: location of empty image -->
|
|
143
149
|
<user-icon subscribe empty="./images/empty.jpg"></user-icon>
|
|
144
150
|
</header>
|
|
145
151
|
|
|
146
|
-
<!--
|
|
152
|
+
<!-- url property: location of <pwa-settings> Tag -->
|
|
147
153
|
<!-- subscribe property: (Initial State): Subscribe -->
|
|
148
154
|
<!-- subscribe property: else (Initial State): Login -->
|
|
149
155
|
<!-- Top-down, Drop-down Feature: height, 1.4 seconds -->
|
|
@@ -154,43 +160,59 @@ import { db, storage, auth, user } from 'pwa-auth';
|
|
|
154
160
|
|
|
155
161
|
<main>
|
|
156
162
|
<!-- 1 Photo Upload Feature, view uploaded bucket of photos, photo ediotr -->
|
|
163
|
+
<!-- empty property: location of empty image -->
|
|
157
164
|
<!-- Unavailable Photo -->
|
|
158
165
|
<!-- Update Username -->
|
|
159
166
|
<!-- Update Email / Verify -->
|
|
160
167
|
<!-- Update Password -->
|
|
161
168
|
<!-- Delete Account, Photos, Information -->
|
|
162
|
-
<!-- emptyArtwork property: location of empty image -->
|
|
163
169
|
<user-settings empty="./images/empty.jpg"></user-settings>
|
|
164
170
|
</main>
|
|
165
171
|
|
|
166
172
|
</body>
|
|
167
173
|
```
|
|
174
|
+
|
|
168
175
|
## CSS Custom Properties
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
176
|
+
```css
|
|
177
|
+
:root {
|
|
178
|
+
/* <user-icon> - Button Design */
|
|
179
|
+
--pwa_icon_background: #6cc04a;
|
|
180
|
+
--pwa_icon_hover: lightgrey;
|
|
181
|
+
--pwa_icon_border: 2px solid black;
|
|
182
|
+
--pwa_icon_padding: 0px 16px;
|
|
183
|
+
--pwa_icon_radius: 6px;
|
|
184
|
+
--pwa_icon_font: 'Arial', sans-serif;
|
|
185
|
+
|
|
186
|
+
/* <user-icon> (state) - login / logout */
|
|
187
|
+
--pwa_icon_height: 32px; /* Logged-out (sync) */
|
|
188
|
+
--pwa_icon_diameter: 32px; /* Logged-in (sync) */
|
|
189
|
+
|
|
190
|
+
/* <user-drawer> - Drawer Design */
|
|
191
|
+
--pwa_drawer_border: 3px #303030 solid;
|
|
192
|
+
--pwa_drawer_z-index: 2;
|
|
193
|
+
--pwa_drawer_border-radius: 20px;
|
|
194
|
+
|
|
195
|
+
/* <user-drawer> - Input Design */
|
|
196
|
+
--pwa_drawer_text_color: #303030;
|
|
197
|
+
--pwa_drawer_background_color: #fff;
|
|
198
|
+
|
|
199
|
+
/* <user-settings> - Navigation Design */
|
|
200
|
+
--pwa_settings_background: grey;
|
|
201
|
+
--pwa_nav_button: grey;
|
|
202
|
+
--pwa_nav_select: black;
|
|
203
|
+
--pwa_divider: grey;
|
|
204
|
+
--pwa_section_header: black;
|
|
205
|
+
|
|
206
|
+
/* <user-settings> - Input Design */
|
|
207
|
+
--pwa_input_background: #E1E5EB;
|
|
208
|
+
--pwa_label_text_color: black;
|
|
209
|
+
|
|
210
|
+
/* <user-settings> - Button Design */
|
|
211
|
+
--pwa_action_text_color: #fff;
|
|
212
|
+
--pwa_action_background_color: #6cc04a;
|
|
213
|
+
--pwa_action_border_color: #60b23e;
|
|
214
|
+
}
|
|
215
|
+
```
|
|
194
216
|
|
|
195
217
|
## Global Namespaced Firebase Instance Configuration
|
|
196
218
|
pwa-auth.js is built upon the Firebase SDK (Software Development Kit).
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from "lit";
|
|
2
|
-
export declare const buttonStyle: CSSResult;
|
|
1
|
+
import { CSSResult } from "lit";
|
|
2
|
+
export declare const buttonStyle: CSSResult;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
1
|
+
import { css } from "lit";
|
|
2
2
|
export const buttonStyle = css `
|
|
3
3
|
|
|
4
4
|
.action-button:focus { outline:0; }
|
|
@@ -51,5 +51,5 @@ export const buttonStyle = css `
|
|
|
51
51
|
cursor: pointer;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
`;
|
|
54
|
+
`;
|
|
55
55
|
//# sourceMappingURL=button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../typescript/css/form/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAA;AAEpC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDxC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from "lit";
|
|
2
|
-
export declare const inputStyle: CSSResult;
|
|
1
|
+
import { CSSResult } from "lit";
|
|
2
|
+
export declare const inputStyle: CSSResult;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
1
|
+
import { css } from "lit";
|
|
2
2
|
export const inputStyle = css `
|
|
3
3
|
|
|
4
4
|
input[type=text],
|
|
@@ -21,5 +21,5 @@ export const inputStyle = css `
|
|
|
21
21
|
|
|
22
22
|
input.invalid { background-color: #ffdddd; }
|
|
23
23
|
|
|
24
|
-
`;
|
|
24
|
+
`;
|
|
25
25
|
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../../typescript/css/form/input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,UAAU,GAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;CAsBxC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from "lit";
|
|
2
|
-
export declare const labelStyle: CSSResult;
|
|
1
|
+
import { CSSResult } from "lit";
|
|
2
|
+
export declare const labelStyle: CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.js","sourceRoot":"","sources":["../../../../typescript/css/form/label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,UAAU,GAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;CAoBxC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from "lit";
|
|
2
|
-
export declare const listStyle: CSSResult;
|
|
1
|
+
import { CSSResult } from "lit";
|
|
2
|
+
export declare const listStyle: CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../typescript/css/form/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,SAAS,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;CAoBtC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const faceIcon: import("lit-html").TemplateResult<1>;
|
|
2
|
-
export declare const settings: import("lit-html").TemplateResult<1>;
|
|
3
|
-
export declare const close: import("lit-html").TemplateResult<1>;
|
|
1
|
+
export declare const faceIcon: import("lit-html").TemplateResult<1>;
|
|
2
|
+
export declare const settings: import("lit-html").TemplateResult<1>;
|
|
3
|
+
export declare const close: import("lit-html").TemplateResult<1>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { html } from "lit";
|
|
2
|
-
export const faceIcon = html `<svg viewBox="0 0 24 24" height="34px" width="34px"><path d="M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8 0-.29.02-.58.05-.86 2.36-1.05 4.23-2.98 5.21-5.37C11.07 8.33 14.05 10 17.42 10c.78 0 1.53-.09 2.25-.26.21.71.33 1.47.33 2.26 0 4.41-3.59 8-8 8z"></path></svg>`;
|
|
3
|
-
export const settings = html `<svg viewBox="0 0 24 24"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></svg>`;
|
|
4
|
-
export const close = html `<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg>`;
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
export const faceIcon = html `<svg viewBox="0 0 24 24" height="34px" width="34px"><path d="M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8 0-.29.02-.58.05-.86 2.36-1.05 4.23-2.98 5.21-5.37C11.07 8.33 14.05 10 17.42 10c.78 0 1.53-.09 2.25-.26.21.71.33 1.47.33 2.26 0 4.41-3.59 8-8 8z"></path></svg>`;
|
|
3
|
+
export const settings = html `<svg viewBox="0 0 24 24"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></svg>`;
|
|
4
|
+
export const close = html `<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg>`;
|
|
5
5
|
//# sourceMappingURL=svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svg.js","sourceRoot":"","sources":["../../../typescript/css/svg.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAE3B,MAAM,CAAC,MAAM,QAAQ,GAAK,IAAI,CAAA,0eAA0e,CAAC;AACzgB,MAAM,CAAC,MAAM,QAAQ,GAAK,IAAI,CAAA,mtBAAmtB,CAAC;AAClvB,MAAM,CAAC,MAAM,KAAK,GAAQ,IAAI,CAAA,wJAAwJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const show: import("lit").CSSResult;
|
|
1
|
+
export declare const show: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../../typescript/css/toggle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAA;;;;;;CAMtB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { UserDrawer } from '../webcomponents/drawer/drawer';
|
|
2
|
-
export { UserSettings } from '../webcomponents/settings/settings';
|
|
3
|
-
export { UserIcon } from '../webcomponents/icon/icon';
|
|
4
|
-
export { firebaseConfig, application, db, storage, auth, user } from '../firebase/authentication';
|
|
1
|
+
export { UserDrawer } from '../webcomponents/drawer/drawer';
|
|
2
|
+
export { UserSettings } from '../webcomponents/settings/settings';
|
|
3
|
+
export { UserIcon } from '../webcomponents/icon/icon';
|
|
4
|
+
export { firebaseConfig, application, db, storage, auth, user } from '../firebase/authentication';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { UserDrawer } from '../webcomponents/drawer/drawer';
|
|
2
|
-
export { UserSettings } from '../webcomponents/settings/settings';
|
|
3
|
-
export { UserIcon } from '../webcomponents/icon/icon';
|
|
4
|
-
export { firebaseConfig, application, db, storage, auth, user } from '../firebase/authentication';
|
|
1
|
+
export { UserDrawer } from '../webcomponents/drawer/drawer';
|
|
2
|
+
export { UserSettings } from '../webcomponents/settings/settings';
|
|
3
|
+
export { UserIcon } from '../webcomponents/icon/icon';
|
|
4
|
+
export { firebaseConfig, application, db, storage, auth, user } from '../firebase/authentication';
|
|
5
5
|
//# 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,UAAU,EAAE,MAAgB,gCAAgC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAc,oCAAoC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAkB,4BAA4B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FirebaseApp } from 'firebase/app';
|
|
2
|
-
import { Firestore } from "firebase/firestore";
|
|
3
|
-
import { FirebaseStorage } from "@firebase/storage";
|
|
4
|
-
import { User, Auth } from 'firebase/auth';
|
|
5
|
-
export declare const firebaseConfig: any;
|
|
6
|
-
export declare const application: FirebaseApp;
|
|
7
|
-
export declare const db: Firestore;
|
|
8
|
-
export declare const storage: FirebaseStorage;
|
|
9
|
-
export declare const auth: Auth;
|
|
10
|
-
export declare const user: User | null;
|
|
1
|
+
import { FirebaseApp } from 'firebase/app';
|
|
2
|
+
import { Firestore } from "firebase/firestore";
|
|
3
|
+
import { FirebaseStorage } from "@firebase/storage";
|
|
4
|
+
import { User, Auth } from 'firebase/auth';
|
|
5
|
+
export declare const firebaseConfig: any;
|
|
6
|
+
export declare const application: FirebaseApp;
|
|
7
|
+
export declare const db: Firestore;
|
|
8
|
+
export declare const storage: FirebaseStorage;
|
|
9
|
+
export declare const auth: Auth;
|
|
10
|
+
export declare const user: User | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { initializeApp } from 'firebase/app';
|
|
2
|
-
import { getFirestore } from "firebase/firestore";
|
|
3
|
-
import { getStorage } from "@firebase/storage";
|
|
4
|
-
import { getAuth } from 'firebase/auth';
|
|
5
|
-
export const firebaseConfig = JSON.parse(process.env.FIREBASE_CONFIG || "{}");
|
|
6
|
-
export const application = initializeApp(firebaseConfig);
|
|
7
|
-
export const db = getFirestore(application);
|
|
8
|
-
export const storage = getStorage(application);
|
|
9
|
-
export const auth = getAuth(application);
|
|
10
|
-
export const user = auth.currentUser;
|
|
1
|
+
import { initializeApp } from 'firebase/app';
|
|
2
|
+
import { getFirestore } from "firebase/firestore";
|
|
3
|
+
import { getStorage } from "@firebase/storage";
|
|
4
|
+
import { getAuth } from 'firebase/auth';
|
|
5
|
+
export const firebaseConfig = JSON.parse(process.env.FIREBASE_CONFIG || "{}");
|
|
6
|
+
export const application = initializeApp(firebaseConfig);
|
|
7
|
+
export const db = getFirestore(application);
|
|
8
|
+
export const storage = getStorage(application);
|
|
9
|
+
export const auth = getAuth(application);
|
|
10
|
+
export const user = auth.currentUser;
|
|
11
11
|
//# sourceMappingURL=authentication.js.map
|
|
@@ -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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const logOut: () => Promise<void>;
|
|
2
|
-
export declare const logAccount: () => Promise<void>;
|
|
3
|
-
export declare const logAccountDelete: () => Promise<void>;
|
|
4
|
-
export declare const deleteDocument: (collect: string, item: string) => Promise<void>;
|
|
1
|
+
export declare const logOut: () => Promise<void>;
|
|
2
|
+
export declare const logAccount: () => Promise<void>;
|
|
3
|
+
export declare const logAccountDelete: () => Promise<void>;
|
|
4
|
+
export declare const deleteDocument: (collect: string, item: string) => Promise<void>;
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import { store } from '../store';
|
|
2
|
-
import { closeSign, iconAuth, nameAuth, userAuth } from '../redux/frontend';
|
|
3
|
-
import { accID, accEmail, accImage, accName } from '../redux/backend';
|
|
4
|
-
import { getAuth, onAuthStateChanged, sendEmailVerification, signOut } from 'firebase/auth';
|
|
5
|
-
import { doc, deleteDoc } from "firebase/firestore";
|
|
6
|
-
import { getAnalytics, logEvent } from "firebase/analytics";
|
|
7
|
-
import { isSupported } from "firebase/messaging";
|
|
8
|
-
import { application, auth, db } from './authentication';
|
|
9
|
-
getAuth().useDeviceLanguage();
|
|
10
|
-
let analytics;
|
|
11
|
-
(async () => {
|
|
12
|
-
if (await isSupported()) {
|
|
13
|
-
console.log('Firebase Analytics Supported');
|
|
14
|
-
analytics = getAnalytics(application);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
console.log("Firebase Analytics is not supported in this environment.");
|
|
18
|
-
}
|
|
19
|
-
})();
|
|
20
|
-
if ('serviceWorker' in navigator) {
|
|
21
|
-
console.log('Service Worker is supported');
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
console.log('Service Worker is not supported');
|
|
25
|
-
}
|
|
26
|
-
if ('PushManager' in window) {
|
|
27
|
-
console.log('Push API is supported');
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
console.log('Push API is not supported');
|
|
31
|
-
}
|
|
32
|
-
let pendingEmailVerification = false;
|
|
33
|
-
window.addEventListener("userEmailChanged", () => {
|
|
34
|
-
pendingEmailVerification = true;
|
|
35
|
-
});
|
|
36
|
-
onAuthStateChanged(auth, (user) => {
|
|
37
|
-
if (user) {
|
|
38
|
-
store.dispatch(userAuth(true));
|
|
39
|
-
store.dispatch(closeSign());
|
|
40
|
-
store.dispatch(accID(user.uid));
|
|
41
|
-
store.dispatch(accName(user.displayName || 'John Doe'));
|
|
42
|
-
store.dispatch(accEmail(user.email || ''));
|
|
43
|
-
store.dispatch(accImage(user.photoURL || ''));
|
|
44
|
-
store.dispatch(nameAuth(user.displayName || 'John Doe'));
|
|
45
|
-
store.dispatch(iconAuth(user.photoURL || ''));
|
|
46
|
-
if (pendingEmailVerification && !user.emailVerified) {
|
|
47
|
-
sendEmailVerification(user)
|
|
48
|
-
.then(() => {
|
|
49
|
-
console.log("Verification email sent to:");
|
|
50
|
-
pendingEmailVerification = false;
|
|
51
|
-
})
|
|
52
|
-
.catch((error) => {
|
|
53
|
-
console.error("Error sending verification email:", error.message);
|
|
54
|
-
pendingEmailVerification = false;
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
else if (user.emailVerified) {
|
|
58
|
-
console.log("User's email is already verified:");
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
console.log("User signed in, no email verification pending:");
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
store.dispatch(userAuth(false));
|
|
66
|
-
store.dispatch(accID(''));
|
|
67
|
-
store.dispatch(accName('John Doe'));
|
|
68
|
-
store.dispatch(accEmail(''));
|
|
69
|
-
store.dispatch(accImage(''));
|
|
70
|
-
store.dispatch(nameAuth('John Doe'));
|
|
71
|
-
store.dispatch(iconAuth(''));
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
export const logOut = async () => { return signOut(auth); };
|
|
75
|
-
export const logAccount = async () => { logEvent(analytics, 'create_account'); };
|
|
76
|
-
export const logAccountDelete = async () => { logEvent(analytics, 'delete_account'); };
|
|
77
|
-
export const deleteDocument = async (collect, item) => {
|
|
78
|
-
await deleteDoc(doc(db, collect, item));
|
|
79
|
-
};
|
|
1
|
+
import { store } from '../store';
|
|
2
|
+
import { closeSign, iconAuth, nameAuth, userAuth } from '../redux/frontend';
|
|
3
|
+
import { accID, accEmail, accImage, accName } from '../redux/backend';
|
|
4
|
+
import { getAuth, onAuthStateChanged, sendEmailVerification, signOut } from 'firebase/auth';
|
|
5
|
+
import { doc, deleteDoc } from "firebase/firestore";
|
|
6
|
+
import { getAnalytics, logEvent } from "firebase/analytics";
|
|
7
|
+
import { isSupported } from "firebase/messaging";
|
|
8
|
+
import { application, auth, db } from './authentication';
|
|
9
|
+
getAuth().useDeviceLanguage();
|
|
10
|
+
let analytics;
|
|
11
|
+
(async () => {
|
|
12
|
+
if (await isSupported()) {
|
|
13
|
+
console.log('Firebase Analytics Supported');
|
|
14
|
+
analytics = getAnalytics(application);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
console.log("Firebase Analytics is not supported in this environment.");
|
|
18
|
+
}
|
|
19
|
+
})();
|
|
20
|
+
if ('serviceWorker' in navigator) {
|
|
21
|
+
console.log('Service Worker is supported');
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
console.log('Service Worker is not supported');
|
|
25
|
+
}
|
|
26
|
+
if ('PushManager' in window) {
|
|
27
|
+
console.log('Push API is supported');
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
console.log('Push API is not supported');
|
|
31
|
+
}
|
|
32
|
+
let pendingEmailVerification = false;
|
|
33
|
+
window.addEventListener("userEmailChanged", () => {
|
|
34
|
+
pendingEmailVerification = true;
|
|
35
|
+
});
|
|
36
|
+
onAuthStateChanged(auth, (user) => {
|
|
37
|
+
if (user) {
|
|
38
|
+
store.dispatch(userAuth(true));
|
|
39
|
+
store.dispatch(closeSign());
|
|
40
|
+
store.dispatch(accID(user.uid));
|
|
41
|
+
store.dispatch(accName(user.displayName || 'John Doe'));
|
|
42
|
+
store.dispatch(accEmail(user.email || ''));
|
|
43
|
+
store.dispatch(accImage(user.photoURL || ''));
|
|
44
|
+
store.dispatch(nameAuth(user.displayName || 'John Doe'));
|
|
45
|
+
store.dispatch(iconAuth(user.photoURL || ''));
|
|
46
|
+
if (pendingEmailVerification && !user.emailVerified) {
|
|
47
|
+
sendEmailVerification(user)
|
|
48
|
+
.then(() => {
|
|
49
|
+
console.log("Verification email sent to:");
|
|
50
|
+
pendingEmailVerification = false;
|
|
51
|
+
})
|
|
52
|
+
.catch((error) => {
|
|
53
|
+
console.error("Error sending verification email:", error.message);
|
|
54
|
+
pendingEmailVerification = false;
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
else if (user.emailVerified) {
|
|
58
|
+
console.log("User's email is already verified:");
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
console.log("User signed in, no email verification pending:");
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
store.dispatch(userAuth(false));
|
|
66
|
+
store.dispatch(accID(''));
|
|
67
|
+
store.dispatch(accName('John Doe'));
|
|
68
|
+
store.dispatch(accEmail(''));
|
|
69
|
+
store.dispatch(accImage(''));
|
|
70
|
+
store.dispatch(nameAuth('John Doe'));
|
|
71
|
+
store.dispatch(iconAuth(''));
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export const logOut = async () => { return signOut(auth); };
|
|
75
|
+
export const logAccount = async () => { logEvent(analytics, 'create_account'); };
|
|
76
|
+
export const logAccountDelete = async () => { logEvent(analytics, 'delete_account'); };
|
|
77
|
+
export const deleteDocument = async (collect, item) => {
|
|
78
|
+
await deleteDoc(doc(db, collect, item));
|
|
79
|
+
};
|
|
80
80
|
//# sourceMappingURL=interface.js.map
|
|
@@ -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,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGtE,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG5F,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAA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