@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
package/package.json
CHANGED
|
@@ -1,47 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oinone/kunlun-vue-admin-layout",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
3
|
+
"version": "7.2.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/oinone-kunlun-vue-admin-layout.esm.js",
|
|
5
6
|
"scripts": {
|
|
6
7
|
"prebuild": "rimraf dist",
|
|
7
8
|
"build": "rollup -c && npm run build-css",
|
|
8
9
|
"build-css": "sass --style compressed --no-source-map ./dist/oinone-kunlun-vue-admin-layout.scss ./dist/oinone-kunlun-vue-admin-layout.css",
|
|
9
10
|
"dist": "npm run prepublishOnly",
|
|
10
11
|
"index": "npm run postpublish",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
12
|
+
"format": "prettier --write --experimental-cli src/",
|
|
13
|
+
"test": "jest",
|
|
14
|
+
"prepublishOnly": "node ../../../../scripts/prepublish-only.cjs",
|
|
15
|
+
"deploy": "npm publish --exact",
|
|
16
|
+
"postpublish": "node ../../../../scripts/postpublish.cjs",
|
|
13
17
|
"doc": "typedoc --out docs src/index.ts"
|
|
14
18
|
},
|
|
15
19
|
"dependencies": {
|
|
16
|
-
"@oinone/kunlun-vue-router": "
|
|
17
|
-
"@oinone/kunlun-vue-ui": "
|
|
18
|
-
"@oinone/kunlun-vue-ui-antd": "
|
|
19
|
-
"@oinone/kunlun-vue-ui-common": "
|
|
20
|
-
"@oinone/kunlun-vue-widget": "
|
|
20
|
+
"@oinone/kunlun-vue-router": "7.2.0",
|
|
21
|
+
"@oinone/kunlun-vue-ui": "7.2.0",
|
|
22
|
+
"@oinone/kunlun-vue-ui-antd": "7.2.0",
|
|
23
|
+
"@oinone/kunlun-vue-ui-common": "7.2.0",
|
|
24
|
+
"@oinone/kunlun-vue-widget": "7.2.0",
|
|
21
25
|
"vue-json-pretty": "^2.4.0"
|
|
22
26
|
},
|
|
23
27
|
"devDependencies": {
|
|
24
|
-
"@oinone/kunlun-dsl": "~
|
|
25
|
-
"@oinone/kunlun-engine": "~
|
|
26
|
-
"@oinone/kunlun-environment": "~
|
|
27
|
-
"@oinone/kunlun-event": "~
|
|
28
|
-
"@oinone/kunlun-expression": "~
|
|
29
|
-
"@oinone/kunlun-meta": "~
|
|
30
|
-
"@oinone/kunlun-request": "~
|
|
31
|
-
"@oinone/kunlun-router": "~
|
|
32
|
-
"@oinone/kunlun-service": "~
|
|
33
|
-
"@oinone/kunlun-shared": "~
|
|
34
|
-
"@oinone/kunlun-spi": "~
|
|
35
|
-
"@oinone/kunlun-state": "~
|
|
36
|
-
"@types/lodash": "4.
|
|
28
|
+
"@oinone/kunlun-dsl": "~7.2.0",
|
|
29
|
+
"@oinone/kunlun-engine": "~7.2.0",
|
|
30
|
+
"@oinone/kunlun-environment": "~7.2.0",
|
|
31
|
+
"@oinone/kunlun-event": "~7.2.0",
|
|
32
|
+
"@oinone/kunlun-expression": "~7.2.0",
|
|
33
|
+
"@oinone/kunlun-meta": "~7.2.0",
|
|
34
|
+
"@oinone/kunlun-request": "~7.2.0",
|
|
35
|
+
"@oinone/kunlun-router": "~7.2.0",
|
|
36
|
+
"@oinone/kunlun-service": "~7.2.0",
|
|
37
|
+
"@oinone/kunlun-shared": "~7.2.0",
|
|
38
|
+
"@oinone/kunlun-spi": "~7.2.0",
|
|
39
|
+
"@oinone/kunlun-state": "~7.2.0",
|
|
40
|
+
"@types/lodash": "4.17.21",
|
|
37
41
|
"@types/lodash-es": "4.17.6",
|
|
38
42
|
"lodash": "4.17.21",
|
|
39
43
|
"lodash-es": "4.17.21",
|
|
40
|
-
"sass": "1.
|
|
41
|
-
"sass-loader": "
|
|
44
|
+
"sass": "1.97.0",
|
|
45
|
+
"sass-loader": "16.0.6"
|
|
42
46
|
},
|
|
43
47
|
"peerDependencies": {
|
|
44
|
-
"vue": ">=3.
|
|
48
|
+
"vue": ">=3.5.26"
|
|
45
49
|
},
|
|
46
|
-
"gitHead": "2b4c0c7911626c105ca71c2d41e54af470e2e079"
|
|
47
|
-
|
|
50
|
+
"gitHead": "2b4c0c7911626c105ca71c2d41e54af470e2e079",
|
|
51
|
+
"module": "dist/oinone-kunlun-vue-admin-layout.esm.js",
|
|
52
|
+
"typings": "dist/types/index.d.ts",
|
|
53
|
+
"files": [
|
|
54
|
+
"dist",
|
|
55
|
+
"index.ts",
|
|
56
|
+
"src"
|
|
57
|
+
]
|
|
58
|
+
}
|
package/src/basic/MaskWidget.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getReloadMainViewParameters,
|
|
3
3
|
getReloadMaskParameters,
|
|
4
|
-
ReloadMainViewCallChainingParameters,
|
|
5
|
-
ReloadMaskCallChainingParameters
|
|
4
|
+
type ReloadMainViewCallChainingParameters,
|
|
5
|
+
type ReloadMaskCallChainingParameters
|
|
6
6
|
} from '@oinone/kunlun-engine';
|
|
7
|
-
import { CallChaining, ReturnPromise } from '@oinone/kunlun-shared';
|
|
7
|
+
import { CallChaining, type ReturnPromise } from '@oinone/kunlun-shared';
|
|
8
8
|
import { Widget } from '@oinone/kunlun-vue-widget';
|
|
9
9
|
import { BaseMaskWidget } from './token';
|
|
10
10
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { DEFAULT_SLOT_NAME, DslDefinition, DslSlotUtils } from '@oinone/kunlun-dsl';
|
|
2
|
-
import { Align, Layout, Overflow } from '@oinone/kunlun-engine';
|
|
2
|
+
import { type Align, Layout, type Overflow } from '@oinone/kunlun-engine';
|
|
3
3
|
import { useMatched } from '@oinone/kunlun-router';
|
|
4
|
-
import { Constructor, CSSStyle, StringHelper } from '@oinone/kunlun-shared';
|
|
4
|
+
import { type Constructor, type CSSStyle, StringHelper } from '@oinone/kunlun-shared';
|
|
5
5
|
import {
|
|
6
6
|
SPIFactory,
|
|
7
7
|
SPIOperator,
|
|
8
|
-
SPIOptions,
|
|
8
|
+
type SPIOptions,
|
|
9
9
|
SPISelectorFactory,
|
|
10
|
-
SPISingleSelector,
|
|
11
|
-
SPITokenFactory
|
|
10
|
+
type SPISingleSelector,
|
|
11
|
+
type SPITokenFactory
|
|
12
12
|
} from '@oinone/kunlun-spi';
|
|
13
13
|
import { StyleHelper } from '@oinone/kunlun-vue-ui-common';
|
|
14
14
|
import {
|
|
15
15
|
DslRender,
|
|
16
16
|
DslRenderWidget,
|
|
17
|
-
DslRenderWidgetProps,
|
|
17
|
+
type DslRenderWidgetProps,
|
|
18
18
|
InnerWidgetType,
|
|
19
|
-
IViewFilterOptions,
|
|
19
|
+
type IViewFilterOptions,
|
|
20
20
|
ViewWidget,
|
|
21
21
|
Widget
|
|
22
22
|
} from '@oinone/kunlun-vue-widget';
|
|
23
|
-
import { Slots, VNode } from 'vue';
|
|
23
|
+
import type { Slots, VNode } from 'vue';
|
|
24
24
|
import { getMaskTagManagerInstance } from '../register';
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="k-oinone-application" @click="onShowMask">
|
|
3
3
|
<!-- 预加载图片 start -->
|
|
4
|
-
<img style="display: none" :src="`${genStaticPath('
|
|
5
|
-
<img style="display: none" :src="`${genStaticPath('
|
|
4
|
+
<img style="display: none" :src="`${genStaticPath('background1.png')}`" alt="" />
|
|
5
|
+
<img style="display: none" :src="`${genStaticPath('background.png')}`" alt="" />
|
|
6
6
|
<!-- 预加载图片 end -->
|
|
7
7
|
|
|
8
8
|
<div class="logo">
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
</template>
|
|
32
32
|
<script lang="ts">
|
|
33
33
|
import { CaretDownOutlined } from '@ant-design/icons-vue';
|
|
34
|
-
import { IModule } from '@oinone/kunlun-meta';
|
|
35
|
-
import { computed, defineComponent, PropType, ref } from 'vue';
|
|
34
|
+
import type { IModule } from '@oinone/kunlun-meta';
|
|
35
|
+
import { computed, defineComponent, type PropType, ref } from 'vue';
|
|
36
36
|
import { DEFAULT_APPLICATION_LOGO } from '../../typing';
|
|
37
37
|
import AppSwitcherMask from './AppSwitcherMask.vue';
|
|
38
38
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div
|
|
3
3
|
:class="['application-mask-container', hideMask && 'application-mask-container-hide']"
|
|
4
4
|
:style="{
|
|
5
|
-
'background-image': `url(${genStaticPath('
|
|
5
|
+
'background-image': `url(${genStaticPath('background1.png')})`
|
|
6
6
|
}"
|
|
7
7
|
@click.stop="onClose"
|
|
8
8
|
>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
class="mask-container"
|
|
14
14
|
@click.stop="onClose"
|
|
15
15
|
:style="{
|
|
16
|
-
'background-image': `url(${genStaticPath('
|
|
16
|
+
'background-image': `url(${genStaticPath('background.png')})`
|
|
17
17
|
}"
|
|
18
18
|
>
|
|
19
19
|
<img class="application-mask-container-watermark" :src="genStaticPath('app-finder-bg.png')" />
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
class="application-collection-item animation"
|
|
26
26
|
v-for="(item, index) in likeApp"
|
|
27
27
|
:key="index"
|
|
28
|
-
@click.stop="$emit('update:showMask', false), onCollectionClick(item)"
|
|
28
|
+
@click.stop="($emit('update:showMask', false), onCollectionClick(item))"
|
|
29
29
|
>
|
|
30
30
|
<div style="width: 70px; height: 70px">
|
|
31
31
|
<img :src="item.logo || DEFAULT_APPLICATION_LOGO()" alt="" />
|
|
@@ -108,10 +108,9 @@
|
|
|
108
108
|
</template>
|
|
109
109
|
<script lang="ts">
|
|
110
110
|
import { genStaticPath, translateValueByKey } from '@oinone/kunlun-engine';
|
|
111
|
-
import { IModule } from '@oinone/kunlun-meta';
|
|
111
|
+
import type { IModule } from '@oinone/kunlun-meta';
|
|
112
112
|
import { OioIcon } from '@oinone/kunlun-vue-ui-antd';
|
|
113
|
-
|
|
114
|
-
import { computed, defineComponent, nextTick, PropType, ref, watch } from 'vue';
|
|
113
|
+
import { computed, defineComponent, nextTick, type PropType, ref, watch } from 'vue';
|
|
115
114
|
import { DEFAULT_APPLICATION_LOGO } from '../../typing';
|
|
116
115
|
|
|
117
116
|
export default defineComponent({
|
|
@@ -155,7 +154,9 @@ export default defineComponent({
|
|
|
155
154
|
});
|
|
156
155
|
|
|
157
156
|
const searchApps = computed(() => {
|
|
158
|
-
return searchValue.value
|
|
157
|
+
return searchValue.value
|
|
158
|
+
? props.apps?.filter((a: any) => a.displayName.toLowerCase().includes(searchValue.value.toLowerCase()))
|
|
159
|
+
: [];
|
|
159
160
|
});
|
|
160
161
|
|
|
161
162
|
const onSwitchSearch = () => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$systemMajorConfig,
|
|
3
3
|
getMajorConfigByModuleModule,
|
|
4
|
-
MajorConfig,
|
|
4
|
+
type MajorConfig,
|
|
5
5
|
ModuleCache,
|
|
6
|
-
ReloadMaskCallChainingParameters,
|
|
6
|
+
type ReloadMaskCallChainingParameters,
|
|
7
7
|
setDefaultMajorConfig,
|
|
8
8
|
systemMajorConfig
|
|
9
9
|
} from '@oinone/kunlun-engine';
|
|
10
|
-
import { GlobalConfig, IModule } from '@oinone/kunlun-meta';
|
|
10
|
+
import { GlobalConfig, type IModule } from '@oinone/kunlun-meta';
|
|
11
11
|
import { Router } from '@oinone/kunlun-router';
|
|
12
12
|
import { SPI } from '@oinone/kunlun-spi';
|
|
13
13
|
import { useRouter } from '@oinone/kunlun-vue-router';
|
|
14
|
-
import { Widget, WidgetSubjection } from '@oinone/kunlun-vue-widget';
|
|
14
|
+
import { Widget, type WidgetSubjection } from '@oinone/kunlun-vue-widget';
|
|
15
15
|
import { MaskWidget } from '../../basic';
|
|
16
16
|
import { ModuleService } from '../../service';
|
|
17
17
|
import { appFinderSymbol, MenuCollapsedSymbol } from '../../typing';
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
BreadcrumbConfigManager,
|
|
3
3
|
executeViewAction,
|
|
4
4
|
generatorViewActionQueryParameter,
|
|
5
|
-
ReloadMaskCallChainingParameters,
|
|
6
|
-
RuntimeViewAction,
|
|
5
|
+
type ReloadMaskCallChainingParameters,
|
|
6
|
+
type RuntimeViewAction,
|
|
7
7
|
ViewActionCache
|
|
8
8
|
} from '@oinone/kunlun-engine';
|
|
9
|
-
import { Matched, Router, useMatched } from '@oinone/kunlun-router';
|
|
9
|
+
import { type Matched, Router, useMatched } from '@oinone/kunlun-router';
|
|
10
10
|
import { BooleanHelper, Optional, TreeNode } from '@oinone/kunlun-shared';
|
|
11
11
|
import { SPI } from '@oinone/kunlun-spi';
|
|
12
12
|
import { useRouter } from '@oinone/kunlun-vue-router';
|
|
13
13
|
import { Widget } from '@oinone/kunlun-vue-widget';
|
|
14
14
|
import { MaskWidget } from '../../basic';
|
|
15
15
|
import { MenuService, ModuleService } from '../../service';
|
|
16
|
-
import { MenuUrlParameters, RuntimeMenu } from '../../typing';
|
|
16
|
+
import type { MenuUrlParameters, RuntimeMenu } from '../../typing';
|
|
17
17
|
import DefaultBreadcrumb from './DefaultBreadcrumb.vue';
|
|
18
18
|
|
|
19
19
|
@SPI.ClassFactory(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { IMenu } from '@oinone/kunlun-meta';
|
|
2
|
+
import type { IMenu } from '@oinone/kunlun-meta';
|
|
3
3
|
import { Breadcrumb as ABreadcrumb, BreadcrumbItem as ABreadcrumbItem } from 'ant-design-vue';
|
|
4
|
-
import { createVNode, defineComponent, PropType, VNode } from 'vue';
|
|
4
|
+
import { createVNode, defineComponent, type PropType, type VNode } from 'vue';
|
|
5
5
|
import { translateValueByKey } from '@oinone/kunlun-engine';
|
|
6
6
|
|
|
7
7
|
export default defineComponent({
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import { DslDefinition } from '@oinone/kunlun-dsl';
|
|
1
|
+
import type { DslDefinition } from '@oinone/kunlun-dsl';
|
|
2
2
|
import { SPI } from '@oinone/kunlun-spi';
|
|
3
3
|
import { DebugConfigManager } from '../../../config';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
type MaskEditor,
|
|
6
|
+
type MaskEditorContext,
|
|
7
|
+
MaskEditorToken,
|
|
8
|
+
type MaskEditService,
|
|
9
|
+
MaskEditServiceToken
|
|
10
|
+
} from '../../../spi';
|
|
5
11
|
|
|
6
12
|
@SPI.Service(MaskEditorToken, { priority: 1000 })
|
|
7
13
|
export class DebugMaskEditor implements MaskEditor {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FrameworkInitializeService, FrameworkInitializeSPI, OioProviderProps } from '@oinone/kunlun-engine';
|
|
1
|
+
import { type FrameworkInitializeService, FrameworkInitializeSPI, type OioProviderProps } from '@oinone/kunlun-engine';
|
|
2
2
|
import { SPIFactory } from '@oinone/kunlun-spi';
|
|
3
3
|
import { DebugConfigManager } from '../../../config';
|
|
4
4
|
import { DEBUG_ROUTER, DEBUG_VIEW_WIDGET } from '../constants';
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
</template>
|
|
20
20
|
<script lang="ts">
|
|
21
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
21
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
22
22
|
import {
|
|
23
23
|
CleanableEvent,
|
|
24
24
|
OioButton,
|
|
@@ -28,9 +28,9 @@ import {
|
|
|
28
28
|
uniqueKeyGenerator,
|
|
29
29
|
useCleanableEvent
|
|
30
30
|
} from '@oinone/kunlun-vue-ui-antd';
|
|
31
|
-
import { defineComponent, onMounted, onUnmounted, PropType } from 'vue';
|
|
31
|
+
import { defineComponent, onMounted, onUnmounted, type PropType } from 'vue';
|
|
32
32
|
import 'vue-json-pretty/lib/styles.css';
|
|
33
|
-
import { DebugResponseData } from '../typing';
|
|
33
|
+
import { type DebugResponseData } from '../typing';
|
|
34
34
|
import { DebugUtils } from './debug-utils';
|
|
35
35
|
|
|
36
36
|
export default defineComponent({
|
|
@@ -2,7 +2,7 @@ import { SPI } from '@oinone/kunlun-spi';
|
|
|
2
2
|
import { RouterWidget, useMatched } from '@oinone/kunlun-vue-router';
|
|
3
3
|
import { Widget } from '@oinone/kunlun-vue-widget';
|
|
4
4
|
import { DEBUG_VIEW_WIDGET } from '../constants';
|
|
5
|
-
import { DebugResponseData } from '../typing';
|
|
5
|
+
import type { DebugResponseData } from '../typing';
|
|
6
6
|
import { DebugApiWidget } from './debug-api/DebugApiWidget';
|
|
7
7
|
import { DebugUtils } from './debug-utils';
|
|
8
8
|
import { DebugViewWidget } from './debug-view/DebugViewWidget';
|
|
@@ -65,9 +65,18 @@
|
|
|
65
65
|
</div>
|
|
66
66
|
</template>
|
|
67
67
|
<script lang="ts">
|
|
68
|
-
import {
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
import {
|
|
69
|
+
OioCol,
|
|
70
|
+
OioForm,
|
|
71
|
+
OioFormItem,
|
|
72
|
+
OioGroup,
|
|
73
|
+
OioRow,
|
|
74
|
+
OioTab,
|
|
75
|
+
OioTabs,
|
|
76
|
+
OioTextarea
|
|
77
|
+
} from '@oinone/kunlun-vue-ui-antd';
|
|
78
|
+
import { defineComponent, onMounted, type PropType } from 'vue';
|
|
79
|
+
import type { DebugErrorPanel, DebugRequestGraphQLInfo, DebugRequestInfo } from '../../typing';
|
|
71
80
|
import { loadScript } from '../../util';
|
|
72
81
|
import { useDebugRequestInfo } from '../useDebugRequestInfo';
|
|
73
82
|
import DebugDefaultInfo from './DebugDefaultInfo.vue';
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
</template>
|
|
31
31
|
<script lang="ts">
|
|
32
32
|
import { OioCol, OioForm, OioFormItem, OioRow, OioTab, OioTabs, OioTextarea } from '@oinone/kunlun-vue-ui-antd';
|
|
33
|
-
import { defineComponent, PropType } from 'vue';
|
|
34
|
-
import { DebugRequestInfo } from '../../typing';
|
|
33
|
+
import { defineComponent, type PropType } from 'vue';
|
|
34
|
+
import type { DebugRequestInfo } from '../../typing';
|
|
35
35
|
import DebugJsonView from '../components/DebugJsonView.vue';
|
|
36
36
|
|
|
37
37
|
export default defineComponent({
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<div class="oio-debug-runtime-context-fields">这是一个自定义组件</div>
|
|
3
3
|
</template>
|
|
4
4
|
<script lang="ts">
|
|
5
|
-
import { RuntimeModelField } from '@oinone/kunlun-engine';
|
|
6
|
-
import { defineComponent, PropType } from 'vue';
|
|
5
|
+
import type { RuntimeModelField } from '@oinone/kunlun-engine';
|
|
6
|
+
import { defineComponent, type PropType } from 'vue';
|
|
7
7
|
import { DebugInfoProps } from '../../../typing';
|
|
8
8
|
|
|
9
9
|
interface SimplifyFields {
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
</div>
|
|
42
42
|
</template>
|
|
43
43
|
<script lang="ts">
|
|
44
|
+
import { useMatched } from '@oinone/kunlun-router';
|
|
44
45
|
import {
|
|
45
46
|
OioButton,
|
|
46
47
|
OioGroup,
|
|
@@ -49,14 +50,13 @@ import {
|
|
|
49
50
|
OioTooltipHelp,
|
|
50
51
|
uniqueKeyGenerator
|
|
51
52
|
} from '@oinone/kunlun-vue-ui-antd';
|
|
52
|
-
import { computed, defineComponent, onMounted, PropType,
|
|
53
|
-
import { DebugFetchRequest, DebugFetchResponse, DebugRequestInfo } from '../../typing';
|
|
53
|
+
import { computed, defineComponent, onMounted, type PropType, type Ref, ref } from 'vue';
|
|
54
|
+
import type { DebugFetchRequest, DebugFetchResponse, DebugRequestInfo } from '../../typing';
|
|
54
55
|
import DebugJsonView from '../components/DebugJsonView.vue';
|
|
55
56
|
import DebugRequestInfoPanel from '../components/DebugRequestInfoPanel.vue';
|
|
56
57
|
import DebugResponsePanel from '../components/DebugResponsePanel.vue';
|
|
57
58
|
import { DebugUtils } from '../debug-utils';
|
|
58
59
|
import { useDebugRequestInfo } from '../useDebugRequestInfo';
|
|
59
|
-
import { useMatched } from '@oinone/kunlun-router';
|
|
60
60
|
|
|
61
61
|
function setData(val: Ref, newValue, defaultValue = '') {
|
|
62
62
|
if (newValue === undefined) {
|
|
@@ -3,7 +3,7 @@ import { VueWidget, Widget } from '@oinone/kunlun-vue-widget';
|
|
|
3
3
|
import { DefinitionNode, FieldNode, OperationDefinitionNode, SelectionNode } from 'graphql';
|
|
4
4
|
import gql from 'graphql-tag';
|
|
5
5
|
import { isArray, isPlainObject } from 'lodash-es';
|
|
6
|
-
import {
|
|
6
|
+
import type {
|
|
7
7
|
DebugErrorPanel,
|
|
8
8
|
DebugFetchRequest,
|
|
9
9
|
DebugFetchResponse,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RuntimeContext, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
1
|
+
import type { RuntimeContext, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
2
2
|
import { MessageHub } from '@oinone/kunlun-request';
|
|
3
3
|
import { useMatched } from '@oinone/kunlun-router';
|
|
4
4
|
import { Optional } from '@oinone/kunlun-shared';
|
|
5
|
-
import { DebugRequestInfo } from '../typing';
|
|
5
|
+
import type { DebugRequestInfo } from '../typing';
|
|
6
6
|
import { DebugInfoStorage } from './storage';
|
|
7
7
|
|
|
8
8
|
export class DebugUtils {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
</div>
|
|
52
52
|
</template>
|
|
53
53
|
<script lang="ts">
|
|
54
|
-
import { RuntimeModule, RuntimeViewAction, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
54
|
+
import type { RuntimeModule, RuntimeViewAction, ViewActionQueryParameter } from '@oinone/kunlun-engine';
|
|
55
55
|
import { TreeNode } from '@oinone/kunlun-shared';
|
|
56
56
|
import {
|
|
57
57
|
OioButton,
|
|
@@ -65,9 +65,9 @@ import {
|
|
|
65
65
|
OioTextarea
|
|
66
66
|
} from '@oinone/kunlun-vue-ui-antd';
|
|
67
67
|
import { get as getValue, isArray, isPlainObject } from 'lodash-es';
|
|
68
|
-
import { computed, defineComponent, PropType } from 'vue';
|
|
69
|
-
import { RuntimeMenu } from '../../../../typing';
|
|
70
|
-
import { DebugErrorPanel } from '../../typing';
|
|
68
|
+
import { computed, defineComponent, type PropType } from 'vue';
|
|
69
|
+
import type { RuntimeMenu } from '../../../../typing';
|
|
70
|
+
import type { DebugErrorPanel } from '../../typing';
|
|
71
71
|
import DebugDefaultInfo from '../components/DebugDefaultInfo.vue';
|
|
72
72
|
import DebugJsonView from '../components/DebugJsonView.vue';
|
|
73
73
|
import { DebugUtils } from '../debug-utils';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModuleCache,
|
|
3
|
-
RuntimeContext,
|
|
3
|
+
type RuntimeContext,
|
|
4
4
|
RuntimeContextManager,
|
|
5
5
|
RuntimeContextServiceToken,
|
|
6
|
-
RuntimeModule,
|
|
7
|
-
RuntimeViewAction,
|
|
6
|
+
type RuntimeModule,
|
|
7
|
+
type RuntimeViewAction,
|
|
8
8
|
ViewActionCache,
|
|
9
|
-
ViewActionQueryParameter
|
|
9
|
+
type ViewActionQueryParameter
|
|
10
10
|
} from '@oinone/kunlun-engine';
|
|
11
11
|
import { useSessionPath } from '@oinone/kunlun-request';
|
|
12
12
|
import { Router } from '@oinone/kunlun-router';
|
|
@@ -14,8 +14,8 @@ import { TreeNode, uniqueKeyGenerator } from '@oinone/kunlun-shared';
|
|
|
14
14
|
import { SPI } from '@oinone/kunlun-spi';
|
|
15
15
|
import { VueWidget, Widget } from '@oinone/kunlun-vue-widget';
|
|
16
16
|
import { MenuService } from '../../../../service';
|
|
17
|
-
import { RuntimeMenu } from '../../../../typing';
|
|
18
|
-
import { DebugErrorPanel } from '../../typing';
|
|
17
|
+
import type { RuntimeMenu } from '../../../../typing';
|
|
18
|
+
import type { DebugErrorPanel } from '../../typing';
|
|
19
19
|
import { DebugUtils } from '../debug-utils';
|
|
20
20
|
import { DebugRuntimeContextServiceToken } from '../service/DebugRuntimeContextService';
|
|
21
21
|
import { DebugInfoStorage } from '../storage';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RuntimeContext } from '@oinone/kunlun-engine';
|
|
1
|
+
import type { RuntimeContext } from '@oinone/kunlun-engine';
|
|
2
2
|
import { ServiceIdentifier } from '@oinone/kunlun-spi';
|
|
3
|
-
import { DebugErrorAnalysisResult } from '../../typing';
|
|
3
|
+
import type { DebugErrorAnalysisResult } from '../../typing';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* 调试运行时上下文异常分析服务
|
package/src/component/debug/view/service/impl/runtime-context/DebugDefaultRuntimeContextService.ts
CHANGED
|
@@ -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: 1000 })
|
|
8
8
|
export class DebugDefaultRuntimeContextService implements DebugRuntimeContextService {
|
|
@@ -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: 20 })
|
|
8
8
|
export class DebugRuntimeActionService implements DebugRuntimeContextService {
|
|
@@ -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: 40 })
|
|
8
8
|
export class DebugRuntimeDslService implements DebugRuntimeContextService {
|
|
@@ -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: 10 })
|
|
8
8
|
export class DebugRuntimeFieldService implements DebugRuntimeContextService {
|
|
@@ -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: 50 })
|
|
8
8
|
export class DebugRuntimeLayoutService implements DebugRuntimeContextService {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RuntimeContext, RuntimeContextServiceToken } from '@oinone/kunlun-engine';
|
|
1
|
+
import { type RuntimeContext, RuntimeContextServiceToken } 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: 60 })
|
|
8
8
|
export class DebugRuntimeMaskService implements DebugRuntimeContextService {
|
package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeTemplateService.ts
CHANGED
|
@@ -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: 70 })
|
|
8
8
|
export class DebugRuntimeTemplateService implements DebugRuntimeContextService {
|