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.
Files changed (91) hide show
  1. package/base/export/pwa-auth.d.ts +7 -7
  2. package/base/export/pwa-auth.js +7 -7
  3. package/base/firebase/authentication.d.ts +10 -10
  4. package/base/firebase/authentication.js +10 -10
  5. package/base/firebase/interface.d.ts +5 -5
  6. package/base/firebase/interface.js +80 -80
  7. package/base/firebase/interface.js.map +1 -1
  8. package/base/lazy-loader.d.ts +11 -11
  9. package/base/lazy-loader.js +22 -22
  10. package/base/lazy-loader.js.map +1 -1
  11. package/base/redux/backend.d.ts +113 -122
  12. package/base/redux/backend.js +43 -43
  13. package/base/redux/drawer.d.ts +17 -19
  14. package/base/redux/drawer.js +21 -21
  15. package/base/redux/drawer.js.map +1 -1
  16. package/base/redux/frontend.d.ts +185 -198
  17. package/base/redux/frontend.js +86 -86
  18. package/base/redux/frontend.js.map +1 -1
  19. package/base/store.d.ts +62 -62
  20. package/base/store.js +13 -13
  21. package/base/webcomponents/css/animation.d.ts +2 -2
  22. package/base/webcomponents/css/animation.js +2 -2
  23. package/base/webcomponents/css/svg.d.ts +3 -3
  24. package/base/webcomponents/css/svg.js +4 -4
  25. package/base/webcomponents/css/toggle.d.ts +1 -1
  26. package/base/webcomponents/css/toggle.js +2 -2
  27. package/base/webcomponents/drawer/css/drawer.d.ts +2 -2
  28. package/base/webcomponents/drawer/css/drawer.js +2 -2
  29. package/base/webcomponents/drawer/css/exit.d.ts +2 -2
  30. package/base/webcomponents/drawer/css/exit.js +2 -2
  31. package/base/webcomponents/drawer/css/link.d.ts +2 -2
  32. package/base/webcomponents/drawer/css/link.js +2 -2
  33. package/base/webcomponents/drawer/css/paragraph.d.ts +2 -2
  34. package/base/webcomponents/drawer/css/paragraph.js +2 -2
  35. package/base/webcomponents/drawer/drawer.d.ts +58 -58
  36. package/base/webcomponents/drawer/drawer.js +100 -100
  37. package/base/webcomponents/drawer/drawer.js.map +1 -1
  38. package/base/webcomponents/form/css/button.d.ts +2 -2
  39. package/base/webcomponents/form/css/button.js +2 -2
  40. package/base/webcomponents/form/css/input.d.ts +2 -2
  41. package/base/webcomponents/form/css/input.js +2 -2
  42. package/base/webcomponents/form/css/label.d.ts +2 -2
  43. package/base/webcomponents/form/css/label.js +2 -2
  44. package/base/webcomponents/form/css/list.d.ts +2 -2
  45. package/base/webcomponents/form/css/list.js +2 -2
  46. package/base/webcomponents/form/css/toggle.d.ts +2 -2
  47. package/base/webcomponents/form/css/toggle.js +2 -2
  48. package/base/webcomponents/form/forgot.d.ts +15 -15
  49. package/base/webcomponents/form/forgot.js +45 -45
  50. package/base/webcomponents/form/forgot.js.map +1 -1
  51. package/base/webcomponents/form/login.d.ts +20 -20
  52. package/base/webcomponents/form/login.js +88 -88
  53. package/base/webcomponents/form/login.js.map +1 -1
  54. package/base/webcomponents/form/signup.d.ts +20 -20
  55. package/base/webcomponents/form/signup.js +95 -95
  56. package/base/webcomponents/form/signup.js.map +1 -1
  57. package/base/webcomponents/icon/css/icon.d.ts +1 -1
  58. package/base/webcomponents/icon/css/icon.js +2 -2
  59. package/base/webcomponents/icon/icon.d.ts +54 -54
  60. package/base/webcomponents/icon/icon.js +59 -59
  61. package/base/webcomponents/icon/icon.js.map +1 -1
  62. package/base/webcomponents/login/css/auth.d.ts +2 -2
  63. package/base/webcomponents/login/css/auth.js +2 -2
  64. package/base/webcomponents/login/css/link.d.ts +2 -2
  65. package/base/webcomponents/login/css/link.js +2 -2
  66. package/base/webcomponents/login/css/paragraph.d.ts +2 -2
  67. package/base/webcomponents/login/css/paragraph.js +2 -2
  68. package/base/webcomponents/login/page.d.ts +55 -55
  69. package/base/webcomponents/login/page.js +71 -71
  70. package/base/webcomponents/login/page.js.map +1 -1
  71. package/base/webcomponents/settings/css/navigation.d.ts +1 -1
  72. package/base/webcomponents/settings/css/navigation.js +2 -2
  73. package/base/webcomponents/settings/input/delete.d.ts +55 -55
  74. package/base/webcomponents/settings/input/delete.js +73 -73
  75. package/base/webcomponents/settings/input/delete.js.map +1 -1
  76. package/base/webcomponents/settings/input/email.d.ts +55 -55
  77. package/base/webcomponents/settings/input/email.js +72 -72
  78. package/base/webcomponents/settings/input/email.js.map +1 -1
  79. package/base/webcomponents/settings/input/name.d.ts +54 -54
  80. package/base/webcomponents/settings/input/name.js +67 -67
  81. package/base/webcomponents/settings/input/name.js.map +1 -1
  82. package/base/webcomponents/settings/input/password.d.ts +57 -57
  83. package/base/webcomponents/settings/input/password.js +97 -97
  84. package/base/webcomponents/settings/input/password.js.map +1 -1
  85. package/base/webcomponents/settings/input/uploader.d.ts +58 -58
  86. package/base/webcomponents/settings/input/uploader.js +150 -150
  87. package/base/webcomponents/settings/input/uploader.js.map +1 -1
  88. package/base/webcomponents/settings/settings.d.ts +58 -58
  89. package/base/webcomponents/settings/settings.js +80 -80
  90. package/base/webcomponents/settings/settings.js.map +1 -1
  91. package/package.json +1 -1
