@choubo/kerthus-web-admin-shell 0.0.0-stage → 0.2.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/README.md +51 -2
- package/dist/agent/AgentApprovalCard.vue.d.ts +34 -0
- package/dist/agent/AgentAttachmentList.vue.d.ts +42 -0
- package/dist/agent/AgentComposer.vue.d.ts +120 -0
- package/dist/agent/AgentModelSelect.vue.d.ts +53 -0
- package/dist/agent/types.d.ts +21 -0
- package/dist/application/AdminAppSwitcher.vue.d.ts +69 -0
- package/dist/application/AdminFullscreenButton.vue.d.ts +34 -0
- package/dist/application/AdminNotificationCenter.vue.d.ts +63 -0
- package/dist/application/AdminUserMenu.vue.d.ts +33 -0
- package/dist/application/AppDarkModeToggle.vue.d.ts +35 -0
- package/dist/application/AppLocalePicker.vue.d.ts +39 -0
- package/dist/application/AppLogo.vue.d.ts +35 -0
- package/dist/application/AppProvider.vue.d.ts +45 -0
- package/dist/application/AppSearch.vue.d.ts +2 -0
- package/dist/application/useAppContext.d.ts +9 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.js +2632 -0
- package/dist/layout/AdminLayout.vue.d.ts +146 -0
- package/dist/locales/index.d.ts +62 -0
- package/dist/locales/legacy-messages.d.ts +367 -0
- package/dist/menu/AdminMenuNode.d.ts +17 -0
- package/dist/menu/BasicMenu.vue.d.ts +65 -0
- package/dist/menu/SimpleMenu.vue.d.ts +55 -0
- package/dist/menu/SimpleMenuTag.vue.d.ts +38 -0
- package/dist/menu/paths.d.ts +3 -0
- package/dist/menu/runtime.d.ts +8 -0
- package/dist/menu/types.d.ts +39 -0
- package/dist/pages/AdminAboutView.vue.d.ts +66 -0
- package/dist/pages/AdminBreadcrumb.vue.d.ts +23 -0
- package/dist/pages/AdminErrorLogView.vue.d.ts +77 -0
- package/dist/pages/AdminExceptionView.vue.d.ts +25 -0
- package/dist/pages/AdminIframeView.vue.d.ts +51 -0
- package/dist/pages/AdminLockView.vue.d.ts +64 -0
- package/dist/pages/AdminLoginView.vue.d.ts +77 -0
- package/dist/pages/AdminPasswordForm.vue.d.ts +96 -0
- package/dist/pages/AdminProfileForm.vue.d.ts +94 -0
- package/dist/pages/AdminProfileTabs.vue.d.ts +55 -0
- package/dist/pages/AdminSecuritySettings.vue.d.ts +41 -0
- package/dist/settings/AdminSettingsDrawer.vue.d.ts +56 -0
- package/dist/settings/SettingsPanel.vue.d.ts +21 -0
- package/dist/settings/types.d.ts +38 -0
- package/dist/style.css +1 -0
- package/dist/tabs/AdminTabs.vue.d.ts +47 -0
- package/dist/tabs/actions.d.ts +4 -0
- package/dist/tabs/types.d.ts +16 -0
- package/package.json +37 -4
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
prefixCls?: string;
|
|
6
|
+
mobileBreakpoint?: number;
|
|
7
|
+
onMobileChange?: (isMobile: boolean) => void;
|
|
8
|
+
}>, {
|
|
9
|
+
prefixCls: string;
|
|
10
|
+
mobileBreakpoint: number;
|
|
11
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
prefixCls?: string;
|
|
13
|
+
mobileBreakpoint?: number;
|
|
14
|
+
onMobileChange?: (isMobile: boolean) => void;
|
|
15
|
+
}>, {
|
|
16
|
+
prefixCls: string;
|
|
17
|
+
mobileBreakpoint: number;
|
|
18
|
+
}>>> & Readonly<{}>, {
|
|
19
|
+
prefixCls: string;
|
|
20
|
+
mobileBreakpoint: number;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface AppProviderContext {
|
|
4
|
+
prefixCls: Ref<string>;
|
|
5
|
+
isMobile: Ref<boolean>;
|
|
6
|
+
}
|
|
7
|
+
export declare const appProviderKey: InjectionKey<AppProviderContext>;
|
|
8
|
+
export declare function createAppProviderContext(context: AppProviderContext): AppProviderContext;
|
|
9
|
+
export declare function useAppProviderContext(): AppProviderContext;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
export { adminShellMessages, getAdminShellMessage } from './locales';
|
|
3
|
+
export { legacyAdminMessages } from './locales/legacy-messages';
|
|
4
|
+
export type { AdminShellMessageKey } from './locales';
|
|
5
|
+
export { createAdminMenuPlugin, useAdminMenuPort, adminMenuKey } from './menu/runtime';
|
|
6
|
+
export { getAllParentPath } from './menu/paths';
|
|
7
|
+
export type { AdminMenuItem, AdminMenuRoute, AdminMenuSettings, AdminMenuPort } from './menu/types';
|
|
8
|
+
export { default as BasicMenu } from './menu/BasicMenu.vue';
|
|
9
|
+
export { default as SimpleMenu } from './menu/SimpleMenu.vue';
|
|
10
|
+
export { default as SimpleMenuTag } from './menu/SimpleMenuTag.vue';
|
|
11
|
+
export { default as AppLogo } from './application/AppLogo.vue';
|
|
12
|
+
export { default as AppLocalePicker } from './application/AppLocalePicker.vue';
|
|
13
|
+
export { default as AppDarkModeToggle } from './application/AppDarkModeToggle.vue';
|
|
14
|
+
export { default as AdminFullscreenButton } from './application/AdminFullscreenButton.vue';
|
|
15
|
+
export { default as AdminAppSwitcher } from './application/AdminAppSwitcher.vue';
|
|
16
|
+
export type { AdminAppItem } from './application/AdminAppSwitcher.vue';
|
|
17
|
+
export { default as AppProvider } from './application/AppProvider.vue';
|
|
18
|
+
export { default as AppSearch } from './application/AppSearch.vue';
|
|
19
|
+
export { default as AdminUserMenu } from './application/AdminUserMenu.vue';
|
|
20
|
+
export { default as AdminNotificationCenter } from './application/AdminNotificationCenter.vue';
|
|
21
|
+
export type { AdminNotification } from './application/AdminNotificationCenter.vue';
|
|
22
|
+
export { default as AdminLayout } from './layout/AdminLayout.vue';
|
|
23
|
+
export { default as AdminBreadcrumb } from './pages/AdminBreadcrumb.vue';
|
|
24
|
+
export { default as AdminIframeView } from './pages/AdminIframeView.vue';
|
|
25
|
+
export { default as AdminLoginView } from './pages/AdminLoginView.vue';
|
|
26
|
+
export { default as AdminLockView } from './pages/AdminLockView.vue';
|
|
27
|
+
export { default as AdminExceptionView } from './pages/AdminExceptionView.vue';
|
|
28
|
+
export { default as AdminProfileTabs } from './pages/AdminProfileTabs.vue';
|
|
29
|
+
export { default as AdminProfileForm } from './pages/AdminProfileForm.vue';
|
|
30
|
+
export type { ProfileFormValue } from './pages/AdminProfileForm.vue';
|
|
31
|
+
export { default as AdminPasswordForm } from './pages/AdminPasswordForm.vue';
|
|
32
|
+
export { default as AdminSecuritySettings } from './pages/AdminSecuritySettings.vue';
|
|
33
|
+
export type { SecuritySettingItem } from './pages/AdminSecuritySettings.vue';
|
|
34
|
+
export { default as AdminErrorLogView } from './pages/AdminErrorLogView.vue';
|
|
35
|
+
export { default as AdminAboutView } from './pages/AdminAboutView.vue';
|
|
36
|
+
export type { ProfileTab } from './pages/AdminProfileTabs.vue';
|
|
37
|
+
export type { AdminErrorEntry } from './pages/AdminErrorLogView.vue';
|
|
38
|
+
export { default as AgentAttachmentList } from './agent/AgentAttachmentList.vue';
|
|
39
|
+
export { default as AgentModelSelect } from './agent/AgentModelSelect.vue';
|
|
40
|
+
export { default as AgentComposer } from './agent/AgentComposer.vue';
|
|
41
|
+
export { default as AgentApprovalCard } from './agent/AgentApprovalCard.vue';
|
|
42
|
+
export type { AgentAttachment, AgentModel, AgentApproval } from './agent/types';
|
|
43
|
+
export { default as AdminTabs } from './tabs/AdminTabs.vue';
|
|
44
|
+
export { closeTabs, nextActiveTab } from './tabs/actions';
|
|
45
|
+
export type { AdminTab, AdminTabLabels, TabCloseAction } from './tabs/types';
|
|
46
|
+
export { default as SettingsPanel } from './settings/SettingsPanel.vue';
|
|
47
|
+
export { default as AdminSettingsDrawer } from './settings/AdminSettingsDrawer.vue';
|
|
48
|
+
export type { SettingField, SettingOption, SettingSection, SettingValue } from './settings/types';
|
|
49
|
+
export { createAppProviderContext, useAppProviderContext, appProviderKey } from './application/useAppContext';
|
|
50
|
+
export type { AppProviderContext } from './application/useAppContext';
|