pwa-auth 3.3.7 → 3.3.9

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.
Files changed (104) hide show
  1. package/README.md +116 -106
  2. package/base/export/pwa-auth.d.ts +7 -6
  3. package/base/export/pwa-auth.js +7 -6
  4. package/base/export/pwa-auth.js.map +1 -1
  5. package/base/firebase/authentication.d.ts +10 -10
  6. package/base/firebase/authentication.js +10 -10
  7. package/base/firebase/authentication.js.map +1 -1
  8. package/base/firebase/interface.d.ts +5 -4
  9. package/base/firebase/interface.js +80 -79
  10. package/base/firebase/interface.js.map +1 -1
  11. package/base/lazy-loader.d.ts +11 -11
  12. package/base/lazy-loader.js +22 -22
  13. package/base/lazy-loader.js.map +1 -1
  14. package/base/redux/backend.d.ts +122 -113
  15. package/base/redux/backend.js +43 -43
  16. package/base/redux/drawer.d.ts +19 -17
  17. package/base/redux/drawer.js +21 -21
  18. package/base/redux/drawer.js.map +1 -1
  19. package/base/redux/frontend.d.ts +198 -185
  20. package/base/redux/frontend.js +86 -86
  21. package/base/redux/frontend.js.map +1 -1
  22. package/base/store.d.ts +62 -62
  23. package/base/store.js +13 -13
  24. package/base/webcomponents/css/animation.d.ts +2 -2
  25. package/base/webcomponents/css/animation.js +8 -6
  26. package/base/webcomponents/css/animation.js.map +1 -1
  27. package/base/webcomponents/css/svg.d.ts +3 -3
  28. package/base/webcomponents/css/svg.js +4 -4
  29. package/base/webcomponents/css/toggle.d.ts +1 -1
  30. package/base/webcomponents/css/toggle.js +2 -2
  31. package/base/webcomponents/drawer/css/drawer.d.ts +2 -2
  32. package/base/webcomponents/drawer/css/drawer.js +42 -18
  33. package/base/webcomponents/drawer/css/drawer.js.map +1 -1
  34. package/base/webcomponents/drawer/css/exit.d.ts +2 -2
  35. package/base/webcomponents/drawer/css/exit.js +8 -2
  36. package/base/webcomponents/drawer/css/exit.js.map +1 -1
  37. package/base/webcomponents/drawer/css/link.d.ts +2 -2
  38. package/base/webcomponents/drawer/css/link.js +2 -2
  39. package/base/webcomponents/drawer/css/paragraph.d.ts +2 -2
  40. package/base/webcomponents/drawer/css/paragraph.js +18 -6
  41. package/base/webcomponents/drawer/css/paragraph.js.map +1 -1
  42. package/base/webcomponents/drawer/drawer.d.ts +58 -58
  43. package/base/webcomponents/drawer/drawer.js +108 -104
  44. package/base/webcomponents/drawer/drawer.js.map +1 -1
  45. package/base/webcomponents/form/css/button.d.ts +2 -2
  46. package/base/webcomponents/form/css/button.js +3 -3
  47. package/base/webcomponents/form/css/input.d.ts +2 -2
  48. package/base/webcomponents/form/css/input.js +4 -4
  49. package/base/webcomponents/form/css/label.d.ts +2 -2
  50. package/base/webcomponents/form/css/label.js +4 -3
  51. package/base/webcomponents/form/css/label.js.map +1 -1
  52. package/base/webcomponents/form/css/list.d.ts +2 -2
  53. package/base/webcomponents/form/css/list.js +2 -2
  54. package/base/webcomponents/form/css/toggle.d.ts +2 -2
  55. package/base/webcomponents/form/css/toggle.js +6 -4
  56. package/base/webcomponents/form/css/toggle.js.map +1 -1
  57. package/base/webcomponents/form/forgot.d.ts +15 -15
  58. package/base/webcomponents/form/forgot.js +45 -45
  59. package/base/webcomponents/form/forgot.js.map +1 -1
  60. package/base/webcomponents/form/login.d.ts +20 -20
  61. package/base/webcomponents/form/login.js +97 -93
  62. package/base/webcomponents/form/login.js.map +1 -1
  63. package/base/webcomponents/form/signup.d.ts +20 -20
  64. package/base/webcomponents/form/signup.js +104 -100
  65. package/base/webcomponents/form/signup.js.map +1 -1
  66. package/base/webcomponents/icon/css/icon.d.ts +1 -1
  67. package/base/webcomponents/icon/css/icon.js +6 -8
  68. package/base/webcomponents/icon/css/icon.js.map +1 -1
  69. package/base/webcomponents/icon/icon.d.ts +54 -54
  70. package/base/webcomponents/icon/icon.js +59 -59
  71. package/base/webcomponents/icon/icon.js.map +1 -1
  72. package/base/webcomponents/login/css/auth.d.ts +2 -2
  73. package/base/webcomponents/login/css/auth.js +5 -3
  74. package/base/webcomponents/login/css/auth.js.map +1 -1
  75. package/base/webcomponents/login/css/link.d.ts +2 -2
  76. package/base/webcomponents/login/css/link.js +2 -2
  77. package/base/webcomponents/login/css/paragraph.d.ts +2 -2
  78. package/base/webcomponents/login/css/paragraph.js +2 -2
  79. package/base/webcomponents/login/page.d.ts +55 -55
  80. package/base/webcomponents/login/page.js +73 -73
  81. package/base/webcomponents/login/page.js.map +1 -1
  82. package/base/webcomponents/settings/css/navigation.d.ts +1 -1
  83. package/base/webcomponents/settings/css/navigation.js +24 -4
  84. package/base/webcomponents/settings/css/navigation.js.map +1 -1
  85. package/base/webcomponents/settings/input/delete.d.ts +55 -55
  86. package/base/webcomponents/settings/input/delete.js +73 -73
  87. package/base/webcomponents/settings/input/delete.js.map +1 -1
  88. package/base/webcomponents/settings/input/email.d.ts +55 -55
  89. package/base/webcomponents/settings/input/email.js +72 -72
  90. package/base/webcomponents/settings/input/email.js.map +1 -1
  91. package/base/webcomponents/settings/input/name.d.ts +54 -54
  92. package/base/webcomponents/settings/input/name.js +67 -67
  93. package/base/webcomponents/settings/input/name.js.map +1 -1
  94. package/base/webcomponents/settings/input/password.d.ts +57 -57
  95. package/base/webcomponents/settings/input/password.js +97 -97
  96. package/base/webcomponents/settings/input/password.js.map +1 -1
  97. package/base/webcomponents/settings/input/uploader.d.ts +58 -58
  98. package/base/webcomponents/settings/input/uploader.js +152 -151
  99. package/base/webcomponents/settings/input/uploader.js.map +1 -1
  100. package/base/webcomponents/settings/settings.d.ts +58 -58
  101. package/base/webcomponents/settings/settings.js +80 -91
  102. package/base/webcomponents/settings/settings.js.map +1 -1
  103. package/package.json +11 -10
  104. package/source/pwa-auth.js +106 -56
