pwa-auth 3.3.9 → 3.3.10
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/base/export/pwa-auth.d.ts +7 -7
- package/base/export/pwa-auth.js +7 -7
- package/base/firebase/authentication.d.ts +10 -10
- package/base/firebase/authentication.js +10 -10
- package/base/firebase/interface.d.ts +5 -5
- package/base/firebase/interface.js +80 -80
- package/base/firebase/interface.js.map +1 -1
- package/base/lazy-loader.d.ts +11 -11
- package/base/lazy-loader.js +22 -22
- package/base/lazy-loader.js.map +1 -1
- package/base/redux/backend.d.ts +113 -122
- package/base/redux/backend.js +43 -43
- package/base/redux/drawer.d.ts +17 -19
- package/base/redux/drawer.js +21 -21
- package/base/redux/drawer.js.map +1 -1
- package/base/redux/frontend.d.ts +185 -198
- package/base/redux/frontend.js +86 -86
- package/base/redux/frontend.js.map +1 -1
- package/base/store.d.ts +62 -62
- package/base/store.js +13 -13
- package/base/webcomponents/css/animation.d.ts +2 -2
- package/base/webcomponents/css/animation.js +2 -2
- package/base/webcomponents/css/svg.d.ts +3 -3
- package/base/webcomponents/css/svg.js +4 -4
- package/base/webcomponents/css/toggle.d.ts +1 -1
- package/base/webcomponents/css/toggle.js +2 -2
- package/base/webcomponents/drawer/css/drawer.d.ts +2 -2
- package/base/webcomponents/drawer/css/drawer.js +2 -2
- package/base/webcomponents/drawer/css/exit.d.ts +2 -2
- package/base/webcomponents/drawer/css/exit.js +2 -2
- package/base/webcomponents/drawer/css/link.d.ts +2 -2
- package/base/webcomponents/drawer/css/link.js +2 -2
- package/base/webcomponents/drawer/css/paragraph.d.ts +2 -2
- package/base/webcomponents/drawer/css/paragraph.js +2 -2
- package/base/webcomponents/drawer/drawer.d.ts +58 -58
- package/base/webcomponents/drawer/drawer.js +100 -100
- package/base/webcomponents/drawer/drawer.js.map +1 -1
- package/base/webcomponents/form/css/button.d.ts +2 -2
- package/base/webcomponents/form/css/button.js +2 -2
- package/base/webcomponents/form/css/input.d.ts +2 -2
- package/base/webcomponents/form/css/input.js +2 -2
- package/base/webcomponents/form/css/label.d.ts +2 -2
- package/base/webcomponents/form/css/label.js +2 -2
- package/base/webcomponents/form/css/list.d.ts +2 -2
- package/base/webcomponents/form/css/list.js +2 -2
- package/base/webcomponents/form/css/toggle.d.ts +2 -2
- package/base/webcomponents/form/css/toggle.js +2 -2
- package/base/webcomponents/form/forgot.d.ts +15 -15
- package/base/webcomponents/form/forgot.js +45 -45
- package/base/webcomponents/form/forgot.js.map +1 -1
- package/base/webcomponents/form/login.d.ts +20 -20
- package/base/webcomponents/form/login.js +88 -88
- package/base/webcomponents/form/login.js.map +1 -1
- package/base/webcomponents/form/signup.d.ts +20 -20
- package/base/webcomponents/form/signup.js +95 -95
- package/base/webcomponents/form/signup.js.map +1 -1
- package/base/webcomponents/icon/css/icon.d.ts +1 -1
- package/base/webcomponents/icon/css/icon.js +2 -2
- package/base/webcomponents/icon/icon.d.ts +54 -54
- package/base/webcomponents/icon/icon.js +59 -59
- package/base/webcomponents/icon/icon.js.map +1 -1
- package/base/webcomponents/login/css/auth.d.ts +2 -2
- package/base/webcomponents/login/css/auth.js +2 -2
- package/base/webcomponents/login/css/link.d.ts +2 -2
- package/base/webcomponents/login/css/link.js +2 -2
- package/base/webcomponents/login/css/paragraph.d.ts +2 -2
- package/base/webcomponents/login/css/paragraph.js +2 -2
- package/base/webcomponents/login/page.d.ts +55 -55
- package/base/webcomponents/login/page.js +71 -71
- package/base/webcomponents/login/page.js.map +1 -1
- package/base/webcomponents/settings/css/navigation.d.ts +1 -1
- package/base/webcomponents/settings/css/navigation.js +2 -2
- package/base/webcomponents/settings/input/delete.d.ts +55 -55
- package/base/webcomponents/settings/input/delete.js +73 -73
- package/base/webcomponents/settings/input/delete.js.map +1 -1
- package/base/webcomponents/settings/input/email.d.ts +55 -55
- package/base/webcomponents/settings/input/email.js +72 -72
- package/base/webcomponents/settings/input/email.js.map +1 -1
- package/base/webcomponents/settings/input/name.d.ts +54 -54
- package/base/webcomponents/settings/input/name.js +67 -67
- package/base/webcomponents/settings/input/name.js.map +1 -1
- package/base/webcomponents/settings/input/password.d.ts +57 -57
- package/base/webcomponents/settings/input/password.js +97 -97
- package/base/webcomponents/settings/input/password.js.map +1 -1
- package/base/webcomponents/settings/input/uploader.d.ts +58 -58
- package/base/webcomponents/settings/input/uploader.js +150 -150
- package/base/webcomponents/settings/input/uploader.js.map +1 -1
- package/base/webcomponents/settings/settings.d.ts +58 -58
- package/base/webcomponents/settings/settings.js +80 -80
- package/base/webcomponents/settings/settings.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,68 +1,68 @@
|
|
|
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 { html, LitElement } from 'lit';
|
|
11
|
-
import { customElement, property, state } from 'lit/decorators.js';
|
|
12
|
-
import { connect } from 'pwa-helpers/connect-mixin';
|
|
13
|
-
import { store } from '../../store';
|
|
14
|
-
import { close } from '../css/svg';
|
|
15
|
-
import { show } from '../css/toggle';
|
|
16
|
-
import { listStyle } from '../form/css/list';
|
|
17
|
-
import { drawerStyle } from './css/drawer';
|
|
18
|
-
import { exitStyle } from './css/exit';
|
|
19
|
-
import { linkStyle } from './css/link';
|
|
20
|
-
import { lineStyle } from './css/paragraph';
|
|
21
|
-
import { toggleSign } from '../../redux/frontend';
|
|
22
|
-
import { logOut } from '../../firebase/interface';
|
|
23
|
-
import '../form/login';
|
|
24
|
-
import '../form/signup';
|
|
25
|
-
import { animation } from '../css/animation';
|
|
26
|
-
let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
|
|
27
|
-
constructor() {
|
|
28
|
-
super();
|
|
29
|
-
this.url = '';
|
|
30
|
-
this.drawer = false;
|
|
31
|
-
this.subscribe = false;
|
|
32
|
-
this.name = "";
|
|
33
|
-
this.user = false;
|
|
34
|
-
this.signup = false;
|
|
35
|
-
}
|
|
36
|
-
stateChanged(state) {
|
|
37
|
-
this.name = state.backend.name;
|
|
38
|
-
this.drawer = state.frontend.drawer;
|
|
39
|
-
this.user = state.frontend.login;
|
|
40
|
-
this.signup = state.frontend.registerOne;
|
|
41
|
-
}
|
|
42
|
-
firstUpdated() {
|
|
43
|
-
this.shadowRoot.querySelector('.close').addEventListener('click', () => {
|
|
44
|
-
store.dispatch(toggleSign());
|
|
45
|
-
});
|
|
46
|
-
this.shadowRoot.querySelector('.leave').addEventListener('click', () => {
|
|
47
|
-
if (this.user) {
|
|
48
|
-
logOut();
|
|
49
|
-
}
|
|
50
|
-
store.dispatch(toggleSign());
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
static get styles() {
|
|
54
|
-
return [
|
|
55
|
-
show,
|
|
56
|
-
animation,
|
|
57
|
-
drawerStyle,
|
|
58
|
-
exitStyle,
|
|
59
|
-
linkStyle,
|
|
60
|
-
lineStyle,
|
|
61
|
-
listStyle
|
|
62
|
-
];
|
|
63
|
-
}
|
|
64
|
-
;
|
|
65
|
-
render() {
|
|
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 { html, LitElement } from 'lit';
|
|
11
|
+
import { customElement, property, state } from 'lit/decorators.js';
|
|
12
|
+
import { connect } from 'pwa-helpers/connect-mixin';
|
|
13
|
+
import { store } from '../../store';
|
|
14
|
+
import { close } from '../css/svg';
|
|
15
|
+
import { show } from '../css/toggle';
|
|
16
|
+
import { listStyle } from '../form/css/list';
|
|
17
|
+
import { drawerStyle } from './css/drawer';
|
|
18
|
+
import { exitStyle } from './css/exit';
|
|
19
|
+
import { linkStyle } from './css/link';
|
|
20
|
+
import { lineStyle } from './css/paragraph';
|
|
21
|
+
import { toggleSign } from '../../redux/frontend';
|
|
22
|
+
import { logOut } from '../../firebase/interface';
|
|
23
|
+
import '../form/login';
|
|
24
|
+
import '../form/signup';
|
|
25
|
+
import { animation } from '../css/animation';
|
|
26
|
+
let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
|
|
27
|
+
constructor() {
|
|
28
|
+
super();
|
|
29
|
+
this.url = '';
|
|
30
|
+
this.drawer = false;
|
|
31
|
+
this.subscribe = false;
|
|
32
|
+
this.name = "";
|
|
33
|
+
this.user = false;
|
|
34
|
+
this.signup = false;
|
|
35
|
+
}
|
|
36
|
+
stateChanged(state) {
|
|
37
|
+
this.name = state.backend.name;
|
|
38
|
+
this.drawer = state.frontend.drawer;
|
|
39
|
+
this.user = state.frontend.login;
|
|
40
|
+
this.signup = state.frontend.registerOne;
|
|
41
|
+
}
|
|
42
|
+
firstUpdated() {
|
|
43
|
+
this.shadowRoot.querySelector('.close').addEventListener('click', () => {
|
|
44
|
+
store.dispatch(toggleSign());
|
|
45
|
+
});
|
|
46
|
+
this.shadowRoot.querySelector('.leave').addEventListener('click', () => {
|
|
47
|
+
if (this.user) {
|
|
48
|
+
logOut();
|
|
49
|
+
}
|
|
50
|
+
store.dispatch(toggleSign());
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
static get styles() {
|
|
54
|
+
return [
|
|
55
|
+
show,
|
|
56
|
+
animation,
|
|
57
|
+
drawerStyle,
|
|
58
|
+
exitStyle,
|
|
59
|
+
linkStyle,
|
|
60
|
+
lineStyle,
|
|
61
|
+
listStyle
|
|
62
|
+
];
|
|
63
|
+
}
|
|
64
|
+
;
|
|
65
|
+
render() {
|
|
66
66
|
return html `
|
|
67
67
|
|
|
68
68
|
<!-- Drawer Wrapper -->
|
|
@@ -87,9 +87,9 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
|
|
|
87
87
|
<!-- Log-in State -->
|
|
88
88
|
<form-login
|
|
89
89
|
source="drawer"
|
|
90
|
-
class="content ${this.signup ===
|
|
91
|
-
this.subscribe ?
|
|
92
|
-
'opened' :
|
|
90
|
+
class="content ${this.signup ===
|
|
91
|
+
this.subscribe ?
|
|
92
|
+
'opened' :
|
|
93
93
|
'closed'} ">
|
|
94
94
|
</form-login>
|
|
95
95
|
|
|
@@ -121,36 +121,36 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
|
|
|
121
121
|
|
|
122
122
|
</section>
|
|
123
123
|
|
|
124
|
-
`;
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
__decorate([
|
|
128
|
-
property({ type: String, reflect: true }),
|
|
129
|
-
__metadata("design:type", Object)
|
|
130
|
-
], UserDrawer.prototype, "url", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
property({ type: Boolean, attribute: true, reflect: true }),
|
|
133
|
-
__metadata("design:type", Object)
|
|
134
|
-
], UserDrawer.prototype, "drawer", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
property({ type: Boolean, attribute: true, reflect: true }),
|
|
137
|
-
__metadata("design:type", Object)
|
|
138
|
-
], UserDrawer.prototype, "subscribe", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
state(),
|
|
141
|
-
__metadata("design:type", Object)
|
|
142
|
-
], UserDrawer.prototype, "name", void 0);
|
|
143
|
-
__decorate([
|
|
144
|
-
state(),
|
|
145
|
-
__metadata("design:type", Object)
|
|
146
|
-
], UserDrawer.prototype, "user", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
state(),
|
|
149
|
-
__metadata("design:type", Object)
|
|
150
|
-
], UserDrawer.prototype, "signup", void 0);
|
|
151
|
-
UserDrawer = __decorate([
|
|
152
|
-
customElement('user-drawer'),
|
|
153
|
-
__metadata("design:paramtypes", [])
|
|
154
|
-
], UserDrawer);
|
|
155
|
-
export { UserDrawer };
|
|
124
|
+
`;
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
__decorate([
|
|
128
|
+
property({ type: String, reflect: true }),
|
|
129
|
+
__metadata("design:type", Object)
|
|
130
|
+
], UserDrawer.prototype, "url", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
property({ type: Boolean, attribute: true, reflect: true }),
|
|
133
|
+
__metadata("design:type", Object)
|
|
134
|
+
], UserDrawer.prototype, "drawer", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
property({ type: Boolean, attribute: true, reflect: true }),
|
|
137
|
+
__metadata("design:type", Object)
|
|
138
|
+
], UserDrawer.prototype, "subscribe", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
state(),
|
|
141
|
+
__metadata("design:type", Object)
|
|
142
|
+
], UserDrawer.prototype, "name", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
state(),
|
|
145
|
+
__metadata("design:type", Object)
|
|
146
|
+
], UserDrawer.prototype, "user", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
state(),
|
|
149
|
+
__metadata("design:type", Object)
|
|
150
|
+
], UserDrawer.prototype, "signup", void 0);
|
|
151
|
+
UserDrawer = __decorate([
|
|
152
|
+
customElement('user-drawer'),
|
|
153
|
+
__metadata("design:paramtypes", [])
|
|
154
|
+
], UserDrawer);
|
|
155
|
+
export { UserDrawer };
|
|
156
156
|
//# sourceMappingURL=drawer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../typescript/webcomponents/drawer/drawer.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAkB,IAAI,EAAE,UAAU,EAAE,MAAQ,KAAK,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAU,mBAAmB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAiC,2BAA2B,CAAC;AAE/E,OAAO,EAAE,KAAK,EAAY,MAAO,aAAa,CAAC;AAE/C,OAAO,EAAE,KAAK,EAAE,MAAiB,YAAY,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAkB,eAAe,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAa,kBAAkB,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAW,cAAc,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAa,YAAY,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAa,YAAY,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAa,iBAAiB,CAAC;AAEnD,OAAO,EAAE,UAAU,EAAE,MAAY,sBAAsB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAgB,0BAA0B,CAAC;AAE5D,OAAO,eAAe,CAAC;AACvB,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGtC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,OAAO,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC;IAexD;QAAgB,KAAK,EAAE,CA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AUxB,CAAC;IACJ,CAAC;CAEF,CAAA;AA5GkD;IAAhD,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;uCAAkB;AAGO;IAAhE,QAAQ,CAAC,EAAC,IAAI,EAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;0CAAuB;AAGf;IAAhE,QAAQ,CAAC,EAAC,IAAI,EAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;6CAA0B;AAElE;IAAhB,KAAK,EAAE;;wCAA2B;AAClB;IAAhB,KAAK,EAAE;;wCAA8B;AACrB;IAAhB,KAAK,EAAE;;0CAA8B;AAb3B,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;;GAChB,UAAU,CA+GtB"}
|
|
@@ -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; }
|
|
@@ -50,5 +50,5 @@ export const buttonStyle = css `
|
|
|
50
50
|
cursor: pointer;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
`;
|
|
53
|
+
`;
|
|
54
54
|
//# sourceMappingURL=button.js.map
|
|
@@ -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],
|
|
@@ -20,5 +20,5 @@ export const inputStyle = css `
|
|
|
20
20
|
|
|
21
21
|
input.invalid { background-color: #ffdddd; }
|
|
22
22
|
|
|
23
|
-
`;
|
|
23
|
+
`;
|
|
24
24
|
//# sourceMappingURL=input.js.map
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CSSResult } from "lit";
|
|
2
|
-
export declare const toggleStyle: CSSResult;
|
|
1
|
+
import { CSSResult } from "lit";
|
|
2
|
+
export declare const toggleStyle: CSSResult;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { TemplateResult } from 'lit';
|
|
2
|
-
import { LazyLoader } from '../../lazy-loader';
|
|
3
|
-
export declare class EmailReset extends LazyLoader {
|
|
4
|
-
private userEmail;
|
|
5
|
-
constructor();
|
|
6
|
-
protected firstUpdated(): void;
|
|
7
|
-
private handleEmail;
|
|
8
|
-
protected render(): TemplateResult;
|
|
9
|
-
private restPassword;
|
|
10
|
-
}
|
|
11
|
-
declare global {
|
|
12
|
-
interface HTMLElementTagNameMap {
|
|
13
|
-
'email-reset': EmailReset;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
1
|
+
import { TemplateResult } from 'lit';
|
|
2
|
+
import { LazyLoader } from '../../lazy-loader';
|
|
3
|
+
export declare class EmailReset extends LazyLoader {
|
|
4
|
+
private userEmail;
|
|
5
|
+
constructor();
|
|
6
|
+
protected firstUpdated(): void;
|
|
7
|
+
private handleEmail;
|
|
8
|
+
protected render(): TemplateResult;
|
|
9
|
+
private restPassword;
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
interface HTMLElementTagNameMap {
|
|
13
|
+
'email-reset': EmailReset;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
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 { html, } from 'lit';
|
|
11
|
-
import { customElement, state } from "lit/decorators.js";
|
|
12
|
-
import { LazyLoader } from '../../lazy-loader';
|
|
13
|
-
import { auth } from '../../firebase/authentication';
|
|
14
|
-
import { sendPasswordResetEmail } from 'firebase/auth';
|
|
15
|
-
let EmailReset = class EmailReset extends LazyLoader {
|
|
16
|
-
constructor() {
|
|
17
|
-
super();
|
|
18
|
-
this.userEmail = '';
|
|
19
|
-
this.restPassword = async () => {
|
|
20
|
-
await sendPasswordResetEmail(auth, this.userEmail)
|
|
21
|
-
.catch((error) => { console.log(error); });
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
firstUpdated() {
|
|
25
|
-
this.shadowRoot.querySelector(".reset").addEventListener("click", () => {
|
|
26
|
-
this.restPassword();
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
handleEmail(event) {
|
|
30
|
-
const input = event.target;
|
|
31
|
-
this.userEmail = input.value;
|
|
32
|
-
}
|
|
33
|
-
render() {
|
|
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 { html, } from 'lit';
|
|
11
|
+
import { customElement, state } from "lit/decorators.js";
|
|
12
|
+
import { LazyLoader } from '../../lazy-loader';
|
|
13
|
+
import { auth } from '../../firebase/authentication';
|
|
14
|
+
import { sendPasswordResetEmail } from 'firebase/auth';
|
|
15
|
+
let EmailReset = class EmailReset extends LazyLoader {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
this.userEmail = '';
|
|
19
|
+
this.restPassword = async () => {
|
|
20
|
+
await sendPasswordResetEmail(auth, this.userEmail)
|
|
21
|
+
.catch((error) => { console.log(error); });
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
firstUpdated() {
|
|
25
|
+
this.shadowRoot.querySelector(".reset").addEventListener("click", () => {
|
|
26
|
+
this.restPassword();
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
handleEmail(event) {
|
|
30
|
+
const input = event.target;
|
|
31
|
+
this.userEmail = input.value;
|
|
32
|
+
}
|
|
33
|
+
render() {
|
|
34
34
|
return html `
|
|
35
35
|
|
|
36
36
|
<form class="resetPass">
|
|
@@ -51,16 +51,16 @@ let EmailReset = class EmailReset extends LazyLoader {
|
|
|
51
51
|
class ="phoneVerify"
|
|
52
52
|
type ="text" />
|
|
53
53
|
|
|
54
|
-
`;
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
__decorate([
|
|
58
|
-
state(),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], EmailReset.prototype, "userEmail", void 0);
|
|
61
|
-
EmailReset = __decorate([
|
|
62
|
-
customElement('email-reset'),
|
|
63
|
-
__metadata("design:paramtypes", [])
|
|
64
|
-
], EmailReset);
|
|
65
|
-
export { EmailReset };
|
|
54
|
+
`;
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
__decorate([
|
|
58
|
+
state(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], EmailReset.prototype, "userEmail", void 0);
|
|
61
|
+
EmailReset = __decorate([
|
|
62
|
+
customElement('email-reset'),
|
|
63
|
+
__metadata("design:paramtypes", [])
|
|
64
|
+
], EmailReset);
|
|
65
|
+
export { EmailReset };
|
|
66
66
|
//# sourceMappingURL=forgot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgot.js","sourceRoot":"","sources":["../../../typescript/webcomponents/form/forgot.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,EAAE,IAAI,GAAoB,MAAU,KAAK,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAY,mBAAmB,CAAA;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAsB,mBAAmB,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAA4B,+BAA+B,CAAC;AAE3E,OAAO,EAAE,sBAAsB,EAA+B,MAAU,eAAe,CAAC;AAGjF,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,UAAU;IAKxC;QAAgB,KAAK,EAAE,CAAC;QAHP,cAAS,GAAW,EAAE,CAAC;QA6ChC,iBAAY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CAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAE;iBACnD,KAAK,CAAE,CAAC,KAAS,EAAE,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC;QAEnD,CAAC,CAAA;IA/CwB,CAAC;IAEhB,YAAY;QAEpB,IAAI,CAAC,UAAW,CAAC,aAAa,CAAC,QAAQ,CAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE;YACvE,IAAI,CAAC,YAAY,EAAE,CAAC;QACtB,CAAC,CAAE,CAAC;IAEN,CAAC;IAGO,WAAW,CAAC,KAAY;QAC9B,MAAM,KAAK,GAAG,KAAK,CAAC,MAA0B,CAAC;QAC/C,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC;IAC/B,CAAC;IAEW,MAAM;QACd,OAAO,IAAI,CAAA;;;;;;;;4BAQW,IAAI,CAAC,WAAW;;;;;;;;;;;;KAYvC,CAAA;IACH,CAAC;CAkBF,CAAA;AA3DkB;IAAhB,KAAK,EAAE;;6CAAgC;AAF7B,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;;GAChB,UAAU,CA6DtB"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class FormLogin extends LitElement {
|
|
3
|
-
source: string;
|
|
4
|
-
private email;
|
|
5
|
-
private password;
|
|
6
|
-
constructor();
|
|
7
|
-
static get styles(): import("lit").CSSResult[];
|
|
8
|
-
protected render(): import("lit-html").TemplateResult<1>;
|
|
9
|
-
private change;
|
|
10
|
-
private handleEmail;
|
|
11
|
-
private handlePassword;
|
|
12
|
-
private _handleSubmit;
|
|
13
|
-
private login;
|
|
14
|
-
private signIn;
|
|
15
|
-
}
|
|
16
|
-
declare global {
|
|
17
|
-
interface HTMLElementTagNameMap {
|
|
18
|
-
'form-login': FormLogin;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class FormLogin extends LitElement {
|
|
3
|
+
source: string;
|
|
4
|
+
private email;
|
|
5
|
+
private password;
|
|
6
|
+
constructor();
|
|
7
|
+
static get styles(): import("lit").CSSResult[];
|
|
8
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
private change;
|
|
10
|
+
private handleEmail;
|
|
11
|
+
private handlePassword;
|
|
12
|
+
private _handleSubmit;
|
|
13
|
+
private login;
|
|
14
|
+
private signIn;
|
|
15
|
+
}
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'form-login': FormLogin;
|
|
19
|
+
}
|
|
20
|
+
}
|