@adminforth/agent 3.1.5 → 3.1.6
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.
|
@@ -25,22 +25,27 @@
|
|
|
25
25
|
/>
|
|
26
26
|
</button>
|
|
27
27
|
<transition name="expand">
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<
|
|
41
|
-
|
|
28
|
+
<!-- no height cap: the grid row animates between 0fr and 1fr, so the output opens to its full height -->
|
|
29
|
+
<div v-if="isInputOutputExpanded" class="grid">
|
|
30
|
+
<div class="min-h-0 overflow-hidden">
|
|
31
|
+
<div class="pt-1.5 pb-1 pl-6 space-y-2">
|
|
32
|
+
<section
|
|
33
|
+
v-for="section in toolSections"
|
|
34
|
+
:key="section.label"
|
|
35
|
+
class="overflow-hidden rounded-default border border-lightCardBorder bg-lightCardBackground dark:border-darkCardBorder dark:bg-darkCardBackground"
|
|
36
|
+
>
|
|
37
|
+
<header class="border-b border-lightCardBorder px-2.5 py-1.5 text-xs font-medium text-lightInputIconColor dark:border-darkCardBorder dark:text-darkInputIconColor">
|
|
38
|
+
{{ section.label }}
|
|
39
|
+
</header>
|
|
40
|
+
<div class="select-all grid grid-cols-[auto,1fr] gap-x-3 gap-y-0.5 px-2.5 py-2 font-mono text-xs leading-5 text-lightTableText dark:text-darkTableText">
|
|
41
|
+
<template v-for="line in section.lines" :key="`${section.label}-${line.number}`">
|
|
42
|
+
<span class="text-[0.7rem] text-lightInputPlaceholderText dark:text-darkInputPlaceholderText select-none">{{ line.number }}</span>
|
|
43
|
+
<span class="whitespace-pre-wrap break-words">{{ line.content || ' ' }}</span>
|
|
44
|
+
</template>
|
|
45
|
+
</div>
|
|
46
|
+
</section>
|
|
42
47
|
</div>
|
|
43
|
-
</
|
|
48
|
+
</div>
|
|
44
49
|
</div>
|
|
45
50
|
</transition>
|
|
46
51
|
</li>
|
|
@@ -122,19 +127,19 @@
|
|
|
122
127
|
|
|
123
128
|
.expand-enter-active,
|
|
124
129
|
.expand-leave-active {
|
|
125
|
-
transition:
|
|
130
|
+
transition: grid-template-rows 300ms ease, opacity 300ms ease;
|
|
126
131
|
}
|
|
127
132
|
|
|
128
133
|
.expand-enter-from,
|
|
129
134
|
.expand-leave-to {
|
|
130
135
|
opacity: 0;
|
|
131
|
-
|
|
136
|
+
grid-template-rows: 0fr;
|
|
132
137
|
}
|
|
133
138
|
|
|
134
139
|
.expand-enter-to,
|
|
135
140
|
.expand-leave-from {
|
|
136
141
|
opacity: 1;
|
|
137
|
-
|
|
142
|
+
grid-template-rows: 1fr;
|
|
138
143
|
}
|
|
139
144
|
|
|
140
145
|
</style>
|