@@ -1,73 +1,73 @@
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 -->
69
69
  <section
70
- class="userDrawer ${this.drawer ? 'in' : 'out'}">
70
+ class="userDrawer ${this.drawer ? 'out' : 'in'}">
71
71
 
72
72
  <!-- Exit Button -->
73
73
  <header class="exit">
@@ -78,7 +78,7 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
78
78
 
79
79
  <!-- Logged-out State -->
80
80
  <div
81
- class="spec"
81
+ class="spec ${this.drawer ? 'spec-out' : 'spec-in'}"
82
82
  ?on="${this.user === false}">
83
83
 
84
84
  <div class= "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
 
@@ -109,44 +109,48 @@ let UserDrawer = class UserDrawer extends connect(store)(LitElement) {
109
109
  class="spec setLog"
110
110
  ?on="${this.user === true}">
111
111
 
112
- <p><a href="${this.url}">Settings</a></p>
112
+ <slot name="before"></slot>
113
113
 
114
- <p><a class="leave" aria-label="log out">log out</a></p>
114
+ <a href="${this.url}">Settings</a>
115
+
116
+ <slot name="within"></slot>
117
+
118
+ <button class="leave" aria-label="log out">log out</button>
115
119
 
116
120
  </div>
117
121
 
118
122
  </section>
119
123
 
120
- `;
121
- }
122
- };
123
- __decorate([
124
- property({ type: String, reflect: true }),
125
- __metadata("design:type", Object)
126
- ], UserDrawer.prototype, "url", void 0);
127
- __decorate([
128
- property({ type: Boolean, attribute: true, reflect: true }),
129
- __metadata("design:type", Object)
130
- ], UserDrawer.prototype, "drawer", void 0);
131
- __decorate([
132
- property({ type: Boolean, attribute: true, reflect: true }),
133
- __metadata("design:type", Object)
134
- ], UserDrawer.prototype, "subscribe", void 0);
135
- __decorate([
136
- state(),
137
- __metadata("design:type", Object)
138
- ], UserDrawer.prototype, "name", void 0);
139
- __decorate([
140
- state(),
141
- __metadata("design:type", Object)
142
- ], UserDrawer.prototype, "user", void 0);
143
- __decorate([
144
- state(),
145
- __metadata("design:type", Object)
146
- ], UserDrawer.prototype, "signup", void 0);
147
- UserDrawer = __decorate([
148
- customElement('user-drawer'),
149
- __metadata("design:paramtypes", [])
150
- ], UserDrawer);
151
- 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 };
152
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,KA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AAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;0CAAuB;AAGhF;IAAC,QAAQ,CAAC,EAAC,IAAI,EAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;6CAA0B;AAEnF;IAAC,KAAK,EAAE;;wCAA2B;AACnC;IAAC,KAAK,EAAE;;wCAA8B;AACtC;IAAC,KAAK,EAAE;;0CAA8B;AAb3B,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;;GAChB,UAAU,CA+GtB;SA/GY,UAAU"}
@@ -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; }
@@ -7,7 +7,7 @@ export const buttonStyle = css `
7
7
  display: inline-block;
8
8
  box-sizing: border-box;
9
9
  white-space: nowrap;
10
- margin: 16px 16px 16px auto;
10
+ margin: 16px 16px 32px auto;
11
11
  font-weight: 400;
12
12
  text-align: center;
13
13
  vertical-align: middle;
@@ -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],
@@ -11,14 +11,14 @@ export const inputStyle = css `
11
11
  text-align: left;
12
12
  padding: 8px 16px;
13
13
  background-color: var(--pwa_input_background_color, #E1E5EB);
14
- border: 0;
14
+ border: 1px solid grey;
15
15
  border-radius: 4px;
16
16
  -webkit-border-radius: 4px;
17
17
  font-size: smaller;
18
- box-shadow: 1px 1px 1px grey;
18
+ box-shadow: 0px 6px 6px -6px;
19
19
  }
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,4 +1,4 @@
1
- import { css } from "lit";
1
+ import { css } from "lit";
2
2
  export const labelStyle = css `
