@done-coding/admin-core 0.5.0 → 0.5.1-alpha.1
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/es/bridge/index.mjs +30 -42
- package/es/components/app-layout/AppHeader.vue.mjs +2 -2
- package/es/components/app-layout/AppHeader.vue2.mjs +16 -19
- package/es/components/data-view/DataListView.vue.mjs +2 -2
- package/es/components/data-view/DataListView.vue2.mjs +64 -53
- package/es/components/data-view/utils.mjs +36 -0
- package/es/components/display/TabsHeader.vue.mjs +2 -2
- package/es/components/display/TabsMain.vue.mjs +1 -1
- package/es/components/list-page/ListPage.vue.mjs +2 -2
- package/es/components/list-page/ListPage.vue2.mjs +44 -44
- package/es/components/misc/ActionConfirm.vue2.mjs +16 -16
- package/es/components/modal/ConfirmModal.vue.mjs +2 -2
- package/es/components/modal/DetailModal.vue.mjs +10 -10
- package/es/components/table/TableMain.vue.mjs +3 -3
- package/es/components/table/TableMain.vue2.mjs +167 -177
- package/es/components/table/TableToolbar.vue.mjs +3 -3
- package/es/components/table/TableToolbar.vue2.mjs +8 -4
- package/es/index.mjs +150 -180
- package/es/style.css +1 -1
- package/package.json +6 -5
- package/types/bridge/index.d.ts +3 -6
- package/types/bridge/route.d.ts +0 -1
- package/types/components/app-layout/AppBody.vue.d.ts +14 -34
- package/types/components/app-layout/AppBreadcrumb.vue.d.ts +6 -19
- package/types/components/app-layout/AppFooter.vue.d.ts +1 -1
- package/types/components/app-layout/AppHeader.vue.d.ts +15 -39
- package/types/components/app-layout/AppLayout.vue.d.ts +17 -50
- package/types/components/app-layout/AppPage.vue.d.ts +14 -39
- package/types/components/app-layout/AppSidebar.vue.d.ts +15 -37
- package/types/components/app-layout/index.d.ts +1 -19
- package/types/components/app-layout/types.d.ts +0 -1
- package/types/components/data-view/DataListView.vue.d.ts +9 -9
- package/types/components/data-view/DataListViewItem.vue.d.ts +19 -17
- package/types/components/data-view/index.d.ts +0 -1
- package/types/components/data-view/types.d.ts +9 -18
- package/types/components/data-view/utils.d.ts +5 -0
- package/types/components/display/ActionBtnGroup.vue.d.ts +8 -6
- package/types/components/display/HeightProvider.vue.d.ts +15 -31
- package/types/components/display/TabsHeader.vue.d.ts +27 -34
- package/types/components/display/TabsMain.vue.d.ts +33 -73
- package/types/components/display/TabsNaturalFlow.vue.d.ts +11 -5
- package/types/components/display/TabsRefineFlow.vue.d.ts +13 -31
- package/types/components/display/WatchSize.vue.d.ts +20 -32
- package/types/components/display/index.d.ts +0 -3
- package/types/components/display/types.d.ts +1 -2
- package/types/components/form/FormItem.vue.d.ts +208 -33
- package/types/components/form/FormMain.vue.d.ts +6 -7
- package/types/components/form/FormRadioGroup.vue.d.ts +14 -31
- package/types/components/form/FormSearch.vue.d.ts +5 -6
- package/types/components/form/FormSelect.vue.d.ts +19 -40
- package/types/components/form/FormTree.vue.d.ts +2037 -32
- package/types/components/form/FormVerifyCode.vue.d.ts +6 -6
- package/types/components/form/FormVerifyImage.vue.d.ts +6 -6
- package/types/components/form/form-search-utils.d.ts +0 -1
- package/types/components/form/index.d.ts +0 -3
- package/types/components/form/types.d.ts +0 -1
- package/types/components/form/utils.d.ts +0 -1
- package/types/components/list-page/ListPage.vue.d.ts +32 -33
- package/types/components/list-page/index.d.ts +0 -3
- package/types/components/list-page/types.d.ts +0 -1
- package/types/components/menu/MenuItemSub.vue.d.ts +3 -15
- package/types/components/menu/MenuTree.vue.d.ts +117 -19
- package/types/components/menu/index.d.ts +0 -3
- package/types/components/misc/ActionBtn.vue.d.ts +10 -11
- package/types/components/misc/ActionConfirm.vue.d.ts +21 -60
- package/types/components/misc/AutoRefresh.vue.d.ts +18 -24
- package/types/components/misc/TriggerAutoImport.vue.d.ts +8 -2
- package/types/components/misc/index.d.ts +4 -14
- package/types/components/misc/types.d.ts +0 -1
- package/types/components/modal/ConfirmModal.vue.d.ts +26 -83
- package/types/components/modal/DetailModal.vue.d.ts +5 -6
- package/types/components/modal/ModalPorter.vue.d.ts +13 -18
- package/types/components/modal/ModalShelf.vue.d.ts +13 -18
- package/types/components/modal/index.d.ts +0 -4
- package/types/components/modal/modal-shelf-core.d.ts +0 -1
- package/types/components/modal/modal-shelf-hierarchy.d.ts +0 -1
- package/types/components/modal/modal-shelf-types.d.ts +0 -1
- package/types/components/modal/types.d.ts +0 -1
- package/types/components/panel/PanelEditSwitch.vue.d.ts +17 -20
- package/types/components/panel/PanelItem.vue.d.ts +7 -16
- package/types/components/panel/PanelMain.vue.d.ts +5 -6
- package/types/components/panel/index.d.ts +0 -4
- package/types/components/panel/types.d.ts +0 -1
- package/types/components/table/TableMain.vue.d.ts +12 -12
- package/types/components/table/TableToolbar.vue.d.ts +17 -108
- package/types/components/table/ToolbarButtons.vue.d.ts +15 -17
- package/types/components/table/index.d.ts +0 -3
- package/types/components/table/types.d.ts +59 -19
- package/types/config/list-model.d.ts +0 -1
- package/types/helpers/form.d.ts +0 -1
- package/types/helpers/index.d.ts +0 -10
- package/types/helpers/list-helper.d.ts +0 -1
- package/types/hooks/menus-dispatch.d.ts +0 -1
- package/types/hooks/use-channel-viewport-height.d.ts +0 -1
- package/types/index.d.ts +0 -13
- package/types/inject/key.d.ts +0 -1
- package/types/router/guard/index.d.ts +0 -1
- package/types/router/guard/login.d.ts +0 -1
- package/types/router/guard/permission.d.ts +0 -1
- package/types/router/guard/types.d.ts +0 -1
- package/types/store/app.d.ts +1 -2
- package/types/store/router-permission.d.ts +0 -1
- package/types/store/user.d.ts +0 -1
- package/types/types/route.d.ts +0 -1
- package/types/utils/export.d.ts +11 -10
- package/types/utils/router.d.ts +0 -1
- package/es/components/app-layout/index.mjs +0 -32
- package/es/components/display/index.mjs +0 -18
- package/es/components/form/index.mjs +0 -32
- package/es/components/list-page/index.mjs +0 -14
- package/es/components/menu/index.mjs +0 -12
- package/es/components/misc/ActionButton.vue.mjs +0 -52
- package/es/components/misc/ActionButton.vue2.mjs +0 -4
- package/es/components/misc/ActionButtonDanger.vue.mjs +0 -32
- package/es/components/misc/ActionButtonDanger.vue2.mjs +0 -4
- package/es/components/misc/ActionButtonWarn.vue.mjs +0 -32
- package/es/components/misc/ActionButtonWarn.vue2.mjs +0 -4
- package/es/components/misc/index.mjs +0 -32
- package/es/components/modal/index.mjs +0 -23
- package/es/components/panel/index.mjs +0 -20
- package/es/components/table/index.mjs +0 -14
- package/types/components/misc/ActionButton.vue.d.ts +0 -24
- package/types/components/misc/ActionButtonDanger.vue.d.ts +0 -19
- package/types/components/misc/ActionButtonWarn.vue.d.ts +0 -19
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import r from "./TriggerAutoImport.vue.mjs";
|
|
2
|
-
import i from "./AutoRefresh.vue.mjs";
|
|
3
|
-
import m from "./ActionButton.vue.mjs";
|
|
4
|
-
import c from "./ActionButtonDanger.vue.mjs";
|
|
5
|
-
import s from "./ActionButtonWarn.vue.mjs";
|
|
6
|
-
import a from "./ActionBtn.vue.mjs";
|
|
7
|
-
import f from "./ActionConfirm.vue.mjs";
|
|
8
|
-
const e = {
|
|
9
|
-
TriggerAutoImport: r,
|
|
10
|
-
AutoRefresh: i,
|
|
11
|
-
ActionButton: m,
|
|
12
|
-
ActionButtonDanger: c,
|
|
13
|
-
ActionButtonWarn: s,
|
|
14
|
-
ActionBtn: a,
|
|
15
|
-
ActionConfirm: f
|
|
16
|
-
}, $ = {
|
|
17
|
-
install(t) {
|
|
18
|
-
Object.entries(e).forEach(([o, n]) => {
|
|
19
|
-
t.component(o, n);
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
a as ActionBtn,
|
|
25
|
-
m as ActionButton,
|
|
26
|
-
c as ActionButtonDanger,
|
|
27
|
-
s as ActionButtonWarn,
|
|
28
|
-
f as ActionConfirm,
|
|
29
|
-
i as AutoRefresh,
|
|
30
|
-
r as TriggerAutoImport,
|
|
31
|
-
$ as miscInstall
|
|
32
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import l from "./ConfirmModal.vue.mjs";
|
|
2
|
-
import r from "./DetailModal.vue.mjs";
|
|
3
|
-
import m from "./ModalShelf.vue.mjs";
|
|
4
|
-
import n from "./ModalPorter.vue.mjs";
|
|
5
|
-
const e = {
|
|
6
|
-
ConfirmModal: l,
|
|
7
|
-
DetailModal: r,
|
|
8
|
-
ModalShelf: m,
|
|
9
|
-
ModalPorter: n
|
|
10
|
-
}, d = {
|
|
11
|
-
install(o) {
|
|
12
|
-
Object.entries(e).forEach(([a, t]) => {
|
|
13
|
-
o.component(a, t);
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
l as ConfirmModal,
|
|
19
|
-
r as DetailModal,
|
|
20
|
-
n as ModalPorter,
|
|
21
|
-
m as ModalShelf,
|
|
22
|
-
d as modalInstall
|
|
23
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import e from "./PanelMain.vue.mjs";
|
|
2
|
-
import o from "./PanelItem.vue.mjs";
|
|
3
|
-
import m from "./PanelEditSwitch.vue.mjs";
|
|
4
|
-
const i = {
|
|
5
|
-
PanelMain: e,
|
|
6
|
-
PanelItem: o,
|
|
7
|
-
PanelEditSwitch: m
|
|
8
|
-
}, r = {
|
|
9
|
-
install(n) {
|
|
10
|
-
Object.entries(i).forEach(([t, a]) => {
|
|
11
|
-
n.component(t, a);
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
m as PanelEditSwitch,
|
|
17
|
-
o as PanelItem,
|
|
18
|
-
e as PanelMain,
|
|
19
|
-
r as panelInstall
|
|
20
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{
|
|
3
|
-
readonly onConfirm?: ((data: T) => any) | undefined;
|
|
4
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & ({
|
|
5
|
-
data: T;
|
|
6
|
-
type?: "primary" | "danger" | "info" | "warning" | "success";
|
|
7
|
-
/** Popconfirm 标题 */
|
|
8
|
-
tipContent: string | ((data: T) => string);
|
|
9
|
-
} & {
|
|
10
|
-
visible?: boolean;
|
|
11
|
-
}), keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
12
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
13
|
-
attrs: any;
|
|
14
|
-
slots: ReturnType<() => {
|
|
15
|
-
default?(_: {}): any;
|
|
16
|
-
}>;
|
|
17
|
-
emit: (evt: "confirm", data: T) => void;
|
|
18
|
-
}>) => import('vue').VNode & {
|
|
19
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
20
|
-
};
|
|
21
|
-
export default _default;
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
23
|
-
[K in keyof T]: T[K];
|
|
24
|
-
} & {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{
|
|
3
|
-
readonly onConfirm?: ((data: T) => any) | undefined;
|
|
4
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & ({
|
|
5
|
-
data: T;
|
|
6
|
-
tipContent: string | ((data: T) => string);
|
|
7
|
-
} & {
|
|
8
|
-
visible?: boolean;
|
|
9
|
-
}), keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
10
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
11
|
-
attrs: any;
|
|
12
|
-
slots: ReturnType<() => {
|
|
13
|
-
default?(_: {}): any;
|
|
14
|
-
}>;
|
|
15
|
-
emit: (evt: "confirm", data: T) => void;
|
|
16
|
-
}>) => import('vue').VNode & {
|
|
17
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
|
-
};
|
|
19
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{
|
|
3
|
-
readonly onConfirm?: ((data: T) => any) | undefined;
|
|
4
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & ({
|
|
5
|
-
data: T;
|
|
6
|
-
tipContent: string | ((data: T) => string);
|
|
7
|
-
} & {
|
|
8
|
-
visible?: boolean;
|
|
9
|
-
}), keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
10
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
11
|
-
attrs: any;
|
|
12
|
-
slots: ReturnType<() => {
|
|
13
|
-
default?(_: {}): any;
|
|
14
|
-
}>;
|
|
15
|
-
emit: (evt: "confirm", data: T) => void;
|
|
16
|
-
}>) => import('vue').VNode & {
|
|
17
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
|
-
};
|
|
19
|
-
export default _default;
|