@underpostnet/underpost 2.97.0 → 2.97.5
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/baremetal/commission-workflows.json +33 -3
- package/bin/deploy.js +1 -1
- package/cli.md +7 -2
- package/conf.js +3 -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/packer/scripts/fuse-tar-root +3 -3
- package/scripts/disk-clean.sh +23 -23
- package/scripts/gpu-diag.sh +2 -2
- package/scripts/ip-info.sh +11 -11
- package/scripts/maas-upload-boot-resource.sh +1 -1
- package/scripts/nvim.sh +1 -1
- package/scripts/packer-setup.sh +13 -13
- package/scripts/rocky-setup.sh +2 -2
- package/scripts/rpmfusion-ffmpeg-setup.sh +4 -4
- package/scripts/ssl.sh +7 -7
- 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 +30 -1
- package/src/api/document/document.router.js +6 -0
- package/src/api/document/document.service.js +423 -51
- 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/baremetal.js +689 -329
- package/src/cli/cluster.js +50 -52
- package/src/cli/db.js +424 -166
- package/src/cli/deploy.js +1 -1
- package/src/cli/index.js +12 -1
- package/src/cli/lxd.js +3 -3
- package/src/cli/repository.js +1 -1
- package/src/cli/run.js +2 -1
- 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 +9 -3
- package/src/client/components/core/Chat.js +2 -2
- package/src/client/components/core/Content.js +159 -78
- package/src/client/components/core/Css.js +16 -2
- package/src/client/components/core/CssCore.js +16 -12
- package/src/client/components/core/FileExplorer.js +115 -8
- package/src/client/components/core/Input.js +204 -11
- package/src/client/components/core/LogIn.js +42 -20
- package/src/client/components/core/Modal.js +257 -177
- package/src/client/components/core/Panel.js +324 -27
- package/src/client/components/core/PanelForm.js +280 -73
- package/src/client/components/core/PublicProfile.js +888 -0
- package/src/client/components/core/Router.js +117 -15
- package/src/client/components/core/SearchBox.js +1117 -0
- 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 +98 -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 +451 -64
- package/src/client/services/default/default.service.js +13 -6
- package/src/client/services/document/document.service.js +23 -0
- package/src/client/services/file/file.service.js +43 -16
- package/src/client/services/user/user.service.js +13 -9
- 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/dns.js +4 -4
- package/src/server/object-layer.js +0 -3
- package/src/ws/IoInterface.js +2 -2
|
@@ -34,6 +34,7 @@ const AgGrid = {
|
|
|
34
34
|
return params.data && params.data._new;
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
|
+
onGridReady: options?.onGridReady,
|
|
37
38
|
// Cell rendering events
|
|
38
39
|
onFirstDataRendered: options?.onFirstDataRendered,
|
|
39
40
|
onViewportChanged: options?.onViewportChanged,
|
|
@@ -46,6 +47,8 @@ const AgGrid = {
|
|
|
46
47
|
onCellMouseOver: options?.onCellMouseOver,
|
|
47
48
|
onCellMouseOut: options?.onCellMouseOut,
|
|
48
49
|
onCellValueChanged: options?.onCellValueChanged,
|
|
50
|
+
onFilterChanged: options?.onFilterChanged,
|
|
51
|
+
onSortChanged: options?.onSortChanged,
|
|
49
52
|
// set background colour on every row, this is probably bad, should be using CSS classes
|
|
50
53
|
// rowStyle: { background: 'black' },
|
|
51
54
|
|
|
@@ -24,21 +24,21 @@ class Auth {
|
|
|
24
24
|
/**
|
|
25
25
|
* The current user access token (JWT).
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @
|
|
27
|
+
* @method
|
|
28
28
|
*/
|
|
29
29
|
#token = '';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* The token for anonymous guest sessions.
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @
|
|
34
|
+
* @method
|
|
35
35
|
*/
|
|
36
36
|
#guestToken = '';
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Timeout ID for the token refresh schedule.
|
|
40
40
|
* @type {number | undefined}
|
|
41
|
-
* @
|
|
41
|
+
* @method
|
|
42
42
|
*/
|
|
43
43
|
#refreshTimeout;
|
|
44
44
|
|
|
@@ -204,6 +204,8 @@ class Auth {
|
|
|
204
204
|
// A valid user token was found/refreshed
|
|
205
205
|
this.setToken(data.token);
|
|
206
206
|
localStorage.setItem('jwt', data.token);
|
|
207
|
+
// Clear cached profile image to ensure fresh load for new user
|
|
208
|
+
LogIn.Scope.user.main.model.user = {};
|
|
207
209
|
this.renderSessionUI();
|
|
208
210
|
await LogIn.Trigger({ user: data.user });
|
|
209
211
|
await Account.updateForm(data.user);
|
|
@@ -235,6 +237,8 @@ class Auth {
|
|
|
235
237
|
// Guest token is valid and refreshed
|
|
236
238
|
this.setGuestToken(data.token);
|
|
237
239
|
localStorage.setItem('jwt.g', data.token);
|
|
240
|
+
// Clear cached profile image for fresh guest session
|
|
241
|
+
LogIn.Scope.user.main.model.user = {};
|
|
238
242
|
await LogIn.Trigger(data);
|
|
239
243
|
await Account.updateForm(data.user);
|
|
240
244
|
return data;
|
|
@@ -310,6 +314,7 @@ class Auth {
|
|
|
310
314
|
s(`.main-btn-sign-up`).style.display = 'none';
|
|
311
315
|
s(`.main-btn-log-out`).style.display = null;
|
|
312
316
|
s(`.main-btn-account`).style.display = null;
|
|
317
|
+
if (s(`.main-btn-public-profile`)) s(`.main-btn-public-profile`).style.display = null;
|
|
313
318
|
setTimeout(() => {
|
|
314
319
|
// Close any open login/signup modals
|
|
315
320
|
if (s(`.modal-log-in`)) s(`.btn-close-modal-log-in`).click();
|
|
@@ -328,6 +333,7 @@ class Auth {
|
|
|
328
333
|
s(`.main-btn-sign-up`).style.display = null;
|
|
329
334
|
s(`.main-btn-log-out`).style.display = 'none';
|
|
330
335
|
s(`.main-btn-account`).style.display = 'none';
|
|
336
|
+
if (s(`.main-btn-public-profile`)) s(`.main-btn-public-profile`).style.display = 'none';
|
|
331
337
|
setTimeout(() => {
|
|
332
338
|
// Close any open logout/account modals
|
|
333
339
|
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';
|
|
@@ -39,20 +39,32 @@ const Content = {
|
|
|
39
39
|
}
|
|
40
40
|
documentObj = data[0];
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
|
|
43
|
+
// Get file metadata (does not include buffer data)
|
|
44
|
+
if (documentObj.fileId && documentObj.fileId._id) {
|
|
43
45
|
const { data, status, message } = await FileService.get({ id: documentObj.fileId._id });
|
|
44
46
|
if (status !== 'success' || !data || !data[0]) {
|
|
45
|
-
logger.
|
|
46
|
-
//
|
|
47
|
+
logger.warn('File metadata not found:', message);
|
|
48
|
+
// Continue without file - not fatal
|
|
49
|
+
} else {
|
|
50
|
+
file = data[0];
|
|
47
51
|
}
|
|
48
|
-
file = data[0];
|
|
49
52
|
}
|
|
50
|
-
|
|
51
|
-
|
|
53
|
+
|
|
54
|
+
// Get markdown file metadata (optional)
|
|
55
|
+
if (documentObj.mdFileId && documentObj.mdFileId._id) {
|
|
56
|
+
const { data, status, message } = await FileService.get({ id: documentObj.mdFileId._id });
|
|
52
57
|
if (status !== 'success' || !data || !data[0]) {
|
|
53
|
-
logger.
|
|
54
|
-
|
|
55
|
-
} else
|
|
58
|
+
logger.warn('Markdown file metadata not found:', message);
|
|
59
|
+
// Continue without markdown - try to render file instead
|
|
60
|
+
} else {
|
|
61
|
+
md = data[0];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Check if we have at least one file to render
|
|
66
|
+
if (!md && !file) {
|
|
67
|
+
throw new Error(`no-preview-available`);
|
|
56
68
|
}
|
|
57
69
|
|
|
58
70
|
htmls(
|
|
@@ -63,6 +75,8 @@ const Content = {
|
|
|
63
75
|
})} `,
|
|
64
76
|
);
|
|
65
77
|
htmls(`.content-render-${idModal}`, ``);
|
|
78
|
+
|
|
79
|
+
// Pass file IDs to RenderFile - it will fetch blobs as needed
|
|
66
80
|
if (md) await this.RenderFile({ idModal, file: md, id: md._id });
|
|
67
81
|
if (file) await this.RenderFile({ idModal, file, id: file._id });
|
|
68
82
|
Modal.Data[idModal].onObserverListener[`main-content-observer`]();
|
|
@@ -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
|
|
|
@@ -865,10 +865,17 @@ const subThemeManager = {
|
|
|
865
865
|
return html`<style>
|
|
866
866
|
button:hover,
|
|
867
867
|
.a-btn:hover,
|
|
868
|
-
.main-btn-menu-active
|
|
868
|
+
.main-btn-menu-active,
|
|
869
|
+
.top-bar-search-box-container:hover {
|
|
869
870
|
color: ${this.lightColor};
|
|
870
871
|
background-color: ${lightenHex(this.lightColor, 0.8)};
|
|
871
872
|
}
|
|
873
|
+
.top-bar-search-box-container i {
|
|
874
|
+
color: #000;
|
|
875
|
+
}
|
|
876
|
+
.top-bar-search-box-container:hover i {
|
|
877
|
+
color: ${this.lightColor};
|
|
878
|
+
}
|
|
872
879
|
.main-sub-btn-active {
|
|
873
880
|
color: ${this.lightColor};
|
|
874
881
|
background-color: rgba(0, 0, 0, 0.3);
|
|
@@ -887,10 +894,17 @@ const subThemeManager = {
|
|
|
887
894
|
return html`<style>
|
|
888
895
|
button:hover,
|
|
889
896
|
.a-btn:hover,
|
|
890
|
-
.main-btn-menu-active
|
|
897
|
+
.main-btn-menu-active,
|
|
898
|
+
.top-bar-search-box-container:hover {
|
|
891
899
|
color: ${lightenHex(this.darkColor, 0.8)};
|
|
892
900
|
background-color: ${darkenHex(this.darkColor, 0.75)};
|
|
893
901
|
}
|
|
902
|
+
.top-bar-search-box-container i {
|
|
903
|
+
color: #fff;
|
|
904
|
+
}
|
|
905
|
+
.top-bar-search-box-container:hover i {
|
|
906
|
+
color: ${lightenHex(this.darkColor, 0.8)};
|
|
907
|
+
}
|
|
894
908
|
.main-sub-btn-active {
|
|
895
909
|
color: ${lightenHex(this.darkColor, 0.8)};
|
|
896
910
|
background-color: rgba(255, 255, 255, 0.3);
|
|
@@ -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;
|