@mythpe/quasar-ui-qui 0.3.67 → 0.3.68
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
|
@@ -38,6 +38,7 @@ type Props = {
|
|
|
38
38
|
excel?: boolean;
|
|
39
39
|
exportUrl?: MDatatableProps['exportUrl'];
|
|
40
40
|
hideSearch?: boolean;
|
|
41
|
+
hideTitle?: boolean;
|
|
41
42
|
searchDebounce?: MDatatableProps['searchDebounce'];
|
|
42
43
|
withIndex?: MDatatableProps['withIndex'];
|
|
43
44
|
withStore?: MDatatableProps['withStore'];
|
|
@@ -115,6 +116,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
115
116
|
excel: undefined,
|
|
116
117
|
exportUrl: undefined,
|
|
117
118
|
hideSearch: !1,
|
|
119
|
+
hideTitle: undefined,
|
|
118
120
|
searchDebounce: 600,
|
|
119
121
|
withIndex: undefined,
|
|
120
122
|
withStore: undefined,
|
|
@@ -738,7 +740,10 @@ defineExpose({
|
|
|
738
740
|
v-bind="topSlotProps"
|
|
739
741
|
/>
|
|
740
742
|
<!--Title and Search-->
|
|
741
|
-
<MRow
|
|
743
|
+
<MRow
|
|
744
|
+
:class="{hidden: !hasAddBtn && !getTableTitle && hideTitle && hideSearch}"
|
|
745
|
+
col
|
|
746
|
+
>
|
|
742
747
|
<!--Default Title Slot-->
|
|
743
748
|
<slot
|
|
744
749
|
:dt="datatableItemsScope"
|
|
@@ -747,7 +752,10 @@ defineExpose({
|
|
|
747
752
|
:item="dialogItem"
|
|
748
753
|
name="title"
|
|
749
754
|
>
|
|
750
|
-
<MCol
|
|
755
|
+
<MCol
|
|
756
|
+
v-if="!hideTitle"
|
|
757
|
+
col="12"
|
|
758
|
+
>
|
|
751
759
|
<q-card flat>
|
|
752
760
|
<q-card-section>
|
|
753
761
|
<MRow
|
|
@@ -235,6 +235,7 @@ export type MDatatableProps<I extends GenericFormValues = GenericFormValues> = O
|
|
|
235
235
|
excel?: boolean;
|
|
236
236
|
exportUrl?: MDtExportOptions | boolean;
|
|
237
237
|
hideSearch?: boolean;
|
|
238
|
+
hideTitle?: boolean;
|
|
238
239
|
searchDebounce?: string | number;
|
|
239
240
|
withIndex?: string | string[];
|
|
240
241
|
withStore?: string | string[];
|