@serve.zone/catalog 2.12.2 → 2.12.3
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 +76 -56
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/sz-route-card.js +76 -56
- package/dist_watch/bundle.js +75 -55
- 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/sz-route-card.ts +77 -57
package/dist_watch/bundle.js
CHANGED
|
@@ -148822,7 +148822,11 @@ var _SzRouteCard = class _SzRouteCard extends (_a30 = DeesElement, _route_dec =
|
|
|
148822
148822
|
}
|
|
148823
148823
|
render() {
|
|
148824
148824
|
if (!this.route) {
|
|
148825
|
-
return b2
|
|
148825
|
+
return b2`
|
|
148826
|
+
<dees-tile>
|
|
148827
|
+
<div class="card-body"><div class="no-route">No route data</div></div>
|
|
148828
|
+
</dees-tile>
|
|
148829
|
+
`;
|
|
148826
148830
|
}
|
|
148827
148831
|
const r11 = this.route;
|
|
148828
148832
|
const isEnabled = r11.enabled !== false;
|
|
@@ -148830,9 +148834,9 @@ var _SzRouteCard = class _SzRouteCard extends (_a30 = DeesElement, _route_dec =
|
|
|
148830
148834
|
const action = r11.action;
|
|
148831
148835
|
const security = r11.security;
|
|
148832
148836
|
return b2`
|
|
148833
|
-
<
|
|
148837
|
+
<dees-tile>
|
|
148834
148838
|
<!-- Header -->
|
|
148835
|
-
<div class="header">
|
|
148839
|
+
<div slot="header" class="header">
|
|
148836
148840
|
<div class="header-left">
|
|
148837
148841
|
<span class="status-dot ${isEnabled ? "enabled" : "disabled"}"></span>
|
|
148838
148842
|
<span class="route-name">${r11.name || r11.id || "Unnamed Route"}</span>
|
|
@@ -148843,14 +148847,15 @@ var _SzRouteCard = class _SzRouteCard extends (_a30 = DeesElement, _route_dec =
|
|
|
148843
148847
|
</div>
|
|
148844
148848
|
</div>
|
|
148845
148849
|
|
|
148846
|
-
|
|
148850
|
+
<div class="card-body">
|
|
148851
|
+
${r11.description ? b2`<div class="description">${r11.description}</div>` : ""}
|
|
148847
148852
|
|
|
148848
|
-
|
|
148849
|
-
|
|
148850
|
-
|
|
148851
|
-
|
|
148853
|
+
<div class="meta-row">
|
|
148854
|
+
${r11.tags && r11.tags.length > 0 ? b2`<div class="tags">${r11.tags.map((t9) => b2`<span class="tag">${t9}</span>`)}</div>` : b2`<div></div>`}
|
|
148855
|
+
${r11.priority != null ? b2`<span class="priority">Priority: ${r11.priority}</span>` : ""}
|
|
148856
|
+
</div>
|
|
148852
148857
|
|
|
148853
|
-
|
|
148858
|
+
<!-- Match Section -->
|
|
148854
148859
|
<div class="section match">
|
|
148855
148860
|
<div class="section-label">Match</div>
|
|
148856
148861
|
<div class="field-row">
|
|
@@ -148970,19 +148975,20 @@ var _SzRouteCard = class _SzRouteCard extends (_a30 = DeesElement, _route_dec =
|
|
|
148970
148975
|
</div>
|
|
148971
148976
|
` : ""}
|
|
148972
148977
|
|
|
148973
|
-
|
|
148974
|
-
|
|
148978
|
+
<!-- VPN Section -->
|
|
148979
|
+
${this.renderVpn()}
|
|
148975
148980
|
|
|
148976
|
-
|
|
148977
|
-
|
|
148981
|
+
<!-- Linked References Section -->
|
|
148982
|
+
${this.renderLinked()}
|
|
148978
148983
|
|
|
148979
|
-
|
|
148980
|
-
|
|
148984
|
+
<!-- Feature Icons Row -->
|
|
148985
|
+
${this.renderFeatures()}
|
|
148986
|
+
</div>
|
|
148981
148987
|
|
|
148982
148988
|
<!-- Action Buttons -->
|
|
148983
148989
|
${this.showActions ? b2`
|
|
148984
|
-
<div class="card-
|
|
148985
|
-
<button class="
|
|
148990
|
+
<div slot="footer" class="card-footer">
|
|
148991
|
+
<button class="tile-button edit" @click=${(e11) => {
|
|
148986
148992
|
e11.stopPropagation();
|
|
148987
148993
|
this.dispatchEvent(new CustomEvent("route-edit", {
|
|
148988
148994
|
detail: this.route,
|
|
@@ -148990,7 +148996,7 @@ var _SzRouteCard = class _SzRouteCard extends (_a30 = DeesElement, _route_dec =
|
|
|
148990
148996
|
composed: true
|
|
148991
148997
|
}));
|
|
148992
148998
|
}}>Edit</button>
|
|
148993
|
-
<button class="
|
|
148999
|
+
<button class="tile-button delete" @click=${(e11) => {
|
|
148994
149000
|
e11.stopPropagation();
|
|
148995
149001
|
this.dispatchEvent(new CustomEvent("route-delete", {
|
|
148996
149002
|
detail: this.route,
|
|
@@ -149000,7 +149006,7 @@ var _SzRouteCard = class _SzRouteCard extends (_a30 = DeesElement, _route_dec =
|
|
|
149000
149006
|
}}>Delete</button>
|
|
149001
149007
|
</div>
|
|
149002
149008
|
` : ""}
|
|
149003
|
-
</
|
|
149009
|
+
</dees-tile>
|
|
149004
149010
|
`;
|
|
149005
149011
|
}
|
|
149006
149012
|
renderDomains(domains) {
|
|
@@ -149135,26 +149141,25 @@ __publicField(_SzRouteCard, "styles", [
|
|
|
149135
149141
|
display: block;
|
|
149136
149142
|
}
|
|
149137
149143
|
|
|
149138
|
-
|
|
149139
|
-
background: ${cssManager.bdTheme("#ffffff", "#09090b")};
|
|
149140
|
-
border: 1px solid ${cssManager.bdTheme("#e4e4e7", "#27272a")};
|
|
149141
|
-
border-radius: 8px;
|
|
149142
|
-
padding: 20px;
|
|
149144
|
+
dees-tile::part(outer) {
|
|
149143
149145
|
transition: border-color 200ms ease, box-shadow 200ms ease;
|
|
149144
149146
|
}
|
|
149145
149147
|
|
|
149146
|
-
|
|
149147
|
-
border-color:
|
|
149148
|
+
dees-tile:hover::part(outer) {
|
|
149149
|
+
border-color: var(--dees-color-border-strong);
|
|
149148
149150
|
box-shadow: 0 2px 8px ${cssManager.bdTheme("rgba(0,0,0,0.06)", "rgba(0,0,0,0.2)")};
|
|
149149
149151
|
}
|
|
149150
149152
|
|
|
149151
149153
|
/* Header */
|
|
149152
149154
|
.header {
|
|
149153
149155
|
display: flex;
|
|
149154
|
-
align-items:
|
|
149156
|
+
align-items: center;
|
|
149155
149157
|
justify-content: space-between;
|
|
149156
149158
|
gap: 12px;
|
|
149157
|
-
|
|
149159
|
+
height: 40px;
|
|
149160
|
+
padding: 0 16px;
|
|
149161
|
+
width: 100%;
|
|
149162
|
+
box-sizing: border-box;
|
|
149158
149163
|
}
|
|
149159
149164
|
|
|
149160
149165
|
.header-left {
|
|
@@ -149162,6 +149167,7 @@ __publicField(_SzRouteCard, "styles", [
|
|
|
149162
149167
|
align-items: center;
|
|
149163
149168
|
gap: 8px;
|
|
149164
149169
|
min-width: 0;
|
|
149170
|
+
flex: 1;
|
|
149165
149171
|
}
|
|
149166
149172
|
|
|
149167
149173
|
.status-dot {
|
|
@@ -149181,9 +149187,10 @@ __publicField(_SzRouteCard, "styles", [
|
|
|
149181
149187
|
}
|
|
149182
149188
|
|
|
149183
149189
|
.route-name {
|
|
149184
|
-
font-size:
|
|
149185
|
-
font-weight:
|
|
149186
|
-
|
|
149190
|
+
font-size: 14px;
|
|
149191
|
+
font-weight: 500;
|
|
149192
|
+
letter-spacing: -0.01em;
|
|
149193
|
+
color: var(--dees-color-text-secondary);
|
|
149187
149194
|
white-space: nowrap;
|
|
149188
149195
|
overflow: hidden;
|
|
149189
149196
|
text-overflow: ellipsis;
|
|
@@ -149225,6 +149232,10 @@ __publicField(_SzRouteCard, "styles", [
|
|
|
149225
149232
|
color: ${cssManager.bdTheme("#71717a", "#a1a1aa")};
|
|
149226
149233
|
}
|
|
149227
149234
|
|
|
149235
|
+
.card-body {
|
|
149236
|
+
padding: 16px 20px;
|
|
149237
|
+
}
|
|
149238
|
+
|
|
149228
149239
|
.description {
|
|
149229
149240
|
font-size: 13px;
|
|
149230
149241
|
color: ${cssManager.bdTheme("#71717a", "#a1a1aa")};
|
|
@@ -149475,43 +149486,52 @@ __publicField(_SzRouteCard, "styles", [
|
|
|
149475
149486
|
color: ${cssManager.bdTheme("#0e7490", "#22d3ee")};
|
|
149476
149487
|
}
|
|
149477
149488
|
|
|
149478
|
-
.card-
|
|
149489
|
+
.card-footer {
|
|
149479
149490
|
display: flex;
|
|
149480
|
-
|
|
149481
|
-
margin-top: 14px;
|
|
149482
|
-
padding-top: 12px;
|
|
149483
|
-
border-top: 1px solid ${cssManager.bdTheme("#f4f4f5", "#1a1a1a")};
|
|
149491
|
+
flex-direction: row;
|
|
149484
149492
|
justify-content: flex-end;
|
|
149493
|
+
align-items: center;
|
|
149494
|
+
gap: 0;
|
|
149495
|
+
height: 36px;
|
|
149496
|
+
width: 100%;
|
|
149497
|
+
box-sizing: border-box;
|
|
149485
149498
|
}
|
|
149486
149499
|
|
|
149487
|
-
.
|
|
149488
|
-
|
|
149489
|
-
|
|
149490
|
-
|
|
149491
|
-
padding: 5px 12px;
|
|
149492
|
-
border-radius: 6px;
|
|
149500
|
+
.tile-button {
|
|
149501
|
+
padding: 0 16px;
|
|
149502
|
+
height: 100%;
|
|
149503
|
+
text-align: center;
|
|
149493
149504
|
font-size: 12px;
|
|
149494
149505
|
font-weight: 500;
|
|
149495
149506
|
cursor: pointer;
|
|
149496
|
-
|
|
149497
|
-
|
|
149498
|
-
|
|
149499
|
-
|
|
149507
|
+
user-select: none;
|
|
149508
|
+
transition: all 0.15s ease;
|
|
149509
|
+
background: transparent;
|
|
149510
|
+
border: none;
|
|
149511
|
+
border-left: 1px solid var(--dees-color-border-subtle);
|
|
149512
|
+
color: var(--dees-color-text-muted);
|
|
149513
|
+
white-space: nowrap;
|
|
149514
|
+
display: flex;
|
|
149515
|
+
align-items: center;
|
|
149516
|
+
gap: 6px;
|
|
149517
|
+
font-family: inherit;
|
|
149500
149518
|
}
|
|
149501
149519
|
|
|
149502
|
-
.
|
|
149503
|
-
border-
|
|
149504
|
-
background: ${cssManager.bdTheme("#f4f4f5", "#18181b")};
|
|
149505
|
-
color: ${cssManager.bdTheme("#18181b", "#fafafa")};
|
|
149520
|
+
.tile-button:first-child {
|
|
149521
|
+
border-left: none;
|
|
149506
149522
|
}
|
|
149507
149523
|
|
|
149508
|
-
.
|
|
149509
|
-
|
|
149510
|
-
color:
|
|
149524
|
+
.tile-button:hover {
|
|
149525
|
+
background: var(--dees-color-hover);
|
|
149526
|
+
color: var(--dees-color-text-primary);
|
|
149511
149527
|
}
|
|
149512
149528
|
|
|
149513
|
-
.
|
|
149514
|
-
|
|
149529
|
+
.tile-button.edit:hover {
|
|
149530
|
+
color: ${cssManager.bdTheme("hsl(217.2 91.2% 59.8%)", "hsl(213.1 93.9% 67.8%)")};
|
|
149531
|
+
}
|
|
149532
|
+
|
|
149533
|
+
.tile-button.delete:hover {
|
|
149534
|
+
background: ${cssManager.bdTheme("#fee2e2", "rgba(239, 68, 68, 0.1)")};
|
|
149515
149535
|
color: ${cssManager.bdTheme("#dc2626", "#f87171")};
|
|
149516
149536
|
}
|
|
149517
149537
|
`
|