@design.estate/dees-catalog 3.52.1 → 3.52.2
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/dist_bundle/bundle.js +89 -10
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-chart/dees-chart-log/dees-chart-log.js +5 -2
- package/dist_ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.demo.js +43 -1
- package/dist_ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.js +45 -8
- package/dist_watch/bundle.js +87 -8
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-chart/dees-chart-log/dees-chart-log.ts +4 -1
- package/ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.demo.ts +42 -0
- package/ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.ts +44 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@design.estate/dees-catalog",
|
|
3
|
-
"version": "3.52.
|
|
3
|
+
"version": "3.52.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
|
|
6
6
|
"main": "dist_ts_web/index.js",
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-catalog',
|
|
6
|
-
version: '3.52.
|
|
6
|
+
version: '3.52.2',
|
|
7
7
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
|
8
8
|
}
|
|
@@ -458,6 +458,9 @@ export class DeesChartLog extends DeesElement {
|
|
|
458
458
|
|
|
459
459
|
public updated(changedProperties: Map<string, any>) {
|
|
460
460
|
super.updated(changedProperties);
|
|
461
|
+
if (changedProperties.has('goBright') && this.terminal) {
|
|
462
|
+
this.terminal.options.theme = this.getTerminalTheme();
|
|
463
|
+
}
|
|
461
464
|
if (changedProperties.has('logEntries') && this.terminalReady && this.logEntries.length > 0) {
|
|
462
465
|
const oldEntries: ILogEntry[] = changedProperties.get('logEntries') || [];
|
|
463
466
|
const newEntries = this.logEntries;
|
|
@@ -504,7 +507,7 @@ export class DeesChartLog extends DeesElement {
|
|
|
504
507
|
}
|
|
505
508
|
|
|
506
509
|
private getTerminalTheme() {
|
|
507
|
-
const isDark = this.
|
|
510
|
+
const isDark = !this.goBright;
|
|
508
511
|
return isDark
|
|
509
512
|
? {
|
|
510
513
|
background: '#0a0a0a',
|
|
@@ -110,6 +110,48 @@ class DemoViewDashboard extends DeesElement {
|
|
|
110
110
|
console.log('Tile action:', e.detail);
|
|
111
111
|
}}
|
|
112
112
|
></dees-statsgrid>
|
|
113
|
+
|
|
114
|
+
<h2 style="margin-top: 40px;">Recent Activity</h2>
|
|
115
|
+
<p>Below is a log of recent system events and user activity to demonstrate scrollable content.</p>
|
|
116
|
+
|
|
117
|
+
${[
|
|
118
|
+
{ time: '2 min ago', event: 'User john@example.com logged in from 192.168.1.42', type: 'info' },
|
|
119
|
+
{ time: '5 min ago', event: 'Deployment v3.52.1 completed successfully on production', type: 'success' },
|
|
120
|
+
{ time: '12 min ago', event: 'Database backup finished — 2.4 GB compressed', type: 'info' },
|
|
121
|
+
{ time: '18 min ago', event: 'SSL certificate renewed for api.example.com (expires 2027-04-03)', type: 'success' },
|
|
122
|
+
{ time: '25 min ago', event: 'Memory usage spike on worker-03 (92%) — auto-scaled to 4 instances', type: 'warning' },
|
|
123
|
+
{ time: '31 min ago', event: 'New user registration: sarah@company.io', type: 'info' },
|
|
124
|
+
{ time: '45 min ago', event: 'Scheduled job "cleanup-temp-files" completed — removed 1,247 files', type: 'info' },
|
|
125
|
+
{ time: '1 hour ago', event: 'API rate limit reached for client app-mobile-ios (429 responses)', type: 'warning' },
|
|
126
|
+
{ time: '1.5 hours ago', event: 'CDN cache purged for /assets/* — 340 objects invalidated', type: 'info' },
|
|
127
|
+
{ time: '2 hours ago', event: 'Failed login attempt for admin@example.com from 203.0.113.50 (blocked)', type: 'error' },
|
|
128
|
+
{ time: '2.5 hours ago', event: 'Webhook delivery to https://hooks.slack.com succeeded (200 OK)', type: 'info' },
|
|
129
|
+
{ time: '3 hours ago', event: 'Cron job "generate-reports" started — processing Q1 2026 data', type: 'info' },
|
|
130
|
+
{ time: '3.5 hours ago', event: 'Load balancer health check: all 8 nodes healthy', type: 'success' },
|
|
131
|
+
{ time: '4 hours ago', event: 'DNS propagation complete for new subdomain staging.example.com', type: 'success' },
|
|
132
|
+
].map(item => html`
|
|
133
|
+
<div style="
|
|
134
|
+
display: flex;
|
|
135
|
+
align-items: baseline;
|
|
136
|
+
gap: 12px;
|
|
137
|
+
padding: 10px 0;
|
|
138
|
+
border-bottom: 1px solid ${cssManager.bdTheme('hsl(0 0% 90%)', 'hsl(0 0% 12%)')};
|
|
139
|
+
font-size: 13px;
|
|
140
|
+
">
|
|
141
|
+
<span style="
|
|
142
|
+
flex-shrink: 0;
|
|
143
|
+
width: 100px;
|
|
144
|
+
font-size: 11px;
|
|
145
|
+
color: ${cssManager.bdTheme('hsl(0 0% 55%)', 'hsl(0 0% 45%)')};
|
|
146
|
+
">${item.time}</span>
|
|
147
|
+
<span style="
|
|
148
|
+
color: ${item.type === 'error' ? cssManager.bdTheme('hsl(0 72% 50%)', 'hsl(0 72% 65%)') :
|
|
149
|
+
item.type === 'warning' ? cssManager.bdTheme('hsl(25 95% 50%)', 'hsl(25 95% 63%)') :
|
|
150
|
+
item.type === 'success' ? cssManager.bdTheme('hsl(142 70% 40%)', 'hsl(142 70% 55%)') :
|
|
151
|
+
cssManager.bdTheme('hsl(0 0% 30%)', 'hsl(0 0% 75%)')};
|
|
152
|
+
">${item.event}</span>
|
|
153
|
+
</div>
|
|
154
|
+
`)}
|
|
113
155
|
`;
|
|
114
156
|
}
|
|
115
157
|
}
|
|
@@ -299,15 +299,51 @@ export class DeesSimpleAppDash extends DeesElement {
|
|
|
299
299
|
overscroll-behavior: contain;
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
+
.appcontent::before {
|
|
303
|
+
content: '';
|
|
304
|
+
position: sticky;
|
|
305
|
+
top: 0;
|
|
306
|
+
left: 0;
|
|
307
|
+
right: 0;
|
|
308
|
+
display: block;
|
|
309
|
+
height: 8px;
|
|
310
|
+
margin-bottom: -8px;
|
|
311
|
+
z-index: 10;
|
|
312
|
+
pointer-events: none;
|
|
313
|
+
background: linear-gradient(
|
|
314
|
+
to bottom,
|
|
315
|
+
${cssManager.bdTheme('hsl(0 0% 0% / 0.08)', 'hsl(0 0% 0% / 0.4)')},
|
|
316
|
+
${cssManager.bdTheme('hsl(0 0% 0% / 0.03)', 'hsl(0 0% 0% / 0.12)')},
|
|
317
|
+
transparent
|
|
318
|
+
);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.controlbar::before {
|
|
322
|
+
content: '';
|
|
323
|
+
position: absolute;
|
|
324
|
+
top: -8px;
|
|
325
|
+
left: 240px;
|
|
326
|
+
right: 0;
|
|
327
|
+
height: 8px;
|
|
328
|
+
pointer-events: none;
|
|
329
|
+
background: linear-gradient(
|
|
330
|
+
to top,
|
|
331
|
+
${cssManager.bdTheme('hsl(0 0% 0% / 0.08)', 'hsl(0 0% 0% / 0.4)')},
|
|
332
|
+
${cssManager.bdTheme('hsl(0 0% 0% / 0.03)', 'hsl(0 0% 0% / 0.12)')},
|
|
333
|
+
transparent
|
|
334
|
+
);
|
|
335
|
+
}
|
|
336
|
+
|
|
302
337
|
.controlbar {
|
|
303
|
-
color:
|
|
338
|
+
color: ${cssManager.bdTheme('hsl(0 0% 45%)', 'hsl(0 0% 55%)')};
|
|
304
339
|
position: absolute;
|
|
305
340
|
bottom: 0px;
|
|
306
341
|
left: 0px;
|
|
307
342
|
width: 100%;
|
|
308
343
|
height: 24px;
|
|
309
|
-
background: ${cssManager.bdTheme('hsl(
|
|
310
|
-
|
|
344
|
+
background: ${cssManager.bdTheme('hsl(0 0% 100%)', 'hsl(0 0% 3.9%)')};
|
|
345
|
+
border-top: 1px solid ${cssManager.bdTheme('hsl(0 0% 89.8%)', 'hsl(0 0% 14.9%)')};
|
|
346
|
+
z-index: 11;
|
|
311
347
|
display: flex;
|
|
312
348
|
justify-content: flex-end;
|
|
313
349
|
align-items: center;
|
|
@@ -325,9 +361,10 @@ export class DeesSimpleAppDash extends DeesElement {
|
|
|
325
361
|
height: 100%;
|
|
326
362
|
white-space: nowrap;
|
|
327
363
|
cursor: default;
|
|
328
|
-
color: hsl(0 0%
|
|
364
|
+
color: ${cssManager.bdTheme('hsl(0 0% 55%)', 'hsl(0 0% 50%)')};
|
|
329
365
|
transition: all 0.15s ease;
|
|
330
|
-
border-left: 1px solid hsl(0 0%
|
|
366
|
+
border-left: 1px solid ${cssManager.bdTheme('hsl(0 0% 89.8%)', 'hsl(0 0% 14.9%)')};
|
|
367
|
+
|
|
331
368
|
}
|
|
332
369
|
|
|
333
370
|
.control:first-child {
|
|
@@ -335,8 +372,8 @@ export class DeesSimpleAppDash extends DeesElement {
|
|
|
335
372
|
}
|
|
336
373
|
|
|
337
374
|
.control:hover {
|
|
338
|
-
background: hsl(0 0% 100% / 0.06);
|
|
339
|
-
color: hsl(0 0%
|
|
375
|
+
background: ${cssManager.bdTheme('hsl(0 0% 0% / 0.04)', 'hsl(0 0% 100% / 0.06)')};
|
|
376
|
+
color: ${cssManager.bdTheme('hsl(0 0% 20%)', 'hsl(0 0% 90%)')};
|
|
340
377
|
}
|
|
341
378
|
|
|
342
379
|
.control dees-icon {
|