@@ -1,87 +1,87 @@
1
- import { createSlice } from "@reduxjs/toolkit";
2
- export const initialState = {
3
- settings: 'profile',
4
- login: false,
5
- drawer: false,
6
- registerOne: false,
7
- registerTwo: false,
8
- userId: "user",
9
- customer: "John Doe",
10
- profileChoice: 'unChosen',
11
- name: 'Modern Business',
12
- photoURL: '',
13
- phone: '(...) ... - ....',
14
- email: ''
15
- };
16
- export const userSlice = createSlice({
17
- name: 'user',
18
- initialState,
19
- reducers: {
20
- navigateAuth: (state, action) => {
21
- switch (action.payload) {
22
- case 'profile':
23
- break;
24
- case 'verification':
25
- break;
26
- case 'password':
27
- break;
28
- case 'delete':
29
- break;
30
- default: action.payload = 'profile';
31
- }
32
- state.settings = action.payload;
33
- },
34
- userAuth: (state, action) => {
35
- state.login = action.payload;
36
- },
37
- toggleSign: (state) => {
38
- if (state.drawer === true) {
39
- state.drawer = false;
40
- }
41
- else {
42
- state.drawer = true;
43
- }
44
- },
45
- closeSign: (state) => {
46
- state.drawer = false;
47
- },
48
- signUpAction: (state) => {
49
- if (state.registerOne === false) {
50
- state.registerOne = true;
51
- }
52
- else {
53
- state.registerOne = false;
54
- }
55
- },
56
- universalToggle: (state, action) => {
57
- if (action.payload === 'drawer') {
58
- if (state.registerOne === false) {
59
- state.registerOne = true;
60
- }
61
- else {
62
- state.registerOne = false;
63
- }
64
- }
65
- else {
66
- if (state.registerTwo === false) {
67
- state.registerTwo = true;
68
- }
69
- else {
70
- state.registerTwo = false;
71
- }
72
- }
73
- },
74
- signUpClose: (state, action) => {
75
- state.registerOne = action.payload;
76
- },
77
- iconAuth: (state, action) => {
78
- state.photoURL = action.payload;
79
- },
80
- nameAuth: (state, action) => {
81
- state.name = action.payload;
82
- }
83
- }
84
- });
85
- export const { universalToggle, navigateAuth, iconAuth, nameAuth, userAuth, toggleSign, closeSign, signUpAction, signUpClose } = userSlice.actions;
86
- export default userSlice.reducer;
1
+ import { createSlice } from "@reduxjs/toolkit";
2
+ export const initialState = {
3
+ settings: 'profile',
4
+ login: false,
5
+ drawer: false,
6
+ registerOne: false,
7
+ registerTwo: false,
8
+ userId: "user",
9
+ customer: "John Doe",
10
+ profileChoice: 'unChosen',
11
+ name: 'Modern Business',
12
+ photoURL: '',
13
+ phone: '(...) ... - ....',
14
+ email: ''
15
+ };
16
+ export const userSlice = createSlice({
17
+ name: 'user',
18
+ initialState,
19
+ reducers: {
20
+ navigateAuth: (state, action) => {
21
+ switch (action.payload) {
22
+ case 'profile':
23
+ break;
24
+ case 'verification':
25
+ break;
26
+ case 'password':
27
+ break;
28
+ case 'delete':
29
+ break;
30
+ default: action.payload = 'profile';
31
+ }
32
+ state.settings = action.payload;
33
+ },
34
+ userAuth: (state, action) => {
35
+ state.login = action.payload;
36
+ },
37
+ toggleSign: (state) => {
38
+ if (state.drawer === true) {
39
+ state.drawer = false;
40
+ }
41
+ else {
42
+ state.drawer = true;
43
+ }
44
+ },
45
+ closeSign: (state) => {
46
+ state.drawer = false;
47
+ },
48
+ signUpAction: (state) => {
49
+ if (state.registerOne === false) {
50
+ state.registerOne = true;
51
+ }
52
+ else {
53
+ state.registerOne = false;
54
+ }
55
+ },
56
+ universalToggle: (state, action) => {
57
+ if (action.payload === 'drawer') {
58
+ if (state.registerOne === false) {
59
+ state.registerOne = true;
60
+ }
61
+ else {
62
+ state.registerOne = false;
63
+ }
64
+ }
65
+ else {
66
+ if (state.registerTwo === false) {
67
+ state.registerTwo = true;
68
+ }
69
+ else {
70
+ state.registerTwo = false;
71
+ }
72
+ }
73
+ },
74
+ signUpClose: (state, action) => {
75
+ state.registerOne = action.payload;
76
+ },
77
+ iconAuth: (state, action) => {
78
+ state.photoURL = action.payload;
79
+ },
80
+ nameAuth: (state, action) => {
81
+ state.name = action.payload;
82
+ }
83
+ }
84
+ });
85
+ export const { universalToggle, navigateAuth, iconAuth, nameAuth, userAuth, toggleSign, closeSign, signUpAction, signUpClose } = userSlice.actions;
86
+ export default userSlice.reducer;
87
87
  //# sourceMappingURL=frontend.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"frontend.js","sourceRoot":"","sources":["../../typescript/redux/frontend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAI9D,MAAM,CAAC,MAAM,YAAY,GAAqB;IAC5C,QAAQ,EAAU,SAAS;IAC3B,KAAK,EAAa,KAAK;IACvB,MAAM,EAAY,KAAK;IACvB,WAAW,EAAO,KAAK;IACvB,WAAW,EAAO,KAAK;IACvB,MAAM,EAAY,MAAM;IACxB,QAAQ,EAAU,UAAU;IAC5B,aAAa,EAAK,UAAU;IAC5B,IAAI,EAAc,iBAAiB;IACnC,QAAQ,EAAU,EAAE;IACpB,KAAK,EAAa,kBAAkB;IACpC,KAAK,EAAa,EAAE;CACrB,CAAA;AAGD,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAC;IACjC,IAAI,EAAE,MAAM;IACZ,YAAY;IACZ,QAAQ,EAAE;QAER,YAAY,EAAK,CAAE,KAAK,EAAE,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AAG,EAAE;YAE1D,IAAI,MAAM,CAAC,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAEhC,IAAK,KAAK,CAAC,WAAW,KAAK,KAAK,EAAM,CAAC;oBAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;gBAAC,CAAC;qBAC7B,CAAC;oBAAC,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC;gBAAC,CAAC;YAEtE,CAAC;iBAAM,CAAC;gBAEN,IAAK,KAAK,CAAC,WAAW,KAAK,KAAK,EAAM,CAAC;oBAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;gBAAC,CAAC;qBAC7B,CAAC;oBAAC,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC;gBAAC,CAAC;YAEtE,CAAC;QAEF,CAAC;QAsBF,WAAW,EAAE,CAAE,KAAK,EAAE,MAA8B,EAAG,EAAE;YACvD,KAAK,CAAC,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC;QAGF,QAAQ,EAAK,CAAE,KAAK,EAAE,MAA6B,EAAG,EAAE;YACtD,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAA;QAChC,CAAC;QAGF,QAAQ,EAAM,CAAE,KAAK,EAAE,MAA6B,EAAG,EAAE;YACvD,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC;QAC7B,CAAC;KAEG;CACV,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC;AAEnJ,eAAe,SAAS,CAAC,OAAO,CAAC"}
