@serve.zone/dcrouter 11.2.54 → 11.2.56

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.
@@ -33966,68 +33966,6 @@ html\`&lt;dees-button&gt;Click me&lt;/dees-button&gt;\`</code></pre>
33966
33966
  color: ${c.bdTheme("#18181b","#fafafa")};
33967
33967
  }
33968
33968
 
33969
- .logs-header {
33970
- display: flex;
33971
- justify-content: space-between;
33972
- align-items: center;
33973
- }
33974
-
33975
- .logs-actions {
33976
- display: flex;
33977
- gap: 8px;
33978
- align-items: center;
33979
- }
33980
-
33981
- .stream-button {
33982
- display: inline-flex;
33983
- align-items: center;
33984
- gap: 6px;
33985
- padding: 6px 12px;
33986
- background: ${c.bdTheme("#2563eb","#3b82f6")};
33987
- border: none;
33988
- border-radius: 4px;
33989
- font-size: 13px;
33990
- font-weight: 500;
33991
- color: white;
33992
- cursor: pointer;
33993
- }
33994
-
33995
- .stream-button.streaming {
33996
- background: ${c.bdTheme("#dc2626","#ef4444")};
33997
- }
33998
-
33999
- .clear-button {
34000
- padding: 6px 12px;
34001
- background: transparent;
34002
- border: 1px solid ${c.bdTheme("#e4e4e7","#27272a")};
34003
- border-radius: 4px;
34004
- font-size: 13px;
34005
- color: ${c.bdTheme("#71717a","#a1a1aa")};
34006
- cursor: pointer;
34007
- }
34008
-
34009
- .logs-container {
34010
- padding: 16px;
34011
- font-family: monospace;
34012
- font-size: 12px;
34013
- max-height: 300px;
34014
- overflow-y: auto;
34015
- background: ${c.bdTheme("#fafafa","#0a0a0a")};
34016
- }
34017
-
34018
- .log-entry {
34019
- padding: 2px 0;
34020
- color: ${c.bdTheme("#71717a","#a1a1aa")};
34021
- white-space: pre-wrap;
34022
- word-break: break-all;
34023
- }
34024
-
34025
- .empty-logs {
34026
- padding: 24px;
34027
- text-align: center;
34028
- color: ${c.bdTheme("#71717a","#a1a1aa")};
34029
- }
34030
-
34031
33969
  .tag-badge {
34032
33970
  display: inline-flex;
34033
33971
  padding: 2px 8px;
@@ -34174,32 +34112,13 @@ html\`&lt;dees-button&gt;Click me&lt;/dees-button&gt;\`</code></pre>
34174
34112
  </div>
34175
34113
  </div>
34176
34114
 
34177
- <div class="card">
34178
- <div class="card-header">
34179
- <div class="logs-header" style="width: 100%;">
34180
- <div>
34181
- <div class="card-title">Logs</div>
34182
- <div class="card-subtitle">Container logs</div>
34183
- </div>
34184
- <div class="logs-actions">
34185
- <button class="stream-button ${this.streaming?"streaming":""}" @click=${()=>this.toggleStreaming()}>
34186
- <svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor">
34187
- ${this.streaming?y`<rect x="6" y="6" width="12" height="12" rx="1"/>`:y`<polygon points="5,3 19,12 5,21"/>`}
34188
- </svg>
34189
- ${this.streaming?"Stop":"Stream"}
34190
- </button>
34191
- <button class="clear-button" @click=${()=>this.handleClearLogs()}>Clear logs</button>
34192
- </div>
34193
- </div>
34194
- </div>
34195
- <div class="logs-container">
34196
- ${this.logs.length>0?this.logs.map(_=>y`
34197
- <div class="log-entry">${_.timestamp} ${_.message}</div>
34198
- `):y`
34199
- <div class="empty-logs">Click "Stream" to start live log streaming</div>
34200
- `}
34201
- </div>
34202
- </div>
34115
+ <dees-chart-log
34116
+ .label=${"Service Logs"}
34117
+ .logEntries=${this.logs.map(_=>({timestamp:_.timestamp?.includes?.("T")?_.timestamp:new Date(_.timestamp||Date.now()).toISOString(),level:_.level||"info",message:_.message}))}
34118
+ .autoScroll=${!0}
34119
+ .maxEntries=${2e3}
34120
+ .showMetrics=${!0}
34121
+ ></dees-chart-log>
34203
34122
  </div>
34204
34123
 
34205
34124
  <div class="sidebar">
@@ -42808,4 +42727,4 @@ ibantools/jsnext/ibantools.js:
42808
42727
  * @preferred
42809
42728
  *)
42810
42729
  */
42811
- //# sourceMappingURL=bundle-1773774894675.js.map
42730
+ //# sourceMappingURL=bundle-1773792867655.js.map
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '11.2.54',
6
+ version: '11.2.56',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxzQkFBc0I7SUFDNUIsT0FBTyxFQUFFLFNBQVM7SUFDbEIsV0FBVyxFQUFFLDBFQUEwRTtDQUN4RixDQUFBIn0=
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '11.2.54',
6
+ version: '11.2.56',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUsc0JBQXNCO0lBQzVCLE9BQU8sRUFBRSxTQUFTO0lBQ2xCLFdBQVcsRUFBRSwwRUFBMEU7Q0FDeEYsQ0FBQSJ9
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@serve.zone/dcrouter",
3
3
  "private": false,
4
- "version": "11.2.54",
4
+ "version": "11.2.56",
5
5
  "description": "A multifaceted routing service handling mail and SMS delivery functions.",
6
6
  "type": "module",
7
7
  "exports": {
@@ -57,9 +57,9 @@
57
57
  "@push.rocks/smartrx": "^3.0.10",
58
58
  "@push.rocks/smartstate": "^2.2.0",
59
59
  "@push.rocks/smartunique": "^3.0.9",
60
- "@serve.zone/catalog": "^2.6.2",
60
+ "@serve.zone/catalog": "^2.7.0",
61
61
  "@serve.zone/interfaces": "^5.3.0",
62
- "@serve.zone/remoteingress": "^4.8.16",
62
+ "@serve.zone/remoteingress": "^4.9.0",
63
63
  "@tsclass/tsclass": "^9.4.0",
64
64
  "lru-cache": "^11.2.7",
65
65
  "uuid": "^13.0.0"
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '11.2.54',
6
+ version: '11.2.56',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/dcrouter',
6
- version: '11.2.54',
6
+ version: '11.2.56',
7
7
  description: 'A multifaceted routing service handling mail and SMS delivery functions.'
8
8
  }