@mythpe/quasar-ui-qui 0.3.34 → 0.3.36
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
|
@@ -793,6 +793,7 @@ defineExpose({
|
|
|
793
793
|
v-if="!hideSearch"
|
|
794
794
|
:debounce="searchDebounce"
|
|
795
795
|
:dense="dense === undefined ? (pluginOptions.datatable?.dense !== undefined ? pluginOptions.datatable?.dense : !0) : dense"
|
|
796
|
+
:field-options="{ controlled: !1 }"
|
|
796
797
|
:model-value="search"
|
|
797
798
|
:placeholder="searchPlaceholder"
|
|
798
799
|
autocomplete="none"
|
|
@@ -800,7 +801,7 @@ defineExpose({
|
|
|
800
801
|
label="labels.search"
|
|
801
802
|
name="search"
|
|
802
803
|
outlined
|
|
803
|
-
v-bind="pluginOptions.dt?.searchInput?.props as any"
|
|
804
|
+
v-bind="{...theme.inputs as any, ...pluginOptions.dt?.searchInput?.props as any}"
|
|
804
805
|
@update:model-value="onSearchInput($event)"
|
|
805
806
|
@keyup.enter="onSearchEnter()"
|
|
806
807
|
>
|
|
@@ -1097,12 +1098,12 @@ defineExpose({
|
|
|
1097
1098
|
:key="`top-s-${i}`"
|
|
1098
1099
|
>
|
|
1099
1100
|
<MDtBtn
|
|
1100
|
-
v-if="(typeof contextBtn.showIf === 'function' ? contextBtn.showIf(selected[0],0) : contextBtn.showIf !==!1) && ( (contextBtn.click && isSingleSelectedItem)
|
|
1101
|
+
v-if="(typeof contextBtn.showIf === 'function' ? contextBtn.showIf(selected[0],0) : contextBtn.showIf !==!1) && ( ((!!contextBtn.click || !!contextBtn.attr?.to) && isSingleSelectedItem)
|
|
1101
1102
|
|| (contextBtn.multiClick && !isSingleSelectedItem) )"
|
|
1102
1103
|
:tooltip="contextBtn.tooltip?__(contextBtn.tooltip):(contextBtn.label?(te(`labels.${contextBtn.label}`) ?
|
|
1103
1104
|
__(`labels.${contextBtn.label}`) : __(contextBtn.label) ):undefined)"
|
|
1104
|
-
v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn as any,...contextBtn as any,...contextBtn.attr as any}"
|
|
1105
|
-
@click="onClickTopMenu(contextBtn)"
|
|
1105
|
+
v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn as any,...contextBtn as any,...contextBtn.attr as any,to: typeof contextBtn.attr?.to === 'function' ? contextBtn.attr.to(selected[0],0) : contextBtn.attr?.to}"
|
|
1106
|
+
@click="contextBtn.attr?.to ? undefined : onClickTopMenu(contextBtn)"
|
|
1106
1107
|
/>
|
|
1107
1108
|
</template>
|
|
1108
1109
|
</template>
|