package/base/store.d.ts CHANGED
@@ -1,62 +1,62 @@
1
- export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
2
- frontend: {
3
- settings: string;
4
- login: boolean;
5
- drawer: boolean;
6
- registerOne: boolean;
7
- registerTwo: boolean;
8
- userId: string;
9
- customer: string;
10
- profileChoice: string;
11
- name: string;
12
- photoURL: string;
13
- phone: string;
14
- email: string;
15
- };
16
- drawer: {
17
- drawer: boolean;
18
- };
19
- backend: {
20
- verified: boolean;
21
- anon: boolean;
22
- userId: string;
23
- name: string;
24
- email: string;
25
- photoURL: string;
26
- phone: string;
27
- msgToken: string;
28
- };
29
- }, import("redux").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
30
- dispatch: import("redux-thunk").ThunkDispatch<{
31
- frontend: {
32
- settings: string;
33
- login: boolean;
34
- drawer: boolean;
35
- registerOne: boolean;
36
- registerTwo: boolean;
37
- userId: string;
38
- customer: string;
39
- profileChoice: string;
40
- name: string;
41
- photoURL: string;
42
- phone: string;
43
- email: string;
44
- };
45
- drawer: {
46
- drawer: boolean;
47
- };
48
- backend: {
49
- verified: boolean;
50
- anon: boolean;
51
- userId: string;
52
- name: string;
53
- email: string;
54
- photoURL: string;
55
- phone: string;
56
- msgToken: string;
57
- };
58
- }, undefined, import("redux").UnknownAction>;
59
- }, {}>, import("redux").StoreEnhancer<{}, {}>]>>;
60
- export type AppState = ReturnType<typeof store.getState>;
61
- export type AppDispatch = typeof store.dispatch;
62
- export default store;
1
+ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
2
+ frontend: {
3
+ settings: string;
4
+ login: boolean;
5
+ drawer: boolean;
6
+ registerOne: boolean;
7
+ registerTwo: boolean;
8
+ userId: string;
9
+ customer: string;
10
+ profileChoice: string;
11
+ name: string;
12
+ photoURL: string;
13
+ phone: string;
14
+ email: string;
15
+ };
16
+ drawer: {
17
+ drawer: boolean;
18
+ };
19
+ backend: {
20
+ verified: boolean;
21
+ anon: boolean;
22
+ userId: string;
23
+ name: string;
24
+ email: string;
25
+ photoURL: string;
26
+ phone: string;
27
+ msgToken: string;
28
+ };
29
+ }, import("redux").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
30
+ dispatch: import("redux-thunk").ThunkDispatch<{
31
+ frontend: {
32
+ settings: string;
33
+ login: boolean;
34
+ drawer: boolean;
35
+ registerOne: boolean;
36
+ registerTwo: boolean;
37
+ userId: string;
38
+ customer: string;
39
+ profileChoice: string;
40
+ name: string;
41
+ photoURL: string;
42
+ phone: string;
43
+ email: string;
44
+ };
45
+ drawer: {
46
+ drawer: boolean;
47
+ };
48
+ backend: {
49
+ verified: boolean;
50
+ anon: boolean;
51
+ userId: string;
52
+ name: string;
53
+ email: string;
54
+ photoURL: string;
55
+ phone: string;
56
+ msgToken: string;
57
+ };
58
+ }, undefined, import("redux").UnknownAction>;
59
+ }>, import("redux").StoreEnhancer]>>;
60
+ export type AppState = ReturnType<typeof store.getState>;
61
+ export type AppDispatch = typeof store.dispatch;
62
+ export default store;
package/base/store.js CHANGED
@@ -1,14 +1,14 @@
1
- import { configureStore } from '@reduxjs/toolkit';
2
- import { userSlice } from './redux/frontend';
3
- import { drawerSlice } from './redux/drawer';
4
- import { accountSlice } from './redux/backend';
5
- export const store = configureStore({
6
- reducer: {
7
- frontend: userSlice.reducer,
8
- drawer: drawerSlice.reducer,
9
- backend: accountSlice.reducer,
10
- },
11
- devTools: true
12
- });
13
- export default store;
1
+ import { configureStore } from '@reduxjs/toolkit';
2
+ import { userSlice } from './redux/frontend';
3
+ import { drawerSlice } from './redux/drawer';
4
+ import { accountSlice } from './redux/backend';
5
+ export const store = configureStore({
6
+ reducer: {
7
+ frontend: userSlice.reducer,
8
+ drawer: drawerSlice.reducer,
9
+ backend: accountSlice.reducer,
10
+ },
11
+ devTools: true
12
+ });
13
+ export default store;
14
14
  //# sourceMappingURL=store.js.map
