@leavepulse/ui 0.22.9 → 0.22.10
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/chunks/{LpServiceNode-Dc-Ut5RS.js → LpServiceNode-D8uJ8sGk.js} +11 -3
- package/dist/chunks/{LpTopologyCanvas-DCgm_d5G.js → LpTopologyCanvas-D_EsMgCg.js} +1 -1
- package/dist/components/LpServiceNode.vue.js +1 -1
- package/dist/components/LpTopologyCanvas.vue.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/components/LpServiceNode.vue +8 -1
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createVNode, unref, createElementVNode, toDisplayString } from "vue";
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createVNode, unref, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { Handle, Position } from "@vue-flow/core";
|
|
3
3
|
const _hoisted_1 = { class: "text-[11px] text-[var(--accent)]" };
|
|
4
|
-
const _hoisted_2 = { class: "
|
|
4
|
+
const _hoisted_2 = { class: "min-w-0 flex-1" };
|
|
5
|
+
const _hoisted_3 = { class: "block truncate text-[11px] font-medium text-ink" };
|
|
6
|
+
const _hoisted_4 = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "block truncate text-[9px] text-muted"
|
|
9
|
+
};
|
|
5
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
11
|
__name: "LpServiceNode",
|
|
7
12
|
props: {
|
|
@@ -41,7 +46,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
46
|
class: "!size-1.5 !border !border-[var(--accent)] !bg-surface"
|
|
42
47
|
}, null, 8, ["position"]),
|
|
43
48
|
createElementVNode("span", _hoisted_1, toDisplayString(icon.value), 1),
|
|
44
|
-
createElementVNode("span", _hoisted_2,
|
|
49
|
+
createElementVNode("span", _hoisted_2, [
|
|
50
|
+
createElementVNode("span", _hoisted_3, toDisplayString(__props.data.name), 1),
|
|
51
|
+
__props.data.stack ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(__props.data.stack), 1)) : createCommentVNode("", true)
|
|
52
|
+
])
|
|
45
53
|
], 6);
|
|
46
54
|
};
|
|
47
55
|
}
|
|
@@ -5,7 +5,7 @@ import { MarkerType, useVueFlow, VueFlow, SelectionMode, Panel } from "@vue-flow
|
|
|
5
5
|
import { MiniMap } from "@vue-flow/minimap";
|
|
6
6
|
import { _ as _sfc_main$3 } from "./LpInfraNode-qIL3l7IO.js";
|
|
7
7
|
import { _ as _sfc_main$1 } from "./LpLaneNode-HtnQf2FF.js";
|
|
8
|
-
import { _ as _sfc_main$2 } from "./LpServiceNode-
|
|
8
|
+
import { _ as _sfc_main$2 } from "./LpServiceNode-D8uJ8sGk.js";
|
|
9
9
|
const _hoisted_1 = { class: "flex flex-col gap-1.5 rounded-card border border-line bg-surface-overlay/90 px-3 py-2 text-[11px] backdrop-blur" };
|
|
10
10
|
const _hoisted_2 = {
|
|
11
11
|
width: "22",
|
package/dist/index.js
CHANGED
|
@@ -47,7 +47,7 @@ import { _ as _41 } from "./chunks/LpRadioGroup-B4yDTmi6.js";
|
|
|
47
47
|
import { _ as _42 } from "./chunks/LpScrollArea-D8xyKXcF.js";
|
|
48
48
|
import { _ as _43 } from "./chunks/LpSegmented-BmpanyAo.js";
|
|
49
49
|
import { _ as _44 } from "./chunks/LpSelect-D5mU4cZO.js";
|
|
50
|
-
import { _ as _45 } from "./chunks/LpServiceNode-
|
|
50
|
+
import { _ as _45 } from "./chunks/LpServiceNode-D8uJ8sGk.js";
|
|
51
51
|
import { default as default3 } from "./components/LpShortcutsDialog.vue.js";
|
|
52
52
|
import { _ as _46 } from "./chunks/LpSidebar-D3GGLSE7.js";
|
|
53
53
|
import { _ as _47 } from "./chunks/LpSkeleton-eSFIo4kD.js";
|
|
@@ -64,7 +64,7 @@ import { D, _ as _56, N, T, b, c, d, e, f, g, i, l, h, j, n, r, t, k, m, u, v }
|
|
|
64
64
|
import { _ as _57 } from "./chunks/LpTilt-DuyKbpkA.js";
|
|
65
65
|
import { _ as _58 } from "./chunks/LpToaster-gDB1EaU3.js";
|
|
66
66
|
import { _ as _59 } from "./chunks/LpTooltip-D1hbjQWG.js";
|
|
67
|
-
import { _ as _60 } from "./chunks/LpTopologyCanvas-
|
|
67
|
+
import { _ as _60 } from "./chunks/LpTopologyCanvas-D_EsMgCg.js";
|
|
68
68
|
import { _ as _61 } from "./chunks/LpUptimeBar-CB366k0O.js";
|
|
69
69
|
import { deserializeLayout, serializeLayout } from "./layout/tree.js";
|
|
70
70
|
import { addLeaf, addTab, countBlocks, countLeaves, makeLayout, moveLeaf, removeBlock, removeLeaf, reorderTab, resizeAt, setActiveTab } from "./layout/tree.js";
|
package/package.json
CHANGED
|
@@ -52,6 +52,13 @@ const icon = computed(() => kindIcon[props.data.kind ?? "service"] ?? "◇")
|
|
|
52
52
|
class="!size-1.5 !border !border-[var(--accent)] !bg-surface"
|
|
53
53
|
/>
|
|
54
54
|
<span class="text-[11px] text-[var(--accent)]">{{ icon }}</span>
|
|
55
|
-
<span class="
|
|
55
|
+
<span class="min-w-0 flex-1">
|
|
56
|
+
<span class="block truncate text-[11px] font-medium text-ink">{{ data.name }}</span>
|
|
57
|
+
<!-- `stack` was accepted and then silently dropped, so anything a host
|
|
58
|
+
put there vanished. It is the one line of context that fits. -->
|
|
59
|
+
<span v-if="data.stack" class="block truncate text-[9px] text-muted">
|
|
60
|
+
{{ data.stack }}
|
|
61
|
+
</span>
|
|
62
|
+
</span>
|
|
56
63
|
</div>
|
|
57
64
|
</template>
|