@monoui/vuejs 1.1.76 → 1.1.77

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoui/vuejs",
3
- "version": "1.1.76",
3
+ "version": "1.1.77",
4
4
  "description": "This project will contain MonoFor UI Framework",
5
5
  "main": "./dist/main.js",
6
6
  "repository": "git@gitlab.com:monoui/vuejs.git",
@@ -92,18 +92,26 @@
92
92
  </th>
93
93
  </tr>
94
94
  </template>
95
- <slot name="header-row-raw">
96
- <tr>
97
- <slot name="header-row">
98
- <th
99
- class="p-0 p-t-1 p-b-1"
100
- :colspan="Object.keys(columns).length"
101
- >
102
- <slot name="header-row-column" />
103
- </th>
104
- </slot>
105
- </tr>
106
- </slot>
95
+ <template
96
+ v-if="
97
+ $slots['header-row-raw'] ||
98
+ $slots['header-row'] ||
99
+ $slots['header-row-column']
100
+ "
101
+ >
102
+ <slot name="header-row-raw">
103
+ <tr>
104
+ <slot name="header-row">
105
+ <th
106
+ class="p-0 p-t-1 p-b-1"
107
+ :colspan="Object.keys(columns).length"
108
+ >
109
+ <slot name="header-row-column" />
110
+ </th>
111
+ </slot>
112
+ </tr>
113
+ </slot>
114
+ </template>
107
115
  </thead>
108
116
  <tbody>
109
117
  <tr class="text-center" v-if="isDataEmpty && !isLoading">