pwa-auth 3.2.2 → 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 +11 -0
- package/README.md +59 -35
- package/bundle/base/css/form/button.js.map +1 -0
- package/bundle/base/css/form/input.js.map +1 -0
- package/bundle/base/css/form/label.js.map +1 -0
- package/bundle/base/css/form/list.js.map +1 -0
- package/bundle/base/css/svg.js.map +1 -0
- package/bundle/base/css/toggle.js.map +1 -0
- package/bundle/base/export/pwa-auth.js.map +1 -0
- package/bundle/base/firebase/authentication.js.map +1 -0
- package/bundle/base/firebase/interface.js.map +1 -0
- package/bundle/base/redux/backend.d.ts +122 -0
- package/bundle/base/redux/backend.js.map +1 -0
- package/bundle/base/redux/drawer.js.map +1 -0
- package/bundle/base/redux/frontend.d.ts +171 -0
- package/bundle/base/redux/frontend.js.map +1 -0
- package/bundle/base/store.d.ts +60 -0
- package/bundle/base/store.js.map +1 -0
- package/bundle/base/webcomponents/drawer/css/drawer.js.map +1 -0
- package/bundle/base/webcomponents/drawer/css/exit.js.map +1 -0
- package/bundle/base/webcomponents/drawer/css/link.js.map +1 -0
- package/bundle/base/webcomponents/drawer/css/paragraph.js.map +1 -0
- package/bundle/base/webcomponents/drawer/css/toggle.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/drawer.d.ts +23 -2
- package/{base → bundle/base}/webcomponents/drawer/drawer.js +7 -9
- package/bundle/base/webcomponents/drawer/drawer.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/input/login.js +7 -9
- package/bundle/base/webcomponents/drawer/input/login.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/input/sign-up.js +13 -15
- package/bundle/base/webcomponents/drawer/input/sign-up.js.map +1 -0
- package/bundle/base/webcomponents/icon/css/icon.js.map +1 -0
- package/{base → bundle/base}/webcomponents/icon/icon.d.ts +23 -2
- package/{base → bundle/base}/webcomponents/icon/icon.js +5 -7
- package/bundle/base/webcomponents/icon/icon.js.map +1 -0
- package/bundle/base/webcomponents/settings/css/navigation.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/delete.d.ts +23 -2
- package/{base → bundle/base}/webcomponents/settings/input/delete.js +11 -13
- package/bundle/base/webcomponents/settings/input/delete.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/email.d.ts +23 -2
- package/{base → bundle/base}/webcomponents/settings/input/email.js +18 -20
- package/bundle/base/webcomponents/settings/input/email.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/name.d.ts +23 -2
- package/{base → bundle/base}/webcomponents/settings/input/name.js +16 -18
- package/bundle/base/webcomponents/settings/input/name.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/password.d.ts +23 -2
- package/{base → bundle/base}/webcomponents/settings/input/password.js +17 -19
- package/bundle/base/webcomponents/settings/input/password.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/uploader.d.ts +23 -2
- package/{base → bundle/base}/webcomponents/settings/input/uploader.js +13 -13
- package/bundle/base/webcomponents/settings/input/uploader.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/settings.d.ts +23 -2
- package/{base → bundle/base}/webcomponents/settings/settings.js +4 -6
- package/bundle/base/webcomponents/settings/settings.js.map +1 -0
- package/export/pwa-auth.ts +5 -4
- package/package.json +6 -8
- package/source/esm/pwa-auth.js +881 -0
- package/source/esm/pwa-auth.js.map +1 -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/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.d.ts +0 -15
- package/base/redux/backend.js.map +0 -1
- package/base/redux/drawer.js.map +0 -1
- package/base/redux/frontend.d.ts +0 -16
- 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.d.ts +0 -18
- 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/export/auth-helpers.ts +0 -1
- package/export/export/tsconfigs.production.md +0 -53
- /package/{base → bundle/base}/css/form/button.d.ts +0 -0
- /package/{base → bundle/base}/css/form/button.js +0 -0
- /package/{base → bundle/base}/css/form/input.d.ts +0 -0
- /package/{base → bundle/base}/css/form/input.js +0 -0
- /package/{base → bundle/base}/css/form/label.d.ts +0 -0
- /package/{base → bundle/base}/css/form/label.js +0 -0
- /package/{base → bundle/base}/css/form/list.d.ts +0 -0
- /package/{base → bundle/base}/css/form/list.js +0 -0
- /package/{base → bundle/base}/css/svg.d.ts +0 -0
- /package/{base → bundle/base}/css/svg.js +0 -0
- /package/{base → bundle/base}/css/toggle.d.ts +0 -0
- /package/{base → bundle/base}/css/toggle.js +0 -0
- /package/{base → bundle/base}/export/pwa-auth.d.ts +0 -0
- /package/{base → bundle/base}/export/pwa-auth.js +0 -0
- /package/{base → bundle/base}/firebase/authentication.d.ts +0 -0
- /package/{base → bundle/base}/firebase/authentication.js +0 -0
- /package/{base → bundle/base}/firebase/interface.d.ts +0 -0
- /package/{base → bundle/base}/firebase/interface.js +0 -0
- /package/{base → bundle/base}/redux/backend.js +0 -0
- /package/{base → bundle/base}/redux/drawer.d.ts +0 -0
- /package/{base → bundle/base}/redux/drawer.js +0 -0
- /package/{base → bundle/base}/redux/frontend.js +0 -0
- /package/{base → bundle/base}/store.js +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/css/drawer.d.ts +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/css/drawer.js +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/css/exit.d.ts +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/css/exit.js +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/css/link.d.ts +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/css/link.js +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/css/paragraph.d.ts +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/css/paragraph.js +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/css/toggle.d.ts +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/css/toggle.js +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/input/login.d.ts +0 -0
- /package/{base → bundle/base}/webcomponents/drawer/input/sign-up.d.ts +0 -0
- /package/{base → bundle/base}/webcomponents/icon/css/icon.d.ts +0 -0
- /package/{base → bundle/base}/webcomponents/icon/css/icon.js +0 -0
- /package/{base → bundle/base}/webcomponents/settings/css/navigation.d.ts +0 -0
- /package/{base → bundle/base}/webcomponents/settings/css/navigation.js +0 -0
|
@@ -10,11 +10,32 @@ declare const UserSettings_base: (new (...args: any[]) => {
|
|
|
10
10
|
connectedCallback(): void;
|
|
11
11
|
disconnectedCallback(): void;
|
|
12
12
|
stateChanged(_state: {
|
|
13
|
-
frontend:
|
|
13
|
+
frontend: {
|
|
14
|
+
settings: string;
|
|
15
|
+
login: boolean;
|
|
16
|
+
drawer: boolean;
|
|
17
|
+
register: boolean;
|
|
18
|
+
userId: string;
|
|
19
|
+
customer: string;
|
|
20
|
+
profileChoice: string;
|
|
21
|
+
name: string;
|
|
22
|
+
photoURL: string;
|
|
23
|
+
phone: string;
|
|
24
|
+
email: string;
|
|
25
|
+
};
|
|
14
26
|
drawer: {
|
|
15
27
|
drawer: boolean;
|
|
16
28
|
};
|
|
17
|
-
backend:
|
|
29
|
+
backend: {
|
|
30
|
+
verified: boolean;
|
|
31
|
+
anon: boolean;
|
|
32
|
+
userId: string;
|
|
33
|
+
name: string;
|
|
34
|
+
email: string;
|
|
35
|
+
photoURL: string;
|
|
36
|
+
phone: string;
|
|
37
|
+
msgToken: string;
|
|
38
|
+
};
|
|
18
39
|
}): void;
|
|
19
40
|
readonly isConnected: boolean;
|
|
20
41
|
}) & typeof LitElement;
|
|
@@ -20,12 +20,10 @@ import './input/password';
|
|
|
20
20
|
import './input/delete';
|
|
21
21
|
import { listStyle } from '../../css/form/list';
|
|
22
22
|
let UserSettings = class UserSettings extends connect(store)(LitElement) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
this.name = '';
|
|
28
|
-
}
|
|
23
|
+
empty = '';
|
|
24
|
+
profileTopic = '';
|
|
25
|
+
name = '';
|
|
26
|
+
constructor() { super(); }
|
|
29
27
|
firstUpdated() {
|
|
30
28
|
const forms = this.querySelectorAll('form');
|
|
31
29
|
forms.forEach(item => {
|
|
@@ -0,0 +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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;KAUjD,CAAA;IACH,CAAC;CAEF,CAAA;AAlLC;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,CAqLxB;SArLY,YAAY"}
|
package/export/pwa-auth.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { UserDrawer }
|
|
2
|
-
export { UserSettings }
|
|
3
|
-
export { UserIcon }
|
|
4
|
-
export {
|
|
1
|
+
export { UserDrawer } from '../bundle/base/webcomponents/drawer/drawer';
|
|
2
|
+
export { UserSettings } from '../bundle/base/webcomponents/settings/settings';
|
|
3
|
+
export { UserIcon } from '../bundle/base/webcomponents/icon/icon';
|
|
4
|
+
export { store } from '../bundle/base/store';
|
|
5
|
+
export { db, storage, auth, user } from '../bundle/base/firebase/authentication';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "pwa-auth",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"author": "Jacek Markiewicz <jack.solutionbox@gmail.com>(https://www.jackspublishing.com)",
|
|
5
|
-
"version": "3.2.
|
|
5
|
+
"version": "3.2.4",
|
|
6
6
|
"description": "User Management Component with 3 HTML Tags, and 1 Boilerplate Function to display user icon, sign up, login, log out, change account details, delete account.",
|
|
7
7
|
"homepage" : "https://pwa-authentic.firebaseapp.com",
|
|
8
8
|
"main" : "./base/export/pwa-auth.js",
|
|
@@ -32,13 +32,11 @@
|
|
|
32
32
|
"license": "BSD-3-Clause",
|
|
33
33
|
"flat": true,
|
|
34
34
|
"scripts": {
|
|
35
|
-
"demo": "web-dev-server --node-resolve --watch --open --app-index demonstration/index.html",
|
|
36
|
-
"website": "web-dev-server --node-resolve --watch --open --app-index website/index.html",
|
|
37
|
-
"rollup": "rollup
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"declair": "tsc index.js --declaration --emitDeclarationOnly",
|
|
41
|
-
"project": " tsc && rollup -c"
|
|
35
|
+
"demo" : "web-dev-server --node-resolve --watch --open --app-index demonstration/index.html",
|
|
36
|
+
"website" : "web-dev-server --node-resolve --watch --open --app-index website/index.html",
|
|
37
|
+
"rollup" : "rollup rollup.config.js",
|
|
38
|
+
"build" : "tsc && rollup rollup.config.js",
|
|
39
|
+
"production" : "tsc --project tsconfig.production.json"
|
|
42
40
|
},
|
|
43
41
|
"dependencies": {
|
|
44
42
|
"pwa-helpers": "^0.9.1",
|