vueless 0.0.548 → 0.0.549
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 +1 -1
- package/ui.data-table/UTable.vue +4 -13
- package/ui.data-table/config.ts +0 -1
- package/ui.data-table/useAttrs.ts +0 -3
- package/web-types.json +8 -2
package/package.json
CHANGED
package/ui.data-table/UTable.vue
CHANGED
|
@@ -206,7 +206,6 @@ const {
|
|
|
206
206
|
tableWrapperAttrs,
|
|
207
207
|
headerRowAttrs,
|
|
208
208
|
bodyRowAfterAttrs,
|
|
209
|
-
bodyRowAfterCellAttrs,
|
|
210
209
|
bodyRowBeforeAttrs,
|
|
211
210
|
bodyRowBeforeCellAttrs,
|
|
212
211
|
footerAttrs,
|
|
@@ -576,17 +575,11 @@ defineExpose({
|
|
|
576
575
|
<table v-bind="tableAttrs">
|
|
577
576
|
<thead v-bind="headerAttrs" :style="tableRowWidthStyle">
|
|
578
577
|
<tr v-if="hasSlotContent($slots['before-header'])" v-bind="headerRowAttrs">
|
|
579
|
-
|
|
580
|
-
v-if="hasSlotContent($slots['before-header'])"
|
|
581
|
-
:colspan="colsCount"
|
|
582
|
-
v-bind="headerCellBaseAttrs"
|
|
583
|
-
>
|
|
584
|
-
<!--
|
|
578
|
+
<!--
|
|
585
579
|
@slot Use it to add something before header row.
|
|
586
580
|
@binding {number} cols-count
|
|
587
581
|
-->
|
|
588
|
-
|
|
589
|
-
</td>
|
|
582
|
+
<slot name="before-header" :cols-count="colsCount" />
|
|
590
583
|
</tr>
|
|
591
584
|
|
|
592
585
|
<tr v-if="hasSlotContent($slots['before-header'])" v-bind="headerRowAttrs"></tr>
|
|
@@ -710,10 +703,8 @@ defineExpose({
|
|
|
710
703
|
v-if="rowIndex === lastRow && hasSlotContent($slots['after-last-row'])"
|
|
711
704
|
v-bind="bodyRowAfterAttrs"
|
|
712
705
|
>
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
<slot name="after-last-row" />
|
|
716
|
-
</td>
|
|
706
|
+
<!-- @slot Use it to add something after last row. -->
|
|
707
|
+
<slot name="after-last-row" :cols-count="colsCount" />
|
|
717
708
|
</tr>
|
|
718
709
|
</template>
|
|
719
710
|
</tbody>
|
package/ui.data-table/config.ts
CHANGED
|
@@ -78,9 +78,6 @@ export default function useAttrs(
|
|
|
78
78
|
bodyRowBeforeCell: {
|
|
79
79
|
base: computed(() => [extendingKeysClasses.bodyCellBase.value]),
|
|
80
80
|
},
|
|
81
|
-
bodyRowAfterCell: {
|
|
82
|
-
base: computed(() => [extendingKeysClasses.bodyCellBase.value]),
|
|
83
|
-
},
|
|
84
81
|
footer: {
|
|
85
82
|
extend: computed(() => [isFooterSticky.value && extendingKeysClasses.stickyFooter.value]),
|
|
86
83
|
},
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "vueless",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.549",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -10613,7 +10613,13 @@
|
|
|
10613
10613
|
},
|
|
10614
10614
|
{
|
|
10615
10615
|
"name": "after-last-row",
|
|
10616
|
-
"
|
|
10616
|
+
"scoped": true,
|
|
10617
|
+
"description": "Use it to add something after last row.",
|
|
10618
|
+
"bindings": [
|
|
10619
|
+
{
|
|
10620
|
+
"name": "cols-count"
|
|
10621
|
+
}
|
|
10622
|
+
]
|
|
10617
10623
|
},
|
|
10618
10624
|
{
|
|
10619
10625
|
"name": "empty-state",
|