sevago-sso-fe 1.0.4 → 1.0.7
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/README.md +18 -19
- package/dist/App.d.ts +1 -0
- package/dist/apis/auth/auth.api.d.ts +9 -0
- package/dist/apis/auth/auth.enum.d.ts +16 -0
- package/dist/apis/auth/auth.interface.d.ts +50 -0
- package/dist/apis/auth/index.d.ts +5 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/notification/index.d.ts +6 -0
- package/dist/apis/notification/notification.api.d.ts +12 -0
- package/dist/apis/notification/notification.entities.d.ts +17 -0
- package/dist/apis/notification/notification.enum.d.ts +26 -0
- package/dist/apis/notification/notification.interface.d.ts +33 -0
- package/dist/apis/org-unit/index.d.ts +2 -0
- package/dist/apis/org-unit/org-unit.entities.d.ts +41 -0
- package/dist/apis/org-unit/org-unit.enum.d.ts +11 -0
- package/dist/apis/user/index.d.ts +6 -0
- package/dist/apis/user/user.api.d.ts +17 -0
- package/dist/apis/user/user.entities.d.ts +161 -0
- package/dist/apis/user/user.enum.d.ts +304 -0
- package/dist/apis/user/user.interface.d.ts +81 -0
- package/dist/assets/icon/icon-left.d.ts +3 -0
- package/dist/assets/icon/icon-right.d.ts +3 -0
- package/dist/common/config/axios.config.d.ts +1 -0
- package/dist/common/config/firebase.config.d.ts +3 -0
- package/dist/common/config/index.d.ts +3 -0
- package/dist/common/config/socket.config.d.ts +19 -0
- package/dist/common/constant/apps.constant.d.ts +2 -0
- package/dist/common/constant/index.d.ts +7 -0
- package/dist/common/constant/mode.constant.d.ts +266 -0
- package/dist/common/constant/opacity.constant.d.ts +103 -0
- package/dist/common/constant/reg-exp.constant.d.ts +1 -0
- package/dist/common/constant/style.constant.d.ts +113 -0
- package/dist/common/constant/tree.constant.d.ts +12 -0
- package/dist/common/constant/typography.constant.d.ts +457 -0
- package/dist/common/enums/app-category.enum.d.ts +22 -0
- package/dist/common/enums/country.enum.d.ts +7 -0
- package/dist/common/enums/file-type.enum.d.ts +4 -0
- package/dist/common/enums/index.d.ts +6 -0
- package/dist/common/enums/mode.enum.d.ts +4 -0
- package/dist/common/enums/order-type.enum.d.ts +4 -0
- package/dist/common/enums/payment-method.enum.d.ts +7 -0
- package/dist/common/index.d.ts +5 -0
- package/dist/common/interfaces/base-item.interface.d.ts +8 -0
- package/dist/common/interfaces/change-event-custom.interface.d.ts +6 -0
- package/dist/common/interfaces/error.interface.d.ts +5 -0
- package/dist/common/interfaces/index.d.ts +6 -0
- package/dist/common/interfaces/page-options.interface.d.ts +15 -0
- package/dist/common/interfaces/res-list.interface.d.ts +7 -0
- package/dist/common/interfaces/route.interface.d.ts +12 -0
- package/dist/common/utils/find-current-access.helper.d.ts +1 -0
- package/dist/common/utils/index.d.ts +6 -0
- package/dist/common/utils/other/app.utils.d.ts +2 -0
- package/dist/common/utils/other/get-limit-line-css.utils.d.ts +2 -0
- package/dist/common/utils/other/index.d.ts +2 -0
- package/dist/common/utils/string.utils.d.ts +10 -0
- package/dist/common/utils/time.utils.d.ts +13 -0
- package/dist/components/app-grid/app-grid.component.d.ts +19 -0
- package/dist/components/app-grid/index.d.ts +1 -0
- package/dist/components/avatar/avatar-enum.enum.d.ts +10 -0
- package/dist/components/avatar/avatar-user-info.element.d.ts +15 -0
- package/dist/components/avatar/avatar.element.d.ts +9 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/avatar-user/avatar-user.component.d.ts +4 -0
- package/dist/components/avatar-user/index.d.ts +1 -0
- package/dist/components/bell/bell.component.d.ts +4 -0
- package/dist/components/bell/index.d.ts +1 -0
- package/dist/components/elements/button/button.element.d.ts +10 -0
- package/dist/components/elements/button/index.d.ts +1 -0
- package/dist/components/elements/icon/icon-button.element.d.ts +10 -0
- package/dist/components/elements/icon/icon-content.element.d.ts +15 -0
- package/dist/components/elements/icon/icon.element.d.ts +11 -0
- package/dist/components/elements/icon/index.d.ts +3 -0
- package/dist/components/elements/image/image-content-caption.component.d.ts +14 -0
- package/dist/components/elements/image/image-name-time.component.d.ts +9 -0
- package/dist/components/elements/image/image.element.d.ts +12 -0
- package/dist/components/elements/image/image.enum.d.ts +5 -0
- package/dist/components/elements/image/index.d.ts +4 -0
- package/dist/components/elements/index.d.ts +7 -0
- package/dist/components/elements/radio/index.d.ts +2 -0
- package/dist/components/elements/radio/radio-group.element.d.ts +16 -0
- package/dist/components/elements/radio/radio.element.d.ts +7 -0
- package/dist/components/elements/text-field/index.d.ts +2 -0
- package/dist/components/elements/text-field/text-field-label.element.d.ts +9 -0
- package/dist/components/elements/text-field/text-field.element.d.ts +13 -0
- package/dist/components/elements/tooltip/index.d.ts +1 -0
- package/dist/components/elements/tooltip/tooltip-on-click.element.d.ts +7 -0
- package/dist/components/elements/typography/index.d.ts +1 -0
- package/dist/components/elements/typography/typography-content-caption.component.d.ts +10 -0
- package/dist/components/empty/empty.component.d.ts +4 -0
- package/dist/components/empty/index.d.ts +1 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/loading/index.d.ts +1 -0
- package/dist/components/loading/loading.component.d.ts +8 -0
- package/dist/components/logo/index.d.ts +1 -0
- package/dist/components/logo/logo.component.d.ts +10 -0
- package/dist/components/motion/index.d.ts +1 -0
- package/dist/components/motion/motion-box.component.d.ts +14 -0
- package/dist/components/styles/index.d.ts +2 -0
- package/dist/components/styles/stack.style.d.ts +19 -0
- package/dist/components/styles/typography.style.d.ts +1 -0
- package/dist/components/time-ago/index.d.ts +2 -0
- package/dist/components/time-ago/time-ago-content.component.d.ts +7 -0
- package/dist/components/time-ago/time-ago.component.d.ts +6 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/use-apps.hook.d.ts +11 -0
- package/dist/hooks/use-snackbar.hook.d.ts +19 -0
- package/dist/hooks/use-tag-selector.hook.d.ts +25 -0
- package/dist/hooks/use-update-current-access.hook.d.ts +1 -0
- package/dist/hooks/use-version-check.hook.d.ts +3 -0
- package/dist/index.cjs.js +32315 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.esm.js +32299 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/layouts/auth.layout.d.ts +5 -0
- package/dist/layouts/dashboard.layout.d.ts +5 -0
- package/dist/layouts/default.layout.d.ts +5 -0
- package/dist/layouts/index.d.ts +3 -0
- package/dist/main.d.ts +0 -0
- package/dist/pages/auth/auth.constant.d.ts +35 -0
- package/dist/pages/auth/auth.enum.d.ts +6 -0
- package/dist/pages/auth/auth.interface.d.ts +7 -0
- package/dist/pages/auth/auth.page.d.ts +4 -0
- package/dist/pages/auth/index.d.ts +5 -0
- package/dist/pages/auth/parts/index.d.ts +1 -0
- package/dist/pages/auth/parts/otp/index.d.ts +1 -0
- package/dist/pages/auth/parts/otp/otp.part.d.ts +6 -0
- package/dist/pages/dashboard/dashboard.page.d.ts +5 -0
- package/dist/pages/dashboard/index.d.ts +3 -0
- package/dist/pages/dashboard/parts/index.d.ts +1 -0
- package/dist/pages/dashboard/parts/monitor.part.d.ts +2 -0
- package/dist/pages/dashboard/screen/index.d.ts +1 -0
- package/dist/pages/dashboard/screen/system-monitor/index.d.ts +1 -0
- package/dist/pages/dashboard/screen/system-monitor/system-monitor.screen.d.ts +2 -0
- package/dist/pages/error/error.page.d.ts +4 -0
- package/dist/pages/index.d.ts +6 -0
- package/dist/pages/not-found/not-found.page.d.ts +4 -0
- package/dist/redux/account/account.action.d.ts +22 -0
- package/dist/redux/account/account.interface.d.ts +13 -0
- package/dist/redux/account/account.slice.d.ts +4 -0
- package/dist/redux/account/index.d.ts +5 -0
- package/dist/redux/index.d.ts +5 -0
- package/dist/redux/slices/index.d.ts +1 -0
- package/dist/redux/slices/remaining-weight.slice.d.ts +7 -0
- package/dist/redux/store.interface.d.ts +11 -0
- package/dist/redux/store.redux.d.ts +15 -0
- package/dist/redux/system/index.d.ts +2 -0
- package/dist/redux/system/system.action.d.ts +2 -0
- package/dist/redux/system/system.interface.d.ts +4 -0
- package/dist/redux/system/system.slice.d.ts +4 -0
- package/dist/router/index.d.ts +4 -0
- package/dist/router/render.route.d.ts +3 -0
- package/dist/router/route.constant.d.ts +278 -0
- package/dist/router/route.enum.d.ts +4 -0
- package/dist/router/route.routes.d.ts +2 -0
- package/dist/scripts/generate.script.d.ts +0 -0
- package/package.json +5 -5
- package/dist/assets/index-Ck8Rqlmw.css +0 -1
- package/dist/assets/index-RCni0Nq0.js +0 -1183
- package/dist/index.html +0 -21
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
export declare const TYPOGRAPHY_STYLES: {
|
|
2
|
+
'2xl': {
|
|
3
|
+
regular: {
|
|
4
|
+
fontFamily: string;
|
|
5
|
+
fontWeight: number;
|
|
6
|
+
fontStyle: string;
|
|
7
|
+
fontSize: string;
|
|
8
|
+
lineHeight: string;
|
|
9
|
+
letterSpacing: string;
|
|
10
|
+
verticalAlign: string;
|
|
11
|
+
};
|
|
12
|
+
medium: {
|
|
13
|
+
fontFamily: string;
|
|
14
|
+
fontWeight: number;
|
|
15
|
+
fontStyle: string;
|
|
16
|
+
fontSize: string;
|
|
17
|
+
lineHeight: string;
|
|
18
|
+
letterSpacing: string;
|
|
19
|
+
verticalAlign: string;
|
|
20
|
+
};
|
|
21
|
+
semiBold: {
|
|
22
|
+
fontFamily: string;
|
|
23
|
+
fontWeight: number;
|
|
24
|
+
fontStyle: string;
|
|
25
|
+
fontSize: string;
|
|
26
|
+
lineHeight: string;
|
|
27
|
+
letterSpacing: string;
|
|
28
|
+
verticalAlign: string;
|
|
29
|
+
};
|
|
30
|
+
bold: {
|
|
31
|
+
fontFamily: string;
|
|
32
|
+
fontWeight: number;
|
|
33
|
+
fontStyle: string;
|
|
34
|
+
fontSize: string;
|
|
35
|
+
lineHeight: string;
|
|
36
|
+
letterSpacing: string;
|
|
37
|
+
verticalAlign: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
xl: {
|
|
41
|
+
regular: {
|
|
42
|
+
fontFamily: string;
|
|
43
|
+
fontWeight: number;
|
|
44
|
+
fontStyle: string;
|
|
45
|
+
fontSize: string;
|
|
46
|
+
lineHeight: string;
|
|
47
|
+
letterSpacing: string;
|
|
48
|
+
verticalAlign: string;
|
|
49
|
+
};
|
|
50
|
+
medium: {
|
|
51
|
+
fontFamily: string;
|
|
52
|
+
fontWeight: number;
|
|
53
|
+
fontStyle: string;
|
|
54
|
+
fontSize: string;
|
|
55
|
+
lineHeight: string;
|
|
56
|
+
letterSpacing: string;
|
|
57
|
+
verticalAlign: string;
|
|
58
|
+
};
|
|
59
|
+
semiBold: {
|
|
60
|
+
fontFamily: string;
|
|
61
|
+
fontWeight: number;
|
|
62
|
+
fontStyle: string;
|
|
63
|
+
fontSize: string;
|
|
64
|
+
lineHeight: string;
|
|
65
|
+
letterSpacing: string;
|
|
66
|
+
verticalAlign: string;
|
|
67
|
+
};
|
|
68
|
+
bold: {
|
|
69
|
+
fontFamily: string;
|
|
70
|
+
fontWeight: number;
|
|
71
|
+
fontStyle: string;
|
|
72
|
+
fontSize: string;
|
|
73
|
+
lineHeight: string;
|
|
74
|
+
letterSpacing: string;
|
|
75
|
+
verticalAlign: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
lg: {
|
|
79
|
+
regular: {
|
|
80
|
+
fontFamily: string;
|
|
81
|
+
fontWeight: number;
|
|
82
|
+
fontStyle: string;
|
|
83
|
+
fontSize: string;
|
|
84
|
+
lineHeight: string;
|
|
85
|
+
letterSpacing: string;
|
|
86
|
+
verticalAlign: string;
|
|
87
|
+
};
|
|
88
|
+
medium: {
|
|
89
|
+
fontFamily: string;
|
|
90
|
+
fontWeight: number;
|
|
91
|
+
fontStyle: string;
|
|
92
|
+
fontSize: string;
|
|
93
|
+
lineHeight: string;
|
|
94
|
+
letterSpacing: string;
|
|
95
|
+
verticalAlign: string;
|
|
96
|
+
};
|
|
97
|
+
semiBold: {
|
|
98
|
+
fontFamily: string;
|
|
99
|
+
fontWeight: number;
|
|
100
|
+
fontStyle: string;
|
|
101
|
+
fontSize: string;
|
|
102
|
+
lineHeight: string;
|
|
103
|
+
letterSpacing: string;
|
|
104
|
+
verticalAlign: string;
|
|
105
|
+
};
|
|
106
|
+
bold: {
|
|
107
|
+
fontFamily: string;
|
|
108
|
+
fontWeight: number;
|
|
109
|
+
fontStyle: string;
|
|
110
|
+
fontSize: string;
|
|
111
|
+
lineHeight: string;
|
|
112
|
+
letterSpacing: string;
|
|
113
|
+
verticalAlign: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
md: {
|
|
117
|
+
regular: {
|
|
118
|
+
fontFamily: string;
|
|
119
|
+
fontWeight: number;
|
|
120
|
+
fontStyle: string;
|
|
121
|
+
fontSize: string;
|
|
122
|
+
lineHeight: string;
|
|
123
|
+
letterSpacing: string;
|
|
124
|
+
verticalAlign: string;
|
|
125
|
+
};
|
|
126
|
+
medium: {
|
|
127
|
+
fontFamily: string;
|
|
128
|
+
fontWeight: number;
|
|
129
|
+
fontStyle: string;
|
|
130
|
+
fontSize: string;
|
|
131
|
+
lineHeight: string;
|
|
132
|
+
letterSpacing: string;
|
|
133
|
+
verticalAlign: string;
|
|
134
|
+
};
|
|
135
|
+
semiBold: {
|
|
136
|
+
fontFamily: string;
|
|
137
|
+
fontWeight: number;
|
|
138
|
+
fontStyle: string;
|
|
139
|
+
fontSize: string;
|
|
140
|
+
lineHeight: string;
|
|
141
|
+
letterSpacing: string;
|
|
142
|
+
verticalAlign: string;
|
|
143
|
+
};
|
|
144
|
+
bold: {
|
|
145
|
+
fontFamily: string;
|
|
146
|
+
fontWeight: number;
|
|
147
|
+
fontStyle: string;
|
|
148
|
+
fontSize: string;
|
|
149
|
+
lineHeight: string;
|
|
150
|
+
letterSpacing: string;
|
|
151
|
+
verticalAlign: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
sm: {
|
|
155
|
+
regular: {
|
|
156
|
+
fontFamily: string;
|
|
157
|
+
fontWeight: number;
|
|
158
|
+
fontStyle: string;
|
|
159
|
+
fontSize: string;
|
|
160
|
+
lineHeight: string;
|
|
161
|
+
letterSpacing: string;
|
|
162
|
+
verticalAlign: string;
|
|
163
|
+
};
|
|
164
|
+
medium: {
|
|
165
|
+
fontFamily: string;
|
|
166
|
+
fontWeight: number;
|
|
167
|
+
fontStyle: string;
|
|
168
|
+
fontSize: string;
|
|
169
|
+
lineHeight: string;
|
|
170
|
+
letterSpacing: string;
|
|
171
|
+
verticalAlign: string;
|
|
172
|
+
};
|
|
173
|
+
semiBold: {
|
|
174
|
+
fontFamily: string;
|
|
175
|
+
fontWeight: number;
|
|
176
|
+
fontStyle: string;
|
|
177
|
+
fontSize: string;
|
|
178
|
+
lineHeight: string;
|
|
179
|
+
letterSpacing: string;
|
|
180
|
+
verticalAlign: string;
|
|
181
|
+
};
|
|
182
|
+
bold: {
|
|
183
|
+
fontFamily: string;
|
|
184
|
+
fontWeight: number;
|
|
185
|
+
fontStyle: string;
|
|
186
|
+
fontSize: string;
|
|
187
|
+
lineHeight: string;
|
|
188
|
+
letterSpacing: string;
|
|
189
|
+
verticalAlign: string;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
xs: {
|
|
193
|
+
regular: {
|
|
194
|
+
fontFamily: string;
|
|
195
|
+
fontWeight: number;
|
|
196
|
+
fontStyle: string;
|
|
197
|
+
fontSize: string;
|
|
198
|
+
lineHeight: string;
|
|
199
|
+
letterSpacing: string;
|
|
200
|
+
verticalAlign: string;
|
|
201
|
+
};
|
|
202
|
+
medium: {
|
|
203
|
+
fontFamily: string;
|
|
204
|
+
fontWeight: number;
|
|
205
|
+
fontStyle: string;
|
|
206
|
+
fontSize: string;
|
|
207
|
+
lineHeight: string;
|
|
208
|
+
letterSpacing: string;
|
|
209
|
+
verticalAlign: string;
|
|
210
|
+
};
|
|
211
|
+
semiBold: {
|
|
212
|
+
fontFamily: string;
|
|
213
|
+
fontWeight: number;
|
|
214
|
+
fontStyle: string;
|
|
215
|
+
fontSize: string;
|
|
216
|
+
lineHeight: string;
|
|
217
|
+
letterSpacing: string;
|
|
218
|
+
verticalAlign: string;
|
|
219
|
+
};
|
|
220
|
+
bold: {
|
|
221
|
+
fontFamily: string;
|
|
222
|
+
fontWeight: number;
|
|
223
|
+
fontStyle: string;
|
|
224
|
+
fontSize: string;
|
|
225
|
+
lineHeight: string;
|
|
226
|
+
letterSpacing: string;
|
|
227
|
+
verticalAlign: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
textXl: {
|
|
231
|
+
regular: {
|
|
232
|
+
fontFamily: string;
|
|
233
|
+
fontWeight: number;
|
|
234
|
+
fontStyle: string;
|
|
235
|
+
fontSize: string;
|
|
236
|
+
lineHeight: string;
|
|
237
|
+
letterSpacing: string;
|
|
238
|
+
verticalAlign: string;
|
|
239
|
+
};
|
|
240
|
+
medium: {
|
|
241
|
+
fontFamily: string;
|
|
242
|
+
fontWeight: number;
|
|
243
|
+
fontStyle: string;
|
|
244
|
+
fontSize: string;
|
|
245
|
+
lineHeight: string;
|
|
246
|
+
letterSpacing: string;
|
|
247
|
+
verticalAlign: string;
|
|
248
|
+
};
|
|
249
|
+
semiBold: {
|
|
250
|
+
fontFamily: string;
|
|
251
|
+
fontWeight: number;
|
|
252
|
+
fontStyle: string;
|
|
253
|
+
fontSize: string;
|
|
254
|
+
lineHeight: string;
|
|
255
|
+
letterSpacing: string;
|
|
256
|
+
verticalAlign: string;
|
|
257
|
+
};
|
|
258
|
+
bold: {
|
|
259
|
+
fontFamily: string;
|
|
260
|
+
fontWeight: number;
|
|
261
|
+
fontStyle: string;
|
|
262
|
+
fontSize: string;
|
|
263
|
+
lineHeight: string;
|
|
264
|
+
letterSpacing: string;
|
|
265
|
+
verticalAlign: string;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
textLg: {
|
|
269
|
+
regular: {
|
|
270
|
+
fontFamily: string;
|
|
271
|
+
fontWeight: number;
|
|
272
|
+
fontStyle: string;
|
|
273
|
+
fontSize: string;
|
|
274
|
+
lineHeight: string;
|
|
275
|
+
letterSpacing: string;
|
|
276
|
+
verticalAlign: string;
|
|
277
|
+
};
|
|
278
|
+
medium: {
|
|
279
|
+
fontFamily: string;
|
|
280
|
+
fontWeight: number;
|
|
281
|
+
fontStyle: string;
|
|
282
|
+
fontSize: string;
|
|
283
|
+
lineHeight: string;
|
|
284
|
+
letterSpacing: string;
|
|
285
|
+
verticalAlign: string;
|
|
286
|
+
};
|
|
287
|
+
semiBold: {
|
|
288
|
+
fontFamily: string;
|
|
289
|
+
fontWeight: number;
|
|
290
|
+
fontStyle: string;
|
|
291
|
+
fontSize: string;
|
|
292
|
+
lineHeight: string;
|
|
293
|
+
letterSpacing: string;
|
|
294
|
+
verticalAlign: string;
|
|
295
|
+
};
|
|
296
|
+
bold: {
|
|
297
|
+
fontFamily: string;
|
|
298
|
+
fontWeight: number;
|
|
299
|
+
fontStyle: string;
|
|
300
|
+
fontSize: string;
|
|
301
|
+
lineHeight: string;
|
|
302
|
+
letterSpacing: string;
|
|
303
|
+
verticalAlign: string;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
textMd: {
|
|
307
|
+
regular: {
|
|
308
|
+
fontFamily: string;
|
|
309
|
+
fontWeight: number;
|
|
310
|
+
fontStyle: string;
|
|
311
|
+
fontSize: string;
|
|
312
|
+
lineHeight: string;
|
|
313
|
+
letterSpacing: string;
|
|
314
|
+
verticalAlign: string;
|
|
315
|
+
};
|
|
316
|
+
medium: {
|
|
317
|
+
fontFamily: string;
|
|
318
|
+
fontWeight: number;
|
|
319
|
+
fontStyle: string;
|
|
320
|
+
fontSize: string;
|
|
321
|
+
lineHeight: string;
|
|
322
|
+
letterSpacing: string;
|
|
323
|
+
verticalAlign: string;
|
|
324
|
+
};
|
|
325
|
+
semiBold: {
|
|
326
|
+
fontFamily: string;
|
|
327
|
+
fontWeight: number;
|
|
328
|
+
fontStyle: string;
|
|
329
|
+
fontSize: string;
|
|
330
|
+
lineHeight: string;
|
|
331
|
+
verticalAlign: string;
|
|
332
|
+
};
|
|
333
|
+
bold: {
|
|
334
|
+
fontFamily: string;
|
|
335
|
+
fontWeight: number;
|
|
336
|
+
fontStyle: string;
|
|
337
|
+
fontSize: string;
|
|
338
|
+
lineHeight: string;
|
|
339
|
+
letterSpacing: string;
|
|
340
|
+
verticalAlign: string;
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
textSm: {
|
|
344
|
+
regular: {
|
|
345
|
+
fontFamily: string;
|
|
346
|
+
fontWeight: number;
|
|
347
|
+
fontStyle: string;
|
|
348
|
+
fontSize: string;
|
|
349
|
+
lineHeight: string;
|
|
350
|
+
letterSpacing: string;
|
|
351
|
+
verticalAlign: string;
|
|
352
|
+
};
|
|
353
|
+
medium: {
|
|
354
|
+
fontFamily: string;
|
|
355
|
+
fontWeight: number;
|
|
356
|
+
fontStyle: string;
|
|
357
|
+
fontSize: string;
|
|
358
|
+
lineHeight: string;
|
|
359
|
+
letterSpacing: string;
|
|
360
|
+
verticalAlign: string;
|
|
361
|
+
};
|
|
362
|
+
semiBold: {
|
|
363
|
+
fontFamily: string;
|
|
364
|
+
fontWeight: number;
|
|
365
|
+
fontStyle: string;
|
|
366
|
+
fontSize: string;
|
|
367
|
+
lineHeight: string;
|
|
368
|
+
letterSpacing: string;
|
|
369
|
+
verticalAlign: string;
|
|
370
|
+
};
|
|
371
|
+
bold: {
|
|
372
|
+
fontFamily: string;
|
|
373
|
+
fontWeight: number;
|
|
374
|
+
fontStyle: string;
|
|
375
|
+
fontSize: string;
|
|
376
|
+
lineHeight: string;
|
|
377
|
+
letterSpacing: string;
|
|
378
|
+
verticalAlign: string;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
textXs: {
|
|
382
|
+
regular: {
|
|
383
|
+
fontFamily: string;
|
|
384
|
+
fontWeight: number;
|
|
385
|
+
fontStyle: string;
|
|
386
|
+
fontSize: string;
|
|
387
|
+
lineHeight: string;
|
|
388
|
+
letterSpacing: string;
|
|
389
|
+
verticalAlign: string;
|
|
390
|
+
};
|
|
391
|
+
medium: {
|
|
392
|
+
fontFamily: string;
|
|
393
|
+
fontWeight: number;
|
|
394
|
+
fontStyle: string;
|
|
395
|
+
fontSize: string;
|
|
396
|
+
lineHeight: string;
|
|
397
|
+
letterSpacing: string;
|
|
398
|
+
verticalAlign: string;
|
|
399
|
+
};
|
|
400
|
+
semiBold: {
|
|
401
|
+
fontFamily: string;
|
|
402
|
+
fontWeight: number;
|
|
403
|
+
fontStyle: string;
|
|
404
|
+
fontSize: string;
|
|
405
|
+
lineHeight: string;
|
|
406
|
+
letterSpacing: string;
|
|
407
|
+
verticalAlign: string;
|
|
408
|
+
};
|
|
409
|
+
bold: {
|
|
410
|
+
fontFamily: string;
|
|
411
|
+
fontWeight: number;
|
|
412
|
+
fontStyle: string;
|
|
413
|
+
fontSize: string;
|
|
414
|
+
lineHeight: string;
|
|
415
|
+
letterSpacing: string;
|
|
416
|
+
verticalAlign: string;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
textSmall: {
|
|
420
|
+
regular: {
|
|
421
|
+
fontFamily: string;
|
|
422
|
+
fontWeight: number;
|
|
423
|
+
fontStyle: string;
|
|
424
|
+
fontSize: string;
|
|
425
|
+
lineHeight: string;
|
|
426
|
+
letterSpacing: number;
|
|
427
|
+
verticalAlign: string;
|
|
428
|
+
};
|
|
429
|
+
medium: {
|
|
430
|
+
fontFamily: string;
|
|
431
|
+
fontWeight: number;
|
|
432
|
+
fontStyle: string;
|
|
433
|
+
fontSize: string;
|
|
434
|
+
lineHeight: string;
|
|
435
|
+
letterSpacing: string;
|
|
436
|
+
verticalAlign: string;
|
|
437
|
+
};
|
|
438
|
+
semiBold: {
|
|
439
|
+
fontFamily: string;
|
|
440
|
+
fontWeight: number;
|
|
441
|
+
fontStyle: string;
|
|
442
|
+
fontSize: string;
|
|
443
|
+
lineHeight: string;
|
|
444
|
+
letterSpacing: number;
|
|
445
|
+
verticalAlign: string;
|
|
446
|
+
};
|
|
447
|
+
bold: {
|
|
448
|
+
fontFamily: string;
|
|
449
|
+
fontWeight: number;
|
|
450
|
+
fontStyle: string;
|
|
451
|
+
fontSize: string;
|
|
452
|
+
lineHeight: string;
|
|
453
|
+
letterSpacing: number;
|
|
454
|
+
verticalAlign: string;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UserType } from '../../apis/user/user.enum';
|
|
2
|
+
export declare enum AppCategory {
|
|
3
|
+
ALL = "all",
|
|
4
|
+
HRM = "hrm",
|
|
5
|
+
WORKFLOW = "workflow",
|
|
6
|
+
PLATFORM_INFO = "platform-info"
|
|
7
|
+
}
|
|
8
|
+
export declare enum AppType {
|
|
9
|
+
SUBMENU = "submenu",
|
|
10
|
+
EXPAND_MENU = "expand-menu"
|
|
11
|
+
}
|
|
12
|
+
export interface AppModule {
|
|
13
|
+
key: string;
|
|
14
|
+
title: string;
|
|
15
|
+
caption: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
path?: string;
|
|
18
|
+
category: AppCategory;
|
|
19
|
+
allowUserTypes: UserType[];
|
|
20
|
+
type?: AppType;
|
|
21
|
+
children?: AppModule[];
|
|
22
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare enum PaymentMethod {
|
|
2
|
+
CREDIT_CARD = "Credit Card",// Thanh toán bằng thẻ tín dụng
|
|
3
|
+
DEBIT_CARD = "Debit Card",// Thanh toán bằng thẻ ghi nợ
|
|
4
|
+
BANK_TRANSFER = "Bank Transfer",// Chuyển khoản ngân hàng
|
|
5
|
+
PAYPAL = "PayPal",// Thanh toán qua PayPal
|
|
6
|
+
COD = "Cash on Delivery"
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OrderType } from '../enums/order-type.enum';
|
|
2
|
+
export interface PageOptionsDto {
|
|
3
|
+
order?: OrderType;
|
|
4
|
+
orderBy?: string;
|
|
5
|
+
page: number;
|
|
6
|
+
take: number;
|
|
7
|
+
search?: string;
|
|
8
|
+
isRelations?: boolean;
|
|
9
|
+
positionIds?: string[];
|
|
10
|
+
orgUnitIds?: string[];
|
|
11
|
+
isSearchPosition?: boolean;
|
|
12
|
+
isSearchOrgUnit?: boolean;
|
|
13
|
+
notType?: string;
|
|
14
|
+
currentOrgUnitId?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { UserType } from '../../apis/user/user.enum';
|
|
3
|
+
import { RouteType } from '../../router/route.enum';
|
|
4
|
+
export type Route = {
|
|
5
|
+
path: string;
|
|
6
|
+
element: ElementType;
|
|
7
|
+
layout?: ElementType;
|
|
8
|
+
children?: Route[];
|
|
9
|
+
allowUserTypes: UserType[];
|
|
10
|
+
type: RouteType;
|
|
11
|
+
};
|
|
12
|
+
export type RouteConstant = Omit<Route, 'element' | 'layout' | 'children'>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const findCurrentAccessByPath: (pathname: string) => string | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const stringToColor: (string: string) => string;
|
|
2
|
+
/**
|
|
3
|
+
* Pha màu để làm nhạt màu gốc (blend với màu trắng)
|
|
4
|
+
* @param color Màu HEX gốc (VD: '#008a77')
|
|
5
|
+
* @param percentage Phần trăm nhạt đi (0-100)
|
|
6
|
+
*/
|
|
7
|
+
export declare const lightenColor: (color: string, percentage: number) => string;
|
|
8
|
+
export declare const extractNumberAtStartString: (string: string) => number;
|
|
9
|
+
export declare const stripHtml: (html: string) => string;
|
|
10
|
+
export declare const getErrorMessage: (e: unknown) => string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as dayjs } from 'dayjs';
|
|
2
|
+
export declare const getTimeAgo: (time: Date | string) => any;
|
|
3
|
+
export declare const getDateTime: (time?: Date | string, isGetDay?: boolean) => string;
|
|
4
|
+
export declare const getDate: (time?: Date | string) => string;
|
|
5
|
+
export declare const checkNowYear: (date?: Date, year?: number) => boolean;
|
|
6
|
+
export declare const getMonthRangeForYear: (startDate: Date, endDate: Date, year: number) => {
|
|
7
|
+
start: number;
|
|
8
|
+
end: number;
|
|
9
|
+
};
|
|
10
|
+
export declare function getDayOffsetPx(date: dayjs.Dayjs, monthWidths: number[], dayWidth: number): number;
|
|
11
|
+
export declare const isSameDateTime: (createdAt: Date | string, updatedAt: Date | string) => boolean;
|
|
12
|
+
export declare const getTimeDate: (time?: Date | string) => string;
|
|
13
|
+
export declare const isDateString: (value: any) => boolean;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AppModule } from '../../common/enums/app-category.enum';
|
|
3
|
+
export interface AppGridProps {
|
|
4
|
+
apps: AppModule[];
|
|
5
|
+
onClickItem?: (app: AppModule) => void;
|
|
6
|
+
columns?: number;
|
|
7
|
+
rows?: number;
|
|
8
|
+
iconSize?: number;
|
|
9
|
+
iconRadius?: number;
|
|
10
|
+
iconShadow?: string;
|
|
11
|
+
gap?: number | string;
|
|
12
|
+
titleVariant?: "subtitle1" | "body1" | "caption";
|
|
13
|
+
captionVariant?: "caption" | "body2";
|
|
14
|
+
titleColor?: string;
|
|
15
|
+
captionColor?: string;
|
|
16
|
+
selectedAppId?: string;
|
|
17
|
+
showPagination?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const AppGrid: React.FC<AppGridProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AppGrid } from './app-grid.component';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type SizeProps = 'extra_small' | 'small' | 'medium' | 'large';
|
|
2
|
+
export declare const MAP_SIZE: Record<string, {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
}>;
|
|
6
|
+
export declare enum StatusAvatar {
|
|
7
|
+
PENDING = "\u0110ang ch\u1EDD",
|
|
8
|
+
APPROVED = "\u0110\u00E3 ph\u00EA duy\u1EC7t",
|
|
9
|
+
REJECTED = "\u0110\u00E3 t\u1EEB ch\u1ED1i"
|
|
10
|
+
}
|