3
3
 
4
4
  label { font-size: .9em; }
@@ -10,7 +10,8 @@ export const labelStyle = css `
10
10
  margin-bottom: 0;
11
11
  font-weight: bold;
12
12
  line-height: 36px;
13
- padding: 0 16px;
13
+ padding: 0 4px;
14
+ padding-bottom: 16px;
14
15
  }
15
16
 
16
17
  @media (max-width: 460px) {
@@ -19,5 +20,5 @@ export const labelStyle = css `
19
20
 
20
21
  }
21
22
 
22
- `;
23
+ `;
23
24
  //# sourceMappingURL=label.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,UAAU,GAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;CAoBxC,CAAC"}
1
+ {"version":3,"file":"label.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,UAAU,GAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;CAqBxC,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;
@@ -1,4 +1,4 @@
1
- import { css } from "lit";
1
+ import { css } from "lit";
2
2
  export const listStyle = css `
3
3
 
4
4
  ul {
@@ -18,5 +18,5 @@ export const listStyle = css `
18
18
  margin: 0 16px;
19
19
  }
20
20
 
21
- `;
21
+ `;
22
22
  //# sourceMappingURL=list.js.map
@@ -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,12 +1,14 @@
1
- import { css } from "lit";
1
+ import { css } from "lit";
2
2
  export const toggleStyle = css `
3
3
 
4
4
  .new {
5
+ border: 0px;
6
+ border-top: 2px solid black;
7
+ box-shadow: 0px 0px 6px 0px;
5
8
  padding: 12px;
6
- border-radius: 4px;
9
+ /* border-radius: 4px; */
7
10
  appearance: none;
8
11
  background-color: transparent;
9
- border: 0px;
10
12
  color: inherit;
11
13
  cursor: pointer;
12
14
  text-decoration: underline;
@@ -14,5 +16,5 @@ export const toggleStyle = css `
14
16
  line-height: 42px;
15
17
  }
16
18
 
17
- `;
19
+ `;
18
20
  //# sourceMappingURL=toggle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/toggle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;CAexC,CAAA"}
1
+ {"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../../../typescript/webcomponents/form/css/toggle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;CAiBxC,CAAA"}
@@ -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,GAAG,KAAK,IAAI,EAAE;YAEhC,MAAM,sBAAsB,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,S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AG,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;AA3DC;IAAC,KAAK,EAAE;;6CAAgC;AAF7B,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;;GAChB,UAAU,CA6DtB;SA7DY,UAAU"}
@@ -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
+ }