@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,2 +1,2 @@
|
|
|
1
|
-
export { default as DefaultBreadcrumb } from './DefaultBreadcrumb.vue';
|
|
2
|
-
export * from './BreadcrumbWidget';
|
|
1
|
+
export { default as DefaultBreadcrumb } from './DefaultBreadcrumb.vue';
|
|
2
|
+
export * from './BreadcrumbWidget';
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
onClick: {
|
|
4
|
-
type: PropType<() => void>;
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
onClick: {
|
|
8
|
-
type: PropType<() => void>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
onClick: {
|
|
4
|
+
type: PropType<() => void>;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
onClick: {
|
|
8
|
+
type: PropType<() => void>;
|
|
9
|
+
};
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
11
|
+
OioButton: any;
|
|
12
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Router } from '@oinone/kunlun-router';
|
|
2
|
-
import { MaskWidget } from '../../basic';
|
|
3
|
-
export declare class DebugWidget extends MaskWidget {
|
|
4
|
-
protected router: Router;
|
|
5
|
-
initialize(props: any): this;
|
|
6
|
-
onClick(): void;
|
|
7
|
-
protected beforeCreated(): void;
|
|
8
|
-
}
|
|
1
|
+
import { Router } from '@oinone/kunlun-router';
|
|
2
|
+
import { MaskWidget } from '../../basic';
|
|
3
|
+
export declare class DebugWidget extends MaskWidget {
|
|
4
|
+
protected router: Router;
|
|
5
|
+
initialize(props: any): this;
|
|
6
|
+
onClick(): void;
|
|
7
|
+
protected beforeCreated(): void;
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const DEBUG_ROUTER = "debug";
|
|
2
|
-
export declare const DEBUG_VIEW_WIDGET = "Debug";
|
|
1
|
+
export declare const DEBUG_ROUTER = "debug";
|
|
2
|
+
export declare const DEBUG_VIEW_WIDGET = "Debug";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './spi';
|
|
2
|
-
export * from './view';
|
|
3
|
-
export * from './constants';
|
|
4
|
-
export * from './typing';
|
|
5
|
-
export * from './util';
|
|
6
|
-
export * from './DebugWidget';
|
|
7
|
-
export { default as Debug } from './Debug.vue';
|
|
1
|
+
export * from './spi';
|
|
2
|
+
export * from './view';
|
|
3
|
+
export * from './constants';
|
|
4
|
+
export * from './typing';
|
|
5
|
+
export * from './util';
|
|
6
|
+
export * from './DebugWidget';
|
|
7
|
+
export { default as Debug } from './Debug.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FrameworkInitializeService, OioProviderProps } from '@oinone/kunlun-engine';
|
|
2
|
-
export declare class DebugRouterInitializeService implements FrameworkInitializeService {
|
|
3
|
-
before(props: OioProviderProps): void;
|
|
4
|
-
}
|
|
1
|
+
import { type FrameworkInitializeService, type OioProviderProps } from '@oinone/kunlun-engine';
|
|
2
|
+
export declare class DebugRouterInitializeService implements FrameworkInitializeService {
|
|
3
|
+
before(props: OioProviderProps): void;
|
|
4
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './DebugRouterInitializeService';
|
|
1
|
+
export * from './DebugRouterInitializeService';
|
|
@@ -1,159 +1,159 @@
|
|
|
1
|
-
import { ILevel } from '@oinone/kunlun-request';
|
|
2
|
-
import { OperationTypeNode } from 'graphql';
|
|
3
|
-
import { Component } from 'vue';
|
|
4
|
-
export interface DebugFetchRequest {
|
|
5
|
-
url: string;
|
|
6
|
-
body: RequestInit;
|
|
7
|
-
level: number;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
export interface DebugErrorPanel {
|
|
11
|
-
key: string;
|
|
12
|
-
title: string;
|
|
13
|
-
message?: string;
|
|
14
|
-
stackInfo?: string;
|
|
15
|
-
component?: Component;
|
|
16
|
-
}
|
|
17
|
-
export
|
|
18
|
-
export interface DebugRequestFunction {
|
|
19
|
-
key: string;
|
|
20
|
-
gqlIndex: number;
|
|
21
|
-
method: OperationTypeNode;
|
|
22
|
-
namespace: string;
|
|
23
|
-
name: string;
|
|
24
|
-
args?: string[];
|
|
25
|
-
responseData?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface DebugRequestGraphQLInfo {
|
|
28
|
-
/**
|
|
29
|
-
* key
|
|
30
|
-
*/
|
|
31
|
-
key: string;
|
|
32
|
-
/**
|
|
33
|
-
* tab title
|
|
34
|
-
*/
|
|
35
|
-
title: string;
|
|
36
|
-
/**
|
|
37
|
-
* gql
|
|
38
|
-
*/
|
|
39
|
-
gql: string;
|
|
40
|
-
/**
|
|
41
|
-
* variables
|
|
42
|
-
*/
|
|
43
|
-
variables?: string;
|
|
44
|
-
/**
|
|
45
|
-
* 已处理异常
|
|
46
|
-
*/
|
|
47
|
-
handledExceptions?: DebugErrorPanel[];
|
|
48
|
-
}
|
|
49
|
-
export interface DebugRequestGQLBody {
|
|
50
|
-
operationName?: string;
|
|
51
|
-
query?: string;
|
|
52
|
-
variables?: Record<string, unknown>;
|
|
53
|
-
}
|
|
54
|
-
export interface DebugRequestInfo {
|
|
55
|
-
/**
|
|
56
|
-
* 请求URL
|
|
57
|
-
*/
|
|
58
|
-
url?: string;
|
|
59
|
-
/**
|
|
60
|
-
* debug请求URL
|
|
61
|
-
*/
|
|
62
|
-
debugUrl?: string;
|
|
63
|
-
/**
|
|
64
|
-
* 请求方式
|
|
65
|
-
*/
|
|
66
|
-
method?: string;
|
|
67
|
-
/**
|
|
68
|
-
* 请求函数
|
|
69
|
-
*/
|
|
70
|
-
functions?: DebugRequestFunction[];
|
|
71
|
-
/**
|
|
72
|
-
* 完整请求时间
|
|
73
|
-
*/
|
|
74
|
-
allDuration?: number;
|
|
75
|
-
/**
|
|
76
|
-
* 连接时间
|
|
77
|
-
*/
|
|
78
|
-
connectDuration?: number;
|
|
79
|
-
/**
|
|
80
|
-
* 请求时间
|
|
81
|
-
*/
|
|
82
|
-
requestDuration?: number;
|
|
83
|
-
/**
|
|
84
|
-
* 响应时间
|
|
85
|
-
*/
|
|
86
|
-
responseDuration?: number;
|
|
87
|
-
/**
|
|
88
|
-
* 异常编码
|
|
89
|
-
*/
|
|
90
|
-
errorCode?: string;
|
|
91
|
-
/**
|
|
92
|
-
* 异常信息
|
|
93
|
-
*/
|
|
94
|
-
errorMessage?: string;
|
|
95
|
-
/**
|
|
96
|
-
* 请求头
|
|
97
|
-
*/
|
|
98
|
-
header?: string;
|
|
99
|
-
/**
|
|
100
|
-
* GraphQL信息
|
|
101
|
-
*/
|
|
102
|
-
gqlInfos?: DebugRequestGraphQLInfo[];
|
|
103
|
-
/**
|
|
104
|
-
* 已处理异常
|
|
105
|
-
*/
|
|
106
|
-
handledExceptions?: DebugErrorPanel[];
|
|
107
|
-
}
|
|
108
|
-
export interface DebugFetchResponse {
|
|
109
|
-
data?: string | null;
|
|
110
|
-
hint?: string | null;
|
|
111
|
-
}
|
|
112
|
-
export interface DebugResponseData {
|
|
113
|
-
data: {
|
|
114
|
-
[namespace: string]: {
|
|
115
|
-
[name: string]: unknown;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
errors?: DebugResponseError[];
|
|
119
|
-
extensions?: {
|
|
120
|
-
debug?: DebugResponseError[];
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
export interface DebugResponseError {
|
|
124
|
-
message?: string;
|
|
125
|
-
extensions?: {
|
|
126
|
-
errorCode?: string;
|
|
127
|
-
errorType?: string;
|
|
128
|
-
extra?: string;
|
|
129
|
-
level?: ILevel;
|
|
130
|
-
messages?: {
|
|
131
|
-
level?: ILevel;
|
|
132
|
-
errorType?: string;
|
|
133
|
-
errorCode?: string;
|
|
134
|
-
message?: string;
|
|
135
|
-
}[];
|
|
136
|
-
extend?: string;
|
|
137
|
-
stackTraceKey?: string;
|
|
138
|
-
stackTraceMsg?: string;
|
|
139
|
-
classification?: string;
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
export interface DebugFieldWidgetGroup {
|
|
143
|
-
model: string;
|
|
144
|
-
fields: DebugFieldWidget[];
|
|
145
|
-
}
|
|
146
|
-
export interface DebugFieldWidget {
|
|
147
|
-
dsl: string;
|
|
148
|
-
}
|
|
149
|
-
export declare const DebugInfoProps: {
|
|
150
|
-
title: {
|
|
151
|
-
type: StringConstructor;
|
|
152
|
-
};
|
|
153
|
-
message: {
|
|
154
|
-
type: StringConstructor;
|
|
155
|
-
};
|
|
156
|
-
stackInfo: {
|
|
157
|
-
type: StringConstructor;
|
|
158
|
-
};
|
|
159
|
-
};
|
|
1
|
+
import { ILevel } from '@oinone/kunlun-request';
|
|
2
|
+
import { OperationTypeNode } from 'graphql';
|
|
3
|
+
import type { Component } from 'vue';
|
|
4
|
+
export interface DebugFetchRequest {
|
|
5
|
+
url: string;
|
|
6
|
+
body: RequestInit;
|
|
7
|
+
level: number;
|
|
8
|
+
}
|
|
9
|
+
export type RequestResolveResult = Omit<DebugFetchRequest, 'level'>;
|
|
10
|
+
export interface DebugErrorPanel {
|
|
11
|
+
key: string;
|
|
12
|
+
title: string;
|
|
13
|
+
message?: string;
|
|
14
|
+
stackInfo?: string;
|
|
15
|
+
component?: Component;
|
|
16
|
+
}
|
|
17
|
+
export type DebugErrorAnalysisResult = Omit<DebugErrorPanel, 'key'> & Record<string, unknown>;
|
|
18
|
+
export interface DebugRequestFunction {
|
|
19
|
+
key: string;
|
|
20
|
+
gqlIndex: number;
|
|
21
|
+
method: OperationTypeNode;
|
|
22
|
+
namespace: string;
|
|
23
|
+
name: string;
|
|
24
|
+
args?: string[];
|
|
25
|
+
responseData?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface DebugRequestGraphQLInfo {
|
|
28
|
+
/**
|
|
29
|
+
* key
|
|
30
|
+
*/
|
|
31
|
+
key: string;
|
|
32
|
+
/**
|
|
33
|
+
* tab title
|
|
34
|
+
*/
|
|
35
|
+
title: string;
|
|
36
|
+
/**
|
|
37
|
+
* gql
|
|
38
|
+
*/
|
|
39
|
+
gql: string;
|
|
40
|
+
/**
|
|
41
|
+
* variables
|
|
42
|
+
*/
|
|
43
|
+
variables?: string;
|
|
44
|
+
/**
|
|
45
|
+
* 已处理异常
|
|
46
|
+
*/
|
|
47
|
+
handledExceptions?: DebugErrorPanel[];
|
|
48
|
+
}
|
|
49
|
+
export interface DebugRequestGQLBody {
|
|
50
|
+
operationName?: string;
|
|
51
|
+
query?: string;
|
|
52
|
+
variables?: Record<string, unknown>;
|
|
53
|
+
}
|
|
54
|
+
export interface DebugRequestInfo {
|
|
55
|
+
/**
|
|
56
|
+
* 请求URL
|
|
57
|
+
*/
|
|
58
|
+
url?: string;
|
|
59
|
+
/**
|
|
60
|
+
* debug请求URL
|
|
61
|
+
*/
|
|
62
|
+
debugUrl?: string;
|
|
63
|
+
/**
|
|
64
|
+
* 请求方式
|
|
65
|
+
*/
|
|
66
|
+
method?: string;
|
|
67
|
+
/**
|
|
68
|
+
* 请求函数
|
|
69
|
+
*/
|
|
70
|
+
functions?: DebugRequestFunction[];
|
|
71
|
+
/**
|
|
72
|
+
* 完整请求时间
|
|
73
|
+
*/
|
|
74
|
+
allDuration?: number;
|
|
75
|
+
/**
|
|
76
|
+
* 连接时间
|
|
77
|
+
*/
|
|
78
|
+
connectDuration?: number;
|
|
79
|
+
/**
|
|
80
|
+
* 请求时间
|
|
81
|
+
*/
|
|
82
|
+
requestDuration?: number;
|
|
83
|
+
/**
|
|
84
|
+
* 响应时间
|
|
85
|
+
*/
|
|
86
|
+
responseDuration?: number;
|
|
87
|
+
/**
|
|
88
|
+
* 异常编码
|
|
89
|
+
*/
|
|
90
|
+
errorCode?: string;
|
|
91
|
+
/**
|
|
92
|
+
* 异常信息
|
|
93
|
+
*/
|
|
94
|
+
errorMessage?: string;
|
|
95
|
+
/**
|
|
96
|
+
* 请求头
|
|
97
|
+
*/
|
|
98
|
+
header?: string;
|
|
99
|
+
/**
|
|
100
|
+
* GraphQL信息
|
|
101
|
+
*/
|
|
102
|
+
gqlInfos?: DebugRequestGraphQLInfo[];
|
|
103
|
+
/**
|
|
104
|
+
* 已处理异常
|
|
105
|
+
*/
|
|
106
|
+
handledExceptions?: DebugErrorPanel[];
|
|
107
|
+
}
|
|
108
|
+
export interface DebugFetchResponse {
|
|
109
|
+
data?: string | null;
|
|
110
|
+
hint?: string | null;
|
|
111
|
+
}
|
|
112
|
+
export interface DebugResponseData {
|
|
113
|
+
data: {
|
|
114
|
+
[namespace: string]: {
|
|
115
|
+
[name: string]: unknown;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
errors?: DebugResponseError[];
|
|
119
|
+
extensions?: {
|
|
120
|
+
debug?: DebugResponseError[];
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
export interface DebugResponseError {
|
|
124
|
+
message?: string;
|
|
125
|
+
extensions?: {
|
|
126
|
+
errorCode?: string;
|
|
127
|
+
errorType?: string;
|
|
128
|
+
extra?: string;
|
|
129
|
+
level?: ILevel;
|
|
130
|
+
messages?: {
|
|
131
|
+
level?: ILevel;
|
|
132
|
+
errorType?: string;
|
|
133
|
+
errorCode?: string;
|
|
134
|
+
message?: string;
|
|
135
|
+
}[];
|
|
136
|
+
extend?: string;
|
|
137
|
+
stackTraceKey?: string;
|
|
138
|
+
stackTraceMsg?: string;
|
|
139
|
+
classification?: string;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
export interface DebugFieldWidgetGroup {
|
|
143
|
+
model: string;
|
|
144
|
+
fields: DebugFieldWidget[];
|
|
145
|
+
}
|
|
146
|
+
export interface DebugFieldWidget {
|
|
147
|
+
dsl: string;
|
|
148
|
+
}
|
|
149
|
+
export declare const DebugInfoProps: {
|
|
150
|
+
title: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
};
|
|
153
|
+
message: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
};
|
|
156
|
+
stackInfo: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
interface ILoadScriptOption {
|
|
2
|
-
id?: string;
|
|
3
|
-
async?: boolean;
|
|
4
|
-
crossorigin?: string;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* 动态加载一个外部 JavaScript 脚本
|
|
8
|
-
* @param {string} src - 脚本的 URL
|
|
9
|
-
* @param {Object} [options] - 可选配置
|
|
10
|
-
* @param {string} [options.id] - 给 script 标签设置 id(避免重复加载)
|
|
11
|
-
* @param {boolean} [options.async=true] - 是否异步加载
|
|
12
|
-
* @param {string} [options.crossorigin] - CORS 设置,如 'anonymous'
|
|
13
|
-
* @returns {Promise<void>} 加载成功则 resolve,失败则 reject
|
|
14
|
-
*/
|
|
15
|
-
export declare function loadScript(src: string, options?: string | ILoadScriptOption): Promise<void>;
|
|
16
|
-
export {};
|
|
1
|
+
interface ILoadScriptOption {
|
|
2
|
+
id?: string;
|
|
3
|
+
async?: boolean;
|
|
4
|
+
crossorigin?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* 动态加载一个外部 JavaScript 脚本
|
|
8
|
+
* @param {string} src - 脚本的 URL
|
|
9
|
+
* @param {Object} [options] - 可选配置
|
|
10
|
+
* @param {string} [options.id] - 给 script 标签设置 id(避免重复加载)
|
|
11
|
+
* @param {boolean} [options.async=true] - 是否异步加载
|
|
12
|
+
* @param {string} [options.crossorigin] - CORS 设置,如 'anonymous'
|
|
13
|
+
* @returns {Promise<void>} 加载成功则 resolve,失败则 reject
|
|
14
|
+
*/
|
|
15
|
+
export declare function loadScript(src: string, options?: string | ILoadScriptOption): Promise<void>;
|
|
16
|
+
export {};
|
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import 'vue-json-pretty/lib/styles.css';
|
|
3
|
-
import { DebugResponseData } from '../typing';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
activeDebugTab: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
};
|
|
8
|
-
changeActiveDebugTab: {
|
|
9
|
-
type: FunctionConstructor;
|
|
10
|
-
};
|
|
11
|
-
responseAnalysis: {
|
|
12
|
-
type: PropType<(responseBody: DebugResponseData | DebugResponseData[]) => Promise<string>>;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
onDownload: () => void;
|
|
16
|
-
onImport: () => void;
|
|
17
|
-
},
|
|
18
|
-
activeDebugTab: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
};
|
|
21
|
-
changeActiveDebugTab: {
|
|
22
|
-
type: FunctionConstructor;
|
|
23
|
-
};
|
|
24
|
-
responseAnalysis: {
|
|
25
|
-
type: PropType<(responseBody: DebugResponseData | DebugResponseData[]) => Promise<string>>;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import 'vue-json-pretty/lib/styles.css';
|
|
3
|
+
import { type DebugResponseData } from '../typing';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
activeDebugTab: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
changeActiveDebugTab: {
|
|
9
|
+
type: FunctionConstructor;
|
|
10
|
+
};
|
|
11
|
+
responseAnalysis: {
|
|
12
|
+
type: PropType<(responseBody: DebugResponseData | DebugResponseData[]) => Promise<string>>;
|
|
13
|
+
};
|
|
14
|
+
}>, {
|
|
15
|
+
onDownload: () => void;
|
|
16
|
+
onImport: () => void;
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
activeDebugTab: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
};
|
|
21
|
+
changeActiveDebugTab: {
|
|
22
|
+
type: FunctionConstructor;
|
|
23
|
+
};
|
|
24
|
+
responseAnalysis: {
|
|
25
|
+
type: PropType<(responseBody: DebugResponseData | DebugResponseData[]) => Promise<string>>;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
28
|
+
OioButton: any;
|
|
29
|
+
OioTabs: any;
|
|
30
|
+
OioTab: any;
|
|
31
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RouterWidget } from '@oinone/kunlun-vue-router';
|
|
2
|
-
import { DebugResponseData } from '../typing';
|
|
3
|
-
export declare class DebugMainViewWidget extends RouterWidget {
|
|
4
|
-
initialize(props: any): this;
|
|
5
|
-
protected activeDebugTab: string;
|
|
6
|
-
protected changeActiveDebugTab(activeDebugTab: string): void;
|
|
7
|
-
protected responseAnalysis(responseBody: DebugResponseData | DebugResponseData[]): Promise<void>;
|
|
8
|
-
protected created(): void;
|
|
9
|
-
protected mounted(): void;
|
|
10
|
-
}
|
|
1
|
+
import { RouterWidget } from '@oinone/kunlun-vue-router';
|
|
2
|
+
import type { DebugResponseData } from '../typing';
|
|
3
|
+
export declare class DebugMainViewWidget extends RouterWidget {
|
|
4
|
+
initialize(props: any): this;
|
|
5
|
+
protected activeDebugTab: string;
|
|
6
|
+
protected changeActiveDebugTab(activeDebugTab: string): void;
|
|
7
|
+
protected responseAnalysis(responseBody: DebugResponseData | DebugResponseData[]): Promise<void>;
|
|
8
|
+
protected created(): void;
|
|
9
|
+
protected mounted(): void;
|
|
10
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { VueWidget } from '@oinone/kunlun-vue-widget';
|
|
2
|
-
import { DebugErrorPanel, DebugFetchRequest, DebugFetchResponse, DebugRequestFunction, DebugRequestGQLBody, DebugRequestGraphQLInfo, DebugRequestInfo, DebugResponseData, RequestResolveResult } from '../../typing';
|
|
3
|
-
import { DebugInfoStorage } from '../storage';
|
|
4
|
-
export declare class DebugApiWidget extends VueWidget {
|
|
5
|
-
private performanceObserver?;
|
|
6
|
-
initialize(props: any): this;
|
|
7
|
-
protected activeDebugTab?: string;
|
|
8
|
-
private requestInfo;
|
|
9
|
-
private responseData;
|
|
10
|
-
resetInfo(): void;
|
|
11
|
-
resolveRequestData(data: string): RequestResolveResult | undefined;
|
|
12
|
-
request(fetchObject: DebugFetchRequest): Promise<DebugFetchResponse | undefined>;
|
|
13
|
-
protected requestAnalysis(fetchObject: DebugFetchRequest): Promise<Response>;
|
|
14
|
-
protected gqlAnalysis(body: DebugRequestGQLBody | DebugRequestGQLBody[]): {
|
|
15
|
-
gqlInfos: DebugRequestGraphQLInfo[];
|
|
16
|
-
functions: DebugRequestFunction[];
|
|
17
|
-
};
|
|
18
|
-
responseAnalysis(responseBody: DebugResponseData | DebugResponseData[]): Promise<string>;
|
|
19
|
-
protected resolveResponseError(requestInfo: DebugRequestInfo, responseBody: DebugResponseData): void;
|
|
20
|
-
protected resolveResponseDebug(requestInfo: {
|
|
21
|
-
handledExceptions?: DebugErrorPanel[];
|
|
22
|
-
}, responseBody: DebugResponseData): void;
|
|
23
|
-
protected generatorRequestInfoByResponse(responseBody: DebugResponseData | DebugResponseData[]): DebugRequestInfo | undefined;
|
|
24
|
-
protected requestSuccess(data: string): {
|
|
25
|
-
data: string;
|
|
26
|
-
hint: null;
|
|
27
|
-
};
|
|
28
|
-
protected requestError(message: string): DebugFetchResponse;
|
|
29
|
-
protected onStorageUpdate: (storage: DebugInfoStorage) => void;
|
|
30
|
-
protected mounted(): void;
|
|
31
|
-
protected unmounted(): void;
|
|
32
|
-
}
|
|
1
|
+
import { VueWidget } from '@oinone/kunlun-vue-widget';
|
|
2
|
+
import type { DebugErrorPanel, DebugFetchRequest, DebugFetchResponse, DebugRequestFunction, DebugRequestGQLBody, DebugRequestGraphQLInfo, DebugRequestInfo, DebugResponseData, RequestResolveResult } from '../../typing';
|
|
3
|
+
import { DebugInfoStorage } from '../storage';
|
|
4
|
+
export declare class DebugApiWidget extends VueWidget {
|
|
5
|
+
private performanceObserver?;
|
|
6
|
+
initialize(props: any): this;
|
|
7
|
+
protected activeDebugTab?: string;
|
|
8
|
+
private requestInfo;
|
|
9
|
+
private responseData;
|
|
10
|
+
resetInfo(): void;
|
|
11
|
+
resolveRequestData(data: string): RequestResolveResult | undefined;
|
|
12
|
+
request(fetchObject: DebugFetchRequest): Promise<DebugFetchResponse | undefined>;
|
|
13
|
+
protected requestAnalysis(fetchObject: DebugFetchRequest): Promise<Response>;
|
|
14
|
+
protected gqlAnalysis(body: DebugRequestGQLBody | DebugRequestGQLBody[]): {
|
|
15
|
+
gqlInfos: DebugRequestGraphQLInfo[];
|
|
16
|
+
functions: DebugRequestFunction[];
|
|
17
|
+
};
|
|
18
|
+
responseAnalysis(responseBody: DebugResponseData | DebugResponseData[]): Promise<string>;
|
|
19
|
+
protected resolveResponseError(requestInfo: DebugRequestInfo, responseBody: DebugResponseData): void;
|
|
20
|
+
protected resolveResponseDebug(requestInfo: {
|
|
21
|
+
handledExceptions?: DebugErrorPanel[];
|
|
22
|
+
}, responseBody: DebugResponseData): void;
|
|
23
|
+
protected generatorRequestInfoByResponse(responseBody: DebugResponseData | DebugResponseData[]): DebugRequestInfo | undefined;
|
|
24
|
+
protected requestSuccess(data: string): {
|
|
25
|
+
data: string;
|
|
26
|
+
hint: null;
|
|
27
|
+
};
|
|
28
|
+
protected requestError(message: string): DebugFetchResponse;
|
|
29
|
+
protected onStorageUpdate: (storage: DebugInfoStorage) => void;
|
|
30
|
+
protected mounted(): void;
|
|
31
|
+
protected unmounted(): void;
|
|
32
|
+
}
|