This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
Releases: xsoulspace/vuefer
Releases · xsoulspace/vuefer
v0.9.6
v0.9.5
fix: container
v0.9.4
fix(vuefer): reordable list on disable
v0.9.3
fix(vuefer): grid position generics
v0.9.2
fix(vuefer): reordable list vue now sorts correctly
fix(vuefer): reordable delegate require generic position
feat(vuefer): navigationController.pushDrawer
v0.9.1
fix: sort reordable list view
fix: generic list view position
v0.9.0
0.9.0
feat: ReordableListView based on awesome vue-draggable-next
First add ReordableListViewDelegate with items
const reordableDelegate = ReordableListViewDelegate.use({
gridViewItems: [],
});
onMounted(() => {
for (const el of layoutMatrix.value) {
reordableDelegate.addUpdate(
GridViewItem({
child: TextButton({
child: Text({
text: ref(`text key ljsdl f:${el.index}`),
}),
expand: true,
onTap: () => alert(`Hola ${el.index}!`),
}),
position: el,
})
);
}
});
Then use it in tree
ReordableListView({
delegate: reordableDelegate,
isDraggable,
onReorder: ({ newIndex, position }) => {
console.log({ newIndex, position });
const newPosition = position;
newPosition.position.y = newIndex;
const i = layoutMatrix.value.findIndex(
(el) => el.index == newPosition?.position.index
);
if (i && newIndex != null) {
if (newPosition) {
layoutMatrix.value.splice(i, 1, newPosition.position);
return;
}
}
layoutMatrix.value.splice(i, 1);
},
});
feat: temporary in some components where added _debugClasses to test Tailwind css. All these properties will be removed later.
made width coauthoring Michael Melnikov
v0.8.8
fix: import as es module
v0.8.7
BREAKING: grid will not work due dependency fail
refactor: structure
v0.8.6
experimental build