classcard-ui 0.2.801 → 0.2.802
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/classcard-ui.common.js +60 -55
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +60 -55
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CTable/CTable.vue +8 -3
package/package.json
CHANGED
|
@@ -166,13 +166,15 @@
|
|
|
166
166
|
}`"
|
|
167
167
|
mode="remote"
|
|
168
168
|
ref="my-table"
|
|
169
|
-
styleClass="
|
|
169
|
+
:styleClass="
|
|
170
|
+
isLoading ? 'vgt-table opacity-50 pointer-events-none' : 'vgt-table'
|
|
171
|
+
"
|
|
170
172
|
:row-style-class="rowStyleClassFn"
|
|
171
173
|
min-height="400px"
|
|
172
174
|
:globalSearch="true"
|
|
173
175
|
:totalRows="totalRecords"
|
|
174
176
|
:columns="cols"
|
|
175
|
-
:rows="
|
|
177
|
+
:rows="[]"
|
|
176
178
|
:search-options="{
|
|
177
179
|
enabled: searching,
|
|
178
180
|
externalQuery: searchTerm,
|
|
@@ -232,7 +234,7 @@
|
|
|
232
234
|
{{ props.column.label }}
|
|
233
235
|
</span>
|
|
234
236
|
</template>
|
|
235
|
-
<div slot="emptystate">
|
|
237
|
+
<div slot="emptystate" v-if="isLoading">
|
|
236
238
|
<vue-skeleton-loader
|
|
237
239
|
v-for="(item, index) in 10"
|
|
238
240
|
:key="index"
|
|
@@ -338,6 +340,9 @@ export default {
|
|
|
338
340
|
searchQuery: {
|
|
339
341
|
type: String,
|
|
340
342
|
},
|
|
343
|
+
isLoading: {
|
|
344
|
+
type: Boolean,
|
|
345
|
+
},
|
|
341
346
|
// Total number of rows in a table to calculate page numbers
|
|
342
347
|
totalRecords: {
|
|
343
348
|
type: String,
|