@fkui/vue-labs 6.25.0 → 6.26.0
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/cjs/index.cjs.js +7 -10
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/index.esm.js +7 -10
- package/dist/esm/index.esm.js.map +1 -1
- package/package.json +6 -6
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3786,14 +3786,9 @@ function useTabstop(tableRef, metaRows) {
|
|
|
3786
3786
|
}
|
|
3787
3787
|
logic.assertRef(tableRef);
|
|
3788
3788
|
const target = getCellTarget(tableRef.value, 1, 0);
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
} else {
|
|
3793
|
-
activateCell(target, {
|
|
3794
|
-
focus: renderOptions.value.focus
|
|
3795
|
-
});
|
|
3796
|
-
}
|
|
3789
|
+
activateCell(target, {
|
|
3790
|
+
focus: renderOptions.value.focus
|
|
3791
|
+
});
|
|
3797
3792
|
renderOptions.value.fallbackToFirstCell = false;
|
|
3798
3793
|
});
|
|
3799
3794
|
async function withTabstopBehaviour(behaviour, action) {
|
|
@@ -3874,8 +3869,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
3874
3869
|
return getBodyRowCount(keyedRows.value, __props.expandableAttribute) + 1;
|
|
3875
3870
|
});
|
|
3876
3871
|
const columnCount = vue.computed(() => {
|
|
3877
|
-
const
|
|
3878
|
-
|
|
3872
|
+
const expandCol = isTreegrid.value ? 1 : 0;
|
|
3873
|
+
const selectCol = __props.selectable ? 1 : 0;
|
|
3874
|
+
const count = columns.value.length + expandCol + selectCol;
|
|
3875
|
+
return Math.max(1, count);
|
|
3879
3876
|
});
|
|
3880
3877
|
const multiSelectColumn = {
|
|
3881
3878
|
type: "checkbox",
|