@oinone/kunlun-vue-admin-layout 6.4.9 → 7.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/dist/oinone-kunlun-vue-admin-layout.css +1 -1
- package/dist/oinone-kunlun-vue-admin-layout.esm.js +12 -12101
- package/dist/oinone-kunlun-vue-admin-layout.scss +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/src/basic/MaskWidget.d.ts +17 -17
- package/dist/types/src/basic/index.d.ts +2 -2
- package/dist/types/src/basic/register/index.d.ts +1 -1
- package/dist/types/src/basic/register/manager.d.ts +7 -7
- package/dist/types/src/basic/token/BaseMaskWidget.d.ts +55 -55
- package/dist/types/src/basic/token/index.d.ts +1 -1
- package/dist/types/src/component/app-switcher/AppSwitcher.vue.d.ts +87 -84
- package/dist/types/src/component/app-switcher/AppSwitcherMask.vue.d.ts +63 -61
- package/dist/types/src/component/app-switcher/AppSwitcherWidget.d.ts +33 -33
- package/dist/types/src/component/app-switcher/index.d.ts +3 -3
- package/dist/types/src/component/breadcrumb/BreadcrumbWidget.d.ts +33 -33
- package/dist/types/src/component/breadcrumb/DefaultBreadcrumb.vue.d.ts +1199 -58
- package/dist/types/src/component/breadcrumb/index.d.ts +2 -2
- package/dist/types/src/component/debug/Debug.vue.d.ts +13 -11
- package/dist/types/src/component/debug/DebugWidget.d.ts +8 -8
- package/dist/types/src/component/debug/constants.d.ts +2 -2
- package/dist/types/src/component/debug/index.d.ts +7 -7
- package/dist/types/src/component/debug/spi/DebugRouterInitializeService.d.ts +4 -4
- package/dist/types/src/component/debug/spi/index.d.ts +1 -1
- package/dist/types/src/component/debug/typing.d.ts +159 -159
- package/dist/types/src/component/debug/util.d.ts +16 -16
- package/dist/types/src/component/debug/view/DebugMainView.vue.d.ts +32 -28
- package/dist/types/src/component/debug/view/DebugMainViewWidget.d.ts +10 -10
- package/dist/types/src/component/debug/view/debug-api/DebugApiWidget.d.ts +32 -32
- package/dist/types/src/component/debug/view/debug-utils.d.ts +44 -44
- package/dist/types/src/component/debug/view/debug-view/DebugViewWidget.d.ts +26 -26
- package/dist/types/src/component/debug/view/index.d.ts +5 -5
- package/dist/types/src/component/debug/view/service/DebugRuntimeContextService.d.ts +18 -18
- package/dist/types/src/component/debug/view/service/DebugStackInfoService.d.ts +27 -27
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugDefaultRuntimeContextService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeActionService.d.ts +7 -7
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeDslService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeFieldService.d.ts +7 -7
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeLayoutService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeMaskService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeTemplateService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeViewService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugBizStackService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugConfigureService.d.ts +4 -4
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugDefaultStackInfoService.d.ts +8 -8
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugExceptionStackService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugFunctionService.d.ts +4 -4
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugHalfBizStackService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugModelService.d.ts +4 -4
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugPureBizStackService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugStacktraceGqlRequestContextService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugStacktraceSceneAnalysisService.d.ts +7 -7
- package/dist/types/src/component/debug/view/service/impl/stack-info/DebugStacktraceSessionService.d.ts +6 -6
- package/dist/types/src/component/debug/view/service/index.d.ts +20 -20
- package/dist/types/src/component/debug/view/storage.d.ts +19 -19
- package/dist/types/src/component/debug/view/useDebugRequestInfo.d.ts +7 -7
- package/dist/types/src/component/divider/Divider.vue.d.ts +88 -2
- package/dist/types/src/component/divider/DividerWidget.d.ts +4 -4
- package/dist/types/src/component/divider/index.d.ts +1 -1
- package/dist/types/src/component/index.d.ts +14 -14
- package/dist/types/src/component/language/DefaultLanguage.vue.d.ts +1850 -34
- package/dist/types/src/component/language/LanguageWidget.d.ts +16 -16
- package/dist/types/src/component/language/index.d.ts +1 -1
- package/dist/types/src/component/layout/BaseMaskLayoutWidget.d.ts +4 -4
- package/dist/types/src/component/layout/MaskBlock.vue.d.ts +24 -24
- package/dist/types/src/component/layout/block/MaskBlockWidget.d.ts +4 -4
- package/dist/types/src/component/layout/block/index.d.ts +1 -1
- package/dist/types/src/component/layout/container/MaskContainerWidget.d.ts +4 -4
- package/dist/types/src/component/layout/container/index.d.ts +1 -1
- package/dist/types/src/component/layout/content/MaskContentWidget.d.ts +7 -7
- package/dist/types/src/component/layout/content/index.d.ts +1 -1
- package/dist/types/src/component/layout/grid/Grid.vue.d.ts +2 -2
- package/dist/types/src/component/layout/grid/GridWidget.d.ts +9 -9
- package/dist/types/src/component/layout/grid/index.d.ts +1 -1
- package/dist/types/src/component/layout/header/MaskHeaderWidget.d.ts +4 -4
- package/dist/types/src/component/layout/header/index.d.ts +1 -1
- package/dist/types/src/component/layout/index.d.ts +9 -9
- package/dist/types/src/component/layout/mask/MaskRootWidget.d.ts +4 -4
- package/dist/types/src/component/layout/mask/index.d.ts +1 -1
- package/dist/types/src/component/layout/sidebar/MaskSidebarWidget.d.ts +10 -10
- package/dist/types/src/component/layout/sidebar/index.d.ts +1 -1
- package/dist/types/src/component/layout/widget/MaskCommonWidget.d.ts +14 -14
- package/dist/types/src/component/layout/widget/index.d.ts +1 -1
- package/dist/types/src/component/menu/DefaultMenu.vue.d.ts +1130 -115
- package/dist/types/src/component/menu/DefaultSubMenu.vue.d.ts +122 -17
- package/dist/types/src/component/menu/MenuWidget.d.ts +71 -71
- package/dist/types/src/component/menu/index.d.ts +3 -3
- package/dist/types/src/component/multi-tabs/MultiTabs.vue.d.ts +553 -151
- package/dist/types/src/component/multi-tabs/MultiTabsWidget.d.ts +60 -60
- package/dist/types/src/component/multi-tabs/index.d.ts +2 -2
- package/dist/types/src/component/multi-tabs/typing.d.ts +6 -6
- package/dist/types/src/component/notification/DefaultNotification.vue.d.ts +1533 -61
- package/dist/types/src/component/notification/NotificationWidget.d.ts +139 -139
- package/dist/types/src/component/notification/index.d.ts +2 -2
- package/dist/types/src/component/order-statistic/OrderStatistic.vue.d.ts +6 -8
- package/dist/types/src/component/order-statistic/index.d.ts +14 -14
- package/dist/types/src/component/partner-switcher/PartnerSwitcher.vue.d.ts +428 -28
- package/dist/types/src/component/partner-switcher/PartnerSwitcherWidget.d.ts +15 -15
- package/dist/types/src/component/partner-switcher/index.d.ts +6 -6
- package/dist/types/src/component/partner-switcher/service/PartnerSwitcherService.d.ts +17 -17
- package/dist/types/src/component/partner-switcher/service/impl/PartnerSwitcherServiceImpl.d.ts +17 -17
- package/dist/types/src/component/partner-switcher/service/index.d.ts +2 -2
- package/dist/types/src/component/partner-switcher/session/PartnerInfoSession.d.ts +26 -26
- package/dist/types/src/component/partner-switcher/session/impl/DefaultPartnerInfoSession.d.ts +15 -15
- package/dist/types/src/component/partner-switcher/session/index.d.ts +2 -2
- package/dist/types/src/component/partner-switcher/spi/PartnerSwitcherMaskEditor.d.ts +6 -6
- package/dist/types/src/component/partner-switcher/spi/index.d.ts +1 -1
- package/dist/types/src/component/partner-switcher/typing/index.d.ts +1 -1
- package/dist/types/src/component/partner-switcher/typing/partner.d.ts +20 -20
- package/dist/types/src/component/quick-search/QuickSearch.vue.d.ts +2545 -29
- package/dist/types/src/component/quick-search/index.d.ts +24 -24
- package/dist/types/src/component/user/DefaultUser.vue.d.ts +35 -39
- package/dist/types/src/component/user/UserWidget.d.ts +18 -16
- package/dist/types/src/component/user/index.d.ts +2 -1
- package/dist/types/src/config/DebugConfig.d.ts +16 -16
- package/dist/types/src/config/PartnerSwitcherConfig.d.ts +16 -16
- package/dist/types/src/config/index.d.ts +2 -2
- package/dist/types/src/index.d.ts +10 -10
- package/dist/types/src/service/index.d.ts +5 -5
- package/dist/types/src/service/menu-service.d.ts +12 -12
- package/dist/types/src/service/message-service.d.ts +16 -16
- package/dist/types/src/service/module-service.d.ts +12 -12
- package/dist/types/src/service/top-bar-service.d.ts +11 -10
- package/dist/types/src/service/user-service.d.ts +4 -4
- package/dist/types/src/spi/index.d.ts +1 -1
- package/dist/types/src/spi/mask-editor.d.ts +59 -54
- package/dist/types/src/tags/Block.vue.d.ts +5 -5
- package/dist/types/src/tags/Breadcrumb.vue.d.ts +5 -5
- package/dist/types/src/tags/Container.vue.d.ts +5 -5
- package/dist/types/src/tags/Content.vue.d.ts +5 -5
- package/dist/types/src/tags/Header.vue.d.ts +5 -5
- package/dist/types/src/tags/Mask.vue.d.ts +5 -5
- package/dist/types/src/tags/MultiTabs.vue.d.ts +5 -5
- package/dist/types/src/tags/Sidebar.vue.d.ts +5 -5
- package/dist/types/src/tags/Widget.vue.d.ts +5 -5
- package/dist/types/src/tags/context/context.d.ts +8 -8
- package/dist/types/src/tags/context/index.d.ts +1 -1
- package/dist/types/src/tags/index.d.ts +6 -6
- package/dist/types/src/tags/mixin/MaskWidgetTagMixin.d.ts +2 -2
- package/dist/types/src/tags/mixin/index.d.ts +3 -3
- package/dist/types/src/tags/mixin/typing.d.ts +6 -6
- package/dist/types/src/tags/mixin/use-mask-widget-tag.d.ts +38 -38
- package/dist/types/src/tags/register/index.d.ts +1 -1
- package/dist/types/src/tags/register/manager.d.ts +9 -9
- package/dist/types/src/tags/resolve/index.d.ts +2 -2
- package/dist/types/src/tags/resolve/internal/index.d.ts +2 -2
- package/dist/types/src/tags/resolve/internal/typing.d.ts +5 -5
- package/dist/types/src/tags/resolve/internal/widget-resolve.d.ts +3 -3
- package/dist/types/src/tags/resolve/typing.d.ts +26 -26
- package/dist/types/src/tags/resolve/widget-resolve.d.ts +5 -5
- package/dist/types/src/template/default-mask.d.ts +2 -2
- package/dist/types/src/template/index.d.ts +6 -6
- package/dist/types/src/theme/index.d.ts +1 -1
- package/dist/types/src/typing/constant.d.ts +1 -1
- package/dist/types/src/typing/index.d.ts +3 -3
- package/dist/types/src/typing/menu.d.ts +12 -12
- package/dist/types/src/typing/stream-symble.d.ts +12 -12
- package/dist/types/src/util/HomepageUtils.d.ts +3 -3
- package/dist/types/src/util/MenuUtil.d.ts +5 -5
- package/dist/types/src/util/index.d.ts +3 -3
- package/dist/types/src/util/unauthorized-action.d.ts +14 -14
- package/dist/types/src/utils.d.ts +86 -86
- package/package.json +38 -27
- package/src/basic/MaskWidget.ts +3 -3
- package/src/basic/token/BaseMaskWidget.ts +8 -8
- package/src/component/app-switcher/AppSwitcher.vue +4 -4
- package/src/component/app-switcher/AppSwitcherMask.vue +8 -7
- package/src/component/app-switcher/AppSwitcherWidget.ts +4 -4
- package/src/component/breadcrumb/BreadcrumbWidget.ts +4 -4
- package/src/component/breadcrumb/DefaultBreadcrumb.vue +2 -2
- package/src/component/debug/Debug.vue +1 -1
- package/src/component/debug/spi/DebugMaskEditor.ts +8 -2
- package/src/component/debug/spi/DebugRouterInitializeService.ts +1 -1
- package/src/component/debug/typing.ts +1 -1
- package/src/component/debug/view/DebugMainView.vue +3 -3
- package/src/component/debug/view/DebugMainViewWidget.ts +1 -1
- package/src/component/debug/view/components/DebugDefaultInfo.vue +1 -1
- package/src/component/debug/view/components/DebugJsonView.vue +1 -1
- package/src/component/debug/view/components/DebugRequestInfoPanel.vue +12 -3
- package/src/component/debug/view/components/DebugResponsePanel.vue +2 -2
- package/src/component/debug/view/components/runtime-context/DebugRuntimeFieldComponent.vue +2 -2
- package/src/component/debug/view/debug-api/DebugApi.vue +3 -3
- package/src/component/debug/view/debug-api/DebugApiWidget.ts +1 -1
- package/src/component/debug/view/debug-utils.ts +2 -2
- package/src/component/debug/view/debug-view/DebugView.vue +4 -4
- package/src/component/debug/view/debug-view/DebugViewWidget.ts +6 -6
- package/src/component/debug/view/service/DebugRuntimeContextService.ts +2 -2
- package/src/component/debug/view/service/DebugStackInfoService.ts +1 -1
- package/src/component/debug/view/service/impl/runtime-context/DebugDefaultRuntimeContextService.ts +3 -3
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeActionService.ts +3 -3
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeDslService.ts +3 -3
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeFieldService.ts +3 -3
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeLayoutService.ts +3 -3
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeMaskService.ts +3 -3
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeTemplateService.ts +3 -3
- package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeViewService.ts +3 -3
- package/src/component/debug/view/service/impl/stack-info/DebugBizStackService.ts +2 -2
- package/src/component/debug/view/service/impl/stack-info/DebugConfigureService.ts +1 -1
- package/src/component/debug/view/service/impl/stack-info/DebugDefaultStackInfoService.ts +2 -2
- package/src/component/debug/view/service/impl/stack-info/DebugExceptionStackService.ts +2 -2
- package/src/component/debug/view/service/impl/stack-info/DebugFunctionService.ts +1 -1
- package/src/component/debug/view/service/impl/stack-info/DebugHalfBizStackService.ts +2 -2
- package/src/component/debug/view/service/impl/stack-info/DebugModelService.ts +1 -1
- package/src/component/debug/view/service/impl/stack-info/DebugPureBizStackService.ts +2 -2
- package/src/component/debug/view/service/impl/stack-info/DebugStacktraceGqlRequestContextService.ts +2 -2
- package/src/component/debug/view/service/impl/stack-info/DebugStacktraceSceneAnalysisService.ts +2 -2
- package/src/component/debug/view/service/impl/stack-info/DebugStacktraceSessionService.ts +2 -2
- package/src/component/debug/view/storage.ts +2 -2
- package/src/component/debug/view/useDebugRequestInfo.ts +1 -1
- package/src/component/language/DefaultLanguage.vue +2 -2
- package/src/component/language/LanguageWidget.ts +3 -3
- package/src/component/layout/BaseMaskLayoutWidget.ts +1 -1
- package/src/component/layout/MaskBlock.vue +2 -2
- package/src/component/layout/grid/GridWidget.ts +9 -7
- package/src/component/layout/widget/MaskCommonWidget.ts +4 -4
- package/src/component/menu/DefaultMenu.vue +3 -3
- package/src/component/menu/DefaultSubMenu.vue +2 -2
- package/src/component/menu/MenuWidget.ts +11 -5
- package/src/component/menu/style/common.scss +45 -0
- package/src/component/multi-tabs/MultiTabs.vue +9 -4
- package/src/component/multi-tabs/MultiTabsWidget.ts +7 -8
- package/src/component/multi-tabs/typing.ts +1 -1
- package/src/component/notification/DefaultNotification.vue +26 -28
- package/src/component/notification/NotificationWidget.ts +24 -23
- package/src/component/order-statistic/OrderStatistic.vue +1 -1
- package/src/component/partner-switcher/PartnerSwitcher.vue +2 -2
- package/src/component/partner-switcher/PartnerSwitcherWidget.ts +3 -3
- package/src/component/partner-switcher/service/PartnerSwitcherService.ts +1 -1
- package/src/component/partner-switcher/service/impl/PartnerSwitcherServiceImpl.ts +2 -2
- package/src/component/partner-switcher/session/PartnerInfoSession.ts +1 -1
- package/src/component/partner-switcher/session/impl/DefaultPartnerInfoSession.ts +2 -2
- package/src/component/partner-switcher/spi/PartnerSwitcherMaskEditor.ts +8 -2
- package/src/component/quick-search/index.ts +1 -1
- package/src/component/user/DefaultUser.vue +16 -12
- package/src/component/user/UserWidget.ts +24 -21
- package/src/component/user/index.ts +1 -0
- package/src/config/DebugConfig.ts +2 -2
- package/src/config/PartnerSwitcherConfig.ts +2 -2
- package/src/service/menu-service.ts +3 -3
- package/src/service/module-service.ts +3 -3
- package/src/service/top-bar-service.ts +6 -2
- package/src/service/user-service.ts +1 -1
- package/src/shim-translate.d.ts +5 -2
- package/src/spi/mask-editor.ts +7 -1
- package/src/tags/context/context.ts +1 -1
- package/src/tags/index.ts +1 -1
- package/src/tags/mixin/MaskWidgetTagMixin.ts +5 -5
- package/src/tags/mixin/typing.ts +1 -1
- package/src/tags/mixin/use-mask-widget-tag.ts +5 -5
- package/src/tags/register/manager.ts +2 -2
- package/src/tags/resolve/internal/typing.ts +1 -1
- package/src/tags/resolve/internal/widget-resolve.ts +4 -4
- package/src/tags/resolve/typing.ts +2 -2
- package/src/tags/resolve/widget-resolve.ts +2 -2
- package/src/template/index.ts +5 -5
- package/src/typing/menu.ts +1 -1
- package/src/util/HomepageUtils.ts +8 -7
- package/src/util/unauthorized-action.ts +8 -4
- package/src/utils.ts +8 -8
- package/dist/types/src/component/debug/spi/DebugMaskEditor.d.ts +0 -6
- package/dist/types/src/component/debug/view/components/DebugDefaultInfo.vue.d.ts +0 -22
- package/dist/types/src/component/debug/view/components/DebugJsonView.vue.d.ts +0 -29
- package/dist/types/src/component/debug/view/components/DebugRequestInfoPanel.vue.d.ts +0 -22
- package/dist/types/src/component/debug/view/components/DebugResponsePanel.vue.d.ts +0 -12
- package/dist/types/src/component/debug/view/debug-api/DebugApi.vue.d.ts +0 -62
- package/dist/types/src/component/debug/view/debug-view/DebugView.vue.d.ts +0 -78
- package/rollup.config.js +0 -33
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { RuntimeContext, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
2
|
-
import { DebugRequestInfo } from '../typing';
|
|
3
|
-
import { DebugInfoStorage } from './storage';
|
|
4
|
-
export declare class DebugUtils {
|
|
5
|
-
static generatorDownloadRequestInfo(requestInfo: DebugRequestInfo | undefined, responseData: string | undefined): {
|
|
6
|
-
decodeURL: string;
|
|
7
|
-
header: string | undefined;
|
|
8
|
-
gqlInfos: {
|
|
9
|
-
variables: string | undefined;
|
|
10
|
-
key: string;
|
|
11
|
-
title: string;
|
|
12
|
-
gql: string;
|
|
13
|
-
handledExceptions?: import("
|
|
14
|
-
}[] | undefined;
|
|
15
|
-
functions: {
|
|
16
|
-
responseData: string | undefined;
|
|
17
|
-
key: string;
|
|
18
|
-
gqlIndex: number;
|
|
19
|
-
method: import("
|
|
20
|
-
namespace: string;
|
|
21
|
-
name: string;
|
|
22
|
-
args?: string[]
|
|
23
|
-
}[] | undefined;
|
|
24
|
-
responseData: string | undefined;
|
|
25
|
-
url?: string
|
|
26
|
-
debugUrl?: string
|
|
27
|
-
method?: string
|
|
28
|
-
allDuration?: number
|
|
29
|
-
connectDuration?: number
|
|
30
|
-
requestDuration?: number
|
|
31
|
-
responseDuration?: number
|
|
32
|
-
errorCode?: string
|
|
33
|
-
errorMessage?: string
|
|
34
|
-
handledExceptions?: import("
|
|
35
|
-
};
|
|
36
|
-
static downloadJSON(data: string, filename: string): void;
|
|
37
|
-
static parseJSON: (data: string | undefined, defaultValue: string) => string | Record<string, unknown> | Record<string, unknown>[];
|
|
38
|
-
static toJSONObject: (data: unknown) => any;
|
|
39
|
-
static toJSONString(data: unknown): string;
|
|
40
|
-
static runtimeContextToJSONString(runtimeContext: RuntimeContext): string;
|
|
41
|
-
static simplifyRuntimeContext(runtimeContext: RuntimeContext): RuntimeContext;
|
|
42
|
-
static getDebugStorage(): DebugInfoStorage;
|
|
43
|
-
static getPageParameters(): ViewActionQueryParameter | undefined;
|
|
44
|
-
}
|
|
1
|
+
import type { RuntimeContext, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
2
|
+
import type { DebugRequestInfo } from '../typing';
|
|
3
|
+
import { DebugInfoStorage } from './storage';
|
|
4
|
+
export declare class DebugUtils {
|
|
5
|
+
static generatorDownloadRequestInfo(requestInfo: DebugRequestInfo | undefined, responseData: string | undefined): {
|
|
6
|
+
decodeURL: string;
|
|
7
|
+
header: string | undefined;
|
|
8
|
+
gqlInfos: {
|
|
9
|
+
variables: string | undefined;
|
|
10
|
+
key: string;
|
|
11
|
+
title: string;
|
|
12
|
+
gql: string;
|
|
13
|
+
handledExceptions?: import("..").DebugErrorPanel[];
|
|
14
|
+
}[] | undefined;
|
|
15
|
+
functions: {
|
|
16
|
+
responseData: string | undefined;
|
|
17
|
+
key: string;
|
|
18
|
+
gqlIndex: number;
|
|
19
|
+
method: import("graphql").OperationTypeNode;
|
|
20
|
+
namespace: string;
|
|
21
|
+
name: string;
|
|
22
|
+
args?: string[];
|
|
23
|
+
}[] | undefined;
|
|
24
|
+
responseData: string | undefined;
|
|
25
|
+
url?: string;
|
|
26
|
+
debugUrl?: string;
|
|
27
|
+
method?: string;
|
|
28
|
+
allDuration?: number;
|
|
29
|
+
connectDuration?: number;
|
|
30
|
+
requestDuration?: number;
|
|
31
|
+
responseDuration?: number;
|
|
32
|
+
errorCode?: string;
|
|
33
|
+
errorMessage?: string;
|
|
34
|
+
handledExceptions?: import("..").DebugErrorPanel[];
|
|
35
|
+
};
|
|
36
|
+
static downloadJSON(data: string, filename: string): void;
|
|
37
|
+
static parseJSON: (data: string | undefined, defaultValue: string) => string | Record<string, unknown> | Record<string, unknown>[];
|
|
38
|
+
static toJSONObject: (data: unknown) => any;
|
|
39
|
+
static toJSONString(data: unknown): string;
|
|
40
|
+
static runtimeContextToJSONString(runtimeContext: RuntimeContext): string;
|
|
41
|
+
static simplifyRuntimeContext(runtimeContext: RuntimeContext): RuntimeContext;
|
|
42
|
+
static getDebugStorage(): DebugInfoStorage;
|
|
43
|
+
static getPageParameters(): ViewActionQueryParameter | undefined;
|
|
44
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { RuntimeContext, RuntimeViewAction, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
2
|
-
import { Router } from '@oinone/kunlun-router';
|
|
3
|
-
import { VueWidget } from '@oinone/kunlun-vue-widget';
|
|
4
|
-
import { DebugErrorPanel } from '../../typing';
|
|
5
|
-
import { DebugInfoStorage } from '../storage';
|
|
6
|
-
export declare class DebugViewWidget extends VueWidget {
|
|
7
|
-
protected router: Router;
|
|
8
|
-
initialize(props: any): this;
|
|
9
|
-
protected activeDebugTab?: string;
|
|
10
|
-
private pageParameters;
|
|
11
|
-
private viewAction;
|
|
12
|
-
private module;
|
|
13
|
-
private menus;
|
|
14
|
-
private runtimeContextPanels;
|
|
15
|
-
private runtimeContext;
|
|
16
|
-
onRefresh(): Promise<void>;
|
|
17
|
-
protected resolveViewAction(page: ViewActionQueryParameter): Promise<boolean>;
|
|
18
|
-
protected resolveModule(page: ViewActionQueryParameter): Promise<boolean>;
|
|
19
|
-
protected resolveMenu(page: ViewActionQueryParameter): Promise<boolean>;
|
|
20
|
-
protected resolveDsl(viewAction: RuntimeViewAction): void;
|
|
21
|
-
protected resolveRuntimeContext(runtimeContextPanels: DebugErrorPanel[], runtimeContext: RuntimeContext): void;
|
|
22
|
-
protected resolvePageParameters(page: ViewActionQueryParameter): Promise<void>;
|
|
23
|
-
protected onStorageUpdate: (storage: DebugInfoStorage) => Promise<void>;
|
|
24
|
-
protected mounted(): Promise<void>;
|
|
25
|
-
protected unmounted(): void;
|
|
26
|
-
}
|
|
1
|
+
import { type RuntimeContext, type RuntimeViewAction, type ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
2
|
+
import { Router } from '@oinone/kunlun-router';
|
|
3
|
+
import { VueWidget } from '@oinone/kunlun-vue-widget';
|
|
4
|
+
import type { DebugErrorPanel } from '../../typing';
|
|
5
|
+
import { DebugInfoStorage } from '../storage';
|
|
6
|
+
export declare class DebugViewWidget extends VueWidget {
|
|
7
|
+
protected router: Router;
|
|
8
|
+
initialize(props: any): this;
|
|
9
|
+
protected activeDebugTab?: string;
|
|
10
|
+
private pageParameters;
|
|
11
|
+
private viewAction;
|
|
12
|
+
private module;
|
|
13
|
+
private menus;
|
|
14
|
+
private runtimeContextPanels;
|
|
15
|
+
private runtimeContext;
|
|
16
|
+
onRefresh(): Promise<void>;
|
|
17
|
+
protected resolveViewAction(page: ViewActionQueryParameter): Promise<boolean>;
|
|
18
|
+
protected resolveModule(page: ViewActionQueryParameter): Promise<boolean>;
|
|
19
|
+
protected resolveMenu(page: ViewActionQueryParameter): Promise<boolean>;
|
|
20
|
+
protected resolveDsl(viewAction: RuntimeViewAction): void;
|
|
21
|
+
protected resolveRuntimeContext(runtimeContextPanels: DebugErrorPanel[], runtimeContext: RuntimeContext): void;
|
|
22
|
+
protected resolvePageParameters(page: ViewActionQueryParameter): Promise<void>;
|
|
23
|
+
protected onStorageUpdate: (storage: DebugInfoStorage) => Promise<void>;
|
|
24
|
+
protected mounted(): Promise<void>;
|
|
25
|
+
protected unmounted(): void;
|
|
26
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './service';
|
|
2
|
-
export * from './useDebugRequestInfo';
|
|
3
|
-
export * from './debug-utils';
|
|
4
|
-
export * from './DebugMainViewWidget';
|
|
5
|
-
export { default as DebugMainView } from './DebugMainView.vue';
|
|
1
|
+
export * from './service';
|
|
2
|
+
export * from './useDebugRequestInfo';
|
|
3
|
+
export * from './debug-utils';
|
|
4
|
+
export * from './DebugMainViewWidget';
|
|
5
|
+
export { default as DebugMainView } from './DebugMainView.vue';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
-
import { ServiceIdentifier } from '@oinone/kunlun-spi';
|
|
3
|
-
import { DebugErrorAnalysisResult } from '../../typing';
|
|
4
|
-
/**
|
|
5
|
-
* 调试运行时上下文异常分析服务
|
|
6
|
-
*/
|
|
7
|
-
export interface DebugRuntimeContextService {
|
|
8
|
-
/**
|
|
9
|
-
* 异常分析
|
|
10
|
-
* @param runtimeContext 运行时上下文
|
|
11
|
-
* @return 错误面板信息
|
|
12
|
-
*/
|
|
13
|
-
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* 调试运行时上下文异常分析服务Token
|
|
17
|
-
*/
|
|
18
|
-
export declare const DebugRuntimeContextServiceToken: ServiceIdentifier<DebugRuntimeContextService>;
|
|
1
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
+
import { ServiceIdentifier } from '@oinone/kunlun-spi';
|
|
3
|
+
import type { DebugErrorAnalysisResult } from '../../typing';
|
|
4
|
+
/**
|
|
5
|
+
* 调试运行时上下文异常分析服务
|
|
6
|
+
*/
|
|
7
|
+
export interface DebugRuntimeContextService {
|
|
8
|
+
/**
|
|
9
|
+
* 异常分析
|
|
10
|
+
* @param runtimeContext 运行时上下文
|
|
11
|
+
* @return 错误面板信息
|
|
12
|
+
*/
|
|
13
|
+
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 调试运行时上下文异常分析服务Token
|
|
17
|
+
*/
|
|
18
|
+
export declare const DebugRuntimeContextServiceToken: ServiceIdentifier<DebugRuntimeContextService>;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { ServiceIdentifier } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../typing';
|
|
3
|
-
/**
|
|
4
|
-
* 调试异常分析服务
|
|
5
|
-
*/
|
|
6
|
-
export interface DebugStackInfoService {
|
|
7
|
-
/**
|
|
8
|
-
* 异常分析
|
|
9
|
-
* @param error 当前异常信息
|
|
10
|
-
* @param errors 全部异常信息
|
|
11
|
-
* @return 错误面板信息
|
|
12
|
-
*/
|
|
13
|
-
analysis(error: DebugResponseError, errors: DebugResponseError[]): DebugErrorAnalysisResult | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* 解析栈信息
|
|
16
|
-
* @param error 当前异常信息
|
|
17
|
-
* @param errors 全部异常信息
|
|
18
|
-
*/
|
|
19
|
-
parseStackInfo(error: DebugResponseError, errors: DebugResponseError[]): unknown;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* 调试异常分析服务Token
|
|
23
|
-
*/
|
|
24
|
-
export declare const DebugStackInfoServiceToken: ServiceIdentifier<DebugStackInfoService>;
|
|
25
|
-
export declare const DebugDefaultStackInfoServiceType = "__default__";
|
|
26
|
-
export declare const DebugUnhandledExceptionTitle = "\u672A\u89E3\u6790\u5F02\u5E38";
|
|
27
|
-
export declare const DebugUnhandledExceptionMessage = "\u6240\u6709\u672A\u7ECF\u89E3\u6790\u5904\u7406\u7684\u5F02\u5E38\u4FE1\u606F";
|
|
1
|
+
import { ServiceIdentifier } from '@oinone/kunlun-spi';
|
|
2
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../typing';
|
|
3
|
+
/**
|
|
4
|
+
* 调试异常分析服务
|
|
5
|
+
*/
|
|
6
|
+
export interface DebugStackInfoService {
|
|
7
|
+
/**
|
|
8
|
+
* 异常分析
|
|
9
|
+
* @param error 当前异常信息
|
|
10
|
+
* @param errors 全部异常信息
|
|
11
|
+
* @return 错误面板信息
|
|
12
|
+
*/
|
|
13
|
+
analysis(error: DebugResponseError, errors: DebugResponseError[]): DebugErrorAnalysisResult | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* 解析栈信息
|
|
16
|
+
* @param error 当前异常信息
|
|
17
|
+
* @param errors 全部异常信息
|
|
18
|
+
*/
|
|
19
|
+
parseStackInfo(error: DebugResponseError, errors: DebugResponseError[]): unknown;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* 调试异常分析服务Token
|
|
23
|
+
*/
|
|
24
|
+
export declare const DebugStackInfoServiceToken: ServiceIdentifier<DebugStackInfoService>;
|
|
25
|
+
export declare const DebugDefaultStackInfoServiceType = "__default__";
|
|
26
|
+
export declare const DebugUnhandledExceptionTitle = "\u672A\u89E3\u6790\u5F02\u5E38";
|
|
27
|
+
export declare const DebugUnhandledExceptionMessage = "\u6240\u6709\u672A\u7ECF\u89E3\u6790\u5904\u7406\u7684\u5F02\u5E38\u4FE1\u606F";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
-
import { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
-
import { DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
-
export declare class DebugDefaultRuntimeContextService implements DebugRuntimeContextService {
|
|
5
|
-
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
+
import type { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
+
import { type DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
+
export declare class DebugDefaultRuntimeContextService implements DebugRuntimeContextService {
|
|
5
|
+
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
-
import { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
-
import { DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
-
export declare class DebugRuntimeActionService implements DebugRuntimeContextService {
|
|
5
|
-
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
protected simplifyActions(runtimeContext: RuntimeContext): any;
|
|
7
|
-
}
|
|
1
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
+
import type { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
+
import { type DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
+
export declare class DebugRuntimeActionService implements DebugRuntimeContextService {
|
|
5
|
+
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
protected simplifyActions(runtimeContext: RuntimeContext): any;
|
|
7
|
+
}
|
package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeDslService.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
-
import { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
-
import { DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
-
export declare class DebugRuntimeDslService implements DebugRuntimeContextService {
|
|
5
|
-
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
+
import type { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
+
import { type DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
+
export declare class DebugRuntimeDslService implements DebugRuntimeContextService {
|
|
5
|
+
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
-
import { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
-
import { DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
-
export declare class DebugRuntimeFieldService implements DebugRuntimeContextService {
|
|
5
|
-
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
protected simplifyFields(runtimeContext: RuntimeContext): any;
|
|
7
|
-
}
|
|
1
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
+
import type { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
+
import { type DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
+
export declare class DebugRuntimeFieldService implements DebugRuntimeContextService {
|
|
5
|
+
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
protected simplifyFields(runtimeContext: RuntimeContext): any;
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
-
import { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
-
import { DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
-
export declare class DebugRuntimeLayoutService implements DebugRuntimeContextService {
|
|
5
|
-
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
+
import type { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
+
import { type DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
+
export declare class DebugRuntimeLayoutService implements DebugRuntimeContextService {
|
|
5
|
+
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
-
import { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
-
import { DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
-
export declare class DebugRuntimeMaskService implements DebugRuntimeContextService {
|
|
5
|
-
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import { type RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
+
import type { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
+
import { type DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
+
export declare class DebugRuntimeMaskService implements DebugRuntimeContextService {
|
|
5
|
+
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
-
import { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
-
import { DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
-
export declare class DebugRuntimeTemplateService implements DebugRuntimeContextService {
|
|
5
|
-
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
+
import type { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
+
import { type DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
+
export declare class DebugRuntimeTemplateService implements DebugRuntimeContextService {
|
|
5
|
+
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
-
import { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
-
import { DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
-
export declare class DebugRuntimeViewService implements DebugRuntimeContextService {
|
|
5
|
-
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
|
+
import type { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
+
import { type DebugRuntimeContextService } from '../../DebugRuntimeContextService';
|
|
4
|
+
export declare class DebugRuntimeViewService implements DebugRuntimeContextService {
|
|
5
|
+
analysis(runtimeContext: RuntimeContext): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
package/dist/types/src/component/debug/view/service/impl/stack-info/DebugBizStackService.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
-
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
-
export declare class DebugBizStackService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
-
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
+
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
+
export declare class DebugBizStackService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
+
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
package/dist/types/src/component/debug/view/service/impl/stack-info/DebugConfigureService.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
2
|
-
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
3
|
-
export declare class DebugConfigureService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
4
|
-
}
|
|
1
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
2
|
+
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
3
|
+
export declare class DebugConfigureService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
4
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
-
export declare class DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
4
|
-
analysis(error: DebugResponseError, errors: DebugResponseError[]): DebugErrorAnalysisResult | undefined;
|
|
5
|
-
parseStackInfo(error: DebugResponseError, errors: DebugResponseError[]): Record<string, unknown> | undefined;
|
|
6
|
-
protected getStackInfo(error: DebugResponseError): string | undefined;
|
|
7
|
-
protected beautifyJSON(stackInfo: unknown): string;
|
|
8
|
-
}
|
|
1
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
+
export declare class DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
4
|
+
analysis(error: DebugResponseError, errors: DebugResponseError[]): DebugErrorAnalysisResult | undefined;
|
|
5
|
+
parseStackInfo(error: DebugResponseError, errors: DebugResponseError[]): Record<string, unknown> | undefined;
|
|
6
|
+
protected getStackInfo(error: DebugResponseError): string | undefined;
|
|
7
|
+
protected beautifyJSON(stackInfo: unknown): string;
|
|
8
|
+
}
|
package/dist/types/src/component/debug/view/service/impl/stack-info/DebugExceptionStackService.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
-
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
-
export declare class DebugExceptionStackService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
-
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
+
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
+
export declare class DebugExceptionStackService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
+
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
package/dist/types/src/component/debug/view/service/impl/stack-info/DebugFunctionService.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
2
|
-
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
3
|
-
export declare class DebugFunctionService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
4
|
-
}
|
|
1
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
2
|
+
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
3
|
+
export declare class DebugFunctionService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
4
|
+
}
|
package/dist/types/src/component/debug/view/service/impl/stack-info/DebugHalfBizStackService.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
-
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
-
export declare class DebugHalfPureBizStackService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
-
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
+
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
+
export declare class DebugHalfPureBizStackService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
+
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
2
|
-
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
3
|
-
export declare class DebugModelService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
4
|
-
}
|
|
1
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
2
|
+
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
3
|
+
export declare class DebugModelService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
4
|
+
}
|
package/dist/types/src/component/debug/view/service/impl/stack-info/DebugPureBizStackService.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
-
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
-
export declare class DebugPureBizStackService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
-
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
+
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
+
export declare class DebugPureBizStackService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
+
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
-
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
-
export declare class DebugStacktraceGqlRequestContextService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
-
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
+
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
+
export declare class DebugStacktraceGqlRequestContextService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
+
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
-
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
-
export declare class DebugStacktraceSceneAnalysisService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
-
analysis(error: DebugResponseError, errors: DebugResponseError[]): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
protected getTitle(error: DebugResponseError): string | undefined;
|
|
7
|
-
}
|
|
1
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
+
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
+
export declare class DebugStacktraceSceneAnalysisService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
+
analysis(error: DebugResponseError, errors: DebugResponseError[]): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
protected getTitle(error: DebugResponseError): string | undefined;
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
-
import { DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
-
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
-
export declare class DebugStacktraceSessionService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
-
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
-
}
|
|
1
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
2
|
+
import { type DebugStackInfoService } from '../../DebugStackInfoService';
|
|
3
|
+
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
|
+
export declare class DebugStacktraceSessionService extends DebugDefaultStackInfoService implements DebugStackInfoService {
|
|
5
|
+
analysis(error: DebugResponseError): DebugErrorAnalysisResult | undefined;
|
|
6
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export * from './DebugStackInfoService';
|
|
2
|
-
export * from './impl/runtime-context/DebugDefaultRuntimeContextService';
|
|
3
|
-
export * from './impl/runtime-context/DebugRuntimeActionService';
|
|
4
|
-
export * from './impl/runtime-context/DebugRuntimeDslService';
|
|
5
|
-
export * from './impl/runtime-context/DebugRuntimeFieldService';
|
|
6
|
-
export * from './impl/runtime-context/DebugRuntimeLayoutService';
|
|
7
|
-
export * from './impl/runtime-context/DebugRuntimeMaskService';
|
|
8
|
-
export * from './impl/runtime-context/DebugRuntimeTemplateService';
|
|
9
|
-
export * from './impl/runtime-context/DebugRuntimeViewService';
|
|
10
|
-
export * from './impl/stack-info/DebugBizStackService';
|
|
11
|
-
export * from './impl/stack-info/DebugConfigureService';
|
|
12
|
-
export * from './impl/stack-info/DebugDefaultStackInfoService';
|
|
13
|
-
export * from './impl/stack-info/DebugExceptionStackService';
|
|
14
|
-
export * from './impl/stack-info/DebugFunctionService';
|
|
15
|
-
export * from './impl/stack-info/DebugHalfBizStackService';
|
|
16
|
-
export * from './impl/stack-info/DebugModelService';
|
|
17
|
-
export * from './impl/stack-info/DebugPureBizStackService';
|
|
18
|
-
export * from './impl/stack-info/DebugStacktraceGqlRequestContextService';
|
|
19
|
-
export * from './impl/stack-info/DebugStacktraceSceneAnalysisService';
|
|
20
|
-
export * from './impl/stack-info/DebugStacktraceSessionService';
|
|
1
|
+
export * from './DebugStackInfoService';
|
|
2
|
+
export * from './impl/runtime-context/DebugDefaultRuntimeContextService';
|
|
3
|
+
export * from './impl/runtime-context/DebugRuntimeActionService';
|
|
4
|
+
export * from './impl/runtime-context/DebugRuntimeDslService';
|
|
5
|
+
export * from './impl/runtime-context/DebugRuntimeFieldService';
|
|
6
|
+
export * from './impl/runtime-context/DebugRuntimeLayoutService';
|
|
7
|
+
export * from './impl/runtime-context/DebugRuntimeMaskService';
|
|
8
|
+
export * from './impl/runtime-context/DebugRuntimeTemplateService';
|
|
9
|
+
export * from './impl/runtime-context/DebugRuntimeViewService';
|
|
10
|
+
export * from './impl/stack-info/DebugBizStackService';
|
|
11
|
+
export * from './impl/stack-info/DebugConfigureService';
|
|
12
|
+
export * from './impl/stack-info/DebugDefaultStackInfoService';
|
|
13
|
+
export * from './impl/stack-info/DebugExceptionStackService';
|
|
14
|
+
export * from './impl/stack-info/DebugFunctionService';
|
|
15
|
+
export * from './impl/stack-info/DebugHalfBizStackService';
|
|
16
|
+
export * from './impl/stack-info/DebugModelService';
|
|
17
|
+
export * from './impl/stack-info/DebugPureBizStackService';
|
|
18
|
+
export * from './impl/stack-info/DebugStacktraceGqlRequestContextService';
|
|
19
|
+
export * from './impl/stack-info/DebugStacktraceSceneAnalysisService';
|
|
20
|
+
export * from './impl/stack-info/DebugStacktraceSessionService';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { RuntimeContext, RuntimeViewAction, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
2
|
-
import { StandardEventManager } from '@oinone/kunlun-shared';
|
|
3
|
-
import { DebugRequestInfo } from '../typing';
|
|
4
|
-
declare enum EventKeys {
|
|
5
|
-
'update' = "update"
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export declare class DebugInfoStorage extends StandardEventManager<typeof EventKeys> {
|
|
9
|
-
static INSTANCE: DebugInfoStorage;
|
|
10
|
-
pageParameters?: ViewActionQueryParameter;
|
|
11
|
-
viewAction?: RuntimeViewAction;
|
|
12
|
-
requestInfo?: DebugRequestInfo;
|
|
13
|
-
responseData?: string;
|
|
14
|
-
runtimeContext?: RuntimeContext;
|
|
15
|
-
forceUpdate(): void;
|
|
16
|
-
onUpdate(fn: UpdateEventHandler): void;
|
|
17
|
-
clearOnUpdate(fn: UpdateEventHandler): void;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
1
|
+
import type { RuntimeContext, RuntimeViewAction, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
2
|
+
import { StandardEventManager } from '@oinone/kunlun-shared';
|
|
3
|
+
import type { DebugRequestInfo } from '../typing';
|
|
4
|
+
declare enum EventKeys {
|
|
5
|
+
'update' = "update"
|
|
6
|
+
}
|
|
7
|
+
type UpdateEventHandler = (storage: DebugInfoStorage) => void;
|
|
8
|
+
export declare class DebugInfoStorage extends StandardEventManager<typeof EventKeys> {
|
|
9
|
+
static INSTANCE: DebugInfoStorage;
|
|
10
|
+
pageParameters?: ViewActionQueryParameter;
|
|
11
|
+
viewAction?: RuntimeViewAction;
|
|
12
|
+
requestInfo?: DebugRequestInfo;
|
|
13
|
+
responseData?: string;
|
|
14
|
+
runtimeContext?: RuntimeContext;
|
|
15
|
+
forceUpdate(): void;
|
|
16
|
+
onUpdate(fn: UpdateEventHandler): void;
|
|
17
|
+
clearOnUpdate(fn: UpdateEventHandler): void;
|
|
18
|
+
}
|
|
19
|
+
export {};
|