@@ -1,2 +1,2 @@
1
- import { CSSResult } from "lit";
2
- export declare const animation: CSSResult;
1
+ import { CSSResult } from "lit";
2
+ export declare const animation: CSSResult;
@@ -1,4 +1,4 @@
1
- import { css } from "lit";
1
+ import { css } from "lit";
2
2
  export const animation = css `
3
3
 
4
4
  .wrapper {
@@ -66,5 +66,5 @@ export const animation = css `
66
66
  z-index: 2;
67
67
  }
68
68
 
69
- `;
69
+ `;
70
70
  //# sourceMappingURL=animation.js.map
@@ -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
@@ -1 +1 @@
1
- export declare const show: import("lit").CSSResult;
1
+ export declare const show: import("lit").CSSResult;
@@ -1,8 +1,8 @@
1
- import { css } from "lit";
1
+ import { css } from "lit";
2
2
  export const show = css `
3
3
 
4
4
  .spec[on] { display: grid; }
5
5
  .spec { display: none; }
6
6
 
7
- `;
7
+ `;
8
8
  //# sourceMappingURL=toggle.js.map
@@ -1,2 +1,2 @@
1
- import { CSSResult } from "lit";
2
- export declare const drawerStyle: CSSResult;
1
+ import { CSSResult } from "lit";
2
+ export declare const drawerStyle: CSSResult;
@@ -1,4 +1,4 @@
1
- import { css } from "lit";
1
+ import { css } from "lit";
2
2
  export const drawerStyle = css `
