classcard-ui 0.2.800 → 0.2.801

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.800",
3
+ "version": "0.2.801",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -166,13 +166,10 @@
166
166
  }`"
167
167
  mode="remote"
168
168
  ref="my-table"
169
- :styleClass="
170
- showLoader ? 'vgt-table opacity-50 pointer-events-none' : 'vgt-table'
171
- "
169
+ styleClass="vgt-table"
172
170
  :row-style-class="rowStyleClassFn"
173
171
  min-height="400px"
174
172
  :globalSearch="true"
175
- :isLoading="showLoader"
176
173
  :totalRows="totalRecords"
177
174
  :columns="cols"
178
175
  :rows="rows"
@@ -277,30 +274,6 @@
277
274
  @setNextPage="setNextPageRecords"
278
275
  ></c-pagination>
279
276
  </template>
280
- <!-- Custom loader for table -->
281
- <template slot="loadingContent">
282
- <svg
283
- class="ml-auto mr-auto h-7 w-7 animate-spin text-white"
284
- xmlns="http://www.w3.org/2000/svg"
285
- fill="none"
286
- viewBox="0 0 24 24"
287
- >
288
- <circle
289
- class="opacity-25"
290
- cx="12"
291
- cy="12"
292
- r="10"
293
- stroke="currentColor"
294
- stroke-width="4"
295
- ></circle>
296
- <path
297
- class="opacity-75"
298
- fill="currentColor"
299
- d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
300
- ></path>
301
- </svg>
302
- </template>
303
- <!-- <div slot="emptystate"></div> -->
304
277
  </vue-good-table>
305
278
  </div>
306
279
  </template>
@@ -353,10 +326,6 @@ export default {
353
326
  type: Boolean,
354
327
  default: true,
355
328
  },
356
- // To show and hide loader on table
357
- isLoading: {
358
- type: Boolean,
359
- },
360
329
  // All the buttons displayed on top right side of table
361
330
  tableActions: {
362
331
  type: Boolean,
@@ -464,7 +433,6 @@ export default {
464
433
  return {
465
434
  toggleDropdown: false,
466
435
  toggleDownloadDropdown: false,
467
- showLoader: this.isLoading,
468
436
  searchTerm: this.searchQuery ? this.searchQuery : "",
469
437
  paginationRecords: this.paginationData,
470
438
  reorderedArray: [...this.rows],
@@ -563,9 +531,6 @@ export default {
563
531
  },
564
532
  },
565
533
  watch: {
566
- isLoading() {
567
- this.showLoader = this.isLoading;
568
- },
569
534
  paginationData(newValue, oldValue) {
570
535
  if (!isEqual(newValue, oldValue)) {
571
536
  this.paginationRecords = newValue;