pimelon-ui 0.1.54 → 0.1.55
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/package.json
CHANGED
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
:class="$attrs.class"
|
|
10
10
|
>
|
|
11
11
|
<slot name="prefix" v-bind="{ item }" />
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
<slot>
|
|
13
|
+
<div class="truncate">
|
|
14
|
+
{{ item.label }}
|
|
15
|
+
</div>
|
|
16
|
+
</slot>
|
|
15
17
|
<slot name="suffix" v-bind="{ item }" />
|
|
16
18
|
</div>
|
|
17
19
|
<slot v-if="list.options.resizeColumn" name="resizer" v-bind="{ item }">
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
<component
|
|
3
3
|
:is="list.options.showTooltip ? Tooltip : 'div'"
|
|
4
4
|
v-bind="list.options.showTooltip ? { text: label } : {}"
|
|
5
|
-
class="flex items-center space-x-2"
|
|
6
|
-
:class="alignmentMap[align]"
|
|
7
5
|
>
|
|
8
|
-
<
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
6
|
+
<div class="flex items-center space-x-2" :class="alignmentMap[align]">
|
|
7
|
+
<slot name="prefix">
|
|
8
|
+
<component
|
|
9
|
+
v-if="column.prefix"
|
|
10
|
+
:is="
|
|
11
|
+
typeof column.prefix === 'function'
|
|
12
|
+
? column.prefix({ row })
|
|
13
|
+
: column.prefix
|
|
14
|
+
"
|
|
15
|
+
/>
|
|
16
|
+
</slot>
|
|
17
|
+
<slot v-bind="{ label }">
|
|
18
|
+
<div class="truncate text-base">
|
|
19
|
+
{{ column?.getLabel ? column.getLabel({ row }) : label }}
|
|
20
|
+
</div>
|
|
21
|
+
</slot>
|
|
22
|
+
<slot name="suffix" />
|
|
23
|
+
</div>
|
|
24
24
|
</component>
|
|
25
25
|
</template>
|
|
26
26
|
<script setup>
|