3
3
 
4
4
  :host {
@@ -73,5 +73,5 @@ export const drawerStyle = css `
73
73
  animation-timing-function: linear;
74
74
  }
75
75
 
76
- `;
76
+ `;
77
77
  //# sourceMappingURL=drawer.js.map
@@ -1,2 +1,2 @@
1
- import { CSSResult } from "lit";
2
- export declare const exitStyle: CSSResult;
1
+ import { CSSResult } from "lit";
2
+ export declare const exitStyle: CSSResult;
@@ -1,4 +1,4 @@
1
- import { css } from "lit";
1
+ import { css } from "lit";
2
2
  export const exitStyle = css `
3
3
 
4
4
  .exit {
@@ -51,5 +51,5 @@ export const exitStyle = css `
51
51
 
52
52
 
53
53
 
54
- `;
54
+ `;
55
55
  //# sourceMappingURL=exit.js.map
@@ -1,2 +1,2 @@
1
- import { CSSResult } from 'lit';
2
- export declare const linkStyle: CSSResult;
1
+ import { CSSResult } from 'lit';
2
+ export declare const linkStyle: CSSResult;
@@ -1,4 +1,4 @@
1
- import { css } from 'lit';
1
+ import { css } from 'lit';
2
2
  export const linkStyle = css `
3
3
 
4
4
  a {
@@ -9,5 +9,5 @@ export const linkStyle = css `
9
9
  text-decoration: none;
10
10
  }
11
11
 
12
- `;
12
+ `;
13
13
  //# sourceMappingURL=link.js.map
@@ -1,2 +1,2 @@
1
- import { CSSResult } from "lit";
2
- export declare const lineStyle: CSSResult;
1
+ import { CSSResult } from "lit";
2
+ export declare const lineStyle: CSSResult;
@@ -1,4 +1,4 @@
1
- import { css } from "lit";
1
+ import { css } from "lit";
2
2
  export const lineStyle = css `
3
3
 
4
4
  .setLog > a {
@@ -19,5 +19,5 @@ export const lineStyle = css `
19
19
  }
20
20
 
21
21
 
22
- `;
22
+ `;
23
23
  //# sourceMappingURL=paragraph.js.map
@@ -1,58 +1,58 @@
1
- import { CSSResultArray, LitElement } from 'lit';
2
- import { AppState } from '../../store';
3
- import '../form/login';
4
- import '../form/signup';
5
- declare const UserDrawer_base: (new (...args: any[]) => {
6
- _storeUnsubscribe: import("redux").Unsubscribe;
7
- connectedCallback(): void;
8
- disconnectedCallback(): void;
9
- stateChanged(_state: {
10
- frontend: {
11
- settings: string;
12
- login: boolean;
13
- drawer: boolean;
14
- registerOne: boolean;
15
- registerTwo: boolean;
16
- userId: string;
17
- customer: string;
18
- profileChoice: string;
19
- name: string;
20
- photoURL: string;
21
- phone: string;
22
- email: string;
23
- };
24
- drawer: {
25
- drawer: boolean;
26
- };
27
- backend: {
28
- verified: boolean;
29
- anon: boolean;
30
- userId: string;
31
- name: string;
32
- email: string;
33
- photoURL: string;
34
- phone: string;
35
- msgToken: string;
36
- };
37
- }): void;
38
- readonly isConnected: boolean;
39
- }) & typeof LitElement;
40
- export declare class UserDrawer extends UserDrawer_base {
41
- private url;
42
- drawer: boolean;
43
- subscribe: boolean;
44
- private name;
45
- private user;
46
- private signup;
47
- constructor();
48
- stateChanged(state: AppState): void;
49
- protected firstUpdated(): void;
50
- static get styles(): CSSResultArray;
51
- protected render(): import("lit-html").TemplateResult<1>;
52
- }
53
- declare global {
54
- interface HTMLElementTagNameMap {
55
- 'user-drawer': UserDrawer;
56
- }
57
- }
58
- export {};
1
+ import { CSSResultArray, LitElement } from 'lit';
2
+ import { AppState } from '../../store';
3
+ import '../form/login';
4
+ import '../form/signup';
5
+ declare const UserDrawer_base: (new (...args: any[]) => {
6
+ _storeUnsubscribe: import("redux").Unsubscribe;
7
+ connectedCallback(): void;
8
+ disconnectedCallback(): void;
9
+ stateChanged(_state: {
10
+ frontend: {
11
+ settings: string;
12
+ login: boolean;
13
+ drawer: boolean;
14
+ registerOne: boolean;
15
+ registerTwo: boolean;
16
+ userId: string;
17
+ customer: string;
18
+ profileChoice: string;
19
+ name: string;
20
+ photoURL: string;
21
+ phone: string;
22
+ email: string;
23
+ };
24
+ drawer: {
25
+ drawer: boolean;
26
+ };
27
+ backend: {
28
+ verified: boolean;
29
+ anon: boolean;
30
+ userId: string;
31
+ name: string;
32
+ email: string;
33
+ photoURL: string;
34
+ phone: string;
35
+ msgToken: string;
36
+ };
37
+ }): void;
38
+ readonly isConnected: boolean;
39
+ }) & typeof LitElement;
40
+ export declare class UserDrawer extends UserDrawer_base {
41
+ private url;
42
+ drawer: boolean;
43
+ subscribe: boolean;
44
+ private name;
45
+ private user;
46
+ private signup;
47
+ constructor();
48
+ stateChanged(state: AppState): void;
49
+ protected firstUpdated(): void;
50
+ static get styles(): CSSResultArray;
51
+ protected render(): import("lit-html").TemplateResult<1>;
52
+ }
53
+ declare global {
54
+ interface HTMLElementTagNameMap {
55
+ 'user-drawer': UserDrawer;
56
+ }
57
+ }
58
+ export {};