@underpostnet/underpost 2.97.1 → 2.98.0
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 +2 -2
- package/cli.md +3 -1
- package/conf.js +2 -0
- package/manifests/deployment/dd-default-development/deployment.yaml +2 -2
- package/manifests/deployment/dd-test-development/deployment.yaml +2 -2
- package/package.json +1 -1
- package/scripts/rocky-pwa.sh +200 -0
- package/src/api/core/core.service.js +0 -5
- package/src/api/default/default.service.js +7 -5
- package/src/api/document/document.model.js +1 -1
- package/src/api/document/document.router.js +5 -0
- package/src/api/document/document.service.js +176 -128
- package/src/api/file/file.model.js +112 -4
- package/src/api/file/file.ref.json +42 -0
- package/src/api/file/file.service.js +380 -32
- package/src/api/user/user.model.js +38 -1
- package/src/api/user/user.router.js +96 -63
- package/src/api/user/user.service.js +81 -48
- package/src/cli/db.js +424 -166
- package/src/cli/index.js +8 -0
- package/src/cli/repository.js +1 -1
- package/src/cli/run.js +1 -0
- package/src/cli/ssh.js +10 -10
- package/src/client/components/core/Account.js +327 -36
- package/src/client/components/core/AgGrid.js +3 -0
- package/src/client/components/core/Auth.js +11 -3
- package/src/client/components/core/Chat.js +2 -2
- package/src/client/components/core/Content.js +161 -80
- package/src/client/components/core/Css.js +30 -0
- package/src/client/components/core/CssCore.js +16 -12
- package/src/client/components/core/FileExplorer.js +813 -49
- package/src/client/components/core/Input.js +207 -12
- package/src/client/components/core/LogIn.js +42 -20
- package/src/client/components/core/Modal.js +138 -24
- package/src/client/components/core/Panel.js +71 -32
- package/src/client/components/core/PanelForm.js +262 -77
- package/src/client/components/core/PublicProfile.js +888 -0
- package/src/client/components/core/Responsive.js +15 -7
- package/src/client/components/core/Router.js +117 -15
- package/src/client/components/core/SearchBox.js +322 -116
- package/src/client/components/core/SignUp.js +26 -7
- package/src/client/components/core/SocketIo.js +6 -3
- package/src/client/components/core/Translate.js +148 -0
- package/src/client/components/core/Validator.js +15 -0
- package/src/client/components/core/windowGetDimensions.js +6 -6
- package/src/client/components/default/MenuDefault.js +59 -12
- package/src/client/components/default/RoutesDefault.js +1 -0
- package/src/client/services/core/core.service.js +163 -1
- package/src/client/services/default/default.management.js +454 -76
- package/src/client/services/default/default.service.js +13 -6
- package/src/client/services/file/file.service.js +43 -16
- package/src/client/services/user/user.service.js +13 -9
- package/src/client/sw/default.sw.js +107 -184
- package/src/db/DataBaseProvider.js +1 -1
- package/src/db/mongo/MongooseDB.js +1 -1
- package/src/index.js +1 -1
- package/src/mailer/MailerProvider.js +4 -4
- package/src/runtime/express/Express.js +2 -1
- package/src/runtime/lampp/Lampp.js +2 -2
- package/src/server/auth.js +3 -6
- package/src/server/data-query.js +449 -0
- package/src/server/object-layer.js +0 -3
- package/src/ws/IoInterface.js +2 -2
|
@@ -11,6 +11,7 @@ import { loggerFactory } from './Logger.js';
|
|
|
11
11
|
import { LogIn } from './LogIn.js';
|
|
12
12
|
import { LogOut } from './LogOut.js';
|
|
13
13
|
import { NotificationManager } from './NotificationManager.js';
|
|
14
|
+
import { SearchBox } from './SearchBox.js';
|
|
14
15
|
import { Translate } from './Translate.js';
|
|
15
16
|
import { s } from './VanillaJs.js';
|
|
16
17
|
|
|
@@ -24,21 +25,21 @@ class Auth {
|
|
|
24
25
|
/**
|
|
25
26
|
* The current user access token (JWT).
|
|
26
27
|
* @type {string}
|
|
27
|
-
* @
|
|
28
|
+
* @method
|
|
28
29
|
*/
|
|
29
30
|
#token = '';
|
|
30
31
|
|
|
31
32
|
/**
|
|
32
33
|
* The token for anonymous guest sessions.
|
|
33
34
|
* @type {string}
|
|
34
|
-
* @
|
|
35
|
+
* @method
|
|
35
36
|
*/
|
|
36
37
|
#guestToken = '';
|
|
37
38
|
|
|
38
39
|
/**
|
|
39
40
|
* Timeout ID for the token refresh schedule.
|
|
40
41
|
* @type {number | undefined}
|
|
41
|
-
* @
|
|
42
|
+
* @method
|
|
42
43
|
*/
|
|
43
44
|
#refreshTimeout;
|
|
44
45
|
|
|
@@ -204,6 +205,8 @@ class Auth {
|
|
|
204
205
|
// A valid user token was found/refreshed
|
|
205
206
|
this.setToken(data.token);
|
|
206
207
|
localStorage.setItem('jwt', data.token);
|
|
208
|
+
// Clear cached profile image to ensure fresh load for new user
|
|
209
|
+
LogIn.Scope.user.main.model.user = {};
|
|
207
210
|
this.renderSessionUI();
|
|
208
211
|
await LogIn.Trigger({ user: data.user });
|
|
209
212
|
await Account.updateForm(data.user);
|
|
@@ -235,6 +238,8 @@ class Auth {
|
|
|
235
238
|
// Guest token is valid and refreshed
|
|
236
239
|
this.setGuestToken(data.token);
|
|
237
240
|
localStorage.setItem('jwt.g', data.token);
|
|
241
|
+
// Clear cached profile image for fresh guest session
|
|
242
|
+
LogIn.Scope.user.main.model.user = {};
|
|
238
243
|
await LogIn.Trigger(data);
|
|
239
244
|
await Account.updateForm(data.user);
|
|
240
245
|
return data;
|
|
@@ -263,6 +268,7 @@ class Auth {
|
|
|
263
268
|
try {
|
|
264
269
|
const result = await UserService.delete({ id: 'logout' });
|
|
265
270
|
localStorage.removeItem('jwt');
|
|
271
|
+
SearchBox.RecentResults.clear();
|
|
266
272
|
this.deleteToken();
|
|
267
273
|
if (this.#refreshTimeout) {
|
|
268
274
|
clearTimeout(this.#refreshTimeout);
|
|
@@ -310,6 +316,7 @@ class Auth {
|
|
|
310
316
|
s(`.main-btn-sign-up`).style.display = 'none';
|
|
311
317
|
s(`.main-btn-log-out`).style.display = null;
|
|
312
318
|
s(`.main-btn-account`).style.display = null;
|
|
319
|
+
if (s(`.main-btn-public-profile`)) s(`.main-btn-public-profile`).style.display = null;
|
|
313
320
|
setTimeout(() => {
|
|
314
321
|
// Close any open login/signup modals
|
|
315
322
|
if (s(`.modal-log-in`)) s(`.btn-close-modal-log-in`).click();
|
|
@@ -328,6 +335,7 @@ class Auth {
|
|
|
328
335
|
s(`.main-btn-sign-up`).style.display = null;
|
|
329
336
|
s(`.main-btn-log-out`).style.display = 'none';
|
|
330
337
|
s(`.main-btn-account`).style.display = 'none';
|
|
338
|
+
if (s(`.main-btn-public-profile`)) s(`.main-btn-public-profile`).style.display = 'none';
|
|
331
339
|
setTimeout(() => {
|
|
332
340
|
// Close any open logout/account modals
|
|
333
341
|
if (s(`.modal-log-out`)) s(`.btn-close-modal-log-out`).click();
|
|
@@ -13,8 +13,8 @@ const Chat = {
|
|
|
13
13
|
this.Data[idModal] = {};
|
|
14
14
|
setTimeout(() => {
|
|
15
15
|
Modal.Data[idModal].onObserverListener[`chat-${idModal}`] = (options) => {
|
|
16
|
-
const {
|
|
17
|
-
s(`.chat-box`).style.height = `${height
|
|
16
|
+
const { height } = options;
|
|
17
|
+
s(`.chat-box`).style.height = `${height - 250}px`;
|
|
18
18
|
};
|
|
19
19
|
s(`.btn-send-chat-${idModal}`).onclick = (e) => {
|
|
20
20
|
e.preventDefault();
|
|
@@ -5,7 +5,7 @@ import { s4 } from './CommonJs.js';
|
|
|
5
5
|
import { Translate } from './Translate.js';
|
|
6
6
|
import { Modal, renderViewTitle } from './Modal.js';
|
|
7
7
|
import { DocumentService } from '../../services/document/document.service.js';
|
|
8
|
-
import { CoreService, getApiBaseUrl } from '../../services/core/core.service.js';
|
|
8
|
+
import { CoreService, getApiBaseUrl, headersFactory } from '../../services/core/core.service.js';
|
|
9
9
|
import { loggerFactory } from './Logger.js';
|
|
10
10
|
import { imageShimmer, renderChessPattern, renderCssAttr, styleFactory } from './Css.js';
|
|
11
11
|
import { getQueryParams } from './Router.js';
|
|
@@ -32,27 +32,40 @@ const Content = {
|
|
|
32
32
|
if (!queryParams.cid) throw new Error(`no-result-found`);
|
|
33
33
|
|
|
34
34
|
{
|
|
35
|
-
const { data, status, message } = await DocumentService.get({ id: queryParams.cid });
|
|
35
|
+
const { data: responseData, status, message } = await DocumentService.get({ id: queryParams.cid });
|
|
36
|
+
const data = Array.isArray(responseData) ? responseData : responseData?.data || [];
|
|
36
37
|
if (status !== 'success' || !data || !data[0]) {
|
|
37
38
|
logger.error(message);
|
|
38
39
|
throw new Error(`no-result-found`);
|
|
39
40
|
}
|
|
40
41
|
documentObj = data[0];
|
|
41
42
|
}
|
|
42
|
-
|
|
43
|
+
|
|
44
|
+
// Get file metadata (does not include buffer data)
|
|
45
|
+
if (documentObj.fileId && documentObj.fileId._id) {
|
|
43
46
|
const { data, status, message } = await FileService.get({ id: documentObj.fileId._id });
|
|
44
47
|
if (status !== 'success' || !data || !data[0]) {
|
|
45
|
-
logger.
|
|
46
|
-
//
|
|
48
|
+
logger.warn('File metadata not found:', message);
|
|
49
|
+
// Continue without file - not fatal
|
|
50
|
+
} else {
|
|
51
|
+
file = data[0];
|
|
47
52
|
}
|
|
48
|
-
file = data[0];
|
|
49
53
|
}
|
|
50
|
-
|
|
51
|
-
|
|
54
|
+
|
|
55
|
+
// Get markdown file metadata (optional)
|
|
56
|
+
if (documentObj.mdFileId && documentObj.mdFileId._id) {
|
|
57
|
+
const { data, status, message } = await FileService.get({ id: documentObj.mdFileId._id });
|
|
52
58
|
if (status !== 'success' || !data || !data[0]) {
|
|
53
|
-
logger.
|
|
54
|
-
|
|
55
|
-
} else
|
|
59
|
+
logger.warn('Markdown file metadata not found:', message);
|
|
60
|
+
// Continue without markdown - try to render file instead
|
|
61
|
+
} else {
|
|
62
|
+
md = data[0];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Check if we have at least one file to render
|
|
67
|
+
if (!md && !file) {
|
|
68
|
+
throw new Error(`no-preview-available`);
|
|
56
69
|
}
|
|
57
70
|
|
|
58
71
|
htmls(
|
|
@@ -63,11 +76,12 @@ const Content = {
|
|
|
63
76
|
})} `,
|
|
64
77
|
);
|
|
65
78
|
htmls(`.content-render-${idModal}`, ``);
|
|
79
|
+
|
|
80
|
+
// Pass file IDs to RenderFile - it will fetch blobs as needed
|
|
66
81
|
if (md) await this.RenderFile({ idModal, file: md, id: md._id });
|
|
67
82
|
if (file) await this.RenderFile({ idModal, file, id: file._id });
|
|
68
83
|
Modal.Data[idModal].onObserverListener[`main-content-observer`]();
|
|
69
84
|
} catch (error) {
|
|
70
|
-
logger.error(error);
|
|
71
85
|
htmls(`.content-render-${idModal}`, '');
|
|
72
86
|
htmls(`.error-${idModal}`, html`<i class="fas fa-exclamation-circle"></i> ${Translate.Render(error.message)}`);
|
|
73
87
|
s(`.error-${idModal}`).classList.remove('hide');
|
|
@@ -89,17 +103,48 @@ const Content = {
|
|
|
89
103
|
</div>
|
|
90
104
|
<div class="abs center error-${idModal} hide"></div>`;
|
|
91
105
|
},
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Helper function to get file content
|
|
109
|
+
* Supports both legacy format (with buffer data) and new format (metadata only)
|
|
110
|
+
* For new format, fetches content from blob endpoint
|
|
111
|
+
*/
|
|
112
|
+
getFileContent: async function (file, options = {}) {
|
|
113
|
+
// If custom URL provided, use it
|
|
114
|
+
if (options.url) {
|
|
115
|
+
return await CoreService.getRaw({ url: options.url });
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// If buffer data exists in file object (legacy format), use it
|
|
119
|
+
if (file.data?.data) {
|
|
120
|
+
return await getRawContentFile(getBlobFromUint8ArrayFile(file.data.data, file.mimetype));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// Otherwise, fetch from blob endpoint (new metadata-only format)
|
|
124
|
+
if (file._id) {
|
|
125
|
+
try {
|
|
126
|
+
const { data: blobArray, status } = await FileService.get({ id: `blob/${file._id}` });
|
|
127
|
+
if (status === 'success' && blobArray && blobArray[0]) {
|
|
128
|
+
return await blobArray[0].text();
|
|
129
|
+
}
|
|
130
|
+
throw new Error('Failed to fetch file content');
|
|
131
|
+
} catch (error) {
|
|
132
|
+
logger.error('Error fetching file content from blob endpoint:', error);
|
|
133
|
+
throw new Error('Could not load file content');
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
throw new Error('No file content available');
|
|
138
|
+
},
|
|
139
|
+
|
|
92
140
|
RenderFile: async function (
|
|
93
141
|
options = {
|
|
94
142
|
file: {
|
|
95
143
|
_id: '',
|
|
96
|
-
data: {
|
|
97
|
-
data: [0],
|
|
98
|
-
},
|
|
99
144
|
mimetype: '',
|
|
100
145
|
url: '',
|
|
101
146
|
name: '',
|
|
102
|
-
cid: '',
|
|
147
|
+
cid: '',
|
|
103
148
|
},
|
|
104
149
|
idModal: '',
|
|
105
150
|
style: {},
|
|
@@ -116,80 +161,116 @@ const Content = {
|
|
|
116
161
|
border: 'none',
|
|
117
162
|
};
|
|
118
163
|
if (!options.class) options.class = ``;
|
|
164
|
+
|
|
119
165
|
const { container, file } = options;
|
|
120
|
-
const ext = file.name
|
|
166
|
+
const ext = (file.name || '').split('.').pop()?.toLowerCase() || '';
|
|
121
167
|
let render = '';
|
|
122
168
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
169
|
+
try {
|
|
170
|
+
switch (ext) {
|
|
171
|
+
case 'md':
|
|
172
|
+
{
|
|
173
|
+
const content = await Content.getFileContent(file, options);
|
|
174
|
+
render += html`<div class="${options.class}" ${styleFactory(options.style)}>${marked.parse(content)}</div>`;
|
|
175
|
+
}
|
|
176
|
+
break;
|
|
177
|
+
|
|
178
|
+
case 'jpg':
|
|
179
|
+
case 'jpeg':
|
|
180
|
+
case 'webp':
|
|
181
|
+
case 'svg':
|
|
182
|
+
case 'gif':
|
|
183
|
+
case 'png': {
|
|
184
|
+
const url = await Content.urlFactory(options);
|
|
185
|
+
if (url) {
|
|
186
|
+
const imgRender = html`<img
|
|
187
|
+
alt="${file.name ? file.name : `file ${s4()}`}"
|
|
188
|
+
class="in ${options.class}"
|
|
189
|
+
${styleFactory(options.style, `${renderChessPattern(50)}`)}
|
|
190
|
+
src="${url}"
|
|
191
|
+
/>`;
|
|
192
|
+
render += imgRender;
|
|
193
|
+
} else {
|
|
194
|
+
render = html`<div class="in ${options.class}" ${styleFactory(options.style)}>
|
|
195
|
+
<p style="color: red;">Error loading image</p>
|
|
196
|
+
</div>`;
|
|
197
|
+
}
|
|
198
|
+
break;
|
|
130
199
|
}
|
|
131
200
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
></iframe>`;
|
|
157
|
-
break;
|
|
158
|
-
}
|
|
201
|
+
case 'pdf': {
|
|
202
|
+
const url = await Content.urlFactory(options);
|
|
203
|
+
if (url) {
|
|
204
|
+
render += html`<iframe
|
|
205
|
+
class="in ${options.class} iframe-${options.idModal}"
|
|
206
|
+
${styleFactory(options.style)}
|
|
207
|
+
src="${url}"
|
|
208
|
+
></iframe>`;
|
|
209
|
+
} else {
|
|
210
|
+
render = html`<div class="in ${options.class}" ${styleFactory(options.style)}>
|
|
211
|
+
<p style="color: red;">Error loading PDF</p>
|
|
212
|
+
</div>`;
|
|
213
|
+
}
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
case 'json':
|
|
218
|
+
{
|
|
219
|
+
const content = await Content.getFileContent(file, options);
|
|
220
|
+
render += html`<pre class="in ${options.class}" ${styleFactory(options.style)}>
|
|
221
|
+
${JSON.stringify(JSON.parse(content), null, 4)}</pre
|
|
222
|
+
>`;
|
|
223
|
+
}
|
|
224
|
+
break;
|
|
159
225
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
break;
|
|
173
|
-
|
|
174
|
-
default:
|
|
175
|
-
render += html`<div class="in ${options.class}" ${styleFactory(options.style)}>
|
|
176
|
-
${options.url
|
|
177
|
-
? await CoreService.getRaw({ url: options.url })
|
|
178
|
-
: await getRawContentFile(getBlobFromUint8ArrayFile(file.data.data, file.mimetype))}
|
|
179
|
-
</div>`;
|
|
180
|
-
break;
|
|
226
|
+
default:
|
|
227
|
+
{
|
|
228
|
+
const content = await Content.getFileContent(file, options);
|
|
229
|
+
render += html`<div class="in ${options.class}" ${styleFactory(options.style)}>${content}</div>`;
|
|
230
|
+
}
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
} catch (error) {
|
|
234
|
+
logger.error('Error rendering file:', error);
|
|
235
|
+
render = html`<div class="in ${options.class}" ${styleFactory(options.style)}>
|
|
236
|
+
<p style="color: red;">Error loading file: ${error.message}</p>
|
|
237
|
+
</div>`;
|
|
181
238
|
}
|
|
239
|
+
|
|
182
240
|
if (options.raw) return render;
|
|
183
241
|
append(container, render);
|
|
184
242
|
},
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Generate appropriate URL for file display
|
|
246
|
+
* Prefers blob endpoint for new metadata-only format
|
|
247
|
+
*/
|
|
248
|
+
urlFactory: async function (options) {
|
|
249
|
+
// If custom URL provided, use it
|
|
250
|
+
if (options.url) {
|
|
251
|
+
return options.url;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// If buffer data exists (legacy), create object URL
|
|
255
|
+
if (options.file?.data?.data) {
|
|
256
|
+
return URL.createObjectURL(getBlobFromUint8ArrayFile(options.file.data.data, options.file.mimetype));
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
// Use blob endpoint for metadata-only format with proper authentication
|
|
260
|
+
if (options.file?._id) {
|
|
261
|
+
try {
|
|
262
|
+
const { data: blobArray, status } = await FileService.get({ id: `blob/${options.file._id}` });
|
|
263
|
+
if (status === 'success' && blobArray && blobArray[0]) {
|
|
264
|
+
return URL.createObjectURL(blobArray[0]);
|
|
265
|
+
}
|
|
266
|
+
throw new Error('Failed to fetch file blob');
|
|
267
|
+
} catch (error) {
|
|
268
|
+
logger.error('Error fetching file blob:', error);
|
|
269
|
+
return null;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
return null;
|
|
193
274
|
},
|
|
194
275
|
};
|
|
195
276
|
|
|
@@ -340,6 +340,36 @@ const dynamicCol = (options = { containerSelector: '', id: '', type: '', limit:
|
|
|
340
340
|
);
|
|
341
341
|
break;
|
|
342
342
|
|
|
343
|
+
case 'search-inputs':
|
|
344
|
+
if (s(`.${containerSelector}`).offsetWidth < limitCol)
|
|
345
|
+
htmls(
|
|
346
|
+
`.style-${id}-col`,
|
|
347
|
+
css`
|
|
348
|
+
.${id}-col-a, .${id}-col-b, .${id}-col-c, .${id}-col-d {
|
|
349
|
+
width: 100%;
|
|
350
|
+
}
|
|
351
|
+
`,
|
|
352
|
+
);
|
|
353
|
+
else
|
|
354
|
+
htmls(
|
|
355
|
+
`.style-${id}-col`,
|
|
356
|
+
css`
|
|
357
|
+
.${id}-col-a {
|
|
358
|
+
width: 30%;
|
|
359
|
+
}
|
|
360
|
+
.${id}-col-b {
|
|
361
|
+
width: 30%;
|
|
362
|
+
}
|
|
363
|
+
.${id}-col-c {
|
|
364
|
+
width: 30%;
|
|
365
|
+
}
|
|
366
|
+
.${id}-col-d {
|
|
367
|
+
width: 10%;
|
|
368
|
+
}
|
|
369
|
+
`,
|
|
370
|
+
);
|
|
371
|
+
break;
|
|
372
|
+
|
|
343
373
|
default:
|
|
344
374
|
if (s(`.${containerSelector}`).offsetWidth < 900)
|
|
345
375
|
htmls(
|
|
@@ -232,6 +232,9 @@ const CssCommonCore = async () => {
|
|
|
232
232
|
width: 40px;
|
|
233
233
|
text-align: center;
|
|
234
234
|
}
|
|
235
|
+
.input-container {
|
|
236
|
+
width: 275px;
|
|
237
|
+
}
|
|
235
238
|
</style>
|
|
236
239
|
${boxShadow({ selector: '.account-profile-image' })}
|
|
237
240
|
<div class="ag-grid-style"></div>`;
|
|
@@ -404,9 +407,7 @@ const CssCoreDark = {
|
|
|
404
407
|
color: #fff;
|
|
405
408
|
background: #313131;
|
|
406
409
|
}
|
|
407
|
-
|
|
408
|
-
width: 256px;
|
|
409
|
-
}
|
|
410
|
+
|
|
410
411
|
.btn-eye-password {
|
|
411
412
|
text-align: center;
|
|
412
413
|
background: #1a1a1a;
|
|
@@ -480,7 +481,7 @@ const CssCoreDark = {
|
|
|
480
481
|
cursor: pointer;
|
|
481
482
|
}
|
|
482
483
|
.btn-custom {
|
|
483
|
-
width:
|
|
484
|
+
width: 278px;
|
|
484
485
|
font-size: 20px;
|
|
485
486
|
padding: 10px;
|
|
486
487
|
min-height: 45px;
|
|
@@ -491,7 +492,7 @@ const CssCoreDark = {
|
|
|
491
492
|
}
|
|
492
493
|
.toggle-form-container,
|
|
493
494
|
.dropdown-option {
|
|
494
|
-
width:
|
|
495
|
+
width: 255px;
|
|
495
496
|
font-size: 20px;
|
|
496
497
|
padding: 10px;
|
|
497
498
|
}
|
|
@@ -503,7 +504,7 @@ const CssCoreDark = {
|
|
|
503
504
|
background: #232323;
|
|
504
505
|
}
|
|
505
506
|
.form-button {
|
|
506
|
-
width:
|
|
507
|
+
width: 278px;
|
|
507
508
|
font-size: 20px;
|
|
508
509
|
padding: 10px;
|
|
509
510
|
text-align: center;
|
|
@@ -599,10 +600,14 @@ const CssCoreLight = {
|
|
|
599
600
|
}
|
|
600
601
|
|
|
601
602
|
.box-shadow {
|
|
602
|
-
box-shadow:
|
|
603
|
+
box-shadow:
|
|
604
|
+
0 4px 8px 0 rgba(0, 0, 0, 0.2),
|
|
605
|
+
0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
603
606
|
}
|
|
604
607
|
.box-shadow:hover {
|
|
605
|
-
box-shadow:
|
|
608
|
+
box-shadow:
|
|
609
|
+
0 8px 16px 0 rgba(0, 0, 0, 0.2),
|
|
610
|
+
0 10px 30px 0 rgba(0, 0, 0, 0.3);
|
|
606
611
|
}
|
|
607
612
|
.box-content-border {
|
|
608
613
|
border: 2px solid #bbb;
|
|
@@ -715,7 +720,6 @@ const CssCoreLight = {
|
|
|
715
720
|
border-radius: 5px;
|
|
716
721
|
border: 2px solid #bbb;
|
|
717
722
|
transition: 0.3s;
|
|
718
|
-
width: 256px;
|
|
719
723
|
}
|
|
720
724
|
.input-container:hover {
|
|
721
725
|
color: #1a1a1a;
|
|
@@ -793,7 +797,7 @@ const CssCoreLight = {
|
|
|
793
797
|
cursor: pointer;
|
|
794
798
|
}
|
|
795
799
|
.btn-custom {
|
|
796
|
-
width:
|
|
800
|
+
width: 278px;
|
|
797
801
|
font-size: 20px;
|
|
798
802
|
padding: 10px;
|
|
799
803
|
min-height: 45px;
|
|
@@ -805,7 +809,7 @@ const CssCoreLight = {
|
|
|
805
809
|
}
|
|
806
810
|
.toggle-form-container,
|
|
807
811
|
.dropdown-option {
|
|
808
|
-
width:
|
|
812
|
+
width: 255px;
|
|
809
813
|
font-size: 20px;
|
|
810
814
|
padding: 10px;
|
|
811
815
|
}
|
|
@@ -817,7 +821,7 @@ const CssCoreLight = {
|
|
|
817
821
|
background: #e4e4e4;
|
|
818
822
|
}
|
|
819
823
|
.form-button {
|
|
820
|
-
width:
|
|
824
|
+
width: 278px;
|
|
821
825
|
font-size: 20px;
|
|
822
826
|
padding: 10px;
|
|
823
827
|
text-align: center;
|