feat: initial commit - Phase 1 & 2 core features

This commit is contained in:
hiderfong
2026-04-22 17:07:33 +08:00
commit 1773bda06b
25005 changed files with 6252106 additions and 0 deletions
@@ -0,0 +1,18 @@
import * as vue from "vue";
import { ComponentInternalInstance, VNode } from "vue";
//#region ../../packages/hooks/use-ordered-children/index.d.ts
type ChildEssential = {
uid: number;
getVnode: () => VNode;
};
declare const useOrderedChildren: <T extends ChildEssential>(vm: ComponentInternalInstance, childComponentName: string) => {
children: vue.ShallowRef<T[], T[]>;
addChild: (child: T) => void;
removeChild: (child: T) => void;
ChildrenSorter: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vue.RendererElement, {
[key: string]: any;
}> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
};
//#endregion
export { useOrderedChildren };