pwa-auth 3.2.3 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -1
- package/README.md +55 -33
- package/{base → bundle/base}/css/form/button.d.ts +2 -2
- package/{base → bundle/base}/css/form/button.js +2 -2
- package/bundle/base/css/form/button.js.map +1 -0
- package/{base → bundle/base}/css/form/input.d.ts +2 -2
- package/{base → bundle/base}/css/form/input.js +2 -2
- package/bundle/base/css/form/input.js.map +1 -0
- package/{base → bundle/base}/css/form/label.d.ts +2 -2
- package/{base → bundle/base}/css/form/label.js +2 -2
- package/bundle/base/css/form/label.js.map +1 -0
- package/{base → bundle/base}/css/form/list.d.ts +2 -2
- package/{base → bundle/base}/css/form/list.js +2 -2
- package/bundle/base/css/form/list.js.map +1 -0
- package/{base → bundle/base}/css/svg.d.ts +3 -3
- package/{base → bundle/base}/css/svg.js +4 -4
- package/bundle/base/css/svg.js.map +1 -0
- package/{base → bundle/base}/css/toggle.d.ts +1 -1
- package/{base → bundle/base}/css/toggle.js +2 -2
- package/bundle/base/css/toggle.js.map +1 -0
- package/{base → bundle/base}/export/pwa-auth.d.ts +4 -4
- package/{base → bundle/base}/export/pwa-auth.js +4 -4
- package/bundle/base/export/pwa-auth.js.map +1 -0
- package/{base → bundle/base}/firebase/authentication.d.ts +10 -10
- package/{base → bundle/base}/firebase/authentication.js +10 -10
- package/bundle/base/firebase/authentication.js.map +1 -0
- package/{base → bundle/base}/firebase/interface.d.ts +4 -4
- package/{base → bundle/base}/firebase/interface.js +79 -79
- package/bundle/base/firebase/interface.js.map +1 -0
- package/{base → bundle/base}/redux/backend.d.ts +122 -113
- package/{base → bundle/base}/redux/backend.js +43 -43
- package/bundle/base/redux/backend.js.map +1 -0
- package/{base → bundle/base}/redux/drawer.d.ts +19 -17
- package/{base → bundle/base}/redux/drawer.js +21 -21
- package/bundle/base/redux/drawer.js.map +1 -0
- package/{base → bundle/base}/redux/frontend.d.ts +171 -159
- package/{base → bundle/base}/redux/frontend.js +67 -67
- package/bundle/base/redux/frontend.js.map +1 -0
- package/{base → bundle/base}/store.d.ts +60 -60
- package/{base → bundle/base}/store.js +13 -13
- package/bundle/base/store.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/css/drawer.d.ts +2 -2
- package/{base → bundle/base}/webcomponents/drawer/css/drawer.js +2 -2
- package/bundle/base/webcomponents/drawer/css/drawer.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/css/exit.d.ts +2 -2
- package/{base → bundle/base}/webcomponents/drawer/css/exit.js +2 -2
- package/bundle/base/webcomponents/drawer/css/exit.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/css/link.d.ts +2 -2
- package/{base → bundle/base}/webcomponents/drawer/css/link.js +2 -2
- package/bundle/base/webcomponents/drawer/css/link.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/css/paragraph.d.ts +2 -2
- package/{base → bundle/base}/webcomponents/drawer/css/paragraph.js +2 -2
- package/bundle/base/webcomponents/drawer/css/paragraph.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/css/toggle.d.ts +2 -2
- package/{base → bundle/base}/webcomponents/drawer/css/toggle.js +2 -2
- package/bundle/base/webcomponents/drawer/css/toggle.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/drawer.d.ts +57 -57
- package/{base → bundle/base}/webcomponents/drawer/drawer.js +93 -95
- package/bundle/base/webcomponents/drawer/drawer.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/input/login.d.ts +19 -19
- package/{base → bundle/base}/webcomponents/drawer/input/login.js +81 -83
- package/bundle/base/webcomponents/drawer/input/login.js.map +1 -0
- package/{base → bundle/base}/webcomponents/drawer/input/sign-up.d.ts +19 -19
- package/{base → bundle/base}/webcomponents/drawer/input/sign-up.js +88 -90
- package/bundle/base/webcomponents/drawer/input/sign-up.js.map +1 -0
- package/{base → bundle/base}/webcomponents/icon/css/icon.d.ts +1 -1
- package/{base → bundle/base}/webcomponents/icon/css/icon.js +2 -2
- package/bundle/base/webcomponents/icon/css/icon.js.map +1 -0
- package/{base → bundle/base}/webcomponents/icon/icon.d.ts +53 -53
- package/{base → bundle/base}/webcomponents/icon/icon.js +57 -59
- package/bundle/base/webcomponents/icon/icon.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/css/navigation.d.ts +1 -1
- package/{base → bundle/base}/webcomponents/settings/css/navigation.js +2 -2
- package/bundle/base/webcomponents/settings/css/navigation.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/delete.d.ts +54 -54
- package/{base → bundle/base}/webcomponents/settings/input/delete.js +71 -73
- package/bundle/base/webcomponents/settings/input/delete.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/email.d.ts +54 -54
- package/{base → bundle/base}/webcomponents/settings/input/email.js +70 -72
- package/bundle/base/webcomponents/settings/input/email.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/name.d.ts +53 -53
- package/{base → bundle/base}/webcomponents/settings/input/name.js +65 -67
- package/bundle/base/webcomponents/settings/input/name.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/password.d.ts +56 -56
- package/{base → bundle/base}/webcomponents/settings/input/password.js +95 -97
- package/bundle/base/webcomponents/settings/input/password.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/input/uploader.d.ts +57 -57
- package/{base → bundle/base}/webcomponents/settings/input/uploader.js +150 -150
- package/bundle/base/webcomponents/settings/input/uploader.js.map +1 -0
- package/{base → bundle/base}/webcomponents/settings/settings.d.ts +57 -57
- package/{base → bundle/base}/webcomponents/settings/settings.js +76 -78
- package/bundle/base/webcomponents/settings/settings.js.map +1 -0
- package/export/pwa-auth.ts +5 -4
- package/package.json +1 -1
- package/source/esm/pwa-auth.js.map +1 -1
- package/base/css/form/button.js.map +0 -1
- package/base/css/form/input.js.map +0 -1
- package/base/css/form/label.js.map +0 -1
- package/base/css/form/list.js.map +0 -1
- package/base/css/svg.js.map +0 -1
- package/base/css/toggle.js.map +0 -1
- package/base/export/auth-helpers.d.ts +0 -1
- package/base/export/auth-helpers.js +0 -2
- package/base/export/auth-helpers.js.map +0 -1
- package/base/export/pwa-auth.js.map +0 -1
- package/base/firebase/authentication.js.map +0 -1
- package/base/firebase/interface.js.map +0 -1
- package/base/redux/backend.js.map +0 -1
- package/base/redux/drawer.js.map +0 -1
- package/base/redux/frontend.js.map +0 -1
- package/base/redux/object.d.ts +0 -23
- package/base/redux/object.js +0 -2
- package/base/redux/object.js.map +0 -1
- package/base/store.js.map +0 -1
- package/base/webcomponents/drawer/css/drawer.js.map +0 -1
- package/base/webcomponents/drawer/css/exit.js.map +0 -1
- package/base/webcomponents/drawer/css/link.js.map +0 -1
- package/base/webcomponents/drawer/css/paragraph.js.map +0 -1
- package/base/webcomponents/drawer/css/toggle.js.map +0 -1
- package/base/webcomponents/drawer/drawer.js.map +0 -1
- package/base/webcomponents/drawer/input/login.js.map +0 -1
- package/base/webcomponents/drawer/input/sign-up.js.map +0 -1
- package/base/webcomponents/icon/css/icon.js.map +0 -1
- package/base/webcomponents/icon/icon.js.map +0 -1
- package/base/webcomponents/settings/css/navigation.js.map +0 -1
- package/base/webcomponents/settings/input/delete.js.map +0 -1
- package/base/webcomponents/settings/input/email.js.map +0 -1
- package/base/webcomponents/settings/input/name.js.map +0 -1
- package/base/webcomponents/settings/input/password.js.map +0 -1
- package/base/webcomponents/settings/input/uploader.js.map +0 -1
- package/base/webcomponents/settings/settings.js.map +0 -1
|
@@ -1,159 +1,171 @@
|
|
|
1
|
-
import { PayloadAction } from "@reduxjs/toolkit";
|
|
2
|
-
export declare const initialState: {
|
|
3
|
-
settings: string;
|
|
4
|
-
login: boolean;
|
|
5
|
-
drawer: boolean;
|
|
6
|
-
register: boolean;
|
|
7
|
-
userId: string;
|
|
8
|
-
customer: string;
|
|
9
|
-
profileChoice: string;
|
|
10
|
-
name: string;
|
|
11
|
-
photoURL: string;
|
|
12
|
-
phone: string;
|
|
13
|
-
email: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
16
|
-
settings: string;
|
|
17
|
-
login: boolean;
|
|
18
|
-
drawer: boolean;
|
|
19
|
-
register: boolean;
|
|
20
|
-
userId: string;
|
|
21
|
-
customer: string;
|
|
22
|
-
profileChoice: string;
|
|
23
|
-
name: string;
|
|
24
|
-
photoURL: string;
|
|
25
|
-
phone: string;
|
|
26
|
-
email: string;
|
|
27
|
-
}, {
|
|
28
|
-
navigateAuth: (state: import("immer").WritableDraft<{
|
|
29
|
-
settings: string;
|
|
30
|
-
login: boolean;
|
|
31
|
-
drawer: boolean;
|
|
32
|
-
register: boolean;
|
|
33
|
-
userId: string;
|
|
34
|
-
customer: string;
|
|
35
|
-
profileChoice: string;
|
|
36
|
-
name: string;
|
|
37
|
-
photoURL: string;
|
|
38
|
-
phone: string;
|
|
39
|
-
email: string;
|
|
40
|
-
}>, action: PayloadAction<string>) => void;
|
|
41
|
-
userAuth: (state: import("immer").WritableDraft<{
|
|
42
|
-
settings: string;
|
|
43
|
-
login: boolean;
|
|
44
|
-
drawer: boolean;
|
|
45
|
-
register: boolean;
|
|
46
|
-
userId: string;
|
|
47
|
-
customer: string;
|
|
48
|
-
profileChoice: string;
|
|
49
|
-
name: string;
|
|
50
|
-
photoURL: string;
|
|
51
|
-
phone: string;
|
|
52
|
-
email: string;
|
|
53
|
-
}>, action: PayloadAction<boolean>) => void;
|
|
54
|
-
toggleSign: (state: import("immer").WritableDraft<{
|
|
55
|
-
settings: string;
|
|
56
|
-
login: boolean;
|
|
57
|
-
drawer: boolean;
|
|
58
|
-
register: boolean;
|
|
59
|
-
userId: string;
|
|
60
|
-
customer: string;
|
|
61
|
-
profileChoice: string;
|
|
62
|
-
name: string;
|
|
63
|
-
photoURL: string;
|
|
64
|
-
phone: string;
|
|
65
|
-
email: string;
|
|
66
|
-
}>) => void;
|
|
67
|
-
closeSign: (state: import("immer").WritableDraft<{
|
|
68
|
-
settings: string;
|
|
69
|
-
login: boolean;
|
|
70
|
-
drawer: boolean;
|
|
71
|
-
register: boolean;
|
|
72
|
-
userId: string;
|
|
73
|
-
customer: string;
|
|
74
|
-
profileChoice: string;
|
|
75
|
-
name: string;
|
|
76
|
-
photoURL: string;
|
|
77
|
-
phone: string;
|
|
78
|
-
email: string;
|
|
79
|
-
}>) => void;
|
|
80
|
-
signUpAction: (state: import("immer").WritableDraft<{
|
|
81
|
-
settings: string;
|
|
82
|
-
login: boolean;
|
|
83
|
-
drawer: boolean;
|
|
84
|
-
register: boolean;
|
|
85
|
-
userId: string;
|
|
86
|
-
customer: string;
|
|
87
|
-
profileChoice: string;
|
|
88
|
-
name: string;
|
|
89
|
-
photoURL: string;
|
|
90
|
-
phone: string;
|
|
91
|
-
email: string;
|
|
92
|
-
}>) => void;
|
|
93
|
-
signUpClose: (state: import("immer").WritableDraft<{
|
|
94
|
-
settings: string;
|
|
95
|
-
login: boolean;
|
|
96
|
-
drawer: boolean;
|
|
97
|
-
register: boolean;
|
|
98
|
-
userId: string;
|
|
99
|
-
customer: string;
|
|
100
|
-
profileChoice: string;
|
|
101
|
-
name: string;
|
|
102
|
-
photoURL: string;
|
|
103
|
-
phone: string;
|
|
104
|
-
email: string;
|
|
105
|
-
}>, action: PayloadAction<boolean>) => void;
|
|
106
|
-
iconAuth: (state: import("immer").WritableDraft<{
|
|
107
|
-
settings: string;
|
|
108
|
-
login: boolean;
|
|
109
|
-
drawer: boolean;
|
|
110
|
-
register: boolean;
|
|
111
|
-
userId: string;
|
|
112
|
-
customer: string;
|
|
113
|
-
profileChoice: string;
|
|
114
|
-
name: string;
|
|
115
|
-
photoURL: string;
|
|
116
|
-
phone: string;
|
|
117
|
-
email: string;
|
|
118
|
-
}>, action: PayloadAction<string>) => void;
|
|
119
|
-
nameAuth: (state: import("immer").WritableDraft<{
|
|
120
|
-
settings: string;
|
|
121
|
-
login: boolean;
|
|
122
|
-
drawer: boolean;
|
|
123
|
-
register: boolean;
|
|
124
|
-
userId: string;
|
|
125
|
-
customer: string;
|
|
126
|
-
profileChoice: string;
|
|
127
|
-
name: string;
|
|
128
|
-
photoURL: string;
|
|
129
|
-
phone: string;
|
|
130
|
-
email: string;
|
|
131
|
-
}>, action: PayloadAction<string>) => void;
|
|
132
|
-
}, "user", "user", import("@reduxjs/toolkit").SliceSelectors<{
|
|
133
|
-
settings: string;
|
|
134
|
-
login: boolean;
|
|
135
|
-
drawer: boolean;
|
|
136
|
-
register: boolean;
|
|
137
|
-
userId: string;
|
|
138
|
-
customer: string;
|
|
139
|
-
profileChoice: string;
|
|
140
|
-
name: string;
|
|
141
|
-
photoURL: string;
|
|
142
|
-
phone: string;
|
|
143
|
-
email: string;
|
|
144
|
-
}>>;
|
|
145
|
-
export declare const navigateAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/navigateAuth">, iconAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/iconAuth">, nameAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/nameAuth">, userAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "user/userAuth">, toggleSign: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/toggleSign">, closeSign: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/closeSign">, signUpAction: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/signUpAction">, signUpClose: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "user/signUpClose">;
|
|
146
|
-
declare const _default: import("redux").Reducer<{
|
|
147
|
-
settings: string;
|
|
148
|
-
login: boolean;
|
|
149
|
-
drawer: boolean;
|
|
150
|
-
register: boolean;
|
|
151
|
-
userId: string;
|
|
152
|
-
customer: string;
|
|
153
|
-
profileChoice: string;
|
|
154
|
-
name: string;
|
|
155
|
-
photoURL: string;
|
|
156
|
-
phone: string;
|
|
157
|
-
email: string;
|
|
158
|
-
}
|
|
159
|
-
|
|
1
|
+
import { PayloadAction } from "@reduxjs/toolkit";
|
|
2
|
+
export declare const initialState: {
|
|
3
|
+
settings: string;
|
|
4
|
+
login: boolean;
|
|
5
|
+
drawer: boolean;
|
|
6
|
+
register: boolean;
|
|
7
|
+
userId: string;
|
|
8
|
+
customer: string;
|
|
9
|
+
profileChoice: string;
|
|
10
|
+
name: string;
|
|
11
|
+
photoURL: string;
|
|
12
|
+
phone: string;
|
|
13
|
+
email: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const userSlice: import("@reduxjs/toolkit").Slice<{
|
|
16
|
+
settings: string;
|
|
17
|
+
login: boolean;
|
|
18
|
+
drawer: boolean;
|
|
19
|
+
register: boolean;
|
|
20
|
+
userId: string;
|
|
21
|
+
customer: string;
|
|
22
|
+
profileChoice: string;
|
|
23
|
+
name: string;
|
|
24
|
+
photoURL: string;
|
|
25
|
+
phone: string;
|
|
26
|
+
email: string;
|
|
27
|
+
}, {
|
|
28
|
+
navigateAuth: (state: import("immer").WritableDraft<{
|
|
29
|
+
settings: string;
|
|
30
|
+
login: boolean;
|
|
31
|
+
drawer: boolean;
|
|
32
|
+
register: boolean;
|
|
33
|
+
userId: string;
|
|
34
|
+
customer: string;
|
|
35
|
+
profileChoice: string;
|
|
36
|
+
name: string;
|
|
37
|
+
photoURL: string;
|
|
38
|
+
phone: string;
|
|
39
|
+
email: string;
|
|
40
|
+
}>, action: PayloadAction<string>) => void;
|
|
41
|
+
userAuth: (state: import("immer").WritableDraft<{
|
|
42
|
+
settings: string;
|
|
43
|
+
login: boolean;
|
|
44
|
+
drawer: boolean;
|
|
45
|
+
register: boolean;
|
|
46
|
+
userId: string;
|
|
47
|
+
customer: string;
|
|
48
|
+
profileChoice: string;
|
|
49
|
+
name: string;
|
|
50
|
+
photoURL: string;
|
|
51
|
+
phone: string;
|
|
52
|
+
email: string;
|
|
53
|
+
}>, action: PayloadAction<boolean>) => void;
|
|
54
|
+
toggleSign: (state: import("immer").WritableDraft<{
|
|
55
|
+
settings: string;
|
|
56
|
+
login: boolean;
|
|
57
|
+
drawer: boolean;
|
|
58
|
+
register: boolean;
|
|
59
|
+
userId: string;
|
|
60
|
+
customer: string;
|
|
61
|
+
profileChoice: string;
|
|
62
|
+
name: string;
|
|
63
|
+
photoURL: string;
|
|
64
|
+
phone: string;
|
|
65
|
+
email: string;
|
|
66
|
+
}>) => void;
|
|
67
|
+
closeSign: (state: import("immer").WritableDraft<{
|
|
68
|
+
settings: string;
|
|
69
|
+
login: boolean;
|
|
70
|
+
drawer: boolean;
|
|
71
|
+
register: boolean;
|
|
72
|
+
userId: string;
|
|
73
|
+
customer: string;
|
|
74
|
+
profileChoice: string;
|
|
75
|
+
name: string;
|
|
76
|
+
photoURL: string;
|
|
77
|
+
phone: string;
|
|
78
|
+
email: string;
|
|
79
|
+
}>) => void;
|
|
80
|
+
signUpAction: (state: import("immer").WritableDraft<{
|
|
81
|
+
settings: string;
|
|
82
|
+
login: boolean;
|
|
83
|
+
drawer: boolean;
|
|
84
|
+
register: boolean;
|
|
85
|
+
userId: string;
|
|
86
|
+
customer: string;
|
|
87
|
+
profileChoice: string;
|
|
88
|
+
name: string;
|
|
89
|
+
photoURL: string;
|
|
90
|
+
phone: string;
|
|
91
|
+
email: string;
|
|
92
|
+
}>) => void;
|
|
93
|
+
signUpClose: (state: import("immer").WritableDraft<{
|
|
94
|
+
settings: string;
|
|
95
|
+
login: boolean;
|
|
96
|
+
drawer: boolean;
|
|
97
|
+
register: boolean;
|
|
98
|
+
userId: string;
|
|
99
|
+
customer: string;
|
|
100
|
+
profileChoice: string;
|
|
101
|
+
name: string;
|
|
102
|
+
photoURL: string;
|
|
103
|
+
phone: string;
|
|
104
|
+
email: string;
|
|
105
|
+
}>, action: PayloadAction<boolean>) => void;
|
|
106
|
+
iconAuth: (state: import("immer").WritableDraft<{
|
|
107
|
+
settings: string;
|
|
108
|
+
login: boolean;
|
|
109
|
+
drawer: boolean;
|
|
110
|
+
register: boolean;
|
|
111
|
+
userId: string;
|
|
112
|
+
customer: string;
|
|
113
|
+
profileChoice: string;
|
|
114
|
+
name: string;
|
|
115
|
+
photoURL: string;
|
|
116
|
+
phone: string;
|
|
117
|
+
email: string;
|
|
118
|
+
}>, action: PayloadAction<string>) => void;
|
|
119
|
+
nameAuth: (state: import("immer").WritableDraft<{
|
|
120
|
+
settings: string;
|
|
121
|
+
login: boolean;
|
|
122
|
+
drawer: boolean;
|
|
123
|
+
register: boolean;
|
|
124
|
+
userId: string;
|
|
125
|
+
customer: string;
|
|
126
|
+
profileChoice: string;
|
|
127
|
+
name: string;
|
|
128
|
+
photoURL: string;
|
|
129
|
+
phone: string;
|
|
130
|
+
email: string;
|
|
131
|
+
}>, action: PayloadAction<string>) => void;
|
|
132
|
+
}, "user", "user", import("@reduxjs/toolkit").SliceSelectors<{
|
|
133
|
+
settings: string;
|
|
134
|
+
login: boolean;
|
|
135
|
+
drawer: boolean;
|
|
136
|
+
register: boolean;
|
|
137
|
+
userId: string;
|
|
138
|
+
customer: string;
|
|
139
|
+
profileChoice: string;
|
|
140
|
+
name: string;
|
|
141
|
+
photoURL: string;
|
|
142
|
+
phone: string;
|
|
143
|
+
email: string;
|
|
144
|
+
}>>;
|
|
145
|
+
export declare const navigateAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/navigateAuth">, iconAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/iconAuth">, nameAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "user/nameAuth">, userAuth: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "user/userAuth">, toggleSign: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/toggleSign">, closeSign: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/closeSign">, signUpAction: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"user/signUpAction">, signUpClose: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "user/signUpClose">;
|
|
146
|
+
declare const _default: import("redux").Reducer<{
|
|
147
|
+
settings: string;
|
|
148
|
+
login: boolean;
|
|
149
|
+
drawer: boolean;
|
|
150
|
+
register: boolean;
|
|
151
|
+
userId: string;
|
|
152
|
+
customer: string;
|
|
153
|
+
profileChoice: string;
|
|
154
|
+
name: string;
|
|
155
|
+
photoURL: string;
|
|
156
|
+
phone: string;
|
|
157
|
+
email: string;
|
|
158
|
+
}, import("redux").UnknownAction, {
|
|
159
|
+
settings: string;
|
|
160
|
+
login: boolean;
|
|
161
|
+
drawer: boolean;
|
|
162
|
+
register: boolean;
|
|
163
|
+
userId: string;
|
|
164
|
+
customer: string;
|
|
165
|
+
profileChoice: string;
|
|
166
|
+
name: string;
|
|
167
|
+
photoURL: string;
|
|
168
|
+
phone: string;
|
|
169
|
+
email: string;
|
|
170
|
+
}>;
|
|
171
|
+
export default _default;
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { createSlice } from "@reduxjs/toolkit";
|
|
2
|
-
export const initialState = {
|
|
3
|
-
settings: 'profile',
|
|
4
|
-
login: false,
|
|
5
|
-
drawer: false,
|
|
6
|
-
register: true,
|
|
7
|
-
userId: "user",
|
|
8
|
-
customer: "John Doe",
|
|
9
|
-
profileChoice: 'unChosen',
|
|
10
|
-
name: 'Modern Business',
|
|
11
|
-
photoURL: '',
|
|
12
|
-
phone: '(...) ... - ....',
|
|
13
|
-
email: ''
|
|
14
|
-
};
|
|
15
|
-
export const userSlice = createSlice({
|
|
16
|
-
name: 'user',
|
|
17
|
-
initialState,
|
|
18
|
-
reducers: {
|
|
19
|
-
navigateAuth: (state, action) => {
|
|
20
|
-
switch (action.payload) {
|
|
21
|
-
case 'profile':
|
|
22
|
-
break;
|
|
23
|
-
case 'verification':
|
|
24
|
-
break;
|
|
25
|
-
case 'password':
|
|
26
|
-
break;
|
|
27
|
-
case 'delete':
|
|
28
|
-
break;
|
|
29
|
-
default: action.payload = 'profile';
|
|
30
|
-
}
|
|
31
|
-
state.settings = action.payload;
|
|
32
|
-
},
|
|
33
|
-
userAuth: (state, action) => {
|
|
34
|
-
state.login = action.payload;
|
|
35
|
-
},
|
|
36
|
-
toggleSign: (state) => {
|
|
37
|
-
if (state.drawer === true) {
|
|
38
|
-
state.drawer = false;
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
state.drawer = true;
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
closeSign: (state) => {
|
|
45
|
-
state.drawer = false;
|
|
46
|
-
},
|
|
47
|
-
signUpAction: (state) => {
|
|
48
|
-
if (state.register === false) {
|
|
49
|
-
state.register = true;
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
state.register = false;
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
signUpClose: (state, action) => {
|
|
56
|
-
state.register = action.payload;
|
|
57
|
-
},
|
|
58
|
-
iconAuth: (state, action) => {
|
|
59
|
-
state.photoURL = action.payload;
|
|
60
|
-
},
|
|
61
|
-
nameAuth: (state, action) => {
|
|
62
|
-
state.name = action.payload;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
export const { navigateAuth, iconAuth, nameAuth, userAuth, toggleSign, closeSign, signUpAction, signUpClose } = userSlice.actions;
|
|
67
|
-
export default userSlice.reducer;
|
|
1
|
+
import { createSlice } from "@reduxjs/toolkit";
|
|
2
|
+
export const initialState = {
|
|
3
|
+
settings: 'profile',
|
|
4
|
+
login: false,
|
|
5
|
+
drawer: false,
|
|
6
|
+
register: true,
|
|
7
|
+
userId: "user",
|
|
8
|
+
customer: "John Doe",
|
|
9
|
+
profileChoice: 'unChosen',
|
|
10
|
+
name: 'Modern Business',
|
|
11
|
+
photoURL: '',
|
|
12
|
+
phone: '(...) ... - ....',
|
|
13
|
+
email: ''
|
|
14
|
+
};
|
|
15
|
+
export const userSlice = createSlice({
|
|
16
|
+
name: 'user',
|
|
17
|
+
initialState,
|
|
18
|
+
reducers: {
|
|
19
|
+
navigateAuth: (state, action) => {
|
|
20
|
+
switch (action.payload) {
|
|
21
|
+
case 'profile':
|
|
22
|
+
break;
|
|
23
|
+
case 'verification':
|
|
24
|
+
break;
|
|
25
|
+
case 'password':
|
|
26
|
+
break;
|
|
27
|
+
case 'delete':
|
|
28
|
+
break;
|
|
29
|
+
default: action.payload = 'profile';
|
|
30
|
+
}
|
|
31
|
+
state.settings = action.payload;
|
|
32
|
+
},
|
|
33
|
+
userAuth: (state, action) => {
|
|
34
|
+
state.login = action.payload;
|
|
35
|
+
},
|
|
36
|
+
toggleSign: (state) => {
|
|
37
|
+
if (state.drawer === true) {
|
|
38
|
+
state.drawer = false;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
state.drawer = true;
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
closeSign: (state) => {
|
|
45
|
+
state.drawer = false;
|
|
46
|
+
},
|
|
47
|
+
signUpAction: (state) => {
|
|
48
|
+
if (state.register === false) {
|
|
49
|
+
state.register = true;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
state.register = false;
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
signUpClose: (state, action) => {
|
|
56
|
+
state.register = action.payload;
|
|
57
|
+
},
|
|
58
|
+
iconAuth: (state, action) => {
|
|
59
|
+
state.photoURL = action.payload;
|
|
60
|
+
},
|
|
61
|
+
nameAuth: (state, action) => {
|
|
62
|
+
state.name = action.payload;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
export const { navigateAuth, iconAuth, nameAuth, userAuth, toggleSign, closeSign, signUpAction, signUpClose } = userSlice.actions;
|
|
67
|
+
export default userSlice.reducer;
|
|
68
68
|
//# sourceMappingURL=frontend.js.map
|
|
@@ -0,0 +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,QAAQ,EAAU,IAAI;IACtB,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;gBAErB,KAAK,SAAS;oBACZ,MAAM;gBACR,KAAK,cAAc;oBACjB,MAAM;gBACR,KAAK,UAAU;oBACb,MAAM;gBACR,KAAK,QAAQ;oBACX,MAAM;gBAER,OAAO,CAAC,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;aAErC;YAED,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC;QAElC,CAAC;QAGD,QAAQ,EAAM,CAAE,KAAK,EAAE,MAA8B,EAAG,EAAE;YACxD,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,CAAC;QAGF,UAAU,EAAE,CAAE,KAAK,EAAG,EAAE;YACtB,IAAK,KAAK,CAAC,MAAM,KAAK,IAAI,EAAE;gBAAE,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC;aAAE;iBACzB;gBAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC;aAAE;QACrD,CAAC;QAEF,SAAS,EAAE,CAAE,KAAK,EAAG,EAAE;YACrB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC;QACvB,CAAC;QAGD,YAAY,EAAE,CAAE,KAAK,EAAG,EAAE;YAEvB,IAAK,KAAK,CAAC,QAAQ,KAAK,KAAK,EAAI;gBAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;aAAE;iBAC1B;gBAAE,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC;aAAE;QAE9D,CAAC;QAsBF,WAAW,EAAE,CAAE,KAAK,EAAE,MAA8B,EAAG,EAAE;YACvD,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC;QACjC,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,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC;AAElI,eAAe,SAAS,CAAC,OAAO,CAAC"}
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
2
|
-
frontend: {
|
|
3
|
-
settings: string;
|
|
4
|
-
login: boolean;
|
|
5
|
-
drawer: boolean;
|
|
6
|
-
register: boolean;
|
|
7
|
-
userId: string;
|
|
8
|
-
customer: string;
|
|
9
|
-
profileChoice: string;
|
|
10
|
-
name: string;
|
|
11
|
-
photoURL: string;
|
|
12
|
-
phone: string;
|
|
13
|
-
email: string;
|
|
14
|
-
};
|
|
15
|
-
drawer: {
|
|
16
|
-
drawer: boolean;
|
|
17
|
-
};
|
|
18
|
-
backend: {
|
|
19
|
-
verified: boolean;
|
|
20
|
-
anon: boolean;
|
|
21
|
-
userId: string;
|
|
22
|
-
name: string;
|
|
23
|
-
email: string;
|
|
24
|
-
photoURL: string;
|
|
25
|
-
phone: string;
|
|
26
|
-
msgToken: string;
|
|
27
|
-
};
|
|
28
|
-
}, import("redux").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
|
29
|
-
dispatch: import("redux-thunk").ThunkDispatch<{
|
|
30
|
-
frontend: {
|
|
31
|
-
settings: string;
|
|
32
|
-
login: boolean;
|
|
33
|
-
drawer: boolean;
|
|
34
|
-
register: boolean;
|
|
35
|
-
userId: string;
|
|
36
|
-
customer: string;
|
|
37
|
-
profileChoice: string;
|
|
38
|
-
name: string;
|
|
39
|
-
photoURL: string;
|
|
40
|
-
phone: string;
|
|
41
|
-
email: string;
|
|
42
|
-
};
|
|
43
|
-
drawer: {
|
|
44
|
-
drawer: boolean;
|
|
45
|
-
};
|
|
46
|
-
backend: {
|
|
47
|
-
verified: boolean;
|
|
48
|
-
anon: boolean;
|
|
49
|
-
userId: string;
|
|
50
|
-
name: string;
|
|
51
|
-
email: string;
|
|
52
|
-
photoURL: string;
|
|
53
|
-
phone: string;
|
|
54
|
-
msgToken: string;
|
|
55
|
-
};
|
|
56
|
-
}, undefined, import("redux").UnknownAction>;
|
|
57
|
-
}>, import("redux").StoreEnhancer]>>;
|
|
58
|
-
export type AppState = ReturnType<typeof store.getState>;
|
|
59
|
-
export type AppDispatch = typeof store.dispatch;
|
|
60
|
-
export default store;
|
|
1
|
+
export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
2
|
+
frontend: {
|
|
3
|
+
settings: string;
|
|
4
|
+
login: boolean;
|
|
5
|
+
drawer: boolean;
|
|
6
|
+
register: boolean;
|
|
7
|
+
userId: string;
|
|
8
|
+
customer: string;
|
|
9
|
+
profileChoice: string;
|
|
10
|
+
name: string;
|
|
11
|
+
photoURL: string;
|
|
12
|
+
phone: string;
|
|
13
|
+
email: string;
|
|
14
|
+
};
|
|
15
|
+
drawer: {
|
|
16
|
+
drawer: boolean;
|
|
17
|
+
};
|
|
18
|
+
backend: {
|
|
19
|
+
verified: boolean;
|
|
20
|
+
anon: boolean;
|
|
21
|
+
userId: string;
|
|
22
|
+
name: string;
|
|
23
|
+
email: string;
|
|
24
|
+
photoURL: string;
|
|
25
|
+
phone: string;
|
|
26
|
+
msgToken: string;
|
|
27
|
+
};
|
|
28
|
+
}, import("redux").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
|
29
|
+
dispatch: import("redux-thunk").ThunkDispatch<{
|
|
30
|
+
frontend: {
|
|
31
|
+
settings: string;
|
|
32
|
+
login: boolean;
|
|
33
|
+
drawer: boolean;
|
|
34
|
+
register: boolean;
|
|
35
|
+
userId: string;
|
|
36
|
+
customer: string;
|
|
37
|
+
profileChoice: string;
|
|
38
|
+
name: string;
|
|
39
|
+
photoURL: string;
|
|
40
|
+
phone: string;
|
|
41
|
+
email: string;
|
|
42
|
+
};
|
|
43
|
+
drawer: {
|
|
44
|
+
drawer: boolean;
|
|
45
|
+
};
|
|
46
|
+
backend: {
|
|
47
|
+
verified: boolean;
|
|
48
|
+
anon: boolean;
|
|
49
|
+
userId: string;
|
|
50
|
+
name: string;
|
|
51
|
+
email: string;
|
|
52
|
+
photoURL: string;
|
|
53
|
+
phone: string;
|
|
54
|
+
msgToken: string;
|
|
55
|
+
};
|
|
56
|
+
}, undefined, import("redux").UnknownAction>;
|
|
57
|
+
}, {}>, import("redux").StoreEnhancer<{}, {}>]>>;
|
|
58
|
+
export type AppState = ReturnType<typeof store.getState>;
|
|
59
|
+
export type AppDispatch = typeof store.dispatch;
|
|
60
|
+
export default store;
|
|
@@ -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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../typescript/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAU,kBAAkB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAe,kBAAkB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAa,gBAAgB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAY,iBAAiB,CAAC;AAGrD,MAAM,CAAC,MAAM,KAAK,GAAG,cAAc,CAAC;IAClC,OAAO,EAAE;QACP,QAAQ,EAAI,SAAS,CAAC,OAAO;QAC7B,MAAM,EAAM,WAAW,CAAC,OAAO;QAC/B,OAAO,EAAK,YAAY,CAAC,OAAO;KACjC;IACD,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC;AAKH,eAAe,KAAK,CAAC"}
|
|
@@ -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
|
/* <user-drawer> : parent container */
|
|
@@ -52,5 +52,5 @@ export const drawerStyle = css `
|
|
|
52
52
|
transition-property: visibility, max-height;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
`;
|
|
55
|
+
`;
|
|
56
56
|
//# sourceMappingURL=drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../../../typescript/webcomponents/drawer/css/drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAa,MAAM,KAAK,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAc,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDxC,CAAC"}
|
|
@@ -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;
|