@mythpe/quasar-ui-qui 0.1.63 → 0.1.65
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
|
@@ -1097,7 +1097,7 @@ defineExpose({
|
|
|
1097
1097
|
<q-td :props="noBodyProps">
|
|
1098
1098
|
<!--Control-->
|
|
1099
1099
|
<q-btn-dropdown
|
|
1100
|
-
v-if="activeContextItems.length > contextItemsLength"
|
|
1100
|
+
v-if="activeContextItems.length > contextItemsLength && !1"
|
|
1101
1101
|
v-close-popup
|
|
1102
1102
|
:menu-offset="[0,10]"
|
|
1103
1103
|
color="primary"
|
|
@@ -151,13 +151,6 @@ defineOptions({
|
|
|
151
151
|
}"
|
|
152
152
|
v-on="listeners"
|
|
153
153
|
>
|
|
154
|
-
<template
|
|
155
|
-
v-for="(_,slot) in $slots as Readonly<QInputSlots>"
|
|
156
|
-
:key="slot"
|
|
157
|
-
#[slot]
|
|
158
|
-
>
|
|
159
|
-
<slot :name="slot" />
|
|
160
|
-
</template>
|
|
161
154
|
<template
|
|
162
155
|
v-if="viewMode"
|
|
163
156
|
#control
|
|
@@ -173,6 +166,19 @@ defineOptions({
|
|
|
173
166
|
</MInputFieldControl>
|
|
174
167
|
</slot>
|
|
175
168
|
</template>
|
|
169
|
+
<template
|
|
170
|
+
v-if="sar && !viewMode"
|
|
171
|
+
#append
|
|
172
|
+
>
|
|
173
|
+
<MSarCol />
|
|
174
|
+
</template>
|
|
175
|
+
<template
|
|
176
|
+
v-for="(_,slot) in $slots as Readonly<QInputSlots>"
|
|
177
|
+
:key="slot"
|
|
178
|
+
#[slot]
|
|
179
|
+
>
|
|
180
|
+
<slot :name="slot" />
|
|
181
|
+
</template>
|
|
176
182
|
</component>
|
|
177
183
|
<slot
|
|
178
184
|
name="help"
|
|
@@ -748,7 +748,8 @@ export const useDtHelpers = (options: MaybeRefOrGetter<MDatatableProps>) => {
|
|
|
748
748
|
},
|
|
749
749
|
...(props.contextItems || [])
|
|
750
750
|
].sort((a, b) => (a.order ?? 0) - (b.order ?? 0))))
|
|
751
|
-
const activeContextItems = computed(() => contextmenuItems.value.filter((e, i) => typeof e.showIf === 'function' ? e.showIf(e, i) : e.showIf !== !1) as Required<MDatatableProps['contextItems']> || [])
|
|
751
|
+
// const activeContextItems = computed(() => contextmenuItems.value.filter((e, i) => typeof e.showIf === 'function' ? e.showIf(e, i) : e.showIf !== !1) as Required<MDatatableProps['contextItems']> || [])
|
|
752
|
+
const activeContextItems = computed(() => contextmenuItems.value)
|
|
752
753
|
const onCloneItem = (item: MDtItem) => {
|
|
753
754
|
item = toValue(item)
|
|
754
755
|
confirmMessage()
|