@monoui/vuejs 1.1.88 → 1.1.91
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
|
@@ -338,9 +338,9 @@ export default {
|
|
|
338
338
|
dates[0].setHours(0, 0, 0, 0);
|
|
339
339
|
dates[1].setHours(0, 0, 0, 0);
|
|
340
340
|
if (!this.maxDate && this.minDate) {
|
|
341
|
-
return date
|
|
341
|
+
return date < dates[0];
|
|
342
342
|
} else if (!this.minDate && this.maxDate) {
|
|
343
|
-
return date
|
|
343
|
+
return date > dates[1];
|
|
344
344
|
} else {
|
|
345
345
|
return date < dates[0] || date > dates[1];
|
|
346
346
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
`table mt-0 w-100 d-block d-md-table table-hover flex-grow-1 ${tableClass}`
|
|
26
26
|
"
|
|
27
27
|
>
|
|
28
|
-
<thead :class="`${headerClass} w-100`">
|
|
28
|
+
<thead v-if="showHeader" :class="`${headerClass} w-100`">
|
|
29
29
|
<tr>
|
|
30
30
|
<slot name="header" v-bind="columns">
|
|
31
31
|
<template
|
|
@@ -476,6 +476,11 @@ export default {
|
|
|
476
476
|
required: false,
|
|
477
477
|
default: ""
|
|
478
478
|
},
|
|
479
|
+
showHeader: {
|
|
480
|
+
type: Boolean,
|
|
481
|
+
required: false,
|
|
482
|
+
default: true
|
|
483
|
+
},
|
|
479
484
|
tableClass: {
|
|
480
485
|
type: String,
|
|
481
486
|
required: false,
|