@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,139 +1,139 @@
|
|
|
1
|
-
import { IResourceDateTimeFormat } from '@oinone/kunlun-engine';
|
|
2
|
-
import { MaskWidget } from '../../basic';
|
|
3
|
-
import { PamirsMessage } from '../../service';
|
|
4
|
-
|
|
5
|
-
declare enum BeforeClickMapName {
|
|
6
|
-
wait = "wait",
|
|
7
|
-
copy = "copy",
|
|
8
|
-
write = "write",
|
|
9
|
-
mail = "mail"
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export declare enum NotificationTypeEnum {
|
|
13
|
-
WORKFLOW = "WORKFLOW",
|
|
14
|
-
NOTIFICATION = "NOTIFICATION",
|
|
15
|
-
COPY = "COPY"
|
|
16
|
-
}
|
|
17
|
-
export declare class NotificationWidget extends MaskWidget {
|
|
18
|
-
initialize(props: any): this;
|
|
19
|
-
getCopyAction(): Promise<{
|
|
20
|
-
name: string;
|
|
21
|
-
title: string;
|
|
22
|
-
displayName: string;
|
|
23
|
-
actionType: string;
|
|
24
|
-
target: string;
|
|
25
|
-
viewType: string;
|
|
26
|
-
contextType: string;
|
|
27
|
-
bindingType: string[];
|
|
28
|
-
model: string;
|
|
29
|
-
resModel: string;
|
|
30
|
-
moduleName: string;
|
|
31
|
-
resModule: string;
|
|
32
|
-
resModuleName: string;
|
|
33
|
-
priority: number;
|
|
34
|
-
sessionPath: string;
|
|
35
|
-
}>;
|
|
36
|
-
getWaitAction(): Promise<{
|
|
37
|
-
name: string;
|
|
38
|
-
title: string;
|
|
39
|
-
displayName: string;
|
|
40
|
-
actionType: string;
|
|
41
|
-
target: string;
|
|
42
|
-
viewType: string;
|
|
43
|
-
contextType: string;
|
|
44
|
-
bindingType: string[];
|
|
45
|
-
model: string;
|
|
46
|
-
resModel: string;
|
|
47
|
-
invisible: string;
|
|
48
|
-
moduleName: string;
|
|
49
|
-
resModule: string;
|
|
50
|
-
resModuleName: string;
|
|
51
|
-
priority: number;
|
|
52
|
-
sessionPath: string;
|
|
53
|
-
}>;
|
|
54
|
-
getWriteAction(): Promise<{
|
|
55
|
-
name: string;
|
|
56
|
-
title: string;
|
|
57
|
-
displayName: string;
|
|
58
|
-
actionType: string;
|
|
59
|
-
target: string;
|
|
60
|
-
viewType: string;
|
|
61
|
-
contextType: string;
|
|
62
|
-
bindingType: string[];
|
|
63
|
-
model: string;
|
|
64
|
-
resModel: string;
|
|
65
|
-
invisible: string;
|
|
66
|
-
moduleName: string;
|
|
67
|
-
resModule: string;
|
|
68
|
-
resModuleName: string;
|
|
69
|
-
priority: number;
|
|
70
|
-
sessionPath: string;
|
|
71
|
-
}>;
|
|
72
|
-
private beforeClickMap;
|
|
73
|
-
beforeClick(key: Partial<Record<BeforeClickMapKey, ReturnBeforeClick>>): any;
|
|
74
|
-
beforeClick(key: BeforeClickMapKey, cb: ReturnBeforeClick): any;
|
|
75
|
-
messageTextMap: {
|
|
76
|
-
WORKFLOW: {
|
|
77
|
-
title: string;
|
|
78
|
-
desc: string;
|
|
79
|
-
btn: string;
|
|
80
|
-
icon: string;
|
|
81
|
-
color: string;
|
|
82
|
-
};
|
|
83
|
-
NOTIFICATION: {
|
|
84
|
-
title: string;
|
|
85
|
-
desc: string;
|
|
86
|
-
btn: string;
|
|
87
|
-
icon: string;
|
|
88
|
-
};
|
|
89
|
-
COPY: {
|
|
90
|
-
title: string;
|
|
91
|
-
desc: string;
|
|
92
|
-
btn: string;
|
|
93
|
-
icon: string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
messageType: NotificationTypeEnum;
|
|
97
|
-
get messageInfo(): {
|
|
98
|
-
title: string;
|
|
99
|
-
desc: string;
|
|
100
|
-
btn: string;
|
|
101
|
-
icon: string;
|
|
102
|
-
color: string;
|
|
103
|
-
} | {
|
|
104
|
-
title: string;
|
|
105
|
-
desc: string;
|
|
106
|
-
btn: string;
|
|
107
|
-
icon: string;
|
|
108
|
-
} | {
|
|
109
|
-
title: string;
|
|
110
|
-
desc: string;
|
|
111
|
-
btn: string;
|
|
112
|
-
icon: string;
|
|
113
|
-
};
|
|
114
|
-
confirmModalTitle: string;
|
|
115
|
-
currentMessage: any;
|
|
116
|
-
isShowConfirmModal: boolean;
|
|
117
|
-
currentMessageId: string;
|
|
118
|
-
changeMessageType(type: NotificationTypeEnum): void;
|
|
119
|
-
toggleDialog(): void;
|
|
120
|
-
onWorkflowUserTask(): Promise<void>;
|
|
121
|
-
onDetail(message: any, messageInfo: any): Promise<void>;
|
|
122
|
-
protected formatDateTime(value: string): string;
|
|
123
|
-
protected msgTotal: number;
|
|
124
|
-
protected resourceDateTimeFormat: IResourceDateTimeFormat;
|
|
125
|
-
protected getMsgTotal(): Promise<void>;
|
|
126
|
-
protected messageList: PamirsMessage[];
|
|
127
|
-
protected getMessageInfo(): Promise<void>;
|
|
128
|
-
protected readMessage(msgId: string): Promise<Record<string, unknown>>;
|
|
129
|
-
protected msgTimer: any;
|
|
130
|
-
/**
|
|
131
|
-
* 轮询间隔时间,单位: 秒
|
|
132
|
-
* @protected
|
|
133
|
-
*/
|
|
134
|
-
protected msgDelay: number;
|
|
135
|
-
protected $$created(): Promise<void>;
|
|
136
|
-
protected mounted(): void;
|
|
137
|
-
protected beforeUnmount(): void;
|
|
138
|
-
}
|
|
139
|
-
export {};
|
|
1
|
+
import { type IResourceDateTimeFormat } from '@oinone/kunlun-engine';
|
|
2
|
+
import { MaskWidget } from '../../basic';
|
|
3
|
+
import { type PamirsMessage } from '../../service';
|
|
4
|
+
type ReturnBeforeClick = (message: any, messageInfo: any) => Promise<Boolean | null | undefined>;
|
|
5
|
+
declare enum BeforeClickMapName {
|
|
6
|
+
wait = "wait",
|
|
7
|
+
copy = "copy",
|
|
8
|
+
write = "write",
|
|
9
|
+
mail = "mail"
|
|
10
|
+
}
|
|
11
|
+
type BeforeClickMapKey = keyof typeof BeforeClickMapName;
|
|
12
|
+
export declare enum NotificationTypeEnum {
|
|
13
|
+
WORKFLOW = "WORKFLOW",
|
|
14
|
+
NOTIFICATION = "NOTIFICATION",
|
|
15
|
+
COPY = "COPY"
|
|
16
|
+
}
|
|
17
|
+
export declare class NotificationWidget extends MaskWidget {
|
|
18
|
+
initialize(props: any): this;
|
|
19
|
+
getCopyAction(): Promise<{
|
|
20
|
+
name: string;
|
|
21
|
+
title: string;
|
|
22
|
+
displayName: string;
|
|
23
|
+
actionType: string;
|
|
24
|
+
target: string;
|
|
25
|
+
viewType: string;
|
|
26
|
+
contextType: string;
|
|
27
|
+
bindingType: string[];
|
|
28
|
+
model: string;
|
|
29
|
+
resModel: string;
|
|
30
|
+
moduleName: string;
|
|
31
|
+
resModule: string;
|
|
32
|
+
resModuleName: string;
|
|
33
|
+
priority: number;
|
|
34
|
+
sessionPath: string;
|
|
35
|
+
}>;
|
|
36
|
+
getWaitAction(): Promise<{
|
|
37
|
+
name: string;
|
|
38
|
+
title: string;
|
|
39
|
+
displayName: string;
|
|
40
|
+
actionType: string;
|
|
41
|
+
target: string;
|
|
42
|
+
viewType: string;
|
|
43
|
+
contextType: string;
|
|
44
|
+
bindingType: string[];
|
|
45
|
+
model: string;
|
|
46
|
+
resModel: string;
|
|
47
|
+
invisible: string;
|
|
48
|
+
moduleName: string;
|
|
49
|
+
resModule: string;
|
|
50
|
+
resModuleName: string;
|
|
51
|
+
priority: number;
|
|
52
|
+
sessionPath: string;
|
|
53
|
+
}>;
|
|
54
|
+
getWriteAction(): Promise<{
|
|
55
|
+
name: string;
|
|
56
|
+
title: string;
|
|
57
|
+
displayName: string;
|
|
58
|
+
actionType: string;
|
|
59
|
+
target: string;
|
|
60
|
+
viewType: string;
|
|
61
|
+
contextType: string;
|
|
62
|
+
bindingType: string[];
|
|
63
|
+
model: string;
|
|
64
|
+
resModel: string;
|
|
65
|
+
invisible: string;
|
|
66
|
+
moduleName: string;
|
|
67
|
+
resModule: string;
|
|
68
|
+
resModuleName: string;
|
|
69
|
+
priority: number;
|
|
70
|
+
sessionPath: string;
|
|
71
|
+
}>;
|
|
72
|
+
private beforeClickMap;
|
|
73
|
+
beforeClick(key: Partial<Record<BeforeClickMapKey, ReturnBeforeClick>>): any;
|
|
74
|
+
beforeClick(key: BeforeClickMapKey, cb: ReturnBeforeClick): any;
|
|
75
|
+
messageTextMap: {
|
|
76
|
+
WORKFLOW: {
|
|
77
|
+
title: string;
|
|
78
|
+
desc: string;
|
|
79
|
+
btn: string;
|
|
80
|
+
icon: string;
|
|
81
|
+
color: string;
|
|
82
|
+
};
|
|
83
|
+
NOTIFICATION: {
|
|
84
|
+
title: string;
|
|
85
|
+
desc: string;
|
|
86
|
+
btn: string;
|
|
87
|
+
icon: string;
|
|
88
|
+
};
|
|
89
|
+
COPY: {
|
|
90
|
+
title: string;
|
|
91
|
+
desc: string;
|
|
92
|
+
btn: string;
|
|
93
|
+
icon: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
messageType: NotificationTypeEnum;
|
|
97
|
+
get messageInfo(): {
|
|
98
|
+
title: string;
|
|
99
|
+
desc: string;
|
|
100
|
+
btn: string;
|
|
101
|
+
icon: string;
|
|
102
|
+
color: string;
|
|
103
|
+
} | {
|
|
104
|
+
title: string;
|
|
105
|
+
desc: string;
|
|
106
|
+
btn: string;
|
|
107
|
+
icon: string;
|
|
108
|
+
} | {
|
|
109
|
+
title: string;
|
|
110
|
+
desc: string;
|
|
111
|
+
btn: string;
|
|
112
|
+
icon: string;
|
|
113
|
+
};
|
|
114
|
+
confirmModalTitle: string;
|
|
115
|
+
currentMessage: any;
|
|
116
|
+
isShowConfirmModal: boolean;
|
|
117
|
+
currentMessageId: string;
|
|
118
|
+
changeMessageType(type: NotificationTypeEnum): void;
|
|
119
|
+
toggleDialog(): void;
|
|
120
|
+
onWorkflowUserTask(): Promise<void>;
|
|
121
|
+
onDetail(message: any, messageInfo: any): Promise<void>;
|
|
122
|
+
protected formatDateTime(value: string): string;
|
|
123
|
+
protected msgTotal: number;
|
|
124
|
+
protected resourceDateTimeFormat: IResourceDateTimeFormat;
|
|
125
|
+
protected getMsgTotal(): Promise<void>;
|
|
126
|
+
protected messageList: PamirsMessage[];
|
|
127
|
+
protected getMessageInfo(): Promise<void>;
|
|
128
|
+
protected readMessage(msgId: string): Promise<Record<string, unknown>>;
|
|
129
|
+
protected msgTimer: any;
|
|
130
|
+
/**
|
|
131
|
+
* 轮询间隔时间,单位: 秒
|
|
132
|
+
* @protected
|
|
133
|
+
*/
|
|
134
|
+
protected msgDelay: number;
|
|
135
|
+
protected $$created(): Promise<void>;
|
|
136
|
+
protected mounted(): void;
|
|
137
|
+
protected beforeUnmount(): void;
|
|
138
|
+
}
|
|
139
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as DefaultNotification } from './DefaultNotification.vue';
|
|
2
|
-
export * from './NotificationWidget';
|
|
1
|
+
export { default as DefaultNotification } from './DefaultNotification.vue';
|
|
2
|
+
export * from './NotificationWidget';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
showData?: any;
|
|
3
|
-
}
|
|
4
|
-
showData?: any;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
}>;
|
|
8
|
-
export default _default;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
showData?: any;
|
|
3
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
4
|
+
showData?: any;
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Condition } from '@oinone/kunlun-request';
|
|
2
|
-
import { MaskWidget } from '../../basic';
|
|
3
|
-
export declare class OrderStatistic extends MaskWidget {
|
|
4
|
-
private layoutTemplate;
|
|
5
|
-
private showFields;
|
|
6
|
-
private showData;
|
|
7
|
-
private activedModel;
|
|
8
|
-
private http;
|
|
9
|
-
initialize(props: any): this;
|
|
10
|
-
mounted(): Promise<void>;
|
|
11
|
-
private loadData;
|
|
12
|
-
private queryData;
|
|
13
|
-
buildSearchConditions(content: Record<string, unknown>): Condition;
|
|
14
|
-
}
|
|
1
|
+
import { Condition } from '@oinone/kunlun-request';
|
|
2
|
+
import { MaskWidget } from '../../basic';
|
|
3
|
+
export declare class OrderStatistic extends MaskWidget {
|
|
4
|
+
private layoutTemplate;
|
|
5
|
+
private showFields;
|
|
6
|
+
private showData;
|
|
7
|
+
private activedModel;
|
|
8
|
+
private http;
|
|
9
|
+
initialize(props: any): this;
|
|
10
|
+
mounted(): Promise<void>;
|
|
11
|
+
private loadData;
|
|
12
|
+
private queryData;
|
|
13
|
+
buildSearchConditions(content: Record<string, unknown>): Condition;
|
|
14
|
+
}
|