@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/dist/index.js CHANGED
@@ -9379,7 +9379,7 @@ const CFormCheck = vue.defineComponent({
9379
9379
  const formControl = () => {
9380
9380
  return vue.h('input', {
9381
9381
  ...attrs,
9382
- ...(props.modelValue && props.value && { checked: isChecked.value }),
9382
+ ...((props.modelValue || props.value) && { checked: isChecked.value }),
9383
9383
  class: inputClassName,
9384
9384
  id: props.id,
9385
9385
  indeterminate: props.indeterminate,
@@ -15057,6 +15057,9 @@ const CSmartTable = vue.defineComponent({
15057
15057
  const filteredColumns = vue.computed(() => filterColumns(items.value, props.columnFilter, columnFilterState.value, itemsDataColumns.value));
15058
15058
  const filteredTable = vue.computed(() => filterTable(filteredColumns.value, props.tableFilter, tableFilterState.value, itemsDataColumns.value));
15059
15059
  const sortedItems = vue.computed(() => sortItems(props.columnSorter, filteredTable.value, itemsDataColumns.value, sorterState.value));
15060
+ vue.watch(sortedItems, () => {
15061
+ emit('filteredItemsChange', sortedItems.value);
15062
+ });
15060
15063
  const numberOfPages = vue.computed(() => itemsPerPage.value ? Math.ceil(sortedItems.value.length / itemsPerPage.value) : 1);
15061
15064
  const firstItemOnActivePageIndex = vue.computed(() => activePage.value ? (activePage.value - 1) * itemsPerPage.value : 0);
15062
15065
  const currentItems = vue.computed(() => activePage.value