@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,8 +1,8 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
1
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
2
|
import { SPI } from '@oinone/kunlun-spi';
|
|
3
|
-
import { DebugErrorAnalysisResult } from '../../../../typing';
|
|
3
|
+
import type { DebugErrorAnalysisResult } from '../../../../typing';
|
|
4
4
|
import { DebugUtils } from '../../../debug-utils';
|
|
5
|
-
import { DebugRuntimeContextService, DebugRuntimeContextServiceToken } from '../../DebugRuntimeContextService';
|
|
5
|
+
import { type DebugRuntimeContextService, DebugRuntimeContextServiceToken } from '../../DebugRuntimeContextService';
|
|
6
6
|
|
|
7
7
|
@SPI.Service(DebugRuntimeContextServiceToken, { priority: 30 })
|
|
8
8
|
export class DebugRuntimeViewService implements DebugRuntimeContextService {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
-
import { DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
2
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
+
import { type DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
4
4
|
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
5
5
|
|
|
6
6
|
@SPI.Service(DebugStackInfoServiceToken, { name: 'bizStack', priority: 0 })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
2
|
+
import { type DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
3
3
|
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
4
|
|
|
5
5
|
@SPI.Service(DebugStackInfoServiceToken, { name: 'configure', priority: 0 })
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
2
|
import { isArray } from 'lodash-es';
|
|
3
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
4
4
|
import { DebugUtils } from '../../../debug-utils';
|
|
5
5
|
import {
|
|
6
6
|
DebugDefaultStackInfoServiceType,
|
|
7
|
-
DebugStackInfoService,
|
|
7
|
+
type DebugStackInfoService,
|
|
8
8
|
DebugStackInfoServiceToken,
|
|
9
9
|
DebugUnhandledExceptionTitle
|
|
10
10
|
} from '../../DebugStackInfoService';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
-
import { DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
2
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
+
import { type DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
4
4
|
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
5
5
|
|
|
6
6
|
@SPI.Service(DebugStackInfoServiceToken, { name: 'exception', priority: 0 })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
2
|
+
import { type DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
3
3
|
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
4
|
|
|
5
5
|
@SPI.Service(DebugStackInfoServiceToken, { name: 'function', priority: 0 })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
-
import { DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
2
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
+
import { type DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
4
4
|
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
5
5
|
|
|
6
6
|
@SPI.Service(DebugStackInfoServiceToken, { name: 'halfPureBizStack', priority: 0 })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
2
|
+
import { type DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
3
3
|
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
4
4
|
|
|
5
5
|
@SPI.Service(DebugStackInfoServiceToken, { name: 'model', priority: 0 })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
-
import { DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
2
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
+
import { type DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
4
4
|
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
5
5
|
|
|
6
6
|
@SPI.Service(DebugStackInfoServiceToken, { name: 'pureBizStack', priority: 0 })
|
package/src/component/debug/view/service/impl/stack-info/DebugStacktraceGqlRequestContextService.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
-
import { DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
2
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
+
import { type DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
4
4
|
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
5
5
|
|
|
6
6
|
@SPI.Service(DebugStackInfoServiceToken, { name: 'stacktraceGqlRequestContext', priority: 0 })
|
package/src/component/debug/view/service/impl/stack-info/DebugStacktraceSceneAnalysisService.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
-
import { DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
2
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
+
import { type DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
4
4
|
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
5
5
|
|
|
6
6
|
@SPI.Service(DebugStackInfoServiceToken, { name: 'stacktraceSceneAnalysis', priority: 0 })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SPI } from '@oinone/kunlun-spi';
|
|
2
|
-
import { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
-
import { DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
2
|
+
import type { DebugErrorAnalysisResult, DebugResponseError } from '../../../../typing';
|
|
3
|
+
import { type DebugStackInfoService, DebugStackInfoServiceToken } from '../../DebugStackInfoService';
|
|
4
4
|
import { DebugDefaultStackInfoService } from './DebugDefaultStackInfoService';
|
|
5
5
|
|
|
6
6
|
@SPI.Service(DebugStackInfoServiceToken, { name: 'stacktraceSession', priority: 0 })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RuntimeContext, RuntimeViewAction, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
1
|
+
import type { RuntimeContext, RuntimeViewAction, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
2
2
|
import { StandardEventManager } from '@oinone/kunlun-shared';
|
|
3
|
-
import { DebugRequestInfo } from '../typing';
|
|
3
|
+
import type { DebugRequestInfo } from '../typing';
|
|
4
4
|
|
|
5
5
|
enum EventKeys {
|
|
6
6
|
'update' = 'update'
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
import { CaretDownOutlined } from '@ant-design/icons-vue';
|
|
45
45
|
import { OioIcon } from '@oinone/kunlun-vue-ui-antd';
|
|
46
46
|
import { Dropdown as ADropdown, Menu as AMenu, MenuItem as AMenuItem } from 'ant-design-vue';
|
|
47
|
-
import { computed, defineComponent, PropType } from 'vue';
|
|
48
|
-
import { RuntimeLanguage, ZH_CN_CODE } from '@oinone/kunlun-vue-ui-common';
|
|
47
|
+
import { computed, defineComponent, type PropType } from 'vue';
|
|
48
|
+
import { type RuntimeLanguage, ZH_CN_CODE } from '@oinone/kunlun-vue-ui-common';
|
|
49
49
|
|
|
50
50
|
export default defineComponent({
|
|
51
51
|
name: 'DefaultLanguage',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ClearCache, CurrentLanguage, ReloadMaskCallChainingParameters } from '@oinone/kunlun-engine';
|
|
2
|
-
import { Matched, Router, useMatched } from '@oinone/kunlun-router';
|
|
1
|
+
import { ClearCache, CurrentLanguage, type ReloadMaskCallChainingParameters } from '@oinone/kunlun-engine';
|
|
2
|
+
import { type Matched, Router, useMatched } from '@oinone/kunlun-router';
|
|
3
3
|
import { SPI } from '@oinone/kunlun-spi';
|
|
4
4
|
import { useRouter } from '@oinone/kunlun-vue-router';
|
|
5
5
|
import { Widget } from '@oinone/kunlun-vue-widget';
|
|
6
|
-
import { EN_US_CODE, RuntimeLanguage, ZH_CN_CODE } from '@oinone/kunlun-vue-ui-common';
|
|
6
|
+
import { EN_US_CODE, type RuntimeLanguage, ZH_CN_CODE } from '@oinone/kunlun-vue-ui-common';
|
|
7
7
|
import { MaskWidget } from '../../basic';
|
|
8
8
|
import { TopBarService } from '../../service';
|
|
9
9
|
import DefaultLanguage from './DefaultLanguage.vue';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { CSSStyle } from '@oinone/kunlun-shared';
|
|
3
|
-
import { createVNode, defineComponent, PropType } from 'vue';
|
|
2
|
+
import type { CSSStyle } from '@oinone/kunlun-shared';
|
|
3
|
+
import { createVNode, defineComponent, type PropType } from 'vue';
|
|
4
4
|
|
|
5
5
|
export default defineComponent({
|
|
6
6
|
name: 'MaskBlock',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IGridWidgetProps } from '@oinone/kunlun-engine';
|
|
2
|
-
import { CSSStyle } from '@oinone/kunlun-shared';
|
|
1
|
+
import type { IGridWidgetProps } from '@oinone/kunlun-engine';
|
|
2
|
+
import type { CSSStyle } from '@oinone/kunlun-shared';
|
|
3
3
|
import { Widget } from '@oinone/kunlun-vue-widget';
|
|
4
4
|
import { MaskWidget } from '../../../basic';
|
|
5
5
|
import Grid from './Grid.vue';
|
|
@@ -37,13 +37,15 @@ export class GridWidget extends MaskWidget {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
// 比如网络一共12列,当前grid占据3列,那么就是 3 + 2,这样在网格中的位置才是对的
|
|
40
|
-
|
|
40
|
+
const colsNumber = Number(this.cols);
|
|
41
|
+
const columnIndexNumber = Number(_columnIndex);
|
|
42
|
+
if (!Number.isNaN(colsNumber) && !Number.isNaN(columnIndexNumber)) {
|
|
41
43
|
// 比如网络一共12列,当前grid占据12列,那么是 12 + 1,这样在网格中的位置才是对的
|
|
42
|
-
|
|
43
|
-
if (
|
|
44
|
-
_columnIndex =
|
|
44
|
+
const spanNumber = Number(span);
|
|
45
|
+
if (columnIndexNumber >= colsNumber || spanNumber + 2 >= colsNumber) {
|
|
46
|
+
_columnIndex = colsNumber + 1;
|
|
45
47
|
} else {
|
|
46
|
-
_columnIndex =
|
|
48
|
+
_columnIndex = spanNumber + 2;
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DslDefinition } from '@oinone/kunlun-dsl';
|
|
2
|
-
import { Constructor, StringHelper } from '@oinone/kunlun-shared';
|
|
1
|
+
import type { DslDefinition } from '@oinone/kunlun-dsl';
|
|
2
|
+
import { type Constructor, StringHelper } from '@oinone/kunlun-shared';
|
|
3
3
|
import { SPI } from '@oinone/kunlun-spi';
|
|
4
4
|
import { ViewWidget, Widget } from '@oinone/kunlun-vue-widget';
|
|
5
|
-
import { Slots, VNode } from 'vue';
|
|
6
|
-
import { BaseMaskWidget, BaseMaskWidgetProps, MaskWidget } from '../../../basic';
|
|
5
|
+
import type { Slots, VNode } from 'vue';
|
|
6
|
+
import { BaseMaskWidget, type BaseMaskWidgetProps, MaskWidget } from '../../../basic';
|
|
7
7
|
import { BaseMaskLayoutWidget } from '../BaseMaskLayoutWidget';
|
|
8
8
|
|
|
9
9
|
export interface MaskCommonWidgetProps extends BaseMaskWidgetProps {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<a-select
|
|
5
5
|
ref="menuSelectSearch"
|
|
6
6
|
class="oio-select"
|
|
7
|
-
|
|
7
|
+
popupClassName="default-menu-select-dropdown"
|
|
8
8
|
option-filter-prop="label"
|
|
9
9
|
allowClear
|
|
10
10
|
:placeholder="translateValueByKey('搜索菜单')"
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
import { translateValueByKey } from '@oinone/kunlun-engine';
|
|
81
81
|
import { OioIcon, OioSpin, TreeNode } from '@oinone/kunlun-vue-ui-antd';
|
|
82
82
|
import { Menu as AMenu, MenuItem as AMenuItem, Select as ASelect, SelectOption as ASelectOption } from 'ant-design-vue';
|
|
83
|
-
import { computed, defineComponent, nextTick, onMounted, PropType, ref, watch } from 'vue';
|
|
84
|
-
import { RuntimeMenu } from '../../typing';
|
|
83
|
+
import { computed, defineComponent, nextTick, onMounted, type PropType, ref, watch } from 'vue';
|
|
84
|
+
import type { RuntimeMenu } from '../../typing';
|
|
85
85
|
import DefaultSubMenu from './DefaultSubMenu.vue';
|
|
86
86
|
|
|
87
87
|
interface SelectMenuItemEvent {
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
</a-sub-menu>
|
|
38
38
|
</template>
|
|
39
39
|
<script lang="ts">
|
|
40
|
-
import { IMenu } from '@oinone/kunlun-meta';
|
|
40
|
+
import type { IMenu } from '@oinone/kunlun-meta';
|
|
41
41
|
import { TreeNode } from '@oinone/kunlun-shared';
|
|
42
42
|
import { OioIcon } from '@oinone/kunlun-vue-ui-antd';
|
|
43
43
|
import { MenuItem as AMenuItem, SubMenu as ASubMenu } from 'ant-design-vue';
|
|
44
|
-
import { defineComponent, PropType } from 'vue';
|
|
44
|
+
import { defineComponent, type PropType } from 'vue';
|
|
45
45
|
|
|
46
46
|
export default defineComponent({
|
|
47
47
|
name: 'DefaultSubMenu',
|
|
@@ -3,23 +3,29 @@ import {
|
|
|
3
3
|
executeUrlAction,
|
|
4
4
|
MultiTabsRuntimeManifestMergedConfigManager,
|
|
5
5
|
OioProvider,
|
|
6
|
-
ReloadMaskCallChainingParameters,
|
|
6
|
+
type ReloadMaskCallChainingParameters,
|
|
7
7
|
SideBarTheme,
|
|
8
8
|
systemMajorConfig,
|
|
9
9
|
translateValueByKey
|
|
10
10
|
} from '@oinone/kunlun-engine';
|
|
11
|
-
import { Expression, ExpressionRunParam } from '@oinone/kunlun-expression';
|
|
12
|
-
import {
|
|
11
|
+
import { Expression, type ExpressionRunParam } from '@oinone/kunlun-expression';
|
|
12
|
+
import {
|
|
13
|
+
ActionType,
|
|
14
|
+
type IServerAction,
|
|
15
|
+
type IURLAction,
|
|
16
|
+
type IViewAction,
|
|
17
|
+
ViewActionTarget
|
|
18
|
+
} from '@oinone/kunlun-meta';
|
|
13
19
|
import { Router, useMatched } from '@oinone/kunlun-router';
|
|
14
20
|
import { callFunction } from '@oinone/kunlun-service';
|
|
15
21
|
import { SPI } from '@oinone/kunlun-spi';
|
|
16
22
|
import { Subscription } from '@oinone/kunlun-state';
|
|
17
23
|
import { useRouter } from '@oinone/kunlun-vue-router';
|
|
18
24
|
import { OioMessage, TreeNode } from '@oinone/kunlun-vue-ui-antd';
|
|
19
|
-
import { Widget, WidgetBehaviorSubjection } from '@oinone/kunlun-vue-widget';
|
|
25
|
+
import { Widget, type WidgetBehaviorSubjection } from '@oinone/kunlun-vue-widget';
|
|
20
26
|
import { MaskWidget } from '../../basic';
|
|
21
27
|
import { MenuService } from '../../service';
|
|
22
|
-
import { MenuCollapsedSymbol, MenuUrlParameters, RuntimeMenu } from '../../typing';
|
|
28
|
+
import { MenuCollapsedSymbol, type MenuUrlParameters, type RuntimeMenu } from '../../typing';
|
|
23
29
|
import { maskCollapsed } from '../../util';
|
|
24
30
|
import DefaultMenu from './DefaultMenu.vue';
|
|
25
31
|
|
|
@@ -17,6 +17,7 @@ $main-width: var(--oio-menu-area-width);
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
width: $main-width;
|
|
20
|
+
|
|
20
21
|
.menu-search {
|
|
21
22
|
display: var(--oio-menu-search-display);
|
|
22
23
|
margin: var(--oio-margin) var(--oio-margin) var(--oio-margin-xs) var(--oio-margin);
|
|
@@ -71,6 +72,7 @@ $main-width: var(--oio-menu-area-width);
|
|
|
71
72
|
display: none;
|
|
72
73
|
scrollbar-width: 0;
|
|
73
74
|
}
|
|
75
|
+
|
|
74
76
|
&:hover {
|
|
75
77
|
overflow: hidden auto;
|
|
76
78
|
}
|
|
@@ -90,17 +92,21 @@ $main-width: var(--oio-menu-area-width);
|
|
|
90
92
|
&.collapsed {
|
|
91
93
|
.ant-menu-inline-collapsed {
|
|
92
94
|
margin-left: var(--oio-menu-collapsed-popup-margin-left);
|
|
95
|
+
|
|
93
96
|
.ant-menu-title-content span:not(.oio-icon) {
|
|
94
97
|
opacity: 0;
|
|
95
98
|
}
|
|
96
99
|
}
|
|
100
|
+
|
|
97
101
|
.ant-menu {
|
|
98
102
|
padding: var(--oio-menu-collapsed-popup-item-padding);
|
|
99
103
|
}
|
|
100
104
|
}
|
|
105
|
+
|
|
101
106
|
.ant-spin-nested-loading {
|
|
102
107
|
position: static;
|
|
103
108
|
}
|
|
109
|
+
|
|
104
110
|
.oio-spin {
|
|
105
111
|
top: 50%;
|
|
106
112
|
transform: translate(0, -50%);
|
|
@@ -126,6 +132,23 @@ $main-width: var(--oio-menu-area-width);
|
|
|
126
132
|
}
|
|
127
133
|
}
|
|
128
134
|
|
|
135
|
+
.ant-menu-light.ant-menu-root.ant-menu-inline,
|
|
136
|
+
.ant-menu-light.ant-menu-root.ant-menu-vertical {
|
|
137
|
+
border-inline-end: none;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.ant-menu-inline .ant-menu-item,
|
|
141
|
+
.ant-menu-inline .ant-menu-submenu-title {
|
|
142
|
+
width: calc(100% + 1px);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.ant-menu-inline .ant-menu-item,
|
|
146
|
+
.ant-menu-vertical .ant-menu-item,
|
|
147
|
+
.ant-menu-inline .ant-menu-submenu-title,
|
|
148
|
+
.ant-menu-vertical .ant-menu-submenu-title {
|
|
149
|
+
margin-inline: unset;
|
|
150
|
+
}
|
|
151
|
+
|
|
129
152
|
.oinone-menu {
|
|
130
153
|
border: none;
|
|
131
154
|
background-color: var(--oio-menu-background-color);
|
|
@@ -163,11 +186,13 @@ $main-width: var(--oio-menu-area-width);
|
|
|
163
186
|
font-weight: 500;
|
|
164
187
|
}
|
|
165
188
|
}
|
|
189
|
+
|
|
166
190
|
.ant-menu-submenu-active {
|
|
167
191
|
.ant-menu-submenu-title {
|
|
168
192
|
color: var(--oio-menu-active-parent-title-color) !important;
|
|
169
193
|
}
|
|
170
194
|
}
|
|
195
|
+
|
|
171
196
|
.ant-menu-inline .ant-menu-submenu {
|
|
172
197
|
margin-bottom: 0;
|
|
173
198
|
}
|
|
@@ -181,13 +206,16 @@ $main-width: var(--oio-menu-area-width);
|
|
|
181
206
|
.ant-menu-item {
|
|
182
207
|
line-height: var(--oio-menu-item-height);
|
|
183
208
|
height: var(--oio-menu-item-height);
|
|
209
|
+
|
|
184
210
|
&:hover {
|
|
185
211
|
background-color: var(--oio-menu-hover-background-color);
|
|
186
212
|
border-radius: var(--oio-menu-border-radius);
|
|
213
|
+
|
|
187
214
|
.oio-icon {
|
|
188
215
|
color: var(--oio-menu-root-title-hover-icon-color);
|
|
189
216
|
}
|
|
190
217
|
}
|
|
218
|
+
|
|
191
219
|
margin-bottom: 0;
|
|
192
220
|
}
|
|
193
221
|
|
|
@@ -221,8 +249,10 @@ $main-width: var(--oio-menu-area-width);
|
|
|
221
249
|
color: var(--oio-menu-root-title-hover-icon-color);
|
|
222
250
|
}
|
|
223
251
|
}
|
|
252
|
+
|
|
224
253
|
.ant-menu-item-selected {
|
|
225
254
|
height: var(--oio-menu-item-height);
|
|
255
|
+
|
|
226
256
|
& > .ant-menu-title-content {
|
|
227
257
|
color: var(--oio-menu-selected-title-color);
|
|
228
258
|
}
|
|
@@ -230,15 +260,19 @@ $main-width: var(--oio-menu-area-width);
|
|
|
230
260
|
&:hover {
|
|
231
261
|
& > .ant-menu-title-content {
|
|
232
262
|
color: var(--oio-menu-selected-title-hover-color);
|
|
263
|
+
|
|
233
264
|
.oio-icon {
|
|
234
265
|
color: var(--oio-menu-selected-icon-color);
|
|
235
266
|
}
|
|
236
267
|
}
|
|
237
268
|
}
|
|
269
|
+
|
|
238
270
|
&.root-menu {
|
|
239
271
|
background-color: var(--oio-menu-selected-root-background-color) !important;
|
|
272
|
+
|
|
240
273
|
& > .ant-menu-title-content {
|
|
241
274
|
color: var(--oio-menu-selected-root-title-color);
|
|
275
|
+
|
|
242
276
|
.oio-icon {
|
|
243
277
|
color: var(--oio-menu-selected-root-title-color);
|
|
244
278
|
}
|
|
@@ -249,12 +283,14 @@ $main-width: var(--oio-menu-area-width);
|
|
|
249
283
|
.ant-menu-submenu-selected {
|
|
250
284
|
&.root-menu {
|
|
251
285
|
background-color: transparent;
|
|
286
|
+
|
|
252
287
|
.ant-menu-submenu-title {
|
|
253
288
|
&:hover {
|
|
254
289
|
background-color: var(--oio-menu-selected-root-background-color);
|
|
255
290
|
}
|
|
256
291
|
}
|
|
257
292
|
}
|
|
293
|
+
|
|
258
294
|
&.not-root-menu {
|
|
259
295
|
.ant-menu-submenu-title {
|
|
260
296
|
&:hover {
|
|
@@ -262,8 +298,10 @@ $main-width: var(--oio-menu-area-width);
|
|
|
262
298
|
}
|
|
263
299
|
}
|
|
264
300
|
}
|
|
301
|
+
|
|
265
302
|
& > .ant-menu-submenu-title > .ant-menu-title-content {
|
|
266
303
|
color: var(--oio-menu-selected-root-title-color);
|
|
304
|
+
|
|
267
305
|
.oio-icon {
|
|
268
306
|
color: var(--oio-menu-selected-root-icon-color);
|
|
269
307
|
}
|
|
@@ -358,6 +396,7 @@ $main-width: var(--oio-menu-area-width);
|
|
|
358
396
|
display: flex;
|
|
359
397
|
align-items: center;
|
|
360
398
|
padding-right: 16px;
|
|
399
|
+
|
|
361
400
|
.ant-menu-title-content {
|
|
362
401
|
flex: 1;
|
|
363
402
|
margin-right: 10px;
|
|
@@ -382,6 +421,7 @@ $main-width: var(--oio-menu-area-width);
|
|
|
382
421
|
|
|
383
422
|
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
|
384
423
|
background-color: var(--oio-menu-selected-background-color);
|
|
424
|
+
|
|
385
425
|
& > .ant-menu-title-content {
|
|
386
426
|
color: var(--oio-menu-selected-title-color);
|
|
387
427
|
}
|
|
@@ -392,18 +432,23 @@ $main-width: var(--oio-menu-area-width);
|
|
|
392
432
|
&.ant-select-dropdown {
|
|
393
433
|
background: var(--oio-menu-select-dropdown-background);
|
|
394
434
|
box-shadow: var(--oio-menu-select-dropdown-box-shadow);
|
|
435
|
+
|
|
395
436
|
&.ant-select-dropdown .ant-select-item {
|
|
396
437
|
color: var(--oio-menu-select-dropdown-color) !important;
|
|
397
438
|
}
|
|
439
|
+
|
|
398
440
|
&.ant-select-dropdown .ant-select-item.ant-select-item-option-selected .ant-select-item-option-content {
|
|
399
441
|
color: var(--oio-menu-select-dropdown-selected-color) !important;
|
|
400
442
|
}
|
|
443
|
+
|
|
401
444
|
&.ant-select-dropdown .ant-select-item.ant-select-item-option-selected {
|
|
402
445
|
background: var(--oio-menu-select-dropdown-selected) !important;
|
|
403
446
|
}
|
|
447
|
+
|
|
404
448
|
&.ant-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
|
|
405
449
|
background: var(--oio-menu-select-dropdown-selected);
|
|
406
450
|
}
|
|
451
|
+
|
|
407
452
|
&.ant-select-dropdown .ant-select-item:hover {
|
|
408
453
|
background: var(--oio-menu-select-dropdown-selected) !important;
|
|
409
454
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { MultiTabsRuntimeManifestMergedConfigManager, MultiTabType, translateValueByKey } from '@oinone/kunlun-engine';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
DraggableDirection,
|
|
5
|
+
type DraggableMovedEvent,
|
|
6
|
+
type DraggableSendEvent,
|
|
7
|
+
OioDraggable
|
|
8
|
+
} from '@oinone/kunlun-vue-ui';
|
|
4
9
|
import {
|
|
5
10
|
ButtonType,
|
|
6
11
|
DividerType,
|
|
@@ -19,15 +24,15 @@ import {
|
|
|
19
24
|
createVNode,
|
|
20
25
|
defineComponent,
|
|
21
26
|
nextTick,
|
|
22
|
-
PropType,
|
|
23
|
-
VNode,
|
|
27
|
+
type PropType,
|
|
28
|
+
type VNode,
|
|
24
29
|
vShow,
|
|
25
30
|
watch,
|
|
26
31
|
withDirectives,
|
|
27
32
|
withModifiers
|
|
28
33
|
} from 'vue';
|
|
29
34
|
import { DEFAULT_APPLICATION_LOGO } from '../../typing';
|
|
30
|
-
import { MultiTabItem } from './typing';
|
|
35
|
+
import type { MultiTabItem } from './typing';
|
|
31
36
|
|
|
32
37
|
type ClickTabFunction = (tab: MultiTabItem) => void;
|
|
33
38
|
|
|
@@ -1,33 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$systemMajorConfig,
|
|
3
3
|
executeViewAction,
|
|
4
|
-
IMultiTabsManager,
|
|
5
|
-
MultiTabInstance,
|
|
6
|
-
MultiTabsApplicationHomepageConfig,
|
|
4
|
+
type IMultiTabsManager,
|
|
5
|
+
type MultiTabInstance,
|
|
6
|
+
type MultiTabsApplicationHomepageConfig,
|
|
7
7
|
MultiTabsConfigManager,
|
|
8
8
|
MultiTabsHelper,
|
|
9
9
|
MultiTabsManager,
|
|
10
|
-
MultiTabsModuleHomepageConfig,
|
|
10
|
+
type MultiTabsModuleHomepageConfig,
|
|
11
11
|
MultiTabsRouter,
|
|
12
12
|
MultiTabsRuntimeManifestMergedConfigManager,
|
|
13
13
|
MultiTabTheme,
|
|
14
14
|
MultiTabType,
|
|
15
15
|
RedirectTargetEnum,
|
|
16
|
-
ReloadMainViewCallChainingParameters,
|
|
16
|
+
type ReloadMainViewCallChainingParameters,
|
|
17
17
|
systemMajorConfig,
|
|
18
18
|
translateValueByKey
|
|
19
19
|
} from '@oinone/kunlun-engine';
|
|
20
|
-
import { Matched, Router, useMatched } from '@oinone/kunlun-router';
|
|
20
|
+
import { type Matched, Router, useMatched } from '@oinone/kunlun-router';
|
|
21
21
|
import { BooleanHelper, Optional } from '@oinone/kunlun-shared';
|
|
22
22
|
import { SPI } from '@oinone/kunlun-spi';
|
|
23
23
|
import { Subscription } from '@oinone/kunlun-state';
|
|
24
24
|
import { useRouter } from '@oinone/kunlun-vue-router';
|
|
25
25
|
import { Widget } from '@oinone/kunlun-vue-widget';
|
|
26
|
-
|
|
27
26
|
import { MaskWidget } from '../../basic';
|
|
28
27
|
import { ModuleService } from '../../service';
|
|
29
28
|
import MultiTabs from './MultiTabs.vue';
|
|
30
|
-
import { MultiTabItem } from './typing';
|
|
29
|
+
import type { MultiTabItem } from './typing';
|
|
31
30
|
|
|
32
31
|
@SPI.ClassFactory(MaskWidget.Token({ dslNodeType: 'multi-tabs' }))
|
|
33
32
|
export class MultiTabsWidget extends MaskWidget {
|