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
package/base/redux/frontend.js
CHANGED
|
@@ -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,MAA6B,EAAG,EAAE;YAE1D,QAAO,MAAM,CAAC,OAAO,EAAE;
|
|
1
|
+
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ACvD,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
|
-
}
|
|
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,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,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,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,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,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,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 {};
|