@coreui/vue-pro 4.10.1 → 4.10.3
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
|
@@ -189,7 +189,7 @@ const CFormCheck = defineComponent({
|
|
|
189
189
|
const formControl = () => {
|
|
190
190
|
return h('input', {
|
|
191
191
|
...attrs,
|
|
192
|
-
...(props.modelValue
|
|
192
|
+
...((props.modelValue || props.value) && { checked: isChecked.value }),
|
|
193
193
|
class: inputClassName,
|
|
194
194
|
id: props.id,
|
|
195
195
|
indeterminate: props.indeterminate,
|
|
@@ -259,4 +259,4 @@ const CFormCheck = defineComponent({
|
|
|
259
259
|
},
|
|
260
260
|
})
|
|
261
261
|
|
|
262
|
-
export { CFormCheck }
|
|
262
|
+
export { CFormCheck }
|
|
@@ -605,6 +605,10 @@ const CSmartTable = defineComponent({
|
|
|
605
605
|
sortItems(props.columnSorter, filteredTable.value, itemsDataColumns.value, sorterState.value),
|
|
606
606
|
)
|
|
607
607
|
|
|
608
|
+
watch(sortedItems, () => {
|
|
609
|
+
emit('filteredItemsChange', sortedItems.value)
|
|
610
|
+
})
|
|
611
|
+
|
|
608
612
|
const numberOfPages = computed(() =>
|
|
609
613
|
itemsPerPage.value ? Math.ceil(sortedItems.value.length / itemsPerPage.value) : 1,
|
|
610
614
|
)
|