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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classcard-ui",
3
- "version": "0.2.801",
3
+ "version": "0.2.802",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -166,13 +166,15 @@
166
166
  }`"
167
167
  mode="remote"
168
168
  ref="my-table"
169
- styleClass="vgt-table"
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="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,